Adaptive filtering algorithms learn optimal filter coefficients from data without knowing the signal statistics a priori, adjusting in real-time as statistics change. Beyond LMS (Least Mean Squares), advanced methods include Recursive Least Squares (RLS, exponential convergence but higher computation), Normalized LMS (NLMS, robustness to input scaling), Kalman filtering (optimal for linear systems with Gaussian noise), and block adaptive algorithms. Constraint satisfaction, variable step-size methods, and multi-channel extensions handle practical scenarios: echo cancellation, acoustic noise suppression, channel equalization, and blind source separation.
Simulate an unknown time-varying channel (e.g., a FIR filter) and design adaptive LMS/RLS filters to track it. Measure convergence speed, steady-state error, and computational cost. Compare LMS (simple, slow) with RLS (fast, expensive) and NLMS (balanced). Implement Kalman filtering for optimal performance on a linear-Gaussian problem and observe superior convergence and noise rejection. Apply to a realistic scenario: acoustic echo cancellation (remove microphone-speaker feedback in teleconferencing) or channel equalization (undo ISI in digital communication).
From LMS filtering, you know how to update filter coefficients online using a stochastic gradient: w(n+1) = w(n) − μe(n)x(n). This simple algorithm is robust, computationally cheap, and works when the signal statistics are unknown or time-varying. But it converges slowly — it is a noisy gradient estimate because you use only one sample per step. Advanced adaptive filtering includes faster algorithms (RLS, Kalman) and variants optimized for specific applications.
Recursive Least Squares (RLS) solves the least-squares problem at each step: find the weights that minimize ∑_{i=0}^n λ^{n-i} |d(i) − w^T x(i)|² (weighted sum of squared errors, with exponential weighting λ^{n-i}). The solution can be updated recursively via the matrix inversion lemma, giving an O(M²) algorithm that converges exponentially fast (error decays as λ^n). The trade-off: higher complexity (matrix updates at each step), numerical sensitivity (matrix P can become ill-conditioned), and lack of robustness to model mismatch (if the optimal filter is time-varying, RLS may overshoot). In nonstationary settings, forgetting factor λ < 1 helps: it downweights old data exponentially, allowing RLS to track changes while maintaining exponential convergence rate locally.
Normalized LMS (NLMS) improves robustness of LMS without the complexity of RLS. It normalizes the step-size by input power: μ(n) = μ / (α + ||x(n)||²). This makes convergence rate independent of input amplitude — a critical feature when input level changes (e.g., microphone gain varies). NLMS is nearly as simple as LMS but more practical.
Kalman filtering is the optimal adaptive filter for linear systems with Gaussian noise. Unlike LMS (myopic: minimizes current error) or RLS (batch: minimizes cumulative past error), Kalman filtering jointly estimates state and accounts for model uncertainty. It alternates between time-update (propagate uncertainty forward via process noise Q) and measurement-update (correct using observation, weighted by measurement noise R). When Q and R are known, Kalman converges to the Cramér-Rao lower bound — the theoretical best MSE achievable. The cost: O(M²) per step (like RLS) and requirement to know or estimate Q and R. In practice, when noise statistics are uncertain or the system is nonlinear, LMS or RLS with adaptive step-size often outperforms Kalman.
Application-specific variants address practical constraints:
Modern trends blend algorithms: use RLS for fast initial convergence, switch to adaptive LMS for stability, add nonlinear stages (deep learning) to handle complex signal structures. The fundamental trade-off persists: speed (RLS, Kalman) vs. simplicity (LMS), robustness (NLMS, adaptive step-size) vs. optimality (known statistics). Choosing the right algorithm requires understanding both the application and the signal statistics.
No topics depend on this one yet.