Disentangled Knowledge Transfer for OOD Intent Discovery with Unified Contrastive Learning

Yutao Mou, Keqing He, Yanan Wu, Zhiyuan Zeng, Hong Xu, Huixing Jiang, Wei Wu, Weiran Xu

Introduction

Modern task-oriented dialogue systems, such as Alexa or Siri, must continuously evolve to recognize new user "intents" that fall outside their initial training data. This process, known as Out-of-Domain (OOD) intent discovery, typically involves leveraging prior knowledge from known, in-domain (IND) intents to cluster unknown OOD queries into meaningful categories.

However, existing approaches face two significant hurdles. First, there is an objective gap: models often use classification for IND pre-training but switch to clustering for OOD discovery, leading to suboptimal knowledge transfer. Second, feature entanglement occurs when instance-specific details and category-level traits are mixed in a single representation, introducing noise that degrades clustering performance.

The DKT Framework

To address these challenges, the authors introduce Disentangled Knowledge Transfer (DKT). This framework decouples intent representations into two distinct subspaces: an instance-level subspace and a cluster-level subspace.

Detailed architecture of the DKT framework showing the shared layer and the objective layer with unified contrastive learning.

As shown in the architecture above, DKT utilizes a BERT backbone followed by two independent transformation heads:

  1. Instance-level Head ($f$): Focuses on the unique characteristics of individual sentences.
  2. Cluster-level Head ($g$): Captures general characteristics shared across a category.

The model operates in two stages using a unified contrastive learning objective:

  • IND Pre-training: The instance-level head employs Supervised Contrastive Learning (SCL) to group same-class intents, while the cluster-level head uses standard cross-entropy (CE) classification.
  • OOD Clustering: For discovery, the model uses Instance-level Contrastive Learning (ILCL) on head $f$ to distinguish between samples and Cluster-level Contrastive Learning (CLCL) on head $g$ to identify OOD categories.

This alignment of objectives across stages ensures that features learned during pre-training are directly applicable to the downstream clustering task.

Experimental Setup

DKT was evaluated on two benchmark datasets:

  • CLINC: A dataset containing 22,500 queries across 150 intent categories.
  • BANKING: A specialized dataset with 13,083 customer service queries covering 77 banking-related intents.

The researchers tested the model under various OOD ratios (10%, 20%, and 30%), simulating scenarios where different proportions of classes are unknown during the discovery phase.

Results and Key Insights

DKT consistently established new state-of-the-art performance across both unsupervised and semi-supervised settings. On the CLINC-10% task, it achieved an accuracy of 97.78%, a 2.67% improvement over the previous best model, DeepAligned. Furthermore, DKT showed significantly less performance degradation as the number of IND classes decreased, proving its robustness.

A core insight of this work is the "Divide and Conquer" approach. By disentangling representations, the model avoids confusion between fine-grained instance details and broader category features.

t-SNE visualizations of intent representations from different components of the DKT model.

Qualitative analysis via t-SNE visualizations (above) demonstrates that DKT produces sharper decision boundaries compared to baselines. The disentangled heads allow for more precise clustering, effectively separating semantically similar but distinct OOD intents, such as "accept_reservation" versus "cancel_reservation," where previous models frequently failed.

Conclusion

DKT effectively bridges the gap between classification and clustering through unified contrastive learning and feature disentanglement. While the model currently requires a pre-defined number of clusters ($K$), future research will focus on automatically estimating the optimal number of new intent categories and further reducing reliance on labeled data through advanced self-supervised techniques.

Summary updated

BibTeX
@inproceedings{mou2022disentangled,
  author = {Yutao Mou and Keqing He and Yanan Wu and Zhiyuan Zeng and Hong Xu and Huixing Jiang and Wei Wu and Weiran Xu},
  title = {{Disentangled Knowledge Transfer for OOD Intent Discovery with Unified Contrastive Learning}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.acl-short.6},
}
Figure