Decentralizing Feature Extraction for Automatic Speech Recognition Using Quantum Convolutional Neural NetworksDecentralizing Feature Extraction with Quantum Convolutional Neural Network for Automatic Speech Recognition
The authors propose QCNN-ASR, which uses random quantum circuits for speech feature extraction under vertical federated learning, and report 95.12% accuracy on the Google Speech Commands ten-class task.
- Speech recognition under privacy regulations such as GDPR needs to protect acoustic data and model parameters, and the authors aim to separate feature extraction from the local recognition engine in vertical federated learning (VFL) to reduce the risk of parameter leakage.
- Proposes QCNN-ASR: speech is uploaded to a NISQ cloud to extract Mel spectrograms, encoded into features by a quantum convolution circuit with random parameters, then sent back locally for recognition by an attention RNN (RNNAtt/RNNUAtt); the quantum circuit is simulated with PennyLane and Qiskit plus IBM noise models.
- On the Google Speech Commands V1 ten-class task, Quanv + RNNUAtt reaches 95.12±0.12% accuracy (Table 2 reports 95.12±0.18%), higher than the RNNAtt baseline of 94.21±0.30%; the 2×2 quantum kernel outperforms 1×1 and 3×3; CAM analysis shows that QCNN features are more correlated with low-frequency acoustic patterns (per the authors).
- The authors state that future work includes applying QCNN to continuous speech recognition (CTC) and introducing more statistical privacy metrics; experiments were conducted only on the Google Speech Commands V1 ten-class task under 5 and 15 qubit noise simulation, were not run on real quantum hardware, and no privacy attack experiments were performed.
- Evaluated models
- QCNNRNNUAtt
- Benchmarks
- Google Speech Commands V1
- Metrics
- classification accuracy (Acc)standard deviationparameters (memory)
The researchers propose using a quantum convolutional neural network (QCNN) in federated learning to extract speech features in a decentralized manner, in order to protect speech recognition privacy. Speech is first uploaded to a quantum computing server to extract Mel spectrograms and encoded via a quantum circuit with random parameters, after which a local RNN acoustic model performs recognition, in order to prevent privacy leakage attacks. On the Google Speech Commands Dataset, this QCNN encoder achieves 95.12% accuracy, outperforming prior architectures that used centralized RNNs and convolutional features.
Paper analysis
What problem does this paper attempt to solve?
The authors aim to perform privacy-preserving speech recognition under vertical federated learning, with feature extraction carried out by quantum convolution circuits.
Core question: how to decouple feature extraction from the recognition engine in a speech recognition system while satisfying privacy regulations such as GDPR, protecting acoustic data and model parameters.
- Problem setting: The authors state that acoustic data privacy is receiving increasing attention, requiring new ASR architectures that satisfy privacy protection regulations such as GDPR; vertical federated learning (VFL) protects data by splitting the end-to-end framework and separating feature extraction from the inference engine.
- Shortcomings of existing methods: The authors state that the earlier quantum backpropagation (QBP) speech recognition approach of Li et al. does not directly use qubits on real quantum devices, making it difficult to demonstrate quantum advantage, and is too complex for large-scale ASR tasks with parameter protection.
- Core observation: The authors believe that the advantages of quantum machine learning (QML) in parameter encryption and isolation make it suitable as a building block for VFL; variational quantum circuits (VQC) are noise-resistant and suited to NISQ hardware, and can achieve parameter protection and lower computational complexity with fewer entangled encoding qubits.
- Proposed in the paper: QCNN-ASR—speech is uploaded to a NISQ cloud server to extract Mel spectrograms and encode features with a random-parameter quantum circuit, then sent back to a local RNN acoustic model for recognition; the authors state that this is, to their knowledge, the first work combining quantum circuits with DNNs to build a QCNN for ASR (statement at Table 1).
- Privacy positioning: The authors state that the architecture reduces the risk of parameter leakage caused by attackers through decentralization and avoids direct contact with the data, but the paper does not define specific attacker capabilities or attack experiments; the threat model is summarized only as "parameter leakage attacks" and "privacy leakage".
What related research exists?
Related work falls into three groups: quantum machine learning for signal processing, VQC deep learning, and quantum and decentralized speech processing.
Quantum machine learning for signal processing
- Mitarai et al. [6]—proposed a quantum circuit learning framework, using VQC to build machine learning models on NISQ devices and absorbing noise effects into learnable circuit parameters; the quantum support vector machine of Havlíček et al. [8] belongs to this category.
- Biamonte et al. [15]—a review of quantum machine learning; the authors state that QML has advantages in storage, parameter encryption, and feature representation.
VQC deep learning
- Chen et al. [18]—used VQC for deep reinforcement learning; Chen et al. [19]—a quantum LSTM for processing sequential patterns, whose input dimensionality the authors note was limited by the quantum simulators and real devices of the time.
- Henderson et al. [13]—proposed the quanvolutional neural network (QCNN), using VQC as a quantum convolution kernel for image processing, requiring only a small number of qubits to build the kernel; this paper's quantum convolution layer is built on this work.
Quantum and decentralized speech processing
- Li et al. [20]—used quantum backpropagation (QBP) for speech recognition; the authors note that QBP does not directly use qubits on real quantum devices, making it hard to demonstrate quantum advantage, and is too complex for large-scale ASR with parameter protection.
- Leroy et al. [1] (federated keyword spotting), Qi et al. [21] (distributed ASR), Chuang et al. [22] (local lightweight audio-visual processing), Chen et al. [11] (federated n-gram language model)—the authors state that these works mark the importance of privacy-preserving learning under requirements to protect acoustic and language data.
Baselines and benchmarks: the local model baseline is the attention RNN (RNNAtt) of de Andrade et al. [26], which the authors state outperforms DS-CNN [28] and ResNet [29] on spoken word recognition; the architecture study additionally selects DS-CNN and ResNet as local model comparisons; the dataset is Google Speech Commands V1 [29].
The authors position this paper as: combining quantum circuits with DNNs under a VFL architecture to build a QCNN for ASR, and state that this is the first such work within their knowledge.
How does the paper address this problem?
QCNN-ASR: quantum convolution in the cloud encodes Mel spectrogram features, a local attention RNN performs recognition, and circuit parameters are randomly generated.
Overall approach: under VFL, ASR is split into cloud-side quantum feature extraction and local recognition, forming QCNN-ASR. Speech is uploaded to a NISQ cloud server to extract Mel spectrograms, which are encoded by a quantum convolution circuit with random parameters and sent back locally, where an attention RNN acoustic model performs classification.
Speech processing pipeline under VFL
- Input speech xi is collected locally and uploaded to the cloud server, where Mel spectrogram features ui are extracted and then encoded by the quantum circuit layer Q: fi = Q(ui, e, q, d), where e is the encoding initialization, q is the quantum circuit parameters, and d is the decoding measurement.
- The encoded features fi are sent back locally to train the acoustic model; the authors state that this design reduces the risk of parameter leakage and avoids direct contact with the data.
Quantum convolution layer
- The 2D Mel spectrogram is cut into several 2×2 patches; the n-th patch is encoded as the initial quantum state Ix[n] = e(ui[n]), passed through the circuit operator q(·) to obtain Ox[n] = q(Ix[n]), and then measured and decoded as fx,n = d(Ox[n]).
- Each quantum convolution filter is implemented by one quantum circuit, and the circuit can be designed in a structured or random manner.
Random quantum circuits
- For parameter protection, the circuit design of each QCNN model is randomly generated; the classical vector is first encoded into the quantum state Φ0 = |0000⟩, then evolved through a circuit containing Rx, Ry, Rz and CNOT gates in four phases (Figure 2(b)).
- The authors state that CNOT gates introduce noise on non-error-corrected devices, so the number of qubits is limited to a small scale; random circuits are generated with PennyLane on CPU, and simulations are performed based on Qiskit with noise models loaded from IBM 5- and 15-qubit machines.
Local attention RNN and loss
- The local model adopts RNNAtt from de Andrade et al. [26] (two-layer bidirectional LSTM plus a self-attention encoder); the authors additionally propose RNNUAtt with a U-Net encoder, whose multi-scale convolution layer channels are 8-16-8, applied to quanv or conv encoded features.
- Spoken word recognition uses cross-entropy loss; the authors state that it can be replaced with CTC loss in the future for continuous speech recognition.
Feature visualization and interpretability
- Class activation mapping (CAM) [32] is used for neural saliency analysis, comparing the weighted features activated by quantum convolution, neural convolution, and baseline models.
What experiments did the paper conduct?
On the Google Speech Commands ten-class task, Quanv + RNNUAtt reports 95.12±0.18% accuracy, outperforming the baselines.
Experimental setup
- Dataset: Google Speech Commands V1, ten spoken words ('left', 'go', 'yes', 'down', 'up', 'on', 'right', 'no', 'off', 'stop'), 11,165 training samples, 6,500 test samples, with the background white noise setting [29].
- Features: Librosa extracts 60-band Mel spectrograms with a 1024-point discrete Fourier transform; this step is performed on the NISQ server side.
- Models under test: RNNAtt, RNNUAtt (local models), DS-CNN, ResNet (open-source acoustic models for the architecture study), each paired with a quanv (quantum convolution) or conv (neural convolution) front end.
- Quantum simulation: PennyLane generates random circuits, and Qiskit loads the noise models of two IBM quantum machines (5 and 15 qubit) for noisy simulation; the authors state this setting is close to results from running directly on NISQ, and no experiments were run on real quantum hardware.
- Metrics: classification accuracy (Acc) ± standard deviation, parameter count (32-bits memory); in Table 2 the conv and quanv layers both use 2×2 kernels.
- Number of repetitions: the paper reports standard deviations but does not state how many runs were performed per configuration.
Main results
According to Table 2 (Google Speech Commands ten classes, noise setting, 2×2 kernels):
Model Acc. (↑) Parameter count (memory) RNNAtt [26] 94.21±0.30 170,915 (32-bits) Conv + RNNAtt 94.32±0.26 174,975 (32-bits) Quanv + RNNAtt 94.75±0.17 174,955 (32-bits) + 4 (qubits) RNNUAtt 94.72±0.23 176,535 (32-bits) Conv + RNNUAtt 94.74±0.25 180,595 (32-bits) Quanv + RNNUAtt 95.12±0.18 180,575 (32-bits) + 4 (qubits) - The authors state that models with an added quantum convolution layer outperform the baselines, with Quanv + RNNUAtt at 95.12±0.18% being the best, higher than the reproduced RNNAtt baseline.
- Under same-kernel comparison, quanv is higher than conv in all cases (on both the RNNAtt and RNNUAtt backbones).
Quantum kernel size and acoustic model architecture study
- What was tested: three quantum convolution kernel sizes—1×1 (1 qubit), 2×2 (4 qubits), 3×3 (9 qubits)—paired with three acoustic models: RNNUAtt, DS-CNN, ResNet (Figure 5).
- Results: validation accuracies labeled in the Figure 5 bar chart include 95.12 for the 2×2 kernel + RNN-UAtt, 93.55 for the 1×1 kernel, 80.43 for the 3×3 kernel + RNN-UAtt, and values of about 81.53–94.48 for the DS-CNN and ResNet configurations (some labels could not be matched one-to-one to specific configurations due to layout misalignment). The authors state that the 2×2-kernel QCNN has higher accuracy and lower deviation, the 3×3 kernel performs worst, and QCNN has relative improvements of 1.21% and 1.47% over the DS-CNN and ResNet baselines, respectively.
- Authors' interpretation: increasing kernel size does not guarantee performance improvement; the authors state that features encoded by the 3×3 kernel are too sparse and less discriminative than those of the 1×1 and 2×2 kernels (corresponding to the feature visualization in Figure 4).
Visualization of encoded features
- What was tested: comparison of the encoded features of the same utterance transcribed as "yes" under the Mel spectrogram, 2×2 neural convolution, and 2×2 and 3×3 quantum convolution (Figure 4).
- Results and authors' interpretation: the authors state that the 2×2 quantum convolution features (panel c) capture both high- and low-frequency energy patterns and correlate more with the Mel spectrogram (panel a); the neural convolution (panel b) is similar to panel c but has lower intensity in high-frequency regions; the 3×3 quantum convolution (panel d) features are sparser.
CAM saliency analysis
- What was tested: CAM [32] was used to compare the activation regions of the utterance transcribed as "on" across four models (Figure 6): Mel spectrogram, Quanv + RNNUAtt, Conv + RNNUAtt, and the RNNUAtt baseline.
- Authors' interpretation: the authors state that the acoustic features learned by QCNN are more relevant and richer than those of the RNN with a convolution layer and the baseline, and that the activated neurons learn to recognize low-frequency patterns relevant to the "on" prediction.
Other ablations and analyses
- Backbone ablation: RNNUAtt (94.72±0.23%) itself improves the base accuracy compared with RNNAtt (94.21±0.30%) (Table 2).
- Parameter count: the quanv version has 20 fewer classical parameters than the corresponding conv version, plus 4 qubits (Table 2).
- Both the abstract and the main text state 95.12% accuracy; the abstract additionally states that this result outperforms prior centralized RNN architectures using convolutional features.
What are some points that can be further explored?
The authors state that future work will extend to continuous ASR and introduce statistical privacy metrics; the experiments were conducted only on a single ten-class task and a noisy simulator.
Limitations and future directions noted by the authors
- The authors state that future work includes incorporating QCNN into continuous speech recognition (Conclusion); Section 3.4 also mentions that the loss layer can be replaced with a CTC loss for large-scale continuous speech recognition tasks.
- The authors state that although the VFL architecture satisfies some data protection requirements through decentralization, more statistical privacy metrics will be deployed [24] to enhance the QCNN model from other privacy perspectives (Conclusion).
- The authors state that current commercial NISQ devices struggle to provide reproducible, stable results when the number of qubits exceeds 15, so the quantum convolution encoder design is kept within this limit (Section 4.4).
- The authors state that more CNOT gates in random quantum circuits introduce noise on non-error-corrected devices, so the number of qubits is limited to a small scale (Section 3.3).
Experimental coverage
- The models tested are 4 acoustic models in total: RNNAtt, RNNUAtt, DS-CNN, and ResNet, paired with a quanv or conv front end (Table 2, Figure 5).
- The dataset is only the ten-class setting of Google Speech Commands V1, with 11,165 training and 6,500 test samples, with background white noise (Section 4.1).
- The quantum part is simulated with PennyLane + Qiskit, with noise models from IBM 5- and 15-qubit quantum machines; it was not run on real quantum hardware (Sections 3.3, 4.2).
- Privacy protection is presented only as architectural design motivation and qualitative discussion; the paper reports no quantitative results from any privacy attack or leakage experiment.
- The paper reports standard deviations of accuracy but does not state the number of repeated runs for each configuration.
Summarize the main content of the paper
QCNN-ASR uses random quantum circuits to extract speech features under VFL, reporting 95.12% accuracy on ten-class spoken word recognition.
An architecture paper at the intersection of quantum machine learning and speech: addressing acoustic data privacy under regulations such as GDPR, the authors propose QCNN-ASR, which uses a QCNN for decentralized feature extraction in vertical federated learning.
- Method: speech is uploaded to a NISQ cloud to extract Mel spectrograms, encoded into convolutional features by randomly generated quantum circuits (Rx, Ry, Rz, CNOT gates, with the qubit count deliberately kept small), and sent back locally for classification by an attention RNN (RNNAtt or RNNUAtt with U-Net); the quantum part is simulated with PennyLane + Qiskit loading IBM 5/15 qubit noise models.
- Main results: on the Google Speech Commands V1 ten-class task, Quanv + RNNUAtt reaches 95.12±0.18%, higher than the RNNAtt baseline's 94.21±0.30% and the same-kernel Conv + RNNUAtt's 94.74±0.25% (Table 2).
- Architecture study: the 2×2 quantum kernel (4 qubits) performs best and the 3×3 kernel worst; the authors state that QCNN has relative improvements of 1.21% and 1.47% over the DS-CNN and ResNet baselines, respectively (Figure 5).
- Interpretability: the authors state that feature visualization and CAM analysis show that the 2×2 quantum convolution features correlate more with the high- and low-frequency energy patterns of the Mel spectrogram, and that the activation regions correspond to low-frequency acoustic patterns (Figures 4, 6).
- Authors' conclusion: QCNN achieves competitive recognition results compared with classical DNN acoustic models at the same kernel size, and the VFL architecture helps protect model parameters; future plans include extending to continuous ASR and introducing statistical privacy metrics. The privacy advantage currently remains a qualitative claim at the architecture level, untested by attack experiments.