A Practical Entity Linking System for Tables in Scientific Literature

Varish Mulwad, Tim Finin, Vijay S. Kumar, Jenny Weisenberg Williams, Sharad Dixit, Anupam JoshiarXiv 2023

TL;DR

This paper presents a practical system for linking entities found in scientific tables to the Wikidata knowledge base, specifically optimized for the high-volume "infodemic" of COVID-19 literature. By moving from rate-limited public APIs to a custom offline architecture using Elasticsearch and Redis, the authors achieved a three-fold speedup in processing time while maintaining the ability to handle complex, domain-specific scientific data.

What Problem Does This Paper Address?

Scientific literature is expanding at an unprecedented rate—a phenomenon the authors call an "infodemic." While much effort has gone into mining unstructured text, a vast amount of "latent knowledge" remains trapped in tables. Tables are dense, structured artifacts that succinctly convey critical data like treatment efficacies or viral variants.

However, machines struggle to "understand" tables because their meaning is often implicit and depends heavily on context (e.g., headers and surrounding text). Existing Entity Linking (EL) systems—which map text mentions to unique IDs in a knowledge base—often fail in this domain because:

  1. Domain Specificity: Standard tools aren't tuned for specialized biomedical entities.
  2. Scalability: Public knowledge base APIs (like Wikidata’s) are rate-limited. Processing the 120,000+ tables found in the authors' COVID-19 corpus using standard APIs would take over a year.

Methods

The authors developed an end-to-end pipeline to transform raw HTML tables into semantically annotated knowledge graphs.

Figure 1. Entity linking and its role in constructing knowledge graphs from scientific tables

The Core Algorithm

The system takes a mention string from a table cell and retrieves candidates from Wikidata. It then employs a sophisticated type-based filtering strategy. Candidates are categorized into five tiers:

  • Target: Entities matching the expected NLP-identified type.
  • Near-miss: Types often confused by NLP systems (e.g., a "Facility" vs. a "Location").
  • Good: Highly relevant domain types (e.g., MeSH terms).
  • OK: General acceptable types (e.g., People, Organizations).
  • Bad: Irrelevant types (e.g., fictional characters, songs) which are immediately rejected.

The Offline Shift

To solve the speed bottleneck, the authors decoupled their system from public APIs. They built a local emulation of Wikidata using:

  • Elasticsearch: Stores 95.8 million items for fast full-text candidate searching, using "sitelinks" (popularity) as a ranking proxy.
  • Redis: Stores a pre-computed hierarchy of 2.6 million types, allowing for near-instantaneous type checking and inheritance lookups.
Functional architecture of an efficient ‘offline’ entity linker

Datasets

  • CORD-19 & PMC: The system was designed to handle a corpus of over 62,000 open-access COVID-19 articles from PubMed Central, containing over 120,000 tables.
  • Evaluation Set: The authors manually annotated a subset of 47 tables (comprising 910 cells) to serve as a ground-truth benchmark for testing the linker's accuracy.

Key Insights and Ideas

  • Joint Inference is Essential: The system doesn't just look at a cell in isolation. It uses the header and a sample of data cells together to disambiguate terms. For example, a column header "Lineage" might refer to human ancestry, but if the cells below contain "B.1.1.7," the system correctly infers the column refers to "SARS-CoV-2 variants."
  • Property Preference: When linking headers, the system gives higher weight to Wikidata properties (e.g., P276 for "location") rather than concepts (e.g., Q2221906 for "geographic location"), reflecting how headers function as relations for the data below.
  • The "Near-Miss" Strategy: By explicitly mapping commonly confused types (like "Facility" and "Organization"), the system becomes more robust to errors in the initial Natural Language Processing (NLP) phase.
Figure 2. Examples of header and cell annotations of links to Wikidata items and properties

Key Results

The transition to an offline system provided a massive boost in efficiency:

  • Speedup: Total entity linking time dropped from 30 seconds per mention (online) to roughly 9.6 seconds (offline).
  • Candidate Retrieval: The time to get the top 20 candidates plummeted from 12 seconds to just 0.08 seconds.
  • Accuracy: On the manually annotated COVID-19 dataset, the linker achieved a recall of 0.82 (when the correct entity was in the initial candidate set) and a precision of 0.51.
Replacing the entity linker’s use of public Wikidata APIs with efficient offline, local queries

Limitations and Future Work

The authors acknowledge a trade-off: the offline system is significantly faster but slightly less accurate than the online version, primarily because the local Elasticsearch query isn't as sophisticated as Wikidata's native search.

Future work aims to improve the initial candidate ranking by exploring techniques like PageRank to better estimate an item's importance. They also suggest that fine-tuning the embedding models (currently using standard spaCy models) on biomedical-specific text could further improve the similarity scoring between table context and Wikidata descriptions.

Summary updated

BibTeX
@misc{mulwad2023practical,
  author = {Varish Mulwad and Tim Finin and Vijay S. Kumar and Jenny Weisenberg Williams and Sharad Dixit and Anupam Joshi},
  title = {{A Practical Entity Linking System for Tables in Scientific Literature}},
  year = {2023},
  eprint = {2306.10044},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.10044},
}
Figure