The Geometry of Memoryless Stochastic Policy Optimization in Infinite-Horizon POMDPs

Johannes Müller, Guido Montúfar · DOI

Abstract

We consider the problem of finding the best memoryless stochastic policy for an infinite-horizon partially observable Markov decision process (POMDP) with finite state and action spaces with respect to either the discounted or mean reward criterion. We show that the (discounted) state-action frequencies and the expected cumulative reward are rational functions of the policy, whereby the degree is determined by the degree of partial observability. We then describe the optimization problem as a linear optimization problem in the space of feasible state-action frequencies subject to polynomial constraints that we characterize explicitly. This allows us to address the combinatorial and geometric complexity of the optimization problem using recent tools from polynomial optimization. In particular, we estimate the number of critical points and use the polynomial programming description of reward maximization to solve a navigation problem in a grid world.

TL;DR

This paper provides a rigorous geometric and algebraic foundation for memoryless policy optimization in Partially Observable Markov Decision Processes (POMDPs). By proving that reward functions are rational functions of the policy and that the feasible space of state-action frequencies is a "semialgebraic set," the authors transform a notoriously difficult non-convex problem into a structured polynomial optimization task, offering new bounds on the number of local optima.

What Problem Does This Paper Address?

In reinforcement learning, POMDPs model agents that must make decisions based on incomplete information. While finding an optimal policy with unlimited memory is computationally "undecidable" for infinite horizons, researchers often turn to memoryless stochastic policies—actions chosen based only on the current observation.

However, even this simplified version is a nightmare to optimize. The reward landscape is non-convex, meaning standard gradient-based methods often get stuck in suboptimal local minima. Until now, we lacked a precise mathematical description of the "shape" (geometry) of this optimization space. This paper fills that gap by characterizing the feasible set of state-action frequencies and the reward function using the language of algebraic geometry.

Methods: Geometric and Algebraic Reframing

The authors employ tools from polynomial optimization and algebraic geometry to reframe the POMDP problem. The core of their approach is a series of mappings that transform the policy space into a more manageable frequency space.

The pipeline of policy optimization. Top: Mapping from observation policies to state-action frequencies. Bottom: Comparison of reward landscapes in policy space (rational) vs. frequency space (linear).
  • Rational Function Representation: They show that the expected reward and state-action frequencies are rational functions (ratios of two polynomials). Crucially, the degree of these polynomials is tied to the "degree of partial observability"—essentially, how many hidden states are collapsed into a single observation. In a fully observable MDP, these are degree-1 (linear); as observability decreases, the degree increases, leading to higher non-convexity.
  • Semialgebraic Characterization: They prove that the set of feasible state-action frequencies forms a basic semialgebraic set. This means the space can be defined by a finite system of polynomial equations and inequalities.
  • Polynomial Programming: By combining the above, they reformulate reward maximization as a linear objective function subject to polynomial constraints. This allows the use of specialized solvers (like interior-point methods or Sum-of-Squares relaxations) that are more robust than simple policy gradients.
  • Critical Point Analysis: Using the theory of "polar degrees," the authors derive explicit upper bounds on the number of critical points (local maxima, minima, and saddle points) in the optimization landscape.

Key Insights: The Shape of Feasibility

For standard MDPs, the feasible state-action frequencies form a flat-sided polytope. For POMDPs, this set is "curved" but retains a similar combinatorial structure (the "face lattice" is isomorphic), meaning the "edges" and "corners" of the space still correspond to deterministic-like policy choices.

The feasible set of state-action frequencies is a curved semialgebraic set within the state-action simplex.

This geometric perspective explains why policy gradients fail: multiple local optima emerge even in tiny problems because the reward landscape is warped when viewed from the perspective of the policy parameters. However, when viewed in the space of state-action frequencies, the reward becomes a linear objective, and the complexity is shifted entirely into the description of the feasible set.

Key Results

  • Theorem 4: Establishes that rewards are rational functions with degrees bounded by the number of states compatible with an observation.
  • Theorem 20: Provides a general upper bound on the number of critical points. For a "blind controller" (an agent with only one possible observation), they prove there are at most $|S|$ critical points in the interior of the policy space.
  • Global Optimality: They demonstrate that by treating the problem as a polynomial program, they can find globally optimal policies in environments where standard policy gradient methods frequently get stuck in local minima. In a toy example, their method reached a reward of 0.833 compared to the 0.747 achieved by local search.
  • Efficiency: In a 13-state grid world navigation task, the polynomial programming formulation was solved efficiently in approximately 0.03 seconds using standard solvers like Ipopt.

Limitations and Future Work

  • Scalability: While the polynomial formulation is powerful, the number of monomials in the constraints can grow significantly with the number of states and actions, potentially challenging current solvers for very large-scale POMDPs.
  • Memory-Augmented Policies: The current work focuses on memoryless policies. While the authors suggest that finite-memory policies can be handled by augmenting the state space, a direct algebraic treatment of memory remains an open area.
  • Continuous Spaces: The theory is currently restricted to finite state, action, and observation spaces. Extending these geometric insights to continuous control (robotics) is a promising but difficult next step.

Summary updated

BibTeX
@inproceedings{muller2022geometry,
  author = {Johannes Müller and Guido Montúfar},
  title = {{The Geometry of Memoryless Stochastic Policy Optimization in Infinite-Horizon POMDPs}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=A05I5IvrdL-},
}
Figure