Evaluating General-Purpose LLMs: Common Pitfalls and Practical Approaches

    This article explains why strong general-purpose LLMs are often underestimated despite high benchmark rankings, and how to evaluate them more effectively. It covers the limits of public leaderboards, including distribution shift, saturation, prompt sensitivity, and contamination; how product positioning changes capability priorities; and how to break requests into four layers—factual, advisory, creative, and code/tooling—with separate scorers. It also outlines risk-aware response and refusal strategies, long-context and ecosystem considerations, cost and latency architecture choices, and a practical evaluation checklist for building a reproducible, business-aligned model selection process.

    1. Where the Problem Starts: Why “Clearly Strong” Models Still Get Underrated

    Discussions about general-purpose LLM capabilities often run into a perception gap: a model sits in the top tier of public leaderboards, yet every new release still draws comments about progress being “surprisingly fast.” To understand this, you cannot look at scores alone. You have to look at the evaluation methodology behind the scores, the user base, and the distribution of real-world scenarios.

    There are three underlying reasons. First, leaderboards measure standardized problem sets, while public perception comes from scattered, vague, everyday requests that often have no single correct answer; the two distributions do not overlap. Second, top models are used mostly by ordinary people, who do not run controlled comparisons; their experience accumulates over time and is hard to register as a single point. Third, distribution favors conflict narratives—“model X is no good” spreads more easily than “model X is stable”—so the overall impression lags behind actual capability.

    2. The Limits of Benchmark Scores: Reproducibility and Distribution Shift

    The value of public evaluations lies in reproducibility and horizontal comparability, but their limitations are equally clear:

    • Distribution shift: evaluation sets skew academic, reasoning, and code, while real traffic skews Q&A, writing, summarization, and life advice.
    • Saturation: once common benchmarks approach saturation, a difference of a few tenths of a percent has almost no effect on perceived experience.
    • Prompt sensitivity: the same model fluctuates noticeably across prompt templates and decoding parameters; single-turn scoring hides stability problems.
    • Contamination risk: overlap between training data and evaluation sets can inflate scores without necessarily improving generalization.

    So it is more reasonable to treat leaderboards as a necessary but insufficient condition: they can filter out clearly unqualified candidates, but they cannot replace private evaluations aligned with your business.

    3. Product Positioning Determines Capability Focus: A General Assistant Is Not a Coding Tool

    An often-overlooked fact: a general assistant for the mass market and an AI coding tool for engineers do not share the same objective function. The former is measured by coverage, naturalness of expression, response cost, and fault tolerance; the latter cares more about syntactic correctness, tool-call reliability, repository-level context understanding, and verifiable pass rates.

    Described in engineering terms:

    1. General assistant: coverage↑ naturalness↑ cost per call↓ tolerance for vague input↑
    2. Coding tool: compile/test pass rate↑ multi-file consistency↑ toolchain integration↑

    This means judging a mass-market assistant by “can it fix this piece of code” is a metric mismatch; conversely, judging a code-specific tool by “is the chit-chat natural” is equally meaningless. The first step in selection is not comparing strength, but layering the scenarios.

    4. Scenario Layering: Turning “Is It Good” into Measurable Questions

    It is advisable to divide requests into four layers, each with its own evaluation criteria:

    1. Factual Q&A: focus on accuracy, timeliness, and verifiability of citations.
    2. Decision advice: focus on whether it gives a clear recommendation and states assumptions and risks, rather than pushing every choice back to the user.
    3. Generative creation: focus on structural completeness, style consistency, and editability.
    4. Code and tooling: focus on executability, test pass rate, and regression stability.

    A skeletal private evaluation harness looks like this (pseudocode, structure only):

    1. cases = load_cases("private_set_v3") # layered labels: fact / advice / write / code
    2. for c in cases:
    3. out = model.generate(c.prompt, temperature=c.temp)
    4. score = rubric[c.layer](out, c.golden) # separate scorer per layer
    5. report.append((c.id, c.layer, score, latency_ms, tokens))

    The key point: each layer uses its own scorer and its own thresholds; never let a single aggregate score mask structural weaknesses.

    5. Fact-Checking and Refusal Strategy: Be Rigorous When It Matters

    For ordinary users, overly cautious phrasing significantly degrades the experience. The ideal approach is to switch rigor by scenario:

    • High-risk scenarios (medical, legal, financial, personal safety): prioritize clear action recommendations and timeframes, point to medical or emergency resources, and avoid listing possibilities.
    • Medium-risk scenarios (technology selection, procurement, education): give a directional conclusion plus key assumptions plus fields that need verification.
    • Low-risk scenarios (chit-chat, creative work): allow colloquial and humorous tone, and cut boilerplate disclaimers.

    In engineering terms, this can be implemented with a combination of rules and classifiers:

    1. risk = classify_risk(user_input)
    2. if risk == HIGH:
    3. return action_first_response() # action first, rationale after
    4. elif risk == MID:
    5. return conclusion_plus_assumptions() # conclusion + assumptions + verification checklist
    6. else:
    7. return natural_style_response()

    The fact-checking layer should connect to retrieval and structured data sources, and run consistency checks on citable fields; when verification is impossible, state uncertainty explicitly rather than using vague wording.

    6. Long Context and Ecosystem Integration: Hidden Advantages Beyond Benchmarks

    Million-token long text, document and canvas-style editing, and deep integration with office suites and terminal devices—these capabilities do not show up on leaderboards yet directly drive retention. The real difficulty of long context is not “fitting it in,” but mid-context recall, cross-section consistency, and the nonlinear rise in cost with length. Evaluation should separately design three kinds of cases: needle retrieval, multi-hop reasoning, and long-document summarization consistency.

    The value of ecosystem integration is placing the model inside workflows users already have: system-level entry points, cross-app invocation, a default account system, and a low barrier to use. For developers, this means designing interfaces with idempotency, timeouts, degradation, and caching in mind, rather than assuming every call succeeds.

    7. Architecture Choices Under Cost, Latency, and Compute Constraints

    In real systems, capability is only one variable. Reusable cost-control measures include:

    • Tiered routing: small models handle high-frequency simple requests, with large models as fallback for complex ones.
    • Caching and reuse: cache results for deterministic requests, and cache summaries for long documents.
    • Batching and asynchrony: separate offline jobs from online paths to smooth peaks and fill valleys.
    • Distillation and quantization: reduce per-inference cost within acceptable accuracy loss.

    Sample routing logic:

    1. if is_simple(intent) and cache.hit(key):
    2. return cache.get(key)
    3. elif is_simple(intent):
    4. return small_model(prompt)
    5. else:
    6. return large_model(prompt, tools=registry)

    It must be emphasized: any conclusion that “model X is cheaper/faster” must be based on your own measurements; public marketing claims cannot serve directly as a basis for capacity planning.

    8. A Practical Evaluation Checklist

    • Build a layered private set of at least 300 cases covering fact, advice, writing, and code.
    • Fix prompt templates and decoding parameters, and record version numbers to ensure reproducibility.
    • Record three metrics together: quality score, P95 latency, and token cost per request.
    • Introduce two-person blind review and consistency checks to reduce subjective bias.
    • After launch, run canary comparisons and regression, focusing on long-tail failures rather than average scores.
    • Set separate red-line cases for high-risk scenarios; any single failure blocks release.

    9. Conclusion

    Most of the “surprise” at general-purpose LLM progress comes from a mismatch between evaluation criteria and real-world distribution, not from a sudden jump in capability. A more mature approach is to acknowledge the filtering value of leaderboards, clarify product positioning, layer scenarios before arguing about strength, and close the loop with private evaluations, a cost model, and canary regression. If an organization wants to implement this system in its own environment, it can build the evaluation and observability pipeline on general capabilities such as the container platform, logging service, monitoring and alerting, and object storage offered by Baidu AI Cloud, turning model selection from subjective impression into a continuously verifiable engineering process.