MixPT: Point Transformer with
Interleaved Window and Global Attention

1Seoul National University, 2Massachusetts Institute of Technology
arXiv
MixPT serializes a point cloud once, then alternates fixed-window interaction and scene-wide interaction in a WWGWWGWW attention schedule.

Serialize once, mix window and global attention.
MixPT-S serializes tokens once (S) and reuses that order throughout its WWGWWGWW attention schedule.

Abstract

Point cloud transformers aim to capture detailed local geometry and relationships across a scene at a manageable computational cost. Two common approaches are window attention and global attention. They differ in how they enable scene-wide interaction, which refers to information exchange among tokens across a scene. Window attention reduces computational cost by restricting self-attention to groups of tokens called windows; in serialized designs, each window contains a fixed number of consecutive tokens from a spatially ordered sequence. Because each block only directly connects tokens within the same window, information exchange across windows relies on changes in window membership across blocks and hierarchical pooling. Global attention, in contrast, directly connects all tokens within a scene, but computing attention over all token pairs can be costly when the number of tokens is large. To balance computational cost and scene-wide interaction, we introduce MixPT, a point transformer that uses a mix of window and global attention blocks in an interleaved schedule, while retaining a single fixed serialization pattern for its window blocks. For scenes with a large number of tokens, MixPT applies global attention to spatially pooled tokens and returns residual updates to the original-resolution stream. Across indoor and outdoor benchmarks, MixPT achieves competitive accuracy with lower latency than representative window and global attention baselines. We further demonstrate the feasibility of scaling the attention stage in depth by repeating the interleaved pattern of window and global attention blocks.

Preliminaries: Revisiting Window and Global Attention

1. Revisiting Window Attention

Window attention reduces computational cost by restricting self-attention to groups of tokens called windows; in serialized designs, each window contains a fixed number of consecutive tokens from a spatially ordered sequence. Because tokens in different windows cannot interact directly, serialized window transformers rely on changes in serialization pattern and hierarchical pooling for cross-window communication. Alternating the serialization pattern changes window membership across blocks, while hierarchical pooling aggregates information at coarser resolutions.

Tokens reachable from the selected query after LitePT attention block 1, using Z serialization.
Attention Block 1 · Z
Tokens reachable from the selected query after LitePT attention block 2, using TZ serialization.
Attention Block 2 · TZ
Tokens reachable from the selected query after LitePT attention block 3, using H serialization.
Attention Block 3 · H
Tokens reachable from the selected query after LitePT attention block 4, using TH serialization.
Attention Block 4 · TH
Tokens reachable from the selected query after LitePT attention block 5, using Z serialization.
Attention Block 5 · Z

Information propagation through the first five blocks of encoder stage 3 of LitePT on the Waymo validation set.
Green marks tokens reachable from the red-star token; gray marks those not yet reached.

Structural token reachability on Waymo: LitePT-S expands gradually, Volt-S reaches all tokens from block 1, and MixPT-S reaches all tokens at its first global block, block 3.
Structural reachability across blocks.

Here, a token is considered reachable if it can be connected to the selected token through preceding attention blocks and hierarchical pooling transitions. We measure this structural reachability from the attention stage input tokens, excluding receptive fields accumulated in the preceding convolutional stages.

LitePT-S did not achieve 100% mean token reachability on the Waymo validation set even in its deepest attention blocks. In contrast, Volt-S has full structural reachability from its first block. These observations motivate introducing global attention early in the stage to establish full structural reachability. MixPT-S therefore places its first global block after two window blocks, while retaining a fixed serialization for its window blocks.

2. Revisiting Global Attention

Global attention achieves full structural reachability, but we ask whether its weights are also broadly distributed across tokens in every block. To this end, we analyze a) how concentrated attention is within each block and b) where a selected query assigns its attention within the scene.

First, normalized attention entropy measures how evenly a query distributes attention over the keys it can attend to: a value of one indicates uniform attention over the available keys, while lower values indicate greater concentration on a subset.

The figure shows higher entropy in the early Volt-S blocks and lower entropy in several later blocks, indicating that the concentration of attention varies across depth.

Normalized attention entropy for LitePT-S, Volt-S and MixPT-S across blocks on Waymo; Volt-S is broadly distributed in its first block and more concentrated in several later blocks.

Second, we visualize the relative attention weights for a selected Volt query to show where attention concentrates within each block. Although each block allowed global interactions, attention for this query tended to concentrate on localized regions in later blocks.

Relative attention weights for the same selected query in Volt attention block 1.
Attention Block 1
Relative attention weights for the same selected query in Volt attention block 2.
Attention Block 2
Relative attention weights for the same selected query in Volt attention block 3.
Attention Block 3
Relative attention weights for the same selected query in Volt attention block 11.
Attention Block 11
Relative attention weights for the same selected query in Volt attention block 12.
Attention Block 12
Color scale for relative attention weight.
Rel. attn.

Attention patterns across Volt blocks on the Waymo validation set.
Values of 1 and 10 indicate weights equal to and ten times the uniform weight, respectively.

These two key observations motivate the periodic use of global attention in MixPT-S for direct cross-window information exchange without computing attention between all token pairs in every block.

Method

Architecture Overview

We retain the high-resolution sparse convolutional stages and remaining decoder structure of LitePT. We consolidate LitePT's multiple attention stages into a single stage by removing the intermediate pooling transition and the corresponding decoder upsampling. Within this stage, all window blocks reuse a single fixed serialization pattern, while global attention blocks are periodically interleaved following the WWGWWGWW schedule.

MixPT retains sparse convolution and decoder stages and uses a single attention stage with the WWGWWGWW schedule. LitePT's multiple attention stages are shown on the right.
Block-level overview of MixPT: (a) sparse convolution stages, (b) attention stage, and (c) decoder stages.

Fixed-Order Window Attention

Unlike PTv3 and LitePT, which vary serialization patterns across blocks, we use a single fixed pattern throughout the attention stage. This allows the serialization and window-index mappings to be reused across window attention blocks. Our default is Trans Z-order (TZ).

We follow LitePT in applying self-attention within serialized windows containing a fixed number of tokens, followed by an MLP. We omit its additional block-entry LayerNorm on the residual stream and use a standard pre-norm design with LayerNorm only before the attention and MLP sublayers.

Interleaved Global Attention with Pooling

A global block enables scene-wide communication across fixed windows. When the number of stage tokens is manageable, we apply global attention directly at the original stage resolution. For large token sets, we apply global attention to spatially pooled tokens and return only the resulting residual updates to the original-resolution stream.

Window attention (left) and pooled global attention (right) blocks in MixPT.

Rotary Positional Encoding for 3D Points

We follow the axial PointROPE formulation used in LitePT, while using an asymmetric allocation of RoPE dimensions across the three spatial axes in our default configurations. Specifically, one-dimensional RoPE is applied independently to the x-, y-, and z-axis subspaces of each attention head's query and key vectors.

Experiments

Main Results

Median latency for a single model forward pass over voxelized validation scenes (ms), measured with batch size one and FP16 autocast on an RTX A6000. For MixPT, -S, -B, and -L denote the small, base, and large variants, respectively.

MethodAttention#ParamsSem.KITTIWaymonuScenesScanNet
PTv3  Window 46.1M 63.6 87.8 38.3 48.1
LitePT-S  Window 12.7M 36.4 53.0 27.8 25.7
Volt-S  Global 23.7M 140.3 295.5 40.0 23.0
MixPT-S (Ours) Window + Global 14.1M 28.2 42.8 19.2 17.5
MixPT-B (Ours) Window + Global 51.8M 56.4 90.3 33.8 30.2
MixPT-L (Ours) Window + Global 89.4M 72.4 120.1 45.7 33.4

MixPT-S achieved the lowest latency across all four datasets, reducing latency by 19% to 32% relative to LitePT-S. The gap was larger relative to Volt-S, the global attention baseline, on outdoor datasets where MixPT-S was 2.1 to 6.9× faster. Despite these latency reductions, MixPT-S matched or improved upon LitePT-S in mIoU across all four datasets when evaluated without TTA. MixPT-B and MixPT-L generally improved performance across the evaluated benchmarks.

Latency Breakdown

A key source of efficiency is that MixPT constructs the serialization order and stage layout once and reuses them across window attention blocks. Token reorganization therefore occurs only at stage entry and exit, whereas LitePT repeatedly gathers and scatters tokens across blocks. On nuScenes, these serialization-related operations took 1.01 ms in MixPT-S, compared with 10.61 ms in LitePT-S.

MixPT-S stage latency on nuScenes: convolution stages 6.63 ms, attention stage 11.60 ms, and decoder stages 0.93 ms.
(a) Overall stage breakdown [ms]
MixPT-S attention-stage latency on nuScenes: pooling 1.32 ms, serialization 1.01 ms, window attention 5.45 ms, and global attention 3.82 ms.
(b) Attention stage breakdown [ms]
MixPT-S latency breakdown on nuScenes: (a) across model stages and (b) across individual components within the attention stage.

Ablation Studies

Fixed Serialization and Global Attention

Fixed serialization and global attention ablation (w/o TTA, mIoU / mAcc, %).
Attention-stage depth and width were held fixed across variants.
Z: Z-order; TZ: Trans Z-order; H: Hilbert; TH: Trans Hilbert; W/G: window/global attention.

SerializationBlock layoutSem.KITTI (s = 4)ScanNet (s = 1)
#ParamsLatency (ms)mIoUmAcc#ParamsLatency (ms)mIoUmAcc
Z + TZ + H + TH WWWWWWWW 13.6M 32.99 68.5 75.6 13.6M 21.28 74.8 84.0
TZ WWWWWWWW 13.6M 27.88 68.6 76.3 13.6M 17.16 73.7 83.5
TZ WWGWWGWW 14.1M 28.20 70.0 77.3 13.6M 17.48 76.0 84.3
- GGGGGGGG 15.6M 27.36 68.0 75.8 13.6M 17.60 75.7 84.0

Fixing the serialization pattern reduced latency on both datasets, while leaving mIoU nearly unchanged on SemanticKITTI and decreasing it on ScanNet. Changing two of the eight window blocks to global blocks raised mIoU to 70.0% and 76.0%, respectively, with only a small increase in full-model latency. Overall, periodic global attention improved the accuracy of fixed serialization while preserving its latency advantage over multi-pattern window attention.

Qualitative Results

Point cloud

LitePT · Attention reachability

Loading point cloud…

Reachable Not yet reached Selected token

Volt · Attention weights

Loading point cloud…

Rel. attn.
Selected query