跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2611.40817 · v1

CodingDINO: Learning to Represent What We See as Code with Agentic Reinforcement Learning

首次提交 2026-11-30 17:53
版本更新 2026-11-30 17:53
雷达观测 2026-12-01 14:28
arXiv ↗PDF ↗

摘要

Representations matter. Frontier LLMs increasingly solve complex tasks by writing and executing code, raising the question of how visual inputs can be represented in the same medium. Reconstructing images and videos as executable programs makes appearance, geometry, and temporal dynamics explicit, yielding compositional representations that LLMs can directly inspect, reason over, and edit. Existing vision-to-code methods largely emphasize single-pass generation or inference-time refinement, leaving a gap between using visual feedback and learning from it. We introduce CodingDINO, a unified agentic reinforcement learning (RL) framework for learning internal visual representations through code-based reconstruction. Inspired by DINO, our approach uses observation-to-render consistency as a general learning principle across 2D and 3D images and videos. A unified harness executes and renders SVG, HTML, Three.js, Blender, and animation programs, returning visual renders alongside execution diagnostics. Starting from supervised fine-tuning on verified teacher trajectories, multi-turn RL trains the agent to write, render, inspect, and revise code in this harness. Each trajectory is rewarded by execution validity and visual consistency with the target, measured using frozen DINO features and relative depth. Across six image-to-code and video-to-code benchmarks, CodingDINO rivals frontier LLMs such as Opus 5.5 and GPT-6 Astra, ranking first on 10 of 12 headline metrics and in the top three on 10. With no rendering feedback at all, its single-pass variant CodingDINO-Single retains 85.4% of this quality on average. These results position code-based reconstruction as a route to learning reusable internal visual representations, extending DINO's representational ambition to language models that reason and act through code.

作者备注:27 pages, 9 numbered figures, including appendices. Project page: https://skywalker-yqz.github.io/CodingDINO/ Code: https://github.com/Skywalker-yqz/CodingDINO Model: https://huggingface.co/Skywalker0410/CodingDINO

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

目前只收录了一个版本。收录下一版后,可以对照标题、作者、分类和摘要。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v1 · 2026-11-30 17:53 · 最新观测版本

CodingDINO: Learning to Represent What We See as Code with Agentic Reinforcement Learning

Representations matter. Frontier LLMs increasingly solve complex tasks by writing and executing code, raising the question of how visual inputs can be represented in the same medium. Reconstructing images and videos as executable programs makes appearance, geometry, and temporal dynamics explicit, yielding compositional representations that LLMs can directly inspect, reason over, and edit. Existing vision-to-code methods largely emphasize single-pass generation or inference-time refinement, leaving a gap between using visual feedback and learning from it. We introduce CodingDINO, a unified agentic reinforcement learning (RL) framework for learning internal visual representations through code-based reconstruction. Inspired by DINO, our approach uses observation-to-render consistency as a general learning principle across 2D and 3D images and videos. A unified harness executes and renders SVG, HTML, Three.js, Blender, and animation programs, returning visual renders alongside execution diagnostics. Starting from supervised fine-tuning on verified teacher trajectories, multi-turn RL trains the agent to write, render, inspect, and revise code in this harness. Each trajectory is rewarded by execution validity and visual consistency with the target, measured using frozen DINO features and relative depth. Across six image-to-code and video-to-code benchmarks, CodingDINO rivals frontier LLMs such as Opus 5.5 and GPT-6 Astra, ranking first on 10 of 12 headline metrics and in the top three on 10. With no rendering feedback at all, its single-pass variant CodingDINO-Single retains 85.4% of this quality on average. These results position code-based reconstruction as a route to learning reusable internal visual representations, extending DINO's representational ambition to language models that reason and act through code.

查看此版本解读 →查看此版本原文 ↗