Inferensys

Glossary

Condition Number

A scalar value measuring the sensitivity of a matrix inversion to small changes in input data, where a high value indicates an ill-conditioned regression problem prone to unstable solutions.
Data scientist building training data pipeline on laptop, data preprocessing visible, technical workspace.
NUMERICAL STABILITY METRIC

What is Condition Number?

The condition number quantifies the sensitivity of a linear system's solution to perturbations in the input data, serving as a critical diagnostic for the reliability of coefficient extraction in power amplifier behavioral modeling.

The condition number of a matrix is a scalar value measuring how much the output of a function can change for a small change in the input argument. In the context of digital predistortion (DPD) model extraction, it specifically refers to the condition number of the regression matrix formed by the basis functions. A matrix with a low condition number is considered well-conditioned, meaning the least squares (LS) solution for the model coefficients is stable and robust against measurement noise. Conversely, a high condition number indicates an ill-conditioned problem where the solution is hypersensitive to minor perturbations, leading to wildly oscillating coefficient values that fail to generalize to new signals.

High condition numbers arise from multicollinearity among the basis functions—when polynomial or memory terms are highly correlated, the covariance matrix becomes nearly singular. This makes the Moore-Penrose pseudoinverse numerically unstable, amplifying noise instead of extracting the true amplifier behavior. Mitigation strategies include regularization techniques like ridge regression, which adds an L2 penalty to the cost function, or principal component analysis (PCA) to orthogonalize the basis set. Monitoring the condition number is essential during model order estimation to balance accuracy against numerical robustness, preventing overfitting and ensuring the extracted behavioral model performs reliably in the indirect learning architecture or direct learning architecture.

NUMERICAL STABILITY METRIC

Key Characteristics of the Condition Number

The condition number quantifies the sensitivity of a matrix inversion to perturbations in input data, serving as a critical diagnostic for regression stability in power amplifier behavioral modeling.

01

Definition and Mathematical Formulation

The condition number of a matrix A is defined as the product of its norm and the norm of its inverse: κ(A) = ||A|| · ||A⁻¹||. For the spectral norm, this reduces to the ratio of the largest to smallest singular value: κ(A) = σₘₐₓ / σₘᵢₙ. A condition number of 1 indicates a perfectly orthogonal matrix, while values exceeding 10³ signal significant ill-conditioning. In digital predistortion, the regression matrix formed by basis functions often exhibits high condition numbers due to correlations between polynomial terms and memory taps.

κ = 1
Perfect Orthogonality
κ > 10³
Ill-Conditioned Threshold
02

Impact on Coefficient Estimation

A high condition number amplifies measurement noise and rounding errors during parameter extraction. Specifically, the relative error in the solution vector x is bounded by: ||Δx|| / ||x|| ≤ κ(A) · ||Δb|| / ||b||. This means that with κ = 10⁶, a 0.01% measurement error can produce a 100% error in estimated DPD coefficients. The resulting predistorter becomes unreliable, potentially worsening spectral regrowth rather than mitigating it. This sensitivity is particularly acute in overdetermined systems solved via the normal equations.

100×
Error Amplification at κ=10⁴
03

Causes in PA Behavioral Modeling

Ill-conditioning in DPD model extraction arises from several sources:

  • Multicollinearity: High correlation between odd-order polynomial basis functions (e.g., x|x|² and x|x|⁴) when driven by bandlimited signals
  • Oversampling: Using a sampling rate far exceeding the signal bandwidth creates near-linear dependencies between adjacent memory taps
  • Poor training waveform design: Insufficient peak-to-average power ratio fails to excite the amplifier's full nonlinear range, leaving basis functions underdetermined
  • Numerical precision limits: Accumulation of floating-point rounding errors in large covariance matrix constructions
04

Mitigation Through Regularization

Ridge regression directly addresses high condition numbers by adding a diagonal penalty term to the normal equations: x̂ = (AᵀA + λI)⁻¹Aᵀb. The regularization parameter λ effectively increases all singular values by λ, reducing the condition number to κ_ridge = (σₘₐₓ + λ) / (σₘᵢₙ + λ). This trades a small amount of bias for dramatically reduced variance. In practice, λ is selected via cross-validation or the Akaike Information Criterion to balance model fidelity against numerical stability.

λ > 0
Stabilizes Inversion
05

Orthogonal Basis Function Design

Replacing correlated polynomial terms with orthogonal basis functions fundamentally reduces the condition number. Techniques include:

  • Principal Component Analysis (PCA): Transforms the regression matrix into uncorrelated components ordered by variance, discarding dimensions with near-zero singular values
  • Orthogonal polynomials: Using Chebyshev or Legendre polynomials instead of standard monomials reduces multicollinearity
  • Gram-Schmidt orthogonalization: Iteratively constructs an orthonormal basis from the original regressors, ensuring κ approaches 1 These methods preserve modeling accuracy while eliminating the numerical fragility of direct polynomial fitting.
06

Monitoring and Diagnostic Thresholds

Real-time DPD systems should continuously monitor the condition number of the regression matrix during online training. Practical guidelines:

  • κ < 100: Well-conditioned; coefficient estimates are reliable
  • 100 < κ < 1000: Moderately ill-conditioned; monitor solution stability
  • κ > 1000: Severely ill-conditioned; apply regularization or switch to recursive least squares with a forgetting factor to reduce the effective data window
  • κ > 10⁶: Numerically singular for practical purposes; basis function redesign required Logging κ alongside post-distortion error provides early warning of model degradation.
< 100
Safe Operating Range
> 10⁶
Effectively Singular
CONDITION NUMBER

Frequently Asked Questions

Explore the critical role of the condition number in power amplifier behavioral modeling and digital predistortion coefficient extraction, where numerical stability directly determines solution accuracy.

The condition number is a scalar value that measures the sensitivity of the solution of a system of linear equations to perturbations in the input data or coefficient matrix. Formally, for a matrix A, the condition number is defined as κ(A) = ||A|| · ||A⁻¹||, where ||·|| denotes a matrix norm, typically the L2 norm. A condition number of 1 indicates a perfectly well-conditioned matrix, while a value approaching infinity signifies a singular or ill-conditioned matrix. In the context of least squares (LS) estimation for digital predistortion, the condition number of the regression matrix formed by the basis functions directly determines how much measurement noise is amplified into the coefficient estimates. A high condition number means that small errors in the captured power amplifier output data can cause large, unstable swings in the extracted Volterra series or memory polynomial coefficients, rendering the predistorter ineffective or even degrading linearity.

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.