mlsanityData to 7 Oct 2026

Test-Time Training for Semantic Segmentation with Output Contrastive Loss

arXiv 2311.07877 ↗First posted 14 Nov 2023cs.CVcited by 3

Not on the map. Why?

Abstract (arXiv)

Although deep learning-based segmentation models have achieved impressive performance on public benchmarks, generalizing well to unseen environments remains a major challenge. To improve the model's generalization ability to the new domain during evaluation, the test-time training (TTT) is a challenging paradigm that adapts the source-pretrained model in an online fashion. Early efforts on TTT mainly focus on the image classification task. Directly extending these methods to semantic segmentation easily experiences unstable adaption due to segmentation's inherent characteristics, such as extreme class imbalance and complex decision spaces. To stabilize the adaptation process, we introduce contrastive loss (CL), known for its capability to learn robust and generalized representations. Nevertheless, the traditional CL operates in the representation space and cannot directly enhance predictions. In this paper, we resolve this limitation by adapting the CL to the output space, employing a high temperature, and simplifying the formulation, resulting in a straightforward yet effective loss function called Output Contrastive Loss (OCL). Our comprehensive experiments validate the efficacy of our approach across diverse evaluation scenarios. Notably, our method excels even when applied to models initially pre-trained using domain adaptation methods on test domain data, showcasing its resilience and adaptability.footnoteCode and more information could be found at~ urlhttps://github.com/dazhangyu123/OCL

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 57 of its 68 references that are in the map. First posted on arXiv 14 Nov 2023.

Builds on

57 of 68 references.

References · 57

  1. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
  2. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  3. 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
  4. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
  5. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
  6. 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,845
  7. 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,427
  8. 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,239
  9. 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,923
  10. 2020Supervised Contrastive Learningcited by 2,803
  11. 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,838
  12. 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,393
38 more
  1. 2019MixMatch: A Holistic Approach to Semi-Supervised Learningcited by 1,390
  2. 2017CyCADA: Cycle-Consistent Adversarial Domain Adaptationcited by 1,079
  3. 2019Unsupervised Data Augmentation for Consistency Trainingcited by 1,057
  4. 2016Temporal Ensembling for Semi-Supervised Learningcited by 1,054
  5. 2021Segmenter: Transformer for Semantic Segmentationcited by 855
  6. 2016Playing for Data: Ground Truth from Computer Gamescited by 816
  7. 2018ADVENT: Adversarial Entropy Minimization for Domain Adaptation in Semantic Segmentationcited by 623
  8. 2018Learning to Adapt Structured Output Space for Semantic Segmentationcited by 584
  9. 2020FDA: Fourier Domain Adaptation for Semantic Segmentationcited by 540
  10. 2022Continual Test-Time Domain Adaptationcited by 520
  11. 2022Efficient Test-Time Model Adaptation without Forgettingcited by 467
  12. 2020Improving robustness against common corruptions by covariate shift adaptationcited by 427
  13. 2019Confidence Regularized Self-Trainingcited by 418
  14. 2023Towards Stable Test-Time Adaptation in Dynamic Wild Worldcited by 409
  15. 2019Contrastive Adaptation Network for Unsupervised Domain Adaptationcited by 407
  16. 2020Understanding the Behaviour of Contrastive Losscited by 397
  17. 2021MEMO: Test Time Robustness via Adaptation and Augmentationcited by 376
  18. 2021DAFormer: Improving Network Architectures and Training Strategies for Domain-Adaptive Semantic Segmentationcited by 299
  19. 2018Taking A Closer Look at Domain Shift: Category-level Adversaries for Semantics Consistent Domain Adaptationcited by 295
  20. 2016Revisiting Batch Normalization For Practical Domain Adaptationcited by 285
  21. 2022Contrastive Test-Time Adaptationcited by 258
  22. 2020DACS: Domain Adaptation via Cross-domain Mixed Samplingcited by 226
  23. 2020Rethinking the Value of Labels for Improving Class-Imbalanced Learningcited by 216
  24. 2022Test-Time Training with Masked Autoencoderscited by 208
  25. 2022Parameter-free Online Test-time Adaptationcited by 184
  26. 2022MIC: Masked Image Consistency for Context-Enhanced Domain Adaptationcited by 176
  27. 2021Source-Free Domain Adaptation for Semantic Segmentationcited by 168
  28. 2019Domain Adaptation for Semantic Segmentation with Maximum Squares Losscited by 138
  29. 2017Curriculum Domain Adaptation for Semantic Segmentation of Urban Scenescited by 105
  30. 2022Robust Mean Teacher for Continual and Gradual Test-Time Adaptationcited by 102
  31. 2021Pixel Contrastive-Consistent Semi-Supervised Semantic Segmentationcited by 101
  32. 2023TTN: A Domain-Shift Aware Batch Normalization in Test-Time Adaptationcited by 101
  33. 2022Visual Prompt Tuning for Test-time Domain Adaptationcited by 97
  34. 2021Self-Supervised Aggregation of Diverse Experts for Test-Agnostic Long-Tailed Recognitioncited by 95
  35. 2022Attracting and Dispersing: A Simple Approach for Source-free Domain Adaptationcited by 93
  36. 2021Generalize then Adapt: Source-Free Domain Adaptive Semantic Segmentationcited by 81
  37. 2022MM-TTA: Multi-Modal Test-Time Adaptation for 3D Semantic Segmentationcited by 76
  38. 2022Improving Test-Time Adaptation via Shift-agnostic Weight Regularization and Nearest Source Prototypescited by 67

50 most cited of 57 All 57 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 1; 2026: 1.

3 papers.