Evaluating Large Models on Open Math Problems: A Practical Framework
This article presents a practical framework for evaluating large language models on advanced math tasks. It explains why single demos and service-side experience are unreliable signals, then breaks math capability into four measurable levels, from computation to open problems. You will find a reusable prompt skeleton, a 100-point scoring rubric covering correctness, rigor, and formatting, a cost-per-useful-output metric, and an engineering pipeline with model routing. The goal is reproducible, comparable, and iterative evaluation.
1. Background: Why a Single Demo Is Not Enough
In real technical selection, we often see claims like “this model solved a hard problem, so it is stronger,” or “this model has long queues and unused quota, so it is not worth it.” Both judgments have clear logical flaws. The first treats a single data point as a capability distribution; the second conflates service-side capacity and billing experience with the model’s actual capability.
To rigorously evaluate a model on advanced math tasks, separate capability from service experience:
- Capability: semantic understanding, formal reasoning, long-chain consistency, notation standards, and self-correction.
- Service: concurrency and queuing, quota consumption rate, response latency, context length limits, and stability.
Complaints about remaining quota and heavy queues belong to the service dimension. Whether a model can prove a proposition that has no recorded proof and produce lecture notes belongs to the capability dimension. Mixing the two inevitably distorts the conclusion.
2. Task Levels: Breaking Math Capability into Measurable Layers
Split tasks into four levels and increase pressure gradually. Starting directly with open-ended hard problems makes evaluation hard to reproduce.
- L1 Computation and simplification: definite integrals, limits, matrix operations. Answers are unique and can be checked automatically.
- L2 Standard theorem application: apply common theorems to given conditions. Tests knowledge coverage and condition checking.
- L3 Constructive proof: requires auxiliary constructions and case analysis. Answers are not unique but can be reviewed manually.
- L4 Open math problems: a proposition from an open problem set with no given proof. Tests genuine exploration ability.
Key point: L4 problems often have no standard answer, so a binary right/wrong judgment is not enough. Process scoring must be introduced.
3. Prompt Design: Clearer Constraints, More Credible Evaluation
The same model can perform very differently under different prompts, often more than the gap between models. A reusable prompt skeleton (illustrative):
Role: You are a math writing assistant.Task: Prove proposition P.Constraints:1) Do not cite lemmas that are not given; if a lemma is needed, prove it first or mark it as to-be-proven;2) Give the justification for every step;3) Output an English handout with definitions, lemmas, theorems, proofs, and remarks;4) If you fail at a step, state the failure reason and the paths already tried.Output format: structured text, with formulas on separate lines.
Constraint 4 matters most: it makes the model expose the boundary of its reasoning instead of fabricating a step as “obviously true.” In evaluation, proactively declaring failure usually deserves more credit than forcing out an incorrect proof.
4. Scoring: Correctness, Rigor, and Formatting
Use a 100-point scale with three weighted dimensions:
| Dimension | Weight | What to observe |
|---|---|---|
| Result correctness | 40 | Whether the conclusion holds and counterexamples are ruled out |
| Process rigor | 40 | Logical jumps, circular reasoning, implicit assumptions |
| Presentation standards | 20 | Consistent notation, complete structure, readability |
Process rigor can be refined by checking for pseudo-proof patterns: using the conclusion as a lemma, doing induction on infinite cases without explanation, or ignoring boundary conditions. These issues appear more often in long chain-of-thought outputs, so pay special attention to the fact that the longer the chain, the higher the probability of accumulated errors.
5. Cost Accounting: Turn Quota Usage into a Comparable Metric
Do not just look at how much quota was spent. Look at how much is consumed per unit of useful output. Record:
- Input/output size and number of turns;
- Retries needed to reach a usable result;
- Manual revision time.
This yields effective cost = total consumption ÷ number of outputs that pass review. This metric explains why a cheap model with repeated retries can end up more expensive, and avoids rejecting an overall approach because of one wasted quota.
6. Engineering Integration: Build an Evaluation Pipeline with General Capabilities
In practice, build a closed loop on general cloud capabilities: object storage holds problems and outputs, a message queue smooths peaks to relieve concurrency pressure, a container platform runs batch inference jobs, and logging plus monitoring alerts track failure rate and latency. Use a unified gateway for model routing, sending simple tasks to cheaper channels and open tasks to deeper ones, balancing cost and quality.
Illustrative routing strategy:
def route(task):if task.level <= 2:return "light" # low-cost channelif task.level == 3:return "standard" # standard channelreturn "deep" # deep reasoning channel with stricter review
7. Common Pitfalls and Conclusion
Pitfall 1: inferring capability from queuing and quota experience. Pitfall 2: deciding the winner with a single hard problem. Pitfall 3: looking only at the final answer and ignoring the proof process. Pitfall 4: directly comparing results obtained under different prompts.
Conclusion: evaluating a model’s math capability should rest on layered tasks, fixed prompts, two-dimensional scoring, and cost accounting. Engineering should then control cost through routing and asynchronous queues, so you avoid wasting resources while getting reproducible, comparable, and iterable conclusions.
