mit-han-lab/pear

Training Reasoning Models in Simulation to Natively Use Real Robots

PEAR is a post-training engine for agentic robotics — it trains AI reasoning models to control real robots, using reinforcement learning entirely inside simulators.

The headline result: PEAR is the infrastructure behind a project where an open 27B-parameter reasoning model learned to operate real robots purely in simulation, with zero human demonstrations.

How training works

  • Runs fully asynchronous reinforcement learning on veRL (a distributed RL framework).
  • Uses GRPO, dynamic sampling, and Score Centering — RL techniques that stabilize learning and improve sample efficiency.
  • Handles long-context training via FSDP (Fully Sharded Data Parallelism) and sequence parallelism.
  • Saves memory with gradient checkpointing and activation offloading.
  • Caches prefixes across training rounds, using LMCache to offload the KV cache to CPU memory.
  • Includes optimized GPU kernels for H100, H200, and GB300.
  • Runs simulators on the same Ray cluster: MuJoCo on CPUs, Isaac Sim on GPUs.

How evaluation works

  • Robotic benchmarks: LIBERO, LIBERO-Plus, LIBERO-Pro, RoboDojo, and RoboLab-120.
  • General benchmarks: nine reasoning, coding, and vision benchmarks, run through EvalScope.

How deployment works

Two components:

  1. Model server — a vLLM server running on one RTX 5090 or GB300, with specialized decode kernels.
  2. Robot station — the agent loop that actually drives a physical robot: either a YAM (two arms with grippers) or an SO-101 (one arm with a gripper).

Supported hardware

  • NVIDIA Blackwell: GB300, RTX 5090 (for the model server)
  • NVIDIA Hopper: H100, H200

Supported environments

Environment Robot Simulator Purpose
LIBERO Franka MuJoCo training + evaluation
LIBERO-Plus Franka MuJoCo evaluation
LIBERO-Pro Franka MuJoCo evaluation
RoboDojo dual-arm ARX Isaac Sim training + evaluation
RoboLab-120 Franka + Robotiq gripper Isaac Sim evaluation

Supported model

  • Qwen3.8-27B — with separate recipes for training and deployment.

Built on

PEAR builds on veRL and LMCache, and uses vLLM and Ray.

Getting started

Install with a single script (bash scripts/install.sh libero_run), which sets up the model, LIBERO, and the training environment. Then start a Ray cluster and launch a run using the provided recipes.

Related

  • Project
  • Project
  • Project
  • Project