JOURNAL ARTICLE

Enhancing Cross-Domain Detection: Adaptive Class-Aware Contrastive Transformer

Abstract

Recently, the detection transformer has gained substantial attention for its inherent minimal post-processing requirement. However, this paradigm relies on abundant training data, yet in the context of the cross-domain adaptation, insufficient labels in the target domain exacerbate issues of class imbalance and model performance degradation. To address these challenges, we propose a novel class-aware cross domain detection transformer based on the adversarial learning and mean-teacher framework. First, considering the inconsistencies between the classification and regression tasks, we introduce an IoU-aware prediction branch and exploit the consistency of classification and location scores to filter and reweight pseudo labels. Second, we devise a dynamic category threshold refinement to adaptively manage model confidence. Third, to alleviate the class imbalance, an instance-level class-aware contrastive learning module is presented to encourage the generation of discriminative features for each class, particularly benefiting minority classes. Experimental results across diverse domain-adaptive scenarios validate our method's effectiveness in improving performance and alleviating class imbalance issues, which outperforms the state-of-the-art transformer based methods.

Keywords:
Computer science Transformer Domain adaptation Artificial intelligence Engineering Voltage Electrical engineering

Metrics

2
Cited By
1.27
FWCI (Field Weighted Citation Impact)
33
Refs
0.69
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Fault Detection and Control Systems
Physical Sciences →  Engineering →  Control and Systems Engineering

Related Documents

JOURNAL ARTICLE

Cross-Domain Graph Anomaly Detection via Anomaly-Aware Contrastive Alignment

Qizhou WangGuansong PangMahsa SalehiWray BuntineChristopher Leckie

Journal:   Proceedings of the AAAI Conference on Artificial Intelligence Year: 2023 Vol: 37 (4)Pages: 4676-4684
JOURNAL ARTICLE

Adaptive Cross Transformer With Contrastive Learning for Surface Defect Detection

Xiaohua HuangYang LiYongqiang BaoWenming Zheng

Journal:   IEEE Transactions on Instrumentation and Measurement Year: 2024 Vol: 73 Pages: 1-17
JOURNAL ARTICLE

Contrastive Class-aware Adaptation for Domain Generalization

Tianle ChenMahsa BaktashmotlaghMathieu Salzmann

Journal:   2022 26th International Conference on Pattern Recognition (ICPR) Year: 2022 Vol: 24 Pages: 4871-4876
BOOK-CHAPTER

Conditional Context-Aware Feature Alignment for Domain Adaptive Detection Transformer

Siyuan Chen

Lecture notes in computer science Year: 2022 Pages: 272-283
JOURNAL ARTICLE

Cross-Domain Detection Transformer Based on Spatial-Aware and Semantic-Aware Token Alignment

Jinhong DengXiaoyue ZhangWen LiLixin DuanDong Xu

Journal:   IEEE Transactions on Multimedia Year: 2023 Vol: 26 Pages: 5234-5245
© 2026 ScienceGate Book Chapters — All rights reserved.