Abstract
Evaluating large language models (LLMs) effectively remains a critical bottleneck, as traditional static benchmarks suffer from saturation and contamination, while human evaluations are costly and slow. We introduce YourBench, a novel, open-source framework that addresses these limitations by enabling dynamic, automated generation of reliable, up-to-date, and domain-tailored benchmarks cheaply and without manual annotation, directly from user-provided documents. We demonstrate its efficacy by replicating 7 diverse MMLU subsets using minimal source text, achieving this for under 15 USD in total inference costs while perfectly preserving the relative model performance rankings (Spearman Rho = 1) observed on the original benchmark. To ensure that YourBench generates data grounded in provided input instead of relying on posterior parametric knowledge in models, we also introduce Tempora-0325, a novel dataset of over 7K diverse documents, published exclusively after March 2025. Our comprehensive analysis spans 26 SoTA models from 7 major families across varying scales (3-671B parameters) to validate the quality of generated evaluations through rigorous algorithmic checks (e.g., citation grounding) and human assessments.
Introduction: The Evaluation Crisis
The "evaluation crisis" in Large Language Models (LLMs) is twofold: static benchmarks like MMLU are rapidly saturating as models hit ceiling scores, and they increasingly suffer from data contamination where test questions appear in training data. Meanwhile, human evaluation—the gold standard—is prohibitively expensive and slow, making it impossible to perform the frequent, domain-specific testing required for real-world applications.
YourBench addresses this by providing a way to generate "bespoke" benchmarks on demand. These benchmarks are grounded in specific, recent documents to ensure we are testing a model's reasoning and extraction capabilities rather than its memorized training data.
Methodology
The YourBench framework utilizes a pipeline called Document-to-Evaluation Generation (D2EG), consisting of several sophisticated stages:
- Preprocessing: Documents (PDFs, HTML, etc.) are normalized into Markdown using "Semantic Chunking" to break text into coherent segments, supplemented by global summaries for context.
- Guided Generation: An ensemble of diverse LLMs is prompted to generate question-answer pairs, seeded with instructions to vary difficulty levels and question types (factual, multi-hop, etc.).
- Quality Filtering: To ensure answerability, the system uses Citation Grounding, algorithmically checking (via fuzzy string matching) if model-provided citations exist in the source text.
- Semantic Deduplication: Redundant QA pairs are removed using sentence embeddings and the DBSCAN clustering algorithm, retaining only representative "medoids."
To validate the framework, the authors introduced TEMPORA-0325, a dataset of over 7,000 diverse documents published after March 2025, ensuring no current model has seen the data during pre-training. They also created MMLU Replicas by recreating subsets of the MMLU benchmark using only a few Wikipedia pages as source material.
Results and Discussion
Rank Preservation and Cost Efficiency
A primary finding is that while synthetic YourBench questions are generally "harder" (resulting in lower absolute scores), they achieved a Spearman Rho of 1.00 when ranking models. This indicates that the relative order of model performance is identical to the original MMLU, validating the synthetic benchmark's utility as a proxy for established standards.
Furthermore, replicating a domain's evaluation set cost less than $2 in inference fees and took under 5 minutes, demonstrating that high-quality evaluation is accessible on a modest budget.
The Validity-Diversity Trade-off
Analysis revealed a distinct "personality" split among generator models. OpenAI’s o3-mini produced extremely valid, high-quality questions but exhibited low diversity, tending toward "safe" and repetitive outputs. In contrast, Qwen2.5 32B showed high diversity but slightly lower validity.
Human and Algorithmic Validation
In a blind study with 20 trained annotators, 85% of the generated questions were deemed "Valid" (clear, sensible, and answerable solely from the text). Leading models like Claude 3.7 Sonnet and Gemma 3 27B demonstrated exceptional citation grounding, with scores exceeding 90% on the "PartialRatio" metric.
Conclusion
YourBench offers a scalable, cost-effective solution to the LLM evaluation crisis. While challenges like "LLM-as-a-Judge" bias and subtle reasoning errors remain, the framework's ability to generate high-quality, grounded benchmarks on demand is a significant step forward. Future work will focus on handling multi-modal content and exploring applications in personalized education.
Summary updated