Entity Linking in Tabular Data Needs the Right Attention

Miltiadis Marios Katsakioris, Yiwei Zhou, Daniele MasatoarXiv 2022 · DOI

Abstract

Researchers have developed TELL (Tabular Entity Linking Lite), a streamlined model that performs entity linking in tables with near-state-of-the-art accuracy but with significantly lower computational costs. By shifting from quadratic ($O(n^2)$) to linear ($O(n)$) complexity, TELL proves that "the right attention"—focusing on table metadata and specific cell context—is more important than attending to every single cell in a table.

Introduction

Entity Linking (EL) is the process of mapping a mention (like the word "Titanic" in a table) to a specific entry in a Knowledge Base (like Wikidata). While EL is well-established for unstructured text, tables present unique challenges including sparse context, structural complexity (rows, columns, headers), and scalability issues. State-of-the-art models often use "all-to-all" attention mechanisms where every cell looks at every other cell. As tables grow, the memory and processing power required grow quadratically ($O(n^2)$), making it difficult to process very large tables. The authors of TELL sought to maintain high accuracy while making the process efficient enough to scale.

Methodology

The authors proposed a two-stage pipeline to address these challenges:

  1. Candidate Generation: Moving beyond simple string matching, the researchers combined a "gazetteer" (a dictionary of names/aliases) with BM25-based similarity search. This increased the probability of finding the correct entity in the initial list from 77% to 88%.
  2. Entity Disambiguation (The TELL Model): Instead of letting every cell attend to every other cell in the table—which creates noise and "information dilution"—TELL generates a vector representation for a cell based solely on its value, the table headers, and the table caption. It uses a shared BERT encoder to process the cell text and metadata.
The TELL architecture: A two-stage pipeline for tabular entity linking.

Crucially, the model utilizes attention masks. These "hard-coded" rules tell the model to only look at structurally relevant information (like cells in the same row or column) rather than the entire table, reducing complexity to $O(n)$.

Dataset and Preprocessing

The study utilized the WikiTables corpus, containing 1.65 million tables extracted from Wikipedia. The data was cleaned by lower-casing, removing HTML tags, and filtering out tables that were too large (over 500 cells) to ensure computational efficiency during training. The researchers used Wikimapper to link Wikipedia URLs to Wikidata IDs. The final training set included over 554,000 tables. Notably, about 50% of the mentions in these tables were "NIL" (meaning they don't link to a known entity), representing a realistic challenge for EL models.

Key Results and Insights

The researchers compared TELL against the current state-of-the-art (SOTA) framework, TURL (referred to as MaskAttEnc in the paper).

Performance comparison of TELL against state-of-the-art and baseline models.
  • Accuracy vs. Efficiency: TELL achieved 80.8% accuracy, just 0.1% shy of the SOTA model's 80.9%, while operating with linear complexity $O(n)$ instead of quadratic $O(n^2)$.
  • Information Dilution: The authors found that "more context" isn't always better. When a model attends to the entire table without a mask, accuracy actually drops by about 2.3% because irrelevant cells act as noise.
  • Metadata as the Anchor: Table captions and column headers provide the most critical semantic clues. A cell containing "Mercury" is ambiguous, but a header saying "Planets" immediately clarifies the meaning.

Conclusion and Future Work

TELL demonstrates that linear complexity is sufficient for high-accuracy entity linking in tabular data by focusing on the relationship between a cell and its metadata. However, limitations remain. The candidate retrieval stage currently has an 88% ceiling; if the correct entity isn't in the initial list, the model cannot link it. Future work may explore embedding-based retrieval to close this gap or transforming tabular data into unstructured "sentences" to leverage standard, highly-optimized NLP entity linkers.

Summary updated

BibTeX
@misc{katsakioris2022entity,
  author = {Miltiadis Marios Katsakioris and Yiwei Zhou and Daniele Masato},
  title = {{Entity Linking in Tabular Data Needs the Right Attention}},
  year = {2022},
  eprint = {2207.01937},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.01937},
}
Figure