arXiv:2610.21548cs.LGOct 2026

Manuscript Offprint

arXiv:2610.21548

Finite-Time Guarantees for Constrained Reinforcement Learning under Partial Observability

Valentina Zaccaria, Philip Jordan, Tingting Ni, Gian Antonio Susto, Maryam Kamgarpour

Abstract

We study reinforcement learning in constrained partially observable Markov decision processes (CPOMDPs), where an agent maximizes reward subject to a cost constraint using only incomplete information about the underlying state. The lack of state observability may require optimal policies to depend on arbitrarily long observation-action histories, making planning and learning challenging. We leverage recent advances in finite-memory approximations of POMDPs and represent finite history windows as states of a constrained MDP. We then develop a primal-dual algorithm that provides the first non-asymptotic guarantees that jointly bound average reward suboptimality and constraint violation in the original CPOMDP. A key challenge is that this finite-window approximation affects both reward values and the set of feasible policies. Under a filter-stability assumption, we derive bounds relating optimality and feasibility in the finite-state model to those in the original CPOMDP, with approximation errors that decay geometrically with the window length. Experiments in partially observable gridworlds demonstrate the effectiveness of our approach.

1 Introduction

Partially Observable Markov Decision Processes (POMDPs) model sequential decision-making problems in which an agent seeks to maximize its expected cumulative reward without directly observing the state of the environment. Instead, the agent acts on observations that provide only partial information about the underlying state. For example, a robot may not know the exact positions of surrounding objects and must instead rely on noisy camera observations (Lauri et al., 2022). Despite the success of POMDPs in domains such as robotics and healthcare (Ding et al., 2018; Yu et al., 2021), maximizing reward alone does not ensure safe behavior, such as collision avoidance in robotics.

Incorporating safety constraints into POMDPs leads to Constrained Partially Observable Markov Decision Processes (CPOMDPs), where agents maximize expected cumulative reward subject to constraints under partial observability. Despite their practical relevance and successful empirical applications (Hogewind et al., 2022; Carr et al., 2023; Huang et al., 2025), theoretical guarantees for learning in CPOMDPs remain limited.

Existing theoretical work has focused primarily on planning with explicit knowledge of the model, providing guarantees on feasibility (Undurti and How, 2010), approximate optimality and feasibility in time polynomial in the model size for any fixed horizon (Khonji et al., 2019), and finite-iteration bounds on reward optimality and constraint satisfaction (Kalagarla et al., 2022). Other work proposes an online Monte Carlo planning method that uses a black-box generative simulator and provides an asymptotic convergence result under additional assumptions (Lee et al., 2018). However, these methods do not provide finite-time guarantees for both reward optimality and constraint satisfaction when the model is unknown, and the agent learns solely through interaction with the environment.

Addressing this gap requires overcoming a fundamental difficulty inherited from POMDPs. Since the agent receives only partial observations of the underlying state, an optimal policy need not

∗^{*}Equal contribution.

be Markovian in the current observation and may depend on the entire history of observations and actions (Kaelbling et al., 1998). This history dependence makes both planning and learning challenging. Even with a known model, planning is computationally intractable in general (Papadimitriou and Tsitsiklis, 1987); with an unknown model, learning a near-optimal policy requires exponentially many samples in the worst case (Krishnamurthy et al., 2016).

To obtain tractable solutions, recent work on POMDPs approximates the full interaction history using a finite window of recent observations and actions (Kara and Yuksel, 2022; Kara and Yüksel, 2023; Cayci et al., 2024; Anjarlekar et al., 2025; Jordan and Kamgarpour, 2026). In particular, Anjarlekar et al. (2025) represent truncated histories as states of a superstate Markov Decision Process (MDP), and, under a uniform filter-stability assumption, show that the superstate MDP approximates the original POMDP, with the approximation error decreasing with the history length. They also develop an algorithm with finite-time guarantees for learning a near-optimal policy. Building on the same finite-window approximation, Jordan and Kamgarpour (2026) study model-based learning in the induced superstate MDP for the tabular setting and establish improved sample complexity bounds. These results provide a foundation for learning with finite histories, but address only unconstrained reward maximization.

We extend finite-history methods to CPOMDPs by representing finite history windows as states of a superstate Constrained Markov Decision Process (CMDP). Our goal is to learn policies in this model while guaranteeing reward optimality and constraint satisfaction in the original CPOMDP. This extension requires addressing three technical challenges. First, history truncation affects both reward and cost values. Thus, a policy that is feasible in the superstate CMDP may violate a constraint in the original CPOMDP. Second, comparing the optimal values of the two constrained problems requires more than bounding the error in individual policy values, since history truncation changes the set of feasible policies. Third, values in the superstate CMDP must be estimated from trajectories generated by the original CPOMDP, which introduces a mismatch that the learning analysis must account for.

Contributions. Our contributions are as follows.

  1. Under a uniform filter stability condition, we establish bounds relating policy values and constrained optima in the superstate CMDP to those in the original CPOMDP, quantifying the effects of history truncation on optimality and feasibility (Propositions 1 and 2).

  2. We develop a primal-dual algorithm (Algorithm 1) and establish finite-time bounds on its average optimality gap and average constraint violation in the original CPOMDP, accounting for the estimation error arising when learning from CPOMDP trajectories (Theorem 1).

  3. We evaluate our algorithm on a partially observable Gridworld and observe convergence across different history lengths, in accordance with our analysis (Section 6).

Notation. Let R\mathbb{R} be the set of real numbers, N:={1,2,…}\mathbb{N} := \{1, 2, \ldots\} the set of natural numbers, and N0:=N∪{0}\mathbb{N}_0 := \mathbb{N} \cup \{0\}. For a finite set X\mathcal{X}, let ∣X∣|\mathcal{X}| denote its cardinality and Δ(X)\Delta(\mathcal{X}) the probability simplex over X\mathcal{X}. For p,q∈Δ(X)p, q \in \Delta(\mathcal{X}), the total variation (TV) distance is defined as ∥p−q∥TV:=12∑x∈X∣p(x)−q(x)∣\|p - q\|_{\mathrm{TV}} := \frac{1}{2} \sum_{x \in \mathcal{X}} |p(x) - q(x)|. The indicator 1{x∈X}\mathbf{1}\{x \in \mathcal{X}\} equals 1 if x∈Xx \in \mathcal{X} and 0 otherwise. We denote the concatenation of two sequences x=(x1,…,xn)x = (x_1, \ldots, x_n) and y=(y1,…,ym)y = (y_1, \ldots, y_m) by x∥y:=(x1,…,xn,y1,…,ym)x \| y := (x_1, \ldots, x_n, y_1, \ldots, y_m). Finally, for x∈Rx \in \mathbb{R}, we write [x]+:=max⁡(0,x)[x]_+ := \max(0, x).

References (33)