Context Matters! Relaxing Goals with LLMs for Feasible 3D Scene Planning
Emanuele Musumeci, Michele Brienza, Francesco Argenziano, Abdel Hakim Drid, Vincenzo Suriani, Daniele Nardi, Domenico D. Bloisi
TL;DR
The paper tackles the gap between user intent and environmental constraints in robotic planning by marrying LLM-based reasoning with classical planning through bidimensional goal relaxation. It formalizes a two-axis framework—domain shifts and goal relaxations—to ground high-level goals in 3D Scene Graphs while progressively relaxing infeasible tasks into executable ones. The approach, ContextMatters, outperforms state-of-the-art LLM+PDDL baselines and is validated on 141 relaxation-prone tasks, a diverse 10-environment dataset, and a real TIAGo robot deployment. This work advances robust, context-aware planning for embodied agents and highlights the practical value of contextual goal adaptation in real-world robotics.
Abstract
Embodied agents need to plan and act reliably in real and complex 3D environments. Classical planning (e.g., PDDL) offers structure and guarantees, but in practice it fails under noisy perception and incorrect predicate grounding. On the other hand, Large Language Models (LLMs)-based planners leverage commonsense reasoning, yet frequently propose actions that are unfeasible or unsafe. Following recent works that combine the two approaches, we introduce ContextMatters, a framework that fuses LLMs and classical planning to perform hierarchical goal relaxation: the LLM helps ground symbols to the scene and, when the target is unreachable, it proposes functionally equivalent goals that progressively relax constraints, adapting the goal to the context of the agent's environment. Operating on 3D Scene Graphs, this mechanism turns many nominally unfeasible tasks into tractable plans and enables context-aware partial achievement when full completion is not achievable. Our experimental results show a +52.45% Success Rate improvement over state-of-the-art LLMs+PDDL baseline, demonstrating the effectiveness of our approach. Moreover, we validate the execution of ContextMatter in a real world scenario by deploying it on a TIAGo robot. Code, dataset, and supplementary materials are available to the community at https://lab-rococo-sapienza.github.io/context-matters/.
