Papers › ScatterFormer: Efficient Voxel Transformer with Scattered Linear Attention

ScatterFormer: Efficient Voxel Transformer with Scattered Linear Attention

1 Jan 2024arXiv:2401.00912archive 2025-07-28

Chenhang He, Ruihuang Li, Guowen Zhang, Lei Zhang

Window-based transformers excel in large-scale point cloud understanding by capturing context-aware representations with affordable attention computation in a more localized manner. However, the sparse nature of point clouds leads to a significant variance in the number of voxels per window. Existing methods group the voxels in each window into fixed-length sequences through extensive sorting and padding operations, resulting in a non-negligible computational and memory overhead. In this paper, we introduce ScatterFormer, which to the best of our knowledge, is the first to directly apply attention to voxels across different windows as a single sequence. The key of ScatterFormer is a Scattered Linear Attention (SLA) module, which leverages the pre-computation of key-value pairs in linear attention to enable parallel computation on the variable-length voxel sequences divided by windows. Leveraging the hierarchical structure of GPUs and shared memory, we propose a chunk-wise algorithm that reduces the SLA module's latency to less than 1 millisecond on moderate GPUs. Furthermore, we develop a cross-window interaction module that improves the locality and connectivity of voxel features across different windows, eliminating the need for extensive window shifting. Our proposed ScatterFormer demonstrates 73.8 mAP (L2) on the Waymo Open Dataset and 72.4 NDS on the NuScenes dataset, running at an outstanding detection rate of 23 FPS.The code is available at \href{https://github.com/skyhehe123/ScatterFormer}{https://github.com/skyhehe123/ScatterFormer}.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2401.00912")

Code

Syntology Ran 1 of 9 code samples harvested from 1 repository linked to this paper; 8 have no recorded run. Of those that ran: 1 ran with no contract checked.

By repository: official repository: 9 samples from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

skyhehe123/scatterformer officialmentioned in papermentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

9 samples harvested; 1 ran; 0 honoured the contract we drafted; 8 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran
8unverified

Licence: 0 of the 9 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from skyhehe123/ScatterFormer. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

post_act_block_dense skyhehe123/ScatterFormer/pcdet/models/backbones_3d/spconv_backbone_2d.py official repository ran Apache-2.0 (permissive) · 0d095007c24b14c0 · report
cfg_from_yaml_file skyhehe123/ScatterFormer/pcdet/config.py official repository unverified Apache-2.0 (permissive) · 44db2351bcc0bffe · report
compute_fg_mask skyhehe123/ScatterFormer/pcdet/utils/loss_utils.py official repository unverified Apache-2.0 (permissive) · 65fe32ede00e7dcb · report
get_corner_loss_lidar skyhehe123/ScatterFormer/pcdet/utils/loss_utils.py official repository unverified Apache-2.0 (permissive) · 1780d388cc532a6d · report
merge_new_config skyhehe123/ScatterFormer/pcdet/config.py official repository unverified Apache-2.0 (permissive) · 50e8e8cdfc5129f0 · report
neg_loss_cornernet skyhehe123/ScatterFormer/pcdet/utils/loss_utils.py official repository unverified Apache-2.0 (permissive) · 488b91d67a807558 · report
post_act_block skyhehe123/ScatterFormer/pcdet/models/backbones_3d/spconv_backbone.py official repository unverified Apache-2.0 (permissive) · 2b4e0558df870bf9 · report
post_act_block skyhehe123/ScatterFormer/pcdet/models/backbones_3d/spconv_backbone_2d.py official repository unverified Apache-2.0 (permissive) · 016a882194742fe9 · report
scatter_nd skyhehe123/ScatterFormer/pcdet/models/backbones_3d/scatterformer.py official repository unverified Apache-2.0 (permissive) · 3109d923a449a567 · report

Tasks

Blocking

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Convolution

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections