Evaluating Large Language Models: From Simple Test Sets to Reliable Validation
This article explains why similar benchmark scores do not necessarily mean that large language models have equivalent capabilities. It outlines a practical evaluation framework that starts with clear goals and observable behaviors, then designs layered tasks with real discriminative power. It covers how to test reasoning, honesty, instruction following, code, Chinese writing, and information extraction; how to use automated agents without creating a self-consistent but unreliable loop; how to interpret repeated runs and small score gaps; how to calculate the real cost of accepted results; and how to implement an evaluation process that supports reliable model selection.
1. Similar Scores Do Not Mean There Is No Capability Gap
A common pattern in large language model evaluation is to prepare a set of math problems, writing prompts, and coding tasks, ask different models to answer them, and then find that most answers are correct and the overall scores are very close.
This result often leads to two conclusions: either model capabilities have converged, or high-cost models are unnecessary. But a simple set of tasks usually cannot support either conclusion.
An evaluation first measures how models perform on that specific set of tasks, not their full range of capabilities. If the tasks mainly involve basic arithmetic, common logic puzzles, short text rewriting, and simple function implementation, it is not surprising that multiple models achieve high scores. In this case, the test may have hit a clear ceiling effect: the tasks are not difficult enough, scores saturate too early, and the evaluation cannot distinguish capabilities in complex reasoning, exception handling, or long-horizon task execution.
A rigorous conclusion should therefore be:
Under the current samples, prompt conditions, and scoring rules, no stable difference has been observed.
This is not the same as saying that two models have identical capabilities. A valuable evaluation needs to identify where differences are likely to appear and then design experiments that can verify those differences.
2. Define Evaluation Goals Before Designing Tasks
2.1 Distinguish Research Evaluation from Business Selection
Research-oriented evaluation focuses on capability boundaries, such as complex constraint reasoning, multi-step planning, evidence integration, and expression of uncertainty. Business selection focuses more on whether a model can complete tasks under given cost, latency, and risk constraints.
The two types of evaluation should not use identical task designs.
For a knowledge retrieval assistance scenario, core metrics may include whether answers are supported by evidence, whether citations are accurate, and whether the model clearly states limitations when evidence is insufficient. For software development, core metrics may include functional correctness, interface compatibility, exception handling, and regression risk after modification. For content production, the focus may include factual consistency, structural completeness, language adaptation, and the amount of editorial rework.
If the task definition is unclear, even a large number of scores will be difficult to convert into an actionable selection decision.
2.2 Turn Abstract Capabilities into Observable Behaviors
Statements such as “stronger reasoning,” “more detailed answers,” and “more natural writing” are not sufficiently clear evaluation criteria. They need to be decomposed into verifiable behaviors.
For example:
- Reasoning: Can the model identify necessary conditions, handle exceptions, and avoid missing constraints?
- Honesty: Does the model distinguish known facts, inferences, and information that cannot be determined?
- Instruction following: Does the model meet requirements for format, length, fields, and content boundaries?
- Code capability: Does the model pass tests and correctly handle invalid input and edge cases?
- Writing capability: Does the model preserve key facts, adapt to the target reader, and avoid empty expressions?
- Information extraction: Does the model accurately extract fields and apply specified handling rules for missing or conflicting information?
The closer evaluation metrics are to observable outcomes, the fewer disputes they create and the easier they are to automate.
3. Task Design: Make Tests Actually Discriminative
3.1 Build Layered Difficulty, Not Just More Questions
A practical task bank should contain at least three layers.
The basic layer checks minimum usability, including simple calculations, short text extraction, basic format output, and common code logic.
The composition layer requires handling multiple constraints at the same time, such as extracting information from a long text, calculating a result, and then outputting it in a fixed structure.
The stress layer explores failure boundaries, including conflicting information, missing conditions, multi-step dependencies, complex boundary inputs, and requirements that appear reasonable but cannot actually be completed.
Difficulty should not be created only by making tasks longer. Tasks with real discriminative power often add key constraints to a clear task, forcing the model to correctly handle relationships among conditions.
For example, an ordinary scheduling task may only require assigning staff. A more discriminative version also includes skill coverage, working-hour limits, consecutive-work restrictions, and unavailable time slots. The evaluation should not only check whether the schedule is complete, but also verify whether all hard constraints are satisfied.
3.2 Avoid Mistaking Complex Wording for a Complex Task
Long and ambiguous prompts may mainly test a model’s ability to guess at ambiguity rather than the target capability.
If the goal is to test mathematical reasoning, the objects, conditions, and solution target in the problem should be as clear as possible. If the goal is to test ambiguity handling, the model should be allowed to ask clarifying questions, and the evaluation should specify in advance how such behavior is scored.
Otherwise, a model may be penalized for reasonably requesting additional conditions, and the evaluation may reward blind guessing.
3.3 Validate the Tasks Themselves
Models can help generate candidate tasks, but generated results cannot be treated directly as a qualified task bank. Common problems include:
- The reference answer itself is wrong.
- The task has multiple reasonable answers.
- The conditions are insufficient for a unique solution.
- Test cases cover only the normal path.
- Subjective scoring criteria are too broad.
- Difficulty judgments are inaccurate.
Before formal runs, task quality should be confirmed through manual review, independent solving, or programmatic verification. For objective tasks, reliable scorers should be built first. For open-ended tasks, at least prepare scoring points, typical errors, and dispute-handling rules.
A portion of test items should also be held out and not used to modify prompts, preventing the evaluation process from gradually optimizing for known items without transferring to new tasks.
4. How to Test Six Core Capability Areas
4.1 Reasoning and Mathematics: Verify Constraints, Not Just Final Numbers
Final answers to math problems are easy to score, but the same answer may come from correct derivation or from a lucky guess.
In practice, evaluation can check both the result and the necessary verifiable evidence. For example, the model can be asked to provide the formulas used, key intermediate results, or an explanation of constraint satisfaction, rather than a long reasoning process.
For combinatorial optimization tasks, an independent program should check whether the solution satisfies all hard constraints. If multiple correct solutions are allowed, the answer should not be mechanically compared with one fixed text.
For open-ended estimation, evaluate separately whether assumptions are reasonable, units are consistent, and the error range is clearly stated.
4.2 Hallucination and Honesty: Check When the Model Should Not Answer
Honesty tests should not be limited to asking about an obscure fact. More effective designs include:
- Providing a nonexistent reference or feature name and observing whether the model fabricates an explanation.
- Deliberately omitting key data from materials and observing whether the model fills it in without justification.
- Providing contradictory evidence and observing whether the model points out the conflict.
- Asking for time-sensitive information and observing whether the model states verification limitations.
- Asking a question based on a false premise and observing whether the model corrects the premise first.
Evaluation should distinguish three behaviors: evidence-based answers, inferences with clearly stated conditions, and unsupported assertions.
However, “I don’t know” cannot become a universal high-scoring answer. While refusing to guess, the model should explain what information is missing, what can be confirmed, and how to verify it next. Otherwise, excessive conservatism may simply hide capability gaps.
4.3 Instruction Following: Turn Rules into Machine-Checkable Conditions
Format tasks are suitable for automated scoring, but the rules must be written clearly.
For example, the model may be required to output fixed fields, use a specified hierarchy, avoid extra explanations, and define how missing values should be expressed. The scorer checks whether the structure is valid, whether required fields are present, whether field types are correct, and whether prohibited content appears.
Conflict scenarios should also be included to observe whether the model can identify requirements that cannot be satisfied at the same time. For such tasks, the correct behavior may be to explain the conflict rather than force a seemingly compliant result.
Instruction-following evaluation should ideally report content correctness and format correctness separately. An answer that is structurally compliant but factually wrong cannot be considered a successful task completion.
4.4 Code: From Runnable to Maintainable and Integrable
If a coding task verifies only one example input, it can easily overestimate model capability. A complete test should cover at least normal input, boundary input, invalid input, and changes in scale.
For example, an interval-merging function needs to consider empty sets, duplicate intervals, containment relationships, input order, and invalid endpoints. The task should also specify whether touching endpoints count as overlap, avoiding treating specification ambiguity as a model error.
In addition, real development tasks usually do not involve writing an isolated function from scratch; they involve modifying functionality in existing code. The following requirements can therefore be added:
- Keep existing interfaces unchanged.
- Fix defects without breaking existing behavior.
- Add necessary tests.
- Explain the scope of modifications.
- Avoid introducing unnecessary dependencies.
- Handle resource consumption and security risks reasonably.
Code validation should run in an isolated environment with limits on execution time, file access scope, and resource usage. The fact that code is used for evaluation does not justify ignoring the risk of automatically executing untrusted content.
4.5 Chinese Writing: Evaluate Task Completion, Not Style Preference
Chinese writing scoring is easily influenced by length, tone, and formatting. Longer answers may look more professional, but they may also simply repeat more content.
It is recommended to split scoring into factual accuracy, information coverage, structure and organization, reader adaptation, and language quality. When necessary, set hard deductions for issues such as adding data not provided in the source, omitting key constraints, or departing from the writing purpose.
Subjective comparisons should use blind evaluation where possible: hide the model source, randomize answer order, have reviewers score independently against unified criteria first, and then discuss disagreements.
If model-assisted scoring is used, treat it as auxiliary input rather than a final judge. Particular care is needed to guard against preferences for long answers, specific writing styles, and influence from instruction-like content inside the evaluated text.
4.6 Information Extraction: Watch for Hidden Errors in “Complete-Looking” Outputs
Information extraction can create the impression that the task is simple and the results are reliable, but risks often hide in details.
For example, a model may treat an expected date in a contract as the actual date, treat a tax-inclusive amount as tax-exclusive, or misinterpret a negative statement as a positive fact.
Test materials should cover missing fields, multiple candidate values, unit differences, cross-paragraph references, and revisions before and after. Scoring should not only check whether fields are filled, but also whether each value is supported by the material.
In high-risk scenarios, the model can be required to return the source location for each value to support later human review. For fields that cannot be determined, explicitly returning a missing or conflicting status is often more reliable than forcing completion.
5. Automated Evaluation: Let Agents Execute Workflows, Not Own Judgments
Automated agents are suitable for repetitive work, including distributing tasks, collecting outputs, running checks, organizing errors, and generating statistical reports. However, if task design, answer generation, and final scoring are all delegated to the same model, the evaluation may form a self-consistent but unreliable loop.
A more reliable process is:
Task definition -> task bank review -> unified calls -> independent validation -> dispute review -> statistical report.
Each stage should be decoupled as much as possible. Models can participate in task generation, but reference answers must be independently validated. Models can analyze errors, but objective tasks cannot be scored only by their impressions. Models can write reports, but conclusions in the report must be traceable to original records.
For each call, it is recommended to retain the following information:
- Task ID and version.
- Full prompt and necessary context.
- Actual available generation configuration.
- Raw response.
- Call latency and failure status.
- Automatic scoring result.
- Human review comments.
Formal evaluation should also avoid sharing unnecessary conversation history across different tests to reduce context contamination. When comparing different configurations, specify which conditions were kept consistent and which changed; otherwise, the results are difficult to interpret.
6. Repeated Calls and Statistics: Interpret Small Score Gaps Carefully
Suppose there are 20 tasks, two models to evaluate, and each task is repeated twice, for a total of 80 calls. This can serve as a small-scale pilot, but it is not enough to cover a broad range of capabilities, nor does it mean there are 80 independent task samples.
Repeated answers to the same task mainly help observe output variance; adding different tasks expands task coverage. The two should not be confused.
When reporting results, at least show the following separately:
- Accuracy or compliance rate by dimension.
- Success rate of repeated runs on the same task.
- Number of severe errors.
- Call failure rate.
- Latency distribution.
- Human revision requirements.
If the overall scores differ by only a small amount, first check where the difference comes from: is it a consistent advantage across multiple tasks, or a change caused by one or two subjective items? Did different reviewers reach similar judgments? Does the advantage remain after switching to an equivalent set of tasks?
With small samples, it is inappropriate to present tiny differences as a stable ranking. A better approach is to report uncertainty, add samples for disputed tasks, and recheck with new test items.
7. From Scores to Selection: Calculate the Real Cost of Completing Tasks
Model selection should not compare only average scores, nor only per-call cost.
A cheaper option that frequently requires retries, additional prompting, and human revision may ultimately be more expensive. A stronger option may also create unnecessary cost if it is mainly used for simple tasks.
The following conceptual framework can be used:
Cost per accepted result = (total call cost + validation cost + human revision cost + failure handling cost) / number of accepted results.
This formula helps organize cost components, but it cannot cover all business losses. For high-risk tasks such as healthcare, legal, and financial work, severe errors may have consequences far beyond call costs, so separate risk thresholds and human review requirements should be established.
In practice, tasks can be routed by complexity: clear, low-risk, easily verifiable tasks can use lower-cost configurations; complex, multi-constraint, or high-risk tasks can use stronger configurations with additional validation steps. However, the routing rules themselves also need testing and should not judge difficulty based only on input length.
8. Practical Steps for Implementing an Evaluation
Step 1: Select real business tasks and clearly define success criteria, failure types, and unacceptable errors.
Step 2: Build a task bank covering basic, composition, and stress scenarios, and keep an independent held-out test portion.
Step 3: Build scorers for objective tasks, define rubrics for subjective tasks, and establish human review mechanisms for high-risk tasks.
Step 4: Run a pilot with a small number of tasks to check whether tasks are too easy, whether answers are ambiguous, and whether automatic scoring is reliable.
Step 5: Freeze formal test conditions, make unified calls, and save raw records to avoid arbitrary rule changes during testing.
Step 6: Analyze results by dimension to locate capability differences and failure modes rather than outputting only a total score.
Step 7: Use the conclusions in a small-scale business validation, check whether offline evaluation performance transfers to real tasks, and then decide whether to expand usage.
Conclusion
Reliable large language model evaluation is not about letting a model provide a plausible-sounding conclusion. It is about building a checkable chain of evidence.
Tasks must be able to distinguish capabilities, rules must be reproducible, validation should be as independent as possible, statistics must acknowledge uncertainty, and selection must return to real tasks. Only by connecting these stages can developers determine whether a capability advantage is real, whether it is stable, and whether it is worth the additional cost for their business.
