← Latest papers
💬 NLP

SANA: What Matters for QA Agents over Massive Data Lakes?

This paper introduces SANA, a diagnostic ablation framework that decomposes end-to-end Exploratory Question Answering (EQA) performance over massive data lakes into specific component failures—search, planning, and data analysis—to systematically identify bottlenecks and guide improvements in agent design.

Original authors: Austin Senna Wijaya, Jiaxiang Liu, Haonan Wang, Eugene Wu

Published 2026-06-15
📖 5 min read🧠 Deep dive

Original authors: Austin Senna Wijaya, Jiaxiang Liu, Haonan Wang, Eugene Wu

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 hired a very smart, but sometimes confused, detective (an AI Agent) to solve a mystery. The clues aren't in one neat file; they are scattered across a massive, chaotic warehouse filled with millions of boxes, papers, and digital files (a Data Lake).

The detective's job is to find the right clues, read them, do some math, and solve the case. But sometimes, the detective fails. The big question is: Why? Did they look in the wrong place? Did they misunderstand the clue? Did they do the math wrong? Or did they just get confused about what to do next?

This paper introduces SANA, a new way to diagnose exactly where the detective goes wrong. Think of SANA as a "black box" recorder that lets you pause the investigation and swap out specific parts of the detective's brain to see which one is the weak link.

The Three Main Ways a Detective Can Fail

The authors break down the detective's job into three main skills:

  1. Searching (Finding the Clues): Can the detective find the right boxes in the massive warehouse?
    • The Problem: If the warehouse is huge, the detective might grab the wrong boxes or miss the right ones entirely.
  2. Planning (The Game Plan): Can the detective figure out the right order of steps? (e.g., "First find the location, then find the people who live there, then count them.")
    • The Problem: The detective might get confused, skip a step, or try to solve the puzzle backwards.
  3. Data Analysis (Doing the Work): Once the clues are found, can the detective actually read them and do the math?
    • The Problem: The detective might find the right document but misread the numbers or write the wrong code to calculate the answer.

How SANA Works: The "Super-Powered" Swap

To figure out which skill is the problem, SANA uses a clever trick. It takes a solved mystery (where we already know the answer) and creates a "Gold Standard" version of the clues.

Then, it runs the detective through the same mystery but swaps out their tools one by one:

  • The "Perfect Search" Swap: We give the detective a magic wand that only hands them the correct boxes, skipping the need to search. If the detective still fails, the problem isn't searching; it's something else.
  • The "Perfect Plan" Swap: We give the detective a pre-written map of the exact steps to take. If they still fail, the problem isn't planning; they just aren't following the map.
  • The "Perfect Math" Swap: We give the detective a calculator that guarantees the right answer if they ask the right question. If they still fail, the problem is that they are asking the wrong questions.

By comparing the detective's normal performance against these "perfect" versions, SANA can pinpoint exactly where the breakdown happens.

What They Found: The Detective's Weak Spots

The researchers tested this on two different types of "mysteries" (benchmarks): LakeQA (a huge, messy warehouse) and KramaBench (a smaller, more focused set of clues).

Here is what they discovered:

1. The "Data Analysis" Bottleneck (The Math Problem)
In both types of mysteries, the biggest problem was Data Analysis. Even when the detective found the right clues and had a good plan, they often messed up the actual calculation or code. It's like having the right ingredients but burning the cake. This was the most consistent failure point.

2. The "Search" Bottleneck (The Warehouse Problem)
In the LakeQA (huge warehouse) setting, Searching was a huge problem. The detective got lost in the massive amount of data.

  • The Fix: When they gave the weaker detective a "magic wand" that only showed the right boxes, their performance jumped up massively. This proves that for huge data lakes, the ability to find the needle in the haystack is the hardest part.
  • The Contrast: In the smaller KramaBench setting, searching wasn't as big of a deal because there were fewer boxes to look through.

3. The "Planning" Bottleneck (The Map Problem)
Surprisingly, Planning wasn't the biggest issue. The detectives were actually pretty good at coming up with a decent plan on their own.

  • The Catch: The problem wasn't making the plan; it was following it. Even when given a perfect map, the weaker detectives often got distracted, took a wrong turn, or forgot where they were going. They struggled to stick to the path.

The "Residual" Problem: The Human Error

Even when the researchers gave the detective the Perfect Search, the Perfect Plan, and the Perfect Math tools, they still didn't get 100% of the answers right.

  • Why? The detective's "Action Policy" (their decision-making brain) still had flaws. They would sometimes:
    • Give up too early.
    • Submit the wrong answer even though they had the right clues.
    • Get stuck in a loop doing the same thing over and over.

The Bottom Line

This paper doesn't just say "AI is getting better." It acts like a mechanic's diagnostic tool. It tells us that:

  • If you are working with massive data, your AI needs better search skills.
  • If you are doing complex data analysis, your AI needs better coding/math skills.
  • Regardless of the task, your AI needs better discipline to stick to its plan and not give up or hallucinate the final answer.

SANA helps developers stop guessing and start fixing the specific part of the AI that is actually broken.

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 →