Systematically Evaluating the Practical Capabilities of Large Language Models
Evaluating Large Language Models (LLMs) based on casual impressions often leads to inaccurate conclusions. This article introduces a systematic framework for assessing the practical capabilities of LLMs. It covers breaking down evaluation dimensions, building a reproducible test set, designing metrics, avoiding common pitfalls, handling high-risk domains, and translating evaluation results into effective usage strategies.
1. Why Systematic Evaluation is Necessary
Single-use experiences are easily influenced by prompt writing styles, task difficulty, and personal expectations. The same model might perform well when facing clearly structured requirements but degrade significantly when dealing with open-ended questions with ambiguous goals. Drawing conclusions based on a few impressions often deviates from the model’s true capabilities.
The starting point of evaluation should be clear: Can the model complete a specific type of task? How much manual intervention is required during completion? How does it perform when it fails? Answering these three questions separately leads to conclusions that can guide decision-making.
2. Breaking Down Evaluation Dimensions
Asking broadly “Is this model good?” has no practical meaning. A more effective approach is to break down capabilities into several dimensions and examine them individually.
- Task Completion: Given clear requirements, can the model produce directly usable results in a single attempt? This dimension measures execution capability.
- Requirement Understanding: Can the model identify unstated constraints in the requirements, such as boundary conditions, performance requirements, or compatibility limitations? This dimension measures the grasp of objectives.
- Iteration Cost: How many rounds of correction are needed to achieve a usable result, and how much time and tokens are consumed per round? Even if the final result is acceptable, excessive correction rounds reduce its practical value.
- Domain Accuracy: Are the professional terminology, factual statements, and derivation processes reliable? In fields like mathematics, finance, and law, fluent expression does not equate to correct content.
- Structure and Expression: Is the logic of long texts coherent? Does the narrative meet genre requirements? Is the style consistent from beginning to end? Writing tasks rely heavily on this dimension.
- Stability: When running the same task multiple times, what is the range of fluctuation in result quality? Models with high volatility are difficult to confidently embed into automated workflows.
These six dimensions do not need to be measured all at once every time. Selecting two to three core dimensions based on the use case, supplemented by observations of other dimensions, is more efficient.
3. Building a Reproducible Test Set
The test set is the foundation of evaluation. It should meet three conditions: tasks should come from real work, difficulty should be graded, and acceptance criteria should be executable.
3.1 Task Selection
Collect real tasks from daily work rather than artificially designed tricky problems. For example, programming tasks can include function implementation, API debugging, and code refactoring; writing tasks can include outline drafting, paragraph polishing, and plot sorting. Each type of task should cover at least three difficulty levels: simple, medium, and complex, to prevent the test set from containing only easy or only difficult samples.
3.2 Acceptance Criteria
Each task should be accompanied by explicit acceptance items. The more specific the acceptance items, the more reliable the evaluation results. Taking code generation as an example, it can be written as “the function returns correct results on the given five sets of inputs,” rather than “good code quality.” For content that cannot be automatically judged, such as the narrative pace of an article, scoring rubrics must be prepared in advance, and the same reviewer or multiple reviewers should score according to the same standard.
3.3 Recording Method
Each test needs to save the input prompt, model output, correction rounds, time consumed, and token usage. Saving only the final result loses a lot of information and makes it impossible to analyze where the model deviated. Below is an illustrative code snippet for recording the execution process of a single task. The actual implementation can be adjusted based on the team’s toolchain:
from dataclasses import dataclass@dataclassclass EvalCase:task_id: strprompt: strchecks: list # Acceptance criteria itemsmax_rounds: int = 3 # Maximum allowed correction rounds@dataclassclass EvalRecord:task_id: strpassed_first_try: boolrounds_used: inttokens_used: intnotes: str = ""def run_case(case, model_call, judge):history = []tokens = 0reason = ""for round_idx in range(1, case.max_rounds + 1):output, used = model_call(case.prompt, history)tokens += usedhistory.append(output)passed, reason = judge(output, case.checks)if passed:return EvalRecord(case.task_id, round_idx == 1, round_idx, tokens)return EvalRecord(case.task_id, False, case.max_rounds, tokens, notes=reason)
Here, model_call is responsible for calling the model and returning the output and token usage, while judge is responsible for determining the result based on the acceptance criteria. Passing the correction history back to the model can simulate a real multi-round collaboration process.
4. Metric Design
With complete records, summary metrics can be calculated. Common metrics are as follows:
- First-pass rate: The number of tasks where the first-round output meets all acceptance criteria, divided by the total number of tasks. It reflects the model’s direct execution capability for clear requirements.
- Average correction rounds: The average number of rounds before all tasks meet the standard. The higher this value, the greater the manual guidance cost.
- Average token consumption per task: Measures economic cost. For usage-based billing scenarios, this metric directly impacts the budget.
- Manual intervention duration: The cumulative time spent manually writing prompts, checking outputs, and making modifications from raising the requirement to obtaining a usable result. This metric is often overlooked, but it is usually the key factor determining the willingness to use it.
Metrics need to be viewed together. A high first-pass rate but also high manual intervention duration indicates that the model requires a lot of additional explanation in certain areas; a low pass rate but few correction rounds may mean that failure cases are easily identified and fixed.
5. Common Pitfalls
Looking only at success cases. What is showcased most often are the segments where the model performs best. During evaluation, failure samples should be counted, and the types of failures should be recorded, such as understanding deviations, factual errors, missed boundary conditions, or formatting non-compliance.
Overly detailed prompts. If the steps are broken down extremely meticulously every time, the measured capability is closer to the “ability to follow instructions” rather than the ability to understand requirements. It is recommended to retain a set of tests with short instructions to observe the model’s performance when information is incomplete.
Neglecting independent verification. Code outputs should run test cases rather than just looking at whether the code “looks reasonable.” Mathematical derivations should be checked step-by-step to verify whether each referenced definition and theorem exists and whether conditions are met. Fluent language can easily mask logical flaws.
Confusing “execution” with “problem discovery”. A model might be very good at completing tasks as required but will not proactively point out contradictions or omissions in the requirements. These two capabilities need to be tested separately. The former determines execution efficiency, while the latter determines whether the workload of manually sorting out requirements can be reduced.
6. Principles for High-Risk Domains
In fields such as finance, healthcare, and law, errors in model outputs can directly cause economic or legal consequences. Evaluation in such scenarios requires stricter rules:
- All key conclusions must be reviewed by personnel with professional qualifications. The model only plays the role of drafting or assisting analysis.
- Data, clauses, and literature cited by the model need to be verified one by one and cannot be directly trusted.
- Add cases with known answers to the test set to regularly check whether the model can still give correct conclusions, preventing capability degradation caused by version updates from being ignored.
7. Translating Evaluation Results into Usage Strategies
The value of evaluation lies in guiding actual decisions. Based on the results, the following strategies can be formulated:
- Task layering: Repetitive tasks with a high first-pass rate and low correction cost are assigned to the model; tasks requiring deep judgment or bearing high-risk consequences retain human dominance, with the model only assisting.
- Setting exit conditions: If there is no substantial progress after two or three consecutive rounds of correction, iteration should be stopped and handed over to manual processing. Ineffective repeated modifications will continuously consume tokens and time, and usually will not bring quality improvements.
- Regular retesting: After a model version update, rerun the same test set to compare changes in various metrics. Do not assume that the new version is superior to the old version in all tasks.
- Documenting boundaries: Organize the types of tasks where the model performs well and poorly to form an internal reference document. New members can use this to quickly determine which scenarios are suitable for using the model.
8. Conclusion
The essence of systematic evaluation is to replace impression-based judgments with repeatable methods. By breaking down dimensions, building a test set, unifying metrics, and recording processes, a team can clearly know on which tasks the model is reliable and how much manual cost needs to be invested for certain tasks. Such conclusions can support tool selection, help control usage budgets, and provide a basis for subsequent process design.
