TL;DR
This paper introduces DINGO, a novel dataset designed to evaluate the instruction-following capabilities of Large Language Models (LLMs) with unprecedented granularity. By leveraging a multi-level category tree derived from real-world user requests and generating diverse synthetic instructions, DINGO challenges existing evaluation methods and reveals that even instruction-tuned LLMs can exhibit inconsistent performance across fine-grained tasks.
What Problem Does This Paper Address?
Large Language Models (LLMs) are increasingly expected to understand and execute a wide range of user instructions. While significant progress has been made in aligning LLMs with human preferences, comprehensively evaluating their instruction-following abilities remains a challenge. Existing evaluation methods often suffer from two main limitations:
- Lack of Fine-Grained Task-Level Evaluation: Current benchmarks tend to assess general skills, making it difficult to pinpoint specific areas where an LLM struggles. For instance, if an LLM performs poorly on "Chemical Knowledge QA," it's unclear whether the issue lies with understanding chemical formulas or presenting key points.
- Reliance on Singular Instruction Expression: Real-world user instructions are highly diverse in their phrasing, style, and attitude. Existing datasets often use simplified or singular instruction formats, creating a gap between evaluation scenarios and actual user interactions. This can lead to LLMs that perform well on standardized tests but falter when faced with the nuanced language of everyday users.
Methods
To address these shortcomings, the authors introduce DINGO, a dataset built upon two core innovations:
- Fine-Grained, Multi-Level Category Tree: DINGO utilizes a manually annotated category tree with 130 nodes across four levels. This tree is derived from real-world user requests, aiming to capture the complexity and diversity of tasks users expect LLMs to perform. This hierarchical structure allows for analysis at various granularities, from broad categories to specific sub-tasks.
- Diverse Synthetic Instruction Generation: To ensure a wide range of instruction expressions, the authors employ GPT-4 to generate synthetic instructions. This process involves:
- Seed Data Collection: Using cleaned conversation data from ShareGPT as a source of real-world instruction styles and attitudes.
- Constraint-Based Generation: Guiding GPT-4 with specific constraints (language, style, attitude) derived from the seed data and a multi-level category tree.
- Leveraging Existing Benchmarks: For challenging areas like mathematics and logical reasoning, they use existing datasets (e.g., GSM8K) as basic questions and prompt GPT-4 to transform them into diverse instruction formats (e.g., role-playing scenarios).
- Over-Generate-Then-Filter: GPT-4 generates multiple instruction candidates, which are then filtered for quality and diversity using GPT-4 itself and ROUGE-L similarity scores to avoid redundancy.
Datasets
- Seed Data: Cleaned conversation data from ShareGPT (specifically, the
html_cleanedversion) was used as the source for understanding real-world instruction styles and attitudes. - Basic Question Sources: For generating diverse instructions in specific categories, the authors utilized existing benchmarks such as GSM8K (for Word Problems), ProofNet (for Mathematical Theorem), Math (for Combinatorics and Numerical Calculation), StrategyQA (for Common Sense Reasoning), LogiQA (for Logical Reasoning), and MBPP (for Text2Code).
- DINGO Dataset: The primary contribution is the DINGO dataset itself, containing 5026 diverse instruction-following samples.
Key Insights and Ideas
- Instruction-Tuning Isn't a Silver Bullet for Granularity: Even LLMs that have undergone instruction-tuning can show significant performance variations across fine-grained categories. This suggests that simply aligning with general human preferences doesn't guarantee consistent performance on all specific tasks.
- Diverse Instructions are a Real Challenge: The DINGO dataset, with its varied instruction styles and attitudes, proves to be more challenging for LLMs than basic, standardized questions. This highlights the importance of evaluating LLMs on their robustness to real-world linguistic diversity.
- The Need for Fine-Grained Evaluation: The paper strongly advocates for fine-grained evaluation. High scores on broad categories can mask deficiencies in specific sub-tasks, making it difficult to guide targeted improvements for LLMs.
- LLM-as-a-Judge is a Viable Evaluation Tool: The study validates the use of GPT-4 as an LLM-as-a-judge for evaluating LLM responses, finding good agreement with human experts, especially with pairwise comparison.
Key Results
- The DINGO dataset comprises 5026 diverse instruction samples, organized into a 4-level category tree with 130 nodes.
- Experiments on 10 LLMs revealed that instruction-tuned models generally outperform pre-trained models, but performance can be inconsistent across sub-categories. For example, Llama2-chat-7B showed better instruction-following than Vicuna2-7B, attributed to its RLHF framework.
- Increasing model size generally improves instruction-following for pre-trained LLMs, but the impact is less pronounced for instruction-tuned models.
- LLMs performed worse on DINGO's diverse instructions compared to basic questions, indicating the dataset's effectiveness in challenging models.
- Qualitative examples showed LLMs failing to adhere to specific constraints like "Directly output the answer without any explanation" or adopting an inappropriate "Challenge" style.
Limitations and Future Work
- LLM-as-a-Judge Limitations: While effective, the paper acknowledges that GPT-4 can struggle with scoring math/code problems, necessitating the inclusion of standard answers as a reference. The authors also note that pairwise comparison, while more accurate, is more costly than single-answer grading.
- Future Work: The authors suggest that DINGO can provide fine-grained directions for improving LLMs. The dataset's ability to reveal inconsistencies in instruction-following across different granularities is highlighted as a key avenue for future research and development. The release of the DINGO dataset is intended to facilitate further research in this area.
Summary updated