InfoSynth: Information-Guided Benchmark Synthesis for LLMs
Ishir Garg, Neel Kolhe, Xuandong Zhao, Dawn Song
TL;DR
InfoSynth tackles benchmark creation for LLM evaluation by introducing an information-theoretic framework that quantifies novelty with $D_{KL}(q\|p)$ and diversity with the differential entropy $h(p)$ of problem embeddings in $\mathbb{R}^d$. It provides an end-to-end pipeline that uses genetic algorithms, mutation/crossover, iterative code feedback, deduplication, and postprocessing to synthesize robust Python coding problems with executable test-and-solution verification. Empirical results show generated benchmarks achieve higher novelty and diversity than seed data and maintain high correctness (≈$97\%$) while enabling explicit control over novelty/diversity and difficulty. The work offers a scalable, self-verifying framework for contamination-free LLM evaluation benchmarks and demonstrates practical benefits for robust reasoning and code-generation assessment.
Abstract
Large language models (LLMs) have demonstrated significant advancements in reasoning and code generation. However, efficiently creating new benchmarks to evaluate these capabilities remains a challenge. Traditional benchmark creation relies on manual human effort, a process that is both expensive and time-consuming. Furthermore, existing benchmarks often contaminate LLM training data, necessitating novel and diverse benchmarks to accurately assess their genuine capabilities. This work introduces InfoSynth, a novel framework for automatically generating and evaluating reasoning benchmarks guided by information-theoretic principles. We propose metrics based on KL-divergence and entropy to quantify benchmark novelty and diversity without relying on costly model evaluations. Building on this framework, we develop an end-to-end pipeline that synthesizes robust Python coding problems from seed datasets using genetic algorithms and iterative code feedback. Our method generates accurate test cases and solutions to new problems 97% of the time, and the synthesized benchmarks consistently exhibit higher novelty and diversity compared to their seed datasets. Moreover, our algorithm provides a method for controlling the novelty/diversity and difficulty of generated problems. InfoSynth offers a scalable, self-verifying pipeline for constructing high-quality, novel and diverse benchmarks for LLMs. Project Page: https://ishirgarg.github.io/infosynth_web/
