Online training is a closed-loop adaptive estimation paradigm where DPD coefficients are updated recursively on a sample-by-sample or block-by-block basis during live transmission. Unlike offline training, which computes a static coefficient vector from a captured data batch, online training algorithms such as Recursive Least Squares (RLS) and Least Mean Squares (LMS) continuously minimize the instantaneous error between the desired linear output and the observed power amplifier output, allowing the predistorter to compensate for dynamic impairments caused by temperature drift, bias voltage fluctuations, and aging effects.
Glossary
Online Training

What is Online Training?
Online training is an adaptive estimation mode where digital predistortion (DPD) model coefficients are updated continuously in real-time as new signal samples arrive, enabling the linearizer to track time-varying power amplifier characteristics.
The core challenge of online training lies in balancing convergence rate against misadjustment and computational complexity. Fast-converging algorithms like RLS employ a forgetting factor to exponentially weight recent samples, enabling rapid tracking of thermal memory effects and Doherty amplifier load modulation. In contrast, gradient-based methods like Normalized LMS (NLMS) offer lower hardware complexity suitable for FPGA-based DPD implementation, where real-time coefficient estimation must operate within strict latency budgets while maintaining numerical stability through techniques such as regularization and QR decomposition.
Key Characteristics of Online Training
Online training is an adaptive estimation mode where digital predistortion (DPD) coefficients are updated continuously in real-time as new signal samples arrive, enabling the predistorter to track changing amplifier characteristics.
Sample-by-Sample Adaptation
Unlike offline training which processes a complete batch of captured data, online training updates the DPD coefficient vector with each new sample or small block of samples. This recursive update mechanism eliminates the need to store large matrices and recompute the full solution from scratch. Algorithms like Recursive Least Squares (RLS) and Least Mean Squares (LMS) are specifically designed for this incremental processing paradigm, making them ideal for embedded DSP implementations where memory and latency are constrained.
Tracking Non-Stationary Behavior
Power amplifiers exhibit time-varying characteristics due to thermal memory effects, aging, bias drift, and changing operating conditions. Online training continuously adapts the predistorter to these variations by incorporating a forgetting factor that exponentially weights recent data more heavily than past observations. This enables the system to track slow changes in amplifier gain compression and phase distortion without requiring periodic recalibration cycles or interrupting transmission.
Closed-Loop Error Minimization
Online training operates within a closed-loop feedback architecture where the error between the desired linear output and the actual power amplifier output drives coefficient updates. In the Direct Learning Architecture (DLA), this error is computed from the PA output and fed back to the predistorter adaptation block. The algorithm iteratively minimizes this error signal, converging toward the optimal inverse nonlinearity that linearizes the amplifier chain.
Computational Complexity Tradeoffs
Online algorithms present a spectrum of complexity-vs-convergence tradeoffs:
- LMS: O(N) complexity per iteration with slow convergence
- NLMS: O(N) complexity with improved stability under input power variations
- RLS: O(N²) complexity with order-of-magnitude faster convergence
- QR-RLS: O(N²) complexity with superior numerical stability using Givens rotations The choice depends on available DSP resources, required tracking speed, and the condition number of the input correlation matrix.
Numerical Stability Considerations
Continuous operation over extended periods exposes online algorithms to numerical instability risks. The recursive update of the inverse correlation matrix in RLS can accumulate round-off errors, potentially causing divergence. QR-RLS mitigates this by propagating the square-root of the inverse correlation matrix using orthogonal transformations, maintaining positive-definiteness. Regularization parameters are often injected periodically to prevent ill-conditioning when the input signal lacks persistent excitation.
Convergence and Misadjustment
The steady-state performance of online training is characterized by misadjustment — the excess mean squared error above the theoretical Wiener optimum. This arises from gradient noise in stochastic algorithms like LMS. A larger step size accelerates convergence rate but increases misadjustment, embodying the classic bias-variance tradeoff. Practical systems often employ variable step-size strategies that start large for rapid acquisition and decay for low steady-state error.
Online Training vs. Offline Training
Comparison of adaptive and batch estimation paradigms for digital predistortion coefficient computation.
| Feature | Online Training | Offline Training |
|---|---|---|
Update Timing | Continuous, sample-by-sample | One-time, before deployment |
Data Requirement | Streaming signal samples | Complete captured dataset |
Adaptation to PA Drift | ||
Computational Complexity | Higher per-sample cost | Lower amortized cost |
Convergence Speed | Gradual, algorithm-dependent | Immediate upon batch solve |
Memory Requirement | Minimal, recursive state only | Large, stores full data matrix |
Suitability for Time-Varying Systems | ||
Numerical Stability Risk | Moderate, depends on algorithm | Low, batch solvers robust |
Frequently Asked Questions
Explore the core concepts behind real-time adaptive coefficient estimation for digital predistortion systems, answering the most common questions asked by DSP engineers and embedded systems architects.
Online training is an adaptive estimation mode where digital predistortion (DPD) model coefficients are updated continuously in real-time as new signal samples arrive, allowing the predistorter to track changing amplifier characteristics. Unlike offline training, which computes coefficients once from a batch of captured data, online training operates in a closed loop during live transmission. The algorithm processes each incoming sample of the power amplifier (PA) output and the desired linear signal, iteratively adjusting the predistorter parameters to minimize the instantaneous error. This continuous adaptation is essential for compensating time-varying nonlinearities caused by thermal memory effects, supply voltage fluctuations, and device aging. Common online algorithms include Least Mean Squares (LMS), Recursive Least Squares (RLS), and their normalized variants, each offering different tradeoffs between convergence speed and computational complexity.
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
Online training for digital predistortion relies on a suite of adaptive algorithms and architectural patterns. These related terms define the core mechanisms for real-time coefficient updates, numerical stability, and convergence behavior.
Recursive Least Squares (RLS)
An adaptive algorithm that recursively updates the inverse of the input correlation matrix to achieve faster convergence than gradient-based methods. RLS minimizes a weighted least-squares cost function, making it ideal for tracking time-varying power amplifier characteristics in online DPD systems.
- Computational complexity: O(N²) per iteration
- Converges in approximately 2N iterations
- Requires a forgetting factor to track non-stationary signals
Least Mean Squares (LMS)
A foundational stochastic gradient descent algorithm that updates filter coefficients iteratively based on the instantaneous estimate of the mean squared error gradient. LMS offers low computational complexity at the cost of slower convergence compared to RLS.
- Computational complexity: O(N) per iteration
- Sensitive to eigenvalue spread of the input signal
- Step size μ controls the convergence-misadjustment tradeoff
Normalized LMS (NLMS)
A variant of the LMS algorithm that normalizes the step size by the power of the input signal vector. This normalization improves convergence stability in the presence of fluctuating signal levels, making it more robust for online DPD with varying envelope signals.
- Step size normalized by ||x(n)||² + ε
- More robust to input power variations than standard LMS
- Small regularization constant ε prevents division by zero
QR-RLS
A numerically robust implementation of the Recursive Least Squares algorithm that uses Givens rotations to directly update the square-root of the inverse correlation matrix. QR-RLS avoids the numerical instability of the standard RLS by maintaining the Cholesky factor rather than the full correlation matrix.
- Uses orthogonal transformations for superior numerical stability
- Well-suited for fixed-point FPGA implementations
- Avoids covariance matrix ill-conditioning

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