A Closer Look at Smoothness in Domain Adversarial Training

Harsh Rangwani, Sumukh K Aithal, Mayank Mishra, Arihant Jain, R. Venkatesh Babu
6/16/2022
cs.LGcs.CV

Official code: val-iisc/SDAT (71 stars, Python, MIT, PyTorch, last commit 2024-04-11).

Abstract

Domain adversarial training has been ubiquitous for achieving invariant representations and is used widely for various domain adaptation tasks. In recent times, methods converging to smooth optima have shown improved generalization for supervised learning tasks like classification.

Show full abstract

In this work, we analyze the effect of smoothness enhancing formulations on domain adversarial training, the objective of which is a combination of task loss (eg. classification, regression, etc.) and adversarial terms. We find that converging to a smooth minima with respect to (w.r.t.) task loss stabilizes the adversarial training leading to better performance on target domain. In contrast to task loss, our analysis shows that converging to smooth minima w.r.t. adversarial loss leads to sub-optimal generalization on the target domain. Based on the analysis, we introduce the Smooth Domain Adversarial Training (SDAT) procedure, which effectively enhances the performance of existing domain adversarial methods for both classification and object detection tasks. Our analysis also provides insight into the extensive usage of SGD over Adam in the community for domain adversarial training.

View on arXivView PDF

Code Implementations(1)

val-iisc/SDATOfficial100%
PyTorchMIT

[ICML 2022]Source code for "A Closer Look at Smoothness in Domain Adversarial Training",

7112PythonJun 19, 20222 years agoMIT
adversarial-trainingdanndomain-adaptationicml-2022pytorch+1 more

Similar Papers

Cite this paper

@article{rangwani2022closer,
  title  = {A Closer Look at Smoothness in Domain Adversarial Training},
  author = {Harsh Rangwani and Sumukh K Aithal and Mayank Mishra and Arihant Jain and R. Venkatesh Babu},
  year   = {2022},
  eprint = {2206.08213},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.08213}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.08213.svg)](https://codeofpaper.com/paper/2206.08213)

Discussion