Privileged Ceilings: Clipping a Student's Exploration with Its Teacher's Hidden-State Values

When a robot or game agent learns by copying a teacher that can see things it cannot, such as the true map, the hidden object, or which door is safe, copying fails in two ways. The teacher's choices look random to the student, so it learns an average of contradictory actions. The teacher also never performs information-gathering moves like looking through the window or checking the drawer, so the student never learns them. Current fixes rely on learned heuristics to decide when to stop copying and explore instead. One example is an auxiliary network's confidence; another is a learned "value of following the teacher." Both are known to be unreliable early in training.

This proposal takes a different route. During training in simulation, the teacher's value for each action is computed with the hidden state in view. If we average that value over everything the hidden state could be, given what the student has seen, the result is a provable ceiling on what any student, however clever, can earn by taking that action. The proposal uses this ceiling the way causal bandit methods use causal bounds: as a hard cap on the student's optimistic exploration score. A cap of this kind prunes actions that only look good to an all-seeing teacher, such as guessing a door, and leaves information-gathering actions open. It never inflates optimism.

Core Claim

Let $h$ be the student's observation-action history, $s$ the hidden full state, and $Q^{\mathrm{priv}}(s,a)$ the optimal action-value of the fully observed problem (in practice, the privileged teacher's critic). A standard relaxation argument says that knowing the hidden state can only help. So the optimal value of any history-based student satisfies

$$Q^{\star}_{\mathrm{student}}(h,a) \;\le\; C(h,a) := \mathbb{E}\left[\,Q^{\mathrm{priv}}(s,a)\mid h\,\right].$$

$C(h,a)$ is the "privileged ceiling." The student keeps an ordinary optimistic index, its estimated value $\hat Q(h,a)$ plus a count- or ensemble-based bonus $\beta(h,a)$. It acts on

$$\mathrm{UCB}_{\mathrm{clip}}(h,a) = \min\left(\hat Q(h,a) + \beta(h,a),\; \hat C(h,a) + \epsilon(h,a)\right),$$

where $\hat C$ is a learned estimate of the ceiling and $\epsilon$ is a slack covering that estimate's error. An action is pruned outright when its ceiling falls below a lower confidence bound on another action's value. That lower bound comes from the student's own returns.

Two properties make this more than a relabeling. First, the conditional expectation given $h$ depends only on the history, not on the policy that produced it. This holds because the student's actions depend only on $h$, which is the policy-independence of the belief state. So $\hat C$ can be fit by plain regression of $Q^{\mathrm{priv}}(s_t,a)$ onto $h_t$ from any rollouts, and its target does not drift as the student changes. Second, the gap $\hat C(h,a) - \hat Q(h,a)$ is an explicit per-state measure of the imitation gap. The student can use this quantity, instead of an auxiliary network's uncertainty, to decide where copying the teacher is pointless.

In the Tiger-style tasks the mechanism behaves as follows. The ceiling for "open a door now" is the belief-weighted mix of a jackpot and a disaster, which is low. The ceiling for "listen" or "look through the window" is near the teacher's full value, which is high. Guessing is therefore pruned without exploration, and listening survives.

Relation to Prior Work

The proposal draws its mechanism from the causal-bandit line. Transfer Learning in Multi-Armed Bandits: A Causal Approach introduced clipping UCB indices with causal upper bounds derived from confounded source data. Provably Efficient Learning in Partially Observable Contextual Bandit extended this to continuous contexts, computing bounds with a hit-and-run sampler over sets of structural causal models. Robustly Improving Bandit Algorithms with Confounded and Selection Biased Offline Data added selection bias. All three are single-step problems. All three assume the confounder is never observed, so the bounds require expensive optimization over a known causal graph and can be too loose to clip anything.

The privileged setting reverses that assumption. The "confounder," meaning the teacher's private context, is logged during training. The bound then reduces to a regression and needs no causal graph.

The closest existing work is Transfer Reinforcement Learning under Unobserved Contextual Information. It bounds rewards and transitions from a context-aware demonstrator's logs, propagates the bounds to $Q^\star$, and clips UCB-Q learning. It works in discrete tabular robot planning, with the demonstrator treated as a fixed external dataset whose context was never recorded. Learning without Knowing clips UCB over clustered expert "basis policies" at the level of whole episodes, then fine-tunes the selected policy with PPO. Our proposal differs from both in three ways. It works step by step, inside deep recurrent policies. It exploits recorded privileged state rather than solving constrained programs. It targets information-gathering behavior that the teacher never demonstrates.

The motivating evidence comes from the imitation-gap literature. Provable Partially Observable Reinforcement Learning with Privileged Information shows that distillation fails even with unlimited data when histories cannot resolve the state. Leveraging Fully Observable Policies for Learning under Partial Observability and Impossibly Good Experts and How to Follow Them document that expert trajectories contain no information gathering.

The competing fixes constrain this proposal's claims. Bridging the Imitation Gap by Adaptive Insubordination, known as ADVISOR, down-weights imitation where an auxiliary actor cannot predict the teacher. That signal says the teacher is unpredictable, but not whether deviating is worthwhile. The ELF method in Impossibly Good Experts shapes an explorer's reward with a follower value $v_F$, and that paper reports that a biased early $v_F$ can steer exploration into dead zones. Our ceiling enters only as a cap, so errors in it can only reduce optimism, never manufacture a reward. Guided Policy Optimization under Partial Observability and Robust Asymmetric Learning in POMDPs change the teacher instead. Our method leaves the teacher fixed and is complementary to them.

Causal Imitation Learning under Expert-Observable and Expert-Unobservable Confounding point-identifies a de-biased policy offline using history as an instrument. It has no exploration component, so it addresses a different failure.

Research Program

The first piece is the bound itself. We will state and prove the ceiling inequality for discounted partially observable problems, meaning environments where the agent sees only part of the state. We will also characterize when it prunes. Pruning happens when actions whose value depends on unresolved hidden variables have belief-averaged privileged value below some safe or information-gathering alternative. Pruning is vacuous when nearly every action's ceiling is near the oracle value, as in long tasks that require gathering much information. We will also handle a learned, imperfect teacher. A suboptimal teacher critic underestimates $Q^{\mathrm{priv}}$, which can make the ceiling invalid. We therefore train the teacher's critic to convergence on the fully observed problem. We also widen the slack by an estimate of teacher suboptimality, measured as the gap between the teacher's critic and Monte Carlo returns under privileged rollouts.

The second piece is estimation. A history encoder (a GRU, which POPGym found strongest among the memory models it tested) regresses $Q^{\mathrm{priv}}(s_t,\cdot)$ onto $h_t$. The slack $\epsilon$ comes from disagreement across an ensemble of these regressors. The student's lower bound comes from an ensemble of its own critics, taking the minimum. Clipping and pruning then wrap any optimistic base learner. We use a count- or ensemble-bonus PPO student, keep its imitation loss as is, and gate that loss by the normalized gap $\hat C - \hat Q$.

The third piece is analysis. We will measure how often clipping is active, how tight the ceiling is relative to the student's final value, and whether pruned actions match the actions known to be aliased in each environment.

Baselines

The naive reference is pure behavioral cloning or DAgger on the privileged teacher. Its reported numbers show the size of the failure: -0.59 on Poisoned Doors and 0.75 on TigerDoor-alt, against 1.0 for the best methods.

The strongest competitors differ by environment. On Poisoned Doors it is ADVISOR, which Bridging the Imitation Gap by Adaptive Insubordination reports at reward 1.0, and at 88.2% success on PointNav. On TigerDoor-alt it is GPO, which Guided Policy Optimization reports at reward 1.0. On MiniGrid Early Explore and ViZDoom Monster Room 2 it is ELF. Impossibly Good Experts describes ELF as often the only method reaching perfect success, but no numerical result for it was found on Lacuna.

Because the strong baselines already reach optimal final reward on the didactic tasks, beating them there means the following. Our method should reach the same final reward in significantly fewer environment steps, measured as area under the learning curve and steps-to-threshold over at least ten seeds. On MiniGrid and ViZDoom, it should match ELF's final success with lower variance across seeds and fewer seeds that never make progress. All methods will share the same teacher checkpoint, student architecture, environment-step budget, and a matched hyperparameter search of equal trials.

Two further baselines isolate the key ingredient. The first is an unclipped version of our student, with the same bonus, ensembles, and gated imitation, which measures what the cap contributes. The second is a "ceiling as critic" variant that uses $\hat C$ as an optimistic initialization or value target rather than a cap. It tests whether capping, as opposed to merely injecting teacher information, is what matters. In the tabular robot-planning setting we also run Causal Bound Aided UCB-Q from Transfer Reinforcement Learning under Unobserved Contextual Information, given the same demonstrator data. No reported result was found on Lacuna for its numerical regret.

Why not just…?

Why not just shape the student's reward with the projected teacher value, as ELF does? Shaping turns estimation error into reward. A pessimistic early estimate creates artificial dead zones, which is the failure Impossibly Good Experts itself reports. A cap cannot add reward. Its worst failure is being too loose, which reverts the student to ordinary optimistic exploration. The ELF baseline and the ceiling-as-critic ablation test this directly. If shaping with $\hat C$ matches clipping, the contribution shrinks to a better follower-value estimator, and we would report it that way.

Why not just use an asymmetric actor-critic with a privileged critic? The privileged critic's value given the full state is the wrong target for an actor that cannot see that state; its belief average is what bounds the student. Provable Partially Observable RL with Privileged Information shows the vanilla asymmetric update is inefficient in general. Guided Policy Optimization reports that it degrades under observation noise. This is a genuine competitor on the Brax tasks, so it is included in that experiment at a matched budget.

Why not just add a good exploration bonus to ADVISOR? This is the most serious threat, because the bonus alone may find information-gathering moves on small grids. The unclipped ablation is exactly ADVISOR-style gating plus a bonus. If it matches the clipped student on Monster Room and Early Explore, the cap is not paying for itself. We expect a gap specifically where guessing actions are plentiful and costly, and we will build a Poisoned Doors variant with more poisoned doors so that the expected difference in exploration cost grows with the number of doors.

Why not just compute causal bounds with the existing structural-model machinery? That machinery requires a known causal graph and non-convex optimization, and its bounds can be too wide to clip anything (Robustly Improving Bandit Algorithms). Those costs exist because the confounder is unobserved. In privileged training it is observed, so a regression replaces the optimization. The tabular comparison against CBC-style UCB-Q will show whether our bounds are at least as tight at far lower cost.

Proposed Experiments

The first check is a bandit sanity test. A one-step version of our method should reproduce the advantage of clipping on the partially observable contextual bandit synthetic task, where Provably Efficient Learning in Partially Observable Contextual Bandit reports cumulative regret of 30.1 for causal UCB versus 114.4 for standard UCB. Here the hidden confounder is revealed during training only to fit $\hat C$.

The sequential evaluation runs on TigerDoor and TigerDoor-alt, Poisoned Doors and its scaled-door variant, Frozen Lake, MiniGrid Early Explore and Backtrack, ViZDoom Monster Room 2, POPGym Battleship, and velocity-masked noisy Brax Ant. On each we report return, steps-to-threshold, the fraction of steps where clipping is active, and ceiling tightness.

The decisive check comes in two parts. The first part concerns pruning. On Tiger and Poisoned Doors, the pruned set should coincide with the guessing actions within the first few thousand steps. The clipped student should then reach optimal reward measurably faster than ADVISOR, GPO, and the unclipped ablation.

The second part concerns validity. We deliberately corrupt the teacher critic, either by lowering its values or by using an undertrained checkpoint. If the slack correction is removed, the ceiling should become invalid and performance should drop. With the slack restored, performance should recover. This shows that the validity of the bound, not the injection of teacher information, drives the result.

If clipping turns out inactive on Monster Room and Brax, we will report the method as a tool for short-horizon aliasing rather than a general fix.