Data Agents Need a Map: Evolving, Demand-Driven Knowledge of Large Collections

Christos Koutras, Yurong Liu, Laura Haas, Juliana FreirearXiv 2026

TL;DR

Today’s AI data agents suffer from perpetual amnesia: every time you ask a question across a sprawling data lake, they figure out what columns mean and how tables join from scratch, only to throw that hard-earned knowledge away the moment the task ends. This vision paper proposes a semantic atlas—an evolving, demand-driven map of data collections that persists what datasets mean and how they connect. Even a partial prototype cuts an agent's token consumption by up to 31% without losing a drop of accuracy.

What Problem Does This Paper Address?

Most of the world's rich analytical data sits uncataloged in messy data lakes and open portals. Imagine asking an AI agent to analyze school attendance across New York City boroughs. No single table holds the answer, and worse, the six-character school ID ("DBN") goes by a dozen different column names across tables, while the school year might only be mentioned in a file's title.

Currently, LLM-based data agents treat every question as a blank slate. They search for tables, sample rows, guess how columns join, write custom code, and discard all intermediate discoveries once answered. Over 60% of failures in top coding agents stem from semantic misinterpretations—like joining on mismatched IDs. Meanwhile, human-authored "semantic layers" in enterprise warehouses can't keep up with data growth (covering under 5% of tables at Snowflake, for instance). Agents need persistent context built directly from the data itself.

Methods

Because comparing every pair of tables in a massive collection scales quadratically, the authors design the semantic atlas around a two-stage, "pay-as-you-go" architecture:

Fig. 1. The semantic atlas holds task-agnostic semantic metadata and demand- driven integration metadata, and raises four challenges, namely building it (C1), keeping it correct and up to date (C2), serving users and agents (C3), and evaluating it (C4).
  1. Task-Agnostic Semantic Metadata (Offline): Built once per dataset so agents can actually find things. Datasets are grouped into overlapping topics (e.g., Education, Health). Within each topic, columns get standardized semantic types (labeling what an entity is regardless of column name) and dataset profiles (keys, granularity, and implicit context like time periods extracted from titles).
  2. Demand-Driven Integration Metadata (On-Demand): Built only when a user or agent declares a specific scope (an area of investigation). It records dataset relationships (exact or fuzzy joins, unions, value overlaps) and integrated views (reusable, executable mappings assembling tables for future queries).

Crucially, because LLMs and matching algorithms make mistakes, every item in the atlas is stored alongside its provenance (the evidence and method that created it) and a confidence score. Programmatic checks hunt for contradictions—like two columns sharing 90% of their values while carrying unrelated semantic types—allowing agents to fix errors, abstain from unanswerable queries, or ask humans to break ties.

Example of the semantic atlas navigating NYC Open Data

Datasets

To test a proof-of-concept, the authors evaluated a coding agent (Claude Code with Claude Sonnet 5.5) on DAB, a data agent benchmark of 104 questions across 17 multi-database domains (sales, stock markets, software vulnerabilities, etc.). While DAB normally connects an agent only to the specific databases relevant to a given question, the authors merged all 17 datasets into a single massive lake of 2,854 tables to simulate realistic, large-scale discovery.

The authors also outline requirements for a new benchmark, noting existing ones (like DAB and KramaBench) fall short because they only test isolated, guaranteed-answerable questions over static data.

Key Insights and Ideas

  • Pushing back on the "Bitter Lesson": One might assume smarter future LLMs will just figure out data integration end-to-end on the fly. Drawing on systems engineering, the authors argue that decomposing data understanding into modular, verifiable components combining algorithms with LLMs is far cheaper and more reliable than monolithic agent reasoning.
  • Less context can be more: When serving table relationships to the agent, providing them on request via a tool cost fewer tokens than embedding them in place inside every table's Markdown summary—because the agent didn't waste tokens reading join graphs when no join was needed.
  • Provenance catches silent bugs: In one case study, joining support cases to accounts silently dropped 45% of rows because some IDs had a # prefix. Because the atlas recorded value-containment provenance alongside a mismatch example, the agent stripped the prefix in 3 out of 3 runs (versus 1 of 3 without the atlas).

Key Results

Building just three components offline (semantic types, profiles, and value-derived relationships) yielded immediate efficiency gains on the 2,854-table DAB setup:

  • Accuracy held steady within one percentage point: 53.7% (relationships on request) and 52.7% (in place), compared to 53.2% without the atlas.
  • Token usage dropped by 31% (from 492K to 340K tokens per run) with relationships on request, and 21% (to 388K) in place. On a complex vulnerability dataset with obfuscated IDs, token reads dropped nearly in half (from 5.4M to ~2.8M).
  • Timeouts plunged: Runs exceeding the 30-minute limit dropped by a third (from 12 to 8 of 312 runs) on request, and by two-thirds (down to 4) in place.

Limitations and Future Work

As a vision paper, the prototype leaves several core pieces unbuilt—most notably topic clustering, integrated views, confidence scoring, and dynamic maintenance. Open challenges ahead include:

  • Calibrating confidence scores onto a unified scale across wildly different algorithmic and LLM methods.
  • Building dependency graphs to incrementally update the atlas as underlying datasets silently change over time.
  • Developing NL2Atlas mechanisms to map vague user questions to specific atlas items and help users refine overly broad scopes.
  • Constructing a new community benchmark featuring sequential follow-up investigations, evolving dataset snapshots, and unanswerable questions that test whether agents know when to abstain.

Summary updated

Abstract

Most data that could power rich analysis sits unintegrated and uncataloged in open data portals, data lakes, and collections of independently published tables. Data agents now answer analytical questions over such collections with a full workflow per question, including dataset retrieval, join discovery and evaluation, and tailored program synthesis, most of which are discarded when a new task arrives. The knowledge these workflows depend on, such as what each column means, which context a dataset leaves implicit, and how datasets combine, is therefore perpetually rederived and never persisted. We argue for persisting this knowledge in an evolving semantic atlas that users and agents can navigate and extend. The atlas describes every dataset offline, through topics, semantic types, and profiles, so that agents can find the datasets that a task requires. Relationships between datasets and integrated views, which require comparing datasets, are instead built on demand for the areas of analysis that users declare. Every item is stored with its provenance and the confidence of the methods that produced it, so that agents can decide how far to trust it or whether to abstain. As datasets change, inconsistencies are detected and corrected automatically, while human users settle what the data leaves inconclusive. We present this vision and its challenges, namely building the atlas over large, multi-domain collections, keeping it correct and up to date, serving it to users and agents, and evaluating whether it improves their answers. A proof of concept on DAB, a benchmark for data agents, shows that with only part of the atlas a coding agent can already read a fifth to a third fewer tokens while achieving the same accuracy as without it.
BibTeX
@misc{koutras2026data,
  author = {Christos Koutras and Yurong Liu and Laura Haas and Juliana Freire},
  title = {{Data Agents Need a Map: Evolving, Demand-Driven Knowledge of Large Collections}},
  year = {2026},
  eprint = {2611.33763},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.33763},
}
Figure