arXiv:2611.04249cs.CLNov 2026

Manuscript Offprint

arXiv:2611.04249

COMPREHEND: Ultra-Fine-Grained Benchmark Understanding by Entailment Hierarchy

Sivaraaman Balakrishnan, Prakriti Shetty, Jeremiah Hong, Hamed Zamani, Haw-Shiuan Chang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Understanding what kind of prompts users typically ask and how well an LLM performs on these prompt categories is crucial for LLM practitioners. The existing methods satisfy the demand by hierarchically clustering the user prompts and synthesizing the cluster names using an LLM to build a taxonomy. However, the cluster names from these methods are usually too general for humans to understand the detailed prompt distributions and identify the exact strengths and weaknesses of LLMs. In this study, we propose COMPREHEND, which automatically constructs an ultra-fine-grained entailment hierarchy for the prompts. The entailment hierarchy replaces the cluster names in the taxonomy with sentences to provide more precise cluster descriptions for more fine-grained categorization. Compared with EvalTree, a state-of-the-art taxonomy construction method, COMPREHEND improves an entailment/faithfulness metric from 22.6 to 41.7 and an informative metric from 16.3 to 39.1 in WildBench. Our experiments also show that the weakness report generated based on our entailment hierarchy is much more informative than EvalTree in terms of predicting the response scores in the benchmark. All the code is released in https://github.com/JackNapier20/COMPREHEND_public.

1 Introduction

A great tool that can analyze a large number of prompts and LLMs' performances on these prompts is demanded by many LLM practitioners. For instance, product managers or safety researchers sometimes have to monitor millions of user prompts to identify users' needs or discover misuse patterns [26]. One daily job of LLM developers is using benchmarks to discover the weaknesses or blind spots of LLMs, compare their performances with the competitors, and understand the effect of training strategies. Moreover, many LLM users want to select the LLMs for their tasks using more fine-grained LLM characteristics than the categories such as math reasoning and creative writing from existing benchmarks.

To address this challenge, a common approach is hierarchically clustering (the summary of) the prompts and asking an LLM to generate the category name of each cluster [26, 7, 32, 30]. The resulting taxonomy has many applications. For example, the approach could cluster the prompts about neural network together and if the average performance of the target LLM in this cluster is worse than competing LLMs, the developer could identify the weakness and mine the related training data to fix the weakness in the next round.

Although widely used, the approach has four major limitations. First, the synthesized category names are usually coarse-grained phrases or very short sentences. This decreases the granularity

∗^{*} indicates equal contribution.

TAE (Trust-AI-Eval): Can We Trust AI Evaluation?

Figure

Figure 1: Comparison between EvalTree [32] and COMPREHEND. Given the prompt of Creating a chess board using python in the middle, COMPREHEND groups it with another more relevant prompt and generates a more specific prompt as the group name.

of the weakness analyses. Second, the resulting trees from previous approaches are often shallow or imbalanced. The number of descendants (i.e., cluster size) of a tree node at a higher level could be much smaller than the node at a lower level and have a much more specific cluster name. Third, clustering and category name generation are often two separate steps in their pipeline, so clustering could group very diverse prompts together, which makes it hard for LLMs to generate any informative category name. Finally, previous studies lack intrinsic metrics to compare different tree construction methods without the ground truth of clustering.

To address the limitations, we propose COMPREHEND (COMmon PROMpt Entailment Hierarchy for Evaluation aNd Development). Figure 1 highlights the differences between COMPREHEND and EvalTree [32], a representative state-of-the-art approach. Unlike a typical taxonomy from EvalTree, where each category is represented by a short phrase and an arrow means the child node belongs to the parent node, the nodes in the entailment hierarchy are represented by a sentence or even a passage, and an arrow means the child node entails the parent node.

The entailment hierarchy is constructed bottom up, and the nodes in the lowest level are the user prompts in the benchmark of interest. At each level, we first use sentence BERT [23] and the Blossom algorithm [11] to match similar prompts in pairs. Then, we ask an LLM to generate the common summary of two similar prompts as a node in the next level and repeat the process recursively. By interleaving the generation and clustering at each level, we reduce the difficulty of generating the specific category description for the LLM, which results in a more fine-grained hierarchy.

Comparing different prompt categorization methods is challenging because there is usually no ground truth clustering annotations and different methods could have very different hierarchical structures. We propose several low-cost intrinsic metrics by adapting the metrics from summarization tasks and specificity scores from Chang et al. [5] and use them to evaluate how well the entailment hierarchy can help an LLM (as a human proxy) write a performance report. In WildBench [21] and UltraFeedback [8], we demonstrate each component of COMPREHEND makes the cluster descriptions significantly more faithful and informative summaries of the prompts in the cluster.

References (37)