Skip to main content
QUICK REVIEW

[论文解读] Enriching BERT with Knowledge Graph Embeddings for Document Classification

Malte Ostendorff, Peter Bourgonje|arXiv (Cornell University)|Sep 18, 2019
Topic ModelingComputer Science被引用 52
一句话总结

作者在 BERT 中加入元数据和基于 Wikidata 的作者嵌入,以提升德语书籍简介分类,在 8 标签和 343 标签任务上获得高于文本单一基线的 F1 分数。

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. 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

研究动机与目标

  • 通过整合非文本元数据和外部知识,推动更好书籍/文档分类的动机。
  • 评估从 Wikidata 派生的作者嵌入对分类性能的影响。
  • 展示一个结合文本、元数据和图嵌入的基于 BERT 的架构。
  • 提供公开可用的代码和模型,以实现可重复性和进一步研究。

提出的方法

  • 通过两塔输入扩展德语特定的 BERT:文本(标题+简介)通过 BERT,非文本特征通过一个多层感知机(MLP)。
  • 使用 PyTorch BigGraph 引入从 Wikidata 学习的作者嵌入。
  • 将文本、元数据和作者嵌入连接起来,并通过两层 MLP 进行分类。
  • 在 GermEval 2019 子任务 A(8 标签)和子任务 B(343 标签)上评估,以微平均 F1 为主指标。
  • 为提高效率,使用 300-token 输入长度(大多数简介在此限制内)。
  • 与文本仅 BERT 基线和 TF-IDF 逻辑回归基线进行对比。

实验结果

研究问题

  • RQ1在德语书籍简介上,使用元数据和从 Wikidata 派生的作者嵌入是否能提升文档分类性能?
  • RQ2各特征类型(文本、元数据、作者嵌入)对性能提升的贡献是什么?
  • RQ3在粗粒度(8 标签)与细粒度(343 标签)层级分类任务中,模型的表现如何?
  • RQ4对 GermEval 2019 数据,德语特定的 BERT 模型是否优于多语言版本?

主要发现

  • 最佳设置(BERT-German + metadata + author embeddings)在验证数据的子任务 A 获得 87.20 的 F1,在子任务 B 获得 64.70 的 F1。
  • 包含元数据相较于文本仅 BERT 提升了性能,最优结果超越基线。
  • 作者嵌入单独表现不佳,但与文本和元数据结合时有助于提升性能。
  • 德语特定的 BERT 模型在子任务 A 上比多语言模型提升最多约 3 分,在子任务 B 上提升约 6 分。
  • 在测试数据上,最佳模型在 A 任务获得 88.00 F1、78.00 精确度、52.00 召回(A);在 B 任务获得 64.70 F1、83.78 精确度、51.67 召回(B)。
  • 在低资源多标签设置中,作者嵌入提供数据增益,特别是当元数据和标题/简介特征被利用时。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。