[Paper Review] Attentive Filtering Networks for Audio Replay Attack Detection
This paper proposes Attentive Filtering Networks (AFN) for audio replay attack detection in automatic speaker verification, combining an attention-based filter to enhance discriminative time- and frequency-domain features with a Dilated Residual Network (DRN) classifier. The method achieves an 8.99% EER on the ASVspoof 2017 Version 2.0 test set, with a 30% relative improvement via system fusion, demonstrating effective feature enhancement and robust generalization on a small, imbalanced dataset.
An attacker may use a variety of techniques to fool an automatic speaker verification system into accepting them as a genuine user. Anti-spoofing methods meanwhile aim to make the system robust against such attacks. The ASVspoof 2017 Challenge focused specifically on replay attacks, with the intention of measuring the limits of replay attack detection as well as developing countermeasures against them. In this work, we propose our replay attacks detection system - Attentive Filtering Network, which is composed of an attention-based filtering mechanism that enhances feature representations in both the frequency and time domains, and a ResNet-based classifier. We show that the network enables us to visualize the automatically acquired feature representations that are helpful for spoofing detection. Attentive Filtering Network attains an evaluation EER of 8.99$\%$ on the ASVspoof 2017 Version 2.0 dataset. With system fusion, our best system further obtains a 30$\%$ relative improvement over the ASVspoof 2017 enhanced baseline system.
Motivation & Objective
- To develop a deep learning system that automatically identifies and enhances discriminative time- and frequency-domain features for replay attack detection.
- To address the challenge of detecting spoofing attacks where attack cues may be sparse, time-varying, or partially observable in speech features.
- To improve robustness against overfitting on small, unbalanced datasets common in anti-spoofing benchmarks.
- To visualize and interpret the learned attention mechanisms to validate their relevance to spoofing detection.
Proposed method
- The system uses log-spectrogram features with mean normalization over a 3-second sliding window, extended to a unified 257×1091 time-frequency map to preserve utterance-level representation.
- A Dilated Residual Network (DRN) replaces fully connected layers with dilated convolutions and modified residual units to capture long-range dependencies and improve feature learning.
- An attention-based filtering mechanism applies learnable attention weights to emphasize or suppress specific time and frequency components in the input spectrogram before classification.
- The attention mechanism is implemented with different non-linear activation functions (Sigmoid, SoftmaxT, SoftmaxF, Tanh), each producing distinct attention patterns for complementary feature learning.
- Multiple AFN systems with different activation functions are fused to combine their complementary attention maps, improving overall detection performance.
- The final classifier uses score-level fusion of multiple attention-enhanced representations to boost detection accuracy.
Experimental results
Research questions
- RQ1Can an attention-based filtering mechanism effectively identify and enhance discriminative time- and frequency-domain features for replay attack detection?
- RQ2How do different non-linear activation functions in the attention mechanism influence the model’s ability to detect spoofing cues?
- RQ3To what extent does the proposed Attentive Filtering Network generalize to unseen data on a small, imbalanced dataset?
- RQ4Can fusing multiple attention mechanisms with different activation patterns lead to improved detection performance compared to individual models?
Key findings
- The proposed Attentive Filtering Network achieves an evaluation Equal Error Rate (EER) of 8.99% on the ASVspoof 2017 Version 2.0 dataset, demonstrating strong performance on the benchmark.
- The best single system with Sigmoid activation in the attention mechanism achieves the lowest EER of 8.99%, outperforming other activation functions.
- System fusion of AFNs using Sigmoid and SoftmaxT activations reduces the EER to 8.54% on the evaluation set, representing a 30% relative improvement over the enhanced baseline system.
- Attention heatmaps reveal that Sigmoid produces dense activations across time and frequency, while Softmax variants enforce sparsity, indicating different but complementary feature selection behaviors.
- The small difference between dev and eval EERs (e.g., 6.09 vs. 8.54 for the best fusion system) indicates strong generalization and low overfitting despite the small, unbalanced dataset.
- The DRN-based classifier with ELU activation achieves 10.16% EER, and the addition of the attention mechanism further reduces EER, confirming the effectiveness of feature enhancement.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.