Explaining Anomalies with Tensor Networks

Hans Hohenfeld, Marius Beuerle, Elie Mounzer
5/6/2025
cs.LGquant-ph

No official code found. Best implementation: dfki-ric-quantum/tn_explainability (0 stars, BSD-3-Clause, last commit 2025-08-04).

Abstract

Tensor networks, a class of variational quantum many-body wave functions have attracted considerable research interest across many disciplines, including classical machine learning. Recently, Aizpurua et al. demonstrated explainable anomaly detection with matrix product states on a discrete-valued cyber-security task, using quantum-inspired methods to gain insight into the learned model and detected anomalies. Here, we extend this framework to real-valued data domains. We furthermore introduce tree tensor networks for the task of explainable anomaly detection. We demonstrate these methods with three benchmark problems, show adequate predictive performance compared to several baseline models and both tensor network architectures' ability to explain anomalous samples. We thereby extend the application of tensor networks to a broader class of potential problems and open a pathway for future extensions to more complex tensor network architectures.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

Implementation for arXiv:2505.03911

00Shell, PythonAug 1, 20251 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{hohenfeld2025explaining,
  title  = {Explaining Anomalies with Tensor Networks},
  author = {Hans Hohenfeld and Marius Beuerle and Elie Mounzer},
  year   = {2025},
  eprint = {2505.03911},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.03911v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.03911.svg)](https://codeofpaper.com/paper/2505.03911)

Discussion