Behavioral Averaging in Robot Imitation Learning

262 concepts187 papers3 proposals

Imagine teaching an autonomous quadrotor to navigate around a tree. You provide 100 human demonstrations. In 50 of those flights, the pilot steers to the left of the tree; in the other 50, the pilot steers to the right. Both strategies are perfectly valid, safe, and successful.

However, if you train a traditional imitation learning model on this data, the robot will drive straight into the tree.

This catastrophic failure mode is known as behavioral averaging (or mode averaging). It is one of the most pervasive bottlenecks in scaling robot learning from human demonstrations. As highlighted by Zichen Jeff Cui et al. in From Play to Policy: Conditional Behavior Generation from Uncurated Robot Data, when standard imitation models encounter uncurated human data, they fail to commit to a single coherent mode. Instead, they output an ineffective average action that does not correspond to any successful physical behavior.

The Mathematical Root: Mode-Covering Objectives

Why do neural networks default to this destructive middle ground? The culprit lies in how traditional behavioral cloning frames the optimization problem.

Standard behavioral cloning treats imitation learning as a supervised regression task, typically optimized using Mean Squared Error (MSE). Mathematically, if a model is forced to output a single deterministic action $a$ for a given state $s$ where the true distribution of expert actions is bimodal (e.g., $a = -1$ for left and $a = +1$ for right), the action that minimizes the MSE is the expected value—the mathematical mean:

$$ \arg\min_a \mathbb{E}[(a - a_{\text{expert}})^2] = \mathbb{E}[a_{\text{expert}}] = 0 $$

An action of $0$ means going straight. As Kai Yang et al. observe in CE-Nav: Flow-Guided Reinforcement Refinement for Cross-Embodiment Local Navigation, this "disastrous averaging" creates a dangerous trajectory that fails to replicate any safe real-world path.

This is a fundamental property of mode-covering (or mean-seeking) objectives, which also include Forward Kullback-Leibler (KL) divergence. These objectives penalize the model heavily for ignoring any part of the expert data distribution. When the underlying data contains multiple distinct strategies, the model attempts to satisfy all of them simultaneously, smoothing over the variations and producing a non-functional blend.

The Scope of the Problem

Behavioral averaging is not limited to simple navigation. It manifests across diverse robotic domains where human choices are inherently multi-modal:

To build robots that can learn from real-world human data, researchers have developed three main paradigms to bypass the averaging trap.

Solution 1: Mode-Seeking Objectives

If mean-seeking objectives cause averaging, the natural alternative is to use mode-seeking objectives. Instead of trying to cover the entire distribution of expert behaviors, a mode-seeking agent identifies a single high-probability peak in the expert data and commits to it entirely.

In Imitation Learning as f-Divergence Minimization, Liyiming Ke et al. formalize this by framing imitation learning through the lens of $f$-divergences. They demonstrate that minimizing the Reverse KL divergence encourages the policy to focus tightly on a single mode of the expert distribution, ignoring alternative paths rather than trying to average them.

Similarly, Eddy Hudson et al. introduce ABC: Adversarial Behavioral Cloning for Offline Mode-Seeking Imitation Learning, which leverages a Generative Adversarial Network (GAN) objective. By shifting from a regression loss to an adversarial classification loss, the agent is penalized for producing physically impossible "in-between" actions, forcing it to choose one specific expert mode.

Solution 2: Expressive Generative Models

While mode-seeking objectives prevent averaging by forcing the model to pick one strategy, they sacrifice the ability to represent the full diversity of human behavior. To capture multimodality without averaging it away, modern frameworks turn to conditional generative modeling—most notably, diffusion models.

In the seminal work Diffusion Policy: Visuomotor Policy Learning via Action Diffusion, Cheng Chi et al. reframe robot action generation as a conditional denoising diffusion process. Instead of directly regressing an action vector from a visual observation, a Diffusion Policy starts with random noise and iteratively refines it into a coherent action sequence.

Because diffusion models learn the gradient of the action-distribution score function rather than a direct mapping, they can natively represent complex, multi-modal probability distributions. If the expert data contains two distinct paths, the diffusion process will naturally converge toward one of the two peaks of the distribution, completely bypassing the low-probability "average" valley between them. As Tim Pearce et al. demonstrate in Imitating Human Behaviour with Diffusion Models, treating action prediction as a generative task allows agents to handle highly inconsistent human data across both robotic manipulation and high-speed gaming.

Solution 3: Action Chunking and Latent Discretization

Another dimension of the behavioral averaging problem is temporal consistency. If a robot makes a new independent action prediction at every single time step (e.g., at 50Hz), it risks mode-bouncing. As analyzed by Zhuoqun Chen et al. in Responsive Noise-Relaying Diffusion Policy: Responsive and Efficient Visuomotor Control, a single-step policy may sample from Mode A at time step $t$, and then switch to Mode B at time step $t+1$, leading to jerky, unstable movements.

To solve this, modern frameworks use action chunking—predicting a sequence of future actions simultaneously rather than a single step. In Learning Fine-Grained Bimanual Manipulation with Low-Cost Hardware, Tony Z. Zhao et al. introduce Action Chunking with Transformers (ACT). By predicting chunks of actions, the model maintains temporal consistency, preventing the robot from constantly re-averaging its intent mid-execution.

Alternatively, the continuous action space can be discretized into distinct behavioral primitives. In Behavior Generation with Latent Actions, the authors propose VQ-BeT (Vector-Quantized Behavior Transformer), which uses Residual Vector Quantization to discretize continuous actions into hierarchical "latent actions." By turning a continuous regression problem into a discrete classification problem over valid behavioral modes, the Transformer can natively predict distinct strategies without any risk of calculating a physical average.

History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_behavioral_averaging_9215011e,
  title = {behavioral averaging},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/behavioral-averaging/rdr_9215011ee65549ca85caac38bb47cad4},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-24},
}

This exact version (version 1, frozen text):

@misc{lacuna_behavioral_averaging_9215011e_v1,
  title = {behavioral averaging},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/behavioral-averaging/rdr_9215011ee65549ca85caac38bb47cad4/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-24},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake