PIER: A Novel Metric for Evaluating What Matters in Code-Switching

Enes Yavuz Ugan, Ngoc-Quan Pham, Leonard Bärmann, Alex Waibel
1/16/2025
cs.CLcs.LG

No official code found. Best implementation: enesyugan/PIER-CodeSwitching-Evaluation (6 stars, Apache-2.0, last commit 2025-10-15).

Abstract

Code-switching, the alternation of languages within a single discourse, presents a significant challenge for Automatic Speech Recognition. Despite the unique nature of the task, performance is commonly measured with established metrics such as Word-Error-Rate (WER). However, in this paper, we question whether these general metrics accurately assess performance on code-switching. Specifically, using both Connectionist-Temporal-Classification and Encoder-Decoder models, we show fine-tuning on non-code-switched data from both matrix and embedded language improves classical metrics on code-switching test sets, although actual code-switched words worsen (as expected). Therefore, we propose Point-of-Interest Error Rate (PIER), a variant of WER that focuses only on specific words of interest. We instantiate PIER on code-switched utterances and show that this more accurately describes the code-switching performance, showing huge room for improvement in future work. This focused evaluation allows for a more precise assessment of model performance, particularly in challenging aspects such as inter-word and intra-word code-switching.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Point of Interest Error Rate (PIER) Metric for Code-Switching ASR: A specialized evaluation metric designed to focus on critical points in multilingual speech recognition, providing a more accurate analysis of code-switched utterances.

60PythonSep 5, 20241 years agoApache-2.0
asrcode-switchingevaluation-metricsmultilingual-asrpier

Similar Papers

Cite this paper

@article{ugan2025pier,
  title  = {PIER: A Novel Metric for Evaluating What Matters in Code-Switching},
  author = {Enes Yavuz Ugan and Ngoc-Quan Pham and Leonard Bärmann and Alex Waibel},
  year   = {2025},
  eprint = {2501.09512},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.09512v2}
}

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/2501.09512.svg)](https://codeofpaper.com/paper/2501.09512)

Discussion