Manuscript Offprint

arXiv:2609.10036

Belief-State Engine: Augmenting LLMs for Principled Planning Under Partial Observability

Arnab Chattopadhayay, Debdipta Halder

Arnab Chattopadhayay and Debdipta Halder

Abstract—Large language model agents produce fluent action sequences across a wide range of tasks, yet they fail in characteristic ways once the environment becomes partially observable. Ambiguous feedback pushes them into premature commitments. A single informative observation can collapse their uncertainty onto the wrong hypothesis. Policies drift as the history grows. We trace these symptoms to a common structural cause. An LLM agent, as commonly deployed, is a history-conditioned policy with no explicit belief over hidden state.

We propose an architectural fix. The Belief-State Engine (BSE) is an inference module placed outside the LLM. It maintains a Bayesian posterior over the latent states of a given POMDP model, and at each decision step it exposes only that posterior to the LLM. The raw action-observation log is not shown. We set out a minimal four-axiom specification of what a belief-consistent internal state must satisfy, and prove that the LLM paired with the BSE is a sound Markov policy on the belief MDP induced by the underlying POMDP. It therefore inherits the Bellman optimality guarantees of classical POMDP theory, provided the LLM is never exposed to the raw history.

We evaluate the architecture on the Tiger POMDP and a red-team attack-graph task, against six baselines: a reactive LLM, Chain-of-Thought, ReAct, a natural-language belief tracker, QMDP, and POMCP. Across both domains, the BSE-augmented agent improves task return, belief calibration, and decision consistency. Ten targeted ablations isolate the contribution of each architectural choice, and a replication on an open-weights backbone confirms that the effect is not specific to any one model. Code, environment specifications, prompt templates, and seed logs accompany this preprint.

Index Terms—Large language model agents, belief state, partial observability, POMDP, planning under uncertainty, Bayesian filtering, tool-augmented LLMs.

I. INTRODUCTION

Large language models now sit at the centre of a growing class of autonomous agents. Systems such as ReAct [1], Reflexion [2], Tree-of-Thoughts [3], Voyager [4], and SWE-agent [5] wrap an LLM inside a loop that turns text-level reasoning into multi-step action sequences, over settings that range from embodied simulation to software repair and web navigation. These systems share a common failure profile [6], [7], [8]. They work well when the next action can be decided from the latest observation. They stumble once the environment becomes partially observable. Feedback that is delayed, or ambiguous, or actively deceptive, tends to expose

a class of failures that Chain-of-Thought prompting does not resolve.

In our view the issue is architectural, not a question of reasoning depth. Keeping a calibrated belief over hidden states, and then picking actions with respect to that belief, is what Bayesian filtering gives you. It is not what Chain-of-Thought prompting, a longer context window, or a reflection loop confers on an LLM. These mechanisms accumulate text. They do not accumulate probability mass. Two histories that would yield the same Bayesian posterior can elicit very different action distributions from an LLM whenever their surface texts differ, and that already breaks the most basic consistency requirement of a belief-measurable policy. The behaviour this produces has been reported many times: premature commitment when evidence is still ambiguous, over-confident collapse onto one hypothesis after a single informative observation, and policy drift as the context grows.

Our fix is to stop asking the LLM to act as a planner under partial observability. We wrap it in a two-module system. An external inference component, which we call the Belief-State Engine, holds the epistemic state. The LLM is restricted to selecting actions conditioned on that state. Concretely, the BSE runs a Bayesian filter over a POMDP model (T,Z)(T, Z) of the environment, and at each step it hands the LLM a normalised belief bt∈Δ(S)b_t \in \Delta(S) as the only decision-time context. The raw trace of past actions and observations is not shown to the LLM.

This design has a precise mathematical backing. Under a minimal four-axiom specification of belief-consistent internal state, the LLM paired with the BSE is a Markov policy on the belief MDP induced by the underlying POMDP. It therefore inherits the Bellman optimality theorems of classical POMDP theory [9], [10], [11]. The axioms pin down what qualifies as a belief-consistent internal state. The theorems lift the architectural choice into a compositionality guarantee with a well-defined failure mode: if the LLM is shown the raw history at decision time, Axiom A4 is violated and the guarantee falls with it.

Contributions: This paper makes four contributions.

  1. Architecture. We introduce the Belief-State Engine, an LLM-external and model-agnostic inference module that maintains a POMDP-grounded belief and interfaces with any belief-measurable policy, including an LLM-parameterised one (section V).

  2. Theory. We set out a minimal four-axiom characterisation of belief-consistent internal state and prove six theorems: existence and minimality of the canonical posterior, uniqueness of the Bayes update, value equivalence with the

A. Chattopadhayay is an Independent Researcher (UCL Alumni), Bangalore, India (e-mail: arnab.chattopadhayay@uclmail.net).

D. Halder is an Independent Researcher (IIT-Kharagpur Alumni), Bangalore, India (e-mail: haldev50@gmail.com).

Manuscript prepared April 2026. Code, environment specifications, prompt templates, and paired-seed logs accompanying this preprint are available at https://github.com/debdipta-h/bse-llm.

belief MDP, ambiguity preservation under bisimulation, and soundness of the LLM-BSE composition (section IV; full proofs in Appendix A).

  1. Empirical study. We evaluate the BSE on two environments, the Tiger POMDP and a red-team attack-graph task, against six baselines (reactive, Chain-of-Thought, ReAct, natural-language belief tracker, QMDP, POMCP). Four metric families are reported: task return, belief calibration, decision consistency, and compute cost. Ten architectural ablations and an open-weights robustness replication accompany the main results (sections VI and VII).

  2. Artefact release. Code, prompt templates, environment specifications, reward matrices, and paired-seed logs are published with this preprint.

Paper organisation: Section II reviews POMDP theory, LLM-agent failure modes, and related hybrid work. Section III fixes notation. Section IV sets out the axiomatic foundations. Section V describes the BSE. Section VI details the experimental methodology. Section VII reports results. Section VIII discusses limitations and approximate belief representations. Section IX concludes.

References (30)