Abstract
Large Language Model (LLM) evaluators often struggle to align with human preferences due to the use of broad, monolithic prompts. We present HD-Eval, a framework that decomposes evaluation tasks into a hierarchy of fine-grained criteria. By employing "white-box" aggregators trained on human labels and pruning irrelevant criteria, HD-Eval significantly improves alignment accuracy, explainability, and data efficiency across multiple text generation domains.
Introduction
As Large Language Models (LLMs) advance, they are increasingly deployed as "reference-free" evaluators to assess the quality of generated text, offering a scalable alternative to costly human annotation. However, these evaluators often exhibit a "misalignment" with human judgment. Standard evaluation methods typically rely on broad prompts (e.g., "Rate the coherence of this text"), which fail to capture the nuanced, hierarchical reasoning human experts employ. Furthermore, the "black-box" nature of LLM prompting obscures the rationale behind specific scores, limiting interpretability.
The HD-Eval Framework
To address these challenges, we introduce HD-Eval, a framework designed to mirror the hierarchical mindset of human experts. HD-Eval decomposes complex evaluation tasks into fine-grained, manageable criteria and uses "white-box" aggregators to align model outputs with human preferences.
The framework operates through three primary stages:
1. Hierarchical Criteria Decomposition
Rather than using a single prompt, HD-Eval iteratively breaks down high-level tasks. For instance, "Summarization Quality" is decomposed into "Coherence," "Consistency," and "Fluency." These are further refined into sub-criteria like "Sentence Ordering" or "Topic Focus." This approach leverages the observation that LLMs are more accurate when judging specific, narrow attributes than abstract concepts. To maintain context, Hierarchy-Aware Prompting ensures that when an LLM evaluates a "child" criterion, it is provided with the context of its "parent."
2. Human Preference-Guided Aggregation
To synthesize these granular scores, HD-Eval employs a "white-box" aggregator—such as a shallow neural network or random forest—trained on human-labeled data. This shifts the final judgment from opaque LLM prompting to a controllable mathematical model, enhancing both accuracy and transparency.
3. Attribution Pruning
To maintain efficiency, the framework utilizes saliency functions (e.g., permutation importance) to identify which criteria most significantly influence human judgment. Branches of the hierarchy that do not contribute meaningfully are "pruned," allowing the model to focus its computational resources on the most impactful criteria.
Experimental Setup and Datasets
HD-Eval was benchmarked across three diverse Natural Language Generation (NLG) domains:
- Text Summarization: Using the SummEval benchmark.
- Knowledge-Grounded Dialogue: Using the Topical-Chat dataset.
- Data-to-Text Generation: Using the SFRES and SFHOT datasets.
Alignment was measured using Pearson ($r$) and Spearman ($\rho$) correlation coefficients against expert human annotations.
Key Results and Insights
HD-Eval consistently outperformed state-of-the-art baselines, including GPT-4 Eval and UniEval.
- Performance Gains: In summarization tasks, HD-Eval improved Pearson correlation with human experts by approximately 15% over standard GPT-4 prompting. Similar improvements (15%+) were observed in Data-to-Text tasks.
- Data Efficiency: The framework demonstrated remarkable efficiency; training the aggregator on just 5% of available human preference data was sufficient to surpass standard GPT-4 evaluation performance.
- Explainability: The use of simple aggregation models allows researchers to visualize which sub-criteria (e.g., "factual correctness") drive the final score, providing a clear "lens" into human preference.
- Model Agnosticism: HD-Eval is independent of the LLM's internal parameters, making it effective for both closed-source (GPT-4) and open-source (Llama-2) models. Notably, it enabled smaller models like Llama-2-7B to achieve performance gains of over 30% in specific aspects like naturalness.
Conclusion and Future Directions
HD-Eval provides a robust, interpretable, and data-efficient method for aligning LLM evaluators. While currently relying on LLM-driven decomposition, future iterations could incorporate "human-in-the-loop" refinement to further sharpen criteria. Additionally, while the hierarchical assumption holds for many NLG tasks, exploring its applicability to more subjective or non-decomposable evaluation scenarios remains an area for future research.
Summary updated