Building a Reproducible Multi-Dimensional Evaluation Framework for Large Language Models

    This article explains how to turn large language model evaluation into a small, controlled experiment instead of a one-off impression. It covers defining testable questions, splitting evaluation into six non-overlapping dimensions (reasoning and math, writing, hallucination and honesty, instruction following, coding, and information extraction), fixing prompts and repetition counts, judging objective tasks with scripts and subjective tasks with blind review, and reading results without over-interpreting them. Readers will learn how to set scoring rules and pass thresholds up front, control common biases, and archive raw outputs so results stay reproducible across runs.

    When evaluating large language models, the most common bias is not “too few questions” but treating a single smooth conversation as a capability conclusion. The same prompt yields different answers under different temperatures and different conversation contexts, and writing tasks have no single correct answer. If you score purely on impression, rankings drift with the day’s questions and the reviewers’ mood. A more reliable approach is to treat evaluation as a small experiment: first state the question you want to answer, then fix the materials, the number of repetitions, and the scoring rules, and finally compare only the parts the rules allow you to compare.

    Define What the Evaluation Must Answer First

    Enterprises rarely adopt a model to “beat everything across the board”; they want a few specific task categories to be reliable. Write the question as a testable statement, for example: under a fixed prompt, does the first-pass rate on math and logic problems meet an internal threshold; does long-form writing satisfy structure, factual boundaries, and style at the same time; do extraction results align with annotated fields; does the code pass pre-written checks. Do not treat “feels smarter” as a conclusion.

    The question set represents usage scenarios, not an encyclopedia. Sample each dimension separately, then aggregate and interpret. Merging math errors and writing style into a single total score easily hides weaknesses: a model that is solid at calculation may frequently add paragraphs the user never asked for, and a model with complete extraction may fabricate fields when uncertain.

    How to Split Dimensions Without Cross-Contamination

    Keep at least the following six categories separate, each with its own inputs, expectations, and definition of failure.

    Reasoning and math measure whether the steps are verifiable, not whether the prose flows. Problems should have a definite answer or a decidable constraint, such as the solution of an equation, a counting result, or whether conditions are all met. Short reasoning is allowed, but scoring is based on the final result and key constraints, avoiding “the reasoning is long, so give a high score.”

    Writing measures task completion: genre, audience, length, points that must appear, and content that is forbidden. Style is only a secondary item. If both pieces cover the required points, then compare organization and redundancy. Do not use an unverifiable standard like “does it read like a certain author.”

    Hallucination and honesty measure behavior under uncertainty. Numbers, names, and clauses not present in the material should be marked as unknown or declined, not filled in to look like a complete answer. You can construct three types of questions: “insufficient material,” “the question contains a contradiction,” and “the user asks for a source that does not exist.” The deduction point is an unfounded affirmative statement, not cautious wording.

    Instruction following measures whether constraints are executed: output format, language, number of items, order, and forbidden elements. Even if the content is correct, a format violation should be recorded as a failure or partial pass. In automated pipelines, these errors are often more damaging than “the answer isn’t polished enough.”

    Coding ability should not be judged only on whether it can generate a snippet, but on whether it passes checks prepared in advance: sample inputs and outputs, boundary conditions, and no calls to external resources. The evaluation environment should fix dependencies and the run method, avoiding a reviewer manually deciding it “looks like it runs.”

    Information extraction measures field alignment: whether required fields are missing, whether types are correct, whether multi-values are split, and whether values absent from the source are filled in. Use structured text as the reference answer and compare field by field, rather than fuzzy matching whole passages.

    Scale, Repetition, and Prompt Fixing

    A single call only shows “this time, this result.” To estimate stability, do at least a small number of repetitions. A simple way to account for it: number of questions × number of models × repetitions = total calls. For example, 20 questions, 2 candidates, 2 runs each, is 80 calls. This scale is suitable for internal screening but not enough to claim general capability; its value is exposing variance: when two runs of the same question disagree, you should not report one run’s success as a stable pass.

    Prompts must be versioned. The question text, system constraints, output format, and whether follow-ups are allowed all go into the same specification. “Let me tweak one line of the prompt and retry” can be recorded as a prompt-engineering experiment, but it must not be mixed into the same table as the original setup’s results. Sampling parameters such as temperature and maximum length must also be recorded; if the business side uses default parameters, the evaluation uses the same defaults, and you should not tune parameters separately to boost scores without declaring it.

    Questions should not leak answers to each other. When reusing the same set, avoid writing the reference answer into later prompts, and avoid using the previous round’s model output as material for the next round, unless the task itself is multi-turn.

    Judge Objective Tasks with Code, Subjective Tasks with Blind Review

    Math, logic, code, and structured extraction are suited to automatic checking. The principle is: normalize first, then compare. Numbers should use a unified precision and unit; for set problems, ignore order but check elements; for code, use the exit status of the check script rather than how confident the explanation sounds. Failures should retain the raw output so you can review whether it is a real error or format noise.

    A sample flow can be short:

    Read the reference answer and the model output;
    Strip leading and trailing whitespace, unify punctuation and number formatting;
    If it is a code problem, run the pre-written checks in an isolated environment;
    Record pass, partial pass, or failure, and save any raw text that cannot be parsed.

    Partial pass must be defined in advance. For example, if an extraction question gets four of five fields right, record 0.8, rather than a reviewer deciding on the spot that it is “close enough.” Parse failures (empty output, non-conforming structure) are counted separately and not treated as “content errors,” otherwise format problems are underestimated.

    Writing has no single reference string. You can use two-person blind review: shuffle the candidate identifiers and give reviewers only the task description and the scoring rubric. The rubric should be split into point coverage, factual boundaries, structure, language, and violations, each on a short scale of 0 to 2 or 0 to 3, with one line of justification. When the two reviewers differ by more than one level, re-review rather than picking the score that looks better. Comparative analysis can be assisted by another fixed set of rules, but the assistance must not rewrite the raw output before scoring.

    How to Read Results Without Over-Interpreting

    The report should include at least: the pass rate or mean score per dimension, the agreement rate across repetitions, the parse-failure rate, and typical failure samples. When the agreement rate is low, the mean means little; first check for prompt ambiguity or sampling variance.

    Do not compress the six dimensions into a single total score with no stated weighting. If the business cares more about extraction going into a production database, extraction and honesty should carry more weight than style. Write the weights down before the experiment starts, to avoid adjusting them after seeing the results.

    With a small sample, one or two questions can change the ranking. Phrase conclusions as “on these 20 internal questions” and attach the distribution of question types. Extrapolating to uncovered industries, languages, or tool-calling scenarios requires a new question set, not multiplying the old score by a coefficient.

    Other common biases include: questions drawn from public material the model has seen before, so memory masquerades as reasoning; reviewers knowing the candidate’s identity, so writing scores are pulled by brand impression; and keeping only successful samples for display. Mitigations are to build or rewrite questions yourself, use blind review, and publish the proportion of failure types.

    A Minimal Checklist for Implementation

    Before starting, write a one-page experiment brief: purpose, dimensions, question sources, number of repetitions, parameters, scoring rules, and what result counts as meeting the threshold. During the run, freeze the prompts and check scripts. Afterward, archive the raw outputs, scores, and disagreement records so others can recompute under the same rules, rather than leaving only a conclusion paragraph.

    Set thresholds by scenario. For example, internal Q&A can tolerate style differences but not unfounded numbers; batch extraction requires field-level accuracy and a parseable rate; assisted coding requires passing checks, not just a draft with complete comments. When a threshold is not met, first adjust task boundaries, prompts, and human-review points, rather than ending the evaluation with “the model is good enough.”

    This method cannot replace online monitoring. After launch, keep sampling real requests for refusals, format breakage, and factual errors, and add new failures to the next question set. The goal of evaluation is not to manufacture an eternal ranking, but to ensure that each time you swap candidates, the team knows what it tested, what it did not test, and whether the results still hold up across repeated runs.