Why a High Similarity Score Still Means RAG Should Not Answer

The article shows that a retrieval‑augmented generation system can pass a similarity threshold yet give a wrong answer because the retrieved evidence does not cover all required conditions, and it proposes a condition‑checklist approach instead of relying on raw scores.

Wu Shixiong's Large Model Academy
Wu Shixiong's Large Model Academy
Wu Shixiong's Large Model Academy
Why a High Similarity Score Still Means RAG Should Not Answer

Why a High Similarity Score Still Means RAG Should Not Answer

During an interview the interviewer asked why a RAG system should refuse to answer even when the similarity score exceeds the threshold. The author demonstrates that simply setting a similarity cutoff is insufficient.

How a Passed‑Score Answer Can Be Wrong

To illustrate the problem a minimal reproducible example is built. The knowledge base contains three insurance clauses. The retriever scores a clause by counting how many characters from the question appear in the clause; the threshold is set to 3. Two similar questions are compared:

Question 1: “Is medical expense for accidental injury reimbursed?” – the relevant clause receives a score of 8, passes the threshold, and the system answers “The policy covers medical expenses caused by accidental injury [1]”. Both required conditions (accident = accidental injury, expense = medical) are covered, so the answer is valid.

Question 2: “Can medical expense caused by sudden death be compensated?” – clause 2 scores 7 (above the threshold) and the system still returns a “compensated” answer, but none of the three clauses state that sudden death counts as an accidental injury. The necessary condition is missing, so the answer is invalid.

A third question, “Can cancer be compensated?” receives a maximum score of 1, below the threshold, and is correctly rejected. The failure case shows that a high score can hide a missing key condition.

8 分能答、7 分却不能答:分数只做粗筛
8 分能答、7 分却不能答:分数只做粗筛

What Conditions Are Required and What the Evidence Actually Covers

The erroneous answer is not due to a broken retriever or fabricated citations; the similarity score faithfully reflects character overlap, but the system never asks whether the retrieved evidence satisfies the question’s necessary conditions. The author lists the two judgments needed for the second question and shows that only one is covered by clause 2:

Whether medical expenses caused by accidental injury are covered – covered

Whether sudden death counts as an “accidental injury” – not covered

Because the second judgment is missing, the answer should be rejected despite the high score.

答案是否超出证据,与证据是否覆盖问题,是两个方向
答案是否超出证据,与证据是否覆盖问题,是两个方向

Adjusting the Threshold Cannot Fix Missing Conditions

When faced with such failure samples the first instinct is to tweak the threshold. Lowering it to 0 lets even unrelated clauses surface, producing nonsensical answers (e.g., for the cancer question). Raising it to 8 separates the two examples in this toy case, but the separation is accidental – it does not guarantee that all required conditions are satisfied.

阈值归零会放进噪声,阈值为 8 也只是偶然分开两个样本
阈值归零会放进噪声,阈值为 8 也只是偶然分开两个样本

Condition Checklist Determines Answerability First

The recommended workflow replaces the raw score check with a checklist of required conditions. For each question, list the necessary judgments, then verify whether the retrieved evidence covers each one. If any judgment is uncovered, record the gap and decide whether to ask a follow‑up, reject, or provide a partial answer.

Two implementation routes are discussed:

Manual checklist: suitable for high‑value, stable question types (e.g., insurance claims) where conditions such as accident type, expense type, and exclusions are stable.

Automated parsing: adds a step that extracts the condition list from the question but does not generate the answer itself; missing evidence stays in the “missing list”.

The extra parsing step incurs real cost (additional call, logic, occasional manual rule creation), so it should be applied to questions where a wrong answer has high audit cost.

When a failure sample appears, the practitioner should first write down the required judgments, compare them against the retrieved clauses, log any missing items, and then decide whether to improve retrieval, enrich the knowledge base, or adjust the response strategy. Global threshold changes are a last resort because they affect all queries.

Related RAG project: https://www.wushixiongai.com/projects/rag-system Threshold decides which candidates enter; evidence coverage decides whether an answer can leave.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

RAGretrieval-augmented generationAI QAcondition checklistevidence verificationsimilarity threshold
Wu Shixiong's Large Model Academy
Written by

Wu Shixiong's Large Model Academy

We continuously share large‑model know‑how, helping you master core skills—LLM, RAG, fine‑tuning, deployment—from zero to job offer, tailored for career‑switchers, autumn recruiters, and those seeking stable large‑model positions.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.