跳到主要导航 跳到搜索 跳到主要内容

FastNER: Speeding up Inferences for Named Entity Recognition Tasks

  • Yuming Zhang
  • , Xiangxiang Gao
  • , Wei Zhu
  • , Xiaoling Wang*
  • *此作品的通讯作者
  • Shenzhen University
  • Shanghai Jiao Tong University
  • East China Normal University

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

BERT and its variants are the most performing models for named entity recognition (NER), a fundamental information extraction task. We must apply inference speedup methods for BERT-based NER models to be deployed in the industrial setting. Early exiting allows the model to use only the shallow layers to process easy samples, thus reducing the average latency. In this work, we introduce FastNER, a novel framework for early exiting with a BERT biaffine NER model, which supports both flat NER tasks and nested NER tasks. First, we introduce a convolutional bypass module to provide suitable features for the current layer’s biaffine prediction head. This way, an intermediate layer can focus more on delivering high-quality semantic representations for the next layer. Second, we introduce a series of early exiting mechanisms for BERT biaffine model, which is the first in the literature. We conduct extensive experiments on 6 benchmark NER datasets, 3 of which are nested NER tasks. The experiments show that: (a) Our proposed convolutional bypass method can significantly improve the overall performances of the multi-exit BERT biaffine NER model. (b) our proposed early exiting mechanisms can effectively speed up the inference of BERT biaffine model. Comprehensive ablation studies are conducted and demonstrate the validity of our design for our FastNER framework.

源语言英语
主期刊名Advanced Data Mining and Applications - 19th International Conference, ADMA 2023, Proceedings
编辑Xiaochun Yang, Bin Wang, Heru Suhartanto, Guoren Wang, Jing Jiang, Bing Li, Huaijie Zhu, Ningning Cui
出版商Springer Science and Business Media Deutschland GmbH
185-199
页数15
ISBN(印刷版)9783031466601
DOI
出版状态已出版 - 2023
活动19th International Conference on Advanced Data Mining and Applications, ADMA 2023 - Shenyang, 中国
期限: 21 8月 202323 8月 2023

出版系列

姓名Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
14176 LNAI
ISSN(印刷版)0302-9743
ISSN(电子版)1611-3349

会议

会议19th International Conference on Advanced Data Mining and Applications, ADMA 2023
国家/地区中国
Shenyang
时期21/08/2323/08/23

指纹

探究 'FastNER: Speeding up Inferences for Named Entity Recognition Tasks' 的科研主题。它们共同构成独一无二的指纹。

引用此