Research & Papers

Researchers' AI agents teach themselves to write code for image-based tasks

AI models now write their own algorithms to solve complex visual problems without human input...

Deep Dive

A team of researchers from institutions including Georgia Tech and Tencent AI Lab has developed a system where AI models autonomously write and debug their own code to solve complex image-based reasoning tasks. Called self-evolving code-with-image reasoning, the approach eliminates the need for human-crafted algorithms by having models implement visual algorithms directly in Python, using nothing but a code interpreter.

The method works through a training-free reflection loop where models study their own failed attempts, test repairs against ground truth, and retain successful implementations as portable skills. When evaluated on the new Code-with-Image Bench (CwI-Bench) - which contains 30 task families requiring hidden visual computations - the technique dramatically improved performance. For GPT-5.6-luna, accuracy increased from 30% with tool-free chain-of-thought to 43% with just an interpreter, and 67% with evolved executable skills. The 27B open model followed the same progression (9% → 33% → 56%), demonstrating that the evolved skills are text-based and transferable across model scales and task families.

Key Points
  • Researchers from 8 institutions developed a training-free system where AI agents write Python code to implement visual algorithms for solving image-based tasks
  • On CwI-Bench with 30 task families, GPT-5.6-luna's accuracy improved from 30% to 67% using the self-evolving method
  • The 27B open model showed similar gains (9% → 56%), with skills being plain text and transferable across scales

Why It Matters

This breakthrough enables AI to autonomously develop and debug visual algorithms, reducing reliance on human-crafted solutions for complex image reasoning tasks.

📬 Get the top 10 AI stories daily