arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2101.10642cs.CLcs.AI
收藏

BERT和ALBERT句子嵌入性能在下游NLP任务上的评估

Evaluation of BERT and ALBERT Sentence Embedding Performance on Downstream NLP Tasks

Samsung SDS(三星SDS)

Hyunjin Choi, Judong Kim, Seongho Joe, Youngjune Gwon

摘要:

来自预训练的语言模型的上下文表示是实现下游NLP任务的高性能的核心。预训练的BERT和A Lite BERT(ALBERT)模型可以进行微调,以在语义文本相似性(STS)和自然语言推理(NLI)等配对回归中给出最先进的结果。虽然基于BERT的模型产生的[CLS]令牌向量作为一个合理的句子嵌入,寻找一个最佳的句子嵌入计划仍然是一个活跃的研究领域,在计算语言学。本文探讨了BERT和ALBERT的句子嵌入模型。特别地,我们采用具有连体和三重网络结构的修改的BERT网络,称为句子-BERT(SBERT),并用AL BERT替换BERT,以创建句子-AL BERT(SAL BERT)。我们还对SBERT和SALBERT的外部CNN嵌入式网络进行了实验。我们使用STS和NLI数据集评估所有嵌入模型的性能。实证结果表明,我们的CNN架构改善ALBERT模型大大超过BERT模型的STS基准。尽管模型参数明显较少,但ALBERT句子嵌入在下游NLP评估中与BERT相比具有很强的竞争力。

英文摘要:

Contextualized representations from a pre-trained language model are central to achieve a high performance on downstream NLP task. The pre-trained BERT and A Lite BERT (ALBERT) models can be fine-tuned to give state-ofthe-art results in sentence-pair regressions such as semantic textual similarity (STS) and natural language inference (NLI). Although BERT-based models yield the [CLS] token vector as a reasonable sentence embedding, the search for an optimal sentence embedding scheme remains an active research area in computational linguistics. This paper explores on sentence embedding models for BERT and ALBERT. In particular, we take a modified BERT network with siamese and triplet network structures called Sentence-BERT (SBERT) and replace BERT with ALBERT to create Sentence-ALBERT (SALBERT). We also experiment with an outer CNN sentence-embedding network for SBERT and SALBERT. We evaluate performances of all sentence-embedding models considered using the STS and NLI datasets. The empirical results indicate that our CNN architecture improves ALBERT models substantially more than BERT models for STS benchmark. Despite significantly fewer model parameters, ALBERT sentence embedding is highly competitive to BERT in downstream NLP evaluations.

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

↑