[Paper Review] Enriching BERT with Knowledge Graph Embeddings for Document Classification
The authors augment BERT with metadata and Wikidata-based author embeddings to improve German book blurbs classification, achieving higher F1 scores than text-only baselines for both 8-label and 343-label tasks.
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. 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
Motivation & Objective
- Motivate improved book/document classification by integrating non-textual metadata and external knowledge.
- Evaluate the impact of author embeddings derived from Wikidata on classification performance.
- Demonstrate a BERT-based architecture that combines text, metadata, and graph embeddings.
- Provide publicly available code and models to enable reproducibility and further research.
Proposed method
- Extend German-specific BERT with a two-tower input: text (title + blurb) via BERT and non-text features via an MLP.
- Incorporate author embeddings learned from Wikidata using PyTorch BigGraph.
- Concatenate text, metadata, and author embeddings, and pass through a two-layer MLP for classification.
- Evaluate on GermEval 2019 Sub-task A (8 labels) and Sub-task B (343 labels) using micro-averaged F1 as primary metric.
- Use a 300-token input length for efficiency (most blurbs under this limit).
- Compare against text-only BERT baselines and a TF-IDF Logistic Regression baseline.
Experimental results
Research questions
- RQ1Does enriching BERT with metadata and Wikidata-derived author embeddings improve document classification performance on German book blurbs?
- RQ2What is the contribution of each feature type (text, metadata, author embeddings) to performance gains?
- RQ3How does the model perform on coarse-grained (8-label) vs. fine-grained (343-label) hierarchical classification tasks?
- RQ4Is a German-specific BERT model advantageous over a multilingual variant for GermEval 2019 data?
Key findings
- Best setup (BERT-German + metadata + author embeddings) achieves 87.20 F1 on Sub-task A and 64.70 F1 on Sub-task B on validation data.
- Inclusion of metadata boosts performance over text-only BERT, with the best results surpassing baselines.
- Author embeddings alone underperform, but when combined with text and metadata they contribute to better performance.
- The German-specific BERT model outperforms the multilingual model by up to ~3 points on Sub-task A and ~6 points on Sub-task B.
- On test data, the best model achieves 88.00 F1 (A), 78.00 Prec., 52.00 Recall (A); 64.70 F1 (B), 83.78 Prec., 51.67 Recall (B).
- Author embeddings provide data gains in low-resource, multi-label settings, particularly when metadata and title/blurb features are leveraged.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.