TL;DR
This paper introduces a novel methodology for using Large Language Models (LLMs) in collaboration with human experts to generate, validate, and apply user intent taxonomies. This approach significantly streamlines the process of understanding what users want from search and chat systems, offering a scalable and efficient way to derive valuable insights from log data.
What Problem Does This Paper Address?
Understanding a user's underlying goal or "intent" behind a search query or interaction is crucial for building effective information access systems. However, accurately capturing these intents from log data is a significant challenge. Traditional methods for creating taxonomies (hierarchical classifications of intents) are often manual, time-consuming, and inflexible, especially with the rapid evolution of new interaction modalities like AI-driven chat. Existing automated approaches often treat LLMs as "black boxes" without sufficient validation, leading to potential unreliability. This paper aims to bridge this gap by proposing a human-in-the-loop methodology that leverages the generative power of LLMs while ensuring rigorous validation and reliability.
Methods
The core of this paper is a three-phase methodology for creating and using user intent taxonomies:
- Phase 1: Taxonomy Generation: LLMs (specifically GPT-4 in their experiments) are used to generate initial user intent categories, descriptions, and examples. This phase involves crafting detailed prompts that guide the LLM, often with a focus on a specific number of high-level categories.
- Phase 2: Taxonomy Validation and Revision: Human annotators and researchers review the LLM-generated taxonomy. This iterative process involves coding sample data, identifying disagreements, and refining the taxonomy based on these discussions. The goal is to ensure the taxonomy is comprehensive, consistent, clear, accurate, and concise. This phase is critical for addressing the "black box" problem of LLMs and ensuring the taxonomy is reliable.
- Phase 3: Taxonomy Application and Testing: Once validated, the refined taxonomy is used by both LLMs and human annotators to label new log data. This phase allows for evaluating the taxonomy's effectiveness and the LLM's ability to apply it consistently. Inter-coder reliability (ICR) is a key metric here.
The authors also explore using open-source LLMs (Mistral and Hermes) to demonstrate the generalizability of their prompt-based approach. They further investigate the generation of multilevel taxonomies, highlighting the potential for more granular insights.
Datasets
The study utilized conversations from Microsoft Bing's AI-driven chat service.
- Training Data: 1,000 conversations were used for training the taxonomy generation and validation process.
- Testing Data: An additional 124 conversation segments were used for testing the application of the final taxonomy.
- Application Data: For a separate application case study comparing search and chat intents, 1,000 user inquiries (500 search queries and 500 chat requests) were used for training, and 1,956 search queries and 15,031 chat requests were used for testing.
Key Insights and Ideas
- LLMs as Collaborators, Not Replacements: The paper strongly advocates for LLMs as powerful collaborators for researchers, augmenting human capabilities rather than replacing them.
- Human-in-the-Loop is Crucial: Rigorous human validation and iterative refinement are essential to ensure the reliability and accuracy of LLM-generated taxonomies.
- Scalability and Efficiency: This methodology offers a significant speedup and reduced effort compared to purely manual taxonomy creation, making large-scale analysis feasible.
- Adaptability to New Modalities: The approach is particularly valuable for emerging interaction paradigms like AI chat, where user intents are rapidly evolving.
- Objective vs. Subjective Labeling: In some cases, LLMs demonstrated more objective and consistent labeling than humans, avoiding potentially unwarranted extrapolation of user intent.
- Prompt Engineering is Key: The quality of the LLM's output is highly dependent on the design of the prompts used for generation and annotation.
Key Results
- High Agreement: The validated taxonomy, generated with GPT-4 and refined by humans, achieved substantial inter-coder reliability (Cohen's kappa around 0.76) between human annotators and between humans and GPT-4 (Cohen's kappa around 0.72).
- LLM Consistency: GPT-4 demonstrated high consistency in applying the taxonomy, with Fleiss' kappa of 0.8516 when run multiple times on the same data.
- Open-Source LLM Viability: Open-source LLMs like Mistral and Hermes showed similar capabilities in generating taxonomy categories, indicating the prompt's robustness.
- Search vs. Chat Intent Differences: The study revealed that while "Information Retrieval" and "Ask for Advice" intents are common in both search and chat, "Create," "Learn," and "Leisure" intents are significantly more prevalent in chat, suggesting a shift in user behavior towards conversational AI for these tasks.
Limitations and Future Work
- Multilevel Taxonomies: While the paper explored multilevel taxonomy generation, it notes that each level may require its own prompt optimization and human intervention.
- Generalizability: The authors suggest further experimentation with different taxonomy designs and applications to understand the methodology's flexibility and scalability.
- Ethical Considerations: The paper acknowledges the inherent biases and potential for misuse of LLMs, emphasizing the need for caution, especially with vulnerable populations. They also highlight the importance of data privacy and responsible use of the methodology.
- Human vs. LLM Judgment: While LLMs can be more objective, the paper notes that in cases of disagreement, the "ground truth" of user intent is not always available, requiring careful consideration of which interpretation is more appropriate for the application.
Summary updated