LLM Benchmarking Methodology: How to Compare Models and Avoid Common Pitfalls

    This article presents a practical methodology for benchmarking and comparing large language models from the same generation. It explains why running many test cases often fails to produce meaningful conclusions, then walks through goal definition, test set design, execution, scoring, common pitfalls, and result interpretation. You will learn how to build discriminative test sets, combine automated and blind human scoring, handle variance, and turn "the two models look similar" into actionable engineering insights.

    1. Background: Why Running Many Tests Still Leads to No Clear Conclusion

    In real engineering work, teams often need to answer a seemingly simple question: for two models from the same generation but positioned differently, where exactly do their capabilities differ? A common approach is to prepare a batch of questions, run dozens of calls, and then compare accuracy. This often produces a vague conclusion that “the two are not very different.” The problem is usually not that the models are truly identical, but that the evaluation design itself has failed.

    There are three typical failure modes. The first is insufficient question difficulty: most samples are answered correctly by both models, accuracy is compressed by a ceiling effect, and the metric loses discriminative power. The second is unreliable scoring: subjective questions lack a unified rubric, and objective questions lack executable validation scripts, so scoring ends up relying on impressions. The third is letting the model design the questions and draw the conclusions itself: the question style is pulled toward a single model’s preferences, and the conclusion carries an obvious self-narrative bias.

    The core of evaluation is therefore not “call volume” but “information gain.” Whether an evaluation is effective depends on whether it can turn behavioral differences between two models into observable, reproducible, and attributable signals.

    2. Evaluation Goals and Overall Design

    It helps to split the goals into three layers: whether it can get the answer right (correctness), how detailed the answer is (completeness), and how deep the reasoning goes (reasoning chain quality). These three layers map to different question types and scoring methods, and should not be measured with a single accuracy figure in one table.

    A reference configuration is below. When resources are limited, prioritize “dimension coverage” over “sample count”:

    • Models: two models from the same generation, running in the same environment, with the same prompt and the same sampling parameters such as temperature;
    • Scale: six dimensions, several questions per dimension, repeated sampling per question, with the total kept to roughly tens to a hundred calls;
    • Dimensions: reasoning and math, Chinese writing, hallucination and honesty, instruction following, code, and information extraction;
    • Scoring: objective questions validated automatically by scripts, subjective questions compared through blind human review;
    • Question authoring: led by humans, with the model used only to assist in generating candidates; difficulty and discriminative power must be reviewed manually.

    One point deserves emphasis: letting the model author questions instead of humans is not impossible, but a “difficulty calibration” step must be added, otherwise it is easy to end up with a batch of freebie questions.

    3. Test Set Design: Treat Discriminative Power as a First-Class Citizen

    The goal of question design is not to cover knowledge points, but to create observable differences. Before a question enters the set, it should be tagged with three attributes: expected difficulty, discrimination target (correctness / completeness / reasoning depth), and scoring method.

    Reasoning and math questions should involve multi-step dependencies rather than being solvable with a single substitution; they should also require intermediate steps so that partial credit can be given step by step. Example:

    1. Given an allocation problem with a set of constraints, require:
    2. 1) Output the final numeric result;
    3. 2) Output the key intermediate quantities;
    4. 3) Explain how each constraint is satisfied one by one.
    5. Scoring: correct result earns base points, correct intermediate quantities earn process points, missing constraint explanation loses points.

    The key to hallucination and honesty questions is that “there is no answer to give.” Design several questions whose premises do not hold or whose information is insufficient, and observe whether the model fabricates facts and whether it explicitly expresses uncertainty. Scoring does not look at writing quality, only at whether the model acknowledges the information gap.

    Instruction-following questions should stack multiple constraints, for example a word-count range, required key fields, forbidden expressions, and an output structure (such as structured text with fixed key names). Three to five constraints is a reasonable range: too few gives no discriminative power, too many turns it into a stress test.

    For code, quality matters more than quantity: one question, but verified in fine detail, covering both functional correctness and edge cases, exception handling, complexity, and readability. Scoring is determined jointly by test case coverage and edge-case pass rate.

    Chinese writing questions must come with a scoring rubric, otherwise subjectivity will swallow the conclusion. Suggested dimensions include structural completeness, factual consistency, terminology accuracy, redundancy, and style controllability, each scored in bands by two blind reviewers.

    Information extraction questions provide semi-structured text and require output in fixed fields, with field-level exact matching used to compute accuracy and miss rate.

    4. Execution and Scoring: Make Conclusions Reproducible

    During execution, fix all environment variables, including the prompt, sampling parameters, context length, and call order, to avoid order effects. Repeat sampling multiple times per question and record the mean and variance; if the difference between the two models’ means is smaller than the scale of the variance, it should be judged as “no significant difference” rather than forcing a ranking.

    Objective questions are scored by scripts, with a structure like this:

    1. def score_objective(answer, expected, steps=None):
    2. result = 1.0 if normalize(answer) == normalize(expected) else 0.0
    3. process = 0.0
    4. if steps is not None:
    5. process = sum(1 for s in steps if s in answer) / len(steps)
    6. return {"result": result, "process": process}

    Subjective questions use blind review: hide the model source, present in random order, score with a unified rubric, and finally run a consistency check. If the two reviewers’ scores differ too much, the rubric is not clear enough and anchor examples need to be added.

    5. Common Pitfalls and How to Avoid Them

    First, questions that are too easy. This shows up as accuracy clustered at the high end, with the two models’ answers nearly identical. The fix is to add trap items and multi-constraint questions, and to remove zero-discrimination questions during a pilot run.

    Second, using the evaluated model to author questions and draw conclusions. This turns the evaluation into self-narrative, and the conclusion often takes an unverifiable form such as “the differences hide in the details.” The fix is human-authored questions, human-set standards, with the model only generating candidates.

    Third, treating a “price difference” as a prior for a capability difference. Differences in positioning and cost do not necessarily equal capability differences across all dimensions; the data must speak per dimension.

    Fourth, ignoring variance. Conclusions from a single call are highly unstable; repeated sampling and significance judgment are hard requirements.

    Fifth, subjective questions without anchors. A rubric without sample anchors is nearly incomparable across reviewers.

    6. Result Interpretation: From “It’s a Tie” to Actionable Insight

    When overall accuracy is close, the right path is to drill down into per-dimension and per-item scores: is completeness missing, are process scores low, do hallucination questions show fabrication, are instruction constraints dropped, do code edge cases pass. If the difference mainly shows up in “how detailed the answer is,” then the base capabilities are close and the engineering value depends on output completeness and constraint adherence; if the difference shows up in the reasoning chain, then increase the weight of multi-step questions and run another round.

    The final deliverable should not be a single total score, but a table containing means, variances, per-dimension scores, and failure samples, accompanied by a reproducible evaluation write-up. Only then can “it feels about the same” become an engineering conclusion you can make decisions on, and avoid letting one evaluation degrade into marketing narrative.