LLM Selection and Evaluation: Understanding Capability Divergence and a Practical Selection Guide
When you run the same task across different large language models, the outputs can vary dramatically: one model writes more fluently, another is more rigorous with code, and another feels more natural in multi-turn conversation. This capability divergence is not accidental—it is shaped by training data, alignment strategies, and inference-time optimization. This article presents a practical framework for evaluation and selection, helping you move from "which model feels better" to "deciding with evidence which model to use."
LLM Selection and Evaluation: Understanding Capability Divergence and a Practical Selection Guide
Model selection often runs into a real-world problem: for the same task, different models produce very different outputs. In writing tasks, some models read more fluently; in coding tasks, some are more rigorous; in multi-turn dialogue, some feel more natural. This divergence in LLM capabilities is not accidental—it is the combined result of training data, alignment strategies, and inference-time optimization. This article offers a practical evaluation and selection methodology to help you move from “gut feeling about which model is better” to “using evidence to decide which model to use.”
1. Why Different Models Excel at Different Things: The Role of Data and Alignment
1.1 Pretraining Objectives and Data Composition
A model’s foundational capabilities are largely determined during pretraining. Differences in domain distribution, language ratios, and content quality of the pretraining corpus directly influence the model’s knowledge structure, expressive habits, and reasoning style.
- If the corpus contains a higher proportion of technical documentation, academic papers, and code, the model is usually stronger in reasoning, coding, and rigor;
- If the corpus leans more toward literature, dialogue, and general text, the model’s language fluency and expressive diversity tend to stand out;
- If corpus cleaning emphasizes deduplication, quality filtering, and the removal of low-quality repeated text, outputs may be more natural and hallucination rates may be lower—but this is a correlational observation, not an absolute causal link.
1.2 Alignment Strategies and Preference Optimization
Supervised fine-tuning, preference optimization, and reward model design that follow pretraining significantly shape a model’s output style and value orientation. Different teams have different preferences for “helpful,” “harmless,” “honest,” and “vivid,” which lead models to strike different balances between “pleasing the user” and “pursuing factual rigor.”
As a result, some models express themselves vividly but their content does not hold up under scrutiny, while others argue with solid grounding but come across as rigid. This is not a single-dimensional matter of “capability level,” but rather capability divergence under different alignment objectives.
1.3 Reinforcement of Reasoning and Instruction Following
In recent years, specialized optimization around reasoning ability has become an important source of differentiation. Examples include encouraging the model to perform more thorough intermediate reasoning before giving an answer, or strengthening its ability to break down multi-step tasks. Such optimizations improve accuracy on complex problems, but they can also introduce side effects such as longer responses and a more formulaic style.
Therefore, when evaluating a model, you should not look only at “is it smarter,” but also at response length, format stability, cost changes, and user experience.
2. Breaking Down “Strong Capability” into Six Quantifiable Dimensions
Before selection, you should decompose the vague notion of “strong capability” into measurable dimensions. Internal scores can be unified on a 0-to-1 scale, or mapped to a 1-to-5 scale: 1 means unusable, 3 means basically usable, and 5 means clearly better than expected.
| Dimension | Typical Scenario Weight | Scoring Method | Suggested Pass Threshold | 1–5 Score Anchor Examples |
|---|---|---|---|---|
| Language quality and aesthetics | High: copywriting, official accounts; Medium: product descriptions; Low: data extraction | Human scoring, review model | 3.5 or above | 5: fluent, natural, consistent style; 3: readable but plain; 1: stiff or full of grammatical errors |
| Factuality and rigor | High: technical documentation, finance and legal; Medium: customer support Q&A | Human review, rule checks, retrieval verification | 4.0 or above | 5: factually accurate, no fabrication; 3: minor ambiguity; 1: obvious errors |
| Instruction following | High: structured output, format-constrained tasks | Rule checks | 0.95 or above | 5: format, length, and role fully compliant; 3: basically compliant with minor deviations; 1: serious violations |
| Logical reasoning and coding | High: coding assistants, data analysis | Code execution, test case pass rate | 0.8 or above | 5: correct multi-step reasoning, runnable code; 3: partially usable; 1: unable to complete |
| Long-context handling | High: contract review, long-document summarization | Human extraction checks, key-question answering | 4.0 or above | 5: complete cross-paragraph information; 3: local omissions; 1: unable to locate |
| Multi-turn interaction stability | High: customer service, conversational assistants | Intent retention rate, human scoring | 0.9 or above | 5: consistent goals across turns; 3: occasional drift; 1: frequently off-topic |
Each business scenario assigns different weights to these dimensions. Content creation values language quality more highly, technical documentation generation relies more on factuality and instruction following, coding assistance emphasizes logical reasoning and execution accuracy, and intelligent customer service focuses on multi-turn interaction stability.
3. Building Your Own Evaluation System: Real Business Samples, Prerequisites, and Reproducibility
Rather than relying on public leaderboards, it is better to build a small but focused evaluation set for your own business. The core idea is to score real business samples across the dimensions above. 100 samples is a reasonable starting point, but when the sample size is small and variance is high, or when the scenario distribution differs significantly from your business, conclusions can reverse. Therefore, when the evaluation set’s distribution does not match the business, a small sample set that stays close to the business is usually more informative—though you should still pay attention to sample size and scoring consistency.
Evaluation Prerequisites
Before building your evaluation set, you must first complete the following compliance and quality preparations:
- Business samples must first be desensitized for sensitive fields such as phone numbers, ID numbers, and customer names;
- Model outputs need human review before being used in production, to avoid unreviewed automated results directly affecting the business;
- When evaluating via third-party APIs, you must confirm data compliance, retention policies, and log isolation requirements;
- Public leaderboards may be inflated due to training data contamination and cannot replace a self-built evaluation;
- The evaluation set should distinguish between a dev set and a test set, to avoid contaminating the test set after prompt tuning.
Reproducibility Essentials
For evaluation to be reproducible, you should fix and record the model version, snapshot, sampling parameters such as temperature, and the prompt templates. If the same model version is unavailable, at minimum record the version identifier, call time, parameter configuration, and evaluation environment. For outputs with high randomness, you can repeat sampling 2 to 5 times to observe stability and variance. Once an evaluation set has been used for prompt tuning, it can no longer serve as a test set; it is recommended to split off a dev set for tuning and reserve the test set for final acceptance.
A Minimal Runnable Evaluation Framework
The code below uses 0-to-1 scoring throughout. model_call needs to receive the model name, version, and temperature to support later reproduction and version management.
from dataclasses import dataclassfrom typing import Callable, Optional, List, Dict@dataclassclass EvalCase:prompt: strdimension: str # factual / style / instruction / logic / long_context / dialoguereference: Optional[str] = None # Reference answer, used for factual or style scoringrubric: Optional[List[str]] = None # Scoring points or format constraintsdef satisfies_constraints(output: str, rubric: Optional[List[str]]) -> bool:"""Example rule: check whether the output contains the specified constraints."""if not rubric:return Truereturn all(item in output for item in rubric)def human_or_llm_review(output: str, case: EvalCase) -> float:"""Placeholder function: in production, replace with human scoring, a review model, or retrieval verification."""return 0.8 if output.strip() else 0.0ModelCall = Callable[[str, str, str, float], str]def evaluate(model_call: ModelCall,model_name: str,version: str,temperature: float,cases: List[EvalCase]) -> Dict[str, float]:scores: Dict[str, List[float]] = {}for case in cases:output = model_call(case.prompt, model_name, version, temperature)if case.dimension == "instruction":score = 1.0 if satisfies_constraints(output, case.rubric) else 0.0else:score = human_or_llm_review(output, case)scores.setdefault(case.dimension, []).append(score)return {dim: sum(v) / len(v) for dim, v in scores.items()}def demo_model_call(prompt: str, model_name: str, version: str, temperature: float) -> str:if "输出JSON" in prompt:return '{"a": 1}'return "Model routing is the mechanism of dispatching requests to the appropriate model based on task type."if __name__ == "__main__":cases = [EvalCase(prompt="Explain in one sentence what model routing is",dimension="factual",reference="Model routing is the mechanism for selecting a model based on task type, cost, or capability requirements."),EvalCase(prompt="Output JSON: {\"a\": 1}",dimension="instruction",rubric=['{"a": 1}']),]print(evaluate(demo_model_call, "demo-model", "v1", 0.2, cases))
4. A Selection Decision Framework: From Scenario Weights to Pre-Release Checks
After completing the evaluation, it is recommended to select models along the following path:
- Define scenario weights: List the 2 to 3 dimensions most important to the scenario, treating the rest as secondary references. For example, customer service values multi-turn interaction stability, while a coding assistant values reasoning and coding accuracy.
- Layer the candidate pool: Classify candidate models by capability profile into categories such as expressive, reasoning-oriented, and interaction-oriented, and judge them using observable signals.
- Expressive: high language quality scores, high human blind-preference win rate, stable copywriting style;
- Reasoning-oriented: high multi-step reasoning accuracy, high code test-case pass rate, few factual errors;
- Interaction-oriented: high multi-turn intent retention, natural responses, little context drift.
- Scenario matching: Prioritize expressive models for writing and marketing copy; prioritize reasoning-oriented models for data analysis and coding assistance; prioritize interaction-oriented models for intelligent customer service and conversational assistants.
- Hybridization and routing: When a single model cannot cover all scenarios, you can introduce a model routing mechanism that dynamically dispatches requests to the most suitable model based on task type.
- Cost and stability checks: With effectiveness requirements met, evaluate call cost, response latency, rate-limiting policies, and the impact of version changes.
Selection Checklist (Check Off Item by Item Before Release)
- Does it cover real business samples, rather than only generic examples?
- Have sensitive fields been desensitized and compliance confirmed?
- Are the model version, temperature, and prompt templates fixed and recorded?
- Have dev and test sets been separated?
- Is a pass threshold defined for each dimension?
- Are effectiveness, cost, latency, and stability all evaluated?
- Is human review arranged for high-risk outputs?
- Is a continuous regression mechanism in place to handle model iterations?
5. Best Practices and Common Pitfalls
Common Pitfalls
- Pitfall 1: Over-relying on a single leaderboard ranking. Leaderboards are affected by evaluation set distribution and may not match your own business, so a self-built evaluation is essential.
- Pitfall 2: Ignoring style-scenario fit. Rigorous technical documentation generated by an overly literary model can actually reduce usability.
- Pitfall 3: Only testing “can it generate” without testing “is it reliable”. Factuality, instruction following, and safety must be included in hard checks.
- Pitfall 4: Ignoring version and sampling randomness. The same model can behave differently across versions and temperatures, so evaluation results must record context.
Best Practices
The safest approach is to accumulate the business evaluation set, scoring rules, version records, and failure samples as team assets. As models continue to iterate, use a fixed evaluation set for regression testing to compare whether a new version truly brings gains. Understanding LLM capability divergence is not about finding an absolutely optimal model, but about precisely matching a model’s capability profile to your business scenario—so that real projects achieve stable, reliable, and cost-effective outcomes.
