← Latest papers
💬 NLP

SCAR: Semantic Continuity-Aware Retrieval for Efficient Context Expansion in RAG

The paper proposes SCAR, an adaptive retrieval policy that mitigates boundary fragmentation in RAG by selectively expanding neighboring chunks based on a relative relevance threshold, achieving significantly higher recall with fewer tokens and demonstrating robust transferability across different embedding models without recalibration.

Original authors: Nathanaël Langlois

Published 2026-06-16
📖 3 min read☕ Coffee break read

Original authors: Nathanaël Langlois

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to solve a mystery by reading a massive, 500-page detective novel. You have a very smart assistant (the AI) who can read the book for you, but the book has been chopped up into tiny, rigid 10-page snippets.

The Problem: The "Cut-Up" Book
Sometimes, the most important clue isn't contained in just one snippet. It might be split right down the middle. For example, the question asks about a specific financial table, but the "Header" of the table is on page 10, and the "Rows" with the numbers are on page 11.

If your assistant only grabs page 10, it sees the title but no numbers. If it grabs page 11, it sees numbers but no title. The clue is fragmented.

To fix this, most systems use a "Static Window" strategy. This is like saying, "Whenever you find a page, grab the page before it and the page after it, just in case."

  • The Downside: This is wasteful. You end up grabbing 10 pages of text when you only needed 2. It's like bringing a whole toolbox to fix a single loose screw. It slows down the AI and confuses it with too much "noise" (irrelevant information).

The Solution: SCAR (The Smart Librarian)
The paper introduces SCAR (Semantic Continuity-Aware Retrieval). Think of SCAR not as a robot that grabs everything nearby, but as a smart librarian who understands the story.

When the librarian finds a page that matches your question, she doesn't automatically grab the neighbors. Instead, she asks two questions:

  1. Relevance: Does the neighbor page actually help answer the question?
  2. Continuity: Does the neighbor page flow naturally from the current one? (Is it part of the same sentence, table, or paragraph, or is it a totally new topic?)

How SCAR Decides (The "Continuity Penalty")
SCAR uses a clever trick. It calculates a "penalty" for jumping to a new page.

  • If the neighbor page is a perfect continuation of the story (high semantic similarity), the penalty is low, and SCAR grabs it.
  • If the neighbor page is a totally different topic (like jumping from a financial table to a legal disclaimer), the penalty is high. Even if the neighbor page has some keywords, SCAR decides, "No, this breaks the flow," and leaves it behind.

The Results: Less Noise, Same Answer
The authors tested this on four different types of complex documents (like legal contracts and financial reports) with 320 different questions.

  • The Old Way (Static Window): To get the right answer, the system had to read an average of 10.16 chunks (pages) per question.
  • The SCAR Way: SCAR found the right answer using only 7.84 chunks.

What This Means in Plain English:

  • Efficiency: SCAR reduced the amount of reading the AI had to do by about 23% without losing the ability to find the correct answer.
  • Quality: The AI's answers were just as accurate and "faithful" to the source text as before. It didn't start hallucinating or making things up just because it read less.
  • Adaptability: The system works well even if you change the "dictionary" (embedding model) it uses to understand words. You don't need to re-tune the settings; it just works.

The Bottom Line
SCAR is a "drop-in" upgrade for AI systems that read documents. It stops the AI from blindly grabbing irrelevant pages just because they are next to the right one. It acts like a human reader who knows when to turn the page and when to stop, saving time and computing power while keeping the answers accurate.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →