Skip to main content
QUICK REVIEW

[Paper Review] Semantic Distance: A New Metric for ASR Performance Analysis Towards Spoken Language Understanding

Suyoun Kim, Abhinav Arora|arXiv (Cornell University)|Apr 5, 2021
Topic ModelingComputer Science29 references5 citations
TL;DR

This paper proposes Semantic Distance (SemDist), a novel ASR evaluation metric that measures semantic similarity between reference and hypothesis transcriptions using RoBERTa-based sentence embeddings. Unlike Word Error Rate (WER), SemDist correlates better with downstream NLU performance—demonstrating that lower SemDist predicts higher intent accuracy, entity recognition F1, and semantic parsing quality, even when WER remains unchanged.

ABSTRACT

Word Error Rate (WER) has been the predominant metric used to evaluate the performance of automatic speech recognition (ASR) systems. However, WER is sometimes not a good indicator for downstream Natural Language Understanding (NLU) tasks, such as intent recognition, slot filling, and semantic parsing in task-oriented dialog systems. This is because WER takes into consideration only literal correctness instead of semantic correctness, the latter of which is typically more important for these downstream tasks. In this study, we propose a novel Semantic Distance (SemDist) measure as an alternative evaluation metric for ASR systems to address this issue. We define SemDist as the distance between a reference and hypothesis pair in a sentence-level embedding space. To represent the reference and hypothesis as a sentence embedding, we exploit RoBERTa, a state-of-the-art pre-trained deep contextualized language model based on the transformer architecture. We demonstrate the effectiveness of our proposed metric on various downstream tasks, including intent recognition, semantic parsing, and named entity recognition.

Motivation & Objective

  • To address the limitation of Word Error Rate (WER) in evaluating ASR systems for downstream Natural Language Understanding (NLU) tasks.
  • To develop a metric that captures semantic correctness rather than just literal word-level accuracy.
  • To evaluate whether semantic similarity in sentence embedding space correlates more strongly with NLU performance than WER.
  • To demonstrate that SemDist can guide model selection by identifying ASR hypotheses that are semantically closer to the reference, even with identical WER.
  • To explore the potential of using SemDist as a training objective for future ASR systems.

Proposed method

  • Utilize RoBERTa, a state-of-the-art pre-trained transformer-based language model, to generate contextualized sentence embeddings for reference and hypothesis pairs.
  • Compute semantic distance as the cosine similarity between the sentence embeddings of the reference and ASR hypothesis.
  • Define SemDist as the complement of cosine similarity (1 - cosine similarity), so lower values indicate higher semantic similarity.
  • Train and fine-tune RoBERTa on a large-scale pre-training corpus to ensure robust and semantically rich sentence representations.
  • Apply the resulting embedding model to encode utterances from ASR test sets and compute SemDist across multiple domains and NLU tasks.
  • Compare SemDist with WER across multiple downstream NLU tasks, including intent recognition, named entity recognition (NER), and semantic parsing.

Experimental results

Research questions

  • RQ1Does Semantic Distance (SemDist) correlate more strongly with downstream NLU performance than Word Error Rate (WER)?
  • RQ2Can SemDist distinguish between ASR hypotheses with identical WER but different semantic quality?
  • RQ3How does SemDist perform in predicting intent recognition accuracy and NER F1-score across different ASR system variants?
  • RQ4To what extent does SemDist reflect the true semantic similarity between reference and hypothesis utterances, especially when word-level errors are not equally impactful?
  • RQ5Can SemDist be used to improve model selection or even serve as a training objective in end-to-end ASR systems?

Key findings

  • SemDist shows a strong positive correlation with NLU performance: in the assistant domain, SemDist correlates with intent accuracy (r = 0.72), and with EM (r = 0.65), indicating its predictive power.
  • For the same WER, a lower SemDist consistently leads to higher NER F1-score—e.g., Set C (SemDist = 0.0028) achieves 0.846 F1 vs. Set B (SemDist = 0.0044) at 0.590 F1.
  • In intent recognition, Set C (SemDist = 0.0017) achieves 96.22% intent accuracy, significantly outperforming Set B (SemDist = 0.0030) at 94.28%, despite identical WER.
  • SemDist effectively captures semantic nuances: for example, 'he is so cute' (SemDist = 0.0031) is semantically closer to 'she is so cute' than 'heat is so cute' (SemDist = 0.0112), even though both have the same WER.
  • SemDist identifies that 'had not' (SemDist = 0.0219) is more semantically distant than 'had new clubs' (SemDist = 0.0167), despite the former being phonetically closer to the reference.
  • The metric successfully differentiates hypotheses based on semantic plausibility and word importance—e.g., correctly weighting 'aw/or' vs. 'aw/oh' in context, showing sensitivity to semantically critical terms.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.