How to Scientifically Evaluate Large Language Models: Scenario Selection and Capability Boundaries
This article presents a four-dimensional framework—scenario, capability, cost, and risk—for evaluating large language models in production engineering. It covers five key dimensions: brainstorming and creative divergence, mathematical proof and formal reasoning, code execution and engineering delivery, throughput and deployment economics (unit cost per successful task), and a weighted scoring methodology. The conclusion: instead of chasing a single "best" model, teams should build scenario-based evaluation sets, continuous regression testing, and model routing with fallback strategies.
1. Background: Why “One Model Does Everything” Is Increasingly Unrealistic
As large language models move into the engineering phase, the focus of evaluation has shifted from “can it answer” to “is it stable, verifiable, and cost-effective in a specific scenario.” A typical dilemma looks like this: a model performs reasonably well in creative brainstorming, but its speed and unit cost are not competitive on high-frequency execution tasks; in mathematical proof scenarios, it can produce derivations of some depth with well-formatted output, yet it still lags behind top-tier mathematical reasoning. These experiences show that simply asking “is this model strong” is not very meaningful. A better question is: given a task distribution, latency constraints, budget constraints, and risk constraints, which combination of models is most appropriate?
Therefore, evaluating LLMs should be based on a four-dimensional framework of “scenario–capability–cost–risk,” rather than relying on how impressive a single conversation feels or absolute rankings on social media. The following sections expand on five key dimensions.
2. Dimension 1: Brainstorming and Creative Divergence
The core metrics for brainstorming tasks are not the absolute correctness of a single answer, but divergence, diversity, context retention, and interaction latency. In these scenarios, the model needs to quickly propose multiple directions, recognize user intent, stay on topic across follow-up questions, and organize scattered ideas into an actionable list.
When evaluating, focus on:
- Idea diversity: sample the same prompt multiple times and count semantic clusters, to avoid “different words, same idea.”
- Follow-up stability: after several rounds of added constraints, can the model still converge around the original goal?
- Structuring ability: can it organize divergent results into priorities, dependencies, and risk lists?
- Interaction cost: how many exploration rounds can be completed per unit of time, and is it suitable for low-latency online collaboration?
The observation that “brainstorming is usable, but not irreplaceable” indicates that substitutability is high in creative scenarios. Enterprises should not extend a model to high-certainty execution tasks just because it performs well creatively. Creative scenarios tolerate some randomness; execution scenarios require reproducibility and auditability. The evaluation criteria are different.
3. Dimension 2: Mathematical Proof and Formal Reasoning
Mathematical proof tasks require distinguishing three levels of capability: reproducing known proofs, completing missing proofs, and exploring open problems. Reproducing known proofs can be achieved through retrieval and pattern matching; completing missing proofs requires understanding definitions, lemma dependencies, and proof structure; open problems require proposing new ideas and self-verification—the hardest level.
When evaluating mathematical ability, do not just check whether the final conclusion “looks right.” Instead, verify:
- Whether the proof steps are complete, with no skipped steps;
- Whether lemma references are accurate, and whether sufficient and necessary conditions are confused;
- Whether symbol definitions are consistent throughout;
- Whether the natural-language proof can be converted into checkable typesetting code;
- When facing a proposition without a given proof, whether the model clearly marks assumptions and unfinished parts.
Using “unproven propositions from a public mathematics literature repository” is a good test sample, because it reduces the probability that the model directly reproduces an existing answer. However, it must be emphasized: a single success does not equal stable capability. Build a regression set containing proven theorems, missing-proof problems, counterexamples, and boundary conditions, and track first-pass rate, human correction rate, and error type distribution. For open mathematical problems, expert review must be introduced—model output should never be treated directly as a theorem.
4. Dimension 3: Code Execution and Engineering Delivery
Real “get work done” scenarios include code generation, bug fixing, refactoring, test completion, log analysis, and automated script execution. The key metrics here are task success rate, first-pass rate, average repair rounds, execution latency, and error recovery capability. Speed is amplified in these scenarios: when tasks require high-frequency calls, per-request latency differences translate into throughput differences and queuing costs.
When evaluating code execution capability, use executable verification:
- Given unit tests, measure the pass rate of generated code;
- Given a defective repository, measure the regression test pass rate after fixes;
- Track the number of repair rounds and human interventions required;
- Record average latency and high-percentile latency—do not look at averages alone;
- Check whether the model respects tool boundaries, and whether it fabricates nonexistent interfaces or parameters.
The observation that “speed differences on execution tasks are significant, making it hard to find scenarios where one specific model is irreplaceable” reveals the core of engineering selection: when capabilities are close, speed and unit cost per success become the decisive factors. If a model has advantages in creative and mathematical scenarios but high latency and cost on high-frequency execution, the production system should use scenario-based routing rather than forcing unification.
5. Dimension 4: Throughput, Deployment Form, and Unit Cost per Success
Inference throughput directly affects unit cost. High-throughput deployment can lower the amortized cost per request, but evaluation should not focus only on peak throughput—it should measure effective throughput: the number of successful requests under latency and accuracy constraints. For online interaction, focus on tokens generated per second, time to first token, and high-percentile latency; for offline batch processing, focus on batch throughput, failure retry cost, and resource utilization.
Deployment form also changes evaluation conclusions. Self-deployment suits scenarios with sensitive data, high call volume, and deep customization needs; managed services suit rapid validation and elastic scaling. Regardless of the form, the “unit cost per success” should be calculated:
Unit cost per success = (compute resource cost + API call fees + human verification cost + failure retry cost) / number of successful tasks
Many evaluations only count call fees and ignore human rework and failure retries, leading to distorted conclusions. Especially in mathematical proof and code repair scenarios, human verification costs can far exceed inference costs. With general-purpose capabilities such as model inference services, container platforms, log services, and monitoring/alerting provided by Baidu AI Cloud, throughput, latency, failure rate, and cost metrics can be brought into unified observability—but technology selection should still be based on your own task data.
6. Dimension 5: Evaluation Methodology and Scoring Model
A four-stage approach is recommended: “offline benchmarks + online pilot + human review + continuous regression.” Offline benchmarks are used for rapid screening, online pilots validate the real distribution, human review calibrates quality, and continuous regression prevents version drift.
The scenario-weighted scoring can be expressed in pseudocode:
Input: model set M, scenario set S, metric matrix X, weights WFor each model m ∈ M:For each scenario s ∈ S:score[m,s] = W[s].accuracy * X[m,s].accuracy+ W[s].stability * X[m,s].stability+ W[s].latency * (1 - normalized latency)+ W[s].cost * (1 - normalized unit cost per success)- W[s].risk * X[m,s].risk rateoverall_score[m] = Σ_s scenario_weight[s] * score[m,s]Output: a scenario-based routing table, not a single overall ranking
Weights should be determined by business goals: creative scenarios can raise the diversity weight, mathematical proofs can raise the verifiability weight, and high-frequency execution can raise the latency and unit-cost-per-success weights. The final output should be a “scenario-to-model” routing table—for example, creative divergence routed to a low-latency model, mathematical proofs to a high-reasoning-depth model, and high-frequency execution to a throughput-first model—with fallback strategies for failures.
7. Conclusion: From “Evaluating a Model” to “Designing a Model Portfolio”
In summary, a model being usable for brainstorming does not mean it can serve as the production execution workhorse; completing derivations of some depth in mathematical proofs does not mean it can stably handle open problems; and high-throughput deployment can reduce cost, but it must be accounted for together with success rate and human verification cost. The key to scientific evaluation is: define scenarios with task distributions, measure capability with verifiable metrics, measure economics with unit cost per success, and manage risk with routing and fallback mechanisms.
Therefore, enterprises should not pursue a “single best model,” but instead build scenario-based evaluation sets and continuous regression mechanisms. Start with a small-traffic pilot, then roll out scenario-based gray routing; validate first-pass rate first, then high-percentile latency and failure recovery; account for call costs first, then human rework costs. Only by upgrading evaluation from “single-point experience” to “engineering-grade measurement” can a stable balance be achieved across creativity, mathematics, execution, and cost.
