Robots run on plain Python code from GPT-6.1 succeed twice as often as pi0.5

A coding agent turned 50 recorded demonstrations per task into plain Python robot programs. On real robots and the RoboTwin 2.0 benchmark, they beat neural policies on average.

5 min readIIBenchmarkedPreprint, not peer reviewed
Save
An overhead still-life shot of tied index cards, tangled thread, and a wooden block with a blue peg.AI illustration
Illustration: AI generated

What the study shows

Robots usually learn tasks from demonstrations through neural networks, software that learns patterns from data and is hard to inspect. This preprint, from Columbia University and the University of Illinois Urbana-Champaign, tries something else. It has not been peer reviewed.

The authors give a coding agent, a large language model that writes software, about 50 recorded demonstrations of one task. They used OpenAI's GPT-6.1 Sol, and GPT-6.2 Sol for three harder tasks. The agent writes a Python program in three parts: what to look at in the camera image, which motion to make, and which stage of the task the robot is in.

The programs use only classical image processing, such as colour filters, template matching and tracking of movement between frames. Motions are fitted to the demonstrations with simple statistics. No neural network runs while the robot works. Each call takes under 19 milliseconds on a desktop processor.

On 15 real-robot tasks, tested 20 times each from the same starting positions, the programs succeeded 84.7% of the time on average. π0.5, a large vision-language-action model (one that maps camera images and instructions to robot actions), scored 41.7% after the authors fine-tuned it on the same demonstrations. The programs matched or beat it on every task.

The gap was widest on precise tasks, such as pushing a narrow pin into a small hole, and on tasks that need memory. One memory task asks the robot to find the cup hiding a ball after a person shuffles three cups.

On the public RoboTwin 2.0 simulation benchmark, across all 50 tasks in its standard clean setting, the programs averaged 78%. π0.5 averaged 71% on the official leaderboard, and older neural methods scored lower. The programs were not better everywhere: π0.5 won on 18 of the 50 tasks.

Our reading

In our reading, the main point is not that neural networks are obsolete. It is that a strong coding agent can do much of the engineering a robotics team would once have done by hand. It picks visual cues, fits motions and writes the task logic, and the result is small enough to read. The median program on RoboTwin was about 320 lines.

The real-world comparison is striking but narrow. It uses one baseline, tuned by the authors, and 20 trials per task. The benchmark comparison is looser still. The leaderboard models used different cameras and a different way of commanding the arm, and π0.5 was trained on all 50 tasks at once.

On our readiness scale this sits at level II, benchmarked. The paper reports public RoboTwin 2.0 results. It points to a project page, but we found no linked release of code, generated programs or data, so level III is not yet met.

Free membership

Read the rest of this story

Membership is free. You get every article in full, and can save stories and follow topics.

We send a sign-in link, no password needed. Already a member? Sign in

Readiness assessment

II
Benchmarked
LevelStatusEvidence
I  Lab onlyMetThe method is described and tested on 16 real-world tasks across three robot setups (ALOHA, YAM, xArm) in the lab.
II  BenchmarkedMetThe paper reports results on all 50 tasks of the public RoboTwin 2.0 benchmark using the official 100 test seeds: 78.24% average, compared with leaderboard baselines.
III  Open sourceNot yetThe paper gives a project page and mentions that the instruction files are 'available in the repository'. However, it gives no link to released code, generated programs or demonstration data.
IV  In productionNot yetThere is no documented use by any named organisation outside research labs.

What would move it up
A public release of the framework code, the task-agnostic prompt files and the generated policy programs, ideally with the demonstration datasets. This would meet level III. Independent reproduction with other coding agents would also strengthen the case.

The study

Hanxiao Jiang, Chenhao Hong, Qinxi Yu et al. Pixel Code Policy: Discovering Simple Visuomotor Programs from Demonstrations. arXiv, 30 November 2026. arXiv:2611.40331

Preprint, not peer reviewed · Licence arXiv (no reuse) · Columbia University, New York · University of Illinois Urbana-Champaign, Urbana

Badge for this study

Notes

  1. Jiang, Hong, Yu, Gong, Wang and Li. Pixel Code Policy: Discovering Simple Visuomotor Programs from Demonstrations. arXiv preprint, 30 November 2026. Source
  2. Project page. The paper mentions a repository for the prompt files but gives no direct code link. Source
  3. Real-world means: 84.7% for the programs against 41.7% for π0.5 over 15 tasks, 20 trials each. Precision tasks: 81% against 24%. Memory tasks: 91% against 34%.
  4. RoboTwin 2.0 Clean-to-Clean means over 50 tasks: programs 78.24%, π0.5 70.66%, DP3 55.24%, ACT 29.74%, Diffusion Policy 28.04%. Programs better on 28 tasks, tied on 4. Source
  5. Readiness: level II, benchmarked. Public benchmark results reported; no released code or weights found.

Edited and signed by

Stefan PerdalFounder. Twenty-five years of building digital products.234 stories edited

Stefan read the study, set the readiness level and approved this story. An AI system found the paper and wrote the first draft.

How this was made

An AI model read the study and wrote this article in the structure Science Underway uses. An editor reviewed it and approved it for publication. Check the original study before you rely on the details.

No corrections to this article. Found an error? Report it.

More on Robotics