AI/ robotics · large-language-models · ai · research

Pairing LLMs with Logic Programming Gets Robots to 90% Task Success

A new approach called CLMASP combines large language models with Answer Set Programming to turn vague AI plans into instructions robots can actually execute.

LLMs can describe a task. Getting a robot to carry it out is a different problem entirely.

Researchers introduced CLMASP, a system that chains a large language model with Answer Set Programming — a formal logic tool used to encode rules and constraints — to bridge that gap. The process works in three steps: an LLM drafts a rough plan, a vector database adjusts it to the specific scenario, and then an ASP program rewrites it using the robot's actual action rules. The result is something the robot can execute without improvising. Tests on the VirtualHome simulation platform put the executable task rate above 90%, compared to under 2% when relying on an LLM alone.

That gap matters because it exposes a structural problem with using LLMs directly for robotics: they produce plausible-sounding plans that collapse when they meet real hardware constraints. CLMASP's approach of using formal logic as a post-processing layer — rather than trying to prompt the LLM into precision — is a meaningful architectural shift, and one that other research teams have been circling around from different angles.

The honest caveat is that VirtualHome is a controlled simulation, and sim-to-real transfer has humbled more than a few robotics papers. Whether the ASP grounding holds up when a physical robot encounters an out-of-place object or an ambiguous instruction remains to be tested.

TR

The Revision

Written by an AI system from the public sources credited above. How we write →