Skip to main content
QUICK REVIEW

[Paper Review] Using Large Language Models to Generate, Validate, and Apply User Intent Taxonomies

Chirag Shah, Ryen W. White|arXiv (Cornell University)|Sep 14, 2023
Semantic Web and OntologiesComputer Science11 citations
TL;DR

The paper proposes an end-to-end, human-in-the-loop pipeline using LLMs to generate, validate, and apply user intent taxonomies for log analysis, demonstrated on Bing chat/search data with strong inter-annotator agreement.

ABSTRACT

Log data can reveal valuable information about how users interact with Web search services, what they want, and how satisfied they are. However, analyzing user intents in log data is not easy, especially for emerging forms of Web search such as AI-driven chat. To understand user intents from log data, we need a way to label them with meaningful categories that capture their diversity and dynamics. Existing methods rely on manual or machine-learned labeling, which are either expensive or inflexible for large and dynamic datasets. We propose a novel solution using large language models (LLMs), which can generate rich and relevant concepts, descriptions, and examples for user intents. However, using LLMs to generate a user intent taxonomy and apply it for log analysis can be problematic for two main reasons: (1) such a taxonomy is not externally validated; and (2) there may be an undesirable feedback loop. To address this, we propose a new methodology with human experts and assessors to verify the quality of the LLM-generated taxonomy. We also present an end-to-end pipeline that uses an LLM with human-in-the-loop to produce, refine, and apply labels for user intent analysis in log data. We demonstrate its effectiveness by uncovering new insights into user intents from search and chat logs from the Microsoft Bing commercial search engine. The proposed work's novelty stems from the method for generating purpose-driven user intent taxonomies with strong validation. This method not only helps remove methodological and practical bottlenecks from intent-focused research, but also provides a new framework for generating, validating, and applying other kinds of taxonomies in a scalable and adaptable way with reasonable human effort.

Motivation & Objective

  • Motivate the need to label user intents in modern AI-driven search and chat logs.
  • Develop a bottom-up method to generate a user intent taxonomy with LLMs.
  • Validate the LLM-generated taxonomy with human assessors to ensure quality.
  • Apply the taxonomy to annotate log data and assess reliability against human annotators.
  • Demonstrate the approach on Microsoft Bing search/chat logs and assess generalizability with open-source LLMs.

Proposed method

  • Generate an initial taxonomy with GPT-4 (Phase 1).
  • Validate taxonomy quality with two human assessors and iterative refinement (Phase 2).
  • Apply taxonomy to test data using GPT-4 and human coders, evaluate inter-coder reliability (Phase 3).
  • Measure taxonomy comprehensiveness, consistency, clarity, accuracy, and conciseness using predefined criteria.
  • Examine cross-LLM and human agreement to validate reliability (including open-source LLMs in replication).
  • Explore single- and multi-level taxonomy generation, with bootstrapping across multiple LLMs to assess robustness.

Experimental results

Research questions

  • RQ1Can LLMs reliably generate taxonomies for analyzing user intents in log data?
  • RQ2Can an LLM correctly apply a user intent taxonomy to annotate logs?
  • RQ3Under what conditions do LLMs perform as well as or better than human annotators for this task?
  • RQ4Is the proposed human-in-the-loop methodology generalizable to other taxonomies and data sources?

Key findings

  • GPT-4–generated taxonomy achieved high agreement with human annotators (Phase 3).
  • Inter-coder reliability (Cohen’s kappa) between two human coders was 0.7620.
  • Cohen’s kappa between GPT-4 and majority human annotations was 0.7212.
  • Open-source LLMs (Mistral, Hermes) produced comparable taxonomy generation in bootstrapping, indicating robustness across models.
  • Fleiss’ kappa across five GPT-4 runs showed high consistency (0.8516).
  • Agreement between LLMs and humans across three open-source models ranged from 0.5732 to 0.6772 (pairwise Cohen’s kappas).

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.