Enriching BERT with Knowledge Graph Embeddings for Document Classification

Malte Ostendorff, Peter Bourgonje, Maria Berger, Julian Moreno-Schneider, Georg Rehm +1 more
9/18/2019
cs.CLcs.IRcs.LG

Official code: malteos/pytorch-bert-document-classification (163 stars, Jupyter Notebook, MIT, last commit 2019-10-15).

Abstract

In this paper, we focus on the classification of books using short descriptive texts (cover blurbs) and additional metadata. Building upon BERT, a deep neural language model, we demonstrate how to combine text representations with metadata and knowledge graph embeddings, which encode author information.

Show full abstract

Compared to the standard BERT approach we achieve considerably better results for the classification task. For a more coarse-grained classification using eight labels we achieve an F1- score of 87.20, while a detailed classification using 343 labels yields an F1-score of 64.70. We make the source code and trained models of our experiments publicly available

View on arXivView PDF

Code Implementations(1)

MIT

Enriching BERT with Knowledge Graph Embedding for Document Classification (PyTorch)

16322Jupyter Notebook, PythonJul 24, 20197 years agoMIT

Similar Papers

Cite this paper

@article{ostendorff2019enriching,
  title  = {Enriching BERT with Knowledge Graph Embeddings for Document Classification},
  author = {Malte Ostendorff and Peter Bourgonje and Maria Berger and Julian Moreno-Schneider and Georg Rehm and Bela Gipp},
  year   = {2019},
  eprint = {1909.08402},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.08402}
}

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/1909.08402.svg)](https://codeofpaper.com/paper/1909.08402)

Discussion