TL;DR
ExPerior (Experts-as-Priors) is a novel framework that accelerates online reinforcement learning by turning offline expert demonstrations into informative prior distributions. Crucially, it succeeds even when experts have access to hidden contextual information that the learning agent cannot observe, avoiding the sub-optimal "averaging" traps of traditional imitation learning.
What Problem Does This Paper Address?
Imagine an AI agent learning to teach students. An expert human teacher can observe a student's subtle cues—like whether they prefer visual learning or self-study—and tailor their lessons accordingly. However, the historical data log available to the AI might only record coarse demographics and grades, leaving the actual "learning style" as an unobserved contextual variable.
If the AI uses standard imitation learning (like Behavior Cloning) to copy the expert, it will mistakenly average the expert's distinct strategies together, resulting in a single, sub-optimal policy that fits no student well. Conversely, if the AI ignores the expert data and tries to learn purely online via Reinforcement Learning (RL), it faces massive sample inefficiency and must learn everything from scratch.
This paper addresses the challenge of online sequential decision-making under unobserved heterogeneity. The authors bridge the gap between offline demonstrations and online RL by framing the problem as a zero-shot meta-reinforcement learning task, where the expert data contains hidden variations that the learner must infer.
Methods
The authors introduce ExPerior (Experts-as-Priors), an empirical Bayes approach. Instead of forcing the agent to mimic the expert's actions directly, ExPerior uses the expert data to learn an informative prior distribution over the hidden context variables.
The framework operates in two main flavors depending on what is known about the problem structure:
- Parametric ExPerior: If the user has prior knowledge about the parametric form of the context distribution (e.g., knowing it follows a Beta distribution), the algorithm uses maximum marginal likelihood estimation to learn the parameters directly from the expert data.
- Nonparametric ExPerior (ExPerior-MaxEnt): When the parametric form is completely unknown, the algorithm applies the principle of maximum entropy via Fenchel’s duality theorem. This derives the least informative prior that remains entirely compatible with the observed expert demonstrations, preventing the agent from over-committing to ungrounded assumptions.
Once this prior is established, the agent transitions to the online phase and uses Posterior Sampling (such as Thompson Sampling or Bootstrapped DQNs) to explore the environment efficiently. The learned prior restricts the agent's exploration to the space of potentially optimal expert strategies rather than the entire, dauntingly large policy space.
Datasets
The authors evaluated ExPerior across three distinct sequential decision-making setups:
- Synthetic $K$-armed Bernoulli Bandits: Used to rigorously analyze Bayesian regret across 64 different beta distributions with varying levels of context entropy.
- Modified "Deep Sea": A classic tabular RL environment notorious for sparse rewards. The authors modified it to include unobserved contexts by varying the target goal column across four different distributions.
- "Frozen Lake" (POMDP): A grid-world environment where the agent must navigate to a goal while avoiding hazards. The hazard locations are hidden from the learner but were fully visible to the expert during the demonstration phase.
Key Insights and Ideas
- Experts as Constraints, Not Templates: The core philosophical shift is treating expert data as a way to restrict what might be optimal rather than a template of what to copy. This allows the agent to safely navigate environments where the expert had "private" information.
- Regret Scales with Expert Entropy: The authors prove both empirically and theoretically that the agent's online regret is proportional to the entropy of the optimal action under the prior distribution. If the expert data is highly definitive (low entropy), online regret drops to near zero. If the expert data is uninformative (high entropy), ExPerior safely reverts to standard online RL exploration bounds without hurting performance.
- Robustness to Imperfect Experts: ExPerior does not assume the expert is flawless. By incorporating a competence parameter ($\beta$), the framework remains robust even when demonstrations come from "noisily rational" or partially random experts.
Key Results
ExPerior consistently outperformed behavior cloning, purely online, and combined offline-online baselines across all environments.
- Bandits: ExPerior-MaxEnt closely matched the performance of an "Oracle" Thompson Sampler that had access to the true prior distribution, significantly beating naive online methods and behavior cloning in low-to-medium entropy settings.
- Deep Sea: In the highly challenging sparse-reward setup, ExPerior variants achieved maximum average rewards much faster than Naive Bootstrapped DQN and the state-of-the-art baseline UCB-ExPLORe, which struggled due to over-optimistic reward labeling.
- Frozen Lake (POMDP): As shown in the paper's evaluations, ExPerior-MaxEnt achieved optimal rewards ($6.00 \pm 0.00$) even when trained on noisily rational experts ($\beta=1$), whereas traditional behavior cloning suffered heavily from the unobserved hazard locations.
Limitations and Future Work
While powerful, the authors note a few limitations:
- Context-Independent Transitions: To simplify the mathematical modeling in the MDP setting, the transition functions were assumed to be invariant to the hidden context variables (meaning context only altered the rewards).
- Simulated Environments: The current evaluation relies entirely on synthetic and simulated benchmarks. Testing ExPerior in real-world settings with human-in-the-loop data remains an open and vital next step.
Future work will focus on extending the framework to handle context-dependent transitions and scaling the architecture to more complex, continuous control environments.
Summary updated