How to Evaluate LLM Conversation Quality: Five Technical Dimensions

    Choosing a large language model based on a few subjective test prompts is unreliable. This article breaks conversation quality into five measurable dimensions—factual consistency, instruction following, multi-turn consistency, self-correction, and structured output—and explains the test methods, metrics, and scoring card behind each, along with common evaluation pitfalls and a practical workflow for model selection.

    1. Why “It Feels Good” Is Not a Selection Criterion

    In practice, teams often evaluate a model’s conversational ability with a handful of subjective impressions: ask a few questions, see which answers look better, and draw a conclusion. A typical scenario from the source material illustrates the problem. When a user asked about the types of titles held by a historical figure, the model mixed titles of different natures into a single list and returned noticeably fewer entries than expected. More importantly, even after the user already understood the correct concept, the model kept adding long explanations about its own reasoning process, and even argued a detail the user never asked about.

    These patterns show that a single-point experience cannot locate where a problem originates. To reach reusable conclusions, “bad experience” must be translated into measurable, regression-testable technical metrics. The following sections group such patterns into five dimensions and give the corresponding test methods.

    2. Dimension 1: Factual Consistency and Knowledge Boundaries

    Factual consistency measures how closely model output matches established facts. It covers three aspects: correct entity attributes, correct categorization, and completeness of counts.

    • Correct entity attributes: whether attributes of people, events, dates, and places are mismatched.
    • Correct categorization: whether a concept is placed in the wrong category, for example mixing one class of specific designations with another class of honorifics.
    • Completeness of counts: under “list all” instructions, whether the result covers the accepted set instead of returning only a few samples.

    Testing should use a “closed-set QA set”: pick domains where the answer set is clear and can be verified manually (historical titles, administrative divisions, standard numbers, API semantics, and so on), sample each question multiple times, and measure accuracy and miss rate.

    1. # Skeleton for closed-set factual consistency evaluation
    2. cases = [
    3. {"q": "List all title types of the emperors of a certain dynasty", "gold": {"A", "B", "C"}},
    4. ]
    5. def eval_consistency(model, cases, n=5):
    6. hit, miss, total = 0, 0, 0
    7. for c in cases:
    8. for _ in range(n):
    9. pred = set(extract_items(model(c["q"])))
    10. hit += len(pred & c["gold"])
    11. miss += len(c["gold"] - pred)
    12. total += len(c["gold"])
    13. return {"recall": hit / total, "miss_rate": miss / total}

    Note that misses are often more hidden than wrong answers. A wrong answer is usually spotted by the user on the spot, while a miss is easily taken for a “concise answer.” The evaluation script must therefore measure recall explicitly.

    3. Dimension 2: Instruction Following and Answer Boundary Control

    Instruction following examines whether the model stays strictly within the boundary set by the user. The key defect in the source material lies exactly here: the user cared about distinguishing concepts, yet the model output supplementary arguments unrelated to the user’s intent.

    This can be split into three sub-items:

    1. Intent alignment: whether the answer directly addresses the focus of the question rather than a neighboring topic.
    2. Scope constraints: whether explicit constraints such as “list names only,” “no explanation,” or a word limit are respected.
    3. Redundancy suppression: whether the model outputs information the user already knows, its internal reasoning, or self-defensive content.

    In engineering, annotate each test case with “must-include points” and “must-not-appear points,” and score with two metrics:

    1. Must-include coverage = matched points / total annotated points
    2. Must-not-appear violation rate = cases with forbidden content / total cases

    When the violation rate exceeds the threshold, address it first through prompt constraints and post-processing filters rather than declaring the model unusable.

    4. Dimension 3: Context Management and Multi-Turn Consistency

    In multi-turn conversations, the model must correctly maintain confirmed facts. A typical failure mode is that the user has already provided the correct conclusion, but the model keeps reasoning from the wrong premise, effectively talking to itself.

    Build “correction-type multi-turn cases”:

    • Turn 1: ask a question containing a common misconception.
    • Turn 2: the user explicitly states the correct concept and follows up.
    • Turn 3: verify whether the model switches to the correct premise and stops repeating content that has already been rejected.

    Metrics include premise-switch success rate, repeated-statement rate, and number of context-forgetting events. On the engineering side, maintain a “confirmed facts table” in the session state and inject it before each turn’s request, reducing reliance on the model’s own memory.

    5. Dimension 4: Expressing Self-Correction Correctly

    Self-correction is a plus, but correction must face the user, not the model itself. Three criteria apply:

    • Does it clearly state what was wrong and what the correct conclusion is;
    • Does it start from the user’s current understanding and avoid repeating basic explanations;
    • Does it stop expanding on details the user does not care about.

    If the model cannot meet these reliably, use an external verification chain: first verify key entities with rules or a retrieval module, then feed the verification result back as context so the model only summarizes and expresses. This “retrieve–verify–generate” order is more controllable than relying on the model’s self-reflection alone.

    6. Dimension 5: Expression Adaptation and Structured Output

    The same correct content can differ greatly in readability depending on how it is organized. Define an output contract:

    1. {
    2. "answer": "direct conclusion",
    3. "items": [{"name": "entry", "type": "category"}],
    4. "note": "fill in only when uncertainty exists"
    5. }

    Structured output brings two benefits: it is easy for programs to parse and store, and it naturally suppresses redundancy because the model has little room to improvise outside fixed fields. For end-user scenarios, the rendering layer can present the result as cards or a table.

    7. Combined Scorecard and Selection Workflow

    Weight the five dimensions into a regression-testable scorecard:

    Dimension Suggested Weight Key Metrics
    Factual consistency 30% Accuracy, recall
    Instruction following 25% Point coverage, violation rate
    Multi-turn consistency 20% Premise-switch success rate
    Correction expression 15% Correction clarity, redundancy rate
    Structured output 10% Field compliance rate

    The recommended workflow has four steps: build a domain case set with manual annotation; fix sampling parameters and run batch tests; aggregate results with the scorecard and locate weak spots; choose prompts, retrieval augmentation, or post-processing for those weak spots, then run regression tests.

    8. Common Pitfalls

    • Drawing conclusions from a single conversation: model output is stochastic, so sample multiple times and look at the distribution.
    • Checking only wrong answers, not misses: missing completeness is the easiest thing to overlook.
    • Treating expression problems as capability problems: redundancy and off-topic answers can often be solved with contracts and post-processing.
    • Ignoring evaluation set updates: business terms and facts drift, so the case set needs regular maintenance.

    9. Conclusion

    Conversation quality is not a matter of intuition; it is an engineering object that can be decomposed, measured, and optimized. By putting factual consistency, instruction following, context management, correction expression, and structured output into a unified scorecard, teams can rely on data during selection and integration. To build an evaluation and release pipeline quickly within one technology stack, general capabilities such as the model services, object storage, message queues, and log monitoring offered by Baidu AI Cloud can support a closed loop of case management, batch testing, and performance tracking.