[Paper Review] SoTTA: Robust Test-Time Adaptation on Noisy Data Streams
SoTTA is a novel test-time adaptation method that enhances robustness to noisy data streams by combining input-wise filtering via high-confidence uniform-class sampling and parameter-wise stabilization through entropy-sharpness minimization. It achieves state-of-the-art performance under noisy test conditions, improving accuracy by 22.3 percentage points on CIFAR10-C (Noise) and matching SOTA performance in clean settings.
Test-time adaptation (TTA) aims to address distributional shifts between training and testing data using only unlabeled test data streams for continual model adaptation. However, most TTA methods assume benign test streams, while test samples could be unexpectedly diverse in the wild. For instance, an unseen object or noise could appear in autonomous driving. This leads to a new threat to existing TTA algorithms; we found that prior TTA algorithms suffer from those noisy test samples as they blindly adapt to incoming samples. To address this problem, we present Screening-out Test-Time Adaptation (SoTTA), a novel TTA algorithm that is robust to noisy samples. The key enabler of SoTTA is two-fold: (i) input-wise robustness via high-confidence uniform-class sampling that effectively filters out the impact of noisy samples and (ii) parameter-wise robustness via entropy-sharpness minimization that improves the robustness of model parameters against large gradients from noisy samples. Our evaluation with standard TTA benchmarks with various noisy scenarios shows that our method outperforms state-of-the-art TTA methods under the presence of noisy samples and achieves comparable accuracy to those methods without noisy samples. The source code is available at https://github.com/taeckyung/SoTTA .
Motivation & Objective
- To address the lack of robustness in existing test-time adaptation (TTA) methods when faced with noisy or out-of-distribution samples in real-world data streams.
- To develop a TTA framework that maintains high accuracy under diverse, unexpected test-time corruptions and anomalies.
- To enable robust model adaptation without access to training data, aligning with privacy and resource constraints in real-world deployment.
- To introduce dual robustness mechanisms—input-wise filtering and parameter-wise stabilization—specifically for noisy test-time scenarios.
Proposed method
- High-confidence uniform-class sampling (HUS) filters out noisy test samples by selecting only those with high confidence and uniform class distribution for model updates.
- Entropy-sharpness minimization (ESM) smooths the loss landscape to reduce model drift caused by large gradients from noisy samples.
- HUS ensures that only reliable, benign samples contribute to parameter updates, reducing the influence of outliers.
- ESM regularizes model parameters by minimizing the sharpness of the loss landscape, enhancing resilience to gradient perturbations from noisy inputs.
- The method operates online and without access to training data, satisfying typical TTA constraints.
- SoTTA is evaluated on CIFAR10-C, CIFAR100-C, and ImageNet-C under four noisy scenarios: Near, Far, Attack, and Noise.
Experimental results
Research questions
- RQ1How do existing TTA methods perform when exposed to noisy or out-of-distribution test samples in real-world data streams?
- RQ2Can a test-time adaptation method be made robust to noisy inputs without relying on training data or batch-level access?
- RQ3What mechanisms can effectively filter noisy samples and stabilize model parameters during online adaptation?
- RQ4To what extent can input-wise and parameter-wise robustness jointly improve TTA performance under distributional shifts?
Key findings
- SoTTA achieved 80.0% accuracy on CIFAR10-C under the strongest noise shift (Noise), a 22.3 percentage point improvement over baseline TTA methods.
- In the Noise scenario, SoTTA outperformed the best baseline (RoTTA) by 6.4 percentage points, achieving 81.5% accuracy.
- SoTTA maintained comparable performance to state-of-the-art TTA methods in clean settings, achieving 82.1% accuracy on CIFAR10-C without noise, matching the best baseline performance.
- The method showed consistent improvements across all four noisy scenarios (Near, Far, Attack, Noise), demonstrating robustness under diverse distributional shifts.
- Ablation studies confirmed that both HUS and ESM contribute significantly to robustness, with HUS reducing the impact of noisy samples and ESM stabilizing parameter updates.
- Applying OOD detection (e.g., ODIN) to TTA was found impractical due to high sensitivity to threshold hyperparameters and marginal performance gains, validating the need for SoTTA’s integrated approach.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.