Fine-Grained Benchmark Generation for Comprehensive Evaluation of Foundation Models

Mohammed Saidul Islam, Negin Baghbanzadeh, Farnaz Kohankhaki, Afshin Cheraghi, Ali Kore, Shayaan Mehdi, Elham Dolatabadi, Arash AfkanpourarXiv 2026 · arXiv

TL;DR

The paper introduces FLAME (Fine-grained, LArge-scale Model Evaluation), an automated framework that generates high-quality, fine-grained evaluation benchmarks for foundation models by grounding questions in authoritative reference materials like textbooks. By leveraging a multi-agent architecture and a novel solution-graph-driven strategy, FLAME produces benchmarks with near-uniform competency coverage, rich metadata, and a significantly lower ground-truth error rate than traditional human-curated benchmarks.

What Problem Does This Paper Address?

Evaluating modern foundation models relies heavily on static, human-curated benchmarks (like MMLU or GSM8K) that report a single, coarse aggregate score. This approach suffers from three major flaws:

  1. Lack of Granularity: Aggregate scores hide specific model strengths and weaknesses, making it difficult for developers to know what to improve or for practitioners to select the best model for a specific application.
  2. Sparse Coverage: Existing benchmarks often sample domain capabilities sparsely, leaving large regions of a domain unrepresented.
  3. Data Contamination: Static benchmarks inevitably leak into public pretraining corpora over time, inflating model performance and eroding evaluation validity.

While manual curation can address some of these issues, it is prohibitively expensive, time-consuming, and cannot keep pace with the rapid development of LLMs.

Methods

FLAME automates the benchmark generation process using a two-stage pipeline: Source Curation and Preprocessing, followed by Task Generation.

Figure 1: An overview of the major components of the FLAME Framework, such as, source content preprocessing that includes: (a) PDF text extraction, (b) Chapter summary generation, and (c) Task Generation Pipeline.
  • Taxonomy & Preprocessing: Domain experts select authoritative textbooks and map chapters to a two-level taxonomy of competencies. Textbooks are converted to plain text, and ancillary content (like prefaces and end-of-chapter exercises) is stripped out to prevent verbatim reproduction.
  • Multi-Agent Architecture: The task generation pipeline decouples problem design from verification. A designer agent (powered by Gemini 3.1 Pro) generates and refines problems, while a verifier agent (powered by Claude Opus 4.6) independently assesses correctness and constraint compliance.
  • Solution-Graph-Driven Generation: Instead of writing a question directly from the text, the designer agent first constructs a multi-step solution trace—a directed acyclic graph (DAG) where nodes represent intermediate conclusions and edges represent core textbook concepts or operations. The multiple-choice question (MCQ) is then built around this graph.
  • Iterative Refinement: Each question undergoes a rigorous sequence of checks, including self-containment repair, trace-aware integrity checks, conciseness passes, and soundness checks. If a question fails final verification, it enters a verification-driven repair loop (up to 3 retries).

Datasets

The authors used FLAME to generate three comprehensive benchmarks across two domains using five authoritative textbooks:

  • Machine Learning (ML): 970 problems spanning 53 chapters.
  • Corporate Finance: 685 problems spanning 31 chapters.
  • Personal Finance: 199 problems.

In total, FLAME produced 1,854 high-quality problems across 84 chapters at an incredibly low API cost of just $515.76.

Figure 2: Task counts per area for each dataset in the ML domain (log scale on the y-axis.)

Key Insights and Ideas

  • Solution-First Design: Constructing the reasoning graph before formulating the question ensures that problems are deeply anchored in technical concepts rather than superficial text matching. It also simplifies verification, as the verifier agent only needs to validate the logical steps of the trace rather than solving the problem from scratch.
  • Near-Uniform Competency Coverage: By systematically generating a fixed number of problems per textbook chapter, FLAME achieves a normalized entropy near 1.0 across domain competencies. Traditional benchmarks exhibit much lower entropy, heavily clustering around a few popular topics while leaving others completely blank.
  • Proving Contamination Resistance: To validate robustness against data leakage, the authors used a "Testset Slot Guessing" (TS-Guessing) protocol. Frontier models were asked to guess masked incorrect options (distractors) based only on the question stem. The models had a drastically lower success rate on FLAME-generated datasets compared to existing benchmarks, confirming that FLAME successfully generates entirely novel evaluation items.

Key Results

  • Unprecedented Low Error Rates: Expert human review of the generated benchmarks revealed a ground-truth error rate of just 3% in Machine Learning and 0% in both Finance benchmarks on random samples. This is notably lower than human-curated benchmarks like GSM8K (5%) and MMLU (6.5%).
  • Strong Discriminative Power: FLAME benchmarks demonstrated high separability (the ability to distinguish between models of varying capabilities), effectively spreading out the performance of 12 commercial and open-source models.
  • Fine-Grained Model Profiling: Because every question is tied to specific metadata, FLAME exposed nuanced performance trade-offs. For example, Gemini 3.1 Pro and Claude Opus 4.6 scored similarly on Recommender Systems, but diverged sharply on Online & Sequential Learning.
Figure 3: Area-wise performance of closed and open models on the Machine Learning benchmark.

Limitations and Future Work

  • Format Constraints: FLAME currently restricts problem generation to the multiple-choice question (MCQ) format to ensure deterministic, automated grading. This format may not fully capture all nuances of open-ended generative reasoning.
  • LLM Capability Bounds: The pipeline relies on frontier LLMs for generation and verification; therefore, the complexity and quality of the benchmarks are inherently bounded by the reasoning limits of the underlying models.
  • Source Bias: Benchmarks generated via FLAME naturally inherit the specific perspectives, notation, and potential biases of the chosen source textbooks.

Future work includes exploring more complex graph structures to dynamically scale problem difficulty and extending the framework to support open-ended evaluation formats.

Summary updated

Abstract

Evaluation of foundation models often rely on aggregate scores from benchmarks that lack comprehensive coverage and metadata for a fine-grained evaluation. We introduce a framework for automated benchmark generation. Our framework generates evaluation problems grounded in reference material, such as textbooks, producing benchmarks with broad coverage, rich metadata, and robustness to contamination. The pipeline employs a multi-agent architecture for problem generation and a solution-graph-driven strategy that significantly improves the reliability of ground truth solutions. Using the framework, we generate three benchmarks in Machine Learning, Corporate Finance, and Personal Finance. Expert review finds a significantly lower ground-truth error rate than previous benchmarks such as MMLU and GSM8K. Evaluation of 12 commercial and open-source models shows that our benchmarks achieve near-uniform competency coverage and surface performance differences across models that existing benchmarks fail to capture. We will open-source the framework and our curated benchmarks soon.
BibTeX
@misc{islam2026fine,
  author = {Mohammed Saidul Islam and Negin Baghbanzadeh and Farnaz Kohankhaki and Afshin Cheraghi and Ali Kore and Shayaan Mehdi and Elham Dolatabadi and Arash Afkanpour},
  title = {{Fine-Grained Benchmark Generation for Comprehensive Evaluation of Foundation Models}},
  year = {2026},
  eprint = {2605.18824},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.18824},
}

Loading related content...

Figure