Attention mechanisms have been very popular in deep neural networks, where the Transformer architecture has achieved great success in not only natural language processing but also visual recognition applications. Recently, a new Transformer module, applying on batch dimension rather than spatial/channel dimension, i.e., BatchFormer [18], has been introduced to explore sample relationships for overcoming data scarcity challenges. However, it only works with image-level representations for classification. In this paper, we devise a more general batch Transformer module, BatchFormerV2, which further enables exploring sample relationships for dense representation learning. Specifically, when applying the proposed module, it employs a two-stream pipeline during training, i.e., either with or without a BatchFormerV2 module, where the batchformer stream can be removed for testing. Therefore, the proposed method is a plug-and-play module and can be easily integrated into different vision Transformers without any extra inference cost. Without bells and whistles, we show the effectiveness of the proposed method for a variety of popular visual recognition tasks, including image classification and two important dense prediction tasks: object detection and panoptic segmentation. Particularly, BatchFormerV2 consistently improves current DETR-based detection methods (e.g., DETR, Deformable-DETR, Conditional DETR, and SMCA) by over 1.3%. Code will be made publicly available.
Exploring Structural Degradation in Dense Representations for Self-supervised Learning
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);State Key Laboratory of AI Safety, Institute of Computing Technology, CAS(中国科学院计算技术研究所人工智能安全国家重点实验室);Peng Cheng Laboratory(鹏城实验室);School of Computer Science and Tech., University of Chinese Academy of Sciences(中国科学院大学计算机科学与技术学院)
Exploring Sparse Visual Prompt for Domain Adaptive Dense Prediction
Peking University(北京大学);Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳));University of Science and Technology of China(中国科学技术大学);Beihang University(北京航空航天大学)
Exploring CLIP's Dense Knowledge for Weakly Supervised Semantic Segmentation
Academy for Engineering and Technology, Fudan University(复旦大学工程技术研究院);Digital Medical Research Center, School of Basic Medical Sciences, Fudan University(复旦大学基础医学院数字医学中心);Shandong Computer Science Center (National Supercomputer Center in Jinan)(山东省计算机科学中心(国家济南超级计算中心))
Exploring Temporal Event Cues for Dense Video Captioning in Cyclic Co-learning
School of Computing and Artificial Intelligence, Southwest Jiaotong University(西南交通大学计算机与人工智能学院);Engineering Research Center of Sustainable Urban Intelligent Transportation, Ministry of Education, China(中国教育部可持续城市智能交通工程研究中心)
Exploring Contextual Relationships for Cervical Abnormal Cell Detection
Central South University(中南大学);The Second Xiangya Hospital, Central South University(中南大学湘雅二医院);The Fourth Hospital of Hebei Medical University(河北医科大学第四医院)
Adapting Dense Vision-Language Relationships for Multi-label Classification with Partial Label
State Key Laboratory of Virtual Reality Technology and Systems(虚拟现实技术与系统国家重点实验室);School of Computer Science and Engineering(计算机科学与工程学院);Beihang University(北京航空航天大学)
Exploring Learning Models for Topological Relationship Recognition from Image Data
Indian Institute of Science Education and Research, Thiruvanantapuram(印度科学教育与研究学院蒂鲁文南特普拉姆校区);Indian Institute of Science Education and Research, Kolkata(印度科学教育与研究学院加尔各答校区)
Exploring Long Tail Visual Relationship Recognition with Large Vocabulary
King Abdullah University of Science and Technology (KAUST)(阿卜杜拉国王科技大学);IIT Roorkee(印度理工学院鲁尔基分校);Stanford University(斯坦福大学);Baidu(百度);NTU Singapore(新加坡南洋理工大学)