Skip to main content
QUICK REVIEW

[Paper Review] Unsupervised quantum machine learning for fraud detection

Oleksandr Kyriienko, E. B. Magnusson|arXiv (Cornell University)|Aug 2, 2022
Advancements in Semiconductor Devices and Circuit DesignEngineering23 citations
TL;DR

The paper develops quantum kernel-based unsupervised anomaly detection (OC-SVM) for credit card fraud, showing quantum kernels can outperform classical methods, with up to 15% higher average precision at 20 qubits in simulations, and notes potential near- to mid-term hardware implications.

ABSTRACT

We develop quantum protocols for anomaly detection and apply them to the task of credit card fraud detection (FD). First, we establish classical benchmarks based on supervised and unsupervised machine learning methods, where average precision is chosen as a robust metric for detecting anomalous data. We focus on kernel-based approaches for ease of direct comparison, basing our unsupervised modelling on one-class support vector machines (OC-SVM). Next, we employ quantum kernels of different type for performing anomaly detection, and observe that quantum FD can challenge equivalent classical protocols at increasing number of features (equal to the number of qubits for data embedding). Performing simulations with registers up to 20 qubits, we find that quantum kernels with re-uploading demonstrate better average precision, with the advantage increasing with system size. Specifically, at 20 qubits we reach the quantum-classical separation of average precision being equal to 15%. We discuss the prospects of fraud detection with near- and mid-term quantum hardware, and describe possible future improvements.

Motivation & Objective

  • Motivate fraud detection as an anomaly detection task in highly imbalanced credit card datasets.
  • Benchmark classical supervised and unsupervised methods (Logistic Regression, SVC with RBF kernel, OC-SVM) for fraud detection using AP as the metric.
  • Develop and test quantum kernel-based anomaly detection within an OC-SVM framework.
  • Compare different quantum kernel implementations (IQP-based, re-uploading) to classical baselines across increasing feature counts.

Proposed method

  • Use a credit card fraud dataset with 28 anonymized features, sub-sampled to 525 samples with 25 frauds.
  • Pre-process with scaling and PCA to vary feature count N (equal to number of qubits in quantum embedding).
  • Benchmark classical methods: Logistic Regression, SVC with RBF kernel, and OC-SVM with RBF kernel using average precision as the evaluation metric.
  • Embed data into quantum states via quantum feature maps (IQP-like circuits with data-dependent rotations and ZZ interactions) and construct quantum kernels as state overlaps or projected kernels.
  • Evaluate OC-SVM with quantum kernels (IQP with re-uploading, d=3) and compare to classical OC-SVM performance across increasing qubit counts.
  • Perform batched Gram matrix evaluations using state-vector simulations (Pennylane/JAX) and analyze average precision trends.

Experimental results

Research questions

  • RQ1Can quantum kernel-based OC-SVM improve unsupervised anomaly detection for fraud detection compared to classical kernels?
  • RQ2Do quantum kernels with increasing feature space (qubits) provide a performance advantage in AP, and under what circuit designs (e.g., IQP with re-uploading)?
  • RQ3What is the impact of feature-space size on supervised and unsupervised fraud detection using quantum versus classical kernels?
  • RQ4What are practical considerations for near- and mid-term quantum hardware in applying quantum FD (training/inference times, scalability)?

Key findings

  • In supervised tasks, quantum kernels outperform RBF classical kernels by over 10 percentage points in average precision in certain feature ranges (5–10 features).
  • In unsupervised fraud detection, quantum kernels show a clear separation with up to 15% higher average precision than classical kernels at 20 qubits.
  • IQP circuits with d=3 re-uploading provide the best performance among tested quantum feature maps, especially as the feature count grows.
  • At 20 qubits, the quantum-classical AP separation reaches about 15% in the unsupervised setting.
  • Classical OC-SVM with RBF kernels saturates around ~0.55 AP beyond ~15 features, while quantum kernels continue to improve.
  • Overall, quantum kernels demonstrate higher expressivity and potential advantage for learning correlated multi-feature data in unsupervised fraud detection.

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.