[Paper Review] Conformer: Local Features Coupling Global Representations for Visual Recognition
This paper proposes Conformer, a dual-branch neural network that fuses convolutional neural network (CNN) local features with vision transformer (ViT) global representations via a novel Feature Coupling Unit (FCU). By enabling interactive, bidirectional feature fusion at multiple stages, Conformer achieves state-of-the-art performance under comparable parameter and FLOP budgets, outperforming DeiT-B by 2.3% on ImageNet and ResNet-101 by 3.7% and 3.6% on MSCOCO for object detection and instance segmentation.
Within Convolutional Neural Network (CNN), the convolution operations are good at extracting local features but experience difficulty to capture global representations. Within visual transformer, the cascaded self-attention modules can capture long-distance feature dependencies but unfortunately deteriorate local feature details. In this paper, we propose a hybrid network structure, termed Conformer, to take advantage of convolutional operations and self-attention mechanisms for enhanced representation learning. Conformer roots in the Feature Coupling Unit (FCU), which fuses local features and global representations under different resolutions in an interactive fashion. Conformer adopts a concurrent structure so that local features and global representations are retained to the maximum extent. Experiments show that Conformer, under the comparable parameter complexity, outperforms the visual transformer (DeiT-B) by 2.3% on ImageNet. On MSCOCO, it outperforms ResNet-101 by 3.7% and 3.6% mAPs for object detection and instance segmentation, respectively, demonstrating the great potential to be a general backbone network. Code is available at https://github.com/pengzhiliang/Conformer.
Motivation & Objective
- To address the limitation of CNNs in capturing long-range dependencies and ViTs in losing local detail, the paper aims to combine the strengths of both architectures.
- To develop a unified backbone network that preserves both local discriminative features and global contextual representations.
- To design a learnable, interactive fusion mechanism that aligns features across different resolutions and modalities without significant computational overhead.
- To demonstrate that joint training of CNN and ViT branches with feature coupling leads to improved generalization and robustness.
Proposed method
- Conformer employs a concurrent dual-branch architecture with a CNN branch (inspired by ResNet) and a transformer branch (inspired by ViT), both trained end-to-end with cross-entropy supervision.
- The Feature Coupling Unit (FCU) enables bidirectional feature fusion by aligning channel dimensions via 1×1 convolutions, spatial resolution via up/down-sampling, and feature statistics via LayerNorm and BatchNorm.
- FCUs are inserted after every block in both branches to iteratively reduce semantic divergence between CNN and ViT features through interactive refinement.
- Spatial alignment in FCU uses nearest-neighbor interpolation for up-sampling and average pooling for down-sampling, balancing accuracy and efficiency.
- Positional embeddings are omitted in the CNN branch due to inherent inductive bias for spatial location, reducing redundancy.
- The model is trained with standard data augmentation and regularization, and inference is performed without fine-tuning on rotated or scaled inputs to evaluate robustness.

Experimental results
Research questions
- RQ1Can a dual-branch network that combines CNN and ViT architectures achieve better visual representation learning than either alone?
- RQ2How can local features from CNNs and global representations from self-attention mechanisms be effectively fused without introducing significant computational cost?
- RQ3Does interactive, multi-stage feature coupling between CNN and ViT branches improve model generalization under distribution shifts such as rotation and scale?
- RQ4Can the proposed architecture outperform both standalone CNNs and vision transformers under comparable parameter and FLOP budgets?
Key findings
- Conformer-S achieves 83.4% top-1 accuracy on ImageNet, outperforming DeiT-S (79.8%) and ResNet-101 (80.6%) under comparable parameter counts.
- On MSCOCO, Conformer-S improves mAP by 3.7% for object detection and 3.6% for instance segmentation over ResNet-101.
- The ensemble of DeiT-S and ResNet-101 achieves only 81.8% accuracy, which is 1.6% lower than Conformer-S (83.4%), despite using significantly more parameters and FLOPs.
- Conformer-S demonstrates stronger rotation invariance: while ResNet-101's accuracy drops sharply on rotated images, Conformer maintains high performance across all rotation angles.
- Conformer exhibits superior scale invariance—its accuracy drops only 10% when input resolution is halved from 224×224 to 112×112, compared to 15% for ResNet and 25% for DeiT-S.
- Ablation studies show that removing positional embeddings harms DeiT-S by 2.4% but only slightly affects Conformer-S (0.1% drop), indicating reduced reliance on positional encoding due to CNN inductive bias.

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.