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

Annu Rana, Gaurav Kumar
12/16/2025
cs.AI

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{rana2025modelfirst,
  title  = {Model-First Reasoning LLM Agents: Reducing Hallucinations through Explicit Problem Modeling},
  author = {Annu Rana and Gaurav Kumar},
  year   = {2025},
  eprint = {2512.14474},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.14474v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.14474.svg)](https://codeofpaper.com/paper/2512.14474)

Discussion