Lune

ICML2023Top-tier venue

Test-Time Style Shifting: Handling Arbitrary Styles in Domain Generalization

Jungwuk Park, Dong-Jun Han, Soyeong Kim, Jaekyun Moon

Abstract

In domain generalization (DG), the target domain is unknown when the model is being trained, and the trained model should successfully work on an arbitrary (and possibly unseen) target domain during inference. This is a difficult problem, and despite active studies in recent years, it remains a great challenge. In this paper, we take a simple yet effective approach to tackle this issue. We propose test-time style shifting, which shifts the style of the test sample (that has a large style gap with the source domains) to the nearest source domain that the model is already familiar with, before making the prediction. This strategy enables the model to handle any target domains with arbitrary style statistics, without additional model update at test-time. Additionally, we propose style balancing, which provides a great platform for maximizing the advantage of test-time style shifting by handling the DG-specific imbalance issues. The proposed ideas are easy to implement and successfully work in conjunction with various other DG schemes. Experimental results on different datasets show the effectiveness of our methods.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

7 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Out-of-Distribution Generalization via Risk Extrapolation (REx) cites In Search of Lost Domain Generalization
  • HYPO: Hyperspherical Out-Of-Distribution Generalization cites In Search of Lost Domain Generalization
  • LRQuant: Learnable and Robust Post-Training Quantization for Large Language Models cites Tent: Fully Test-Time Adaptation by Entropy Minimization
  • Vision Transformer Neural Architecture Search for Out-of-Distribution Generalization: Benchmark and Insights cites HYPO: Hyperspherical Out-Of-Distribution Generalization
  • In Search of Lost Domain Generalization cites Moment Matching for Multi-Source Domain Adaptation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. HYPO: Hyperspherical Out-Of-Distribution GeneralizationHaoyue Bai, Yifei Ming, Julian Katz-Samuels, Yixuan LiICLR 2024 · 13 citations
  2. Vision Transformer Neural Architecture Search for Out-of-Distribution Generalization: Benchmark and InsightsSy-Tuyen Ho, Tuan Van Vo, Somayeh Ebrahimkhani, Ngai-Man CheungNeurIPS 2024 · 5 citations
  3. LDT: Layer-Decomposition Training Makes Networks More GeneralizableZaizuo Tang, Zongqi Yang, Yu-Bin YangICLR 2026
  4. LRQuant: Learnable and Robust Post-Training Quantization for Large Language ModelsJiaqi Zhao, Miao Zhang, Chao Zeng, Ming Wang et al.ACL 2024
  5. Test-time Domain Generalization for Image Super-resolutionZaizuo Tang, Yu-Bin YangICLR 2026

Builds on19

  1. Moment Matching for Multi-Source Domain AdaptationXingchao Peng, Qinxun Bai, Xide Xia, Zijun Huang et al.ICCV 2019 · 2,239 citations
  2. Tent: Fully Test-Time Adaptation by Entropy MinimizationDequan Wang, Evan Shelhamer, Shaoteng Liu, Bruno A. Olshausen et al.ICLR 2021 · 1,731 citations
  3. In Search of Lost Domain GeneralizationIshaan Gulrajani, David Lopez-PazICLR 2021 · 1,416 citations
  4. Test-Time Training with Self-Supervision for Generalization under Distribution ShiftsYu Sun, Xiaolong Wang, Zhuang Liu, John Miller et al.ICML 2020 · 1,220 citations
  5. Out-of-Distribution Generalization via Risk Extrapolation (REx)David Krueger, Ethan Caballero, Jörn-Henrik Jacobsen, Amy Zhang et al.ICML 2021 · 1,163 citations

Related papers

  1. Practical Single Domain Generalization via Training-time and Test-time LearningShuai Yang, Zhen Zhang, Lichuan GuKDD 2024 · 3 citations
  2. Label Shift Adapter for Test-Time Adaptation under Covariate and Label ShiftsSunghyun Park, Seunghan Yang, Jaegul Choo, Sungrack YunICCV 2023 · 28 citations
  3. Test-Time Domain Generalization for Face Anti-SpoofingQianyu Zhou, Ke-Yue Zhang, Taiping Yao, Xuequan Lu et al.CVPR 2024
  4. Improved Test-Time Adaptation for Domain GeneralizationLiang Chen, Yong Zhang, Yibing Song, Ying Shan et al.CVPR 2023
  5. A Unified Framework for Robustness on Diverse Sampling ErrorsMyeongho Jeon, Myungjoo Kang, Joonseok LeeICCV 2023 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines