Modern Robotics and Physical AILesson 2.2 · PerAct
Glossary Ideas map RU
2.2 Part 2 · Spatial representations, language and planning

PerAct: 3D representations and language

The pixel map of the table from lesson 2.1 gives a spot on the plane and a rotation about the vertical. To open a drawer or put a cup on the upper shelf you need a gripper pose in the volume. PerAct (2022) gets it with three moves. It compresses a long demonstration down to a few keyposes, and a motion planner drives the arm between them. It looks for the next pose in a 100 × 100 × 100 grid of voxels, small cubes of space: it scores every voxel and takes the best one. A million voxels plus a command in words go through the Perceiver transformer, which first squeezes them into a small set of 2,048 internal vectors. One such model learned 18 tasks in simulation and 7 tasks on a real arm.

≈ 40 minutes3 labs, an interactive and a quizmissions with a goal
KEYPOSESTune the stop threshold and compress a 325-frame demonstration down to six poses the planner uses to put the cup on the shelf
VOXELSCompare coordinate regression with picking a voxel when the demonstrations put the cup on different shelves
FIELD OF VIEWFind how much of the scene the model has to see to tell the upper shelf from the lower one
LATENTSWork out how much memory attention over a million voxels takes and how the Perceiver packs it in

Start the lesson ↓

1 Volume

From a point on the table to a pose in the volume

In lesson 2.1 an action was a point on the top-down view of the table. Transporter scores every pixel and takes the best one, and searches for the rotation among 36 angles about the vertical. But try putting a cup on the upper shelf: from above, the upper and lower shelves fall on the same pixel. To open a drawer, the gripper grabs the handle from the side and pulls toward itself. To turn a tap, the gripper rotates about a horizontal axis. A table map cannot describe such actions.

These tasks need a gripper pose in the volume: three coordinates and three angles. These are six degrees of freedom, or 6-DoF. Besides the pose, the action specifies the gripper state: open or closed. It is not one of the pose's six degrees of freedom. Agents that map an image straight to 6-DoF actions learn slowly: the PerAct authors cite examples where data for many tasks took weeks and months to collect.

PerAct (Perceiver-Actor; Shridhar, Manuelli, Fox, CoRL 2022, by the authors of CLIPort) carries the action map into the volume. A cubic meter above the table is split into a grid of 100 × 100 × 100 voxels. A voxel is a volumetric pixel, a small cube of space, here 1 cm on a side. The action is found as the voxel with the highest score. To make that work, the authors solve three problems, and the next three sections are devoted to them: how to avoid making a decision on every frame, how to pick a pose in the volume by classification, and how to run a million voxels through a transformer.

Let's start with the first one. A demonstration is hundreds of frames. How many of them should the policy predict?

2 Keyposes

Keyposes instead of a trajectory

The policies of Part 1 decide on every frame. If a demonstration lasts ten seconds at 30 frames per second, the policy makes 300 decisions, and every mistake takes the arm where the operator has never been. In lesson 1.1 such mistakes piled up as εT2\varepsilon T^2, where ε\varepsilon is the probability of erring on one step and TT is the number of steps; in lesson 1.7 ACT cut the number of decisions with action chunks.

Following C2FARM (James et al., 2022), PerAct keeps only a few keyposes (keyframes) from a demonstration. These are gripper poses the task necessarily passes through: in front of the cup, on the cup, above the obstacle, in front of the shelf, on the shelf. The authors call predicting continuous actions directly inefficient and noisy. The policy outputs only the next keypose, and the path to it is built by a motion planner, a classical algorithm like those in lesson 0.4.

Keyposes are found with a simple heuristic: an action is a keypose if the joint velocities are near zero and the gripper state has not changed. The arm stops where the operator aims or waits for the gripper to close. Every frame of the demonstration becomes a training example: given this observation and the command, predict the next keypose.

Ada is the home humanoid robot the course labs are built around. More about her in lesson 0.1.

Let's check on Ada. The operator drives her arm with a joystick and moves the cup from the table to the upper shelf, around the kettle. The recording has 325 frames, and each one holds the gripper pose, its state and the velocities of the three arm joints. In the paper the demonstrations are cleaner: an expert sets intermediate poses, a planner drives the arm between them, and at the stops it stands perfectly still. A human hand trembles, so the “near zero velocity” threshold has to be tuned.

🔬 Lab 1

The scene is shown from the side: Ada and her arm on the left, a shelf unit with two shelves on the right.

Horizontal axis: demonstration time, 30 frames per second. Vertical axis: velocity of the fastest joint, rad/s, log scale. The strip at the bottom shows the gripper state: light means open, dark means closed. Drag the dashed threshold line with the mouse or a finger.

Under the hood: the heuristic, the planner and the price of every decision

Let q˙j(t)\dot q_j(t) be the velocity of joint jj in frame tt, g(t)g(t) the gripper state, ε\varepsilon the threshold. A frame is a keypose if the arm is still and the gripper is not changing state. Every frame tt of the demonstration turns into an example “observation and command → next keypose”:

max⁡j∣q˙j(t)∣<ε,g(t′)=g(t)  for  ∣t′−t∣≤w,(ot, l)  ↦  ak(t),k(t)=min⁡{k∈K:k>t}.\begin{gathered} \max_j |\dot q_j(t)| < \varepsilon, \qquad g(t') = g(t) \ \ \text{for}\ \ |t' - t| \le w, \\ (o_t,\, l) \;\mapsto\; a_{k(t)}, \qquad k(t) = \min\{k \in \mathcal K : k > t\}. \end{gathered}

The paper does not name the threshold or the window. Here the arm's velocity is the velocity of the fastest of its three joints, smoothed over 5 frames. The gripper “is not changing” if its state is the same in the 12 frames before and after. A gap shorter than 4 frames inside a stop counts as tremor, and we merge it. The keypose is the first frame of a stop, and a stop before the motion starts does not count. The arm has three joints with lengths of 45, 42 and 11 cm, the gripper is always horizontal, and the joint angles are found by inverse kinematics.

Our planner drives the gripper in a straight line from pose to pose and does not avoid obstacles: that way you immediately see which pose went missing. In the paper the planner searches with random samples, like RRT from lesson 0.4 (in the real-arm experiments, RRT-Connect from MoveIt), and a collision flag in every action tells it whether to avoid everything in the grid or nothing. The cup must be approached from the side: coming from above knocks it over.

Why are fewer decisions better? Suppose every decision leads to a failure with probability ε\varepsilon, after which the task is lost. Then an episode of TT decisions succeeds with probability (1−ε)T(1 - \varepsilon)^T. At ε=1%\varepsilon = 1\%, 3.8% of episodes get through 325 decisions without a mistake, and 94% get through six. It is a crude model: it ignores that deciding on a distant pose is harder than a one-frame step.

Keyposes by stops catch everything that matters: the side approach to the cup, the grasp, the lift over the kettle, the spot in front of the shelf, the release and the retreat. The policy is left with six decisions instead of 325; the planner does the rest. Equal intervals give the same number of poses, but not where they are needed. In the paper, keyposes at equal intervals or at random frames give zero success on the drawer task. On the RLBench tasks PerAct has 2 to 17 keyposes per episode.

There are few decisions now, but each one sets a pose in the volume: where the gripper ends up, how it is rotated and whether it is closed. How does a network pick such a pose?

3 Voxels

The next best voxel

There are few keyposes, but each one sets the gripper in the volume. The most direct way to predict such a pose is regression: the network outputs three coordinates and three angles as numbers. From lessons 1.3 and 2.1 we know what happens when the demonstrations hold several correct answers: regression with a mean squared error outputs their average.

PerAct does to the volume what Transporter does to the table. The scene is captured by four RGB-D cameras: each gives a color image and the distance to every pixel, like the depth camera from lesson 0.2. Point clouds from calibrated cameras are fused into a grid of 100 × 100 × 100 voxels above the table, each 1 cm in size. A voxel holds 10 numbers: color, the point's coordinates, whether it is occupied, and its index in the grid. The network scores every voxel: how good it would be for the gripper center to land here. The action is the voxel with the highest score. The authors call this finding the next best voxel. The paper calls the scores themselves a Q-function, which is what reinforcement learning calls the value of an action (lesson 5.1). The name comes from C2FARM, which was trained that way, while PerAct learns from demonstrations: here the Q-function is simply a score for each voxel.

The network is trained as a classifier with a million classes, one per voxel. The correct answer is known from the demonstration: it is the voxel where the gripper was in the next keypose. The scores of all voxels go through a softmax and turn into probabilities: each is positive, and together they sum to one. The loss function, cross-entropy, looks only at the probability of the correct voxel: the loss equals −log p(target). While that probability is small, the loss is large; once the network gives the correct voxel almost all of the probability, the loss drops toward zero. Every training step raises the score of the correct voxel and lowers the scores of the others, because the probabilities cannot add up to more than one. The diagram below shows this on a 10 × 10 slice of the grid. In the full model diagram at the end of section 4 this is the last block, “Voxel scores”.

The diagram shows how the translation head learns from one example. Instead of the 100 × 100 × 100 grid, a 10 × 10 slice is shown. The Q scores are drawn in orange: the darker the cell, the higher the score. Softmax turns the scores into probabilities, and they sum to 1. The black frame marks the target voxel: that is where the gripper was in the next keypose. The loss equals −log p(target). The plot shows the loss falling over the training steps as the probability of the target voxel grows and the others shrink. The numbers are illustrative. Tap the diagram to pause it.

The rest of the action is chosen by classification too. Rotation is split into 72 bins of 5° for each of the three axes. The gripper state and the collision flag have two options each. The flag tells the planner whether to avoid everything in the grid or nothing: the gripper has to reach the drawer handle without touching anything, but pulling the drawer open means touching it.

Let's check in miniature. Our grid has 20 × 20 × 20 voxels of 5 cm each. Ada's arm holds a cup in front of a shelf unit with two shelves: in the scene the gray voxels are the gripper, the teal ones are the cup. The command says where to put it. We train two models on 24 demonstrations: coordinate regression and a voxel classifier. The regression even gets more than the classifier: the exact position of the shelf unit. The classifier only sees which voxels are occupied, and not the whole scene but a window: a column of ±8 voxels above and below the spot it is scoring. How much of the scene it really needs, we check in mission 3.

🔬 Lab 2
Coordinate regression
Voxel classifier
Under the hood: PerAct's Q-functions and our classifier

From the voxel grid vv and the command ll the network outputs four Q-functions. The action is made up of their maxima: the voxel (x,y,z)(x, y, z), the Euler angles (ψ,θ,ϕ)(\psi, \theta, \phi) by bin, the gripper state ω\omega and the collision flag κ\kappa:

Ttrans=arg⁡max⁡(x,y,z)Qtrans((x,y,z)∣v,l),Trot=arg⁡max⁡(ψ,θ,ϕ)Qrot((ψ,θ,ϕ)∣v,l),Topen=arg⁡max⁡ωQopen(ω∣v,l),Tcollide=arg⁡max⁡κQcollide(κ∣v,l).\begin{aligned} T_{\text{trans}} &= \arg\max_{(x, y, z)} Q_{\text{trans}}\bigl((x, y, z) \mid v, l\bigr), \\ T_{\text{rot}} &= \arg\max_{(\psi, \theta, \phi)} Q_{\text{rot}}\bigl((\psi, \theta, \phi) \mid v, l\bigr), \\ T_{\text{open}} &= \arg\max_{\omega} Q_{\text{open}}(\omega \mid v, l), \\ T_{\text{collide}} &= \arg\max_{\kappa} Q_{\text{collide}}(\kappa \mid v, l). \end{aligned}

The targets are one-hot vectors that mark the keypose voxel in the H×W×DH \times W \times D grid, one bin per rotation axis, and one of two options each for the gripper and the flag. The loss is a sum of cross-entropies, as for a classifier:

L=−EYtrans[log⁡Vtrans]−EYrot[log⁡Vrot]−EYopen[log⁡Vopen]−EYcollide[log⁡Vcollide],V∗=softmax⁡(Q∗).\begin{aligned} \mathcal L = &-\mathbb E_{Y_{\text{trans}}}[\log V_{\text{trans}}] - \mathbb E_{Y_{\text{rot}}}[\log V_{\text{rot}}] \\ &- \mathbb E_{Y_{\text{open}}}[\log V_{\text{open}}] - \mathbb E_{Y_{\text{collide}}}[\log V_{\text{collide}}], \\ V_\ast = &\operatorname{softmax}(Q_\ast). \end{aligned}

The authors checked the resolution like this: they replayed the demonstrations with every action rounded to a voxel and to rotation bins, and confirmed that a 100³ grid is enough. In the sensitivity analysis some tasks get by with a 32³ grid, while precise tasks need the full 100³.

Our grid is 20³ with a 5 cm voxel. The voxel features are hand-made: whether it is free, whether the voxels in the column KK above and below it are occupied, its four neighbors at the same height and one layer down. The score is linear: a command vector, one for each of the three commands, is added to a shared weight vector. The classifier trains for 120 Adam steps, minimizing cross-entropy over all 8,000 voxels. The regression is fitted by least squares: from the exact shelf position and the command it predicts the target coordinates. In PerAct a network learns the voxel features, and the command is encoded by CLIP's text encoder.

The regression put the cup between the shelves: the mean of two correct answers lands in empty space. The classifier gave two peaks and picked one of them. The command moves the peak to the named shelf. Without a command the model does not know which task to solve: in the paper, PerAct without language performs at chance level. Look at the scene from above: both shelves fall in one column of voxels, and the table map from lesson 2.1 could not tell them apart.

But the classifier only managed when it saw a column 45 cm tall. With a smaller window the shelves and the table look the same to it: support below and emptiness above. A real network has to see the whole scene, a million voxels. How do you do that?

4 Latents

A million voxels and 2,048 latents

In Lab 2 the classifier told the upper shelf from the lower one only when its window reached down to the table and up to the next board. In the paper the same happens with drawers. A chest has three identical handles, and the command “open the middle drawer” requires seeing the whole chest. C2FARM-BC is a 3D convolutional network that first looks at the scene coarsely and then zooms in on part of it. On this task it performed at chance level, around 33%, while PerAct succeeded in more than 70% of attempts.

Attention from lesson 1.6 sees the whole scene at once. Recall how it works: every token, that is, every piece of the input, compares itself with every other token and gathers from them what it needs. For every pair of tokens the network computes one score, and that is the trouble. 10 tokens make 10 × 10 = 100 pairs, 100 tokens already 10,000, and 1,000 tokens a million: the number of pairs grows as the square of the number of tokens. If every voxel were a token, a million voxels would give 101210^{12} pairs per layer.

PerAct's first step is to make the tokens coarser. The grid is cut into 5 × 5 × 5 voxel patches, the way ViT cuts an image into squares, and a patch becomes the token. That gives (100/5)3=8000(100/5)^3 = 8000 patches plus 77 command tokens, 8,077 in all. But even 8077 × 8077 is 65 million pairs per layer, and such a transformer, the authors say, does not fit into the memory of an ordinary GPU.

The second step is latents. Perceiver IO (Jaegle et al., ICLR 2022; the PerAct paper just calls it Perceiver) does not let the input tokens look at each other. Instead the model keeps 2,048 learnable vectors of length 512, the latents. They gather information about the whole scene and then pass it to the patches. The work goes in three moves:

  1. The latents read the input. This is cross-attention (from lesson 1.6): the queries come from the latents, and the keys and values from all 8,077 tokens. There are 2048 × 8077 scores rather than 8077 × 8077.
  2. The latents exchange information. Six attention layers run only among the latents: 2048 × 2048 scores per layer. That number does not depend on the length of the input.
  3. The patches read the latents. At the end every patch asks the latents what is known about the scene. This is cross-attention again, but now the queries come from the patches and the keys and values from the latents. Every patch gets a feature gathered from the whole scene.

If there were twice as many tokens, only the two cross-attentions would double. The number of scores among the latents would stay the same: the cost grows linearly in the number of tokens rather than as their square. The diagram below shows these three moves. In the full model diagram at the end of the section they are the three middle blocks: patches and words, latents, and the patches querying the latents.

The diagram compares all-to-all attention with Perceiver. In the “all-to-all attention” part the table of scores grows: there is one score for every pair of tokens, so 10 tokens give 100 scores, 100 tokens give 10,000, and PerAct's 8,077 tokens give 65 million per layer. In the “Perceiver” part its data path is shown: scene patches in blue, command words in orange, latents in purple. The latents read the input with cross-attention, six attention layers run only among the latents, and at the end the patches query the latents and receive features of the whole scene. Only a few patches and latents are shown; the numbers are from the paper. Tap the diagram to pause it.

Let's count how much memory the attention scores alone take during training.

🔬 Lab 3

Outputs of the rotation head

Under the hood: cross-attention to the latents and our arithmetic

Let the input be NN tokens X∈RN×dxX \in \mathbb R^{N \times d_x} and the latents Z∈RL×dZ \in \mathbb R^{L \times d}. In cross-attention the queries come from the latents, so the score matrix is L×NL \times N rather than N×NN \times N:

Z′=softmax⁡((ZWQ)(XWK)⊤d) XWV,Z∈R2048×512,X∈R8077×128.\begin{gathered} Z' = \operatorname{softmax}\Bigl(\frac{(Z W_Q)(X W_K)^\top}{\sqrt{d}}\Bigr)\, X W_V, \\ Z \in \mathbb R^{2048 \times 512}, \quad X \in \mathbb R^{8077 \times 128}. \end{gathered}

The reverse cross-attention is the mirror image: the queries come from the input tokens, the keys and values from the latents. With six layers in the network, the number of scores per example is:

N=(Gp)3+77,all-to-all: 6N2,Perceiver: 2NL+6L2.\begin{gathered} N = \Bigl(\frac{G}{p}\Bigr)^3 + 77, \\ \text{all-to-all: } 6N^2, \\ \text{Perceiver: } 2NL + 6L^2. \end{gathered}

Here GG is the grid side and pp the patch side. We count memory as the number of scores × 16 examples per batch (what the authors use) × 4 bytes. It is a lower bound: we take a single attention head and do not count weights, feed-forward activations or gradients. We picked the 16 GB limit just for illustration. The authors trained PerAct for 600 thousand steps on 8 V100 GPUs, which took 16 days.

PerAct's grid is 100³ × 10 channels. A 1 × 1 × 1 convolution raises the channels to 64, a convolution with kernel and stride 5 gives 203×6420^3 \times 64 patches. Proprioception features are glued onto the patches: the gripper state, the finger positions and the step number. This gives an 8000×1288000 \times 128 tensor. The text becomes 77 CLIP tokens of dimension 512, and a linear layer squeezes them down to 128. The Perceiver gets an 8077×1288077 \times 128 input plus learnable positional vectors.

All-to-all attention over a million voxels takes hundreds of terabytes even by the lower bound; over 8,077 tokens, more than 16 GB; the Perceiver with 2,048 latents, about 3.7 GB. The authors also tried 512 latents: on their tasks it is no worse, and sometimes better. Rotation is predicted per axis separately, which gives 216 outputs instead of 373,248.

Let's assemble the whole model from the pieces we have already seen: the voxel scores from section 3 and the latents from this section. It takes the voxel grid and the command as input and has four output heads: translation, rotation, gripper and collision flag. Along the way a million voxels are squeezed down to 8,000 patches and 2,048 latents, and then unfolded back into a million. Under every block of the diagram is the shape of the tensor: how many elements, and how many numbers in each.

The diagram assembles the model from the pieces shown in sections 3 and 4. The path starts at a table with a chest of drawers: four RGB-D cameras capture it, and the blue dots are the point cloud. The points are fused into a grid of 100 × 100 × 100 voxels with 10 numbers each, and the grid is cut into 5 × 5 × 5 patches. Scene patches are shown in blue, command words in orange, latents in purple; under each block is the shape of the tensor. The path ends with the voxel scores, as in the cross-entropy diagram: high-scoring voxels glow orange, and the black cube marks the chosen gripper pose. This is the translation head. The other three heads, rotation, gripper and collision flag, work from 64 numbers describing the whole scene: max-pool takes, for each feature, its largest value over all voxels. Only a few patches and latents are shown. Tap the diagram to pause it.
🧩 Task

Assemble PerAct step by step

The shape of a tensor is written as the sizes of its axes. The record 100 × 100 × 100 × 10 reads: a grid of 100 by 100 by 100 voxels, with 10 numbers in each voxel. Below are eight bins with tensor shapes, in the order the data flows from the cameras to the action, as in the diagram above. Each card says what happens to the data at one step. Sort the cards into the bins: which step produces a tensor of that shape. Drag a card, or tap it and then a bin.

Only the translation head looks at every voxel: it outputs 100³ scores, one per voxel; the authors call them a Q-function. Rotation, gripper and the collision flag are computed from the features of the whole scene after max-pool. Does such a model work on many tasks at once?

5 Results

One model for 18 tasks

The authors trained one model on 18 RLBench tasks with 249 variations: open one of three drawers, stack blocks of the right color, screw in a light bulb, put a bottle on a rack. The variations change the position, color, shape, size and category of objects. Four RGB-D cameras capture the scene at 128 × 128 pixels. Each task gets 10 or 100 demonstrations, and the model is evaluated on 25 episodes per task, with at most 25 actions per episode.

They compared against the image-to-action agents Image-BC on a CNN and on a ViT, and against C2FARM-BC trained on the same demonstrations. PerAct beats the former by 34 times and the latter by 2.8 times. Without a command PerAct performs at chance level. Almost nobody solves three precise tasks: putting a ring on a peg, stacking cups inside each other and hanging cups on a rack. An error of a few centimeters or degrees is irreversible there.

Every row is one task, and the tasks are ordered by PerAct's success. The length of a bar is the share of successful episodes out of 25 per task, in percent. For Image-BC the better of the two variants, CNN and ViT, is shown. The data come from Table 1 of the PerAct paper. Hover over a row to see the numbers.

On a real Franka Panda arm with a single Kinect-2 camera, one model learned 7 tasks with 18 variations from 53 demonstrations. The demonstrations were recorded with an HTC Vive controller: a human sets the target poses, and a planner drives the arm to them. The model pressed a hand sanitizer dispenser in 9 attempts out of 10, and swept beans into a dustpan in 1 out of 5. Its most common mistake was the gripper state.

Where are the limits of this approach?

6 Today

The limits of keyposes and what replaced them

The authors list the limits themselves. Between keyposes a motion planner drives the arm, and the path does not depend on the model. In their tasks that did not matter, but pouring water into a cup will not work this way: it needs a smooth tilting path. Dynamic tasks, where you have to steer continuously, and multi-fingered hands fit this scheme poorly too. The model only sees the current observation, so tasks that require remembering the past, like searching drawers for an object, are out of its reach.

The models of Part 3 went a different way. They output continuous action chunks straight from images and text, like π0, the 2024 model from Physical Intelligence: we saw its flow matching head with a chunk of 50 actions in lesson 1.8, and we take the whole model apart in lesson 3.6. They need neither keyposes nor a planner, but they also lack the hint a voxel grid provides.

The idea of choosing an action by scores in a 3D grid stayed. In the next lesson (2.3) VoxPoser, a 2023 system from Stanford, builds attraction and avoidance maps in a voxel grid without training on the task: where to reach and what to keep away from. The maps are assembled by code written by a large language model, and a planner searches for a path through them.

7 Check yourself

Eight common misconceptions

8 Takeaways

Lesson takeaways

  1. A demonstration is compressed down to keyposes: frames where the joint velocities are near zero and the gripper is not changing state. The policy predicts the next keypose; the planner builds the path to it. Instead of hundreds of decisions, only a handful remain.
  2. The poses must land at the moments where the task is decided: grasping, releasing, going around an obstacle. Poses at equal intervals give the same number of decisions, but in the paper they give zero success.
  3. The action is chosen by classification in a 100³ 3D grid: the voxel with the highest score sets the gripper position. Rotation (72 bins for each of the three axes), the gripper state and the collision flag are chosen the same way. Classification keeps several correct answers; regression averages them.
  4. The command in words, encoded by CLIP, chooses which of the correct answers is wanted. Without it PerAct performs at chance level.
  5. Telling identical shelves and handles apart needs the whole scene. The Perceiver handles 8,000 patches and 77 text tokens through 2,048 latents, and the cost grows linearly in the number of tokens.
  6. One model learned 18 tasks with 249 variations in simulation and 7 tasks on a real arm from 53 demonstrations. The limits of the approach come from the planner, dynamic tasks, multi-fingered hands and the lack of memory.

Open questions

Why are keyposes a poor fit for the task “pour water into the cup”?

There the path itself matters: the kettle is tilted smoothly, and the tilting speed decides where the water goes. Keyposes set only points, and the path between them is chosen by a planner that does not care how the kettle tilts. The authors call this a limitation and suggest combining learned and planned paths, or predicting a sequence of actions rather than a single pose.

PerAct sees only the current frame. Which tasks does that put out of reach, and how could it be fixed?

Tasks that require remembering the past are out of its reach: counting objects, pressing buttons in a given order when the scene does not show which are already pressed, finding an item by looking into drawers one by one. The authors suggest feeding in observations from past steps, keeping the Perceiver latents between steps, or adding a recurrent network on top of the latents.

Paper guide

M. Shridhar, L. Manuelli, D. Fox, “Perceiver-Actor: A Multi-Task Transformer for Robotic Manipulation”, CoRL 2022.

S. James et al., “Coarse-to-Fine Q-attention: Efficient Learning for Visual Robotic Manipulation via Discretisation”, CVPR 2022 — C2FARM: keyposes, the action as a voxel and a coarse-to-fine grid.

A. Jaegle et al., “Perceiver IO: A General Architecture for Structured Inputs & Outputs”, ICLR 2022 — latents, cross-attention at the input and at the output.

Resources

On a command like “open the top drawer”, PerAct finds the next gripper pose and carries out the whole command. But a request like “make me a coffee with milk” is a dozen skills in the right order, and demonstrations of separate skills say nothing about the order.

Lesson 2.3 · Language model planners: how to build a plan from the robot's skills and check that each step is feasible

Was the lesson clear?
Found a mistake or inaccuracy? Report it on GitHub
Found this lesson useful? Say thanks — that is how the author knows the course is being read.