Towards End-to-End Integration of Dialog History for Improved Spoken Language Understanding

Vishal Sunder, Samuel Thomas, Hong-Kwang Jeff Kuo, Jatin Ganhotra, Brian Kingsbury, Eric Fosler-Lussier

TL;DR

Researchers have developed a fully end-to-end (E2E) system for Spoken Language Understanding (SLU) that incorporates dialog history directly from speech signals, rather than relying on error-prone text transcripts. By using a teacher-student framework to distill knowledge from BERT and a novel "DropFrame" training technique, the model achieves state-of-the-art performance with 48% fewer parameters than traditional cascaded systems.

What Problem Does This Paper Address?

Most modern voice assistants use a "cascaded" architecture: an Automatic Speech Recognizer (ASR) turns your voice into text, and a Natural Language Understanding (NLU) unit interprets that text. This approach has two major flaws. First, it’s bulky—stacking two massive models is computationally expensive for on-device use. Second, it’s fragile—if the ASR makes a mistake (e.g., "call mom" vs. "call Bob"), the NLU has no way to recover the original acoustic context.

While End-to-End (E2E) systems—which go straight from audio to intent—solve these issues, they usually struggle to use dialog history. Previous attempts to include history in E2E models still relied on text transcripts from the ASR, re-introducing the very dependency E2E systems aim to avoid. This paper tackles the challenge of building a hierarchical model that "remembers" previous turns in a conversation using only speech data.

Methods

The authors propose a Hierarchical Conversation Model consisting of two main parts:

  1. Utterance Encoder (The Student): A neural network that processes a single segment of speech into a vector representation. It uses a pre-trained RNN-T architecture.
  2. Conversation Encoder (Modality Agnostic): A higher-level Transformer (or LSTM) that takes a sequence of these utterance vectors (the history) and encodes them into a single context vector for classification.

To make the speech-based model as "smart" as a text-based one, they employed Teacher-Student Distillation. During training, a pre-trained BERT model (The Teacher) processes the gold-standard text transcripts of the same conversation. The speech model is forced to "mimic" BERT’s semantic embeddings using two specific loss functions:

  • Euclidean Loss: Minimizing the physical distance between speech and text vectors.
  • Contrastive Loss: Encouraging the model to recognize which speech segments match which text segments in a batch, effectively "tying" the two modalities together.

Finally, they introduced DropFrame, a technique where random speech frames are discarded during training. This addresses the fact that speech sequences are much longer than text sequences, which usually makes training E2E history models prohibitively slow.

Datasets

The model was evaluated on the HarperValleyBank (HVB) corpus, a public dataset of simulated spoken dialogs between bank employees and customers.

  • Scale: 1,446 human-human conversations (approx. 10 hours of audio).
  • Task: Multi-label "Dialog Action Recognition" (identifying which of 16 possible actions, like "providing information" or "closing a call," are occurring).
  • Complexity: Unlike simple intent datasets, HVB requires understanding the flow of a real conversation.

Key Insights and Ideas

  • History is Essential: Adding dialog history improved the absolute F1 score by 7.7% compared to looking at a single utterance in isolation. Context helps resolve ambiguities that exist in standalone audio.
  • DropFrame as a Regularizer: Surprisingly, dropping speech frames didn't just make training faster (reducing time by ~70%); it actually improved performance. The authors hypothesize that it acts as a regularizer, forcing the model to learn more robust features from incomplete audio.
  • Robustness to "Noisy" ASR: The E2E approach shines when you don't have perfect data. In scenarios where an "off-the-shelf" ASR (not fine-tuned to the specific domain) was used, the E2E model outperformed the cascaded baseline by a massive 10% absolute F1 score.
  • Efficiency: By sharing the conversation encoder across modalities and distilling knowledge, the E2E model achieves competitive results while being significantly more compact than cascaded alternatives.

Key Results

  • Performance: The best E2E model (using Contrastive Loss) achieved a 61.7 Macro-F1 score, nearly matching the performance of a state-of-the-art cascaded system (62.2 F1).
  • Model Size: The E2E model uses only 88 million parameters, compared to the 168 million required by the cascaded BERT-based baseline—a 48% reduction.
  • Training Speed: The DropFrame technique (with a frame limit of 256) reduced training time from 27 minutes per epoch to just 8 minutes.

Limitations and Future Work

While the model is efficient, the authors note that encoding long speech histories is still more computationally intensive than encoding text. The current architecture uses a hierarchical approach (utterance then conversation), which is a "tractable" compromise.

The authors suggest that future work should look into even more integrated architectures—specifically, a single BERT-like model that can process raw speech for entire conversations without the need for a hierarchical split. They also aim to conduct a deeper analysis of why DropFrame works so effectively as a regularizer.

Summary updated

BibTeX
@inproceedings{sunder2022towards,
  author = {Vishal Sunder and Samuel Thomas and Hong-Kwang Jeff Kuo and Jatin Ganhotra and Brian Kingsbury and Eric Fosler-Lussier},
  title = {{Towards End-to-End Integration of Dialog History for Improved Spoken Language Understanding}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2022},
  doi = {10.1109/icassp43922.2022.9747871},
}

Loading related content...

Figure