LoopVGGT: Training-Free Looped Vision Geometry Transformers

arXiv: 2611.38227 GitHub Hugging Face Space License: MIT (wrapper)

LoopVGGT architecture: frozen attention window [5, 8] evaluated K=4 times with 1/K damped Euler updates

Overview

LoopVGGT is a training-free inference framework that replays a contiguous block window of a pretrained vision geometry transformer with damped Euler updates (1/K step size) while preserving the backbone's native computation graph.

This Hugging Face model repository provides the official AutoModel wrapper ([5, 8], K = 4) for VGGT-1B. Because LoopVGGT is strictly training-free, this repository hosts no redistributed weights β€” calling from_pretrained("yifei-liu/LoopVGGT", trust_remote_code=True) automatically downloads and loads the frozen upstream facebook/VGGT-1B checkpoint at runtime.

Interactive Demo: Try LoopVGGT directly in the browser on the LoopVGGT ZeroGPU Space.

Quickstart

1. Install dependencies

pip install torch torchvision transformers huggingface_hub Pillow einops timm
pip install "git+https://github.com/facebookresearch/vggt.git@a288dd0f14786c93483e45524328726ab7b1b4ce"

2. Run Raw vs. LoopVGGT in a few lines

import torch
from transformers import AutoModel

device = "cuda" if torch.cuda.is_available() else "cpu"

# Automatically fetches frozen weights from facebook/VGGT-1B
model = AutoModel.from_pretrained(
    "yifei-liu/LoopVGGT",
    trust_remote_code=True,
).to(device).eval()

image_paths = ["view_0.png", "view_1.png", "view_2.png"]

# Paper default: training-free loop over attention pairs [5, 8], K = 4
loop_out = model.predict_images(image_paths, looped=True)

# Unlooped VGGT-1B baseline using the exact same frozen weights
raw_out = model.predict_images(image_paths, looped=False)

# Output fields: depth, depth_conf, world_points, world_points_conf, extrinsics, intrinsics
print("Depth shape:", loop_out["depth"].shape)
print("Extrinsics shape:", loop_out["extrinsics"].shape)

You can also call model(images) directly on a preprocessed (S, 3, H, W) or (B, S, 3, H, W) tensor and customize the loop window on the fly:

preds = model(images, looped=True, start=5, end=8, K=4)

Key Results

Across 5 vision geometry backbones (VGGT, Pi3, Depth Anything 3, MapAnything, VGGT-Ξ©) and 9 benchmarks using one fixed shared configuration per model, training-free looping improves camera pose AUC for all 5 models and 3D reconstruction F1 for all 4 evaluated models.

Cross-benchmark aggregate gains across 5 models and 9 benchmarks

VGGT-1B ([5, 8], K = 4) Highlights

Benchmark Metric Raw (VGGT-1B) LoopVGGT ([5, 8], K = 4) Gain
HiRoom 3D Reconstruction F1 ↑ 53.79 60.43 +6.64
HiRoom Camera Pose AUC@3Β° ↑ 48.19 52.20 +4.01
ETH3D 3D Reconstruction F1 ↑ 62.86 64.52 +1.66
ETH3D Camera Pose AUC@30Β° ↑ 81.68 82.87 +1.19
ScanNet++ 3D Reconstruction F1 ↑ 67.40 68.27 +0.87
DyCheck (Dynamic) Depth AbsRel ↓ 0.0640 0.0601 βˆ’6.1%
DyCheck (Dynamic) Depth Ξ΄1.25 ↑ 93.41 94.65 +1.24

ETH3D terrains Raw vs LoopVGGT 3D point-cloud comparison
ETH3D terrains (42 views, 7.61M RGB points): training-free looping eliminates detached ghost geometry on the wall relief (top) and straightens the corridor geometry and window frame (bottom).

Licensing & Attribution

  • The LoopVGGT wrapper code (configuration_loopvggt.py, modeling_loopvggt.py, config.json) is released under the MIT License.
  • The underlying pretrained model weights are fetched directly from facebook/VGGT-1B and remain subject to the upstream VGGT License and Acceptable Use Policy.
  • Full code, multi-backbone adapters (Pi3, DA3, MapAnything, VGGT-Ξ©), and benchmark reproduction scripts are available at Visionary-Laboratory/LoopVGGT.
Downloads last month
49
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for yifei-liu/LoopVGGT

Base model

facebook/VGGT-1B
Adapter
(2)
this model

Space using yifei-liu/LoopVGGT 1

Paper for yifei-liu/LoopVGGT