Summary
The paper addresses Unsupervised Domain Adaptation (UDA) in the context of Vision Transformers. Specifically, while several prior works on UDA have leveraged CNNs for adaptation, this work attempts to utilize Vision Transformers (ViTs), especially the Swin transformer architecture for UDA. The authors propose TransAdapter - a transformer-based approach to UDA that draws heavily from the Swin transformer. TransAdapter comprises three components - (i) a domain adversarial Graph Domain Discriminator (GDD) (ii) Adaptive Double Attention that simultaneously processes window and shifted window attentions (iii) Cross-Feature Transform (CFT) to transfer the source to target features. Experiments on the standard UDA benchmarks demonstrate the improvements that TransAdapter achieves over prior works.
Weaknesses
### (a) Presentation and discussions
- **Unclear motivation -** The fundamental motivation behind proposing improvements to the Swin transformer architecture is not concrete. The authors present the argument of using transformers rather than CNNs for UDA based on the improvements that transformers achieve on several vision tasks. However, they do not discuss the limitations of the Swin transformer and how their method improves on the same.
- **Justification of design choices -** While the authors have chosen the Swin transformer architecture as the base and provided an intuitive justification of the same, there is no discussion on the design choices behind various aspects of the method. For example, why does the Graph Domain Discriminator (GDD) use graph convolutions rather than regular convolutions? Why use a domain discriminator to align the source and target representations? Why specifically use the third transformer block’s attention output for the GDD? The authors should discuss all these aspects in detail for a good understanding of TransAdapter.
- **Discussions on each component of TransAdapter -** Even though the authors have provided high-level intuitions behind each component of TransAdapter, this does not convey a clear understanding of the same.
- For example, in L254-256, the authors mention that integrating the window and shifted window attention mechanism along with reweighting enables the model to capture “multiple aspects of the feature representations”. What aspects does the model capture? How do they help with the UDA task? How are they an improvement over the representations captured by the original Swin transformer architecture?
- In L223-225, the authors claim that processing the window and shifted window attentions in parallel enables the model to capture long-range dependencies and enhances spatial relationship understanding. There is, however, no discussion on how the Adaptive Double Attention Module achieves any of these aspects. How exactly does the modified attention module capture global dependencies better than a vanilla ViT and a Swin transformer? Moreover, what is long-range dependence in the context of a vision transformer?
- Overall, the authors should provide detailed discussions on each aspect of the proposed method, and how they improve over the corresponding components in the Swin transformer. The lack of these discussions makes it quite challenging to understand the motivation behind the work.
- **Use of terminologies -** The authors make use of several terminologies without providing a concrete definition or intuition behind the same. For example, the authors specify “global and local adaptation” without explaining these terms. Do they refer to the alignment of global and local features across the source and target domains? What do global and local features refer to in the context of UDA and the Swin transformer? The authors should clearly specify what these terms mean and how they relate to the context of UDA.
### (b) Experiments and results
- **Missing comparisons-** While the authors have compared with several prior works that utilize the ViT backbone, the comparisons are not extensive and complete. Ideally, the authors should extend the ResNet-based methods to Swin or ViT for a fair comparison. The goal is to ensure a fair comparison by comparing the proposed method with prior works using the same / similar architecture. The list of comparisons missing is given below:
- SHOT and [R2, R3, R5] with ViT
- SHOT and [R2, R3, R5] with Swin transformer
- [R1] with DeiT
- SSRT [R4] with ViT, DeiT and Swin transformer
- **Missing results-** The authors have not presented results on DomainNet, which is the most important and challenging UDA benchmark. They should present results on DomainNet, either in the single source or multi-source / multi-target setting (in case of time and compute constraints) to demonstrate the effectiveness of the approach. Additionally, how does the proposed method perform in a multi-source or multi-target setting?
- **t-SNE visualidations-** There is no discernible difference among the four plots in Fig. 5. Moreover, there are no details provided on the setup for the visualisation experiment. Which layers’ features were considered for visualisation? What is the expected pattern in the plots? What is observed in the plots and what does that indicate about the proposed method? The authors should answer all these questions for a clear analysis of the proposed method with respect to the visualisation.
### (c) Missing references
- R1 - Sanyal, Sunandini, et al. "Domain-specificity inducing transformers for source-free domain adaptation."ICCV 2023.
- R2 - Hoyer, Lukas, et al. "MIC: Masked image consistency for context-enhanced domain adaptation." CVPR 2023
- R3 - Yang, Shiqi, Shangling Jui, and Joost van de Weijer. "Attracting and dispersing: A simple approach for source-free domain adaptation." NeurIPS 2022.
- R4 - Sun, Tao, et al. "Safe self-refinement for transformer-based domain adaptation." CVPR 2022.
- R5 - Zhang, Yixin, Zilei Wang, and Weinan He. "Class relationship embedded learning for source-free unsupervised domain adaptation." CVPR 2023.
Questions
In addition to all the questions mentioned in the weaknesses section, the reviewer has a few follow-up questions.
- What is the motivation behind TransAdapter? Is it intended to be an improvement over the Swin transformer specifically tailored to UDA? If so, what limitations of Swin does TransAdapter overcome?
- What is the purpose of using graph convolutions instead of regular convolutions in the domain discriminator? What is the motivation behind the same?
- What is the exact benefit of simultaneously processing the window and shifted window attentions rather than sequentially in the original Swin transformer? Can the authors demonstrate this through a simple motivating experiment or visualisation?
- How does TransAdapter compare to the original Swin transformer in terms of parameter count, training and inference time?
- Can the proposed method be extended to the multi-source and multi-target settings? How would the proposed method perform in these settings?