XPENG ROBOTICSRESEARCH PROJECT

EviPilot /

From visual questions
to execution.

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.

Explore a trajectory Read paper PDF arXiv
Zhe Hu1,2, Rui Jiang2, Ying Chen2,*, Zhifeng Gu1,2, Chunyu Sun2, Weizhen Li2, Lei Yi2, Wenwei Zhang2, Jing Li1,*, Yixiao Ge2

1 The Hong Kong Polytechnic University · 2 XPENG Robotics

Learn to use evidence through code.
Then transfer to closed-loop execution.

01

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.

02

Agentic post-training

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.

03

Frozen-policy transfer

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.

Follow the evidence,
step by step.

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

One harness for learning
and embodied execution.

A persistent Python workspace connects visual tools, computation, and feedback. At deployment, environment adapters add native actions and new observations.

EviPilot method overviewThe original three-column Figure 2: Code-based Harness, Agentic Post-training, and Closed-loop Transfer.

Code-based Harness

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.

Agentic Post-training

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.

Closed-loop Transfer

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.

Learn evidence use from visual questions.

Cold-start SFT teaches evidence-use procedures; agentic GRPO refines them through live tool execution and verifiable answer rewards.

Training data composition Seven task families: spatial and scene reasoning 37.54 percent, viewpoint reasoning 19.49 percent, grounding and affordance reasoning 16.10 percent, temporal and action reasoning 13.54 percent, general visual question answering and reasoning 6.02 percent, metric estimation 5.67 percent, and area estimation 1.63 percent.
Visual-question training pool Shared source pool for SFT and GRPO
STAGE 1 · COLD-START SFT 24.4K answer-verified teacher traces

Learn from verified trajectories.

Supervise reasoning, code, and answers from successful teacher traces, including error recovery. Tool feedback stays in context but is excluded from the loss.

21,288 clean
codeevidenceanswer✓
3,117 recovery
missfeedbackrevise✓
STAGE 2 · AGENTIC GRPO 16K visual questions

Refine evidence use with outcome rewards.

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.

same question
answerr₁
code · feedback · answerr₂
code · feedback · revise · answerr₃
3 of 8 rollouts shown · illustrative rewards
01Fixed visual inputNo environment-action demonstrations or simulator rollouts in QA post-training.
02Live code + feedbackCode runs against visual tools; returned evidence conditions the next model turn.
03Frozen-policy transferOn VIGIL and EmbodiedBench, the model acts on new observations without parameter updates.

Learning to use evidence
improves reasoning and execution.

CITATION

Cite EviPilot.

Use the official arXiv citation for this work.

View on arXiv
@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}
}