How to Run a Rigorous Multi-Dimensional LLM Comparison (and the Pitfalls to Avoid)

    A practical guide to comparing large language models beyond casual "vibe checks." It explains how to turn "compare models" into "compare behavior on a fixed task distribution," define a single testable question, build task sets that reflect real workloads, version prompts as experimental conditions, score dimensions separately before weighting, control for budget/version/naming errors, and avoid over-generalizing results. Readers get a minimal reproducibility checklist and a task-routing mindset, so the output of an evaluation is a routing rule and regression set rather than an unreproducible winner-take-all narrative.

    Comparing models often degrades into a hands-on impression post: swap a few prompts, skim a few answers, then declare a winner by feel. For engineering decisions, that approach carries very low information density. Model names iterate quickly and capability boundaries are unstable—on the same day, with the same prompt, different versions can produce opposite impressions. A more reliable approach is to rewrite “compare models” as “compare behavior on a fixed task distribution,” and to state the tasks, constraints, scoring, and failure criteria up front.

    1. Define the question you actually want to answer first

    Before you start, keep a single primary question—for example: under a fixed budget, which class of model is better suited as a code-review assistant; or, in long-document QA, which one fabricates supporting evidence less often. The primary question determines the sample, the metrics, and whether you can stop testing early. If you simultaneously chase “writing, reasoning, tool calling, multimodal, safety refusal” without setting weights, all you get at the end is an unrankable impression score.

    It helps to write the question as a testable statement: given a task set T, prompt template P, decoding parameters D, and scoring rules R, compare a set of models M on a metric vector, and report confidence intervals or at least the observed variance. Put the parts that cannot be quantified (style preference, brand tone) in a separate qualitative-observation section, and do not blend them into the hard metrics.

    2. Tasks should cover the real distribution, not show-off puzzles

    An effective task set usually contains four categories, and each needs a “pass line” rather than only open-ended questions:

    1. Closed-loop tasks: with a ground-truth answer or automatic verification, such as whether unit tests pass, whether JSON conforms to a schema, whether a number falls within tolerance, or whether a citation can be located in the given material.
    2. Constraint tasks: format, length, prohibited items, mandatory steps. Failures are often not “can’t do it” but “won’t follow the constraint.”
    3. Long-context tasks: material with distracting passages, internal contradictions, and outdated clauses embedded in it, testing retrieval and refusal rather than restating the whole text.
    4. Workflow tasks: multi-step planning, interpreting tool results, retrying after failure. Looking only at the final sentence hides intermediate hallucinations.

    For each category, prepare at least three tiers: “simple, boundary, adversarial.” Adversarial does not mean a malicious-attack tutorial; it means the ambiguous instructions, incomplete inputs, conflicting requirements, and oversized pastes that genuinely occur in business. Samples should come from redacted tickets, code-review comments, or internal document fragments; public puzzles can only serve as warm-up and cannot be the basis for conclusions.

    3. Prompts are experimental conditions, not copy

    In a comparison, prompts must be versioned. For the same task, use the same template and replace only the input slots the model cannot see. The template should specify the role, input boundaries, output schema, behavior under uncertainty, and prohibited actions. Do not “add a more obedient prompt” for a particular model midway—otherwise you are comparing prompt engineering, not models.

    In practice, split the prompt into three layers and freeze them:

    • System layer: stable role, safety boundaries, output contract.
    • Task layer: the material and question for this item, with the material wrapped in explicit delimiters to avoid being read together with the instructions.
    • Scoring layer: given only to the human rater or automatic scorer, and never fed back to the model under test.

    Record the decoding parameters as well: temperature, max length, whether thinking or tools are enabled, and retry count. If a model can only produce normal output with different parameters, list that separately in the report as “adaptation cost” rather than quietly tuning it to the best-looking setting. Below is a vendor-neutral task-record structure that only illustrates the fields; it is not the interface of any platform:

    1. task_id: docqa-014
    2. input_hash: <hash of the material and question>
    3. prompt_version: p3.2
    4. decoding: temperature=0, max_tokens=fixed cap
    5. tools: off
    6. rubric_version: r1.4
    7. runs: 3

    Running multiple times is not a waste. When temperature is non-zero or the server has implicit sampling, a single result has no statistical meaning. Closed-loop tasks can be re-run automatically; for open-ended tasks, at least re-run the disputed samples and keep the raw text for review.

    4. Break scoring apart before deciding whether to weight

    Do not let a single “total score” swallow every dimension. Common, actionable dimensions include: correctness, faithfulness to sources, constraint adherence, completeness, conciseness, safety (refuse when you should, don’t refuse when you shouldn’t), latency, and cost per unit of output. Give each dimension behavioral anchors on a 0–2 or 0–4 scale, not vague labels like “good/average.”

    For example, faithfulness can be written as: 2 points means every key assertion maps to a corresponding sentence in the given material; 1 point means the main conclusion is correct but there is supplementary content that cannot be located; 0 points means a key fact conflicts with the material or is fabricated. For code tasks, set “tests pass” as a hard gate, and compare style scores only after that gate.

    Weighting must be registered in advance. If the business cares more about the harm of wrong answers, correctness and faithfulness outweigh prose quality; if the scenario is draft generation, completeness and editability can rank higher. Changing weights after the fact to fit expectations strips the comparison of its audit value.

    Human scoring needs double-blind review: raters cannot see the model’s identity, and if disagreement exceeds one level, a third person arbitrates. Automatic scoring suits format, tests, exact match, and citation location; it is not suited to having another large model assign a “subjective quality score” to open-ended questions and treating that as the sole truth—unless the scorer has been calibrated on a gold set and reports its agreement rate with humans.

    5. Budget, version, and naming are three classes of systematic error

    The cost of a comparison usually comes from long context, multiple sampling, and human review—not the per-conversation sticker price. Set a stopping rule in advance: for example, automatic metrics have stabilized, new samples no longer change the ranking, or the budget cap is reached. Testing only “the ten best-looking questions” systematically overestimates.

    Version error is more fatal than price error. The service name, the UI name, and the actual weights may not match; preview, GA, quantized, with-tools, and without-tools are not the same object under test. The report must state the call date, version identifier, region, and whether caching was used. If you discover the wrong version was used, invalidate the whole batch and re-run, rather than adding a footnote saying “some samples came from another version.” Hard-to-remember names are themselves a risk: use an internal codename plus a version hash in evaluation records, and avoid putting marketing names in conclusion headings.

    Another class of error is prompt leakage and question contamination. If task text has appeared in public discussion or training corpora, a high score may just be memorization. Countermeasures: use non-public business slices, reword the surface phrasing while preserving the logical structure, and insert “trap facts that do not exist in the material” to see whether the model fills in with common sense instead of admitting it doesn’t know.

    6. How to read results without over-generalizing

    A ranking is valid only within the task distribution. Leading on code tests does not mean leading on long-document summarization; being more cautious about refusal does not mean being more useful in conversation. The report should provide:

    • The mean and variance for each dimension, not just the winner.
    • Failure-case clustering: format collapse, ignoring the latter half of the material, over-refusal, misreading tool results, and so on.
    • Adaptation cost: how much the prompt and post-processing must change to reach the same pass rate.
    • A statement of non-applicability: languages not tested, multimodality not tested, high-concurrency latency not tested.

    In engineering practice, the common pattern is not “wholesale replacement with the strongest model” but routing by task: closed-loop, cheap paths go to a smaller model plus a verifier; high-risk, long-material, low-tolerance paths go to a stronger model, gated by citation location or tests. The output of a comparison should be routing rules and a regression set, not an unreproducible win/loss narrative.

    7. A minimal reproducibility checklist

    Freeze before starting: the primary question, the task list with difficulty labels, the prompt version, decoding and tool switches, the scoring rubric, and the budget and stopping conditions. Save during execution: raw outputs, automatic-verification logs, blind-review records, cost, and latency. Publish only afterward: version identifiers, sample composition, per-dimension results, failure types, and explicit generalization boundaries. When material is confidential, publish the method and statistics but not the raw text.

    Following this process, a budget on the order of a thousand yuan or a few days of human effort is spent transparently: the money buys coverage and review, not an emotional conclusion. Models will keep changing names and versions, but the regression set and rubric remain. Next time you only swap the object under test and re-run the same distribution—only then does the comparison accumulate value. If the conclusion cannot answer “on which class of input, at what cost, and where it goes wrong,” it does not yet qualify as a proper comparison.