Skip to main content
QUICK REVIEW

[Paper Review] Cost Trade-offs in Matrix Inversion Updates for Streaming Outlier Detection

Florian Grivet, Louise Travé-Massuyès|arXiv (Cornell University)|Mar 17, 2026
Anomaly Detection Techniques and ApplicationsComputer Science0 citations
TL;DR

The paper compares Direct Inversion, Iterative Sherman-Morrison, and Woodbury Matrix Identity for updating matrix inverses in Christoffel-function-based streaming outlier detection, deriving costs and proposing a practical update-method rule.

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.

Motivation & Objective

  • Motivate streaming outlier detection and the need for online learning that updates a moment matrix inverse.
  • Introduce the Christoffel function as an outlier score and its dependence on an updated inverse moment matrix.
  • Derive theoretical computational costs for three rank-k inverse update methods and validate via Python simulations.
  • Provide a practical, quantitative rule to choose among DI, ISM, and WMI based on matrix size and update rank.

Proposed method

  • Define the Christoffel function and its empirical counterpart in the streaming setting.
  • Formulate the online update of the moment matrix M_n(mu_N) and its inverse under rank-k updates.
  • Derive the Sherman-Morrison and Woodbury update formulas and specify their computational costs.
  • Analyze costs for Direct Inversion, Iterative Sherman-Morrison, and Woodbury approaches and compare them.
  • Validate theoretical costs with Python simulations on CPU and propose a simple decision rule.

Experimental results

Research questions

  • RQ1What are the computational costs of updating the inverse moment matrix under rank-k updates using DI, ISM, and WMI?
  • RQ2How do these costs compare across varying matrix sizes and update ranks in the streaming Christoffel-function framework?
  • RQ3Can a simple, quantitative rule be established to select the optimal update method in practice?

Key findings

  • ISM is optimal for rank-1 updates.
  • WMI excels for small updates relative to matrix size.
  • DI is preferable for larger updates relative to matrix size.
  • The paper derives a unified cost view and validates it with CPU-based simulations.
  • A simple, easy-to-remember rule is proposed to guide method selection based on s (matrix size) and k (update rank).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.