A language model that can see and act: PaLM-E feeds camera images and robot states into a language model as if they were words, and plans robot tasks from the scene.
Learn how one picture becomes a short row of vectors a language model can read, and why training on web data makes a robot plan better.
Pick a planner, then press Plan and run a few times. Each run is a robot plan in a made-up block scene, drawn at the success rate the paper measured. Then we build the model piece by piece: the multimodal sentence, the encoders, the object tokens, the training recipe and the control loop.
You need a rough idea of what a neural network does (it turns numbers into numbers). We build the rest from zero.
Paper: PaLM-E: An Embodied Multimodal Language Model (Driess, Xia, Sajjadi, Lynch, Chowdhery, Ichter, Wahid, Tompson, Vuong, Yu, Huang, Chebotar, Sermanet, Duckworth, Levine, Vanhoucke, Hausman, Toussaint, Greff, Zeng, Mordatch and Florence; Google Robotics, TU Berlin and Google Research, 2023). Assigned reading for the MIT MMAI course (Multimodal AI, Spring 2026); it belongs to the lecture Cross-Modal Transfer. Every idea is re-taught here in our own words and devices.
The percentages are the paper’s Table 1 (TAMP, short for task and motion planning, a simulated test of grasping and stacking cubes: p1 is grasping and p2 is stacking, language model frozen, only 1% of the data, which is 320 examples per task). The scene and the plan text are made up for illustration, and each run is a random draw at that rate in your browser, so your count wobbles around the paper’s number.
Chapter 0
See why a planner that only reads words cannot say which block to move first, and what the paper does about it
A robot arm stands over a table. A yellow block sits on top of a blue block. Three more blocks lie loose. You say: “Grasp the blue block.” The robot cannot reach the blue block yet, because the yellow one covers it. A good plan starts with the yellow block: lift it, put it on the table, then grasp the blue one.
That plan is easy for a person who looks at the table. It is hard for a program that never looks. The program has to work out the order from a description, and a description can leave out exactly the fact that matters.
A large language model (LLM) is a program trained to continue text. It has read a huge part of the web. It can chat, reason step by step, solve maths problems and write code. So it seems a natural planner: give it the goal, and it writes the steps.
The paper names the obstacle. It is grounding: tying a word to the thing it names in the real world. An LLM knows the word “block” well. It does not know which block is under which on this table, because nobody told it, and the words it was trained on do not say.
The earlier approach the paper compares to is SayCan. The LLM only reads text. A separate set of scoring functions, called affordance functions, tell it which skills the robot can do right now. The paper finds this too weak when geometry matters. Affordance functions only say what is possible this moment. They do not give the LLM enough to build a long plan.
The other obvious route is a vision-language model (VLM), a model that reads an image and a question together. The paper tests the off-the-shelf PaLI. It was trained to answer questions about photos, and it solves none of the robot questions the authors tried: 0.0% on both of the two it was tested on (Table 1).
PaLM-E takes a third route. Do not describe the picture in words. Hand the language model the picture itself, turned into the same kind of numbers it uses for words. Then the model reads a sentence in which some “words” are pieces of an image. The paper calls this a multimodal sentence.
A modality is one kind of input: text, an image, a robot’s joint angles. “Multimodal” means several kinds in one input. PaLM-E mixes them inside a single sequence, and one network, trained end to end, reads it. The name says the rest: PaLM is the language model, and E stands for embodied, meaning it works for a body that acts in the world.
See the problem first. The device below describes the table in words, with more detail each time you press a level. Watch how much text it takes before the first step becomes clear.
Left: the real table. Right: what a text-only planner gets to read. Choose how much detail the description has, and check whether it can name the first step.
Illustrative toy scene and made-up descriptions, not the paper’s data. The word counts are measured from the descriptions shown. The task, “How to grasp the blue block?”, has the same shape as the paper’s TAMP tasks (Appendix B.1).
Look at the counts. With colour names alone, the planner knows five blocks exist but not that the yellow one covers the blue one. It may try to grasp the blue block first, and the plan fails. Only the sentence about what sits on what fixes the order. Positions add more words still. A real scene has more blocks, more relations and exact poses, so the description keeps growing, and it can still miss a fact.
The paper makes five claims. First, one model can be trained as a generalist decision-maker for several robots by mixing robot data into the training of a multimodal LLM. Second, today’s vision-language models do not solve embodied problems out of the box, but a competent general model can also be an efficient embodied reasoner. Third, new input designs help: neural scene representations and tokens that name entities. Fourth, the model is still a strong vision-language generalist. Fifth, a bigger language model forgets less when it learns to see.
The abstract also names the result that gives the paper its weight: positive transfer. Training on web-scale language and vision data makes the robot tasks better, not worse. The hero at the top of this page shows it in numbers. The same image model, trained on one robot’s data, solves about 31% of grasping plans. Trained on the full mixture, it solves 74%.
The symptom is a plan that reads well and fails on the table. The measurement is the success rate: SayCan, with oracle help, solves 38.7% of the grasping plans in the paper’s test. The cause is a blind planner, so the fix is to let the planner see. Keep this pattern in mind. Every later chapter asks the same three questions: what failed, how did the paper measure it, and what changed.
Chapter 1
Follow one sentence from letters to numbers inside a language model, and find the one door where a picture can enter
You type “Q: What is in the drawer?” into a chat box. To you it is a sentence. To the program it is a pile of numbers. Before PaLM-E can add a picture to the sentence, we need to see how the program turns words into numbers, because the picture has to arrive in the same form.
A token is one piece of text the model counts: a common word, part of a rare word, or a mark such as a question mark. The list of all tokens the model knows is its vocabulary, written W. PaLM, the language model inside PaLM-E, has a vocabulary of 256,000 tokens. Each token has an ID, which is its place in that list, like a seat number in a theatre.
So the sentence becomes a list of whole numbers, for example [412, 9013, 77, …]. The numbers here are made up; the idea is the paper’s. An ID alone carries no meaning. Seat 9013 is not “close” to seat 9014 in any useful way.
A vector is a list of numbers, such as [0.2, −1.1, 0.7, 0.0]. Think of it as a set of coordinates. Words that behave alike end up with nearby coordinates, and training finds the coordinates. The model keeps one vector per token in a big table. The ID is the row number, and the row is the vector. The paper calls the lookup γ.
The paper does not state k for its models. Pick an illustrative k of 4,096. The table then holds 4,096 × 256,000 = 1,048,576,000 numbers, about a billion. The device below shows the lookup for a short sentence. Change k and watch the table size follow.
Each word you keep turns into an ID and then into a column of numbers. Tap a word to drop it or bring it back. Drag k to make every vector longer.
IDs and cell values are made up (a seeded random pattern per ID). The k here is tiny so you can see every cell; real models use thousands, and the paper does not state k. Only the vocabulary size, 256,000, is the paper’s.
Now the model’s job. A decoder-only language model learns the probability of a whole text, w1 to wL, by predicting one token at a time from the tokens before it. That is a product of simple chances, the paper’s Equation 1.
A prefix is the part you hand in before you ask for more. If you give w1:n, the model continues with wn+1:L. The paper writes this as Equation 2, and it needs no change to the network. A prompt such as “Q: How can embodied language models benefit robots? A:” is a prefix. The model writes the answer after it.
Here is the worked case. The prefix has 6 tokens. The model must give the chance of token 7 given those 6, then token 8 given 7 tokens, and so on. At each step it reads vectors x1 to xl−1 and returns a chance for each of the 256,000 tokens. The loop runs until the model writes a stop token.
Follow the shapes once, with illustrative numbers. The prompt “Q: What is in the drawer? A:” has 9 tokens, so the IDs form a list of 9 whole numbers. The lookup turns it into a grid of 9 × k numbers. The transformer layers keep that shape from layer to layer: still 9 positions, each of length k. The last position then goes through one more step that gives 256,000 scores, one per token. A softmax turns those scores into chances that add up to 1, and the model picks the next token from them.
Then the new token is appended, the grid grows to 10 × k, and the loop repeats. Everything the model “knows” about the question sits in that grid. If you want the model to know about a picture, you must put the picture in the grid.
The symptom: you want a token for what the camera sees. The measurement: one pixel with three 8-bit colour channels can take 256 × 256 × 256 = 16,777,216 colours. That is about 65 times the whole 256,000-token vocabulary, and one pixel is a tiny part of one image. The fix: do not use IDs for the picture at all. Skip the table and produce vectors directly. This is the paper’s plan: “skipping the discrete token level and directly mapping the continuous observations into the language embedding space.”
So a picture is a continuous observation, a signal with smooth values rather than a short list of choices. The robot’s joint readings are another. The next chapter shows how they are spliced between the words.
Chapter 2
Splice picture vectors between word vectors, and see why the language model needs no new machinery to read them
Imagine a comic strip with text balloons and photos mixed together. You read left to right. When you reach a photo, you look at it, and then you carry on with the next balloon. The meaning builds up in order, across both kinds of content.
PaLM-E reads input the same way. Its input is a single line of vectors, and some of the vectors came from words while others came from a camera. The paper calls such a line a multimodal sentence. It gives this example: “Q: What happened between <img 1> and <img 2>?”, where each <img i> stands for an embedding of one image.
Chapter 1 gave us the word vector xi = γ(wi). PaLM-E adds a second source. For each observation Oj, such as one image, it trains an encoder φj: a network that turns the observation into q vectors of the same length k as word vectors. Equation 3 then says where each position in the prefix comes from.
Two details in the paper are easy to miss. First, one observation becomes several vectors, so a single image takes up q positions in the line, not one. Second, the picture vectors are placed dynamically, wherever the special token for the image sits in the text. They are not put at a fixed slot. The model reuses the positional encodings it already has: the signals that tell a transformer which position is which.
In practice, the training text contains a placeholder token such as <img>. Before the transformer runs, the code replaces that placeholder by the q vectors from the encoder. Everything else stays as it was.
Build one yourself. Pick a template from the paper, then choose how many vectors each picture becomes. The device counts the positions.
Warm boxes are words. Blue boxes are the vectors of one picture. Choose a sentence, then drag q, the number of vectors per picture, and watch the line grow.
The three sentences come from the paper’s Section 3, Section 6.4 and Figure 2. Words are counted by spaces, which is simpler than a real tokenizer. The paper does not give q for its models, so every value of q here is illustrative. Each picture is drawn with at most 6 boxes, and the label gives the true count.
Look at what the language model does with its prefix. Self-attention lets every position look at every earlier position and mix in what it finds. A position does not care how its vector was made. A picture vector is read just like a word vector, by the same layers. The paper puts it this way: inputs such as images and state estimates are embedded into the same latent space as language tokens and “processed by the self-attention layers of a Transformer-based LLM in the same way as text.”
The other designs in the paper’s related work are different. Flamingo, for example, adds a mechanism that attends to one context image. PaLM-E instead lets pictures sit anywhere in the sentence, in any number. It also generalises in a way the training did not cover: it was trained only on prompts with one image, and the largest model still answers prompts with several (Figure 2 of the paper).
The output is always text, produced one token at a time, exactly as in Chapter 1. For a question about a picture, that text is the answer. For a planning task, that text is a plan, for example “First grasp yellow block and place it on the table, then grasp the blue block.” The model is therefore a prefix decoder: it takes the multimodal sentence as a prefix and continues it with words.
Compare this with models that output robot actions directly. The paper notes that for those, language is mostly a task label. In PaLM-E the model can condition on its own earlier words and use what it learned from the web, which is why it can also answer questions and caption images.
The symptom: the more pictures you add, the more of the sentence is pictures. The measurement, with our made-up q of 16 and the “two pictures” template, is 7 word positions and 32 picture positions, so 82% of the line is picture. The cost also grows, because every position can be read by all later ones. The fix is to make each picture shorter, with fewer vectors. One option the paper studies is the ViT token learner (ViT + TL), a part that picks out a small set of tokens. Chapter 3 shows what the data says about it.
Chapter 3
Trace the shapes from a camera frame to the vectors the language model reads, and find which parts are trained
A translator stands between two people who speak different languages. She does not change what either person means. She only changes the words so that the other person can follow. An encoder in PaLM-E plays that role: it takes a reading from the world and writes it in the language of the language model, which is vectors of length k.
The paper builds one encoder per kind of input. This chapter covers the simplest two: a robot’s state and a plain camera image. Chapter 4 covers the object-based ones.
A state vector is a list of numbers that describes the scene, such as the position, size and colour of each object. Write it s ∈ ℝS, a list of S numbers. The encoder here is a small MLP, a multi-layer perceptron, which is a stack of matrix multiplications with a simple bend between them. It maps s straight into the language embedding space. Nothing else is needed.
A Vision Transformer (ViT) cuts an image into small square patches and runs a transformer over them. It returns one vector for each patch. The paper writes this as φ̃ViT(I) ∈ ℝm×k̃: m vectors, each of length k̃. The paper tests ViT-4B (4 billion parameters) and ViT-22B (22 billion), both pretrained on image classification. It also tests a ViT with a token learner (ViT + TL), which is trained from scratch together with the rest.
Here is the problem. The ViT’s vector length k̃ need not equal the language model’s k. So the paper adds a projector ψ, a learned affine transformation. That means a matrix multiplication plus a constant shift. Apply it to every ViT vector in turn.
A worked example with tiny sizes. Let k̃ = 2 and k = 3. Take W with rows [1, 0], [0, 2], [1, 1] and b = [0, 0.5, −1]. For a ViT vector v = [3, 1], the first row gives 1·3 + 0·1 + 0 = 3. The second gives 0·3 + 2·1 + 0.5 = 2.5. The third gives 1·3 + 1·1 − 1 = 3. So ψ(v) = [3, 2.5, 3], a vector of length k = 3. Every one of the m ViT vectors goes through the same W and b.
Now try real-sized shapes. In the device, choose how the image is turned into vectors, then change the widths. The projector’s size is computed for you.
Follow the arrows from the top. Each box shows the shape of what it holds. Choose a path, then drag the two widths.
Illustrative sizes: the paper does not state k, k̃, m or q. The 256 patches (a 16 × 16 grid) and 8 learned tokens are typical values, not the paper’s. The count of numbers in ψ is k̃ × k + k, computed live. The state path draws one output vector for simplicity.
Three parts can learn: the ViT (call it the encoder), the projector, and the language model. The paper trains the encoders end to end, together with a pretrained language model. In one variant it freezes the language model, which means its weights do not change, and trains only the encoder and the projector. The encoder then has two jobs. It must make vectors the frozen model can use to read the scene. It must also pass on what the robot can do.
The paper calls this a form of input-conditioned soft prompting. A normal soft prompt is a few learned vectors prepended to every input. Here the learned vectors depend on the picture. Chapter 5 covers the training choices in detail.
The symptom: a plain image encoder with very little robot data plans badly. The measurement is Table 1 of the paper, where only 1% of the data is used, which is 320 examples for each planning task. The ViT with a token learner solves 24.0% of grasping plans and 14.7% of stacking plans. The ViT-4B trained on one robot only solves 30.6% and 32.9%. The text-only SayCan, given oracle help, gets 38.7% and 33.3%.
The fix has two forms. Train the same ViT-4B on the full mixture of robot and web data, and it reaches 74.1% and 74.6%, more than double. Or change the kind of representation, which is Chapter 4: object tokens reach 82.5% and 76.2%. So the encoder alone does not decide success. The data it trains on matters just as much.
Chapter 4
Turn a scene into one token per object, so a plan can point at exactly one block
On the table are four blue blocks and a red one. The plan says “push the blue block to the red block.” Which blue block? A person would point. The language model cannot point. It can only write words, and the word “blue” matches four blocks.
The paper gives this problem a direct fix. Make the scene into a list of objects, give each object a name the model can write, and let the plan use those names. This chapter shows how.
The paper makes a sharp point about the ViT of Chapter 3. Language is made of symbols: separate words, each one meaning something. A ViT’s output looks different. It is a static grid of patch vectors, and one object may be split across many patches, while one patch may hold bits of two objects. The paper says the structure of the representation “resembles a static grid rather than a collection of object instances.”
That is awkward for a language model that was pretrained on symbols. It is also awkward for robotics, where the work is about moving objects. So the paper tries encoders that split the scene into objects first.
The first way uses ground-truth masks. A mask Mj is a black-and-white image that marks which pixels belong to object j. If the simulator supplies masks, the paper applies each mask to the image and runs the ViT on the result: xj1:m = φViT(Mj ∘ I). Each object gets its own group of m vectors. This needs a segmentation from outside.
The second way needs no masks. It is the Object Scene Representation Transformer (OSRT). It looks at one or more views of a scene and produces a set of slots. A slot is one vector, oj ∈ ℝk̄, that is meant to hold the description of one object. Think of coat-check tickets: the scene goes in, and one ticket comes out for each coat.
How does OSRT find the objects without being told? Through its design and one task. It is trained on novel view synthesis: given a few views of a scene, draw it from a new camera position. To do this well, the model must keep a compact record of where each thing is in 3D. The slot-attention design, which the paper cites, pushes that record to split into separate objects. This all happens on in-domain data, so OSRT is 3D-aware: its slots carry geometry, not just appearance.
Each slot is then mapped into the language space by an MLP ψ, which gives each object m vectors: ψ: ℝk̄ → ℝm×k. In the experiments that freeze the slots, only this small projector ψ is trained.
Now the plan needs to point. The paper’s trick is simple. In the prompt, it labels each object’s tokens: “Object 1 is <obj 1>. … Object j is <obj j>.” The model can then write <obj j> in its answer. The paper calls this an entity referral. The low-level policies must accept those tokens too, so the whole chain speaks the same names.
Use it in the device. Choose how the plan names a block, and how many blue blocks share the colour.
The plan says to grasp one blue block. Switch how it names the block, then add more blue blocks. Teal rings mark every block the name could mean.
The scene is a made-up toy. The two bars are the paper’s Table 7, 8 objects, stacking task p2, state inputs with a pretrained LLM: 89.3% with entity referrals and 49.3% without them (objects named in words). These are the measured results for 8 objects, whatever the slider says.
Count the rings. By colour, the name “blue block” fits every blue block, so with 3 of them a random pick is right one time in three. By token, <obj 3> fits one block, and the plan has no doubt about which one to grasp. The effect scales: the paper’s Table 7 shows that for 8 objects, the stacking task works 89.3% of the time with entity referrals and 49.3% without.
Table 1 compares encoders at 1% of the data. OSRT is the strongest: 82.5% on grasping plans and 76.2% on stacking. The ViT-4B trained on the full mixture follows closely with 74.1% and 74.6%. The paper’s comment: OSRT “despite using no large-scale data, provides the most effective input encodings for learning.” The geometry it carries is a head start.
The table also shows that data still matters. When the paper removes the TAMP VQA data and trains OSRT on the 640 planning examples only, grasping drops to 71.9% and stacking to 75.1%. So the object representation helps, but joint training helps on top. The paper sees it as a promising direction to combine OSRT-style geometry with large-scale visual data.
The symptom is a correct-looking plan that moves the wrong block. The measurement is the gap between 89.3% and 49.3%. The fix is the object token. A caution from the paper: in many of its experiments objects can already be named by a unique property, so entity referrals matter mostly when several objects look the same.
Chapter 5
Score only the words the model must write, decide which parts may learn, and mix a little robot data into a lot of web data
A student sits an exam. The question sheet is printed; the student only writes the answer. When the teacher marks it, she marks the answer, not the printed question. Training PaLM-E works the same way: the prefix is the question sheet, and the loss is computed only on the answer.
The paper writes the dataset as D = {(Ii1:ui, wi1:Li, ni)} for i from 1 to N. Each example i has three parts. The first is ui continuous observations, such as images. The second is a text w of Li tokens. The third is an index ni that says where the prefix ends.
Special tokens in the text mark where each observation goes. Before the transformer runs, the code replaces each special token by the vectors from the matching encoder (Chapter 2). The text up to ni is the prefix, made of words and picture vectors. Everything after ni is text only. That tail is the target, the words the model must write.
A loss is a number that says how wrong the model is. Training changes the weights to make it smaller. The paper uses the cross-entropy loss: for each target token, take minus the logarithm of the chance the model gave to the true token. A model that gave the true token a chance of 1 scores 0. A model that gave it a tiny chance scores a large number. The paper averages this over the non-prefix tokens only.
Why skip the prefix? There is nothing to score. The picture vectors are not tokens from a list, so no “true next token” exists for them. And the question text is given, not written. The model earns its marks only on the answer.
The device below shows this with invented per-token losses. Slide the prefix boundary and watch which tokens count.
Faded tokens are the prefix and carry no loss. Bright tokens are the target. Drag the boundary n and watch the mean change.
The sentence is the paper’s Figure 1 example (Given img. Q: How to grasp blue block? A: First grasp yellow block ...) with the picture counted as one position. The per-token loss values are invented for illustration. The averaging rule is the paper’s.
PaLM-E has three parts: the image encoder (ViT), the projector, and the language model. Chapter 3 named them. The paper builds three sizes, by pairing a PaLM with a ViT. An 8B PaLM with the 4B ViT is PaLM-E-12B. A 62B PaLM with the 22B ViT is PaLM-E-84B. A 540B PaLM with the 22B ViT is PaLM-E-562B, the largest vision-language model the authors knew of when they wrote it.
In the main setting every part learns. In another setting the language model is frozen and only the encoder and projector learn. Try both. Pick a size, then switch parts on and off.
A bright block is trained. A dim block is frozen. Choose a model size, then toggle the language model, the ViT and the projector.
Parameter counts of the language model and ViT are the paper’s. The paper does not report the projector’s size; it is small next to the others, so it is drawn as a thin sliver and counted as 0 here. The sums for 12B (8B + 4B), 84B (62B + 22B) and 562B (540B + 22B) follow the paper’s naming.
Freezing keeps the language skills exactly as they were. The paper notes that PaLM-E models with a frozen LLM have the same language scores as the PaLM they are built on (Table 8). The cost is that the encoder must do all the work of adapting, and in the robot experiments this “occasionally struggled”. Training everything is more flexible, but the language skills can drift. Chapter 8 measures that.
Robot data is scarce. So the paper co-trains: it trains one model on a mixture of many tasks at once. The “full mixture” is mostly internet-scale vision and language data. Sampling rates are set so that only 8.9% of the mixture is embodied data (Table 6).
| Group in the full mixture | Share of samples | Examples |
|---|---|---|
| Web image and text data | 89.0% | WebLI 52.4%, VQ²A 13.1%, CC3M 13.1%, VQG 5.2%, Object Aware 5.2% |
| Standard vision-language and text | 2.0% | OK-VQA, VQAv2, COCO and Wikipedia text, 0.5% each |
| Robot data | 8.9% | Mobile manipulator 3.1%, Language-Table 4.2%, TAMP 1.6% |
The symptom: a model trained only on a few robot examples is weak. The measurement is Figure 4 of the paper (PaLM-E-12B, TAMP planning, 1% data): with the LLM frozen and one robot’s data, 31.8%. The fix is the mixture: the same frozen setup reaches 74.3%, and with the LLM finetuned it reaches 94.9%. A model with no pretraining scores 42.9%. The mixture adds under 9% robot data and more than doubles the frozen result.
Chapter 6
Wrap the model in a loop that looks, writes one step, lets a small policy do it, and looks again
A ship’s captain stands on the bridge and gives orders: “Turn ten degrees to port.” The crew turns the wheel, adjusts the sails and works the engines. The captain does not touch the ropes. She also keeps looking at the sea, because a storm can change the plan at any moment.
PaLM-E is the captain. It reads the scene and writes the next order in plain text. A separate low-level policy is the crew: a small, fast controller that turns one short instruction, such as “push the green star to the bottom left”, into the motor commands that move the robot arm.
The paper states the split clearly. When PaLM-E is used for planning or control, it writes text that conditions low-level commands. The authors assume some policies exist that can do skills from a small skill vocabulary, a list such as “pick the sponge” or “open the top drawer”. A good plan is a sequence of these skills. The policies understand short commands but cannot take complex instructions or solve long tasks. They were trained by earlier work, and the paper uses them “directly without modification.”
Here is the key point about safety. PaLM-E must work out which skills exist from its training data and its prompt. “No other mechanism is used to constrain or filter its outputs.” Earlier methods such as SayCan scored every skill with an extra affordance function. PaLM-E drops that scorer and trusts the model.
PaLM-E is put in a control loop. Its predicted step is executed by the policy. The robot then gets a new observation. PaLM-E reads that new observation and can replan if something went wrong. In the paper’s words, it can be understood “as a high-level policy that sequences and controls the low-level policies.”
The device below shows two versions of the loop on a made-up task: put three blocks in a tray. In one version the plan is made once from the first picture. In the other, the model looks again before each step. Knock a block out of the tray halfway and see which loop copes.
Choose how the planner works. Press Step to run one step. Press Knock out to push the last block in the tray back onto the table, then keep stepping.
A toy loop, not the paper’s system: three blocks, one skill (“push block X to the tray”), and a planner that is either a fixed list or a rule that picks the first block still outside the tray. The paper shows the same effect on real robots in Figures 5 and 7, where PaLM-E stays robust to disturbances.
Watch the open loop. After the knock, the old plan still thinks all is well. It runs its last step and stops with two blocks in the tray. The closed loop sees the new picture, notices the block is back on the table and writes a new step. Replanning is the point of putting the model in a loop: each decision uses the latest picture and the history of steps taken.
Task and motion planning (TAMP). A robot grasps and stacks cubes of different sizes and colours. A planner and its low-level policies come from earlier work by Driess and colleagues. PaLM-E writes plans such as “First grasp the orange object and place it on the table, then grasp the green object.”
Language-Table. A robot pushes blocks across a tabletop. The paper gives PaLM-E a long goal, for example “sort the blocks by colours into corners.” PaLM-E writes a short language subgoal once a second. The policies from Lynch and colleagues turn each subgoal into actions at 5 Hz. Earlier work needed a human in the loop to give the subgoals. After finetuning on 100 long-horizon tasks with one example each, PaLM-E showed one-shot learning, and it also handled novel object pairs and an unseen toy turtle zero-shot.
Mobile manipulation. A robot works in a kitchen, as in SayCan. The prompt has the shape “Human: <instruction> Robot: <step history>. I see <img>.” PaLM-E writes the next step. The step is mapped to a low-level policy (RT-1 here) and the loop repeats until PaLM-E writes “terminate”. The training data was 2,912 sequences from the SayCan work.
The same model also answers two questions that help a loop. Affordance: “Given <img>. Q: Is it possible to <skill> here?” Failure detection: “Q: Was <skill> successful?” On F1 score (a number from 0 to 1 that balances false alarms and misses), the best PaLM-E rows reach 0.91 on both. For comparison, QT-OPT scores 0.63 on affordance and the zero-shot PaLI 0.62. On failure detection the best baseline, a CLIP model trained with hindsight labels, scores 0.89.
The symptom is a plan that goes stale: something moves, a skill fails, and the next written step is wrong. The measurement in the toy above is the block count at the end: 2 of 3 for the open loop, 3 of 3 for the closed. In the paper the evidence is that, on real robots, PaLM-E keeps working under adversarial disturbances. The fix is the loop itself: the picture and the step history go back in before each step.
Chapter 7
Read the paper’s main tables and figures, and find out which choices carry the gains
A pianist who has also studied chess may learn a new piece faster. Not because chess teaches fingering, but because practice in one area trains habits that help in another. The paper asks the same question of a robot: if the model also reads web photos and captions, does it plan better on the table?
The word the authors use is transfer: learning on one task or dataset makes another task better. When it is better, the transfer is positive. They test it by training on a mix of many tasks, and comparing with training on one task alone.
There are three robot domains: TAMP (grasping and stacking cubes), Language-Table (pushing blocks on a table) and mobile manipulation in a kitchen. Each has a planning task and some question-answering tasks. As baselines, the paper uses the vision-language model PaLI, which has never seen robot data, and SayCan with oracle affordances, meaning the scoring functions are handed perfect information.
A first headline from Figure 3: across all three domains, using PaLM and ViT pretraining plus the full mixture beats training on each domain’s data alone. The paper summarises it as one model for all robots, instead of a different model trained from scratch for each.
Two views carry most of the story. Figure 4 isolates data and training choices on TAMP planning, with PaLM-E-12B and only 1% of the TAMP data, which is 320 examples per task. Table 1 compares input encoders under the same 1% budget with the language model frozen. Use the device to compare. Press a bar for its number.
Choose a view. Tap a bar to read it. In the second view each row has two bars: grasping plans and stacking plans.
All numbers are the paper’s: Figure 4 (PaLM-E-12B, TAMP, 1% of the data, mean of planning tasks p1 and p2) and Table 1 (TAMP planning p1 grasping and p2 stacking, 1% of the data, LLM frozen). The OSRT (no VQA) row has only planning values in the paper.
Work the ratios from Figure 4. With the language model frozen, the full mixture gives 74.3% against 31.8% for a single robot: 2.3 times. With the model finetuned, 94.9% against 48.6%: 2.0 times. The mixture holds under 9% robot data, so almost all the gain comes from web data the robot never needed directly. The paper’s own words: transfer from the full mixture “is particularly effective.”
Now Table 1. The ViT-4B encoder, trained on one robot with a frozen language model, solves 30.6% of grasping plans and 32.9% of stacking plans. The same ViT-4B trained on the full mixture solves 74.1% and 74.6%. Same 320 robot examples per task, but more than double the success, because the model also trained on other robots and on web data. The paper calls this “a significant transfer effect between different robot embodiments and tasks.”
Take the frozen, full-mixture bar of Figure 4: 74.3%. Start from what it means. The model got planning questions on test scenes it had never seen. For each one it wrote a plan, and a plan counted as a success when the robot stack or grasp worked. The bar is the mean over the two planning tasks, p1 and p2, so one number hides two. Table 1 shows the same kind of run split out: 74.1% on grasping and 74.6% on stacking, close to each other for this model.
Now ask what the bar does not say. It does not say the robot data alone could reach 74%: the single-robot bar says it reaches 31.8%. It does not say web data alone could, since a web-only model has never seen a block. It says the two together work. This is why the paper reports the mixture as its main model and not only as an extra.
The symptom is a small drop where you expected none. The measurement is OSRT in Table 1: remove the TAMP question-answering data and keep only the 640 planning examples, and grasping falls from 82.5% to 71.9%. The paper calls this a slight drop and treats it as a second instance of transfer. The fix, again, is to keep the mixture broad. A model that fits a narrow slice of data has less to borrow from.
Chapter 8
Measure what a model loses of its language skill when it learns to see, and why a bigger model loses almost nothing
A person who spends a year abroad learning a new language may come home with an accent in the old one. Skills compete for space in a head, and practice in one can erode the other. Neural networks do this too. The effect has a name: catastrophic forgetting. When a model keeps training on new data, it can lose abilities that the earlier data had taught it.
PaLM-E invites exactly this risk. It starts as a language model and then trains on pictures and robot data. Does it still write good English, answer trivia and complete sentences?
The authors run 21 general language benchmarks and group them in two: NLU (natural language understanding, such as reading and choosing an answer) and NLG (natural language generation, such as writing an answer to a trivia question). They compare each PaLM-E that was trained end to end, with an unfrozen language model, to the plain PaLM it was built from. The score is the average per group, and the paper reports the relative change.
Take the smallest model. PaLM-8B averages 32.4 on the NLG tasks. PaLM-E-12B, made from it, averages 4.1. That is 4.1 / 32.4 of what it had, so a drop of 87.3%. For the largest model, PaLM-540B averages 53.8 and PaLM-E-562B averages 51.7. The drop is under 4%. The paper reports 3.9% in its text and 3.8% in the table, a rounding difference.
Each pair of bars is the plain PaLM against the PaLM-E built from it. Choose the kind of task, then tap a size.
Numbers are the paper’s Table 8 averages over 21 language benchmarks (1-shot): NLG PaLM 32.4, 47.8, 53.8 and PaLM-E 4.1, 18.4, 51.7; NLU PaLM 64.7, 72.3, 78.2 and PaLM-E 55.0, 69.2, 78.5. The PaLM-E models shown are trained end to end; a frozen PaLM-E keeps its PaLM scores exactly.
Work one number by hand. The 84B model drops from 47.8 to 18.4 on generation. The ratio is 18.4 divided by 47.8, which is 0.385, so it keeps 38.5% and loses 61.5%. The paper rounds to 61.6%, because it divides the unrounded scores. Do the same for 562B: 51.7 divided by 53.8 is 0.961, so it loses 3.9%. The same check on the 12B model gives 4.1 divided by 32.4, which is 0.127, so 87.3% is lost.
Why does the generation score collapse while the understanding score does not? NLU tasks let the model choose between answers it is shown. NLG tasks, such as trivia, need it to produce the answer from memory. The paper does not explain the gap, but the numbers say generation is the more fragile skill: at 12B it loses 87.3% while understanding loses 15.0%.
The paper offers two. The first is to freeze the language model, which keeps its scores exactly (Chapter 5). The cost: the robot results are sometimes weaker. The second is to scale. When the whole model trains end to end, the loss of language skill shrinks with size: NLG falls 87.3% at 12B, 61.6% at 84B and 3.8% at 562B. NLU falls 15.0%, then 4.3%, and then rises by 0.4%.
The authors do not give a mechanism for this, and we should not invent one. They report the pattern: scale gives “significantly less catastrophic forgetting while becoming an embodied agent.”
The paper also checks that one PaLM-E checkpoint does well on ordinary vision-language tasks. Table 5 reports VQAv2 (a question-answering test on photos), OK-VQA (questions that need outside knowledge) and COCO captioning (higher is better).
| Model | VQAv2 test-dev | OK-VQA | COCO |
|---|---|---|---|
| PaLM-E-12B, one model | 76.2 | 55.5 | 135.0 |
| PaLM-E-562B, one model | 80.0 | 66.1 | 138.7 |
| PaLM-E-12B, frozen LLM | 70.3 | 51.5 | 128.0 |
| Flamingo, task-specific | 82.0 | 57.8 (32-shot) | 138.1 |
| PaLI, task-specific | 84.3 | 64.5 | 149.1 |
Read it with care. On OK-VQA the 562B generalist, at 66.1, beats the models finetuned for that task, and the paper reports it as the highest number at the time. On VQAv2 and COCO it does not: PaLI, finetuned per task, scores 84.3 and 149.1 against 80.0 and 138.7. The generalist is competitive, not first everywhere. The frozen 12B model scores 70.3 on VQAv2, the best the authors know of for a frozen language model, against 48.4 for the earlier Frozen.
Figure 2 shows PaLM-E-562B doing things outside its training sets. It does zero-shot multimodal chain of thought: given a picture and “Let’s think step by step”, it writes steps and then an answer. It reasons over several images although it saw only one image per prompt in training. It does maths from a photo of handwritten numbers, without an OCR system. These are shown as examples, not as benchmark scores, so treat them as evidence of what is possible, not as a measured rate.
The symptom is a model that can see but cannot write: a small PaLM-E scores 4.1 on generation, near zero. The measurement is the paired bars above. The fix is one of the two paths: freeze the language model, or start from a language model large enough that the damage is small.
Chapter 9
Keep the numbers, the terms, the core code and the limits of PaLM-E on one page
PaLM-E turns a language model into an embodied one by changing only its input. Encoders write images, robot states and object slots as vectors the size of word vectors, and these are spliced into a text prompt. One network, trained end to end on a mixture that is only 8.9% robot data, writes text plans. Small policies carry the plans out, and a loop feeds new pictures back in. Every part of the hero at the top is now one you can explain.
| Quantity | Value | Where |
|---|---|---|
| Vocabulary of PaLM | 256,000 tokens | Section 3 |
| Model sizes | 12B, 84B, 562B | 8B+4B, 62B+22B, 540B+22B (Section 5) |
| Robot share of the mixture | 8.9% | Table 6 |
| TAMP data in the transfer tests | 1%, 320 examples per task | Figure 4, Table 1 |
| Grasping plans, ViT-4B one robot, then full mixture, then OSRT | 30.6, 74.1, 82.5% | Table 1 |
| Stacking plans, same three | 32.9, 74.6, 76.2% | Table 1 |
| Text-only SayCan, grasping and stacking | 38.7, 33.3% | Table 1 |
| Frozen LLM, one robot against full mixture | 31.8 to 74.3% | Figure 4 |
| Finetuned LLM, one robot against full mixture | 48.6 to 94.9% | Figure 4 |
| Stacking at 8 objects, with and without entity referrals | 89.3 and 49.3% | Table 7 |
| Language lost (generation), 12B, 84B, 562B | 87.3, 61.6, 3.8% | Table 8, Figure 6 |
| OK-VQA, VQAv2, COCO for PaLM-E-562B | 66.1, 80.0, 138.7 | Table 5 |
| Mobile manipulation training sequences | 2,912 | Section 6.4 |
Grounding: tying words to things in the world. Multimodal sentence: text vectors and observation vectors in one line. Encoder φ: turns an observation into q vectors. Projector ψ: a learned affine map into width k. Slot: one vector for one object (OSRT). Entity referral: a token such as <obj 3> that a plan can write. Prefix and target: the part you give and the part you score. Co-training: one model, many tasks. Positive transfer: more tasks, better results on each. Catastrophic forgetting: new training erases old skill. High-level policy: PaLM-E as the planner above the low-level policies.
python# PaLM-E in about thirty lines. Our sketch of the paper's recipe, shapes in comments. def multimodal_prefix(parts, embed, encoders): vecs = [] for part in parts: if part.kind == "text": vecs.append(embed[part.ids]) # [n, k] gamma(w): word table lookup else: vecs.append(encoders[part.name](part.obs)) # [q, k] phi_j(O_j): image, state or objects return concat(vecs, axis=0) # [n_prefix, k] one line of vectors def train_step(batch, llm, embed, encoders, freeze_llm=False): prefix = multimodal_prefix(batch.parts, embed, encoders) # question sheet tgt = batch.target_ids # [T] the answer, text only x = concat([prefix, embed[tgt[:-1]]], axis=0) # teacher forcing logits = llm(x) # [n_prefix + T - 1, 256000] pred = logits[len(prefix) - 1:] # predictions for the T target tokens loss = cross_entropy(pred, tgt).mean() # loss only on non-prefix tokens loss.backward() # gradients flow back through x update(encoders) # the encoders learn (OSRT slots may stay frozen) if not freeze_llm: update(llm) # the LLM learns unless frozen def control_loop(instruction, robot, palme, policies, max_steps=30): history = [] for _ in range(max_steps): prompt = [text(f"Human: {instruction} Robot: {' '.join(history)}. I see"), obs("img", robot.camera())] step = palme.generate(prompt) # text such as "pick the sponge" if step == "terminate": break policies[step](robot) # low-level policy does the motion history.append(step) # next look uses a new picture
Read the code against the chapters. The first function is Chapters 1 to 4. The second is Chapter 5: one prefix, one target, a loss on the target only, and a choice about which parts learn. The third is Chapter 6.
The paper places itself among several lines of work. Frozen trained a vision encoder through a frozen language model; PaLM-E widens that to more kinds of input and says it beats Frozen by more than 45% on VQAv2. Flamingo adds a way to attend to one image; PaLM-E puts any number of images anywhere. Gato is a generalist agent, and PaLM-E shows positive transfer across tasks. VIMA also uses multimodal prompts, but outputs actions. SayCan keeps the language model blind and scores skills outside it. The SayCan lesson covers that design.
The limits, in the paper’s own account and in our reading of it:
Tap each idea you could explain to a friend in two sentences, without scrolling back.
Your ticks stay in this tab only. The list follows the nine chapters; each item points back to its chapter.
Credit: PaLM-E: An Embodied Multimodal Language Model by Danny Driess, Fei Xia, Mehdi S. M. Sajjadi, Corey Lynch, Aakanksha Chowdhery, Brian Ichter, Ayzaan Wahid, Jonathan Tompson, Quan Vuong, Tianhe Yu, Wenlong Huang, Yevgen Chebotar, Pierre Sermanet, Daniel Duckworth, Sergey Levine, Vincent Vanhoucke, Karol Hausman, Marc Toussaint, Klaus Greff, Andy Zeng, Igor Mordatch and Pete Florence. Robotics at Google, TU Berlin and Google Research. arXiv:2303.03378, 2023. Read for the MIT MMAI course (Multimodal AI, Spring 2026, Paul Liang). This lesson re-teaches the paper in its own words and devices.
Now press Present or Teach and explain PaLM-E from memory: how a picture becomes vectors, where they enter the sentence, what the loss covers, how the loop replans, and what a bigger model forgets less of. Then go back to the planners at the top and run them again.