Answers are grounded in this paper and cite their sources.
Demonstrates improved speed and memory efficiency with a new RLS-DCD algorithm implementation.
The RLS and RLS-DCD algorithms are commonly used for adaptive filtering applications due to their fast convergence even under correlated inputs. RLS-DCD is a numerically robust and easy to implement version of RLS, but although it requires only O( M ) arithmetic operations, the total number of operations in a naive implementation is O( M² ) due to copy operations when the autocorrelation matrix is updated. The novel data structure and algorithm described in this paper reduce the number of copy operations to O( M ) and cut the amount of memory needed to about half, speeding up implementations of RLS-DCD significantly for large values of M.In order to capitalize on the special form of the update equation, we store the matrix along its diagonals in what we call the Diagonal Circular-Buffer (DCB) Format. We use a jagged array structure in which each element is a circular buffer representing one diagonal of the original matrix.We implemented the data structure and algorithm in C, Julia, Python and MATLAB, and show that the fast RLS-DCD algorithm (which uses the DCB data structure) is faster than the RLS or RLS-DCD algorithms in almost all cases, particularly for large M. This algorithm can be used for any adaptive filtering application where RLS-DCD would be used by simply altering the data structure and related matrix and vector update functions. The benefits of increased speed and reduced memory use would be significant for larger systems.
No takes yet. Share an insight, caveat, or question.
Moraes et al. (2024) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: