TL;DR
Evaluating modern LLMs is constrained by how quickly benchmarks saturate or become contaminated, while manual benchmark creation remains slow and expensive. BenchAgents automates benchmark creation by chaining four specialized LLM agents—Planning, Generation, Verification, and Evaluation—under a developer-in-the-loop framework. Using BenchAgents, the authors construct two new complex benchmarks that expose major gaps in how leading models (like GPT-4o and o1-preview) handle joint constraints and infeasible planning problems.
What Problem Does This Paper Address?
Rapid advancements in generative AI quickly outpace existing evaluations. Hand-crafted benchmarks saturate quickly or get absorbed into training corpora, whereas earlier automated generation pipelines either rely on rigid, hand-engineered code templates or only augment existing datasets. Furthermore, evaluating multi-step reasoning and open-ended generative writing requires both diverse data distributions and rigorous quality verification—needs that standard synthetic generation methods struggle to fulfill reliably.
Methods
BenchAgents employs a hybrid LLM-and-code architecture where four specialized agents collaborate sequentially with human developer-in-the-loop (DIL) checkpoints:
- Planning Agent (P-Agent): Consumes task requirements to define parameters (ranges/distributions), query constraints, data quality check definitions, and evaluation metrics.
- Data Generation Agent (G-Agent): Implements code to programmatically sample parameter spaces and constraints, executing prompt templating and generation.
- Verification Agent (V-Agent): Executes automated quality checks—both programmatic and model-based—evaluating candidate test instances on five dimensions: clarity, completeness, consistency, feasibility, and complexity (constrainedness). Conflicting or unviable instances are filtered out.
- Evaluation Agent (E-Agent): Generates programmatic verifiers or model-as-a-judge prompts to measure constraint-by-constraint satisfaction ("fraction passed") and all-or-nothing completion ("pass all").
Developers inspect and edit outputs (plans and code) between stages, keeping oversight high while minimizing manual authoring burden.
Datasets
The authors generated two new benchmarks (2,000 instances each):
- BA-Calendar: A complex multi-participant calendar scheduling task extending beyond prior datasets like
NaturalPlanby varying participant counts (2–10), day spans (1–7), buffer requirements, and meeting priorities. - BA-Text: A constrained long-form text generation benchmark covering five domain roles (e.g., researcher, chef) requiring simultaneous satisfaction of content constraints (positive, negative, positional, sequencing, conditional, and iterative).
Key Insights and Ideas
- Individual vs. Joint Constraint Gap: Models easily satisfy single constraints, but joint satisfaction collapses quickly. Most models experience nearly a 50% drop between their "fraction of constraints passed" and their "pass all" rates.
- Infeasible Problem Blindspots: Most leading models possess a strong bias toward proposing solutions even when none exist, identifying infeasible calendar scenarios correctly less than 40% of the time (with o1-preview standing out as an exception at ~70%).
- Compounding Constraint Fragility: Combining specific constraint types exposes unexpected failure modes. While models handle positional or sequencing constraints well in isolation, their joint combinations drive accuracy down below 60%.
- Behavioral Prioritization Differences: When faced with difficult or contradictory constraints, models differ sharply: some (like GPT-4o) satisfy simpler constraints while violating harder ones (e.g., availability), while others (o1-preview, Gemini 1.5 Pro, Mistral 2407) default to claiming "no solution exists."
Key Results
- Benchmark Quality & Verifier Reliability: V-Agent filters out invalid generation (feasibility pass rates were 93% on BA-Calendar and 73% on BA-Text). Human evaluation confirmed the reliability of V-Agent model checks (accuracy between 76%–96%) and E-Agent evaluation checks (70%–100%).
- Model Evaluations: Across seven evaluated models (GPT-4o, o1-preview, Claude 3.5 Sonnet, Gemini 1.5 Pro, Llama 3.1 70B/405B, and Mistral Large 2407):
- In BA-Calendar, scaling test-time compute provided a notable edge: o1-preview achieved the smallest gap between fraction passed and pass-all rates.
- In BA-Text, model scale was less predictive; Mistral 2407 outperformed Llama 3.1 70B/405B and matched GPT-4o.
- Constrainedness metrics directly correlated with human-perceived difficulty, with performance monotonically decreasing as constrainedness increased.
Limitations and Future Work
- Reliance on a Single LLM: Both benchmarks were developed using GPT-4o as the backbone for all agents; heterogeneous multi-model agent mixes remain unexplored.
- Inference Costs: Running multi-agent loops with code generation and LLM-based verification incurs substantial compute costs compared to single-inference template builders.
- Developer Intervention Needed: While developer burden is reduced, human edits were still critical—particularly for parsing logical conditions in BA-Calendar (normalized Levenshtein edit distance of 0.34 for generated verification code).
Summary updated