Introduction
Goal-oriented dialogue systems are fundamental to modern digital assistants, enabling tasks such as flight bookings or restaurant reservations. These systems typically rely on a predefined ontology consisting of domains, slots (categories), and values (specific instances). However, manually constructing these ontologies is a resource-intensive process. While automated ontology induction from raw text is a desired alternative, current methods often fail to generalize across different domains. For instance, a model trained on transportation data may struggle with medical terminology because word embeddings shift significantly between contexts. This research introduces a novel approach to dialogue term extraction that leverages the geometric properties of word embedding spaces to improve zero-shot transfer performance.
Methodology
The researchers propose a BIO-tagging (Beginning, Inside, Outside) framework to identify term spans within sentences. They evaluate a standard RoBERTa-based baseline against two innovative feature sets designed to capture domain-agnostic characteristics of important terms.
RoBERTa Baseline
The baseline model utilizes a pre-trained RoBERTa architecture to predict BIO tags for each token. This model serves as the foundation for the transfer learning experiments.
Masked Language Modeling (MLM) Scores
The first feature set is based on the hypothesis that "meaningful" words—such as specific nouns or attributes—are inherently harder for a language model to predict from context than common "function" words (e.g., "the", "and"). By calculating the probability that a word is not predicted by the model given its surroundings, the researchers derive a "surprise" score that highlights high-information content terms.
Topological Data Analysis (TDA)
The most significant contribution of this work is the application of Topological Data Analysis (TDA) to word embeddings. Rather than relying on the absolute coordinates of a word vector, TDA examines the geometry of a word's neighborhood. By analyzing the 50 nearest neighbors in the embedding space, the researchers compute several topological features:
- Codensity: Measures the local density of the neighbor point cloud.
- Persistence: Identifies "holes" and connected components across multiple scales using Vietoris-Rips complexes.
- Wasserstein Norm: Provides a numerical summary of these persistent features.
The stability of these topological structures across domains makes them highly effective for zero-shot transfer, as the relative relationships between synonyms and category peers remain consistent even when the specific vocabulary changes.
Experimental Setup and Results
The models were trained on the MultiWOZ dataset and evaluated in a zero-shot setting on the Schema-Guided Dialogue (SGD) dataset, which encompasses 20 diverse domains.
The results demonstrate a substantial improvement in term discovery:
- Recall Enhancement: The baseline RoBERTa model achieved a recall of 0.35 on the unseen SGD ontology. In contrast, the "Union" model—combining TDA and MLM features—reached a recall of 0.74.
- Zero-Shot Discovery: TDA features were particularly effective at identifying terms that were entirely absent from the training set. The authors report that TDA, in particular, was responsible for finding the largest portion of "unseen" terms that the baseline missed.
- F1-Score: The TDA-enhanced models also outperformed the baseline in F1-score (0.48 vs. 0.45), indicating that the gains in recall did not come at a prohibitive cost to precision.
Discussion and Conclusion
This research highlights that the "shape" of word embedding neighborhoods provides a robust, domain-agnostic signal for identifying important dialogue terms. While the Union approach prioritizes recall—leading to some false positives—this is considered an acceptable trade-off for the initial stage of an ontology induction pipeline, where subsequent clustering can refine the results.
Future work may address the computational complexity of TDA, which is currently more intensive than standard embedding lookups. Additionally, applying TDA to contextualized embeddings, rather than static vocabulary vectors, presents a promising avenue for further improving extraction accuracy in complex dialogue scenarios.
Summary updated