TrustMix: Graceful Degradation for Pretrained Models under Distribution Shift
Abstract
Predicting beyond the training domain necessarily requires assumptions about how the ground truth extrapolates, yet in most neural networks these assumptions are made only implicit through the architecture. We propose TrustMix, a lightweight post-hoc method that makes a pretrained model's extrapolative behaviour explicit and controllable. TrustMix combines the predictive distribution produced by a pretrained model with a user-specified fallback distribution , such that as the out-of-distribution (OOD) deviation statistic grows, we collapse towards . TrustMix provides graceful degradation: the predictive distribution converges toward the fallback distribution as the OOD signal grows. The fallback distribution can reflect domain knowledge, if available, or rely on a domain-agnostic stationarity assumption. TrustMix does not require retraining of the base model and can be applied to both regression and classification problems. We evaluated TrustMix on several synthetic and real-world distribution shifts, including tabular, image, and natural language processing tasks. We tested TrustMix on datasets such as CIFAR-10/100 and ImageNet and on numerous architectures including Convolutional Neural Networks (CNNs) and Transformers. TrustMix remains competitive in-distribution while improving predictive uncertainty under distribution shift, with gains in predictive likelihood for regression and calibration for classification. Finally, we showed that TrustMix can provide useful predictive distributions for decision-making applications by utilizing it as a surrogate for Bayesian Optimisation.
Create a lesson
Related papers
Scalable Bayesian Gaussian Process Classification for Cancer Histopathology: Calibrated Uncertainty Under Distribution Shift
Shared title terminologycs.LGYunru Zheng, Wun Ting Chan, Sampras Dsouza et al.
SleepXA: Composing Pretrained Neural and Cardiac Foundation Models for Sleep Representation Learning
Shared title terminologycs.LGXiaoyu Chen, Xiao Gu, Chao Zhang et al.
Pretraining Representation Lottery Determines Fine-tuning Generalization
Shared title terminologycs.LGFuming Yang, Core Francisco Park
Action-Conditioned Transition Irreversibility for Out-of-Distribution Detection in Reinforcement Learning
Shared title terminologycs.LGEmil Mittag, Richard Dazeley, Peter Vamplew
Lean Census: A Distributional Analysis of AI-Generated Lean Code
Shared title terminologycs.LGJustin Asher, Pietro Pellegrino
The Cross-Context Threshold Test: Detecting Discrimination Under Environmental Shifts
Shared title terminologycs.LGJun Yuan, Xinyue Ye