Token-level Sequence Labeling for Spoken Language Understanding using Compositional End-to-End Models

Siddhant Arora, Siddharth Dalmia, Brian Yan, Florian Metze, Alan W. Black, Shinji Watanabe

Abstract

Researchers from CMU have developed a "best of both worlds" architecture for Spoken Language Understanding (SLU) that combines the modularity of cascaded systems with the performance of end-to-end (E2E) models. By using a compositional approach that allows the Natural Language Understanding (NLU) component to "look back" at raw speech features, their model outperforms existing methods on Named Entity Recognition (NER) tasks while remaining transparent and compatible with pre-trained models.

Introduction

Traditionally, Spoken Language Understanding (SLU)—extracting meaning like "entities" or "intents" from audio—has been handled in two ways:

  1. Cascaded Systems: An Automatic Speech Recognition (ASR) engine turns speech to text, and an NLU engine tags that text. The primary flaw is error propagation: if the ASR makes a mistake (e.g., hearing "color" instead of "bedroom"), the NLU engine is stuck with that error.
  2. Direct E2E Systems: A single "black box" model maps audio directly to a sequence containing both words and tags. These models are hard to debug, cannot easily leverage text-based NLU research, and often struggle with the "alignment" of tags to specific spoken words.

The authors tackle this "modularity vs. performance" trade-off, seeking a way to keep the transparency of cascaded systems without inheriting their fatal error propagation.

Methods

The authors propose a Compositional E2E SLU architecture. It consists of two main sub-networks that are trained together:

  • ASR Sub-Net: A standard encoder-decoder that processes speech features into hidden representations and predicts text.
  • NLU Sub-Net: Instead of just taking the final text, this component takes the hidden representations from the ASR. Crucially, it uses a Speech Attention (SA) mechanism to attend back to the original speech encoder features. This allows the NLU component to "hear" acoustic cues that might have been lost or mis-transcribed by the ASR decoder.
  • Token-level Labeling: Unlike direct E2E models that treat SLU as a translation task, this model treats it as a sequence labeling task (tagging each token), allowing the use of well-known structures like Conditional Random Fields (CRF).
Architecture of the proposed Compositional E2E SLU model, featuring ASR and NLU sub-networks connected via Speech-Attention.

This setup is end-to-end differentiable, meaning the whole system can be optimized together, but the components remain distinct enough to be swapped with pre-trained models (like BERT-based encoders).

Datasets

The models were evaluated on two major SLU benchmarks for Named Entity Recognition (NER):

  • SLURP: A large, linguistically diverse dataset of user interactions with a home assistant (approx. 40 hours of training data).
  • SLUE-VoxPopuli: A newer, more challenging benchmark based on public speeches, characterized by being relatively under-resourced (approx. 14.5 hours of training data).

Key Insights and Ideas

  • Acoustic Recovery: The "Speech Attention" mechanism is the hero. If the ASR predicts the wrong word, the NLU component can still identify the correct entity type by looking at the original audio features. For example, even if "bedroom" is mis-transcribed as "color," the NLU can use the audio context to correctly tag it as a HOUSE_PLACE.
  • The Power of CRF: The authors found that using a CRF layer isn't just about accuracy; it provides better transparency. The model's confidence in a CRF correlates much better with actual errors than standard token classification, making it more reliable for "human-in-the-loop" auditing.
  • Compatibility is King: Because the model is compositional, the authors demonstrated they could "plug in" external, high-performing ASR transcripts or fine-tune specific sub-nets, leading to significant performance boosts that monolithic E2E models can't easily replicate.

Key Results

The compositional model consistently outperformed both cascaded and direct E2E baselines across different benchmarks.

Performance comparison of the proposed Compositional E2E SLU against Direct E2E and Cascaded baselines on SLURP and SLUE datasets.
  • On SLURP: The proposed model achieved an SLU-F1 of 78.0, surpassing the Direct E2E baseline (71.9) and the Cascaded baseline (73.3).
  • On SLUE: The gains were even more pronounced, with the model hitting 60.3 F1, a significant jump over the Direct E2E baseline of 54.7.
  • Error Analysis: The authors showed that their model is "transparent" — they can pinpoint exactly how many errors were caused by the ASR component versus the NLU component, a feat impossible with standard "black box" E2E models.

Limitations and Future Work

The primary limitation is the requirement for transcripts. To train this compositional model, ground-truth text for the audio is required, not just the final entity tags. While this is a safe assumption for many datasets, it prevents the model from being trained on "unlabeled" audio-to-intent data.

Future work may involve exploring how to use this architecture in "low-resource" settings where transcripts are scarce, or extending the "speech attention" idea to other complex SLU tasks like intent classification and slot filling simultaneously.

Summary updated

BibTeX
@inproceedings{arora2022token,
  author = {Siddhant Arora and Siddharth Dalmia and Brian Yan and Florian Metze and Alan W. Black and Shinji Watanabe},
  title = {{Token-level Sequence Labeling for Spoken Language Understanding using Compositional End-to-End Models}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.findings-emnlp.396},
}
Figure