[Paper Review] Universal Domain Adaptation via Compressive Attention Matching
This paper proposes Universal Attention Matching (UniAM), a novel framework for universal domain adaptation that leverages vision transformer self-attention to capture object-centric features and mitigate attention mismatch. By introducing Compressive Attention Matching (CAM) with sparse reconstruction and residual-based measurement, UniAM achieves superior domain-wise and category-wise feature alignment, outperforming state-of-the-art methods on benchmark datasets with improved accuracy on both common and unknown classes.
Universal domain adaptation (UniDA) aims to transfer knowledge from the source domain to the target domain without any prior knowledge about the label set. The challenge lies in how to determine whether the target samples belong to common categories. The mainstream methods make judgments based on the sample features, which overemphasizes global information while ignoring the most crucial local objects in the image, resulting in limited accuracy. To address this issue, we propose a Universal Attention Matching (UniAM) framework by exploiting the self-attention mechanism in vision transformer to capture the crucial object information. The proposed framework introduces a novel Compressive Attention Matching (CAM) approach to explore the core information by compressively representing attentions. Furthermore, CAM incorporates a residual-based measurement to determine the sample commonness. By utilizing the measurement, UniAM achieves domain-wise and category-wise Common Feature Alignment (CFA) and Target Class Separation (TCS). Notably, UniAM is the first method utilizing the attention in vision transformer directly to perform classification tasks. Extensive experiments show that UniAM outperforms the current state-of-the-art methods on various benchmark datasets.
Motivation & Objective
- Address the challenge of universal domain adaptation (UniDA) where label space relationships between source and target domains are unknown.
- Overcome the limitations of existing methods that rely heavily on global features and ignore local object-level information.
- Leverage the shape bias of vision transformers (ViT) to improve recognition robustness by focusing on object parts via self-attention.
- Develop a method that directly uses attention for classification in UniDA, a novel approach not previously explored.
- Achieve effective common feature alignment and target class separation under domain shift and label shift.
Proposed method
- Propose a Compressive Attention Matching (CAM) module that sparsely reconstructs target attention maps using source attention prototypes to reduce attention mismatch.
- Introduce a residual-based transferability criterion to explicitly distinguish common from private samples by measuring attention and feature discrepancies.
- Integrate CAM with a domain-wise and category-wise Common Feature Alignment (CFA) loss using adversarial training and source contrastive loss.
- Apply a target contrastive loss to enhance compactness and separability of target-class features, improving target class separation (TCS).
- Use weighted fusion of attention-based and feature-based confidence scores ($w_{ ext{attn}}$ and $w_{ ext{text}}$) to produce a robust decision score $w_t$ for classifying samples as common or unknown.
- Train the model end-to-end with joint optimization of source and target losses, enabling joint alignment and separation.
Experimental results
Research questions
- RQ1Can self-attention in vision transformers be effectively leveraged to improve object-level representation learning in universal domain adaptation?
- RQ2How can attention mismatch—caused by domain shift in object size, position, and orientation—be mitigated during cross-domain classification?
- RQ3Can a compressive attention matching mechanism improve the detection of common classes while distinguishing private and unknown classes?
- RQ4Does combining attention-based and feature-based confidence scores lead to more robust and accurate classification in UniDA?
- RQ5Can a method that directly uses attention for classification outperform feature-only baselines in universal domain adaptation?
Key findings
- UniAM achieves state-of-the-art performance on four benchmark datasets, outperforming existing SOTA methods in both common set accuracy and 'unknown' class accuracy.
- The ablation study shows that removing attention guidance ($\text{w/o }w_{\text{attn}}$) leads to a 1.65% average performance drop, proving the effectiveness of attention in feature refinement.
- Qualitative analysis confirms that the weighted fusion of attention and feature confidence scores ($w_t$) reduces boundary confusion and outliers compared to using either modality alone.
- t-SNE visualization demonstrates that UniAM learns more compact and well-separated target features, especially after attention-guided refinement.
- The method shows high robustness to hyperparameter variations in decision thresholds $\alpha$ and $\beta$, with minimal performance variance across [0.7, 1.0] and [0.8, 1.1] ranges respectively.
- Attention visualization reveals that ViT's self-attention mechanism focuses on object parts and exhibits strong shape bias, which is critical for distinguishing objects under domain shift.
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.