Anthropic (2024) — contextual retrieval, and a precondition nobody states #130
Unanswered
akash-coded
asked this question in
Reading Club
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Paper: Engineering blog
The claim, in one paragraph
Prepend a generated sentence situating each chunk in its parent document before embedding and
indexing it. Reported: a 49% reduction in failed retrievals.
It is a real technique with a real mechanism. The mechanism is chunks that are unretrievable in
isolation — and the post does not lead with that precondition, which is how it gets adopted by
people who do not have the failure.
How we would test it here
#37 measured a template-based approximation on this corpus: worse on
both quality metrics at 2.4× storage. The reason is
L02 — structural chunking already carries the
heading path, so these chunks were never orphaned.
Two or three things to argue about
1. The diagnostic is ten minutes: sample 20 chunks, read them cold, ask whether you can tell what they are about. Why is that not the first paragraph of every write-up of this technique?
2. Our test used a template, not a model. The #37 thread argues the result is scoped narrowly because of it. Is the scoping fair, or is it a way of not accepting a negative result?
3. 2.4× storage is cheap. The coupling is not — a parent edit now invalidates every chunk in it, so the incremental path partly collapses into a rebuild. Is that cost ever priced in the write-ups you have read?
If you have run any part of this, post the numbers — a replication with an interval outranks
every opinion in the thread, including mine.
All reactions