Contextual Transformer Networks for Visual Recognition
Not on the map. Why?
Abstract (arXiv)
Transformer with self-attention has led to the revolutionizing of natural language processing field, and recently inspires the emergence of Transformer-style architecture design with competitive results in numerous computer vision tasks. Nevertheless, most of existing designs directly employ self-attention over a 2D feature map to obtain the attention matrix based on pairs of isolated queries and keys at each spatial location, but leave the rich contexts among neighbor keys under-exploited. In this work, we design a novel Transformer-style module, i.e., Contextual Transformer (CoT) block, for visual recognition. Such design fully capitalizes on the contextual information among input keys to guide the learning of dynamic attention matrix and thus strengthens the capacity of visual representation. Technically, CoT block first contextually encodes input keys via a 3×3 convolution, leading to a static contextual representation of inputs. We further concatenate the encoded keys with input queries to learn the dynamic multi-head attention matrix through two consecutive 1×1 convolutions. The learnt attention matrix is multiplied by input values to achieve the dynamic contextual representation of inputs. The fusion of the static and dynamic contextual representations are finally taken as outputs. Our CoT block is appealing in the view that it can readily replace each 3×3 convolution in ResNet architectures, yielding a Transformer-style backbone named as Contextual Transformer Networks (CoTNet). Through extensive experiments over a wide range of applications (e.g., image recognition, object detection and instance segmentation), we validate the superiority of CoTNet as a stronger backbone. Source code is available at urlhttps://github.com/JDAI-CV/CoTNet.
Key facts. Cited by 90 papers in the map (data through 14 Oct 2026). Builds on 55 of its 66 references that are in the map. First posted on arXiv 26 Jul 2021.
Builds on
55 of 66 references.
References · 55
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,639
- 2020End-to-End Object Detection with Transformerscited by 7,414
- 2017Mask R-CNNcited by 7,277
- 2016Densely Connected Convolutional Networkscited by 6,720
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,442
38 more
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
- 2016Feature Pyramid Networks for Object Detectioncited by 5,036
- 2017Squeeze-and-Excitation Networkscited by 4,789
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2014Going Deeper with Convolutionscited by 4,241
- 2018Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentationcited by 3,223
- 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,546
- 2016Pyramid Scene Parsing Networkcited by 2,479
- 2016Xception: Deep Learning with Depthwise Separable Convolutionscited by 2,332
- 2017Non-local Neural Networkscited by 2,293
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,269
- 2017Deformable Convolutional Networkscited by 1,488
- 2015Spatial Transformer Networkscited by 1,429
- 2019Deep High-Resolution Representation Learning for Visual Recognitioncited by 1,420
- 2017Cascade R-CNN: Delving into High Quality Object Detectioncited by 1,276
- 2018Unified Perceptual Parsing for Scene Understandingcited by 1,271
- 2016Semantic Understanding of Scenes through the ADE20K Datasetcited by 1,069
- 2021Going deeper with Image Transformerscited by 764
- 2021Transformer in Transformercited by 633
- 2021Twins: Revisiting the Design of Spatial Attention in Vision Transformerscited by 565
- 2019Stand-Alone Self-Attention in Vision Modelscited by 542
- 2021ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biasescited by 484
- 2019Res2Net: A New Multi-scale Backbone Architecturecited by 470
- 2020ResNeSt: Split-Attention Networkscited by 445
- 2018Bag of Tricks for Image Classification with Convolutional Neural Networkscited by 431
- 2019Selective Kernel Networkscited by 403
- 2021Bottleneck Transformers for Visual Recognitioncited by 364
- 2019Attention Augmented Convolutional Networkscited by 363
- 2021XCiT: Cross-Covariance Image Transformerscited by 338
- 2019GCNet: Non-local Networks Meet Squeeze-Excitation Networks and Beyondcited by 331
- 2020Exploring Self-attention for Image Recognitioncited by 313
- 2018Context Encoding for Semantic Segmentationcited by 290
- 2021Co-Scale Conv-Attentional Image Transformerscited by 224
- 2019Local Relation Networks for Image Recognitioncited by 210
- 2020X-Linear Attention Networks for Image Captioningcited by 198
- 2021Revisiting ResNets: Improved Training and Scaling Strategiescited by 158
- 2020Disentangled Non-Local Neural Networkscited by 132
50 most cited of 55 All 55 (JSON)
Built on by
Citing papers per year: 2021: 7; 2022: 29; 2023: 25; 2024: 17; 2025: 10; 2026: 2.
90 papers.
Sort:
By area:
- 2022Wave-ViT: Unifying Wavelet and Transformers for Visual Representation Learningcited by 78
- 2023RMT: Retentive Networks Meet Vision Transformerscited by 68
- 2022CLIP-TSA: CLIP-Assisted Temporal Self-Attention for Weakly-Supervised Video Anomaly Detectioncited by 67
- 2022DearKD: Data-Efficient Early Knowledge Distillation for Vision Transformerscited by 65
- 2024VideoStudio: Generating Consistent-Content and Multi-Scene Videoscited by 64
- 2024SD-DiT: Unleashing the Power of Self-supervised Discrimination in Diffusion Transformercited by 49
- 2023SpectFormer: Frequency and Attention is what you need in a Vision Transformercited by 48
- 2022Exploring Structure-aware Transformer over Interaction Proposals for Human-Object Interaction Detectioncited by 47
- 2022Behind Every Domain There is a Shift: Adapting Distortion-aware Vision Transformers for Panoramic Semantic Segmentationcited by 46
- 2023Control3D: Towards Controllable Text-to-3D Generationcited by 46
- 2023ControlStyle: Text-Driven Stylized Image Generation Using Diffusion Priorscited by 40
- 2022Hierarchical Local-Global Transformer for Temporal Sentence Groundingcited by 38
38 more
- 2023DilateFormer: Multi-Scale Dilated Transformer for Visual Recognitioncited by 34
- 2023LipsFormer: Introducing Lipschitz Continuity to Vision Transformerscited by 34
- 2022Transforming medical imaging with Transformers? A comparative review of key properties, current progresses, and future perspectivescited by 33
- 2022Comprehending and Ordering Semantics for Image Captioningcited by 33
- 2021A Style and Semantic Memory Mechanism for Domain Generalizationcited by 32
- 2022Transformers in 3D Point Clouds: A Surveycited by 31
- 2024TRIP: Temporal Residual Learning with Image Noise Prior for Image-to-Video Diffusion Modelscited by 31
- 2024Breaking the Low-Rank Dilemma of Linear Attentioncited by 31
- 2021Perceiving and Modeling Density is All You Need for Image Dehazingcited by 30
- 2022Dual Vision Transformercited by 29
- 2023DiffCR: A Fast Conditional Diffusion Framework for Cloud Removal from Optical Satellite Imagescited by 27
- 2021Semi-Supervised Vision Transformerscited by 24
- 2024Parameter-Efficient Fine-Tuning for Pre-Trained Vision Models: A Survey and Benchmarkcited by 23
- 2022Jigsaw-ViT: Learning Jigsaw Puzzles in Vision Transformercited by 21
- 2022Stand-Alone Inter-Frame Attention in Video Modelscited by 19
- 2022Deep Convolutional Pooling Transformer for Deepfake Detectioncited by 19
- 2022TransKD: Transformer Knowledge Distillation for Efficient Semantic Segmentationcited by 17
- 2023Scattering Vision Transformer: Spectral Mixing Matterscited by 17
- 20233DStyle-Diffusion: Pursuing Fine-grained Text-driven 3D Stylization with 2D Diffusion Modelscited by 17
- 2023Improving Scene Text Image Super-resolution via Dual Prior Modulation Networkcited by 15
- 2025LSNet: See Large, Focus Smallcited by 15
- 2021Transferrable Contrastive Learning for Visual Domain Adaptationcited by 14
- 2021CTIN: Robust Contextual Transformer Network for Inertial Navigationcited by 12
- 2022EmbryosFormer: Deformable Transformer and Collaborative Encoding-Decoding for Embryos Stage Development Classificationcited by 12
- 2024SmartFRZ: An Efficient Training Framework using Attention-Based Layer Freezingcited by 12
- 2024HIRI-ViT: Scaling Vision Transformer with High Resolution Inputscited by 12
- 2024Improving Text-guided Object Inpainting with Semantic Pre-inpaintingcited by 12
- 2024A Review of Transformer-Based Models for Computer Vision Tasks: Capturing Global Context and Spatial Relationshipscited by 11
- 2021OH-Former: Omni-Relational High-Order Transformer for Person Re-Identificationcited by 10
- 2022Two-stage Contextual Transformer-based Convolutional Neural Network for Airway Extraction from CT Imagescited by 10
- 2022MLP-3D: A MLP-like 3D Architecture with Grouped Time Mixingcited by 9
- 2023Multi-site, Multi-domain Airway Tree Modeling (ATM'22): A Public Benchmark for Pulmonary Airway Segmentationcited by 9
- 2023The 2023 Video Similarity Dataset and Challengecited by 9
- 2022Vision Transformers in Medical Imaging: A Reviewcited by 8
- 2021A Low Rank Promoting Prior for Unsupervised Contrastive Learningcited by 7
- 20223D Cascade RCNN: High Quality Object Detection in Point Cloudscited by 7
- 2022Dynamic Temporal Filtering in Video Modelscited by 7
- 2023A Convolutional Vision Transformer for Semantic Segmentation of Side-Scan Sonar Datacited by 7
50 most cited of 90 All 90 (JSON)
- 2026Multi-view feature High-order Fusion for Space Weak Object Detection and Segmentation13 Jun 2026
- 2026Advancing Vision Transformer with Enhanced Spatial Priors20 Apr 2026
- 2025Automated Pest Counting in Water Traps through Active Robotic Stirring for Occlusion Handling30 Sep 2025
- 2025On Deepfake Voice Detection -- It's All in the Presentation30 Sep 2025
- 2025User-Intent-Driven Semantic Communication via Adaptive Deep Understanding7 Aug 2025
- 2025Revisiting Continual Semantic Segmentation with Pre-trained Vision Models6 Aug 2025
- 2025Self-supervised Deep Learning for Denoising in Ultrasound Microvascular Imaging7 Jul 2025
- 2025A Decade of You Only Look Once (YOLO) for Object Detection: A Review24 Apr 2025
- 2025LSNet: See Large, Focus Small29 Mar 2025
- 2025OccRobNet : Occlusion Robust Network for Accurate 3D Interacting Hand-Object Pose Estimation27 Mar 2025
- 2025Quantum Complex-Valued Self-Attention Model24 Mar 2025
- 2025CSHNet: A Novel Information Asymmetric Image Translation Method17 Jan 2025
38 more
- 2024Interactive Image-Based Aphid Counting in Yellow Water Traps under Stirring Actions15 Nov 2024
- 2024Breaking the Low-Rank Dilemma of Linear Attention12 Nov 2024
- 2024Deep Learning for 3D Point Cloud Enhancement: A Survey30 Oct 2024
- 2024Improving Text-guided Object Inpainting with Semantic Pre-inpainting12 Sep 2024
- 2024A Review of Transformer-Based Models for Computer Vision Tasks: Capturing Global Context and Spatial Relationships27 Aug 2024
- 2024Brain Tumor Segmentation in MRI Images with 3D U-Net and Contextual Transformer11 Jul 2024
- 2024MVAD: A Multiple Visual Artifact Detector for Video Streaming31 May 2024
- 2024Heracles: A Hybrid SSM-Transformer Model for High-Resolution Image and Time-Series Analysis26 Mar 2024
- 2024TRIP: Temporal Residual Learning with Image Noise Prior for Image-to-Video Diffusion Models25 Mar 2024
- 2024SD-DiT: Unleashing the Power of Self-supervised Discrimination in Diffusion Transformer25 Mar 2024
- 2024HIRI-ViT: Scaling Vision Transformer with High Resolution Inputs18 Mar 2024
- 2024Approximate Nullspace Augmented Finetuning for Robust Vision Transformers15 Mar 2024
- 2024Parameter-Efficient Fine-Tuning for Pre-Trained Vision Models: A Survey and Benchmark3 Feb 2024
- 2024SmartFRZ: An Efficient Training Framework using Attention-Based Layer Freezing30 Jan 2024
- 2024SERNet-Former: Semantic Segmentation by Efficient Residual Network with Attention-Boosting Gates and Attention-Fusion Networks28 Jan 2024
- 2024BD-MSA: Body decouple VHR Remote Sensing Image Change Detection method guided by multi-scale feature information aggregation9 Jan 2024
- 2024VideoStudio: Generating Consistent-Content and Multi-Scene Videos2 Jan 2024
- 2023SigFormer: Sparse Signal-Guided Transformer for Multi-Modal Human Action Segmentation29 Nov 2023
- 2023Progressive Feedback-Enhanced Transformer for Image Forgery Localization15 Nov 2023
- 20233DStyle-Diffusion: Pursuing Fine-grained Text-driven 3D Stylization with 2D Diffusion Models9 Nov 2023
- 2023ControlStyle: Text-Driven Stylized Image Generation Using Diffusion Priors9 Nov 2023
- 2023Control3D: Towards Controllable Text-to-3D Generation9 Nov 2023
- 2023Scattering Vision Transformer: Spectral Mixing Matters2 Nov 2023
- 2023RMT: Retentive Networks Meet Vision Transformers20 Sep 2023
- 2023CCSPNet-Joint: Efficient Joint Training Method for Traffic Sign Detection Under Extreme Conditions13 Sep 2023
- 2023DiffCR: A Fast Conditional Diffusion Framework for Cloud Removal from Optical Satellite Images8 Aug 2023
- 2023Learning to Generate Training Datasets for Robust Semantic Segmentation1 Aug 2023
- 2023DualAttNet: Synergistic Fusion of Image-level and Fine-Grained Disease Attention for Multi-Label Lesion Detection in Chest X-rays23 Jun 2023
- 2023The 2023 Video Similarity Dataset and Challenge15 Jun 2023
- 2023Progressive Sub-Graph Clustering Algorithm for Semi-Supervised Domain Adaptation Speaker Verification22 May 2023
- 2023Remembering What Is Important: A Factorised Multi-Head Retrieval and Auxiliary Memory Stabilisation Scheme for Human Motion Prediction19 May 2023
- 2023Fusion-S2iGan: An Efficient and Effective Single-Stage Framework for Speech-to-Image Generation17 May 2023
- 2023CBAGAN-RRT: Convolutional Block Attention Generative Adversarial Network for Sampling-Based Path Planning13 May 2023
- 2023Faster OreFSDet : A Lightweight and Effective Few-shot Object Detector for Ore Images2 May 2023
- 2023Feature-compatible Progressive Learning for Video Copy Detection20 Apr 2023
- 2023LipsFormer: Introducing Lipschitz Continuity to Vision Transformers19 Apr 2023
- 2023SpectFormer: Frequency and Attention is what you need in a Vision Transformer13 Apr 2023
- 2023Multi-site, Multi-domain Airway Tree Modeling (ATM'22): A Public Benchmark for Pulmonary Airway Segmentation10 Mar 2023
50 newest of 90 All 90 (JSON)
- 2024VideoStudio: Generating Consistent-Content and Multi-Scene Videoscited by 64
- 2024SD-DiT: Unleashing the Power of Self-supervised Discrimination in Diffusion Transformercited by 49
- 2023Control3D: Towards Controllable Text-to-3D Generationcited by 46
- 2023ControlStyle: Text-Driven Stylized Image Generation Using Diffusion Priorscited by 40
- 2024TRIP: Temporal Residual Learning with Image Noise Prior for Image-to-Video Diffusion Modelscited by 31
- 2023DiffCR: A Fast Conditional Diffusion Framework for Cloud Removal from Optical Satellite Imagescited by 27
- 20233DStyle-Diffusion: Pursuing Fine-grained Text-driven 3D Stylization with 2D Diffusion Modelscited by 17
- 2024Improving Text-guided Object Inpainting with Semantic Pre-inpaintingcited by 12
- 2024Improving Text-guided Object Inpainting with Semantic Pre-inpainting12 Sep 2024
- 2024TRIP: Temporal Residual Learning with Image Noise Prior for Image-to-Video Diffusion Models25 Mar 2024
- 2024SD-DiT: Unleashing the Power of Self-supervised Discrimination in Diffusion Transformer25 Mar 2024
- 2024VideoStudio: Generating Consistent-Content and Multi-Scene Videos2 Jan 2024
- 20233DStyle-Diffusion: Pursuing Fine-grained Text-driven 3D Stylization with 2D Diffusion Models9 Nov 2023
- 2023ControlStyle: Text-Driven Stylized Image Generation Using Diffusion Priors9 Nov 2023
- 2023Control3D: Towards Controllable Text-to-3D Generation9 Nov 2023
- 2023DiffCR: A Fast Conditional Diffusion Framework for Cloud Removal from Optical Satellite Images8 Aug 2023
- 2022Wave-ViT: Unifying Wavelet and Transformers for Visual Representation Learningcited by 78
- 2023RMT: Retentive Networks Meet Vision Transformerscited by 68
- 2022CLIP-TSA: CLIP-Assisted Temporal Self-Attention for Weakly-Supervised Video Anomaly Detectioncited by 67
- 2023SpectFormer: Frequency and Attention is what you need in a Vision Transformercited by 48
- 2022Exploring Structure-aware Transformer over Interaction Proposals for Human-Object Interaction Detectioncited by 47
- 2022Behind Every Domain There is a Shift: Adapting Distortion-aware Vision Transformers for Panoramic Semantic Segmentationcited by 46
- 2022Hierarchical Local-Global Transformer for Temporal Sentence Groundingcited by 38
- 2023DilateFormer: Multi-Scale Dilated Transformer for Visual Recognitioncited by 34
- 2023LipsFormer: Introducing Lipschitz Continuity to Vision Transformerscited by 34
- 2022Transforming medical imaging with Transformers? A comparative review of key properties, current progresses, and future perspectivescited by 33
- 2022Comprehending and Ordering Semantics for Image Captioningcited by 33
- 2021A Style and Semantic Memory Mechanism for Domain Generalizationcited by 32
12 most cited of 77 All 77 (JSON)
- 2026Multi-view feature High-order Fusion for Space Weak Object Detection and Segmentation13 Jun 2026
- 2026Advancing Vision Transformer with Enhanced Spatial Priors20 Apr 2026
- 2025Automated Pest Counting in Water Traps through Active Robotic Stirring for Occlusion Handling30 Sep 2025
- 2025On Deepfake Voice Detection -- It's All in the Presentation30 Sep 2025
- 2025User-Intent-Driven Semantic Communication via Adaptive Deep Understanding7 Aug 2025
- 2025Revisiting Continual Semantic Segmentation with Pre-trained Vision Models6 Aug 2025
- 2025Self-supervised Deep Learning for Denoising in Ultrasound Microvascular Imaging7 Jul 2025
- 2025A Decade of You Only Look Once (YOLO) for Object Detection: A Review24 Apr 2025
- 2025LSNet: See Large, Focus Small29 Mar 2025
- 2025OccRobNet : Occlusion Robust Network for Accurate 3D Interacting Hand-Object Pose Estimation27 Mar 2025
- 2025Quantum Complex-Valued Self-Attention Model24 Mar 2025
- 2025CSHNet: A Novel Information Asymmetric Image Translation Method17 Jan 2025
12 newest of 77 All 77 (JSON)