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.
Glossary
Least Squares Estimation

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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
| Feature | Least 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 |
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Mastering least squares estimation requires understanding the core adaptive algorithms, numerical stability challenges, and performance metrics that govern digital predistortion coefficient extraction.
Recursive Least Squares (RLS)
An adaptive filtering algorithm that recursively finds the coefficients minimizing a weighted linear least squares cost function. Unlike block-based least squares, RLS updates the coefficient vector with each new sample, offering faster convergence than gradient-based methods at the cost of higher computational complexity.
- Converges in approximately 2N iterations where N is the number of coefficients
- Computational complexity of O(N²) per iteration
- Particularly effective for tracking time-varying PA nonlinearities
- Forms the basis for many closed-loop DPD training architectures
Least Mean Squares (LMS)
A stochastic gradient descent algorithm that updates filter coefficients based on the instantaneous estimate of the mean squared error gradient. LMS trades convergence speed for computational simplicity, making it attractive for resource-constrained FPGA implementations.
- Complexity of only O(N) per iteration
- Requires careful step-size tuning to balance convergence and misadjustment
- Susceptible to slow convergence when the input signal has a high eigenvalue spread
- Often used in sample-by-sample update DPD architectures
Condition Number
A measure of the sensitivity of a matrix to numerical errors during inversion. In least squares estimation, the condition number of the autocorrelation matrix determines how small perturbations in the data amplify into large errors in the coefficient solution.
- A condition number near 1 indicates a well-conditioned, stable problem
- Values above 10⁴ signal potential numerical instability
- High condition numbers arise from correlated input signals or insufficient excitation
- Mitigated through Tikhonov regularization or QR decomposition methods
Tikhonov Regularization
A ridge regression technique that adds a penalty term proportional to the squared L2-norm of the coefficient vector to the least squares cost function. This stabilizes the solution of ill-posed inverse problems common in DPD coefficient extraction.
- Adds a regularization parameter λ that controls the bias-variance tradeoff
- Effectively reduces the effective condition number of the system
- Prevents coefficient drift and overfitting to measurement noise
- Equivalent to assuming a Gaussian prior on the coefficients in a Bayesian framework
Normalized Mean Squared Error (NMSE)
The primary metric for evaluating least squares estimation quality in DPD applications. NMSE represents the mean squared error between the ideal linear output and the actual linearized output, normalized by the input signal power to provide a scale-invariant measure.
- Expressed in decibels (dB) for intuitive interpretation
- Values below -40 dB typically indicate excellent linearization
- Directly reflects the minimization objective of the least squares cost function
- Used alongside ACPR and EVM for comprehensive DPD validation
QR-RLS Algorithm
A numerically stable implementation of the Recursive Least Squares algorithm that uses QR decomposition to solve the least squares problem without explicitly computing the matrix inverse. This approach dramatically improves robustness to ill-conditioning.
- Operates directly on the data matrix using orthogonal transformations
- Avoids the numerical issues of the standard RLS Riccati equation
- Can be implemented efficiently using Givens rotations on systolic arrays
- Preferred for fixed-point FPGA implementations where numerical precision is limited

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.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us