Skip to main content
QUICK REVIEW

[Paper Review] IDEL: In-Database Entity Linking with Neural Embeddings

Torsten Kilias, Alexander Löser|arXiv (Cornell University)|Mar 13, 2018
Topic ModelingComputer Science22 references8 citations
TL;DR

IDEL presents the first integrated in-database entity linking system that combines MonetDB with neural embeddings to link text mentions to relational entities. By executing neural text mining directly in the database via Python UDFs and joint vector-space embeddings, IDEL enables zero-cost data transfer and fast, accurate entity linking using contrastive ranking loss and nearest-neighbor indexing, achieving high recall on ambiguous and noisy text data.

ABSTRACT

We present a novel architecture, In-Database Entity Linking (IDEL), in which we integrate the analytics-optimized RDBMS MonetDB with neural text mining abilities. Our system design abstracts core tasks of most neural entity linking systems for MonetDB. To the best of our knowledge, this is the first defacto implemented system integrating entity-linking in a database. We leverage the ability of MonetDB to support in-database-analytics with user defined functions (UDFs) implemented in Python. These functions call machine learning libraries for neural text mining, such as TensorFlow. The system achieves zero cost for data shipping and transformation by utilizing MonetDB's ability to embed Python processes in the database kernel and exchange data in NumPy arrays. IDEL represents text and relational data in a joint vector space with neural embeddings and can compensate errors with ambiguous entity representations. For detecting matching entities, we propose a novel similarity function based on joint neural embeddings which are learned via minimizing pairwise contrastive ranking loss. This function utilizes a high dimensional index structures for fast retrieval of matching entities. Our first implementation and experiments using the WebNLG corpus show the effectiveness and the potentials of IDEL.

Motivation & Objective

  • To address the challenge of linking ambiguous or noisy text mentions to structured relational entities in enterprise data systems.
  • To eliminate data transfer and transformation costs between separate RDBMS and NLP systems by embedding neural NLP capabilities directly into the database.
  • To enable efficient, scalable entity linking using joint neural embeddings and in-database similarity computation.
  • To support real-world applications such as brand monitoring and disaster risk assessment by linking fresh text data to existing relational databases.
  • To demonstrate the feasibility and performance of end-to-end neural entity linking within a single, optimized RDBMS.

Proposed method

  • Integrates MonetDB with neural text mining by extending it with user-defined functions (UDFs) written in Python that call TensorFlow for neural embedding computation.
  • Represents both text mentions and relational entities in a shared, high-dimensional vector space using SkipThought-based neural embeddings.
  • Employs a pairwise contrastive ranking loss to train the embedding model, optimizing for correct entity matches over negative pairs.
  • Uses high-dimensional index structures (e.g., approximate nearest neighbor) to accelerate retrieval of candidate entities during linking.
  • Executes all processing—embedding generation, similarity scoring, and candidate retrieval—within the MonetDB kernel to avoid data movement.
  • Leverages MonetDB’s ability to exchange data via NumPy arrays, enabling efficient in-database computation with minimal overhead.

Experimental results

Research questions

  • RQ1Can neural entity linking be effectively and efficiently executed within a relational database management system without external data transfer?
  • RQ2How well can joint neural embeddings in a shared vector space improve recall and precision for ambiguous or noisy entity mentions?
  • RQ3What is the performance impact of integrating neural NLP capabilities directly into the database engine using UDFs?
  • RQ4Can in-database execution with vector-space similarity and approximate indexing achieve scalable and low-latency entity linking?
  • RQ5How does the contrastive ranking loss perform in a multi-class, high-ambiguity setting typical of real-world entity linking?

Key findings

  • IDEL successfully implements the first fully integrated in-database entity linking system using MonetDB and neural embeddings, eliminating data shipping costs.
  • The system achieves high recall on the WebNLG corpus by effectively handling synonyms, homonyms, and misspellings through joint neural embeddings.
  • The use of contrastive ranking loss enables the model to learn robust similarity functions that distinguish correct from incorrect entity matches.
  • High-dimensional indexing structures significantly accelerate candidate retrieval, making the system suitable for large-scale databases.
  • The integration of Python UDFs with TensorFlow allows seamless execution of complex NLP pipelines within the database, preserving data locality.
  • The approach enables enterprises to unify data integration and analytics workflows, reducing reliance on multiple, disparate systems.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.