MIRA: Mutual Information guided calibration for Reliable Test-Time Adaptation
Hyeongyu Kim, Mingyeong Jang, Youngjun Song, GeonHui Han, Dosik Hwang
NeurIPS page · OpenReview · Open on the map
Category: Graphs, OOD Detection & Medical Imaging › Test-Time Adaptation for OOD Detection · Type: new method · Keywords: test-time adaptation, mutual information, confidence calibration, distribution shift, entropy minimization, Gaussian perturbations
Areas: Continual Learning & Adaptation › Domain Shift Adaptation › Test-Time Adaptation
Summary
MIRA introduces a source-free test-time adaptation method that uses lightweight last-layer Gaussian perturbations and mutual information to calibrate confidence and avoid overconfident errors under distribution shift.
Explained to a 5-year-old
When a computer sees new pictures it doesn't know, it can change a little to fit them. Sometimes it gets too sure about wrong answers. This new idea makes the computer ask itself questions by adding tiny random changes to its guesses. It looks at how stable those guesses are and only changes the parts it is not sure about. This helps the computer stay correct when it sees something new.
Explained to a 5-year-old, longer
A computer model can learn from data it already knows. When it meets new data at test time, it can adjust a little without forgetting what it learned before. Some methods just trust the model's confidence, but that confidence can be wrong when the new data looks different. The new idea adds small random noise to the model's final guesses to see how stable they are. By checking how much the guesses change with this noise, the model can tell which predictions are reliable. It uses a measure called mutual information to decide how big the noise should be for each group of data. Predictions that stay stable under the noise are considered confident, while wobbly ones are ignored. The model then updates only the parts it is not sure about, using a special loss that weighs each prediction by its confidence. This prevents the model from being pulled too strongly toward wrong examples. As a result, the model stays more accurate and better calibrated when facing new situations. The method works without needing the original training data, making it easy to apply to many different tasks. It can be added to existing test-time adaptation systems like a plug-and-play improvement.
For a technical reader
MIRA adds small Gaussian perturbations to the final layer of a model to test how stable its predictions are. It measures prediction agreement and mutual information to choose an appropriate perturbation scale for each batch. The model then updates only those samples that are both confident and locally stable, using a weighted entropy loss. This reduces harmful adaptation caused by overconfident but brittle predictions. The technique works without source data and can be dropped into existing test-time adaptation pipelines.
Problem
Test-time adaptation updates a deployed model using only unlabeled target data, but entropy-based methods can reinforce overconfident errors when the model encounters distribution shift.
Method
The approach uses lightweight last-layer Gaussian perturbations to probe prediction reliability, samples perturbed classifiers around the source classifier, and selects a batch-specific perturbation scale using mutual information and prediction agreement. It then performs adaptation with an MI-confidence weighted entropy loss that down-weights perturbation-sensitive or low-confidence samples.
Results
The approach improves accuracy, calibration, and negative log-likelihood on distribution-shift benchmarks compared to deterministic confidence methods.
Contributions
It introduces a source-free online adaptation method that uses mutual information to select perturbation scales and a confidence-weighted entropy loss to avoid harmful adaptation under distribution shift, requiring no source data or model ensembles.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction