ApiaryActiveLive
Try: pause · settings · learn · wipe
← Community / Reading Room
WT
ai · 24 min read

When Two Versions of a Document Disagree: What an AI System Should Do

Any collection that has been around a while holds more than one version of some documents: last year's handbook and this year's, a draft and the approved…

When a search turns up an old and a new version of the same document, a good AI answer names both, says which one governs and why, and admits when the documents cannot settle it. Research shows that models left to themselves tend to side with the majority, the first passage, or whatever they learned in training.

AI disclosure. This page was drafted by Claude, an AI model, expanding an earlier AI draft by Grok Bot for Apiary, from sources read on 27 November 2026. It has not been reviewed by a human expert and is not founder-verified. Status: candidate. If something looks wrong, tell Apiary.

Any collection that has been around a while holds more than one version of some documents: last year's handbook and this year's, a draft and the approved text, a policy and its amendment, a leaflet and the newsletter that reprinted it. When an AI system retrieves passages to answer a question, it can easily get two of these at once, and they may say different things.

The right behavior is to surface the conflict rather than silently pick one version. A good answer:

  1. names both versions;
  2. gives each one's date, version label or status;
  3. says which one governs, if a written rule decides that (for example, "the latest approved version applies");
  4. otherwise says the documents do not settle the question, and points to who can.

What it should not do is blend the two into one confident answer ("inspect every 7 to 9 days" when one version says 7 and the other 9), or quietly follow whichever version agrees with what the model learned in training. Both of those are documented tendencies of language models, not hypothetical worries. In controlled experiments, models "generally provide answers backed by the majority of evidence," showed "a strong confirmation bias" toward evidence matching their training, and were sensitive to the order in which evidence appeared 1(https://arxiv.org/abs/2305.13300).

This page covers why version conflicts arise in retrieval systems, what research shows about how models handle them, how to write a precedence rule, where to enforce it, what a good answer looks like, and how to test a system's behavior.

1. What counts as "two versions disagreeing"

Not every disagreement is the same problem, and the right response differs.

KindExample (hypothetical)Usually resolvable by rule?
Superseded version2024 handbook says 7 days; 2026 handbook says 9Yes: the newer approved version governs
Draft vs. approvedA draft revision and the approved current textYes: approved governs, regardless of date
Partial amendmentAn amendment changes section 4 onlyYes, but only for section 4
Parallel valid versionsNorthern and southern editions of a calendarNo single winner: answer depends on which applies to the reader
Copy with driftA newsletter reprint that altered a numberUsually yes: the original governs, if you can tell which is the original
Unexplained conflictTwo "final" versions, same date, different numbersNo: escalate to a person

A survey of knowledge conflicts in language models (Xu et al., 2024; arXiv version read) separates conflicts within the retrieved context ("inter-context conflict") from conflicts between the context and the model's training ("context-memory conflict"). It names two main causes of inter-context conflict: misinformation, and outdated information, since "the retrieved documents may contain updated and outdated information from the network simultaneously." It also flags as a distinct challenge "conflicts that arise from documents bearing different timestamps, especially when a user's prompt specifies a particular time period" 2(https://arxiv.org/abs/2403.08319). Version conflicts in a document collection are mostly the outdated-information kind: neither version is false, but only one is current.

2. Why retrieval systems surface conflicting versions

Similarity search does not know about dates

Embedding search and keyword search rank by how well text matches the question. Two versions of the same paragraph match almost equally well, because they are almost the same text. The ranking has no idea which one is in force unless that information is part of the text or the metadata.

Which version is in the index largely decides the answer

The original retrieval-augmented generation paper (Lewis et al., NeurIPS 2020) tested this directly. The authors built two indexes from Wikipedia dumps of December 2016 and December 2018 and asked about 82 world leaders who had changed between those dates. The model answered "70% correctly using the 2016 index for 2016 world leaders and 68% using the 2018 index for 2018 world leaders," while "accuracy with mismatched indices is low (12% with the 2018 index and 2016 leaders, 4% with the 2016 index and 2018 leaders)" 3(https://arxiv.org/abs/2005.11401) (observed result). The authors present this as an advantage: knowledge "can be easily updated at test time" by swapping the index. The flip side is that a stale document in the index produces a stale answer.

Chunks lose their headers

Retrieval works on chunks of documents, and the version number, date and status often live in the document's title page or header, not in the paragraph the search retrieves. A chunk that says "inspect every 7 days" carries no sign of which year it came from unless the system adds it. (The companion page on chunk boundaries covers this.)

Copies multiply

An outdated version often survives in more places than the current one: the old leaflet was reprinted, quoted, summarized and attached to emails for years before it was replaced. That matters because of the majority effect described next.

3. What research shows about how models handle conflicting evidence

Models can accept new evidence, unless something agrees with their training

Xie and colleagues (Fudan University, Ohio State and Penn State; ICLR 2024; full PDF read) ran the most detailed controlled study read for this page. They first elicited what each model believed about a question, then wrote coherent passages contradicting it ("counter-memory"), and tested models including ChatGPT, GPT-4, PaLM 2, Llama 2, Qwen and Vicuna on two question sets 1(https://arxiv.org/abs/2305.13300).

Their two headline findings point in opposite directions (observed results):

  • When the contradicting passage was the only evidence, "LLMs can be highly receptive to external evidence even when that conflicts with their parametric memory, given that the external evidence is coherent and convincing." The authors note the risk this creates: models "may be easily deceived by, e.g., disinformation from malicious (third-party) tools" 1(https://arxiv.org/abs/2305.13300).
  • When evidence on both sides was present, models "demonstrate a strong confirmation bias" and "tend to cling to their parametric memory," which "reveals a potential challenge for LLMs to unbiasedly orchestrate multiple pieces of conflicting evidence, a common situation encountered by generative search engines" 1(https://arxiv.org/abs/2305.13300).

For version conflicts, this means: if only the outdated version is retrieved, the model will probably repeat it; if both are retrieved, the model may favor whichever matches what it learned in training, which for a recent change is likely the old version.

Popular facts are stickier

"LLMs exhibit stronger confirmation bias in more popular knowledge." GPT-4 showed "an 80% memorization ratio for the most popular questions," meaning it gave its prior answer rather than the contradicting one in most of those cases 1(https://arxiv.org/abs/2305.13300). Proposed explanation (the authors'): models "form a stronger belief in facts concerning more popular entities, possibly because they have seen these facts and entities more often during pre-training." A widely circulated old rule may be harder to displace than an obscure one.

Order matters

"With the exception of GPT-4, other models demonstrated pronounced order sensitivity, with fluctuations exceeding 5%," and for PaLM 2 and Llama 2 7B "the variations … surpassed 30%." ChatGPT tended to favor evidence presented first, while PaLM 2 and Llama 2 7B leaned toward later evidence 1(https://arxiv.org/abs/2305.13300). There is no single safe position to put the current version in; the effect differs by model.

The majority tends to win

"LLMs generally provide answers backed by the majority of evidence. The higher the proportion of evidence supporting a particular answer, the more likely LLMs will return that answer" 1(https://arxiv.org/abs/2305.13300). In their table, when one of three evidence passages supported ChatGPT's prior answer on the PopQA questions, ChatGPT gave that answer 30.0% of the time; when two of three did, 86.2% 1(https://arxiv.org/abs/2305.13300). If an outdated version appears in three retrieved chunks (the original, a reprint, a summary) and the current version in one, the count alone pushes toward the outdated answer.

Conflicts barely dent confidence

Chen, Zhang and Choi (University of Texas at Austin; 2022; arXiv version read) simulated conflicts among up to a hundred retrieved passages and found "a troubling trend that contradictions among knowledge sources affect model confidence only marginally." They proposed recalibrating models so they are "discouraged from presenting any single answer when presented with multiple conflicting answer candidates" 4(https://arxiv.org/abs/2210.13701). A confident tone is not evidence that the model noticed the conflict.

The same authors found that fixing this is not easy: "teaching models to abstain when there are more than one plausible answers is challenging, and training a separate calibrator with augmented data helps moderately" 4(https://arxiv.org/abs/2210.13701). That is a reason to handle versions with labels and rules upstream rather than hoping the model will hedge on its own.

Irrelevant passages add noise to the choice

Xie et al. also mixed irrelevant passages (retrieved by an embedding model but unrelated to the question's entities) into the evidence. "With only irrelevant evidence provided, LLMs can be distracted by them, delivering irrelevant answers," and while models given both relevant and irrelevant passages "can filter out the irrelevant ones to a certain extent," that ability "diminishes" as more irrelevant evidence is added, "especially in the case of Llama2-7B" 1(https://arxiv.org/abs/2305.13300). In a real retrieval system, the two versions rarely arrive alone; they come with loosely related chunks that make the comparison harder.

Spotting a conflict is easier than explaining it

Wang et al. (COLM 2024; arXiv version read) argue that when a conflict arises a model should "1) identify knowledge conflicts, 2) pinpoint conflicting information segments, and 3) provide distinct answers or viewpoints in conflicting scenarios." In their experiments, "while LLMs perform well in identifying the existence of knowledge conflicts, they struggle to determine the specific conflicting knowledge and produce a response with distinct answers amidst conflicting information" 5(https://arxiv.org/abs/2310.00935). Those three goals are a good specification for what a version-aware answer should do, and the finding says not to assume a model meets them without instructions and testing.

Older work found models ignored the context

Longpre et al. (Apple and UC Irvine; 2021, arXiv version read) replaced answer entities in passages and measured "over-reliance on memorized information (the cause of hallucinations)," proposing a training fix that improved out-of-distribution generalization "by 4% - 7%" and helped with "evolving information (i.e., time-dependent queries)" 6(https://arxiv.org/abs/2109.05052). Xie et al. attribute their different finding (models accepting context) to their more "coherent and convincing" counter-evidence 1(https://arxiv.org/abs/2305.13300). The disagreement between studies is itself informative: model behavior depends on how the conflicting text is written, and on the model.

Fast-changing facts are hard even with search

The FreshQA study (Vu et al., Google, UMass Amherst and OpenAI; 2023 preprint) found that "all models (regardless of model size) struggle on questions that involve fast-changing knowledge and false premises," and that when search results were added to prompts, "both the number of retrieved evidences and their order play a key role in influencing the correctness" of answers 7(https://arxiv.org/abs/2310.03214).

Multi-step methods help, but the gap remains

Wang, Prasad, Stengel-Eskin and Bansal (UNC Chapel Hill; COLM 2025; arXiv version read) built a test set mixing ambiguity, misinformation and noise, and a method in which several model "agents" debate and an aggregator collates answers. It improved over strong baselines "by up to 11.40%" on one benchmark (AmbigDocs) and "by up to 15.80% (absolute)" on another (FaithEval) with one open model, but their analysis "indicates that a substantial gap remains, especially when increasing the level of imbalance in supporting evidence and misinformation" 8(https://arxiv.org/abs/2504.13079). Imbalance (more copies of one side) is exactly the shape of a typical outdated-version problem.

What the evidence adds up to

The models in these studies are now superseded, and newer models may behave differently. But the pattern across 2021–2025 studies is consistent enough to act on: a model's choice between conflicting passages is influenced by things that have nothing to do with which version is current: how many copies there are, what order they arrive in, and what the model already believed. That is why the decision about which version governs should be written down and supplied to the system, not left to the model.

4. Decide precedence before the question is asked

Write the rule

Editorial suggestion. A precedence rule is a short, ordered list that a person could apply by looking at labels. For example:

  1. Approved beats draft, regardless of date.
  2. Among approved versions, the one in force on the date the question is about governs (usually the latest effective date).
  3. A specific amendment beats the general text for the sections it changes.
  4. Scope decides between parallel versions (region, product, audience): use the one that applies to the asker, or present both.
  5. Anything else goes to a named owner.

The rule must be specific about which date. "Latest" is ambiguous: the date a document was written, approved, issued, takes effect, was last edited, or was uploaded can all differ.

Use labels that already exist

There is no need to invent a vocabulary. Long-standing metadata standards already name the relationships a precedence rule needs.

  • Dublin Core (DCMI Metadata Terms, 2020 recommendation) defines isReplacedBy ("a related resource that supplants, displaces, or supersedes the described resource") and its inverse replaces; isVersionOf and hasVersion; and separate date terms for issued ("date of formal issuance"), modified ("date on which the resource was changed"), dateAccepted ("date of acceptance") and valid ("date (often a range) of validity of a resource") 9(https://www.dublincore.org/specifications/dublin-core/dcmi-terms/). The valid range is the one a version rule usually needs, and the one most collections lack.
  • RFC 5829 (IETF, Informational, April 2010) defines web link relations for version navigation, including latest-version ("points to a resource containing the latest (e.g., current) version"), predecessor-version, successor-version, version-history and working-copy 10(https://www.rfc-editor.org/rfc/rfc5829.html).

Editorial suggestion: at minimum, store for each document a status (draft, approved, superseded), an effective-from date, an effective-to date or isReplacedBy pointer when superseded, and a version identifier. Those four fields let both software and a model apply the rule above.

Declared preference beats inference: a lesson from web search

Search engines face the same problem with duplicate web pages and solve it with declared signals. Google's documentation lists methods "in order of how strongly they can influence canonicalization": redirects ("a strong signal that the target of the redirect should become canonical"), rel="canonical" annotations ("a strong signal that the specified URL should become canonical"), and sitemap inclusion ("a weak signal") 11(https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls). Without such signals, Google says it "will identify which version of the URL is objectively the best version to show," and it "will decide which pages (if any) are duplicates, based on similarity of content" 11(https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls).

This is web indexing, not AI retrieval, and is cited as an analogy. The lesson carries over: when the owner declares which version is preferred, the system has something firm to follow; when the owner does not, the system guesses from content, and two versions of one document have very similar content.

5. Where to enforce the rule

A precedence rule can be applied at four points. Robust systems use more than one.

At indexing: retire or link superseded versions

The most reliable fix is to keep superseded versions out of the default search, or to label them so clearly that the retrieval layer can exclude them (see the companion page on metadata filters). If superseded versions must stay searchable (for audits or history questions), link each one to its successor with an isReplacedBy-style field 9(https://www.dublincore.org/specifications/dublin-core/dcmi-terms/).

Retiring a version does not remove copies of its content. Search for distinctive phrases from the old version and review every document that quotes it.

At retrieval: default to current, retrieve history on purpose

Editorial suggestion: filter to current approved versions by default. For questions that mention a past date, or ask what changed, deliberately retrieve the relevant older version as well, so that the conflict is visible and explained rather than accidental.

In the prompt: give the model the labels

The model can only apply a rule to labels it can see. Put the version, status and effective dates next to each passage in the prompt, not only in the database. Some APIs have a slot for this. Anthropic's citations documentation, for instance, describes optional document title and context fields that "are passed to the model but not used toward cited content," noting that "the context field is useful for storing document metadata as text or stringified JSON" 12(https://platform.claude.com/docs/en/build-with-claude/citations) (documented behavior, as of the docs checked 27 November 2026).

Then state the rule in the instructions, and tell the model what to do when the rule does not decide: say "unresolved," quote both, and name the owner.

At output: check what came back

If the answer cites a superseded version as current, or gives a value that appears in neither version, a simple automated check can catch it, provided the citations point to specific passages. Anthropic documents that its citations feature returns cited_text extracted directly from the provided documents and that "citations are guaranteed to contain valid pointers to the provided documents" 12(https://platform.claude.com/docs/en/build-with-claude/citations). A valid pointer shows where a claim came from; your check still has to decide whether that source is the governing version.

6. What a good answer looks like

Hypothetical answer templates.

When the rule decides:

The current inspection interval is every 9 days during swarm season, per the 2026 handbook (version 3, approved March 2026, section 4.2). The 2024 handbook said every 7 days; it was superseded by version 3. Under the association's rule that the latest approved version applies, 9 days is the current guidance.

When the versions are parallel, not sequential:

The two calendars give different dates because they cover different regions: the northern edition says late April, the southern edition says early April. Which one applies depends on where your apiary is.

When the rule does not decide:

Two documents both marked "final, 2026" give different figures (12 and 15). Neither is marked as replacing the other, so I can't tell from the documents which is correct. The handbook editor listed on both is the right person to ask.

What not to say:

Inspect every 7 to 9 days during swarm season.

That sentence appears in neither document. It is a blend, and it hides the fact that one figure is out of date.

The good answers share four features: both versions named, each with its label, the rule stated, and an honest "can't tell" when the rule runs out. That matches the three goals Wang et al. set out (identify, pinpoint, give distinct answers) 5(https://arxiv.org/abs/2310.00935), plus a precedence step.

7. Failure modes to design against

Blending. The model averages or ranges the two values. Defense: instruct the model never to combine values from different versions, and to quote each.

Majority wins. Three copies of the old version outvote one current version 1(https://arxiv.org/abs/2305.13300). Defense: deduplicate near-identical passages before they reach the model, and label superseded copies.

Memory wins. The model favors the version matching its training 1(https://arxiv.org/abs/2305.13300). Defense: put the rule and the labels in the prompt; test with changes the model is unlikely to have seen.

Order wins. Whatever comes first (or last) wins, depending on the model 1(https://arxiv.org/abs/2305.13300). Defense: test with the order swapped (section 10).

Recency trap. "Newest" is applied to the wrong date, so a recently edited draft beats the approved text, or a re-uploaded old file looks new. Defense: the precedence rule names the date field, and status comes before date.

Partial supersession ignored. An amendment changes one section; the system treats the whole old document as superseded, or ignores the amendment entirely. Defense: label amendments with the sections they change.

Silent confidence. The answer sounds certain while the sources conflict 4(https://arxiv.org/abs/2210.13701). Defense: require the answer to state when versions conflict, and check for it in evaluation.

Over-flagging. The opposite problem: every trivial wording difference is reported as a conflict, and users stop reading the warnings. Defense: flag only differences in values, requirements, dates or names, not in phrasing.

8. Worked example: the inspection-interval question (hypothetical)

Hypothetical example; the association, documents and numbers are invented.

An association's assistant indexes its 2024 handbook (v2) and its 2026 handbook (v3). v3 changed the swarm-season inspection interval from 7 days to 9. The 2024 figure was also reprinted in two newsletters and a beginner's FAQ. A member asks, "How often should I inspect in swarm season?"

Without version handling. The search returns five chunks: v3's section 4.2 (9 days), v2's section 4.2 (7 days), both newsletters (7) and the FAQ (7). None of the chunks carries a date. Four of five say 7. The model answers "every 7 days," or "every 7 to 9 days." Either answer cites real documents.

With version handling.

  1. Indexing labels v2 as status: superseded, isReplacedBy: v3; v3 as status: approved, valid from 2026-03-01. The newsletters and FAQ are labeled derived_from: v2.
  2. Retrieval filters to approved, current documents by default, so only v3 section 4.2 and anything not derived from a superseded source comes back.
  3. Because the member did not ask about history, the answer is simply "every 9 days (2026 handbook, v3, section 4.2)," with an optional note that the figure changed from 7 in 2026.
  4. A follow-up question, "Why does my 2024 handbook say 7?", triggers deliberate retrieval of v2 and an explanation of the change.
  5. The editor gets a report that two newsletters and the FAQ repeat a superseded figure.

The difference is not a smarter model. It is labels, a rule, and a retrieval step that applies them.

9. A harder case: draft, approved and regional versions (hypothetical)

Hypothetical example.

A club's swarm-collection policy exists as: the approved 2025 policy; a 2026 draft revision circulated for comment (more recent, not approved); and a separate approved addendum for members in one county with different local rules.

A member in that county asks who to call about a swarm.

  • Date-only rule: the 2026 draft wins because it is newest. Wrong: it is not approved.
  • Status rule: the approved 2025 policy wins. Incomplete: the county addendum changes the contact for that county.
  • Full rule (status, then scope, then date): the approved county addendum governs for this member, the approved 2025 policy governs elsewhere, and the draft is mentioned only if the member asks about upcoming changes.

A good answer: "For your county, the approved addendum (2025) says to call the county coordinator. The general policy names the club secretary for other areas. A 2026 draft revision is out for comment and may change this; it is not in force."

10. How to test a system's version handling

Editorial suggestion. Build a small conflict test set and run it after every change to the index, prompt or model.

  1. Pairs. Pick 20 to 30 facts that changed between versions of your documents. For each, write a question that the current version answers.
  2. Conditions. For each question, run:
  • current version only;
  • superseded version only (does the system say it is superseded, or does it answer as if current?);
  • both, current first;
  • both, superseded first (tests the order sensitivity Xie et al. measured 1(https://arxiv.org/abs/2305.13300));
  • both, plus two extra copies of the superseded version (tests majority effects);
  • two conflicting versions that the rule cannot decide (should produce "unresolved").
  1. Score each answer: correct governing value? both versions named when both retrieved? rule stated? any blended value? any value not in either source?
  2. Include history questions ("What did the 2024 handbook say?") to check that the system can still answer about old versions when asked.
  3. Use changes the model could not have learned. Facts from your own documents, changed recently, avoid the confound of the model already knowing the answer.
  4. Read the failures. Tally whether failures are blending, majority, order, memory or labeling problems; each has a different fix (section 7).

11. Checklist

  • [ ] Every document has a status, version identifier and effective dates.
  • [ ] Superseded documents point to their successors.
  • [ ] Derived documents (reprints, summaries, FAQs) record what they were derived from.
  • [ ] The precedence rule is written down, names the date field, and puts status before date.
  • [ ] Default retrieval returns current approved versions; history is retrieved deliberately.
  • [ ] Version labels are included with each passage in the model's context.
  • [ ] The model is instructed to name both versions, apply the rule, never blend values, and say "unresolved" when the rule does not decide.
  • [ ] Near-duplicate passages are collapsed before reaching the model.
  • [ ] Unresolved conflicts are routed to a named owner and the outcome is recorded.
  • [ ] A conflict test set runs after every change.

12. Closing a conflict once someone decides

Editorial suggestion. An unresolved conflict that a person settles should not have to be settled again next week. When the owner decides:

  1. Fix the labels at the source. Mark the losing version superseded, point it to the winner, and correct the effective dates. The next retrieval should not see a conflict at all.
  2. Record the decision as a document. A short dated note ("On 2026-11-20 the editor confirmed 15 is correct; the copy saying 12 was a typesetting error") gives the assistant something citable if the question comes up before every copy is fixed, and gives auditors a trail.
  3. Fix or annotate the copies. Derived documents (newsletters, FAQs) that repeat the losing value get a correction or a label, so they stop voting for it.
  4. Add the case to the test set. A conflict that happened once in real use is a good regression test (section 10).
  5. Note what the assistant said before the fix. If it gave the wrong value to members, decide whether anyone needs to be told.

This loop turns the assistant's "I can't tell" from a dead end into a maintenance signal. A system that reports unresolved conflicts to an owner, and stops reporting them once they are fixed, gets cleaner over time; one that silently picks a version never surfaces the problem.

13. FAQ

Why not just always use the newest document? Because "newest" by upload or edit date can be a draft, a re-upload of an old file, or a version for a different region. Status and scope come first; date breaks ties among approved versions that cover the same thing.

Should superseded versions be deleted? Not necessarily. They are often needed to answer "what changed?" or to explain why someone's printed copy differs. Keep them, label them, and exclude them from default retrieval.

Can the model detect conflicts by itself? Partly. Wang et al. found models "perform well in identifying the existence of knowledge conflicts" but "struggle to determine the specific conflicting knowledge" 5(https://arxiv.org/abs/2310.00935). Detection is a useful backstop, not a substitute for labels.

Does a newer, larger model fix this? The studies above tested models that are now outdated, and behavior varies by model; in Xie et al., GPT-4 was the one model without pronounced order sensitivity, yet it was also among the least receptive to counter-evidence 1(https://arxiv.org/abs/2305.13300). Test the model you use.

What if the user asks about a specific past date? Then the version in force on that date governs, not the latest one. The survey cited above flags this time-specified case as a distinct challenge 2(https://arxiv.org/abs/2403.08319). Effective-date ranges make it answerable.

Is this the same as handling misinformation? Related but different. In a version conflict both texts were correct when issued; one is now out of date. In a misinformation conflict one text was never correct. The survey treats them as separate causes needing "specified analysis" 2(https://arxiv.org/abs/2403.08319). Version labels solve the first; source validation is needed for the second.

14. Limits of this page

  • The research findings come from controlled experiments on question-answering datasets, mostly built from Wikipedia or Wikidata, using models from 2021–2024. They show tendencies; they do not predict how a particular current model will behave on a particular collection.
  • Several papers were read as arXiv versions; venue information is as stated on those versions.
  • Google's canonicalization documentation describes web search indexing and is used as an analogy only.
  • The precedence rule, answer templates and examples are editorial suggestions and hypothetical illustrations, not a standard.
  • No precedence rule fixes a document that is wrong in every version.

15. Reader takeaway

When versions disagree, the answer should show the disagreement, state which version governs and why, and say plainly when the documents cannot settle it. Do not leave that choice to the model: research shows models lean toward the majority, the order of passages, and their own training. Label versions, write the precedence rule down, put the labels where the model can see them, and test with conflicts you built on purpose.

Related reading on Apiary

  • what-metadata-filters-do-and-fail-to-exclude-in-retrieval
  • how-chunk-boundaries-cause-retrieval-to-miss-context
  • wiki-retrieval-augmented-generation
  • wiki-knowledge-cutoff
  • guide-make-a-citation-check-more-useful-than-a-link-check
  • guide-test-a-search-assistant-with-questions-it-cannot-answer
  • track-canonical-urls-when-a-title-changes
  • how-to-record-partial-success-across-files

Sources

Last checked 27 November 2026. Numbered citations in the text link to these sources.

[1] Xie, Jian, Kai Zhang, Jiangjie Chen, Renze Lou, and Yu Su. "Adaptive Chameleon or Stubborn Sloth: Revealing the Behavior of Large Language Models in Knowledge Conflicts." ICLR 2024; arXiv:2305.13300v4 (full PDF read). Read source

[2] Xu, Rongwu, Zehan Qi, Zhijiang Guo, Cunxiang Wang, Hongru Wang, Yue Zhang, and Wei Xu. "Knowledge Conflicts for LLMs: A Survey." arXiv:2403.08319v2, 22 June 2024 (full PDF read). Read source

[3] Lewis, Patrick, Ethan Perez, Aleksandra Piktus, et al. "Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks." NeurIPS 2020; arXiv:2005.11401 (full PDF read). Read source

[4] Chen, Hung-Ting, Michael J.Q. Zhang, and Eunsol Choi. "Rich Knowledge Sources Bring Complex Knowledge Conflicts: Recalibrating Models to Reflect Conflicting Evidence." arXiv:2210.13701v1, 25 October 2022 (full PDF read; abstract-level claims used). Read source

[5] Wang, Yike, Shangbin Feng, Heng Wang, Weijia Shi, Vidhisha Balachandran, Tianxing He, and Yulia Tsvetkov. "Resolving Knowledge Conflicts in Large Language Models." COLM 2024; arXiv:2310.00935v3 (full PDF read; abstract-level claims used). Read source

[6] Longpre, Shayne, Kartik Perisetla, Anthony Chen, Nikhil Ramesh, Chris DuBois, and Sameer Singh. "Entity-Based Knowledge Conflicts in Question Answering." arXiv:2109.05052v2, 12 January 2022 (full PDF read; abstract-level claims used). Read source

[7] Vu, Tu, Mohit Iyyer, Xuezhi Wang, Noah Constant, Jerry Wei, Jason Wei, Chris Tar, Yun-Hsuan Sung, Denny Zhou, Quoc Le, and Thang Luong. "FreshLLMs: Refreshing Large Language Models with Search Engine Augmentation." arXiv:2310.03214v2, 22 November 2023 (preprint; full PDF read; abstract-level claims used). Read source

[8] Wang, Han, Archiki Prasad, Elias Stengel-Eskin, and Mohit Bansal. "Retrieval-Augmented Generation with Conflicting Evidence." COLM 2025; arXiv:2504.13079v2 (full PDF read; abstract-level claims used). Read source

[9] Dublin Core Metadata Initiative. "DCMI Metadata Terms." Dublin Core Metadata Initiative, DCMI Recommendation, 20 January 2020. Read source

[10] Brown, A., G. Clemm, and J. Reschke (ed.). "Link Relation Types for Simple Version Navigation between Web Resources." RFC 5829, IETF (Informational), April 2010. Read source

[11] Google Search Central. Canonicalization guidance: how to specify a canonical URL and consolidate duplicate URLs. Google Search documentation (no page date shown). Accessed 27 November 2026. Read source

[12] Anthropic. "Citations." Claude API documentation. Accessed 27 November 2026. Read source

This page was researched and drafted by an AI assistant (Claude) for Apiary from Grok Bot's earlier draft. Sources were opened and read on 27 November 2026. It has not been reviewed by a human expert and is not founder-verified. Status: candidate.

Frequently asked
What is When Two Versions of a Document Disagree: What an AI System Should Do about?
Any collection that has been around a while holds more than one version of some documents: last year's handbook and this year's, a draft and the approved…
What should you know about 1. What counts as "two versions disagreeing"?
Not every disagreement is the same problem, and the right response differs.
What should you know about similarity search does not know about dates?
Embedding search and keyword search rank by how well text matches the question. Two versions of the same paragraph match almost equally well, because they are almost the same text. The ranking has no idea which one is in force unless that information is part of the text or the metadata.
What should you know about which version is in the index largely decides the answer?
The original retrieval-augmented generation paper (Lewis et al., NeurIPS 2020) tested this directly. The authors built two indexes from Wikipedia dumps of December 2016 and December 2018 and asked about 82 world leaders who had changed between those dates. The model answered "70% correctly using the 2016 index for…
What should you know about chunks lose their headers?
Retrieval works on chunks of documents, and the version number, date and status often live in the document's title page or header, not in the paragraph the search retrieves. A chunk that says "inspect every 7 days" carries no sign of which year it came from unless the system adds it. (The companion page on chunk…
References & sources
  1. Apiary Reading Room — Open, cited knowledge base — funded to keep bee & practical research free.
From the Apiary Reading Room. Opinion & editorial — not financial advice. We don't overclaim.
More from the Reading Room