Investigating Entity Knowledge in BERT with Simple Neural End-To-End Entity Linking

Samuel Broscheit
3/11/2020
cs.CLcs.LG

Official code: samuelbroscheit/entity_knowledge_in_bert (44 stars, Python, MIT, last commit 2024-07-25).

Abstract

A typical architecture for end-to-end entity linking systems consists of three steps: mention detection, candidate generation and entity disambiguation. In this study we investigate the following questions: (a) Can all those steps be learned jointly with a model for contextualized text-representations, i.e.

Show full abstract

BERT (Devlin et al., 2019)? (b) How much entity knowledge is already contained in pretrained BERT? (c) Does additional entity knowledge improve BERT's performance in downstream tasks? To this end, we propose an extreme simplification of the entity linking setup that works surprisingly well: simply cast it as a per token classification over the entire entity vocabulary (over 700K classes in our case). We show on an entity linking benchmark that (i) this model improves the entity representations over plain BERT, (ii) that it outperforms entity linking architectures that optimize the tasks separately and (iii) that it only comes second to the current state-of-the-art that does mention detection and entity disambiguation jointly. Additionally, we investigate the usefulness of entity-aware token-representations in the text-understanding benchmark GLUE, as well as the question answering benchmarks SQUAD V2 and SWAG and also the EN-DE WMT14 machine translation benchmark. To our surprise, we find that most of those benchmarks do not benefit from additional entity knowledge, except for a task with very small training data, the RTE task in GLUE, which improves by 2%.

View on arXivView PDF

Code Implementations(1)

MIT

This repository contains the code for the CONLL 2019 paper "Investigating Entity Knowledge in BERT with Simple Neural End-To-End Entity Linking". The code is provided as a documentation for the paper and also for follow-up research.

448Python, ShellMay 25, 20202 years agoMIT
entity-linkingmachine-learningnlp

Similar Papers

Cite this paper

@article{broscheit2020investigating,
  title  = {Investigating Entity Knowledge in BERT with Simple Neural End-To-End Entity Linking},
  author = {Samuel Broscheit},
  year   = {2020},
  eprint = {2003.05473},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2003.05473}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2003.05473.svg)](https://codeofpaper.com/paper/2003.05473)

Discussion