Evaluating Large Language Models on Open-Ended Math Reasoning: Benchmark Design, Process Quality, and Engineering Practices
Open-ended math reasoning is one of the most debated areas in large language model evaluation, but discussions often rely on subjective rankings or static leaderboard scores. This article proposes a reproducible, layered, and quantifiable evaluation framework: define the task level, design benchmark items, standardize scoring, analyze reasoning quality, and build a reusable evaluation pipeline. It explains common benchmark biases, how to measure stable capability with multi-sample testing and pass@k, and why process quality should be evaluated separately from final answer correctness.
1. Introduction: Why Evaluation Should Come Before “Which Model Is Stronger?”
In the LLM community, questions such as “how good is a model at mathematics?” are among the most discussed—and most easily misunderstood—topics. There are two common ways to approach them:
- Place several popular models side by side and rank them based on subjective experience.
- Cite scores from third-party benchmark rankings as the final conclusion.
The first approach lacks a unified difficulty baseline and scoring standard. It can easily mistake personal preference for a model’s overall capability. The second approach is more transparent because scores are visible, but it has two structural biases: fixed test sets may be contaminated by training data, and static scores may not keep up with changes in reasoning frameworks and problem-solving tools.
Rather than asking “which model is stronger,” a more useful approach is to build an evaluation system that is reproducible, layered, and quantifiable. The system should define what is being tested, how questions are designed, how answers are scored, and which dimensions should be used to interpret results.
This article follows that approach. It outlines evaluation design for complex reasoning tasks, using open-ended math problems as the primary example, and also covers process-quality analysis and engineering practices for building a reusable evaluation pipeline.
2. Problem Breakdown: What Are Open-Ended Math Problems?
Open-ended math problems are questions that do not have a fixed solution template and require the model to explore a solution path independently. They can be grouped into four levels according to cognitive difficulty.
| Level | Typical Characteristics | Evaluation Focus | Common Limitations |
|---|---|---|---|
| L1: Basic Calculation and Concepts | A single knowledge point and a small number of steps | Basic accuracy and format compliance | Low discrimination; many models approach full marks |
| L2: Comprehensive Application | Multiple knowledge points combined with multi-step derivation | Correctness of intermediate steps and stability of long reasoning chains | Errors accumulate as the number of steps increases |
| L3: Competition-Level Problems | Requires special techniques such as constructing auxiliary elements or proof by contradiction | Exploration ability and discovery rate of key breakthroughs | High annotation cost; controversial problems need review |
| L4: Open-Ended Research-Level Problems | No standard solution; requires original reasoning | Novelty of ideas, verifiability, and rigor of conclusions | Lack of unique standard answers makes scoring subjective |
Many disagreements about “math ability” come from a mismatch between task levels. A conclusion drawn from L1 or L2 problems may be incorrectly treated as evidence of a model’s performance on L4-level tasks.
When building an evaluation set, the target level should be selected according to business needs, such as assisted teaching, research derivation, or engineering calculation. Each level should have enough questions and a reasonable difficulty distribution. Results should be reported by level rather than collapsed into a single overall score.
3. Key Challenges: Three Biases in Fixed Benchmarks and How to Address Them
1. Data contamination
Competition problems and textbook examples are widely distributed in public corpora and may have been included in training data.
Possible mitigations include:
- Introducing held-out problems that are not used for training and are not publicly released for a long time.
- Creating cross-version isomorphic problems.
- Periodically rotating the question pool.
2. Mismatch between evaluation methods
Standardized exams often use multiple-choice or fill-in-the-blank questions, which mainly test the final result. Open-ended proof problems, however, often require evaluating the reasoning process. Applying traditional evaluation formats directly can either underestimate or overestimate a model’s actual capability.
3. Differences in output format
Some models produce complete step-by-step derivations, some provide only the final answer, and some require external tools or solver environments to reach a result. If the interaction mode, reasoning budget, and prompting strategy are not unified, the evaluation may compare “product forms” rather than model capability.
In practice, the same model may also behave differently through different access points. A chat entry, a reasoning API entry, and a code or tool environment entry may produce different results because of differences in context organization, system prompts, tool-calling ability, and default reasoning effort. When reporting conclusions, it is important to note the test entry point and invocation parameters. This avoids attributing differences caused by engineering configuration to the model itself.
4. Evaluation Set Design: Difficulty, Discrimination, and Coverage
4.1 Metric Definitions
- Discrimination: How sensitive a problem is to capability differences. If almost all models can solve a problem, it cannot distinguish strong from weak models. If all models fail, it becomes difficult to judge which model is closer to a correct solution.
- Contamination risk: Whether a problem is likely to be memorized by the model rather than genuinely reasoned through.
- Decidability: Whether the answer can be judged objectively, automatically, and unambiguously.
4.2 Design Strategies
- Use self-authored problems and variant problems as the main source, while keeping a small number of public problems as baseline references.
- Allocate the number of problems across difficulty levels using stratified random sampling.
- Establish standardized reference answers and step-by-step scoring criteria for each problem.
- Retain metadata for each problem, such as knowledge points, required number of steps, source, and version, to support later slicing analysis.
5. Scoring and Statistics: From “Single-Problem Correctness” to “Stable Capability”
1. Combine strict judgment with multiple sampling
A single sample reflects only one attempt. Independent repeated sampling and pass-rate calculation are closer to a model’s true capability than a single result.
2. Estimate capability with pass@k
Pass@k measures the probability that at least one success occurs within k attempts. The unbiased estimator is:
[
\hat{p} = 1 - \frac{\binom{n-c}{k}}{\binom{n}{k}}
]
where n is the number of samples and c is the number of successful samples. This metric can be used to estimate a model’s upper-bound capability when it is combined with multiple rounds of filtering or self-checking.
3. Use double-blind review for subjective items
Open-ended proof problems should be scored independently by at least two reviewers. If necessary, a third reviewer should be added to arbitrate. Reviewer agreement should be measured, for example with Cohen’s kappa.
4. Unify prompts and reasoning budgets
For the same set of problems, fix the prompt template, maximum reasoning length, and sampling temperature. This prevents scores from being distorted by different budgets.
The following example is for illustration only and is not production-ready code:
import mathdef pass_at_k(n: int, c: int, k: int) -> float:"""Unbiased estimate of pass@k: probability of at least one success within k attempts, given c successes out of n samples."""if n - c < k:return 1.0return 1.0 - math.comb(n - c, k) / math.comb(n, k)def score_case(final_answer: str, ground_truth: str, key_steps: list[str]) -> dict:"""Example: combined scoring of final result and process steps."""result_ok = final_answer.strip() == ground_truth.strip()step_hits = [1 for s in key_steps if s in final_answer] # Replace with semantic matching in practicereturn {"result": 1 if result_ok else 0,"process": len(step_hits),"total": (1 if result_ok else 0) + 0.2 * len(step_hits),}
6. Process Quality: Longer Reasoning Does Not Mean Stronger Reasoning
Many people judge model quality by reasoning-chain length, but this can be misleading. A longer reasoning chain may indicate one of three outcomes:
- Genuinely useful decomposition.
- Meaningless repetition and self-doubt.
- Drift in which the reasoning becomes increasingly disorganized.
The following dimensions can be measured quantitatively:
- Effective step rate: The proportion of steps that actually advance the solution.
- Redundancy: The proportion of repeated statements or paragraphs that add no new information.
- Self-correction rate: The number of times the model identifies and corrects its own errors.
- Final answer consistency: Whether the conclusion of the reasoning chain matches the final output.
- Controllability: Whether the model prematurely gives up or diverges endlessly under a given budget.
In engineering practice, these metrics can be extracted automatically through segment splitting, key-information extraction, duplicate detection, and semantic similarity calculation. These automated signals can then be combined with sampled human review.
For example, if a model is sampled five times on the same problem and produces the correct final answer each time, but its reasoning-chain length has high variance and a high proportion of redundant paragraphs, this suggests that its stability still has room for improvement. It does not simply mean the model is stronger.
7. Three Business-Oriented Evaluation Scenarios
- Code and engineering problems: Focus on executability, boundary-condition coverage, and the reasonableness of refactoring suggestions.
- Data analysis and modeling: Focus on whether assumptions are explicit, whether variable interpretations are reasonable, and whether conclusions can be reproduced.
- Education and problem-solving assistance: Focus on step-by-step explainability, error localization ability, and whether the instructional language is clear.
The same model may perform very differently across scenarios. This is not necessarily contradictory, because the objective functions, context construction methods, and judgment standards are different. Evaluation reports should therefore be organized by scenario rather than summarized into a single vague “overall capability score.”
8. Engineering Implementation: Turning Evaluation into a Reusable Pipeline
A practical evaluation system usually contains the following modules:
- Question bank and metadata management: Store questions, reference answers, difficulty labels, and version information.
- Invocation and sampling layer: Unify access points, control concurrency, and handle timeouts and retries.
- Judgment layer: Automatic judgment for objective questions and a review queue for subjective questions.
- Metric calculation: Pass rate, pass@k, process metrics, and reviewer agreement.
- Reporting and dashboard: Display results by model, version, difficulty, and scenario, and support traceable comparisons.
The following pipeline example is also illustrative:
def run_evaluation(model_client, dataset, judge, k=5, repeat=1):"""Main evaluation loop: sample the same item multiple times and collect result and process metrics."""results = []for item in dataset:samples = [model_client.solve(item.prompt) for _ in range(k * repeat)]scores = [judge(item, s) for s in samples]n = len(scores)c = sum(s["result"] for s in scores)results.append({"item_id": item.id,"pass_at_k": pass_at_k(n, c, k),"avg_process": sum(s["process"] for s in scores) / n,"consistency": c / n, # Approximate consistency across repeated samples for the same item})return results
9. Conclusion and Recommendations
- Determine the business target level first, such as L1 to L4, and then select the evaluation set.
- Use multiple sampling and pass@k instead of single-attempt results to reduce randomness.
- Introduce double-blind review and reviewer-agreement metrics for open-ended problems.
- Treat process quality as an independent dimension, and avoid using reasoning-chain length as a substitute for capability judgment.
- Productize the evaluation workflow into a reusable, traceable, and extensible capability-assessment system.
If a team needs to build this kind of evaluation workflow, a practical starting point is a four-part architecture: question-bank management, unified invocation, automatic judgment, and dashboard display. This architecture preserves comparability across results and makes it easier to reproduce historical conclusions as models iterate, providing reliable evidence for model selection and optimization.
