Inferensys

Glossary

Ill-Conditioning

A numerical state where the correlation matrix has a high condition number, making coefficient estimation highly sensitive to small perturbations and leading to unstable or inaccurate solutions.
Elegant overhead shot of a polished wooden communal table in a sun-drenched WeWork lounge, laptops and tablets displaying AI workflow dashboards, plants and pendant lights in background.
NUMERICAL INSTABILITY

What is Ill-Conditioning?

A numerical state where the correlation matrix has a high condition number, making the coefficient estimation highly sensitive to small perturbations and leading to unstable or inaccurate solutions.

Ill-conditioning is a numerical state in which the correlation matrix used for coefficient estimation possesses a high condition number, rendering the solution hypersensitive to infinitesimal perturbations in the input data or rounding errors. In the context of Digital Pre-Distortion (DPD), this occurs when the basis functions are highly correlated, causing the normal equations matrix to become nearly singular and making the extracted predistorter coefficients oscillate wildly or diverge entirely.

This instability is catastrophic for online training algorithms like Recursive Least Squares (RLS), where a high condition number amplifies measurement noise from the feedback receiver into the coefficient update, destroying linearization performance. Mitigation requires injecting a regularization parameter onto the diagonal of the matrix to artificially lower the condition number, or employing numerically robust decomposition methods like QR decomposition to solve the least-squares problem without explicitly inverting the ill-conditioned matrix.

DIAGNOSTIC INDICATORS

Key Characteristics of an Ill-Conditioned System

An ill-conditioned system in DPD coefficient estimation exhibits specific numerical behaviors that signal instability. Recognizing these characteristics is essential for diagnosing and mitigating estimation failures before they corrupt the predistorter's linearization performance.

01

High Condition Number

The condition number κ of the correlation matrix R quantifies ill-conditioning. It is defined as the ratio of the largest singular value to the smallest: κ = σ_max / σ_min. A matrix is considered ill-conditioned when κ exceeds 10^6 to 10^12 in double-precision arithmetic.

  • κ < 10^3: Well-conditioned, stable inversion
  • 10^3 < κ < 10^6: Moderately conditioned, monitor for precision loss
  • κ > 10^6: Ill-conditioned, solutions unreliable without regularization

The condition number directly bounds the relative error magnification: small perturbations in the observation vector b are amplified by a factor of κ in the solution x.

κ > 10⁶
Ill-Conditioned Threshold
κ < 10³
Well-Conditioned Range
02

Near-Singular Correlation Matrix

The correlation matrix R = Φ^H Φ becomes nearly singular when its columns—the basis function outputs—are highly correlated. This occurs when:

  • Redundant basis functions: Multiple polynomial terms capture the same nonlinear behavior, creating linear dependencies
  • Narrowband or constant-envelope signals: The input signal lacks sufficient spectral richness to excite all basis dimensions independently
  • Insufficient sample diversity: The observation window is too short relative to the model's degrees of freedom

A near-singular R has eigenvalues approaching zero, making its inverse R⁻¹ explode with large, oscillating entries that amplify noise.

03

Extreme Coefficient Sensitivity

In an ill-conditioned system, coefficient estimates become hypersensitive to minuscule changes in the measured data. A perturbation as small as 1 LSB in the ADC feedback sample or a 0.01 dB change in signal power can cause the estimated DPD coefficients to swing wildly.

  • Symptom: Coefficients vary erratically between adaptation cycles even when the PA's physical state is unchanged
  • Root cause: The solution vector x lies in a direction nearly orthogonal to the dominant singular vectors, so small projection errors map to large coefficient errors
  • Practical impact: The predistorter's transfer function becomes non-repeatable, defeating the purpose of adaptive linearization
04

Noise Amplification in the Solution

Ill-conditioning acts as a noise amplifier in the coefficient estimation pipeline. Measurement noise in the feedback receiver—thermal noise, quantization error, phase noise—is magnified by the inversion of small eigenvalues.

  • Each eigenvalue λ_i of R contributes a noise amplification factor of 1/λ_i
  • The smallest eigenvalues dominate the noise floor of the coefficient estimate
  • Result: The estimated predistorter coefficients contain a large random component that does not represent the true PA inverse, degrading ACLR rather than improving it

This is why direct matrix inversion without regularization often produces coefficients that perform worse than no predistortion at all.

05

Slow or Divergent Convergence

Adaptive algorithms exhibit pathological convergence behavior when operating on ill-conditioned cost surfaces. The error contour becomes a highly elongated valley rather than a symmetric bowl.

  • LMS/NLMS: The convergence rate is bounded by λ_min/λ_max. As this ratio approaches zero, convergence stalls or the algorithm diverges entirely
  • RLS: While theoretically immune to eigenvalue spread, finite-precision RLS suffers from covariance matrix blow-up when R is ill-conditioned
  • SGD: The gradient direction oscillates along the steep eigen-directions while making negligible progress along flat ones, requiring impractically small learning rates

Monitoring the error signal power over adaptation cycles reveals whether the system is converging or trapped in an ill-conditioned stall.

06

Large Solution Norm

A hallmark of ill-conditioned least-squares solutions is an excessively large coefficient vector norm ||x||. The estimator compensates for near-collinearity in the basis functions by assigning large, opposing-magnitude coefficients that cancel each other out.

  • Indicator: Coefficient magnitudes exceed physically meaningful bounds for the PA's nonlinear order
  • Mechanism: The solution exploits numerical cancellation between nearly dependent basis functions to fit noise rather than signal
  • Hardware consequence: Large coefficients demand extended bit-widths in FPGA implementations, increasing resource utilization and latency

This is the mathematical manifestation of overfitting in the linear least-squares context, and it is the primary motivation for applying Tikhonov regularization (ridge regression) to penalize large ||x||.

ILL-CONDITIONING IN DPD

Frequently Asked Questions

Explore the root causes, consequences, and mitigation strategies for ill-conditioning in digital predistortion coefficient estimation.

Ill-conditioning is a numerical state where the correlation matrix formed by the DPD basis functions has a high condition number, making the coefficient estimation highly sensitive to small perturbations in the input data or rounding errors. In practical terms, a small amount of noise in the feedback receiver or minor numerical truncation can cause the computed predistorter coefficients to swing wildly, resulting in an unstable or inaccurate linearization solution. This condition typically arises when the basis functions are highly correlated with each other, meaning the input signal does not sufficiently excite all the nonlinear modes independently. The condition number, defined as the ratio of the largest to smallest singular value of the correlation matrix, quantifies the severity of the problem—values exceeding 40-50 dB often indicate a numerically fragile estimation problem that will fail on fixed-point hardware.

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.