Skills at WorkFACT: small flow-matching policies for industrial manipulation
Rae Jeong1, Mikhail Skazhenyuk2, Jordan Wang3, Chang Keun Paik2, Steven L. Waslander2
1Maneva AI · 2University of Toronto · 3University of Waterloo
A production station repeats one job in a fixed order. It needs precise hands more than broad understanding. FACT is a 43M-parameter policy trained from demonstrations. For a multi-step job, one FACT expert runs each step and a clock decides when to hand over.
Split the job where it already splits
A robot in a home has to work out what you meant and how this room differs from the last one. A production station does not. Its parts arrive in known places, the work moves from one stable state to the next, and each step ends before the next one starts. What is hard is the hands: grasping a brittle part whose shape varies, passing it between arms, and seating it in a tight slot, closed-loop, at line pace.
Factory jobs also come already cut into steps with clear hand-off states: the cane is in the left gripper, the cane is in the right gripper. FACT uses those cuts three times. Data: each phase is demonstrated on its own, as often as it needs. Models: each phase gets its own small policy, a phase expert. Repair: when a phase fails, you re-record and retrain that phase and leave the rest alone.
The scheduled gate
From the paper, Eq. 3Written this way it is a mixture of experts. The gate is one-hot and reads only the clock. Each phase budget Tk − Tk−1 is the 95th percentile of that phase's demonstration lengths. At a switch, the outgoing expert's unexecuted actions are dropped and the incoming expert plans from the current camera frames.
A phase that comes in variants can have one expert per variant. On the candy-cane station there is one insert expert for each of the twelve positions, so the gate picks by position as well as by time.
What it costs
The price is paid at the seams. An expert must start well from wherever the previous one left the scene, so each phase's demonstrations should begin from the states the phase before it produces. When something goes wrong, you know which expert to look at.
What it does not do
The gate does not look at the scene. If a phase ends early, runs long or fails, the next expert starts anyway. On a single-threaded job that is usually fine. An observation-triggered gate is the obvious next step.
Three ways to automate a fixed job
Qualitative · paper Fig. 6| Dedicated automation | Generalist foundation model | Phase experts (FACT) | |
|---|---|---|---|
| Setting up the job | Custom-built cell | Adapt a large model | Under 1 h of demos per expert* |
| Hardware | Integration costs dominate | Arms and large GPUs | Arms and one consumer GPU |
| Changing one step | Re-engineer the cell | Retrain the whole model | Retrain one expert |
| When something fails | Station sensors flag it | Hard to isolate the skill | The failing phase is known |
| Running speed | Fastest | Billions of parameters at control rate | Small model; cycle time being measured |
| New tasks or instructions | Not supported | Built for this | Needs new demonstrations |
* Final per-expert costs are still being tallied. Phase experts give up what a fixed station does not need, new instructions and new tasks, in exchange for low cost and easy change.
ACT's trunk, a flow-matching head
FACT stands for Flow-matching Action Chunking Transformer. It keeps the transformer trunk of ACT and replaces ACT's variational action decoder with a small network trained by flow matching. It keeps a running average of its weights during training and joins consecutive action chunks with real-time chunking. Only the image encoder starts from pretrained (ImageNet) weights. Everything else trains from the demonstrations at hand.
Click a stage to see what it does.
From camera frames to an action chunk
43.5M parametersWhy a generative head
Demonstrations disagree. One operator goes left around an obstacle, another goes right. A head trained to regress the action with a squared error learns their average, which can go straight through the obstacle. A flow-matching head learns a velocity field that carries random noise to the demonstrated chunks, so each sample lands on one of the ways people actually did it.
The toy below runs the exact flow for a small set of 1-D demonstrations, computed live in your browser. Change the number of integration steps and watch where the samples land.
Noise to action chunk, step by step
Illustrative · exact flow, toy dataWhat to look for
About this toy
Twelve demonstrated 40-step chunks, six passing above the obstacle and six below. The velocity field is the exact flow-matching target for this data, so no network is trained here. In FACT, the field also sees the camera frames and joint state. When the scene already decides which way to go, one or two steps are enough. FACT uses K = 2 on ALOHA and RoboTwin and on the station, and K = 1 on LIBERO. More steps did not help.
What weight averaging buys
MeasuredALOHA insertion, 3 training seeds per variant. Final: 300 paired episodes. Second half: checkpoints from 60k to 100k steps, 750 episodes. Best: best checkpoint pooled over seeds, scored on the same episodes it was picked on, so optimistic. Worst: the worst single seed and checkpoint in the second half. Source: paper Table 2.
Why it matters on a line
Without averaging, the best checkpoint is as good as FACT's (94.0% for both). The problem is everything around it. Consecutive checkpoints of one run swing from 98% to 6%, and one seed scores 0 of 50 at 30k steps.
The failures are near misses. In the collapsed checkpoints, 46 to 50 of 50 episodes bring the peg to the socket and then miss the hole. A small drift in the weights becomes all-or-nothing on a millimetre task. A factory cannot pick its checkpoint by trial on the line, so FACT deploys the averaged weights from the last step.
Augmentation
Without image augmentation, FACT scores 84.7% against 87.7% (p = 0.31). The simulated camera and lighting never change, so there is little to protect against. It stays on for the real robot, where they do.
Technical detail: loss, sampling and training recipe equations · paper §3
FACT maps an observation o_t = (I^1_t, \dots, I^C_t, q_t), made of C camera images and the joint state q_t, to a chunk of H future actions A_t \in \mathbb{R}^{H \times D}. The trunk produces a context C_t \in \mathbb{R}^{H \times 512}, one vector per chunk step. The head v_\theta(x, \tau; C_t) is trained on the straight path from Gaussian noise z to the demonstrated chunk:
At inference, K forward Euler steps integrate the field from x_0 = z. The context is computed once per chunk, so each step costs only the two-layer head:
Training: AdamW at a constant learning rate of 3 \times 10^{-5} (10^{-5} for the image encoder), weight decay 10^{-4}, gradient clipping at 10, no warm-up. Images are normalized with ImageNet statistics and each camera is augmented on its own with up to three of brightness, contrast, saturation, hue, sharpness and small affine jitter. States and actions are standardized. The deployed weights are an exponential moving average:
Execution: the robot runs the first n_a actions of each chunk, then plans the next one from the newest frames. Real-time chunking keeps the seams smooth: after every Euler step, the part of the new chunk that overlaps the previous plan is pulled toward that plan, with full weight on the steps that will run before the new chunk is ready and a decaying weight on the rest of the overlap.
Speed: about 18 training steps per second on one RTX 5090 on ALOHA, where 100k steps take 1.6 GPU-hours. RoboTwin (300k steps, 50 tasks) took 9.8 GPU-hours.
A small model, scored next to large ones
Three benchmarks ask three different things. ALOHA insertion is one precise bimanual task. RoboTwin 2.0 asks one model to cover 50 tasks. LIBERO is where large vision-language-action models report results. Every FACT number below uses the final checkpoint of a fixed training budget. No checkpoint was picked by its score.
Success rate
MeasuredHow to read it
Twelve candy canes, one box
Candy canes are brittle and hooked, and no two have quite the same length or curve. Our lab station reproduces the packing step of a confectionery line. Twelve canes go into a retail box with six holes, two canes per hole, in a fixed order. At an odd position the cane goes into an empty hole. At an even position a second cane joins the first.
Two arms share the work. The left arm picks the cane off the table, hands it to the right arm, and gets out of the way. The right arm puts it in the box. Each cane takes one cycle, and twelve cycles fill a box.
All twelve canes in one continuous run, played at real speed.
One cane: three experts and two precomputed paths
Schematic · not to scaleWhy some moves are paths, not experts
Carrying a cane that is already gripped from one known pose to another needs no feedback. Those moves run as precomputed paths: straight lines in joint space through poses an operator set with the leader arms, at 0.6 rad/s, with the grippers moving only after the last waypoint. The controller ignores the policy during a path, and the next expert plans its first chunk in the meantime.
This keeps each expert's job short and starts it close to where its demonstrations started. The handoff start pose is the median first frame of the handoff demonstrations. The insertion start pose sits within 0.32 to 0.55 rad of each insert expert's median first action.
An earlier version had a fourth expert that moved the left arm behind the box. That motion is now part of path 2.
The station
- Arms
- Two 6-DoF WidowX AI arms with parallel grippers, taught with a matching pair of leader arms
- Cameras
- Four at 640×480: overhead, low front and one per wrist. Pick and handoff experts read all four, insert experts three.
- Control
- 14 joint positions in and out (six joints and a gripper per arm) at 30 Hz. 60-step chunks (2 s), 30 run before replanning.
- Experts
- 14: pick, handoff, and one insert expert per box position
- Insert data
- About 100 demonstrations per position (110 at position 1, 70 at position 10). Position k is always shown with positions 1 to k-1 filled.
- Prep
- Idle stretches cut to 10 frames. Each expert normalizes with its own data's statistics.
How the station is tested
Results with the paper1 · Each position
A full cycle ending at position k: pick, path, handoff, path, insert. Positions 1 to k-1 are seated by hand first. 20 trials per position, 240 in all.
2 · Full box
Twelve cycles from an empty box. A run counts only if all twelve canes are seated at the end. 20 runs.
3 · Missing canes
Insert expert k only ever saw boxes with 1 to k-1 filled. This test leaves some of those empty to see whether it still finds its slot. 10 trials per setup.
Per-position success
Missing-canes setups
Success criterion for an insertion: the cane is seated at its position when the cycle ends.
What this does not show
FACT is built for fixed jobs. Most of its limits follow from that choice, and a few are open questions.
Appearance changes
- The simulation benchmarks keep the cameras fixed and, apart from RoboTwin's randomized setting, keep the look of the scene fixed too.
- Trained on RoboTwin's clean scenes, FACT keeps 8.1% in randomized ones. Pretrained models keep up to 46%.
- A policy trained from scratch handles only the variation its demonstrations contain. If lighting, background or product changes, the demonstrations need to cover it.
The gate is a clock
- It does not observe the scene. If a phase ends early, runs late or fails, the next expert takes over regardless.
- Precomputed paths are open-loop. They assume the cane is where the last expert left it.
- Experts recorded in separate sessions can start from states the previous expert never produces.
The real-world study
- One station, one product.
- Success and cycle time are reported. Reliability over a full production shift is not, and a deployment decision would need it.
- No language input. FACT cannot follow a new instruction or do a task it was not shown. That is a design choice, not something it overcomes.
Next steps
- A gate triggered by the hand-off state, for example "the cane is in the right gripper", instead of a timer.
- A learned gate, which turns the scheduled mixture into a conventional mixture of experts.
- A slow semantic module that picks which expert to run, so a station can recover from failures or switch products.
- Reusing experts wherever the same hand-off state shows up on another station.
Cite this work
@article{jeong2026fact,
title = {Skills at Work: Small Flow-Matching Policies
for Industrial Manipulation},
author = {Jeong, Rae and Skazhenyuk, Mikhail and Wang, Jordan
and Paik, Chang Keun and Waslander, Steven L.},
journal = {arXiv preprint},
year = {2026}
}
About the numbers on this page
MeasuredEvery number with this badge comes from the paper's tables.
- ALOHA insertion: FACT, ACT and Diffusion Policy trained and scored by us on the same 300 episodes.
- Weight-averaging and augmentation ablations: 3 seeds per variant, every 10k-step checkpoint.
- RoboTwin 2.0 and LIBERO: our FACT runs. Other models as reported by the benchmark papers and maintainers.
- Station timings: rig protocol budgets and logged path durations.
What is illustrative
IllustrativeThese views explain the method. They are not results.
- Flow-matching toy: exact flow on twelve made-up 1-D demonstrations. No trained network runs.
- Cycle timeline: order and roles are exact, segment widths are not to scale.
- Box diagram: position order is exact, geometry is simplified.

