Paper commentary
PaLM-E: An Embodied Multimodal Language Model
- Problem Text-only language models cannot see the geometry of a scene, so plans that depend on object layout are hard to ground. Vision-language models trained on standard VQA data also fail on robotic reasoning.
- Method Continuous observations such as images, state vectors and object-centric slots are encoded into the token embedding space of a pre-trained PaLM and placed between text embeddings. The combined model is trained end-to-end, either with the LLM updated or with the LLM frozen.
- Results PaLM-E with OSRT input reached 82.5 on TAMP p1 with 1% of the training data, against 38.7 for SayCan with oracle affordances. PaLM-E-562B reached 66.1 on OK-VQA val.
Why text-only planning falls short for robots
A large language model learns relations that touch the physical world from text, but it receives that world only as words. Robot decisions often depend on where objects are and how they sit relative to one another, and words alone lose that information. Earlier work hands the output of an LLM to learned robot policies and affordance functions.
The LLM itself still sees only text, so a plan can ignore the geometry that decides whether it works.
Vision-language models trained on standard tasks such as visual question answering were also tested in this setting, and they did not solve the robotic reasoning tasks directly. The question the model must answer is therefore how to give an LLM direct access to sensor streams so that its language reasoning and its planning both use that input.
Injecting sensor features into the token stream
PaLM-E keeps the decoder-only PaLM architecture and generates text autoregressively from a prefix. The change lies in what that prefix contains. Each continuous observation is passed through an encoder that outputs several vectors in the same embedding space as word tokens, so the LLM can consume them like ordinary tokens.
Text positions receive the usual word embedding \(\gamma(w_i)\). An observation position receives the output \(\phi_j(O_j)_i\) of the encoder for observation \(O_j\), so the prefix is a mixture of both kinds of vector. Because the observation vectors take the place of tokens in the sequence, they reuse the positional encodings the LLM already has.
The observations are not fixed to certain slots; they sit wherever the prompt places them in the text.
The base model is still a factorised language model, in which each token is predicted from the tokens before it through \(p_{LM}(w_l \mid w_{1:l-1})\). Observation vectors only change what appears on the conditioning side of that prediction.
Encoders for state, image and object-centric inputs
For state estimates, an MLP maps the state vector of the scene objects into the language embedding space. The vector may contain poses, sizes and colours of those objects. For images, a Vision Transformer produces a set of token embeddings whose width may differ from the LLM width, so a learned affine transformation \(\psi\) projects each embedding into the language space.
A grid of ViT tokens does not separate objects, which makes it harder for the LLM to reason about individual objects. Object-centric encoders are used to address this. OSRT learns object slots without ground-truth masks, through a novel view synthesis task. Each slot is projected by an MLP into several embeddings, so one object occupies several positions in the prefix.
Entity referral tokens label the embeddings of each object, so that the generated plan can refer to an object by a token of the form obj j when its colour and position are not enough to name it.
Training the encoders with or without the LLM
The loss is a cross-entropy averaged over the non-prefix text tokens only, so the observation vectors are never predicted, just used as context. The base LLMs are the 8B, 62B and 540B PaLM variants. Pairing them with a 4B or 22B ViT gives the PaLM-E-12B, PaLM-E-84B and PaLM-E-562B models.
The authors can either update all components or keep the LLM frozen and train only the encoders and the projector. In the frozen case the encoder must make the fixed LLM grounded in the observations. In the OSRT experiments the slot representation is also frozen, so only the small projector is updated.
The main training mixture, called the full mixture, consists mostly of internet-scale vision-and-language data. Only 8.9% of the sampled full mixture is embodied data, spread over several tasks for each embodiment.
From text decisions to robot commands
When the task is answering a question or describing a scene, the generated text is the answer. When the task is planning, the text names skills that a low-level policy executes. The model is assumed to have access to policies for a small vocabulary of skills, and the model must work out from its training data and prompt which skills exist.
No separate filter constrains its output.
The low-level policies cannot handle long horizons or complex instructions alone, so PaLM-E is placed in a control loop. Each executed decision produces new observations, and the model replans from them when needed.
Planning results in three robot domains
In the TAMP domain with 1% of the data, which is 320 examples per planning task, PaLM-E with OSRT input reached 82.5 on p1 and 76.2 on p2. SayCan with oracle affordances reached 38.7 and 33.3 on the same two tasks, and PaLI was only evaluated on the VQA questions q2 and q3.
Object-centric input and the choice of LLM matter most for the harder planning tasks. A pre-trained LLM helps most when the number of objects grows, and the 62B model generalises out of distribution better than the 8B model. The TAMP training set has 96,000 scenes, containing only TAMP data, so the gap between variants is a direct comparison of their input representations.
Adding the general vision-language data to the ViT-4B model roughly doubled its planning performance, which the authors read as transfer between robot embodiments and tasks.
Figure 4 compares the full mixture with a pre-trained PaLM and ViT, a model trained without pre-training, and models in which the LLM is frozen or fine-tuned, all in the TAMP setting with 1% of the data. Transfer from the full mixture is the largest effect in that comparison, and the figure reports the mean over p1 and p2.
On Language-Table with 10 demos per task, the 12B full-mixture model with a pre-trained and fine-tuned LLM reached 70.0 on Task 1, while the single-robot model reached 20.0. Joint training on internet-scale data helps most in the few-shot regime with 10 demos per task. Scaling from the 12B model to the 84B model improves two of the three tasks.
In the mobile manipulation environment, a full-mixture PaLM-E-12B reached an F1 score of 0.91 for failure detection, while zero-shot PaLI reached 0.73. For affordance prediction, one full-mixture row reached 0.91, above zero-shot PaLI at 0.62 and QT-OPT at 0.63. A second full-mixture row reached 0.87 on the same task.
Real robot checks
On a real tabletop robot, PaLM-E outputs language subgoals at 1 Hz for the policies from Lynch et al., which produce low-level actions at 5 Hz, and the model guided a multi-stage task while handling adversarial disturbances. The model was fine-tuned on 100 long-horizon tasks with a single example each. It then generalised zero-shot to novel object pairs and to a toy turtle that was unseen in the datasets.
For the mobile kitchen robot, PaLM-E was trained on 2912 sequences from earlier runs, and the authors evaluated it qualitatively in a real kitchen.
General vision-language and language capabilities
Figure 2 shows examples the authors present beyond the embodied focus: zero-shot multimodal chain-of-thought, visually conditioned jokes, multi-image prompts, handwritten math and egocentric question answering. The authors describe these abilities as not the focus of the work, and the largest model, PaLM-E-562B, shows them despite being trained on single-image prompts.
As a single generalist checkpoint, PaLM-E-562B reached 66.1 on OK-VQA val, above the task-specific PaLI at 64.5 and Flamingo at 57.8 in the same table. On VQAv2 test-dev, PaLM-E-562B reached 80.0, below the task-specific PaLI at 84.3.
With a frozen LLM, PaLM-E-12B reached 70.3 on VQAv2 test-dev, compared with 48.4 for the frozen-LLM model from Tsimpoukelli et al. The authors report that PaLM-E outperforms Frozen by more than 45% on the VQAv2 benchmark.
Across 21 general language benchmarks, the drop in NLG performance relative to the inherited PaLM model is 87.3% for PaLM-E-12B and 3.9% for PaLM-E-562B. The gap shows that larger models lose less of their language ability when they are trained on multimodal data.
Limitations
Freezing the LLM and training only the input encoders is viable, but it occasionally struggled on robotics tasks. The Language-Table results come from a simulated environment, and the real-robot kitchen results were judged qualitatively.
PaLM-E depends on low-level policies that execute a small vocabulary of skills, and the planning results are bounded by what those policies can do. The embodied data makes up 8.9% of the full mixture, and the multimodal abilities such as multi-image reasoning were shown as examples rather than as a main measured result.
Paper info
- Authors
- 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, Pete Florence
- Venue
- arXiv · Preprint
- First published
- 2023-3-6
- Added
- 2026-10-20
- Updated
- 2023-3-6
- Version
- v1
- arXiv
- 2303.03378
- Category
- cs.LG · cs.AI · cs.RO
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
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 et al. (2023). PaLM-E: An Embodied Multimodal Language Model. arXiv:2303.03378v1. https://arxiv.org/abs/2303.03378v1
BibTeX
@misc{driess2023palm,
title = {{PaLM-E: An Embodied Multimodal Language Model}},
author = {Danny Driess and Fei Xia and Mehdi S. M. Sajjadi and Corey Lynch and Aakanksha Chowdhery and Brian Ichter and Ayzaan Wahid and Jonathan Tompson and Quan Vuong and Tianhe Yu and Wenlong Huang and Yevgen Chebotar and Pierre Sermanet and Daniel Duckworth and Sergey Levine and Vincent Vanhoucke and Karol Hausman and Marc Toussaint and Klaus Greff and Andy Zeng and Igor Mordatch and Pete Florence},
year = {2023},
eprint = {2303.03378},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2303.03378v1}
}