Spoken Language Identification with Pre-trained Models and Margin Loss

Zhihua Fang, Liang He, Weiwu Jiang
5/3/2026
cs.SDcs.CL

Official code: PunkMale/TidyLang2026 (0 stars, Python, MIT, last commit 2026-05-29).

Abstract

For the speaker-controlled spoken language identification task proposed in the TidyLang Challenge 2026, this paper proposes a language identification method based on pre-trained models and margin-based losses. The proposed method adopts a pre-trained ECAPA-TDNN as the feature encoder and incorporates margin-based losses to enhance the discriminative ability of language representations, thereby improving inter-class separability and reducing the interference of non-linguistic factors such as speaker characteristics.

Show full abstract

Experimental results on the Tidy-X dataset show that the proposed method achieves 85.95% macro accuracy and 90.96% micro accuracy on the language identification task and 17.08% equal error rate (EER) on the verification task. Compared with the official baseline, the macro accuracy improves by 45.7%, the micro accuracy improves by 15.2%, and the EER is reduced by approximately 50.8%, demonstrating the effectiveness of the proposed method. The code will be released at https://github.com/PunkMale/TidyLang2026.

View on arXivView PDF

Code Implementations(1)

MIT

Odyssey'26|Spoken Language Identification with Pre-trained Models and Margin Loss

00PythonMay 29, 20266 months agoMIT

Similar Papers

Cite this paper

@article{fang2026spoken,
  title  = {Spoken Language Identification with Pre-trained Models and Margin Loss},
  author = {Zhihua Fang and Liang He and Weiwu Jiang},
  year   = {2026},
  eprint = {2605.01905},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.01905v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.01905.svg)](https://codeofpaper.com/paper/2605.01905)

Discussion