Skip to main navigation Skip to search Skip to main content

Automatic Language Identification of Indigenous Mexican Languages: A Transfer Learning Approach for Nahuatl and Totonaco

  • Ricardo Alvarez-Sanchez
  • , Geraldine Lomeli
  • , David Pinto
  • , Fernando Perez-Tellez
  • , Enrique Varela
  • , Sofía Paniagua Rivera

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

Abstract

Nahuatl and Totonaco are among Mexico’s 68 legally recognized indigenous languages, yet both remain severely under-resourced digitally, restricting community access to public services. This paper presents a Transfer Learning approach for Automatic Language Identification (LID) between these two Mesoamerican languages by fine-tuning Wav2Vec 2.0 XLS-R, a cross-lingual self-supervised model pre-trained on 128 languages, on the publicly available TonalliCorpus (72 field-recorded interviews, 24 h, covering five Nahuatl and four Totonaco regional variants). A data-explosion segmentation strategy converts long-form recordings into over 14,000 Transformer-ready 5-s chunks, while a speaker-independent split ensures generalization to unseen speakers. The convolutional encoder is frozen during fine-tuning to preserve pre-trained acoustic representations; only the Transformer layers and a lightweight classification head are updated. The model achieves 99.22% accuracy on the held-out test set and a 5-fold cross-validation mean of 99.19% ± 0.13%, confirming both effectiveness and stability. An analysis of the results reveals a minor Totonaco recall asymmetry (Δ = 0.02) attributable to corpus class imbalance. These results establish a reproducible LID benchmark and a foundation for downstream indigenous speech technologies.

Original languageEnglish
Title of host publicationArtificial Intelligence – COMIA 2026 - 18th Mexican Congress, 2026, Proceedings
EditorsHiram Ponce, Hugo Jair Escalante, Roberto A. Vazquez
PublisherSpringer Science and Business Media Deutschland GmbH
Pages346-356
Number of pages11
ISBN (Print)9783032374400
DOIs
Publication statusPublished - 2027
Event18th Mexican Congress on Artificial Intelligence, COMIA 2026 - Cuernavaca, Mexico
Duration: 25 May 2026 → 29 May 2026

Publication series

NameCommunications in Computer and Information Science
Volume3097 CCIS
ISSN (Print)1865-0929
ISSN (Electronic)1865-0937

Conference

Conference18th Mexican Congress on Artificial Intelligence, COMIA 2026
Country/TerritoryMexico
CityCuernavaca
Period25/05/26 → 29/05/26

Keywords

  • Deep Learning
  • Fine-Tuning
  • Language Identification
  • Low-Resource Languages
  • Nahuatl
  • Responsible AI
  • Totonaco
  • Transfer Learning
  • Wav2Vec 2.0
  • XLS-R

Fingerprint

Dive into the research topics of 'Automatic Language Identification of Indigenous Mexican Languages: A Transfer Learning Approach for Nahuatl and Totonaco'. Together they form a unique fingerprint.

Cite this