Inferensys

Glossary

Basis Function Orthogonalization

A numerical conditioning process that transforms correlated polynomial basis functions into an orthogonal set to improve the stability and convergence speed of coefficient estimation in digital predistortion systems.
Developer building agentic RAG system, retrieval pipeline diagram on laptop, technical workspace with notes.
NUMERICAL CONDITIONING

What is Basis Function Orthogonalization?

A numerical conditioning process that transforms correlated polynomial basis functions into an orthogonal set to improve the stability and convergence speed of coefficient estimation in digital predistortion.

Basis function orthogonalization is a numerical preprocessing technique that decorrelates the regressor matrix in a behavioral model by transforming correlated polynomial terms into a mutually orthogonal set. This process directly addresses the ill-conditioning problem inherent in high-order memory polynomial models, where signal sample powers become highly correlated, causing the least squares (LS) estimation matrix to become nearly singular and numerically unstable.

By applying methods such as QR decomposition (QRD) or Gram-Schmidt orthogonalization to the basis function matrix, the condition number is dramatically reduced, enabling faster convergence in recursive least squares (RLS) and more robust coefficient extraction. This transformation is critical for real-time predistorter synthesis on embedded hardware, where numerical precision is limited and stable, rapid adaptation is required to track power amplifier nonlinearity changes.

NUMERICAL CONDITIONING

Key Characteristics of Orthogonalized Basis Functions

Orthogonalization transforms a set of correlated polynomial basis functions into a mutually independent set, dramatically improving the stability and convergence speed of coefficient estimation algorithms.

01

Zero Cross-Correlation

The defining property of an orthogonalized set is that the inner product between any two distinct basis functions is zero. This eliminates the statistical interdependence that causes the normal equation matrix to become ill-conditioned. In practice, this means that the information contributed by each basis function is unique and non-redundant, allowing the estimator to assign coefficient values independently without interference from correlated regressors.

02

Improved Condition Number

The condition number of the data matrix—the ratio of its largest to smallest singular value—is a direct measure of numerical stability. A raw polynomial basis can have condition numbers exceeding 10¹², making matrix inversion extremely sensitive to quantization noise. Orthogonalization reduces this to values near 10³–10⁴, ensuring that fixed-point arithmetic in FPGA implementations does not amplify rounding errors into coefficient divergence.

03

Faster Coefficient Convergence

Because each orthogonal basis function contributes independently to the error reduction, adaptive algorithms like Recursive Least Squares (RLS) and Least Mean Squares (LMS) converge in fewer iterations. The eigenvalue spread of the autocorrelation matrix is minimized, eliminating the slow modes that dominate convergence time in correlated bases. This is critical for tracking thermal memory effects that drift on millisecond timescales.

04

Gram-Schmidt Orthogonalization

The classic sequential procedure for constructing an orthogonal set from a polynomial basis:

  • Start with the first basis function unchanged
  • For each subsequent function, subtract its projection onto all previously orthogonalized functions
  • Normalize each result to unit norm if orthonormality is required This method is deterministic and preserves the span of the original basis, but can accumulate numerical error in finite precision for high-order systems.
05

QR Decomposition Approach

A numerically superior alternative to Gram-Schmidt that operates directly on the basis function matrix. By factoring the matrix into an orthogonal matrix Q and an upper triangular matrix R, the least-squares solution becomes a simple back-substitution. This method uses Householder reflections or Givens rotations, which are inherently stable and map efficiently to systolic array hardware architectures in FPGAs.

06

Decorrelation for Sparse Selection

Orthogonalization is a critical preprocessing step for sparse model selection algorithms like Orthogonal Matching Pursuit (OMP). By decorrelating the candidate dictionary, each iteration's selection of the most significant basis function is unambiguous. Without orthogonalization, OMP may select redundant terms that explain the same distortion component, wasting computational resources on coefficients that provide no incremental linearization benefit.

NUMERICAL CONDITIONING

Frequently Asked Questions

Clarifying the role of basis function orthogonalization in stabilizing the coefficient estimation process for memory polynomial digital predistorters.

Basis function orthogonalization is a numerical conditioning process that transforms a set of correlated polynomial basis functions into a mutually orthogonal set to improve the stability and convergence speed of coefficient estimation. In a memory polynomial model, the basis functions—generated by applying nonlinear operations and time delays to the input signal—are often highly correlated. This correlation leads to an ill-conditioned data matrix, making the least squares (LS) solution sensitive to noise and numerical errors. Orthogonalization, often achieved via QR decomposition (QRD) or Gram-Schmidt procedures, restructures these functions so that each new basis vector is orthogonal to all previous ones, ensuring the autocorrelation matrix is well-conditioned and easily invertible.

NUMERICAL CONDITIONING

Applications in Digital Predistortion Systems

Basis function orthogonalization transforms correlated polynomial terms into an independent set, dramatically improving the stability and convergence speed of coefficient estimation in adaptive predistortion systems.

01

Ill-Conditioning in the Data Matrix

In memory polynomial models, basis functions like x(n)|x(n)|^k and x(n-1)|x(n-1)|^k are highly correlated, especially for modern wideband signals with high sample rates. This correlation creates a near-singular autocorrelation matrix during least squares estimation. The condition number—the ratio of the largest to smallest eigenvalue—can exceed 10^12, making the solution hypersensitive to measurement noise and quantization errors. Small perturbations in the captured PA output data lead to wildly different coefficient vectors, preventing reliable linearization.

> 10^12
Typical Condition Number
03

Modified Gram-Schmidt for Stability

Classical Gram-Schmidt suffers from catastrophic cancellation in finite-precision arithmetic, where accumulated rounding errors destroy orthogonality. The modified Gram-Schmidt (MGS) algorithm restructures the computation to subtract projections one at a time:

  • For each new basis vector, immediately remove its projection onto ψ₁, then onto ψ₂, and so on
  • This reordering reduces error accumulation by a factor proportional to the condition number In FPGA implementations with 18-bit or 25-bit fixed-point multipliers, MGS is essential to maintain orthogonality to within -60 dB of the theoretical ideal, preventing the re-emergence of ill-conditioning during real-time adaptation.
-60 dB
Orthogonality Floor
04

Eigenvalue Spread Reduction

Orthogonalization directly compresses the eigenvalue spread of the data covariance matrix. Before transformation, eigenvalues may span 10 orders of magnitude, with the smallest eigenvalues buried in the noise floor. After orthogonalization, the eigenvalue spread approaches unity (0 dB), meaning all basis functions contribute with equal weight to the solution. This has three critical effects:

  • Convergence speed in LMS-type adaptive algorithms becomes uniform across all modes
  • The misadjustment noise in the coefficient estimate is minimized
  • Step-size bounds for gradient algorithms can be set aggressively without risking instability
~0 dB
Ideal Eigenvalue Spread
05

Orthogonalization in the Indirect Learning Architecture

In the indirect learning architecture, the postdistorter is trained on the PA output to estimate the inverse. Orthogonalization is applied to the regressor matrix formed from the PA output samples. The process:

  • Step 1: Generate the full set of memory polynomial basis functions from the captured PA output
  • Step 2: Apply MGS to create an orthogonal basis spanning the same subspace
  • Step 3: Solve for coefficients in the orthogonal domain using simple back-substitution
  • Step 4: Transform coefficients back to the original polynomial basis for predistorter implementation This avoids the need to compute a matrix inverse directly, reducing the O(N³) complexity to O(N²).
06

Real-Time Orthogonalization with Sliding Windows

For online adaptation, orthogonalization must operate on a sliding window of recent samples to track changing PA characteristics due to temperature drift or supply voltage variation. Techniques include:

  • Recursive QR decomposition: Updates the orthogonal factorization with each new sample using Givens rotations, avoiding full recomputation
  • Exponential forgetting factors: Weight recent samples more heavily, with λ typically between 0.95 and 0.999
  • Block-based re-orthogonalization: Periodically re-applies MGS to a fresh block of samples to purge accumulated numerical drift These methods maintain a condition number below 10³ even during rapid thermal transients in GaN Doherty amplifiers.
< 10³
Online Condition Number
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.