potentialpaper

D-GAP: Improving Out-of-Domain Robustness via Dataset-Agnostic and Gradient-Guided Augmentation in Amplitude and Pixel Spaces

Ruoqi Wang, Haitao Wang, Shaojie Guo, Qiong Luo

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We propose D-GAP, providing a simple and adaptive approach for OOD robustness in visual domain adaptation without dataset-specific analysis.

Abstract. 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

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
3 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 4 reviews · OpenReview

Updated 25 Nov 2026, 03:44 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The reviews are mixed: three reviewers rate the paper as borderline accept and one as borderline reject. For the paper to be strongly considered, the authors are encouraged to address the following questions:

  1. Please provide more direct evidence that performance depends on the particular frequency locations selected by the sensitivity map. Please also establish whether high-gradient components can reasonably be interpreted as domain-specific or spurious.
  2. Please state clearly which baselines use unlabeled target-domain examples and which do not. The experimental protocols and scope of the claims should clearly distinguish target-aware unsupervised domain adaptation from target-free domain generalization.
  3. Please explain how source and target samples are paired and how training labels are assigned. Provide targeted evidence that the pixel-space and frequency-space branches preserve semantic and label validity.
  4. Please quantify training time or throughput and memory usage relative to others (e.g., ERM, MixUp, FACT, SAM, etc).
  5. Please sharpen the distinction from the most closely related Fourier-domain, mixup-style, and gradient-guided augmentation methods. The connectivity explanation should be clarified.

Other requests would improve the paper but are not individually critical.

Final justification

The rebuttal addressed the main concerns. While some limitations remain, the empirical evidence is strong, and the remaining limitations do not outweigh the paper’s practical value. I therefore recommend Accept (poster).

Area Chair df69 · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The reviews are mixed: three reviewers rate the paper as borderline accept and one as borderline reject. For the paper to be strongly considered, the authors are encouraged to address the following questions:

  1. Please provide more direct evidence that performance depends on the particular frequency locations selected by the sensitivity map. Please also establish whether high-gradient components can reasonably be interpreted as domain-specific or spurious.
  2. Please state clearly which baselines use unlabeled target-domain examples and which do not. The experimental protocols and scope of the claims should clearly distinguish target-aware unsupervised domain adaptation from target-free domain generalization.
  3. Please explain how source and target samples are paired and how training labels are assigned. Provide targeted evidence that the pixel-space and frequency-space branches preserve semantic and label validity.
  4. Please quantify training time or throughput and memory usage relative to others (e.g., ERM, MixUp, FACT, SAM, etc).
  5. Please sharpen the distinction from the most closely related Fourier-domain, mixup-style, and gradient-guided augmentation methods. The connectivity explanation should be clarified.

Other requests would improve the paper but are not individually critical.

Final justification

The rebuttal addressed the main concerns. While some limitations remain, the empirical evidence is strong, and the remaining limitations do not outweigh the paper’s practical value. I therefore recommend Accept (poster).

2 comments
Area Chair df69 · CommentOpenReview ↗

Dear Reviewers,

Could you please carefully review the authors’ rebuttals and provide your feedback at your earliest convenience?

Thank you for your time and effort.

Authors · CommentOpenReview ↗

Response to Meta Review

Dear Area Chair df69,

Thank you for summarizing the key concerns. We have addressed them in our reviewer-specific rebuttals. Below, we provide a concise summary of our responses to the key concerns you identified. For the numerical results, tables, and detailed discussion, please refer to the corresponding reviewer-specific rebuttals indicated below.

1. Direct evidence and interpretation of the selected frequency locations.

In our response to Reviewer pzdJ, Question 4, and our response to Reviewer VV8P, Concern, we provide a table comparing the overlap of high-gradient regions for same-class cross-domain and different-class same-domain pairs on two datasets. The results indicate that these regions contain a measurable domain-dependent component beyond class identity.

We further provide a Shuffled Map ablation table in our response to Reviewer VV8P, Question 1. This variant preserves the same sensitivity values and their distribution but randomly permutes their frequency locations. The consistent degradation across all four datasets directly shows that D-GAP benefits from the specific locations selected by the sensitivity map.

We also clarify that high-gradient components are interpreted as domain-dependent or domain-sensitive, rather than necessarily strictly domain-specific or spurious. The results and analysis in our response to Reviewer pzdJ, Question 4, and our response to Reviewer VV8P, Concern indicate a domain-dependent component but do not prove that every high-gradient frequency corresponds exclusively to a domain-specific or spurious shortcut.

2. Target-aware UDA versus target-free domain generalization.

As clarified in our response to Reviewer pzdJ, Question 2, we explicitly list which baselines use unlabeled target-domain samples and which are target-free in our response, and we will mark these settings clearly in our revised version. Besides, our method D-GAP uses unlabeled target-domain samples and should therefore be categorized as a target-aware UDA method. We will explicitly distinguish these two groups in our revised version.

3. Pairing strategy, label assignment, and semantic and label validity.

In our response to Reviewer pzdJ, Question 1, we clarify that each labeled source sample is paired with a randomly sampled unlabeled target sample, while the original source label is retained. The frequency branch mixes amplitudes but reconstructs the image using the source phase, preserving the main spatial structure. The pixel branch is complementary and source-dominant. We also point to Appendix Fig. 8, which shows that D-GAP maintains stable ID and OOD performance over the recommended λ1\lambda_1 in [0.2, 0.6] and λ2\lambda_2 in [0.2, 0.6], providing empirical support for semantic and label validity within these ranges.

4. Computational cost and memory usage.

We provide a full comparison table of training time, throughput, and peak GPU memory in our response to Reviewer WDSH, Q1; Reviewer kwor, Suggestion 2; Reviewer VV8P, Question 2; and Reviewer pzdJ, Question 3, under identical hardware, backbone, resolution, batch size, and optimizer settings. The results show that D-GAP introduces additional training-time overhead due to the extra sensitivity map and Fourier computations, while its peak memory remains comparable to lightweight baselines and lower than the strong baseline FACT.

5. Distinction from related methods and clarification of connectivity.

Compared with Fourier-domain methods such as FACT and SAM, D-GAP learns location-specific interpolation strengths from task gradients rather than using fixed or predefined frequency mixing. Compared with mixup-style methods, D-GAP not only preserves the source phase in the frequency domain and uses a complementary pixel-space blend, but also adaptively determines location-wise mixing strengths from task gradients rather than relying on a predefined global mixing coefficient. Compared with representative gradient-guided augmentation methods, D-GAP computes gradients with respect to the Fourier amplitude spectrum in the frequency domain and uses them to determine where and how strongly cross-domain spectral information should be mixed, rather than directly perturbing inputs or features along gradient directions.

As clarified in our response to Reviewer kwor’s concern of “Connectivity analysis”, connectivity is intended only as a complementary diagnostic, not as a causal explanation of the gains. It examines whether same-class samples across domains become better connected while class separation is preserved. Our primary evidence remains the ID/OOD comparisons and component ablations.

We will incorporate these experiments and clarifications into the revised manuscript. Since the above is only a consolidated summary, please refer to the corresponding reviewer-specific rebuttals indicated under each point for the complete results and supporting details.

Reviewer pzdJOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes D-GAP, a dataset-agnostic augmentation framework for improving out-of-domain robustness in visual domain adaptation. The method operates in both Fourier amplitude space and pixel space. Given source and target-domain samples, it computes a gradient-based amplitude sensitivity map from the supervised task loss with respect to the source image amplitude spectrum, and then uses this map to adaptively interpolate source and target amplitudes. A complementary pixel-space mixing branch is added to compensate for artifacts or blurring introduced by frequency-space reconstruction. The paper evaluates the method on four real-world datasets, including iWildCam, Camelyon17, BirdCalls, and Galaxy10, as well as three standard domain generalization benchmarks: PACS, OfficeHome, and Digits-DG. The reported results suggest consistent OOD improvements over generic augmentations, domain-invariance methods, and several dataset-specific targeted augmentation strategies.

Strengths and weaknesses

Strengths

  • The paper addresses an important and practical problem: improving OOD robustness under real-world domain shifts without relying on dataset-specific augmentation design.
  • The proposed method is simple and intuitive. It combines gradient-guided Fourier amplitude mixing with pixel-space mixing, making the augmentation adaptive to model sensitivity rather than using fixed or random frequency perturbations.
  • The empirical evaluation is broad. The paper reports results on four real-world datasets and three standard benchmarks, covering different types of domain shifts.
  • The ablation studies support the main design choices, especially the usefulness of frequency-space mixing and the gradient-guided mechanism.
  • Additional experiments with ConvNeXt and ViT suggest that the method is not tied to a single backbone architecture.

Weaknesses

  • The novelty is somewhat limited. The method builds on existing ideas from Fourier-domain augmentation, amplitude mixing, mixup-style augmentation, and gradient-based sensitivity. The paper should better distinguish D-GAP from prior Fourier and gradient-guided augmentation methods.
  • The interpretation of high amplitude gradients as evidence of domain-specific frequency bias is not fully justified. A large gradient may also correspond to class-discriminative or semantically important information.
  • The comparison setting needs clarification. Since D-GAP uses unlabeled target-domain images, the paper should clearly state which baselines use the same target-domain access and which do not.
  • The pixel-space mixing branch may introduce label noise when source and target samples are from different classes. The sampling strategy and its effect on label preservation should be clarified.
  • The computational overhead of the additional gradient computation is acknowledged but not quantified.
Questions
  1. How are target-domain samples selected for amplitude and pixel mixing? Are they sampled randomly, class-matched when labels are available, or constrained in some other way? If different-class samples are mixed in pixel space, how does the method avoid corrupting the source label?
  2. Since D-GAP uses unlabeled target-domain images, can the authors clarify which baselines also use target-domain data and which do not? A table summarizing the data-access assumptions of all baselines would help evaluate fairness.
  3. Can the authors provide training-time and memory overhead compared with FACT, SAM, MixUp, and ERM? The extra gradient computation seems central to the method and should be quantified.
  4. Can the authors provide more direct evidence that high-gradient amplitude components correspond to domain-specific shortcuts rather than class-discriminative information? For example, an analysis comparing high-gradient regions across same-class cross-domain samples versus different-class samples would be useful.
Limitations

The authors acknowledge the additional gradient-computation cost, but the limitation discussion is not sufficient. The paper should quantify the computational overhead and discuss when the method may be impractical. The paper should also discuss the risks of semantic corruption or label noise from pixel-space mixing, especially when source and target samples are not class-matched. In addition, the paper should more explicitly discuss that the method assumes access to unlabeled target-domain images.

Final justification

The rebuttal addresses most of my concerns, especially the clarification of the sampling strategy, baseline settings, and computational cost. Some questions about the interpretation of the high-gradient components and the overall novelty still remain, but the additional results are helpful and the empirical performance is strong. I therefore keep my score as Borderline Accept.

Formatting concerns

N/A

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for your constructive comments. In the following, we answer your questions and add the required experimental results.

1. Sampling strategy and label preservation.

Source images are paired with randomly sampled unlabeled target-domain images, and the original source labels are directly assigned as train labels. To preserve semantic and label validity, the frequency branch mixes amplitudes but reconstructs the image using the source phase, which is known to preserve the main spatial/structural content (line 141-145 in our paper). The pixel branch is only complementary: from Eqs. (7)-(8), the direct target-pixel contribution is only λ1λ2\lambda_1\lambda_2. Appendix Fig. 8 further shows stable ID performance over the recommended λ1\lambda_1,λ2\lambda_2 in [0.2,0.6]. Within this range, the ID and OOD performance retains satisfying. Moreover, Figs. 5–6 show that D-GAP achieves strong ID performance together with SOTA OOD performance, providing empirical evidence that the augmentation improves cross-domain robustness without corrupting source semantics or label validity.

2. Clarification of target-domain access.

Thank you for your suggestion. We clarify that in our implementation of baselines, DANN, DeepCORAL, Noisy Student, Su et al. (2024), FACT, SAM, AGST, Copy-Paste, Stain Color Jitter, Copy-Paste + Jitter, and Connect Later use unlabeled target-domain samples and therefore belong to the target-aware UDA setting. The other baselines, including ERM, MixUp, CutMix, Cutout, RandAugment, LISA, LP-FT, SpecAugment, Jitter, Random Pass, and Noise Reduction, are target-free domain generalization. We will explicitly distinguish these two groups in our revised version.

3. Training cost and memory usage.

Thank you for the suggestion. We additionally evaluate the computational cost using the same GPU, ResNet-18 backbone, 224×224224\times224 input resolution, batch size of 32, and Adam optimizer.

Method Time / Iter. (ms) Throughput (img/s) Peak GPU Memory (GB)
ERM 24.46 ± 0.17 1308.3 ± 9.1 0.86
MixUp 24.71 ± 0.16 1294.9 ± 8.1 0.88
DANN 48.62 ± 0.24 658.2 ± 3.2 1.55
LISA 66.28 ± 0.19 482.8 ± 1.3 0.88
SAM 48.00 ± 0.30 666.6 ± 4.2 0.91
FACT 63.00 ± 0.31 507.9 ± 2.5 1.94
D-GAP (Ours) 90.46 ± 2.38 353.9 ± 9.2 0.86

We will add this computational comparison and discussion to our revised version.

4: Direct evidence of domain specificity of high-gradient components.

Following your suggestion, we further compare the overlap of high-gradient amplitude regions between same-class cross-domain (SC-CD) samples and different-class same-domain (DC-SD) samples. We compute the Jaccard similarity between the top-ranked high-gradient frequency locations.

Dataset High-gradient region SC-CD DC-SD
Galaxy10 Top 10% 0.5449 0.5551
Top 20% 0.5485 0.5734
Top 30% 0.5497 0.5847
OfficeHome Top 10% 0.2774 0.3035
Top 20% 0.3332 0.3554
Top 30% 0.4372 0.4558

Across both datasets and all thresholds, high-gradient regions consistently exhibit higher similarity for DC-SD than for SC-CD, indicating that the high-gradient frequency locations contain domain-dependent components rather than being determined only by class identity.

Reviewer VV8POpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proposes D-GAP, a target-aware, dataset-agnostic augmentation method for out-of-domain robustness. The method uses a gradient-adaptive mechanism to determine where to mix the information in the frequency space. To mitigate the artifacts of amplitude blending they add pixel-space blending. The authors provide several ablation studies comparing frequency, pixel, fixed maps and different backbones. The method is evaluated on four application-oriented datasets: iWildCam, Camelyon17, BirdCalls, and Galaxy10, as well as PACS, OfficeHome, and Digits-DG and show that their method improves upon the other reported variants.

Strengths and weaknesses

The paper targets an important limitation of dataset-specific augmentations that often require domain knowledge or a custom design per dataset. The main idea uses Fourier amplitude mixing combined with a pixel space blend on unlabelled target domain samples. The authors perform a wide set of experiments in the following domains: wildlife, pathology, bird audio, astronomy and they add experiments on standard benchmark datasets: PACS Office-Home, and Digits-DG. The method is clear, easy to follow and the figures help illustrate the flow and components.

Their experiments show improved OOD results in the real world ablation table. where most of the improvements come from the frequency only mixing. Adding the pixel wise mixing on top of the frequency only mixing shows further improvements for BirdCalls and Galaxy10. Furthermore, the authors show that their method is consistent across several backbones.

I have a few technical concerns regarding the interpretation of the gradient map. While the gradient magnitude with respect tot eh Fourier amplitude measures local loss sensitivity, a high loss gradient does not necessarily imply that the frequency component is domain-specific or spurious.

While the paper acknowledges an extra gradient computation is required for each batch, it does not provide the runtime and memory overhead analysis or even a wall-clock comparison against other methods.

The method introduces a novel combination of existing ideas; Fourier augmentation, particularly per-frequency loss guided amplitude mixing and pixel mixing. Even though the contribution is incremental, it is potentially useful.

Questions
  1. Can the authors provide an ablation study that shows whether the method benefits from the frequency locations selected by the sensitivity map . The ablation experiments in the paper show that the adaptive strategy improves against fixed masks but it does not isolate the importance of the spatial allocation across frequencies.

  2. I think the paper would be more complete if it will include a supplementary analysis of the computation time and memory overhead of the extra gradient computation. A comparison against one or two strong baselines will provide evidence for the practicality of the method.

Limitations

yes

Final justification

The rebuttal addresses my main experimental concerns, particularly the frequency-location ablation and computational cost analysis. Some concerns regarding the interpretation of the gradient map and the overall novelty remain. I therefore keep my score as Borderline Accept.

Formatting concerns

No major formatting concerns.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for your constructive comments. In the following, we answer your questions and add the required experimental results.

Question 1: Importance of the frequency locations selected by the sensitivity map.

Thank you for this suggestion. We add a Shuffled Map ablation to isolate the effect of the spatial allocation of sensitivity intensity across frequencies. We randomly permute the sensitivity values across frequency locations while preserving the same set and distribution of mixing weights.

Variant iWildCam (F1) Camelyon17 (Acc.) BirdCalls (F1) Galaxy10 (Acc.)
Shuffled Map 35.9 95.3 38.2 80.5
D-GAP 36.8 96.4 40.7 83.4

D-GAP consistently outperforms the shuffled-map variant on all four datasets. Since the shuffled variant preserves the sensitivity-weight distribution but disrupts its correspondence with specific frequency locations, these results provide direct evidence that D-GAP benefits from assigning stronger cross-domain interpolation to the frequency locations identified by the sensitivity map.

Question 2: Training cost and memory usage.

Thank you for the suggestion. We additionally evaluate the computational cost using the same GPU, ResNet-18 backbone, 224×224224\times224 input resolution, batch size of 32, and Adam optimizer.

Method Time / Iter. (ms) Throughput (img/s) Peak GPU Memory (GB)
ERM 24.46 ± 0.17 1308.3 ± 9.1 0.86
MixUp 24.71 ± 0.16 1294.9 ± 8.1 0.88
DANN 48.62 ± 0.24 658.2 ± 3.2 1.55
LISA 66.28 ± 0.19 482.8 ± 1.3 0.88
SAM 48.00 ± 0.30 666.6 ± 4.2 0.91
FACT 63.00 ± 0.31 507.9 ± 2.5 1.94
D-GAP (Ours) 90.46 ± 2.38 353.9 ± 9.2 0.86

We will add this computational comparison and discussion to our revised version following your suggestion.

Concern: The concern regarding the interpretation of the gradient map.

We interpret these high-gradient locations as domain-sensitive spectral components, rather than claiming that all high-gradient components are strictly domain-specific or spurious. To further address your concern, we compare the overlap of high-gradient amplitude regions between same-class cross-domain (SC-CD) samples and different-class same-domain (DC-SD) samples. We compute the Jaccard similarity between the top-ranked high-gradient frequency locations.

Dataset High-gradient region SC-CD DC-SD
Galaxy10 Top 10% 0.5449 0.5551
Top 20% 0.5485 0.5734
Top 30% 0.5497 0.5847
OfficeHome Top 10% 0.2774 0.3035
Top 20% 0.3332 0.3554
Top 30% 0.4372 0.4558

Across both datasets and all thresholds, high-gradient regions consistently exhibit higher similarity for DC-SD than for SC-CD, indicating that the high-gradient frequency locations contain more domain-dependent components rather than being determined only by class identity.

Reviewer VV8P · CommentOpenReview ↗

Thank you for the rebuttal. The shuffled-map ablation provides relevant evidence that the selected frequency locations matter, and the computational comparison quantifies the training and memory overhead. The gradient-overlap analysis is helpful but remains suggestive, since it does not fully disentangle class and domain effects. This limitation should be made clear when presenting the result. Overall, my main concerns have been addressed.

Authors · CommentOpenReview ↗

Dear Reviewer VV8P,

Thank you for your response. We are pleased that our clarifications and additional results addressed the main concerns you raised. Following your suggestion, we will revise the manuscript to present the gradient-overlap analysis and explicitly state that it provides supporting evidence, rather than definitive proof that the identified frequencies are exclusively domain-specific or spurious.

Best regards,

The Authors

Reviewer kworOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
2/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper introduces a method (D-GAP) to improve OOD robustness in unsupervised domain adaptation, where source labels are available but target labels are not. D-GAP stands for Dataset-agnostic and Gradient-guided Augmentation of the amplitude spectrum (in the frequency domain) and pixel values. It creates a mixup in multiple phases: (1) first, within a specific frequency window, it combines the amplitude spectra of the source and target while preserving the source phase; (2) next, it combines the source and target images in pixel space using linear mixup; (3) finally, it linearly mixes the outputs of (1) and (2). The evaluation on real-world datasets (iWildCam, Camelyon17, BirdCalls, Galaxy10) and standard OOD benchmarks (PACS, Office-Home, Digits-DG) shows improvements over the baselines.

Strengths and weaknesses

Strengths

  • The method is clear and well described.
  • The technical contribution is interesting: a gradient-adaptive input augmentation method in the frequency domain, combined with a dual-space mixing strategy.
  • The method shows clear improvements over previous approaches, especially on PACS and Office-Home.

Weaknesses

  • Although the authors acknowledge the additional gradient computations, they do not provide a quantitative analysis of the computational overhead (e.g., training time).
  • The descriptions of figures and tables need improvement in terms of clarity, purpose, and interpretation.
  • The empirical analysis of connectivity is not clearly explained and only weakly supports the observed performance gains (Section 2.4, Section 4.5, and Appendix F).
  • The method introduces a large number of hyperparameters, several of which appear to have little or no effect.
Questions

Questions

  • Can you clarify the notation in Section 2.1? It is not clear whether the indices follow those from [11] or are introduced by the authors. If they are newly introduced, please explain what they represent. For clarity, either define them explicitly or use notation that is consistent with the categories.
  • Can you provide the numerical values or tables corresponding to Figures 5 and 6?
  • Can you include the corresponding ID performance alongside the OOD performance in Table 5?
  • Based on the analysis in Appendix B, for Galaxy10 and BirdCalls, unlike λ2\lambda_2, which appears to have some impact on OOD performance, both the frequency-window parameter and λ1\lambda_1 seem to have little or no effect on either ID or OOD performance. Are there scenarios where these hyperparameters have a significant impact?

Suggestions

  • Figure 1 would benefit from a more informative caption explaining what is shown, its purpose, and how it should be interpreted. Similarly, additional explanation in the caption of Figure 5 would improve readability.
  • Line 224: the hardware platform is useful for reproducibility, but without reporting training times or computational cost, the hardware specifications alone are not very informative. Likewise, the operating system and PyTorch version are valuable for code release but are not essential in the main paper unless they support a specific claim.

A few related references that may be worth mentioning:

  • Similar amplitude and phase mixup for adversarial robustness: Li, Fengpeng, et al. DAT: Improving Adversarial Robustness via Generative Amplitude Mix-up in Frequency Domain. NeurIPS 2024. https://openreview.net/pdf?id=TeQvz5AlI8
  • Shin, Yooseung, Kwanseok Oh, and Heung-Il Suk. DyMix: Dynamic Frequency Mixup Scheduler based Unsupervised Domain Adaptation for Enhancing Alzheimer's Disease Identification. arXiv:2410.12827 (2024). https://arxiv.org/pdf/2410.12827
  • Frequency mixup for common corruptions: Ngnawe, Jonas, et al. RobustMix: Improving Robustness by Regularizing the Frequency Bias of Deep Nets. NeurIPS 2022 Workshop on Distribution Shifts. https://openreview.net/pdf?id=Na64z0YpOx
Limitations

n/a

Final justification

The authors’ clarifications have addressed most of my concerns, especially the numerical values of the results. Although the explanation of why the method works and the motivation remain limited, the empirical results are strong. I therefore raise my score to borderline accept.

Formatting concerns

n/a

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for your constructive comments. In the following, we answer your questions and add the required experimental results.

Clarification of connectivity analysis.

We clarify that the connectivity analysis is intended as a complementary diagnostic rather than an independent or causal explanation of these gains. Our primary empirical evidence for the effectiveness of D-GAP is the consistent improvement in ID and OOD performance across datasets and architectures. We mainly use connectivity to examine how the augmented data are organized with respect to class and domain. Connectivity is one of the motivations behind our design: we aim to make same-class samples across domains more connected while preserving class discrimination. Accordingly, α\alpha measures same-class cross-domain connectivity, while β\beta reflects different-class same-domain connectivity. We use this analysis to empirically show that D-GAP can better connect same-class cross-domain data samples. These results provide additional evidence that is consistent with the observed OOD improvements, but we do not claim that connectivity alone explains or causes the performance gains. We will revise Sections 2.4, 4.5, and Appendix F to make this motivation, definition, and interpretation clearer.

Question 1: Clarification of the notation in Sec. 2.1.

Thank you for pointing out this ambiguity. The notation in Sec. 2.1 is adopted from the feature decomposition framework of Gao et al. [11], rather than newly introduced by us. The subscripts denote feature categories: xobjx_{\mathrm{obj}} denotes label-dependent, domain-independent features; xd:robustx_{d:\mathrm{robust}} denotes label-dependent, domain-dependent robust features; xd:spux_{d:\mathrm{spu}} denotes label-independent, domain-dependent spurious features; and xnoisex_{\mathrm{noise}} denotes label-independent, domain-independent features. Here, ‘d:’ indicates domain dependence, while ‘robust’ and ‘spu’ distinguish robust and spurious components. We will explicitly clarify this notation in the revised version.

Question 2: Numerical values for Figs. 5 and 6.

We provide the numerical values corresponding to Figs. 5 and 6 below. All values are reported as mean ± standard deviation (%).

Figure 5: ID/OOD performance on the four real-world datasets.

iWildCam

Method ID F1 OOD F1
ERM 46.4±0.5 30.4±0.6
Copy-Paste 50.2±0.6 34.7±0.7
DANN 48.5±2.2 31.7±1.6
CORAL 40.5±1.6 27.9±0.5
Noisy Student 47.5±1.0 32.1±0.8
CL+Copy-Paste 51.2±0.8 36.1±0.7
CutMix 45.2±0.5 28.3±0.5
MixUp 45.5±0.4 28.8±0.2
Cutout 48.3±0.4 32.5±0.3
RandAugment 49.0±0.2 33.3±0.1
LISA 45.4±0.4 29.5±0.4
LP-FT 46.4±0.8 31.2±0.6
FACT 49.7±0.7 34.7±0.6
SAM 51.0±0.7 34.2±0.7
D-GAP 51.9±0.7 36.8±0.7

Camelyon17

Method ID Acc. OOD Acc.
ERM 89.3±0.9 65.2±1.1
Stain Color Jitter 96.7±0.2 90.5±0.4
DANN 86.1±1.3 64.5±1.2
CORAL 92.3±0.7 62.3±1.9
LISA 91.0±1.3 73.8±1.2
CL+Stain Color Jitter 98.5±0.0 94.9±0.4
CutMix 84.9±2.5 61.0±1.8
MixUp 87.1±1.9 69.4±1.8
Cutout 87.8±1.4 63.5±1.0
RandAugment 94.8±0.6 75.5±1.0
LP-FT 92.3±0.2 91.4±0.9
FACT 98.2±0.7 92.1±1.0
SAM 97.1±0.4 92.2±0.5
D-GAP 98.6±0.3 96.4±0.4

BirdCalls

Method ID F1 OOD F1
CL+Copy-Paste+Jitter 71.46±1.36 34.95±3.56
Jitter 73.9±0.3 26.0±0.9
MixUp 74.1±0.3 26.5±0.95
SpecAugment 71.8±0.3 23.3±1.0
CDAN 64.8±0.4 27.3±1.2
CORAL 69.0±0.4 28.2±0.9
LISA 69.5±0.58 29.5±0.8
Random Pass 71.9±2.1 32.6±1.1
Noise Reduction 75.4±0.3 31.9±1.1
Copy-Paste+Jitter 75.3±0.3 37.8±1.0
LP-FT 73.1±0.4 30.1±1.30
FACT 73.4±0.4 35.1±1.28
SAM 74.3±0.5 33.2±1.40
D-GAP 75.4±0.3 40.7±1.18

Galaxy10

Method ID Acc. OOD Acc.
ERM 94.14±0.46 49.06±5.06
RandAugment 88.98±1.10 65.81±4.24
MixUp 95.50±0.38 56.60±5.85
CutMix 92.08±0.46 63.72±6.77
Cutout 95.38±1.58 57.92±4.92
DANN 91.49±0.76 58.35±5.96
LISA 95.74±0.86 66.21±2.15
CORAL 93.91±0.94 63.30±5.55
Noisy Student 89.91±1.43 73.91±2.68
LP-FT 93.66±1.36 54.34±5.04
FACT 95.10±1.38 66.33±4.45
SAM 94.20±1.32 74.10±4.03
D-GAP 95.26±1.08 83.35±2.52

Figure 6: ID/OOD performance on Galaxy10 with different backbones.

Method ConvNeXt-Tiny ID Acc. ConvNeXt-Tiny OOD Acc. ViT-B/16 ID Acc. ViT-B/16 OOD Acc.
ERM 94.6±0.35 65.4±4.5 94.3±0.40 63.2±4.2
RandAugment 92.5±0.98 80.3±3.4 87.8±0.86 74.5±4.5
MixUp 95.9±0.46 63.7±5.6 93.3±0.33 72.6±4.56
CutMix 93.2±0.45 65.8±6.4 91.6±0.37 68.1±6.43
Cutout 95.7±1.43 64.3±3.6 95.3±1.02 72.5±4.36
DANN 96.3±0.66 44.4±5.2 93.7±0.73 53.1±4.54
LISA 95.2±0.64 62.9±3.2 95.4±0.64 73.5±3.46
CORAL 95.8±0.74 63.7±4.5 94.6±0.44 69.5±5.44
Noisy Student 95.9±1.05 68.4±3.5 93.9±1.04 66.2±2.68
LP-FT 95.9±0.97 71.4±3.4 94.5±1.24 71.3±3.45
FACT 95.3±1.34 73.7±4.4 94.3±1.45 74.3±3.03
SAM 94.0±1.28 76.9±3.5 94.7±1.01 70.1±4.46
D-GAP 96.8±0.74 86.8±3.1 95.8±0.68 78.3±1.73

Question 3: ID performance in Table 5.

Thank you for the suggestion. The prior methods compared on the datasets PACS, Digits-DG, and OfficeHome, including SAM [65], FACT [66], Su et al. [52], and AGST [62], primarily report performance on the target domain, without providing the corresponding ID performance under the same settings. Following these commonly reported evaluation protocols, we therefore did not record ID performance for Table 5 in our original experiments. However, we agree that including ID results may provide a more complete comparison, and we will consider adding the corresponding ID performance in the revised version.

Question 4: Sensitivity to hyperparameters.

Performance is stable across most non-extreme settings. A noticeable ID performance drop occurs only when λ2\lambda_2 takes the extreme value 1 and λ1=1\lambda_1=1. Other non-extreme combinations yield consistently stable ID and OOD performance.

Suggestion 1: Clarification of Figs. 1 and 5.

Fig. 1 visualizes the average amplitude sensitivity maps across different domains on Galaxy10 and PACS. The color intensity indicates how sensitive the task loss is to different frequency components. The figure is intended to illustrate that the model exhibits non-uniform and domain-dependent sensitivity in the frequency space, motivating our use of gradient-guided sensitivity maps to adaptively determine where stronger spectral interpolation should be applied.

Fig. 5 visualizes the trade-off between ID and OOD performance for different methods on the four real-world datasets. The x-axis represents ID performance and the y-axis represents OOD performance, while the error bars indicate the standard deviation across runs. Different markers denote different categories of methods. A method located toward the upper-right achieves better OOD robustness while retaining stronger ID performance. D-GAP consistently lies in the upper-right region across the four datasets, showing that its OOD improvements are achieved without sacrificing ID performance.

Suggestion 2: Computational cost.

We additionally evaluate the computational cost using the same settings:

Method Time / Iter. (ms) Throughput (img/s) Peak GPU Memory (GB)
ERM 24.46 ± 0.17 1308.3 ± 9.1 0.86
MixUp 24.71 ± 0.16 1294.9 ± 8.1 0.88
DANN 48.62 ± 0.24 658.2 ± 3.2 1.55
LISA 66.28 ± 0.19 482.8 ± 1.3 0.88
SAM 48.00 ± 0.30 666.6 ± 4.2 0.91
FACT 63.00 ± 0.31 507.9 ± 2.5 1.94
D-GAP (Ours) 90.46 ± 2.38 353.9 ± 9.2 0.86
Reviewer kwor · CommentOpenReview ↗

Thank you for your clarifications. Based on your explanation of Figure 1, you should show the sensitivity maps both with and without your training method to better illustrate this point. Overall, despite the limited analysis of why the method works, the results are strong, so I am raising my score to borderline accept. Good luck!

Authors · CommentOpenReview ↗

Dear Reviewer kwor,

Thank you for your suggestion and for updating your assessment. We are pleased that our clarifications and results addressed your main concerns. Following your suggestion, we will revise Figure 1 to include sensitivity maps both with and without D-GAP training, so that the effect of our method can be illustrated more clearly.

Best regards,

The Authors

Reviewer WDSHOpenReview ↗
Rating
4/6
Confidence
5/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This work addresses the central challenge of designing dataset-agnostic augmentations by introducing gradient-guided amplitude sensitivity maps. Unlike prior frequency-based methods (e.g., FACT [66], SAM [65]) that rely on fixed or random mixing ratios, D-GAP adaptively controls interpolation strength per frequency component based on task gradients, which is a principled and empirically effective innovation.

Strengths and weaknesses

(1) The gains are particularly impressive on Galaxy10 (+9.3% over SAM) and BirdCalls (+5.6% over FACT), demonstrating robustness across modalities and domain shift types.

(2) The paper carefully motivates the combination of frequency-space amplitude mixing with pixel-space blending to compensate for artifacts and blurring.

(3) The use of the connectivity framework (α/γ and β/γ ratios) to empirically explain why D-GAP improves OOD robustness is valuable.

(4) The claims of the paper are well-supported by comparisons to manually designed augmentations (Copy-Paste, Stain Color Jitter, etc.).

Questions

(1) A quantitative comparison of training time and memory usage against FACT or SAM would help assess practical viability.

(2) Have you evaluated D-GAP against recent diffusion-based augmentation methods such as [1] or [2]?

(3) Does D-GAP degrade in pure domain generalization settings where no target-domain unlabeled data is available during training?

(4) How does D-GAP perform in scenarios where the source and target images have drastically different spatial layouts (e.g., large object pose variations), where phase alone may not align semantics?

(5) Do early-epoch maps identify different frequencies than late-epoch maps, and does freezing or slowly updating the sensitivity map after an initial warm-up period hurt or help performance?

Related References: [1] Context-guided Responsible Data Augmentation with Diffusion Models [2] GenMix: Effective Data Augmentation with Generative Diffusion Model Image Editing [3] S2-FracMix: Label-Preserving Self-Saliency Mixup Augmentation

Limitations

No

Formatting concerns

No

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for your constructive comments. In the following, we answer your questions and add the required experimental results.

1: Training cost and memory usage.

We additionally evaluate the computational cost using the same GPU, ResNet-18 backbone, 224 ×\times 224 input resolution, batch size of 32, and Adam optimizer. We will add this computational comparison and discussion to our revised version.

Method Time / Iter. (ms) Throughput (img/s) Peak GPU Memory (GB)
ERM 24.46 ± 0.17 1308.3 ± 9.1 0.86
MixUp 24.71 ± 0.16 1294.9 ± 8.1 0.88
DANN 48.62 ± 0.24 658.2 ± 3.2 1.55
LISA 66.28 ± 0.19 482.8 ± 1.3 0.88
SAM 48.00 ± 0.30 666.6 ± 4.2 0.91
FACT 63.00 ± 0.31 507.9 ± 2.5 1.94
D-GAP (Ours) 90.46 ± 2.38 353.9 ± 9.2 0.86

2. Diffusion-based augmentation.

Thank you for your suggestion. We have not evaluated the diffusion-based methods. They use pretrained diffusion models to generate or edit augmentation samples, whereas D-GAP requires no external generator and directly performs gradient-guided augmentation on real cross-domain samples. Our evaluation therefore focuses on methods operating under a more comparable non-generative augmentation pipeline. We will include comparisons with the diffusion-based methods in the revision and clarify this distinction.

3. Pure domain generalization setting.

D-GAP can be naturally adapted to this setting by sampling the mixing image x2x_2 from the available source domain, but we do not claim that it retains the same gains as the target-aware version. We will investigate the scenario under this target-free setting in future work.

4. Large spatial-layout variations.

The frequency branch does not require source-target spatial alignment because D-GAP transfers only target amplitude while retaining the source phase, so the source spatial structure is preserved (lines 141-144 in our paper). We agree that extreme pose or layout differences may weaken semantic consistency, especially in the complementary pixel branch. Our source-dominant mixing mitigates this issue, while semantic-aware pairing or spatial alignment for such severe shifts is an interesting direction for future work.

5. Evolution and update frequency of the sensitivity map.

Thank you for your helpful suggestion. We compare the original D-GAP with two variants (freezing and slowly updating the sensitivity map after a 5-epoch warm-up) on the Galaxy10 dataset.

Sensitivity-map strategy ID Acc. OOD Acc.
Dynamic update (Ours) 95.3 83.4
Freeze after warm-up 95.1 71.9
Update every 5 epochs 95.7 82.5

As shown in the above table, freezing the early-epoch map causes a substantial 11.5-point drop in OOD accuracy. In contrast, periodically updating it every five epochs preserves performance. These results indicate that an early sensitivity map is not sufficient to guide augmentation throughout training: the frequency sensitivity relevant to OOD generalization evolves with the model and therefore needs to be updated during optimization. At the same time, the strong performance of the five-epoch update suggests that the map does not need to be recomputed continuously. This provides a promising direction for improving the training efficiency of our method in future work. We will add this result to our revised version.

Comments on the paper

1 comment
Authors · CommentOpenReview ↗

Follow-up on Our Rebuttal

Dear Reviewers,

Thank you again for your time and constructive comments. As the discussion period is approaching its end, we would greatly appreciate it if you could review our rebuttals and let us know whether they have addressed your concerns or whether any further clarification is needed. We would be happy to respond promptly.

Best regards,

The Authors

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…