← Latest papers
💻 computer science

SproutRAG: Attention-Guided Tree Search with Progressive Embeddings for Long-Document RAG

SproutRAG is an end-to-end trained, attention-guided hierarchical RAG framework that constructs a binary chunking tree from sentence-level embeddings to enable multi-granularity retrieval via beam search, thereby improving information efficiency in long-document tasks without relying on costly LLM calls or lossy summarization.

Original authors: Amirhossein Abaskohi, Issam H. Laradji, Peter West, Giuseppe Carenini

Published 2026-06-19
📖 4 min read☕ Coffee break read

Original authors: Amirhossein Abaskohi, Issam H. Laradji, Peter West, Giuseppe Carenini

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 have a massive library of books, and you need to find the exact answer to a specific question. The old way of doing this (standard RAG systems) is like cutting every book into tiny, fixed-size pages and shoving them into a giant pile. When you ask a question, the system grabs a few pages from the top of the pile.

The problem? Sometimes the answer you need is spread across three or four pages that got separated. If you grab just one page, you miss the context. If you grab a whole chapter, you get too much useless noise. It's a "Goldilocks" problem: the chunks are either too small to make sense or too big to be useful.

SPROUTRAG is a new system that solves this by building a smart, living tree out of the text instead of just a pile of pages.

Here is how it works, using simple analogies:

1. The "Smart Gardener" (Building the Tree)

Instead of cutting the text randomly, SPROUTRAG acts like a gardener who understands how sentences grow together.

  • The Leaves: It starts by breaking the document down into individual sentences (the leaves).
  • The Roots: It uses a special "attention" mechanism (like a gardener noticing which plants naturally lean toward each other) to see which sentences belong together.
  • The Branches: It slowly glues related sentences together, forming small branches, then bigger branches, until it creates a full tree.
    • The Magic: Unlike other systems that need a super-intelligent robot (an LLM) to decide how to glue things together, SPROUTRAG teaches itself this skill. It learns which parts of its own brain (specific attention layers) are best at spotting these connections, without needing to call an expensive external robot every time.

2. The "Searchlight" (Finding the Answer)

When you ask a question, the system doesn't just look at the leaves (single sentences) or the whole tree (the whole document). It uses a Hierarchical Beam Search, which is like shining a searchlight that can change its focus instantly.

  • Fine Focus: If your question is about a specific date, the light zooms in on a single leaf.
  • Wide Focus: If your question is about a character's whole life journey, the light widens to cover a whole branch or even a subtree.
  • The Result: It gathers the perfect amount of information—no more, no less—by picking the right "branch" of the tree that fits your question best.

3. Why It's Better (The "Efficiency" Win)

Other methods try to solve this by:

  • Summarizing: Like a person reading a whole chapter and writing a one-sentence summary. This is fast, but you often lose important details (the "lossy" part).
  • Calling a Robot: Asking a super-smart AI to reorganize the text every time you search. This is accurate but very slow and expensive.

SPROUTRAG is different because:

  • No Summaries: It keeps the original sentences intact, so no information is lost.
  • No Robot Calls: Once the tree is built (which happens offline), finding the answer is incredibly fast. It doesn't need to call an expensive AI during the search; it just navigates the tree it already built.

The Bottom Line

The paper claims that by organizing text into this learned, attention-guided tree, SPROUTRAG is much better at finding the right information than current methods.

  • It found the right "chunks" of text 6.1% better on average across four different tests (covering science, law, and general knowledge).
  • It does this while being fast and cheap to run, avoiding the need for expensive AI calls during the search process.

In short: It turns a messy pile of paper into a well-organized tree, allowing you to grab exactly the right branch you need to answer your question, without losing any leaves or calling for help.

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 →