TL;DR
This paper introduces a novel pipeline for automatically generating challenging math problems designed to expose LLM weaknesses. By analyzing LLM errors and generating hypotheses about underlying concept gaps, the system creates targeted problems that significantly reduce LLM accuracy, offering a more robust evaluation method than static benchmarks.
What Problem Does This Paper Address?
Evaluating the mathematical reasoning capabilities of Large Language Models (LLMs) is crucial, but current benchmarks face significant challenges. Firstly, manual creation is time-consuming and doesn't scale, leading to static datasets that LLMs can overfit. Secondly, LLMs evolve rapidly, making existing benchmarks quickly obsolete. Thirdly, existing automatic generation methods often lack specificity, failing to pinpoint the exact concepts or skills an LLM struggles with, and are often limited to specific problem formats or narrow mathematical domains. This paper aims to address these limitations by creating a dynamic, hypothesis-driven approach to generate challenging math problems that specifically target LLM weaknesses.
Methods
The authors propose a three-stage pipeline for generating challenging math problems:
- Failing Problem Filtering: The target LLM is tested on an existing benchmark (MATH in this case), and problems it consistently fails are identified. This filtering ensures that the subsequent steps focus on genuine weaknesses rather than random errors.
- Hypothesis Generation: An LLM (Hypogenic) is used to analyze the failed problems and generate natural-language hypotheses about the specific mathematical concepts and skills underlying these failures. These hypotheses are scored based on their accuracy in predicting LLM performance on the failed problems.
- Challenging Problem Generation: The most accurate hypotheses are used to guide the generation of new, challenging math problems. These problems are specifically designed to probe the identified weaknesses, making them harder for the target LLM.
A key aspect of this pipeline is the investigation into the granularity of concept categorization. The authors experiment with different levels of detail in defining mathematical concepts, finding that an optimal granularity is crucial for generating both accurate hypotheses and challenging problems.
Datasets
- MATH benchmark: Used as the source for identifying failing problems and as a baseline for evaluating LLM performance.
- Generated problems: The pipeline creates new problem sets tailored to specific LLM weaknesses identified through hypothesis generation.
Key Insights and Ideas
- Hypothesis accuracy predicts problem difficulty: The more accurate a hypothesis is in identifying LLM weaknesses, the harder the generated problems become for the LLM. This is a powerful indicator that the hypotheses are capturing genuine conceptual gaps.
- Granularity matters: The level of detail in defining mathematical concepts significantly impacts hypothesis quality and downstream problem difficulty. Overly coarse or overly fine-grained categories can degrade performance.
- Targeted generation is key: Unlike general-purpose benchmarks, this method focuses on specific LLM failures, leading to problems that are substantially more challenging and reveal deeper insights into LLM reasoning.
- Adaptability: The pipeline's core mechanism (hypothesis generation) can be adapted to explore non-mathematical factors (like problem wording) or to generate benchmarks in domains beyond mathematics.
Key Results
- Problems generated from the most accurate hypotheses reduced the accuracy of Llama-3.3-70B-Instruct to as low as 45%, compared to 77% on the original MATH benchmark.
- The study found a positive correlation between hypothesis accuracy and the difficulty of generated problems.
- The low-granularity prompt for hypothesis generation yielded the most accurate hypotheses and the most challenging problems.
- Redundant or overlapping concept categories were found to degrade both hypothesis quality and problem difficulty.
Limitations and Future Work
- Small evaluation sample: The evaluation used only 20 problems per hypothesis, making the results sensitive to noise. Scaling up the problem sets is suggested for more precise estimates.
- Generator capability: The same LLM used as the target was also used for generation. While this controls for model-specific variations, it means the generator might struggle with the very weaknesses it's trying to probe, potentially limiting the quality ceiling of the generated problems.
- Correlation vs. Causation: Hypotheses identify statistical associations, but not necessarily causal links for LLM failures. Future work could involve modifying prompts to generate hypotheses about non-content factors (e.g., wording complexity) to disentangle these.
The authors plan to scale evaluations, test more LLMs, and explore prompts that disentangle concept-level weaknesses from confounding factors like problem wording and solution length.
Summary updated