Modèles neuronaux pré-appris par auto-supervision sur des enregistrements de parole en français

Solène Evain, Ha-Thanh Nguyen, Hang Le, Marcely Zanon Boito, Salima Mdhaffar, Sina Alisamir, Ziyi Tong, Natalia Tomashenko, Marco Dinarelli, Titouan Parcollet, Alexandre Allauzen, Yannick Estève, Benjamin Lecouteux, François Portet, Solange Rossato, Fabien Ringeval, Didier Schwab, Laurent Besacier2022 · DOI

TL;DR

This paper introduces seven pre-trained wav2vec 2.0 models for French speech, trained on 1,000, 3,000, and 7,000 hours of data. These models significantly improve Automatic Speech Recognition (ASR) performance on French, outperforming models trained on English or multilingual data, and are made freely available to the research community.

What Problem Does This Paper Address?

The field of Self-Supervised Learning (SSL) has revolutionized areas like computer vision and natural language processing by enabling models to learn powerful representations from vast amounts of unlabeled data. These pre-trained models can then be fine-tuned on smaller, labeled datasets for specific tasks. While SSL has shown great promise for Automatic Speech Recognition (ASR), particularly with models like wav2vec 2.0, most publicly available pre-trained models have focused on English or multilingual datasets. This leaves a gap for high-quality, French-specific pre-trained speech models, which are crucial for achieving state-of-the-art ASR performance in the French language. Training such models is computationally intensive, making them inaccessible to many researchers.

Methods

The authors leverage the wav2vec 2.0 architecture, a well-established framework for self-supervised speech representation learning. The core idea of wav2vec 2.0 involves masking parts of the input speech signal and training the model to predict the correct quantized speech representation from a set of options, including the true representation and distractors. This is achieved using a contrastive loss function.

The paper details the training process, which involves:

  • Data Preprocessing: Audio is segmented, filtered (segments < 1s or > 30s are removed), converted to mono, PCM, 16-bit, 16000 Hz.
  • Model Architectures: Two variants, "base" and "large," are used, differing in the number of Transformer layers and embedding dimensions. These architectures are identical to those described in previous wav2vec 2.0 work.
  • Training Strategy: Models are trained until convergence on a development set, with training stopped when the cost function stabilizes.

The key novelty lies in the application of this established method to French speech data and the creation and release of these specific models.

Datasets

The researchers compiled and utilized several French speech datasets to create their training corpora:

  • MLS (Multilingual LibriSpeech) français: A foundational dataset for French speech.
  • African Accented French: Includes speech with various African accents.
  • CaFE (Corpus of French Emotional Speech): Contains acted emotional speech.
  • GEMEP (Geneva Multimodal Expression Corpus): Another corpus for emotional speech.
  • CFPP2000 (Corpus de Français parlé Parisien): Spontaneous speech data.
  • ESLO2: Spontaneous speech data.
  • EPAC (French Broadcast News): Journalistic speech.
  • MaSS (Multilingual Aligned Sentence-Aligned Speech): Sentence-aligned spoken utterances.
  • NCCFr (Nijmegen Corpus of Casual French): Casual French speech.
  • Voxpopuli: Professional speech data.

These datasets were combined to form three distinct training corpora:

  • Corpus 1k: Approximately 1,100 hours of French speech.
  • Corpus 3k: Approximately 2,900 hours of French speech, building upon Corpus 1k.
  • Corpus 7k: Approximately 7,700 hours of French speech, building upon Corpus 3k.

For evaluation, the paper uses the ETAPE (Évaluation Transcripteur Automatique de Parole Écrite) dataset, a benchmark for French ASR evaluation, consisting of radio and television broadcast emissions.

Key Insights and Ideas

  • French-specific models are superior: Pre-training on French data yields significantly better ASR performance compared to models pre-trained on English or multilingual data, even when those multilingual models include French. This highlights the importance of language-specific representations.
  • Data quantity matters, but quality/diversity is also key: While larger corpora generally lead to better results, the authors note an interesting finding where the Fr-3K-large model (trained on ~3000 hours) outperformed the Fr-7K-large model (trained on ~7000 hours) on the ETAPE test set. They hypothesize this could be due to the nature of the additional data in the 7k corpus (e.g., European Parliament proceedings), which might be too diverse or specialized, hindering performance on the more general ETAPE broadcast news data.
  • Model size impacts performance: The "large" architecture models consistently outperform their "base" counterparts, demonstrating the benefit of increased model capacity for capturing complex speech patterns.
  • Open science benefits the community: By releasing these models, the authors enable researchers to build upon them, accelerating progress in French ASR and related fields.

Key Results

The paper presents Word Error Rate (WER) results on the ETAPE dataset. Key findings include:

  • The best performing model, Fr-3K-large, achieved a WER of 26.14% on the ETAPE test set.
  • The Fr-7K-large model achieved a WER of 27.25%.
  • These models significantly outperformed:
  • A Mel filterbank-based acoustic model (54.36% WER).
  • The English-trained En-LS960-large model (44.82% WER).
  • The multilingual XLSR-53-large model (61.03% WER).
  • The "large" models consistently showed lower WERs than their "base" counterparts across different training data sizes. For instance, Fr-3K-large (26.14%) outperformed Fr-3K-base (28.86%).

Limitations and Future Work

  • Data diversity impact: The authors acknowledge that the performance difference between Fr-3K-large and Fr-7K-large warrants further investigation into the impact of data diversity in pre-training corpora on downstream task performance. This is a direction for future research.
  • Limited experimental setup: The ASR experiments were conducted in a low-resource scenario with only 22 hours of transcribed data for fine-tuning. While this highlights the effectiveness of pre-trained models, it doesn't explore performance with larger fine-tuning datasets.
  • No language model used: The presented ASR experiments did not utilize an external language model, which is a common component in state-of-the-art ASR systems. Future work could explore the combination of these pre-trained models with language models.
  • Carbon footprint: While the authors provide an estimate of the carbon footprint for training their models (270 kg CO2 for the 7k large model), they suggest further research into optimizing training efficiency and reducing environmental impact.

Summary updated

Abstract

L'apprentissage auto-supervisé a ouvert des perspectives prometteuses dans de nombreux domaines comme la vision par ordinateur, le traitement automatique de la langue ou celui de la parole.Les modèles pré-appris sur de grandes quantités de données non étiquetées peuvent être ajustés sur de petits ensembles de données transcrites manuellement.Ceux de type wav2vec2.0ont montré des performances remarquables pour la reconnaissance automatique de la parole.Les premiers modèles partagés à la communauté ayant été appris sur des données en anglais ou multilingues, nous proposons dans cet article sept modèles de type wav2vec2.0,appris sur 1 000, 3 000 et 7 000 heures de parole en français.Leur Apprentissage nécessitant des capacités de calcul très importantes, et dans un esprit de science ouverte, ceux-ci sont librement accessibles.Des résultats expérimentaux sur la reconnaissance automatique de la parole sont également présentés et confirment le bénéfice de l'utilisation de tels modèles.
BibTeX
@misc{evain2022modeles,
  author = {Solène Evain and Ha-Thanh Nguyen and Hang Le and Marcely Zanon Boito and Salima Mdhaffar and Sina Alisamir and Ziyi Tong and Natalia Tomashenko and Marco Dinarelli and Titouan Parcollet and Alexandre Allauzen and Yannick Estève and Benjamin Lecouteux and François Portet and Solange Rossato and Fabien Ringeval and Didier Schwab and Laurent Besacier},
  title = {{Modèles neuronaux pré-appris par auto-supervision sur des enregistrements de parole en français}},
  year = {2022},
  doi = {10.21437/jep.2022-45},
}
Figure