Unlearning During Training: Domain-Specific Gradient Ascent for Domain Generalization

Abstract

Deep neural networks often exhibit degraded performance under domain shifts due to reliance on domain-specific features. Existing domain generalization (DG) methods attempt to mitigate this during training but lack mechanisms to adaptively correct domain-specific reliance once it emerges. We propose Identify and Unlearn (IU), a model-agnostic module that continually mitigates such reliance post-epoch. We introduce an unlearning score to identify training samples that disproportionately increase model complexity while contributing little to generalization, and an Inter-Domain Variance (IDV) metric to reliably identify domain-specific channels. To suppress the adverse influence of identified samples, IU employs a Domain-Specific Gradient-Ascent (DSGA) procedure that selectively removes domain-specific features while preserving domain-invariant features. Extensive experiments across seven benchmarks and fifteen DG baselines show that IU consistently improves out-of-distribution generalization, achieving average accuracy gains of up to 3.0\%.

Cite

Text

Zhao et al. "Unlearning During Training: Domain-Specific Gradient Ascent for Domain Generalization." International Conference on Learning Representations, 2026.

Markdown

[Zhao et al. "Unlearning During Training: Domain-Specific Gradient Ascent for Domain Generalization." International Conference on Learning Representations, 2026.](https://mlanthology.org/iclr/2026/zhao2026iclr-unlearning/)

BibTeX

@inproceedings{zhao2026iclr-unlearning,
  title     = {{Unlearning During Training: Domain-Specific Gradient Ascent for Domain Generalization}},
  author    = {Zhao, Di and Zhang, Jingfeng and Hu, Hongsheng and Fournier-Viger, Philippe and Dobbie, Gillian and Koh, Yun Sing},
  booktitle = {International Conference on Learning Representations},
  year      = {2026},
  url       = {https://mlanthology.org/iclr/2026/zhao2026iclr-unlearning/}
}