Normalized Least Mean Squares (NLMS) is a variant of the Least Mean Squares (LMS) algorithm where the adaptation step size is normalized by the Euclidean norm of the input vector. This normalization makes the convergence behavior independent of the input signal's power, preventing gradient noise amplification when the input is large and maintaining convergence speed when the input is small.
Glossary
Normalized Least Mean Squares (NLMS)

What is Normalized Least Mean Squares (NLMS)?
The Normalized Least Mean Squares (NLMS) algorithm is an adaptive filtering technique that improves upon the standard LMS algorithm by normalizing the step size with the power of the input signal, ensuring stable convergence even when signal levels fluctuate.
The update equation divides the fixed step size parameter by the sum of squared input samples plus a small regularization constant to avoid division by zero. This self-stabilizing property makes NLMS particularly valuable in digital predistortion (DPD) and echo cancellation, where the input signal's amplitude can vary dramatically due to modulation schemes like OFDM.
Key Features of NLMS
Normalized Least Mean Squares (NLMS) is an adaptive filtering algorithm that extends LMS by normalizing the step size with the input signal power. This self-stabilizing mechanism ensures robust convergence even when signal levels fluctuate dramatically.
Input Power Normalization
The defining feature of NLMS is the step-size normalization by the Euclidean norm of the input vector. The update equation is:
w(n+1) = w(n) + [μ / (||x(n)||² + ε)] * e(n) * x(n)
- ||x(n)||²: Squared norm of the input signal vector
- ε: Small regularization constant preventing division by zero
- μ: Step-size parameter (0 < μ < 2 for stability)
This normalization decouples convergence behavior from input signal scaling, making the algorithm inherently resistant to gradient noise amplification during loud signal bursts.
Gradient Noise Mitigation
Standard LMS suffers from a gradient noise amplification problem: when the input signal power is large, the instantaneous gradient estimate becomes proportionally large, causing coefficient overshoot.
NLMS solves this by:
- Normalizing the correction term at each iteration
- Ensuring the a posteriori error is zero after each update in the noise-free case
- Providing the solution that exhibits minimum disturbance to the existing coefficient vector
This makes NLMS the normalized solution to the constrained optimization problem of minimizing coefficient change while achieving zero a posteriori error.
Convergence Rate Independence
Unlike LMS, where convergence speed depends on the eigenvalue spread of the input autocorrelation matrix, NLMS convergence is largely independent of input signal statistics.
Key properties:
- Fast initial convergence even with highly colored input signals
- Uniform convergence rate across all filter modes
- μ = 1 provides the fastest convergence in stationary environments
- Convergence guaranteed for 0 < μ < 2 regardless of input power
This statistical independence makes NLMS the preferred choice for applications with non-stationary or unpredictable signal characteristics, such as DPD coefficient tracking in wireless transmitters.
Computational Complexity
NLMS adds minimal overhead compared to standard LMS while delivering significantly improved robustness:
- LMS complexity: 2N + 1 multiplications per iteration (N = filter length)
- NLMS complexity: 3N + 1 multiplications per iteration
- The additional cost is computing ||x(n)||², which can be updated recursively:
||x(n)||² = ||x(n-1)||² + x²(n) - x²(n-N)
This O(N) complexity makes NLMS suitable for real-time FPGA and DSP implementations in DPD systems, where sample rates exceed hundreds of MHz.
Regularization Parameter ε
The regularization constant ε prevents numerical instability when the input signal power approaches zero:
- Typical value: ε = 0.01 to 0.001 relative to expected signal power
- Acts as a soft threshold preventing infinite step-size magnification
- Introduces a slight bias-variance tradeoff: larger ε improves stability but slows convergence
- In DPD applications, ε must be tuned to handle signal dropouts during transmission gaps
Without ε, silent periods in the input signal would cause division by near-zero values, leading to coefficient divergence and potential amplifier damage.
Relationship to Affine Projection
NLMS can be understood as a special case of the Affine Projection Algorithm (APA) with projection order P = 1:
- APA reuses past input vectors to accelerate convergence with colored signals
- NLMS uses only the current input vector for the gradient estimate
- As P increases, APA approaches RLS performance at higher computational cost
This hierarchical relationship allows DPD designers to scale algorithm complexity based on available hardware resources, starting with NLMS and upgrading to APA if faster convergence is required for wideband signals.
NLMS vs. LMS vs. RLS
Comparative analysis of convergence properties, computational complexity, and stability for the three primary adaptive filtering algorithms used in coefficient estimation for digital predistortion.
| Feature | NLMS | LMS | RLS |
|---|---|---|---|
Update Equation Basis | Normalized stochastic gradient | Stochastic gradient descent | Weighted least squares |
Step Size Normalization | |||
Convergence Speed | Fast (input-independent) | Slow (input-dependent) | Very fast |
Sensitivity to Input Power Fluctuations | Low | High | Low |
Computational Complexity per Iteration | O(N) | O(N) | O(N²) |
Steady-State Misadjustment | Low | Moderate | Very low |
Numerical Stability in Ill-Conditioned Systems | Good (with regularization) | Poor | Excellent |
Memory Requirement | Low | Low | High |
Frequently Asked Questions
Clear, technical answers to common questions about the Normalized Least Mean Squares algorithm, its convergence properties, and its role in adaptive digital predistortion systems.
The Normalized Least Mean Squares (NLMS) algorithm is an adaptive filtering technique that updates filter coefficients by normalizing the step size parameter with the instantaneous power of the input signal vector. Unlike the standard Least Mean Squares (LMS) algorithm, which uses a fixed step size, NLMS computes the step size as μ / (‖x(n)‖² + ε), where ‖x(n)‖² is the squared Euclidean norm of the input vector and ε is a small regularization constant preventing division by zero. This data-dependent normalization makes the convergence behavior independent of input signal scaling, solving the gradient noise amplification problem that plagues standard LMS when signal levels fluctuate—a critical advantage in digital predistortion (DPD) systems where communication waveforms like OFDM exhibit high peak-to-average power ratios (PAPR).
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
Understanding NLMS requires familiarity with the foundational algorithms and core challenges it addresses in adaptive filter theory and model extraction.
Least Mean Squares (LMS)
The foundational stochastic gradient descent algorithm from which NLMS is derived. LMS adapts filter coefficients sample-by-sample using a fixed step size, minimizing instantaneous squared error. Its primary vulnerability is gradient noise amplification when input signal power fluctuates, leading to slow convergence or instability. NLMS directly addresses this by normalizing the step size.
Recursive Least Squares (RLS)
An adaptive algorithm offering order-of-magnitude faster convergence than NLMS by minimizing a weighted least-squares cost function. RLS recursively computes the inverse of the input autocorrelation matrix, achieving insensitivity to input signal conditioning. The trade-off is quadratic computational complexity (O(N²)) versus NLMS's linear complexity (O(N)), making RLS prohibitive for many real-time embedded systems.
Step Size Normalization
The core mechanism distinguishing NLMS from LMS. The fixed step size μ is divided by the squared Euclidean norm of the input vector plus a small regularization constant ε:
- Prevents divergence during high-power signal bursts
- Accelerates convergence during low-power periods
- The regularization parameter ε prevents division by zero during silent intervals
- Optimal normalized step size typically lies in the range 0.1 to 0.9 for stable operation
Ill-Conditioning
A numerical pathology where the condition number of the input correlation matrix becomes extremely large. In such scenarios, the error surface forms steep, narrow valleys that cause gradient-based algorithms like NLMS to oscillate or stall. Ill-conditioning commonly arises from:
- Highly correlated basis functions in behavioral models
- Narrowband or tonal training signals
- Insufficient spectral excitation during model extraction
Forgetting Factor
A scalar parameter β ∈ (0,1] that exponentially discounts past data in recursive estimation. While native NLMS does not use a forgetting factor, its leaky NLMS variant incorporates one to prevent coefficient windup in fixed-point implementations. The effective memory of the algorithm is approximately 1/(1-β) samples. Typical values range from 0.95 to 0.999 for tracking slowly varying power amplifier characteristics.

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