Inferensys

Glossary

Least Squares Estimation

A mathematical regression approach that finds the best-fitting model by minimizing the sum of the squares of the residuals between observed and predicted data.
Data scientist building training data pipeline on laptop, data preprocessing visible, technical workspace.
FOUNDATIONAL REGRESSION METHOD

What is Least Squares Estimation?

A mathematical optimization technique for finding the best-fitting model parameters by minimizing the sum of squared residuals between observed data and model predictions.

Least Squares Estimation (LSE) is a standard regression approach that determines optimal model coefficients by minimizing the sum of the squares of the differences—called residuals—between observed output data and the values predicted by a candidate model. In digital predistortion, LSE solves for the predistorter coefficients that best approximate the inverse nonlinear characteristic of the power amplifier.

The method is analytically tractable for linear-in-parameters models such as memory polynomials, where the optimal coefficient vector is obtained directly via the pseudo-inverse solution. However, when the data matrix becomes ill-conditioned—common with wideband signals—regularization techniques like Tikhonov regularization are applied to stabilize the solution and prevent coefficient drift.

FOUNDATIONAL ESTIMATION THEORY

Key Characteristics of Least Squares Estimation

Least squares estimation forms the mathematical backbone of coefficient extraction in digital predistortion. It provides a closed-form solution that minimizes the sum of squared residuals between the desired linear output and the actual power amplifier response.

01

Closed-Form Optimal Solution

Least squares provides a deterministic analytical solution rather than requiring iterative gradient descent. The normal equation XᵀXβ = Xᵀy directly computes the optimal coefficient vector β that minimizes the squared error. This is critical for burst training in DPD where coefficients must be extracted rapidly during dedicated calibration intervals. The solution is globally optimal for linear-in-parameters models like memory polynomials and generalized memory polynomials.

O(n³)
Computational Complexity
1-shot
Convergence Type
02

Residual Minimization Criterion

The cost function J(β) = ||y - Xβ||² penalizes larger errors quadratically, making the estimator highly sensitive to outliers but optimal for Gaussian noise distributions. In DPD applications, this directly minimizes the Normalized Mean Squared Error (NMSE) between the ideal predistorted signal and the PA output. The quadratic nature ensures a smooth, differentiable error surface with a single global minimum when the regressor matrix X is full rank.

Norm Type
NMSE
Primary DPD Metric
03

Gauss-Markov Assumptions

Least squares achieves the Best Linear Unbiased Estimator (BLUE) status when key assumptions hold: zero-mean errors, homoscedasticity (constant error variance), and uncorrelated residuals. In PA linearization, violations occur when measurement noise is colored or when the observation path introduces correlated distortions. Violations motivate alternatives like weighted least squares or generalized least squares for improved coefficient accuracy.

BLUE
Optimality Property
3
Core Assumptions
04

Ill-Conditioning and Regularization

When the regressor matrix X has a high condition number, the normal equation solution becomes numerically unstable. This occurs in DPD when basis functions are highly correlated or when the observation bandwidth is insufficient. Tikhonov regularization (ridge regression) adds a penalty term λ||β||² to stabilize the inversion, trading a small bias for significant variance reduction. The Levenberg-Marquardt algorithm extends this for nonlinear least squares problems.

κ(X)
Condition Number
λ
Regularization Parameter
05

Recursive Formulation for Online Adaptation

The Recursive Least Squares (RLS) algorithm reformulates the batch solution for sample-by-sample updates without full matrix inversion. At each time step k, the gain vector K(k) = P(k-1)x(k) / (λ + xᵀ(k)P(k-1)x(k)) updates coefficients incrementally. The forgetting factor λ (typically 0.95-0.999) controls the memory horizon, enabling tracking of thermal memory effects and coefficient drift in real-time closed-loop DPD systems.

O(n²)
Per-Sample Cost
0.95-0.999
Forgetting Factor Range
06

QR Decomposition for Numerical Stability

QR-RLS decomposes the regressor matrix X into an orthogonal matrix Q and upper triangular matrix R using Givens rotations or Householder reflections. This avoids explicitly computing the ill-conditioned XᵀX product, dramatically improving numerical robustness. In FPGA-based DPD implementations, systolic array architectures efficiently pipeline QR decomposition for high-throughput coefficient updates, essential for wideband signal linearization in 5G systems.

QR
Decomposition Method
Systolic
Hardware Architecture
LEAST SQUARES ESTIMATION

Frequently Asked Questions

Clear, technically precise answers to the most common questions about applying least squares estimation to digital predistortion coefficient extraction and power amplifier linearization.

Least squares estimation is a mathematical regression technique that finds the optimal digital predistorter coefficients by minimizing the sum of the squares of the residuals between the desired linear output signal and the actual power amplifier output. In DPD systems, the estimator constructs a system of linear equations from the basis waveforms generated by the predistorter model and solves for the coefficient vector that produces the minimum mean squared error. The closed-form solution is given by the normal equation: w = (X^H X)^(-1) X^H y, where X is the basis function matrix, y is the target vector, and w represents the predistorter coefficients. This approach is widely used in both indirect learning and direct learning architectures because it provides a deterministic, non-iterative solution when the model is linear in its parameters, making it suitable for real-time coefficient extraction in memory polynomial and generalized memory polynomial predistorters.

ESTIMATION ALGORITHM COMPARISON

Least Squares vs. Other DPD Coefficient Estimation Methods

Comparative analysis of least squares estimation against alternative adaptive filtering and optimization methods for digital predistorter coefficient extraction in power amplifier linearization applications.

FeatureLeast Squares (LS)Recursive Least Squares (RLS)Least Mean Squares (LMS)Kalman Filtering

Convergence Rate

Single-shot (batch)

Fast (exponential)

Slow (linear)

Fast (optimal)

Computational Complexity

O(N³) per block

O(N²) per sample

O(N) per sample

O(N²) per sample

Memory Requirement

High (full matrix)

Moderate (covariance)

Low (vector only)

High (state + covariance)

Numerical Stability

Condition-dependent

Good (with QR-RLS)

Excellent

Good (with square-root forms)

Tracks Time-Varying PA

Susceptible to Coefficient Drift

Misadjustment Error

Zero (batch optimal)

Low

Moderate-High

Low (with correct noise model)

Suitable for Burst Training

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.