NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learnings from Data Integration for Augmented Language Models

Alon Y. Halevy, Jane Dwivedi-YuarXiv 2023

Abstract

One of the limitations of large language models is that they do not have access to up-to-date, proprietary or personal data. As a result, there are multiple efforts to extend language models with techniques for accessing external data. In that sense, LLMs share the vision of data integration systems whose goal is to provide seamless access to a large collection of heterogeneous data sources. While the details and the techniques of LLMs differ greatly from those of data integration, this paper shows that some of the lessons learned from research on data integration can elucidate the research path we are conducting today on language models.

Introduction

Large Language Models (LLMs) have demonstrated remarkable capabilities in generating text and reasoning, yet they suffer from two fundamental "knowledge gaps": they lack access to real-time information and cannot retrieve proprietary or personal data. To bridge these gaps, the research community is developing "Augmented LLMs"—systems like Toolformer or ChatGPT with plugins—that can query external tools and APIs.

As the number of available tools grows, these systems face complex coordination problems: Which source is most authoritative? How should results from disparate APIs be combined? How do we handle sources that require specific input formats? This paper argues that these challenges are modern incarnations of problems addressed by the field of Data Integration over the last thirty years. By revisiting classical concepts like mediated schemas and source descriptions, we can establish a roadmap for the reasoning capabilities LLMs must develop to become reliable information mediators.

The LLM as a Mediator

The paper provides a conceptual synthesis by mapping the architecture of classical Mediator Systems onto modern Augmented LLMs. In the classical framework, a system consisted of a "Reformulator"—a logic-based engine that translated user queries into specific database calls. In the modern context, the LLM is the reformulator.

To function effectively, the LLM must master several classical integration concepts:

  • Source Descriptions: Just as classical systems used "Local-as-View" (LAV) logic to define database contents, LLMs need a deep understanding of source capabilities (e.g., recognizing that Wikidata provides broad facts but lacks the computational depth of Wolfram Alpha).
  • Chaining and Composition: The system must learn to "Join" (using the output of one tool as the input for another) and "Union" (merging similar results from multiple sources) to resolve complex, multi-step queries.

Core Challenges in Tool Augmentation

Drawing from decades of data integration research, the authors identify several nuanced hurdles for LLM development:

1. Source Discrimination and Authority

Choosing a tool is more than just matching a keyword. LLMs must distinguish between sources based on subsumption (where one source is a subset of another) and overlap (where different sources provide different properties for the same entity). Determining which source is the most authoritative remains a critical reasoning task.

2. Binding Pattern Constraints

Many APIs are restricted by "binding patterns"—they only return data if a specific piece of information is provided upfront (e.g., an H-Index API requires a specific author name and cannot be browsed). LLMs must learn these ordering constraints to chain tools in a logically valid sequence.

3. The Entity Matching Problem

Perhaps the most difficult challenge is "reference reconciliation." If one source refers to "Apple" as a fruit and another as a corporation, the LLM must perform entity matching to ensure data integrity. This remains one of the "thorniest" issues in data science and is a major hurdle for current augmented models.

Future Research Directions

Rather than providing quantitative benchmarks, this paper offers a qualitative framework to guide future research. The authors suggest that LLM researchers focus on:

  • Set-Based Reasoning: Current LLMs struggle to reason about sets of answers (e.g., "List all European countries that have won the World Cup").
  • Efficiency and Optimization: Much like SQL optimizers, LLMs need to learn to select the "cheapest" or most efficient path to an answer—for instance, using a simple local calculator for basic arithmetic rather than invoking a heavy-duty external computational engine.
  • Domain-Level Generalization: A key question is whether an LLM learns to use a specific API or if it can learn the general logic of a domain, allowing it to swap one tool for another seamlessly.

Conclusion

While classical logic-based techniques cannot be directly plugged into modern neural architectures, the lessons of data integration provide a vital blueprint. By focusing on source descriptions, binding patterns, and entity matching, we can move toward Augmented LLMs that are not just impressive mimics, but sophisticated and reliable data mediators.

Summary updated

BibTeX
@misc{halevy2023learnings,
  author = {Alon Y. Halevy and Jane Dwivedi-Yu},
  title = {{Learnings from Data Integration for Augmented Language Models}},
  year = {2023},
  eprint = {2304.04576},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2304.04576},
}
Figure