Rethinking Domain Generalization: Discriminability and Generalizability
Shaocong Long, Qianyu Zhou, Chenhao Ying, Lizhuang Ma, Yuan Luo
TL;DR
This paper addresses domain generalization by tackling the tension between discriminability and generalizability, noting that traditional DG methods often degrade discriminability via spurious correlations. It proposes DMDA, a framework composed of Selective Channel Pruning (SCP) to remove unstable channels and Micro-level Distribution Alignment (MDA) to align semantics at a finer granularity across domains using latent semantics from domain-specific experts. The optimization couples a classification objective with a semantic-aware invariance term implemented as a minimax game against a distribution approximator, promoting micro-level domain alignment while preserving informative features. Empirical results across five benchmarks show DMDA achieving competitive or superior performance, with pronounced gains in hard transfer scenarios, and ablations confirm the complementary roles of SCP and MDA in enhancing generalization. The approach offers a principled path toward DG by emphasizing stable factor selection and micro-level semantics-aware alignment, with potential impact on robust cross-domain learning in vision tasks.
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.
