Precise Robot Command Understanding Using Grammar-Constrained Large Language Models
Xinyun Huo, Raghav Gnanasambandam, Xinyao Zhang

TL;DR
This paper presents a grammar-constrained LLM system that combines natural language understanding with deterministic validation to produce precise, valid robot commands, enhancing safety and reliability in industrial human-robot collaboration.
Contribution
The paper introduces a novel hybrid model integrating a fine-tuned LLM with grammar-based constraints and validation for generating reliable robot commands.
Findings
The hybrid model outperforms baseline methods in command validity.
The system effectively recovers from interpretation errors through feedback loops.
Validation improves safety and robustness in command generation.
Abstract
Human-robot collaboration in industrial settings requires precise and reliable communication to enhance operational efficiency. While Large Language Models (LLMs) understand general language, they often lack the domain-specific rigidity needed for safe and executable industrial commands. To address this gap, this paper introduces a novel grammar-constrained LLM that integrates a grammar-driven Natural Language Understanding (NLU) system with a fine-tuned LLM, which enables both conversational flexibility and the deterministic precision required in robotics. Our method employs a two-stage process. First, a fine-tuned LLM performs high-level contextual reasoning and parameter inference on natural language inputs. Second, a Structured Language Model (SLM) and a grammar-based canonicalizer constrain the LLM's output, forcing it into a standardized symbolic format composed of valid action…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
