<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Lost in the Middle: How Language Models Use Long Contexts · HackerPapers discussions</title><link>https://hackerpaper.kaipfister.de/p/2307.03172/</link><description>Collected HN comments and submissions linking this paper.</description><language>en</language><lastBuildDate>Mon, 02 Nov 2026 11:16:22 GMT</lastBuildDate><atom:link href="https://hackerpaper.kaipfister.de/p/2307.03172/feed.xml" rel="self" type="application/rss+xml" /><item><title>Lost in the Middle: How Language Models Use Long Contexts — mentioned by selcuka</title><link>https://news.ycombinator.com/item?id=49457357</link><guid isPermaLink="false">urn:hackerpapers:mention:2307.03172:49457357</guid><pubDate>Wed, 26 Aug 2026 23:34:13 GMT</pubDate><description>&lt;p&gt;They accept more tokens these days, but they are still more accurate with a shorter context [1]. [1] https://arxiv.org/abs/2307.03172&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2307.03172/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Lost in the Middle: How Language Models Use Long Contexts — mentioned by supermatt</title><link>https://news.ycombinator.com/item?id=49097604</link><guid isPermaLink="false">urn:hackerpapers:mention:2307.03172:49097604</guid><pubDate>Wed, 29 Jul 2026 13:56:27 GMT</pubDate><description>&lt;p&gt;There was an article a few years ago called &amp;quot;Lost in the Middle: How Language Models Use Long Contexts&amp;quot; https://arxiv.org/abs/2307.03172 From my experience this holds true to this day. It was one of my core observations for similarity to the limitations of human working memory on &amp;quot;Engineering for Bounded Cognition&amp;quot;&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2307.03172/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Lost in the Middle: How Language Models Use Long Contexts — mentioned by wonnage</title><link>https://news.ycombinator.com/item?id=48972984</link><guid isPermaLink="false">urn:hackerpapers:mention:2307.03172:48972984</guid><pubDate>Mon, 20 Jul 2026 00:18:56 GMT</pubDate><description>&lt;p&gt;Not sure if this is still up to date (2023), but https://arxiv.org/abs/2307.03172 shows that performance degrades mostly in the middle of the context. Anecdotally I&amp;#x27;ve been stuck in that situation of being at 400-500k tokens and &amp;quot;just one more prompt bro&amp;quot; will get the task done, and I appreciate not having to wait through a compaction. If anything, keeping the bloated context helps with accuracy at the expense of speed in these cases.&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2307.03172/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Lost in the Middle: How Language Models Use Long Contexts — HN submission</title><link>https://news.ycombinator.com/item?id=46828936</link><guid isPermaLink="false">urn:hackerpapers:submission:2307.03172:46828936</guid><pubDate>Fri, 30 Jan 2026 19:44:56 GMT</pubDate><description>&lt;p&gt;Lost in the Middle: How Language Models Use Long Contexts (2023)&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;2 points; 0 discussion replies on HN. &lt;a href="https://hackerpaper.kaipfister.de/p/2307.03172/"&gt;Paper and source history&lt;/a&gt;. A submission is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Lost in the Middle: How Language Models Use Long Contexts — mentioned by xinweihe</title><link>https://news.ycombinator.com/item?id=44790474</link><guid isPermaLink="false">urn:hackerpapers:mention:2307.03172:44790474</guid><pubDate>Mon, 04 Aug 2025 19:36:15 GMT</pubDate><description>&lt;p&gt;Thanks for the follow-up. Let me try to clarify! When we say we &amp;quot;organize all logs, metrics, and traces&amp;quot;, we mean more than just linking them together (which otel already supports). What we’re doing is: - context engineering optimization: We leverage the structure among logs, spans, and metadata to filter and group relevant context before passing it to the LLM. In real production issues, it&amp;#x27;s common to see 10k+ logs, traces, etc. related to a single incident — but most of it is noise. Throwing all that at agents usually leads to poor performance due to context bloat see…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2307.03172/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Lost in the Middle: How Language Models Use Long Contexts — mentioned by funnygiraffe</title><link>https://news.ycombinator.com/item?id=40979069</link><guid isPermaLink="false">urn:hackerpapers:mention:2307.03172:40979069</guid><pubDate>Tue, 16 Jul 2024 18:36:50 GMT</pubDate><description>&lt;p&gt;I was under the impression that with LLMs, in order to get high-quality answers, it&amp;#x27;s always best to keep context short. Is that not the case anymore? Does Claude under this usage paradigm not struggle with very long contexts in ways as for example described in the &amp;quot;lost in the middle&amp;quot; paper (https://arxiv.org/abs/2307.03172)?&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2307.03172/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Lost in the Middle: How Language Models Use Long Contexts — mentioned by araghuvanshi</title><link>https://news.ycombinator.com/item?id=40136103</link><guid isPermaLink="false">urn:hackerpapers:mention:2307.03172:40136103</guid><pubDate>Tue, 23 Apr 2024 19:24:56 GMT</pubDate><description>&lt;p&gt;Some counterarguments: 1. If an AI company promises that their LLM has a million token context window, but in practice it only pays attention to the first and last 30k tokens, and then hallucinates, that is a bad practice. And prompt construction does not help here - the issue is with the fundamentals of how LLMs actually work. Proof: https://arxiv.org/abs/2307.03172 2. Regarding writing the code snippet: as I described in my post, the main issue is that the model does not understand the relationships between information in the long document. So yes, it can write a script that counts the…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2307.03172/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Lost in the Middle: How Language Models Use Long Contexts — mentioned by bayesian_limit</title><link>https://news.ycombinator.com/item?id=38796364</link><guid isPermaLink="false">urn:hackerpapers:mention:2307.03172:38796364</guid><pubDate>Thu, 28 Dec 2023 18:04:46 GMT</pubDate><description>&lt;p&gt;I could not help but notice the Contriever curve is so much higher on y-axis Recall than the other methods (figure 11 in https://arxiv.org/pdf/2307.03172.pdf). Has anyone come across more recent experiments, results, or papers related to this? I&amp;#x27;m acquainted with the: - Contriever 2021 paper https://aclanthology.org/2021.eacl-main.74.pdf - Hyde 2022 https://arxiv.org/pdf/2212.10496.pdf My suspicion is some pre-logic such as is the user&amp;#x27;s question dense enough then use Hyde with chat history. If anyone has more recent experience with Contrievers, would love to learn more about it! Feel free to…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2307.03172/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Lost in the Middle: How Language Models Use Long Contexts — mentioned by msp26</title><link>https://news.ycombinator.com/item?id=38205479</link><guid isPermaLink="false">urn:hackerpapers:mention:2307.03172:38205479</guid><pubDate>Thu, 09 Nov 2023 14:34:36 GMT</pubDate><description>&lt;p&gt;Yeah, degraded performance on long contexts has been observed in plenty of other models [https://arxiv.org/abs/2307.03172] so I was cautious too. Unfortunately I don&amp;#x27;t have access to 4-32k. I would have liked to test that out too.&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2307.03172/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Lost in the Middle: How Language Models Use Long Contexts — mentioned by Swizec</title><link>https://news.ycombinator.com/item?id=38167089</link><guid isPermaLink="false">urn:hackerpapers:mention:2307.03172:38167089</guid><pubDate>Mon, 06 Nov 2023 18:59:53 GMT</pubDate><description>&lt;p&gt;&amp;gt; 128k context? Absolutely insane 128k context is great and all, but how effective are the middle 100,000 tokens? LLMs are known to struggle with remembering stuff that isn&amp;#x27;t at the start or end of the input. Known as the Lost Middle https://arxiv.org/abs/2307.03172&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2307.03172/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Lost in the Middle: How Language Models Use Long Contexts — mentioned by Der_Einzige</title><link>https://news.ycombinator.com/item?id=38132180</link><guid isPermaLink="false">urn:hackerpapers:mention:2307.03172:38132180</guid><pubDate>Fri, 03 Nov 2023 17:35:45 GMT</pubDate><description>&lt;p&gt;Even full quadratic attention models seem to forget or not value information given in the middle of the prompt. Anything using any kind of context length widening tricks which cripple the attention in some way (which is usually how this is done) will make that problem worse. - https://arxiv.org/abs/2307.03172 You can see this when you use Anthropic Claude which has a 100K context length today.&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2307.03172/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Lost in the Middle: How Language Models Use Long Contexts — mentioned by msp26</title><link>https://news.ycombinator.com/item?id=38070106</link><guid isPermaLink="false">urn:hackerpapers:mention:2307.03172:38070106</guid><pubDate>Mon, 30 Oct 2023 14:48:43 GMT</pubDate><description>&lt;p&gt;Performance on long contexts just isn&amp;#x27;t very good right now. Relevant paper: Lost in the Middle: How Language Models Use Long Contexts https://arxiv.org/abs/2307.03172&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2307.03172/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Lost in the Middle: How Language Models Use Long Contexts — mentioned by sandkoan</title><link>https://news.ycombinator.com/item?id=37908727</link><guid isPermaLink="false">urn:hackerpapers:mention:2307.03172:37908727</guid><pubDate>Tue, 17 Oct 2023 00:40:58 GMT</pubDate><description>&lt;p&gt;For anyone who&amp;#x27;s curious, the paper in question, entitled, &amp;quot;Lost in the Middle: How Language Models Use Long Contexts&amp;quot; (https://arxiv.org/abs/2307.03172)&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2307.03172/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Lost in the Middle: How Language Models Use Long Contexts — mentioned by ajhai</title><link>https://news.ycombinator.com/item?id=37511906</link><guid isPermaLink="false">urn:hackerpapers:mention:2307.03172:37511906</guid><pubDate>Thu, 14 Sep 2023 17:22:05 GMT</pubDate><description>&lt;p&gt;Kudos to the team for a very detailed notebook going into things like pipeline evaluation wrt performance and costs etc. Even if we ignore the framework specific bits, it is a great guide to follow when building RAG systems in production. We have been building RAG systems in production for a few months and have been tinkering with different strategies to get the most performance out of these pipelines. As others have pointed out, vector database may not be the right strategy for every problem. Similarly there are things like lost in the middle problems (https://arxiv.org/abs/2307.03172) that…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2307.03172/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Lost in the Middle: How Language Models Use Long Contexts — mentioned by Beefin</title><link>https://news.ycombinator.com/item?id=37302776</link><guid isPermaLink="false">urn:hackerpapers:mention:2307.03172:37302776</guid><pubDate>Tue, 29 Aug 2023 02:18:41 GMT</pubDate><description>&lt;p&gt;does expanding the context window of LLMs still make them dumber? https://arxiv.org/pdf/2307.03172.pdf&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2307.03172/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Lost in the Middle: How Language Models Use Long Contexts — mentioned by gk1</title><link>https://news.ycombinator.com/item?id=37178033</link><guid isPermaLink="false">urn:hackerpapers:mention:2307.03172:37178033</guid><pubDate>Fri, 18 Aug 2023 16:28:23 GMT</pubDate><description>&lt;p&gt;Interesting, thanks for sharing. We also found[1] that context stuffing leads (generally) to worse quality results, as did a recent study.[2] But that&amp;#x27;s for question-answering use cases and not summarization. [1] https://www.pinecone.io/blog/why-use-retrieval-instead-of-la... [2] https://arxiv.org/pdf/2307.03172.pdf&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2307.03172/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Lost in the Middle: How Language Models Use Long Contexts — mentioned by spmurrayzzz</title><link>https://news.ycombinator.com/item?id=37034052</link><guid isPermaLink="false">urn:hackerpapers:mention:2307.03172:37034052</guid><pubDate>Mon, 07 Aug 2023 13:18:12 GMT</pubDate><description>&lt;p&gt;I haven&amp;#x27;t tested the newest implementations of every large context window model, so I&amp;#x27;m not sure how prevalent this issue still is, but generally speaking the context window tends to be U-shaped. In other words, the model seems to forget/ignore everything in the middle. So YMMV if you&amp;#x27;re trying to implement RAG-esque methods with them. More reading on that problem if you&amp;#x27;re curious: https://arxiv.org/pdf/2307.03172.pdf&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2307.03172/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Lost in the Middle: How Language Models Use Long Contexts — mentioned by williamzeng0</title><link>https://news.ycombinator.com/item?id=36991722</link><guid isPermaLink="false">urn:hackerpapers:mention:2307.03172:36991722</guid><pubDate>Thu, 03 Aug 2023 20:54:24 GMT</pubDate><description>&lt;p&gt;That&amp;#x27;s a good question! We tried using Anthropic 100k before (Claude 1.3 was a lot worse), and I think that it&amp;#x27;s really important to figure out how to be context efficient, at least for GPT4. My stance is with models ignoring long contexts(https://arxiv.org/pdf/2307.03172.pdf), we&amp;#x27;ll have this problem for a long time. I could be wrong though. Also we did try function calling, but it doesn&amp;#x27;t allow for a chain of thought step. This made the plan/code way worse. Cool to see you found the same!&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2307.03172/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Lost in the Middle: How Language Models Use Long Contexts — HN submission</title><link>https://news.ycombinator.com/item?id=36973897</link><guid isPermaLink="false">urn:hackerpapers:submission:2307.03172:36973897</guid><pubDate>Wed, 02 Aug 2023 17:22:31 GMT</pubDate><description>&lt;p&gt;How language models use long contexts&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;15 points; 0 discussion replies on HN. &lt;a href="https://hackerpaper.kaipfister.de/p/2307.03172/"&gt;Paper and source history&lt;/a&gt;. A submission is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Lost in the Middle: How Language Models Use Long Contexts — mentioned by saliagato</title><link>https://news.ycombinator.com/item?id=36918462</link><guid isPermaLink="false">urn:hackerpapers:mention:2307.03172:36918462</guid><pubDate>Sat, 29 Jul 2023 09:33:50 GMT</pubDate><description>&lt;p&gt;You are correct. The paper is called &amp;quot;Lost in the middle&amp;quot; [1] and it is probably one of the worst drawbacks of this technology. It makes a lot of use cases biased (think of law). [0] https://arxiv.org/pdf/2307.03172.pdf&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2307.03172/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Lost in the Middle: How Language Models Use Long Contexts — mentioned by Der_Einzige</title><link>https://news.ycombinator.com/item?id=36775672</link><guid isPermaLink="false">urn:hackerpapers:mention:2307.03172:36775672</guid><pubDate>Tue, 18 Jul 2023 16:59:44 GMT</pubDate><description>&lt;p&gt;Any trick which is not doing full quadratic attention cripples a models ability to reason &amp;quot;in the middle&amp;quot; more than they already are crippled. Good long context length models are currently a mirage. This is why no one is seriously using GPT-4-32k or Claude-100k in production right now. Edit: even if it&amp;#x27;s doing full attention like the commentator says, turns out that&amp;#x27;s not good enough! https://arxiv.org/abs/2307.03172&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2307.03172/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Lost in the Middle: How Language Models Use Long Contexts — mentioned by bobvanluijt</title><link>https://news.ycombinator.com/item?id=36760270</link><guid isPermaLink="false">urn:hackerpapers:mention:2307.03172:36760270</guid><pubDate>Mon, 17 Jul 2023 16:31:27 GMT</pubDate><description>&lt;p&gt;Based on this research paper: https://arxiv.org/pdf/2307.03172.pdf&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2307.03172/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Lost in the Middle: How Language Models Use Long Contexts — HN submission</title><link>https://news.ycombinator.com/item?id=36632287</link><guid isPermaLink="false">urn:hackerpapers:submission:2307.03172:36632287</guid><pubDate>Fri, 07 Jul 2023 14:30:09 GMT</pubDate><description>&lt;p&gt;Lost in the Middle: How Language Models Use Long Contexts&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;2 points; 0 discussion replies on HN. &lt;a href="https://hackerpaper.kaipfister.de/p/2307.03172/"&gt;Paper and source history&lt;/a&gt;. A submission is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item></channel></rss>
