cs.LGOct 8, 2026

Closing the Horizon Gap in Policy Optimization for Adversarial MDPs

Authors: Mingyi Li, Taira Tsuchiya

Organizations: The University of Tokyo · The University of Tokyo, The University of Osaka, and RIKEN

Abstract

We consider policy optimization for online episodic tabular Markov decision processes (MDPs) with adversarial losses and bandit feedback. Policy optimization updates the policy locally at each state and avoids optimization over the occupancy-measure polytope, but its existing regret bounds are larger by a factor of the horizon HH than those of occupancy-measure-based algorithms. We close this gap by using regularized QQ-functions, which allow us to control the stability of the local updates jointly over all state-action pairs rather than separately at each state. The resulting algorithm attains high-probability regret bounds of O~(HS(H+A)T)\widetilde O(\sqrt{HS(H+A)T}) for known transitions and O~(HSAT)\widetilde O(HS\sqrt{AT}) for unknown transitions, where SS is the number of states, AA the number of actions, and TT the number of episodes. Both bounds improve the horizon dependence of existing policy optimization bounds, and the latter matches the best-known bound. We further extend the algorithm to adversarial linear-mixture MDPs and obtain the same improvement in the horizon dependence.

Figures & tables

Explore similar work

Feb 2, 2026cs.LG

Data- and Variance-dependent Regret Bounds for Online Tabular MDPs

This work studies online episodic tabular Markov decision processes (MDPs) with known transitions and develops best-of-both-worlds algorithms that achieve refined data-dependent regret bounds in the adversarial regime and variance-dependent regret bounds in the stochastic regime. We quantify MDP complexity using a first-order quantity and several new data-dependent measures for the adversarial regime, including a second-order quantity and a path-length measure, as well as variance-based measures for the stochastic regime. To adapt to these measures, we develop algorithms based on global optimization and policy optimization, both built on optimistic follow-the-regularized-leader with log-barrier regularization. For global optimization, our algorithms achieve first-order, second-order, and path-length regret bounds in the adversarial regime, and in the stochastic regime, they achieve a variance-aware gap-independent bound and a variance-aware gap-dependent bound that is polylogarithmic in the number of episodes. For policy optimization, our algorithms achieve the same data- and variance-dependent adaptivity, up to a factor of the episode horizon, by exploiting a new optimistic QQ-function estimator. Finally, we establish regret lower bounds in terms of data-dependent complexity measures for the adversarial regime and a variance measure for the stochastic regime, implying that the regret upper bounds achieved by the global-optimization approach are nearly optimal.
Jun 30, 2026cs.LG

Policy Optimization Achieves Data-Dependent Regret Bounds in MDPs with Unknown Transitions

We study policy optimization for online episodic tabular Markov decision processes with unknown transition kernels, aiming for best-of-both-worlds guarantees together with data-dependent regret bounds. Recent work (Dann et al., 2023; Li et al., 2026) has shown that policy optimization can adapt to both adversarial and stochastic losses with first-order, second-order, and path-length bounds, but only under known transitions, leaving open whether such data-dependent guarantees are achievable by policy optimization when the transition kernel is unknown. We resolve this by developing a new algorithm based on optimistic follow-the-regularized-leader that attains these guarantees under unknown transitions. The key ingredient is a new design of optimistic QQ-function estimators together with a data-dependent transition bonus that controls estimator bias through the loss-prediction error. Our analysis further identifies an unavoidable transition-dependent complexity term that captures the intrinsic cost of estimating the transition kernel. As a result, we obtain first-order, second-order, and path-length bounds with the transition-dependent complexity term while simultaneously achieving gap-dependent polylog(T)\mathrm{polylog}(T) regret in the stochastic regime.
Jul 22, 2026cs.LG

Asymptotically Optimal Regret for Reinforcement Learning without Horizon Dependence

We study horizon-free regret minimization for finite-horizon time-homogeneous tabular Markov decision processes with SS states, AA actions, horizon HH, and per-trajectory total reward bounded by 11. We propose a new algorithm and prove a regret upper bound O~(SAK+S8A3)\tilde O(\sqrt{SAK}+S^8A^3) with failure probability δδ, where KK is the number of episodes and O~(⋅)\tilde O(\cdot) hides polylog⁡(S,A,K,1/δ)\mathsf{poly}\log(S,A,K,1/δ). Thus, the regret is HH-free and asymptotically optimal, matching the contextual-bandit lower bound Ω(SAK)Ω(\sqrt{SAK}) up to logarithmic factors. This completely removes the log⁡H\log H dependence from the previous O~(SAKlog⁡H+S2Alog⁡H)\tilde O(\sqrt{SAK\log H}+S^2A\log H) guarantee of Zhang et al. (2021), and drastically improves the prior best horizon-free regret O~(S9A3K)\tilde O(\sqrt{S^9A^3K}) of Zhang et al. (2022) asymptotically. The main technical difficulty is that the optimal value functions {Vh∗}h=1H\{V_h^*\}_{h=1}^H are time-inhomogeneous even though the transition kernel is time-homogeneous. A direct union bound over all value functions typically incurs an additional min⁡{log⁡H,S}\min\{\log H,S\} factor. We avoid this factor by (i) exploiting the monotonicity of Vh∗V_h^* in hh and (ii) non-trivially projecting the value functions onto an SS-dimensional grid. Our analysis relies on three additional ingredients. First, we introduce a horizon-truncation argument that enables reward-based exploration and removes the cost of a separate reward-free exploration phase. Second, we design a cutting bonus that preserves both optimism and the monotonicity needed for planning. Third, we prove a new bound on total deviation for time-homogeneous MDPs, which controls the clipped variance terms in the cutting bonus with adjustable polynomial dependence on SS and without any dependence on HH. Together, these tools yield an asymptotically optimal horizon-free regret guarantee.