Two robot arms that work close to human speed. They put a battery into a remote in 5.7 seconds and succeed 85 times in 100. A policy trained on slow teleoperated demos, then sped up, takes 12.9 seconds and succeeds 15 times in 100.
Pick a task and a partner, and watch the run. Then we build, piece by piece, the arm you can push and the two small tricks that turn fast demos into a fast robot.
You need what a robot policy is (a network that turns camera images into motor commands) and what a demonstration is. We build the rest from zero.
Each partner does the same task. Watch the clock, and watch for jerks in the sped-up runs.
Times and stage success rates from Table III (Toss and catch: Flash ALOHA only; puppeteering could not catch a thrown ball). The scene is a toy drawn from above, played at 2× wall speed; the clock shows the paper's real seconds. Each run draws its outcome at the paper's stage rates, so one run can fail where the paper says the method usually succeeds.
Chapter 0
Why robots that learn from people move like they are underwater, and where the slowness comes from
Watch a person clear a table. A cup, a bowl, a spoon and a plate go into a tray in about six seconds. Nobody thinks about it. The hands overlap, the motions are fluid, and nothing is dropped.
Now watch a robot that learned the same task from people. It is often slow and deliberate. Each reach looks careful. The same table can take it two or three times as long. The motions look correct, but they do not look human.
The robot here learns by imitation learning: a person shows the task many times, the robot records what it saw and what its joints did, and a network learns to copy it. The network is called a policy. It takes camera images and the robot's joint readings in, and it puts motor targets out. A recording of one attempt is a demonstration, or demo.
Imitation learning has taught robots to tie shoelaces, light matches and cook shrimp. It has rarely taught them to be quick. The Flash ALOHA paper asks why, and it names two causes.
The obvious shortcut is to skip the hard part: collect slow demos as usual, then simply play the policy faster. Try it. The device below takes a policy trained on slow puppeteered demos and speeds up its playback.
The top line is one joint's target over time; each shaded band is one action chunk, a second of planned motion. The dot is the real joint trying to follow it. Drag the speed-up and watch the seams between bands, and the clock.
A toy joint and a toy controller with a torque limit. The seam size grows with speed-up as Figure 8 measures it (about 3 to 3.5 times larger at double speed). The success and time numbers at 1× and 2× are Battery Insertion from Table III; the curve between them is not measured.
The time drops, which is what we wanted. But two things go wrong at once. The seams between chunks grow into jumps, because the policy now has half the time to correct each plan. And the arm cannot track the faster target, because its motors have a torque limit. In the paper, doubling the controller speed on Battery Insertion cut the time from 17.87 to 12.90 seconds, and the success from 55% to 15%.
So the speed has to be in the data. Flash ALOHA attacks both causes with one system, and every part of it is small:
Chapters 1 to 3
The person grabs the real robot arm by two scissor handles and moves it directly. The arm's own joint sensors record the motion, so even a 2-second toss is captured exactly.
Chapters 4 to 7
A mask hides the person's hands from the cameras, so training images match deployment. A sigmoid blend stitches each new plan onto the old one, so fast motion does not jerk.
With 50 demos per task, the result folds a pair of shorts in under 6 seconds, clears a full dining set in under 7, and tosses a ball from one arm to the other in under 2. Here is the road, in order. Each chapter explains one part of the race in the hero.
Chapter 1
Compare the ways people record demos, and find the one that still tells the truth at speed
A demo needs two things: the motion must be fast, and the record of it must be exact. Every way of collecting demos trades one against the other. Let's go through them as the paper does.
Keyboards, 3D mice, game pads and phones are cheap. But you steer a 6-joint arm through a device with 2 or 3 axes. You must think about every motion, so you move slowly.
VR controllers give you a hand in 3D space. They still lag, you feel nothing when the gripper touches a cup, and you get no warning when the arm is about to hit its joint limits. People slow down to stay safe.
Puppeteering is what the original ALOHA uses. You move a small leader arm, and the real follower arm copies its joint angles. It feels direct, but you sit away from the scene, the follower lags a little, and you feel the leader, not the object. In the paper's user study, people were up to three times slower this way (Chapter 9).
Handheld grippers, like UMI, put a gripper in your hand with a camera and a phone on it. You do the task yourself, at your own speed, with no robot in the loop. The motion is fast. The problem is the record. The device must work out where it was from its camera and its motion sensor, and that estimate breaks at speed.
That estimate is called visual-inertial tracking. A phone combines two sensors. The camera follows features in the scene from frame to frame. The IMU, an accelerometer plus a gyroscope, measures how fast it speeds up and turns. Fused, they give a pose about 60 times a second. When you move fast, frames blur, features slide out of view, and the IMU's small errors add up between good frames. The pose drifts.
The paper measured this directly. They mounted an iPhone 15 Pro, running the same kind of tracking a handheld gripper uses, on the wrist of a robot arm. The arm's own joint sensors gave the true pose. Then they moved the arm at different speeds and compared. Try it below.
Left: one fast free-space motion seen from above, recorded by the arm's joint sensors and by the phone tracker . Right: average error against speed. Drag the speed.
Curve shapes are illustrative, after Figure 2a: phone-tracker error grows quickly with speed and is above the robot's own tracking error at every speed tested. The one measured point is Figure 2b: one fast free-space move drifted by more than 10 cm. Speeds up to 1.2 m/s, 48 takes, 1,269 one-second windows (Appendix II).
At slow speed, both records agree. As the speed rises, the phone's estimate peels away from the truth. In one fast free-space motion the phone drifted by more than 10 centimetres. A battery slot is a few millimetres wide. A policy trained on that record would learn to reach for places the gripper never was.
It gets worse at full speed. The arm never moved faster than 1.2 metres per second, yet the tracker sometimes reported more than 7, a sure sign it had lost track; those takes were thrown away. At normal speed, each recording needed 3 to 4 tries to get one without a tracking failure. That made it impractical to test even faster motions at all.
Compare the right-hand plot again. The arm's own error (how far the gripper is from where it was commanded) also grows with speed, but slowly, and it stays below the phone's error at every tested speed. That arm error is what the policy will face anyway at deployment. The phone adds a second, larger error on top, in the training labels.
Now the whole table. A kinesthetic interface means the person moves the robot itself, by hand. The word comes from the sense of your own body's motion.
| Interface | Fast, natural motion | Exact record at speed | Feel the contact | Extra hardware |
|---|---|---|---|---|
| Keyboard, 3D mouse, phone | no | yes | no | none |
| VR controller | limited by lag | yes | no | headset |
| Puppeteering (leader arm) | slower, operator sits away | yes | only the leader | a second pair of arms |
| Handheld gripper + phone | yes | drifts at speed | yes | the handheld rig |
| Kinesthetic (Flash ALOHA) | yes | yes, joint encoders | yes | two 3D-printed handles |
Kinesthetic teaching gets all four. The person moves fast and naturally, because they are moving the real thing. The record is exact, because it comes from the arm's joint encoders, sensors on each motor that count its angle directly. No camera has to guess where the arm went. And the person feels every contact through the arm, sees the scene from close by, and hears the cup click.
So why did nobody do this for fast tasks before? Because most robot arms fight you when you push them. They are heavy, they have high-friction gearboxes, and they fall when the motors let go. Fast hand-guided motion needs an arm that feels almost weightless. That is the next chapter.
Chapter 2
Make a robot arm feel weightless in your hand, so you can move it as fast as your own
Grab a typical industrial arm with the power off and try to move it. It barely moves. Turn the power on in its normal mode and it holds its position against you. Neither is any good for teaching by hand.
For kinesthetic teaching, the arm must be backdrivable: a push on the end of the arm must turn the motors backwards through their gearboxes. And it must not fall when you let go. Flash ALOHA gets there with three choices.
Each joint has a small fast motor and a gearbox that trades speed for torque. How easy that gearbox is to turn backwards depends on its type and its gear ratio, the number of motor turns per joint turn.
A harmonic drive (common in industrial and cobot arms) reaches ratios of 100 or more in a small space by flexing a thin steel cup. It is precise, but its internal friction is high, and a high ratio multiplies the motor's own inertia by the ratio squared. Pushing it feels like pushing through syrup.
A planetary gearbox with a low ratio has less friction and far less reflected inertia. Flash ALOHA uses off-the-shelf arms with planetary actuators: two 6-joint arms, each with one parallel-jaw gripper. The main arms are from ARX. For the toss and catch, which needs very high joint speeds and very low friction, they use arms from HESSIAN.
A backdrivable arm has a new problem: it falls. With nothing holding it, the weight of each link pulls it down, and the operator would have to carry it. So the motors are run in torque control: instead of holding a position, each motor produces exactly the torque the computer asks for. The computer asks for the torque that cancels gravity at the current pose. This is gravity compensation.
Feel it in the device. The arm is drawn from the side, two links, shoulder and elbow. Drag the gripper, then let go.
Drag the gripper handle and let go. Turn gravity compensation off and on, and switch the gearbox. The bar shows how hard your hand pulls.
A toy two-link arm in the vertical plane with illustrative masses (1.0 and 0.8 kg) and lengths (0.30 m links). Friction values are illustrative, chosen only to show the difference between gearbox types. The real arms have 6 joints and the paper's compensation runs at 100 Hz.
With compensation off, the arm drops the moment you let go, and your hand bar stays high while you hold it up. With compensation on, the arm floats wherever you leave it, and your hand only supplies the force to accelerate it. Switch to the harmonic gearbox: the arm sticks, then lurches. That stick-then-slip is the enemy of a smooth fast demo.
How does the computer know the torque to cancel gravity? It is the torque that gravity itself makes about each joint. Look at the shoulder. Gravity pulls each link down at its centre of mass. The torque is that weight times its horizontal distance from the shoulder.
Why cosines? A link pointing straight out sideways (angle 0, cos 1) has its weight at full distance from the joint: maximum torque. Pointing straight up (angle 90°, cos 0), the weight acts through the joint: no torque at all. The cosine is the horizontal share of the lever.
Work it with the device's numbers. Upper link 1.0 kg with its centre 0.15 m out, forearm 0.8 kg with its centre 0.15 m past the elbow, upper link 0.30 m long. Hold the arm straight out, so both angles are 0.
τ1 = (1.0 × 0.15 + 0.8 × 0.30) × 9.81 + 0.8 × 0.15 × 9.81 = 3.83 + 1.18 = 5.0 N·m (shoulder)
τ2 = 0.8 × 0.15 × 9.81 = 1.18 N·m (elbow)
Without compensation, your hand at the gripper, 0.60 m from the shoulder, would hold 5.0 / 0.60 ≈ 8.3 newtons, close to a kilogram, on every demo, for 50 demos. With compensation the motors carry it. The real controller does the same sum for six joints, from the robot's description file, and sends new torques 100 times a second, so the cancellation follows the arm as fast as you move it.
The last piece is the grip. Flash ALOHA bolts two 3D-printed scissor handles to the gripper, one on each jaw. The short handle takes the thumb, the long one takes the four fingers, and a strap holds the fingers in place. Squeezing closes the gripper, exactly like scissors.
The shape is chosen for fast motion. The long finger handle lets you pull down and sideways hard. The heel of your hand presses the bottom of the arm to push it upward. You can throw the arm forward and stop it, because you hold it firmly, not with a pinch.
The sensory feedback is complete and has no delay. You see the scene in 3D from right next to it, you feel the contact through the handles, and you hear the cup touch the tray. No teleoperation system gives all three.
Chapter 3
Turn a hand-guided motion into training data, and check it on the robot before you trust it
In puppeteering, the action is easy to define. The leader arm sends a target to the follower every step, and that target is the action label. In kinesthetic teaching there is no leader. The person moves the robot itself. So what does the robot record, and what does it learn to output?
Every 20 milliseconds, 50 times a second, Flash ALOHA saves one snapshot:
That is all. Here is how big it is, worked out:
Ten thousand snapshots is a small dataset. Imitation learning works with it because each snapshot is exact: the joint angles are the robot's own, and the images show exactly what the robot's cameras will show at test time (almost; Chapter 4 handles the hands).
With no leader, the label must come from the recording itself. The trick is simple: the action at time t is where the joints will be next. If the arm was at qt and then at qt+1, then "go to qt+1" is the command that would have reproduced the demo.
The pair of equations is the whole contract. The policy says where to be; a PD controller (proportional plus derivative) turns the gap into torque. This is the hidden assumption: the label qt+1 only reproduces the demo if the PD controller actually reaches qt+1 on time. At slow speed it nearly does. At high speed the motors need large torques, and they have limits.
There is a second gap, which is subtler. Positions do not record force. Picture pushing a battery down into its slot. The person presses hard, but the battery barely moves, so the recorded position barely changes. Replay that position and the controller sees almost no error, so it pushes almost not at all. The battery stays out.
Flash ALOHA's answer is a habit, not an algorithm. Between demos, the operator can replay the last recording on the arms and watch. If the replay misses, the problem is in the data, and it is caught before any training. Try both cases.
The tape shows the 50 Hz snapshots: three camera frames and the joint trace for each step. Press replay to make the controller chase the recorded trace ; the achieved motion is drawn over it . Change the replay speed or switch to the press.
A toy joint with a PD controller and a torque limit. The replay speeds match Appendix II, where each hand-guided trajectory was replayed at 0.25×, 0.5×, 0.75× and 1×. The error numbers are the toy's, not measurements.
Two lessons come out of the replay. First, a slow replay tracks the recording almost perfectly, and the full-speed replay lags, which is the error policies will see at deployment too. The paper measured this lag on its real arms during policy rollouts, and at every speed it was smaller than the phone tracker's error from Chapter 1.
Second, the press fails at every speed. Slowing down does not help, because the missing information is force, not timing. The replay tells the operator to change the demo. The paper does not spell out a fix; one natural one is to push slightly past the surface, so the recorded target sits below it and the controller presses.
One more detail. The toss and catch is too fast for 50 Hz. The tossing arm is recorded at 100 Hz and the catching arm at 200 Hz, because the catch has to close the gripper within a few milliseconds of the ball's arrival.
Every demo in this paper was recorded against a timer: 4 seconds for Unstack Cups, under 7 for Battery Insertion, 6 for Bus Table, 5 for Fold Shorts, 2 for the toss. The timer is how the paper keeps the data fast on purpose. For comparison, the puppeteered demos of the same first three tasks are 12, 20 and 18 seconds long.
Chapter 4
Hide the operator in every frame, at training and at deployment, so the two kinds of image match
Kinesthetic teaching has one awkward side effect. A person stands at the table and holds both handles. So the cameras see that person in almost every training frame.
The top camera sees two hands and two forearms reach across the workspace. Each wrist camera looks at the space between its own gripper jaws, and it often sees the other arm, with a hand wrapped around its handle. Then we deploy the policy. Nobody is at the table. The hands are gone from every frame.
That is a visual distribution shift: the images at test time come from a different distribution than the images at training time. A neural network learns any pattern that predicts its target. The operator's hand is a very good predictor. When the hand moves down, the arm moves down a moment later, because the hand is what pushes it.
So a policy can learn a shortcut: "follow the pink blob". At deployment the blob is missing, and the shortcut points nowhere. Think of a student who learned to read the answers off the teacher's face. In the exam room the teacher is not there.
There are three ways to deal with it, and the paper tests all three. Leave the hands in (No Mask). Paint them out with a video model (Inpainting). Or cover the same fixed region with black in every frame, with or without hands (Ours). Try them on the device before we look at how the third one finds its region.
Left: the top camera. Right: the right arm's wrist camera, which looks at the left gripper. Drag in the top view to move the left gripper. Choose a method, then flip between a training frame and a deployment frame.
A drawn toy scene, not camera footage. The read-out is computed live: both frames are rendered 160 pixels wide and compared pixel by pixel. The inpainting artefacts (an arm shadow on a shiny table, smeared texture) are the two failure causes the paper names for Fig. 6. Success rates come from Table I.
Turn on Show what differs with each method. With no mask, the hands are the difference. With inpainting, the hands are gone, but a shadow and a smear remain where the model guessed the background. With the FK mask, the two frames are identical, because the black squares sit in the same place in both.
That last point is the whole trick, so it is worth saying slowly. The mask does not try to make a training frame look like a world without people. It makes both kinds of frame contain the same black squares. The policy never sees a hand, and it never sees a test image that looks unfamiliar.
A segmentation network could find the hands. Flash ALOHA does not need one, because it already knows where the hands must be. The operator holds a handle that is bolted to the gripper. So the hand is wherever the handle is, and the handle is wherever the gripper is.
The robot knows where its gripper is from its joint angles alone. Turning joint angles into a position is called forward kinematics (FK): chain each link's rotation and length from the base out to the tip. Here it is for a two-link arm in a plane, the simplest case.
With numbers: l1 = 0.30 m, l2 = 0.25 m, θ1 = 30° and θ2 = 45°. The first link reaches (0.30 cos 30°, 0.30 sin 30°) = (0.260, 0.150). The second link points at 30° + 45° = 75° and adds (0.25 cos 75°, 0.25 sin 75°) = (0.065, 0.241).
(0.260 + 0.065, 0.150 + 0.241) = (0.325, 0.391) m (the gripper, from two encoder readings)
The real arms have six joints, so the chain has six rotations in 3D instead of two in a plane, but the idea is the same. The rest is bookkeeping with known transforms, done once per frame:
Step 4 in numbers. Say the hand centre sits at (0.05, 0.02, 0.30) m in the wrist camera's frame: 5 cm right, 2 cm down, 30 cm ahead. With a focal length of 320 pixels and an image centre of (320, 180) in a 640 × 360 image:
u = 320 × 0.05 / 0.30 + 320 = 373, v = 320 × 0.02 / 0.30 + 180 = 201 (column and row of the mask's centre)
The focal length and the point here are illustrative; the chain of steps is the paper's. The whole operation takes joint angles and images in and gives images out. The paper writes it as one function:
Notice what M does not need: a hand detector, a GPU, or a guess. It is a few matrix products per frame. That is why it can run in real time at deployment, where no hands exist to detect anyway.
Table I trains the same policy three ways and runs each 20 times per task. Here is the whole-task success rate and the average time.
| Task | No mask | Inpainting | Ours |
|---|---|---|---|
| Unstack Cups | 90% · 4.12 s | 85% · 3.92 s | 90% · 3.97 s |
| Battery Insertion | 75% · 6.44 s | 65% · 5.65 s | 85% · 5.70 s |
| Bus Table | 100% · 6.97 s | 100% · 6.57 s | 100% · 6.81 s |
| Fold Shorts | 90% · 6.19 s | 80% · 6.20 s | 100% · 5.94 s |
Two things stand out. First, the gap is modest. The paper says it plainly: performance stays high without the mask, and the mask improves it further. The largest gains are on the precise tasks, Battery Insertion (+10 points) and Fold Shorts (+10 points).
Second, inpainting is the worst of the three on most tasks. Erasing the hands with a model (SAM 2 to find them, ProPainter to fill the hole) leaves artefacts that never appear at test time. The paper names two: arm shadows on the shiny table, and frames smeared where the model lacked context. The policy learned from a world that does not exist at deployment. A crude black square that exists in both worlds beats a beautiful fill that exists in only one.
Chapter 5
The policy outputs fifty future joint positions at once, and a PD controller chases them
Now we have clean images. What should the policy output? In teleoperation the answer is easy: record what the operator commanded. The leader arm sends a target, and that target is the label.
Kinesthetic teaching has no leader. The operator pushes the real arm directly. Nothing is "commanded"; the arm just moves. So the recording holds only what the robot observed: images, joint positions q and joint velocities q̇, at 50 Hz.
The fix is simple and neat. Use the arm's own future as the label. If the arm was at qt+1 one tick later, then "go to qt+1" is the action that would have reproduced the demonstration. The future joint positions become the targets.
The policy predicts not one future position but a whole action chunk of them. This is the recipe of ACT (Action Chunking with Transformers), which Flash ALOHA uses unchanged. The training objective is:
Let's trace one decision through the network. Three images of 3 × 180 × 320 each go through a ResNet-18 backbone, which turns each into a grid of feature vectors. Those features and the joint positions become tokens of width 512. A transformer with 4 encoder layers and 7 decoder layers, 8 attention heads each, reads them. The decoder emits 50 rows, one per future tick. Each row holds both arms' joint targets and gripper commands.
| Setting | Value | Why it matters |
|---|---|---|
| Chunk size T | 50 (1 s at 50 Hz) | one decision per second of motion |
| Backbone | ResNet-18 | small and fast enough to run every few hundred ms |
| Width, feedforward | 512, 3200 | the transformer's size |
| Encoder, decoder layers | 4, 7 (8 heads) | same as the puppeteering baseline, so the comparison is fair |
| Training | 200k steps, batch 256, AdamW, lr 2×10−4 | backbone at 10−5; random crops of 95% |
| Data | 50 demos per task | about 3 to 6 minutes of motion per task |
Why not predict one tick at a time and look again? Because small errors compound. A policy that decides every tick makes a small mistake and lands slightly off the demonstrations. There it makes a bigger mistake, because it has seen fewer examples like it. Fifty decisions a second means fifty chances a second to drift.
A chunk commits to a whole second of motion from one look. The plan within the chunk is internally consistent, because it was predicted together. Decisions drop from 50 to about 1 per second, and so do the chances to compound. The cost is reaction time: during a chunk the policy is not looking. The device shows both sides.
The dashed line is the demonstration. The coloured line is the policy trying to follow it for 4 seconds. Each dot is a decision. Choose a chunk size. Turn on the bump: at 1.2 s the target shifts, as if someone nudged the object.
A one-dimensional toy, not the paper's policy. Each decision has a small random error, and an error grows when the state is already off the demonstration (that is compounding). Inside a chunk the plan is followed as predicted. The runs are seeded, so New run changes the noise for all chunk sizes at once.
T = 1 drifts away, because every tick adds to the error and every error makes the next one worse. T = 50 stays close. T = 150 is smooth but blind: when the object is bumped, it keeps executing a stale plan for almost two seconds. ACT's chunk of one second sits between the two failures.
The chunk is a list of target positions, not torques. A low-level PD controller turns them into motor commands, 50 times a second. It pushes toward the target in proportion to the gap, and brakes in proportion to the speed:
A worked number, with illustrative gains. Kp = 20 N·m per rad, Kd = 1 N·m per rad/s. The target is 0.05 rad ahead and the joint moves at 2 rad/s. Then τ = 20 × 0.05 − 1 × 2 = 1.0 − 2.0 = −1.0 N·m. The joint is already moving fast enough to close the gap, so the controller brakes.
Now the point that matters for speed. A PD controller always trails a moving target a little, and the faster the target moves, the larger the trail. At human speed that trail is no longer negligible. This is why the operators replay each recorded trajectory on the arm between demos (Chapter 3), and it is also where Chapter 6's seams come from.
One more detail, small but real. The policy looks at the world at time t. It needs some milliseconds to compute the chunk. By the time the chunk arrives, the arm has kept moving. So the first few rows of the new chunk describe positions the arm has already passed.
If the controller obeyed them, it would pull the arm backwards for a moment. Flash ALOHA tunes an action lookahead: skip the first n actions of every chunk. The paper tunes n per setup and does not report its value. The device shows why it must match the delay.
The arm sweeps steadily to the right. A chunk is planned from where the arm was when the policy looked, and it arrives after the inference delay. Set the delay, then set how many actions to skip. The red bar is the jump in the command when the chunk takes over.
Illustrative: the arm moves at a constant 1.2 rad/s and the chunk is perfect. Only the timing is modelled. The paper reports that it tunes n, not the value it uses.
The rule falls out of the picture. The arm moves on during the delay d. At 50 Hz one tick is 20 ms, so the chunk is d / 20 ms ticks stale. Skip that many, and the first command you execute is the one meant for now. With a 60 ms delay that is 3 ticks.
Chapter 6
A sigmoid hands control from the old chunk to the new one over a short overlap, so the arm never jumps
Chunks solve compounding. They create a new problem at the place where one chunk ends and the next begins. Call it the seam.
The two chunks were predicted from two different looks at the world, one second apart. They will not agree exactly. The last target of the old chunk says "be at 0.42 rad". The first target of the new chunk says "be at 0.52 rad". In one 20 ms tick, the target leaps by 0.1 rad.
The PD controller from Chapter 5 sees a sudden gap and answers with a sudden torque. The arm lurches. At slow speeds the lurch is small and the arm settles before anything happens. At human speed it is large, and it happens in the middle of a grasp or a push.
Why do the chunks disagree more at speed? Chapter 5 gave the reason. A fast target makes the controller trail further behind. The new chunk is predicted from where the arm actually is, which is not where the old chunk expected it to be. The policy corrects, and the correction shows up as a step at the seam. Faster motion, bigger trail, bigger step.
Table II shows the damage. Without smoothing, Unstack Cups drops from 90% to 65% and Battery Insertion from 85% to 75%. The paper describes the failures as imprecise grasps and pushes.
Flash ALOHA asks for the next chunk a little early. Instead of waiting until the old chunk runs out at step T, it requests the new one H steps before the end. Now the two chunks overlap for H steps. Inside that overlap, the command is a weighted mix of both, and the weight slides from "all old" to "all new".
Play with the device first. Watch the yellow chunk, the blue chunk, and the teal command that the controller actually receives. The bottom strip is the arm's response.
Top: the old chunk, the new chunk, and the command (teal) for one joint. Middle: the blend weight w over the overlap. Bottom: the arm's acceleration as the PD controller follows the command. Choose a blend, then move the sliders and press Run.
The blend is the paper's formula, computed exactly. The two chunks and the arm are a toy: one joint, chunks of T = 50 at 50 Hz, a PD-controlled inertia. In this toy the disagreement grows with arm speed, as Chapter 5 argued; the paper reports the effect, not this scaling. The paper does not give its values of H and σ.
Three things to notice. With No smoothing, the command steps and the acceleration spikes at the seam. With the Sigmoid, the step is spread over H ticks and the spike shrinks to a bump. Push the arm speed to 2× and the no-smoothing spike grows with it, while the blended one stays small. That is the whole chapter in one picture.
Now let's write down exactly what the device computes. The old chunk is predicted at time t and covers the next T steps:
Count the indices to see the overlap. The old chunk's last target is at t + T. The new chunk's first is at t + T − H + 1. So both chunks have a target for every tick from t + T − H + 1 to t + T: exactly H ticks.
Outside the overlap there is nothing to decide. Each tick t′ just uses the one chunk that covers it. Inside, we need a weight w(t′) that starts near 0 (trust the old chunk), ends near 1 (trust the new one), and changes smoothly. The command is the weighted mix:
What shape should w have? Try the simplest candidates and look at their flaws. The small device below draws each one with its velocity, the rate the command changes per tick.
Each column is one choice of w. Top row: the weight. Bottom row: how fast the command moves per tick across the seam (old and new chunk 0.1 rad apart). Tap a column to look closer.
Computed from the formulas with H = 12 and σ = H / 8. Only the handover is shown; the chunks' own motion is removed so the seam stands alone.
A step (w jumps from 0 to 1) is no smoothing at all: the whole gap lands on one tick. A linear ramp spreads the gap evenly, but its velocity switches on and off abruptly at both ends of the overlap. A sudden change in velocity is a spike in acceleration, which is exactly what we wanted to avoid. Two smaller lurches instead of one big one.
The sigmoid eases in and eases out. Its velocity rises and falls smoothly, with no corners. That is the curve Flash ALOHA uses, centred on the middle of the overlap:
Take T = 50, H = 12 and σ = 1.5 (H / 8). Let the old chunk hold a joint at 0.42 rad and the new chunk hold it at 0.52 rad, a gap of 0.10 rad. Measure ticks from the start of the overlap, so u = (k − 6) / 1.5 for k = 0 to 12.
| Tick k | u | w | command a (rad) | change this tick |
|---|---|---|---|---|
| 0 | −4.0 | 0.018 | 0.4218 | +0.0018 |
| 3 | −2.0 | 0.119 | 0.4319 | +0.0054 |
| 5 | −0.67 | 0.339 | 0.4539 | +0.0131 |
| 6 | 0.0 | 0.500 | 0.4700 | +0.0161 |
| 7 | +0.67 | 0.661 | 0.4861 | +0.0161 |
| 9 | +2.0 | 0.881 | 0.5081 | +0.0089 |
| 12 | +4.0 | 0.982 | 0.5182 | +0.0016 |
Check the middle row by hand. At k = 6, u = 0, so w = 1 / (1 + e0) = 0.5. The command is 0.5 × 0.42 + 0.5 × 0.52 = 0.47 rad, exactly halfway.
largest step: 0.0161 rad per tick vs 0.100 rad in one tick with no smoothing (about 6× smaller)
The largest step falls in the middle. The sigmoid's steepest slope is 1 / (4σ) per tick, so the largest step is about the gap divided by 4σ: 0.10 / 6 = 0.0167 rad, close to the 0.0161 in the table. That gives a design rule. To cut the seam's jump by a factor k, make 4σ about k ticks, and give the S room: H around 8σ.
Look at the two ends too. At k = 0 the weight is already 0.018, not 0. The first tick of the overlap still carries a small jump, 0.0018 rad. At k = 12 the weight is 0.982, not 1, and leaving the overlap snaps the last 0.0018 rad. With σ = H / 8 both leftovers are under 2% of the gap.
Now see what σ does at the extremes, which the device shows if you drag it. As σ shrinks toward 0, the S becomes a step in the middle of the overlap: you have moved the jump, not removed it. As σ grows large, w stays near 0.5 over the whole overlap. The command blends half and half, then at the overlap's end snaps to the new chunk by half the gap. Both extremes bring the jump back.
Almost nothing, which is the point. The smoothing runs after the policy, on numbers, at test time. It needs no retraining and no change to the network. The only change to the schedule is that the next chunk is requested H ticks early, so the policy runs once every T − H ticks instead of every T. With T = 50 and H = 12, that is once every 38 ticks, 0.76 s, instead of once a second.
Chapter 7
Temporal ensembling also smooths the seams, but it runs the policy on every tick and averages two good plans into one bad one
Chapter 6's fix is not the first answer to chunk seams. The ACT paper already had one, called temporal ensembling (TE). It is the obvious baseline, so it deserves a fair hearing.
The idea: do not wait for a chunk to run out. Run the policy on every tick. Each run predicts a chunk of 50 future targets. So at any tick, there are up to 50 different predictions for that same tick, one from each of the last 50 chunks. Average them.
A worked number with three votes for the same tick: 0.40 (oldest), 0.46 and 0.52 rad (newest). With m = 0.01 the weights are 1, 0.990 and 0.980.
(0.40 × 1 + 0.46 × 0.990 + 0.52 × 0.980) / (1 + 0.990 + 0.980) = 1.3651 / 2.9702 = 0.460 rad
The command is smooth, because each new chunk adds only one vote out of up to 50. But read the result again. The newest look at the world says 0.52. The command says 0.46. The average is dragged back by everything the policy believed earlier. That is the first hint of trouble.
A tick at 50 Hz is 20 ms. Running a ResNet-18 on three images plus an 11-layer transformer, every tick, on the robot's computer, may not fit in 20 ms. When it does not fit, the controller waits for the next command, and the whole motion stretches.
Table II shows exactly that. With temporal ensembling every task takes nearly twice as long: Unstack Cups 7.75 s against 3.97 s with smoothing, Battery Insertion 10.18 s against 5.70 s, Bus Table 12.23 s against 6.81 s, Fold Shorts 11.60 s against 5.94 s. The paper attributes this to the processing time of running inference every tick. For a paper about speed, that alone rules it out.
Suppose the hardware were fast enough to make inference free. The paper argues TE would still do badly at speed. Here is why.
Many good motions come in more than one version. Go around the cup on the left, or on the right. Both are fine. At speed the arm trails its targets, the policy sees it is off course, and new chunks often switch plans. Now the votes for a tick come from two camps: old chunks that said "right" and new ones that say "left". Their average says "straight ahead", which is through the cup.
Top view. The gripper must pass the cup on either side. Partway through, a fresh look makes the policy switch from the right-hand plan to the left-hand plan. Choose a method and press Run. Then drag the inference time and watch the race below.
A toy: two hand-made plans and a switch at a fixed moment. TE averages every chunk still in its 50-tick memory with ACT's weights; the blend uses H = 12 and σ = 1.5. The race assumes 50 Hz control and a 3.97 s task; the paper measured the real slowdown (Table II), not this inference model.
Temporal ensembling remembers 50 ticks of old plans, so after the switch the old right-hand votes keep pulling for up to a second. The average path runs into the cup. The sigmoid blend remembers only the previous chunk, for H ticks. Once it hands over, the old plan has no say at all.
The success rates in Table II fit this story. Temporal ensembling scores 35% on Unstack Cups (smoothing: 90%) and 55% on Battery Insertion (85%), the two tasks with the most precise contact. It does as well as smoothing on Bus Table, 100%, but at nearly twice the time.
| Task | No smoothing | Temporal ensembling | Test-time smoothing |
|---|---|---|---|
| Unstack Cups | 65% · 4.23 s | 35% · 7.75 s | 90% · 3.97 s |
| Battery Insertion | 75% · 5.29 s | 55% · 10.18 s | 85% · 5.70 s |
| Bus Table | 80% · 6.70 s | 100% · 12.23 s | 100% · 6.81 s |
| Fold Shorts | 80% · 6.16 s | 90% · 11.60 s | 100% · 5.94 s |
The paper is careful about what it proves here. The slowdown is measured. The claim that TE would still fail at speed with free inference is a hypothesis. It rests on the averaging failure that an earlier paper on real-time chunking (RTC) also describes. The same effect, the authors add, partly explains why chunks disagree at seams at all: at speed the policy keeps correcting course.
Chapter 8
Play a careful demo twice as fast and watch the seams tear open
Here is the shortcut every reader thinks of by now. Puppeteering already works. ALOHA 2 has collected thousands of careful demonstrations. Why build new hardware at all? Collect the slow way, then tell the robot to move faster.
The paper tests this directly, and it is worth doing slowly, because the way it fails teaches more than the way Flash ALOHA succeeds. The authors collect 50 puppeteering demonstrations per task on an ALOHA 2, train one ACT policy per task with exactly the same architecture as their own, and then speed the policy up in two ways.
Recall the numbers from Chapter 5. A chunk is 50 target joint positions. At the 50 Hz collection rate, one chunk lasts 1 s, and the policy is asked for a new chunk every second. Call that plain Puppeteering. There are only two knobs left to turn: how fast you step through a chunk, and which steps you keep.
On paper the two are the same speed-up. Each one traverses a chunk in half the time the data took. In practice they fail in two different ways, and the device below lets you see both.
The top strip is one joint of the arm over the last stretch of the task, in wall time, split into action chunks. Each colour is one chunk; a vertical tick is a seam where a new chunk takes over. The bottom strip zooms into the final push. Pick a way to go faster.
Times and success rates are Table III (puppeteering on ALOHA 2; Flash ALOHA rows from the same table). Seam sizes follow Fig. 8: doubling the controller frequency makes chunk boundary jumps about 3 to 3.5 times those of plain puppeteering, skipping actions about 1.5 to 2 times. The joint trace itself is a toy, drawn to show where the jumps and the skipped steps come from.
Watch the ticks in Double freq. At every seam, the trace jumps. Why would that happen when nothing about the policy changed?
Think about what a chunk is. At the moment of the query, the policy looks at the cameras and the joint encoders and says: "From here, these are the next 50 places to be." The chunk starts from where the arm actually is. The old chunk ends at where the arm was told to be. If the arm has kept up perfectly, those two points match and the seam is invisible.
But an arm never keeps up perfectly. A PD controller chases its target, and the faster the target moves, the further behind the arm falls. The paper measured this in Fig. 9: the robot's own tracking error grows with end-effector speed. Double the playback speed and the arm lags further, so the gap between "where the old chunk ended" and "where the new chunk starts" grows. That gap is the jump.
There is a second reason, and it is subtler. The policy never saw a fast world. Every image it trained on came from a slow, careful operator. At double speed the arm arrives at each query in poses, with blur and momentum, that the training data never contained. So its new chunk does not even agree with the old one about where to go next. Both effects show up at the seam.
The paper measures the seam with one number. At each policy update, take the last command of the old chunk and the first command of the new one, and measure the distance between them across the 12 arm joints (the two grippers are left out):
A worked number with three joints instead of twelve. Suppose the differences are 0.03, −0.02 and 0.04 rad. Squares: 0.0009, 0.0004 and 0.0016. Sum: 0.0029. Square root: J ≈ 0.054 rad, about 3 degrees of sudden motion, delivered in one 10 ms control step.
Three degrees sounds small. Now picture it at the gripper. On a link about 30 cm long, 0.054 rad moves the fingertip by roughly 0.3 × 0.054 ≈ 1.6 cm in a single step. A battery slot has millimetres of slack. Each rollout's jumps are averaged, every rollout is included (failures too), and 20 rollouts are averaged per condition. Fig. 8 is the result: doubling the controller frequency makes the jumps about 3 to 3.5 times those of plain puppeteering; skipping every other action makes them about 1.5 to 2 times.
Skip actions has smaller seams. Each command still lasts 20 ms, the rate the controller was tuned for. So why is it not the winner?
Look at the bottom strip in the device. The push at the end of battery insertion is a short, sharp motion: the gripper drops a few millimetres, presses, and comes back. In the demonstration it spans a handful of steps. Keep only every other step and the deepest point of the press can fall between two kept samples. The command never goes as deep as the demonstration did.
The paper saw exactly this. Skip-action policies oscillated above the battery instead of pushing it in, and missed grasps. On the battery task the push stage falls from 55% for puppeteering to 30% when skipping, and to 15% when doubling. Halving the samples is not neutral when the task lives in its smallest motions.
Put the two failures side by side. Double frequency keeps every step but breaks the timing the policy learned. Skipping keeps the timing but throws away steps. There is no third knob on a slow dataset. The information about how to move fast, the momentum, the quick corrections, the exact depth of a fast press, was never recorded.
That is the whole case for Chapters 1 to 3. Kinesthetic teaching records a human moving the real arm at near human speed, so each chunk already describes a fast motion, at the rate the controller will run it. Nothing needs to be squeezed at test time. The only seams left are the ordinary ones, and Chapter 6's sigmoid blend takes care of those.
The paper could not even attempt one task this way. Toss & Catch needs the catching arm to close on a ball in flight. Nobody could catch a ball through puppeteering, so there was no slow dataset to speed up. Flash ALOHA does it in 1.85 s.
Chapter 9
Read three tables stage by stage, and a user study that measures people instead of policies
We have built every piece. Now the paper asks four questions of it. Does masking the operator help? Does the sigmoid blend help? Does fast data beat slow data played fast? And is the platform easier for people? Each question has its own table, and each table splits a task into stages, so you can see where a policy fails, not only how often.
Every task gets 50 demonstrations by kinesthetic teaching, collected against a timer. Each one is chosen to stress a different kind of speed.
| Task | What the arms do | Demo timer | Stages scored |
|---|---|---|---|
| Unstack Cups | The left arm grips the bottom of two stacked solo cups; the right grips only the top cup's lip and pulls. Grip too hard on either side and it fails. Start position randomised along 15 cm of tape. | 4 s | Grab, Pull |
| Battery Insertion | One arm picks a battery and places it at a slant into a remote without touching the spring, then pushes one end into the spring; the other arm presses it down into place. | under 7 s | Pick, Place, Prepare, Push |
| Bus Table | Pull a tray close, then both arms alternate moving a cup, a bowl, a spoon and a plate from a pan into the tray. | 6 s | C&S (cup and spoon), B&P (bowl and plate) |
| Fold Shorts | Toss the bottom of a pair of chino shorts up over the top, then fold left to right while the other arm makes a crease. Up to 30 degrees of random rotation. | 5 s | Up, Right |
| Toss & Catch | The left arm picks a soft ball and flings it up; the right arm closes on it in the air. Uses the low-friction HESSIAN arms, tossing arm at 100 Hz, catching arm at 200 Hz. | 2 s | Pick & Toss, Catch |
A "Whole" score is the share of rollouts that clear every stage. Notice that the stage scores can only fall as you move right: a policy that drops the battery at Pick never gets to Push. The step from one stage to the next is where a method shows its weak spot.
Choose a question and a task. Each method is a line of stage scores, left to right, ending at Whole; the bars at the bottom are execution time. Switch methods off to compare two at a time.
Every number is from the paper: Table I (masking), Table II (smoothing), Table III (speed). Success in percent per stage; time in seconds for a whole rollout. Toss & Catch appears only in Table III, where puppeteering could not perform it.
Table I compares three ways to handle the operator's hands: leave them in (No Mask), paint them out with a video diffusion model (Inpainting), or black out a box computed from the joint angles (Ours). On Bus Table all three score 100%. That task is forgiving. On Battery Insertion the gap opens at the precise stages: Prepare 85% without a mask, 90% with it; Push 75% against 85%. On Fold Shorts, the Right fold goes from 90% to 100%.
Inpainting is the surprise. It is the "clean" option, and it scores lowest on battery (65%) and shorts (80%). The paper gives two reasons you can see in Fig. 6: the arms' shadows stay visible on the shiny table, and the diffusion model fills frames noisily when it lacks context. Those artifacts never appear at deployment, so the policy learned from a world that does not exist. A black box, by contrast, looks exactly the same at training and at test time.
Table II is where the sigmoid blend earns its chapter. Without smoothing, Unstack Cups falls from 100% at Grab to 65% at Pull: the seam jolts arrive exactly when the right gripper must tilt and pinch one lip. With the blend, Pull is 90%. On Battery Insertion, Whole goes from 75% to 85%.
Temporal ensembling is the instructive row. Its success is mixed (35% on cups, 55% on battery, 100% on bus table), but look at its clock: 7.75 s on cups against 3.97, 12.23 s on bus table against 6.81. Running inference at every step roughly doubles the execution time. A smoothing method that halves your speed has undone the reason you collected fast data.
Table III is the chapter you just read, in numbers. Plain puppeteering takes 8.84 s for cups, 17.87 s for battery and 16.05 s for bus table, between 2.2 and 3.1 times longer than Flash ALOHA. Speeding it up buys time and loses success, most of all on battery, where the push stage collapses to 15% (double freq) and 30% (skip). Flash ALOHA is both the fastest and the most successful in every column.
The time reductions are large. Against plain puppeteering, Flash ALOHA cuts cups by 55% (8.84 to 3.97 s), battery by 68% (17.87 to 5.70 s) and bus table by 58% (16.05 to 6.81 s). That is the paper's "over 50%" claim, task by task.
The last experiment measures operators. Seven volunteers with little or no teleoperation experience try Battery Insertion on both platforms. On each platform they get three minutes to get familiar with the objects and the arms, watch an expert demonstration, hear a few tips, and then do ten timed attempts, as fast as they can.
The result in Fig. 7: on Flash ALOHA, people learn quickly and reach speeds up to three times those on puppeteering, with a gap of more than 50% in duration for both new and experienced operators. The paper credits three things. The operator sits closer to the scene, so the visual feedback is direct. They feel the real arm in their hand, so contact is felt, not guessed. And there is no leader arm to translate through. Faster operators mean faster demonstrations, which is where this chapter started.
Chapter 10
Lock in the cheat sheet, name the limits, and place Flash ALOHA in the field
You can now read the Flash ALOHA paper and defend every choice in it: why hand-guiding instead of puppeteering, why encoders instead of a phone tracker, why gravity compensation, why the actions are future joint positions, why a black box over the hands, why a sigmoid at the seams, and why slow data cannot simply be played fast. Let's lock it in.
Robots that learn from demonstrations move slowly because their demonstrations are slow, and because fast motion breaks the way chunked policies are executed. Flash ALOHA fixes both halves. For data, the operator holds scissor handles on lightweight, backdrivable arms with planetary gearboxes and 100 Hz gravity compensation, and moves them at near human speed; the joint encoders record the motion exactly, three cameras record the scene at 50 Hz, and the actions are simply the future joint positions. For learning, the operator's hands are blacked out with a box computed from forward kinematics, at training and at deployment alike, and the seams between ACT's 1-second action chunks are blended with a sigmoid over a short overlap. With 50 demonstrations per task, the policies run near human speed at over 80% success, cutting execution time by more than half compared with puppeteering, and catching a tossed ball in 1.85 s.
| Quantity | Value | Why it matters |
|---|---|---|
| Demonstrations per task | 50 | Small data; the speed comes from the data, not its size |
| Recording | 3 RGB cameras at 50 Hz, 360 × 640; joint positions and velocities at 50 Hz | Encoders give exact poses even in aggressive motion |
| Gravity compensation | torque control at 100 Hz | The arm feels weightless, so the operator can move fast |
| Policy | ACT, ResNet-18, 4 encoder / 7 decoder layers, 8 heads, no CVAE | The same recipe as the puppeteering baseline |
| Chunk | 50 actions = 1 s at 50 Hz | Targets for a low-level PD controller |
| Blend weight | w = sigmoid((t′ − (t + T − H) − H/2) / σ) | Hands over from old chunk to new over H steps |
| Battery Insertion | 5.70 s at 85% vs puppeteering 17.87 s at 55% | Faster and more reliable at once |
| Speed-up shortcuts | double freq 12.90 s at 15%; skip 10.30 s at 30% | Seams jump about 3 to 3.5× and 1.5 to 2× |
| Temporal ensembling | about 2× slower (cups 7.75 s vs 3.97 s) | Inference every step costs the speed |
| Toss & Catch | 1.85 s, catch 80% | Impossible by puppeteering |
| User study | 7 novices, 10 trials; up to 3× faster than puppeteering | Faster operators make faster data |
Three small functions carry the paper's learning pipeline. The mask needs only joint angles and a calibration. The blend needs only two chunks. The jump metric is how Fig. 8 is measured.
pythonimport numpy as np def mask_hands(images, q, fk, cam): # images: dict of 3 RGB frames (H x W x 3); q: joint angles of both arms # fk(q, arm) -> 4x4 end-effector pose; cam[name] has intrinsics K and base-to-camera pose out = {k: v.copy() for k, v in images.items()} for arm, other in (('left', 'right'), ('right', 'left')): ee = fk(q, arm) # this arm's gripper pose hand = ee @ HANDLE_OFFSET # handles are fixed to the gripper u, v = project(cam[other + '_wrist'], hand[:3, 3]) # hand centre in the OTHER wrist camera zero_square(out[other + '_wrist'], u, v, size=40, normal=ee[:3, 2]) zero_box(out['top'], project_box(cam['top'], hand, ee)) # hand and forearm, top view return out # same function at training and deployment def blend(chunk1, chunk2, T, H, sigma): # chunk1: T targets predicted at t; chunk2: T targets predicted at t + T - H # returns the commands for the overlap window, steps t + T - H ... t + T - 1 k = np.arange(H) # 0 .. H-1 inside the overlap w = 1 / (1 + np.exp(-(k - H / 2) / sigma)) # sigmoid, 0.5 at the middle old = chunk1[T - H:] # last H targets of the old plan new = chunk2[:H] # first H targets of the new plan return (1 - w)[:, None] * old + w[:, None] * new def chunk_jump(prev_chunk_sent, new_chunk, arm_joints=12): # Fig. 8: distance between the last command sent and the first new one, arms only d = new_chunk[0, :arm_joints] - prev_chunk_sent[-1, :arm_joints] return float(np.sqrt((d ** 2).sum())) # radians
The paper does not publish its values of H and σ, nor the mask size; the numbers above are placeholders. The handle offset comes from the handle's CAD model, and the camera poses from calibration.
Now press Present or Teach and explain, out loud and from memory, why playing slow data twice as fast makes the chunk seams jump. If you can, you own this paper. Then go back to the table and race puppeteering against Flash ALOHA on the battery.