Skip to main content
QUICK REVIEW

[Paper Review] Beyond the Known: Investigating LLMs Performance on Out-of-Domain Intent Detection

Pei Wang, Keqing He|arXiv (Cornell University)|Feb 27, 2024
Privacy-Preserving Technologies in DataComputer Science5 citations
TL;DR

This paper evaluates how large language models (LLMs), especially ChatGPT, perform on out-of-domain (OOD) intent detection for task-oriented dialogue, comparing zero-shot and few-shot prompting to traditional fine-tuned baselines, and analyzes strengths, weaknesses, and improvement directions.

ABSTRACT

Out-of-domain (OOD) intent detection aims to examine whether the user's query falls outside the predefined domain of the system, which is crucial for the proper functioning of task-oriented dialogue (TOD) systems. Previous methods address it by fine-tuning discriminative models. Recently, some studies have been exploring the application of large language models (LLMs) represented by ChatGPT to various downstream tasks, but it is still unclear for their ability on OOD detection task.This paper conducts a comprehensive evaluation of LLMs under various experimental settings, and then outline the strengths and weaknesses of LLMs. We find that LLMs exhibit strong zero-shot and few-shot capabilities, but is still at a disadvantage compared to models fine-tuned with full resource. More deeply, through a series of additional analysis experiments, we discuss and summarize the challenges faced by LLMs and provide guidance for future work including injecting domain knowledge, strengthening knowledge transfer from IND(In-domain) to OOD, and understanding long instructions.

Motivation & Objective

  • Assess the capabilities of LLMs, notably ChatGPT, for OOD intent detection in TOD systems.
  • Compare LLM-based prompts with traditional fine-tuned discriminative models across standard benchmarks.
  • Identify strengths, weaknesses, and factors influencing LLM performance in OOD settings.
  • Provide guidance on improving LLMs for domain-specific OOD tasks through knowledge injection and transfer.

Proposed method

  • Introduce two LLM-based OOD frameworks: Zero-shot LLM (ZSD-LLM) and Few-shot LLM (FSD-LLM) using IN-DOMAIN priors in prompts.
  • Evaluate ChatGPT against state-of-the-art discriminative baselines (SCL, KNN-CL, UniNL) on CLINC and Banking datasets.
  • Conduct ablation analyses on IND intent count, data splits, different LLMs, and prompt variations to understand prompting effects.
  • Analyze failure modes through qualitative prompts, model comparisons, and error categorization (domain knowledge conflicts, instruction length).
  • Propose future directions including injecting domain knowledge and improving IND-to-OOD knowledge transfer.

Experimental results

Research questions

  • RQ1What are the positive and negative effects of LLMs on OOD detection?
  • RQ2How do LLMs compare to traditional fine-tuned models in IND accuracy and OOD detection?
  • RQ3Why do LLMs exhibit certain strengths and weaknesses in OOD tasks?
  • RQ4How can we address and improve the weaknesses of LLM-based OOD detection?

Key findings

  • ChatGPT shows strong zero-shot capability without IND priors but underperforms compared to strong baselines in many IND and OOD metrics when many IND intents are present.
  • With few IND intents, ChatGPT can outperform some baselines in IND accuracy, but OOD recall and F1 often lag behind discriminative methods.
  • ChatGPT can output the intended OOD label for some samples, a capability not available to standard discriminative models.
  • Performance declines as the number of IND intents grows, with increased misclassification among INDs and more OOD samples miscategorized as IND.
  • FSD-LLM can beat UniNL with small IND sets and sufficient demonstrations, but gains diminish as the IND count increases and too many demonstrations can introduce noise.
  • GPT-4 generally outperforms other LLMs on OOD metrics, while ChatGPT remains competitive in IND tasks; prompting and model choice significantly affect results.

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.