Skip to main content
QUICK REVIEW

[論文レビュー] IntentGPT: Few-shot Intent Discovery with Large Language Models

Juan Rodriguez, Nicholas Botzer|arXiv (Cornell University)|Nov 16, 2024
Topic ModelingComputer Science被引用数 5
ひとこと要約

IntentGPT は、トレーニング不要のフレームワークで、大規模言語モデルを用いたインコンテキスト学習により、オープンワールド対話設定で新しいユーザー意図を発見する。自動プロンプト生成、意味的少数-shot サンプリング、推論時の既知意図フィードバックを活用。

ABSTRACT

In today's digitally driven world, dialogue systems play a pivotal role in enhancing user interactions, from customer service to virtual assistants. In these dialogues, it is important to identify user's goals automatically to resolve their needs promptly. This has necessitated the integration of models that perform Intent Detection. However, users' intents are diverse and dynamic, making it challenging to maintain a fixed set of predefined intents. As a result, a more practical approach is to develop a model capable of identifying new intents as they emerge. We address the challenge of Intent Discovery, an area that has drawn significant attention in recent research efforts. Existing methods need to train on a substantial amount of data for correctly identifying new intents, demanding significant human effort. To overcome this, we introduce IntentGPT, a novel training-free method that effectively prompts Large Language Models (LLMs) such as GPT-4 to discover new intents with minimal labeled data. IntentGPT comprises an extit{In-Context Prompt Generator}, which generates informative prompts for In-Context Learning, an extit{Intent Predictor} for classifying and discovering user intents from utterances, and a extit{Semantic Few-Shot Sampler} that selects relevant few-shot examples and a set of known intents to be injected into the prompt. Our experiments show that IntentGPT outperforms previous methods that require extensive domain-specific data and fine-tuning, in popular benchmarks, including CLINC and BANKING, among others.

研究の動機と目的

  • 対話システムで新しい意図が絶えず出現するオープンワールド向けの意図発見を動機付ける。
  • 事前学習済みLLMを促進設計と推論時学習に活用し、重いドメイン特化データおよび多段階のトレーニングを排除する。
  • プロンプトを自動生成し、有益なfew-shotサンプルを選択し、新しく発見された意図をその場で統合するモジュラーなパイプラインを開発する。
  • 標準的な意図発見ベンチマーク(例:CLINCとBANKING)でアプローチを評価し、 few-shot ICL 設定でハイパーパラメータ感度を分析する。

提案手法

  • frozen LLM を用いて小さなラベル付きサブセットとドメインコンテキストからタスクプロンプトを自律的に作成する In-Context Prompt Generator (ICPG) を導入する。
  • SBERT 埋め込みとコサイン類似度を用いて semantically relevant な in-context の例を選択する Semantic Few-Shot Sampling (SFS) 機構を備えた Few-Shot Sampler を採用する。
  • Known Intent Feedback (KIF) を実装し、プロンプトに既知の意図と発見済みの意図の両方を注入することで、推論時に frozen LLM が学習できるようにする。
  • オプションとして Semantic Known Intent Feedback (SKIF) を適用し、文脈効率を損なわずに注入する意図数を制限する。
  • 生成されたプロンプトを条件付けした Intent Predictor LLM を用いてテスト発話を分類し新しい意図を発見し、その後 SBERT 埋め込みに対するクラスタリング(K-Means)を用いてグルーピング品質を評価する。
  • ICP G、SFS、KIF/SKIF、およびプロンプト特徴がクラスタリングベースの評価指標(NMI、ARI、ACC)と発見指標に与える影響を評価するアブレーションを探求する。
Figure 1: IntentGPT architecture. The system consists of two frozen LLMs. The In-Context Prompt Generator receives a small subset of training data and is devoted to generating a task prompt using domain context. The generated prompt is filled with, few-shot samples, a list of known intents, and the
Figure 1: IntentGPT architecture. The system consists of two frozen LLMs. The In-Context Prompt Generator receives a small subset of training data and is devoted to generating a task prompt using domain context. The generated prompt is filled with, few-shot samples, a list of known intents, and the

実験結果

リサーチクエスチョン

  • RQ1トレーニング不要でプロンプトベースのアプローチと LLMs が、最小限のラベル付きデータで競争力のあるオープンワールド意図発見を実現できるか?
  • RQ2プロンプト設計、 few-shot サンプル選択、推論時の既知/発見済み意図フィードバックが、CLINCとBANKING のクラスタリングベースの指標にどう影響するか?
  • RQ3意味的少数-shot サンプリングと既知意図フィードバックの相対的な利点は、誤発見を減らし全体的な意図クラスタリングを改善するのにどれくらい寄与するか?
  • RQ4方法は異なる LLM バックボーン(GPT-3.5、GPT-4、Llama-2)と事前知識レベル(KIR)の変化でどう機能するか?

主な発見

  • IntentGPT(特に GPT-4 を用いた場合)は、ゼロショットおよび few-shot(10/50 ショット)設定で CLINC と BANKING において強力な性能を発揮し、訓練やドメイン特化データを必要とする方法をしばしば上回る。
  • Known Intent Feedback (KIF) は、意図を再利用し誤検出を減らすことで指標を大きく改善し、KIF を除いたアブレーションで性能が低下することを示す。
  • Semantic Few-Shot Sampling (SFS) は、意味的に関連する例をプロンプトに注入することで結果をさらに改善し、 few-shot プロンプトと組み合わせると有益。
  • In-Context Prompt Generator (ICPG) を介したプロンプト設計は予測品質を著しく向上させ、多言語やドメイン適応プロンプトでの使用が頑健性を支援。
  • KIR 設定全般で、GPT-4 は一貫して GPT-3.5 および Llama-2 を上回り、スケールとプロンプティング品質がオープンワールド意図発見に強く影響することを示唆。
  • この手法は、マルチステージ学習を必要とせず、無監視および半教師付きベースラインと比較して競争力のあるまたは優れた結果を達成します。
Figure 2: Pipeline of IntentGPT with real examples (CLINC). The top part displays the automatic prompt generation process. The bottom part shows the inference process, where we use the generated prompt and few-shot examples for discovering intents. We do not show the Few Shot Sampler for simplicity.
Figure 2: Pipeline of IntentGPT with real examples (CLINC). The top part displays the automatic prompt generation process. The bottom part shows the inference process, where we use the generated prompt and few-shot examples for discovering intents. We do not show the Few Shot Sampler for simplicity.

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。