D-GAP: Improving Out-of-Domain Robustness via Dataset-Agnostic and Gradient-Guided Augmentation in Frequency and Pixel Spaces
Not on the map. Why?
Abstract (arXiv)
Out-of-domain (OOD) robustness is challenging to achieve in real-world computer vision, especially in unsupervised domain adaptation scenarios, where shifts in image background, style, and acquisition instruments often degrade model performance. Generic augmentations show inconsistent gains under such shifts, whereas dataset-specific augmentations require expert knowledge and prior analysis. Moreover, prior studies show that neural networks adapt poorly to domain shifts because they exhibit a learning bias to domain-specific frequency components. Perturbing frequency values can mitigate such bias but overlooks pixel-level details, leading to suboptimal performance. To address these limitations, we propose D-GAP, a Dataset-agnostic and Gradient-guided augmentation method for the Amplitude spectrum (in frequency space) and the Pixel values. Unlike conventional handcrafted augmentations, D-GAP computes sensitivity maps in the frequency space from task gradients, which reflect how strongly the deep models respond to different frequency components, and uses the maps to adaptively interpolate amplitudes between source and target samples. We further propose a dual-space augmentation that jointly controls spectral bias and spatial fidelity by introducing a complementary pixel-space blending branch. This way, D-GAP turns augmentation from fixed, random, or manually designed perturbation into a model-response-adaptive intervention. Extensive experimental results show that the proposed method consistently outperforms both generic and dataset-specific domain adaptation methods, improving average OOD performance by +5.3% on four real-world datasets and +1.9% on three benchmark datasets. Code is available at https://github.com/RapidsAtHKUST/D-GAP.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 54 of its 78 references that are in the map. First posted on arXiv 14 Nov 2025.
Builds on
54 of 78 references.
References · 54
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2016Densely Connected Convolutional Networkscited by 6,691
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2022A ConvNet for the 2020scited by 3,545
- 2015Domain-Adversarial Training of Neural Networkscited by 3,023
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
- 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,845
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
38 more
- 2020FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidencecited by 2,080
- 2014Unsupervised Domain Adaptation by Backpropagationcited by 1,906
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
- 2017Improved Regularization of Convolutional Neural Networks with Cutoutcited by 1,623
- 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
- 2019SpecAugment: A Simple Data Augmentation Method for Automatic Speech Recognitioncited by 1,355
- 2019Self-training with Noisy Student improves ImageNet classificationcited by 1,304
- 2016Deep CORAL: Correlation Alignment for Deep Domain Adaptationcited by 1,194
- 2017Deep Hashing Network for Unsupervised Domain Adaptationcited by 1,181
- 2017CyCADA: Cycle-Consistent Adversarial Domain Adaptationcited by 1,079
- 2019Unsupervised Data Augmentation for Consistency Trainingcited by 1,057
- 2020In Search of Lost Domain Generalizationcited by 1,042
- 2017Deeper, Broader and Artier Domain Generalizationcited by 983
- 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 897
- 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 722
- 2018Recognition in Terra Incognitacited by 655
- 2020FDA: Fourier Domain Adaptation for Semantic Segmentationcited by 540
- 2019Contrastive Adaptation Network for Unsupervised Domain Adaptationcited by 407
- 2020Learning to Generate Novel Domains for Domain Generalizationcited by 296
- 2021A Fourier-based Framework for Domain Generalizationcited by 287
- 2020Deep Domain-Adversarial Image Generation for Domain Generalisationcited by 231
- 2022Improving Out-of-Distribution Robustness via Selective Augmentationcited by 202
- 2021Data Augmentation Can Improve Robustnesscited by 193
- 2020Improve Unsupervised Domain Adaptation with Mixup Trainingcited by 185
- 2021A Fine-Grained Analysis on Distribution Shiftcited by 171
- 2021FSDR: Frequency Space Domain Randomization for Domain Generalizationcited by 163
- 2016Correlation Alignment for Unsupervised Domain Adaptationcited by 146
- 2020SSMBA: Self-Supervised Manifold Based Data Augmentation for Improving Out-of-Domain Robustnesscited by 94
- 2021Extending the WILDS Benchmark for Unsupervised Adaptationcited by 85
- 2022Connect, Not Collapse: Explaining Contrastive Learning for Unsupervised Domain Adaptationcited by 66
- 2020Phase Consistent Ecological Domain Adaptationcited by 62
- 2018Whole-Slide Mitosis Detection in H&E Breast Histology Using PHH3 as a Reference to Train Distilled Stain-Invariant Convolutional Networkscited by 57
- 2023What do neural networks learn in image classification? A frequency shortcut perspectivecited by 28
- 2023Out-of-Domain Robustness via Targeted Augmentationscited by 24
- 2023HybridAugment++: Unified Frequency Spectra Perturbations for Model Robustnesscited by 12
- 2023Linear CNNs Discover the Statistical Structure of the Dataset Using Only the Most Dominant Frequenciescited by 7
- 2024Connect Later: Improving Fine-tuning for Robustness with Targeted Augmentationscited by 7
- 2024Towards Combating Frequency Simplicity-biased Learning for Domain Generalizationcited by 6
50 most cited of 54 All 54 (JSON)
Built on by
Not cited yet.