"Don't Do That!": Guiding Embodied Systems through Large Language Model-based Constraint Generation

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Seffo, Amin, Djuhera, Aladin, Asai, Masataro, Boche, Holger
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866908948457586688
author Seffo, Amin
Djuhera, Aladin
Asai, Masataro
Boche, Holger
author_facet Seffo, Amin
Djuhera, Aladin
Asai, Masataro
Boche, Holger
contents Recent advancements in large language models (LLMs) have spurred interest in robotic navigation that incorporates complex spatial, mathematical, and conditional constraints from natural language into the planning problem. Such constraints can be informal yet highly complex, making it challenging to translate into a formal description that can be passed on to a planning algorithm. In this paper, we propose STPR, a constraint generation framework that uses LLMs to translate constraints (expressed as instructions on ``what not to do'') into executable Python functions. STPR leverages the LLM's strong coding capabilities to shift the problem description from language into structured and interpretable code, thus circumventing complex reasoning and avoiding potential hallucinations. We show that these LLM-generated functions accurately describe even complex mathematical constraints, and apply them to point cloud representations with traditional search algorithms. Experiments in a simulated Gazebo environment show that STPR ensures full compliance across several constraints and scenarios, while having short runtimes. We also verify that STPR can be used with smaller code LLMs, making it applicable to a wide range of compact models with low inference cost.
format Preprint
id arxiv_https___arxiv_org_abs_2506_04500
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle "Don't Do That!": Guiding Embodied Systems through Large Language Model-based Constraint Generation
Seffo, Amin
Djuhera, Aladin
Asai, Masataro
Boche, Holger
Artificial Intelligence
Robotics
Recent advancements in large language models (LLMs) have spurred interest in robotic navigation that incorporates complex spatial, mathematical, and conditional constraints from natural language into the planning problem. Such constraints can be informal yet highly complex, making it challenging to translate into a formal description that can be passed on to a planning algorithm. In this paper, we propose STPR, a constraint generation framework that uses LLMs to translate constraints (expressed as instructions on ``what not to do'') into executable Python functions. STPR leverages the LLM's strong coding capabilities to shift the problem description from language into structured and interpretable code, thus circumventing complex reasoning and avoiding potential hallucinations. We show that these LLM-generated functions accurately describe even complex mathematical constraints, and apply them to point cloud representations with traditional search algorithms. Experiments in a simulated Gazebo environment show that STPR ensures full compliance across several constraints and scenarios, while having short runtimes. We also verify that STPR can be used with smaller code LLMs, making it applicable to a wide range of compact models with low inference cost.
title "Don't Do That!": Guiding Embodied Systems through Large Language Model-based Constraint Generation
topic Artificial Intelligence
Robotics
url https://arxiv.org/abs/2506.04500