🤗 Upvotes: 41 | cs.RO Authors: Feixiang Ruan, Guodong Lv, Kewei Zhang, Wenbo Huang, Yintianrun Zhang, Qiang Wang, Ruiyang Si, Shunyu Yang, Shulong Jiang, Weicheng Duan, Rui Ni, Jianxin Bi, Lekai Wang, Yuze Fan, Haobo Li, Zeliang Fu, Jiankun Zhang, Duomin Wang, Enze Xie, Daquan Zhou Title: PyRUA-Dex: Learning Programmatic Policies for Dexterous Bimanual Manipulation with Coding Agents Arxiv: http://arxiv.org/abs/2611.33144v1 Abstract: Learning for dexterous manipulation is limited by the scarcity of high-quality demonstrations: retargeting from human video is imprecise, teleoperation gives no force feedback to the operator, and exoskeleton-based collection is hard to scale up. We present PyRUA-Dex, a framework that enables coding agents to develop dexterous manipulation through programmatic policy, without the need of demonstrations. The programmatic policy is developed in two stages: during exploration, multiple agents explore in parallel for task skills and ways to compose them, and a distilling agent condenses the successful attempts into a task library and one program. During refinement, this program is improved through randomized layouts for enhanced robustness and execution efficiency. In simulated environments, PyRUA-Dex achieves SOTA on Bench2Dex with a score of 72.9 and reaches 81.0% success on DexJoCo under full randomization, ahead of every trained policy on both benchmarks. In real world experiments on a bimanual platform with two 22-DoF hands, PyRUA-Dex learns to play piano, write calligraphy, and other tasks efficiently: learning a new piece from sheet music takes as little as 30 minutes. These results suggest that PyRUA-Dex is an effective framework for developing dexterous manipulation policies with coding agents in the absence of high quality dexterous manipulation demonstrations.
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
Evan: Welcome to Daily Paper Cast. Ashley: Today's paper comes from the Hugging Face daily paper list of November 26, 2026, with 41 upvotes. Evan: The title of the paper is: PyRUA-Dex: Learning Programmatic Policies for Dexterous Bimanual Manipulation with Coding Agents. Ashley: It's written by Feixiang Ruan, Guodong Lv, and corresponding author Daquan Zhou from Peking University. Evan: Let's delve into the Introduction section of the paper. Ashley: Dexterous manipulation traditionally relies heavily on demonstrations to train models.
This includes techniques like imitation learning, vision-language-action models, and world-action models, all of which depend heavily on episodes generated through teleoperation. However, obtaining high-quality demonstrations for multi-fingered hands presents significant challenges. Evan: Ashley, what exactly are the challenges in obtaining these demonstrations for multi-fingered hands? Ashley: Great question, Evan. Retargeting human video to a robot hand is often imprecise. Teleoperation doesn't provide force feedback to the operator during contact, which is crucial for delicate tasks.
And using exoskeleton-based collection methods is difficult to scale effectively. Plus, the data collected are specific to the hand that was used during the collection process. Therefore, if you want to use a different robotic hand, you would need to gather new data and retrain the models. Evan: That sounds like quite a hurdle for researchers and developers working in this field. Ashley: It is. This dependence on demonstrations limits the scope and adaptability of learning for dexterous manipulation tasks. The authors point out that coding agents offer a viable alternative to this approach.
Evan: So, how does PyRUA-Dex leverage coding agents for dexterous manipulation? Ashley: PyRUA-Dex circumvents the need for demonstrations. Instead, it allows coding agents to develop programmatic policies for dexterous manipulation. The process unfolds in two stages. First, during exploration, multiple agents work in parallel to explore task skills and compose them effectively. A distilling agent then condenses successful attempts into a comprehensive task library and a single program.
Evan: And what happens in the second stage? Ashley: In the refinement stage, this program undergoes improvements through randomized layouts. This phase is aimed at enhancing the robustness and execution efficiency of the policy. One key aspect is that the coding agents don't need new high-quality demonstrations to improve their performance. Evan: Can you give us some examples of tasks where PyRUA-Dex has been effective? Ashley: Certainly! In simulated environments, PyRUA-Dex has achieved state-of-the-art performance on Bench2Dex with a score of 72.9.
It also reached an 81.0% success rate on DexJoCo under full randomization, outperforming all trained policies on both benchmarks. Evan: That's impressive. How about real-world applications? Ashley: In real-world experiments, PyRUA-Dex has been able to efficiently perform various tasks on a bimanual platform equipped with two 22-degree-of-freedom hands. It can play the piano, write calligraphy, and perform other dexterous tasks. Remarkably, learning a new piece from sheet music takes as little as 30 minutes.
Evan: So, what can we conclude from these results? Ashley: These results highlight the effectiveness of PyRUA-Dex as a framework for developing dexterous manipulation policies using coding agents. It bypasses the need for high-quality demonstrations and achieves remarkable performance both in simulations and real-world tasks. Evan: That's the end of the Introduction section. Next, we'll dive into the methods section. Evan: Moving on to the Methods section of the PyRUA-Dex paper. Ashley: PyRUA-Dex learns one programmatic policy per task in simulation and deploys it as a frozen program.
The learning process is carried out by general coding agents, specifically GPT-6 Astra sessions equipped with a shell, their own simulator instance, and a shared library of perception and control primitives. Evan: Interesting. What exactly do these coding agents do in the learning process? Ashley: Learning proceeds in two stages: exploration and refinement. During exploration, eight agents run in parallel on a task. They each receive a unique training layout and one assigned stage to solve.
Through interaction within the simulator, agents write and evaluate code to address each stage. Evan: So, how does exploration work practically? Ashley: Each agent controls the robot interactively and can checkpoint the simulator state during an episode. This allows them to reset to an earlier point and retry stages, exploring many attempts without repeating the full task from the start. The progress is shared among all agents through a memory system. Evan: What happens after the agents have explored the tasks? Ashley: At this point, the programs written by the agents are evaluated on fresh training layouts to check their reliability.
A distilling agent then condenses these successful programs into a task library and selects the best program based on the evaluation. Evan: How do the coding agents refine the programs in the second stage? Ashley: In the refinement stage, a single agent focuses on improving the initial program derived from exploration. This involves running the program on multiple randomized layouts and analyzing failures on a stage-by-stage basis. The agent works to fix the least reliable stages, refining the program iteratively.
Evan: I see. The refinement phase sounds crucial for optimizing performance. Ashley: The agent measures the success rates of each stage over many layouts, improving the logic for the least reliable stages. This iterative refinement continues until the program shows substantial improvement or the predefined budget is exhausted. Evan: You mentioned that these programs run as frozen code later. What does that entail? Ashley: The frozen programs operate without requiring additional language model calls during execution.
They follow pre-defined rules, taking inputs from calibrated cameras, joint positions, and fingertip touch sensors at the robot’s control rate—ensuring reliability even under layout perturbations. Evan: That's fascinating. And how exactly does PyRUA-Dex manage the transfer from simulation to real-world deployment? Ashley: The transfer is handled in rounds, where the learned program is executed on the real robot, discrepancies are identified, and the parameters are adjusted in the simulation.
This iterative process leverages feedback from the robot to incrementally improve the simulation’s fidelity. Evan: Can you elaborate on how the robot platform is calibrated for this process? Ashley: Of course. The simulation is built from the calibration data of the robot’s scene—covering aspects like camera intrinsics, hand-eye transforms, table dimensions, etc. Objects used for tasks are reconstructed from their images or videos, ensuring the simulated environment closely mirrors the real-world setup. Evan: And how does the real-to-sim transfer affect the refinement process in practical scenarios?
Ashley: Once the simulation is updated with real-world feedback, the refinement rounds commence again in the adjusted simulation. This cyclical transfer ensures that the frozen program performs reliably when finally deployed on the actual robot, reducing the need for extensive human supervision during evaluation. Evan: In essence, PyRUA-Dex uses simulation and real-world interplay to fine-tune its programs. Are there any noteworthy experimental results from the paper? Ashley: Yes, PyRUA-Dex’s iterative refinement process led to successful completion rates across various tasks.
For example, stacking three cubes improved from 6 layouts completed during exploration to 30 layouts after refinement. The system showed major efficiency gains in task execution times without compromising accuracy. Evan: That's substantial progress. How about the hands-on real-world tasks? Ashley: On the real bimanual robot platform, PyRUA-Dex executed tasks like playing various piano pieces, stacking cubes, and writing 'Dex'. It showcased the flexibility to learn and adapt within 30 minutes to an hour for new tasks like piano pieces from sheet music.
Evan: It's impressive to see such fluid adaptation from a framework crafted through simulations. Ashley: Indeed. Additionally, the successful transitions from simulation to real-world applications underpin its robustness in practical deployment. Evan: So, the overall workflow of PyRUA-Dex—from initial exploration to real-world refinement—enables comprehensive dexterous manipulation policies to be developed efficiently. Ashley: Exactly. This method not only simplifies the learning process but also ensures adaptability across different robotic platforms without the need for extensive retraining from scratch.
Evan: That wraps up our discussion on the Method section. Next, we'll explore the Experiments and Results. Evan: Now, let's dive into the Experiments and Results section of the PyRUA-Dex paper. Ashley: The authors conducted an extensive evaluation of PyRUA-Dex on two simulated benchmarks for dexterous manipulation: Bench2Dex and DexJoCo. Additionally, they performed experiments on a real bimanual platform. Evan: Let's start with Bench2Dex.
What were the key findings there? Ashley: On Bench2Dex, PyRUA-Dex achieved a score of 72.9, setting a new state-of-the-art result on this benchmark. It also recorded a success rate of 60.6% and a latched stage completion rate of 82.3%, outperforming all trained policies including ME-Dex 1.5, which fine-tunes one checkpoint per task. Evan: What makes PyRUA-Dex so effective on Bench2Dex? Ashley: One major factor is its robustness to perturbations.
The success rate of PyRUA-Dex varied by only 4.1 points across the four channels of the benchmark. Even when the perturbations changed the correct action required, the system maintained a high success rate. Evan: That certainly highlights its robustness. And how did it perform on specific tasks? Ashley: PyRUA-Dex exceeded the best trained policy on 15 of the 26 tasks, including demanding tasks like the bimanual piano melody with a success rate of 99.5% compared to 32.0% for the previous best.
However, it shows variability across tasks; there are tasks like the jigsaw puzzle where none of the agents managed to complete the stage during development. Evan: Fascinating. What about the contributions of refinement in this process? Ashley: Refinement significantly enhanced the reliability of the explored programs. It raised the success rate from 44.6% to 60.6% and the score from 59.1 to 72.9. This process proved especially effective in fixing stages where the task failed.
For example, stacking three cubes improved from 6 layouts completed during exploration to 30 layouts after refinement. Evan: Clearly, refinement plays a crucial role. How did PyRUA-Dex perform on DexJoCo? Ashley: On DexJoCo, PyRUA-Dex achieved a success rate of 88.5% with object randomization and 81.0% under full randomization. This was significantly higher than the strongest trained policy, which recorded 54.1% and 40.3% respectively.
Evan: It seems PyRUA-Dex consistently outperforms trained policies. Can you elaborate on its performance across different tasks on DexJoCo? Ashley: Certainly. PyRUA-Dex outperformed every trained policy on all 11 tasks in both settings. For example, in tasks requiring precise actions like hammering a nail, unlocking an iPad, and cooking with a microwave, PyRUA-Dex achieved nearly perfect success rates in some instances. Even on the assembly task, where it had the lowest rate, it still outperformed the trained policies.
Evan: How does PyRUA-Dex fare when compared to the same model acting as an online agent? Ashley: What's notable is that the frozen programs developed by PyRUA-Dex outperform the same model acting online. At the benchmark’s step budget, the frozen programs completed 61.5% of the episodes compared to 25.6% for the online agent in Bench2Dex. In DexJoCo's full randomization setting, PyRUA-Dex’s frozen programs performed better at every stage of execution.
Evan: So, moving the model's reasoning to development rather than execution shows substantial benefits. How about the real-world experiments? Ashley: In real-world applications, PyRUA-Dex demonstrated impressive versatility and performance. The authors conducted experiments on a bimanual robot platform equipped with two Sharpa Wave SE hands and various cameras. Tasks included cube stacking, piano playing, and writing calligraphy. Remarkably, PyRUA-Dex was able to learn new tasks, such as playing a new piano piece, within just 30 minutes.
Evan: That's quick adaptation! How was the learning process in the real-world setting? Ashley: The process involved the simulation rounds where discrepancies were identified and parameters adjusted based on feedback from the real robot. This iterative procedure was key to calibrating the simulated environment to closely match reality, ensuring reliable execution of tasks by the frozen programs. Evan: To sum up, the experiments strongly validate PyRUA-Dex’s efficacy both in simulation and real-world applications.
Ashley: Indeed, PyRUA-Dex's iterative refinement and robust performance without needing new demonstrations establish it as a powerful tool for dexterous manipulation. Evan: That’s the end of the Experiment section. Coming up next, we'll delve into related work and conclude our discussion. Evan: Let's now explore the Related Work section of the PyRUA-Dex paper. Ashley: The work presented in PyRUA-Dex intersects various domains—dexterous manipulation, programmatic policies, and coding agents for robots.
These fields have each evolved significantly over the years, paving the way for innovative approaches like PyRUA-Dex. Evan: Starting with dexterous manipulation, what are the notable advancements? Ashley: Reinforcement learning has contributed notably to dexterous manipulation in both simulation and hardware settings. These methods require substantial task-specific rewards and large-scale training per skill. Imitation learning from teleoperated demonstrations and vision-language-action models have emerged as dominant strategies, with data generators expanding the number of human episodes.
Recent benchmarks evaluate these methods across various robotic hands and manipulative tasks. Evan: How does PyRUA-Dex align or differ from these approaches? Ashley: PyRUA-Dex shares the common route of training in simulation environments but diverges by not relying on network training. Rather than learning from collected demonstrations, coding agents write and test programs in simulation and the resulting programs transfer directly to real hardware. Evan: What about programmatic policies?
Ashley: Programmatic reinforcement learning represents policies using symbolic languages, which makes them easier to interpret and verify than neural policies. These languages are typically small with concise programs to keep the search tractable. Language models have started composing perception and motion primitives from task descriptions, keeping libraries of successful programs, refining reward codes, and generating tasks and simulations. However, most of these systems write programs for parallel-jaw grippers and perform refinement over limited trials.
Evan: So PyRUA-Dex seems to push the boundary by working with multi-fingered hands and a detailed refinement process? Ashley: Exactly. PyRUA-Dex develops general Python programs specifically for multi-fingered hands and refines them across hundreds of randomized layouts, which significantly enhances the robustness and adaptability of the policies. Evan: And coding agents for robots—how has this evolved? Ashley: A coding agent can control a robot directly, observing every episode and issuing commands.
This approach, however, consumes tokens, time, and step budget in every episode. Alternatively, agents can develop programs that run independently of them. Systems like RAX have scaled exploration by coding agents to numerous episodes per task, compiling findings into modular programs. The PyRUA series has explored token-efficient execution, data generation, and self-improvement on real robots. Evan: PyRUA-Dex seems to take this a step further? Ashley: Indeed. PyRUA-Dex employs parallel coding agents to explore tasks in simulation, followed by a second stage of refinement focusing on stage-by-stage improvement.
The resulting program operates without any language model calls, differentiating itself from approaches that keep the agent in the loop during each test episode. Evan: That's quite comprehensive. Are there any specific references or pioneers in these fields that stand out in the paper? Ashley: Yes, the paper references various foundational and contemporary works. For dexterous manipulation via reinforcement learning, it cites works like those of OpenAI in 2020 for in-hand manipulation. For programmatic policies, it mentions Abhinav Verma’s work on programmatically interpretable reinforcement learning in 2018.
And for coding agents, the paper references systems like Voyager and efforts on self-improvement in real robots published as recently as 2026. Evan: Interesting blend of references—they really cover the landscape from foundational works to cutting-edge research. Ashley: Indeed. This broad array underscores the innovative synergy of combining these elements into PyRUA-Dex. The paper successfully positions its contributions within a well-established context, highlighting unique advancements while respecting prior achievements.
Evan: That’s the end of the Related Work section. Evan: As we wrap up today's episode, let's revisit the key contributions and takeaways from the PyRUA-Dex paper. Ashley: PyRUA-Dex introduces a novel framework for developing dexterous manipulation policies using coding agents, effectively bypassing the need for high-quality demonstrations. This approach not only simplifies the learning process but also enhances adaptability across different robotic platforms. Evan: The process unfolds in two main stages: exploration and refinement.
Exploration involves multiple agents working in parallel to discover task skills and compose them. Refinement focuses on improving the discovered program by running it across randomized layouts to enhance robustness and efficiency. Ashley: In simulated environments, this iterative process led PyRUA-Dex to outperform traditional trained policies, achieving state-of-the-art results on benchmarks such as Bench2Dex and DexJoCo. Additionally, it demonstrated significant versatility and performance in real-world tasks, showing quick adaptation to new tasks like piano playing within just 30 minutes.
Evan: One of the standout achievements of PyRUA-Dex is its ability to create robust, effective programs that operate as frozen code, making them highly reliable even under varied conditions without the need for continual fine-tuning. Ashley: Overall, PyRUA-Dex represents a significant step forward in robot learning for dexterous manipulation, combining insights from reinforcement learning, programmatic policies, and coding agents to produce a comprehensive and adaptable framework. Evan: That's a wrap for today!
We hope you found this discussion insightful and engaging. Ashley: Join us again for future episodes as we continue to explore fascinating papers and advancements in AI, NLP, CV, and beyond. Evan: Thank you for listening to Daily Paper Cast. Stay curious and keep learning!