Abstract
Domain generalization (DG) remains a critical challenge in deep learning, where models often fail when encountering data from distributions different from their training sets. We present ADRMX (Additive Disentanglement of Domain Features with Remix Loss), a novel architecture that explicitly separates domain-specific styles from label-relevant features using a simple additive strategy in the latent space. By "remixing" these features during training, ADRMX encourages the model to learn more robust, invariant representations. Our approach achieves state-of-the-art performance on the DomainBed benchmark, particularly on the large-scale DomainNet dataset.
Introduction
Deep learning models frequently suffer from domain shift, where the statistical distribution of training data (source domains) differs from test data (target domains). For instance, a classifier trained on natural photographs of animals may struggle to identify the same animals in sketches or oil paintings. This brittleness prevents the reliable deployment of AI in real-world environments where conditions are unpredictable.
Traditional DG methods focus on finding domain-invariant features—the "essence" of an object that remains constant across environments. However, the authors of ADRMX argue that domain-specific characteristics (e.g., brushstrokes in an oil painting vs. lines in a cartoon) are not merely noise but can serve as an additional guide for contextual understanding. The challenge lies in leveraging these features without allowing the model to become over-reliant on them.
Methodology
ADRMX introduces a framework for additive disentanglement and latent-space augmentation to address the limitations of existing DG approaches.
Additive Disentanglement
Unlike complex mathematical transforms, ADRMX employs two parallel encoders. The Label Encoder extracts features $x_{label}$ representing the object's identity, while the Domain Encoder extracts domain-specific features $x_{domain}$ representing the style or environment. The domain-invariant feature $x_{dinv}$ is derived through simple element-wise subtraction: $x_{dinv} = x_{label} - x_{domain}$. This "subtraction as pruning" approach simplifies the latent space and improves interpretability by treating domain noise as a removable component.
Adversarial Learning and Remix Strategy
To ensure $x_{dinv}$ is truly domain-blind, an adversarial discriminator is used to scrub domain information. A novel Remix Strategy is then applied: the model takes the domain-invariant features of one image and adds the domain-specific features of another image from the same class but a different domain. For example, the "essence" of a dog from a photograph is combined with the "style" of a sketched dog.
The Remix Loss ($\mathcal{L}_{remix}$) forces the model to correctly classify these "remixed" latent samples. This regularizes the network, teaching it to remain robust even when object features and domain styles are swapped. This latent-space augmentation is significantly more efficient than image-level generation, as it operates in a lower-dimensional space rather than pixel space.
Experimental Results
ADRMX was evaluated on the DomainBed benchmark across seven diverse datasets: ColoredMNIST, RotatedMNIST, PACS, VLCS, OfficeHome, TerraIncognita, and DomainNet.
The model achieved a new state-of-the-art average accuracy of 67.6%. Notably, on DomainNet—the largest and most challenging benchmark with 345 classes—ADRMX reached 43.1% accuracy, outperforming the previous leader, CORAL (41.5%). Ablation studies confirmed that the Remix Loss is a critical component, contributing a 0.7% performance boost on DomainNet, proving that latent-space mixing is essential for the model's success.
Conclusion
ADRMX demonstrates that treating domain style as a signal rather than noise, and explicitly disentangling it through additive operations, leads to superior generalization. While the dual-backbone architecture increases computational overhead and adversarial training requires careful tuning to prevent instability, the performance gains on large-scale benchmarks like DomainNet highlight the potential of latent-space remixing for robust AI. Future work may explore more sophisticated blending methods beyond simple addition and subtraction.
Summary updated