Saved in:
Bibliographic Details
Main Authors: Wang, Wenhao, Li, Yanyan, Jiao, Long, Yuan, Jiawei
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2604.10929
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908963960782848
author Wang, Wenhao
Li, Yanyan
Jiao, Long
Yuan, Jiawei
author_facet Wang, Wenhao
Li, Yanyan
Jiao, Long
Yuan, Jiawei
contents Recent advances in large language models (LLMs) provide robots with contextual reasoning abilities to comprehend human instructions. Yet, current LLM-enabled robots typically depend on cloud-based models or high-performance computing infrastructure, which limit their deployment on robots under unreliable internet environments or with constrained computational resources, such as UAVs and small ground vehicles. Thus, deploying fine-tuned small language models (SLMs) that support onboard deployment offers a promising alternative. This paper introduces Ro-SLM, a framework that enables reliable SLM-driven robot operation by distilling LLMs' knowledge and reasoning. Ro-SLM starts from dataset synthesis by leveraging LLMs to generate diverse task instructions, produce corresponding ground truth code with minimal human assistance, and augment instructions into real-world application scenarios. Ro-SLM is then fine-tuned with the dataset, in which LLM serves as a reward function to guide the training. Extensive experiments on UAV operation tasks demonstrate that Ro-SLM improves the performance of SLM from being incapable of supporting robotic task planning and code generation to achieving performance that approaches LLM.
format Preprint
id arxiv_https___arxiv_org_abs_2604_10929
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Ro-SLM: Onboard Small Language Models for Robot Task Planning and Operation Code Generation
Wang, Wenhao
Li, Yanyan
Jiao, Long
Yuan, Jiawei
Robotics
Recent advances in large language models (LLMs) provide robots with contextual reasoning abilities to comprehend human instructions. Yet, current LLM-enabled robots typically depend on cloud-based models or high-performance computing infrastructure, which limit their deployment on robots under unreliable internet environments or with constrained computational resources, such as UAVs and small ground vehicles. Thus, deploying fine-tuned small language models (SLMs) that support onboard deployment offers a promising alternative. This paper introduces Ro-SLM, a framework that enables reliable SLM-driven robot operation by distilling LLMs' knowledge and reasoning. Ro-SLM starts from dataset synthesis by leveraging LLMs to generate diverse task instructions, produce corresponding ground truth code with minimal human assistance, and augment instructions into real-world application scenarios. Ro-SLM is then fine-tuned with the dataset, in which LLM serves as a reward function to guide the training. Extensive experiments on UAV operation tasks demonstrate that Ro-SLM improves the performance of SLM from being incapable of supporting robotic task planning and code generation to achieving performance that approaches LLM.
title Ro-SLM: Onboard Small Language Models for Robot Task Planning and Operation Code Generation
topic Robotics
url https://arxiv.org/abs/2604.10929