Toward Fine-Grained Domain Knowledge: Curriculum Pseudo-Labeling for Online Test-Time Adaptation

Congyu Qiao, Yihao Hu, Ning Xu, Xin GengOpenReview 2026 · Submission to ICLR 2026 · Rejected

TL;DR

CUPLOT introduces a fine-grained approach to Online Test-Time Adaptation (OTTA) by applying curriculum learning to individual data batches. By reordering incoming test samples based on "gradient consistency"—learning from samples that align with the model's current direction before tackling outliers—the framework significantly improves how models absorb new domain knowledge under shift.

What Problem Does This Paper Address?

Machine learning models often fail when the data they encounter during deployment (the "target domain") differs from their training data (the "source domain")—a phenomenon known as domain shift. Online Test-Time Adaptation (OTTA) seeks to fix this by updating the model on-the-fly using unlabeled test data as it arrives in a stream.

The authors identify a major inefficiency in current OTTA methods: they treat incoming data at a "coarse-grained" batch level. When a model updates using a whole batch at once, the "knowledge" from representative samples can be diluted or even corrupted by outliers or noisy instances whose gradients conflict with the overall batch direction. This prevents the model from fully "absorbing" the specific characteristics of the new domain.

Methods

The authors propose CUPLOT (CUrriculum Pseudo-Labeling for Online Test-time adaptation). Instead of a single update per batch, CUPLOT breaks a batch down into a sequence of "curricula."

  1. Gradient Consistency Evaluation: For every instance in a new batch, the model calculates a "gradient consistency" score. This measures how well an individual sample's gradient aligns with the dominant update direction of the entire batch. Samples that align well are considered "easy" or "reliable."
  2. Curriculum Arrangement: The batch is organized into a series of stages (curricula). The model learns from the most consistent samples first, gradually moving toward the more "difficult" or inconsistent ones.
  3. Curriculum Pseudo-Labeling: To train without actual labels, CUPLOT generates pseudo-labels using class prototypes (representative feature vectors for each class) derived from previously learned samples. These labels are updated at each step of the curriculum.
  4. Sequential Optimization: The model parameters are updated step-by-step through these curricula. This "orderly learning" ensures the model stabilizes its understanding of the new domain on reliable data before attempting to reconcile more complex, outlying instances.

Theoretically, the authors prove that this curriculum-based approach provides a tighter mathematical bound for approaching the "Bayes optimal classifier" compared to standard batch-level methods.

Datasets

The researchers evaluated CUPLOT across a wide array of standard benchmarks:

  • Image Corruption Benchmarks: CIFAR-10-C, CIFAR-100-C, and ImageNet-C (which apply 15 types of synthetic corruptions like blur or noise to standard datasets).
  • Domain Generalization Benchmarks: PACS, VLCS, OfficeHome, and DomainNet (which feature real-world domain shifts, such as moving from photos to sketches or clip-art).
  • Temporal-Shift Datasets: Yearbook (high school portraits across decades) and EVIS (product images over time).

Key Insights and Ideas

  • Learning Order is a Hidden Lever: The most striking insight is that the sequence in which you show a model samples from the same batch significantly impacts its final accuracy. An "intentionally bad" order can actually cause adaptation to fail entirely.
  • Gradient Consistency as a Label-Free Proxy: In an unsupervised setting, you can't know which samples are "correctly" classified. CUPLOT uses gradient consistency as a clever proxy for sample reliability—if a sample wants to move the model in the same direction as the rest of the batch, it’s likely a safer starting point for adaptation.
  • Fine-Grained vs. Coarse-Grained: By moving from batch-level updates to instance-level curricula, the model avoids the "gradient interference" that plagues traditional OTTA, leading to more robust "absorption" of domain-specific features.

Key Results

CUPLOT consistently outperformed eleven major baselines (including popular methods like TENT, SHOT-IM, and DEYO).

  • Accuracy Gains: On CIFAR-100-C, CUPLOT achieved 60.11% accuracy, surpassing the next best method (DEYO) by about 1%. On the massive DomainNet benchmark, it improved performance by an average of 1.06% to 1.53% over state-of-the-art competitors.
  • Robustness: The method proved highly stable across different batch sizes (from 16 to 512) and was less sensitive to hyper-parameter tuning than many existing approaches.
  • Efficiency: While CUPLOT requires more computation (multiple backward passes per batch), the authors show it maintains "comparable latency" to other high-performing methods while delivering superior accuracy.

Limitations and Future Work

  • Computational Overhead: The primary trade-off is the "backward-passes-per-sample" (BPPS). Because the model updates multiple times per batch, it is computationally more expensive than simple methods like TENT.
  • Prototype Dependency: The quality of adaptation relies on the initial quality of the class prototypes. If the initial source model is extremely poor on the target domain, the pseudo-labeling might struggle.
  • Future Directions: The authors suggest exploring how this curriculum approach could be integrated with "Active TTA," where a human expert might provide labels for the "hardest" instances identified by the gradient consistency metric.

Summary updated

Abstract

Online Test-Time Adaptation (OTTA) aims to adapt a pre-trained model to unlabeled test instances under domain shift in an online manner, where domain knowledge that the model accumulates from previously observed mini-batches directly affects its predictions on subsequent instances. Most previous OTTA methods exploit domain knowledge at a coarse-grained batch level, which prevents the model from fully absorbing the domain knowledge. To deal with this problem, we propose a novel framework CUrriculum Pseudo-Labeling for Online Test-time adaptation (CUPLOT), which further mines orderly domain knowledge at a fine-grained instance level. Specifically, CUPLOT prepares the arriving batch as a series of curricula based on the modeled relevance of domain knowledge between the model and instances. Then, the model orderly learns the instances with pseudo-labels generated by class prototypes in each curriculum. In this way, the domain knowledge is accumulated in a fine-grained manner through instances of curricula rather than mini-batches, improving the absorption of domain knowledge and the performance of the model. Theoretically, we prove that the curriculum pseudo-labels could enable the model to have a stronger adaptation ability, resulting in a tighter bound of approaching the Bayes optimal classifier on the target domain.
BibTeX
@misc{qiao2026toward,
  author = {Congyu Qiao and Yihao Hu and Ning Xu and Xin Geng},
  title = {{Toward Fine-Grained Domain Knowledge: Curriculum Pseudo-Labeling for Online Test-Time Adaptation}},
  year = {2026},
  url = {https://openreview.net/forum?id=jsWT4iclYU},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}
Figure