The forgetting factor (typically denoted λ, 0 < λ ≤ 1) is a scalar parameter in recursive least squares (RLS) and related adaptive algorithms that applies an exponential decay to historical data. Each past sample is weighted by λ raised to the power of its age, geometrically reducing the influence of older observations on current coefficient estimates. A value of λ = 1 retains all data equally, while λ < 1 progressively discounts the past.
Glossary
Forgetting Factor

What is Forgetting Factor?
A scalar parameter in recursive estimation algorithms that applies exponential weighting to prioritize recent observations over older data, enabling real-time adaptation to time-varying systems.
In digital predistortion (DPD) applications, the forgetting factor enables the coefficient estimator to track time-varying power amplifier nonlinearities caused by temperature drift, aging, and changing operating conditions. Selecting λ involves a direct trade-off: smaller values yield faster tracking but higher steady-state variance, while values near unity provide smoother estimates but slower adaptation to system changes.
Key Characteristics of the Forgetting Factor
The forgetting factor is a critical scalar that governs the memory of recursive estimation algorithms, enabling them to track time-varying systems by exponentially discounting stale observations.
Exponential Weighting Mechanism
The forgetting factor (λ) applies an exponential decay to historical data. Each past sample is weighted by λᵏ, where k is the sample age. A value of λ=0.99 means a sample 100 iterations ago contributes only 37% of its original weight. This creates a sliding window of relevance without the computational burden of storing a finite buffer, making it ideal for real-time embedded DSP systems.
Effective Memory Horizon
The forgetting factor directly defines the asymptotic memory length of the algorithm. The effective window length N is approximated by N ≈ 1/(1-λ).
- λ=0.99 → N ≈ 100 samples
- λ=0.999 → N ≈ 1000 samples
- λ=0.9 → N ≈ 10 samples This relationship allows engineers to tune the algorithm's responsiveness to physical changes in the power amplifier's thermal state or aging characteristics.
Tracking vs. Stability Tradeoff
Selecting λ embodies the classic bias-variance tradeoff in adaptive filtering:
- High λ (close to 1): Lower steady-state misadjustment and better noise rejection, but sluggish response to PA characteristic changes.
- Low λ (e.g., 0.95): Rapid tracking of dynamic nonlinearities, but increased parameter variance and sensitivity to measurement noise. The optimal value depends on the coherence time of the physical distortion process being linearized.
Implementation in RLS-DPD
In Recursive Least Squares (RLS) for digital predistortion, λ is embedded directly in the inverse correlation matrix update: P(k) = λ⁻¹[P(k-1) - K(k)uᵀ(k)P(k-1)]. This prevents P(k) from collapsing to zero as data accumulates, ensuring the algorithm maintains persistent excitation and can continuously adapt predistorter coefficients. Without λ, RLS would eventually become insensitive to new measurements.
Variable Forgetting Factor Strategies
Advanced DPD implementations use time-varying λ(k) to optimize performance:
- Burst detection: Temporarily lower λ when a sudden change in signal statistics or PA operating point is detected.
- Covariance-trace monitoring: Automatically adjust λ based on the trace of the inverse correlation matrix to maintain numerical stability.
- Error-driven adaptation: Reduce λ when the linearization error exceeds a threshold, enabling rapid re-convergence after abrupt changes.
Numerical Stability Considerations
In fixed-point FPGA implementations, λ must be carefully quantized. Values too close to 1.0 can cause accumulator overflow in the recursive updates. Common practice uses λ in the range [0.95, 0.999] with Q15 or Q31 fixed-point representation. QR-RLS implementations using Givens rotations offer superior numerical stability by directly operating on the square-root of the correlation matrix, mitigating round-off error amplification.
Frequently Asked Questions
Explore the critical role of the forgetting factor in recursive estimation, its impact on tracking versus stability, and practical implementation guidelines for time-varying digital predistortion systems.
A forgetting factor (typically denoted as λ, lambda) is a scalar parameter in recursive estimation algorithms that applies exponential weighting to error data, giving greater importance to recent samples while progressively discounting older observations. Mathematically, it modifies the cost function to minimize the exponentially weighted sum of squared errors: J(n) = Σ λ^(n-i) |e(i)|², where 0 < λ ≤ 1. When λ = 1, all data is weighted equally (infinite memory, suitable for stationary systems). When λ < 1, the algorithm's memory decays with a time constant of approximately τ = 1/(1-λ) samples, enabling the estimator to track time-varying system dynamics. In digital predistortion (DPD) applications, the forgetting factor allows the coefficient estimation algorithm to continuously adapt to changes in power amplifier behavior caused by temperature drift, aging, or channel frequency switching.
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.
Forgetting Factor vs. Alternative Windowing Methods
Comparison of exponential forgetting against sliding and rectangular windowing techniques for recursive parameter estimation in time-varying systems.
| Feature | Exponential Forgetting | Sliding Window | Rectangular Window |
|---|---|---|---|
Weighting Profile | Exponential decay | Uniform within window | Uniform within block |
Recursive Update | |||
Memory Requirement | O(N) for correlation matrix | O(M) where M is window length | O(M) for batch storage |
Computational Complexity per Sample | O(N²) for standard RLS | O(M²) per window shift | O(M³) per batch solve |
Tracking Capability | Continuous adaptation | Abrupt adaptation at window boundaries | Delayed adaptation between batches |
Steady-State Misadjustment | 0.1-1.0% typical | 0.05-0.5% typical | 0.01-0.1% typical |
Numerical Stability | Moderate (requires regularization) | Good (bounded memory) | Excellent (independent blocks) |
Suitable for Non-Stationary Systems |
Related Terms
The forgetting factor is a critical parameter within a broader landscape of adaptive algorithms. Understanding its role requires familiarity with the core estimation methods and numerical techniques that govern real-time coefficient updates.
Recursive Least Squares (RLS)
The canonical algorithm where the forgetting factor is most prominently applied. RLS recursively updates the inverse of the input correlation matrix to achieve an exact solution at each iteration. The forgetting factor (λ) exponentially weights past data, enabling the algorithm to track time-varying systems by discarding obsolete information. Without it, RLS would suffer from estimator wind-up in non-stationary environments.
Least Mean Squares (LMS)
A foundational stochastic gradient algorithm that serves as a low-complexity alternative to RLS. Unlike RLS, LMS does not use an explicit forgetting factor; its tracking ability is governed solely by the step size (μ). A larger step size provides faster tracking but higher misadjustment, creating a direct trade-off analogous to tuning λ in RLS for non-stationary environments.
Kalman Filter
An optimal recursive state estimator that generalizes RLS. When the state transition matrix is set to the identity divided by the square root of the forgetting factor, the Kalman filter reduces to a forgetting factor RLS algorithm. This connection reveals that λ corresponds to an assumption about process noise covariance, providing a stochastic state-space interpretation of exponential weighting.
Regularization Parameter
A scalar added to the diagonal of the correlation matrix to prevent ill-conditioning. While the forgetting factor controls temporal weighting, the regularization parameter controls initial bias. In the initialization of RLS, the inverse correlation matrix is set to δ⁻¹I, where δ is a small positive constant. This ensures the matrix is invertible before sufficient data has been collected.
Convergence Rate vs. Misadjustment
The fundamental trade-off in adaptive filtering. A forgetting factor close to 1.0 provides low misadjustment (steady-state error) but slow convergence when the system changes. A smaller λ provides rapid tracking of non-stationary dynamics but increases noise sensitivity. This mirrors the bias-variance tradeoff in machine learning and is the central design tension in coefficient estimation.

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