LLM Evaluation: Avoiding Misleading Results and Building Trustworthy Conclusions

    Reliable LLM evaluation requires more than comparing accuracy scores on a small test set. This article explains how to define business-specific acceptance criteria, design discriminating tasks, validate scoring methods, control experimental conditions, interpret uncertainty, and measure the cost of usable results. It provides a practical workflow for drawing conclusions that support engineering decisions without overstating the evidence.

    1. Similar Scores Do Not Mean Equal Capabilities

    A common mistake in evaluating large language models is to prepare a set of questions, have different models answer them, and rank their capabilities by accuracy.

    This approach can serve as an initial screening tool, but it cannot support broad conclusions on its own. Results also depend on task difficulty, prompt structure, execution environment, scoring criteria, and sample size. If the questions are too easy, models with substantially different capabilities may receive nearly identical scores.

    The evaluation exercise discussed here used 20 questions, two model configurations, and two runs per configuration, producing 80 calls. It covered mathematical reasoning, Chinese-language writing, factual reliability, instruction following, coding, and information extraction. The design included task categories, repeated testing, and automated validation, but it had an important limitation: the number of calls was not the number of independent test items.

    Repeating a question helps reveal output variability. It does not automatically broaden task coverage. Those 80 calls still rested on just 20 questions spread across several dimensions. Such an experiment is better suited to identifying obvious problems and checking the evaluation workflow than to establishing an overall model ranking.

    Trustworthy evaluation starts not with more calls, but with a clear definition of the target capability and evidence that the tasks actually measure it.

    2. Replace Overall Rankings with Business Questions

    “Which model is stronger?” is too broad to guide most development decisions. More useful questions include:

    • Can it consistently produce structured results that satisfy the required constraints?
    • Does it identify missing information when the input is insufficient?
    • Can it connect information across sections of a long document?
    • Can it generate code that passes boundary tests?
    • Does it reduce the amount of manual editing and review?
    • Once quality requirements are met, are latency and usage costs acceptable?

    Each question calls for a different evaluation design.

    Content production requires attention to factual accuracy, natural expression, structural completeness, and editing effort. Information extraction requires field accuracy, omission rates, and format compliance. Coding assistance requires functional correctness, exception handling, and maintainability. Collapsing these capabilities into a single score can hide critical weaknesses.

    Before testing, write a decision brief that defines the target scenario, minimum quality requirements, error tolerance, and cost constraints. If every critical field in a record must be correct, a high average field accuracy cannot replace strict record-level validation.

    3. Task Design: Discrimination Matters More Than Quantity

    Easy Tasks Can Create a Ceiling Effect

    When most tested systems answer correctly, scores cluster near the top and reveal little about capability differences. This is commonly called a ceiling effect.

    Basic arithmetic, short-text field extraction, common factual questions, and simple function generation are useful checks of basic functionality. They may not distinguish performance on complex tasks.

    A test set should cover several difficulty levels:

    Task level Main purpose Typical design
    Basic tasks Verify basic usability Single-step calculations, extraction of explicitly stated fields
    Combined tasks Test handling of multiple conditions Simultaneous constraints, information synthesis across sections
    Boundary tasks Test robustness Empty inputs, duplicate information, irregular formats
    Difficult tasks Distinguish deeper capabilities Multistep reasoning, conflicting evidence, complex code validation
    Indeterminate tasks Test reliability Missing information, false premises, questions without a unique answer

    Greater difficulty does not automatically make a task better. A well-designed difficult task has a clear objective and an explainable scoring basis. It should not manufacture failure through ambiguous wording, obscure knowledge, or linguistic traps.

    Build Task Families by Varying Conditions

    Building a family of tasks around one capability often makes failures easier to diagnose than adding unrelated questions.

    For information extraction, start with a clear source document and gradually introduce:

    1. Multiple references to the same entity.
    2. Conflicting dates.
    3. An amount that is not explicitly provided.
    4. Irrelevant sections that must be excluded.
    5. Constraints on field order and missing-value handling.

    This reveals the conditions under which the system begins to fail, rather than merely showing that it answered one question incorrectly.

    The same approach works for coding tasks. Test normal inputs first, then add empty inputs, boundary values, duplicate elements, and large datasets. Test scale and constraints should reflect the actual use case, not unrelated requirements introduced solely to create score differences.

    Independently Review Automatically Generated Tasks

    Using a model to generate evaluation tasks can reduce preparation effort. However, automatically generated tasks are not necessarily valid.

    Common problems include tasks that are too easy, incorrect reference answers, multiple questions that test essentially the same capability, incomplete scoring criteria, and wording complexity mistaken for reasoning complexity.

    A more reliable process is:

    Generate candidate tasks → Review task wording manually → Independently verify answers → Run a small pilot → Revise or remove tasks → Freeze the formal test set

    For mathematics, logic, and coding tasks, verify reference answers through independent calculation or execution where possible. For writing tasks, define evaluation dimensions before seeing the responses rather than deciding how to score them afterward.

    4. Objective Scoring: Validate the Validators

    Automated scoring improves efficiency and consistency, but scoring scripts are part of the evaluation system and can contain defects.

    Mathematics and Logic: Define Acceptable Answer Forms

    If a task requires only a final numeric answer, use exact matching or a clearly specified numeric tolerance. Define acceptable answers in advance when units, rounding, or multiple valid solutions are involved.

    If the task also requires reasoning, checking only the final result is insufficient. A correct answer may follow an invalid derivation, while an incorrect answer may result from a calculation error in the final step. Record final-answer correctness and the validity of key reasoning steps separately.

    Coding: Test More Than Normal Inputs

    Code evaluation should check at least:

    • Whether the code runs.
    • Whether it satisfies the functional requirements.
    • Whether it handles important boundary inputs.
    • Whether it has obvious resource-use problems.
    • Whether it violates task constraints.

    Hidden tests can reduce the risk of solutions hard-coded to the visible examples, but the tests must still cover real requirements. Passing a test suite shows that the code satisfies the conditions checked; it does not establish that the code has no defects.

    Run generated code in an isolated environment with limits on execution time, resource consumption, and external access so that testing does not affect other systems.

    Information Extraction: Separate Format and Content Errors

    Structured output has at least two layers of correctness:

    Format compliance: Are all required fields present? Are their types correct? Can downstream software parse the output?

    Semantic accuracy: Are field values supported by the source? Is important information missing? Has an inference been presented as a fact?

    These errors have different remediation costs and should be tracked separately. If records must be ready for direct ingestion, also measure the percentage of entirely correct records rather than relying only on average field-level accuracy.

    5. Subjective Scoring: Turn Preferences into Explicit Criteria

    Writing evaluation is especially vulnerable to stylistic preferences. Longer responses, more headings, and more formal wording do not necessarily indicate higher quality.

    For technical articles, useful evaluation dimensions include:

    • Factual reliability: Does the text contain errors or unsupported claims?
    • Task completion: Does it address the user’s actual question?
    • Logical structure: Do claims, evidence, and conclusions connect coherently?
    • Communication efficiency: Is there repetition, vague language, or unnecessary setup?
    • Constraint adherence: Does it meet length, format, and content requirements?
    • Usability: Can readers use it to take action or make a decision?

    The evaluation exercise noted that automatically generated responses could contain conspicuously formulaic language. However, low readership alone does not prove poor content quality. Exposure, topic selection, publication timing, and audience fit also affect readership.

    To evaluate an “AI-like” writing style, translate that impression into observable measures. Examples include the proportion of repetitive transition phrases, the number of paragraphs that add no information, the balance between abstract judgments and concrete evidence, and the extent of editing required. Such measures make conclusions easier to review.

    Model-Assisted Scoring Is Not Human Review

    When another model performs the scoring, the process is automated assisted evaluation, not human comparison.

    A model-based judge may favor writing styles similar to its own. It may also be influenced by answer order, response length, or confident wording. Hide the identities of the systems being tested, randomize answer order, and require the judge to cite specific evidence for its ratings. Use human review for critical tasks and disputed samples.

    6. Experimental Control: Identical Prompts Are Only a Starting Point

    Using identical prompts reduces some sources of variation, but it does not make all experimental conditions equivalent.

    Also record:

    • Whether each task uses a separate conversation.
    • Whether prior conversation history is present.
    • Whether system instructions are identical.
    • Whether external retrieval or code execution is allowed.
    • Whether the input material is complete.
    • Whether generation settings that affect randomness are consistent.
    • Whether output-length limits are identical.
    • Whether timeouts, retries, or truncation occur.

    When tests run sequentially in the same conversation, earlier content may influence later responses. Independent tasks should generally use separate conversations. To evaluate multi-turn capabilities, design a fixed conversation sequence.

    Randomize execution order where possible to avoid confusing changes over time or service fluctuations with capability differences. Define retry rules before testing; do not give only some systems additional attempts after failures.

    7. Statistical Interpretation: No Clear Difference Does Not Establish Equivalence

    Small-sample experiments can provide useful clues, but their results require careful interpretation.

    When a capability category contains only a few questions, one or two successes or failures can substantially change its score. Two repeated runs reveal some random variation, but usually do not provide a stable estimate of task success rates.

    When comparing configurations on the same test set, prioritize item-by-item results:

    • Which tasks did both configurations pass?
    • Which tasks did both fail?
    • Which tasks did only one pass?
    • Were the differences concentrated in a particular task category?

    Reports should retain the number of test items, the number of runs, and a statement of uncertainty. Where appropriate, use statistical methods suited to paired outcomes or resampling to estimate metric variability. However, statistical techniques cannot compensate for an unrepresentative test set.

    “This test set did not reveal a consistent difference” is a cautious conclusion. “The two systems have identical capabilities” requires much stronger evidence.

    Likewise, a more detailed answer does not necessarily demonstrate deeper reasoning. Response length, completeness of explanation, and reasoning correctness are related but distinct measures.

    8. Cost Evaluation: Measure Usable Results, Not Individual Calls

    Developers and enterprise users usually care less about the lowest per-call cost than about the total cost of obtaining reliable results.

    A simple measure is:

    Cost per usable result = Total cost incurred ÷ Number of results meeting acceptance criteria

    Total cost can include model calls, retries after failures, human review, and corrective rework. Count usable results according to acceptance rules defined before testing.

    A cheaper call is not necessarily more economical if it requires frequent retries or substantial manual editing. Conversely, a configuration that is more reliable on complex tasks may not be the right choice for every simple task.

    Different task difficulty levels can therefore use different processing paths. Low-risk tasks with clear rules can use a lightweight workflow. High-risk or complex tasks may require additional validation, human review, or a larger reasoning budget. These choices should be supported by measurements, not product positioning or marketing labels.

    9. A Practical Six-Step Evaluation Workflow

    Step 1: Define tasks and acceptance criteria.
    Specify which errors are unacceptable, which metrics will support comparison, and which requirements are optional improvements.

    Step 2: Build a representative test set.
    Cover common tasks, difficult tasks, boundary conditions, and inputs that cannot support a definite answer. Verify reference answers.

    Step 3: Freeze experimental conditions.
    Record prompts, context, tool permissions, runtime settings, and retry rules so the results can be reproduced.

    Step 4: Apply layered scoring.
    Prefer automated validation for objective tasks. Use explicit rubrics, blind evaluation, and sampled review for subjective tasks.

    Step 5: Classify errors.
    Distinguish factual errors, logic errors, format errors, missed constraints, inappropriate handling of missing information, and execution failures rather than reporting only one overall score.

    Step 6: Draw bounded conclusions.
    State the applicable task scope, sample limitations, and unresolved questions. Provide an assessment of quality, consistency, latency, and cost.

    10. Conclusion: Evaluation Should Reduce Decision Risk

    High-quality LLM evaluation is not about turning a few dozen calls into a seemingly definitive ranking. It is about building a traceable chain of evidence: tasks map to capabilities, scores map to criteria, results map to use cases, and conclusions respect their limits.

    When easy tasks fail to distinguish capabilities, improve the test set rather than overinterpreting small score differences. When automated scoring lacks independent validation, add review rather than treating generated judgments as facts. When sample sizes are limited, communicate uncertainty rather than declaring an overall winner.

    For developers, the most useful evaluation report answers three questions: Which tasks can be entrusted to the model? Which require additional validation? And what does it cost to meet the business’s quality requirements?

    An evaluation that answers those questions serves engineering practice rather than merely producing a ranking.