Elastic CRFs for Open-ontology Slot Filling

Yinpei Dai, Yichi Zhang, Zhijian Ou, Yanmeng Wang, Junlan Feng · OpenReview

Abstract

Slot filling is a crucial component in task-oriented dialog systems, which is to parse (user) utterances into semantic concepts called slots. An ontology is defined by the collection of slots and the values that each slot can take. The widely-used practice of treating slot filling as a sequence labeling task suffers from two drawbacks. First, the ontology is usually pre-defined and fixed. Most current methods are unable to predict new labels for unseen slots. Second, the one-hot encoding of slot labels ignores the semantic meanings and relations for slots, which are implicit in their natural language descriptions. These observations motivate us to propose a novel model called elastic conditional random field (eCRF), for open-ontology slot filling. eCRFs can leverage the neural features of both the utterance and the slot descriptions, and are able to model the interactions between different slots. Experimental results show that eCRFs outperforms existing models on both the in-domain and the cross-domain tasks, especially in predictions of unseen slots and values.

Introduction

In task-oriented dialog systems, slot filling identifies key information in user utterances—for example, extracting "6 pm" as a time and "Avatar" as a movie_name. Traditionally, this is treated as a sequence labeling problem using fixed ontologies. This approach has two major flaws: models cannot handle new slots without retraining, and they ignore the semantic information inherent in slot names by using one-hot encodings. This research introduces the Elastic Conditional Random Field (eCRF) to enable "open-ontology" systems that generalize to unseen domains and values by leveraging natural language descriptions of slots.

Methodology

The eCRF is "elastic" because its parameters are derived dynamically from the input rather than being fixed. The architecture consists of three primary components:

  1. Slot Description Encoder: This component processes natural language descriptions (e.g., "theatre name") and combines them with IOB (Inside-Outside-Beginning) tags to create semantic embeddings.
  2. BiLSTM Feature Extractor: A bidirectional LSTM processes the user's utterance to capture contextual word features.
  3. eCRF Labeler: This layer calculates node potentials (matching words to slot descriptions) and edge potentials (modeling transitions between slots). Edge potentials are calculated using a bilinear function of the slot embeddings, allowing the model to understand dependencies between entirely new slots based on their semantic descriptions.
The Elastic CRF (eCRF) architecture, illustrating how slot descriptions are encoded into embeddings to facilitate semantic matching against utterance features.

Experimental Setup and Results

The model was evaluated using the Google simulated dataset (M2M) across two challenging tasks:

  • In-domain Task: The model encountered many "unseen values" (e.g., new movie titles). In a 25:75 known-to-unknown value split, the eCRF achieved 78.4% accuracy in the movie domain, significantly outperforming standard BiLSTM (66.2%) and Concept Tagging (71.8%) baselines.
  • Cross-domain Task: The model was trained on one domain (e.g., Restaurants) and tested on another (e.g., Movies). The eCRF demonstrated superior zero-shot generalization, reaching 37.7% accuracy on unknown slots, nearly doubling the performance of previous state-of-the-art models.
Visualization of the matching mechanism between utterance words and slot descriptions, showing how the model aligns semantic concepts with specific segments of the user input.

Discussion and Key Insights

A critical advantage of the eCRF is its ability to treat slot filling as a matching problem in a shared semantic space. By modeling edge potentials between semantic embeddings, the eCRF avoids "fragmentation" errors common in node-only models, where multi-word entities (like "Lincoln Square Cinemas") might otherwise be split into different slots. Unlike models that process one slot at a time, the eCRF considers all possible descriptions simultaneously, capturing complex constraints and relationships in a single pass.

Conclusion

The eCRF represents a significant step toward flexible, open-ontology dialog systems. By replacing fixed labels with semantic descriptions, the model can adapt to new features without retraining. Future work may involve extending this approach to intent and action labeling, as well as utilizing more advanced transformer-based encoders to further enhance semantic representation.

Summary updated

BibTeX
@inproceedings{dai2021elastic,
  author = {Yinpei Dai and Yichi Zhang and Zhijian Ou and Yanmeng Wang and Junlan Feng},
  title = {{Elastic CRFs for Open-ontology Slot Filling}},
  booktitle = {Applied Sciences},
  year = {2021},
  doi = {10.3390/app112210675},
}
Figure