A Practical Guide to Evaluating New Large Language Models

    When a new large language model is released, subjective impressions like "it feels more capable" or "it hallucinates less" are not enough to make sound technical decisions. This guide explains how to translate those impressions into six measurable dimensions—instruction following, safety boundaries, factual accuracy and hallucination rate, knowledge and temporal limits, style controllability, and writing quality—and how to design a reproducible evaluation pipeline. It also covers prompt-based constraints that reduce hallucination, offline and online testing workflows, and a checklist for putting model evaluation into production.

    Starting Point: Why “Feel-Based” Reviews Can’t Support Model Selection

    After a new model ships, community feedback usually consists of a handful of subjective impressions: it works hard, it’s polite, its world knowledge is strong, it hallucinates less, its writing is better. These observations are valuable, but they compress several independent capability dimensions into a few adjectives, which creates two key problems.

    First, results are not reproducible. The same model can behave very differently under different prompts, temperature settings, and context lengths. “Better” or “worse” without a fixed configuration has no engineering meaning.

    Second, results are not comparable. When comparing models across generations, differences in test questions, scoring criteria, or constraint prompts will systematically skew conclusions.

    The professional approach is to translate experiential language into dimension language, then design a repeatable measurement plan for each dimension. The rest of this article covers six dimensions.

    Six Core Evaluation Dimensions and Measurement Methods

    1. Instruction Following and Task Completion

    Focus on whether the model strictly follows output format, length, fields, language, and other constraints, and whether it omits any item when multiple constraints are given. A practical method is to sample 100–300 real requests from production logs, construct tasks with hard constraints, and use rule-based validation (regex, JSON Schema validation, non-empty field checks) to produce binary pass/fail results rather than scores.

    1. # Example: automated validation for format constraints
    2. import json, re
    3. def check_format(output: str, schema: dict) -> dict:
    4. result = {"json_valid": False, "fields_ok": False, "length_ok": False}
    5. try:
    6. data = json.loads(output)
    7. result["json_valid"] = True
    8. result["fields_ok"] = all(k in data for k in schema["required"])
    9. except json.JSONDecodeError:
    10. data = {}
    11. result["length_ok"] = len(output) <= schema.get("max_chars", 10**9)
    12. return result

    2. Distinguishing Over-Defensiveness from Genuine Safety Compliance

    “Highly defensive” and “safety compliant” are different things. The former shows up as repeated disclaimers on normal technical requests, refusal to answer answerable questions, or turning risk warnings into the main content of the reply. The latter is a necessary capability. For evaluation, split questions into three categories: clearly unsafe, clearly answerable, and borderline. Track the false refusal rate (refusals on clearly answerable questions) and the leakage rate (policy violations on clearly unsafe questions). Watch both metrics together so that “being more cautious” doesn’t mask a decline in usability.

    3. Factuality and Hallucination Rate

    Hallucination must be measurable, not just felt. A workable approach is to build a closed question bank with ground-truth answers (covering general knowledge, domain definitions, numbers, and procedures), then score using a “verifiable assertion” method: break each model answer into atomic factual sentences and label each as supported, contradictory, or unverifiable. Hallucination rate = contradictory sentences / decidable sentences.

    Also distinguish two error types: knowledge fabrication (inventing facts that don’t exist) and temporal mismatch (answering a question about changed circumstances with outdated knowledge). The latter often isn’t a model defect but the absence of retrieval or time constraints; it should be addressed in engineering by supplementing with external knowledge sources.

    4. World Knowledge and Temporal Boundaries

    Use time-sliced question sets: the same question asked at different points in time, where the correct answer changes as facts change. If the model gives consistently vague answers for content “after its cutoff,” that indicates a clear knowledge boundary—which is expected behavior. The right fix on the product side is to cover it with retrieval augmentation, not to demand the model “remember everything.”

    5. Controllability of Tone and Style

    Style is not mysticism; it can be quantified. Measure the density of hyperbolic adjectives, the proportion of disclaimer sentences, average sentence length, second-person usage frequency, and whether endings contain uninformative encouragement. Run the same prompt under three different style instructions and compare how much each metric drifts. That tells you whether the model truly “follows instructions” or just has a fixed personality.

    6. Narrative and Writing Quality

    Use blind evaluation: generate multiple texts for the same prompt, hide the sources, and have reviewers score them on structural completeness, specificity of detail, logical consistency, and naturalness of language. Then compute inter-rater agreement. The key to evaluating writing is avoiding self-preference; blind review with multiple cross-checked raters is the minimum requirement.

    Using Prompt Constraints to Significantly Reduce Hallucination

    The goal of constraints is not to make the model “more careful” but to make it explicitly abstain when evidence is missing. A reusable template looks like this:

    1. Role and objective: You are a rigorous technical assistant. Answer only content directly relevant to the task.
    2. Evidence rules: Answer only based on the materials provided below. For parts not covered by the materials, output "Insufficient information."
    3. Citation requirements: After each conclusion, cite the source number [1][2].
    4. Prohibited behavior: Do not infer values, version numbers, timestamps, or causal relationships that are not provided.
    5. Output format: Conclusions / Evidence / Uncertain items, in three sections.
    6. Materials:
    7. [1] ...
    8. [2] ...

    The “uncertain items” section moves uncertainty out of the prose and into an explicit declaration area, making it easy for downstream programs to intercept and handle. In engineering, inject this template uniformly at the gateway layer rather than relying on individual business code to assemble it.

    Evaluation Pipeline: From Offline to Online

    In the offline phase, fix three things: the question set, the scoring scripts, and the inference parameters (temperature, max output length, context window). If any of these changes, re-baseline before comparing versions; otherwise cross-version comparisons are invalid.

    In the online phase, rely on observability: log requests and responses through logging services, and set alert thresholds for refusal rate, format failure rate, and timeout rate at the monitoring layer. When format failures or false refusals spike, it usually corresponds to a prompt change or a model version switch, which makes the root cause quick to locate.

    1. Request -> Gateway (inject constraint template) -> Model service -> Rule validation -> Sampled logging
    2. |-> Metrics reporting -> Alerting

    Production Readiness Checklist

    • Are format-related requirements validated with rule checks instead of subjective scoring?
    • Are false refusal rate and leakage rate tracked as a pair?
    • Is hallucination rate computed from atomic factual sentences, separating knowledge fabrication from temporal mismatch?
    • Are style metrics quantified, and is writing evaluated blind?
    • Are inference parameters and question sets version-controlled?
    • Does production have alerting for refusal rate and format failure rate?

    The conclusion is straightforward: evaluating a new model should shift from “how does it feel to me” to “what are its metrics on my question sets and under my constraints.” Break experience into dimensions, turn dimensions into metrics, and wire metrics into the pipeline—only then can model selection conclusions be reproducible and maintainable in engineering terms.