Crimson AI NewsA CrimsonLingua Network service
EN ع
← Back to news
Research paper Hugging Face

Hugging Face Unveils Code-as-World: Executable Code as a New Paradigm for Physical Reasoning in AI

AI By Crimson AI Hugging Face Papers 31 August 2026 · 00:00 18 views
Share: X Telegram

Researchers at Hugging Face introduce Code-as-World, a paradigm that represents physical environments as executable code, enabling quantitative reasoning and scalable supervision for vision-language models. The approach achieves state-of-the-art performance on the QuantiPhy benchmark, surpassing leading proprietary models.

Hugging Face Unveils Code-as-World: Executable Code as a New Paradigm for Physical Reasoning in AI

Key points

Physical understanding in AI has long been limited by the gap between pixel-level observations and the underlying mechanisms that govern the world. While modern vision-language models can describe physical events, they often lack explicit representations of object states, physical parameters, and dynamics needed for reliable reasoning. A new paper from Hugging Face, titled "Code as Worlds: Agentic Discovery of Executable World Representations for Physical Reasoning," proposes a solution by representing physical worlds as executable code.

The paradigm, called Code-as-World, expresses physical composition, dynamic evolution, and visual appearance as executable code, providing a compact, quantitatively grounded, and controllable abstraction of the physical world. To construct these representations from multimodal observations—such as natural language descriptions or real-world videos—the researchers developed an agentic discovery loop inspired by abductive reasoning. This loop involves proposing, executing, rendering, verifying, and iteratively refining executable world hypotheses.

As a concrete application, the team used verified executable worlds to provide scalable physical supervision for training vision-language models on quantitative physical reasoning tasks. The resulting model, Code-as-World-VL, achieved state-of-the-art performance on the QuantiPhy benchmark, surpassing leading proprietary models. This highlights the potential of executable world representations as a scalable foundation for physical intelligence.

The authors emphasize that "pixels are evidence of the physical world, not its ontology," arguing that pixel-level observations record appearance but not structure or dynamics. Code-as-World turns raw observations into reusable physical data—explicit states, dynamics, and mechanisms—capturing not only what was seen but the underlying world that could have produced it.

Source
Hugging Face · Hugging Face Papers
Related news
Research paper
Hugging Face 15 Oct 2026

New Survey Maps How Multimodal AI Agents Remember and Evolve

A Hugging Face survey proposes a two-axis framework for multimodal agent memory, separating how information is formed and represen...

9
Research paper
Hugging Face 15 Oct 2026

CriticOPD Fixes On-Policy Distillation by Letting Teachers Critique Student Errors

Hugging Face researchers introduce CriticOPD, a method that restores the teacher's ability to recover from student mistakes during...

9
Research paper
Hugging Face 15 Oct 2026

ActionOPD: Distilling Agent Decisions, Not Tokens

A new Hugging Face paper proposes ActionOPD, an action-level on-policy distillation method that aligns a student agent's decisions...

10