Speech Analysis of Language Varieties in Italy

Moreno La Quatra, Alkis Koudounas, Elena Baralis, Sabato Marco Siniscalchi

Introduction

Italy possesses a remarkably diverse linguistic landscape, characterized by a multitude of regional varieties that evolved independently from Latin. While often colloquially referred to as "dialects," many of these varieties are distinct languages with unique phonological and structural properties. Despite this richness, modern Natural Language Processing (NLP) has largely treated Italian as a monolithic entity. This research addresses the gap by developing the first system capable of identifying 17 distinct Italian regional varieties directly from raw speech audio.

The Challenge of Regional Variety Identification

Identifying regional language varieties presents a "fine-grained" classification problem. Unlike distinguishing between unrelated languages (e.g., Italian vs. Chinese), regional varieties often share significant vocabulary and grammatical structures with Standard Italian and each other. Furthermore, speakers frequently engage in code-switching or language mixing, blending local varieties with Standard Italian. The goal of this work is to determine if deep learning models can discern these subtle acoustic signatures without the aid of intermediate text transcriptions.

Methodology: Contrastive Learning in Speech

The researchers utilized Self-Supervised Learning (SSL) models as a foundation, testing architectures such as WavLM, XLSR-53, and XLSR-128. These models, pre-trained on vast quantities of unlabeled audio, provide robust general-purpose speech representations.

To specialize these models for regional identification, the team introduced Supervised Contrastive Learning (SCL). Unlike standard cross-entropy loss, which focuses solely on label accuracy, SCL aims to structure the model's internal embedding space. Three specific loss functions were evaluated:

  1. Supervised Contrastive (SC) Loss: Encourages samples from the same region to cluster together.
  2. Triplet Margin (TM) Loss: Uses anchor, positive, and negative samples to enforce a minimum distance between different regional clusters.
  3. Multi-Similarity (MS) Loss: An adaptive approach that weights pairs based on their informativeness, helping the model focus on "hard" examples that are difficult to distinguish.

Data and Experimental Design

The study utilized the VIVALDI dataset (Vivaio Acustico delle Lingue e dei Dialetti d’Italia), covering 19 administrative regions. For the experiments, the data was refined to 17 regions to ensure sufficient city-level representation.

A critical aspect of the experimental design was the data split: cities included in the test set were entirely excluded from the training set. This "leave-city-out" approach ensures that the model learns generalized regional linguistic features rather than memorizing the specific acoustic environments or individual speaker characteristics of a particular location.

Results and Key Insights

The experiments yielded several significant findings regarding the intersection of model scale and domain specificity:

  • Domain Specificity vs. Scale: The XLSR-53-ITA model, which was specifically fine-tuned for Italian speech recognition, outperformed the larger XLSR-128 model. This indicates that pre-exposure to the phonetics of the target national language is more beneficial for sub-variety identification than broad multilingual training.
  • Effectiveness of Multi-Similarity Loss: The MS loss proved to be the most effective auxiliary task during fine-tuning. By focusing on difficult pairs, it allowed the model to better resolve the subtle differences between geographically adjacent varieties.
  • Geographic Continuity: Error analysis revealed that the model's mistakes were not random but followed geographic patterns. Confusions typically occurred between neighboring regions (e.g., Lombardy and Emilia-Romagna), reflecting the real-world linguistic continuum where regional boundaries are often fluid.

The best-performing configuration—XLSR-53-ITA with Multi-Similarity loss—achieved a Macro F1 score of 51.29% and an Accuracy of 60.49%. While these figures reflect the inherent difficulty of a 17-class fine-grained task, qualitative analysis via t-SNE visualizations confirmed that the model successfully organized the speech samples into distinct, geographically relevant clusters.

Conclusion

This research demonstrates that acoustic-only identification of Italian regional varieties is feasible using modern SSL architectures and contrastive learning techniques. By moving beyond text-based analysis, the system captures the "sound" of Italian history and culture. Future work will look to address challenges such as language mixing, data imbalance across regions, and the potential for even finer-grained "hyper-local" geolocation of speech.

Summary updated

BibTeX
@inproceedings{quatra2024speech,
  author = {Moreno La Quatra and Alkis Koudounas and Elena Baralis and Sabato Marco Siniscalchi},
  title = {{Speech Analysis of Language Varieties in Italy}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2024},
}
Figure