Latest / Daily Paper Cast / Self-Evolving Coding Agents: From Digital Programs to Physical-World Intelligence
Transcript
- 0:03Evan: Welcome to Daily Paper Cast.
- 0:05Ashley: Today's paper is from the Hugging Face daily paper list of September 29, 2026, and it has received 41 upvotes.
- 0:14Evan: The paper is titled 'Self-Evolving Coding Agents: From Digital Programs to Physical-World Intelligence.'
- 0:21Ashley: The first two authors are Hongcheng Gao and Jingjing Zhou, and the corresponding author is Xiao He from hexafuture.ai.
- 0:29Evan: Alright, Ashley, let's dive into the introduction.
- 0:32What's the background and objective of this paper?
- 0:35Ashley: Evan.
- 0:36The authors start by discussing Vision-language-action and world-action models, which map observations and instructions directly to robot actions.
- 0:45The direct link between observations and actions in these models can cause failures when there are minor layout or viewpoint changes.
- 0:53Due to this, instructions also tend to generalize poorly.
- 0:56Evan: So the models struggle with adapting to new environments?
- 1:00Ashley: Exactly.
- 1:01The problem lies in how task requirements, conditions, progress, and failure recovery are implicitly encoded in action sequences.
- 1:09This makes them difficult to inspect or revise.
- 1:11Previous models, like the QwenGR00T policy, show high success rates when scenes determine the task, but they lose efficiency if viewpoint changes or object layout is perturbed.
- 1:23Evan: That sounds like a significant limitation for real-world applications.
- 1:27Ashley: Certainly.
- 1:28The authors propose a new paradigm called Physical Coding, which represents task state and execution as code.
- 1:35This is inspired by digital coding agents, like large language models that call tools, verify results, and revise based on feedback.
- 1:44By using this approach, the authors aim to bring more generalization and long-horizon execution capabilities to physical-world interactions.
- 1:52Evan: Interesting.
- 1:53How exactly does Physical Coding work?
- 1:56Ashley: Physical Coding includes two main components: Code as World and Code as Policy.
- 2:01Code as World represents task-relevant objects, relations, constraints, observations, and progress predicates.
- 2:09Code as Policy organizes planning, action execution, verification, and recovery procedures.
- 2:16Evan: So, it's like creating a comprehensive blueprint for task execution in the physical environment.
- 2:22Ashley: Precisely.
- 2:23The authors build HexaAnything, an agent that integrates perception, planning, and control tools using this coding paradigm.
- 2:30HexaAnything can make in-the-loop decisions from external feedback and call tools, including vision-language-action and world-action models.
- 2:38Verified traces of its actions become data and memory, enabling evolution from tools and Harness to model weights, architectures, and ultimately hardware and task designs.
- 2:49Evan: Sounds promising.
- 2:50And what are the key contributions of this paper?
- 2:53Ashley: The paper makes several noteworthy contributions.
- 2:56First, it formulates Coding Agents for the Physical World and introduces Physical Coding as an executable interface between physical state, action, evidence, and revision.
- 3:07Second, it develops HexaAnything to integrate language models, state observation, verifiers, and action tools into a unified physical execution loop.
- 3:16Third, it provides evidence for Harness, data, model, and tool improvement on long-horizon manipulation tasks.
- 3:23Last, it shows on the PhyBench simulated laboratory benchmark that the same Harness autonomously completes scientific experiments, demonstrating a path toward broader self-evolution.
- 3:34Evan: That's an impressive range of contributions.
- 3:37It sounds like this method could significantly impact how robots interact with and adapt to their environment.
- 3:43Ashley: Indeed, it does.
- 3:45And that's the end of the Introduction section.
- 3:49Evan: Alright, Ashley, let's delve into the methods discussed in the paper.
- 3:53How do the authors implement this Physical Coding paradigm?
- 3:57Ashley: Sure, Evan.
- 3:58The authors present HexaAnything, a physical coding agent that integrates state observation, task planning, action tools, verification, recovery, and feedback collection into a unified execution loop.
- 4:10This allows the agent to interact with both simulated and physical environments recursively.
- 4:16Evan: What exactly does this unified execution loop involve?
- 4:20Ashley: The execution loop is organized around two main representations: Code as World and Code as Policy.
- 4:26These two components work together to bridge the gap between digital coding and physical execution.
- 4:31Code as World records the task-relevant state such as objects, relations, constraints, observations, and progress predicates.
- 4:39Code as Policy organizes the planning, tool calls, action execution, verification, and recovery processes.
- 4:46Evan: It sounds like these components are laying the foundation for task execution in the physical world.
- 4:52Ashley: Exactly.
- 4:53Let's break down how they work.
- 4:55Code as World creates an executable account of the physical world, representing the state of objects, relationships, constraints, and observations.
- 5:03It stores information from images, depth sensors, proprioception, and tool outputs.
- 5:08The idea is that these entries can be updated incrementally as the agent re-observes the scene, making the representation dynamic and adaptable.
- 5:17Evan: So it’s proactive in adjusting its own understanding of the environment?
- 5:20Ashley: Yes, it is.
- 5:22For instance, if a robot observes an object in a new location or a change in its state, Code as World updates this information rather than overwriting it, ensuring that failures or changes are visible for inspection.
- 5:35Evan: And what about Code as Policy?
- 5:37How does it function within this framework?
- 5:40Ashley: Code as Policy represents how the agent acts within the world.
- 5:43It comprises plans, tool calls, actions, verification steps, and recovery procedures.
- 5:50The policy consists of nodes that observe, act, verify, branch, loop, and recover based on the world state described.
- 5:58Each node is typed, meaning that proposed workflows can be statically checked before they are executed.
- 6:03Evan: Typed nodes sound like they add a layer of robustness to the execution process.
- 6:08Ashley: Indeed.
- 6:09This structure allows the agent to make decisions dynamically, like interrupting actions, retrying, re-observing, or stopping altogether based on the evaluation outcomes.
- 6:20The agent evaluates predicates from Code as World to decide the next steps, ensuring actions align with observed evidence.
- 6:27Evan: How does HexaAnything handle verification and recovery?
- 6:32Ashley: Verification is integral to the HexaAnything framework.
- 6:35The system verifies predicates of the world program, such as checking if objects are inside a container or if conditions are met.
- 6:43It uses independent verification mechanisms to avoid self-confirming biases, ensuring that the feedback loop is grounded in observable facts and not just model predictions.
- 6:53Evan: Interesting.
- 6:54And how does recovery work?
- 6:56Ashley: Recovery involves handling failed actions, such as missed grasps or stalled tasks.
- 7:02If an error or ambiguity is detected, the agent can initiate retries, re-observations, or apply local recovery edits.
- 7:09The recovery procedures are designed to ensure safe and productive error handling, allowing the system to adapt and proceed despite setbacks.
- 7:17Evan: This must make HexaAnything quite adaptable in dynamic environments.
- 7:22Ashley: Definitely.
- 7:23It allows the agent to accumulate data and learning signals through verified execution traces, updating its memory and improving the model incrementally.
- 7:31This architecture is crucial for enabling the agent to self-evolve.
- 7:36Evan: What about the practical setup of HexaAnything?
- 7:38How is it implemented physically?
- 7:40Ashley: HexaAnything is implemented on a dual-arm AgileX PiPER-X robot setup.
- 7:46This includes two 6-DoF arms with parallel-jaw grippers, RGB-D cameras, and a high-rate proprioception system.
- 7:53Tools, perception, and planning models run on off-board GPUs, with the foundation model accessed via an API.
- 8:01Human interventions, such as task specifications or tool operations, share the same programming interfaces as the agent, ensuring consistency in protocol.
- 8:10Evan: That's a comprehensive setup.
- 8:12How do HexaAnything's tools evolve over time?
- 8:15Ashley: Tools evolve through the agent’s ability to revise and improve them.
- 8:19For instance, in the RoboDojo benchmark, HexaAnything revises tools like grasping and placing based on feedback from failed trials, making incremental improvements tested in subsequent rounds.
- 8:31This process ensures that tools become progressively more efficient and reliable.
- 8:36Evan: And what about its performance in different benchmarks?
- 8:39Ashley: On RoboCasa365, HexaAnything improves success rates impressively, especially in Composite-Unseen tasks.
- 8:47It also demonstrates significant improvements across various tasks in the RoboDojo benchmark by revising tools and workflows iteratively.
- 8:54Furthermore, HexaAnything autonomously completes scientific experiments in the simulated PhyBench laboratory, demonstrating its ability to adapt across different domains.
- 9:04Evan: How does HexaAnything's recursive model–Harness–environment loop contribute to its evolution?
- 9:11Ashley: This loop facilitates continuous self-improvement.
- 9:15The agent collects execution evidence, updates artifacts based on diagnostics, and verifies these updates through independent evaluation.
- 9:23Successful improvements are admitted and stored as reusable records, whereas unsuccessful modifications are rejected and used as counterexamples for further refinement.
- 9:32This ensures that HexaAnything evolves in a controlled and traceable manner.
- 9:36Evan: Well, Ashley, that covers the methods they used in this study.
- 9:40We now have a solid understanding of how HexaAnything functions and evolves.
- 9:45It's fascinating to see how comprehensive and adaptive this approach is.
- 9:49Ashley: Indeed.
- 9:50That's the end of the Method section.
- 9:54Evan: Ashley, let's move on to the experiments and results.
- 9:58How did the authors test the effectiveness of HexaAnything?
- 10:02Ashley: The authors conducted a series of experiments to evaluate HexaAnything on multiple benchmarks.
- 10:07They started with RoboCasa365, which measures task success across different splits: Atomic-Seen, Composite-Seen, and Composite-Unseen.
- 10:17They used XR-1, a state-of-the-art Vision-Language-Action model, as the action tool called within HexaAnything.
- 10:24Evan: Interesting.
- 10:25What kind of improvements did they observe?
- 10:28Ashley: HexaAnything showed substantial improvements across the board.
- 10:31For the Composite-Unseen split, it raised success rates from 34.3% to 38.3%.
- 10:38For Composite-Seen, it improved from 54.8% to 61.5%, and overall, success rates increased from 56.6% to 61.1%.
- 10:49These gains were achieved by integrating HexaAnything's state observation, planning, and verification capabilities with the VLA.
- 10:57Evan: That’s impressive.
- 10:59Did they provide any specific case studies within these experiments?
- 11:02Ashley: Yes, they provided detailed case studies.
- 11:05For instance, in the LoadKebabSandwich task, the native XR-1 sometimes closed the oven door after placing only one ingredient, leaving the other ingredient outside.
- 11:15HexaAnything, however, verified the presence of both ingredients before closing the door, resulting in higher success rates.
- 11:23Evan: So, verification and recovery processes really make a difference here.
- 11:28Ashley: Exactly.
- 11:29The authors also noted that extending the action budget for XR-1 didn't improve its native performance, indicating that HexaAnything's execution loop itself was responsible for the observed gains.
- 11:41Evan: What about the tool and model improvements?
- 11:44Did HexaAnything undergo any evolution based on these experiments?
- 11:48Ashley: Indeed, it did.
- 11:49HexaAnything underwent tool evolution in the RoboDojo benchmark.
- 11:53Specifically, they tested three tasks: Fold cloth, Pour vase, and Press by number.
- 11:59After iterative tool revisions guided by agent diagnostics, success rates significantly improved, reaching up to 100% for some tasks.
- 12:07For example, in Fold cloth, successive revisions added features like pinch mode for thin layers and synchronized dual-arm transport, improving from 0% to 80% success rates.
- 12:18Evan: It sounds like HexaAnything adapts and evolves well within these benchmarks.
- 12:22Ashley: Moreover, they trained a new model, HexaModel v0.1, using data returned from the Harness.
- 12:29This new model showed better performance across all splits in RoboCasa365 compared to its base model.
- 12:36For instance, success rates on Composite-Unseen improved from 37.3% to 39.5%.
- 12:43Evan: That’s an incremental yet substantial improvement.
- 12:47Did they test it in any other settings apart from these benchmarks?
- 12:51Ashley: They also evaluated it in PhyBench, a simulated laboratory designed for scientific experiments.
- 12:57Here, HexaAnything autonomously conducted tasks like estimating spring constants and gravitational acceleration, achieving mean relative errors below 5%.
- 13:08This showcased its ability to design, execute, and analyze scientific experiments effectively.
- 13:14Evan: Can you give an example of one of these experiments?
- 13:18Ashley: Sure.
- 13:19In the Hooke’s law experiment, HexaAnything placed weights on a spring-supported tray and read measurements from a visual ruler.
- 13:26It then fit these measurements to estimate the spring constant.
- 13:29The system achieved a relative error of just 1.4% against the reference value, executing the entire process autonomously from planning to analysis.
- 13:39Evan: That's very precise.
- 13:41What about its real-world performance?
- 13:43Ashley: HexaAnything was deployed on an AgileX PiPER-X dual-arm robot for real-world tasks.
- 13:49In these deployments, HexaAnything successfully performed tasks like unscrewing bottle caps and playing tic-tac-toe.
- 13:55Remarkably, it completed these tasks significantly faster than previous models, taking advantage of its modular and iterative improvement capabilities.
- 14:04Evan: So HexaAnything not only performs well in simulation but also demonstrates strong real-world applicability.
- 14:12Ashley: Exactly.
- 14:12The combination of simulated and real-world testing provides robust validation for HexaAnything's capabilities.
- 14:19It effectively uses the recursive model–Harness–environment loop to evolve and improve continually.
- 14:25Evan: That's a solid overview of the experiments and results.
- 14:29It's fascinating to see how HexaAnything evolves and adapts to both simulated and real-world environments.
- 14:35Ashley: Indeed.
- 14:36That concludes the Experiment section.
- 14:40Evan: Ashley, let's explore how this work fits into the broader landscape of research.
- 14:46What related work do the authors discuss in their paper?
- 14:49Ashley: The authors organize the related work into several key areas that lay the groundwork for their approach.
- 14:54They start by discussing action models, specifically Vision-Language-Action, or VLA, and World-Action Models, or WAM.
- 15:03Evan: What are these models and why are they important?
- 15:07Ashley: VLA models map visual observations and language instructions to robot actions.
- 15:12These models often generalize poorly due to minor changes in scene layout or viewpoint, as we mentioned earlier.
- 15:18The authors reference models like QwenGR00T, noting that their performance drops significantly with slight perturbations in object layout, highlighting a structural limitation.
- 15:29Evan: So, they pointed out the shortcomings of existing models to set the stage for their new approach.
- 15:35Ashley: Precisely.
- 15:36The authors argue that instead of another action primitive, the missing capability is an interface that makes task state, execution, and feedback explicit.
- 15:45They draw inspiration from digital coding agents, like large language models that execute code and revise from feedback.
- 15:53Evan: Interesting.
- 15:54What does the paper say about Code as Policy and Code as World?
- 15:58Ashley: Code as Policy emerged from earlier work where language models wrote Python programs to control robots.
- 16:04These programs were compositional, executable, and verifiable but showed dependence on human-designed abstractions.
- 16:12This dependence was termed 'designer scaffolding.'
- 16:15Evan: I see.
- 16:16So the authors are building on that foundation but pushing it further by integrating these concepts with physical execution.
- 16:24Ashley: Exactly.
- 16:25They extend this idea by coupling Code as Policy with Code as World.
- 16:29The latter came from attempts to make vision-language models better at answering semantic questions about images.
- 16:34In embodied settings, state representations like scene graphs and spatial constraints were explored, but often for single queries or episodes.
- 16:43HexaAnything makes these state representations persistent across tasks, so an incomplete execution can be analyzed and improved upon in future attempts.
- 16:52Evan: Got it.
- 16:53Ashley: Furthermore, the concept of coding agents is also expanded.
- 16:57Software agents have shown that their capabilities depend largely on the tools exposed and the sandbox in which they operate.
- 17:04Notably, the Harness in HexaAnything extends these software programming techniques to physical robots, establishing verifiable and revisable program artifacts.
- 17:14Evan: So, by creating a physical equivalent of a software coding environment, they aim for a more robust and adaptable system.
- 17:22Ashley: Correct.
- 17:22This approach ensures that any learned capabilities, tool improvements, or workflow optimizations persist and can be built upon.
- 17:30They call this the recursive model–Harness–environment loop, where interaction generates evidence, which updates the digital system, and the updated model determines the next round of interaction.
- 17:42Evan: And how do they position their work relative to earlier efforts involving self-evolving agents?
- 17:47Ashley: The authors review prior work on adaptive components like training data generation, reward evolution, and policy adaptation.
- 17:55They argue that while these components adapt individually, integrated adaptation across all components—such as environment, tasks, data, tools, and models—remains an open challenge.
- 18:06This paper aims to address this gap.
- 18:09Evan: So their contribution is not just about improving a specific component but about creating a framework where multiple components co-evolve.
- 18:17Ashley: Yes, that's a key distinction.
- 18:19Existing adaptive systems often leave many components fixed, like the programming language or the tool semantics. 'HexaAnything,' they claim, incorporates continual interaction across all critical components, aiming for a holistic evolution where changes in one area naturally influence and improve other areas.
- 18:39Evan: That’s quite an ambitious goal.
- 18:41Ashley: It certainly is.
- 18:42The aim is to achieve a self-evolving system with separate attribution and evidence for each component.
- 18:49They emphasize the need for independent verifiers, provenance tracking, and rollback capabilities to ensure that improvements are genuine and not just adaptations to specific scenarios.
- 18:59Evan: That's insightful.
- 19:01Anything else they discuss in the related work?
- 19:03Ashley: They also talk about continuous self-improvement of hardware and computational substrates, referring to prior works like CompilerGym and KernelBench, which optimize execution substrates from feedback.
- 19:14They envision a future where even the hardware can evolve along with the software and models.
- 19:19Evan: So the entire system, from hardware to high-level tasks, is adaptable.
- 19:24Ashley: Exactly.
- 19:25They foresee a trajectory where improvements are systematically validated, ensuring scalability and robustness across various physical and computational environments.
- 19:35And that wraps up the Related Work section.
- 19:38Evan: Ashley, let's wrap up by summarizing the key contributions and takeaways from this paper.
- 19:44What should our listeners remember most about HexaAnything and Physical Coding?
- 19:49Ashley: Certainly, Evan.
- 19:50The paper’s key contributions are both innovative and extensive.
- 19:54First, the authors introduce the concept of Physical Coding, combining Code as World and Code as Policy to create an executable interface that bridges the gap between digital coding and physical-world execution.
- 20:07Evan: One key idea is that tasks and execution procedures are represented as code, enabling more precise control and inspection.
- 20:16Ashley: Exactly.
- 20:17This allows physical agents to update their world state dynamically and adapt to new observations in real-time.
- 20:23Secondly, they developed HexaAnything, a robust agent that integrates perception, planning, and control.
- 20:30This agent can make in-the-loop decisions based on external feedback and evolves over time through a recursive model–Harness–environment loop.
- 20:38Evan: And they demonstrated impressive results across various benchmarks, right?
- 20:43Ashley: Yes, HexaAnything showed significant improvements on RoboCasa365, particularly in Composite-Unseen tasks, and seamlessly transitioned to real-world tasks on an AgileX PiPER-X dual-arm robot.
- 20:57Furthermore, it excelled in the PhyBench simulated laboratory benchmark, autonomously completing scientific experiments with high precision.
- 21:05Evan: So, in summary, this paper pushes the boundaries of what self-evolving coding agents can achieve, showing potential for broad applications in robotics and beyond.
- 21:16Ashley: Correct.
- 21:17The combination of dynamic task representation, real-time adaptability, and iterative self-improvement sets HexaAnything apart as a forward-thinking approach to autonomous systems.
- 21:28Evan: Well, that brings us to the end of today’s episode.
- 21:31We hope you found this discussion on HexaAnything and Physical Coding insightful.
- 21:36Ashley: Thank you for tuning in.
- 21:38If you enjoyed this episode, don't forget to subscribe and leave us a review.
- 21:42Evan: We’ll be back with more cutting-edge research from the Hugging Face daily paper list.
- 21:47Until next time, stay curious!
- 21:49Ashley: Goodbye everyone!
- 21:51Have a great day.