BM
Bashar ModallalSOFTWARE · AI · SYSTEMS
← All field notes

AI

RAG Citations, Conflicting Sources, and Useful Abstention

A working link can point to the wrong rule. See how to verify RAG claims, reconcile competing policy versions, and give a useful answer when evidence runs out.

An answer card linked to two evidence cards, one supporting the claim and one flagging a source conflict.

A fictional support assistant is asked: “Can I return this online purchase after 21 days?” Its first search result says 30 days; its second says 14. Both links work. The assistant picks 30, adds a citation, and sounds certain. The problem is now harder to spot: the citation looks like a successful verification. In this example, the first link is a superseded policy, and the second applies to one sales channel from a specific date. A reference can be real, relevant, and still fail to support the answer that accompanies it.

Retrieval-augmented generation (RAG) brings passages into the answering process. To make a RAG answer auditable, treat each material claim as something the application has to account for. Establish what the user is asking, bind the claim to an applicable passage, and retain an explicit outcome when the available evidence cannot settle it. The system should be able to explain that outcome without forcing the user to open every result.

Make the claim the unit of verification

A response like “The return window is 14 days and sale items are excluded” contains at least two material claims. A policy passage may support the window while saying nothing about sale items. Split the sentence or place separate references beside the clauses. Claims about amounts, applicability dates, deadlines, eligibility, and required steps deserve particular care. For a numerical derivation, retain the supporting inputs, units, and calculation rather than pretending the source states the computed number.

The ALCE paper evaluates citation quality alongside answer quality and distinguishes whether citations actually support the text from whether the answer is adequately cited. Apply that distinction to product tests. Clickability, citation correctness, coverage of material claims, and applicability are separate questions. Even a passage that directly states a number is not adequate if it belongs to a different region or version. A document title or search snippet is useful for discovery but generally too broad for a citation.

Give each passage an application-issued identifier. For example, an internal record can pair returns-web, revision 4, section 2.1, and the span of text shown to the model. Include the document owner, approval status, market, channel, effective dates, and a stable version link or authorized locator. Keep the date you indexed it separate from the date it took effect. Uploading an old handbook today does not make it the latest policy. Where the source supports immutable versions, keep enough metadata to see exactly what was used during a review, subject to current access and retention rules. The W3C PROV Ontology provides useful terminology for describing where information came from and who was responsible for producing it.

Put evidence checks between search and display

Question + known context
        |
Retrieve applicable candidates -> retry narrower search if useful
        |
Resolve version, authority, scope, and access
        |
Draft atomic claims with candidate passage IDs
        |
Check support, coverage, and current access
        |
 Render citations | Answer in part | Ask or abstain

Search produces candidates, not a decision. A policy check should exclude passages outside the relevant scope before those passages can influence an answer. For example, if the caller's region is known, filter on that region or approved region-agnostic documents. If the region is unknown and would change the result, ask rather than filling it in. Preserve original authorization at retrieval and recheck when resolving references, including when a reader opens an older answer.

A practical generator output can include claim text, candidate passage IDs, and a proposed status such as supported, missing, or conflicted. Proposed states are hints. The application rejects IDs absent from the allowed evidence bundle, and a verifier checks that the exact passage supports the exact claim with its scope, qualifier, and unit. Validate source identity and dates with ordinary application rules. For semantic support, a verifier model can help triage language, but it can miss negation or agree with a plausible inference. Route consequential unresolved claims to a reviewer or a safe fallback, particularly if the answer would induce someone to take an irreversible action.

The Self-RAG research explores adaptive retrieval and critique within a trained model. You can apply the architectural idea of separating relevance from support without adopting that training method. Corrective RAG likewise explores judging retrieval quality and routing to different retrieval actions. In a private application, a retry might query one authoritative internal collection or use the product code instead of a broad phrase. Do not send sensitive queries to public search or treat a second search as proof. Cap retries and decide how to respond if the authoritative source is still missing.

Resolve conflicts before drawing a conclusion

A useful conflict policy starts with a subject key: the same fact, about the same entity, for the same scope and time. “14 days from delivery” and “30 days from purchase” may be separate rules, not errors to average. Resolve the event date before applying an effective interval. Check whether each passage is approved, in force on that date, and applicable to the case. Then use an explicit rule maintained by the policy owner to give one source precedence over another. A signed contract may override a general delivery FAQ for an account, but only where the organization authorizes that precedence and the contract applies. The retrieval score, citation count, and newest file timestamp are not substitutes for that rule.

If two applicable authoritative sources still disagree, retain both in the decision record and do not silently select one. A log can store the question class, the approved passages considered, rejected candidate reasons, the selected outcome, and the active policy version. Do not duplicate raw private passages in diagnostic logs. The decision record helps maintainers distinguish an ingestion issue from a policy conflict. It also gives support staff a reason they can investigate rather than a generic “low confidence” flag.

Worked example: A return policy changes mid-month

Suppose an online shop has a fictional policy, WEB-RET v3 §2, permitting a return request within 30 days of delivery for orders placed before 15 June. Its approved replacement, WEB-RET v4 §2, permits requests within 14 days of delivery for orders placed on or after 15 June. An in-store leaflet, STORE-RET §1, gives seven days for purchases made at a branch. The support question concerns an online order placed on 16 June, delivered on 18 June, and checked on 9 July.

The service filters out the branch rule. It chooses the policy by order date, then calculates elapsed time from delivery: 21 calendar days. Now the answer can say: “The standard online return window for this order is 14 days from delivery (WEB-RET v4 §2). It has been 21 days since delivery, so it is outside that standard window.” The delivery date comes from the order record or from information the user explicitly supplied; it should not be attributed to the policy. Before saying “you have no remedies,” the assistant would need separate evidence on applicable exceptions. It can say, “I can’t verify whether an exception applies.”

Change only the order date to 14 June. The same 21 days have elapsed, but v3 now applies and the request is within the standard window. Remove the order date and the right answer becomes a question: “Was the online order placed before 15 June?” This one fixture produces three useful tests: current policy, historical policy, and a missing fact that flips the result.

Worked example: A warehouse fee has two approved sources

Suppose a public rate sheet says that a Friday pickup at the fictional Creek warehouse adds AED 80. The warehouse's approved operating bulletin says AED 120 for the same customer class, warehouse, service, and date. Both documents are effective, and neither an exception field nor an authoritative precedence rule resolves the disagreement. The booking guide separately confirms pickups end at 4 p.m.

The assistant can say: “Friday pickup ends at 4 p.m. (Booking Guide §3). I can’t confirm the surcharge: the rate sheet shows AED 80 and the operating bulletin shows AED 120. Ask the warehouse team to confirm the amount before booking.” Show both fee passages if the user may legitimately view them. If one passage is restricted, do not reveal its existence or amount; explain that the price could not be verified and point to the approved route. Do not present an average of AED 100, a made-up range, or the higher fee as the confirmed price. If the rate owner then marks the bulletin as superseded and publishes the change, add a regression test that the answer stops surfacing the obsolete figure.

This outcome is useful abstention: the assistant gives the verified closing time, identifies the missing decision, and explains how to resolve it. If the warehouse or pickup date had been missing instead, one clarifying question could be enough. If the retrieval system were down, describe the temporary unavailability and offer retry or a human route without inventing a conflict.

Test what happens when evidence is imperfect

Build a small, labeled suite with supported, unsupported, historical, scope-mismatched, and genuinely contradictory cases. Include an intentionally plausible citation that references the right document but wrong section. For each fixture list material claims that can be shown, claims that must be omitted, acceptable evidence spans, and the expected response mode. Replay the suite with candidate order shuffled and a stale high-ranking document inserted. The output should not change merely because one duplicated excerpt appears first. Test that a user cannot reopen a citation after access is removed and that a public response never reveals restricted document metadata.

Track supported material claims divided by all material claims made. Separately track required answerable facts actually delivered: a system that returns one safe fact and hides the rest can score well on the first measure. Record false answers on unanswerable fixtures and unnecessary abstentions on answerable ones. Break these down by case type so good results on common questions do not mask repeated failures around policy changes. Monitor retrieval retries and latency separately; this makes it possible to find out whether narrower searches earn their cost. Review representative real-world failures only where approved, with sensitive content removed from diagnostics.

Start with a single policy family and its owner. Establish effective dates, audience, and approved version links, then write one fixture for a superseded rule and another for an irreconcilable conflict. The release test is straightforward: every decision-changing claim has applicable evidence, and every remaining uncertainty leaves the reader with an honest next step.

اقرأ المقال بالعربية

YOUR TAKE

What did you think?

Choose one reaction for this article.

Was this useful?

A cookie helps limit repeat responses. Your feedback is private.

Share this noteLinkedIn ↗X ↗Email ↗

Keep exploring.