Abstract
We study reinforcement learning in an infinite-horizon average-reward setting with linear function approximation for linear mixture Markov decision processes (MDPs), where the transition probability function of the underlying MDP admits a linear form over a feature mapping of the current state, action, and next state. We propose a new algorithm UCRL2-VTR, which can be seen as an extension of the UCRL2 algorithm with linear function approximation. We show that UCRL2-VTR with Bernstein-type bonus can achieve a regret of $\tilde{O}(d\sqrt{DT})$, where $d$ is the dimension of the feature mapping, $T$ is the horizon, and $D$ is the diameter of the MDP. We also prove a matching lower bound $\tilde{\Omega}(d\sqrt{DT})$, which suggests that the proposed UCRL2-VTR is minimax optimal up to logarithmic factors. To the best of our knowledge, our algorithm is the first nearly minimax optimal RL algorithm with function approximation in the infinite-horizon average-reward setting.
Introduction
Most reinforcement learning (RL) theory focuses on episodic tasks or discounted rewards. However, many real-world applications—such as industrial process control or automated financial trading—are better modeled as infinite-horizon average-reward problems, where the objective is to maximize the long-term average gain.
A significant challenge in these settings is the "curse of dimensionality." While tabular algorithms perform well in small state spaces, they fail in complex environments with effectively infinite states. To address this, researchers employ function approximation, representing the environment through mathematical models like linear functions. Prior work in the average-reward setting with function approximation often suffered from poor regret bounds, computational intractability, or a reliance on restrictive "uniform mixing" assumptions. This paper introduces UCRL2-VTR, the first algorithm to achieve nearly minimax optimal regret in this setting without requiring uniform mixing.
The UCRL2-VTR Algorithm
The proposed algorithm, Upper-Confidence Reinforcement Learning with Value-Targeted Regression (UCRL2-VTR), is built on the principle of Optimism-in-the-Face-of-Uncertainty (OFU). It operates within the framework of Linear Mixture MDPs, where transition dynamics are modeled as a linear combination of known features.
Key technical components include:
- Value-Targeted Regression (VTR): Instead of learning the full transition probability matrix, the algorithm uses least-squares regression to estimate the "bias function," which measures long-term value changes.
- Bernstein-type Bonuses: To drive exploration, the algorithm adds a bonus to uncertain actions. Unlike standard Hoeffding bonuses, these Bernstein-type bonuses account for reward variance, leading to significantly tighter performance bounds.
- Extended Value Iteration (EVI): A subroutine that efficiently identifies the most optimistic policy based on current uncertainty estimates.
Theoretical Contributions
The primary contribution of this work is bridging the gap between minimax optimality in tabular settings and the more complex domain of linear function approximation.
- Regret Bound: Utilizing the Bernstein bonus, UCRL2-VTR achieves a regret of $\tilde{O}(d\sqrt{DT})$, where $d$ is the feature dimension, $D$ is the MDP diameter, and $T$ is the time horizon.
- Minimax Optimality: The authors prove a matching lower bound of $\Omega(d\sqrt{DT})$, confirming that UCRL2-VTR is nearly optimal.
- Total Variance Lemma: A key innovation is a new total variance lemma for average-reward settings. By demonstrating that the sum of variances across the horizon is manageable, the authors reduced the regret bound by a factor of $\sqrt{D}$.
Empirical Evaluation
To validate the theoretical findings, the authors conducted experiments on a synthetic "hard-to-learn" MDP. This environment features a 2-state MDP with a massive action space ($2^{d-1}$ actions), designed to test an agent's ability to exploit linear structure.
In simulations, UCRL2-VTR significantly outperformed tabular Q-learning and other model-free methods like $\epsilon$-greedy and Thompson Sampling (TSDE). Because it exploits the underlying linear structure rather than attempting to learn every state-action pair individually, it maintains efficiency even as the state-action space grows.
Conclusion and Future Work
UCRL2-VTR represents a significant step forward in average-reward RL. However, some limitations remain. The current proof relies on a finite diameter assumption ($D$), which assumes every state is reachable from every other state. Future work could extend these results to the more general "finite span" assumption. Additionally, while linear models are powerful, extending these minimax optimal guarantees to non-linear function approximators, such as deep neural networks, remains a major open challenge in the field.
Summary updated