Evaluating LLM Capabilities Across Induction, Reasoning, and Computation: A Distribution- and Cost-Aware Framework
This article explains why single best-score evaluations can mislead model selection, proposes splitting evaluation into induction, long-chain reasoning, and basic computation tasks, and recommends using distribution-based metrics, consecutive pass rates, and token-cost analysis. It also provides a reproducible evaluation framework and practical guidance for matching models to production scenarios.
Why Capability Evaluation Needs a Rethink
For a long time, model capability evaluations have often used the highest score from a single test as the conclusion. This approach has two risks.
First, the same question can produce very different results under different sampling runs. A single perfect score does not mean the model will answer correctly every time; randomness can hide true reliability.
Second, scores do not reflect resource consumption. A model may score slightly higher, but if its inference overhead is several times that of another model, it may not be suitable for production.
Engineering teams selecting models therefore need to observe three types of metrics together: accuracy, stability, and cost. Looking only at rankings can easily lead to decisions that do not match business requirements.
Capability Breakdown: Induction, Long-Chain Reasoning, and Basic Computation
Evaluation tasks can be split by capability type. Different task types expose different problems, so questions need to be designed separately.
Induction and Insight
Induction tasks require the model to read long text and extract patterns from scattered clues. These tasks place high demands on context integration, because key information is often distributed across different paragraphs and connected by subtle relationships.
When designing such items, ensure the answer cannot be obtained through keyword matching alone; the model must make a judgment based on the full text. Evaluation should record whether the model consistently reaches the correct conclusion across multiple attempts, rather than looking at only one result.
Long-Chain Reasoning
Long-chain reasoning refers to maintaining consistency of intermediate conclusions across multi-step derivation. The more steps involved, the higher the probability that any intermediate step will fail, and a single error often invalidates the final answer.
A typical pattern for these tasks is that some samples receive full scores, but the overall median score is low. In other words, the model’s upper bound may be high, while its lower bound is unstable. If an evaluation report gives only the highest score, it hides this downside risk.
Basic Computation
Conventional calculation questions test determinism. For the same calculation problem, an ideal model should produce the same correct result across multiple runs.
If a model occasionally makes errors on basic computation, its outputs lack reliability. In scenarios such as financial accounting, engineering parameter calculation, and data processing, the cost of such occasional errors is high, so calculation tasks should have a high pass standard.
From Single-Point Scores to Distributions
Evaluation reports should include the following statistics:
- Median: reflects typical performance and is not affected by individual extreme samples.
- Minimum score: reflects the worst case and is used to assess downside risk.
- Consecutive pass rate: for example, requiring three consecutive correct samples to count as a pass, used to measure stability.
- Standard deviation: reflects the magnitude of result fluctuation; the larger the fluctuation, the less trustworthy a single result becomes.
Take an induction task as an example. Suppose a model answers correctly in one run and fails in the other two. Its single-run accuracy appears to be one-third, but its consecutive pass rate is zero. In production, users encounter exactly the failure results from the latter two runs. Consecutive pass rate is closer to the real user experience than single-run accuracy, making it more suitable as a basis for model selection.
Cost Dimension: Incorporating Token Consumption
Inference cost is usually directly related to output length. Long-chain reasoning generates a large amount of intermediate text, causing token consumption to rise noticeably.
During evaluation, record the input tokens, output tokens, and response latency for each question, and calculate the cost per correct answer, that is, total cost divided by the number of passed questions.
This metric reveals a common misconception. A model’s average per-question cost may be higher, but if it has a higher pass rate on difficult questions, the actual cost per correct answer may be lower. Conversely, a model that is cheaper per question may exceed expected total cost if many questions require retries.
Trade-offs in Model Selection
Different businesses have very different capability requirements, so evaluation conclusions need to match the scenario.
- High-determinism scenarios, such as data validation and report calculation, should prioritize the stability of basic computation and set consecutive pass rate as a hard threshold.
- Complex analysis scenarios, such as solution design, code review, and document summarization, should focus on the median of induction and long-chain reasoning rather than the highest score.
- Low-latency online services need to limit output length and accept some degree of capability loss; in this case, evaluate the effect of truncation.
- Batch offline tasks are insensitive to response time and can accept a higher per-question cost in exchange for a higher pass rate.
No single model dominates across all dimensions. A more practical approach is to allocate models by task type and set fallback strategies for critical tasks, such as switching to a backup model when the primary model fails or times out.
Reproducible Evaluation Framework Example
The following code shows how to sample the same question multiple times and aggregate the statistical results. The model call function is injected by the caller, so the framework can connect to any model service that follows the interface contract.
import statisticsfrom typing import Callable, Dict, List, TupleModelCall = Callable[[str], Tuple[str, int]] # Returns (output text, token count)def evaluate_item(call_model: ModelCall,prompt: str,grade: Callable[[str], float],trials: int = 3,) -> Dict:"""Sample a single question multiple times and return statistics."""scores: List[float] = []token_counts: List[int] = []for _ in range(trials):output, tokens = call_model(prompt)scores.append(grade(output))token_counts.append(tokens)return {"median": statistics.median(scores),"min": min(scores),"stable_pass": all(s >= 1.0 for s in scores),"avg_tokens": sum(token_counts) / len(token_counts),}def evaluate_suite(call_model: ModelCall,items: List[Dict],grade_fn: Callable[[Dict, str], float],trials: int = 3,) -> Dict:"""Evaluate an entire item bank and calculate cost per correct answer."""results = []for item in items:# Bind the current item through a default argument to avoid the closure# referencing the same variable across loop iterations.grader = lambda out, it=item: grade_fn(it, out)results.append(evaluate_item(call_model, item["prompt"], grader, trials))passed = sum(1 for r in results if r["stable_pass"])total_tokens = sum(r["avg_tokens"] for r in results)cost_per_pass = total_tokens / passed if passed else float("inf")return {"items": results, "passed": passed, "cost_per_pass": cost_per_pass}
When using this framework, note the following points.
- Fix the grading rules. The grading function should be decoupled from the answer and should use automatically determinable criteria as much as possible to reduce subjective human judgment.
- Record sampling parameters. Parameters such as temperature and maximum output length affect results, and they should be noted in the report to ensure reproducibility.
- Save raw outputs. Keep the full text of each run for later review of error types, so you can distinguish reasoning-chain breaks, calculation mistakes, and formatting issues.
- Update the item bank regularly. If questions remain public for a long time, they may enter training data and inflate scores, so the item bank needs periodic replacement or expansion.
Implementation Recommendations
- Build an internal item bank covering induction, long-chain reasoning, and basic computation, with a balanced number of questions in each category.
- Run each candidate model at least three times, and report the median, minimum score, and consecutive pass rate rather than only the highest score.
- Track token consumption at the same time, calculate cost per correct answer, and compare it with quality metrics in the same table.
- Set capability thresholds according to business fault tolerance. For example, calculation tasks may require a consecutive pass rate close to full marks before costs are compared above that threshold.
- Model versions iterate quickly, so evaluation conclusions are time-sensitive. Retest regularly and compare results before and after key milestones.
