Introduction
Reinforcement Learning (RL) has seen significant theoretical progress in episodic or discounted reward settings. However, many real-world applications—such as continuous industrial control, power grid load balancing, or financial trading—operate in an infinite-horizon, average reward framework where there are no resets and every reward is weighted equally over time. While algorithms exist for discrete (tabular) or linear environments, capturing the non-linear complexities of the real world remains a significant theoretical challenge.
This paper introduces KUCB-RL, the first "no-regret" algorithm for the infinite-horizon average reward setting that utilizes non-linear kernel function approximation. By bridging the gap between simple linear models and complex deep learning architectures, KUCB-RL provides solid theoretical guarantees for agents operating in continuous, non-episodic environments.
The KUCB-RL Algorithm
The core of KUCB-RL (Kernel-based Upper Confidence Bound for Reinforcement Learning) lies in its ability to handle non-linear value functions while maintaining mathematical tractability. The algorithm is built on four pillars:
- Kernel Ridge Regression (KRR): KUCB-RL employs KRR to predict the expected value of subsequent states. Crucially, it provides both a point estimate and an uncertainty measure (standard deviation).
- Optimism in the Face of Uncertainty: Following the UCB principle, the agent calculates an "optimistic" state-action value function ($q_t$) by adding a confidence bonus to its predictions, incentivizing exploration in uncertain regions of the state-action space.
- Sliding Window Mechanism: To manage the non-stationarity and noise inherent in Markovian environments, the algorithm updates its policy in batches over a sliding window of $w$ steps. This balances long-term performance against the "noise" introduced by the environment's transitions.
- Novel Confidence Interval: The authors derive a new bound for kernel prediction errors when the target value function evolves over time. This theoretical "secret sauce" allows for more flexible regularization and tighter regret analysis than previous methods.
Theoretical Results and Regret Bounds
The primary contribution of this work is establishing "no-regret" performance guarantees. As time $T$ approaches infinity, the difference between the agent's accumulated reward and that of an optimal policy grows sublinearly, meaning the average regret per step vanishes.
As shown in the table above, KUCB-RL achieves competitive or superior bounds across various structural assumptions compared to existing baselines like UCB-AVG and OLSVI.FH:
- Linear Structure: It recovers the best existing regret bound of $\tilde{O}(d^{1/2}T^{3/4})$, matching and slightly improving upon state-of-the-art linear methods by a factor of $d^{1/4}$.
- Smooth Kernels: For highly smooth kernels (e.g., Squared Exponential), it achieves a regret bound of $\tilde{O}(T^{3/4})$.
- General Kernels: For kernels with polynomial eigendecay (such as the Matérn family used in robotics), the regret depends on the kernel's smoothness parameter $p$, scaling as $\tilde{O}(T^{\frac{3p+5}{4p+4}})$.
Insights and Implications
KUCB-RL serves as a "Linear-to-Deep" bridge. Kernel methods are closely related to the Neural Tangent Kernel (NTK), suggesting that these theoretical results offer hints as to why deep neural networks perform effectively in RL despite their complexity. Furthermore, the algorithm's ability to handle non-stationarity—where the "labels" for regression change as the agent's policy improves—is a significant step forward for continuing RL tasks.
Limitations and Future Work
While KUCB-RL provides strong theoretical foundations, several challenges remain for practical application:
- Optimistic Closure: The current proofs assume the optimistic value functions remain within the Reproducing Kernel Hilbert Space (RKHS), a constraint the authors admit is limiting and requires further technical relaxation.
- Computational Efficiency: Standard kernel methods involve matrix inversions that scale cubically with time ($O(T^3)$). While sparse approximation techniques like Nyström or SVGP could mitigate this, they were not explicitly integrated into the current proofs.
- Minimax Optimality: While the algorithm is no-regret, a gap remains between these upper bounds and the theoretical lower bounds, leaving room for further optimization of the regret rates to reach absolute minimax optimality.
Note: This is a purely theoretical work focused on establishing mathematical proofs; no empirical experiments on specific datasets or benchmarks were conducted.
Summary updated