How Fine-Grained Should a RAG Benchmark Be? A Hierarchical Framework for Synthetic Question Generation

Chase M. Fensore, Kaustubh D. Dhole, Jason Fan, Eugene Agichtein, Joyce C. Ho

TL;DR

HieraRAG is a new hierarchical framework designed to determine the optimal level of category granularity when building synthetic benchmarks for Retrieval-Augmented Generation (RAG) systems. By evaluating questions across varying levels of specificity, the framework reveals that while some evaluation dimensions (like question complexity) benefit from highly fine-grained categories, others (like answer type and linguistic variation) actually lose signal and introduce noise if split too finely.

What Problem Does This Paper Address?

Evaluating RAG systems requires testing them against a diverse set of questions. With the rise of Large Language Models (LLMs), practitioners increasingly rely on synthetically generated question-answer (QA) benchmarks. However, benchmark designers face a fundamental dilemma: At what level of granularity should query characteristics be categorized?

Should we classify questions coarsely (e.g., simply "easy" vs. "hard"), or should we break them down into highly specific sub-categories (e.g., "multi-span aggregation", "single-hop inference", "comparative synthesis")? Coarse categories risk missing nuanced system failures, while overly fine-grained categories increase generation costs and can introduce redundant or ambiguous distinctions that dilute the evaluation signal.

Methods

The authors introduce HieraRAG, a framework that systematically varies synthetic questions across three core dimensions at three levels of granularity—Coarse (2 categories), Medium (4 categories), and Fine (8 categories):

  1. Question Complexity (QC): Cognitive demand, from simple fact lookup to multi-hop reasoning.
  2. Answer Type (AT): Expected response format, from direct extraction to abstractive synthesis.
  3. Linguistic Variation (LV): Lexical alignment between the query and the source document, from verbatim phrasing to high conceptual rephrasing.
Hierarchical structure of the three question dimensions across granularity levels.

To evaluate these configurations, HieraRAG introduces two key metrics:

  • Discriminative Power (DiscPow): Measured as the standard deviation of the RAG system's performance (generation quality) across categories at a given granularity level. Higher variance means the categories are successfully exposing distinct system behaviors.
  • Coherence Ratio ($\rho_{\text{coherence}}$): A novel metric inspired by the clustering silhouette coefficient. It quantifies whether fine-grained "children" categories cleanly and logically subdivide their "parent" category by balancing horizontal discrimination (sibling variance) against vertical consistency (parent-child performance alignment).

Datasets

The framework was tested by generating a dataset of 5,872 synthetic QA pairs extracted from the FineWeb-10BT corpus using DataMorgana (powered by Claude 3.5 Sonnet).

For the evaluation pipeline, the authors used a standard standard two-stage RAG setup: BM25 for retrieval and Falcon-3-10B-Instruct for generation. Human validation was conducted on a stratified sample of 110 QA pairs to verify synthetic quality and category alignment.

Key Insights and Ideas

  • Granularity Needs Vary by Dimension: One size does not fit all. Question Complexity monotonically improves in discriminative power as you move to finer categories. However, Answer Type and Linguistic Variation peak at medium granularity (4 categories) and degrade at 8 categories. Finer is not always better.
  • The "Vocabulary Mismatch" Trump Card: Linguistic Variation and Question Complexity act independently, but retrieval success dictates whether complexity even matters. If a query uses highly distant vocabulary, BM25 retrieval fails completely, rendering the question's underlying reasoning complexity irrelevant to the final generation quality.
  • Automating Taxonomy Validation: The proposed Coherence Ratio acts as an automated sanity check for benchmark designers. If a fine-grained split yields a low coherence ratio ($\rho < 1.0$), it signals that the sub-categories are introducing semantic noise or arbitrary constraints rather than meaningful diagnostic subdivisions.
Demonstrated Coherence Ratio calculation for well-calibrated vs. poorly-calibrated category splits.

Key Results

  • Question Complexity (QC) saw its discriminative power leap from 0.007 (coarse) to 0.035 (medium, a 4.8× gain), and up to 0.053 at fine granularity. This confirms that breaking down reasoning types yields a much clearer picture of RAG capabilities.
  • Answer Type (AT) and Linguistic Variation (LV) both peaked at medium granularity (0.044 and 0.047 respectively) before dropping significantly at the fine-grained level (falling by 16% and 33%).
  • Coherence Ratio Validation: The framework successfully flagged structural issues. For instance, the fine-grained splits under AT's summary_or_explanation parent were highly coherent ($\rho = 3.31$), whereas LV's conceptual_rephrase splits collapsed ($\rho = 0.04$), indicating that the sub-categories strayed too far from the parent's performance profile.

Limitations and Future Work

The primary limitation is that the specific granularity peaks found in this study reflect a single RAG configuration (BM25 + Falcon-3-10B). Because BM25 is highly sensitive to exact keyword matching, it likely amplified the importance of the Linguistic Variation dimension at coarser levels; switching to a dense or hybrid retriever might shift these dynamics.

Additionally, the authors noted low human consensus (28.6% agreement) when manually validating the highly specific, fine-grained categories, highlighting the inherent semantic ambiguity of deep taxonomies. Future work includes testing HieraRAG across diverse embedding models, vector retrievers, and exploring post-hoc multi-label tagging via LLM classifiers.

Summary updated

Abstract

Evaluating retrieval-augmented generation (RAG) systems requires benchmarks that capture diverse question characteristics, yet practitioners lack empirical guidance on which dimensions to vary and at what granularity. We present HieraRAG, a hierarchical framework for studying granularity in RAG benchmark construction, defining optimal granularity as the level that maximizes discriminative power (the standard deviation of generation quality across categories) within a given RAG configuration. As a case study, we generate 5,872 synthetic question-answer (QA) pairs from FineWeb-10BT across 3 dimensions (Question Complexity, Answer Type, Linguistic Variation) at 3 granularity levels (2, 4, and 8 categories). With a BM25+Falcon-3-10B pipeline, optimal granularity varies by dimension: complexity benefits from fine-grained distinctions (discriminative power: 0.053) while answer type and linguistic variation peak at medium granularity. We introduce a Coherence Ratio metric to quantify whether fine-grained splits cleanly subdivide parent categories, revealing structural differences across dimensions (Question Complexity: 0.40 vs. Answer Type: 1.44). Human evaluation of 110 stratified QA pairs confirms synthetic quality. While these specific findings reflect a single configuration, HieraRAG provides a portable procedure and validation metric for practitioners to determine evaluation granularity within their own RAG settings.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
HieraRAG synthetic QA benchmark (FineWeb-10BT)BM25+Falcon-3-10BDiscPow (standard deviation of generation quality across categories).035params=10B · generator=Falcon-3-10B · retriever=BM25 · granularity=medium (4 categories) · sample-size=333 · question-dimension=complexity
Source quote
L140: M (4) │ 333 │ .564 │ .709 │ .027 │ .035 │ 4.8×
HieraRAG synthetic QA benchmark (FineWeb-10BT)BM25+Falcon-3-10BDiscPow (standard deviation of generation quality across categories).053params=10B · generator=Falcon-3-10B · retriever=BM25 · granularity=fine (8 categories) · sample-size=446 · question-dimension=complexity
Source quote
L141: F (8) │ 446 │ .562 │ .708 │ .040 │ .053 │ 1.5×
HieraRAG synthetic QA benchmark (FineWeb-10BT)BM25+Falcon-3-10BDiscPow (standard deviation of generation quality across categories).044params=10B · generator=Falcon-3-10B · retriever=BM25 · granularity=medium (4 categories) · sample-size=333 · question-dimension=answer-type
Source quote
L143: M (4) │ 333 │ .514 │ .699 │ .026 │ .044 │ 1.8×
HieraRAG synthetic QA benchmark (FineWeb-10BT)BM25+Falcon-3-10BDiscPow (standard deviation of generation quality across categories).037params=10B · generator=Falcon-3-10B · retriever=BM25 · granularity=fine (8 categories) · sample-size=382 · question-dimension=answer-type
Source quote
L144: F (8) │ 382 │ .504 │ .684 │ .035 │ .037 │ -16%
HieraRAG synthetic QA benchmark (FineWeb-10BT)BM25+Falcon-3-10BDiscPow (standard deviation of generation quality across categories).047params=10B · generator=Falcon-3-10B · retriever=BM25 · granularity=medium (4 categories) · sample-size=333 · question-dimension=linguistic-variation
Source quote
L146: M (4) │ 333 │ .343 │ .671 │ .054 │ .047 │ 1.2×
HieraRAG synthetic QA benchmark (FineWeb-10BT)BM25+Falcon-3-10BDiscPow (standard deviation of generation quality across categories).031params=10B · generator=Falcon-3-10B · retriever=BM25 · granularity=fine (8 categories) · sample-size=446 · question-dimension=linguistic-variation
Source quote
L147: F (8) │ 446 │ .446 │ .699 │ .020 │ .031 │ -33%
BibTeX
@inproceedings{fensore2026how,
  author = {Chase M. Fensore and Kaustubh D. Dhole and Jason Fan and Eugene Agichtein and Joyce C. Ho},
  title = {{How Fine-Grained Should a RAG Benchmark Be? A Hierarchical Framework for Synthetic Question Generation}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2026},
  doi = {10.1145/3805712.3809925},
}
Figure