← Latest papers
💬 NLP

DynaKRAG: A Unified Framework for Learnable Evidence Control in Multi-Hop Retrieval-Augmented Generation

DynaKRAG is a unified framework that formulates multi-hop retrieval-augmented generation as a state-conditioned control problem, using a learned policy to dynamically select from valid evidence operations like retrieval and query reformulation, thereby outperforming existing methods on benchmarks such as HotpotQA, 2Wiki, and MuSiQue.

Original authors: Yaqi Wu, Xiaolei Guo, Chenyu Zhou, Jiaqi Huang, Xianfa Zhang, Junxu Zhang, Zhuo Yu, Zhubo Shi, Jianghao Lin, Dongdong Ge

Published 2026-07-08
📖 4 min read☕ Coffee break read

Original authors: Yaqi Wu, Xiaolei Guo, Chenyu Zhou, Jiaqi Huang, Xianfa Zhang, Junxu Zhang, Zhuo Yu, Zhubo Shi, Jianghao Lin, Dongdong Ge

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 a detective trying to solve a complex mystery, like "Who stole the crown jewels, and where were they hidden?"

In the old way of doing things (standard AI systems), the detective would be given a strict rulebook: "Look at the first three files in the filing cabinet. If you don't find the answer, look at the next three. Stop after five files no matter what." This is rigid. Sometimes the first file gives you a clue that changes the whole direction of the investigation, but the rulebook forces you to keep looking at the wrong files.

DynaKRAG is a new, smarter way for the detective to work. Instead of following a fixed rulebook, it uses a flexible, learning-based manager that decides the next step based on what has been found so far.

Here is how it works, broken down into simple concepts:

1. The Detective's Notebook (The "State")

Every time the detective finds a new piece of paper (evidence), they write it down in a notebook. This notebook isn't just a pile of papers; it's a living map. It tracks:

  • What the original question was.
  • What papers have already been read.
  • What clues are missing (e.g., "I know the thief's name, but I don't know where they live").
  • What actions have been taken so far.

2. The Menu of Moves (The "Actions")

At any moment, the detective has a menu of possible moves, but not all moves are available all the time.

  • Search the shelves: Look for more documents.
  • Rewrite the question: Maybe the original question was confusing; let's ask it differently.
  • Follow a lead: If a document mentions a specific person (a "bridge entity"), go find more info about that person.
  • Check the gaps: Ask, "Do we have enough info to solve this yet? If not, what is missing?"
  • Stop and solve: If the evidence is complete, write the final answer.

3. The Two-Step Decision Process

This is the secret sauce of DynaKRAG. Before the detective picks a move, two things happen:

  • Step A: The Bouncer (Validity Layer): Imagine a bouncer at a club. The bouncer looks at the current situation and says, "You can't do that right now." For example, you can't "rewrite the question" if you haven't read any documents yet. You can't "follow a lead" if you haven't found a lead. The bouncer filters out impossible moves, leaving only a list of valid options.
  • Step B: The Coach (Learned Controller): Now that the bouncer has handed the detective a list of valid moves, the Coach steps in. The Coach has learned from thousands of past detective cases. It looks at the current notebook and says, "Out of these valid options, the one that will help us solve the mystery most efficiently right now is to follow the lead on the suspect's address."

4. Why This is Better

  • No Wasted Effort: Old systems might keep searching for answers even when they already have enough, or they might keep asking the same question over and over. DynaKRAG knows when to stop.
  • Adapting to the Mystery: If the first clue reveals a completely new angle, the system immediately switches tactics (like rewriting the question) instead of blindly following a pre-set plan.
  • Saving Energy: The system is "token-efficient." In AI terms, "tokens" are like words or pieces of data that cost money and time to process. DynaKRAG stops gathering evidence the moment it has enough to solve the puzzle, saving time and money compared to systems that just keep digging.

The Results

The authors tested this "smart detective" on three very difficult puzzle datasets (HotpotQA, 2Wiki, and MuSiQue).

  • Better Answers: It solved more puzzles correctly than the previous best methods.
  • Smarter Spending: It used fewer resources (less "token" usage) to get those better answers.
  • Proof of Concept: When they removed the "Coach" (the learned decision-maker) and just let the system pick moves randomly from the valid list, performance dropped significantly. This proves that the choice of the next step is just as important as having the ability to take the step.

In short: DynaKRAG turns the AI from a robot following a rigid script into a flexible detective that knows exactly what tool to use next, based on what it has already discovered, ensuring it solves the mystery with the least amount of wasted effort.

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 →