Source-linked AI summary

A Comparative Study on Recent Neural Spoofing Countermeasures for Synthetic Speech Detection

Xin Wang, Junich Yamagishi

arXiv:2103.11326v2eess.AS

TL;DR

Speech anti-spoofing research lacks comparative evidence on loss functions and strategies for handling varied-length trials. This study compares these choices across neural countermeasures and random initializations on ASVspoof2019 LA, finding significant intra-model variability and a best single-run EER of 1.92%.

  • Problem

    Comparative studies of margin-based losses and varied-length input strategies for speech anti-spoofing are lacking.

  • Method

    The study compares countermeasure back ends, input-length strategies, loss functions, and front ends on ASVspoof2019 LA across multiple random initializations.

  • Results

    The best LFCC, LCNN-LSTM, and P2SGrad-based combination reached a lowest EER of 1.92% on the ASVspoof2019 LA evaluation set.

  • Takeaways & Limitations

    Average pooling and the P2SGrad-based loss function were promising components, while random-seed variation warrants statistical analysis or multiple evaluation rounds.

  • Takeaways & Limitations

    Performance differences from random initialization may be statistically significant, limiting straightforward comparisons between countermeasure models.

Abstract

from arXiv · show

A great deal of recent research effort on speech spoofing countermeasures has been invested into back-end neural networks and training criteria. We contribute to this effort with a comparative perspective in this study. Our comparison of countermeasure models on the ASVspoof 2019 logical access task takes into account recently proposed margin-based training criteria, widely used front ends, and common strategies to deal with varied-length input trials. We also measured intra-model differences through multiple training-evaluation rounds with random initialization. Our statistical analysis demonstrates that the performance of the same model may be significantly different when just changing the random initial seed. Thus, we recommend similar analysis or multiple training-evaluation rounds for further research on the database. Despite the intra-model differences, we observed a few promising techniques such as the average pooling to process varied-length inputs and a new hyper-parameter-free loss function. The two techniques led to the best single model in our experiment, which achieved an equal error rate of 1.92% and was significantly different in statistical sense from most of the other experimental models.

1. Introduction

This study compares neural speech anti-spoofing countermeasures across varied-length input strategies, loss functions, and front ends, while evaluating variability across random initializations. It identifies promising components and finds that performance can vary significantly across runs of the same model.

  • Study scope: The study compares varied-length input strategies, recent loss functions, and LFCC, LFB, and spectrogram front ends on ASVspoof2019 LA.The models combine these components to assess countermeasure performance comparatively.
  • Evaluation variability: Performance variation across random initializations can be more statistically discernible than differences between models.The authors therefore call for caution when reporting and interpreting countermeasure performance.
  • Promising components: Attention and average pooling can efficiently process varied-length speech trials, while a simple sigmoid function performs decently relative to margin-based softmax.The results also identify a P2SGrad-based loss as a competitive alternative.
  • Best result: 1.92% EER was achieved by a countermeasure combining a P2SGrad-based loss with an LCNN and average pooling in the best training-evaluation round.The result was significantly different from most other experimental models, although some differences may not be statistically significant.
  • Scope boundary: The work focuses on the countermeasure back end, while stronger systems also require efforts from the front end and model ensemble.The paper frames its comparison as one part of broader countermeasure design.

2. Brief Overview of Neural CMs

Neural countermeasures map variable-length acoustic-feature sequences to trial-level scores using fixed-size or pooling-based backends, then train them with cross-entropy, softmax, or margin-based objectives.

  • A countermeasure converts each trial’s acoustic-feature sequence into a scalar score indicating how likely it is bonafide.
  • From fixed-length input to score: Fixed-size backends pad or trim each sequence to K frames, apply a CNN, flatten the hidden representation, and produce a score.For longer trials, trimming may use a random or first contiguous segment; short trials may receive noise or replicated-frame padding.
  • From fixed-length input to score: Chunking divides a sequence into fixed-size segments, scores each independently with CNNs, and averages the segment scores.Some systems pad to a long sequence before chunking.
  • From varied-length input to score: Pooling-based backends retain varied-length sequences, transform frames into hidden features, pool them into an utterance-level vector, and map that vector to a score.Pooling weights may be uniform or computed by attention; recurrent networks can also process the hidden sequence.
  • Cross entropy with vanilla and margin-based softmax: Cross-entropy training assigns class probabilities through softmax, while binary systems can rewrite the probability computation as a sigmoid function.The inference score may be the bonafide probability or a normalized class-vector similarity, depending on the backend.
  • New mean-square-error loss function with P2SGrad: Margin-based softmax modifies class logits using a hyper-parameter set, whereas the proposed MSE-for-P2SGrad loss matches cosine-distance outputs to scalar targets.The proposed loss has a gradient identical to P2SGrad and points toward the same optimal direction as margin-based softmax.

3. Experiments

The experiments compare neural countermeasures on ASVspoof 2019 LA across input-length strategies, front ends, loss functions, and repeated random initializations. Results show substantial seed sensitivity and strong performance from models using varied-length processing and P2SGrad-based loss.

  • Experimental design: The countermeasures combined LCNN, attention, Bi-LSTM with average pooling, and trim-pad strategies for varied-length speech trials.Attention and LCNN-LSTM-sum accepted varied-length inputs, whereas LCNN-trim-pad used fixed-size inputs.
  • Experimental design: Six training-evaluation rounds with different random seeds were used to measure intra-model variation alongside model comparisons.The k-th run used random seed 10k−1.
  • Evaluation: EER and min t-DCF were measured on the ASVspoof 2019 LA evaluation set, using LFCC, LFB, and spectrogram front ends.The experiments followed the official protocol without data augmentation.
  • Experimental results: Changing only the random seed could produce statistically significant performance differences, sometimes exceeding differences between models.The well-initialized LFCC LCNN-trim-pad baseline achieved an EER of 2.54%.
  • Experimental results: 1.92% EER was achieved by the best LFCC LCNN-LSTM-sum run with P2SGrad, while its six-run EER range was 1.92%–3.10%.This result was statistically significantly different from most other experimental models.

4. Conclusion

The conclusion recommends repeated training-evaluation rounds or statistical analysis because random initialization can materially affect countermeasure comparisons. It identifies average-based pooling for varied-length inputs and P2SGrad-based loss as promising components, with a best reported EER of 1.92%.

  • Reproducibility: Multiple training-evaluation rounds revealed statistically significant intra-model differences attributable to random initial seeds.The authors tentatively recommend similar statistical analysis or multiple rounds for future work on this database.
  • Varied-length processing: Attention and average-based pooling were identified as potentially efficient ways to process varied-length speech trials.The conclusion contrasts these approaches with widely used CNNs requiring fixed-size input.
  • Loss functions: The P2SGrad-based loss performed decently across six LFCC training-evaluation rounds and was proposed as a competitive alternative.The best LFCC LCNN-LSTM-P2SGrad combination reached 1.92% EER.

A.1. Decomposed EER and min-tDCFs

Figure 4 decomposes EER and min t-DCFs across 13 attacks plus a pooled result and six training-evaluation rounds. A17 is the most difficult attack among the compared models.

  • A17 is the most difficult attack for the models compared in this study.
  • Each row contains 14 × 6 entries: 13 attacks, one pooled result, and six training-evaluation rounds per attack.

A.2.1. On spectrogram front end

The spectrogram front end uses an additional fully connected layer to transform each input frame's 257-dimensional representation into 60 dimensions. Removing this layer severely degrades performance.

  • Removing the fully connected layer severely degraded performance on the ASVspoof2019 LA evaluation set.
  • The layer transforms an N × 257 spectrogram into an N × 60 hidden feature map, where N is the frame number.

A.2.2. LSTM with Attention-based pooling

Adding attention-based pooling after an LSTM produced only trivial improvement, so the authors excluded that configuration from further experiments. The paper also motivates Bi-LSTM because CNN receptive fields may not cover an entire input trial.

  • Adding attention-based pooling after LSTM produced only trivial improvement and was excluded from further experiments.
  • CNN receptive fields are fixed and may not cover the whole input trial, motivating Bi-LSTM as a complementary sequence-processing design.

A.3. Fusion

The fusion method averages the scores from the models.

  • Model fusion is performed by averaging the scores.

A.3.1. Fuse homogenuous model from different training rounds

Fusing homogeneous models across six training rounds produced only a trivial performance gain, likely because the sub-models learned similar patterns. By contrast, fusion across different front ends achieved a 1.074% EER, while fusion across network types or training criteria was less effective.

  • Homogeneous-model fusion: Fusing models from six training rounds yielded only a trivial performance gain.The sub-models performed similarly across different attackers, suggesting limited diversity among them.
  • Homogeneous-model fusion: Figure 5 compares the fused model with its six training-round sub-models using DET curves.The fused model is shown in red, while sub-models are shown in black.
  • Different-model fusion: 1.074% EER was achieved by fusion across different front ends, whereas fusion over network types or training criteria was less effective.This was reported as one of the lowest primary-system EERs on the ASVspoof2019 LA task.
Loading 2103.11326v2…