17
0

Explaining Anomalies with Tensor Networks

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 arXiv
@article{hohenfeld2025_2505.03911,
  title={ Explaining Anomalies with Tensor Networks },
  author={ Hans Hohenfeld and Marius Beuerle and Elie Mounzer },
  journal={arXiv preprint arXiv:2505.03911},
  year={ 2025 }
}
Comments on this paper