Understanding Multi-View Transformers

Michal Starý, Julien Gaubil, Ayush Tewari, Vincent SitzmannarXiv 2025 · DOI

Multi-view transformers like DUSt3R have recently revolutionized 3D computer vision. Traditionally, reconstructing a 3D scene from images required complex, multi-step pipelines involving feature matching, bundle adjustment, and careful optimization. DUSt3R replaced these with a single, feed-forward transformer that produces high-quality 3D reconstructions directly from image pairs.

Despite their success, these models have largely remained "black boxes." Researchers from TUM, Cambridge, and MIT CSAIL have now pulled back the curtain using mechanistic interpretability to show that these models perform a sophisticated, iterative "tug-of-war" between geometry and correspondence.

Methodology: Pointmap Probing

To understand how the internal 3D state evolves, the researchers developed a technique called Pointmap Probing. They trained small, 5-layer Multi-Layer Perceptrons (MLPs) to "read" the latent features at every skip connection within the transformer decoder.

The MLP Probe architecture extracts 3D pointmaps from individual patch tokens at skip connections.

Crucially, these probes operate with a restricted receptive field, looking only at individual patch features. This constraint ensures that if a probe successfully reconstructs a 3D point, that information was already present within that specific local feature, rather than being synthesized from neighboring context by the probe itself. The probes are trained to predict pointmaps—3D coordinates for every pixel relative to the first camera's coordinate system.

The Mechanics of 3D Reconstruction

By applying these probes across the entire decoder, the authors visualized the model's internal reasoning process as it progresses through the layers. They discovered that the model does not produce a 3D scene in a single step; instead, it carries and refines a 3D "state" through its skip connections.

Visualizing the iterative refinement of 3D geometry across the transformer decoder blocks.

This refinement process is characterized by a functional "tug-of-war" between different attention mechanisms:

  • Cross-Attention (The Matcher): This component identifies correspondences between views. It moves patches from the second image toward the first image non-rigidly, essentially finding where points in Image B belong in the 3D space of Image A.
  • Self-Attention (The Stabilizer): This component restores the internal geometry of the second view. It ensures that the "transported" patches maintain a rigid, structurally sound relationship with the rest of the object.

In early layers, the model matches patches based on coarse semantic appearance (e.g., identifying a "chair leg"). As the data flows through later layers, these matches become geometrically precise, resulting in a 94% decrease in aligned second-view error by the end of the decoder.

Key Insights and Results

The study yielded several surprising findings regarding how these transformers operate:

  1. No Global Pose Needed: By performing "attention knockout" on register tokens (often thought to store global scene information), the researchers found that 3D accuracy remained largely unchanged. This suggests the model relies on local correspondences rather than an explicit internal calculation of global camera rotation and translation.
  2. Iterative Rigidity: While cross-attention often "breaks" the rigidity of an object to find matches, subsequent self-attention and MLP layers successfully re-establish a rigid 3D structure.
  3. Correspondence Accuracy: The percentage of valid correspondences (within a 1-patch threshold) improves significantly as the signal moves through the decoder, rising from roughly 40% to over 60% by the middle blocks.

Conclusion and Future Directions

This research demonstrates that multi-view transformers are not merely memorizing shapes but are performing active geometric reasoning. Understanding these internal mechanics is vital for safety-critical applications like autonomous driving and provides a roadmap for designing more efficient architectures. Future work may involve using these probing techniques to "debug" 3D models, identifying exactly which layers fail when a reconstruction is unsuccessful.

Summary updated

Abstract

Multi-view transformers such as DUSt3R are revolutionizing 3D vision by solving 3D tasks in a feed-forward manner. However, contrary to previous optimization-based pipelines, the inner mechanisms of multi-view transformers are unclear. Their black-box nature makes further improvements beyond data scaling challenging and complicates usage in safety- and reliability-critical applications. Here, we present an approach for probing and visualizing 3D representations from the residual connections of the multi-view transformers' layers. In this manner, we investigate a variant of the DUSt3R model, shedding light on the development of its latent state across blocks, the role of the individual layers, and suggest how it differs from methods with stronger inductive biases of explicit global pose. Finally, we show that the investigated variant of DUSt3R estimates correspondences that are refined with reconstructed geometry. The code used for the analysis is available at https://github.com/JulienGaubil/und3rstand .
BibTeX
@misc{stary2025understanding,
  author = {Michal Starý and Julien Gaubil and Ayush Tewari and Vincent Sitzmann},
  title = {{Understanding Multi-View Transformers}},
  year = {2025},
  eprint = {2510.24907},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.24907},
}
Figure