LLM Selection: A Reproducible Evaluation Framework When Top-Tier Scores Cluster Together

    When the composite benchmark scores of leading large language models fall within a narrow two-to-three-point band, additional benchmark runs yield little useful signal, and selection must shift from leaderboard rankings to scenario-based evaluation. This article breaks LLM selection into four steps—tiering capabilities, building an evaluation set, measuring stability and cost, and running gradual rollouts with regression checks—and provides a minimal reproducible example along with a checklist of common mistakes.

    Bottom line up front: when the composite benchmark scores of first-tier large language models are squeezed into a narrow band of two to three points, the marginal information from more benchmark runs drops sharply, and selection must shift from “watching the leaderboard” to “watching the scenario.” This article breaks LLM selection into four steps—how to tier capabilities, how to build an evaluation set, how to measure stability and cost, and how to run gradual rollouts and regression checks—and provides a minimal reproducible example and a checklist of common mistakes.

    1. Tiering: Breaking “strong capability” into observable sub-items

    Do not assign a single overall score to a model. First, break tasks down along the business workflow: extraction, rewriting, classification, multi-turn dialogue, tool calling, and long-document question answering. For each sub-item, define the input format, the expected output, and the judging rule (exact match, rule-based validation, or model review). The purpose of tiering is to turn the phenomenon of “perceived ranking disagreeing with score ranking” into a locatable difference rather than something mysterious.

    2. Building the set: sample size, confidence intervals, and paired comparison

    Building a private evaluation set is the core of selection. Use at least 200 samples per sub-item and at least 1,000 overall; sources must be anonymized and authorized, and the evaluation set must be kept out of training corpora to avoid leakage.

    Replace absolute scoring with paired comparison: for the same input, present A/B outputs anonymously and have a human or a review model pick one, with ties counted separately as 0.5. Control for order bias: randomize the A/B position and present the same pair twice in reverse order. For significance, use a paired bootstrap or the McNemar test and report a 95% confidence interval; overlapping intervals are treated as no difference, so do not draw conclusions from a single sample run.

    3. Stability and cost: defining the measurement basis

    Stability: resample the same sample 5 times and measure the output consistency rate and the format-validity rate. Long-context degradation must be measured: build length gradients at 2k/8k/32k segments and observe how much recall and instruction-following metrics decline as length increases, distinguishing “definite decline” from “task-dependent.”

    Cost per unit of effective output: effective output = samples that pass rule validation or review; cost = (input tokens + output tokens + retry tokens) × unit price, measured over a 7-day rolling average. Track tool-calling reliability separately, using success rate and average number of retries.

    4. Minimal reproducible example

    Environment: Python 3.10, numpy 1.26, scipy 1.11. Input JSONL: {“id”,”prompt”,”expect”,”a”,”b”}; output JSONL appends win_a/win_b/tie. Score aggregation formula: score = (win + 0.5*tie)/N, with a bootstrap confidence interval; the compute_ci() location in the script is where the formula is implemented. Write dependencies and versions into requirements.txt.

    5. Gradual rollout and regression: mechanism and risk boundaries

    Ramp traffic 5% → 25% → 50%, running a fixed regression set at each stage; continuous regression is triggered weekly, and if a metric falls below the baseline confidence interval, roll back. Risk notes: evaluation data must be anonymized and its sources authorized; leaderboard conclusions cannot be directly extrapolated to your scenario, and using leaderboards for decisions carries business risk.

    6. Common mistakes

    Looking only at the overall score; ignoring ties; evaluation-set leakage; drawing conclusions from a single sample run; failing to control order bias; missing cost measurement basis.

    7. Minimal viable process without a private evaluation set

    Use 50 real tickets for paired comparison, fix the review rules, run stability and cost first, then gradually expand the set.

    Comparison: score ranking is stable but not explainable; perceived ranking is explainable but prone to drift; scenario-weighted ranking is actionable and is recommended as the final basis.