arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1904.08398cs.CL
收藏

DocBERT:用于文档分类的BERT

DocBERT: BERT for Document Classification

David R. Cheriton School of Computer Science(大卫·R·切里顿计算机科学学院);University of Waterloo(滑铁卢大学)

Ashutosh Adhikari, Achyudh Ram, Raphael Tang, Jimmy Lin

摘要:

我们目前,据我们所知,第一次应用BERT的文件分类。该任务的一些特征可能会让人认为BERT不是最合适的模型:语法结构对内容类别的影响较小,文档通常比典型的BERT输入更长,并且文档通常有多个标签。尽管如此,我们表明,一个简单的分类模型,使用BERT是能够实现跨四个流行的数据集的最先进的。为了解决与BERT推理相关的计算开销,我们从BERT-大到小的双向LSTM中提取知识,使用少30倍的参数在多个数据集上达到BERT-基奇偶校验。我们的论文的主要贡献是改进的基线,可以为未来的工作提供基础。

英文摘要:

We present, to our knowledge, the first application of BERT to document classification. A few characteristics of the task might lead one to think that BERT is not the most appropriate model: syntactic structures matter less for content categories, documents can often be longer than typical BERT input, and documents often have multiple labels. Nevertheless, we show that a straightforward classification model using BERT is able to achieve the state of the art across four popular datasets. To address the computational expense associated with BERT inference, we distill knowledge from BERT-large to small bidirectional LSTMs, reaching BERT-base parity on multiple datasets using 30x fewer parameters. The primary contribution of our paper is improved baselines that can provide the foundation for future work.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑