Rethinking Domain Generalization: Discriminability and Generalizability

Shaocong Long, Qianyu Zhou, Chenhao Ying, Lizhuang Ma, Yuan Luo
9/28/2023
cs.CV

No official code found. Best implementation: longshaocong/DMDA (3 stars, last commit 2025-11-07).

Abstract

Domain generalization(DG) endeavors to develop robust models that possess strong generalizability while preserving excellent discriminability. Nonetheless, pivotal DG techniques tend to improve the feature generalizability by learning domain-invariant representations, inadvertently overlooking the feature discriminability. On the one hand, the simultaneous attainment of generalizability and discriminability of features presents a complex challenge, often entailing inherent contradictions. This challenge becomes particularly pronounced when domain-invariant features manifest reduced discriminability owing to the inclusion of unstable factors, i.e., spurious correlations. On the other hand, prevailing domain-invariant methods can be categorized as category-level alignment, susceptible to discarding indispensable features possessing substantial generalizability and narrowing intra-class variations. To surmount these obstacles, we rethink DG from a new perspective that concurrently imbues features with formidable discriminability and robust generalizability, and present a novel framework, namely, Discriminative Microscopic Distribution Alignment~(DMDA). DMDA incorporates two core components: Selective Channel Pruning~(SCP) and Micro-level Distribution Alignment~(MDA). Concretely, SCP attempts to curtail redundancy within neural networks, prioritizing stable attributes conducive to accurate classification. This approach alleviates the adverse effect of spurious domain invariance and amplifies the feature discriminability. Besides, MDA accentuates micro-level alignment within each class, going beyond mere category-level alignment. Extensive experiments on four benchmark datasets corroborate that DMDA achieves comparable results to state-of-the-art methods in DG, underscoring the efficacy of our method.

View on arXivView PDF

Code Implementations(1)

longshaocong/DMDACommunity100%

Rethinking Domain Generalization: Discriminability and Generalizability

30PythonFeb 2, 202411 months ago

Similar Papers

Cite this paper

@article{long2023rethinking,
  title  = {Rethinking Domain Generalization: Discriminability and Generalizability},
  author = {Shaocong Long and Qianyu Zhou and Chenhao Ying and Lizhuang Ma and Yuan Luo},
  year   = {2023},
  eprint = {2309.16483},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.16483v3}
}

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/2309.16483.svg)](https://codeofpaper.com/paper/2309.16483)

Discussion