Reproduce “Pale Transformer: A General Vision Transformer Backbone with Pale-Shaped Attention” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Sitong Wu, Tianyi Wu, Haoru Tan, Guodong Guo

A new Vision Transformer backbone, Pale Transformer, introduces Pale-Shaped Self-Attention (PS-Attention) to efficiently capture diverse contextual information by using interlaced rows and columns. This architecture achieved state-of-the-art performance, outperforming previous Vision Transformers like CSWin Transformer by up to +0.7% on ImageNet-1K classification, +1.3% mIoU on ADE20K semantic segmentation, and +0.7 box mAP on COCO object detection.

Key insights

  • Pale-shaped regions, formed by interlaced rows and columns, provide a broader and richer receptive field within a single attention layer than compact square windows or simple axial stripes.
  • The parallel decomposition of PS-Attention into channel-wise split row-wise and column-wise attention significantly reduces computational complexity and memory, particularly for non-square inputs.
  • Conditional Position Encoding (CPE) is crucial for enhancing spatial awareness and achieving optimal performance across vision tasks.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.