Lost in the Middle (Liu et al., 2023) — is the U-curve still true, and does it matter? #38
Discussion thread for the week 5 reading. The paper: arXiv:2307.03172. Holding the evidence set Three questions to argue about1 · The paper is from 2023 and the models have changed. Does the finding still hold? Worth being careful here in both directions. "Models got better so this is obsolete" is a The position the curriculum takes: this is a paper to replicate, not to cite. Notebook 05 2 · If the effect is real, which mitigation is worth its cost? The four the deck names, in cost order: keep k small (free, and saves money); order by score and Notice the first one is free and helps for a second reason — fewer chunks in the middle at 3 · What does this imply about long-context models replacing retrieval? The sharper version of the question. If accuracy degrades with position in a 4k context, what What I would like people to postIf you have access to a model, run the experiment on your own eval set and post the spread. |
Replies: 2 comments 1 reply
Taking question 1 — I ran the replication from §5.4 rather than arguing about it, since that is what the thread asks for. Forced the gold chunk into position 1, middle, and last with Spread of 0.071 between best and worst, and the shape is a U — first > last > middle, which matches the paper's qualitative finding. Two caveats I would not want anyone to skip. First, this is the extractive generator, so it is measuring the packer and the reader's position sensitivity, not a large model's. Second, |
|
Marking Priya's replication as the answer, because a measured spread on our own corpus is worth more here than any amount of argument about the paper, and because the caveats attached to it are more useful than the number. Where I would land on the three questions. 1 · Does it still hold? Directionally yes, magnitude unknown and model-specific. Priya's 0.071 is real on this setup and does not license a claim about GPT-scale models on long contexts. The curriculum's position stands: replicate, do not cite. A paper that is cheap to re-run and often re-run wrongly is exactly the paper to make people re-run. 2 · Which mitigation is worth its cost? Keep 3 · Long context replacing retrieval? The question is usually posed as capability and it is actually economics. Even where a long-context model can attend across 500k tokens, you are paying to process 500k tokens on every query to answer something a 4k-token context would have answered — and prompt caching changes that arithmetic without eliminating it. Notebook 07 has the model. The retrieval-shaped argument that survives: retrieval is not only about fitting in the window, it is about access control, freshness, attribution and cost. None of those four are solved by a longer context. A chunk you retrieved can be permission-filtered, cited, invalidated, and paid for once. A document you pasted into a prompt can be none of those things. |
Marking Priya's replication as the answer, because a measured spread on our own corpus is worth more here than any amount of argument about the paper, and because the caveats attached to it are more useful than the number.
Where I would land on the three questions.
1 · Does it still hold? Directionally yes, magnitude unknown and model-specific. Priya's 0.071 is real on this setup and does not license a claim about GPT-scale models on long contexts. The curriculum's position stands: replicate, do not cite. A paper that is cheap to re-run and often re-run wrongly is exactly the paper to make people re-run.
2 · Which mitigation is worth its cost? Keep
ksmall, and largely stop there. It is f…