arXiv:2609.04005cs.AISep 2026

Manuscript Offprint

arXiv:2609.04005

The Dually Flat Geometry of Planning as Inference

Nikola Milosevic, Asaki Kataoka, Nicolas Hinrichs, Kenji Doya, Nico Scherf

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Nikola Milosevic

Neural Data Science and Statistical Computing Group Max Planck Institute for Human Cognitive and Brain Sciences Leipzig, 04103 Germany nmilosevic@cbs.mpg.de

Asaki Kataoka

Neural Computation Unit Okinawa Institute of Science and Technology Okinawa, 904-0495 Japan asaki.kataoka@oist.jp

Nicolas Hinrichs

Neural Data Science and Statistical Computing Group Max Planck Institute for Human Cognitive and Brain Sciences Leipzig, 04103 Germany hinrichsn@cbs.mpg.de

Kenji Doya

Neural Computation Unit Okinawa Institute of Science and Technology Okinawa, 904-0495 Japan doya@oist.jp

Nico Scherf

Neural Data Science and Statistical Computing Group Max Planck Institute for Human Cognitive and Brain Sciences Leipzig, 04103 Germany nscherf@cbs.mpg.de

Abstract

We present an alternative characterization of the occupancy measure of reinforcement learning, obtained by embedding the planning criterion into the dynamics through a resetting planning process. Its stationary measure, which we term visitation measure, is the object on which the information geometry of decision making is most naturally expressed. The achievable visitation measures form a dually flat statistical manifold whose two affine charts are the visitation probabilities and the log-policies, dual under the conditional entropy. This structure makes planning-as-inference generalize from linear rewards to nonlinear functionals of the visitation, each iterate solved by one natural-gradient step, and gives the temporal-difference error the interpretation of a marginal-utility estimate. We develop the geometry and its consequences for reinforcement learning and theoretical neuroscience.

Preprint.

1 Introduction

Planning as inference reformulates the maximization of return as conditioning a generative model on the event of desirable outcomes. The reformulation places control on the same footing as perception and learning [25] and yields principled regularizers for control [41]. Active inference and the free energy principle extend it, connecting planning to the minimization of expected free energy [25, 17]. Yet while the free energy principle for perception is well developed, it is not settled how to carry it over to action selection [46], and a recurring difficulty is that the planning objective and the algorithmic tools that solve it efficiently are stated in different languages. The visitation measure of the agent's latent planning process (the stationary probability of state–action events under a policy) reconciles the two: it is at once the variable of variational inference and the object on which dynamic programming acts.

To make this precise we construct a resetting planning process, a latent controlled Markov chain that restarts from a fixed law at a state-action-dependent rate. Its i.i.d. restart cycles give unbiased estimates of reinforcement-learning returns, and its normalized stationary measure (the visitation measure) carries the geometry we study. Our contributions are the following.

  • A resetting characterization of the occupancy measure (§2): the visitation measure is the stationary law of the resetting process, and its Charnes–Cooper transform recovers the standard occupancy LP, unifying discounted, finite-horizon, average-reward, and general early-termination criteria through the reset rate.

  • The dually flat geometry of the visitation manifold (§3): the visitation measures form a dually flat statistical manifold [9] under the conditional entropy, with the visitation probabilities and the log-policies as Legendre-dual affine charts. This gives a single geometric account of KL control as covariant policy search [35, 14, 55, 40, 53, 45], in which the natural policy gradient and policy mirror descent are one update written in either chart [57].

  • Variational planning beyond linear rewards (§4): dual flatness lets planning-as-inference generalize from linear rewards to nonlinear functionals of the visitation (convex-RL and active-inference free energies), where each iterate is an exact evidence lower bound solved by one natural-gradient step. The temporal-difference error becomes a natural-gradient estimate of the marginal utility of visitation, connecting dopaminergic prediction errors to stationary utility theory.

Related work. Control and planning as inference dates back to Kalman's observation that linear-quadratic control and linear filtering are computationally equivalent [36], later termed Kalman duality [65, 37]. In robotics and machine learning, probabilistic reformulations of planning [66] and the maximum-entropy view of MDPs [71, 41] underlie much of contemporary deep reinforcement learning [2, 29, 28, 30].

The linear occupancy program approach to Markov decision processes has its roots in the operations research literature of the 1960's [44, 20, 19, 24, 21]. A recent line of work beginning with maximum-entropy exploration [31] replaces this linear objective by a nonlinear functional of the occupancy, unified by [70], and popularized by [69, 26, 50] as convex MDPs. A recurring subtlety, made precise by [51], is that these objectives generally differ between the finite-trial regime and the population limit. The resetting planning process is a normalized version of state-action-dependent discounting [67] which also has an LP formulation [33], and is precisely our transformed linear program [16]. The resetting is the PageRank random surfer, recently connected to policy optimization by [12]. The mechanism itself is discrete-time stochastic resetting [23].

The RL analogue of Amari's natural gradient [7, 8] is the natural policy gradient (NPG), introduced by [35], justified information-geometrically by [14] and made an actor-critic method by [55]. Contemporary trust-region and proximal methods [58, 60, 2], are often interpreted as approximations, with connections to maximum-entropy methods [29], made precise by a convex optimization view [53, 27]. The dual mirror-descent viewpoint is policy mirror descent [40, 68]. We explain the geometric origin of this duality through a dual flatness perspective using the result of [57]. We build directly on the work of [49], who analyze policy gradient flows on normalized discounted occupancy measures, using the same Hessian geometry.

Figure

(a) The induced visitation flow νt+1=Pρ⊤νt\nu_{t+1} = P_{\rho}^{\top} \nu_t, a contraction with fixed point the stationary visitation νπ\nu^{\pi}.

Figure

(b) The flow cone {ν≥0:Kν=0}\{\nu \geq 0 : K\nu = 0\} and the two Charnes-Cooper slices y=ν/⟨ρ,ν⟩y = \nu / \langle \rho, \nu \rangle and ν=y/⟨1,y⟩\nu = y / \langle \mathbf{1}, y \rangle.

Figure 1: The restarting planning process and its visitation geometry. (a) Marginalising the reset chain for a fixed policy π\pi gives the visitation flow νt+1=Pρ⊤νt\nu_{t+1} = P_{\rho}^{\top} \nu_t, whose fixed point is the stationary measure νπ(Kνπ=0)\nu^{\pi}(K\nu^{\pi}=0), the object we treat as a point on a manifold and optimize in §3. (b) Relation of the standard RL liner program on occupancies yy and the stationary linear fractional program on ν\nu. Each ray is a set of scaling-equivalent solutions of Kν=0K\nu=0.

References (48)