[Paper Review] Domain Generalization by Learning and Removing Domain-specific Features
The paper introduces LRDG, a framework that explicitly removes domain-specific features via domain-specific classifiers and an encoder–decoder to learn a domain-invariant model, achieving state-of-the-art results on multiple benchmarks.
Deep Neural Networks (DNNs) suffer from domain shift when the test dataset follows a distribution different from the training dataset. Domain generalization aims to tackle this issue by learning a model that can generalize to unseen domains. In this paper, we propose a new approach that aims to explicitly remove domain-specific features for domain generalization. Following this approach, we propose a novel framework called Learning and Removing Domain-specific features for Generalization (LRDG) that learns a domain-invariant model by tactically removing domain-specific features from the input images. Specifically, we design a classifier to effectively learn the domain-specific features for each source domain, respectively. We then develop an encoder-decoder network to map each input image into a new image space where the learned domain-specific features are removed. With the images output by the encoder-decoder network, another classifier is designed to learn the domain-invariant features to conduct image classification. Extensive experiments demonstrate that our framework achieves superior performance compared with state-of-the-art methods.
Motivation & Objective
- Motivate the need for domain-generalizable models that do not rely on domain-specific cues such as textures or backgrounds.
- Propose a method to explicitly remove domain-specific features to improve generalization to unseen domains.
- Demonstrate the framework's effectiveness on standard domain generalization benchmarks and provide theoretical justification via generalization risk bounds.
- Show that removing domain-specific features reduces domain divergence and improves target-domain performance.
Proposed method
- Train N domain-specific classifiers, each focused on discriminating within one source domain while being unable to discriminate across other source domains.
- Freeze the domain-specific classifiers and train an encoder–decoder M to map inputs to a space where domain-specific features are minimized, guided by an uncertainty-based loss.
- Use a domain-invariant classifier F on the encoded outputs to learn features that generalize across domains.
- Optimize a combination of losses: L1 = classification plus uncertainty for domain-specific classifiers; L2 = classification plus uncertainty plus reconstruction for the domain-invariant model.
- Provide theoretical interpretation via a generalization risk bound showing reduced domain divergence (epsilon) and target-domain gap (gamma) when domain-specific features are removed.
Experimental results
Research questions
- RQ1Can explicitly removing domain-specific features improve generalization to unseen domains?
- RQ2Do domain-specific classifiers plus an encoder–decoder effectively suppress domain-specific cues while preserving domain-invariant information?
- RQ3Does the learned domain-invariant model achieve better performance on unseen domains compared to state-of-the-art methods?
Key findings
- LRDG achieves superior or competitive performance across three domain generalization benchmarks with multiple backbones.
- Removing domain-specific features reduces pairwise domain divergence as measured by proxy A-distance on mapped data.
- The mapped target-domain divergence to the closest mixture source domain decreases after applying LRDG, indicating improved alignment.
- Experiments show LR DG outperforms or matches state-of-the-art methods on PACS, VLCS, and Office-Home datasets across various backbones.
- Theoretical analysis relates LRDG to a domain generalization risk bound, arguing that removing domain-specific features lowers the bound components gamma and epsilon.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.