Controlling Temporal Pseudo-Label Marginals for Stable Online Test-Time Adaptation
Abstract
Continual Test-Time Adaptation (CTTA) methods update models online using a stream of unlabeled data to overcome distribution shifts encountered at test time. However, CTTA is often unstable, as it can reinforce biases in early predictions and increasingly predict only a few classes, resulting in drift or even collapse. In this paper, we identify narrowing pseudo-label class usage as an indicator of CTTA instability and quantify this behavior. Most existing methods have attempted to address this issue by either selecting reliable adaptation samples or re-weighting the loss to encourage diverse pseudo-labels, but they do not explicitly enforce a class marginal over a temporal window. Instead, we propose Sinkhorn Class-Marginal Regularization (SCALAR), a simple plug-and-play module that controls the pseudo-label distribution over a short temporal window. SCALAR works by maintaining recent predictions in a buffer, balancing their class distribution via the Sinkhorn algorithm to match a specified target distribution, and using the balanced soft targets for adaptation. Without changing the model architecture, SCALAR maintains the per-step runtime and increases the peak allocated GPU memory by only 10 MB on ImageNet-C. Our method is particularly effective on skewed, non-stationary data with severe distribution shifts, where SCALAR significantly alleviates drift and collapse when combined with existing stabilization methods based on entropy or diversity.
Create a lesson
Related papers
TRUER: Test-Time Reward Correction Using an Error-Aware Rectifier for Reinforcement Learning
Shared title terminology · Mingxiang Shen, Jinhao Li, Jiaming Xu et al.
ARC: Adaptive Rollout Control for Efficient Synchronous LLM Reinforcement Learning
Shared title terminology · Yihui Zhang, Tianyu Wo, Jinghao Wang et al.
When Can a Rewiring Control Test LLM Weight Readers? C2 and an Eligibility Protocol
Shared title terminology · Vaishak Girish Kumar, Sanika Vilas Najan
DoC: Learning to Defer or Commit for Timely, Accurate, and Stable Conversational Diagnosis Prediction
Shared title terminology · Xueren Ge, Anthony Cortez, Homa Alemzadeh
AROMA: Adaptive Representation-Oriented Multimodal Actuation for Vision-Language Model Control
Shared title terminology · Zhaoning Zhang
A Margin Perspective on LoRA: Robustness to Catastrophic Forgetting and Adapter Merging (MaLoRA)
Shared title terminology · Ziqing Xu, Hancheng Min, Lachlan Ewen MacDonald et al.