PEAR

An open 27B reasoning model learns to drive a robot the way computer-use agents learn computers: reinforcement learning alone, entirely in simulation. Give it a new task in a scene it trained in, and it succeeds 57.4% of the time. π0.5, trained by imitation on the same scenes, succeeds 0.75% of the time.

Pick a policy and a twist, and watch it try. Then we build the whole recipe from zero: one round of robot use, the protocol, the 0-or-1 reward, the training engine, and what transfers to a real robot.

You need what a reasoning model does (it writes a chain of thought before it answers) and what reinforcement learning is (try, get a score, do more of what scored well). We build the rest.

Change the task

Ready
Twist

One episode plays, then the grid fills at the paper's success rate. Teal is a success; a red outline is a failure.

Rates from LIBERO (Table 2) and LIBERO-Pro's task and position perturbations (Fig. 4, Table 3). Both policies were trained only on LIBERO: π0.5 by fine-tuning on demonstrations, the PEAR model by RL. The grid shows 100 cells rounded to the nearest cell; the read-out gives the exact rate. The scene is a drawn toy.

Chapter 0

Two ways to teach a robot

Compare a robot that copies demonstrations with one that reads the scene and reasons, and find out why only the biggest models can do the second today

You watched it in the hero. Both robots saw the same kitchen. Both were trained on the same set of tasks. Then the instruction changed to a task neither had practised in that scene. One robot did the old task anyway. The other read the new instruction and did that.

The two robots were taught in two different ways. This chapter names the two ways, and the rest of the lesson builds the second one from zero.

Copy the demonstrations

π0.5 and other VLAs

A VLA (vision-language-action model) watches many recorded demonstrations of each task and learns to produce the same motions. This is supervised fine-tuning: show the right answer, make the model copy it. It is very good at the tasks it was shown. It has little reason to read the instruction once the scene alone tells it which motion to replay.

Look, think, then act

robot-use agents

A robot-use agent (RUA) works like the agents that operate a computer from screenshots. It looks at the camera frames, writes a chain of thought in words, and then writes the next position for the robot's hand. A separate controller moves the arm there. Then it looks again.

The second way has a big advantage. The model behind it already knows what a mug, a basket and "next to the stove" mean. It learned that from pictures and text. If it can reason about the scene, it can follow an instruction it was never trained on.

There is a catch. So far, only the strongest proprietary models do this well, such as GPT-6 Astra and Claude Fable 5.2. Open models, the ones anyone can download and train, mostly fail. See for yourself on LIBERO, a standard set of 40 simulated kitchen tasks for one robot arm.

Who can drive a robot today?

Pick a kind of policy. The top bar is success on LIBERO's 40 trained tasks. The bottom bar is success when the scene stays the same but the instruction asks for a different task.

LIBERO success over its 2,000 evaluation episodes (Table 2): Qwen3.8-27B base 1.6%, GPT-6 Astra 49.3% at medium effort and 80.6% at max effort, π0.5 96.9%, the PEAR model 74.4%. New task in the same scene: LIBERO-Pro's task perturbation (Table 3), π0.5 0.75%, PEAR model 57.4%. The paper does not run the base model or the frontier models on LIBERO-Pro; those bars say so.

Read the four bars as two problems. The open model, Qwen3.8-27B, succeeds on 1.6% of LIBERO. It is a capable reasoning model, but nobody taught it to use a robot. π0.5 succeeds on 96.9%, but almost never on a new task in the same scene. It learned the motions, not the meaning.

Many groups attack the first problem with a harness: extra tools around the model, such as an object finder, a grasp planner or a small menu of ready-made motions. The model then picks from the menu. This helps open models finish some tasks. But a menu can also make other tasks impossible, because the right motion is not on it.

This paper takes the harder road. No harness, no demonstrations. The authors take Qwen3.8-27B and train it to use robots with reinforcement learning (RL) alone, in simulation, the same way computer-use agents learn to use computers. They call it robot-use reinforcement learning, RURL. The software that runs it is PEAR, a Post-training Engine for Agentic Robotics.

The idea in one line: teach robot use the way computer use is taught. Let the model look, reason and act, score each attempt with a 0 or a 1, and reinforce what worked. Do it all in simulation, then put the model on a real robot it has never seen.

The result: LIBERO success rises from 1.6% to 74.4%. The model follows new instructions and works on a different simulator with a two-arm robot. On a real two-arm robot it succeeds in 18 of 30 trials, where the untrained model succeeds in none. It also keeps its maths, coding and vision skills. Here is the road.

  1. One round of robot use: look, think, write the next hand position, let the controller move.
  2. One protocol for every robot: why the same text interface works on three different robots.
  3. Rewards of 0 or 1: how a group of eight attempts turns a pass or fail into a learning signal.
  4. Every token shares the credit: the gradient, and how it handles stale rollouts.
  5. The cold start: a model that never succeeds cannot learn, so the tasks come in stages.
  6. PEAR, the engine: episodes of 94,000 tokens, and the cache that makes them affordable.
  7. Learning on LIBERO: from 1.6% to 74.4%, next to the frontier models.
  8. Change the task: the hero in full, against π0.5.
  9. New tasks, new robots, the real world: what transfers, and how far.
  10. Thinking costs time: reasoning effort, speed, and the skills it kept.
  11. Connections: the cheat sheet and the code.
π0.5 succeeds on 96.9% of LIBERO but on 0.75% of new tasks in the same scenes. What does that suggest it learned?

Chapter 1

One round of robot use

Step through the loop the model runs: look at the frames, reason in words, write the next hand position, and let a controller move the arm

Think about how a computer-use agent books a flight. It gets a screenshot. It writes a thought: "The Search button is at the top right." It outputs an action: click at pixel (812, 431). The operating system performs the click. A new screenshot arrives, and the loop repeats.

The agent never moves the mouse pixel by pixel. It names a target, and the operating system does the low-level work. A robot-use agent uses the same split. The model names where the robot's hand should go next. A robot program does the motor work.

That target is called the end-effector pose. The end effector is the business end of the arm, here a two-finger gripper. Its pose is six numbers: where it is (x, y, z) and how it is turned (roll, pitch, yaw). The gripper also has a width: how far apart the fingers are.

Run the loop, one round at a time

Press Next round. Each round the model observes (blue), reasons (yellow) and acts (teal). The arm moves only after the action. The bar at the bottom is the context: everything the model has read and written so far. Switch to Computer to see the same round for a computer-use agent.

Observe

Reason

Act

The protocol, the reasoning line "The gripper is right above the eraser. Lower it until the fingers are on either side." and the action z = −17.4 follow Fig. 2. The other rounds are illustrative. The context bar uses the paper's averages: about 1.8k prompt tokens, and 92k response tokens over 19.7 rounds, so about 4.7k tokens per round (App. A). Real episodes also add 39 to 59 images.

Follow one round. First the model observes: the camera frames, plus the arm's current state written as text, a small JSON object listing every part and its numbers. Then it reasons: it writes a chain of thought about where things are and what to do next. Then it acts: it writes another JSON object with the same parts, this time holding the change to make.

The robot side takes over. Inverse kinematics (IK) works out which joint angles put the hand at that pose. The arm's controller drives the motors there and stops when the arm is at rest. Only then does the next round begin, with new frames.

Watch the context bar. Every round stays in the context: the instruction, every earlier observation, every thought, every action. So when the model decides round 12, it can see that its grasp in round 9 slipped. That memory costs tokens. In the paper's training runs an episode averages 19.7 rounds and about 94,000 tokens.

Nothing else helps it. The paper gives the model no object detector, no grasp planner and no library of skills. The model itself must find the eraser in the picture, decide how to reach it, and notice when a move failed. Everything it can do, it learns from trying.

An episode ends in one of four ways. The simulator reports success, the task's step limit is reached, the context hits its token budget, or a response has no valid action. At the end, the episode gets its score. The next chapter shows why the text interface matters, and Chapter 3 shows what the score does.

In one round, what does the model write as its action?

Chapter 2

One protocol for every robot

See how one text interface describes three different robots, and what happens when the model asks for a pose the arm cannot reach

The paper trains on two simulators and tests on a third robot. LIBERO uses a one-arm Franka. RoboDojo uses a two-arm ARX. The real robot is a two-arm YAM. Their joints, lengths and motors all differ. Yet the model needs no new training to switch between them. The reason is the protocol.

The protocol is the contract between the model and the robot. The system prompt states it once, along with the robot's coordinate frame and cameras. It describes the robot as a set of named parts, each with named numbers: the position and turn of each arm's hand, and each gripper's width.

Write an action

Pick a robot and see its state as JSON. Then drag the warm target in the picture and press Send. The action is the change from the current pose. Drag past the arm's reach and IK has no answer. Turn on the box to see the controller stop short.


    

The structure (named parts, named quantities, actions as changes in centimetres and radians, the controller moving until every target is reached and the robot is at rest or blocked) is from Sec. 3 and App. H. The side view, the arm lengths and the robots' drawings are illustrative. On the real robot, an action IK cannot solve is retried, and the retry counts as a round (Sec. 4).

Two rules make the protocol work. First, the state lists the current value of every quantity as a JSON object. An action is a JSON object of the same shape that gives the change of every quantity. Changes are in centimetres and radians. "z: −17.4" means lower the hand 17.4 cm.

Second, the controller sits outside the model. It moves the robot until every target is reached and the robot is at rest, or until something blocks it short of the target. Either way, the next round starts from where the arm actually ended up, and the model sees that in the new frames and state.

Compare this with a VLA. A VLA usually outputs joint targets or motor commands for one specific robot, many times a second. Change the robot and the outputs mean something else. A pose target is closer to an instruction a person would give: "put your hand 17 cm lower." Any arm with IK can carry it out.

The interface has a cost too, and the paper is open about it. Each round moves the arm to one pose and stops. A smooth motion that a VLA plays as one fluid chunk takes the agent several rounds, each with its own thinking. The accuracy also depends on the controller: a poor one can jerk the arm or miss the target. Chapter 10 returns to this.

One protocol, three robots. Now the model needs to learn to use it well. For that it needs a score, and the score is the bluntest one possible.

Why can the same trained model drive the Franka, the ARX and the real YAM?

Chapter 3

Rewards of 0 or 1

Turn a pass or fail at the end of a long episode into a learning signal, by comparing eight attempts at the same task

Here is all the feedback the model gets. At the end of an episode, the simulator says whether the task was done. Done is a reward of 1. Not done is 0. No partial credit, no hint about which round went wrong, no demonstration of the right motion.

Written as a rule: the reward R(τ) of an episode τ is 1 if the simulator reports success by the end, and 0 otherwise. Training raises the expected reward over the training tasks. The question is how to turn one bit into a push on thousands of tokens.

The trick is to compare. Run the same task, from the same starting state, eight times. The model samples its words with some randomness, so the eight episodes differ. Some succeed, some fail. Now each episode can be judged against its siblings: did it do better or worse than the group?

Score a group of eight

Click an episode to flip it between success (teal) and failure (red outline). The bars are the advantages: how much each episode's tokens get pushed up or down. Try one success in eight, then four, then all eight.

30%

Eq. (1) with G = 8 episodes per group and 128 groups per RL step (Table 1). The standard deviation here is taken over the eight rewards (population form) and ε = 0.0001; the paper writes stdj without fixing the form. All-success and all-fail groups are discarded and replaced, as in DAPO (Sec. 3.2). The success-rate slider draws each episode independently, a simplification.

This is GRPO, group relative policy optimization. Its advantage for episode i says how much better than average it did, in units of the group's spread:

Âi
The advantage of episode i. Positive: make this episode's tokens more likely. Negative: less likely. Every token of the episode gets the same value.
R(τi)
The reward of episode i: 1 if the simulator reported success, 0 if not.
meanj R(τj)
The group's average reward, which is its success rate. It is the baseline: what this task usually gets right now.
stdj R(τj)
The spread of the rewards in the group. Dividing by it puts easy and hard tasks on the same scale.
ε
A small constant so we never divide by zero.

A worked number. Three of eight episodes succeed. The mean is 3/8 = 0.375. Each reward is 0 or 1, so the spread is √(0.375 × 0.625) = 0.484. A success gets  = (1 − 0.375) / 0.484 = +1.29. A failure gets (0 − 0.375) / 0.484 = −0.77.

1 of 8: Â = +2.65 for the success, −0.38 for each failure  ·  7 of 8: +0.38 for each success, −2.65 for the failure

Look at the two extremes. When success is rare, the one success gets a big push: whatever it did differently is worth learning. When success is common, the one failure gets the big push down. The rule spends its force where the surprise is.

Now try all eight successes, or all eight failures. The mean equals every reward, so every advantage is zero. That group carries no signal at all. PEAR follows DAPO here: such groups are thrown away and replaced with new ones, so each step of 128 groups is all signal.

Move the success-rate slider to 2% and draw 128 groups. Almost all are all-fail and get thrown away. That is the position of the untrained model, which succeeds on about 2% of LIBERO's easier tasks. Chapter 5 shows how the paper gets out of that hole.

A group of eight episodes of one task all fail. What does GRPO do with it?

Chapter 4

Every token shares the credit

Turn one 0 or 1 per episode into a push on every token the model wrote, and correct for training on slightly old rollouts

The last chapter gave each episode one number, its advantage Â. A success in a mixed group gets a positive Â. A failure gets a negative one. But the model does not output episodes. It outputs tokens, about 92,000 of them in an average episode.

So the question is simple. Which of those tokens deserve the credit for a success? The thought in round 3 that said "lower the gripper"? The action JSON in round 9? The long paragraph in round 14 that turned out to be wrong?

PEAR gives the simplest possible answer: all of them, equally. Every token the model generated in an episode gets that episode's Â. That includes reasoning tokens and action tokens, in every round. Tokens that came from the simulator, such as the camera frames and the arm state, get nothing, because the model did not choose them.

The update, piece by piece

Here is Eq. (2) of the paper. Read the first term first. The second term is a correction that we build up below.

Âi
The advantage of episode i, from Eq. (1). One number, copied onto every token that episode generated.
∇ log π(y | c)
The score of one token: the direction in weight space that makes this token more likely in this context. Times a positive Â, the step makes it more likely. Times a negative Â, less likely.
Ev∼μ ∇ log π(v | c)
The score centering term: the average score over every token v the rollout policy μ could have written here. Subtracting it removes the part of the push that has nothing to do with the token that was actually chosen.
N
The number of generated tokens in the whole batch. Dividing by N is a token mean: every token counts once, so long episodes count more than short ones.
∇J
The direction the optimiser takes. PEAR applies it with AdamW at a learning rate of 10−6, one update per step, with no KL penalty and no entropy bonus.

Without the second term this is REINFORCE, the oldest policy-gradient rule, with the group mean as its baseline. PEAR uses it without PPO clipping. PPO caps how far one update can move a token's probability. PEAR drops that cap and keeps its updates small with the tiny learning rate instead.

Look at one group of 8 to see what the copying does. Each row below is one episode. Each block is a round: a yellow stretch of reasoning, then a short teal action. The tint shows the sign of the push each token gets.

Credit across one group

Eight episodes of one task, round by round. Tap a row to flip that episode between success and failure. Switch the average between a token mean (PEAR) and an episode mean to see how much each episode weighs in the update.

Illustrative episodes. Round counts and token lengths are drawn around the paper's averages: about 94k tokens and 19.7 rounds per episode (App. A). The advantages are Eq. (1) computed live on the 8 outcomes. A group with all successes or all failures has  = 0 on every token, and the DAPO filter drops it.

Two things stand out. First, a successful episode's bad ideas get rewarded too. If round 14 was a wrong turn that the model later fixed, its tokens still get the positive push. Only across many groups does the signal sort itself out: a wrong turn shows up in failures more often than in successes, so on average it gets pushed down.

Second, look at the token mean. A 130k-token episode carries about twice the weight of a 65k-token one, because it has twice as many tokens. A failure that rambled to the context limit gets a large share of the negative push. This may be one reason episodes get shorter as training goes on. The paper reports 119k tokens over 19.9 rounds at the start and 82k over 18.5 at the end.

Why there is a second term: training on old rollouts

Generating an episode is slow. It takes up to 25 rounds of thousands of reasoning tokens each, plus a simulator step after each round. If the trainer waited for every rollout before each update, the GPUs would sit idle most of the time.

So PEAR runs fully asynchronously. Rollout engines keep generating with whatever weights they have. The trainer keeps updating. By the time an episode reaches the trainer, the weights that wrote it, called μ, are one or two versions behind the weights being trained, πθ.

That lag breaks a quiet property of REINFORCE. If tokens are sampled from π itself, the average score is exactly zero. When the token tells you nothing, the update averages to nothing. Sampled from an older μ, the average score is no longer zero. It leaves a small push that depends only on how π and μ differ, not on what the episode achieved.

Score centering subtracts that average back out, token by token, using μ's own next-token distribution. The device below shows it on a toy vocabulary of three next tokens.

Score centering, three tokens

Bars show the score for each candidate token, in the softmax-logit view where the score of token k is "1 at k, minus π". Move the lag to make the rollout policy μ drift from the current policy π. Pick which token was sampled.

some lag

Illustrative probabilities. In the logit view the expected score under μ is μ − π, so the centered score is simply "1 at k, minus μ": it averages to zero under the policy that really sampled the token. The paper uses this correction alone, without truncated importance sampling (Sec. 3.2, App. A).

A worked number. Say π puts 0.5, 0.3 and 0.2 on "lower", "close" and "lift". The rollout policy, one version older, puts 0.6, 0.25 and 0.15 on them. The model sampled "lower".

raw score = (1, 0, 0) − π = (0.5, −0.3, −0.2)   average under μ = μ − π = (0.1, −0.05, −0.05)

centered = raw − average = (1, 0, 0) − μ = (0.4, −0.25, −0.15)   average under μ = 0

The raw score's average, (0.1, −0.05, −0.05), would nudge the model toward "lower" in every episode, success or failure, just because the old policy liked it more. Centering removes exactly that nudge. What remains is the push that the advantage earned.

The design in one line. One 0 or 1 per episode, copied onto every generated token, divided by the token count, with the lag of asynchronous rollouts centred out. No critic network, no clipping, no KL term. All the cleverness sits in the data the model generates.
An episode succeeds even though the model's reasoning in round 6 was wrong and later corrected. What happens to the round 6 tokens in this update?

Chapter 5

The cold start

Start where the model sometimes wins, and let transfer create a signal on the tasks it cannot do yet

Put the last two chapters together and a problem appears. The advantage is nonzero only in a group with at least one success and at least one failure. A task the model never solves gives eight zeros, so the group is dropped. Nothing is learned from it.

And the base model, Qwen3.8-27B, almost never solves anything. It succeeds in about 2% of episodes on LIBERO's Spatial, Object and Goal suites. On the long-horizon suite, LIBERO-Long, it succeeds in 0.4%. On most RoboDojo tasks it almost never succeeds at all.

How much signal does a 2% success rate give? Work it out. With a success chance p per episode and G episodes per group, a group is mixed unless all G fail or all G succeed:

p
The chance that one episode of this task succeeds, for the current model.
G
The group size. PEAR uses 8 episodes per group, all on the same task and initial state.
P(mixed)
The chance that a group has both outcomes, and so has nonzero advantages and survives the DAPO filter.

p = 0.02:   1 − 0.988 − 0.028 = 1 − 0.851 − 0.000 = 0.149

p = 0.004:   1 − 0.9968 − 0.0048 = 0.032   (our arithmetic from the paper's success rates)

At 2%, about 1 group in 7 carries signal. PEAR wants 128 surviving groups per step, and the filter replaces every dropped group. So at 2% it must roll out about 860 groups, roughly 6,900 episodes, to find 128 useful ones. At 0.4% it would need about 4,000 groups. Each episode is tens of thousands of tokens. A cold start is not impossible, but it is very expensive.

Signal versus success rate

The curve is the share of groups that are mixed. Drag the success rate, or jump to the paper's real points. The bar on the right counts how many groups PEAR must roll out to keep 128 useful ones.

2.0%

The formula is exact for independent episodes. The paper's numbers are the success rates (Sec. 3.3, 4.1) and the batch of 128 groups of 8 counted after the group filter (Table 1). The group counts are our arithmetic; the paper does not report how many groups were rolled out per step. The slider is on a square-root scale so small rates get room.

The curve says something useful at both ends. Near zero, signal is scarce. Near 100%, it is scarce again: a task the model always solves also gives all-equal groups. The most signal comes from tasks the model solves somewhere between 10% and 90% of the time. Larger groups widen that useful band, at the price of more rollouts per group.

The way out: transfer

The paper's answer is a curriculum: train first on the tasks that already give a little signal, and let what the model learns there raise its success on the others. Once a held-back task starts to succeed now and then, add it to training. Its groups become mixed, and RL can take over.

Three stages, one run

Pick a stage. The strip shows which tasks are in training, and the cards show the success rates the paper reports at the end of that stage, including on tasks the model has not trained on yet.

Stage boundaries and numbers from Sec. 3.3, 4.1, 4.3, 4.4 and Table 1. LIBERO values are on its 2,000 evaluation episodes; RoboDojo values on 163 to 200 episodes per task. "Not reported" means the paper gives no number for that task at that point.

The clean test is LIBERO-Long. It was held out of stage 1 on purpose. At step 148, never having trained on a single LIBERO-Long episode, the model solves 39.0% of it, up from 0.4%. At 39%, almost every group is mixed (about 98%). So when LIBERO-Long joins training at step 149, RL has plenty to work with, and the suite climbs to 53.2%.

The same move repeats on a new simulator. RoboDojo's general pickup and align blocks tasks were chosen for stage 3 because they gave the strongest signal after LIBERO training: 39.9% and 17.0%, up from 10.7% and 13.0% for the base model. 115 more steps lift them to 71.2% and 78.8%.

Why did the authors leave LIBERO-Long out of the first training stage?

Chapter 6

PEAR, the engine

Keep 94,000-token episodes cheap to generate and possible to train on, round after round

The algorithm fits on one page. Running it is the hard part. PEAR, the Post-training Engine for Agentic Robotics, is the infrastructure that makes it run. It is built on two open projects: veRL, a framework for RL on language models, and LMCache, a store for attention caches.

Start with what one training episode looks like. On LIBERO and RoboDojo, an episode averages about 94k tokens: 1.8k of prompt and 92k of the model's own responses. It runs 19.7 rounds and carries 39 to 59 camera images. Each RL step uses 128 groups of 8 such episodes, so one step is about 1,024 episodes, close to 100 million generated tokens.

Problem 1: every round re-reads the whole story

Recall the loop from chapter 1. In each round the model gets the whole context so far: the prompt, every earlier frame, thought and action, plus the new observation. A language model must run its attention over all of that before it writes the first new token. That reading step is called prefill.

Without help, round 20 re-reads rounds 1 to 19 from scratch. Round 19 did the same. The total reading work grows with the square of the number of rounds. The fix is the prefix cache. The attention keys and values for the context so far, the KV cache, are kept after each round. Next round, only the new tokens need prefill.

One episode, round by round

Each bar is the context the model must attend over in that round. With the cache on, the old part (grey) is reused and only the new part (blue observation, yellow and teal response) is computed. Move the number of rounds. Turn the cache off to see the work it saves.

20 rounds

Our arithmetic, assuming every round adds the same amount: (94k − 1.8k) / 19.7 ≈ 4.7k new tokens per round (App. A averages). The paper keeps the prefix-cache hit rate at about 95% or above. The cap of 25 rounds is the real-robot trial budget (Sec. 4).

A worked number for a 20-round episode. Without the cache, prefill reads the context once per round: 1.8k × 20 for the prompt, plus 4.7k × (1 + 2 + … + 20) for the growing history.

1.8k × 20 + 4.7k × 210 = 36k + 987k ≈ 1.0 million tokens read   versus about 94k with a perfect cache

That is roughly 11 times less reading. It matters even more because PEAR's rollout engines are memory-bound already. The paper does two concrete things to keep hits high:

  1. Offload to CPU. On H100 nodes, LMCache moves the KV cache of finished prefixes from GPU memory to CPU memory. When the next round of that episode arrives, the prefix is copied back instead of recomputed.
  2. Limit concurrency. More episodes at once means more prefixes competing for the cache. PEAR runs 64 rollouts per engine when episodes are capped at 160k tokens, and 32 when capped at 256k, to keep the hit rate at about 95% or above.

On GB300 nodes, the host memory is too small to serve as an offload tier, so they serve without LMCache. Either way, a node generates about 2,000 to 3,000 tokens per second during rollout.

Problem 2: one episode is one training sequence

For the update, PEAR keeps a whole episode as a single training sequence. That keeps every token's context exactly as it was at rollout. But a 256k-token sequence does not fit on one GPU for a backward pass of a 27B model.

Two kinds of splitting fix it. FSDP (fully sharded data parallel) splits the model's weights, gradients and optimiser state across the GPUs of a node. Sequence parallelism splits the sequence itself: each GPU holds a slice of the tokens and they exchange what attention needs. Gradient checkpointing then stores fewer activations and recomputes them during the backward pass.

Fitting one episode

Pick the GPU type. The bar is one episode cut into slices, one per GPU in the sequence-parallel group. Move the episode length and see whether it fits.

94k tokens

Tokens per GPU from Table 1: H100 32,512 with FlashAttention-3 and activation offloading; GB300 69,632 with FlashAttention-4. 8 × 32,512 = 260,096 tokens, which is exactly the context budget listed for the real-robot trials (Table 7).

Notice the match in the fine print: eight H100s holding 32,512 tokens each give 260,096 tokens. That is the same 260,096-token context the paper lists for its real-robot trials. The model's context limit and the training engine's memory plan were sized together.

The bill. Training took about 50,000 H100-equivalent GPU hours in total, on H100, H200 and GB300 GPUs. The paper names limited GPU resources as the main reason it stopped after two RoboDojo tasks.
Why does PEAR limit how many episodes each rollout engine runs at once?

Chapter 7

Learning on LIBERO

Watch a model that wins 1.6% of the time climb to 74.4%, and measure it against the frontier

Now the run itself. LIBERO is a simulation benchmark with a single Franka arm in kitchen and tabletop scenes. It has four suites of 10 tasks each. Spatial tests where things are, Object tests which thing, Goal tests what to do in a fixed scene, and Long chains several steps. The score is the success rate over 2,000 evaluation episodes, 50 for each of the 40 tasks.

The base model, Qwen3.8-27B with no robot training, scores 1.6%. It can read the scene and the instruction. It cannot yet turn that into poses that pick up a bowl.

The training run

The line is the shape of the training-rollout success rate; the diamonds are the paper's evaluations on all 2,000 episodes. Toggle reference lines for the frontier models and π0.5. Drag along the curve to read the step.

Evaluation points from Fig. 3 and Sec. 4.1: 1.6 (base), 64.0 at step 148, 69.5 at step 184, 74.4 at step 225. The line between them is an illustrative shape; the paper's training curve rises to about 70% on the first three suites by step 148 and LIBERO-Long joins at step 149. Frontier values at max and medium effort from Table 2; π0.5 from the openpi repository.

Read the run in three phases. From step 1 to 148, only Goal, Spatial and Object are trained. Almost every early rollout earns nothing, yet the training success rate on those suites still climbs to about 70%. The 2% of mixed groups is enough to start the climb, and each gain makes more groups mixed.

At step 148 the evaluation reads 64.0% on all of LIBERO, including a LIBERO-Long the model has never trained on (39.0%). LIBERO-Long joins at step 149. The score reaches 69.5% at step 184 and 74.4% at step 225, about 5 points per evaluation.

Against the frontier

The comparison that matters is with the proprietary models that made robot-use agents look possible. The paper runs GPT-6.1 Sol and GPT-6 Astra through the same protocol: same prompt, same JSON actions, same controller. Each model's effort setting controls how long it reasons.

At medium effort, Sol scores 48.1% and Astra 49.3%. The trained 27B model, at its xhigh effort, beats both by about 25 points. At max effort, Sol reaches 76.2% and Astra 80.6%. The open model closes most of that gap, from 1.6% to within 2 to 6 points.

LIBERO, suite by suite

Pick a suite. The bars compare the base model, the trained model, the frontier models at both efforts, and π0.5.

Table 2. The trained model is the LIBERO-only checkpoint (step 225) at xhigh effort. π0.5 is supervised fine-tuned on demonstrations of every LIBERO task, so it is an upper reference, not a like-for-like rival: chapter 8 shows what that training costs it.

The suites tell different stories. On Spatial (85.8%) and Object (97.0%), the trained model is the best of all the language models, ahead of both frontier models at max effort. On Goal (61.4%) and Long (53.2%), it sits between the frontier models' medium and max scores.

Part of that gap is not skill but space. On Goal, 19% of its episodes end because the context hits the 256k-token budget. On Long, 33% do. The model is still thinking when it runs out of room. A longer context, or shorter reasoning, would likely lift those two suites.

The trained model scores 61.4% on Goal and 53.2% on Long. What does the paper point to as one concrete reason these suites lag?

Chapter 8

Change the task

Keep the scene, change what you ask for, and see which policy still listens

Picture a kitchen table you know well. A bowl, a plate, a mug, a basket. You have trained a robot to put the bowl on the plate, many times, from demonstrations. Now you say something new: "Put the mug in the basket." Same table, same objects, same starting pose. Only the words changed.

A person would just do the new thing. Does the robot?

This is the question that separates two ways of learning to act. A vision-language-action model (VLA) like π0.5 learns by imitation: it copies the motions in its demonstrations. The PEAR model learns by reinforcement learning on top of a reasoning model: it reads the instruction, reasons about the scene, and picks a move. On the tasks they were trained on, both do well. The test is what happens when the task moves under them.

Two kinds of change

The paper uses two benchmarks built on top of LIBERO, the simulator both policies were trained in. Neither policy saw any of their test episodes.

Both policies were trained only on LIBERO. π0.5 was fine-tuned on demonstrations of every LIBERO task. The PEAR model at this point is the LIBERO-only model: 225 RL steps on LIBERO and nothing else. So the comparison is fair in one important way. Neither policy has seen these perturbations.

Perturb the task

Pick a test, then pick a policy. The scene on the left plays one episode: watch what the arm does when the instruction changes. The chart on the right shows both policies on every test, with the drop from clean LIBERO.

Success rates: LIBERO, Table 2 (2,000 episodes); LIBERO-Plus, Fig. 4a (10,030 episodes for the PEAR model); LIBERO-Pro by type, Table 3 (2,000 episodes per type for the PEAR model); LIBERO-Plus by dimension, Fig. 10c. The π0.5 numbers come from prior work on its released checkpoint, not from a run by the authors. The animated episode is a drawn toy that shows the typical behaviour behind each number; the numbers are the paper's.

What the observation tests say

Start with LIBERO-Plus. Here the two policies lose about the same amount. π0.5 drops 11.2 points, from 96.9% to 85.7%. The PEAR model drops 12.2 points, from 74.4% to 62.2%. A new camera angle or new lighting hurts both. Neither learning method gives a clear edge when only the picture changes.

π0.5 is still well ahead on the absolute number. It was trained on demonstrations of exactly these tasks, and its motions are precise. If your robot only ever does the trained tasks under new lighting, imitation is hard to beat.

What the task tests say

Now LIBERO-Pro. On the mean of its four perturbations, the PEAR model loses about 12 points again, landing at 62.1%. But π0.5 loses 43.6 points, falling to 53.3%. Its 22.5-point lead on LIBERO turns into an 8.8-point deficit.

The whole swing comes from two of the four perturbations. Look at them one at a time.

LIBERO-Pro perturbationWhat changesπ0.5PEAR model
TaskSame scene and start, a different instruction0.75% (−96.2)57.4% (−17.0)
PositionSame instruction, objects swapped20.8% (−76.1)57.5% (−16.9)
SemanticInstruction reworded, same task95.8%73.3%
ObjectObjects restyled, same task96.0%60.2%
Mean of the four53.3%62.1%

The task perturbation is the starkest number in the paper. π0.5 succeeds in 0.75% of episodes, fewer than one in a hundred. The paper's reading: in a scene it knows, π0.5 tends to carry out the task it was trained on there. It moves the bowl to the plate even when you asked for the mug. The PEAR model succeeds in 57.4%, losing 17 points from its clean score. It does what the new words say.

The position perturbation tests the same skill from the other side. The instruction is the old one, but the objects have traded places. Following the instruction now needs a different motion. π0.5 falls to 20.8%. The PEAR model falls to 57.5%, again about 17 points.

Why the split falls where it does

Here is the pattern. π0.5 stays strong whenever the motion it was shown is still the right motion: new words for the same task, new looks for the same objects. It collapses whenever the right motion is different from the shown one: a new task, a new layout.

The paper's explanation is the difference between imitating and reasoning. A policy fine-tuned on demonstrations learns a mapping from this scene to that motion. Change the scene's meaning and the mapping still fires. The PEAR model keeps the base model's ability to read an instruction and a scene. Reinforcement learning teaches it to act on what it read. So it pays a modest, steady price on every perturbation, about 1 to 17 points, and never falls off a cliff.

That steadiness has a cost of its own. The PEAR model is less precise than π0.5 on the tasks π0.5 knows. On restyled objects it loses 14 points where π0.5 loses one. Reasoning about each move is slower and noisier than replaying a learned one.

Where the PEAR model is weakest

LIBERO-Plus can also be split by what it changes (choose "Plus, by dimension" in the device). Most changes cost the PEAR model a few points: background 70.8%, lighting 69.8%, wording 68.4%, camera 67.5%, layout 65.4%, sensor noise 60.0%. One change costs it far more. When the robot starts in a different pose, success falls to 37.9%, a drop of 36.5 points.

The paper does not explain this one, so we only note it. A new starting pose changes every number in the arm-state JSON the model reads each round, and the trained poses may have taught it a narrow sense of where the arm begins. That is a guess, not a finding.

The design lesson. A success rate on the training tasks measures how well a policy copies. A success rate after changing the task measures whether it understood. The two can point in opposite directions, and only the second tells you what happens in a kitchen you did not record.
On LIBERO-Pro, π0.5 scores 95.8% on reworded instructions but 0.75% on a new task in the same scene. What best explains the gap?

Chapter 9

New tasks, new robots, the real world

Follow one model from a suite it never trained on to a robot it never saw

Chapter 8 changed the task inside a familiar simulator. Now change everything. A suite of tasks the model was never trained on. A different simulator with a different robot. A third benchmark with 120 new tasks. And finally a real two-arm robot on a real table, with no real-robot data at all.

Each step is a harder test of one claim: what RL teaches in simulation is a general skill of using a robot, not a memory of particular tasks.

Step 1: a suite it never trained on

Recall the curriculum from Chapter 5. For the first 148 RL steps, the model trained on three LIBERO suites: Goal, Spatial and Object. LIBERO-Long, the suite of long two-part tasks, was held out. That makes a clean test.

At step 148, before a single LIBERO-Long episode in training, the model solves 39.0% of LIBERO-Long. The base model solved 0.4%. Skills learned on short tasks carried over to long ones. Then something useful happened. Those few successes gave RL a signal on LIBERO-Long, so when it was added to training at step 149, the model could learn it. It finished at 53.2%.

This is the curriculum's trick in action. RL cannot learn a task it never succeeds on, because a group of all failures has zero advantage. Transfer from easier tasks lifts the success rate above zero, and then RL takes over.

Step 2: a new simulator and a new robot

RoboDojo is a different simulator, built on Isaac, with a two-arm ARX robot instead of LIBERO's one-arm Franka. The protocol is the same JSON: the prompt now lists two arms and two grippers. The LIBERO-only model, which has never seen this simulator or this robot, succeeds in 39.9% of "general pickup" episodes and 17.0% of "align blocks" episodes. The base model scores 10.7% and 13.0%.

The pickup gain is large: about four times the base rate. The align-blocks gain is small, and the 95% intervals of the two models overlap there. The paper reports both honestly. Then it trains on these two tasks for 115 more steps, still entirely in simulation. Training success climbs from about 25% to about 70%, and the final model reaches 71.2% and 78.8% on the two tasks.

Step 3: a benchmark of 120 new tasks

RoboLab-120 is a third simulation benchmark: 120 tabletop tasks for a one-arm Franka with a Robotiq gripper, in three levels of difficulty. None of its tasks or scenes were in training. The comparison here is with four generalist robot policies from the RoboLab leaderboard, all trained on DROID, a large real-robot dataset.

Follow the transfer

Pick a test. Each one moves further from what the model trained on. On the real robot, every square is one trial; hover or tap a square to read what happened.

Unseen suite: Fig. 5a. New simulator: Fig. 5b and Fig. 6 (163 to 200 episodes per task, 95% Wilson intervals in the paper). RoboLab-120: Fig. 5c and Table 5 (1,200 episodes; the final model's value is the mean of two runs; leaderboard data of 29 October 2026). Real robot: Fig. 7 and Table 7 (30 trials per model on a dual-arm YAM). Each row is grouped by outcome, not shown in trial order; the success counts per task and the failure causes are the paper's exact counts.

The final model succeeds in 37.3% of RoboLab-120's 1,200 episodes. The base model managed 5.4%. That puts it level with Cosmos3-Nano-Policy (36.8%) and ahead of π0.5 (28.0%), DreamZero (25.7%) and GR00T N1.6 (7.2%). This π0.5 is a different checkpoint from the LIBERO one: the RoboLab organizers evaluated the DROID version.

The split by difficulty is informative. The final model leads on simple tasks (44.6%) and moderate tasks (35.8%). On complex tasks it reaches only 13.2%, and Cosmos3-Nano-Policy leads with 25.3%. Long, many-step tasks are still hard for a model that reasons for thousands of tokens before each move. Chapter 10 returns to that cost.

Step 4: a real robot it never saw

The last test has no simulator. A real dual-arm YAM robot, on a real table, with real cameras. No model in the comparison was trained on this robot, and no model saw any real-robot data. The prompt describes the YAM's coordinate frame and cameras, and the YAM's own inverse kinematics and controller carry out each pose. That is all the change the protocol needs.

Each model gets 30 trials. Ten are block alignment: "Use the set square to push the three blocks into a straight, aligned row, then release the set square and reset the robot arm," twice in each of five scenes. Twenty are pickups: "Pick up the ⟨object⟩ by 10 cm," twice for each of ten objects. A trial fails if it takes more than 25 rounds, or if the model reasons for more than 32k tokens in one round.

ModelPickup (of 20)Align blocks (of 10)Total (of 30)
Base Qwen3.8-27B000
LIBERO-only model617 (23%)
Final model (LIBERO + RoboDojo)12618 (60%)

The base model never succeeds. It runs out of rounds in 25 of its 30 trials: it keeps reasoning and moving without finishing. The LIBERO-only model, which never saw these tasks, this robot or two arms in the real world, succeeds 7 times. The final model, which trained on the two matching tasks in RoboDojo with a different robot, succeeds 18 times.

The failures are worth reading too. The LIBERO-only model fails in many ways. It runs out of rounds 10 times, knocks the object over 4 times and reasons past 32k tokens 4 times. It also stops in an unsafe pose twice, does not fully lift twice, and picks the wrong object once. The final model shows none of the last four kinds. Its 12 failures are 6 out-of-rounds, 3 unaligned rows, 2 toppled objects and one tennis ball that rolled away. No model ever picked up the air pump, which toppled in all six of its trials.

Tasks it never trained on at all

The two real tasks repeat what the final model practiced in RoboDojo. So the authors also gave it two tasks with no counterpart in training, which depend on reasoning about what to do rather than on a learned motion.

Neither skill came from RL. Knowing what phenolphthalein does comes from the foundation model. What RL added is the ability to turn that knowledge into poses a robot can execute. That division of labour is the paper's thesis in miniature.

How much to trust each number. The simulator numbers rest on hundreds or thousands of episodes. The real-robot result rests on 30 trials per model, two per object or scene. 18 against 0 is decisive; 6 of 10 on block alignment is a direction, not a precise rate. The two drawing and chemistry tasks are demonstrations, not measured success rates.
Before any LIBERO-Long episode was in training, the model solved 39.0% of LIBERO-Long. Why does this matter for how RL training works?

Chapter 10

Thinking costs time

Measure what the reasoning buys, what it costs per move, and what the training did not take away

Everything the PEAR model can do rests on one habit: it thinks before every move. On LIBERO at the training setting, it writes about 3,230 tokens of reasoning per round before it outputs one pose. A person writing that much would fill several pages. The robot does it every few centimetres.

So two questions follow. How much of the success comes from that thinking? And what does it cost in time?

Turn the thinking down

The chat template of the base model has an effort setting that tells the model how long to reason. RL ran only at the highest setting, xhigh. No rollout ever ran at a lower one. So you might expect training to lock in one long style of reasoning. It did not. At low effort the trained model still shortens its thinking, to about 860 tokens per round.

And success falls with it. On LIBERO, the LIBERO-only model succeeds in 74.4% of episodes at xhigh and 21.9% at low effort. With about a quarter of the thinking (0.86k against 3.23k tokens), it keeps under a third of its success. Most of what the model can do on LIBERO comes from reasoning at length before each move.

Price one move

Pick the reasoning effort and the device. The bars show what one round costs and what that effort buys on LIBERO. The clock shows a 20-round episode at that speed.

Thinking tokens per round and LIBERO success: Fig. 9a and 9b (LIBERO-only model, BF16 weights; low effort is the mean of two runs). Decoding speed: Fig. 9c, with NVFP4 weights and Inco's DFlash2 drafter (52, 221 and 747 tokens/s). Seconds per round = thinking tokens ÷ decoding speed; the paper states about 4.3 s (xhigh) and 1.1 s (low) on the GB300. The laptop and 5090 seconds and the 20-round episode (the training average is 19.7 rounds) are our arithmetic. Arm motion time is not included.

The cost, per move

Speed of thought becomes speed of action. The fast setup uses weights quantized to NVFP4 and a speculative drafter, a small model that guesses several tokens ahead for the big one to check. With it, the model decodes 747 tokens per second on one GB300 GPU, 221 on one RTX 5090, and 52 on an M5 Max laptop. Divide the thinking by the speed and you get the time per move.

tround
Seconds the model spends deciding one pose, before the arm starts to move.
tokens per round
How much it reasons per move: about 3,230 at xhigh, 860 at low effort.
tokens per second
Decoding speed on the device: 747 (GB300), 221 (RTX 5090), 52 (M5 Max).

Work it. On a GB300 at xhigh: 3,230 ÷ 747 = 4.3 seconds per round, the paper's figure. At low effort: 860 ÷ 747 = about 1.2 seconds (the paper rounds to 1.1). On an RTX 5090 at xhigh, 3,230 ÷ 221 is about 15 seconds per move. On the laptop it is about a minute. A typical episode has about 20 rounds, so a minute of thinking per move means twenty minutes of thinking per task.

And those are averages. In a few rounds, the chain of thought reaches the 32k-token limit. At 747 tokens per second that is over 40 seconds for a single move. The paper puts no length penalty on the reasoning during RL, and lists this slowness first among the things to fix.

One more cost: the weights you can run

The NVFP4 quantization that makes the model fast on one GPU also hurts it. The paper reports that it lowers accuracy and lengthens the chain of thought, so every evaluation in the paper uses full BF16 weights. The fast numbers and the accurate numbers come from two different builds of the same model. Closing that gap is engineering work the paper leaves open.

What training did not take away

A common worry with fine-tuning is that a model trained hard on one skill forgets others. So the authors ran the final model and the base model on the same questions from nine benchmarks of reasoning, coding and vision, and compared them in pairs.

Did it forget anything?

Each dot is one benchmark: how many points the final model gained or lost against the base model on the same questions.

Fig. 8 and Table 6. Paired comparisons on AIME 2026, GPQA Diamond, IFBench, LiveCodeBench v6, RealWorldQA, ERQA, the MMMU validation set and MMMU-Pro (standard and vision settings). The paper's 95% intervals are not drawn here; all of them include zero.

BenchmarkWhat it testsBaseAfter RLChange
AIME 2026competition maths98.398.5+0.2
GPQA Diamondgraduate science89.689.7+0.1
IFBenchfollowing instructions73.072.7−0.3
LiveCodeBench v6coding88.088.4+0.4
RealWorldQAreal-world images84.183.7−0.4
ERQAembodied reasoning68.566.5−2.0
MMMU (val)multimodal questions80.781.0+0.3
MMMU-Pro Sharder multimodal77.377.6+0.3
MMMU-Pro Vvision-only setting75.475.40.0

The mean change over the nine is −0.15 points. On every benchmark, the paired 95% interval includes zero. In plain words: no measurable loss. The largest move is ERQA, an embodied reasoning test, down 2.0 points, and even that is inside its interval.

This matches a finding the paper cites: RL on a new task erodes a model's other skills less than supervised fine-tuning does. It is also why the authors chose RL alone, with no supervised step at all. The result is one model that solves AIME problems, writes code, answers questions about images, and drives a robot.

The honest limits

At low effort the model reasons about 0.86k tokens per round and succeeds in 21.9% of LIBERO episodes; at xhigh it reasons 3.23k tokens and succeeds in 74.4%. What does this tell you?

Chapter 11

Connections

Lock in the cheat sheet, name the limits, and place PEAR in the field

You can now read the PEAR paper and defend each of its choices. Why a reasoning model can drive a robot through the same loop a computer-use agent uses. Why the action is a pose change in JSON, not a joint command. Why a 0 or 1 reward is enough, and why it needs a curriculum. Why the engine works so hard on the prefix cache. And why the result generalizes where imitation does not. Let's lock it in.

The one-paragraph summary

Robot-use agents let a vision-language model drive a robot the way a computer-use agent drives a desktop: look, reason, act, repeat. Until now only frontier proprietary models did this well, and open models needed a harness of tools and skills.

PEAR trains an open 27B reasoning model, Qwen3.8-27B, to do it natively. Each round, the model reads camera frames and the arm state as JSON, reasons in a chain of thought, and writes the change in end-effector pose as JSON. The robot's own inverse kinematics and controller carry it out. Training is reinforcement learning alone, in simulation, with a 0 or 1 reward per episode. GRPO computes advantages over groups of 8, and every token shares its episode's advantage. A score-centering term corrects for asynchronous rollouts, and a curriculum starts where the model already succeeds sometimes.

LIBERO success rises from 1.6% to 74.4%, close to GPT-6 Astra and GPT-6.1 Sol at maximum effort. On a new task in a familiar scene it scores 57.4% where π0.5 scores 0.75%. It transfers to a new simulator, a 120-task benchmark and a real dual-arm robot (18 of 30 trials, against 0 for the base model), with no measurable loss on nine general benchmarks. The price is time: thousands of tokens of thinking per move.

The numbers that matter

QuantityValueWhy it matters
Base modelQwen3.8-27B, open weightsNo frontier model, no harness, no demonstrations
ActionJSON change of each end-effector pose and gripper, cm and radiansSame protocol in every simulator and on the real robot
Reward1 if the simulator reports success, else 0Nothing to hand-design; needs a curriculum
Batch128 groups × 8 rollouts per step, lr 10−6Group-normalized advantages; mixed groups only
Episode sizeabout 94k tokens, 19.7 rounds, 39 to 59 imagesWhy the engine is built around the prefix cache
Training computeabout 50,000 H100-equivalent GPU-hoursLarge, but stopped early by GPU limits
LIBERO1.6% → 74.4% (Astra max 80.6, Sol max 76.2)RL alone from a near-zero start
LIBERO-Pro, new task57.4% vs π0.5 0.75%Reasoning follows a changed instruction
LIBERO-Long, never trained39.0% (base 0.4%)Transfer creates the RL signal
RoboLab-12037.3% (Cosmos3-Nano-Policy 36.8, π0.5 28.0)Level with DROID-trained generalists
Real dual-arm YAM18 / 30 (LIBERO-only 7, base 0)Zero real-robot data
Thinking per move3.23k tokens, about 4.3 s on a GB300The main cost
General skillsmean change −0.15 over nine benchmarksNo measurable forgetting

The core, as code

Two short pieces carry the paper's central ideas. The first is the training signal: GRPO advantages with DAPO's group filter. The second is one round of the protocol: parse the model's JSON, turn the pose change into a target, and let the robot's own inverse kinematics decide whether it can get there. The inverse kinematics and controller here are stand-ins; each robot brings its own.

pythonimport json, numpy as np

def group_advantages(rewards, eps=1e-6):
    # rewards: 0/1 outcomes of G episodes that share a task and start state
    r = np.asarray(rewards, dtype=float)
    if r.min() == r.max():                    # all success or all fail: zero signal
        return None                           # DAPO filter: drop and resample the group
    return (r - r.mean()) / (r.std() + eps)   # Eq. (1)

# every generated token of episode i (reasoning or action, any round)
# gets the same advantage A[i]; the loss averages over all N tokens
def token_loss(logp_tokens, A):
    # logp_tokens[i]: log-probs of episode i's generated tokens
    num = sum(-A[i] * lp.sum() for i, lp in enumerate(logp_tokens))
    N = sum(len(lp) for lp in logp_tokens)
    return num / N                             # REINFORCE, token-mean, no clipping

def action_json(text):
    # the reply is a chain of thought, then the action as JSON at the end
    dec = json.JSONDecoder()
    for i, ch in enumerate(text):
        if ch != '{': continue
        try: obj, end = dec.raw_decode(text, i)
        except ValueError: continue
        if not text[end:].strip(): return obj  # the object that ends the reply
    return None

def apply_round(response_text, state, ik_solve, controller):
    # state: {"left_arm": {"x":..,"y":..,"z":..,"roll":..,"pitch":..,"yaw":..},
    #         "left_gripper": {"width": ..}, ...}   cm and radians
    delta = action_json(response_text)
    if delta is None:
        return None                           # no valid action: the episode ends
    target = {part: {q: state[part][q] + delta.get(part, {}).get(q, 0.0)
                     for q in state[part]} for part in state}
    joints = ik_solve(target)                   # the robot's own inverse kinematics
    if joints is None:
        return state                          # unreachable: retry, and it costs a round
    return controller(joints)                  # move until at rest or blocked; new state

The token loss above is the first term of Eq. (2) only. The paper adds a score-centering term that subtracts each token's expected score under the rollout policy, to correct for rollouts that lag one or two versions behind. And the real engine sums over whole 94k-token episodes, which is why it needs sequence parallelism.

The limits, in short

Where it sits in the field

Keep going

The takeaway. A reasoning model already knows what a mug is, what "basket" means and what phenolphthalein does. What it lacks is the skill of turning that knowledge into poses a robot can reach. PEAR shows that skill can be learned the same way computer use is learned: by trying, in simulation, with nothing but a success signal. Because the knowledge stays in the model, the skill follows the instruction rather than the demonstration.

Now press Present or Teach and explain, out loud and from memory, why a group of eight failures teaches the model nothing, and how the curriculum works around it. If you can, you own this paper. Then go back to the table and ask π0.5 for the mug.

Based on "Training Reasoning Models in Simulation to Natively Use Real Robots" by Jiaming Tang, Zhuoyang Zhang, Junxian Guo, Fangzhou Zhao, Yilong Zhao, Zekai Li, Xingyang Li, Yuyang Zhao, Song Bian, Zhijian Liu and Song Han (MIT, UC Berkeley, UCSD, NVIDIA, Inco AI; ICML 2026)
Read the original paper · Project blog · Code · Back to Veanors