Abstract: Comprehending action preconditions and effects is an essential step in modeling the dynamics of the world. In this paper, we express the semantics of precondition relations extracted from text in terms of planning operations. The challenge of modeling this connection is to ground language at the level of relations. This type of grounding enables us to create high-level plans based on language abstractions. Our model jointly learns to predict precondition relations from text and to perform high-level planning guided by those relations. We implement this idea in the reinforcement learning framework using feedback automatically obtained from plan execution attempts. When applied to a complex virtual world and text describing that world, our relation extraction technique performs on par with a supervised baseline, yielding an F-measure of 66% compared to the baseline's 65%. Additionally, we show that a high-level planner utilizing these extracted relations significantly outperforms a strong, text unaware baseline -- successfully completing 80% of planning tasks as compared to 69% for the baseline.
The Challenge: Granularity Mismatch
In classical AI planning, agents often struggle with a "granularity mismatch." Human language is naturally abstract and high-level (e.g., "Make a pickaxe from wood"), while the actual actions required for execution are granular and numerous—involving movement to specific coordinates, harvesting resources, and multi-step crafting.
Low-level planners are often computationally "blind" to the big picture, becoming trapped in intractable search spaces for complex tasks. Conversely, while text descriptions like manuals or wikis provide the necessary high-level "rules" of the world, they lack the specific primitives needed for execution. This research seeks to ground linguistic relations (preconditions and effects) into the semantics of planning operations, allowing an agent to "read" how the world works to guide its actions.
Methodology: Joint Learning and Hierarchical Planning
The authors propose a joint model that simultaneously learns relation extraction and high-level planning. Instead of requiring a massive labeled dataset of "correct" interpretations, the model uses the environment itself as a teacher via a Policy Gradient reinforcement learning framework. If the agent successfully follows a plan based on its interpretation of the text, it receives a positive reward; failure results in a negative reward, updating both the text-processing and planning components.
The system operates as a hierarchical manager. It predicts a sequence of subgoals based on extracted relations (e.g., "get wood" → "get pickaxe" → "get stone") and hands each pair of subgoals to a "black-box" low-level planner (Metric-FF) to find the specific path between them.
Experimental Results
The model was evaluated in a Minecraft-like virtual world using text from the Minecraft Wiki. The evaluation set included 98 planning problems involving resource collection and construction tasks.
Planning Success and Complexity
The "Full Model" (text-aware) successfully completed 80.2% of tasks, compared to only 69.4% for a text-unaware baseline. The advantage of text-based grounding was most pronounced in "Hard" tasks requiring many low-level steps, where the text-aware model solved 59% of tasks compared to the baseline's 31%.
Extraction Accuracy
Despite having no direct supervision for the text, the RL-based extraction achieved an F-measure of 66%, slightly outperforming a standard supervised SVM baseline (65%) trained on labeled data. Furthermore, the high-level planner reached performance levels approaching an "Oracle" planner (87.1%) that utilized manually annotated, perfect preconditions.
Discussion and Future Work
By extracting preconditions, the model effectively prunes the search space, considering only paths that satisfy the high-level dependencies learned from text. However, some limitations remain. The model currently assumes that subgoal sequences are Markovian, which may cause the agent to "forget" multiple non-trivial preconditions. Additionally, the system relies on an initial manual "seed" mapping of predicates to words and assumes relations are contained within single sentences. Future work may focus on learning these mappings automatically and synthesizing information across larger document structures.
Summary updated