AG-2024.04-2245·quant-ph·cross-listed: cs.LG
Quantum Patch-Based Autoencoder for Anomaly Segmentation
Authors
- Maria Francisca Madeira
- Alessandro Poggiali
- Jeanette Miriam Lorenz
Abstract
Quantum Machine Learning investigates the possibility of quantum computers enhancing Machine Learning algorithms. Anomaly segmentation is a fundamental task in various domains to identify irregularities at sample level and can be addressed with both supervised and unsupervised methods. Autoencoders are commonly used in unsupervised tasks, where models are trained to reconstruct normal instances efficiently, allowing anomaly identification through high reconstruction errors. While quantum autoencoders have been proposed in the literature, their application to anomaly segmentation tasks remains unexplored. In this paper, we introduce a patch-based quantum autoencoder (QPB-AE) for image anomaly segmentation, with a number of parameters scaling logarithmically with patch size. QPB-AE reconstructs the quantum state of the embedded input patches, computing an anomaly map directly from measurement through a SWAP test without reconstructing the input image. We evaluate its performance across multiple datasets and parameter configurations and compare it against a classical counterpart.
Submitted
26 April 20242 years ago
Version
v1
License
CC-BY-4.0
DOI
10.48550/arXiv.2404.17613
Summary
Researchers propose a quantum autoencoder that identifies defects in images by reconstructing patches of normal data and flagging regions with poor reconstruction, using only logarithmic parameters per patch.
- Unlike classical autoencoders that reconstruct entire images, this quantum version works on small patches and avoids reconstructing the full image—a potential efficiency gain on quantum hardware.
- The model uses a SWAP test (a quantum measurement trick) to directly compute anomaly scores without classical post-processing, keeping more operations in the quantum domain.
- The parameter count grows logarithmically rather than linearly with patch size, suggesting the approach could scale better than naive quantum circuits as images get larger.
curious · generated by claude-haiku-4-5
Chat with this PDF
Ask questions, probe assumptions, request a plain-English summary. Answers cite sections from the preprint itself.
Community
Questions and answers about this paper from other readers. No formal peer review — just a place to think out loud.