Introduction
The "Data-to-Text" task involves generating natural language descriptions from structured data, such as Wikipedia infoboxes. Standard neural models typically treat this as a closed-loop translation problem, assuming all necessary information is contained within the source table. However, human writers frequently leverage external background knowledge to enrich descriptions. For instance, a human knows that a player for "MC El Eulma" likely plays in the "Algerian Ligue Professionnelle 1," even if the infobox doesn't explicitly state the league.
Existing models often fail to capture these external contexts, leading to "hallucinations" or sparse descriptions. This research introduces KBAtt (Knowledge Base enhanced Attention-based network), a model designed to bridge the gap between limited structured data and the rich, knowledge-heavy text found in human-written biographies.
The KBAtt Architecture
The authors propose a dual-attention mechanism that allows the model to "read" external knowledge bases like Wikidata alongside the input table. The KBAtt architecture consists of four primary components:
- Table Encoder: A bi-directional GRU processes field names and values from the original infobox.
- Knowledge Base (KB) Encoder: The model identifies entities in the table via hyperlinks and fetches "one-hop" facts from Wikidata (e.g., mapping a birthplace to a country). These facts are encoded into vectors using a Multi-Layer Perceptron (MLP).
- Dual Attention Mechanism: During word generation, the decoder utilizes two separate attention heads—one for the table and one for the KB facts—to dynamically determine the most relevant information at each step.
- Copy-Mechanism Decoder: A GRU-based decoder that can either generate words from a fixed vocabulary or "copy" specific entities directly from the table or the KB.
Datasets and Methodology
The study evaluates KBAtt across a massive scale of data:
- WikiBio: A benchmark of over 728,000 biography-infobox pairs.
- New Domain Datasets: 20 additional datasets covering Albums, Books, Airports, Military Units, and Video Games.
- Wikidata Integration: Used as the primary source for external background knowledge.
To quantify the potential benefit of external knowledge, the authors introduced the KBGain metric. This metric measures the proportion of "learnable" tokens in a reference text that appear in the KB but are rare in the training infoboxes, highlighting where external retrieval is most critical.
Key Results and Insights
KBAtt demonstrated consistent improvements over state-of-the-art baselines:
- Performance Gains: The model outperformed baselines on 20 out of 21 datasets, with significant BLEU score increases in smaller or more diverse datasets (e.g., a +4.10 jump on the "Single" dataset).
- Factual Accuracy: Human evaluations confirmed marked improvements in factual fidelity. In a "Few-Shot Learning" scenario—inferring nationality from rare birthplaces—KBAtt achieved 80% accuracy, nearly doubling the 42% accuracy of the baseline model.
- Retrieval vs. Memorization: The results suggest that while large models can memorize common associations, they struggle with the "long tail" of rare entities. KBAtt shifts this burden from memorization to explicit retrieval.
Limitations and Future Work
While effective, the current iteration of KBAtt has limitations. It is restricted to "one-hop" facts, meaning it cannot yet perform complex multi-hop reasoning (e.g., identifying a person's spouse's employer). Furthermore, the model's performance is dependent on the quality of entity linking; noisy or unlinked input tables may degrade results.
Future research will focus on integrating multi-hop knowledge graph paths and utilizing reinforcement learning to optimize inference trajectories through external data.
Summary updated