Code-based evidence use
A persistent Python kernel retains variables and intermediate results across turns. The agent writes code to compose visual tools, reuse their outputs, and verify evidence through multiple steps.
EviPilot /
Learning Embodied Agents via Evidence-Grounded Agentic Post-Training
EviPilot learns when and how to use visual evidence through live Python interaction on fixed-input visual questions. The trained policy then transfers to closed-loop embodied tasks without environment-specific post-training.
THE CENTRAL IDEA
A persistent Python kernel retains variables and intermediate results across turns. The agent writes code to compose visual tools, reuse their outputs, and verify evidence through multiple steps.
Cold-start SFT initializes tool use. Agentic GRPO then builds on the model’s coding ability through a code–execution–feedback loop on visual questions, guided by verifiable answer rewards.
The QA-trained policy uses the same harness to act, re-observe, and verify fresh evidence in VIGIL and EmbodiedBench, with frozen parameters and no environment-specific post-training.
RECORDED EVALUATION TRAJECTORIES
Selected successful trajectories from 12 visual benchmarks and three closed-loop environments. Inspect how evidence is acquired, used, and revised; exploratory turns are abridged.
A SHARED CODE-BASED HARNESS
A persistent Python workspace connects visual tools, computation, and feedback. At deployment, environment adapters add native actions and new observations.
A VLM writes code and inspects feedback across multiple turns in one persistent Python kernel. Regions, masks, scene, and evidence persist and are reused. Python-callable tools include Localize, Segment, Reconstruct, and Geometry.
Verified teacher traces provide cold-start SFT. Agentic RL with GRPO samples code, feedback, and answer trajectories, scored by a verifier against the reference answer. The visual input remains the same throughout each rollout.
The trained EviPilot transfers with frozen parameters to VIGIL and EmbodiedBench. Observations lead to VLM and Python computations, environment actions, and new observations or tool feedback. The same code-based harness is used without environment-specific post-training.
HOW THE POLICY LEARNS
Cold-start SFT teaches evidence-use procedures; agentic GRPO refines them through live tool execution and verifiable answer rewards.
Supervise reasoning, code, and answers from successful teacher traces, including error recovery. Tool feedback stays in context but is excluded from the loss.
Compare eight live rollouts per question using answer and protocol rewards. The policy chooses whether and how to use tools; no optimal tool sequence is prescribed.
BENCHMARK RESULTS
CITATION
Use the official arXiv citation for this work.
@misc{hu2026visualquestionsexecutionlearning,
title={From Visual Questions to Execution: Learning Embodied Agents via Evidence-Grounded Agentic Post-Training},
author={Zhe Hu and Rui Jiang and Ying Chen and Zhifeng Gu and Chunyu Sun and Weizhen Li and Lei Yi and Wenwei Zhang and Jing Li and Yixiao Ge},
year={2026},
eprint={2612.05163},
archivePrefix={arXiv},
primaryClass={cs.RO},
url={https://arxiv.org/abs/2612.05163}
}