One language model that reads the scene, thinks in words and writes the robot's motions, all as tokens in one stream. With no training on this task, told to put one named object of 16 into a named basket, it reaches for the right object 65.6% of the time. A leading flow-matching model, π0.5, reaches for it 0% of the time.
Pick a model and how much robot data it was given, and watch 64 trials. Then we build G0.5 from zero: the token stream, the action codes that make it fast enough, the reasoning that steers it, and the results.
You need what a language model does (predicts the next token) and what a robot policy is (a network that turns camera images into motor commands). We build the rest.
Each trial names one object and one basket. A teal reach is the right object; red is the wrong one.
Language following and task success from PP Bench, Fig. 10 (64 real trials on an R1-Lite robot; zero-shot means no data from this benchmark). "+ target crop" is Table 5 (G0.5 at 50 h). The scene is a drawn toy; trial outcomes are placed so the 64 counts equal the paper's rates exactly.
Chapter 0
See the two ways to build a robot brain on top of a language model, and why the field picked the one that wastes the language model
Ask a chat model how to put a knife in a basket. It will tell you: find the knife, grip the handle, lift, move over the basket, let go. It knows what a knife is, what "the white basket" means and what order things happen in. It learned this from billions of pictures and sentences.
A robot needs the same knowledge, plus one thing the chat model cannot do: move. So the robot field took these models and taught them to act. A model that sees, reads and acts is called a VLA, a vision-language-action model. The model it starts from is a VLM, a vision-language model: a language model that also reads images.
There are two ways to add the "action" part. They differ in one question: who writes the motor commands?
π0, π0.5, GR00T
The VLM reads the images and the instruction and produces a summary: a stack of hidden numbers. A second, separate network, the action expert, reads that summary and draws smooth motions with flow matching, a method that turns noise into a trajectory step by step. The VLM never writes an action.
RT-2, OpenVLA, G0.5
The VLM writes the actions itself, as tokens, the same way it writes words. Actions become extra words in its vocabulary. One network, one set of weights, one training rule: predict the next token.
The actor design is the obvious one. So why did most of the field move to the encoder design? Because the first actor models turned every number of every motion into a token. A robot that moves many joints many times a second needs a mountain of tokens, and a language model writes them one at a time. Count them yourself.
Top bar: the old way, one token per joint number per time step. Bottom bar: G0.5's codec, a fixed set of codes for each moving body part. Drag the control rate and the plan length, and switch body parts on and off.
The 27 numbers per step and the 1 marker plus 8 codes per moving part are the paper's layout (Sec. 3.1, Sec. 4, Fig. 2). The paper does not state the number of residual rounds R; 4 is used here because Fig. 3 draws four levels. The milliseconds use an illustrative 4 ms per token, not a measured value.
The old way grows with everything: more joints, a faster control loop, a longer plan. At 30 times a second, a two-arm robot with a torso fills a one-second plan with 810 tokens. A language model that writes one token every few milliseconds needs seconds to finish one plan, while the world keeps moving.
G0.5's count does not depend on the control rate or the plan length at all. A learned codec (a coder and decoder) squeezes each moving body part's whole plan into 8 codes, and skips the parts that are not moving. For two moving arms that is 72 tokens. Chapters 2 to 4 build that codec.
The split has a price, and it is the main argument of the paper. In the encoder design, everything the VLM knows reaches the motors only through that summary of hidden numbers. The VLM can think "the white basket, not the grey one", but it cannot write that thought into the action. The expert, trained separately with its own objective, decides.
You saw the result in the hero. With no pick-and-place training for that robot, π0.5 followed the instruction in 0 of 64 trials. G0.5 followed it in 42. Its VLM never stopped being the one who acts.
G0.5 starts from Qwen3.5, a 2-billion-parameter VLM, and trains it on robot data from 14 different robots plus question-and-answer data about images. Here is the road. Each chapter explains one part of what you saw in the hero.
Chapter 1
Lay out everything the robot sees, thinks and does as one line of tokens, and train it with one rule
A chat model reads a conversation as one long line of tokens. The user's turn comes first, then the assistant's answer. During training, the model is only graded on the answer: you do not want it to learn to predict the user's question.
G0.5 uses exactly this format for a robot. The robot's situation is the user's turn. What the robot thinks and does is the assistant's answer. Every input and every output is a token in the same line.
The user's turn is the conditioning segment. It holds four things:
r1lite or r1pro. It tells the model which body plan to use.A short prompt says which outputs to produce, for example "predict bbox, subtask and action", and an end marker <EOC> closes the turn. The assistant's turn, the generative segment, follows. It may start with reasoning, and it always ends with the action codes. Build one below.
Choose the robot, which reasoning fields to include, and which arms move. Grey tokens are context: the model reads them but is not graded on them. Yellow is reasoning, teal is action. The underline marks every token the loss grades.
Template from Fig. 2. Image tokens are shown as one chip per camera; the real count is a few hundred per image. Code numbers are examples from the figure's style. Residual rounds R shown as 4 (illustrative; not stated in the paper).
Notice what changes and what does not. Turning on reasoning fields makes the answer longer, and every reasoning token is graded. Turning off an arm removes its marker and its codes completely; the stream does not pad an idle arm with zeros. The context never changes length because of what the robot decides.
Now the training rule. Number every token in the line: x1, x2, and so on. Let 𝒢 be the set of positions in the generative segment. The loss is:
A worked number. Take a tiny answer of four graded tokens: a subtask word, an arm marker and two action codes. Say the model gives the correct tokens the probabilities 0.9, 0.5, 0.8 and 0.25.
ℒ = −(ln 0.9 + ln 0.5 + ln 0.8 + ln 0.25) = 0.105 + 0.693 + 0.223 + 1.386 = 2.41
The last code was the worst guess, so it carries more than half the loss. Its gradient will push hardest. The image tokens and the instruction add nothing, even though the model read them all.
This one rule is the whole pre-training objective. The paper is explicit: no extra regression loss for the actions, no second network to copy from. Reasoning and actions are "just tokens" to the decoder, produced by the same forward pass.
That is what makes the next chapters possible. Because a reasoning token and an action token are made the same way, the action can read the reasoning directly. Because an action is a token with a probability, reinforcement learning can use that probability (Chapter 9). But first we have to make the action tokens few enough to write quickly.
Chapter 2
Give 14 different robots one shared body plan, and let each body part speak only when it moves
G0.5 learns from 14 robots. Some have one arm, some have two. Some arms have 6 joints, some have 7. Some robots stand on a table; others have a torso that bends and a base that drives. Each robot records its actions as a list of numbers, and each list has a different length and meaning.
A single model needs one way to write all of them. The usual answer flattens each robot's numbers into one long vector and pads it to the longest robot. π0, for example, pads every robot to 18 numbers. Then the tokenizer sees the whole vector as one blob.
The paper names two problems with the blob. First, the tokens mix body parts: one token may encode a bit of the left elbow and a bit of the base, so a token learned on one robot means little on another. Second, the token count follows the total number of joints, even though most joints are still most of the time.
G0.5 splits the body into named parts first. Every robot is written into the same 27-number layout:
A robot fills the slots it has. Slots it does not have are filled with noop, "no operation", so they carry no motion. A left arm is always in the left slot on every robot, so "left arm" means the same thing in every token. The paper says this keeps left-right symmetry by construction, and a new robot needs no new parameters.
Pick a robot, then a motion. Each square is one of the 27 numbers. Filled squares belong to the robot; striped squares are noop. A part that moves this step glows and sends its tokens; a still part sends none.
The 27-slot layout and noop filling are from Sec. 4; joint counts from Sec. 5.1 and 5.4 (R1-Pro: two 7-joint arms, 4-joint torso, moving base; R1-Lite: two 6-joint arms, 3-joint torso, moving base; Franka: 7 joints and a gripper). Which number goes in which slot inside a part is not given; the placement here is illustrative. Token counts use 1 marker + 8 codes per moving part per round, with R = 4 (illustrative).
Try "Right hand reaches" on R1-Pro. Only the right control group speaks, so one round costs 9 tokens instead of 27. Now "Drive and carry": the lower body joins. On the Franka, the right side and the lower body are always noop, and the stream never mentions them.
The paper calls this active-part tokenization. The model first writes a group marker such as <right_control_0>, then that group's 8 codes. A group that is not moving gets no marker and no codes, and its joints simply hold still. So the stream also says, in its structure, which parts of the body are acting.
Why does this help learning, not just speed? Because the same motion now makes the same tokens on different robots. A right-hand reach on R1-Pro and on R1-Lite both live in the right control group, so practice on one robot transfers to the other. The paper credits this split for its long mobile tasks too: in the BEHAVIOR household challenge, driving and grasping are separate groups, so the model learns them as separate skills it can combine (Chapter 10).
Each group still has to become 8 codes. A group's plan is a short trajectory: up to 10 numbers for each time step of the plan. How do you write a whole trajectory with 8 tokens, and do it well enough to fold a towel? That is the job of residual vector quantization.
Chapter 3
Write a motion as a coarse guess plus corrections, each correction picked from a small list
Imagine giving directions with a short list of moves. "Walk about a kilometre north-east." That gets you close. "Then about a hundred metres south." Closer. "Then ten metres east." Each instruction fixes what the last one left wrong, and each one is smaller.
This is residual vector quantization, or RVQ. It is how G0.5 turns a body part's plan into 8 codes per round. It has three pieces.
Plain vector quantization uses one codebook: replace z by the nearest code and write its index. To be precise you need a huge codebook. RVQ uses several small codebooks in a row. Level 0 picks the nearest code to z. The leftover, z minus that code, is the residual. Level 1 picks the nearest code to the residual, and so on. The decoded point is the sum of the chosen codes.
Below is a toy RVQ in two dimensions, so you can see it. The real one works in more dimensions, but every step is the same.
Left: the warm dot is the motion's point z; drag it. Each level's codebook is drawn around the point it starts from, and the chain of arrows is the sum of the chosen codes. Right: the planned joint path (warm) and the path decoded from the codes (teal). Change the levels and the codebook size.
A two-dimensional toy with random codebooks; each level's codebook is drawn smaller, sized to cover what the level before it can leave over; real codebooks are learned and higher-dimensional. The paper's Fig. 3 draws four residual levels with decoded z = res 0 + res 1 + res 2 + res 3; it does not state codebook sizes. "One big codebook" uses the same number of stored codes in one list.
Try it. With one level, the decoded path has the right general shape but misses the details. Each extra level cuts the error by a large factor. Now switch to "One big codebook" with the same number of stored codes. It does worse, because it can only land on the codes it stores, while RVQ can land on any sum of them.
That is the whole advantage, in a number. With L levels of K codes each, RVQ stores L × K codes but can reach KL different points. Four levels of 16 codes store 64 codes and reach 65,536 points. One codebook with 64 codes reaches 64.
A worked number. Let z = (0.62, −0.31). Level 0's nearest code is (0.5, −0.5), so the residual is (0.12, 0.19). Level 1's nearest code is (0.125, 0.25); the residual becomes (−0.005, −0.06). Level 2 picks (0, −0.0625); the residual is (−0.005, 0.0025).
‖r‖: 0.693 → 0.225 → 0.060 → 0.0056 (three codes, error down about 120 times)
Now connect it back to the stream. In Fig. 2, the action span is written in rounds. Round 0 holds, for each moving part, its marker and its 8 codes for level 0. Round 1 holds the same parts again with their level-1 codes, the first correction. The model writes the coarse plan for both arms first, then refines both. Every code can look back at all the coarser codes before it, for both arms.
The codec has its own small encoder and decoder, trained before the VLM, following the authors' earlier work (FASTer for the grouping, ActionCodec for the training recipe). Each part is padded to a shared size, so one codec serves every part and every robot. The paper calls the result frozen when the VLM trains: the VLM learns to write good indices; it does not change what they mean.
One problem is left. A learned codebook can give two almost identical motions two very different code sequences. For a language model learning to predict those codes, that looks like noise. The next chapter fixes it with a contrastive loss.
Chapter 4
Teach the codec that one step later is almost the same motion, so the language model gets a calm target
The codec from the last chapter turns a chunk of motion into a short list of code numbers. It can do that very well and still be a bad teacher. Here is why.
Think of a robot arm that moves slowly to the right. At time t we cut out a chunk of its future motion. One control tick later, at t + 1, we cut out the next chunk. The two chunks overlap almost completely. They describe nearly the same motion.
So what should their codes look like? Ideally, nearly the same too. But nothing in a plain reconstruction loss asks for that. The codec is only judged on how well it rebuilds each chunk on its own. It may give the two chunks codes that share almost nothing.
This is the problem the paper calls poor token consistency. It measures it with the Hamming distance: the number of positions where two code lists differ. Two lists of 8 codes that differ in 7 places have a Hamming distance of 7, even if the motions they decode to are nearly equal.
The VLM learns the codes with the same loss it uses for words: cross-entropy over a vocabulary. To that loss, code 0689 and code 0690 are as different as "cat" and "volcano". The model cannot see that two codes decode to similar motions. It only sees which number was right.
Now picture the training set. Frame after frame, the arm makes the same smooth motion. But the target codes jump around as if the motion changed every tick. The model must memorise the jumps. The paper puts it bluntly: such inconsistency adds optimisation noise and makes training less efficient.
Try it. The device slides a chunk window along a smooth joint trace and shows the 8 codes of two windows, k ticks apart.
Top: one joint's motion over time, with two chunk windows. Bottom: the 8 codes each window gets. Move the gap between the windows. Then switch the codec between a plain one and one trained with the temporal contrastive loss.
Illustrative toy. Each code is a quantised summary of one eighth of the window. The plain codec's encoder is free to be bumpy, so tiny shifts cross many code boundaries; the contrastive one is pulled smooth. The paper gives no codebook size, chunk length or loss formula. The meter is the average Hamming distance between chunks one tick apart, over the whole trace.
With the plain codec, a gap of one tick already changes most of the 8 codes. The meter shows the average over every pair of neighbouring chunks: that is how noisy the training target is. With the contrastive codec, a one tick gap changes one code or none. The codes drift only as the motion really changes.
G0.5 adds a temporal contrastive objective to the codec's training. Fig. 3 of the paper draws it as a pair. The chunk from t to t + H and the chunk from t + 1 to t + H + 1 form a positive pair: their latent vectors should be close. A chunk from somewhere else forms a negative pair: it should be far.
The paper does not print its formula. The standard way to write this idea is the InfoNCE loss, so we use it to show the shape:
A worked number. Take τ = 0.1 and a batch with the positive and two negatives. Suppose the encoder already maps neighbours close: sim with the positive is 0.9, with the negatives 0.2 and 0.1.
e9 / (e9 + e2 + e1) = 8103 / (8103 + 7.4 + 2.7) = 0.9988, loss = −log 0.9988 = 0.0012
Now suppose the encoder is bumpy, like the plain codec: the positive scores only 0.2, and a far chunk happens to score 0.9.
e2 / (e2 + e9 + e1) = 7.4 / 8113 = 0.0009, loss = −log 0.0009 = 7.0
The loss is about 6000 times larger in the bad case, so its gradient pushes hard. It drags zt+1 toward zt. Over training, neighbouring chunks land in the same region of latent space, and so they fall into the same codes.
The codec is then frozen. The VLM never trains it. It only learns to predict the codes the frozen codec hands it. That is why the consistency has to be built in here, before the VLM ever sees a code: the VLM cannot fix a noisy target on its own.
Chapter 5
Write the subtask, the boxes, a path and a hint as tokens, then write the action right after them
A person who pours walnuts into an air fryer does a lot of quiet work first. Which drawer? Where is the bowl? Which hand? A robot policy has to answer the same questions. The only question is where the answers live.
In most robot models they live in hidden activations. Nobody can read them, and nobody can train them directly. Some models add extra tasks at training time, such as "predict the subtask" or "draw a box around the bowl". These help the backbone learn. But the paper points out a gap: those answers never take part in choosing the action. They are training aids, then they are thrown away.
G0.5 has one stream, so it can do something simpler. It writes the answers out as tokens, in the stream, just before the action tokens. The paper calls this native chain-of-thought (CoT): reasoning that is part of the same generation as the action, from the same decoder, under the same loss.
Each reasoning target starts with a plain label, so the stream describes itself. Fig. 2 lists four:
<loc0418>. Four of them give the box corners.Build a stream yourself. The scene is the paper's Fig. 1 task: open the drawer, pour the walnuts, close the drawer.
Pick the stage. Switch each reasoning field on or off. The scene shows what the model would draw from its own tokens. The strip shows the generated stream: reasoning in yellow, then Action: <EOV>, then the action codes in teal.
A drawn scene, not camera footage. Field formats follow Fig. 2; box and point values are illustrative. The token counts are rough (a word or a location tag counts as one token). The paper trains 8 curated combinations of these fields, no CoT included, but it does not list all eight; this device lets you build any subset.
Two things to notice. First, the reasoning costs tokens. Every field you add makes the stream longer, so the step takes longer to decode. Second, the action codes come after the reasoning in the same causal sequence. When the decoder writes the first action code, every reasoning token is already in its context. It can attend to them directly.
The fields are composable. One training sample might ask for "Subtask then action". The next might ask for "BBox then action", the next for no reasoning at all. A short prompt in the conditioning segment says which fields to produce, for example "predict bbox, subtask and action". So the same weights can run with or without thought, chosen at inference time. The paper evaluates with no CoT unless it says otherwise.
Chapter 1 gave the training loss: the sum of −log p over every token in the generative segment. With CoT, that segment simply holds two kinds of token. We can split the same sum in two, to see what each part teaches:
A worked number. Say a step has 3 reasoning tokens predicted with probabilities 0.8, 0.5 and 0.9, and 2 action tokens with 0.6 and 0.7.
CoT: 0.22 + 0.69 + 0.11 = 1.02 Act: 0.51 + 0.36 = 0.87 ℒ = 1.89 (natural log)
The second term is the interesting one. Its probabilities are conditioned on the reasoning. If writing "BBox: walnut bowl" makes the right action code easier to predict, the gradient will reward the model for using that box. Reasoning that helps the action is learned because it helps the action, not only because a label said so.
Nobody wrote subtasks and boxes for millions of robot frames by hand. The paper builds an autolabel pipeline that runs over raw episodes:
Step 4 needs no model at all. Say the gripper sits at (0.10, 0.05, 0.50) m in the head camera's frame, the focal length is 400 pixels and the image centre is (320, 240):
u = 400 × 0.10 / 0.50 + 320 = 400, v = 400 × 0.05 / 0.50 + 240 = 280 (illustrative camera)
The pixel (400, 280) becomes two location tokens after the Trace label. During pretraining, each robot sample gets exactly one CoT format, drawn at random from the eight. The subtask format gets a higher weight than the rest. The paper then reports a surprise: the reasoning generalises. On scenes and tasks it never saw, the model writes sensible subtasks, finds the right objects and boxes them.
Chapter 6
Keep the weights fixed, flip two switches, and measure what the reasoning does for each kind of action head
Writing reasoning tokens is easy. The hard question is whether they change what the robot does. The paper tests this with a clean probe. It takes one pretrained G0.5 checkpoint and fine-tunes nothing. It changes only two things at inference time.
The first switch is the decoder. AR means G0.5 as designed: the action codes are written as tokens in the stream. FM means an optional flow-matching head, built like the action expert of π0.5, attached to the same trunk. It reads the trunk's hidden state and turns noise into a continuous action.
The second switch is CoT: on (the model writes subtask and box reasoning before each action) or off. When CoT is on, both decoders read from the hidden state after the reasoning. So the two heads get the same information. Any difference between them comes from how they read it.
The tasks are two new household jobs that are not in the pretraining data. Each has five stages, and the policy gets a short instruction for the current stage. Its score is the number of stages it completes, from 0 to 5.
Choose a task, a decoder and CoT on or off, then run the five rollouts. Each lane climbs one stage at a time and stops where that rollout failed. The board keeps all four settings so you can compare.
Means are Fig. 11 and Sec. 5.6 exactly (n = 5 rollouts per setting). Single runs are illustrative; a mean like 2.1 implies half credit, so some runs end halfway through a stage. Language following is printed only for CoT on (Air Fryer 72 vs 48, Bacon 64 vs 44); without CoT the paper shows it only as bars. PP Bench is single stage, so it has language following over 64 rollouts and no progress score.
Run all four settings on Air Fryer. Two patterns appear, and they match the paper's two findings.
Finding 1: CoT helps when the task has stages. With AR tokens, CoT lifts progress from 2.4 to 3.8 on Air Fryer and from 1.5 to 3.4 on Cook Bacon. On the single stage PP Bench it barely matters: language following moves from 65.6% to 67.2%. With one object to find per rollout, there is little for per-stage reasoning to do. With five stages, the model has to find a new object each time, and writing "Subtask: grasp the bread, BBox: bread …" first makes each find more reliable.
Finding 2: AR follows the reasoning more closely than FM. Under the same CoT, the AR head gains 1.4 stages on Air Fryer; the FM head gains only 0.6 (from 2.1 to 2.7). On Bacon, AR gains 1.9 and FM 0.8. Language following shows the same gap: 72% against 48% on Air Fryer, 64% against 44% on Bacon.
The paper offers a hypothesis, and says clearly that it did not probe it directly. Look at how each head can see the reasoning.
Tap a reasoning token. With AR, see which action tokens can attend to it. With FM, see where it goes instead.
Schematic of the paper's hypothesis in Sec. 5.6, not a measured attention map. Token names follow Fig. 2.
With AR, every action code is written after the reasoning tokens in the same causal sequence. Each code attends to each reasoning token through every layer of the decoder. If the box token says "bread, left side", the next action code can look straight at it.
With FM, the expert conditions on what the paper calls a pooled summary of the hidden state. The reasoning is in there, but squeezed together with everything else before the expert sees it. The expert then shapes noise into an action over a few denoising steps. The reasoning reaches the action through a narrower door.
This matches the paper's larger argument from Chapter 0. When the VLM only conditions an external expert, the VLM's abilities can affect the action only through a bottleneck. The probe gives one measured case of that: same reasoning, same weights, smaller effect through the bottleneck.
The authors also noticed something they report only as an informal observation. The exact words of the per-stage instruction changed what the AR policy did. Adding a qualifier such as "push it in hard" or "vertically" tended to bring the motion closer to the goal. Swapping near-synonyms (press, push in, close) for the same air fryer drawer changed which rollouts succeeded.
The paper is careful here. These are a handful of rollouts, not a measured result. But they point at the property the whole design is built for: in a single stream, words in the prompt can reach the action distribution directly.
Chapter 7
Mix past frames inside the vision encoder, then throw them away, so the language model pays nothing for them
The robot reaches across the table, and its own arm hides the cup. In the current camera frame, the cup is gone. A policy that sees only the current frame has to guess. Did the cup move? Was it ever there?
The paper calls such tasks non-Markovian: the current observation is not enough to act well. Occlusion is one cause. Another is failure recovery. To know that the last grasp slipped, the robot must remember that it tried.
The obvious fix is to feed the model several past frames. That fix has a cost, and the device lets you see it.
The strip shows the last frames, oldest on the left. In the newest frame the arm covers the cup. Choose how history is handled and how many past frames to keep. The chart shows what each choice costs.
Illustrative sizes: 256 image tokens per frame, one camera. The paper says only that naive stacking scales quadratically and that history is discarded at the final vision layer; it gives a sparse multi-second history without a frame count.
Stacking every frame works for memory: the cup is in the older frames, so the model can see it. But the language model now reads every frame's tokens. Attention compares every token with every other, so its cost grows with the square of the token count. Four frames cost about 16 times as much as one. At high control rates that is too slow. The paper also names a second risk: a model that leans hard on a long history can drift when the history looks unfamiliar.
G0.5 follows two earlier designs, π0.7 and MEM. It inserts factorised spatial and temporal attention into the vision transformer, once every four layers. "Factorised" means it splits one big attention into two small ones, done in turn:
Each block is one frame, each cell a patch. Tap a patch to see what it attends to. Compare full attention with the two factorised steps.
A 4 frame by 12 patch toy grid. The pair counts in the read-out use the toy grid; the worked numbers below use 256 patches.
Count the comparisons. Let N be the patches in one frame and T the number of frames. Full attention over all frames compares every token with every token. Factorised attention does T spatial blocks of N × N and N temporal blocks of T × T:
With N = 256 and T = 4:
Cfull = 10242 = 1,048,576 Cfact = 4 × 65,536 + 256 × 16 = 266,240 (about 4 times fewer)
With T = 8 the gap grows to almost 8 times. And this is only inside the encoder. The bigger saving comes next.
Drop history at the last layer. At the final vision layer, G0.5 throws away all tokens of past frames. Only the current frame's tokens go on to the language model. By then they already carry what the past frames showed. So the 2 billion parameter decoder, the expensive part, pays nothing extra for memory. The latency stays bounded.
Drop all history during training, sometimes. With probability 30%, a training sample gets no past frames at all. The model cannot become dependent on history. It must also work from one frame. That makes it robust when history is missing or strange.
It also explains a result in Chapter 10: on BEHAVIOR, G0.5 was post-trained with single frames only, and still did best on the long, navigation-heavy tasks. The pretrained features had learned how scenes change over time.
State as numbers, not text. The robot's joint state enters as a continuous embedding, one per frame, instead of being written out as text tokens. That keeps each state exactly paired with its own image frame.
The paper is honest about the limit. The memory covers a few seconds. Remembering where you put the keys ten minutes ago is still an open problem.
Chapter 8
Split "did it pick the right thing" from "did it finish the job", and see which one the stream improves
Picture a table with sixteen things on it. A yellow utility knife, a white mug, a toy carrot, a Chinese chess piece, three baskets. You say: "Pick up the yellow utility knife with the left hand and place it into the white basket." The robot reaches out.
Two different things can go wrong. The robot can reach for the wrong object. Or it can reach for the right one and then fumble the grasp or miss the basket. A single success rate mixes these two failures together. You cannot tell whether the model did not understand you or could not do what you asked.
The authors built a benchmark to pull them apart. They call it the Pick-and-Place Benchmark, or PP Bench. It runs on the R1-Lite robot and reports two numbers for every policy.
The training data is 50 hours of tabletop demonstrations on R1-Lite, with 5 to 20 objects per scene. The test has 64 trials. Each test scene holds 16 objects and containers, placed at random. Of the test objects, 48 come from the post-training data and 16 are categories the robot never saw in post-training. Both models face the same instruction, the same layout and the same starting pose in each trial, so a difference between them comes from the policy, not from luck in the scene.
To see how much target data matters, the authors post-train on nested slices of the 50 hours: 1 hour, 10 hours and the full 50 hours. They also test with no post-training at all. That zero-shot column is the one to watch.
Pick a model and how much R1-Lite data it was post-trained on, then run the 64 trials. Each square is one trial. Filled teal: the right object, placed cleanly. A teal ring: the right object, but the place failed. Red: it reached for the wrong thing. The chart on the right shows both models at every data scale.
Rates are Fig. 10 (PP Bench, 64 real trials per cell, R1-Lite) and Table 5 (referring context, G0.5 post-trained on 50 h). Every rate is an exact count out of 64, for example 65.6% is 42 of 64. Which squares fail is drawn at random with a fixed seed; the counts are the paper's. Referring context was tested only on G0.5 at 50 h.
Run G0.5 at 0 hours. It has never been post-trained on PP Bench data, and still it reaches for the right object in 42 of 64 trials (65.6%) and finishes 38 of them (59.4%). Now run π0.5 at 0 hours. It scores 0 of 64 on both. It does not transfer to this robot and this instruction format at all.
That gap is not the end of the story. Post-training helps both models, and π0.5 climbs fast: 21.9% language following at 1 hour, 56.3% at 10, 68.8% at 50. But look where it ends. After 50 hours of target data, π0.5 follows the instruction in 68.8% of trials. G0.5 with no target data was already at 65.6%, and with 50 hours it reaches 84.4%. Under the same 50 hours, G0.5 leads by 15.6 points on language following and 9.4 points on task success.
Did you notice the dip? G0.5 at 1 hour (62.5%) is a little below G0.5 at 0 hours (65.6%). Two trials out of 64 is inside the noise of a 64-trial test. It may also be a real cost of fitting hard to one hour of narrow data for 12 epochs. The paper does not explain it, so neither will we. The trend from 1 to 50 hours is the clear part.
Here is where the two numbers earn their keep. A trial can only succeed if the robot first picks the right target. So the success rate is the language following rate times the chance of finishing, given the right target:
Work it for both models at 50 hours. G0.5: 75.0 ÷ 84.4 = 0.89. π0.5: 65.6 ÷ 68.8 = 0.95.
Read that slowly. Once π0.5 has chosen the right object, it completes the job slightly more often than G0.5 does. Its hands are fine. Where it loses is in the choosing.
So the advantage on this benchmark is mostly understanding, not motor skill. That is exactly the advantage the paper's argument predicts. The language ability lives in the VLM. In G0.5 the VLM writes the actions, so whatever it understands about "the yellow utility knife" reaches the hand directly. In π0.5 that understanding has to pass through a hidden state that a separate expert reads.
Why would a VLM that only conditions an expert lose its language skill? There is a known effect. When the expert's gradients flow back into the VLM during robot training, the VLM's pretrained perception and language skills wear away. The field calls this the anti-forgetting problem.
The best-known fix, Knowledge Insulation, stops those gradients at the VLM. Then, to keep the VLM learning something about robots, it adds autoregressive action prediction back as a side objective. The G0.5 authors read this as a quiet admission: next-token action supervision is the signal that keeps a VLM healthy. VLA-0 pushes the point further. An unmodified VLM that writes actions as plain text, trained the autoregressive way, beats π0.5 with Knowledge Insulation on LIBERO.
G0.5 takes the hint all the way. There is no separate expert to push gradients into the VLM, and no side objective to balance. The action tokens are the main objective, and the same loss also trains on web and robot question answering in the same mix (Chapter 7). The model that learns to act is the same model that keeps learning to read.
The authors then asked what the remaining errors look like. Many are on long-tail objects: things that are hard to name, partly hidden, or rare in text. A Chinese chess piece labelled "horse" is a good example. The word "horse" points the model at the wrong picture.
So they tried giving the policy more than a name. Because G0.5 reads several images and any text through one interface, extra context is easy to add. They tested two kinds on the 50-hour model.
| Referring context | What is added | Language following | Task success |
|---|---|---|---|
| Name only | The normal instruction | 84.4% | 75.0% |
| + box coordinates | Location tokens for the target and container boxes, from an external VLM | 85.9% | 76.6% |
| + target crop | Cropped images of the target and container, read by the same vision encoder | 98.4% | 84.4% |
The coordinates barely help, one trial out of 64. That is a surprise, since they say exactly where to reach.
The authors' guess: the robot pretraining never put coordinate tokens inside the instruction. So the action side has not learned to use them, and 50 hours is not enough to learn. The crops work far better. A small picture of the horse piece carries its shape and texture, which the vision encoder already knows how to read. Language following goes to 63 of 64.
Chapter 9
Read a policy's probability off its tokens, and watch that one fact make RL faster and steadier
Imitation has a ceiling. A policy trained only on demonstrations can, at best, copy them. To go further, a robot must try things, see what works, and do more of it. That is reinforcement learning, or RL.
Most modern RL methods for large models need one thing from the policy: the probability it gave to the action it took. Not an estimate. The number. This chapter shows why, and why an autoregressive policy hands it over for free while a flow-matching head does not.
Think of a coach watching a player. After a good play, the coach says "do more of that". After a bad one, "do less". To act on "more" or "less", the player needs a dial for how likely they were to make that play. RL turns that dial.
Methods like PPO and GRPO turn it carefully. They compare the new policy to the old one, action by action, through a probability ratio:
The update pushes the ratio up for actions that did better than expected, and down for actions that did worse. It also clips the ratio to a narrow band, say 0.8 to 1.2, so that no single update moves the policy too far. Without the ratio, there is no careful update.
G0.5 writes an action as a short run of codes, each one picked from a softmax over the vocabulary. The model gives a probability to each code, given everything before it. The probability of the whole action is the product of those numbers. In logs, it is a sum:
So the ratio is just the exponential of a difference of sums: ρ = exp(Σ log pnew − Σ log pold). It is exact, and it costs one forward pass. You can turn the dials in the device below.
One action, three of its codes. The grey bars are the probabilities the old policy gave each code. Drag a slider to change what the new policy gives it, then pick whether this trial did better or worse than its group.
A toy with three codes and old probabilities 0.50, 0.40 and 0.80. A real G0.5 action has one marker plus 8 codes per active part per residual round. The clip band of 0.8 to 1.2 is the common PPO default; the paper does not give its GRPO settings.
Work the default numbers. The old probabilities are 0.50, 0.40 and 0.80. The new ones are 0.55, 0.44 and 0.80.
The ratios per code are 1.1, 1.1 and 1.0. Multiply: ρ = 1.1 × 1.1 × 1.0 = 1.21. That is just past the clip at 1.2, so for a trial that beat its group the update stops pushing here. The policy has already moved this action as far as one step allows.
GRPO, Group Relative Policy Optimization, does not train a separate network to judge each state. It runs a group of trials from the same start, scores each one, and compares every trial to its own group:
A worked group of four: rewards 1, 0, 1, 1. The mean is 0.75. The standard deviation is about 0.433. Each success gets A = 0.25 ÷ 0.433 ≈ +0.58. The failure gets A = −0.75 ÷ 0.433 ≈ −1.73. The lone failure carries the strongest signal, which makes sense: when most tries work, the one that did not is the most informative.
A flow-matching head makes an action differently. It starts from random noise and moves it toward an action in a few small steps, following a learned velocity. That process is deterministic once the noise is drawn. There is no softmax anywhere, and no simple number for "how likely was this action".
To use GRPO anyway, the FM policy in the paper follows RLinf. It adds random noise to each denoising step, which turns the process into a stochastic one (an SDE). Then it treats the steps as a chain and multiplies their probabilities. That gives an approximate likelihood. It also adds three new choices to tune: the noise level, how finely to step, and the schedule. The authors suspect each one adds sensitivity and gradient noise.
The test is designed to make exploration matter. The authors post-train an AR policy and an FM policy from the same G0.5 on one demonstration per task in LIBERO. With one demo, imitation has almost nothing to copy, so any later gain must come from trial and error. They pick four tasks where the two policies start level, then run GRPO on both. For AR, actions are sampled with a temperature, so it explores while keeping exact token probabilities.
Press play to run the training. Drag the step slider to stop at any point. The band around each line shows how much the runs disagree. Below, the speed of one decision for each decoder.
Success rates are the point labels of Fig. 12 (mean over seeds, four LIBERO tasks, one demonstration each): AR 63.0 to 97.4%, FM 62.5 to 92.9%. Their step positions are read from the figure and drawn evenly spaced, so treat the x positions as approximate. The paper shows AR with lower run-to-run spread; the band widths here are illustrative. Latency is Fig. 1, measured with FlashRT.
Both start near 63%. The AR policy climbs to about 90% early, past 96% by the middle and ends at 97.4%. The FM policy climbs too, then stalls around 84 to 85% before ending at 92.9%. The paper also reports lower variance across runs for AR. Faster, higher and steadier all point the same way: when the probability is exact, the update is clean.
The old objection to autoregressive actions was speed. Writing tokens one at a time sounds slow next to an expert that outputs a whole chunk at once. Chapter 0 showed how the codec shrinks the token count. Fig. 1 gives the measured answer. With an optimised runtime (FlashRT), one decision takes:
So AR with reasoning costs about the same as the flow-matching head, and AR without reasoning is faster. The paper's words: decoding is not the bottleneck.
Chapter 10
Walk through seven tests, from real towels to simulated kitchens, and keep the losses in view
A single benchmark proves little. A model can be tuned to one suite. The paper's case rests on breadth: seven separate settings, run by different people, on different robots, with different baselines. Each one asks a different question. Let's go through them, and keep an eye on the places where G0.5 loses.
| Setting | What it tests | G0.5 | Best baseline shown |
|---|---|---|---|
| Real robots (R1-Lite, R1-Pro) | Fine-tuning on long bimanual tasks, matched compute | 76.7% | π0.5 53.3% |
| BEHAVIOR 2025 | 50 household tasks, one checkpoint, 6.6 min episodes | 0.3136 | π0.5 0.2626 |
| DROID held-out scene | New room and new objects after DROID post-training | 82.5% | π0.5-DROID 57.5% |
| PP Bench | Language following among distractors | 84.4% LF | π0.5 68.8% LF |
| LIBERO | Simulated Franka, four suites | 98.9% | Xiaomi-Robotics-0 98.7% |
| RoboTwin 2.0 | 50+ simulated two-arm tasks, clean and randomised | 93.3% | LingBot-VA 92.2% |
| SimplerEnv-Bridge | WidowX real-to-sim, no robot state given | 87.3% | Xiaomi-Robotics-0 79.2% |
Pick a setting. G0.5 is teal; models that pair a VLM with a flow-matching or diffusion expert are purple; everything else is grey. Each panel is one metric, sorted so the best score sits at the top.
Real robots: Fig. 8 and Sec. 5.4.2. BEHAVIOR: Table 4 (Task Success Score; the 1st place entry uses four checkpoints, the others one). DROID: Fig. 6 averages. PP Bench: Fig. 10 at 50 h. LIBERO: Table 3. RoboTwin 2.0: Table 2. SimplerEnv-Bridge: Table 1. Only a selection of each table's baselines is drawn.
This is the most controlled test. All three models train on the same data, on 16 H20 GPUs, for the same wall-clock time (4 to 10 hours per setting). Same cameras, same action space, same controller. Each of six task and robot settings gets 15 real episodes, run in turns so that light and hardware drift hit all models equally.
The tasks are hard: fold a towel, fold a flat carton into a box, pack a pencil case (unzip, insert, zip), and carry five boxes to another table and stack them into grooves. G0.5 averages 76.7% success against 53.3% for π0.5 and 24.4% for GR00T-N1.7. Its process score, which gives credit for finished stages, is 129.2 against 105.2 and 68.9. On the two tasks run on both robots, the gap is wider still: 75.0% against 43.3% and 13.3%.
One loss. On R1-Pro box transfer and stacking, π0.5 succeeds in 93.3% of episodes against G0.5's 80.0%, and edges it on process score, 148.0 to 142.5. With 15 episodes, that is two episodes. Still, it is a loss, and the paper reports it.
The 2025 BEHAVIOR Challenge has 50 household tasks in a photo-real simulator: clear trash, load a car, cook hot dogs, make popcorn. An episode averages 6.6 minutes and can run to 14. Scoring gives partial credit for each goal condition met.
The challenge winner used four checkpoints, each covering part of the task list. G0.5 uses one for all 50. After a single epoch of post-training it scores 0.2904, already above π0.5 trained for four epochs (0.2626) and the winner (0.2605). After four epochs it reaches 0.3136. It leads on 29 of the 50 tasks, π0.5 on 15, with 6 level.
The per-task pattern is revealing. G0.5's biggest wins are tasks that mix driving around with picking and placing: boxes to storage (+0.35), picking up trash (+0.30), loading the car (+0.28). The authors credit the part-wise action tokens (Chapter 2), which keep driving and arm motion in separate token groups. Its biggest losses are appliance tasks: microwave popcorn 0.55 against 0.95. Its pretraining data is mostly pick and place, with few cabinets and appliances. Hot dogs make the point: 0.45 after one epoch, 0.90 after four, close to π0.5's 0.93.
DROID data was kept out of pretraining on purpose. G0.5 is post-trained on DROID, then tested on a DROID-style Franka arm in a scene and with object instances that appear in neither pretraining nor post-training. Over 10 tasks and 10 trials each, it averages 82.5%, against 57.5% for π0.5-DROID and 52.0% for MolmoAct2-DROID. It beats π0.5 on all ten. On "put the block in the drawer and close it", MolmoAct2 scores zero; G0.5 succeeds on over half.
And one honest weakness. The drawer in this test is white and semi-transparent, so its opening is hard to see. In an early run without markers, G0.5 put the towel in only 60% of the time, against 90% for π0.5 and 80% for MolmoAct2. With orange cards stuck inside the drawer, G0.5 went to 100%; π0.5 barely changed. G0.5 leans harder on visual contrast, and the authors list it as an open problem.
The last three are standard simulators, where many labs post numbers. On LIBERO G0.5 averages 98.9%, the best in its table by a hair, with the top score on the Long suite (98.6%). On RoboTwin 2.0, a suite of over 50 two-arm tasks, it scores 93.7% clean and 92.8% randomised, 93.3% on average, ahead of world action models like LingBot-VA (92.2%) and Fast-WAM (91.8%). On SimplerEnv-Bridge it scores 87.3%, eight points clear of the next model, and it does this without being told the robot's joint state at all.
Chapter 11
Lock in the cheat sheet, name the limits, and place G0.5 in the field
You can now read the G0.5 paper and defend each of its choices. Why the VLM should write the actions itself, and how a codec makes that affordable. Why idle body parts get no tokens, and why reasoning belongs in the same stream. Why memory lives in the vision encoder, and why exact token probabilities matter for RL. Let's lock it in.
Most robot foundation models use a vision-language model only as an encoder. A separate flow-matching expert outputs the actions, so the VLM's reasoning reaches the motors only through a compressed hidden state.
G0.5 makes the VLM the actor again. One decoder, initialised from Qwen3.5 2B, reads multi-view images, the embodiment name, the instruction and the robot's state. Then it writes optional chain-of-thought (subtask, boxes, a 2D trace, an action hint) and the action itself as tokens, all under one next-token loss.
The old problem with autoregressive actions was too many tokens. A learned cross-embodiment codec solves it. It casts each robot's actions into a 27-number layout of body parts. It encodes each active part with residual vector quantization, as a marker plus 8 codes per round. Idle parts write nothing. A light visual memory inside the vision encoder carries a few seconds of history at no cost to the language model.
G0.5 is pretrained on 14 embodiments plus web and robot question answering. It beats π0.5 and GR00T-N1.7 across seven settings and follows language far better. It also fine-tunes with RL faster and more stably, at the same speed.
| Quantity | Value | Why it matters |
|---|---|---|
| Backbone | Qwen3.5 2B, vision tower unfrozen | The VLM is the whole policy |
| Objective | one next-token loss on the generative segment | Reasoning and actions trained together; no regression, no distillation |
| Unified action space | 27 = 9 | 1 | 9 | 1 | 7 | Left arm, left gripper, right arm, right gripper, lower body |
| Action tokens | R rounds × active parts × (1 marker + 8 codes) | Compact; idle parts emit nothing |
| Chain-of-thought | Subtask, BBox, Trace, ActionHint; 8 combinations | Switchable at inference by the prompt |
| Visual memory | factorized space-time attention every 4 ViT layers; history dropped at the last layer; 30% history dropout | Seconds of context, flat cost for the LLM |
| Real robots | 76.7% vs π0.5 53.3% vs GR00T-N1.7 24.4% | Matched data and compute |
| BEHAVIOR | 0.3136 with one checkpoint; 1st place 0.2605 with four | One generalist policy |
| PP Bench zero-shot | 65.6% LF vs π0.5 0.0% | Language survives into action |
| CoT probe, Air Fryer | AR progress 2.4 → 3.8 with CoT; FM 2.1 → 2.7 | AR tokens read the reasoning directly |
| GRPO, one demo per task | AR 97.4% vs FM 92.9%, AR steadier | Exact token probabilities |
| Latency | FM 190 ms, AR + CoT 192 ms, AR 130 ms | Decoding is not the bottleneck |
Two small functions carry the paper's central idea. The first builds one training example as a single token stream with its loss mask. The second is residual vector quantization, the engine of the codec. Codebook sizes, the number of rounds and the chunk length are not given in the paper; the values here are placeholders.
pythonimport numpy as np PARTS = [('left_control', 9), ('left_gripper', 1), ('right_control', 9), ('right_gripper', 1), ('lower_body', 7)] # the 27-number layout def rvq_encode(z, codebooks): # z: latent of one body part's action chunk, shape (d,) # codebooks: list of R arrays, each (K, d). Returns R code ids. ids, resid = [], z.copy() for C in codebooks: # round r refines what is left k = int(np.argmin(((C - resid) ** 2).sum(1))) # nearest code to the residual ids.append(k); resid = resid - C[k] return ids def rvq_decode(ids, codebooks): return sum(C[k] for C, k in zip(codebooks, ids)) # z = res0 + res1 + ... def build_stream(ctx_tokens, cot_tokens, part_codes, active): # ctx_tokens: images, embodiment, task, state, prompt, <EOC> (no loss) # cot_tokens: optional Subtask / BBox / Trace / ActionHint (loss) # part_codes[name][r]: 8 code ids for that part in round r (loss) gen = list(cot_tokens) + ['Action:', '<EOV>'] R = len(next(iter(part_codes.values()))) for r in range(R): # round-major: coarse first, detail later for name, _ in PARTS: if name in active: # idle parts emit nothing at all gen += [f'<{name}_{r}>'] + [f'<action{c:04d}>' for c in part_codes[name][r]] gen.append('<eos>') tokens = list(ctx_tokens) + gen loss_mask = [0] * len(ctx_tokens) + [1] * len(gen) # Eq. (1): loss only on G return tokens, loss_mask
The part names here are simplified. In the paper, the two grippers ride with their arms in the left and right control groups when the stream is built, and a lower-body group appears only for robots that have one. The structure is the point: one list, one mask, one loss.
Now press Present or Teach and explain, out loud and from memory, why the CoT helps the AR decoder more than the flow-matching head. If you can, you own this paper. Then go back to the table and run π0.5 and G0.5 with no post-training at all.