Evaluating LLMs: A Scientific Approach to Performance and Application Value

    Evaluating large language models (LLMs) requires moving beyond subjective tags like "stable" or "creative" to a structured assessment of task completion capabilities. This article explores how to scientifically evaluate LLMs across general capabilities, coding, writing, multimodal processing, and service costs. It provides a six-step reproducible evaluation process and outlines enterprise deployment strategies to mitigate model limitations. Ultimately, the goal is to establish a system that continuously delivers verifiable, task-specific value rather than simply seeking the strongest model.

    I. Evaluating LLMs: From “Who is Stronger” to “What Capability for What Task”

    When discussing LLMs, people tend to use labels like “stable,” “creative,” or “good at coding.” While these descriptions convey user experience, they are insufficient for technical selection. A single impressive response does not mean the model can consistently complete similar tasks; a failure might stem from insufficient input, improper tool configuration, or unclear task boundaries.

    A more reasonable evaluation target is not an abstract “model intelligence,” but the ability to complete tasks under specific conditions:

    Under clear inputs, constraints, tool permissions, and resource budgets, can the system consistently produce correct, usable, and verifiable results?

    Here, we must distinguish between three layers:

    • Model Layer: The ability to understand, reason, generate, and process different modalities of input.
    • Application Layer: The workflow composed of retrieval, file parsing, tool calling, and session management.
    • Service Layer: Availability, latency, access limits, costs, data governance, and operations support.

    Conflating these three layers leads to distorted evaluations. For example, a response containing the latest information might come from a retrieval tool rather than the model itself possessing up-to-date knowledge; successful code execution might benefit from an external execution environment and feedback correction rather than a flawless first-generation output.

    Therefore, a comprehensive evaluation should record the full configuration, not just the model name or a snippet of the response.

    II. General Capabilities: True “Stability” Means Predictable Results

    Stability does not mean consistently mild answers or uniformly formatted outputs. Rather, it means the system can maintain relatively consistent quality across tasks of varying difficulty and expression.

    1. Accuracy and Factual Boundaries

    Knowledge Q&A should focus on whether facts are correct, whether conclusions are supported by materials, and whether limitations are explicitly stated when information is insufficient.

    Pay special attention to a common issue: models using fluent, comprehensive expressions to mask a lack of evidence. The more formal a text reads, the more likely readers are to mistake speculation for fact.

    For tasks with reference materials, it is recommended to simultaneously evaluate:

    • Whether key facts from the materials are accurately cited;
    • Whether important conditions that would change the conclusion are omitted;
    • Whether content unsupported by the materials is added;
    • Whether facts, inferences, and suggestions are correctly distinguished.

    Note that a model self-reporting “high confidence” does not equate to a reliable probability estimate. Actual credibility should still be judged through external evidence and test results.

    2. Instruction Following and Constraint Consistency

    Developers and enterprise users often require strict output constraints, such as complete fields, length limits, unified terminology, and the prohibition of specific information. In these cases, “generally correct content” may still fail.

    Evaluation should break down constraints into checkable items rather than scoring based on reading impressions. For example, if a report requires risks, basis, and action items, check whether these three parts exist and are substantively complete.

    Programmatically checkable requirements can be automatically verified; semantic requirements require human or calibrated assisted review.

    3. Multi-turn Interaction Consistency

    Excellent single-turn responses do not guarantee reliable long conversations. In multi-turn tasks, check whether the model retains key conditions, correctly applies subsequent user modifications to the results, and avoids contradictions.

    Progressive testing can be adopted: first give basic requirements, then add constraints, and finally request local modifications. Observe whether the model only modifies the relevant parts without breaking previously confirmed requirements.

    III. Coding Capabilities: From “Generating Code” to “Completing Engineering Tasks”

    Code length, explanation detail, and terminology volume do not directly represent engineering capability. Truly valuable coding assistance must revolve around runnability, maintainability, and change risk.

    1. Requirement Understanding Precedes Code Generation

    Engineering tasks are rarely as simple as “implement a sorting function”; they include existing interfaces, data structures, dependency constraints, and business rules.

    An excellent handling process should include:

    1. Identifying unclear conditions in the requirements;
    2. Determining which modules are affected by the changes;
    3. Maintaining backward compatibility for existing behaviors and interfaces;
    4. Proposing minimal necessary changes;
    5. Providing verification methods and remaining risks.

    If a model directly outputs a large amount of code when requirements are incomplete, it may seem efficient but actually shifts rework costs to the developer.

    2. Correctness Must Be Verified by Running and Testing

    Code evaluation must cover normal inputs, boundary inputs, abnormal inputs, and regression scenarios. You cannot just check if the example runs successfully; you must confirm that modifications do not break existing functionality.

    Specifically check for:

    • References to non-existent interfaces or dependencies;
    • Omitted resource release and error handling;
    • Repeated writes or state inconsistencies;
    • Unnecessary high-complexity operations;
    • Introduced excessive permissions or sensitive information leakage risks.

    For tasks modifying existing code, also check the scope of changes. A solution that solves the problem but incidentally rewrites a lot of unrelated logic often increases review and maintenance burdens.

    3. Explanation Capability ≠ Implementation Capability

    Some responses can clearly describe design principles without actually implementing them. Therefore, “quality of solution explanation” and “code execution result” should be scored separately.

    Explanations are valuable, but they must correspond to implementation: if concurrency control is proposed, the control object and failure conditions should be explained; if a performance issue is identified, the analytical basis should be provided rather than a vague suggestion to “optimize the algorithm.”

    IV. Writing Capabilities: Accuracy, Readability, and Creativity Are Not the Same Metric

    Writing evaluation is easily influenced by personal preference. Some prefer conciseness, some prefer thorough argumentation, and some want a distinct personality in the language. Therefore, a single “good writing style” cannot summarize all tasks.

    1. Technical Writing Emphasizes Information Structure

    Technical articles should focus on whether concepts are defined clearly, prerequisites are complete, conclusions are evidence-based, and readers can take action based on them.

    Common low-quality outputs are not necessarily grammatically incorrect but:

    • Use a lot of generalized language instead of specific analysis;
    • Repeat the same viewpoint in different paragraphs;
    • Introduce advantages without explaining applicable boundaries;
    • Propose suggestions without execution steps and verification methods.

    During evaluation, you can ask the model to generate a summary, an operation guide, and a risk explanation based on the same material to see if it can genuinely adjust its information organization rather than just changing the title.

    2. Creative Writing Emphasizes Differentiated Expression Under Constraints

    Creativity does not mean randomly adding rhetoric or deviating from task requirements. What matters more is whether a consistent and recognizable expression is formed under constraints like character setting, narrative perspective, and language style.

    “Safe but bland” outputs can be improved with clearer audiences, tones, and expression goals. However, overly granular requirements might also compress the model’s expressive space. Therefore, free creation and strongly constrained creation should be tested separately to avoid attributing differences caused by prompt methods entirely to model capability.

    3. Blind Evaluation is More Reliable Than Brand Impression

    Removing source labels from responses and randomizing their order for multiple reviewers to score according to unified standards can reduce bias.

    Review criteria should include factual accuracy, structural integrity, audience fit, and expression quality. For tasks with large preference differences, scoring divergences should also be recorded, not just average scores.

    V. Multimodal Capabilities: Input Processing ≠ Correct Content Understanding

    Multimodal evaluation should revolve around actual tasks, such as reading tables from images, understanding chart trends, locating information in documents, or answering questions combining text and images.

    Several different stages need to be distinguished:

    • Whether the input is successfully parsed;
    • Whether text and visual elements are correctly recognized;
    • Whether the relationships between elements are understood;
    • Whether the final conclusion is accurate.

    For example, a model might read the numbers in a chart but ignore axis units, legends, or statistical calibers. The issue here is not text recognition, but chart comprehension.

    Test materials should include varying clarity, complex layouts, and distracting elements, and answers should be required to note the location of the evidence. For precise values, cross-checking with structured data is best to avoid treating visual estimates as accurate results.

    VI. Service and Cost: Evaluating the Complete Workflow, Not Just the Single-Call Price

    In actual use, experience depends not only on model output but also on wait times, task limits, failed retries, and manual corrections.

    1. Stability Requires Continuous Measurement

    Service evaluation can focus on:

    • Request success rate;
    • Time to first token;
    • Full response time;
    • Latency variation during peak hours;
    • Interruption and recovery of long tasks;
    • Output format anomaly rate.

    Tasks of different lengths and tool configurations should be tallied separately. Average latency might mask a few severe timeouts, so latency distribution and high-percentile latency should also be observed.

    2. Cost Should Be Calculated per “Successfully Completed Task”

    Cheap single calls do not necessarily mean low overall costs. If repeated prompt supplementation, retries, or manual corrections are required, actual expenditures may increase significantly.

    A common formula can be used:

    Cost per successful task = Total cost within the test scope ÷ Number of accepted tasks.

    Total cost includes not only model calls but can also include retrieval, compute, storage, manual review, and integration maintenance. Different solutions must use the same accounting boundaries for a fair comparison.

    Individual users care more about whether usage frequency matches limits; enterprise users also need to evaluate business peaks, permission management, audit requirements, and maintenance investments. The two should not adopt identical selection criteria.

    VII. Establishing a Reproducible Evaluation Process

    A practical evaluation process can be divided into six steps.

    Step 1: Define Tasks and Acceptance Criteria

    List actual tasks first, such as material summarization, code fixing, document extraction, content generation. Each task should have clear passing standards and unacceptable errors.

    When involving money, permissions, personal information, or critical business operations, major errors should be listed separately so they are not offset by other high scores.

    Step 2: Build a Representative Test Set

    The test set should include common, complex, and anomalous tasks, not just samples that easily showcase effects.

    Real business samples require authorization checks and desensitization first. An independent validation set should also be retained to avoid repeatedly adjusting prompts around the same batch of samples, which yields overly optimistic results.

    Step 3: Unify Test Conditions

    Keep task materials, prompts, output budgets, and available tools consistent as much as possible, and record the actual configuration.

    If different solutions must use different tools, model capability tests and end-to-end workflow tests should be reported separately. The former emphasizes fair conditions, the latter emphasizes business delivery effects; their conclusions should not be mixed.

    Step 4: Adopt Multiple Verification Methods

    Automatically checkable results should be verified automatically first, such as structural integrity, test pass rates, and field accuracy.

    Open-ended responses can use human blind evaluation. Assisted review can improve efficiency but cannot completely replace fact-checking; for controversial or high-risk conclusions, personnel with domain knowledge should review them.

    Step 5: Record Fluctuations and Failure Types

    The same task can be run repeatedly to observe result consistency. The report should retain failure samples and distinguish types like factual errors, constraint omissions, tool failures, and format anomalies.

    This is more valuable than publishing a single composite score because different failure types require different fix strategies.

    Step 6: Periodically Re-validate

    Models, application features, service limits, and prices may change. Evaluation results should be annotated with test dates and configurations, and the validation set should be re-run after key changes.

    “Current performance” should be a time-bound test conclusion, not a permanent ranking.

    VIII. Enterprise Deployment: Mitigating Model Limitations Through System Design

    Even if a model performs well overall, every output should not be assumed correct by default. Reliable application requires establishing control mechanisms outside the model.

    1. Set Reviews Based on Task Risk

    Low-risk internal drafts can allow direct generation followed by spot checks; content involving finance, contracts, production changes, or external commitments should have stricter reviews.

    Risk grading should consider not only the probability of error but also the consequences and recoverability of the error.

    2. Apply Least Privilege to Tool Calls

    Model-generated operational suggestions and actual execution of operations should be separated. Actions involving writing, deleting, sending, or permission changes should pass permission checks, parameter checks, and necessary human confirmation.

    Tool-returned content should also not be treated as higher-priority instructions, preventing external materials from changing the original task boundaries.

    3. Retain Traceable Execution Logs

    Subject to privacy and data protection requirements, logging task versions, retrieval bases, tool calls, outputs, and acceptance results helps reproduce issues and improve workflows.

    Logs should avoid unnecessarily saving sensitive raw text and should have access controls and retention periods set.

    4. Use Model Routing Cautiously

    Different tasks can be assigned to processing flows of different capability levels, but routing itself can fail. Rules should be established for complex task escalation, failure fallback, and human takeover.

    Multi-model solutions are only worth adopting when the quality and cost benefits of routing exceed the extra maintenance burden.

    IX. Conclusion: The Core of Comprehensive Performance is Verifiable Task Value

    Evaluating LLMs should not stop at “answers feel more human,” “code is longer,” or “a single stunning performance.” Truly useful conclusions need to answer three questions simultaneously: what tasks can it complete, under what conditions is it reliable, and how much cost and management burden does it incur?

    For individual users, starting with high-frequency tasks to compare output quality and editing time is practical; for developers, runnability, testability, and maintainability should be central; for enterprises, security, auditing, stability, and failure handling must also be considered.

    Ultimately, the goal of selection is not to find a model that leads in every dimension, but to build a system that consistently delivers acceptable results. Defining tasks, unifying conditions, verifying results, recording failures, and continuously re-testing are the reliable methods for evaluating the comprehensive performance of large models.