NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Adaptive Split-Fusion Transformer

Zixuan Su, Jingjing Chen, Lei Pang, Chong-Wah Ngo, Yu-Gang JiangICME 2022

Abstract

The Adaptive Split-Fusion Transformer (ASF-former) is a hybrid neural network designed to synergize the local-pattern recognition of Convolutional Neural Networks (CNNs) with the global-context modeling of Vision Transformers (ViTs). By utilizing a novel split-parallel architecture and an "Adaptive Fusion" gating mechanism, ASF-former achieves superior accuracy on ImageNet (83.9%) without the typical computational overhead associated with hybrid models.

Introduction

In computer vision, Convolutional Neural Networks (CNNs) and Vision Transformers (ViTs) represent two dominant paradigms. CNNs excel at capturing local textures and fine details through sliding window kernels, whereas Transformers leverage self-attention to capture long-range dependencies across an entire image. Previous attempts to hybridize these architectures often resulted in either suboptimal feature integration (cascaded models) or doubled computational costs (parallel models). Furthermore, static hybrids fail to account for the varying importance of local versus global information across different visual scenes.

Architecture and Methodology

The ASF-former introduces three primary innovations to create an efficient, content-aware hybrid architecture.

Split Parallelism

To mitigate the "hybrid tax" of increased parameters and operations, ASF-former employs Split Parallelism. Instead of processing the full feature channel set through both branches, the input channels are split in half. One half is processed by a CNN branch, and the other by a Transformer branch. This ensures that the total Multiply-Accumulate operations (MACs) remain comparable to standard single-path architectures.

Half-Residual Mobile Convolutional Branch (HMCB)

The CNN component is implemented as a Half-Residual Mobile Convolutional Branch (HMCB). This module utilizes depth-wise separable convolutions and a specific residual structure to provide robust local feature extraction with minimal computational overhead.

Adaptive Fusion

The core of the ASF-former is the Adaptive Fusion module. This gating mechanism uses global pooling and fully connected layers to analyze input content and dynamically weight the contributions of the CNN and Transformer branches. A skip connection is included to ensure stable gradient flow during training.

Overview of the ASF-former architecture, illustrating the Split Parallelism and Adaptive Fusion components within the ASF-R and ASF-C encoders.

Experimental Results

The ASF-former was evaluated across several benchmarks, including ImageNet-1K/22K, CIFAR, MS-COCO, and ADE20K.

  • ImageNet Performance: The ASF-former-B achieved a 83.9% Top-1 accuracy on ImageNet-1K, surpassing ConvNeXt-B (83.8%) and Swin-B (83.5%) while utilizing significantly fewer parameters (56.7M vs. ~88M).
  • Efficiency: At a budget of approximately 5G MACs, ASF-former-S (82.7%) outperformed T2T-ViT (81.5%) and ViTAE (82.0%).
  • Downstream Tasks: In object detection and segmentation tasks on the COCO dataset, the pyramid variant (ASF-former$_p$) demonstrated superior performance over Swin-T and ResNet-50 backbones.

Key Insights and Discussion

Analysis of the model's internal weighting reveals two significant trends in how it processes visual information.

Depth-Dependent Processing

The researchers observed a clear trend across the network's depth: early layers prioritize the CNN branch to capture local textures, while deeper layers progressively shift their weight toward the Transformer branch to model global structures and relationships.

Content-Aware Weighting

The Adaptive Fusion mechanism enables the model to adjust its processing strategy based on the input image. Textured, detailed objects (e.g., honeycombs) trigger higher weights for the convolutional branch, whereas large-scale structural scenes (e.g., architectural landmarks) rely more heavily on the Transformer branch.

Analysis of branch weights: (a) shows the shift from convolutional to attention-based processing with increasing network depth; (b) illustrates how weights vary across different ImageNet classes.

Conclusion and Future Work

The ASF-former demonstrates that splitting feature channels and employing dynamic fusion can yield the benefits of hybrid architectures without excessive computational costs. While highly effective, the architecture's complexity may pose implementation challenges. Future research could focus on hardware-specific optimizations for split-path parallelism and investigating the scalability of the ASF-former architecture to billion-parameter regimes.

Summary updated

BibTeX
@inproceedings{su2022adaptive,
  author = {Zixuan Su and Jingjing Chen and Lei Pang and Chong-Wah Ngo and Yu-Gang Jiang},
  title = {{Adaptive Split-Fusion Transformer}},
  booktitle = {ICME},
  year = {2022},
  url = {https://openreview.net/forum?id=lPmS0rijW-},
}
Figure