How to Evaluate LLMs Scientifically: Designing and Building a Multi-Dimensional Benchmark System

    A single leaderboard score is not enough to judge a large language model. This article explains how to design a scientific, multi-dimensional benchmark system—covering capability dimensions, fixed weights, reproducible scoring, variable control, and progressive follow-up questions—and shares two common failure patterns and one key insight: the evaluation harness can matter more than small differences between models. Whether you are selecting or building LLMs, you will learn how to answer the real question: where will this model break in my use case?

    Why a Single Total Score Is Not Enough

    When selecting or building large language models, many teams look at a single leaderboard score and draw conclusions. The risk: a total score is a weighted composite of many capabilities, and it hides structural differences between dimensions. A model with a high total score can still be weaker than a slightly lower-scoring competitor on high-frequency real-world scenarios such as coding—yet those high-frequency scenarios dominate everyday user experience, so reputation and rankings can end up inverted.

    A scientific evaluation system should meet at least three conditions:

    1. Complete dimension coverage: include both foundational capabilities (instruction following, hallucination resistance) and practical application capabilities (tool calling, CLI workflows, agent loops, coding, reasoning and math, information extraction and structured delivery).
    2. Sufficient volume and fixed weights: for example, a baseline of 800+ original questions, 900+ test instances, and a dozen capability dimensions, with the total score computed using pre-fixed weights—preventing after-the-fact weight tuning to inflate results.
    3. Auditable scoring: the scoring rationale for every question should be recorded and support secondary review, reducing noise from subjective grading.

    Core Design of the Evaluation System

    Freeze Dimensions and Weights First

    Before evaluation begins, two things must be frozen: the capability dimension list and the composite weights. Common capability dimensions fall into three categories:

    • Basic compliance: instruction following, hallucination resistance, formatted output. These determine whether the model “delivers as instructed”—the most easily overlooked yet most experience-defining part. A typical instruction-following test, for example, checks whether a single response satisfies multiple specific constraints simultaneously; joint satisfaction rates across constraints expose problems far better than single-constraint rates.
    • Workflow: tool calling, command-line (CLI) workflows, deep CLI tasks, agent loops. These test the model’s ability to maintain state, correct errors, and execute steps in order across multi-step tasks.
    • Hard reasoning: coding, reasoning and math, long-context information extraction.

    Scoring Mechanism: Run Code When Possible, Use Judges When Judgment Is Needed

    The scoring method must match the question type—this is key to objectivity:

    • Commands and code: write automated check scripts per question type and actually run the model’s output. It either runs or it errors—no gray areas.
    • Open-ended judgment: use a two-layer “AI initial review + independent verification” mechanism. A strong judge model assists with scoring, then a separate, independent model verifies based on the saved responses and execution records. The two reviewers are independent of each other, which significantly suppresses the preference drift of any single judge model.

    A simplified evaluation pipeline:

    1. for task in benchmark_tasks:
    2. response = model.run(task, max_output_tokens=LIMIT)
    3. record.save(task, response, run_trace)
    4. for record in records:
    5. if record.is_executable:
    6. score = run_and_check(record) # score by actually running the program
    7. else:
    8. score = judge_model.review(record) # AI-assisted scoring
    9. score = reviewer_model.verify(record) # independent verification
    10. aggregate(scores, fixed_weights)

    Controlling Variables: Output Limits and Empty-Answer Statistics

    Fairness often fails on details. Two easily overlooked variables:

    • Output token limits: reasoning and output budgets across models should be aligned as closely as possible. If a provider dynamically controls output length for some models, this must be clearly noted in the report—otherwise truncated empty or broken answers may be misread as capability failures.
    • Empty answers and low-score accounting: the empty-answer count is itself an important metric—a model that delivers complete answers across all tests demonstrates stability (especially on long outputs and large tasks). The accounting standard should uniformly be the “final scored response,” with low-score cases individually attributed: capability shortfall, truncation, or formatting issue?

    Progressive Questions and Follow-Ups

    Single-turn Q&A cannot test a model’s self-correction ability. Design progressive question chains: when answering the next question, the model must actively check which earlier conclusions need revision and which still hold. These chains often become the dividing line—many models are overtaken at the final follow-up stage precisely because they fail to maintain consistency with their historical conclusions.

    Two Typical Failure Patterns and One Key Insight

    Extensive evaluation practice reveals two high-frequency failure patterns, directly useful for both model improvement and prompt engineering:

    1. Detail omissions: manual content not written as required, subtasks not created successfully, missing trailing newlines in tool parameters. These losses look minor in a total score but often break pipelines in real business settings.
    2. Blind retries after errors: repeatedly submitting the same failing request without root-cause analysis. This shows the model lacks a “failure–reflect–correct” loop—the agent-loop dimension is designed exactly for this.

    Perhaps the most important insight from the entire evaluation: the harness (evaluation scaffolding/runtime environment) can influence performance more than small score differences between models. The same model can show systematically different tool-calling success rates and multi-step task completion rates under different harnesses. This means:

    • For users: switching to a better agent framework or harness may yield more benefit than switching models.
    • For model teams: beyond model capability, polishing the accompanying harness—retry strategies, context management, parameter-detail handling—is an essential lesson.

    Practical Recommendations for Teams

    • Don’t rely on total scores alone: break out dimension scores and prioritize the high-frequency dimensions for your business (e.g., coding, tool calling).
    • Watch stability metrics: empty-answer rate and long-task completion rate predict real-world experience better than peak scores.
    • Build a reproducible evaluation process: fixed weights, saved execution records, and two-layer review give results long-term comparability.
    • Evaluate the model and harness together: run end-to-end validation in real workflows (agent coding tools, CLI agents), and where appropriate, extend evaluation from offline leaderboards to continuous online observation using general-purpose model services and monitoring/alerting capabilities from cloud platforms such as Baidu AI Cloud.

    In one sentence: the value of evaluation is not ranking models, but precisely answering “where will this model break in my scenario?”