# Controlling Temporal Pseudo-Label Marginals for Stable Online Test-Time Adaptation

*Rani Amar, Ofir Lindenbaum*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/151349) · [OpenReview](https://openreview.net/forum?id=bC8ezX1M1D) · [Open on the map](../papers.html#p151349)

Category: [Graphs, OOD Detection & Medical Imaging](../pcat/7.md) › [Concept Bottleneck Interpretability](../pgroup/475.md) · Type: new method · Keywords: continual test-time adaptation, pseudo-label marginal control, Sinkhorn balancing, distribution shift, online adaptation stability

Areas: [Continual Learning & Adaptation](../areas/continual-adaptation.md) › Domain Shift Adaptation › Test-Time Adaptation

## Summary
SCALAR introduces a lightweight plug-in module that controls pseudo-label class marginals over a short prediction window using Sinkhorn balancing to stabilize continual test-time adaptation.

## Explained to a 5-year-old
When a computer learns from new data without labels, it can start making the same mistakes over and over. This makes it forget other things and its predictions become wrong. The paper adds a small helper that looks at recent guesses and spreads them out evenly. By making sure no single guess dominates, the computer stays balanced and doesn't go off track. This helps the computer keep learning well even when the new data changes a lot.

## Explained to a 5-year-old, longer
Imagine a robot that learns to recognize objects by looking at pictures without anyone telling it the correct answers. As it sees many pictures, it might start guessing the same thing over and over because it thinks that's the right answer. This makes it ignore other possibilities and its guesses become less useful. The paper introduces a simple trick that keeps track of the robot's recent guesses. It then spreads those guesses out so that no single answer gets too much attention. By balancing the guesses, the robot avoids getting stuck on one idea. This helps the robot stay flexible when the new pictures are very different from what it has seen before. The trick is small and doesn't need to change the robot's main design. It only adds a tiny amount of extra work when the robot is making predictions. The result is that the robot continues to learn accurately even when the data changes a lot. This makes the robot's learning process more reliable and less likely to break. Overall, the method gives a stable way for machines to adapt to new information without losing performance.

## For a technical reader
The paper addresses instability in continual test-time adaptation (CTTA), where models update online on unlabeled streams under distribution shift. It observes that early prediction biases are reinforced as pseudo-labels, causing class usage to contract and leading to drift or collapse. The proposed solution maintains a short-term buffer of recent predictions and applies a Sinkhorn balancing operation to regularize the class marginal toward a target distribution. The balanced soft targets are then used for adaptation, providing a lightweight plug-in that adds less than 1% runtime and memory overhead. Experiments show the approach significantly mitigates drift and collapse in skewed, non-stationary, and aggressive adaptation regimes, even when combined with existing entropy- and diversity-aware methods.

## Problem
Continual test-time adaptation (CTTA) often becomes unstable as early prediction biases are reused as supervision, causing pseudo-labels to concentrate on few classes and leading to drift or collapse.

## Method
The approach maintains a buffer of recent predictions, applies Sinkhorn balancing to project the window-level class marginal toward a target distribution, and uses the resulting balanced soft targets for adaptation.

## Results
The approach adds less than 1% runtime and memory overhead and substantially mitigates drift and collapse under skewed, non-stationary, and aggressive-adaptation regimes.

## Contributions
It introduces a lightweight plug-in module that explicitly controls pseudo-label class marginals over a short window using Sinkhorn balancing, requiring no architectural changes and providing temporal control for stable CTTA.

## Research questions this paper is counted under

- [How can we prevent test-time adaptation from amplifying class bias during distribution shift?](../q/661.md)

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](../feedback/?on=p/151349)
