Evaluating Large Language Models on Mathematical Reasoning: A Practical Guide

    This article argues that ranking large language models on math ability with a single linear order breaks down on advanced tasks such as higher-level proofs and academic lecture writing. It proposes evaluating a capability–cost–stability triplet per task class, splits math performance into four observable layers (L1 retrieval and restatement, L2 routine proof completion, L3 original modeling, L4 open-problem exploration), and defines a four-dimension evaluation framework covering tiered problem banks, proof originality checks, long-context and long-output consistency, and formatting deliverability. It also provides a reusable prompt template with a self-check step, plus guidance on routing, batching, caching, and budget quotas for limited high-end reasoning capacity, and a human review loop for L3 and above.

    1. The Starting Point: Why “Which Model Is Stronger” Is the Wrong Question

    Public discussion often presents a linear ranking of model capabilities: model A beats model B, model C falls behind model D. But once the task shifts to advanced mathematical proofs or writing academic lecture notes, that linear ranking breaks down almost immediately. There are three reasons:

    1. The task space is not commensurable. Verifying a finite group theory proposition, constructing an isomorphism on a sheaf-theoretic category, and checking the commutativity of a commutative diagram place completely different demands on a model. The first leans on combinatorial construction, the second on recall of abstract structures, and the third on formal symbolic manipulation.
    2. The cost dimension is ignored. For the same proposition, one model returns a verifiable proof in two minutes while another returns a more elegant proof in twenty. Their value ordering in a production environment is reversed.
    3. Queues and quotas are a hidden constraint. High-end reasoning allowances are often limited and subject to queuing at peak times, so real throughput is far below the nominal capability.

    This article therefore argues for reframing “evaluate a model” as “evaluate a capability–cost–stability triplet for a class of tasks.”

    2. Capability Layers: Splitting “Math Ability” into Four Observable Levels

    Based on failure modes commonly seen in practice, large model performance on mathematical tasks can be divided into four levels of increasing difficulty:

    • L1 Retrieval and restatement: Locate classic theorems and produce standard statements and common proof paths. Nearly all mainstream models handle this level, so it has no discriminating power.
    • L2 Routine proof completion: Given a proposition and known lemmas, fill in intermediate steps, including standard induction, proof by contradiction, and constructive arguments.
    • L3 Original modeling: When no ready-made proof exists in public sources, select auxiliary constructions independently (for example, introducing an extra functor, or localizing first and then gluing) while maintaining symbolic consistency.
    • L4 Open-problem exploration: Facing problems with no accepted solution, propose testable candidate routes and self-identify dead ends.

    The genuinely valuable observation in the original discussion is this: whether the output still holds when no ready-made proof exists in public sources is the key criterion separating L2 from L3. If a model is merely rearranging existing text, it is exposed immediately on L3 tasks, showing up as a broken proof chain, citations of nonexistent lemmas, or a conclusion that does not match the assumptions.

    3. Evaluation Framework: Four Dimensions Instead of a Single Ranking

    Dimension 1: Tiered Proposition Difficulty with Baselines

    Do not test with one generic “math problem.” Build a three-tier question bank:

    1. Level A: textbook exercises (standard answers, automatically comparable)
    2. Level B: competition / graduate qualifying exam level (unique answers, process needs human review)
    3. Level C: small propositions with no ready-made proof in available sources (requires domain expert judgment)

    Prepare 20–50 items per level with a fixed random seed, so that different models at different times run the same set. Only the pass rate on Level C has real value for model selection.

    Dimension 2: Verifying Proof Originality

    A three-step verification process is recommended:

    1. Source comparison: Run a similarity check between key constructions in the output and public sources, ruling out “restatement-style passes.”
    2. Logical closure check: Confirm item by item that every lemma was proved before it is cited, with no circular dependencies.
    3. Blind expert review: Hide the model identity and have domain experts score on four bands: publishable / lecture-ready / needs rework / unusable.

    Dimension 3: Long-Context and Long-Output Stability

    The real pain point of academic lecture tasks is not “cannot write it out” but “inconsistent between the first and second half.” Specifically observe:

    • Whether notation stays consistent throughout (whether the same object changes symbol midway);
    • Whether lemmas defined earlier are cited correctly later;
    • Whether output can resume from a truncation point without repetition or contradiction.

    Dimension 4: Conformance and Deliverability

    Whether well-structured typesetting source can be emitted reliably (sections, numbering, formula environments, bibliography placeholders) directly determines the amount of manual rework. During evaluation, use “the proportion of characters requiring manual correction” as a quantitative metric.

    4. Prompt Design: Turning Vague Requirements into an Acceptance-Ready Task Spec

    The usage pattern in the original text can be abstracted into one high-quality prompt paradigm: specify the target object + specify the output form + explicitly declare the constraints. Rewritten and completed into a reusable template:

    1. Task: Prove [proposition ID / proposition statement].
    2. Constraints:
    3. 1. This proposition has no ready-made proof in public sources; do not rely on lemmas whose proofs are not given;
    4. 2. If an auxiliary construction is necessary, first explain the motivation, then give the verification;
    5. 3. Use a single notation table throughout, and define each symbol at first appearance.
    6. Output: lecture notes in typesetting source form, containing
    7. - notation and conventions
    8. - lemmas and their proofs
    9. - proof of the main theorem
    10. - explanation of the relation to known results
    11. Self-check: at the end, list all propositions that are cited but not proved; if there are none, explicitly state "none."

    The key design point is the final self-check step. It converts an open-ended generation task into one with a verifiable closing condition, and significantly reduces the rate of hallucinated lemmas.

    5. Cost and Quota Governance: Scheduling Allowances as a Finite Resource

    One phenomenon that recurs across multi-user feedback: high-end reasoning allowances are consumed quickly, queuing is severe at peak times, and unused remaining allowance is wasted. This is a classic resource scheduling problem, and engineering can handle it as follows:

    • Tiered routing: Send L1/L2 tasks to lightweight models or cached results, and route only L3/L4 tasks to the high-capability reasoning channel.
    • Batching and off-peak scheduling: Put non-real-time lecture generation tasks in a queue to avoid peak hours; submit parallelizable tasks in batches.
    • Result caching and reuse: Cache verified proofs keyed by a “proposition fingerprint,” so the same proposition does not consume allowance repeatedly.
    • Budget quotas: Set an allowance cap and alert threshold per project, automatically degrading to the lightweight channel as the threshold approaches.
    • Observability: Use logging services and monitoring alerts to track allowance consumption, queue time, and rework rate per task class, forming a basis for selection.

    Illustrative routing logic:

    1. def route(task):
    2. if task.level in ("L1", "L2"):
    3. return light_channel(task) # low-cost channel
    4. if task.budget_left < task.est_cost:
    5. return queue_or_degrade(task) # queue or degrade
    6. return strong_reasoning_channel(task) # high-capability channel

    It should be emphasized that the capabilities above should be expressed as generic categories (such as container platforms, message queues, object storage, logging services, monitoring alerts); specific parameters and billing rules should follow the official documentation of the cloud platform in use. This article gives no unconfirmed numbers.

    6. Human Review: The Last Mile That Cannot Be Skipped

    For L3 and above tasks, model output should be treated as a “draft” rather than a “conclusion.” Recommended process:

    1. Automated checks: symbol consistency, citation closure, typesetting compilability;
    2. Expert spot checks: score on the four bands and record failure modes;
    3. Failure archiving: feed failed samples back into the question bank, forming a continuous evaluation loop.

    7. Conclusion

    Evaluating large model math ability should shift from “ranking thinking” to engineering evaluation along “task–cost–stability”: tiered question banks instead of generic problems, originality verification instead of text similarity, long-output consistency instead of single-point correctness, and quota scheduling instead of an assumption of unlimited calls. On platforms such as Baidu AI Cloud, combining generic cloud product capabilities to build an evaluation and scheduling pipeline can turn model selection from subjective impression into reproducible data-driven decisions, while spending limited high-end reasoning allowance on the steps that genuinely require L3/L4 capability.