Inferensys

Glossary

Forgetting Factor

A scalar parameter in recursive estimation algorithms that exponentially weights recent data more heavily than past data, enabling the model to track slowly time-varying amplifier characteristics.
Data scientist building training data pipeline on laptop, data preprocessing visible, technical workspace.
ADAPTIVE PARAMETER ESTIMATION

What is Forgetting Factor?

A scalar parameter in recursive estimation algorithms that exponentially weights recent data more heavily than past data, enabling the model to track slowly time-varying amplifier characteristics.

The forgetting factor (λ) is a scalar constant, typically between 0.9 and 1.0, applied in Recursive Least Squares (RLS) algorithms to discount older observations. It introduces exponential weighting, where the influence of a data sample decays geometrically with time, ensuring the coefficient estimation adapts to non-stationary amplifier behavior caused by thermal drift or bias shifts.

A lower λ provides faster tracking of dynamic changes but increases sensitivity to measurement noise, while a value near 1.0 maximizes estimation accuracy for static systems. This mechanism directly combats the covariance matrix wind-up problem in persistent excitation scenarios, enabling continuous online training without requiring periodic resets of the covariance matrix.

Adaptive Parameter Estimation

Key Characteristics of the Forgetting Factor

The forgetting factor is a critical scalar parameter in recursive estimation that governs the algorithm's ability to track time-varying systems by controlling the exponential decay of historical data influence.

01

Exponential Weighting Mechanism

The forgetting factor λ (lambda) applies an exponential decay to past data, where each older sample is weighted by λ^k (k = sample age). This creates a sliding window of effective memory without storing historical data. A value of λ = 0.99 means a sample 100 iterations ago contributes only 37% of its original weight, enabling the algorithm to gracefully forget stale information while maintaining numerical stability.

0.95–0.999
Typical λ Range
1/(1-λ)
Effective Memory (samples)
02

Tracking vs. Steady-State Tradeoff

The forgetting factor directly controls the bias-variance tradeoff in adaptive systems:

  • λ → 1.0: Near-infinite memory, low steady-state misadjustment, but slow tracking of parameter changes
  • λ < 0.99: Fast adaptation to time-varying amplifier characteristics, but increased noise sensitivity
  • λ < 0.95: Risk of estimator instability and coefficient divergence

For power amplifier linearization, λ is typically tuned to track thermal memory effects occurring over millisecond timescales while rejecting measurement noise.

λ=0.999
Slow Thermal Tracking
λ=0.98
Fast Envelope Tracking
03

RLS Implementation with Forgetting

In Recursive Least Squares (RLS) algorithms, the forgetting factor is embedded in the inverse correlation matrix update:

P(k) = (1/λ) × [P(k-1) − K(k) × u^T(k) × P(k-1)]

Where P(k) is the inverse autocorrelation matrix and K(k) is the Kalman gain vector. The division by λ effectively inflates the covariance, preventing P(k) from collapsing to zero and maintaining the algorithm's ability to adapt. Without this mechanism, RLS would become frozen after processing sufficient data.

O(N²)
RLS Complexity
O(N)
LMS Complexity
04

Variable Forgetting Factor Strategies

Fixed forgetting factors cannot simultaneously achieve fast transient response and low steady-state error. Variable forgetting factor (VFF) schemes dynamically adjust λ based on:

  • Prediction error magnitude: Increase forgetting when error spikes indicate system change
  • Gradient-based adaptation: Adjust λ to minimize mean-square error
  • Change detection: Reset λ temporarily when abrupt parameter shifts are detected

In Doherty amplifier DPD, VFF schemes excel because the amplifier's nonlinear characteristic shifts dramatically during load modulation transitions, requiring rapid re-estimation followed by stable operation.

30–50%
Convergence Speed Improvement
2–5 dB
Steady-State ACLR Gain
05

Numerical Stability Considerations

As λ decreases below 0.99, the condition number of the correlation matrix can deteriorate, leading to:

  • Covariance blow-up: P(k) grows exponentially during low-excitation periods
  • Coefficient bursting: Parameter estimates oscillate wildly when input signal power drops

Mitigation techniques include:

  • Regularized RLS: Adding a diagonal loading term to stabilize P(k)
  • Covariance reset: Periodically reinitializing P(k) to prevent divergence
  • Leakage factor: Combining forgetting with coefficient leakage toward zero

These safeguards are essential for FPGA-based DPD implementations where fixed-point arithmetic amplifies numerical issues.

< 10⁶
Safe Condition Number
> 10⁸
Divergence Risk Threshold
06

Relationship to Kalman Filtering

The forgetting factor RLS is mathematically equivalent to a Kalman filter with a specific state-space model where:

  • Process noise covariance is scaled by (1/λ − 1)
  • The forgetting mechanism models parameter drift as a random walk

This connection provides a Bayesian interpretation: λ encodes the engineer's prior belief about how quickly amplifier characteristics change. In massive MIMO DPD, where each antenna element experiences different thermal dynamics, this probabilistic framework enables systematic tuning of forgetting factors across the array.

λ=0.9999
Quasi-Static Channels
λ=0.99
Mobile Channel Tracking
ADAPTIVE WEIGHTING STRATEGIES

Forgetting Factor vs. Sliding Window Approaches

Comparison of exponential forgetting and sliding window methods for recursive parameter estimation in time-varying power amplifier behavioral models.

FeatureExponential Forgetting FactorSliding Window (Rectangular)Sliding Window (Exponential)

Weighting mechanism

Exponential decay: λ^k applied to past errors

Uniform weight within window, zero outside

Exponential decay within finite window

Memory horizon

Infinite (theoretically), controlled by λ

Finite, exactly N samples

Finite, effectively truncated by window length

Computational complexity

O(n²) per iteration for standard RLS

O(n²) per iteration with full recomputation

O(n²) per iteration, similar to RLS

Steady-state tracking error

0.3% to 1.2% NMSE for slow drift

0.5% to 2.0% NMSE, depends on window size

0.2% to 0.8% NMSE, best of both methods

Convergence speed after abrupt change

Moderate, 50-200 samples

Fast, resets completely after N samples

Fast, 30-100 samples with proper tuning

Numerical stability

Covariance windup possible with λ < 0.99

Stable, no windup risk

Stable, bounded memory prevents windup

Suitability for stationary segments

Suitability for gradual parameter drift

FORGETTING FACTOR IN ADAPTIVE DPD

Frequently Asked Questions

Explore the critical role of the forgetting factor in recursive estimation algorithms for tracking time-varying power amplifier characteristics in digital predistortion systems.

A forgetting factor (typically denoted as λ, lambda) is a scalar parameter in recursive estimation algorithms that applies exponential weighting to measurement data, giving greater importance to recent samples while progressively discounting older observations. In the context of digital predistortion (DPD), this mechanism enables the coefficient estimation algorithm to track slowly time-varying power amplifier characteristics caused by temperature drift, aging, and bias fluctuations. Mathematically, the forgetting factor is bounded between 0 and 1 (typically 0.95 < λ < 0.999), where a smaller value corresponds to a shorter memory horizon and faster adaptation to changing conditions.

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.