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

Johannes Müller, Guido Montufar

Abstract

This paper provides a rigorous geometric "map" for optimizing memoryless policies in Partially Observable Markov Decision Processes (POMDPs). By demonstrating that the optimization landscape can be described using rational functions and polynomial constraints, the authors transform a notoriously difficult non-convex problem into a structured polynomial programming task. This novel framing allows them to bound the number of local optima and solve navigation tasks more efficiently than standard gradient-based methods.

Introduction: The Challenge of POMDPs

In reinforcement learning, fully observable Markov Decision Processes (MDPs) represent a well-understood baseline: if an agent knows the exact state of the world, finding the best action is a convex optimization problem free of suboptimal local maxima. However, most real-world scenarios are POMDPs, where the agent only receives noisy or incomplete observations of its environment.

Optimizing policies for POMDPs is famously difficult. Allowing the agent to have infinite "memory" makes the problem computationally undecidable for infinite horizons. Conversely, restricting the agent to "memoryless" (reactive) policies—where it acts solely on its current observation—leaves the problem NP-hard. Under partial observability, the reward function becomes non-convex, meaning standard gradient-based methods often get trapped in suboptimal local maxima. This paper seeks to map the underlying geometry of these traps and the feasible space of policies to make optimization more predictable and robust.

Methodology: From Policy Space to Frequency Space

The authors tackle the non-convexity of POMDPs by shifting the optimization problem from the "Policy Space" (how the agent chooses actions based on observations) to the "Frequency Space" (how often specific state-action pairs occur). Their approach involves several key mathematical steps:

  1. Rational Parametrization: They prove that state-action frequencies and expected cumulative rewards are rational functions (fractions of polynomials) of the policy. Crucially, the degree of these polynomials is tied to the "degree of partial observability"—essentially, how many hidden states could correspond to a single ambiguous observation.
  2. Semialgebraic Characterization: The set of feasible state-action frequencies is shown to be a basic semialgebraic set. This means the boundaries of what is possible for an agent are strictly defined by a system of polynomial equations and inequalities.
Mapping from policy space to frequency space, illustrating the shift from a rational to a linear reward landscape.
  1. Polynomial Programming: By reformulating reward maximization as a linear objective subject to these polynomial constraints, they create a "Polynomial Programming" version of the classic Linear Programming approach used for standard MDPs.
  2. Critical Point Estimation: Leveraging tools from algebraic geometry (such as Bézout’s theorem and polar degrees), the authors provide a mathematical upper bound on the number of critical points (potential local maxima/minima) the reward function can exhibit.

Key Insights and Ideas

  • The Complexity of Ambiguity: The "algebraic degree" of the problem—and thus its computational difficulty—is directly proportional to the ambiguity of the observations. If one observation could represent ten different states, the underlying geometry is significantly more complex than if it only represented two.
  • Why Policy Gradients Fail: The geometric framework explains why policy gradient trajectories get stuck in traps: these local optimizers are the result of polynomial constraints "bending" the feasible set of state-action frequencies.
  • Deterministic vs. Stochastic: While MDPs always have an optimal deterministic policy, the authors' geometric analysis reinforces that the optimal memoryless policy in a POMDP often must be stochastic to effectively hedge against state ambiguity.
  • Isomorphic Face Lattices: A surprising finding is that the combinatorial "shape" (face lattice) of the policy polytope is preserved when mapped into the frequency space, meaning the structural integrity of the problem remains intact despite the highly non-linear mapping.

Experimental Results

While primarily a theoretical paper, the authors validate their geometric framework on specific environments:

  • Bound on Local Optima: They provide an explicit formula to estimate the maximum number of critical points. For a "blind controller" (an agent with only one observation) with two actions and $n$ states, they prove there are at most $n$ critical points in the interior of the policy space.
  • Efficient Solving: Using their polynomial programming formulation and an off-the-shelf interior-point solver (Ipopt), they solved a 13-state Grid World navigation problem in just 0.03 seconds.
  • Global Optimality: In the Grid World task, standard policy gradient methods frequently got stuck in a suboptimal trap (achieving a reward of 0.747). In contrast, the polynomial approach consistently navigated the geometric constraints to find the global optimum (reward of 0.833).

Limitations and Future Work

  • Memoryless Restriction: The primary focus remains on memoryless policies. While the authors suggest this could apply to agents with finite internal memory (by treating memory as part of the extended state), a full geometric treatment of memory-based policies is left for future work.
  • Scalability of Bounds: The mathematical upper bounds on the number of critical points may become overly pessimistic (loose) for very large state spaces.
  • Continuous Spaces: The current framework is strictly designed for finite state and action spaces. Extending these algebraic geometry tools to continuous control problems, such as robotics, represents a major open challenge.
  • Sharpness of Degrees: Computing "polar degrees" for more complex varieties is computationally demanding and requires further advances in applied algebraic tools.

Summary updated

BibTeX
@inproceedings{muller2022geometry,
  author = {Johannes Müller and Guido Montufar},
  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