Fusing Correlated Teachers: Dependency-Aware Products of Experts for Imitation

Robot learning pipelines rarely have one trustworthy teacher. They have several weak ones: a human teleoperator, a scripted controller, a waypoint follower, an older learned policy. The usual way to combine their suggested actions is a product of experts, which multiplies each teacher's action distribution so that the fused policy favors actions that every teacher finds acceptable. This product is exactly the right Bayesian combination when the teachers make independent mistakes. Real teachers do not. Two scripted controllers that read the same flawed state estimate will be wrong in the same direction. A learned policy distilled from one human will copy that human's habits. When this happens, the product counts the shared mistake twice and pulls the fused action toward it with false confidence.

We propose to estimate how the teachers' errors are correlated, using only their disagreements on shared states plus a small set of trusted demonstrations, and then to fuse their actions with the correctly decorrelated Bayesian rule instead of the naive product. In the Gaussian case this rule is generalized least squares. It assigns smaller and sometimes negative weight to teachers that are redundant with one another. Read in policy terms, that negative weight is a continuous version of the "penalize agreement that is too easy" principle from weak policy learning. The method takes its estimation machinery from weak supervision, the field that learns from many cheap, noisy labeling sources without ground truth, and its action-space fusion from probabilistic policy composition.

Core Claim

Products of experts as currently used in policy fusion implicitly assume the experts' errors are independent. That assumption fails for the heterogeneous, shared-pipeline teachers found in practice. The error covariance across teachers, including the cross-teacher terms, can be identified from observable pairwise disagreements under a sparse dependency structure, together with a small anchor set that pins down absolute bias. Fusing with the inverse of this covariance should remove the bias that naive products amplify. The gain should grow with the correlation between teachers and vanish when the teachers are truly independent. That last property is a falsifiable prediction, and we use it as the central test.

Where this sits in prior work

Three papers supply the fusion side and motivate the gap. Composable Energy Policies multiplies Boltzmann action distributions so that only mutually acceptable actions survive. It reports 46% success in the Cage II environment, against under 5% for additive potential fields. Hierarchical Policy Blending as Inference optimizes the exponents of a Gaussian product of experts over a planning horizon. Learning to Drive Using Sparse Imitation Reinforcement Learning multiplies a rule-based autopilot prior with a learning agent. All three either hand-specify the experts and weights or optimize weights against a known objective. None asks whether two experts' errors are correlated, so all would double-count a shared bias. We keep their multiplicative form for analytic constraints such as obstacle avoidance, where the logical AND is correct, and correct only the terms that come from noisy teachers.

Two papers estimate teacher quality without ground truth, and both assume independence. Imitation Learning by Estimating Expertise of Demonstrators (ILEED) learns a state-dependent expertise score per demonstrator but models suboptimality as unstructured noise around the optimal action, with no systematic bias and no cross-demonstrator correlation. Universalizing Weak Supervision recovers each source's accuracy in a general metric space from disagreements among three conditionally independent sources, but only in a static, non-sequential setting. We reuse its idea of solving for latent error statistics from observable disagreement moments. We extend it in two ways: to state-dependent covariances over continuous actions, and to dependency graphs with some correlated edges.

Policy Learning Using Weak Supervision (PeerPL) constrains the design and also inspires it. Its correlated-agreement score subtracts credit for agreeing with a weak signal drawn from an unrelated state, which counters blind consensus with a single noisy peer. It works with discrete actions and needs a tuned penalty coefficient. Our contribution here is to derive the penalty instead of tuning it: the negative off-diagonal terms of an inverse covariance play the same role, and their size is set by estimated correlation.

What Matters in Learning from Offline Human Demonstrations imposes a further constraint. Human data is non-Markovian, and history-dependent cloning (BC-RNN) is the strong learner. We therefore treat fusion as producing better training targets for a recurrent student, and do not replace that student.

The weak segmentation literature motivates our use of a small trusted subset. Multi-utility Learning and Learning Semantic Segmentation with Diverse Supervision both rely on a fully annotated anchor fraction to avoid degenerate solutions. We expect the same here, because disagreements alone identify only differences in bias between teachers, not their absolute bias.

Research Program

At each state $s$ visited in the data, we query or record $M$ teacher actions $a_1,\dots,a_M \in \mathbb{R}^d$. We model each as the unknown good action $a^*(s)$ plus a teacher-specific bias $b_i(s)$ plus noise. The noise has a joint covariance $C(s)$, whose diagonal blocks $\Sigma_{ii}$ are each teacher's own error and whose off-diagonal blocks $\Sigma_{ij}$ are shared error. Only disagreements are observable. For any pair of teachers,

$$\mathbb{E}\big[(a_i-a_j)(a_i-a_j)^\top \mid s\big] = \Sigma_{ii}+\Sigma_{jj}-\Sigma_{ij}-\Sigma_{ji} + (b_i-b_j)(b_i-b_j)^\top .$$

We fit small networks for $\Sigma(s)$ and the bias differences by matching these moments across many states. The cross-blocks $\Sigma_{ij}$ are fixed to zero for teacher pairs declared independent. A dependency graph is identifiable when every correlated pair can be "triangulated" through independent partners. This is the same counting argument as the triplet method, generalized. We will state and prove this condition.

The dependency graph comes from provenance where it is known, for example two controllers sharing a state estimator. Where it is unknown, it is selected by held-out moment fit. On the small anchor set of trusted demonstrations, the anchor action stands in for $a^*$, which pins the absolute biases and calibrates the covariance scale.

Fusion then uses the decorrelated Gaussian posterior. Let $\mathbf{a}$ stack the bias-corrected teacher actions and let $H$ stack $M$ identity matrices. The fused distribution over the action is

$$\pi_{\text{fused}}(a\mid s) = \mathcal{N}\Big(a;\ (H^\top C^{-1} H)^{-1} H^\top C^{-1}\mathbf{a},\ (H^\top C^{-1}H)^{-1}\Big).$$

When $C$ is block-diagonal, this reduces exactly to the standard precision-weighted product of experts. The proposal's ingredient is therefore isolated in the off-diagonal blocks. Hard constraint energies, such as collision terms in the style of Composable Energy Policies, are multiplied onto this distribution afterward, which keeps multimodality where it is physically meaningful.

A recurrent student, BC-RNN, is trained on samples from $\pi_{\text{fused}}$ weighted by its precision. Where online interaction is allowed, the student can later enter the fusion as one more expert, following Bayesian Controller Fusion.

Our analytical deliverable is a bias bound. Under naive product fusion, the fused bias toward a correlated cluster of $k$ teachers scales with that cluster's share of total precision, which grows with $k$ even though no new information is added. Under the decorrelated rule it does not. This yields a quantitative prediction for the correlation sweep described below.

Baselines

The naive reference point is plain behavioral cloning on the recorded human actions alone, which ignores the other teachers. Next to it sits arithmetic averaging of all teacher actions. Both are trained with the same recurrent student architecture, data, and tuning budget as our method. The strongest learner on the human data is BC-RNN from What Matters in Learning from Offline Human Demonstrations, which reports 84% success on Square and 71.3% on Transport. We use their released robomimic configuration unchanged as the student in every arm, so that differences come only from the training targets.

The key ablation is the independent product of experts. It uses the identical estimator and anchor set but forces all cross-blocks $\Sigma_{ij}$ to zero. It is the policy-fusion status quo given learned per-teacher precisions. Beating it under correlated teachers, while tying it under independent teachers, is the core result.

The strongest existing method for teacher-quality estimation is ILEED (Imitation Learning by Estimating Expertise of Demonstrators). It reports wins in 21 of 23 settings with an average 7% reward gain; no reported result found on Lacuna for ILEED under correlated teacher errors. We run it on the same multi-teacher data, giving each teacher an embedding, with an equal hyperparameter search budget.

We also run PeerBC (Policy Learning Using Weak Supervision). It reports 230.9 on Enduro against an imperfect teacher's 150.1 and plain cloning's 138.9. We adapt it to continuous actions with a distance-based agreement score and give its penalty coefficient a grid search on the anchor set.

Finally, we run the independence-assuming triplet label model from Universalizing Weak Supervision, applied per state cluster. This separates the gain from modeling state dependence from the gain from modeling correlation. On the shared-estimator driving task, where online interaction is allowed, we add OIL-style advantage filtering (OIL).

Beating the field means two things on the correlated settings: a higher closed-loop success rate than both the independent product and ILEED, with non-overlapping confidence intervals over seeds, and no loss on the independent control setting.

Why not just…?

Why not just learn the fusion weights directly on the anchor set? A gating network trained to predict the trusted action from the teachers' actions is the most serious threat. With enough anchor data it could implicitly learn decorrelation. Our bet is that the moment equations use every unlabeled state, while a gate learns only from the scarce anchor states. Our method should therefore win at small anchor sizes and converge with the gate at large ones. We will sweep anchor size from a handful of trajectories up to the full proficient set. If the gate matches us at the smallest sizes, the moment-based estimator adds nothing, and we will report that.

Why not just use robust aggregation, such as a median or majority-style vote? Robust statistics reject outliers, not correlated blocs. With three teachers, two of which share a biased state estimator, the median sits on the biased pair. Universalizing Weak Supervision already reports simple averaging degrading as low-quality sources are added. The median is included in the correlation sweep, and we predict it fails at high correlation exactly as the naive product does.

Why not just use ILEED, which already estimates per-teacher expertise? ILEED's expertise is a per-teacher scalar applied to noise variance. It cannot represent "these two teachers are wrong together," and it has no notion of systematic bias. The correlation sweep tests this directly. If ILEED stays flat as correlation rises, our premise is wrong for these tasks.

Why not just run offline reinforcement learning on the mixed data? Mandlekar et al. report that BCQ and CQL hover near 0–10% on multi-human robomimic data, while BC-RNN reaches 84% on Square. We therefore build on cloning. We still include CQL on one task as a sanity reference.

Proposed Experiments

The decisive experiment is a controlled correlation sweep on robomimic Lift, Can, and Square, using states from the multi-human split. At every state we query four teachers. The first is the recorded human action. The second and third are two scripted controllers driven by a shared noisy object-pose estimate, and the correlation $\rho$ between them is set by how much estimator noise they share, swept from 0 to 0.9. The fourth is a BC policy trained on a disjoint subset of operators. The anchor set is a small number of trajectories from the proficient-human split.

Because the injected covariance is known, we can measure covariance-recovery error directly. We also measure closed-loop success, the main metric following robomimic, and the fused action's bias toward the correlated pair. The prediction is sharp: the independent product, the median, and ILEED degrade as $\rho$ grows, and our method stays roughly flat. At $\rho=0$, all product-based methods tie. A gain at $\rho=0$ would itself be suspicious, since it would point to an anchor-set advantage rather than a correlation correction.

The second experiment uses naturally correlated teachers. In CARLA, as in Learning to Drive Using Sparse Imitation Reinforcement Learning, we create several autopilot variants with different PID gains that share one waypoint planner. We inject planner errors such as late lane-change decisions. This mirrors OIL's ensemble of five PID teachers that all follow the same waypoints. We measure route completion and infractions, and we report whether the estimated cross-covariances match the shared-planner structure without being told it.

The third check targets the claim that the method subsumes correlated agreement. We test whether negative fusion weights appear on the redundant teachers, and whether their size tracks the injected correlation. We also check robustness to a misspecified dependency graph, by declaring a truly correlated pair independent.

Finally, we report results on Transport as a harder long-horizon case. The study succeeds if the decorrelated rule beats the independent product in proportion to correlation and does not hurt when teachers are independent. It fails informatively if a gate trained only on the anchor set matches it at every anchor size.