NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Blocked Cholesky factorization updates of the Riccati recursion using hyperbolic Householder transformations

Pieter Pas, Panagiotis Patrinos · DOI

Abstract

This paper introduces a high-performance framework for updating Cholesky factorizations in optimal control solvers using blocked hyperbolic Householder transformations. By applying this framework to the Riccati recursion, the authors achieve over a 4x speedup compared to full re-factorization. This significantly accelerates solvers like QPALM-OCP in scenarios where constraints change incrementally, such as in Augmented Lagrangian or active-set methods.

Introduction: The Bottleneck of Newton Systems

In numerical optimization, particularly for Quadratic Programming (QP), the most computationally expensive step is often solving a "Newton system"—a large linear system that determines the next step toward the optimum. Solvers like the Augmented Lagrangian Method (ALM) or active-set methods solve these systems repeatedly.

Crucially, from one iteration to the next, the system often changes only by a "low-rank" modification (e.g., a few constraints are added or removed). While recomputing a Cholesky factorization ($LL^\top$) from scratch costs $O(n^3)$ operations, updating an existing factorization should theoretically only cost $O(n^2)$. However, standard update methods are often "memory-bound," meaning they spend more time moving data than performing calculations. This paper seeks to make these updates "compute-bound" by using blocked algorithms suitable for modern hardware.

Methodology: Hyperbolic Householder Transformations

The authors utilize hyperbolic Householder transformations to address this bottleneck. Unlike standard Householder reflections used in QR decomposition (which preserve Euclidean distance), hyperbolic transformations preserve a specific indefinite metric. This allows them to handle both "updating" (adding a rank-one matrix) and "downdating" (subtracting one) within a unified mathematical framework.

Key technical contributions include:

  1. Blocked Algorithms: The development of a "compact WY-like" representation for hyperbolic transformations. This allows the update to be performed using matrix-matrix multiplications (BLAS Level 3), which are much more efficient on modern CPUs than traditional vector-based (Level 2) approaches.
  2. Updated Riccati Recursion: The Riccati recursion is the "gold standard" for solving optimal control problems (OCPs). The authors derived a novel algorithm to update the Cholesky factors of the Riccati matrices directly when the ALM penalty parameters change.
  3. Open-Source Implementation: A C++ implementation (hyhound) featuring optimized, vectorized micro-kernels was developed to validate the approach.

Experimental Evaluation and Results

The algorithms were evaluated using synthetic benchmarks (random $64 \times 64$ matrices) and benchmark OCPs with varying numbers of inequality constraints ($n_c$).

Speedup and Blocking Efficiency

For small modification ranks, the hyperbolic Householder updates proved to be over four times faster than performing a full Cholesky factorization using standard libraries like Intel MKL. As shown in Figure 1, the blocked variants ($r=4$ or $r=8$) become significantly faster than the non-blocked ($r=1$) version once the modification rank exceeds 2, demonstrating the power of increasing arithmetic intensity.

Run time vs modification rank for different update strategies.

Riccati Integration vs. Schur Complement

When integrated into a solver for OCPs, the Riccati-based update method significantly outperformed the traditional Schur complement approach—the previous state-of-the-art for the QPALM solver. As illustrated in Figure 2, the runtime for the Riccati update scales much more efficiently as the number of inequality constraints increases compared to the Schur complement method.

Comparison of run times between Schur and Riccati methods as a function of inequality constraints.

Conclusion and Future Work

The paper demonstrates that you do not need to re-run the entire Riccati recursion if only a few constraints change. By "propagating" the low-rank update through the stages of the recursion, the process becomes both mathematically elegant and computationally cheap.

While the experiments focused on relatively small matrices typical for OCP sub-problems, the authors suggest that these optimized routines could be further integrated into other types of solvers, such as interior-point methods, where low-rank updates are also prevalent. Future work may also involve deeper stress tests on the numerical stability of hyperbolic transformations in highly ill-conditioned problems.

Summary updated

BibTeX
@inproceedings{pas2025blocked,
  author = {Pieter Pas and Panagiotis Patrinos},
  title = {{Blocked Cholesky factorization updates of the Riccati recursion using hyperbolic Householder transformations}},
  booktitle = {CDC},
  year = {2025},
  doi = {10.1109/cdc57313.2025.11312551},
}
Figure