LLM Benchmark Selection: A Practical Guide to Design and Implementation

    This article explains why a single leaderboard cannot capture model differences and offers a practical framework for designing LLM benchmarks. It covers the four elements that define a benchmark, why models are evaluated on different suites, a four-layer evaluation structure, capability-specific design points for 3D spatial understanding, industry document QA, code and tool use, and multimodal long-context tasks, plus scoring practices, a reproducible pipeline, and common pitfalls. Readers will learn how to build an evaluation system that supports model selection, iteration, and risk control.

    1. Introduction: Why One Leaderboard Cannot Explain Model Differences

    When a team publishes a technical report on a large language model, it usually attaches evaluation results spanning code generation, mathematical reasoning, long-context understanding, multimodal perception, 3D structure understanding, and industry document QA. A pattern emerges across these reports: different models are measured on different benchmarks, and even the same model may change its evaluation mix between versions.

    This is not simply cherry-picking favorable scores. It reflects an inherent constraint of evaluation engineering: a benchmark is a sample of capability. Models have different capability distributions, and tasks differ in format, output structure, and scoring method. Measuring every model with one fixed leaderboard tends to produce conclusions that are comparable but not interpretable. This article takes a general technical perspective to explain the logic of benchmark selection and presents a practical method for evaluation design.

    2. What a Benchmark Really Is: Capability Sampling and Observability

    A benchmark turns a vague capability into observable outputs, then converts those outputs into numbers through scoring rules. It has four elements:

    • Task distribution: which real-world scenarios the questions come from, and how difficulty and format are distributed;
    • Input format: plain text, text and images, tables, structured files, 3D or geometric descriptions, and so on;
    • Output constraints: free text, structured fields, code, numeric values, executable actions;
    • Scoring method: exact match, rule-based validation, unit tests, human review, model-based review, and others.

    If any one of these elements changes, the meaning of the score changes. The first principle of evaluation follows directly: scores cannot be compared across benchmarks.

    3. Why Different Models Use Different Benchmarks

    3.1 Different capability profiles

    Some models are strong in long context and document understanding, some in code and tool use, and some in multimodal and spatial structure understanding. Evaluation should cover the capabilities a model claims to have and that users rely on frequently, rather than mechanically reusing the same question set.

    3.2 Task format and scoring cost

    Code tasks can be scored automatically with unit tests at low cost and with high repeatability. Open-ended writing and industry QA often depend on human or model review, which is costly and has high variance. When the budget is limited, trade-offs and layering are necessary.

    3.3 Data contamination and reproducibility

    Public questions can end up in training corpora, inflating scores. A mature practice is to add private held-out sets, time-split sets, and perturbed variants, and to fix decoding parameters and prompt templates to ensure reproducibility.

    3.4 Version iteration and regression

    Models are updated continuously, so evaluation must support fast regression. Teams typically keep a small, stable core set for every iteration and pair it with a comprehensive full set for periodic evaluation.

    4. A Layered Evaluation Structure

    A four-layer structure is recommended:

    1. Smoke layer (minutes): dozens of questions covering core capabilities, run on every commit;
    2. Regression layer (hours): hundreds to thousands of questions covering major task families, run before a release;
    3. Specialization layer: in-depth evaluation for 3D structure understanding, industry document QA, multimodality, and similar areas;
    4. Red team layer: safety, jailbreaks, privacy, bias, and extreme inputs.

    An illustrative directory and configuration (pseudocode):

    1. suite:
    2. smoke: { size: 50, gate: true, runtime: "min" }
    3. regress: { size: 2000, gate: true, runtime: "hour" }
    4. special: { tasks: ["spatial_3d", "doc_qa"], gate: false }
    5. redteam: { tasks: ["safety", "privacy"], gate: true }
    6. decode:
    7. temperature: 0.0
    8. top_p: 1.0
    9. max_tokens: 1024
    10. seed: 42

    5. Benchmark Design by Capability

    5.1 3D and spatial structure understanding

    3D tasks need to turn structural correctness into measurable metrics, such as topological consistency, part counts, relative position relations, symmetry, and volume or bounding-box error. Inputs can use parametric descriptions, three-view drawings, or geometric sequences, and outputs can be carried in structured fields for automatic validation.

    1. {
    2. "objects": [{"id": "base", "bbox": [0,0,0, 10,10,2]}],
    3. "relations": [{"a": "base", "b": "obj1", "type": "on"}],
    4. "symmetry": {"axis": "z", "tolerance": 0.05}
    5. }

    5.2 Industry document QA

    Industry documents often contain long tables, cross-page clauses, and strict constraints. Evaluation should include evidence localization (citing a paragraph or cell), numeric calculation, conditional judgment, and the ability to abstain (not guessing when information is insufficient). Metrics can combine evidence hit rate, field-level accuracy, and abstention precision and recall.

    5.3 Code and tool use

    Rely mainly on unit test pass rate, compilation success rate, and static checks, supplemented by human spot checks for minimal changes and maintainability, to avoid pursuing only what runs.

    5.4 Multimodal and long context

    Focus on cross-modal alignment, detail retrieval, and resistance to distraction. For long context, include needle-in-a-haystack and multi-hop reasoning tests, and watch for position bias.

    6. Scoring and Statistics: Making Scores Trustworthy

    • Prefer automatic scoring, with human review sampled for calibration;
    • Report mean and confidence intervals over multiple samples to avoid single-run variance;
    • Use paired comparison and significance testing to reduce misjudgment;
    • Record prompt templates, decoding parameters, and data versions to form a traceable experiment card.

    7. Engineering: A Reproducible Pipeline

    A minimum viable pipeline includes data version management, task orchestration, concurrency and rate limiting, result archiving, and dashboards with alerts. On general cloud platforms, object storage can hold datasets and artifacts, a container platform can host the evaluation runtime, a message queue can distribute tasks, and logging and monitoring services can track success rate and latency. Baidu AI Cloud is typically used in these scenarios to provide the general capabilities above, helping teams turn evaluation from a collection of scripts into a sustainable engineering system.

    8. Common Pitfalls

    • Reporting only an overall score, without per-dimension results or confidence intervals;
    • Mixing public and private sets, which causes contamination;
    • Not fixing prompts and decoding, making results irreproducible;
    • Ignoring abstention and safety, leading to high scores but low real-world usefulness;
    • Running a full evaluation every time, which slows iteration.

    9. Conclusion

    Different models using different benchmarks is an inevitable result of evaluation moving from a single ranking toward capability profiles. Starting with task alignment, using a layered evaluation structure as the backbone, and ensuring a reproducible pipeline is what makes evaluation truly serve model selection, iteration, and risk control.