QBFF: Deep Quantum Bottleneck for Automatic Speaker Verification Anti-Spoofing

Anton Firc, Nouhaila Innan, Vojtěch Staněk, Kamil Malinka, Martin Perešini, Zbyněk Lička, Walid El Maouaki, Alberto Marchisio, Muhammad ShafiquearXiv 2026

TL;DR

Researchers have developed QBFF, a hybrid quantum-classical system that uses a small 8-qubit variational quantum circuit as a "bottleneck" to detect deepfake speech. It is the first anti-spoofing pipeline evaluated on real quantum hardware (IBM Heron), demonstrating that quantum components can significantly improve a model's confidence calibration and reduce deployment costs, particularly when facing new, unseen types of attacks.

What Problem Does This Paper Address?

As synthetic speech technology becomes more sophisticated, "deepfake" audio poses a severe threat to automatic speaker verification systems. While many classical detectors achieve high accuracy on standard benchmarks, they often suffer from overconfidence. In a security setting, a model that is 99% sure about a wrong decision is far more dangerous than one that admits it is unsure.

The challenge is that deployment decisions are made at fixed thresholds. If a model's scores are poorly calibrated—meaning its predicted probabilities don't match actual frequencies of being correct—it can lead to high "actual detection costs" (actDCF) in the real world. This paper investigates whether the unique constraints of small, hardware-executable quantum circuits can reshape these output scores to be more reliable and better-calibrated.

Methods

The authors propose a hybrid pipeline that integrates a Variational Quantum Circuit (VQC) as a drop-in replacement for a classical bottleneck layer.

Fig. 1: QBFF and BFF use matched projection and classifier architec- tures, trained independently. Their mixers map 16 bounded inputs to 8 outputs; QBFF additionally applies a learned output scale (omitted). The comparison evaluates discrimination and score reliability, with real-QPU execution assessing feasibility.
  1. Feature Extraction: A large, pre-trained classical model (Wav2Vec 2.0 XLS-R) extracts high-dimensional embeddings (1024-D) from raw audio.
  2. The Bottleneck: These embeddings are projected down to 16 values. In the QBFF (Quantum Bottleneck) version, these values are fed into an 8-qubit VQC. In the BFF (Classical Bottleneck) control version, they go through a standard neural network mixer of the same size and depth.
  3. Quantum Circuit Design: The VQC uses two layers of trainable rotations and CNOT gates. Crucially, the output is derived from measuring Pauli-Z expectation values, which are naturally bounded between -1 and 1.
  4. Hardware Execution: Beyond simulations, the team ran the trained QBFF circuit on real IBM Heron-class QPUs (Marrakesh and Torino) to test feasibility under real-world quantum noise.
Fig. 2: End-to-end experimental pipeline. A shared XLS-R front end and Mean, MHFA, or AASIST pooling produce a 1024-dimensional utterance vector. It feeds either the full feed-forward baseline (FF) or a 1024 →16 →8 bottleneck head with a classical mixer (BFF) or a variational quantum circuit (QBFF). Systems are trained with a frozen front end or with fine-tuning and augmentation, then evaluated for discrimination, decision cost, and calibration in simulation; QBFF is also tested on IBM Heron QPUs.

Datasets

The models were trained and evaluated on:

  • ASVspoof 5 (Track 1): The current standard benchmark for in-domain deepfake detection.
  • In-the-Wild: A dataset used to test "out-of-distribution" generalization—how well the model performs on spoofing attacks it didn't see during training.

Key Insights and Ideas

  • Natural Regularization: The "aha moment" is that the bounded nature of quantum measurements acts as a built-in regularizer. Because a qubit's expectation value can never exceed 1 or -1, the quantum bottleneck prevents the final classifier from becoming "wildly overconfident," which is a common failure mode in deep classical networks.
  • Generalization over Discrimination: Interestingly, the quantum bottleneck doesn't always beat the classical one in raw accuracy (Equal Error Rate) on familiar data. However, it consistently provides better-calibrated scores, especially when the data shifts (out-of-distribution).
  • Hardware Feasibility: Running a full anti-spoofing pipeline on a QPU is no longer just theoretical. While noise is still a factor, the core benefits of the quantum bottleneck persisted even on real hardware.

Key Results

  • Out-of-Distribution Gains: In the toughest "In-the-Wild" setting using the AASIST pooling method, QBFF reduced the Equal Error Rate (EER) by 28% relative (from 5.49% down to 3.97%) compared to the matched classical bottleneck.
  • Reduced Deployment Cost: In the same setting, it cut the actual detection cost (actDCF) by 12% (0.205 → 0.181).
  • Improved Calibration: For the MHFA pooling method on ASVspoof 5, QBFF roughly halved the log-likelihood-ratio cost ($C_{llr}$), a key metric for score quality, dropping it from 0.401 to 0.209.
  • QPU Performance: On a hardness-stratified subset of data, the real IBM Heron execution achieved a lower mean EER and $C_{llr}$ than the classical reference, though hardware noise introduced significant variability in the actDCF metric.

Limitations and Future Work

The authors note that the benefits of the quantum bottleneck are model-dependent. For instance, when using simple "Mean" pooling for features, the quantum version actually performed worse than the classical one. This suggests that the way features are aggregated before the bottleneck matters significantly.

Future work will likely focus on:

  • Architecture Search: Finding circuit designs that are even better suited for speech representations.
  • Noise Mitigation: Developing more robust ways to handle the variability seen in real QPU runs.
  • Scaling: Moving beyond 8 qubits as hardware becomes more reliable, potentially allowing for wider bottlenecks and more complex feature fusion.

Summary updated

BibTeX
@misc{firc2026qbff,
  author = {Anton Firc and Nouhaila Innan and Vojtěch Staněk and Kamil Malinka and Martin Perešini and Zbyněk Lička and Walid El Maouaki and Alberto Marchisio and Muhammad Shafique},
  title = {{QBFF: Deep Quantum Bottleneck for Automatic Speaker Verification Anti-Spoofing}},
  year = {2026},
  eprint = {2610.16390},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.16390},
}
Figure