Reproduce “FlatFormer: Flattened Window Attention for Efficient Point Cloud Transformer” 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

Zhijian Liu, Xinyu Yang, Haotian Tang, Shang Yang, Song Han

FlatFormer, developed by MIT, addresses the efficiency bottleneck in point cloud transformers by introducing Flattened Window Attention (FWA). This approach processes point clouds by sorting them and grouping points into equal-sized batches, resulting in a model that is up to 4.6x faster than previous point cloud transformers and 1.4x faster than sparse convolution baselines like CenterPoint, while achieving state-of-the-art accuracy on the Waymo Open Dataset and enabling real-time inference on edge GPUs.

Key insights

  • Computational regularity, achieved by processing equal-sized groups of points, is more crucial for efficiency on GPUs than strictly maintaining spatial proximity in point cloud attention mechanisms.
  • Intelligent sorting strategies (window-based sorting with axis alternation and window shifting) can effectively preserve local context while enabling highly regular computation for irregular point cloud data.
  • System-level optimizations, such as fusing kernels, leveraging IO-aware attention (FlashAttention), and reusing pre-computed sorting results, are critical for translating algorithmic efficiency into real-world speedups on modern hardware.

Summary by alphaXiv.

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