Inferensys

Glossary

Cholesky Decomposition

A matrix factorization method that decomposes a symmetric, positive-definite matrix into the product of a lower triangular matrix and its conjugate transpose, used to efficiently solve linear systems in recursive least squares (RLS) algorithms for digital predistortion.
Wide-angle shot of a modern WeWork open floor plan with creative walls covered in AI system architecture diagrams, product team collaborating in standing desk area with industrial lighting.
MATRIX FACTORIZATION

What is Cholesky Decomposition?

A numerically efficient method for decomposing a symmetric, positive-definite matrix into the product of a lower triangular matrix and its conjugate transpose, foundational to solving linear systems in real-time signal processing.

Cholesky Decomposition factorizes a Hermitian, positive-definite matrix A into A = LLᵀ, where L is a lower triangular matrix with real and positive diagonal entries. This decomposition is a specialized, computationally cheaper variant of LU decomposition, exploiting symmetry to halve the required operations and memory, making it ideal for solving the normal equations in adaptive filter coefficient estimation.

In Recursive Least Squares (RLS) algorithms for digital predistortion, the Cholesky factor of the inverse correlation matrix is often propagated directly. This square-root formulation guarantees the mathematical property of positive-definiteness, preventing numerical instability and divergence in fixed-point hardware implementations where round-off errors can otherwise corrupt the coefficient update process.

NUMERICAL LINEAR ALGEBRA

Key Properties of Cholesky Decomposition

Cholesky decomposition factorizes a symmetric positive-definite matrix A into the product A = LLᵀ, where L is a lower triangular matrix. This decomposition is the computational engine behind efficient Recursive Least Squares (RLS) implementations, enabling fast, stable coefficient updates for adaptive digital predistortion.

01

Symmetric Positive-Definite Requirement

The Cholesky decomposition exists uniquely if and only if the input matrix A is symmetric and positive-definite.

  • Symmetry: A = Aᵀ, meaning the autocorrelation matrix in RLS must be Hermitian.
  • Positive-definiteness: All eigenvalues are strictly greater than zero, ensuring the decomposition yields a real, non-singular lower triangular factor.
  • Practical implication: In DPD coefficient estimation, the input correlation matrix naturally satisfies this property as long as the input signal is persistently exciting and the regularization parameter is appropriately chosen.
02

Computational Efficiency vs. Other Decompositions

Cholesky decomposition requires approximately n³/3 floating-point operations, making it roughly twice as fast as LU decomposition and significantly cheaper than QR decomposition for solving linear systems.

  • Storage advantage: Only the lower triangular factor L needs to be stored, halving memory requirements compared to storing the full matrix.
  • RLS context: The inverse correlation matrix update in conventional RLS has O(n²) complexity. Cholesky-based formulations maintain this complexity but with improved numerical stability.
  • Comparison: While QR-RLS offers superior numerical stability, Cholesky-based RLS provides a favorable speed-stability tradeoff for many embedded DPD applications.
03

Square-Root and LDLᵀ Variants

Two primary Cholesky formulations exist for adaptive filtering:

  • Square-root Cholesky: Factorizes A = LLᵀ, where L has the square root of the matrix on its diagonal. This is the standard form.
  • LDLᵀ decomposition: Factorizes A = LDLᵀ, where L is unit lower triangular (ones on diagonal) and D is a diagonal matrix. This variant avoids square-root operations, which is advantageous for fixed-point hardware implementations.
  • Numerical benefit: Both variants have condition numbers that are the square root of the original matrix, halving the sensitivity to roundoff errors compared to direct matrix inversion.
04

Rank-One Update and Downdate Mechanisms

A critical property for adaptive algorithms is the ability to efficiently update the Cholesky factor when the input correlation matrix changes.

  • Rank-one update: When new data arrives, the correlation matrix is updated as R(k) = λR(k-1) + x(k)x(k)ᵀ. The Cholesky factor can be updated in O(n²) operations without full recomputation.
  • Forgetting factor integration: The exponential weighting factor λ is seamlessly incorporated into the update recursion.
  • Downdating: Removing stale data contributions (sliding window RLS) requires numerically stable downdate operations, which hyperbolic rotations can perform on the Cholesky factor.
05

Numerical Stability Properties

Cholesky decomposition offers guaranteed numerical stability without pivoting, unlike LU decomposition.

  • No pivot growth: The elements of L are bounded by the square root of the diagonal elements of A, preventing the catastrophic magnification of roundoff errors.
  • Backward stability: The computed solution is the exact solution to a slightly perturbed problem, with error bounds proportional to the condition number of A.
  • Fixed-point considerations: In FPGA-based DPD implementations, the LDLᵀ variant is preferred because it avoids square-root operations that are expensive in fixed-point arithmetic and can introduce quantization errors.
06

Relationship to the Normal Equation

Cholesky decomposition directly solves the normal equation at the core of least squares estimation.

  • The Wiener-Hopf equation Rw = p (where R is the autocorrelation matrix and p is the cross-correlation vector) is solved in two steps:
    1. Forward substitution: Solve Ly = p for y.
    2. Back substitution: Solve Lᵀw = y for the coefficient vector w.
  • RLS connection: The recursive update of the Cholesky factor of R⁻¹ enables direct coefficient updates without explicitly solving the linear system at each iteration, maintaining O(n²) complexity.
CHOLESKY DECOMPOSITION

Frequently Asked Questions

Clear, technical answers to the most common questions about using Cholesky decomposition for efficient recursive least squares coefficient estimation in digital predistortion systems.

Cholesky decomposition is a matrix factorization technique that decomposes a symmetric positive-definite matrix A into the product of a lower triangular matrix L and its conjugate transpose L^T, such that A = LL^T. Unlike general LU decomposition, Cholesky exploits symmetry to reduce computational cost by roughly half. The algorithm proceeds column-by-column, computing diagonal elements as L_{ii} = sqrt(A_{ii} - sum(L_{ik}^2)) and off-diagonal elements as L_{ji} = (A_{ji} - sum(L_{jk}L_{ik})) / L_{ii}. This numerical stability and efficiency make it the preferred method for solving linear systems where the coefficient matrix is guaranteed positive-definite, such as the normal equations arising in least squares estimation.

FACTORIZATION METHOD COMPARISON

Cholesky vs. Alternative Matrix Factorization Methods

Comparison of Cholesky decomposition against alternative matrix factorization techniques used in coefficient estimation for digital predistortion.

FeatureCholeskyQR DecompositionSingular Value Decomposition

Matrix Requirement

Symmetric positive-definite

Any matrix

Any matrix

Computational Complexity

O(n³/3)

O(2n³/3)

O(4n³/3)

Numerical Stability

Good for well-conditioned matrices

Excellent (uses orthogonal transforms)

Excellent (gold standard)

Handles Ill-Conditioning

Square-Root Free Variant Available

Direct RLS Implementation

Typical Use in DPD

Fast RLS coefficient updates

Numerically robust RLS (QR-RLS)

Condition number analysis

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.