NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Pantagruel: Unified Self-Supervised Encoders for French Text and Speech

Phuong-Hang Le, Valentin Pelloin, Arnault Chatelain, Maryem Bouziane, Mohammed Ghennai, Qianwen Guan, Kirill Milintsevich, Salima Mdhaffar, Aidan Mannion, Nils Defauw, Shuyue Gu, Alexandre Audibert, Marco Dinarelli, Yannick Estève, Lorraine Goeuriot, Steffen Lalande, Nicolas Hervé, Maximin Coavoux, François Portet, Étienne Ollion, Marie Candito, Maxime Peyrard, Solange Rossato, Benjamin Lecouteux, Aurélie Nardy, Gilles Sérasset, Vincent Segonne, Solène Evain, Diandra Fabre, Didier Schwab

TL;DR

Pantagruel is a new family of unified self-supervised encoder models designed specifically for French text and speech processing. By shifting away from traditional token-reconstruction targets toward predicting contextualized representations in a shared feature space, Pantagruel achieves competitive or superior performance across a wide range of French benchmarks. Additionally, the project introduces INA-100k, a massive new 100,000-hour corpus of diverse French broadcast audio to supercharge speech representation learning.

What Problem Does This Paper Address?

Most state-of-the-art self-supervised learning (SSL) models treat text and speech as fundamentally different animals. Text models (like BERT or CamemBERT) typically predict discrete tokens, while speech models (like wav2vec 2.0) often rely on contrastive learning over quantized audio units.

This modality-specific fragmentation creates two main issues:

  1. It prevents a unified architectural treatment of different inputs.
  2. Token-level reconstruction can under-utilize the rich, continuous structural regularities present in signals like audio.

While Joint Embedding Predictive Architecture (JEPA) frameworks—which train models to predict masked latent representations in a feature space rather than raw inputs—have excelled in vision and audio, they remain largely underexplored for text, especially for languages other than English. The authors introduce Pantagruel to bridge this gap for the French language.

Methods

Pantagruel unifies text and speech encoding under a single framework based on the data2vec 2.0 architecture, which is an instance of the JEPA framework.

Figure 1: Overview of the Pantagruel model architecture. The network starts with a modality-specific pre-net to extract feature vectors from the input text/speech sequence. These features are input to a teacher encoder, while randomly chosen visible tokens (in blue) are input to a student encoder. A lightweight decoder predicts the teacher’s latent representations from the student’s outputs. For text input, an additional masked language modeling (MLM) loss is used. The teacher’s parameters are updated as an exponential moving average (EMA) of the student’s. After training, only the embedding layer and the student encoder are used for fine-tuning on downstream tasks.

The core training paradigm relies on a teacher-student setup:

  • The Pre-net: A modality-specific layer (a small CNN for speech, a standard embedding layer for text) extracts initial feature vectors from the input sequence.
  • Teacher & Student Encoders: Both share a standard Transformer architecture. The teacher encoder processes the full, unmasked input sequence. The student encoder only receives a masked version (where certain "visible tokens" are omitted).
  • Feature Prediction: A lightweight convolutional decoder attempts to predict the teacher's latent representations (averaged across the top $K$ layers) from the student's outputs. The loss is calculated as the $L_2$ distance between these predictions.
  • The Text Twist: Because text tokens are discrete and semantically dense, pure feature-space prediction can struggle to capture fine-grained syntactic structures. To solve this, the authors introduce a hybrid loss for text, augmenting the feature prediction objective with a standard Masked Language Modeling (MLM) target.

The models are released in two main configurations: base (12 layers, 768 hidden dimensions) and large (24 layers, 1024 hidden dimensions), though text models were restricted to the base size due to training instabilities with larger variants.

Datasets

The authors curated substantial, large-scale French corpora to train separate text and speech models:

Text Corpora

  • Wikipedia: 2019 French dump (876M tokens)
  • OSCAR: French portion (32.7B tokens)
  • CroissantLLM: A massive web, legal, administrative, and encyclopedic mix (302.2B tokens)

Speech Corpora

  • LeBenchmark: 14,000 hours of diverse French speech data (including MultilingualLibriSpeech).
  • INA-100k: A newly introduced, proprietary 100,000-hour corpus derived from the archives of France's National Audiovisual Institute (INA). This dataset spans radio and television broadcasts from 1940 to 2022, capturing highly diverse, real-world acoustic environments.

Key Insights and Ideas

  • A Shared Framework Works: The exact same underlying predictive framework (data2vec 2.0) can successfully scale to handle both continuous acoustic waveforms and discrete text tokens in French.
  • Text Needs Local Supervision: Pure embedding-level prediction is insufficient for text processing. Combining feature-space targets with token-level MLM targets creates a vital regularizer that helps the model retain local semantic and syntactic awareness.
  • Acoustic Diversity Trumps Cleanliness: Training on the massive, noisy, and spontaneous INA broadcast dataset significantly improves model robustness on challenging downstream tasks (like spontaneous child speech or noisy TV broadcasts), even if it slightly degrades performance on pristine, read-speech benchmarks.

Key Results

Pantagruel models were evaluated across standard French benchmarks, including FLUE (for text) and LeBenchmark (for speech).

Speech Performance

Pantagruel consistently outperformed established French speech baselines:

  • Automatic Speech Recognition (ASR): On the challenging, spontaneous ETAPE dataset, the large model trained on the combined 114k-hour dataset (Pantagruel-L-114k) achieved a Word Error Rate (WER) of 19.09%, significantly outperforming the LeBenchmark-w2v-L-14k baseline (26.03%).
  • Speech Translation (ST): On the multilingual TEDx benchmark (translating French speech to English, Spanish, or Portuguese), the base model outperformed its LeBenchmark counterpart by an impressive average margin of +5.8 BLEU.

Text Performance

  • Semantic Tasks: Models trained with the hybrid loss (e.g., Pantagruel-B-Osc-MLM) performed comparably to or better than strong baselines like CamemBERT and FlauBERT on text classification and paraphrase identification tasks.
  • Syntax Tasks: Pantagruel lagged slightly behind CamemBERT on highly syntax-sensitive tasks like dependency parsing and Verb Sense Disambiguation (VSD), indicating that token-level supervision remains highly critical for fine-grained linguistic structure.

Limitations and Future Work

The authors note a few key areas for improvement:

  1. Text Scaling Instability: The large variant of the text model suffered from training instability and could not be successfully completed, leaving text models limited to the base size for this release.
  2. Loss Balancing: The linear decay schedule for the hybrid text loss (balancing data2vec and MLM components) requires more granular optimization.
  3. True Multimodal Fusion: Currently, text and speech models are trained separately. The ultimate goal is to leverage this shared architecture for joint optimization on unaligned or weakly aligned speech-text pairs, paving the way for unified multimodal understanding (e.g., spoken question answering).

Summary updated

BibTeX
@inproceedings{le2026pantagruel,
  author = {Phuong-Hang Le and Valentin Pelloin and Arnault Chatelain and Maryem Bouziane and Mohammed Ghennai and Qianwen Guan and Kirill Milintsevich and Salima Mdhaffar and Aidan Mannion and Nils Defauw and Shuyue Gu and Alexandre Audibert and Marco Dinarelli and Yannick Estève and Lorraine Goeuriot and Steffen Lalande and Nicolas Hervé and Maximin Coavoux and François Portet and Étienne Ollion and Marie Candito and Maxime Peyrard and Solange Rossato and Benjamin Lecouteux and Aurélie Nardy and Gilles Sérasset and Vincent Segonne and Solène Evain and Diandra Fabre and Didier Schwab},
  title = {{Pantagruel: Unified Self-Supervised Encoders for French Text and Speech}},
  booktitle = {LREC},
  year = {2026},
  doi = {10.63317/573q4exhmpgd},
}
Figure