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

Pyramid-BERT:通过基于连续核集的Token选择降低复杂性

Pyramid-BERT: Reducing Complexity via Successive Core-set based Token Selection

Amazon AWS(亚马逊云科技);University of Waterloo(滑铁卢大学)

Xin Huang, Ashish Khetan, Rene Bidart, Zohar Karnin

摘要:

基于transformer的语言模型,如BERT,在各种NLP任务上已经达到了最先进的性能,但在计算上是禁止的。最近的一系列工作使用各种算法来连续缩短序列长度,同时通过编码器转换令牌,例如需要单个令牌嵌入进行预测的分类和排名。我们提出了一种新的解决方案,这个问题,所谓的金字塔BERT,我们取代以前使用的符号与{ \em核心集}为基础的令牌选择方法的理论结果证明。基于核心集的令牌选择技术使我们能够避免昂贵的预训练,提供空间有效的微调,从而使其适合处理更长的序列长度。我们提供了广泛的实验,建立金字塔BERT的优势,在几个基线和现有的工作上的GLUE基准和远程竞技场数据集。

英文摘要:

Transformer-based language models such as BERT have achieved the state-of-the-art performance on various NLP tasks, but are computationally prohibitive. A recent line of works use various heuristics to successively shorten sequence length while transforming tokens through encoders, in tasks such as classification and ranking that require a single token embedding for prediction. We present a novel solution to this problem, called Pyramid-BERT where we replace previously used heuristics with a {\em core-set} based token selection method justified by theoretical results. The core-set based token selection technique allows us to avoid expensive pre-training, gives a space-efficient fine tuning, and thus makes it suitable to handle longer sequence lengths. We provide extensive experiments establishing advantages of pyramid BERT over several baselines and existing works on the GLUE benchmarks and Long Range Arena datasets.

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

↑