Why LLM Recommendations Are Inconsistent: Causes and How to Evaluate Them
Large language models often return noticeably different recommendation lists for the same query, even when the question is identical. This article explains why that happens—differing ranking logic, training data coverage, sampling randomness, and multi-turn correction—and walks through a reproducible evaluation framework using Jaccard overlap, Kendall tau rank consistency, and verifiability checks. It also covers practical engineering measures such as retrieval-augmented generation, explicit scoring rules, structured output, cross-model comparison, and uncertainty disclosure, concluding with a ready-to-use implementation checklist.
1. Background
When users ask a large language model a question like “recommend a few reliable contractors for a half-package renovation of an X-square-meter home in city Y,” they typically assume they will get a fairly neutral list. In reality, the model does not verify each contractor’s business status, work quality, or pricing. Its output is generated from statistical patterns in training data, combined with the current prompt and any retrieved results it may have access to. So it is unsurprising that the same question yields very different answers across models.
Three characteristics of this scenario make it especially tricky:
- Local service information is scattered across review platforms, public business registries, and user feedback, with no unified standard.
- Criteria like “reliable” or “good value for money” are highly subjective—different people weight the same signals very differently.
- Pricing depends on region, materials, workmanship, and timeline; quotes for the same square footage can vary several-fold. Numbers produced by a model are rarely reliable enough to base decisions on directly.
2. Why the Same Question Produces Different Lists
2.1 Different Ranking Scales
There is no universally accepted “recommendation score” inside a model. Some systems implicitly score candidates across multiple dimensions before answering; others simply rank based on semantic similarity between the question and source text. Even when two models both claim to perform a “comprehensive evaluation,” their dimensions, weights, and thresholds may differ. Common approaches include:
- Weighted scoring: Define several dimensions (e.g., credentials, reputation, pricing, service coverage), then compute a weighted sum.
- Subjective matching: Rank by semantic similarity between the question wording and the text, with no explicit calculation.
- Soft weight ranking: Assign decreasing weights to the top candidates based on heuristic experience.
- Threshold filtering: Remove candidates below a score cutoff, then rank the remainder.
All of these produce what looks like “a ranking,” but the meaning differs entirely. The same contractor might rank high under a weighted scheme because of a strong reputation score, yet be overlooked under subjective matching simply because it appears infrequently in the text.
2.2 Training Data and Knowledge Freshness
Training corpora differ in time coverage, sources, and language mix. The more often a contractor appears in training data, the more likely the model is to mention it. Newly opened or strongly regional businesses are almost never mentioned. This bias is never self-declared in the answer, and readers can hardly detect it from the results alone.
2.3 Sampling Randomness
Generative models sample from a probability distribution when producing each token. Sampling temperature, random seeds, and truncation strategies all affect the output. Even with the same model and the same prompt, repeated calls can return different top results. For recommendation tasks, score gaps among the top candidates are often tiny, so slight perturbations can reshuffle the order.
2.4 Corrections in Multi-Turn Conversations
If a user follows up with “is this one actually reliable?”, the model may revise its earlier conclusion to align with the question’s implied stance. This behavior stems from the model’s alignment strategy. It makes the final list more aligned with user expectations, but not necessarily closer to the facts. For evaluation, always record the first-round output and avoid treating post-follow-up answers as an objective baseline.
3. Designing a Reproducible Comparative Evaluation
To judge recommendation quality across models or prompts, you first need to fix the experimental conditions.
3.1 Key Design Points
- Fix the question text exactly; do not rephrase it.
- Record the model name, version, call time, temperature, and system prompt.
- Call each model multiple times and measure the stability of the resulting lists.
- Use only first-round answers as the baseline.
- Parse outputs into structured fields to enable metric computation.
3.2 Evaluation Metrics
Recommendation quality can be measured from three angles:
- Set overlap: Use the Jaccard coefficient to measure the proportion of intersection between two lists, ranging from 0 to 1.
- Rank consistency: For items appearing in both lists, compute Kendall tau, ranging from -1 to 1. Values closer to 1 indicate more consistent ordering.
- Verifiability rate: The proportion of recommended entities that can be matched to a record in public business registries.
Example code:
from scipy.stats import kendalltaudef jaccard(a: set, b: set) -> float:if not a and not b:return 1.0return len(a & b) / len(a | b)def rank_consistency(list_a: list, list_b: list) -> float:common = [x for x in list_a if x in list_b]if len(common) < 2:return float("nan")rank_a = [list_a.index(x) for x in common]rank_b = [list_b.index(x) for x in common]tau, _ = kendalltau(rank_a, rank_b)return taurun_1 = ["CandidateA", "CandidateB", "CandidateC", "CandidateD"]run_2 = ["CandidateB", "CandidateA", "CandidateE"]print(jaccard(set(run_1), set(run_2))) # Set overlapprint(rank_consistency(run_1, run_2)) # Rank consistency
3.3 Interpreting Results
Low overlap only indicates instability—it does not by itself tell you which model is worse. The key is where the instability concentrates. If factual information (e.g., whether a company is still in operation) is consistent across models while ranking differences cluster around reputation judgments, the problem lies mainly in evaluation criteria rather than factual errors. Conversely, if models even contradict each other on basic operational status, the model lacks reliable factual grounding, and external data sources should be introduced.
4. Engineering Practices to Reduce Bias
4.1 Retrieval-Augmented Answers, Not Memory-Based Ones
The most reliable approach is to first recall candidates from verifiable data sources, then have the model generate explanations based on that evidence. The workflow looks roughly like this:
- Retrieve candidate entities based on user conditions (region, area, service type).
- Enrich each candidate with registry information, public reviews, and pricing samples.
- Pass the evidence to the model together with the question.
- Require the model to cite evidence sources for every conclusion, and explicitly mark anything without supporting evidence as “unverified.”
This shifts the model’s role from “knowledge base” to “evidence organizer,” significantly reducing fabricated content.
4.2 Make Scoring Rules Explicit
Do not let the model decide the overall scoring on its own. Specify dimensions, weights, and thresholds in the system prompt, and require the model to output a score for each dimension. This makes the rules auditable and enables comparison across versions. For example, you could define “credential validity 30%, historical complaints 25%, pricing reasonableness 25%, service coverage match 20%” and require itemized scoring.
4.3 Structured Output
Agree on a unified field format, for example:
{"candidate": "Provider name","registration_status": "active / unknown","price_range_per_sqm": {"min": 0, "max": 0, "source": ""},"evidence": ["source1", "source2"],"confidence": "high / medium / low"}
The backend can then directly validate numeric ranges, source completeness, and missing fields, reducing the cost of manually reading natural-language output. For pricing fields, you can also define reasonable bounds; results outside the range are automatically routed to a review queue.
4.4 Cross-Model Comparison and Human Review
The intersection of multiple models’ results can serve as a first-pass filter, but should not be treated as the final list. For decisions involving large expenditures or personal safety, keep a human review step focused on credentials, contract terms, and payment methods. The value of cross-model comparison lies in surfacing disagreements—disagreement itself is the signal that human intervention is needed.
4.5 Expressing Uncertainty
When evidence is insufficient, the system should proactively state its uncertainty rather than present a seemingly definitive ranking. The frontend can collapse low-confidence results, display the information’s last-updated timestamp, and prompt users to verify on their own.
5. Implementation Checklist
- Have you fixed the evaluation inputs and recorded model versions and parameters?
- Have you distinguished factual fields from subjective evaluation fields?
- Does the model provide evidence sources for every conclusion?
- Have you applied sanity checks to numeric fields such as pricing?
- Does the UI display confidence levels and information freshness?
- Have you preserved first-round outputs for regression comparison?
