Abstract: Multi-Source Domain Adaptation (MSDA) often struggles because aligning raw feature distributions across vastly different visual domains (e.g., photos vs. sketches) is too rigid and often counter-productive. This paper introduces DAC-Net, which shifts the focus from aligning features to aligning attention weights on transferable attributes. By enforcing domain attention consistency and using a novel class compactness loss, DAC-Net achieves state-of-the-art results on major MSDA benchmarks by significant margins.
Introduction: The Challenge of Domain Shift
Machine learning models notoriously fail when deployed in environments where the test data looks different from the training data—a phenomenon known as domain shift. Unsupervised Domain Adaptation (UDA) attempts to solve this by transferring knowledge from a labeled source domain to an unlabeled target domain.
In real-world scenarios, training data often comes from multiple distinct sources, leading to Multi-Source Domain Adaptation (MSDA). Most existing MSDA methods try to solve this by forcing the network to align the raw feature distributions of the target domain with all the source domains. However, if sources include real photos, oil paintings, and line sketches, forcing their raw features to perfectly align is incredibly difficult and can harm the model's ability to classify objects correctly.
Proposed Method: DAC-Net
Instead of aligning features, the authors propose Transferable Attribute Learning via the Domain Attention Consistency Network (DAC-Net). The core idea is that while a photo of a bicycle and a sketch of a bicycle look different, they share the same underlying semantic attributes (wheels, frame, handlebars).
Core Components
- Channel Attention Module: A lightweight channel attention module (inspired by CBAM) is integrated into the CNN. Because different CNN channels often correspond to different learned attributes, this module learns to weigh which attributes are most important for a given image.
- Domain Attention Consistency (DAC) Loss: This is the paper's primary novelty. Instead of matching feature distributions, the network minimizes the $L_1$ distance between the distribution of channel attention weights across domains. They use an Exponential Moving Average (EMA) of these weights to keep training stable. This is a much "softer" constraint than feature alignment.
- Pseudo-Labeling: To learn from the unlabeled target data, the model generates pseudo-labels for target images using weak and strong augmentation techniques.
- Class Compactness Loss: To ensure the learned features are highly discriminative, this novel loss pulls the target features closer to the classifier's weight vectors, treating the weight vectors as stable "class prototypes."
Experimental Results
The authors evaluated DAC-Net on three standard MSDA benchmarks: DomainNet (~0.6 million images, 6 domains), Digit-Five (5 digit recognition datasets), and PACS (4 domains).
Performance on DomainNet
DomainNet is the largest and most challenging dataset. DAC-Net achieved a new state-of-the-art average accuracy of 51.2%, beating the previous state-of-the-art (LtC-MSDA) by a massive 3.8%.
Key Insights
- Attention Alignment > Feature Alignment: Explicitly aligning feature distributions actually harms performance compared to aligning attention. Visualizations show that DAC-Net separates classes much better than feature-alignment methods, proving that a softer constraint on which attributes to look at is superior.
- Classifier Weights as Prototypes: Using the final fully-connected layer's weight vectors as anchors works much better than learning separate class centers. The classifier weights are dominated by clean, labeled source data, making them robust against noisy pseudo-labels.
- Abstract Attribute Transfer: The method saw its most massive improvements on the "Quickdraw" and "Sketch" domains. This proves the network successfully learned to isolate abstract, structural attributes rather than relying on superficial textures or colors.
Conclusion
DAC-Net demonstrates that aligning attention distributions is a more effective strategy for MSDA than traditional feature alignment. While the model struggles slightly with the "Infograph" domain due to irrelevant background content and text, it sets a new performance standard across diverse visual domains. Future work may involve confidence regularization to improve pseudo-label quality in noisy target environments.
Summary updated