Evaluating Large Language Models: Methods and Practical Insights

    This article breaks down how to evaluate large language models beyond a single score, covering composite intelligence indices, Elo-based reasoning and knowledge benchmarks, long-horizon agent tasks, vertical-domain evaluation such as legal scenarios, and coding and agent capabilities. It also explains how to turn evaluation results into a practical model selection workflow with layered validation, cost and latency constraints, and reproducible, auditable pipelines.

    1. Why a Single Score Cannot Describe Model Capability

    In real-world model selection, many teams rely on one “overall score” to judge which model is stronger. This approach often hides the actual capability distribution. A composite intelligence index is useful because it compresses multiple dimensions into a single comparable number. For example, a new-generation model may score 61 on the composite index, placing it in the same range as another flagship model from the same generation. The correct reading is not that the two models are fully equivalent, but that there is no significant difference between them under the current evaluation weights.

    It is important to note that a composite score is a weighted result, and the weights themselves are subjective. When the business scenario favors long-chain tasks, agent-oriented benchmarks should carry more weight. When the business focuses on text reasoning and knowledge Q&A, logic and knowledge benchmarks deserve more attention. The first principle of evaluation is therefore: define the capability profile of the business first, then look at the scores.

    2. Logic and Knowledge: What the Elo Rating System Means

    Tests for logic and knowledge typically use pairwise comparison and report relative strength through an Elo system. A model with an Elo of 1753 in this category sits in the first tier, though slightly below the strongest general-purpose model. The advantage of Elo is that it resists scale interference and can be compared across versions. Its limitation is that it expresses only “relative position,” not “absolute usability.”

    A more reliable engineering practice is to combine Elo with business-side pass rates:

    1. # Example: convert relative strength into an acceptable business confidence interval
    2. def should_adopt(elo, baseline_elo, k=400.0, threshold=0.55):
    3. # Standard Elo expected win-rate formula
    4. expected = 1.0 / (1.0 + 10 ** ((baseline_elo - elo) / k))
    5. return expected >= threshold
    6. print(should_adopt(1753, 1700)) # Whether it is worth adopting over the baseline

    This code does not change the evaluation facts. It turns a “ranking” into a decision signal about whether replacing the existing baseline is worthwhile.

    3. Long-Horizon Knowledge Work: Why Agent Tasks Are Harder

    Private benchmarks that measure long-horizon knowledge work are closer to real office and R&D workflows. They assess how stable a model remains under multi-step, multi-tool conditions with continuously accumulating context. A model with an Elo of 1577 on this type of test is also near the top but behind the strongest model. The key insight is that failures in long-horizon tasks usually come not from a single reasoning error, but from error accumulation and state drift.

    Common engineering countermeasures include:

    • Breaking long tasks into verifiable sub-goals that produce structured intermediate results at each step;
    • Introducing external memory and logging services to preserve a traceable execution history;
    • Adding rule-based validation or secondary confirmation for critical steps to reduce the risk of irreversible operations;
    • Using monitoring and alerting to intercept abnormal branches in real time.

    In a legal evaluation, the model’s score rose from 12.9% to 15.8%. The improvement is clear, but the absolute value remains low. This shows that vertical-domain evaluation scores are generally low, for three reasons: first, the requirements for answer uniqueness and citation standards are extremely high; second, high-quality annotated data is scarce in the training corpus; third, the evaluation itself imposes strict requirements on formatting and the chain of evidence.

    Therefore, industry deployment should not expect “out-of-the-box” performance. Instead, it should adopt a combination of retrieval augmentation and knowledge-base constraints, keeping the general model’s language ability within a verifiable range of source material. Original documents can be stored in object storage, and citation chains can be retained through logging services to support auditing.

    5. Coding and Agent Capabilities: The Largest Gains

    Coding and agent capabilities show the most significant improvement in this version: a software engineering benchmark rose from 54% to 65.9%, an agent benchmark rose from 47.1% to 57.5%, and a terminal-operation benchmark rose from 15.7% to 26%. The low absolute score on the terminal benchmark reflects that operating in real environments is far more complex than static code generation.

    The corresponding practical recommendation is to build a layered validation system:

    1. Static layer: unit tests and type checking;
    2. Dynamic layer: sandbox execution in a container platform;
    3. Environment layer: command execution and rollback mechanisms under restricted permissions;
    4. Observability layer: full-chain logging and metrics collection.

    6. Applying Evaluation Results to the Selection Process

    Teams are advised to build a “four-dimension evaluation table”: composite capability, reasoning and knowledge, long-horizon agents, and vertical domains, with cost and latency constraints layered on top. Evaluation scores serve only as an initial filter; the final decision must be validated through regression testing on business samples. For teams that want to quickly set up evaluation and inference pipelines, general capabilities such as the container platform, object storage, logging services, and monitoring and alerting offered by Baidu AI Cloud can be used to build a reproducible, auditable model evaluation pipeline, so that scores truly serve business decisions.