Model-First Reasoning LLM Agents: Reducing Hallucinations through Explicit Problem Modeling

📅 2025-12-16
📈 Citations: 0
✨ Influential: 0
📄 PDF
🤖 AI Summary
Large language models (LLMs) frequently exhibit high constraint violation rates and solution inconsistency in multi-step planning tasks due to implicit state tracking. To address this, we propose Model-First Reasoning (MFR), a two-stage paradigm: first, explicitly modeling problem entities, states, actions, and constraints—thereby integrating structured representations from classical AI planning into LLM reasoning; second, generating constraint-aware plans grounded in this explicit model. This design reveals that hallucination primarily stems from representational incompleteness, not inherent reasoning deficits. Extensive experiments across five domains—including medical scheduling and path planning—demonstrate that MFR reduces average constraint violation rates by 42% over Chain-of-Thought and ReAct, while significantly improving solution quality. Ablation studies confirm that explicit modeling is the primary source of performance gain, substantially enhancing planning robustness and interpretability.

Technology Category

Planning, Routing, and Scheduling: Planning with Language ModelsMachine Learning: Large Multimodal Models (LMMs)Multiagent Systems: Multiagent Planning

Application Category

Semantics and Knowledge: Data modeling to support human-machine intelligence, including LLMs agents, intelligent system behavior, explanations, and user-friendly interactionsSearch and Retrieval-Augmented AI: Large language models for searchUser Modeling, Personalization and Recommendation: Large Language Models (LLM) for user modeling and recommendation
📝 Abstract
Large Language Models (LLMs) often struggle with complex multi-step planning tasks, showing high rates of constraint violations and inconsistent solutions. Existing strategies such as Chain-of-Thought and ReAct rely on implicit state tracking and lack an explicit problem representation. Inspired by classical AI planning, we propose Model-First Reasoning (MFR), a two-phase paradigm in which the LLM first constructs an explicit model of the problem, defining entities, state variables, actions, and constraints, before generating a solution plan. Across multiple planning domains, including medical scheduling, route planning, resource allocation, logic puzzles, and procedural synthesis, MFR reduces constraint violations and improves solution quality compared to Chain-of-Thought and ReAct. Ablation studies show that the explicit modeling phase is critical for these gains. Our results suggest that many LLM planning failures stem from representational deficiencies rather than reasoning limitations, highlighting explicit modeling as a key component for robust and interpretable AI agents. All prompts, evaluation procedures, and task datasets are documented to facilitate reproducibility.
Problem

Research questions and friction points this paper is trying to address.

Reduces constraint violations in multi-step planning tasks
Improves solution quality through explicit problem modeling
Addresses representational deficiencies in LLM planning failures
Innovation

Methods, ideas, or system contributions that make the work stand out.

Explicit problem modeling before solution planning
Two-phase paradigm with entities, actions, constraints
Reduces constraint violations across multiple planning domains
Stanford AI Professional Program | IESE EMBA Program
G
Gaurav Kumar
Independent Researcher (Stanford AI Professional Program)
A
Annu Rana
Independent Researcher (IESE EMBA Program)