By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Fighting Context Rot in Long-Context LLMs | HackerNoon
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > Fighting Context Rot in Long-Context LLMs | HackerNoon
Computing

Fighting Context Rot in Long-Context LLMs | HackerNoon

News Room
Last updated: 2025/12/03 at 8:55 AM
News Room Published 3 December 2025
Share
Fighting Context Rot in Long-Context LLMs | HackerNoon
SHARE

Retrieval systems have existed for over a century, and we have all used them in some form either by searching for something on Google or querying ChatGPT with prompts. With the rise of large language models, it has become easier than ever to find answers to your questions but a problem arises when your question is outside the model’s knowledge cut-off or domain.

The solution is to provide more context to the model, and the easiest form this takes is by including the relevant context within your prompt. Another common approach is to provide an external data source. This is where Retrieval Augmented Generation (RAG) comes in.

RAG is a technique that provides LLMs with relevant information from external sources such as the internet or a database. A RAG system has two parts to it: a retriever which retrieves relevant documents that will be used to augment a user’s query and a generator that generates a response based off the augmented query. A high-level overview of a RAG system looks like this:

Context length is another thing to consider when building RAG systems. Research shows that performance degrades significantly as context grows:

credit: research.trychroma.com/context-rot

A popular benchmark that tests this in LLMs is the Needle in a Haystack (NIAH) benchmark. A simple retrieval test where a known sentence (the needle) is placed in a large document of unrelated text (the haystack). Interestingly, despite research showing performance drops as context grows, all the popular models with million context windows achieve near-perfect scores on the test. This is because NIAH tests direct lexical matching which in most cases, does not represent semantically oriented tasks.

A solution then is to periodically create summary instances of your context, so you can prune any corrupted or redundant tokens and prioritize relevance when designing your retrieval systems. When designing these systems, especially with large context or frequent summarization, consider scalability (both horizontal and vertical) from the start.

If you’re interested in reading more on context rot, check that out here.


updates under the fold

I built a local RAG system that lets you chat with PDFs and get cited answers.

Until next time,

Victor.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Google Removed an Easy Way to Call Home to Your Nest Smart Display Google Removed an Easy Way to Call Home to Your Nest Smart Display
Next Article Cloudbusting: Policy for evaluating trust in compute infrastructure Cloudbusting: Policy for evaluating trust in compute infrastructure
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

AI Wrote Your Tests. Variables Keep Them Alive. | HackerNoon
AI Wrote Your Tests. Variables Keep Them Alive. | HackerNoon
Computing
When is Spotify Wrapped 2025 released? Previous dates and features
When is Spotify Wrapped 2025 released? Previous dates and features
News
I want this Stranger Things Creel House Lego right now
I want this Stranger Things Creel House Lego right now
Gadget
Amazon's top ,349 M5 MacBook Pro deal is still in stock for the holidays
Amazon's top $1,349 M5 MacBook Pro deal is still in stock for the holidays
News

You Might also Like

AI Wrote Your Tests. Variables Keep Them Alive. | HackerNoon
Computing

AI Wrote Your Tests. Variables Keep Them Alive. | HackerNoon

5 Min Read
LibreOffice 26.2 Alpha 1 Released For Testing
Computing

LibreOffice 26.2 Alpha 1 Released For Testing

1 Min Read
Why Nigeria’s startup ecosystem needs more corporate buyers
Computing

Why Nigeria’s startup ecosystem needs more corporate buyers

6 Min Read
Stop Guessing Your Rates: How Filipino Web Devs Can Price Projects Like Pros | HackerNoon
Computing

Stop Guessing Your Rates: How Filipino Web Devs Can Price Projects Like Pros | HackerNoon

7 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?