Joint Intent Detection and Entity Linking on Spatial Domain Queries

Lei Zhang, Runze Wang, Jingbo Zhou, Jingsong Yu, Zhenhua Ling, Hui Xiong

Abstract

Spatial domain queries in voice assistants often suffer from lexical similarity and high entity ambiguity. We introduce MELIP (Multi-task framework for Entity Linking and Intent Prediction), a multi-task framework designed to jointly learn intent detection and entity linking. By employing hierarchical intent detection, a triple-scoring mechanism for entity linking, and a specialized spatial Graph Convolutional Network (SGCN), MELIP significantly outperforms state-of-the-art models on a massive new real-world dataset.

Introduction

Voice assistants like Alexa, Siri, and Baidu’s DuerOS handle millions of "spatial domain queries"—requests involving locations, points of interest (POIs), and navigation. However, these queries present two major challenges for standard Language Understanding (LU) systems:

  1. Lexical Similarity vs. Diverse Intents: Queries can appear almost identical but have different meanings. For example, "How far is it to Beijing Gymnasium?" (asking for a specific place) versus "How far is it to Beijing’s gymnasium?" (asking for a category).
  2. High Entity Ambiguity: Spatial names are often repetitive (e.g., dozens of "Xinhua Gardens"). Distinguishing the user's intended location requires deep context and spatial knowledge.

Existing systems often treat intent detection and entity linking as separate problems, missing the synergy between the two tasks.

Methodology

MELIP integrates intent detection and entity linking into a unified architecture based on three pillars:

Hierarchical Intent Detection

Instead of flat classification, MELIP uses two auxiliary tasks: predicting the query type (e.g., "Ask for distance") and the mention type (e.g., "POI" vs. "City"). This hierarchy helps the model distinguish between lexically similar queries.

Triple-Scoring Entity Linking

To link a mention to the correct POI in a knowledge base, the model calculates three scores:

  • Entity-Tag Score: Matches the mention type to the entity's category.
  • Entity-Mention Score: Measures semantic similarity between the words used.
  • Entity-Context Score: Analyzes surrounding words in the query for situational clues.

Spatial Graph Convolutional Network (SGCN)

The model uses pre-trained entity embeddings from a Graph Convolutional Network. This graph encodes spatial relationships, such as whether one entity "covers" another or shares tags, providing the model with a "map-like" intuition.

The MELIP architecture for joint query intent detection and entity linking.

Dataset: SMQ (Spatial Domain Query)

The researchers introduced the SMQ dataset, a new benchmark for spatial language understanding:

  • Source: 55,000 real-life queries from Baidu’s DuerOS voice assistant.
  • Annotation: Human-labeled for ground truth intent and entity links.
  • Knowledge Base: A POI-KB containing nearly 60 million entities, each with attributes like name, tag, province, city, and area.
Distribution of query lengths and candidate entity counts in the SMQ dataset.

Key Results and Discussion

MELIP was tested against several baselines, including BERT and RCNN:

  • Intent Detection: MELIP achieved 83.20% accuracy, outperforming a BERT+RCNN baseline (81.88%) and significantly beating standard models like FastText (50%).
  • Entity Linking: MELIP reached 89.37% accuracy, a significant improvement over the previous state-of-the-art DCA model (76.30%).
  • Ablation Studies: Removing the entity linking module dropped intent detection accuracy by 2.3%, proving that the multi-task approach provides a genuine performance boost.

Limitations

The model still struggles with complex query types, such as asking for the distance between two places (Query Type 0), which had the lowest accuracy at 57.23%. This is likely due to the complexity of multi-entity spatial relationships and fewer training examples for this specific type.

Conclusion and Future Work

MELIP demonstrates that joint learning of intent and entity linking is highly effective for spatial queries. Future work will focus on refining the model for complex query types and exploring its application in multi-turn conversational spatial dialogues.

Summary updated

BibTeX
@inproceedings{zhang2020joint,
  author = {Lei Zhang and Runze Wang and Jingbo Zhou and Jingsong Yu and Zhenhua Ling and Hui Xiong},
  title = {{Joint Intent Detection and Entity Linking on Spatial Domain Queries}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  doi = {10.18653/v1/2020.findings-emnlp.444},
}
Figure