cs.LGMar 17, 2026

Cost Trade-offs in Matrix Inversion Updates for Streaming Outlier Detection

Authors: Florian Grivet, Louise Travé-Massuyès

Organizations: CNES, 18 Av. Edouard Belin, Toulouse, 31400, Toulouse, France · LAAS-CNRS, University of Toulouse, CNRS, 7 Av. du Colonel Roche, 31400, Toulouse, France

Abstract

Outlier detection identifies data points that deviate significantly from expected patterns, revealing anomalies that may require special attention. Incorporating online learning further improves accuracy by continuously updating the model to reflect the most recent data. When employing the Christoffel function as an outlier score, online learning requires updating the inverse of a matrix following a rank-k update, given the initial inverse. Surprisingly, there is no consensus on the optimal method for this task. This technical note aims to compare three different updating methods: Direct Inversion (DI), Iterative Sherman-Morrison (ISM), and Woodbury Matrix Identity (WMI), to identify the most suitable approach for different scenarios. We first derive the theoretical computational costs of each method and then validate these findings through comprehensive Python simulations run on a CPU. These results allow us to propose a simple, quantitative, and easy-to-remember rule that can be stated qualitatively as follows: ISM is optimal for rank-1 updates, WMI excels for small updates relative to matrix size, and DI is preferable otherwise. This technical note produces a general result for any problem involving a matrix inversion update. In particular, it contributes to the ongoing development of efficient online outlier detection techniques.

Figures & tables

Appendix figures & tables5 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Efficient Online Inverse Optimization with O(d)O(d) Regret

    Sep 11, 2026Yang Cai, Anupam Gupta, Vineet Gupta +7

  2. Outlier-Robust Diffusion Solvers for Inverse Problems

    May 10, 2026Yang Zheng, Jiahua Liu, Tongyao Pang +2Diffusion Models for Image RestorationRobust Optimization

  3. Inference of Online Newton Methods with Nesterov's Accelerated Sketching

    Apr 25, 2026Haoxuan Wang, Xinchen Du, Sen NaStochastic ApproximationSecond-Order Optimization