Session-level Language Modeling for Conversational Speech

Wayne Xiong, Lingfeng Wu, Jun Zhang, Andreas StolckeEMNLP 2018

Abstract

Traditional automatic speech recognition (ASR) systems often treat utterances in isolation, ignoring the rich contextual information inherent in human dialogue. This paper presents a session-level language model (LM) that utilizes a Long Short-Term Memory (LSTM) network to track the entire history of a conversation. By incorporating speaker changes and overlapping speech, the proposed model achieves significant reductions in perplexity and word error rate (WER) on standard conversational telephone speech datasets.

Introduction

In standard ASR systems, the language model is typically "reset" at the beginning of every new utterance. This approach treats every sentence as an isolated island, completely ignoring the flow of human conversation. In reality, conversations are deeply contextual, exhibiting topical coherence, lexical entrainment (adopting the same words as a partner), and structural patterns like adjacency pairs (e.g., a question followed by an answer).

By resetting the model, ASR systems discard valuable clues that could help predict the next word. This research aims to bridge this gap by allowing the model to "remember" the entire session history, effectively modeling the conversation as a continuous stream rather than a series of disconnected segments.

Methods

The core of the proposed system is a session-level Long Short-Term Memory (LSTM) recurrent network. Unlike standard models, this LSTM reads the entire word-level history of a conversation from start to finish.

Serialization and Overlap Handling

Since conversations often involve people talking simultaneously, the model serializes utterances based on their "onset times" (when they started). This allows the model to process the dialogue in the order it naturally unfolds.

Serialization of utterances from two speakers based on onset time.

To help the model understand the dynamics of the conversation, two specific features were added to the input:

  • Speaker Change Bit: A binary indicator that flips when the speaker switches.
  • Overlap Bit: Indicates if the current utterance is completely overlapped by the other speaker, which is common in "backchannel" responses like "uh-huh."

Word Encodings and Rescoring

The researchers tested two types of inputs: standard one-hot word embeddings and "letter-trigram" encodings. The latter breaks words into character chunks to better handle rare or out-of-vocabulary words. Because running a session-level model in real-time is computationally expensive, the authors employed a rescoring framework. The session-level model is used to re-evaluate a list of top candidates (N-best lists) generated by a faster, simpler first-pass model.

Datasets

The models were trained and evaluated on classic conversational telephone speech (CTS) datasets, including Switchboard and Fisher (conversations between strangers) and CallHome (conversations between friends and family). Additionally, a large corpus of Conversational Web Data was used for pre-training before fine-tuning on the specific telephone datasets.

Key Insights

  • Contextual Learning: Providing the conversation history to a standard LSTM allows the network to learn relevant patterns automatically, without the need for manually engineered features for topic or style.
  • Robustness to ASR Errors: In real-world scenarios, the "history" is provided by the ASR system itself and may contain mistakes. The researchers found that even with an "errorful" history (5-10% WER), the session-level model provided a significant 14% perplexity reduction.
  • Complementary Strengths: Combining the session-level model with a traditional utterance-level model yielded better results than using either alone. This suggests the session model captures the "big picture," while the utterance model excels at capturing local, sentence-specific structures.

Results

The researchers measured performance using Perplexity and Word Error Rate (WER). The session-level model reduced perplexity by 17–21% compared to a standard baseline.

Word Error Rate (WER) results across different word encodings and datasets.

As shown in the results table, the model achieved a relative WER reduction of approximately 1–4% on the Switchboard test set, depending on the word encoding used. When combining session-level and utterance-level models, the total gain reached a 3–5% relative WER reduction. The model also demonstrated robustness on the more difficult CallHome dataset.

Limitations and Future Work

While effective, the current system is limited to a rescoring framework. Future work could involve integrating this context directly into the first-pass decoding process. Additionally, the authors suggest that incorporating more granular timing information (exact pause and overlap durations) and explicit semantic features could further improve the model's ability to predict turn-taking and topical shifts in long conversations.

Summary updated

BibTeX
@inproceedings{xiong2018session,
  author = {Wayne Xiong and Lingfeng Wu and Jun Zhang and Andreas Stolcke},
  title = {{Session-level Language Modeling for Conversational Speech}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2018},
  url = {https://openreview.net/forum?id=SyNw1GzuWr},
}
Figure