Less Context, Better Geometry: Masked Geometric Encoder for Robust 3D Foundation Models

Zhimin Shao, Xijun Liu, Zhaoliang Zhang, Yutao Tang, Abhay Yadav, Rama Chellappa, Cheng PengarXiv 2026

TL;DR

By intentionally restricting cross-view communication during training, the Masked Geometric Encoder (MGE) forces 3D foundation models to learn more robust, independent per-frame representations. This approach, paired with a novel Anchor-Guided Adaptive (AGA) token merging strategy, significantly improves 3D reconstruction quality under heavy occlusion and visual ambiguity while offering a more efficient path for processing long image sequences.

What Problem Does This Paper Address?

Modern 3D foundation models (like DUSt3R or $\pi^3$) have revolutionized reconstruction by replacing complex, iterative pipelines with feed-forward transformers. However, they face two major hurdles:

  1. Computational Scalability: These models rely on "all-to-all" global attention, where every pixel token in every image looks at every other token. This leads to quadratic complexity, making long video sequences or high-resolution sets prohibitively expensive to process.
  2. Geometric Fragility: Unconstrained global attention can be a double-edged sword. In scenes with "Doppelgangers"—visually identical structures like windows on a facade or benches in a cathedral—the model can create false associations between geometrically distant points. Similarly, occlusions can cause the model to propagate "unreliable evidence" across views, leading to shifted or duplicated geometry.

The authors ask: Can we train a model to be less dependent on dense connectivity, making it both more robust to errors and easier to compress?

Methods

The researchers introduce two core components:

1. Masked Geometric Encoder (MGE)

Inspired by Masked Autoencoders (MAE), MGE doesn't mask image patches, but rather view-to-view connections. During training, the model randomly drops frame-to-frame interactions in the global attention layers.

To ensure the model doesn't lose performance, they use a self-distillation strategy. A "Teacher" model (with full global attention) provides supervision to the "Student" (the MGE). The student is penalized if its intermediate features or final 3D outputs (point maps and camera poses) deviate from the teacher's, despite having access to less context. This forces the encoder to squeeze more geometric information into each individual frame's representation.

Figure 1: Method overview. During training, MGE masks the global attention randomly to limit the all-to-all cross-view information flow. To promote richer intermediate feature representation, we further introduce constrain MGE to produce similar 3D features compared to the full-attention teacher encoder output.

2. Anchor-Guided Adaptive (AGA) Token Merging

To speed up inference, the authors move away from uniform token reduction. AGA selects a sparse set of "anchor frames" kept at full resolution to provide a reliable geometric skeleton. For the remaining frames, it calculates a redundancy score relative to these anchors. Highly redundant views are compressed aggressively, while unique views retain more tokens, preserving critical geometric details that uniform methods often discard.

Datasets

The model was trained on a massive mixture of 13 datasets, including MegaDepth, ScanNet, ARKitScenes, and BlendedMVS, covering both indoor and outdoor environments.

For evaluation, the authors utilized:

  • ETH3D: Used specifically to test robustness by progressively "corrupting" views with white patches to simulate occlusion.
  • NRGBD: Used to benchmark token merging efficiency across different sequence lengths.
  • Visual Ambiguity Benchmark: A new benchmark created by the authors using COLMAP and Doppelgangers++ to specifically test how models handle visually similar but geometrically distinct views.

Key Insights and Ideas

  • "Less is More" in Training: By restricting the "crutch" of global context during training, the model learns to extract more intrinsic geometric cues from fewer views. This makes the resulting features more "independent" and robust.
  • Distillation over Ground Truth: The authors found that distilling from a dense teacher model is more effective than using sparse ground-truth depth maps, which often contain holes (black pixels in Figure 5) that can degrade training.
  • Geometric Redundancy isn't Visual Redundancy: Standard token merging often fails in 3D tasks because two patches might look similar but represent different 3D locations. AGA's use of anchor frames helps ground the compression process in actual scene geometry.

Key Results

The MGE framework demonstrates superior robustness across several challenging scenarios:

  • Occlusion Robustness: Under heavy occlusion (50% of views corrupted), MGE's point accuracy error increased by only 48%, whereas baselines like VGGT and $\pi^3$ saw errors spike by 119% and 128%, respectively.
  • Handling Doppelgangers: In scenes with repetitive structures, MGE produced significantly more consistent reconstructions. While baselines often "shifted" or duplicated geometry (like church benches), MGE maintained a coherent global structure.
  • Inference Speedup: The AGA strategy consistently outperformed existing streaming and token-merging approaches (like FastVGGT) on the NRGBD benchmark, especially in "limited-view" settings where every token counts.
Figure 2: Qualitative comparison of multi-view 3D reconstruction. Compared with VGGT and π3, our method produces more consistent reconstructions in standard scenes (Street, Oats) and in regions with repeated or visually similar structures, including building doors, temple signboards, and church benches, where the baselines often produce shifted or duplicated geometry.

Limitations and Future Work

  • Masking Ratio Sensitivity: There is a "Goldilocks zone" for the masking ratio ($\rho$). If the masking is too aggressive during training, the model loses too much context and reconstruction quality degrades even when all tokens are available at inference.
  • Teacher Dependency: The student's performance is ultimately capped by the quality of the pretrained teacher model used for distillation.
  • Future Directions: The authors suggest exploring more sophisticated masking patterns beyond random Bernoulli sampling to better simulate real-world sensor failures or specific occlusion patterns.

Summary updated

BibTeX
@misc{shao2026less,
  author = {Zhimin Shao and Xijun Liu and Zhaoliang Zhang and Yutao Tang and Abhay Yadav and Rama Chellappa and Cheng Peng},
  title = {{Less Context, Better Geometry: Masked Geometric Encoder for Robust 3D Foundation Models}},
  year = {2026},
  eprint = {2610.06813},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.06813},
}
Figure