Continuous representations of intents for dialogue systems

Sindre André Jacobsen, Anton RagniarXiv 2021

Abstract

Traditional dialogue systems rely on discrete intent labels, leading to static models that require expensive retraining to incorporate new tasks. This paper introduces Intent Space, a continuous representation where intents are embedded as coordinates in a high-dimensional manifold. This approach enables dialogue systems to capture semantic relationships between tasks and dynamically expand to unseen intents with high accuracy, using minimal data and zero retraining of the core model parameters.

Introduction

Conventional intent prediction treats user goals—such as "Play Music" or "Check Weather"—as a fixed set of discrete classes. This categorical approach suffers from two primary flaws: it is static, requiring full retraining to add new capabilities, and it treats intents in isolation, ignoring the semantic overlap between related tasks. To address these issues, the authors propose a shift toward a fluid "Intent Space" that allows for non-destructive updates and zero-shot or few-shot learning of new user goals.

Methodology: The Intent Space

The core innovation is the mapping of intents into a continuous $B$-dimensional space. Instead of a standard softmax output, the model represents each intent $c$ through coordinates $\alpha_c$ and a set of basis matrices $W_b$. This architecture produces an intent-dependent history state, essentially allowing the model to "imagine" how well an input sentence fits various points in the space.

The two-phase training process: (a) learning bases and coordinates for seen intents, and (b) estimating coordinates and expansions for unseen intents without retraining the original model.

Training occurs in two interleaved phases: first, the model learns the structural "bases" of the space; second, it estimates the specific "coordinates" where intents reside. To add an unseen intent, the model only needs to estimate a new set of coordinates and an expansion matrix. A specialized regularization function ensures that these additions do not degrade the performance of previously learned intents.

Experimental Results

The researchers evaluated the framework on the SNIPS and ATIS benchmarks. On the SNIPS dataset, the model achieved a baseline accuracy of 97.33% on seen intents. When introducing unseen intents, the system demonstrated remarkable stability and performance.

Accuracy metrics for seen and unseen intents across various tasks in the SNIPS dataset, demonstrating high performance even for newly introduced categories.

As shown in the results, the model reached 95.00% accuracy on the unseen GetWeather intent without any retraining of the original parameters. Furthermore, the system proved highly efficient in few-shot scenarios; with only 10 training sentences for a new intent, it achieved over 60% accuracy, significantly outperforming traditional random classifiers.

Discussion and Future Work

The Intent Space successfully captures semantic relationships, mapping similar intents like AddToPlaylist and PlayMusic near each other. This spatial proximity is the key to its generalizability. While the model excels at modeling intents once they are identified, the authors note that the initial detection of "unknown" queries via entropy thresholds remains a challenge for future research. Future directions include exploring more complex basis representations and refined coordinate combination methods to further enrich the Intent Space's representational power.

Summary updated

BibTeX
@misc{jacobsen2021continuous,
  author = {Sindre André Jacobsen and Anton Ragni},
  title = {{Continuous representations of intents for dialogue systems}},
  year = {2021},
  eprint = {2105.03716},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2105.03716},
}
Figure