[Paper Notes] In-Context Robot Learning with VLM Agents
Published:
GPT-Policy asks how much a general-purpose vision-language model can learn at deployment time from a video, a goal image and its own execution history. The model weights stay fixed. A context compiler keeps the transitions that define a task, the VLM requests robot-tool actions, and a constrained controller converts accepted requests into motion and returns an execution result.
Dongzhou Cheng, Taoran Yi, Ye Fang, Xingwu Zhang, Fan Feng, Yixuan Li, Gengxiong Zhuang, Rongze Wang, Shuai Yang, Wei Song, Weizhi Xue, Minyan Wu, Jie Gui, Jiaqi Wang and Tong Wu. arXiv:2609.19138v1, September 16, 2026 · Code · Project page
Adaptation as a context problem
At decision step $t$, the policy receives an instruction $T$, the current image and robot state $o_t=(I_t,s_t)$, available context $c_t$, and the previous tool result $f_{t-1}$. It samples an action $a_t=(u_t,v_t)$, where $u_t$ names a tool and $v_t$ supplies its arguments:
\[a_t\sim\pi_\theta(\cdot\mid T,c_t,o_t,f_{t-1}), \qquad (o_{t+1},f_t)=\mathcal E(a_t,o_t).\]The parameters $\theta$ remain fixed. The execution interface $\mathcal E$ can accept, reject or interrupt a request, so the next decision can use information the model did not have when it proposed the action. This loop separates semantic decisions from geometry and timing. The VLM selects an object or a motion target; the adapter handles coordinate transforms, inverse kinematics, bounds and measured execution status.
Keeping the task in a finite context
The context compiler selects keyframes around approach, contact, grasp, release and changes in bimanual support. Appendix C describes candidate selection inside overlapping video windows followed by a global pass that removes redundant holds. A reference is capped at 24 keyframes and 48 images, each within 1,280 pixels per side without upscaling. Images are interleaved with timestamps, camera labels and available stage annotations.
That compression keeps procedure visible without replaying the whole video on every request. It also introduces a design choice: the compiler must know which transitions matter. A smooth segment may consume no images, while a brief contact event may deserve several. The paper evaluates this trade-off through context ablations, but the compiler itself remains part of the system and cannot be treated as a neutral token-saving layer.
From a tool request to a timed trajectory
The VLM can ask for end-effector motion, gripper changes or a planned Cartesian path. The controller then solves inverse kinematics, checks the requested target, schedules execution and reports the realized result. Motion duration can depend on distance. Bimanual movement is planned independently and synchronized to the longer side, with streaming joint references at 100 Hz on the I2RT/YAM setup.
The checks control the sampled reference; they do not guarantee the final physical outcome. The Cartesian planner does not perform collision checking. The paper reports repeated dual-arm collisions and calls for a separate safety layer. Reaching a commanded pose also does not prove that a plug seated correctly or that an object remains held. These distinctions matter when interpreting a successful tool call as a successful task transition.
What controlled comparisons show
The clearest evidence comes from small real-robot comparisons, each condition repeated three times.
| Task | Context | Successes |
|---|---|---|
| Pick up a red towel | No demonstration | 0/3 |
| Pick up a red towel | Human video | 2/3 |
| Pick up a notebook | No demonstration | 0/3 |
| Pick up a notebook | Human video | 2/3 |
| Fasten a bottle cap | Robot video | 2/3 |
| Fasten a bottle cap | Robot video + action records | 3/3 |
| Remove and reinsert a plug | Robot video | 0/3 |
| Remove and reinsert a plug | Robot video + action records | 2/3 |
Human video has no robot action labels, so the towel and notebook results support transfer from visual procedure to physical behavior. The plug task exposes a harder boundary: watching the motion alone produced no successes in these trials, while aligned numerical references improved completion to two of three. That evidence supports the authors’ argument that contact-sensitive tasks benefit from state and action records, but three trials per condition leave uncertainty around each rate.
The remaining six tasks reached 3/3 in their selected context conditions, including goal images, self-history, human interaction and pointing at fruit. The paper does not report matched no-context controls for all of them, so those successes show capability without isolating which part of the context caused it. Table 2’s single-run progress comparisons cover a different statistic from the multi-trial success rates and are not enough to rank models.
Deployment details and limits
The public repository exposes input preparation, protocols, planning, recording and adapters under src/gpt_policy/. Published hardware integrations cover ARX X5 and I2RT/YAM; the paper also describes Morphi Kino. The release omits on-site calibration, full demonstration recordings, run logs and the complete evaluation environment.
Contact, completion verification, collision handling and long-horizon reliability remain the main open problems. The VLM can interpret the scene and request an action, while precise physical execution still depends on the controller and a safety layer that the paper says is missing. For follow-up work, I would hold the keyframes and annotations fixed, add measured state and command records one at a time, and test whether the gains survive new layouts. A second experiment should compare direct VLM pose requests with a local contact controller that returns explicit grasp or insertion evidence.
