Obsoletes or Updates? Recovering Typed Document Lineage from Text, and What It Is Worth to Retrieval-Augmented Generation
Version-aware retrieval-augmented generation (RAG) assumes that the corpus records which document replaced which. When this lineage metadata is missing, it must be recovered from the documents. We study typed lineage, meaning full replacement (Obsoletes) versus partial amendment (Updates), with header fields stripped, on 9,868 IETF RFCs (3,718 registry edges) and 1,485 Python, XMPP and Bitcoin proposals. On modern RFCs a three-line rule that reads self-referential statements matches every learned model (macro-F1 .834 vs .826). Where such statements are absent, text models fall to .346 or below. Zero-shot LLM classifiers look strong in these hard settings, but renaming identifiers shows that on cue-masked RFCs most of Claude Sonnet 5.5's advantage is recall of registry facts (.792 to .451), whereas on pre-1996 RFCs and on the specifications it survives renaming and paraphrasing. On a 350-question RAG benchmark, predicted lineage raises a Claude Haiku 5.5 reader from .560 to .714 accuracy (registry lineage: .889); with identifiers renamed, the gain grows to .251.
Authors
- Bansi Lal (ORCID: https://orcid.org/0000-0003-3863-2006)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-29
- DOI
- https://doi.org/10.5281/zenodo.24651247
- Primary Topic
- Topic Modeling
- Type
- preprint