Manuscript Offprint

arXiv:2610.30105

Asymmetric On-Policy Distillation Learns In-Context Exploration

Sriyash Poddar, Yanda Bao, Jacob Krantz, Matthew Chang, Xavier Puig, Roozbeh Mottaghi, Natasha Jaques, Abhishek Gupta

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Sequential decision-making under partial observability is difficult because agents must explore to infer hidden, task-relevant information before acting effectively. Learning such information-gathering behaviors tabula rasa via online reinforcement learning is sample-inefficient, whereas offline imitation averages expert actions across hidden states and fails to learn exploration. In this work, we propose ASTEROID, a simple and effective student–teacher supervised learning framework that can learn test-time exploration. Although a privileged expert never needs to explore, we demonstrate that a history-conditioned student can learn to do so when trained with on-policy contexts: the student first collects on-policy context under partial observability, and the privileged expert provides action labels conditioned on that context. By distilling expert actions directly conditioned on the student's on-policy history, the student learns to systematically resolve partial observability, i.e., search while uncertain and exploit once the hidden state is revealed. This enables efficient test-time exploration (similar to Bayesian posterior sampling) without incurring the impractical training-data costs of reinforcement learning. Across a diverse range of eleven different environments, including discrete exploration benchmarks, robotic manipulation, navigation, and Procgen environments, ASTEROID achieves ∼2×\sim2\times higher returns under fixed exploration budgets, uses up to ∼100×\sim100\times fewer interactions than RL baselines, and outperforms frontier models at exploration. Finally, our method transfers policies trained in simulation to vision-denied real-world robot manipulation, exhibiting efficient exploration and increasing success by +40%+40\% over standard distillation. Overall, it provides a simple yet surprisingly effective framework to learn efficient test-time exploration.

1 Introduction

Sequential decision-making under partial observability is a central challenge in reinforcement learning (RL) [34, 53]. In the real world, from robotics to embodied AI, agents receive only partial, noisy observations of the environment. To act successfully, agents must first explore to uncover hidden, task-relevant information [31, 79, 42, 74, 46, 71]. For example, a household robot searching for an object must use onboard sensing to infer likely object locations, track locations it has already searched, and adapt future exploration based on prior attempts [12, 11, 30]. These problems are formalized as partially observable Markov decision processes (POMDPs) [34].

Solving these tasks requires policies with memory [28, 50]. Learning them from scratch via recurrent RL is sample-inefficient, since the agent must learn to gather information and exploit it at the same

1^{1}Paul G. Allen School of Computer Science and Engineering, University of Washington

2^{2}Work partially done while at Meta

∗^{*}Equal advising.

Preprint.

Exploration Behavior

DPT [Lee et al. '23]

ASTEROID (ours)

Figure

Prior methods explore randomly with low coverage of histories

Our Method: ASTEROID

How? on-policy student contexts + privileged expert trajectories → in-context exploration

evaluated on 11 tasks against 10 baselines

limited sensing: ∼100×\sim100\times fewer interactions

sim-to-real, blind policy

Figure 1: ASTEROID provides a simple and reliable method for learning efficient exploration in partially observed domains via on-policy asymmetric student-teacher distillation.

time [5, 79, 21]. One way to improve sample efficiency is to assume training-time access to a privileged expert that observes the hidden state and acts accordingly. For example, in household navigation, an oracle planner could use the full map of the training environments, which is unavailable at deployment. In practice, these teachers can be trained in fully observed tasks using RL, imitation learning, or hybrid approaches [78, 75, 60, 27, 52]. This expert can teach the student how to act once the hidden state is known, but not how to find it [44]. As a result, naively copying the expert does not teach the student to explore [70]. Interactive imitation [65] offers a natural fix by relabeling student mistakes with expert actions. However, standard approaches [59] train the student to predict the average expert action across possible hidden states, so it dithers between hypotheses instead of resolving them [37, 70]. Other approaches propose to address the student-teacher mismatch using expensive online RL [74], differentiable experts [73], or offline coverage assumptions [42].

In this work, we propose ASTEROID (Asymmetric Student Teacher Roll-Out In-context Distillation), a framework that shows that privileged experts can teach exploration through interactive imitation. The idea is simple: the student generates the history online, and the expert provides the labels. ASTEROID rolls out the current student under partial observability, producing a history of observations, actions, and rewards, then asks the expert what it would do from the state the student has reached. The expert does not explore; it only labels the student's histories. As a result, failed searches and probes become useful context: they specify evidence accumulated so far, while the expert provides next actions given the hidden state. With on-policy history, the policy can identify inconsistent hypotheses and adapt its exploration and action distribution accordingly.

Why does this teach exploration? A partial history represents uncertainty over the hidden state. Returning to household navigation: suppose the object could be in location A, B, or C. If the student searches A and finds nothing, its history rules out A but is still consistent with B and C. A privileged expert would label this history with search(B) when the object is at B, and search(C) when it is at C. The student therefore learns to act and explore the remaining valid actions: if it fails at A, it samples search(B) or search(C). If it then fails at B, every label is search(C), since only C remains. Unlike random sampling of locations, the policy conditions on its history and never retries hypotheses it has ruled out. Across many training tasks, ambiguous histories are labeled with a distribution of potential, consistent expert trajectories. The student samples from this distribution to explore, and each new observation and feedback eliminates additional hypotheses. The key insight: the set of histories that the student needs to learn to adapt from (e.g., failing at A, failing at B and then moving to C) is entirely covered by on-policy behavior. This is in-context exploration, i.e., searching while uncertain, and exploiting once the hidden state is revealed. Additionally, we show that a curriculum over the student rollout horizon improves sample efficiency and enables longer-context adaptation (Section 5). Overall, ASTEROID incorporates very simple changes into standard online student-teacher distillation to enable test-time exploration behavior.

We show both empirically (Section 6) and theoretically (Appendix H) that ASTEROID approximates Bayesian posterior sampling, a provably efficient exploration strategy [53]. However, posterior sampling has been hard to scale: prior approaches maintain an explicit posterior [3] or assume infinite offline data [42], which are intractable in realistic settings. ASTEROID avoids both: it does not maintain an explicit posterior, and on-policy supervised learning avoids impractical data costs. Because it is a simple extension of student–teacher distillation, ASTEROID works with modern architectures and existing sim-to-real frameworks [75]. In summary, we make the following contributions:

  1. We present ASTEROID, a simple student–teacher distillation framework that enables in-context exploration and test-time improvement learned solely from privileged experts.

  2. We evaluate our method across 11 environments, including navigation in realistic household simulators and real-world robot manipulation, where it outperforms RL and supervised baselines under fixed exploration budgets while using two orders of magnitude fewer training interactions.

  3. We show that learned policies exhibit efficient real-world exploration and, under appropriate assumptions, recover posterior sampling with error linear rather than quadratic in context length.

References (78)