Quebec French benchmark tests regional language differences in AI

QFrBLiMa: a Quebec French Benchmark of Regional Linguistic Markers

Computation and Language

Summary

Understanding how people from different regions speak helps make better language technology. The authors created QFrBLiMa, a test set comparing Quebec French and Metropolitan French by pairing sentences with regional markers. They tested large language models and fine-tuned classifiers to see how well these tools recognize regional language differences. Their results show that models perform differently depending on the method and that identifying a linguistic variant does not always mean finding its exact region. This work helps improve how AI handles local language variations.

What this means in practice

  • For language technology developers: Evaluate and improve AI systems’ ability to recognize regional French language variations using a specific benchmark focused on Quebec and Metropolitan French.
  • For machine translation engineers: Test models on regional language differences to better tailor translations for diverse French-speaking populations.

Authors

Nasma Chaoui, Richard Khoury

Abstract

Recognizing regional linguistic variation is essential for developing language technologies that account for the diversity of language use. We introduce QFrBLiMa, a contrastive benchmark for evaluating the recognition of documented regional associations of linguistic markers in Quebec French and Metropolitan French. Grounded in the Grand dictionnaire terminologique, it comprises 1,205 sentence pairs covering 241 linguistic markers across 12 thematic categories. We evaluate two widely used classification strategies: zero-shot prompting of large language models (LLMs) and supervised fine-tuning of BERT-family classifiers. Our experiments involve eight LLMs and five encoders fine-tuned using a separate corpus of 938,484 labeled text samples. Under their respective evaluation protocols, Gemini achieves the highest LLM order-robust accuracy (93.53%), while CamemBERT achieves the highest encoder strict pairwise accuracy (72.45%). The two strategies exhibit complementary recognition patterns. Our analyses show that stronger preferences do not necessarily accompany higher accuracy, candidate order substantially affects several LLMs, and source-based classification transfers imperfectly to regional lexical recognition. Moreover, identifying the relevant variants does not guarantee correct regional attribution. These findings motivate dedicated contrastive evaluation of regional linguistic knowledge beyond general multilingual capabilities. The methodology can be adapted to other linguistic varieties. The benchmark, code, and experimental results are publicly available on GitHub, and the benchmark and five fine-tuned classifiers are available on Hugging Face.