Abstract
Task-oriented dialog (TOD) understanding requires models to capture complex hierarchical relationships between user intents and semantic slots. Current pre-training methods often struggle with inconsistent dataset schemas and the rigid nature of standard contrastive learning. This paper presents SPACE-2, a novel pre-training framework that injects hierarchical structural knowledge into TOD models. By unifying diverse annotations into a "Semantic Tree Structure" (STS) and utilizing a multi-view contrastive learning objective, SPACE-2 achieves state-of-the-art results on the DialoGLUE benchmark, demonstrating exceptional performance in few-shot learning scenarios.
Introduction
Task-oriented dialog systems are designed to help users achieve specific goals, such as booking a hotel or checking a bank balance. This requires robust Natural Language Understanding (NLU) to identify intents and extract slot-value pairs. Despite the success of pre-trained models like BERT, two primary challenges persist in TOD: inconsistent annotation schemas across datasets and the "blunt" nature of standard contrastive learning (CL). Standard CL often treats all non-identical samples as negatives, failing to account for semantic overlap between different user utterances (e.g., two different users asking for "cheap hotels").
Methods
The SPACE-2 framework introduces three core innovations to address these challenges.
1. General Semantic Tree Structure (STS)
To overcome schema inconsistency, SPACE-2 defines a unified four-layer hierarchy: Domain → Intent → Slot → Value. This structure allows the model to map any existing TOD dataset into a common format. If a dataset lacks a specific layer (e.g., no "Domain" label), that node is simply marked as NULL.
2. Multi-View Scoring Function
Instead of binary positive/negative labels, SPACE-2 employs a "soft" similarity scoring mechanism. It evaluates 10 different "views" or sub-structures of the STS (e.g., Intent-Slot-Value paths) and uses Jaccard similarity to quantify semantic overlap. This approach enables the model to recognize partial similarities between dialogs, preventing it from incorrectly pushing apart related representations in the latent space.
3. Semi-Supervised Pre-training Objective
The model is trained using a composite loss function:
- $L_{sup}$: A supervised contrastive loss guided by the STS soft scores.
- $L_{self}$: A self-supervised contrastive loss using dropout-based augmentation for unlabeled data.
- $L_{slm}$: A span-based masked language modeling loss to preserve general linguistic knowledge.
Datasets and Evaluation
Pre-training utilized two large-scale collections: AnPreDial (460k labeled dialogs from 32 datasets unified via STS) and UnPreDial (3.2M unlabeled dialogs). Evaluation was conducted on the DialoGLUE benchmark, covering seven diverse TOD tasks including intent prediction, slot filling, and dialog state tracking.
Results and Insights
SPACE-2 established new state-of-the-art (SOTA) performance across all DialoGLUE datasets. On the full data setting, the average score improved from 86.89% to 88.10%. The most significant gains were observed in 10-shot learning, where the model achieved a 5.66% relative improvement over previous benchmarks (73.80% to 77.98%). Ablation studies confirmed that the hierarchical similarity scoring is the "secret sauce" of the model, as removing the tree-structured component led to a substantial drop in performance.
Conclusion
SPACE-2 demonstrates that injecting hierarchical structural knowledge into pre-training significantly enhances TOD understanding. While the current approach requires a one-time manual mapping of schemas, the resulting "structural scaffolding" provides a powerful inductive bias, especially for low-resource scenarios. Future work may explore automating schema mapping and extending these hierarchical benefits to generative dialog tasks.
Summary updated