Retrieval-Augmented Generation

from first principles to the state of the art — November 2026

Text becomes geometry · ranking becomes a vote · answers become evidence

Olivier Vitrac, PhD, HDR — Head of Adservio Innovation Lab

Navigation: arrows or space · Esc overview · S speaker view · on phones the deck scrolls · take the pre-quiz · replayable material

Pre-quiz — before we start

  • 10 questions, one per learning objective, about 4 minutes.
  • Personal: your answers and score stay on your phone; nothing is collected.
  • Answers are shown only after the post-quiz at the end, together with your own progress per objective.

▶ Open the pre-quiz

or scan the code with your phone.

The “before”

  • The introductory lecture showed RAG in about 15 lines: framework defaults, a small English embedder, top-3 chunks into the prompt.
  • The same pattern still sits, unchanged, in the public SFPPy example (since 2025-07-27).
  • It works on a demo. One year of projects shows where it breaks: languages, identifiers, tables, scans, duplicates, permissions, citations that do not support the answer.
  • This lecture is the “after”: what we had to add, measure and refuse to make it audit-grade.

The chain of versioned maps

b \xrightarrow{\;O_o\;} \tilde b \xrightarrow{\;I_v\;} T \xrightarrow{\;P_p\;} \{x_k\} \xrightarrow{\;E_w\;} \{\mathbf z_k\} \xrightarrow{\;R_r\;} \mathcal E \xrightarrow{\;G_u\;} a

map what it does version
O_o obtain the bytes (OCR, conversion) o
I_v interpret: bytes → typed document tree v
P_p project: tree → retrievable units p
E_w encode: units → vectors (and lexical statistics) w
R_r retrieve, filter, rank, fuse → evidence set \mathcal E r
G_u generate the answer from the evidence u

The answer is a function of (b,o,v,p,w,r,u). Change any version and you have another system. Interpreters are to documents what encoders are to text.

Map of the lecture

Part Theme
1 From the first attempts to RAG
2 Text becomes geometry, at every granularity
3–4 Ranking: the signals; fusion is a vote; ranking is not deciding
5 Documents are not text
6 Filters, duplicates and structure
7 Trust: provenance, verification, acceptance
8 The frontier, November 2026
9 Beyond text, and what to do on Monday

E established · C contested · F frontier · CD client-derived, anonymized and rounded. Contested and frontier claims are never stated as rules.

1 · From the first attempts to RAG

Votes and decisions before computers E

  • Borda (1781, published 1784): rank points summed over voters.
  • Condorcet (1785): the candidate who beats every other one head-to-head; the paradox — majorities can cycle.
  • Fellegi–Sunter (1969): record linkage with two thresholds — link, possible link (clerical review), non-link.
  • Chow (1970): the optimal reject option — abstain when the posterior is not clear enough.
  • Two centuries later these are exactly our tools: rank fusion is a vote; AUTO / REVIEW / REJECT are two thresholds.

Lexical information retrieval E

  • Edit distance (1965) · vector space model (1975) · inverse document frequency (1972) · probabilistic relevance (1976) · Okapi BM25 (1994).

\mathrm{BM25}(q,d)=\sum_{t\in q}\mathrm{IDF}(t)\;\frac{f(t,d)\,(k_1+1)}{f(t,d)+k_1\left(1-b+b\,\dfrac{|d|}{\mathrm{avgdl}}\right)}

  • f(t,d) term frequency, |d| document length, k_1 saturation, b length normalization (Lucene defaults k_1=1.2, b=0.75).
  • Thirty years later, still the baseline every dense model must beat on out-of-domain data.

Meaning as geometry E

  • LSA (1990): a truncated SVD of the term–document matrix puts synonyms close together.
  • word2vec (2013): one vector per word, learned from contexts; analogies become vector arithmetic.
  • Sentence encoders (2019): one vector per sentence, trained on pairs; cosine similarity becomes a usable relevance signal.
  • From counting words to placing texts in a space: the step that RAG reuses.

Retrieval meets generation, 2017–2023 E

Year Step
2017 open-domain QA: retrieve Wikipedia, then read (DrQA)
2019–2020 learned retrievers trained end to end (ORQA, REALM); dense passage retrieval (DPR)
2020 RAG: a retriever + a generator, trained together; late interaction (ColBERT)
2021 fusion-in-decoder; learned sparse retrieval (SPLADE); zero-shot benchmark BEIR — BM25 hard to beat
2022–2023 retrieval-enhanced pre-training (RETRO, Atlas); embedding benchmark MTEB

2024–2026 in one slide E F

  • Structure: graph-based RAG (GraphRAG, HippoRAG); contextual chunk headers; document conversion toolkits (Docling).
  • Pixels: page-image retrieval (ColPali).
  • Self-correction and agents: Self-RAG, corrective RAG, search agents trained by reinforcement learning; the Model Context Protocol connects tools.
  • Evaluation at scale: massive multilingual embedding benchmark (MMTEB).
  • 2026 lessons: long context vs RAG has a token bill; hybrid gains depend on the corpus; authorization must be enforced inside retrieval.

2 · Text becomes geometry, at every granularity

RAG reuses the encoder E

  • From the LLM stack, retrieval keeps only the encoder: text → vector. No generation, no sampling.
  • On normalized vectors, cosine, dot product and Euclidean distance rank identically: \lVert u-v\rVert^2 = 2-2\cos(u,v)
  • Nuance F: several of the strongest open embedders are decoder LLMs turned into encoders (dated leaderboard snapshot). Small encoders still suffice for many tasks — a 384-d model at term level.

Anything can be encoded E

  • An encoder is a learned or designed map f:\mathcal X\to\mathbb R^d that turns a relation we care about on \mathcal X into proximity.
  • \mathcal X can be words, sentences, documents, code, images, audio, faces, molecules, graph nodes — or signals (sig2dna, Part 9).
  • Training fixes which relation: paraphrase pairs, translations, question–passage pairs, image–caption pairs. Designed encoders (molecular fingerprints, symbolic signal codes) fix it by construction.
  • One picture: several modalities, one geometry, one similarity.

Word encoders vs sentence encoders E

Vector One per… Examples Use
static word vector (≈ 300-d) word type word2vec, GloVe, fastText (sub-words; vectors published for 157 languages, evaluated on 10) lexicons, analogies
contextual token vector token occurrence BERT-type encoders late interaction (Part 3)
sentence / text vector text SBERT, E5, BGE-M3, Qwen3-Embedding retrieval, similarity
  • Averaging word vectors loses order, negation and scope: a word-order probe on averaged vectors scores 50.8 (majority 50.0, humans 98.0).
  • A sentence encoder applied to a two-word job title is still a sentence encoder: term-level projects (HR-Migrate, Org-Terms) combine one with character n-grams.

The encoder zoo: dimensions, sizes, languages E

d Model Parameters Max tokens Languages (model card) Licence
384 all-MiniLM-L6-v2 22.7 M 256 English Apache-2.0
384 paraphrase-multilingual-MiniLM-L12-v2 117.7 M (82 % is the vocabulary table) 128 50+ Apache-2.0
768 EmbeddingGemma-300M (Matryoshka 512/256/128) 302.9 M 2048 100+ Gemma terms
1024 multilingual-E5-large 559.9 M 512 ≈ 100 MIT
1024 BGE-M3 (dense + sparse + multi-vector) ≈ 568 M 8192 100+ MIT
1024 Qwen3-Embedding-0.6B (Matryoshka 32…1024) 595.8 M 32k 100+ Apache-2.0
2048 jina-embeddings-v4 (text and images) 3.75 B 32k 30+ Qwen research licence
2560 Qwen3-Embedding-4B 4.02 B 32k 100+ Apache-2.0
3072 closed API embedders (OpenAI, Google) not disclosed 2k–8k not listed / 100+ proprietary
4096 Qwen3-Embedding-8B · NV-Embed-v2 7.6–7.9 B 32k 100+ · English Apache-2.0 · CC-BY-NC
  • d is a storage and index cost, not a quality score; 4096-d exceeds even pgvector’s halfvec limit (4,000).
  • “100+ languages” is a card claim: MMTEB lists ≈ 1,000 languages, but 805 appear only in bitext mining; 120 have at least one retrieval task (French 3, German 4). Pick by the languages and granularity of your corpus.

Encoding is light E

  • An encoder runs one forward pass over a short text; a generator runs one pass per output token, with a far larger model.
  • Forward cost ≈ 2N FLOPs per token for N non-embedding parameters:
MiniLM-L6 encoder 8 B generator
FLOPs per token ≈ 22 M ≈ 15 G (× 680)
paid once per chunk at indexing; one short pass per query for every generated token
  • One generated answer of 2,300 tokens costs about as much compute as encoding all 5,183 SciFact abstracts once.
  • Energy per 1,000 inferences: 0.002–0.007 kWh for encoder tasks vs ≈ 0.05 kWh for text generation.

D9 (recorded): encode SciFact on a CPU with two encoders, then generate one answer with a local LLM — wall time and CPU-seconds side by side. Recording added in the next build.

“Can A and B mean the same?” is a geometric test E C

If the encoder f is monotone, or sufficiently continuous, with respect to meaning or intent:

\underbrace{\lVert f(A)-f(B)\rVert \le L\,\delta(A,B)}_{\text{similar}\;\Rightarrow\;\text{close}} \qquad \underbrace{\lVert f(A)-f(B)\rVert \ge \ell\,\delta(A,B)}_{\text{close}\;\Rightarrow\;\text{similar}}

then “do A and B have the same meaning or intent?” is answered by \cos\big(f(A),f(B)\big)\gtrless\tau — no LLM needed, with \tau calibrated per encoder and per domain.

  • The lower bound is what fails: negation (no bi-encoder above 12 % paired accuracy on NevIR, chance = 25 %), numbers and units, identifiers, word overlap, cross-language look-alikes → the lexical and exact lanes of Part 3.
  • Ranking needs only monotonicity; deciding needs a calibrated threshold (Part 4).

D11 — where continuity breaks (recorded)

64 synthetic pairs (EN/FR/DE), cosine similarity, median [min, max]:

Category multilingual MiniLM-L12 (384-d) BGE-M3 (1024-d)
paraphrase (same) 0.85 [0.71, 0.94] 0.94 [0.87, 0.96]
same intent (same) 0.81 [0.68, 0.93] 0.87 [0.80, 0.92]
translation (same) 0.76 [0.61, 0.98] 0.93 [0.84, 0.96]
negation (different) 0.63 [0.51, 0.87] 0.81 [0.74, 0.92]
number / unit change (different) 0.81 [0.62, 1.00] 0.95 [0.91, 1.00]
identifier change (different) 0.98 [0.82, 0.99] 0.93 [0.82, 0.97]
cross-language look-alike (different) 0.83 [0.60, 0.97] 0.91 [0.78, 0.99]
unrelated (different) −0.01 [−0.05, 0.19] 0.42 [0.34, 0.61]
best single threshold (balanced accuracy) 0.668 (0.69) 0.836 (0.67)
  • A changed number or identifier looks more similar than a true paraphrase or translation: no threshold separates them.

▶ Play D11: move the threshold, see which pairs flip.

The granularity ladder E

Granularity Example (anonymized)
terms, column headers, values HR-Migrate, Org-Terms
identifiers Plant-Piping
table rows Qualification-Evidence
typed blocks of a document RAGIX / Saqqara (public)
documents of a corpus Muni-DocGraph (corpus-level report)
code graphs Audit-Split, Audit-Flow

The same geometry, from a few words to thousands of books — but each rung needs its own unit, its own encoder check and its own threshold.

The space is not universal E

  • Embedding spaces are anisotropic: cosine values crowd in a narrow band; no global threshold.
  • Two encoders are two spaces: scores are not comparable across models, nor across versions of the same model.
  • D5 — public ESCO occupations, 200 German → English pairs (CC BY 4.0):
Scorer top-1 top-5 MRR best global threshold (balanced acc.)
Jaro–Winkler (fuzzy) 0.26 0.38 0.32 0.56 (0.71)
character TF-IDF 0.37 0.50 0.44 0.05 (0.75)
multilingual MiniLM-L12 0.66 0.80 0.72 0.50 (0.89)
BGE-M3 0.77 0.89 0.82 0.54 (0.91)
  • Every scorer has a negative gap: some wrong pair scores above some true pair. Ranking works; a single cut-off does not.

▶ Play D5: browse the pairs, move each scorer’s threshold.

Dimension and precision are design variables E C

  • Matryoshka training: the first m coordinates are a usable embedding; truncate to save storage, re-score the shortlist at full size.
  • Quantization: int8 or binary vectors + re-scoring of the top candidates.
  • Index limits: pgvector indexes up to 2,000 dimensions (vector), 4,000 (halfvec), 64,000 (bit).
  • Field CD: in one document project, a 3072-d model never retrieved a passage that a 1024-d model missed; hit@5 was identical.
  • Sizing: 10^6 chunks × 1024 dims × 4 bytes = 4.096 GB before any index.

Clustering in the geometry E

  • Once texts are vectors, the corpus has a shape: clusters, communities, outliers, near-duplicates.
  • Two families: hierarchical clustering (agglomerative; deterministic) and community detection on a similarity graph (Leiden; seeded; the method behind GraphRAG’s communities).
  • RAGIX (public) implements both as kernels — hierarchical by default, Leiden optional — plus a document “pyramid” that summarizes clusters level by level.
  • Uses: corpus maps, topic routing, deduplication candidates, graph communities (Part 6). Clusters are hypotheses about the corpus: measure their agreement before trusting them (slide “Measure the measure”).

(Edge et al. 2024) · RAGIX ragix_kernels/docs/doc_cluster.py, doc_cluster_leiden.py, doc_pyramid.py

3 · Ranking I — the signals

Measuring a ranking E

Metric Definition Reads as
P@k relevant in top k / k how clean the shortlist is
R@k relevant in top k / all relevant what the generator can possibly see
MRR mean of 1/\text{rank} of the first relevant how soon the first good hit comes
nDCG@k \mathrm{DCG@k}/\mathrm{IDCG@k}, \;\mathrm{DCG@k}=\sum_{i=1}^{k}\dfrac{2^{rel_i}-1}{\log_2(i+1)} graded relevance, position-discounted
  • For RAG, R@k at the generator’s budget is the first number to watch: what is not retrieved cannot be cited.
  • Every comparison needs labelled queries from your corpus; leaderboard numbers are a different corpus.

“Which BM25?” E

  • BM25 is a family, not a function: Lucene defaults k_1=1.2,\ b=0.75; Anserini’s k_1=0.9,\ b=0.4; BM25F weights fields (title, body, headings) before saturation.
  • Variants, tokenizers, stemming and stop-word lists move per-query rankings even when averages barely change.
  • Query semantics matter as much: an engine that ANDs all terms (RAGIX/Saqqara’s FTS5 lane by default) and one that ORs them answer different questions.
  • Benchmark relevance labels were often pooled from lexical systems: they favour what BM25 finds.

D1 (recorded): BM25 variants and tokenizers on SciFact and ArguAna (CC BY 4.0). Recording added in the next build.

Identifiers, when they exist, are the strongest evidence E

  • Field CD (Audit-Flow): identifiers extracted from the text linked most software components to their documents; file names linked none.
  • Canonicalization is the join: case, separators, padding, units and prefixes must be normalized before matching.
  • A shared surface is not an identity: the same string can name two objects in two systems.
  • Plant-Piping, “same pipe, five spellings” (synthetic tags):
as written canonical
150-PW-1001-B1 · 150PW1001B1 · PW-1001 (150) · DN150 PW 1001 B1 · 150-pw-1001-b1 150-PW-1001-B1
  • No encoder makes these reliably equal (D11: identifier changes look more similar than paraphrases); a normalizer does.

Retrieval without an index: Unix-RAG E

  • For code and small, fast-changing corpora, exact search tools are a retriever: grep, find, awk over the working tree, in memory, nothing to rebuild.
  • RAGIX (public) runs this “Unix-RAG” next to a per-project vector store; both support hybrid BM25 + vector search with several fusion strategies.
  • Strengths: exact identifiers and symbols, zero staleness, fully auditable command traces. Limits: no notion of meaning, cost grows with the corpus.
  • Use it as a lane, not as a replacement: it nominates exact hits; fusion decides (Part 4).

RAGIX README.md (Dual RAG architecture) — public repository.

Fuzzy matching: useful within a language, dangerous across E

  • Character n-grams and edit-distance scores catch typos, abbreviations and inflections — an OR of views on the surface form.
  • Scores and thresholds differ across libraries (Jaro–Winkler, Levenshtein ratio, token-set ratio): a “0.85” is not portable.
  • Across languages a high fuzzy score is often a false friend; a low one says nothing about meaning.
  • D4 (synthetic catalogue): the evidence weight of a Jaro–Winkler match is +5.47 (log-odds) on English typos, but −1.39 / 0.00 / −0.85 on French / German / Italian translations.

The query side E C

  • Rewriting: clean, expand or decompose the user’s question before retrieval.
  • HyDE / query2doc: generate a hypothetical answer and search with it.
  • Multi-query / RAG-Fusion: several reformulations, fused by rank.
  • Pseudo-relevance feedback: expand with terms from the first results.
  • Routing by complexity: no retrieval, one-shot, or iterative.
  • Expansion helps weak retrievers and can hurt strong ones C: measure on your queries.

Dense retrieval and the index E

  • Bi-encoders: query and passage encoded separately, compared by dot product — the passage side is computed once.
  • Exact search first: a flat index is the pilot’s baseline and the truth for measuring any approximation.
  • Approximate nearest neighbours: HNSW graphs, IVF partitions, PQ compression.
  • ANN recall ≠ relevance: an index that returns 99 % of the exact neighbours still returns the wrong passages if the encoder is wrong.

Between bi-encoders and cross-encoders E F

  • Learned sparse (SPLADE): a vocabulary-sized vector, mostly zeros, with learned term weights and expansions — an inverted index that understands synonyms.
  • Late interaction (ColBERT, PLAID): one vector per token, query–document score = sum of max similarities; MUVERA turns it into fixed-size vectors (its dimension bound was corrected in 2026).
  • BM25 and sparse lanes are now native in open vector databases: hybrid no longer needs two systems.

Rerankers E C

  • Stage order: cheap recall first (lexical, dense, sparse) → cross-encoder reranking of the shortlist.
  • Cross-encoders rank, they do not decide: their scores are not calibrated probabilities.
  • LLM rerankers: listwise, pairwise (= a Copeland tournament), “reasoning” rerankers — they propose under vetoes, never certify.
  • Reranker “state of the art” is mostly self-reported; licences differ (non-commercial vs Apache-2.0).

Learning to rank E

  • When labelled queries (or clicks) exist, learn the ranking function from features: BM25 scores, dense scores, field matches, freshness, authority.
  • Pointwise (predict relevance), pairwise (RankSVM from clickthrough; RankNet), listwise (ListNet; LambdaRank → LambdaMART optimizes nDCG directly).
  • A tuned convex combination of two lanes (Part 4) is a two-feature learning-to-rank model; a gradient-boosted ranker is the same idea with more features.
  • Requirements: enough labels, a held-out set, and features that exist at query time — otherwise fall back to rank fusion.

4 · Ranking II — fusion is a vote; ranking is not deciding

Scores are not commensurable E

  • A BM25 score of 14.2 and a cosine of 0.81 live on different scales, with different distributions per query.
  • CombSUM / CombMNZ add scores — only after normalization (min–max, z-score), and the choice changes the winner.
  • A softmax or any monotone transform preserves a lane’s ranking but not the comparison between lanes.
  • Two safe options: fuse ranks, or learn the combination on labelled queries.

RRF vs a tuned convex combination E C

\mathrm{RRF}(d)=\sum_{\ell\in\text{lanes}}\frac{1}{k_0+\mathrm{rank}_\ell(d)}\quad(k_0=60) \qquad \mathrm{CC}(d)=\alpha\,\tilde s_{\text{lex}}(d)+(1-\alpha)\,\tilde s_{\text{dense}}(d)

  • RRF needs no labels and no score scale: the right default when nothing is labelled.
  • A convex combination of normalized scores, with \alpha tuned on a few dozen labelled queries, beats RRF in controlled comparisons and degrades gracefully.
  • RRF is sensitive to k_0 — the “parameter-free” method has a parameter.

D2 (recorded + playable): RRF vs convex combination on public lane scores, with \alpha and k_0 sliders. Added in the next build.

Hybrid is a capability, not a guaranteed gain C

  • Whether lexical + dense beats the better single lane depends on the corpus: one 2026 study predicted +47 % from the lanes’ complementarity and observed +17.2 %.
  • Field pair CD:
    • Bid-Evidence: at document level, the lexical lane did not improve on dense retrieval.
    • Qualification-Evidence: French requirements vs English documents — lexical and dense lists barely overlap; each finds what the other misses.
  • Keep hybrid as a capability (both lanes indexed, fusion declared), and measure the gain per query type.

The RRF trap E

  • Two lanes, k_0=60: ranks (1, 3) beat ranks (2, 2) because \tfrac{1}{61}+\tfrac{1}{63}>\tfrac{2}{62} — by \tfrac{2}{(k+1)(k+2)(k+3)}=\tfrac{1}{119\,133}. A tie broken by curvature.
  • Three lanes ABCD / ABCD / BCDA: A is first for the majority and beats everyone head-to-head (Condorcet winner), yet RRF(60) and Borda both elect B:

\mathrm{RRF}(A)-\mathrm{RRF}(B)=\frac{2-k}{(k+1)(k+2)(k+4)}<0\quad\text{for every }k>2

  • Census of all 13,824 three-lane profiles of 4 candidates: 12,288 have a Condorcet winner; RRF(60) elects someone else in 288, Borda in 288.

▶ Play D3: edit the three lanes and k; see the RRF, Borda and Condorcet winners.

Fusion is social choice E

Rule Winner Property
Borda most rank points additive, like RRF with a linear curve
Condorcet beats every other one head-to-head may not exist (cycles)
Copeland most pairwise wins what pairwise LLM rerankers compute
Schulze strongest path in the pairwise graph Condorcet-consistent, clone-proof
Kemeny ranking with fewest pairwise disagreements optimal consensus, NP-hard
  • Arrow: no rule satisfies all reasonable properties at once ⇒ the fusion rule is a design decision, to be declared.
  • Org-Terms model selection: the winning encoder flipped when the weights of the criteria changed. Leaderboards aggregate tasks by Borda counts.

From vote theory to decision tiers E

Vote outcome (Olivier’s reading) Tier
robust winner with a margin AUTO
plurality winner, small margin WARN
runoff needed — the human decides REVIEW
no quorum: no candidate is good enough REJECT
tie between candidates COLLAPSED
  • Exact anchors: Fellegi–Sunter’s two thresholds (link / review / non-link) and Chow’s reject option.
  • The reading is an analogy: HR-Migrate implements it as a cascade of rules, with 3, 4 or 5 classes depending on the component.

Fuzzy may nominate, not elect E C

  • In a weighted majority, a voter of accuracy p_i deserves the weight w_i=\log\dfrac{p_i}{1-p_i} (independence assumed): a ballot no better than chance gets zero, a misleading one gets a negative weight.
  • D4 — synthetic catalogue of 60 job titles, 238 test queries, four policies:
Policy AUTO AUTO precision false AUTO shared aliases sent to review
(i) naive max of all signals, one threshold 93.3 % 0.941 13 0 / 3
(ii) cascade, fuzzy/semantic capped at REVIEW 29.4 % 1.000 0 3 / 3
(iii) Fellegi–Sunter, two thresholds 75.6 % 0.989 2 3 / 3
(iv) Chow, t=0.10 76.0 % 0.978 4 3 / 3
  • Fuzzy and semantic signals nominate candidates; exact evidence or a calibrated rule elects.

▶ Play D4: switch policy, browse the queries and their tiers.

The projects’ fusion arc E

score mixing
(weighted sums)
→gated blends
and cascades
→literal votes
(tiers, quorum)
→rank fusion,
lanes never compared
  • HR-Migrate: 0.50\,S^{\text{tf-idf}}+0.25\,S^{\text{char}}+0.25\,S^{\text{syn}}, with an embedding fallback only when the best score is below 0.35 — inside a cascade of tiers.
  • RAGGAE (public): linear fusion iterated over the dense top-100 only — a passage BM25 ranks first but dense misses is never returned (core/retriever.py:168). A teachable flaw.
  • Org-RAG, RAGIX/Saqqara: reciprocal rank fusion — scores of different lanes are never added.
  • Lesson: we moved from adding scores to declaring a vote — and to separating ranking from deciding.

— Break (5 min)

Back in five minutes: documents are not text.

5 · Documents are not text

Interpreters are to documents what encoders are to text E

b \xrightarrow{\;O_o\;} \tilde b \xrightarrow{\;I_v\;} T \xrightarrow{\;P_p\;} \{x_k\}

  • The left half of the chain: bytes → a typed document tree → retrievable units.
  • An interpreter I_v decides what is a heading, a table cell, a caption, a footnote, a figure — and what is lost.
  • Like encoders, interpreters are compared side by side on the same documents, and their version is part of every answer.

Parse first E

  • Parse errors bound end-to-end quality: on one benchmark the best OCR pipeline reached 31.1 F1 where ground-truth text gave 36.1 — no retriever recovers what the parser lost.
  • Read text layers as data; use vision only where the page is pixels.
  • Synthetic-deck test: text extraction misses every label drawn inside a diagram.

Chunks are projections of a preserved structure C

  • Keep the document tree; a chunk is a view of it, with its path (document › section › table › row).
  • Match small, return the context: retrieve sentences or rows, hand the generator the parent section or table.
  • Tables — a design space with one stated default:
    • rows + header + parent reference (Qualification-Evidence);
    • one table = one unit (RAGIX/Saqqara).
  • Contextual headers and hierarchical summaries help when units lose their context.

Count every loss E F

  • Analysers that read only a short preview of each unit make results depend on chunk size without any error — Muni-DocGraph CD: the number of detected sections nearly tripled when the preview changed.
  • Refuse silent truncation: a unit too long for the encoder is split or flagged, never cut.
  • The character ledger: every character of the source is carried, normalized or missing — and the missing ones are listed.
  • Numbers split by the reader (a line break inside “18”, a thousands group across two runs) are a known hole: the value is sent to review, not guessed.

Spreadsheets, identifiers and languages E

  • Spreadsheets are cells, not text: keep sheet, row, column and header for every value.
  • Identifiers must be normalized across document types: Plant-Piping checks one pipe across five kinds of engineering documents.
  • The encoder must cover the corpus languages — and the lexical lane needs a tokenizer per language.

Reference implementation: RAGIX / Saqqara (public)

  • RAGIX — sovereign, local-first; its computational core runs 101 registered kernels in 9 families.
  • Saqqara — the document kernels: a model-free typed tree, every node cited (source, format, locator chain down to the run of type), and a refusal register for what it cannot read.
  • Retrieval: SQLite FTS5 BM25 lane + dense lane, fused by RRF (k_0=60; 40 + 40 candidates → top 10).
  • Its documented gaps, stated on the slide: the lexical lane ANDs all terms by default; the store has no query filters at this version (cf. Part 6).

github.com/ovitrac/RAGIX — README.md, docs/KOAS_SAQQARA.md §8

Docling, the open layout-model interpreter E

  • Open-source toolkit, MIT, hosted by the LF AI & Data foundation (2.150.1 in the comparison; 2.152.0 current on 2026-11-24).
  • Pipeline: PDF backend + layout model Heron (RT-DETRv2, 42.9 M parameters) + TableFormer (accurate mode) + OCR (on by default) + reading order.
  • Output: one typed DoclingDocument (JSON, Markdown, HTML); every PDF item carries page, box and character span.
  • Optional vision pipeline: granite-docling-258M (Apache-2.0, no remote code), successor of SmolDocling.
  • In the chain: another I_v — with its model versions to record.

Saqqara and Docling, measured on the same files E

Public evidence, same machine, Docling 2.150.1 with OCR off — timings are orders of magnitude, not a benchmark:

Saqqara (model-free) Docling (layout model)
speed, 19-page born-digital PDF 0.08 s/page ≈ 0.52 s/page at 4 threads + ≈ 1.6 s model load
peak memory ≈ 78 MiB ≈ 2.2 GiB
same output twice yes at 4 threads yes; differs at 20 threads and across thread counts
ruled tables read (opt-in Explorer: 10 vs 7; 34 vs 30) read
borderless tables, formulas (formula paper) none 3 tables, 6 formulas
14-page slide PDF without text layer abstains on all 14 pages (“no text layer”) 27 pictures, 4 empty tables
  • Lesson: deterministic reader for born-digital text; layout model for borderless tables and formulas; with OCR off, neither reads text drawn as pixels → next slide.

RAGIX docs/marketing/saqqara_techsheet/evidence/m4_side_by_side.md, EVIDENCE.md (public, with SHA256SUMS). (Livathinos, Auer, Lysak, et al. 2025; J. Zhang et al. 2025)

Image → vision: when the page itself is the data F

Render the page as an image and let a vision-capable model read it — scans, drawings, dense layouts, formulas, charts, labels drawn in diagrams.

Family Examples Notes
(i) general LLMs with vision closed cloud models; open Qwen3-VL, Gemma 4 (Apache-2.0) cloud vendors receive a PDF page as image + extracted text; open models run locally, return boxes; behind specialists on parsing benchmarks
(ii) LLMs trained to recognize layout Nougat, GOT-OCR 2.0, olmOCR 2, granite-docling, MinerU 2.5, PaddleOCR-VL, dots.ocr, DeepSeek-OCR lead the benchmarks with ≈ 1 B parameters
(iii) pipelines Docling, MinerU layout detection → specialist models
  • DeepSeek-OCR: “optical context compression” — 64–400 vision tokens per page (up to 1,156); ≈ 97 % decoding precision below 10× compression (100 English pages), ≈ 60 % near 20× (only 4 pages); layout as <|ref|>/<|det|> boxes on a 0–999 grid; MIT weights. Its 2026 successor: 91.09 on OmniDocBench v1.5 self-reported, 89.17 when re-scored by the benchmark’s maintainers.
  • Measured failures: plausible words that are not on the page (scrambled words rewritten into real ones: olmOCR 58.6 % vs Tesseract 0 %); loops and truncation (3.69 % of pages in DeepSeek’s own test); approximate boxes; run-to-run variance measured nowhere.
  • Rule: a vision model’s output is a claim to check against the text layer when one exists — boxes kept, model digest stamped.

D10 (recorded + playable): the synthetic deck and a public complex page read by Saqqara, Docling (OCR off / on / vision), DeepSeek-OCR and Qwen3-VL, boxes overlaid. Added in the next build.

Route each page to an interpreter, and record the route E C

The page carries… Interpreter Then
a text layer, plain text deterministic reader
a text layer with tables or formulas layout model two readers disagree → flag for review
pixels only (scan, drawing, chart) vision parser otherwise → typed tree + route stamp
  • The route is part of I_v: two answers built through two routes come from two different maps.
  • Measure each interpreter on a small labelled page set of your corpus before choosing.
  • Design space, one stated default: refuse and register pages without a text layer (Saqqara) · OCR on by default (Docling) · vision fallback for pixel-only pages.

The OCR tools we already use, and the licences we accept E

  • Tesseract (Apache-2.0): our default OCR engine. Field practice CD: OCR is opt-in and fail-closed — pages rendered at 200 dpi, words below a confidence floor dropped, and a document with no engine stays pending instead of being silently skipped.
  • PyMuPDF / MuPDF (AGPL-3.0 or a commercial licence): rendering, text with positions. AGPL §13 obliges you to offer the source to users who interact with a modified program over a network; the vendor reads server use as “publish the whole application” ⇒ a hosted RAG service publishes its source or buys the licence.
  • Public pattern (RAGIX/Saqqara): an AGPL quarantine — PyMuPDF only in opt-in extras, an AGPL-free default install, a run-time check that no default route loaded it. Caveat: the all extra pulls PyMuPDF in through translate.
  • AGPL-free alternatives: pypdf, pdfminer.six / pdfplumber, pypdfium2.

LICENCES (licence texts, AGPL §13, FSF FAQ), claim 6.17 · RAGIX README.md, docs/KOAS_SAQQARA.md (public)

OCR and PDF tools: usage, recommendation, licence

Tool Typical usage Recommendation Licence
pypdf text layer of born-digital PDFs (RAGIX/Saqqara default) default reader BSD-3-Clause
pdfminer.six / pdfplumber text with positions, simple tables positions without copyleft MIT
pypdfium2 (PDFium) page images for OCR and vision models (RAGIX default renderer) default renderer Apache-2.0 / BSD-3-Clause
PyMuPDF, pymupdf4llm fast rendering, positions, PDF → Markdown quarantine: opt-in, or commercial licence before hosting or distribution AGPL-3.0 or commercial
Poppler pdftotext / pdftoppm command-line text and rendering fine as a separate program; linking ⇒ GPL GPL
Tesseract OCR of scanned pages default OCR; keep word confidences; install every corpus language Apache-2.0
OCRmyPDF + Ghostscript add a text layer to scans in batch workstation batch; Ghostscript is AGPL for hosted use MPL-2.0; Ghostscript AGPL-3.0
Marker + Surya scanned PDF → Markdown fallback upgrade the code; clear the weights licence before commercial use code Apache-2.0 since v2.0 (older: GPL-3.0); weights: no free use above USD 5 M revenue or funding
Docling + granite-docling layout, tables, formulas preferred permissive layout pipeline MIT; Apache-2.0
camelot tables in born-digital PDFs tables only; keep the default pdfium backend MIT
local vision models (Qwen-VL, PaddleOCR-VL, DeepSeek-OCR) pixel-only pages, diagrams a claim to check; pin the digest; publisher’s weights only Apache-2.0 / MIT (per model and size)
cloud parsing services — not for confidential documents (pages uploaded; one vendor keeps files 48 h) vendor terms
  • Three licence regimes: permissive, network copyleft (AGPL), and open weights with a commercial threshold — the last gives no warning at install time, and a code licence turning permissive does not free the weights.

The interpretation contract

Every interpreter — model-free, layout model or vision model — must return:

  1. Types: heading, paragraph, table, cell, caption, figure, formula, list item.
  2. Locators: page, box, character span, down to the source run.
  3. Losses: what was dropped, merged or normalized — the character ledger.
  4. Abstentions: what it refused to read, and why.
  5. Version: tool, models and their digests, configuration, route.

Without these five, a retrieved passage cannot be cited, and an answer cannot be audited.

6 · Filters, duplicates and structure

Authorization is a constraint, never a score E

  • Default: apply permissions before or inside retrieval, and fail closed (no label ⇒ no access).
  • Post-filtering is acceptable only with a complete over-fetch — never on a fixed top-k: retrieve-then-filter leaked restricted content in 86.1 % of queries in a 2026 evaluation.
  • Gates vs boosts: a permission, a jurisdiction, a validity date are gates (yes/no); freshness or authority may be boosts (ranking).
  • No LLM in the filter: a filter is a deterministic predicate on metadata, auditable and testable.
  • Design space in our projects: fail-closed namespaces vs a post-filter at fixed top-k; a store with no query filters (RAGIX/Saqqara at this version) must filter upstream.

Duplicates E

  • Four levels, each audited: exact (hash of normalized bytes) · near (MinHash / SimHash over shingles) · versioned (same document, several releases) · semantic (paraphrases).
  • Copies counted as independent evidence inflate confidence and crowd out everything else.
  • MMR (diversity in the shortlist) is a different problem: it reorders, it does not know which copy is authoritative.
D6 (synthetic policy corpus) Top-5 for “hotel night reimbursement limit euros”
before deduplication five versions or copies of the same travel policy
after collapsing each cluster to its latest official version travel policy v1.2 + four other documents
  • Versions 1.0 and 1.1 say 120 € per night, version 1.2 says 150 €: deduplication must keep the version history, not pick a copy at random.

▶ Play D6: compare two texts (word 3-gram Jaccard and its MinHash estimate), browse the clusters.

Ingestion filters decide what can ever be retrieved E

  • Everything dropped at ingestion — minimum length, header/footer removal, pages without a text layer, over-long units — is invisible forever to every later stage, and the miss is silent unless counted.
  • In our projects: RAGGAE (public) drops blocks under 40 characters and repeated headers within a page; Qualification-Evidence flags tables on rotated pages (half of their boxes fell outside the page) and counts over-long inputs it excludes from the dense lane.
  • Each ingestion filter is a decision to log and count: what was dropped, by which rule, how often.
  • Blocking at scale (token index + character n-gram rescue, then embeddings only for undecided rows) is the recall lever of term-level resolvers (Org-Terms).
  • Rule: filter without an LLM, with versioned rules, and keep the rejected set for review.

Graphs: who pays the LLM? C

  • Local graph search (entities and their neighbours) vs global search (community summaries over the whole corpus).
  • Building and querying with an LLM has a bill: on one benchmark (Novel dataset), a global GraphRAG query used ≈ 331k prompt tokens vs 879 for vanilla RAG.
  • Independent comparisons: graph RAG helps on multi-hop and global “sense-making” questions, often loses on simple factual lookups.
  • Keep a graph only if it beats tuned hybrid retrieval on its query type.

A graph is as semantic as its node extractor E

  • Muni-DocGraph CD: a corpus-level graph over about 140 documents whose concepts came mostly from folder and file names.
  • Result: the graph faithfully reproduced the filing taxonomy — it said how documents were stored, not what they say.
  • A content-based graph needs a content-based extractor (entities, identifiers, relations from the text), with its own precision measured.

Code is graphs E

  • For code audits the natural representation is a graph with exact anchors: abstract syntax trees, dependency graphs, injection graphs.
  • Audit-Split / Audit-Flow CD: embedding indexes over the code were built, but no finding depended on them; every finding came from graphs and identifiers.
  • Geometry is one tool among others: use it where meaning matters, use structure where structure exists.

Measure the measure E

  • Agreement between two clusterings, two annotators or two pipelines must be chance-corrected (adjusted Rand index, Cohen’s \kappa) and the metric itself unit-tested.
  • Field CD: a key mismatch between two components once produced a plausible-looking agreement score — the code compared identifiers that never matched.
  • A number that looks reasonable is not evidence that the pipeline computing it is right.

7 · Trust: provenance, verification, acceptance

Every artifact carries its producer’s identity E F

  • Two encoders define two spaces even at equal dimension: a stored vector must carry an immutable encoder identity, and vectors from different encoders are never compared — lanes are combined by rank.
  • Content-addressed keys: text hash + encoder digest + runtime version (+ prefix, context size). A name like “bge-m3” is not an identity; a digest is.
  • Persist the reader, the prompt and the retrieval policy too — otherwise an answer cannot be shown to be still admissible.
  • Lifecycle: a document needs a logical identity across revisions; byte-hash identity re-encodes every chunk on any edit and leaves superseded revisions live.
  • Design space: digest-keyed vectors (Qualification-Evidence) vs name-stamped vectors without a persisted policy (RAGIX/Saqqara at this version).

A citation is not grounding; a number comes from a kernel E

  • Public example (SFPPy documentation): a RAG answer cites the right regulation and gives the food-contact material number “FCM 902” for an additive — the regulation’s own Annex I table says FCM 433. Fluent, cited, wrong.
  • Fix: values (limits, codes, counts) come from a deterministic index or kernel, and every quoted span is checked against the evidence it cites — not only the cited identifier.
  • Small local checkers exist: a fact-checking model close to GPT-4 on grounding benchmarks (74.7 vs 75.3 balanced accuracy).

Verifiers must be measured; abstention must be typed E F

  • Field CD:
    • a local LLM used as a code reviewer: about 1 finding in 15 valuable, 1 in 5 harmful;
    • a checker that accepted every summary it was asked to check;
    • when several model families all abstain on a question, the retriever missed — changing the model does not help.
  • A verifier that never rejects is not a verifier: measure usefulness, not parse rate.
  • Typed abstention: no evidence · conflicting evidence · unreadable source · out of scope. “Not found within the declared scope” is not “does not exist”; the list of unchecked items is a progress metric.

Green is not correct E F

  • Field CD: a hash-chained, fully logged pipeline graded its own run “A, 0 recommendations” — on metrics that had silently fallen back to defaults.
  • Self-reported model confidence is not calibration; derived confidences must propagate along the chain instead of defaulting to 1.0.
  • Audit-grade means replayable: every number recomputed from the sources by one command, failing loudly when a claim or a cache no longer holds.

Evaluate by layer, accept by falsifier E

Layer Measure Falsifier fixed before the run
parse character ledger, table cells recovered loss ≤ [XX] %
retrieval R@k at the generator’s budget, nDCG@10 R@k ≥ [XX] on labelled queries
ranking / deciding AUTO precision, REVIEW rate false AUTO ≤ [XX]
answer supported-claim rate, quote verification unsupported claims ≤ [XX]
  • Paired tests on the same queries; thresholds frozen before the run.
  • LLM judges are calibrated on a small human-labelled set; prediction-powered inference corrects their bias.

“100 % local” is a per-layer statement E

Layer Where it ran — state it
obtaining and OCR local / cloud
interpretation (reader, layout, vision) local / cloud
encoding and index local / cloud
reranking and generation local / cloud
evaluation, judging, report drafting local / cloud
  • Sovereign kernels can coexist with cloud assistance in drafting or reviewing: the attestation says which layer ran where.
  • “Local” also needs the licences of Part 5: a local tool under AGPL or a restricted weights licence is local, not necessarily deliverable.

8 · The frontier, November 2026

Long context vs RAG, stated honestly C F

  • In the latest controlled comparison, long context was more accurate (73.1 % vs 65.4 %) — at 26× the tokens per query (one preprint).
  • Effective context is far shorter than nominal, and position-biased (“lost in the middle”).
  • Compression and compaction are lossy: fewer tokens do not guarantee lower latency, and faithfulness can break while accuracy looks unchanged.
  • Practice: route by question and budget — retrieval first, long context when the question needs the whole document and the bill is accepted. Routing cut cost by 39–65 % at similar quality in one study.

Retrieval inside the loop F

  • Agents interleave reasoning and retrieval (ReAct, IRCoT), critique their own retrieval (Self-RAG), or correct it (CRAG).
  • Search agents trained by reinforcement learning are open at 3–8 B parameters; most 2026 training advances are preprints without code.
  • It helps only when retrieval steps and stopping are traced and bounded; looping over a retriever whose top-1 lacks the answer does not fix it.
  • Public example: memctl — a bounded recall → answer loop with hand-written query relaxation, every step logged.

Deep research: products vs open models, and how agents are evaluated F

  • Closed “deep research” products and open research agents now search, read and write multi-page reports.
  • The bill: a multi-agent research system improved its own evaluation by 90 % at ≈ 15× the tokens of a chat.
  • Evaluation moves to frozen corpora (fixed document sets) so that runs are comparable and replayable; browsing benchmarks measure persistence on hard-to-find facts.

The 2026 component classes F

Class What it does Open / closed
decision models typed, calibrated answers in one forward pass, for gating, routing, reranking — e.g. a 2 B model answering among declared options in ≈ 31 ms vs ≈ 8.8 s for a frontier API call both (APIs and open weights)
rerankers returning spans calibrated scores you can threshold, with the supporting span closed (API)
asymmetric shared-space embedders a large model builds the index, a small one encodes the query, one space (e.g. 0.6 B queries a 9 B-built late-interaction index) both
BM25 / sparse inside vector databases hybrid in one engine; sparse indexes overhauled open
  • These are 2026 releases, mostly vendor-reported: tag each as open or closed, and measure before adopting.

Visual documents and the grounding gap F

  • Page-image retrieval (ColPali family) beats text pipelines on visually rich pages — 81.3 vs 67.0 nDCG@5 in its first benchmark — but keep a text lane: text reranking still adds points and hybrid contexts work best.
  • Where a document carries an exact text layer or a structured export, read it as data; vision is for what is only a picture.
  • The gap: asked to point at the evidence box on the page, models reach an F1 of 0.089, humans 0.60.

The corpus is untrusted input E C

  • Poisoning: 5 crafted texts in a large corpus reach ≈ 90 % attack success on targeted questions.
  • Detection numbers do not travel: one detector fell from AUROC 0.953 to 0.758 once a construction shortcut was removed.
  • Structural defence: the composing model sees only selected evidence; decision-model gates cut attack success from 27.9 % to 13.6 % to 5.7 % while clean-query responsiveness stayed between 85.6 % and 87.3 %.
  • Embeddings are sensitive data: they can be inverted and leak membership — never embed a corpus into third-party or public spaces.
  • MCP (stateless revision 2026-07-28) and agent memory widen the surface: one code path for the CLI and the MCP tool; memory needs write policies and provenance.

The regulatory clock E

Regulation (EU) 2026/1744 amending the AI Act:

Date What
27 Jul 2026 in force
2 Dec 2026 marking of generative output for systems already on the market (new Art. 111(4))
2 Dec 2027 high-risk obligations, Annex III systems (new Art. 113)
2 Aug 2028 high-risk obligations, Annex I systems (new Art. 113)
  • The practical preparation for RAG: document-level traceability — every answer resolves to its sources and locators, by construction.

9 · Beyond text, and what to do on Monday

The encoder idea beyond text: sig2dna F

  • A designed, training-free encoder for analytical signals (e.g. GC–MS): a Ricker transform, monotone segments, a six-letter alphabet. One Gaussian peak becomes the word YAZB.
  • Then every retrieval tool of this lecture applies to signals:
Lane On sig2dna texts
exact lexical regular expression Y+A+Z+B+ (grep)
fuzzy lexical alignment and Levenshtein distance
statistical letter histograms, entropy
geometric distances → maps, clusters, nearest references
weighting a smoothed IDF: -\log_2\dfrac{k+1}{n+2} for an event shared by k of n reference acquisitions (with 8 references: 0.15 bits if all share it, 3.32 bits if none)
  • Same pipeline shape as text RAG: object → tokens → spaces where similarity operates → fusion → readback to the raw signal.

github.com/ovitrac/sig2dna (MIT) — public code; the IDF identity is read from the code, as commentary.

Monday checklist

  1. Parse first — measure the interpreter before tuning retrieval.
  2. Declare the fusion — rank-based or learned; never add raw scores.
  3. Filter before ranking — permissions and validity as deterministic gates, no LLM.
  4. Stamp every artifact — reader, encoder digest, prompt, retrieval policy.
  5. Type abstention — no evidence, conflict, unreadable, out of scope.
  6. Verify citations — the quoted span, not just the identifier; numbers from kernels.
  7. Measure verifiers — a checker that never rejects is not a checker.
  8. Evaluate by layer — thresholds frozen before the run.
  9. Route long context — by question and budget.
  10. Treat the corpus as untrusted — selected evidence only reaches the composer.

Post-quiz

  • 10 questions on the same objectives, new wording — plus 5 short scenarios.
  • Personal: at the end you see the answers, explanations and your own progress per objective since the pre-quiz (kept in your browser only).

▶ Open the post-quiz

You can finish it after the lecture.

Public projects and replayable material

Project What it is Link
RAGIX (+ Saqqara kernels) sovereign, local-first RAG and audit kernels — the reference implementation github.com/ovitrac/RAGIX
sig2dna symbolic encoding of analytical signals github.com/ovitrac/sig2dna
SFPPy / SFPPylite food-contact compliance and chemical risk, with a RAG assistant SFPPy · SFPPylite
RAGGAE (open-source edition) hybrid retrieval and local NLI checks for long documents github.com/ovitrac/RAGGAE
CloakMCP local, reversible secret sanitization before LLMs github.com/ovitrac/CloakMCP
memctl deterministic, auditable memory and recall for agents github.com/ovitrac/memctl
AdservioToolbox memory-first policy for coding assistants github.com/ovitrac/AdservioToolbox
  • Demos of this lecture: D3 · D4 · D5 · D6 · D11 — each with its recorded numbers, playable offline.

Thank you — questions

Text becomes geometry · ranking becomes a vote · answers become evidence

Olivier Vitrac, PhD, HDR — Head of Adservio Innovation Lab

Slides, quizzes and demos: ragadservio.pages.dev

Appendix

A1 · BM25 variants and BM25F

Variant IDF Defaults
Robertson–Spärck Jones / Okapi \log\dfrac{N-n_t+0.5}{n_t+0.5} (can be negative) k_1\in[1.2,2],\ b=0.75
Lucene \log\left(1+\dfrac{N-n_t+0.5}{n_t+0.5}\right) (never negative) k_1=1.2,\ b=0.75
Anserini (Lucene-based) as Lucene k_1=0.9,\ b=0.4

BM25F — normalize each field f first, then saturate once:

\tilde{tf}(t,d)=\sum_{f} w_f\,\frac{tf_f(t,d)}{1-b_f+b_f\,\dfrac{l_f(d)}{\overline{l_f}}} \qquad \mathrm{BM25F}(q,d)=\sum_{t\in q}\mathrm{IDF}(t)\,\frac{\tilde{tf}(t,d)}{k_1+\tilde{tf}(t,d)}

A2 · Fusion functions

Rule Score of candidate d over lanes \ell
CombSUM \sum_\ell \tilde s_\ell(d) (normalized scores)
CombMNZ \lvert\{\ell: d\in\ell\}\rvert\cdot\sum_\ell \tilde s_\ell(d)
RRF \sum_\ell 1/(k_0+\mathrm{rank}_\ell(d))
convex combination \alpha\,\tilde s_1(d)+(1-\alpha)\,\tilde s_2(d)
Borda \sum_\ell \big(n-\mathrm{rank}_\ell(d)\big)
Copeland pairwise wins − pairwise losses
Schulze strongest path in the pairwise-majority graph
Kemeny ranking minimizing \sum_\ell Kendall-\tau distance to the lanes

A3 · Two thresholds and the reject option

Fellegi–Sunter: for each comparison field i, m_i=P(\text{agree}\mid\text{match}), u_i=P(\text{agree}\mid\text{non-match}); total weight

W=\sum_i \begin{cases}\log_2(m_i/u_i) & \text{agree}\\ \log_2\big((1-m_i)/(1-u_i)\big) & \text{disagree}\end{cases} \qquad \begin{cases} W\ge T_{\text{up}} & \text{link (AUTO)}\\ T_{\text{low}}<W<T_{\text{up}} & \text{possible link (REVIEW)}\\ W\le T_{\text{low}} & \text{non-link (REJECT)}\end{cases}

Chow: accept the most probable class only if \max_i P(\omega_i\mid x)\ge 1-t; otherwise reject. With t=0.10 (D4), a decision needs a posterior of at least 0.90.

A5 · Vector index sizing

Item Formula Example
raw float32 vectors N\times d\times 4 bytes 10^6\times1024\times4 = 4.096 GB
half precision N\times d\times 2 2.048 GB
binary + re-scoring N\times d/8 (+ shortlist at full precision) 128 MB
Matryoshka 256-d N\times 256\times 4 1.024 GB
  • Add the index structure (HNSW links, IVF lists) and the text store; check the index’s dimension limits (pgvector: 2,000 / 4,000 / 64,000).

References

Angelopoulos, Anastasios N., Stephen Bates, Clara Fannjiang, et al. 2023. “Prediction-Powered Inference.” Science 382 (6671): 669–74. https://doi.org/10.1126/science.adi6000.
Anthropic. 2024. Introducing the Model Context Protocol. Blog post. https://www.anthropic.com/news/model-context-protocol.
Anthropic. 2026. PDF Support (Claude Platform Docs). https://platform.claude.com/docs/en/build-with-claude/pdf-support.
Anthropic, and Daniel Ford. 2024. Introducing Contextual Retrieval. Blog post, 2024-09-19; reference notebook https://github.com/anthropics/claude-cookbooks/blob/main/capabilities/contextual-embeddings/guide.ipynb (MIT). https://www.anthropic.com/engineering/contextual-retrieval.
Arrow, Kenneth J. 1951. Social Choice and Individual Values. Cowles Commission Monograph 12. Wiley. https://doi.org/10.12987/9780300186987.
Asai, Akari, Zeqiu Wu, Yizhong Wang, et al. 2024. “Self-RAG: Learning to Retrieve, Generate, and Critique Through Self-Reflection.” International Conference on Learning Representations (ICLR 2024). https://openreview.net/forum?id=hSyW5go0v8.
Auer, Christoph, Maksym Lysak, Ahmed Nassar, et al. 2024. Docling Technical Report. Technical report, arXiv preprint (venue not confirmed); software docling v2.152.0 (MIT), https://github.com/docling-project/docling. https://arxiv.org/abs/2408.09869.
Baevski, Alexei, Henry Zhou, Abdelrahman Mohamed, and Michael Auli. 2020. “Wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representations.” Advances in Neural Information Processing Systems 33 (NeurIPS 2020), 12449–60. https://proceedings.neurips.cc/paper/2020/hash/92d1e1eb1cd6f9fba3227870bb6d7f07-Abstract.html.
Bai, Shuai, Yuxuan Cai, Ruizhe Chen, et al. 2025. Qwen3-VL Technical Report. https://arxiv.org/abs/2511.21631.
BehnamGhader, Parishad, Vaibhav Adlakha, Marius Mosbach, Dzmitry Bahdanau, Nicolas Chapados, and Siva Reddy. 2024. “LLM2Vec: Large Language Models Are Secretly Powerful Text Encoders.” Conference on Language Modeling (COLM). https://arxiv.org/abs/2404.05961.
Bilenko, Mikhail, and Raymond J. Mooney. 2003. “Adaptive Duplicate Detection Using Learnable String Similarity Measures.” Proceedings of the Ninth ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 39–48. https://doi.org/10.1145/956750.956759.
Blecher, Lukas, Guillem Cucurull, Thomas Scialom, and Robert Stojnic. 2024. “Nougat: Neural Optical Understanding for Academic Documents.” International Conference on Learning Representations (ICLR). https://arxiv.org/abs/2308.13418.
Bojanowski, Piotr, Edouard Grave, Armand Joulin, and Tomas Mikolov. 2017. “Enriching Word Vectors with Subword Information.” Transactions of the Association for Computational Linguistics 5: 135–46. https://doi.org/10.1162/tacl_a_00051.
Borda, Jean-Charles de. 1781. “Mémoire Sur Les élections Au Scrutin.” In Histoire de l’académie Royale Des Sciences, Année 1781. Imprimerie Royale. https://gtfp.cs.rhul.ac.uk/pulskamp/Borda/voting.pdf.
Borgeaud, Sebastian, Arthur Mensch, Jordan Hoffmann, Trevor Cai, Eliza Rutherford, et al. 2022. “Improving Language Models by Retrieving from Trillions of Tokens.” Proceedings of the 39th International Conference on Machine Learning, Proceedings of machine learning research, vol. 162: 2206–40. https://proceedings.mlr.press/v162/borgeaud22a.html.
Brandt, Felix, Vincent Conitzer, Ulle Endriss, Jérôme Lang, and Ariel D. Procaccia, eds. 2016. Handbook of Computational Social Choice. Cambridge University Press. https://doi.org/10.1017/CBO9781107446984.
Broder, Andrei Z. 1997. “On the Resemblance and Containment of Documents.” Proceedings. Compression and Complexity of SEQUENCES 1997, 21–29. https://doi.org/10.1109/SEQUEN.1997.666900.
Bruch, Sebastian, Siyu Gai, and Amir Ingber. 2023. “An Analysis of Fusion Functions for Hybrid Retrieval.” ACM Transactions on Information Systems 42 (1): 1–35. https://doi.org/10.1145/3596512.
Burges, Chris, Tal Shaked, Erin Renshaw, et al. 2005. “Learning to Rank Using Gradient Descent.” Proceedings of the 22nd International Conference on Machine Learning (ICML ’05), 89–96. https://doi.org/10.1145/1102351.1102363.
Burges, Christopher J. C. 2010. From RankNet to LambdaRank to LambdaMART: An Overview. MSR-TR-2010-82. Microsoft Research. https://www.microsoft.com/en-us/research/publication/from-ranknet-to-lambdarank-to-lambdamart-an-overview/.
Burges, Christopher J., Robert Ragno, and Quoc V. Le. 2006. “Learning to Rank with Nonsmooth Cost Functions.” Advances in Neural Information Processing Systems 19 (NIPS 2006). https://papers.nips.cc/paper/2006/hash/af44c4c56f385c43f2529f9b1b018f6a-Abstract.html.
Cao, Zhe, Tao Qin, Tie-Yan Liu, Ming-Feng Tsai, and Hang Li. 2007. “Learning to Rank: From Pairwise Approach to Listwise Approach.” Proceedings of the 24th International Conference on Machine Learning (ICML ’07), 129–36. https://doi.org/10.1145/1273496.1273513.
Carbonell, Jaime, and Jade Goldstein. 1998. “The Use of MMR, Diversity-Based Reranking for Reordering Documents and Producing Summaries.” Proceedings of the 21st Annual International ACM SIGIR Conference on Research and Development in Information Retrieval, 335–36. https://doi.org/10.1145/290941.291025.
Charikar, Moses S. 2002. “Similarity Estimation Techniques from Rounding Algorithms.” Proceedings of the Thirty-Fourth Annual ACM Symposium on Theory of Computing (STOC), 380–88. https://doi.org/10.1145/509907.509965.
Chen, Danqi, Adam Fisch, Jason Weston, and Antoine Bordes. 2017. “Reading Wikipedia to Answer Open-Domain Questions.” Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 1870–79. https://doi.org/10.18653/v1/P17-1171.
Chen, Jianlv, Shitao Xiao, Peitian Zhang, Kun Luo, Defu Lian, and Zheng Liu. 2024. M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillation. https://arxiv.org/abs/2402.03216.
Chen, Zijian, Xueguang Ma, Shengyao Zhuang, et al. 2026. “BrowseComp-Plus: A Fair and Disentangled Evaluation Benchmark for Deep Search Agents.” Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 22349–70. https://aclanthology.org/2026.acl-long.1023/.
Cheng, Zehua, Wei Dai, and Jiahao Sun. 2026. This-That-Model-1.0: A Typed Decision Model That Decides in 30 Ms, for a Millionth of a Cent. https://arxiv.org/abs/2609.23886.
Chow, C. K. 1970. “On Optimum Recognition Error and Reject Tradeoff.” IEEE Transactions on Information Theory 16 (1): 41–46. https://doi.org/10.1109/TIT.1970.1054406.
Christen, Peter. 2012. Data Matching: Concepts and Techniques for Record Linkage, Entity Resolution, and Duplicate Detection. Data-Centric Systems and Applications. Springer. https://doi.org/10.1007/978-3-642-31164-2.
Cohere. 2026. Announcing Cohere’s Rerank 5 Models (Rerank-V5.0-Pro, Rerank-V5.0-Fast). Https://docs.cohere.com/v2/changelog.
Condorcet, Marie Jean Antoine Nicolas de Caritat, marquis de. 1785. Essai Sur l’application de l’analyse à La Probabilité Des décisions Rendues à La Pluralité Des Voix. Imprimerie Royale. https://doi.org/10.1017/CBO9781139923972.
Conneau, Alexis, Germán Kruszewski, Guillaume Lample, Loı̈c Barrault, and Marco Baroni. 2018. “What You Can Cram into a Single $&!#* Vector: Probing Sentence Embeddings for Linguistic Properties.” Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 2126–36. https://doi.org/10.18653/v1/P18-1198.
Copeland, Arthur H. 1951. A Reasonable Social Welfare Function. Mimeographed notes, Seminar on Applications of Mathematics to the Social Sciences, University of Michigan (as commonly cited).
Cormack, Gordon V., Charles L. A. Clarke, and Stefan Büttcher. 2009. “Reciprocal Rank Fusion Outperforms Condorcet and Individual Rank Learning Methods.” Proceedings of the 32nd International ACM SIGIR Conference on Research and Development in Information Retrieval, 758–59. https://doi.org/10.1145/1571941.1572114.
Cui, Cheng, Ting Sun, Suyin Liang, et al. 2025. PaddleOCR-VL: Boosting Multilingual Document Parsing via a 0.9B Ultra-Compact Vision-Language Model. Technical report (venue not confirmed); https://github.com/PaddlePaddle/PaddleOCR (Apache-2.0). https://arxiv.org/abs/2510.14528.
Deerwester, Scott, Susan T. Dumais, George W. Furnas, Thomas K. Landauer, and Richard Harshman. 1990. “Indexing by Latent Semantic Analysis.” Journal of the American Society for Information Science 41 (6): 391–407. https://doi.org/10.1002/(SICI)1097-4571(199009)41:6<391::AID-ASI1>3.0.CO;2-9.
Devlin, Jacob, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. “BERT: Pre-Training of Deep Bidirectional Transformers for Language Understanding.” Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT), 4171–86. https://doi.org/10.18653/v1/N19-1423.
Dhulipala, Laxman, Majid Hadian, Rajesh Jayaram, Jason Lee, and Vahab Mirrokni. 2024. “MUVERA: Multi-Vector Retrieval via Fixed Dimensional Encodings.” Advances in Neural Information Processing Systems 37 (NeurIPS 2024), 101042–73. https://proceedings.neurips.cc/paper_files/paper/2024/hash/b71cfefae46909178603b5bc6c11d3ae-Abstract-Conference.html.
Douze, Matthijs, Alexandr Guzhva, Chengqi Deng, et al. 2024. The Faiss Library. https://doi.org/10.48550/arXiv.2401.08281.
Dwork, Cynthia, Ravi Kumar, Moni Naor, and D. Sivakumar. 2001. “Rank Aggregation Methods for the Web.” Proceedings of the 10th International Conference on World Wide Web (WWW), 613–22. https://doi.org/10.1145/371920.372165.
Edge, Darren, Ha Trinh, Newman Cheng, et al. 2024. From Local to Global: A Graph RAG Approach to Query-Focused Summarization. arXiv preprint (venue not confirmed); code: https://github.com/microsoft/graphrag. https://arxiv.org/abs/2404.16130.
Enevoldsen, Kenneth, Isaac Chung, Imene Kerboua, et al. 2025. “MMTEB: Massive Multilingual Text Embedding Benchmark.” International Conference on Learning Representations (ICLR). https://proceedings.iclr.cc/paper_files/paper/2025/hash/fc0e3f908a2116ba529ad0a1530a3675-Abstract-Conference.html.
Es, Shahul, Jithin James, Luis Espinosa-Anke, et al. 2024. “RAGAs: Automated Evaluation of Retrieval Augmented Generation.” Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics: System Demonstrations, 150–58. https://doi.org/10.18653/v1/2024.eacl-demo.16.
Ethayarajh, Kawin. 2019. “How Contextual Are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddings.” Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), 55–65. https://doi.org/10.18653/v1/D19-1006.
Ettinger, Allyson. 2020. “What BERT Is Not: Lessons from a New Suite of Psycholinguistic Diagnostics for Language Models.” Transactions of the Association for Computational Linguistics 8: 34–48. https://doi.org/10.1162/tacl_a_00298.
European Parliament and Council of the European Union. 2024. Regulation (EU) 2024/1689 of 13 June 2024 Laying down Harmonised Rules on Artificial Intelligence (Artificial Intelligence Act). Official Journal of the European Union, L series, 2024/1689, 12 July 2024. http://data.europa.eu/eli/reg/2024/1689/oj.
European Parliament and Council of the European Union. 2026. Regulation (EU) 2026/1744 – Digital Omnibus on AI (Omnibus VII), Amending Regulation (EU) 2024/1689. Official Journal of the European Union, L series, 2026/1744, 24 July 2026; proposal COM(2025) 836; procedure 2025/0359(COD). https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=OJ:L_202601744.
Faysse, Manuel, Hugues Sibille, Tony Wu, et al. 2025. “ColPali: Efficient Document Retrieval with Vision Language Models.” International Conference on Learning Representations (ICLR). https://openreview.net/forum?id=ogjBpZ8uSi.
Fellegi, Ivan P., and Alan B. Sunter. 1969. “A Theory for Record Linkage.” Journal of the American Statistical Association 64 (328): 1183–210. https://doi.org/10.1080/01621459.1969.10501049.
Feng, Zhangyin, Daya Guo, Duyu Tang, et al. 2020. “CodeBERT: A Pre-Trained Model for Programming and Natural Languages.” Findings of the Association for Computational Linguistics: EMNLP 2020, 1536–47. https://doi.org/10.18653/v1/2020.findings-emnlp.139.
Formal, Thibault, Benjamin Piwowarski, and Stéphane Clinchant. 2021. “SPLADE: Sparse Lexical and Expansion Model for First Stage Ranking.” Proceedings of the 44th International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR ’21), 2288–92. https://doi.org/10.1145/3404835.3463098.
Fox, Edward A., and Joseph A. Shaw. 1994. “Combination of Multiple Searches.” The Second Text REtrieval Conference (TREC-2), NIST special publication 500-215, 243. https://trec.nist.gov/pubs/trec2/papers/txt/23.txt.
Gao, Luyu, Xueguang Ma, Jimmy Lin, and Jamie Callan. 2023. “Precise Zero-Shot Dense Retrieval Without Relevance Labels.” Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 1762–77. https://doi.org/10.18653/v1/2023.acl-long.99.
Gemma Team. 2026. Gemma 4 Technical Report. https://arxiv.org/abs/2607.02770.
Ghadamyari, Mahdi, and Reza Habibi. 2026. Decision Models as Retrieval Gates Against Injection and Pollution. https://arxiv.org/abs/2611.08325.
Girdhar, Rohit, Alaaeldin El-Nouby, Zhuang Liu, et al. 2023. “ImageBind: One Embedding Space to Bind Them All.” Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 15180–90. https://openaccess.thecvf.com/content/CVPR2023/html/Girdhar_ImageBind_One_Embedding_Space_To_Bind_Them_All_CVPR_2023_paper.html.
Google. 2026a. Document Understanding (Gemini API Docs). https://ai.google.dev/gemini-api/docs/document-processing.
Google. 2026b. Embeddings — Gemini API Documentation (Gemini-Embedding-001, Gemini-Embedding-2). Https://ai.google.dev/gemini-api/docs/embeddings.
Grave, Edouard, Piotr Bojanowski, Prakhar Gupta, Armand Joulin, and Tomas Mikolov. 2018. “Learning Word Vectors for 157 Languages.” Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018). https://aclanthology.org/L18-1550/.
Greshake, Kai, Sahar Abdelnabi, Shailesh Mishra, et al. 2023. “Not What You’ve Signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection.” Proceedings of the 16th ACM Workshop on Artificial Intelligence and Security (AISec ’23), 79–90. https://doi.org/10.1145/3605764.3623985.
Grofman, Bernard, Guillermo Owen, and Scott L. Feld. 1983. “Thirteen Theorems in Search of the Truth.” Theory and Decision 15 (3): 261–78. https://doi.org/10.1007/BF00125672.
Grover, Aditya, and Jure Leskovec. 2016. “Node2vec: Scalable Feature Learning for Networks.” Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 855–64. https://doi.org/10.1145/2939672.2939754.
Günther, Michael, Saba Sturua, Mohammad Kalim Akram, et al. 2025. Jina-Embeddings-V4: Universal Embeddings for Multimodal Multilingual Retrieval. https://arxiv.org/abs/2506.18902.
Guo, Zirui, Lianghao Xia, Yanhua Yu, et al. 2025. “LightRAG: Simple and Fast Retrieval-Augmented Generation.” Findings of the Association for Computational Linguistics: EMNLP 2025. https://doi.org/10.18653/v1/2025.findings-emnlp.568.
Guu, Kelvin, Kenton Lee, Zora Tung, Panupong Pasupat, and Ming-Wei Chang. 2020. “Retrieval Augmented Language Model Pre-Training.” Proceedings of the 37th International Conference on Machine Learning, Proceedings of machine learning research, vol. 119: 3929–38. https://proceedings.mlr.press/v119/guu20a.html.
Hadfield, Jeremy, Barry Zhang, Kenneth Lien, et al. 2025. How We Built Our Multi-Agent Research System. Anthropic; Engineering blog post. https://www.anthropic.com/engineering/multi-agent-research-system.
Hamilton, Austin, Ryan Singh, Michael Wise, et al. 2026. The Token Tax of Epistemic Accuracy: Comparing RAG and Long-Context Architectures for Document-Grounded Generative AI Applications. https://arxiv.org/abs/2606.20898.
Han, Haoyu, Li Ma, Yu Wang, et al. 2026. “RAG Vs. GraphRAG: A Systematic Evaluation and Key Insights.” Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining v.2 (KDD 2026). https://doi.org/10.1145/3770855.3817575.
Hsieh, Cheng-Ping, Simeng Sun, Samuel Kriman, et al. 2024. “RULER: What’s the Real Context Size of Your Long-Context Language Models?” Conference on Language Modeling (COLM). https://arxiv.org/abs/2404.06654.
IBM. 2025. Granite-Docling-258M. Model card, Hugging Face, Apache-2.0; card release date 2025-09-17. https://huggingface.co/ibm-granite/granite-docling-258M.
Izacard, Gautier, and Edouard Grave. 2021. “Leveraging Passage Retrieval with Generative Models for Open Domain Question Answering.” Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume, 874–80. https://doi.org/10.18653/v1/2021.eacl-main.74.
Izacard, Gautier, Patrick Lewis, Maria Lomeli, et al. 2023. “Atlas: Few-Shot Learning with Retrieval Augmented Language Models.” Journal of Machine Learning Research 24 (251): 1–43. https://jmlr.org/papers/v24/23-0037.html.
Jégou, Hervé, Matthijs Douze, and Cordelia Schmid. 2011. “Product Quantization for Nearest Neighbor Search.” IEEE Transactions on Pattern Analysis and Machine Intelligence 33 (1): 117–28. https://doi.org/10.1109/TPAMI.2010.57.
Jeong, Soyeong, Jinheon Baek, Sukmin Cho, et al. 2024. “Adaptive-RAG: Learning to Adapt Retrieval-Augmented Large Language Models Through Question Complexity.” Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics (NAACL 2024). https://doi.org/10.18653/v1/2024.naacl-long.389.
Jiménez Gutiérrez, Bernal, Yiheng Shu, Yu Gu, et al. 2024. “HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models.” Advances in Neural Information Processing Systems (NeurIPS 2024). https://openreview.net/forum?id=hkujvAPVsg.
Jiménez Gutiérrez, Bernal, Yiheng Shu, Weijian Qi, et al. 2025. “From RAG to Memory: Non-Parametric Continual Learning for Large Language Models.” International Conference on Machine Learning (ICML 2025). https://openreview.net/forum?id=LWH8yn4HS2.
Jin, Bowen, Hansi Zeng, Zhenrui Yue, et al. 2025. “Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learning.” Conference on Language Modeling (COLM 2025). https://openreview.net/forum?id=Rwhi91ideu.
Jin, Di, Zhijing Jin, Joey Tianyi Zhou, and Peter Szolovits. 2020. “Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailment.” Proceedings of the AAAI Conference on Artificial Intelligence 34: 8018–25. https://doi.org/10.1609/aaai.v34i05.6311.
Joachims, Thorsten. 2002. “Optimizing Search Engines Using Clickthrough Data.” Proceedings of the Eighth ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD ’02), 133–42. https://doi.org/10.1145/775047.775067.
Kamphuis, Chris, Arjen P. de Vries, Leonid Boytsov, and Jimmy Lin. 2020. “Which BM25 Do You Mean? A Large-Scale Reproducibility Study of Scoring Variants.” Advances in Information Retrieval (ECIR 2020), Lecture notes in computer science, vol. 12036: 28–34. https://doi.org/10.1007/978-3-030-45442-5_4.
Kaplan, Jared, Sam McCandlish, Tom Henighan, et al. 2020. Scaling Laws for Neural Language Models. https://arxiv.org/abs/2001.08361.
Karpukhin, Vladimir, Barlas Oğuz, Sewon Min, et al. 2020. “Dense Passage Retrieval for Open-Domain Question Answering.” Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), 6769–81. https://doi.org/10.18653/v1/2020.emnlp-main.550.
Kassner, Nora, and Hinrich Schütze. 2020. “Negated and Misprimed Probes for Pretrained Language Models: Birds Can Talk, but Cannot Fly.” Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, 7811–18. https://doi.org/10.18653/v1/2020.acl-main.698.
Kemeny, John G. 1959. “Mathematics Without Numbers.” Daedalus 88 (4). https://www.jstor.org/stable/20026529.
Khattab, Omar, and Matei Zaharia. 2020. “ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERT.” Proceedings of the 43rd International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR ’20), 39–48. https://doi.org/10.1145/3397271.3401075.
Krimmel, Markus, Louis Milliken, Ekaterina Glazkova, Maximilian Schall, et al. 2026. Pplx-Embed-V2-Late Technical Report. https://arxiv.org/abs/2610.29523.
Krishna, Satyapriya, Kalpesh Krishna, Anhad Mohananey, et al. 2025. “Fact, Fetch, and Reason: A Unified Evaluation of Retrieval-Augmented Generation.” Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics (Volume 1: Long Papers), 4745–59. https://doi.org/10.18653/v1/2025.naacl-long.243.
Kumar, Pushkal, and Arvin Sahaym. 2026. Ranking Is Not Deciding: Benchmark Shortcuts and Operating-Point Collapse in Query-Time RAG Poisoning Defenses. https://arxiv.org/abs/2610.33849.
Kusupati, Aditya, Gantavya Bhatt, Aniket Rege, et al. 2022. “Matryoshka Representation Learning.” Advances in Neural Information Processing Systems 35 (NeurIPS 2022). https://papers.nips.cc/paper_files/paper/2022/hash/c32319f4868da7613d78af9993100e42-Abstract-Conference.html.
Lee, Chankyu, Rajarshi Roy, Mengyao Xu, et al. 2025. “NV-Embed: Improved Techniques for Training LLMs as Generalist Embedding Models.” International Conference on Learning Representations (ICLR). https://proceedings.iclr.cc/paper_files/paper/2025/hash/c4bf73386022473a652a18941e9ea6f8-Abstract-Conference.html.
Lee, Gwang Gook, Kenan Emir Ak, Jay Mohta, Yan Xu, and Dimitrios Dimitriadis. 2026. Do VLMs Read or Rewrite? On Transcription Faithfulness in Vision-Language Models. https://arxiv.org/abs/2607.21617.
Lee, Jinhyuk, Feiyang Chen, Sahil Dua, et al. 2025. Gemini Embedding: Generalizable Embeddings from Gemini. https://arxiv.org/abs/2503.07891.
Lee, Joon Ho. 1997. “Analyses of Multiple Evidence Combination.” Proceedings of the 20th Annual International ACM SIGIR Conference on Research and Development in Information Retrieval, 267–76. https://doi.org/10.1145/258525.258587.
Lee, Katherine, Daphne Ippolito, Andrew Nystrom, et al. 2022. “Deduplicating Training Data Makes Language Models Better.” Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 8424–45. https://doi.org/10.18653/v1/2022.acl-long.577.
Lee, Kenton, Ming-Wei Chang, and Kristina Toutanova. 2019. “Latent Retrieval for Weakly Supervised Open Domain Question Answering.” Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, 6086–96. https://doi.org/10.18653/v1/P19-1612.
Levenshtein, Vladimir I. 1965. “Binary Codes Capable of Correcting Deletions, Insertions, and Reversals.” Doklady Akademii Nauk SSSR 163 (4): 845–48. https://www.mathnet.ru/eng/dan31411.
Levy, Ido, Segev Shlomov, and Leshem Choshen. 2026. Retrieval Augmented Generation Compositionality. https://arxiv.org/abs/2610.29722.
Lewis, Patrick, Ethan Perez, Aleksandra Piktus, et al. 2020. “Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks.” Advances in Neural Information Processing Systems 33 (NeurIPS 2020). https://papers.nips.cc/paper/2020/hash/6b493230205f780e1bc26945df7481e5-Abstract.html.
Li, Bohan, Hao Zhou, Junxian He, Mingxuan Wang, Yiming Yang, and Lei Li. 2020. “On the Sentence Embeddings from Pre-Trained Language Models.” Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), 9119–30. https://doi.org/10.18653/v1/2020.emnlp-main.733.
Li, Yumeng, Guang Yang, Hao Liu, et al. 2025. Dots.ocr: Multilingual Document Layout Parsing in a Single Vision-Language Model. arXiv preprint (venue not confirmed); https://github.com/rednote-hilab/dots.ocr. https://arxiv.org/abs/2512.02498.
Li, Zhuowan, Cheng Li, Mingyang Zhang, et al. 2024. “Retrieval Augmented Generation or Long-Context LLMs? A Comprehensive Study and Hybrid Approach.” Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing: Industry Track, 881–93. https://doi.org/10.18653/v1/2024.emnlp-industry.66.
Liang, Yunhao, Ruixuan Ying, et al. 2026. Visual Merit or Linguistic Crutch? A Close Look at DeepSeek-OCR. https://arxiv.org/abs/2601.03714.
Liquid AI. 2026. Multimodal Open D1 Decision Models for the Edge. Https://huggingface.co/blog/LiquidAI/open-d1; https://huggingface.co/LiquidAI/d1-3B.
Liu, Nelson F., Kevin Lin, John Hewitt, et al. 2024. “Lost in the Middle: How Language Models Use Long Contexts.” Transactions of the Association for Computational Linguistics 12: 157–73. https://doi.org/10.1162/tacl_a_00638.
Liu, Tie-Yan. 2009. “Learning to Rank for Information Retrieval.” Foundations and Trends in Information Retrieval 3 (3): 225–331. https://doi.org/10.1561/1500000016.
Livathinos, Nikolaos, Christoph Auer, Maksym Lysak, et al. 2025. Docling: An Efficient Open-Source Toolkit for AI-Driven Document Conversion. arXiv preprint; authors report AAAI-25 Workshop on Open-Source AI for Mainstream Use (venue not confirmed). https://arxiv.org/abs/2501.17887.
Livathinos, Nikolaos, Christoph Auer, Ahmed Nassar, et al. 2025. Advanced Layout Analysis Models for Docling. https://doi.org/10.48550/arXiv.2509.11720.
Loison, António, Quentin Macé, Antoine Edy, et al. 2026. “ViDoRe V3: A Comprehensive Evaluation of Retrieval Augmented Generation in Complex Real-World Scenarios.” Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 16570–600. https://doi.org/10.18653/v1/2026.acl-long.755.
Luccioni, Alexandra Sasha, Yacine Jernite, and Emma Strubell. 2024. “Power Hungry Processing: Watts Driving the Cost of AI Deployment?” Proceedings of the 2024 ACM Conference on Fairness, Accountability, and Transparency (FAccT ’24), 85–99. https://doi.org/10.1145/3630106.3658542.
Malkov, Yu. A., and D. A. Yashunin. 2020. “Efficient and Robust Approximate Nearest Neighbor Search Using Hierarchical Navigable Small World Graphs.” IEEE Transactions on Pattern Analysis and Machine Intelligence 42 (4): 824–36. https://doi.org/10.1109/TPAMI.2018.2889473.
McCoy, R. Thomas, Ellie Pavlick, and Tal Linzen. 2019. “Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inference.” Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, 3428–48. https://doi.org/10.18653/v1/P19-1334.
Mikolov, Tomas, Kai Chen, Greg Corrado, and Jeffrey Dean. 2013. Efficient Estimation of Word Representations in Vector Space. https://arxiv.org/abs/1301.3781.
Milvus project. 2026. Milvus 3.0.0 Release Notes. Https://github.com/milvus-io/milvus/releases/tag/v3.0.0.
Model Context Protocol project. 2026. Model Context Protocol Specification, Revision 2026-07-28. Specification (current protocol version as of 2026-11-24). https://modelcontextprotocol.io/specification/2026-07-28.
Montague, Mark, and Javed A. Aslam. 2001. “Relevance Score Normalization for Metasearch.” Proceedings of the Tenth International Conference on Information and Knowledge Management (CIKM), 427–33. https://doi.org/10.1145/502585.502657.
Montague, Mark, and Javed A. Aslam. 2002. “Condorcet Fusion for Improved Retrieval.” Proceedings of the Eleventh International Conference on Information and Knowledge Management (CIKM), 538–48. https://doi.org/10.1145/584792.584881.
Morris, John X., Volodymyr Kuleshov, Vitaly Shmatikov, et al. 2023. “Text Embeddings Reveal (Almost) as Much as Text.” Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, 12448–60. https://doi.org/10.18653/v1/2023.emnlp-main.765.
MTEB contributors. 2026. Mteb: Massive Text Embedding Benchmark (Source Code, Release 2.27.22). Https://github.com/embeddings-benchmark/mteb/releases/tag/2.27.22.
Muennighoff, Niklas, Nouamane Tazi, Loïc Magne, and Nils Reimers. 2023. “MTEB: Massive Text Embedding Benchmark.” Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics (EACL), 2014–37. https://doi.org/10.18653/v1/2023.eacl-main.148.
Namboothiri, Rohith. 2026. “Authorization-First Retrieval: Enforcing Least Privilege in Multi-Agent RAG Systems.” Proceedings of the 6th Workshop on Trustworthy NLP (TrustNLP 2026), 256–71. https://doi.org/10.18653/v1/2026.trustnlp-main.15.
Nassar, Ahmed, Nikolaos Livathinos, Maksym Lysak, and Peter Staar. 2022. “TableFormer: Table Structure Understanding with Transformers.” Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), June, 4614–23. https://doi.org/10.1109/CVPR52688.2022.00457.
Nassar, Ahmed, Matteo Omenetti, Maksym Lysak, et al. 2025. “SmolDocling: An Ultra-Compact Vision-Language Model for End-to-End Multi-Modal Document Conversion.” Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), October, 21972–83. https://doi.org/10.1109/ICCV51701.2025.02040.
Nitzan, Shmuel, and Jacob Paroush. 1982. “Optimal Decision Rules in Uncertain Dichotomous Choice Situations.” International Economic Review 23 (2): 289. https://doi.org/10.2307/2526438.
Niu, Junbo, Zheng Liu, Zhuangcheng Gu, et al. 2025. MinerU2.5: A Decoupled Vision-Language Model for Efficient High-Resolution Document Parsing. Technical report (venue not confirmed); weights https://huggingface.co/opendatalab/MinerU2.5-2509-1.2B (AGPL-3.0). https://arxiv.org/abs/2509.22186.
Nogueira, Rodrigo, and Kyunghyun Cho. 2019. Passage Re-Ranking with BERT. https://arxiv.org/abs/1901.04085.
OpenAI. 2024. New Embedding Models and API Updates (Text-Embedding-3-Small, Text-Embedding-3-Large). Https://openai.com/index/new-embedding-models-and-api-updates/.
OpenAI. 2025. Introducing Deep Research. Blog post. https://openai.com/index/introducing-deep-research/.
OpenAI. 2026. File Inputs (OpenAI API Docs). https://developers.openai.com/api/docs/guides/file-inputs.
Ouyang, Linke, Yuan Qu, Hongbin Zhou, et al. 2025. “OmniDocBench: Benchmarking Diverse PDF Document Parsing with Comprehensive Annotations.” IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). https://github.com/opendatalab/OmniDocBench.
Packer, Charles, Sarah Wooders, Kevin Lin, et al. 2023. MemGPT: Towards LLMs as Operating Systems. arXiv preprint (venue not confirmed). https://arxiv.org/abs/2310.08560.
Pan, Zhuoshi, Qianhui Wu, Huiqiang Jiang, et al. 2024. “LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compression.” Findings of the Association for Computational Linguistics: ACL 2024, 963–81. https://aclanthology.org/2024.findings-acl.57/.
Papadakis, George, Dimitrios Skoutas, Emmanouil Thanos, and Themis Palpanas. 2020. “Blocking and Filtering Techniques for Entity Resolution: A Survey.” ACM Computing Surveys 53 (2): 31:1–42. https://doi.org/10.1145/3377455.
Penedo, Guilherme, Hynek Kydlíček, Loubna Ben Allal, et al. 2024. The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scale. https://arxiv.org/abs/2406.17557.
Pennington, Jeffrey, Richard Socher, and Christopher D. Manning. 2014. “GloVe: Global Vectors for Word Representation.” Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), 1532–43. https://doi.org/10.3115/v1/D14-1162.
Pfitzmann, Birgit, Christoph Auer, Michele Dolfi, Ahmed S. Nassar, and Peter W. J. Staar. 2022. “DocLayNet: A Large Human-Annotated Dataset for Document-Layout Segmentation.” Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD ’22), 3743–51. https://doi.org/10.1145/3534678.3539043.
pgvector contributors. 2026. Pgvector: Open-Source Vector Similarity Search for Postgres (README, V0.8.7). Https://github.com/pgvector/pgvector.
Poznanski, Jake, Aman Rangapur, Jon Borchardt, et al. 2025. “olmOCR: Unlocking Trillions of Tokens in PDFs with Vision Language Models.” CODEML Workshop at ICML 2025. https://openreview.net/forum?id=0RoEHuBzc5.
Poznanski, Jake, Luca Soldaini, and Kyle Lo. 2025. olmOCR 2: Unit Test Rewards for Document OCR. arXiv preprint (venue not confirmed); weights https://huggingface.co/allenai/olmOCR-2-7B-1025 (Apache-2.0). https://arxiv.org/abs/2510.19817.
Qdrant. 2026. Qdrant 1.19 (TurboQuant Datatype and Memory Tiers) and Qdrant 1.20 (Full-Text Search Improvements). Https://qdrant.tech/blog/qdrant-1.19.x/; https://qdrant.tech/blog/qdrant-1.20.x/.
Qin, Tao, Tie-Yan Liu, Jun Xu, and Hang Li. 2010. “LETOR: A Benchmark Collection for Research on Learning to Rank for Information Retrieval.” Information Retrieval 13 (4): 346–74. https://doi.org/10.1007/s10791-009-9123-y.
Rackauckas, Zackary. 2024. “RAG-Fusion: A New Take on Retrieval-Augmented Generation.” International Journal on Natural Language Computing 13 (1): 37–47. https://doi.org/10.5121/ijnlc.2024.13103.
Radford, Alec, Jong Wook Kim, Chris Hallacy, et al. 2021. “Learning Transferable Visual Models from Natural Language Supervision.” Proceedings of the 38th International Conference on Machine Learning (ICML), PMLR 139, 8748–63. https://proceedings.mlr.press/v139/radford21a.html.
Reimers, Nils, and Iryna Gurevych. 2019. “Sentence-BERT: Sentence Embeddings Using Siamese BERT-Networks.” Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), 3982–92. https://doi.org/10.18653/v1/D19-1410.
Robertson, S. E., and K. Spärck Jones. 1976. “Relevance Weighting of Search Terms.” Journal of the American Society for Information Science 27 (3): 129–46. https://doi.org/10.1002/asi.4630270302.
Robertson, S. E., S. Walker, S. Jones, M. M. Hancock-Beaulieu, and M. Gatford. 1994. “Okapi at TREC-3.” Overview of the Third Text REtrieval Conference (TREC-3), NIST special publication 500-226, 109–26. https://trec.nist.gov/pubs/trec3/papers/city.ps.gz.
Robertson, Stephen, Hugo Zaragoza, and Michael Taylor. 2004. “Simple BM25 Extension to Multiple Weighted Fields.” Proceedings of the Thirteenth ACM International Conference on Information and Knowledge Management (CIKM ’04), 42–49. https://doi.org/10.1145/1031171.1031181.
Rogers, David, and Mathew Hahn. 2010. “Extended-Connectivity Fingerprints.” Journal of Chemical Information and Modeling 50 (5): 742–54. https://doi.org/10.1021/ci100050t.
Roy, Uma, Noah Constant, Rami Al-Rfou, Aditya Barua, Aaron Phillips, and Yinfei Yang. 2020. “LAReQA: Language-Agnostic Answer Retrieval from a Multilingual Pool.” Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), 5919–30. https://doi.org/10.18653/v1/2020.emnlp-main.477.
Saad-Falcon, Jon, Omar Khattab, Christopher Potts, et al. 2024. “ARES: An Automated Evaluation Framework for Retrieval-Augmented Generation Systems.” Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics (Volume 1: Long Papers), 338–54. https://doi.org/10.18653/v1/2024.naacl-long.20.
Salton, G., A. Wong, and C. S. Yang. 1975. “A Vector Space Model for Automatic Indexing.” Communications of the ACM 18 (11): 613–20. https://doi.org/10.1145/361219.361220.
Santhanam, Keshav, Omar Khattab, Jon Saad-Falcon, Christopher Potts, and Matei Zaharia. 2022. “ColBERTv2: Effective and Efficient Retrieval via Lightweight Late Interaction.” Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL 2022). https://aclanthology.org/2022.naacl-main.272/.
Sarthi, Parth, Salman Abdullah, Aditi Tuli, et al. 2024. “RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval.” International Conference on Learning Representations (ICLR). https://openreview.net/forum?id=GN921JHCRw.
Schechter Vera, Henrique, Sahil Dua, Jovan Andonov, et al. 2026. EmbeddingGemma 2: Unified and Efficient Multimodal Representations. Https://huggingface.co/google/embeddinggemma-2. https://arxiv.org/abs/2610.37364.
Schechter Vera, Henrique, Sahil Dua, Biao Zhang, et al. 2025. EmbeddingGemma: Powerful and Lightweight Text Representations. https://arxiv.org/abs/2509.20354.
Schroff, Florian, Dmitry Kalenichenko, and James Philbin. 2015. “FaceNet: A Unified Embedding for Face Recognition and Clustering.” Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR). https://doi.org/10.1109/CVPR.2015.7298682.
Schulze, Markus. 2011. “A New Monotonic, Clone-Independent, Reversal Symmetric, and Condorcet-Consistent Single-Winner Election Method.” Social Choice and Welfare 36 (2): 267–303. https://doi.org/10.1007/s00355-010-0475-4.
Sciavolino, Christopher, Zexuan Zhong, Jinhyuk Lee, and Danqi Chen. 2021. “Simple Entity-Centric Questions Challenge Dense Retrievers.” Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, 6138–48. https://doi.org/10.18653/v1/2021.emnlp-main.496.
Shapley, Lloyd, and Bernard Grofman. 1984. “Optimizing Group Judgmental Accuracy in the Presence of Interdependencies.” Public Choice 43 (3): 329–43. https://doi.org/10.1007/BF00118940.
Spärck Jones, Karen. 1972. “A Statistical Interpretation of Term Specificity and Its Application in Retrieval.” Journal of Documentation 28 (1): 11–21. https://doi.org/10.1108/eb026526.
Su, Jianlin, Jiarun Cao, Weijie Liu, and Yangyiwen Ou. 2021. Whitening Sentence Representations for Better Semantics and Faster Retrieval. https://arxiv.org/abs/2103.15316.
Sun, Weiwei, Lingyong Yan, Xinyu Ma, et al. 2023. “Is ChatGPT Good at Search? Investigating Large Language Models as Re-Ranking Agents.” Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, 14918–37. https://doi.org/10.18653/v1/2023.emnlp-main.923.
Taghadouini, Said, Adrien Cavaillès, and Baptiste Aubertin. 2026. LightOnOCR: A 1B End-to-End Multilingual Vision-Language Model for State-of-the-Art OCR. https://arxiv.org/abs/2601.14251.
Tang, Liyan, Philippe Laban, and Greg Durrett. 2024. “MiniCheck: Efficient Fact-Checking of LLMs on Grounding Documents.” Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, 8818–47. https://doi.org/10.18653/v1/2024.emnlp-main.499.
Thakur, Aman Singh, Kartik Choudhary, Venkat Srinik Ramayapally, et al. 2025. “Judging the Judges: Evaluating Alignment and Vulnerabilities in LLMs-as-Judges.” Proceedings of the Fourth Workshop on Generation, Evaluation and Metrics (GEM^2), 404–30. https://aclanthology.org/2025.gem-1.33/.
Thakur, Nandan, Nils Reimers, Andreas Rücklé, Abhishek Srivastava, and Iryna Gurevych. 2021. “BEIR: A Heterogenous Benchmark for Zero-Shot Evaluation of Information Retrieval Models.” Thirty-Fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track. https://arxiv.org/abs/2104.08663.
Tongyi DeepResearch Team, Baixuan Li, Bo Zhang, et al. 2025. Tongyi DeepResearch Technical Report. arXiv preprint (venue not confirmed); weights: https://huggingface.co/Alibaba-NLP/Tongyi-DeepResearch-30B-A3B. https://arxiv.org/abs/2510.24701.
Trivedi, Harsh, Niranjan Balasubramanian, Tushar Khot, et al. 2023. “Interleaving Retrieval with Chain-of-Thought Reasoning for Knowledge-Intensive Multi-Step Questions.” Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (ACL 2023). https://doi.org/10.18653/v1/2023.acl-long.557.
Uban, Ana Sabina, and Liviu P. Dinu. 2020. “Automatically Building a Multilingual Lexicon of False Friends with No Supervision.” Proceedings of the Twelfth Language Resources and Evaluation Conference (LREC 2020), 3001–7. https://aclanthology.org/2020.lrec-1.367/.
Wallace, Eric, Yizhong Wang, Sujian Li, Sameer Singh, and Matt Gardner. 2019. “Do NLP Models Know Numbers? Probing Numeracy in Embeddings.” Proceedings of EMNLP-IJCNLP 2019, 5307–15. https://doi.org/10.18653/v1/D19-1534.
Wang, Liang, Nan Yang, Xiaolong Huang, et al. 2022. Text Embeddings by Weakly-Supervised Contrastive Pre-Training. https://arxiv.org/abs/2212.03533.
Wang, Liang, Nan Yang, Xiaolong Huang, Linjun Yang, Rangan Majumder, and Furu Wei. 2024. Multilingual E5 Text Embeddings: A Technical Report. https://arxiv.org/abs/2402.05672.
Wang, Liang, Nan Yang, and Furu Wei. 2023. “Query2doc: Query Expansion with Large Language Models.” Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, 9414–23. https://doi.org/10.18653/v1/2023.emnlp-main.585.
Wang, Wenhui, Furu Wei, Li Dong, Hangbo Bao, Nan Yang, and Ming Zhou. 2020. MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformers. https://arxiv.org/abs/2002.10957.
Wei, Haoran, Chenglong Liu, Jinyue Chen, et al. 2024. General OCR Theory: Towards OCR-2.0 via a Unified End-to-End Model. arXiv preprint (ICLR 2025 submission withdrawn; venue not confirmed). https://arxiv.org/abs/2409.01704.
Wei, Haoran, Yaofeng Sun, and Yukun Li. 2025. DeepSeek-OCR: Contexts Optical Compression. arXiv preprint (venue not confirmed); code and weights MIT, https://github.com/deepseek-ai/DeepSeek-OCR. https://arxiv.org/abs/2510.18234.
Wei, Haoran, Yaofeng Sun, and Yukun Li. 2026. DeepSeek-OCR 2: Visual Causal Flow. https://arxiv.org/abs/2601.20552.
Wei, Jason, Zhiqing Sun, Spencer Papay, et al. 2025. BrowseComp: A Simple yet Challenging Benchmark for Browsing Agents. https://arxiv.org/abs/2504.12516.
Weller, Orion, Michael Boratko, Iftekhar Naim, and Jinhyuk Lee. 2026. “On the Theoretical Limitations of Embedding-Based Retrieval.” International Conference on Learning Representations (ICLR). https://proceedings.iclr.cc/paper_files/paper/2026/hash/130b10e31f5c3d730162323b2685bd19-Abstract-Conference.html.
Weller, Orion, Dawn Lawrie, and Benjamin Van Durme. 2024. “NevIR: Negation in Neural Information Retrieval.” Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics (Volume 1: Long Papers), 2274–87. https://doi.org/10.18653/v1/2024.eacl-long.139.
Weller, Orion, Kyle Lo, David Wadden, et al. 2024. “When Do Generative Query and Document Expansions Fail? A Comprehensive Study Across Methods, Retrievers, and Datasets.” Findings of the Association for Computational Linguistics: EACL 2024, 1987–2003. https://doi.org/10.18653/v1/2024.findings-eacl.134.
Winkler, William E. 1990. “String Comparator Metrics and Enhanced Decision Rules in the Fellegi-Sunter Model of Record Linkage.” Proceedings of the Section on Survey Research Methods, 354–59. https://files.eric.ed.gov/fulltext/ED325505.pdf.
Xiang, Zhishang, Chuanjie Wu, Qinggang Zhang, et al. 2026. “When to Use Graphs in RAG: A Comprehensive Analysis for Graph Retrieval-Augmented Generation.” International Conference on Learning Representations (ICLR 2026). https://openreview.net/forum?id=i9q9xDMjG7.
Xu, Fangyuan, Weijia Shi, and Eunsol Choi. 2024. “RECOMP: Improving Retrieval-Augmented LMs with Context Compression and Selective Augmentation.” International Conference on Learning Representations (ICLR). https://proceedings.iclr.cc/paper_files/paper/2024/hash/bda88ed2892f5e61c9a9bf215c566913-Abstract-Conference.html.
Yan, Shi-Qi, Jia-Chen Gu, Yun Zhu, et al. 2026. “Corrective Retrieval Augmented Generation.” Findings of the Association for Computational Linguistics: IJCNLP-AACL 2026, 2991–3003. https://doi.org/10.18653/2026.findings-aacl.151.
Yang, Zhibo, Jun Tang, Zhaohai Li, et al. 2024. CC-OCR: A Comprehensive and Challenging OCR Benchmark for Evaluating Large Multimodal Models in Literacy. https://arxiv.org/abs/2412.02210.
Yao, Shunyu, Jeffrey Zhao, Dian Yu, et al. 2023. “ReAct: Synergizing Reasoning and Acting in Language Models.” International Conference on Learning Representations (ICLR 2023). https://iclr.cc/virtual/2023/poster/11003.
Young, H. P. 1988. “Condorcet’s Theory of Voting.” American Political Science Review 82 (4): 1231–44. https://doi.org/10.2307/1961757.
Zhang, Junyuan, Qintong Zhang, Bin Wang, et al. 2025. “OCR Hinders RAG: Evaluating the Cascading Impact of OCR on Retrieval-Augmented Generation.” IEEE/CVF International Conference on Computer Vision (ICCV). https://github.com/opendatalab/OHR-Bench.
Zhang, Yanzhao, Mingxin Li, Dingkun Long, et al. 2025. Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Models. https://arxiv.org/abs/2506.05176.
Zhang, Zelun, Hongen Liu, Suyin Liang, et al. 2026. PaddleOCR-VL-1.6: Expanding the Frontier of Document Parsing with Under-Optimized Region Refinement and Progressive Post-Training. https://arxiv.org/abs/2606.03264.
Zou, Wei, Runpeng Geng, Binghui Wang, et al. 2025. “PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models.” 34th USENIX Security Symposium (USENIX Security 25), 3827–44. https://www.usenix.org/conference/usenixsecurity25/presentation/zou-poisonedrag.