A Unified Textual Interface for Heterogeneous Data

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 113 papers16 conceptsfrozen 2026-10-04

In the real world, knowledge is rarely stored in a single format. It is scattered across unstructured Wikipedia articles, semi-structured tables, and highly structured knowledge graphs (KGs). Traditionally, researchers have built specialized architectures for each format: Graph Neural Networks (GNNs) for KGs, specialized table-parsers for spreadsheets, and standard Transformers for text.

However, a growing body of research suggests that the most effective way to handle this diversity is not to build more complex architectures, but to simplify the data itself. By "verbalizing" or "homogenizing" structured data into natural language, we can use a single, pre-trained Transformer as a universal reasoning engine.

The Verbalization Strategy

The core idea is to treat natural language as a "universal interface." Instead of teaching a model how to navigate a graph or a table, we transform those structures into fluent sentences or flat strings that a language model already understands.

For example, in the UDT-QA framework, Hao Cheng, Kaixin Ma, and Xiaodong Liu demonstrate that converting Wikipedia tables and Wikidata graphs into natural language sentences allows a standard retriever-reader pipeline to achieve state-of-the-art results. As detailed in Open Domain Question Answering with A Unified Knowledge Interface, this approach removes the need for specialized parsing logic, allowing the model to reason over a "unified text-based index."

Similarly, in the context of dialogue, Baolin Peng and Yelong Shen introduced PLUG. As described in Knowledge-Grounded Dialogue Generation with a Unified Knowledge Representation, PLUG "homogenizes" diverse sources—like KG triples (subject-relation-object) and database entries—into a uniform sequence of text tokens. This allows a single model to bridge the gap between casual chit-chat and knowledge-heavy conversation.

Why It Works: Leveraging Linguistic Priors

Why would we throw away the explicit structure of a table or graph? The intuition is that Large Language Models (LLMs) are already pre-trained on trillions of words. They have already developed a deep "linguistic prior" for how information relates to other information.

When we convert a KG triple like (Einstein, BornIn, Ulm) into the sentence "Einstein was born in Ulm," we are mapping a discrete data point into a high-dimensional semantic space where the model already knows a lot about "Einstein," "birthplaces," and "cities." This mapping allows the model to:

  1. Transfer Reasoning: Knowledge learned from text-rich sources can be applied to data-scarce structured formats. Alexander Hanbo Li and Mingyue Shang showed in Few-Shot Data-to-Text Generation via Unified Representation and Multi-Source Learning that converting tables and KGs into "virtual tables" (a unified intermediate format) dramatically improves few-shot performance.
  2. Simplify Retrieval: If all data is text, we can use standard, highly-optimized text retrieval algorithms (like BM25 or dense vector search) across all formats. Shunchuan Wu and Jun Zhao utilize this in KMatrix, a toolkit that verbalizes heterogeneous data to facilitate unified retrieval.
  3. Increase Robustness: Specialized architectures are often brittle when faced with noisy or irrelevant context. Andreas Waldis and Iryna Gurevych found that their INJECT framework, which retrieves external knowledge as natural language, was far more robust to noisy inputs than standard concatenation methods, as shown in Contextual information integration for stance detection via cross-attention.

From JSON to Fluent Prose

The "verbalization" doesn't always have to be sophisticated. In Product Answer Generation from Heterogeneous Sources, Xiaoyu Shen and colleagues found that even simply flattening JSON structures into text strings allowed a single Transformer to synthesize answers from diverse e-commerce data sources.

The trend across these papers is clear: the complexity of the world's data should be handled at the representation layer, not the architectural layer. By converting tables, graphs, and databases into a unified textual interface, we allow models to spend less time "parsing" and more time "reasoning."

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_a_unified_textual_interface_for_heteroge_72518998,
  title = {A Unified Textual Interface for Heterogeneous Data},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/a-unified-textual-interface-for-heterogeneous-data/rdr_72518998b41e49d0af5815531545291e},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-12-01},
}

This exact version (version 1, frozen text):

@misc{lacuna_a_unified_textual_interface_for_heteroge_72518998_v1,
  title = {A Unified Textual Interface for Heterogeneous Data},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/a-unified-textual-interface-for-heterogeneous-data/rdr_72518998b41e49d0af5815531545291e/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-12-01},
}