Abstract
Unsupervised dialogue structure analysis is challenging due to label scarcity and the conflation of functional states with topical content. We present the Hidden Softmax Sequence Model (HSSM), an undirected Boltzmann machine architecture that disentangles dialogue acts, specific topics, and general language patterns. By incorporating horizontal connections between softmax units, HSSM captures the temporal flow of conversation. Our results on Twitter and task-oriented datasets demonstrate superior performance in sequence prediction and qualitative structure mapping compared to traditional directed models.
Introduction
Understanding the "skeleton" of a conversation—the sequence of speech acts like Inquiry $\rightarrow$ Information $\rightarrow$ Confirmation—is vital for building better chatbots and summarization tools. However, analyzing this structure is difficult for two primary reasons:
- Label Scarcity: Manually labeling thousands of dialogues with "latent states" (speech acts) is prohibitively expensive and domain-specific.
- Word Confusion: In a real conversation, words appear for different reasons. Some are part of a functional state (e.g., "How" in an inquiry), some belong to a specific topic (e.g., "flight" in a booking), and some are just common background noise (e.g., "the," "about").
Existing unsupervised models, mostly based on Hidden Markov Models (HMMs), often struggle to separate these influences, leading to "muddy" structural analysis where topics and dialogue states get conflated.
The HSSM Architecture
The authors propose the HSSM, an undirected generative model based on the Boltzmann machine framework. Unlike standard directed models that assume a strict parent-child "emission" of words, HSSM uses a two-layer undirected graph to model dependencies.
The core innovation lies in the Hidden Layer, which contains three distinct types of units:
- Softmax Units ($h^\phi$): These represent the "latent states" or the functional stage of the conversation (e.g., Greeting vs. Closing).
- Binary Topic Units ($h^\xi$): These capture the specific subject matter of a single dialogue session.
- Global Binary Unit ($h^\psi$): This captures the "background" language shared across the entire corpus.
To capture the flow of time, the model adds horizontal connections between adjacent softmax units. This allows the model to learn that a "Question" state is likely to be followed by an "Answer" state. Because exact learning in this undirected setup is mathematically "intractable," the authors use Mean-Field Variational Inference and a Stochastic Approximation Procedure (SAP) to train the model.
Experimental Setup
The model was evaluated on two distinct real-world datasets:
- Twitter-Post: A collection of 5,000 noisy, open-domain English conversations. These are short, informal, and vary wildly in topic.
- AirTicketBooking: A corpus of 1,890 task-oriented Mandarin dialogues from a professional service center. These are highly structured and goal-driven.
Key Insights
- Undirected Modeling: Undirected models (Boltzmann machines) are more stable and better at describing complex, mutual dependencies between different types of variables compared to traditional directed generative models.
- Disentanglement: By providing separate "slots" for general words, topic words, and state words, the model prevents the dialogue structure from being "polluted" by the topic. For example, it can recognize that "good morning" is a greeting regardless of the specific topic of the conversation.
- Sequential Awareness: Unlike simple clustering, HSSM learns the transition logic. It doesn't just group similar utterances; it learns the "grammar" of how one type of utterance leads to another.
Results
HSSM achieved lower Negative Log-Likelihood than five major baselines across both datasets. In an "Ordering Test" (using Kendall’s $\tau$ metric), HSSM significantly outperformed all other models, proving a much stronger grasp of dialogue flow.
Qualitatively, on the AirTicketBooking set, HSSM successfully mapped a clear flowchart that matched the actual business workflow of the service center. As shown in the figure above, the model identifies a logical progression from Inquiry to Place Info, Confirmation, and finally Reservation. Baseline models often confused these distinct stages, particularly "Price Info" and "Reservation."
Conclusion
While HSSM offers significant improvements in disentanglement and structure learning, it faces challenges in computational complexity due to the partition function calculation. Future work may explore Deep Boltzmann Machines to capture longer-distance dependencies and hierarchical structures in conversation.
Summary updated