Evaluating Large Language Models: How to Assess Capability, Product, and Ecosystem

    This article provides a comprehensive framework for evaluating large language models (LLMs) beyond public buzz. It outlines a structured methodology for assessing model capabilities across seven key dimensions, explores the boundaries of long-context and code generation tasks, and offers a role-based selection checklist for individual users, developers, and enterprises to make informed integration decisions.

    1. Defining the Scope and Boundaries

    This article discusses large language models (LLMs) designed for general dialogue and coding tasks. We will not draw definitive conclusions about any specific product. Evaluating a model requires recording its version number, access method, and test date, as frequent updates can significantly alter performance over time.

    Public buzz is determined by multiple factors, including product accessibility, entry barriers, launch events, developer ecosystem, and commercialization strategies. Model capability is just one of these factors. Therefore, if a model performs stably in tests but lacks public discussion, the most reasonable explanation is a shortfall in productization or communication rather than capability. Without test data, one cannot judge its actual ability.

    This article does not compare “which model is the best” or speculate on vendors’ business decisions. All judgments are based on the testing methodology detailed below.

    2. Evaluation Dimensions and Testing Methodology

    Public benchmark scores can serve as a reference, but they typically use fixed question types that differ significantly from the ambiguous requirements of real-world work. It is recommended to organize your own test set using the following seven dimensions and aggregate scores based on assigned weights.

    Dimension Testing Method Scoring Criteria Example Weight
    Instruction Following Design 20 constrained tasks, e.g., “Use exactly three sentences, under 80 words, and include two specific keywords” 2 points for fully met, 1 for partially, 0 for unmet 15%
    Factual Reliability Design 20 questions, 5 involving non-existent concepts or literature Calculate hallucination rate: fabricated content as a percentage of total answers 20%
    Reasoning Rigor 10 multi-step reasoning problems Check consistency between intermediate steps and final conclusions 15%
    Expression Quality Blind review by two evaluators with model names hidden 1 to 5 points; a third evaluator resolves disputes over a 1-point difference 10%
    Context Stability Set constraints in Round 1 (e.g., “Use RMB for all amounts”), check compliance in Round 8 1 point for compliance, 0 for violation; average across multiple test groups 15%
    Output Controllability Require specific JSON or Markdown output structures Calculate format error rate 15%
    Response Efficiency Record time-to-first-token and total response time Test three times in the same network environment, take the median 10%

    The weighted score is calculated by multiplying the average score of each dimension by its weight and summing the results.

    The “dialogue experience” mentioned here relates to the quality of post-training. Post-training involves adjusting the model with instruction data and human feedback after base training to help the model better understand instructions and align with user habits. Its effects are primarily reflected in instruction following, expression quality, and output controllability.

    The testing process must ensure reproducibility:

    1. Use a fixed test set and save the text output for each version.
    2. Complete all tests within the same time period.
    3. Save the model’s raw output without post-modification.
    4. Record prompts, temperature parameters (if adjustable), and test dates.
    5. Have two individuals score independently; a third resolves significant disputes.

    It is recommended that the test set includes at least 50% of tasks derived from your actual real-world work. Public benchmarks should only serve as supplements, as real-world tasks better reflect practical usage issues.

    Elimination criteria should be defined before testing. For instance, if the hallucination rate in factual reliability exceeds a set threshold, or if fabricated content appears in high-risk scenarios like legal terms or financial data, the model should be eliminated from candidacy. Thresholds should be set according to your specific business risk and not directly copied from others.

    3. Boundaries of Long-Context and Code Capabilities

    The value of long-context capability lies in its ability to stably process large volumes of input while maintaining structural output integrity. The longer the output, the more likely issues like repetition, factual drift, and loose structure will occur. Three metrics can be checked during testing:

    • Repetition rate: The frequency of repeated paragraphs or sentence structures.
    • Factual drift count: The number of inconsistencies in names, numbers, or dates between the beginning and end.
    • Structural completeness: Whether heading hierarchies are intact and promised sections all appear.

    A recommended workflow for long-context tasks is to first plan an outline, then generate content in segments, and finally verify key information from the original text item by item. This workflow is more reliable than generating the entire text in one go.

    Testing code generation capabilities can be divided into three tiers:

    Task Tier Example Acceptance Criteria
    Single-file utility Generate a data cleaning script Runs correctly, output matches the sample
    Multi-file modification Add a new query interface to an existing project Tests pass, no unrelated files modified
    Cross-module refactoring Replace a module’s data access layer with a new solution Tests pass, interfaces remain compatible, no significant performance drop

    The recommended collaboration workflow for code tasks is as follows:

    1. Have the model summarize the project structure to confirm it understands dependencies.
    2. Clarify the files to be modified and the goals for this session.
    3. Ask the model to list a modification plan before writing any code.
    4. Commit to version control (e.g., git commit) before each code generation to allow for easy rollback if errors occur.
    5. Run tests and check the scope of changes.
    6. Perform targeted fixes based on specific error messages; avoid complete rewrites.

    Generated code passing sample tests does not mean it is ready for production environments. Input validation, access control, exception handling, and concurrency conditions still require manual review.

    4. Selection Checklist

    Different roles focus on different metrics. The table below outlines the focus areas for individual users, developers, and enterprises.

    Role Focus Metrics Verification Steps Common Issues Elimination Criteria
    Individual User Accuracy in writing, summarization, and data organization; file upload format and size limits; history and export features Summarize a real document, check three key numbers against the original text Judging stability based solely on the first response; ignoring export features Key numbers mismatch the original text; inability to export data
    Developer API success rate, context length limit, structured output success rate, cost per call Test success rate and latency distribution with 100 requests; validate output with a fixed JSON structure Judging stability based on a single demo; ignoring rate limiting and timeout retries Structured output failure rate exceeds set threshold; API behavior inconsistent with docs
    Enterprise Data retention and usage policies, private deployment options, audit logs, access control Have the security team review data processing agreements; run full business workflows with desensitized samples Comparing only unit price while ignoring integration and O&M costs Inability to provide audit logs; data policies fail compliance requirements

    It is recommended to verify selection in three steps:

    Step 1: Small Sample Testing (approx. 1-2 days). Test with 20 real-world tasks, score based on the dimensions in Section II, and eliminate obviously unqualified candidates.

    Step 2: Integration Testing (approx. 1-2 weeks). Integrate the candidate model into your real workflow, recording the number of manual modifications, time consumed, and failure cases.

    Step 3: Canary Release. Allow a small group of users or a single project to use it first, with pre-defined rollback conditions. For example, if the task failure rate exceeds a set value for three consecutive days, revert to the previous solution.

    5. Conclusion

    Evaluating a model requires answering three questions:

    First, is its accuracy sufficient for my specific tasks?
    Second, can it integrate into existing workflows stably and cost-effectively?
    Third, can its product form and ecosystem support long-term usage?

    These three questions should all be answered with test data, not by relying on public buzz. Buzz reflects communication and market presence, which does not directly indicate a model’s performance on specific tasks. Only when all three questions receive affirmative answers will the model’s technical advantages translate into practical value.