arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2103.06874cs.CLcs.LG
收藏

CANINE:预训练一个高效的无Tokenization的语言表示编码器

CANINE: Pre-training an Efficient Tokenization-Free Encoder for Language Representation

Google Research(谷歌研究院)

Jonathan H. Clark, Dan Garrette, Iulia Turc, John Wieting

摘要:

流水线NLP系统已经在很大程度上被端到端神经建模所取代,但几乎所有常用的模型仍然需要显式的标记化步骤。虽然最近基于数据派生的子词词典的标记化方法比手动设计的标记化器更脆弱,但这些技术并不同样适用于所有语言,并且使用任何固定词汇表可能会限制模型的适应能力。在本文中,我们提出了CANINE,一个神经编码器,直接对字符序列进行操作,没有显式的标记化或词汇,以及一个预训练策略,直接对字符进行操作或可选地使用子字作为软归纳偏差。为了有效和高效地使用其更细粒度的输入,CANINE将减少输入序列长度的下采样与编码上下文的深度Transformer堆栈相结合。尽管模型参数减少了28%,但CANINE在TyDi QA(一个具有挑战性的多语言基准测试)上的表现优于可比的mBERT模型2.8 F1。

英文摘要:

Pipelined NLP systems have largely been superseded by end-to-end neural modeling, yet nearly all commonly-used models still require an explicit tokenization step. While recent tokenization approaches based on data-derived subword lexicons are less brittle than manually engineered tokenizers, these techniques are not equally suited to all languages, and the use of any fixed vocabulary may limit a model's ability to adapt. In this paper, we present CANINE, a neural encoder that operates directly on character sequences, without explicit tokenization or vocabulary, and a pre-training strategy that operates either directly on characters or optionally uses subwords as a soft inductive bias. To use its finer-grained input effectively and efficiently, CANINE combines downsampling, which reduces the input sequence length, with a deep transformer stack, which encodes context. CANINE outperforms a comparable mBERT model by 2.8 F1 on TyDi QA, a challenging multilingual benchmark, despite having 28% fewer model parameters.

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

↑