Policy Newton Algorithm in Reproducing Kernel Hilbert Space

Yixian Zhang, Huaze Tang, Changxu Wei, Chao Wang, Wenbo Ding

Introduction

In Reinforcement Learning (RL), policies are typically represented using either parametric models, such as neural networks, or non-parametric frameworks like Reproducing Kernel Hilbert Spaces (RKHS). RKHS policies are highly desirable due to their universal approximation capabilities, their ability to adapt complexity to the volume of data, and their inherent smoothness, which provides robustness to noise.

Despite these advantages, optimizing policies in RKHS has historically been restricted to first-order methods. While parametric models frequently benefit from second-order optimization techniques—like Newton's method, which leverages curvature information to accelerate convergence—applying these techniques in RKHS presents a formidable mathematical challenge. In an infinite-dimensional function space, the "Hessian" is an operator rather than a simple matrix. Explicitly computing and inverting this infinite-dimensional operator is intractable. Consequently, RKHS-based RL has been largely limited to Policy Gradient methods, which often suffer from slow convergence in complex, high-curvature optimization landscapes.

To overcome this, researchers have introduced Policy Newton in RKHS, the first practical second-order optimization framework specifically designed for RL policies represented in RKHS.

Methodology

The proposed framework bridges the gap between non-parametric policy representations and second-order optimization through two primary mathematical innovations:

  1. Cubic Regularized Auxiliary Objective: Rather than attempting to directly calculate a Newton step—which would require the impossible task of inverting the infinite-dimensional Hessian—the authors formulate the update as the solution to a sub-problem. They minimize a quadratic approximation of the reward function combined with a cubic penalty term. This "cubic regularization" is a well-established optimization technique used to ensure stability and manage ill-conditioned Hessians.
  2. The Representer Theorem: The core breakthrough of the paper relies on the Representer Theorem. The authors prove that the optimal update function, despite existing in an infinite-dimensional space, can be exactly represented as a weighted sum of kernel functions evaluated at the observed state-action pairs.
  3. Finite-Dimensional Reduction: By applying the Representer Theorem, the infinite-dimensional functional optimization is transformed into a computationally tractable problem in Euclidean space (specifically $\mathbb{R}^{NT}$, where $N$ is the number of trajectories and $T$ is the number of time steps).

To solve the resulting finite-dimensional system efficiently, the framework employs a Conjugate Gradient (Newton-CG) approach. This avoids the need to directly store or invert large matrices, making the algorithm computationally feasible.

Experimental Setup

The authors evaluated their algorithm across three distinct types of environments to test both theoretical guarantees and practical performance:

  • Toy Financial Environment: A simplified Asset Allocation problem designed as a "unit test." Because the global optimum can be calculated analytically, it serves to verify the theoretical quadratic convergence rate.
  • Discrete Control (Gymnasium): Standard RL benchmarks, including CartPole and Lunar Lander.
  • Continuous Control (Gymnasium): More complex tasks, such as Inverted Pendulum and Hopper, which utilize a Gaussian policy extension of the RKHS framework.

Key Findings and Insights

Optimization Geometry Over Expressivity

In the toy experiments, all compared methods possessed the same representational capacity, meaning they could all technically reach the optimum. However, Policy Newton in RKHS reached the optimum significantly faster and more reliably. This indicates that the optimization geometry provided by RKHS second-order updates is fundamentally superior at escaping local optima that typically trap parametric methods.

Preservation of Quadratic Convergence

A major theoretical contribution of the paper is proving that the finite-dimensional reduction maintains mathematical integrity. The algorithm retains a local quadratic convergence rate, widely considered the gold standard for optimization speed. In the Asset Allocation task, Policy Newton in RKHS demonstrated clear quadratic convergence, whereas first-order RKHS methods and parametric Newton methods converged much more slowly or stalled in sub-optimal regions.

Data-Dependent Basis and Efficiency Trade-offs

Unlike parametric methods that rely on fixed features, the RKHS approach uses the trajectory data itself to span the space of possible policy updates. This allows the model to "grow" precisely where the task is most complex.

Empirically, on the Hopper environment, the proposed method achieved significantly higher episodic rewards with fewer iterations compared to first-order baselines. While each update for Policy Newton in RKHS takes approximately 1.97x longer than a first-order update (due to the overhead of constructing the Hessian and running CG iterations), it is vastly more sample-efficient, requiring far fewer total environment interactions to reach peak performance.

Limitations and Future Directions

While Policy Newton in RKHS marks a significant step forward, the authors note a few limitations and areas for future research:

  • Computational Scaling: The dimensionality of the optimization problem scales with the volume of trajectory data ($N \times T$). While manageable for the tested benchmarks, very large-scale problems may require further approximations, such as Nyström methods or sparse kernel approximations, to maintain efficiency.
  • Stochastic Assumptions: The current proof for quadratic convergence assumes a deterministic scenario where the true gradient and Hessian are accessible. Extending this rigorous proof to a fully stochastic setting—where only noisy estimates from samples are available—remains an open theoretical challenge.
  • Neural-Kernel Hybrids: Future work could explore integrating neural network architectures with this RKHS second-order framework. This hybrid approach could combine the powerful feature extraction capabilities of deep learning with the optimization advantages of kernel methods.

Summary updated

BibTeX
@inproceedings{zhang2026policy,
  author = {Yixian Zhang and Huaze Tang and Changxu Wei and Chao Wang and Wenbo Ding},
  title = {{Policy Newton Algorithm in Reproducing Kernel Hilbert Space}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=PYnLd91wZY},
}
Figure