arXiv · 2610.39775
Teaching a Tree to Recover: Online Distillation of an LLM Supervisor with Counterfactual Replay
Abstract
Autonomous mobile robots commonly pair a global planner with a local model predictive controller (MPC), but nonconvex obstacle avoidance and a limited horizon can make the robot freeze in complex layouts. Deciding whether to replan, wait, or call for help is a supervisory decision. Recent work queries a large language model (LLM) supervisor on every anomaly, which is slow and costly. We instead distill the LLM online into a decision tree. After each training episode, counterfactual replay labels recoveries as needed, unnecessary, or harmful. These labels retire unhelpful rules. In simulation, on 20 unseen layouts where the MPC alone freezes, the tree handles at least 18 correctly across all seeds, either by reaching the goal or by calling for help when no feasible path exists. The tree matches both an always-query LLM supervisor and expert-designed rules, while issuing no LLM queries at test time. Handwritten rules cannot anticipate the long tail of situations a physical robot will encounter. Online distillation is a promising remedy: the tree handles familiar cases, and the LLM is consulted only for new ones, whose validated recoveries become new rules. Language models can thus also serve as designers of supervisors rather than only as runtime supervisors.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Kristian Ceder, Kilian Freitag, Knut Åkesson. 2026-10-29. Teaching a Tree to Recover: Online Distillation of an LLM Supervisor with Counterfactual Replay. https://arxiv.org/abs/2610.39775
Cite the original work for its findings. Save a collection to share your selection of sources.