LLM Selection and Evaluation: Accuracy and Scenario Fit

    Choosing between large language models is less about ranking them and more about matching capabilities to your workload. This article explains why asking two models the same question cannot prove which is more accurate, breaks accuracy into measurable dimensions, contrasts two common capability profiles, and separates factual hallucination from reasoning errors. It also outlines a practical evaluation workflow with sampling, annotation, metrics, repeated runs, and regression tracking, plus scenario-based selection tips and prompt and engineering constraints for improving reliability.

    1. The Starting Point: Why “Which One Is More Accurate” Is the Wrong Question

    Many teams select a model by asking two models the exact same question and comparing whether the answers conflict. This only shows that the two outputs agree on that single question; it says nothing about overall accuracy. The reason is simple: a single question-and-answer exchange is an extremely low-variance sample, and model output is stochastic. Asking the same model the same question twice can produce different phrasing.

    A more reasonable approach is to break “accuracy” into measurable dimensions: factual correctness, reasoning reliability, instruction following, long-context consistency, timeliness, and multimodal understanding. Models differ in strength across these dimensions, so selection is fundamentally about matching capabilities to a scenario, not about producing a ranking.

    2. Two Typical Capability Profiles

    Feedback from extensive practice suggests that model capabilities tend to fall into two broad tendencies.

    The first leans toward humanities and interaction: Chinese general-knowledge Q&A, short exam-style answers, local life information, image content recognition, context retention across multi-turn conversations, and supplementing real-time information through web retrieval. These strengths suit quiz review, organizing key exam points, interpreting images, and looking up local information.

    The second leans toward hard reasoning: mathematical derivation, code writing, in-depth breakdown of long documents, analysis of research literature, and discussion of algorithmic complexity. Its output style is more formal and rigorous, with relatively complete logical chains, making it suitable for engineering implementation and complex mathematical tasks.

    Notably, the two tendencies are not mutually exclusive. Most general-purpose models possess both, differing only in relative strengths. Evaluation should therefore be designed around the high-frequency tasks of your own business rather than around generic comparisons.

    3. Factual Hallucination and Reasoning Errors Are Different Problems

    Factual hallucination refers to content that looks plausible but does not match facts, such as nonexistent concepts, incorrect numbers, or fabricated citations. A reasoning error is a broken logical chain: the premises are correct, but the conclusion does not follow. The two require completely different remedies.

    For factual hallucination, the common engineering approach is retrieval augmentation: inject authoritative material as context and require the model to cite sources. For reasoning errors, require the model to produce intermediate steps so the failing stage can be located. A model may control facts well but handle complex derivation poorly, or the reverse. This is exactly why two models can “not conflict” yet still be impossible to rank.

    4. A Practical Evaluation Workflow

    Build a small but structured evaluation set that reflects the real distribution of your business:

    1. Sampling: draw 100–300 items from historical real requests, stratified by task type.
    2. Annotation: prepare a reference answer and scoring points for each sample; for factual questions, annotate the single correct value.
    3. Metrics: use accuracy for factual questions, point coverage for open-ended questions, and unit test pass rate for code questions.
    4. Repetition: run each sample multiple times to observe output stability and variance.
    5. Regression: rerun after model or prompt changes to form a trend curve.

    Illustrative evaluation code:

    1. def evaluate(samples, model_call):
    2. result = {"fact": [], "reason": [], "code": []}
    3. for s in samples:
    4. outs = [model_call(s["prompt"]) for _ in range(3)]
    5. if s["type"] == "fact":
    6. result["fact"].append(sum(o == s["answer"] for o in outs) / 3)
    7. elif s["type"] == "code":
    8. result["code"].append(sum(run_tests(o) for o in outs) / 3)
    9. else:
    10. result["reason"].append(coverage(outs[0], s["points"]))
    11. return {k: sum(v) / len(v) for k, v in result.items() if v}

    5. Scenario-Based Selection in Practice

    • Code and algorithms: prefer models with stronger reasoning capability, and add unit tests and static checks for automated validation.
    • Math and research derivation: require step-by-step output and manually spot-check key steps instead of looking only at the final conclusion.
    • Chinese general knowledge and exam review: focus on knowledge point coverage and clarity of expression, and score by comparing against key points.
    • Image and multimodal tasks: prepare a labeled image set and assess recognition accuracy and description completeness.
    • Real-time information: connect a retrieval pipeline and enforce a “no source, no answer” constraint to reduce fabrication risk.

    6. Prompts and Engineering Constraints

    Whatever type of model you choose, reliability can be improved significantly through constraints: limit the answer format, require quoting relevant context fragments, explicitly declare uncertainty, and split long documents into sections, summarize each, then aggregate. On the engineering side, add an output validation layer that automatically checks numbers, units, and code executability.

    When deploying in the cloud, you can store evaluation sets in object storage, decouple evaluation tasks with a message queue, run batch inference on a container platform, and track accuracy fluctuations with logging and monitoring alerts, forming a closed loop.

    7. Conclusion

    Instead of arguing which of two models is more accurate, answer “which one is more stable on my task distribution.” Break accuracy into dimensions, build a stratified evaluation set, and combine retrieval augmentation with automated validation. Selection then turns from subjective impression into a reproducible engineering decision.