Star with Bilinear Mapping

Zelin Peng, Yu Huang, Zhengqin Xu, Feilong Tang, Ming Hu, Xiaokang Yang, Wei Shen

Abstract

The Transformer architecture has become a cornerstone of computer vision, primarily due to its self-attention mechanism. However, the quadratic computational complexity of self-attention poses a significant bottleneck for high-resolution image processing. This paper introduces Star with Bilinear Mapping (SBM), a novel architecture designed to capture global context with linear complexity. By integrating element-wise "star operations" with efficient low-rank bilinear mapping, SBM achieves state-of-the-art performance on vision tasks, offering a faster and more memory-efficient alternative to both standard Transformers and recent State Space Models (SSMs) like Mamba.

Introduction

The dominance of Transformers in computer vision stems from their ability to model long-range dependencies via self-attention. Yet, the $O(n^2)$ complexity relative to the number of tokens $n$ makes them computationally expensive as resolution scales. While alternatives like State Space Models (SSMs) offer linear complexity, they often rely on specialized CUDA kernels and can introduce redundancies in vision tasks. SBM addresses this by asking whether global contextual modeling can be achieved through simpler, more efficient mathematical operations without sacrificing the performance of a Transformer.

Methodology: The SBM Module

The core of the SBM architecture is a module built on two fundamental pillars: the Star Operation and Bilinear Mapping (BM).

The Star Operation

Recent theoretical work suggests that stacking layers of element-wise multiplication—termed "star operations"—can exponentially increase the implicit dimensionality of features. SBM leverages this property to synthesize high-dimensional feature relationships at a fraction of the cost of traditional attention.

Bilinear Mapping with Low-Rank Decomposition

To achieve a global receptive field, SBM employs Bilinear Mapping. To maintain linear complexity ($O(n)$), the authors utilize a low-rank decomposition strategy. Instead of a full $n \times n$ interaction matrix, the spatial projection is decomposed into two smaller matrices ($n \times m$ and $m \times n$, where $m \ll n$).

Detailed architecture of the SBM block and the Bilinear Mapping (BM) module.

The SBM block integrates three functional branches:

  1. Bilinear Mapping Branch ($U$): Captures global spatial and channel-wise context.
  2. Linear Mapping Branch ($V$): Provides an alternative feature view for fusion.
  3. Mapping Control Branch ($G$): Acts as a gate to ensure training stability and spatial coherence.

The final output is computed as $h(x) = G(x) * (\sigma(U) * V)$, where $*$ denotes the star operation.

Experimental Results

SBM was evaluated on major benchmarks including ImageNet-1K for classification, ADE20K for semantic segmentation, and COCO 2017 for object detection.

Performance and Efficiency

SBM consistently outperforms established backbones across various scales. For instance, SBM-B (Base) achieved 85.1% Top-1 accuracy on ImageNet-1K, surpassing Swin-B (83.5%) and VMamba-B (83.9%). In terms of efficiency, SBM-T (Tiny) reached 83.2% accuracy with only 4.5G FLOPs, demonstrating a superior accuracy-to-computation trade-off compared to ConvNeXt and standard Transformers.

Comparison of Top-1 accuracy and runtimes against model parameters for SBM and other state-of-the-art models.

Downstream Tasks

The architecture's effectiveness extends to pixel-level tasks. On ADE20K, SBM-B reached a 50.2 mIoU, while on COCO, it achieved 50.2 $AP^b$, outperforming both Swin and VMamba counterparts. Runtime analysis on an NVIDIA RTX 3090 confirmed that SBM maintains higher throughput as parameter counts scale, largely because it avoids the need for custom CUDA kernels.

Conclusion

SBM demonstrates that global context does not necessitate quadratic complexity. By utilizing low-rank bilinear mapping and star operations, the model achieves a global receptive field with $O(n)$ efficiency. While the Mapping Control Branch introduces a minor throughput trade-off, the overall gains in accuracy and speed are significant. Future research may explore the scalability of this bilinear mapping approach in Natural Language Processing and multi-modal foundation models.

Summary updated

BibTeX
@inproceedings{peng2025star,
  author = {Zelin Peng and Yu Huang and Zhengqin Xu and Feilong Tang and Ming Hu and Xiaokang Yang and Wei Shen},
  title = {{Star with Bilinear Mapping}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.02355},
}
Figure