A Bayesian Approach to Reference Open-set Label Shift Estimation with Dynamic Adaptation
Abstract
In real-world deployment, classifiers often encounter simultaneous label shift and previously unseen out-of-distribution (OOD) samples, which can severely bias test time in-distribution (ID) prior estimation and degrade classification performance. To address this challenge, we investigate reference open-set label shift estimation, where an ID classifier and an ID/OOD classifier are jointly employed to estimate the test time ID class priors and OOD proportion without retraining. We propose Reference-OOD-Full Maximum A Posteriori Label Shift (R-OOD-FMAPLS), an adaptive Bayesian framework that jointly models the ID class priors and OOD proportion using a high-dimensional Dirichlet distribution. A maximum a posteriori expectation-maximization (MAP-EM) procedure with adaptive Dirichlet regularization is then developed to iteratively estimate the target class priors, where the Dirichlet hyperparameters are dynamically adjusted to control the shape and concentration of the prior distribution. To address the gradient ascent high computational complexity and unboundedness of hyperparameter optimization, we further develop a linear surrogate function (LSF)-based update scheme that provides efficient closed-form updates by constraining the asymptotic maximizing ray. In addition, we theoretically investigate the sensitivity of the proposed estimator to reference-test OOD distribution mismatch and derive Wasserstein distance-based upper bounds for the estimated ID priors and OOD proportion. Experiments on CIFAR10 and CIFAR100 with near- and far-OOD samples demonstrate that R-OOD-FMAPLS consistently reduces ID prior estimation errors across different label shift conditions and ID/OOD scoring methods, while also improving ID proportion estimation under various experimental settings.
Create a lesson
Metadata
- Comments
- 15 pages, 5 figures
Related papers
PerturbAlign: Adaptive Multi-Reference Learning for Cell Perturbation Response Prediction with LLMs
Shared title terminologycs.LGJie Deng, Dan Liu, Libo Zhang
ContextWorld: Benchmarking In-Context Dynamics Adaptation in Latent World Models
Shared title terminologycs.LGGuo An, Yuhao Yan, Zijing Wu et al.
Characterizing Latent Reasoning Dynamics in LLMs
Shared title terminologycs.LGPrateek Humane, Supriyo Chakraborty, Atharv Naphade et al.
Geodesic Tensor Diffusion for Estimation of the Local Riemannian Metric in Machine Learning
Shared title terminologycs.LGAlexandre L. M. Levada
Elastic Coding: Robust Maximal Coding Rate Reduction under Label Noise
Shared title terminologycs.LGMenghui Zhou, Vitaveska Lanfranchi, Po Yang
Compressing Gated DeltaNet States with a Shared Value Basis and an Adaptive Residual
Shared title terminologycs.LGIvan Krivorotov, Egor Maximov, Aleksei Merkelov et al.