Distilling On-device Language Models for Robot Planning with Minimal Human Intervention
Zachary Ravichandran, Ignacio Hounie, Fernando Cladera, Alejandro Ribeiro, George J. Pappas, Vijay Kumar
TL;DR
This paper tackles the challenge of deploying LLM-powered robot planners in environments with unreliable connectivity by introducing PRISM, a framework that distills small on-device language models from a source LLM-enabled planner. PRISM generates diverse task-environment scenarios, elicits planning demonstrations from the source planner, and uses this synthetic data to fine-tune a compact SLM with LoRA, producing a drop-in replacement that operates onboard. Across three planning domains (mapping/exploration, home assistance, and manipulation), prism-distilled models achieve high planning success rates close to or surpassing the source baselines while eliminating dependency on external compute and providing more deterministic latency. The work demonstrates strong cross-platform generalization (ground and aerial robots; indoor/outdoor settings) and releases code, datasets, and trained models to promote reproducibility and broader adoption.
Abstract
Large language models (LLMs) provide robots with powerful contextual reasoning abilities and a natural human interface. Yet, current LLM-enabled robots typically depend on cloud-hosted models, limiting their usability in environments with unreliable communication infrastructure, such as outdoor or industrial settings. We present PRISM, a framework for distilling small language model (SLM)-enabled robot planners that run on-device with minimal human supervision. Starting from an existing LLM-enabled planner, PRISM automatically synthesizes diverse tasks and environments, elicits plans from the LLM, and uses this synthetic dataset to distill a compact SLM as a drop-in replacement of the source model. We apply PRISM to three LLM-enabled planners for mapping and exploration, manipulation, and household assistance, and we demonstrate that PRISM improves the performance of Llama-3.2-3B from 10-20% of GPT-4o's performance to over 93% - using only synthetic data. We further demonstrate that the distilled planners generalize across heterogeneous robotic platforms (ground and aerial) and diverse environments (indoor and outdoor). We release all software, trained models, and datasets at https://zacravichandran.github.io/PRISM.
