Skip to main content
QUICK REVIEW

[Paper Review] Joint Learning of Domain Classification and Out-of-Domain Detection with Dynamic Class Weighting for Satisficing False Acceptance Rates

Joo-Kyung Kim, Young‐Bum Kim|ArXiv.org|Jun 29, 2018
Topic ModelingComputer Science32 references4 citations
TL;DR

This paper proposes a joint learning framework for domain classification and out-of-domain (OOD) detection in spoken dialog systems, using dynamic class weighting to satisfy a target false acceptance rate (FAR) while maximizing classification accuracy. The method jointly trains a BiLSTM-based model with shared representations for both tasks, adjusting loss weights per epoch to prioritize FAR control, achieving significant accuracy gains over separate training or single-metric optimization on two Alexa datasets.

ABSTRACT

In domain classification for spoken dialog systems, correct detection of out-of-domain (OOD) utterances is crucial because it reduces confusion and unnecessary interaction costs between users and the systems. Previous work usually utilizes OOD detectors that are trained separately from in-domain (IND) classifiers, and confidence thresholding for OOD detection given target evaluation scores. In this paper, we introduce a neural joint learning model for domain classification and OOD detection, where dynamic class weighting is used during the model training to satisfice a given OOD false acceptance rate (FAR) while maximizing the domain classification accuracy. Evaluating on two domain classification tasks for the utterances from a large spoken dialogue system, we show that our approach significantly improves the domain classification performance with satisficing given target FARs.

Motivation & Objective

  • To address the challenge of maintaining a low out-of-domain false acceptance rate (FAR) in spoken dialog systems while maximizing in-domain classification accuracy.
  • To overcome limitations of separate training of domain classifiers and OOD detectors, which often fail to prioritize FAR as a satisficing constraint.
  • To develop a joint learning model that leverages shared representations between domain classification and OOD detection for improved performance.
  • To dynamically adjust class weights during training to balance FAR control and accuracy optimization, avoiding fixed or precomputed weighting schemes.
  • To evaluate the method on real-world Alexa datasets with diverse domain and OOD utterance distributions.

Proposed method

  • A joint neural model is trained using a bidirectional Long Short-Term Memory (BiLSTM) network to extract contextual utterance representations from word and character-level embeddings.
  • The model jointly optimizes two heads: a multi-class classifier for in-domain (IND) classification and a binary classifier for OOD detection, sharing the same BiLSTM representation.
  • Dynamic class weighting is applied during training by adjusting the loss weight for OOD samples based on the current FAR on the development set, ensuring the FAR remains below a target threshold.
  • The optimization objective is formulated as a constrained problem: maximize accuracy subject to FAR ≤ T, where T is the target false acceptance rate.
  • A differentiable surrogate loss function is used to approximate the non-differentiable constraint, enabling end-to-end training with gradient descent.
  • The model is trained with a coefficient α controlling the relative importance of the OOD loss, which is tuned per epoch to maintain the target FAR.

Experimental results

Research questions

  • RQ1Can joint learning of domain classification and OOD detection improve overall classification performance compared to separate training?
  • RQ2Does dynamic class weighting enable better satisfaction of a target false acceptance rate (FAR) while maximizing in-domain accuracy?
  • RQ3How does the performance of the joint model with dynamic weighting compare to models optimized for a single metric or with fixed class weights?
  • RQ4To what extent does shared representation learning between domain classification and OOD detection enhance model robustness and generalization?
  • RQ5Can the proposed method maintain low FAR across diverse, real-world spoken dialog datasets with high domain diversity?

Key findings

  • On the 21-domain Alexa dataset, the joint model with dynamic class weighting achieved 90.67% accuracy at a target FAR of 6%, significantly outperforming the separate model (85.69%) and other joint models.
  • At a target FAR of 5%, the dynamic weighting model achieved 90.26% accuracy, a 2.5% improvement over the best baseline (87.83%) without dynamic weighting.
  • On the 1,500-skill Alexa dataset, the dynamic weighting model reached 79.18% accuracy at a 2% target FAR, surpassing the separate model (77.50%) and other joint models.
  • The model with dynamic class weighting maintained the target FAR consistently across all evaluated thresholds (6%, 5.5%, 5% and 2%, 1.5%, 1%) while maximizing accuracy.
  • The use of BiLSTM for utterance encoding outperformed word vector summation and CNN-based methods in both datasets, especially under dynamic weighting.
  • Joint training with OOD detection (α > 0) improved accuracy over models without OOD supervision, demonstrating the benefit of shared representation learning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.