arXiv:2611.07955cs.CVNov 2026

Manuscript Offprint

arXiv:2611.07955

Rotation Is Token-Blind: A Structural Criterion for Post-Training Quantization of Feed-Forward Geometry Transformers

Huanfei He, Bohao Zhang, Jiaxin Zhang, Wei Sui, John See, Zeyd Boukhers, Cong Yang

Huanfei He1,2,∗^{1,2,*}, Bohao Zhang2,∗^{2,*}, Jiaxin Zhang1^{1}, Wei Sui2,†^{2,\dagger}, John See4^{4}, Zeyd Boukhers3^{3}, and Cong Yang1,□^{1,\square}

1^{1}School of Future Science and Engineering, Soochow University, Suzhou, China

2^{2}D-Robotics, Beijing, China

3^{3}Fraunhofer Institute for Applied Information Technology, Sankt Augustin, Germany

4^{4}School of Mathematical and Computing Sciences, Heriot-Watt University Malaysia, Putrajaya, Malaysia

hfhe@stu.suda.edu.cn, wei.sui@d-robotics.cc, cong.yang@suda.edu.cn

Figure

Figure 1: QMapAnything overview. MapAnything's scale token occupies <0.1% of the sequence yet shares one activation grid with NnNn patch tokens, from NN images with nn patches each. We pair a rotation matrix with a row-selective affine correction. Bottom: W4A4 reconstructions at 2 and 16 views remain visually close to the corresponding FP32 results.

ABSTRACT

Feed-forward 3D models use Transformers to predict camera poses, depth, and structure in one pass, avoiding iterative multi-view optimization. Long sequences and deep attention incur high compute and memory costs, motivating Post-Training Quantization (PTQ) for deployment. Existing PTQ methods mainly suppress channel-wise outliers by smoothing or orthogonal rotation. Geometry Transformers introduce a different challenge: heterogeneous token types share one activation quantization grid. A few special tokens may exert high leverage over global outputs and be updated by only a subset of blocks. Token-blind transforms, which apply the same transformation to every token, reduce overall quantization error but cannot remove differentiated degradation across token types. We pro-

∗^{*}Equal contribution.

†^{\dagger}Project leader.

□\square Corresponding author.

pose QMapAnything, a structure-aware PTQ framework. We cast floating-point-preserving rotation and smoothing as a token-blind reparameterization group, and prove that they yield common-mode gains while leaving relative token SNR unchanged. We introduce a statistic Γ\Gamma that combines a special token's quantization disadvantage and output leverage to predict whether differentiated bias correction is needed beyond rotation. Experiments on geometric benchmarks show that W4A8 closely matches full-precision performance. Under W8A8, peak memory falls by 2.2−3.1×2.2-3.1\times versus FP32, with up to 3.1×3.1\times speedup on real hardware. These results provide a principled and efficient approach to deploying feed-forward 3D reconstruction models in resource-constrained edges.

1 INTRODUCTION

Classical multi-view reconstruction combines geometric priors with iterative optimization (Mur-Artal & Tardós, 2017; Schönberger & Frahm, 2016; Schönberger et al., 2016). Learning-based systems first moved dense matching and point-map prediction into neural networks (Wang et al., 2024; Leroy et al., 2024), and recent feed-forward Transformers now recover camera pose, depth, and 3D structure jointly in a single forward pass (Wang et al., 2025; Keetha et al., 2026). This paradigm offers strong generalization without per-scene optimization, but its long token sequences and deep attention stacks impose substantial memory and computation costs, making post-training quantization (PTQ) attractive for deployment.

Recent PTQ methods suppress outliers through scaling, smoothing, or orthogonal rotation (Xiao et al., 2023; Ashkboos et al., 2024; Tseng et al., 2024; Liu et al., 2025). Related recipes have been extended to visual geometry Transformers (Feng et al., 2026; Pan et al., 2026; Zhang et al., 2026). These methods act along the channel axis, whereas feed-forward geometry models can be asymmetric along the token axis. We identify four properties that characterize this mismatch: (S1) heterogeneous token types share one activation grid. (S2) A single token has multiplicative, output-wide leverage. (S3) Channel energy is heavy-tailed. (S4) The special token is updated by only a subset of blocks. Rotation addresses S3, but its token-blind action cannot remove the differentiated error created by S1–S2. Consequently, metric outputs may fail even when scale-aligned geometry remains plausible, and a recipe successful on an up-to-scale model need not transfer to a metric one.

We present QMapAnything, a structure-aware PTQ framework that uses these properties to select mechanisms. We first characterize all floating-point-preserving rotation and smoothing transformations as a token-blind reparameterization group. Orthogonal transformations provide a common-mode signal-to-noise ratio (SNR) gain but leave relative token SNR unchanged. More general transformations face a conditioning ceiling and a potential weight-side quantization trade-off. We then introduce Γ\Gamma, a screening statistic that combines a token's grid disadvantage with its output leverage. It requires only one forward and backward pass per scene and screens for the need for token-selective treatment. A residual statistic measured during calibration determines affine correctability. Guided by this analysis, QMapAnything pairs a rotation matrix for S3 with standard bias correction and, where warranted, a row-selective affine correction for S1–S2, inserted only where S4 makes it necessary. MapAnything provides the primary stress test, while Visual Geometry Grounded Transformer (VGGT) and Depth Anything 3 (DA3) provide complementary transfer cases. VGGT has high gradient leverage on its special token without a grid disadvantage, whereas DA3 has a grid disadvantage without effective output leverage. Our contributions are summarized as follows:

  1. We identify four structural properties (S1–S4) that explain when channel-oriented PTQ transfers to a geometry Transformer and when it does not, separating metric predictors from up-to-scale ones.

  2. We prove that floating-point-preserving rotation and smoothing form a token-blind group. They act identically on every token, so they have common-mode strength but no row-indexed freedom. QMapAnything keeps a rotation inside this group and adds a row-selective affine correction outside it, inserted only where S4 indicates.

  3. We introduce a screening statistic for that need and a residual statistic to test affine correctability. The former distinguishes MapAnything from VGGT and DA3, and QMapAnything attains near-lossless low-bit accuracy with 3.1×3.1\times lower peak memory.

Figure

Figure 2: Overview of QMapAnything on a quantized Transformer block. attn.qkv, mlp.w12 and mlp.w3 apply a rotation matrix transform RR to their input, the matching inverse folded offline into the weights. attn.proj needs no input-side transform, since its rotation is absorbed entirely into WprojW_{proj}. RR is the group element addressing S3. The standard token-uniform correction removes a shared systematic offset and can be folded into a layer bias. The group-external term bsb_s targets the S1–S2 interaction by correcting only the special-token row.

References (58)