Saved in:
Bibliographic Details
Main Authors: Chen, ZhenDong, Nie, ZhanShang, Wan, ShiXing, Li, JunYi, Cheng, YongTian, Zhao, Shuai
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2508.19074
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916919137796096
author Chen, ZhenDong
Nie, ZhanShang
Wan, ShiXing
Li, JunYi
Cheng, YongTian
Zhao, Shuai
author_facet Chen, ZhenDong
Nie, ZhanShang
Wan, ShiXing
Li, JunYi
Cheng, YongTian
Zhao, Shuai
contents The Large Language Models (LLM) are increasingly being deployed in robotics to generate robot control programs for specific user tasks, enabling embodied intelligence. Existing methods primarily focus on LLM training and prompt design that utilize LLMs to generate executable programs directly from user tasks in natural language. However, due to the inconsistency of the LLMs and the high complexity of the tasks, such best-effort approaches often lead to tremendous programming errors in the generated code, which significantly undermines the effectiveness especially when the light-weight LLMs are applied. This paper introduces a natural-robotic language translation framework that (i) provides correctness verification for generated control programs and (ii) enhances the performance of LLMs in program generation via feedback-based fine-tuning for the programs. To achieve this, a Robot Skill Language (RSL) is proposed to abstract away from the intricate details of the control programs, bridging the natural language tasks with the underlying robot skills. Then, the RSL compiler and debugger are constructed to verify RSL programs generated by the LLM and provide error feedback to the LLM for refining the outputs until being verified by the compiler. This provides correctness guarantees for the LLM-generated programs before being offloaded to the robots for execution, significantly enhancing the effectiveness of LLM-powered robotic applications. Experiments demonstrate NRTrans outperforms the existing method under a range of LLMs and tasks, and achieves a high success rate for light-weight LLMs.
format Preprint
id arxiv_https___arxiv_org_abs_2508_19074
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle An LLM-powered Natural-to-Robotic Language Translation Framework with Correctness Guarantees
Chen, ZhenDong
Nie, ZhanShang
Wan, ShiXing
Li, JunYi
Cheng, YongTian
Zhao, Shuai
Robotics
Artificial Intelligence
Programming Languages
The Large Language Models (LLM) are increasingly being deployed in robotics to generate robot control programs for specific user tasks, enabling embodied intelligence. Existing methods primarily focus on LLM training and prompt design that utilize LLMs to generate executable programs directly from user tasks in natural language. However, due to the inconsistency of the LLMs and the high complexity of the tasks, such best-effort approaches often lead to tremendous programming errors in the generated code, which significantly undermines the effectiveness especially when the light-weight LLMs are applied. This paper introduces a natural-robotic language translation framework that (i) provides correctness verification for generated control programs and (ii) enhances the performance of LLMs in program generation via feedback-based fine-tuning for the programs. To achieve this, a Robot Skill Language (RSL) is proposed to abstract away from the intricate details of the control programs, bridging the natural language tasks with the underlying robot skills. Then, the RSL compiler and debugger are constructed to verify RSL programs generated by the LLM and provide error feedback to the LLM for refining the outputs until being verified by the compiler. This provides correctness guarantees for the LLM-generated programs before being offloaded to the robots for execution, significantly enhancing the effectiveness of LLM-powered robotic applications. Experiments demonstrate NRTrans outperforms the existing method under a range of LLMs and tasks, and achieves a high success rate for light-weight LLMs.
title An LLM-powered Natural-to-Robotic Language Translation Framework with Correctness Guarantees
topic Robotics
Artificial Intelligence
Programming Languages
url https://arxiv.org/abs/2508.19074