[Paper Review] Learnings from Data Integration for Augmented Language Models
This paper draws parallels between data integration systems and augmented language models (LLMs) to identify key challenges in enabling LLMs to access and reason over external data sources. It proposes that lessons from decades of data integration research—particularly around schema mapping, source selection, query reformulation, and entity matching—can guide the development of more robust, reliable, and scalable LLM tool-augmentation systems.
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.
Motivation & Objective
- To identify shared challenges between data integration systems and augmented LLMs in accessing heterogeneous external data sources.
- To examine how foundational concepts from data integration—such as mediated schemas, schema mappings, and source mediation—can inform the design of LLM tool-augmentation pipelines.
- To clarify the research landscape for LLMs that reason across multiple data sources by mapping established data integration problem spaces to modern LLM applications.
- To highlight unresolved issues such as entity matching, source ordering constraints, and reasoning over sets, which remain critical for robust LLM-based information retrieval.
- To advocate for a research agenda grounded in data integration theory to improve the reliability and scalability of augmented LLMs.
Proposed method
- Adapts the data integration pipeline—mediated schema, source schemas, and schema mappings—to model how LLMs can mediate between user queries and external data sources.
- Proposes that LLMs learn to perform query reformulation by mapping natural language queries to executable API calls using learned semantic mappings.
- Introduces the concept of 'learning the mediation process' as a core training objective, where the LLM selects relevant sources and reformulates queries accordingly.
- Analyzes the role of LLMs as a knowledge source that can fill gaps in external data, reducing reliance on external sources for common-sense or general-knowledge reasoning.
- Considers the need for standardized plugin APIs that return structured 'don’t know' responses (e.g., malformed, nonsensical, or empty queries) to improve robustness.
- Examines reasoning patterns such as joins, unions, and aggregations across sources, and identifies ordering constraints and optimization trade-offs in source chaining.
Experimental results
Research questions
- RQ1How can principles from data integration systems be applied to improve the reliability and scalability of LLMs accessing external data sources?
- RQ2What are the key challenges in enabling LLMs to mediate between natural language queries and heterogeneous external data sources, and how do they mirror traditional data integration problems?
- RQ3To what extent can LLMs learn to reason over multiple data sources, and what constraints (e.g., ordering, entity matching) affect the correctness and efficiency of such reasoning?
- RQ4How can LLMs effectively handle uncertainty and incomplete results from external sources, and what role should standardized plugin interfaces play?
- RQ5In what ways does the LLM’s internal knowledge interact with external data, and how can this be leveraged to reduce dependency on external sources?
Key findings
- The problem space of data integration—particularly schema mapping, source selection, and query reformulation—remains highly relevant to modern LLM tool-augmentation systems.
- Entity matching across sources remains a critical and unresolved challenge, with no clear transferability of current state-of-the-art results to LLM-based systems.
- Source ordering constraints significantly impact efficiency and correctness, especially in chained queries (e.g., finding French Turing Award winners requires starting from the award list, not nationality).
- LLMs struggle with reasoning over sets of answers, even when the underlying data sources support set operations, indicating a gap in current model capabilities.
- Standardized plugin APIs that return structured 'don’t know' responses (e.g., malformed, empty, or nonsensical) are essential for robustness and error handling.
- The LLM’s internal knowledge can act as a fallback to fill gaps in external data, reducing reliance on external sources and improving hallucination mitigation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.