Agentic Geometric Perception
Seokju Cho1,4, Chan Hee Song1, Abhishek Badki1, Hang Su1, Bowen Wen1, Ryo Hachiuma1, Byung-Kwan Lee1, Siyi Chen2, Valts Blukis1, Chiao-An Yang3, Sifei Liu1, Stan Birchfield1, Jan Kautz1, Seungryong Kim4, Yu-Chiang Frank Wang1, Min-Hung Chen1
1NVIDIA2University of Michigan, Ann Arbor3Purdue University4KAIST
PaperarXivGitHub
Existing geometric perception methods rely on a fixed inference procedure designed in advance, limiting their ability to handle challenging or unexpected inputs. Instead, we let an agent search over the inference procedure itself. Given a single input and existing vision models as tools, the agent writes, executes, and refines a tailored program for that input without any task-specific training.
Comparison with the strongest existing methods
A formulation that searches over the inference procedure
Feed-forward models and test-time optimization follow an inference procedure that is designed in advance. Agentic geometric perception searches over the procedure itself. An agent writes and executes a program tailored to each input, with existing methods as tools, and revises it according to the feedback from its execution.
Feed-forward
- Designed in advance
- The network and its weights
- Determined at inference
- Nothing
Test-time optimization
- Designed in advance
- The variables and the objective
- Determined at inference
- The values of the variables
Agentic geometric perception
- Designed in advance
- The set of tools
- Determined at inference
- The program
Details on fixed and searched inference procedures
Existing methods largely follow two paradigms, feed-forward prediction and test-time optimization, and a growing number of them combine the two by optimizing over feed-forward predictions. In each case, the inference procedure is designed in advance. Images and videos captured in the wild are difficult to anticipate when a method is designed or trained, and they may require different sources of evidence and reasoning strategies. This can limit the ability of such a procedure to handle unexpected inputs and to correct errors.
Feed-forwardTest-time optimizationAgentic geometric perception
InferencePredicts geometry in a single passMinimizes a predefined objective over geometric variables, a scene representation, or network weightsWrites and executes a program for the input, with existing methods as tools
Searched for each inputNothingThe values of the predefined variablesThe program, including which tools to invoke, how to combine and post-process their outputs, and which estimates to discard
Criterion for accepting a resultNo explicit criterionThe predefined objectiveSignals chosen for the input, such as agreement between independent tools, geometric consistency, or a visual comparison between a rendered hypothesis and the observed image
On an unexpected inputMay not recognize that its prediction is unreliableRemains confined to its predefined objective and initializationCan pivot to an entirely different source of evidence or geometric cue
Example sessions
Each example below replays a real agent session from its execution log. The left panel shows the code and commands the agent runs, while the right panel displays the intermediate visualizations it generates along the way, with the best baseline output pinned in the corner for reference.
Select a task below to browse examples. The final tab highlights failure cases where the agent degrades the initial output of its provided tool.
Implementation
Details on the environment, the tools, the task description, and the budget
Our setup is intentionally minimal and shared across all tasks so that gains stem from the formulation rather than task-specific engineering. We run unmodified, off-the-shelf coding agents (such as Codex and Claude Code) inside isolated containers. Each task prompt specifies only the input/output format, metric, available tools, and rules, with no task-specific hints or prescribed strategies.
Execution environment
- Container
- Fresh and isolated for each sample
- Hardware
- One H100 GPU
- Inputs
- Mounted read-only
- Internet
- No access
- The agent can
- Execute arbitrary shell commands and Python code, inspect any image it reads or generates, and call the perception tools
Perception tools
- VGGT-ΩMulti-view reconstruction
- MoGe-3Monocular geometry
- GeoCalibCamera calibration
- DPV-SLAMVisual SLAM
- CoTracker3Point tracking
- AllTrackerPoint tracking
- FoundationStereoStereo matching
- SEA-RAFTOptical flow
- LightGlueFeature matching
- SAM 3Segmentation
- SAM 3D BodyHuman body mesh
- MediaPipeHand landmarks
The same models are provided for every task with their official code and pretrained weights, except SEA-RAFT, which is provided for optical flow only. The container also provides a headless renderer, COLMAP, and standard scientific Python libraries.
Task description
- Given
- The task, the input and output formats, the coordinate conventions, the evaluation metric, the available tools, and a validator that checks the output format
- Withheld
- Few-shot examples, task-specific strategies, and ground truth, which is absent from both the container and the validator
Budget
- Image and image-pair tasks
- 60 minutes
- Video tasks
- 90 minutes
- Human motion and view synthesis
- 3 hours
- At the limit
- The session is stopped, and the output it has written by then is scored
Results with four language models
We evaluate four coding agents, each backed by a different language model, across all 16 benchmark settings under the same container environment and perception tool set.
Benchmarks on which the agent is more accurate than the strongest existing method
With GPT-6 Astra, Claude Opus 5.5, or Gemini 4 Argon, our agent outperforms the strongest baseline on nearly every benchmark. In contrast, the open-weight Kimi K3.1 Pro surpasses the strongest baseline in only 5 of 16 settings, indicating that effective program search depends strongly on the reasoning capability of the underlying language model. Gains are smallest on single-view metric depth, where a single uncalibrated image offers few independent geometric cues for verifying scale hypotheses.
Accuracy on each benchmark, relative to the strongest existing method
What explains the improvement
Selecting among existing methods is not enough
Stereo matching
Optical flow
6D object pose, without boxes
strongest existingper-sample oracleagent
Even if a system had access to the three strongest existing methods and could pick the best one for every input using ground truth, it would still trail our agent in 12 of 15 settings. On stereo matching and optical flow, this per-sample oracle gains little over the strongest single model. Specialized methods tend to fail on the same hard inputs, whereas agentic inference reaches solutions that none of them can produce.
A single program per task is not enough
Fixed program, one for all inputsPPPP
Agent, one program for each inputP1P2P3P4
Could the agent simply be discovering a better task-level pipeline without adapting per input? To test this, we let the agent write a single fixed program per task using up to ten labeled examples, then apply that frozen program to all test inputs. Per-sample agentic inference outperforms this fixed program in 13 of 15 settings, with the largest margins on tasks whose failure modes vary widely across inputs (optical flow, stereo matching, camera intrinsics, and 6D object pose). While a fixed tool combination captures part of the gain, the full improvement requires adapting the inference procedure to each input.
The language model alone is not enough
Language model alone11.9
Strongest existing method26.4
Agent without learned models29.8
Agent36.0
3D point tracking, 3D-AJ, higher is better
Could the gain come from the language model's own visual knowledge alone? When GPT-6 Astra predicts outputs directly without code execution or tools, it trails the strongest baseline on 6 of 7 benchmarks and falls behind our agent on all of them. Conversely, running the agent with code execution alone (without any learned perception models) already surpasses the strongest baseline on nearly every benchmark, and adding vision tools pushes accuracy even higher. The improvement therefore comes from actively constructing and executing inference programs, rather than from the language model or vision tools in isolation.
The agent needs evidence that can identify errors
Optical flow
Relative rotation
Visual odometry
Metric depth (HAMMER)
error addederror removed, as a share of the error of the provided tool
Agentic geometric perception is less effective when the input offers few reliable signals for verifying whether a prediction is correct. Comparing final submissions against the provided tool outputs, we measure how much error the agent removes versus introduces. On 6 of 10 benchmarks, the agent refines nearly every sample while adding almost no error. On relative rotation, visual odometry, and metric depth, however, it also degrades some accurate tool predictions. In single-view metric depth, a single image provides little evidence of absolute scale, causing the agent to rescale predictions that were already accurate.
The programs connect tasks through geometry
Share of sessions that call a model built for another taskGeoCalib, built for camera calibrationRelative rotation99%
Metric depth, HAMMER97%
Metric depth, DIODE99%
FoundationStereo, built for stereo matchingStatic view synthesis100%
AllTracker, built for point trackingOptical flow57%
MediaPipe, built for hand landmarks2D tracking, EgoPoints84%
Analyzing the code executed across all sessions reveals that the agent routinely goes beyond the task-specific baseline, calling models built for other tasks and linking their outputs through classical geometry such as bundle adjustment, robust estimation, PnP, and render-and-compare verification. These cross-task compositions suggest that traditional boundaries between geometric perception tasks are more artificial at inference time than their separate formulations imply, pointing toward concrete design patterns for future vision models.
Implications and future work
Offline pseudo-labeling and distillation
Because agentic inference recovers accurate geometry on hard, in-the-wild inputs where fixed pipelines fail, such as transparent surfaces, severe occlusions, extreme viewpoint changes, and dynamic scenes, it is well suited to generating high-accuracy pseudo-labels offline. Training or fine-tuning feed-forward vision models on these pseudo-labels, or distilling recurring inference recipes discovered by the agent into reusable pipelines, offers a direct way to transfer the accuracy gains of test-time program search into low-latency models.
Improving perception agents via reinforcement learning
Our current instantiation uses off-the-shelf coding agents without task-specific training, and its accuracy varies markedly across base language models. Training open-weight agents with reinforcement learning over geometric perception tasks and execution feedback could both narrow the gap to proprietary models and reduce the number of search iterations needed per sample, lowering test-time latency and token cost.
Adaptive compute and stronger verification
Our analysis highlights two key bottlenecks. First, allocating a full search budget to every input is unnecessary when fast feed-forward baselines already suffice on routine samples. Hybrid systems that route easy inputs to feed-forward models and invoke agentic search only when uncertainty or consistency checks flag a likely failure would substantially reduce average cost. Second, as illustrated by our failure cases and single-view metric depth results, program search is less effective when the agent cannot obtain evidence that reliably distinguishes accurate hypotheses from erroneous ones. Developing calibrated verification signals, uncertainty estimators, and richer diagnostic tools is therefore an important direction for future work.
Task-specific agentic perception
In this work, we intentionally keep the harness minimal and shared across all tasks, without task-specific prompt tuning, specialized toolboxes, or custom workflows, so that the results reflect the generality of the formulation. Within each individual domain, however, there is substantial room to develop task-specific agentic systems equipped with domain-tailored tools, structured search spaces, and dedicated verifiers. Such specialization could substantially improve both accuracy and runtime efficiency in target areas such as visual SLAM, 6D object pose estimation, point tracking, and view synthesis.
Rethinking task boundaries in geometric perception
Across benchmarks, the agent routinely combines models built for different tasks through classical geometry, suggesting that isolated task-specific architectures underutilize complementary geometric cues. Studying these discovered cross-task compositions may inform the design of more unified, modular perception systems that natively integrate multi-cue reasoning and geometric verification.
References
- Jonathan T Barron, Ben Mildenhall, Dor Verbin, et al. Mip-NeRF 360: Unbounded anti-aliased neural radiance fields. CVPR, 2022.
- Alexey Bochkovskiy, Amael Delaunoy, Hugo Germain, et al. Depth Pro: Sharp monocular metric depth in less than a second. ICLR, 2025.
- Nicolas Carion, Laura Gustafson, Yuan-Ting Hu, et al. SAM 3: Segment anything with concepts. ICLR, 2026.
- Seokju Cho, Jiahui Huang, Jisu Nam, et al. Local all-pair correspondence for point tracking. ECCV, 2024.
- Ahmad Darkhalil, Rhodri Guerrier, Adam W Harley, et al. EgoPoints: Advancing point tracking for egocentric videos. WACV, 2025.
- Ilona Demler, Saumya Chauhan, Georgia Gkioxari. Is this tracker on? A benchmark protocol for dynamic tracking. NeurIPS, 2025.
- Kai Deng, Zexin Ti, Jiawei Xu, et al. VGGT-Long: Chunk it, loop it, align it – pushing VGGT's limits on kilometer-scale long RGB sequences. ICRA, 2026.
- Ilya Fradlin, Christian Schmidt, Jens Piekenbrinck, et al. ARROW: Arbitrary reconstruction and tracking of 4D observations in the wild. arXiv, 2026.
- Adam W Harley, Yang You, Xinglong Sun, et al. AllTracker: Efficient dense point tracking at high resolution. ICCV, 2025.
- HyunJun Jung, Patrick Ruhkamp, Guangyao Zhai, et al. On the importance of accurate geometry data for dense 3D vision tasks. CVPR, 2023.
- Nikita Karaev, Yuri Makarov, Jianyuan Wang, et al. CoTracker3: Simpler and Better Point Tracking by Pseudo-Labeling Real Videos. ICCV, 2025.
- Jay Karhade, Nikhil Keetha, Yuchen Zhang, et al. Any4D: Unified feed-forward metric 4D reconstruction. arXiv, 2025.
- Manuel Kaufmann, Jie Song, Chen Guo, et al. EMDB: The electromagnetic database of global 3D human pose and shape in the wild. ICCV, 2023.
- Karhan Kayan, Stamatis Alexandropoulos, Rishabh Jain, et al. Princeton365: A diverse dataset with accurate camera pose. ICCV, 2025.
- Lingyu Kong, Ruicheng Li, Ruicheng Wang, et al. Fine-Detail Monocular Geometry Estimation with Self-Guided Sparse Volumetric Refinement. NeurIPS, 2026.
- Skanda Koppula, Ignacio Rocco, Yi Yang, et al. TAPVid-3D: A benchmark for tracking any point in 3D. NeurIPS, 2024.
- Yann Labbe, Lucas Manuelli, Arsalan Mousavian, et al. MegaPose: 6D pose estimation of novel objects via render & compare. arXiv, 2022.
- Zhengqi Li, Richard Tucker, Forrester Cole, et al. MegaSaM: Accurate, fast, and robust structure and motion from casual dynamic videos. CVPR, 2025.
- Erich Liang, Roma Bhattacharjee, Sreemanti Dey, et al. InFlux: A Benchmark for Self-Calibration of Dynamic Intrinsics of Video Cameras. NeurIPS, 2025.
- Haotong Lin, Sili Chen, Junhao Liew, et al. Depth Anything 3: Recovering the visual space from any views. arXiv, 2025.
- Philipp Lindenberger, Paul-Edouard Sarlin, Marc Pollefeys. LightGlue: Local feature matching at light speed. ICCV, 2023.
- Lahav Lipson, Zachary Teed, Jia Deng. Deep patch visual SLAM. ECCV, 2024.
- Lihua Liu, Jiehong Lin, Zhenxin Liu, et al. PicoPose: Progressive pixel-to-pixel correspondence learning for novel object pose estimation. arXiv, 2025.
- Camillo Lugaresi, Jiuqiang Tang, Hadon Nash, et al. MediaPipe: A framework for building perception pipelines. arXiv, 2019.
- Junhong Min, Youngpil Jeon, Jimin Kim, et al. S²M²: Scalable Stereo Matching Model for Reliable Depth Estimation. arXiv, 2025.
- Tuan Duc Ngo, Ashkan Mirzaei, Guocheng Qian, et al. DELTAv2: Accelerating dense 3D tracking. arXiv, 2025.
- Van Nguyen Nguyen, Thibault Groueix, Mathieu Salzmann, et al. GigaPose: Fast and robust novel object pose estimation via one correspondence. CVPR, 2024.
- Jongmin Park, Minh-Quan Viet Bui, Juan Luis Gonzalez Bello, et al. SplineGS: Robust motion-adaptive spline for real-time dynamic 3D Gaussians from monocular video. CVPR, 2025.
- Zachary Teed, Jia Deng. DROID-SLAM: Deep visual SLAM for monocular, stereo, and RGB-D cameras. NeurIPS, 2021.
- Javier Tirado-Garín, Javier Civera. AnyCalib: On-manifold learning for model-agnostic single-view camera calibration. ICCV, 2025.
- Igor Vasiljevic, Nick Kolkin, Shanyi Zhang, et al. DIODE: A dense indoor and outdoor depth dataset. arXiv, 2019.
- Alexander Veicht, Paul-Edouard Sarlin, Philipp Lindenberger, et al. GeoCalib: Learning single-image calibration with geometric optimization. ECCV, 2024.
- Yihan Wang, Lahav Lipson, Jia Deng. SEA-RAFT: Simple, efficient, accurate RAFT for optical flow. ECCV, 2024.
- Jianyuan Wang, Minghao Chen, Shangzhan Zhang, et al. VGGT-Ω. CVPR, 2026.
- Yufu Wang, Evonne Ng, Soyong Shin, et al. DuoMo: Dual Motion Diffusion for World-Space Human Reconstruction. CVPR, 2026.
- Yihan Wang, Jia Deng. WAFT: Warping-alone field transforms for optical flow. ICLR, 2026.
- Hongyu Wen, Erich Liang, Jia Deng. LayeredFlow: A real-world benchmark for non-lambertian multi-layer optical flow. ECCV, 2024.
- Bowen Wen, Matthew Trepte, Joseph Aribido, et al. FoundationStereo: Zero-shot stereo matching. CVPR, 2025.
- Bowen Wen, Shaurya Dewan, Stan Birchfield. Fast-FoundationStereo: Real-Time Zero-Shot Stereo Matching. CVPR, 2026.
- Xitong Yang, Devansh Kukreja, Don Pinkus, et al. SAM 3D Body: Robust full-body human mesh recovery. CVPR, 2026.
- Jae Shin Yoon, Kihwan Kim, Orazio Gallo, et al. Novel view synthesis of dynamic scenes with globally coherent depths from a monocular camera. CVPR, 2020.
- Taegyoon Yoon, Yegyu Han, Seojin Ji, et al. EgoXtreme: a dataset for robust object pose estimation in egocentric views under extreme conditions. CVPR, 2026.
- Wenhao Yuan, Yiyuan Ge, Deli Cai. StereoGS: Sparse-view 3D Gaussian splatting via stereo priors. arXiv, 2026.
- Yiwen Zhang, Joseph Tung, Ruojin Cai, et al. Emergent extreme-view geometry in 3D foundation models. CVPR, 2026.
- Dingxi Zhang, Fangjinhua Wang, Marc Pollefeys, et al. MegaFlow: Zero-shot large displacement optical flow. ECCV, 2026.
BibTeX
@article{cho2026agentic,
title = {Agentic Geometric Perception},
author = {Cho, Seokju and Song, Chan Hee and Badki, Abhishek and Su, Hang and Wen, Bowen and Hachiuma, Ryo and Lee, Byung-Kwan and Chen, Siyi and Blukis, Valts and Yang, Chiao-An and Liu, Sifei and Birchfield, Stan and Kautz, Jan and Kim, Seungryong and Wang, Yu-Chiang Frank and Chen, Min-Hung},
year = {2026}
}