Behavior cloning is imitation learning cast as supervised learning: a policy π(a∣s)\pi(a \mid s) is regressed onto expert actions given expert observations. In closed loop the robot's own actions choose its future inputs, breaking the i.i.d. assumption, so errors compoundSource 7.

A labelled photograph of the DROID data collection rig: a Franka Panda arm on a height-adjustable desk with two side-mounted Zed 2 cameras, a wrist camera and an Oculus Quest 2 headset with controllers.
Behavior cloning starts from demonstrations recorded on rigs like this one, where a person teleoperates the arm through a VR headset. DROID used this Franka Panda setup at every institution.
Paper figure: Alexander Khazatsky et al. / arXiv. Licence: CC BY 4.0.

Watch the error compound

Try “A teacher corrects it” to watch DAgger-style relabelingSource 2 cut the summed deviation.

Guess first

Make the task twice as long, 240 moves instead of 120, with the same 5% slip per move and nothing else changed. Roughly what happens to the total drift?
On the twice-as-long task the total drift reads 1505 units. Press Short task (120 moves) and it falls to about a quarter.
Compounding error
Small mistakes snowball: twice the task, four times the drift
Task length
How it’s run
Adjust more
Twice as long:about four times as far off course240 moves · drift 1,505 units · the first 120 moves drift 370

The groove is the path a person showed it; the ink is the robot. A toy model, not a measured robot.

A robot that copies an expert makes tiny slips; each slip pushes it somewhere unfamiliar, so mistakes pile up faster than the task grows.
How this was made

Original deterministic toy, not a measured robot. Each move adds a small error to how far the robot is off the taught path, and the error grows with that distance: the drift d after each decision becomes d + ε(1 + 0.01·d), with ε the per-step error (now 5.0%). The shaded gap sums the drift over every move. At 5% it is 370 units over 120 moves and 1505 over 240: twice the task, about four times the drift.

“25 moves per plan” makes one decision every 25 moves (action chunking), so errors enter less often. “A teacher corrects it” is DAgger-style relabeling: every 20 moves an expert removes 75% of the drift. Both are chosen illustration rules, not implementations of either method.

The doubled-horizon figure keeps per-timestep prediction at 5.0 percent error across 240 steps with DAgger off, so the rollout accumulated deviation is 1505 units under the selected toy correction setting.

Current rollout regime
mode
per-timestep prediction
epsilon
5.0%
horizon
240 steps
DAgger
off
deviation
1505 units
final deviation
12.7

The chart below compares the summed drift with two illustrative reference curves from Ross, Gordon and Bagnell (2011): εT(T+1)/2, the quadratic growth of plain copying, and εT, the linear growth DAgger can reach under its assumptions. At T = 240 they read 1446 and 12.0; final drift Δ(T) = 12.7. Neither curve bounds this trace.

06012018024010050020005000stepsummed deviation, log scaleεT(T+1)/2εT

The prediction-step reference panel starts at 240 steps. Its deterministic recurrence with toy error 5.0% gives 1505 units of summed deviation. Dashed curves show illustrative reference curves, epsilon T(T+1)/2 = 1446 and epsilon T = 12.0, not bounds on this trace. This is not a task-cost theorem or a source benchmark.

Sampled toy deviation and reference scalings by horizon
horizon T (steps)simulatedεT(T+1)/2εT
00.0000.0000.000
4859.358.82.4
962372334.8
1445355227.2
1929579269.6
2401505144612.0
Original deterministic toy; reference curves after Ross, Gordon and Bagnell (2011).
Read the reasoning
  • It roughly quadruples in this toy over the displayed rangeThe deterministic recurrence gives about 370 units at 120 steps and 1505 at 240 steps. Persistent additive drift produces roughly quadratic accumulated deviation over this range. This numerical illustration does not establish a task-cost guarantee.Ross et al. 2011
  • It about doubles, since deviations typically accumulate in proportion to how long the episode runsThat would describe a fixed deviation added to the readout each step. Here the deviation itself grows before it is summed, so doubling the horizon more than doubles the accumulated value. The linear dashed curve is only a reference scaling.
  • It grows explosively, a hundred times or more, because each error amplifies the next oneThe recurrence does include multiplicative amplification, but its gain is small at these settings: the observed ratio is about four, far from one hundred. This finite-range illustration does not assert an asymptotic rate or rely on averaging effects.

In this toy, doubling the horizon roughly quadruples summed deviation. The paper’s cost guarantees concern different quantities and require the assumptions below.

Origins in driving

ALVINN (1988), a three-layer back-propagation network with camera and laser-range inputs, trained on simulated road images and was tested on NAVLAB, a modified Chevy vanSource 1. Later driving systems added off-centre, rotated training viewsSource 8, or synthesized perturbations once 30 million examples proved too fewSource 9.

Five Carnegie Mellon Navlab autonomous research vehicles parked in a row, from the first Navlab van in the back to the Navlab 5 minivan in front.
Behavior cloning began on the road: ALVINN learned to steer the Navlab van by watching a human driver. Navlab 1 (back) through Navlab 5 (front), built at Carnegie Mellon University from 1984 to 1995.
Photo: Firefly4342 / Wikimedia Commons. Licence: CC BY-SA 4.0.

Covariate shift, stated precisely

Training data follow the expert's state distribution dπ∗d_{\pi^*}; the robot visits its own dπd_\pi, drifting further with each mistakeSource 2. Ross and Bagnell (2010) proved a regret bound that grows quadratically in the horizon TTSource 7. The DAgger paper restates their bound for expert-distribution error ε\varepsilon bounding the 0-1 loss and task cost in [0,1][0,1], and notes it is tightSource 2:

J(π)≤J(π∗)+T2εJ(\pi) \leq J(\pi^*) + T^2\varepsilon

With log-loss, behavior cloning reaches horizon-independent sample complexity when payoff range and policy-class complexity are controlledSource 10, though a tabular lower bound of order ∣S∣T2/N|S|T^2/N survives even active expert queriesSource 11. With continuous actions, smooth deterministic imitators can suffer execution error exponentially larger in the horizon than their training errorSource 12.

Covariate shift
One small slip, and the robot leaves familiar ground
Original schematicpaths a person showed itthe robot aloneFirst slip: from here onit has no examples to copy
Robots trained by copying only learn the situations they were shown; one slip lands them somewhere new, where slips grow.
How this was made

A schematic, not data. A robot trained by behavior cloning learns from the states an expert visited (the shaded corridor of demonstrations). Running on its own, it visits its own states, and the two drift apart after its first mistake: from there it is outside anything it was trained on, so its next mistake is likely to be larger.

The mismatch between the training states and the states the robot reaches is called covariate shift, or distribution shift. Ross, Gordon and Bagnell (2011) showed that the resulting cost can grow with the square of the task length, and proposed DAgger, which has an expert label the states the robot actually visits.

Diagram: Robot Wiki contributors / Robot Wiki (original diagram). Licence: CC BY 4.0.

Training-side problems

On demonstrations with several valid strategies, energy-based implicit policies often beat mean-squared-error and mixture-density policiesSource 13, and Diffusion Policy learns both Push-T modes, committing to one per rolloutSource 6. Pan et al. (2025) attribute generative policies' benchmark gains to iterative computation instead of multimodalitySource 14.

A single Markovian state cannot predict pauses, so single-step policies freeze, as ACT and Diffusion Policy documentSource 5 Source 6. Temporal context is the usual fix, yet more input information can worsen a cloned policy under shiftSource 15, and a history-conditioned policy can cheat by copying the expert's previous actionSource 16.

Behavior cloning at best matches its demonstrator, and robomimic found results depend on demonstration quality and checkpoint selectionSource 17. Past a threshold, extra demonstrations per environment or object barely help; diversity matters far moreSource 18. In Park and Levine's OCBench (October 2026), whose scripted demonstrators mimic human ones, success can keep rising as a policy overfits, and on two tasks closed-loop policies almost completely fail where action chunking worksSource 31.

DAgger: relabel the states you actually visit

DAgger (Dataset Aggregation) labels the states the learner visits, reducing imitation learning to no-regret online learningSource 2.

One DAgger iteration

roll out
the current policy (mixed with the expert early on)
query
the expert for the correct action at every visited state
aggregate
those state-action pairs into the training set
retrain
on the aggregated data, repeat

Infinite-sample Theorem 3.2 assumes a bounded, strongly convex surrogate loss and expert mixing βi≤(1−α)i−1\beta_i \leq (1-\alpha)^{i-1}, with α\alpha independent of TT. After N=O~(uT)N=\tilde{O}(uT) iterations some learned policy satisfies the bound below, where uu bounds the rise in expert cost-to-go after one actionSource 2:

J(π^)≤J(π∗)+uTεN+O(1).J(\hat{\pi}) \leq J(\pi^*) + uT\varepsilon_N + O(1). εN=min⁡π∈Π1N∑i=1NEs∼dπi[ℓ(s,π)]πi=βiπ∗+(1−βi)π^i.\begin{gathered} \varepsilon_N = \min_{\pi\in\Pi}\frac{1}{N}\sum_{i=1}^{N}\mathbb{E}_{s\sim d_{\pi_i}}[\ell(s,\pi)]\\ \pi_i = \beta_i\pi^*+(1-\beta_i)\hat{\pi}_i. \end{gathered}

Excess cost is linear in TT only if uu is independent of TT; in the worst case uu is O(T)O(T). The guarantee is existential; Algorithm 3.1 returns the policy best on validation. Finite-sample Theorem 3.4 holds with probability at least 1−δ{1-\delta} for empirical loss ε^N\hat{\varepsilon}_N, m=O(1)m=O(1) trajectories per iteration and N=O(u2T2log⁡(1/δ))N=O(u^2T^2\log(1/\delta))Source 2.

Off-policy DART injects noise into demonstrations so the supervisor shows recoveries, gaining 62% on average over behavior cloning at grasping in clutterSource 19, and Diffusion Meets DAgger synthesizes out-of-distribution samples, reaching 80% pushing success from 8 demonstrations against behavior cloning's 20%Source 20.

Labeling arbitrary failure states is unnatural for teleoperators. In HG-DAgger the human takes over when needed, steers back to a safe, stable region and hands back control, labeling the recoverySource 3. BC-Z gathered such interventions by shared autonomy and did 24 unseen tasks at 44% average successSource 21, and Compliant Residual DAgger takes delta corrections without pausing the policy, raising base success by 64% on four tasksSource 22.

Physical Intelligence's Recap coaches a vision-language-action policy with corrections at visited statesSource 4. RaC found imitation plateaus far below perfect despite thousands of demonstrations, and its recovery-and-correction data beat the prior best with 10× less collectionSource 23. In September 2026, Abhishek Gupta, Yi Shao and colleagues used DAgger to distill a state-based RL teacher into an RGB student; their RebarSim seated rebar at 1.4 mm clearance in 137 of 150 real rollouts, and in simulation pure behavior cloning in place of the DAgger mixture cut success from 96.1% to 68.9%Source 29.

NVIDIA's Recova (October 2026) has an agent develop recovery skills in a digital twin of each task. On four real tasks at 20 trials each, DAgger fine-tuning raised mean success from 23.8% to 77.5%, and recovery skills raised it to 87.5%Source 30.

Beyond DAgger

Action chunking and exploratory data collection each provably avoid exponential compounding through control-theoretic stabilitySource 24. A generative imitator, such as a diffusion policy, over a stabilizing controller can match the per-step distribution of expert trajectoriesSource 25.

GAIL's adversarial imitation needs no expert queriesSource 26, nor does DARP's nearest-neighbour retrieval, 15 to 46% better than behavior cloningSource 27. HIL-SERL adds real-world RL, reaching near-perfect success in 1 to 2.5 hoursSource 28.

Self-check

A behavior-cloned pick-and-place policy demos perfectly on 20-second trials but drifts off the object within two minutes on the line. Where does the fix have to come from?
Read the reasoning
  • Collect ten times more demonstrations of the same taskMore demonstrations may reduce imitation error, but more samples from the same expert distribution need not cover the states the learner visits after a mistake. The worst-case bound still contains a quadratic horizon factor; it does not predict every rollout.
  • Commit to a chunk of 25 predicted actions per inferenceChunking changes the prediction schedule. The toy’s lower readout follows its chosen one-error-per-chunk rule; it is neither an ACT benchmark nor a theorem about deployed robot lifetime. It does not by itself supply labels for unfamiliar states.
  • Supervision on the states the policy itself visitsThis directly addresses the training/deployment distribution mismatch. DAgger collects labels on visited states; its task-cost guarantee additionally requires the stated learning and mixing assumptions and a bounded recovery-cost factor. It is not a promise of bounded physical deviation.

Compounding error is a distribution problem first and a data-quantity problem second: the fix supervises the states the policy actually visits.