NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

When Does On-Policy Interaction Help? Representational Tradeoffs in Value-Based Imitation Learning

Luca Viano, Antoine Moulin, Audrey Huang, Volkan Cevher, Philip Amortila, Dylan J. Foster

TL;DR

This paper reveals a powerful, unexpected synergy between on-policy interaction and value-based imitation learning: querying an expert along a learner’s own trajectories drastically reduces the model capacity required to succeed. By introducing a new algorithm called OVI, the authors demonstrate that interactive learners only need to represent the expert's value function rather than its full policy, allowing compact networks to match the performance of massive experts where offline methods completely fail.

What Problem Does This Paper Address?

Imitation Learning (IL)—training a student model to replicate an expert's behavior—is a cornerstone of modern AI, used everywhere from robotics to distilling large language models into smaller, faster versions. However, standard approaches like Behavior Cloning (BC) frequently hit performance plateaus and suffer from "compounding errors," where small mistakes drift the agent into unfamiliar states.

These issues are magnified when the student model lacks the capacity to perfectly represent the expert's complex policy (a common issue in model distillation). To fix this, practitioners often use two strategies:

  1. On-policy interaction: Querying the expert for guidance along the student's own trajectories (e.g., DAgger).
  2. Value-based IL: Learning a value function to match the expert's expected returns rather than trying to clone its exact action distribution.

While both interventions help empirically, their theoretical interplay has been poorly understood. This paper addresses a fundamental question: How does on-policy interaction change the representational requirements of value-based imitation learning?

Methods

The authors introduce OVI (On-Policy Value-Based Imitation Learning), an interactive algorithm designed to operate under a minimal representational assumption: $Q^{\pi_E}$-realizability. This assumption simply means the student's model class is expressive enough to capture the expert's state-action value function ($Q^{\pi_E}$), even if it cannot capture the expert's exact policy.

OVI frames imitation learning as a min-max game between a policy player ($\pi$) and a value player ($Q$), derived from the classical performance difference lemma. To overcome the distribution shifts that typically destabilize min-max optimization in sequential settings, OVI updates the policy layer-wise (stage-by-stage). By freezing the sampling distribution for earlier layers, it safely optimizes the policy for the current layer using standard online learning updates (softmax policy updates and a linear maximization oracle for $Q$).

The paper also introduces two theoretical variants:

  • Q-OVI: Reverses the player order to achieve a better statistical convergence rate for nonconvex function classes, though it is computationally intractable due to discretization requirements.
  • RAOVI (Representation-Adaptive OVI): A variant that samples states from a mixture of expert and learner trajectories, making it robust even if the value function class satisfies alternative closure conditions.

Datasets

The authors evaluated their approach using standard continuous and discrete control benchmarks from the Gymnasium library:

  • Acrobot-v1
  • CartPole-v1
  • Pendulum-v1
  • LunarLander-v2

To simulate a strict capacity bottleneck, they trained a high-capacity expert network (hidden layer width of 64) and evaluated student networks with drastically restricted widths: {2, 4, 8, 16, 32, 64}.

Key Insights and Ideas

  • Representational Relaxation: Representing a value function is often drastically easier than representing a policy. For instance, if an expert randomizes between two equally perfect actions, a policy-based learner wastes capacity trying to match that exact probability split. A value-based learner only needs to know that both actions yield the same high reward.
  • Interaction is Mandatory for Value-Based IL: The paper's most striking theoretical contribution is a negative result: without on-policy interaction, any offline value-based algorithm under $Q^{\pi_E}$-realizability fails. Offline value-based learners suffer from "unidentifiability" because they try to match returns without matching the expert's state visitation distribution, causing them to fail under distribution shift. Interaction breaks this barrier.
  • Decomposing Chain-of-Thought (CoT): When applied to LLM reasoning, the authors show that OVI provides a strong theoretical justification for token-level "process reward models" (PRMs). It decomposes an otherwise intractable exponential search over entire response strings into a series of efficient, token-by-token local updates.

Key Results

OVI consistently outperforms offline policy-based (BC), interactive policy-based (DAgger), and offline value-based (SPOIL) methods when the student network is significantly smaller than the expert's.

As shown in Figure 1, when the learner-to-expert hidden layer size ratio shrinks (moving left on the x-axis), the performance of standard methods plummets. OVI (the solid red line) maintains a near-perfect normalized return even when its network width is a fraction of the expert's.

Figure 1: OVI achieves higher return with smaller learner networks. Average normalized return (y-axis, 1 and 0 correspond to the expert’s and to a bad policy’s returns, respectively) as a function of the learner-to-expert network-width ratio (x-axis), over 50 seeds and 10 expert trajectories for offline methods or 10 rounds of expert queries along learner trajectories for interactive methods. The expert network has width 64. We compare with offline and interactive policy-based methods (BC; Pomerleau, 1988; DAgger; Ross et al., 2011), and the offline value-based method SPOIL (Moulin et al., 2025a). When the learner network shrinks, OVI outperforms each of the following methods alone: (1) offline value-based and (2) interactive policy-based—thereby supporting the theory that predicts that represen- tational gains can emerge only from expert interaction and value-based design jointly. See Section 3.3 for more details.

In synthetic experiments comparing DAgger and OVI, OVI converged to the expert's return significantly faster. It achieved this by directly optimizing for return rather than wasting sample complexity trying to match the exact trajectory distribution of the expert.

Limitations and Future Work

  • Suboptimal Rates for Nonconvex Classes: For general, nonconvex function classes (like standard neural networks), OVI achieves a statistical error rate of $O(\epsilon^{-4})$. While the Q-OVI variant achieves a better $O(\epsilon^{-2})$ rate, it is computationally inefficient. Developing a computationally and statistically optimal algorithm for nonconvex classes remains an open challenge.
  • Nonstationary Policies: OVI natively learns a nonstationary policy (a different policy for each time step $h$), which increases memory and compute requirements linearly with the task horizon. Although a stationary approximation worked well in their experiments, a formal theoretical guarantee for stationary value-based interactive IL is still missing.
  • Value Misspecification: The current theory assumes the student can perfectly realize the expert's value function. Exploring how value function misspecification impacts performance is a vital next step for practical deployment.

Summary updated

BibTeX
@inproceedings{viano2026when,
  author = {Luca Viano and Antoine Moulin and Audrey Huang and Volkan Cevher and Philip Amortila and Dylan J. Foster},
  title = {{When Does On-Policy Interaction Help? Representational Tradeoffs in Value-Based Imitation Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=kRq9hKJYQU},
}
Figure