Skip to content

RAX: A Framework for Autonomous Robot Exploration and Skill Acquisition

Researchers from Harvard, NVIDIA, UC Berkeley, MIT, and Stanford introduce RAX, an open-source framework that allows robot agents to autonomously explore and learn by converting effective interactions into executable code. RAX enables robots to perform complex tasks like opening an air fryer, using multi-modal perception, planning, and continuous learning without human intervention. The framework demonstrates strong performance across multiple simulation benchmarks, with an average improvement of 37.4% over existing baselines.

Article text · Machine translation

Translation is incomplete. Read the original source for full text.

图片

Robotics Outlook (WeChat Official Account: robot_pro)
Author | Liu Lisan
Editor | Xu Lisi

Robotics Outlook reported on October 19th, recently, a research team from Harvard University, NVIDIA University of California, Berkeley, Massachusetts Institute of Technology, and Stanford University, has launched an open-source framework RAX (Robot Agent eXploration, Robot Intelligent Agent Exploration).

The core idea of RAX is to expand the scale of autonomous exploration for robots. The agent gains experience online and converts effective experience into executable programs, continuously enhancing its own capabilities.

In short, RAX allows a general-purpose agent that can write code to ``try and learn'' in real or simulated environments, turning effective approaches into reusable programs that can be run repeatedly.

图片

▲《Scaling Online Exploration for Robot Agents》

For example, when the robot is performing the task of opening an air fryer, the agent initially has to watch the depth camera, write analysis scripts, and try actions simultaneously, spending 44 minutes and writing 23 analysis scripts to complete the first grasp.

But once an intelligent agent figures out an effective decision sequence for 'how to locate the handle, how to grip it, how to step-by-step pull out the drawer, how to place the banana, and how to close it,' it can compile this process into a modular program, after which the robot can quickly and automatically execute it.

Based on RAX, the team studied how to scale up online exploration and the performance of this approach across different robot bodies and tasks.

Experimental results show that as the scale of exploration increases, robots demonstrate continuous improvement in their generalization ability in unseen environments. In simulation experiments, RAX's average performance was higher than the best-performing baseline model by37.4%.

It is reported that the paper's co-first author Huang Runhan, who graduated from Tsinghua University's Yao Class with a Bachelor's degree in Computer Science in June of this year, joined Harvard University to pursue a Ph.D. in Computer Science in August of the same year. His research mainly focuses on robotics, generative models, and agents. The other co-first author, Xiangcheng Zhang, is also pursuing a Ph.D. in Computer Science at Harvard University.

I. Intelligent agents directly write programs, allowing robots to learn autonomous operation of air fryers

VLA and WAM models, respectively, fine-tune pre-trained VLMs and video generation models using large-scale teleoperation data. However, deploying the system to new robots or having it perform new tasks typically still requires the collection of specialized teleoperation data.

Such strategies are fundamentally limited by the demonstration data they imitate. Even if the robot can interact, and there is additional computational power during testing, it is still difficult to achieve generalization and self-improvement.

This limitation raises a core question: Can robots achieve self-improvement through autonomous online experience and active exploration, and learn to discover new skills?

The research team proposed a new approach, letting agents directly write programs for robots, so the entire process does not require manual design action primitives( action primitives).

The RAX proposed in this study is a cognitive architecture for robotic agents. In RAX, the general-purpose encoding agent receives natural language instructions, up to several target images or visual demonstrations, along with an exploration round budget.

Subsequently, the agent directly interacts with the robot through the robot's perception and control interface. The entire process does not require manual teleoperation and does not rely on a value function guide.

The parameters of the underlying language model remain fixed, and the system does not perform policy training. At the same time, the system achieves learning by continuously updating a long-term savable workspace. This workspace contains programs, notes, and verified skills.

The agent converts successful interaction processes into executable code programs and saves knowledge that can be reused in subsequent experiments and tasks.

图片

As the scale of exploration increases, the research team also observed that the system gradually exhibits multiple capabilities.

1. Multimodal Perception

To build a model that conforms to the real physical world, the team provides the agent with multimodal sensor inputs, including RGB images, depth maps, camera parameters, and force signals.

Using this information, the agent can construct a 3D world model with depth data and use force feedback to control the contact process.

In the task of opening an air fryer, the agent opens the air fryer drawer, places a banana into the fry basket, and then closes the drawer.

图片

The agent first converts the RGB-D camera's observed data into a point cloud and aligns it to the robot's base coordinate system. Then, it uses the data it measures to construct a geometric model of the air fryer.

图片

When facing a new scene layout, the agent uses robust estimation methods to fit the air fryer's axis and handle direction, thereby determining its position and orientation.

Since the drawer can move, the model needs to represent the object's joint structure. This model consists of a fixed body and a drawer.

Based on this model, the agent plans each action, including grasping, pulling, and releasing, and checks whether each segment of motion will cause a collision.

2. Planning and Control

After establishing an accurate world model, the agent can directly plan robot actions in 3D space and execute the planning using the robot control software development kit (SDK) and kinematics solver.

To connect the agent with the physical robot, the team encapsulated the robot's control SDK as a model context protocol(MCP) tool, while also providing inverse kinematics (IK) solvers, robot URDF models and other auxiliary tools.

With these tools, the agent can plan each action and search for feasible motion trajectories. During planning, it considers the robot's pose, collision risk, and joint limits.

Taking the air fryer task as an example, there is a short horizontal bar at the top of the air fryer drawer handle, with the end of the bar extending downward to form a part for grasping.

If the agent grasps this handle from the front like a human, when pulling the drawer, the joint near the base of the horizontal bar has little room for movement.

Therefore, as shown in actions 1 and 2 in the figure, the agent chooses to grasp the short horizontal bar from above and pulls the drawer in steps of 3 centimeters at a time.

图片

Next comes the action of placing the banana. The banana is 18 centimeters long, while the fry basket is 19 centimeters long, leaving almost no extra space.

If the banana is kept horizontal and released directly from the hand, the banana will hit the top of the air fryer. At the same time, the spread fingers may also collide with the body.

As shown in action 3, to solve this problem, the agent tilts its hand around the banana's axis by 60°, orienting the concave side of the banana toward the air fryer. Then, it releases the banana at the position just beyond the center of the fry basket, placing the banana into the basket.

These actions are all discovered by the agent through exploration, by searching and trying different control tools, without receiving human suggestions or using human demonstrations.

3. From Exploration to Autonomous Robot Programs

Each action relies on a large language model for reasoning, which is costly and results in slower execution.

To achieve high-frequency closed-loop planning, the agent automatically converts the decision-making process into an autonomous robot program, which can directly execute tasks through code.

The RAX agent can directly control the robot without relying on pre-trained strategies or manually written action primitives.

During the exploration process, control authority gradually shifts from high-level reasoning to autonomous execution code programs. In the end, the agent achieves autonomous decision-making through its self-generated code.

In the initial stage, the agent controls the robot by calling tools and relies on the large language model to perceive the scene.

When the task is successfully completed, the agent compiles these decisions into code programs. Afterward, the program can run independently, without needing to wait for the main agent to perform reasoning at each step.

For example, after identifying the shape and geometric features of an object, the agent generates a 3D object model. When encountering a new object layout, the program can automatically estimate the object's position and orientation using depth data-generated point clouds.

This eliminates the need for the main agent to repeatedly process raw images, significantly reducing the time cost and computational cost of the perception process.

The agent will also break down the task into multiple stages and implement modular skills through programs. Each skill includes pre-execution checks, action execution, and result verification.

Data measured during exploration, such as movement distance and grasping direction, will also be converted into program parameters.

The agent repeatedly tests different versions of the program during exploration and determines which specific skill needs modification based on the failure situations in each stage.

This design maps each failure directly to a specific stage, making it easier to locate and fix problems.

图片

Once the program reaches sufficient reliability, the agent will let it perform unattended testing. The program has an exception handling mechanism, and the agent monitors the logs generated by the program to intervene in emergencies.

If significant changes occur in an open environment, leading to perception or planning failures, the program will throw an exception. At this point, the agent can re-intervene, perceive the current environment, and make necessary adjustments.

Through extensive testing and debugging of the program during the exploration phase, the system can eventually generate complete automated programs. Even when facing unseen scenarios, the program can autonomously complete perception, decision-making, and action execution.

4. Continuous Learning Based on Memory

Robot agents, like humans, follow a similar cognitive process: repeatedly practicing individual skills, mastering them, and then combining these skills to fully perform complex long-sequence tasks.

The research team allows the agent to practice, generate, and improve skills repeatedly, and gradually reuse existing capabilities from the skill library to complete increasingly complex tasks.

For example, in a home scenario, the team lets the agent practice different sub-tasks, such as grasping and placing boxes and buckets, or sorting items on a desk.

During practice, the agent develops autonomous execution programs and improves the robustness of the program through end-to-end repeated practice. Finally, verified programs are stored in a multi-task skill library.

When executing long-sequence tasks composed of multiple sub-tasks, the agent can directly reuse these skills. At the same time, it will check the execution records and applicable premises, to deal with environmental changes not encountered during practice.

This skill acquisition and practice process can also be conducted in parallel across multiple robots and tasks, enabling collaborative learning among multi-robot systems.

II. Front-end and back-end separation design, one architecture suitable for multiple robots

RAX uses a unified agent architecture that supports various robot bodies in both simulation environments and the real world, including single-arm robotic arms, dual-arm robots, dexterous hands, mobile manipulation robots, and humanoid robots.

To achieve this goal, RAX adopts the common front-end and back-end separation design in software engineering, separating the front-end from the backend that provides services for it.

In RAX, the backend is responsible for the robot's physical system, including hardware drivers, simulators, low-level controllers, sensor processing pipelines, and related safety mechanisms.

It runs the drivers and real-time controllers provided by the manufacturer, outputting calibrated RGB-D images, as well as the corresponding camera intrinsic parameters and poses. The backend also continuously records the robot's sensor data and status. This way, the agent can view the actual results after performing actions.

The front-end receives only tools and skills from the system. Tools aim to open up as many functions provided by the backend as possible, including}}.

the backend's provided functions, including Environmental observation, low-level control, and model-based auxiliary functions.

For example, forward and inverse kinematics solving, platform-supported motion planning, and a preview function that executes candidate actions only on the robot model. This preview does not include actual environmental scenarios.

The tool also provides geometric base functions required for building perception systems, including projecting image pixels back to three-dimensional points with actual scale, obtaining the pose of the camera in the robot coordinate system, and obtaining the kinematic chain from each camera to the end-effector.

Skills are explained in document form on how to use these tools. The content includes the coordinate system, action space, control frequency, various limitations and failure modes, as well as perception specifications, exploration process, and memory mechanisms.

These skills are organized around four dimensions: task strategy, collaborative control, perception, and robot-specific control.

The system will combine the corresponding skills into each experiment's independent workspace based on the robot's body and observation mode. The intelligent agent can then observe the environment, make decisions, and execute actions, while simultaneously writing programs to implement the decision logic.

Front-end and back-end are only connected through the tool interface. This front-end and back-end separation design inherently enables RAX to support multiple robot bodies from an architectural perspective.

The same front-end can connect to different back-ends across platforms, including real Franka and Rainbow RB-Y1 robots, as well as various simulation benchmarks.

III. Six-class benchmark evaluation, five groups of comparisons with an average lead of 37.4 points

In simulation testing, the team evaluated RAX on six benchmarks: RoboDojo, BEHAVIOR-1K, HumanoidArena, DexJoCo, LIBERO, and LIBERO-Pro, covering single-arm, dual-arm, dexterous, mobile, and humanoid bodies. Average performance exceeding the previous strongest model on five benchmarks by 37.4 points.

Without using any expert action trajectories, RAX also achieved the best results on RoboDojo, BEHAVIOR-1K, DexJoCo, and LIBERO-Pro, leading by53.4, 38.3, 31.4, and 21.2 percentage points respectively.

1. RoboDojo evaluation

The team used dual-arm ARX X5, setting up seven tasks covering domain randomization precision, memory, long-term, and open instruction tasks.

Under maximum budget, RAX outperformed all baselines on all seven tasks, with an average success rate of78.3%, the leaderboard's strongest strategy VPP2 as24.9%. on sweep blocks random, RAX reached71.7%、the best baseline only8.0%; on pour by language, all learning strategies failed, and RAX reached 100.0%.

图片

2. BEHAVIOR-1K test

On BEHAVIOR-1K, multiple collaborative agents used Galaxea R1 Pro to explore six long-term household tasks in parallel environments. Each task's exploration budget was 128 episodes.

During training, RAX only provided the agent task description, RGB-D observations, and image sequences after task completion as references, without providing action demonstrations.

After training, RAX froze the agent's programs, notes, and skills. During evaluation, RAX launched a new agent copy, letting it carry this frozen outcome to run ten official public test scenarios. Scoring is based on how many target conditions are completed for each task, with full marks only given for complete success.

The results showed that RAX outperformed the previous best score by38.3 points.

图片

3、HumanoidArena

Facing Unitree G1 with Dex3 hand's seven tasks, RAX's average success rate reached89.8%, higher than the world action model WB-WAM by 7.9 percentage points. The amount of demonstration data used by both methods also differs: RAX received only 3 segments of teleoperation demonstrations per task, while the baseline method used 100 segments.

图片

4、DexJoCo

The research team further tested dexterous hand operation capabilities. This benchmark includes 11 tasks, with 6 using single-arm and 5 using dual-arm. The robot needs to use a Franka mechanical arm equipped with a 16-degree-of-freedom Allegro dexterous hand to complete the tasks.

As exploration increased from 2 episodes to 8 episodes, then to 32 episodes, RAX's average success rate on 11 tasks rose from31.9%to86.9%, and finally reached96.7%.

图片

Under the 32-episode setup, RAX's success rate on each task exceeded the best existing results compared in the paper.

5、LIBERO and LIBERO-Pro

In the LIBERO benchmark, the research team used a single-arm Franka Panda mechanical arm and a two-finger parallel gripper.

In the standard LIBERO scenario, RAX's average success rate reached98.5%, without using action demonstration data. As a contrast, the world action model Cosmos Policy, trained with demonstration data, also had an average success rate of98.5%.

图片

As shown in the above figure, without additional exploration for disturbance scenarios, RAX's average success rate reaches76.0%, higher than the VPP2 model that uses demonstration training42.3%. On this basis, RAX further conducts up to five exploration rounds of adaptation, raising the average success rate to84.4%, an increase compared to when no adaptation was performed8.4 percentage points.

Conclusion: RAX, which does not rely on demonstration data, skill reuse on real machines still needs verification

RAX provides a technical path different from traditional robot strategy training, i.e., allowing agents to, under limited robot control interfaces and safety mechanisms, find operational methods through online exploration, and then save effective experience as executable programs and reusable skills.

From the experimental results, RAX has achieved good performance on multiple simulation benchmarks, and also shows certain adaptability in some disturbance scenario tests.

For the robotics industry, the value of this route lies in the potential to reduce reliance on specific action demonstration data and repeated strategy training for some tasks.

However, currently, RAX still needs to gain task experience through exploration, and online reasoning and real robot trial-and-error will bring time and computational costs. The advantages in simulation environments cannot be transferred to the real world. Differences in automation levels and human intervention across tasks will lead to different performances for agents in actual deployment.

Therefore, whether RAX can further reduce exploration costs and stably reuse these skills in real scenarios still needs continued attention.

Source notes

  1. 清华姚班、哈佛学霸,让机器人自己写代码、练技能,终于不用人手把手带了↩
Source evidence

Reported by the source; not independently verified.

time spent
44 minutes[2]
number of analysis scripts
23[2]
  1. ▲《Scaling Online Exploration for Robot Agents》 比如,在机器人执行开空气炸锅任务时,智能体一开始要边看深度相机,边写分析脚本,边试动作,花了44分钟,写了23个分析脚本才完成第一次抓取。
    Exact source↩
  2. 在仿真实验中,RAX的平均表现比表现最好的基线模型高出 37.4%。
    Exact source
  3. 研究团队提出一个新的思路, 让智能体直接为机器人编写程序, 这样,整个过程不需要人工设计 动作原语 ( action primitives)。
    Exact source
  4. 在机器人开空气炸锅任务中,智能体打开空气炸锅抽屉,将一根香蕉放入炸篮,再关闭抽屉。
    Exact source
  5. 智能体首先将RGB-D相机采集的观测数据转换为点云,并统一到机器人基座坐标系中。
    Exact source
  6. 一、智能体直接上手写程序,让机器人学会自主操作空气炸锅 VLA模型和WAM模型,分别用大规模遥操作数据,对预训练的VLM和视频生成模型进行微调。
    Exact source
  7. 实验结果表明,随着探索规模扩大,机器人在未见过的环境中,其泛化能力得到持续提升。
    Exact source

Automatically extracted; no manual editorial approval recorded.

Article details
SignalEditorial score82

The text describes a released open-source framework (RAX) by a specific team with reported experimental results and a concrete technical method for robot code generation.

Timezone · UTC

Article dates follow your selected timezone. Briefing editions use Hong Kong time (UTC+8).