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

Abstract

Dialog history plays an important role in spoken language understanding (SLU) performance in a dialog system. For end-to-end (E2E) SLU, previous work has used dialog history in text form, which makes the model dependent on a cascaded automatic speech recognizer (ASR). This rescinds the benefits of an E2E system which is intended to be compact and robust to ASR errors. In this paper, we propose a hierarchical conversation model that is capable of directly using dialog history in speech form, making it fully E2E. We also distill semantic knowledge from the available gold conversation transcripts by jointly training a similar text-based conversation model with an explicit tying of acoustic and semantic embeddings. We also propose a novel technique that we call DropFrame to deal with the long training time incurred by adding dialog history in an E2E manner. On the HarperValleyBank dialog dataset, our E2E history integration outperforms a history independent baseline by 7.7% absolute F1 score on the task of dialog action recognition. Our model performs competitively with the state-of-the-art history based cascaded baseline, but uses 48% fewer parameters. In the absence of gold transcripts to fine-tune an ASR model, our model outperforms this baseline by a significant margin of 10% absolute F1 score.

Introduction

Modern voice assistants typically rely on a "cascaded" architecture where an Automatic Speech Recognizer (ASR) converts speech to text, followed by a Natural Language Understanding (NLU) unit. This approach faces two primary challenges: high computational cost due to the size of stacked models and fragility to ASR errors, where the NLU cannot recover from misrecognitions. While End-to-End (E2E) systems address these by mapping audio directly to intent, they have historically struggled to incorporate dialog history without reverting to text-based dependencies. This research introduces a hierarchical model that leverages speech-only history, maintaining a fully E2E pipeline.

Methodology

The proposed system utilizes a Hierarchical Conversation Model designed to process multi-turn dialogs directly from acoustic signals.

Model Architecture

The architecture consists of two primary components:

  1. Utterance Encoder (Student): A neural network based on a pre-trained RNN-T architecture that transforms individual speech segments into vector representations.
  2. Conversation Encoder: A higher-level Transformer or LSTM that aggregates a sequence of utterance vectors to form a context-aware representation for final classification.
Overview of the proposed hierarchical conversation model and teacher-student distillation framework.

Teacher-Student Distillation

To bridge the semantic gap between speech and text, the authors employ a distillation framework. A pre-trained BERT model (Teacher) processes gold-standard transcripts to provide semantic guidance. The speech-based student model is optimized to mimic these embeddings through two loss functions: Euclidean Loss (minimizing distance) and Contrastive Loss (aligning speech and text segments within a batch).

DropFrame Training

To mitigate the computational overhead of processing long speech sequences, the DropFrame technique was introduced. By randomly discarding speech frames during training, the model achieves significant speedups and improved robustness, acting as a form of regularization.

Experimental Results

The model was evaluated on the HarperValleyBank (HVB) corpus, featuring 1,446 human-human conversations focused on multi-label dialog action recognition.

Performance and Efficiency

The E2E model demonstrates that history is essential, providing a 7.7% absolute F1 improvement over history-independent baselines. As shown in the results table, the best-performing E2E model (HIER-ST + $L_{CON}$) achieves a Macro-F1 of 61.7, nearly matching the 62.2 F1 of a cascaded ASR-BERT system while being significantly more efficient.

Performance comparison of various models on the HarperValleyBank dataset, showing Macro-F1 scores and parameter counts.

Key Findings

  • Parameter Efficiency: The E2E model requires only 88 million parameters, a 48% reduction compared to the 168 million parameters used by the cascaded BERT baseline.
  • Robustness to Noisy ASR: 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.
  • Training Optimization: The DropFrame technique reduced training time by approximately 70% (from 27 to 8 minutes per epoch) while simultaneously enhancing performance as a regularizer.

Conclusion

This work demonstrates that fully E2E spoken language understanding can effectively incorporate dialog history, matching the performance of cascaded systems with half the parameters. Future research will explore non-hierarchical architectures that process raw speech for entire conversations and further investigate the regularizing properties of the DropFrame technique.

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},
}
Figure