NC-TTT: A Noise Contrastive Approach for Test-Time Training
About
Despite their exceptional performance in vision tasks, deep learning models often struggle when faced with domain shifts during testing. Test-Time Training (TTT) methods have recently gained popularity by their ability to enhance the robustness of models through the addition of an auxiliary objective that is jointly optimized with the main task. Being strictly unsupervised, this auxiliary objective is used at test time to adapt the model without any access to labels. In this work, we propose Noise-Contrastive Test-Time Training (NC-TTT), a novel unsupervised TTT technique based on the discrimination of noisy feature maps. By learning to classify noisy views of projected feature maps, and then adapting the model accordingly on new domains, classification performance can be recovered by an important margin. Experiments on several popular test-time adaptation baselines demonstrate the advantages of our method compared to recent approaches for this task. The code can be found at:https://github.com/GustavoVargasHakim/NCTTT.git
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image Classification | PACS | Overall Average Accuracy85.79 | 230 | |
| Multi-class classification | VLCS | Acc (Caltech)96.72 | 139 | |
| Respiratory Failure Prediction | Site B retrospective cohort 2023-2024 (test) | AUC83.62 | 12 | |
| IMV prediction | Site A | Brier Score0.09 | 12 | |
| IMV prediction | Site B | Brier Score0.091 | 12 | |
| Respiratory Failure Prediction | MIMIC-IV downsampled v2.0 (test) | AUC75.27 | 12 | |
| IMV prediction | MIMIC IV | Brier Score0.113 | 12 | |
| Respiratory Failure Prediction | Site A retrospective cohort 2024 (test) | AUC82.32 | 12 | |
| Polyp Segmentation | Polyp Segmentation Site D (trained on Site A) (test) | DSC83.22 | 10 | |
| Polyp Segmentation | Polyp Segmentation Site A (trained on Site C) (test) | DSC80.17 | 10 |