arXiv:2411.18021cs.CL2024-11被引 1

双向编码器提升上下文理解,让大模型更擅长下游任务。

Can bidirectional encoder become the ultimate winner for downstream applications of foundation models?

  • 用掩码语言建模捕捉双向上下文信息
  • 在SQuAD和GLUE上表现优于单向模型
  • 适合需要深度语义理解的NLP应用

近年来,人工智能从机器学习发展到深度学习,如今进入基础模型时代。基础模型具备预训练、迁移学习和自监督学习特性,可微调应用于多种下游任务。以BERT为代表的双向编码器通过掩码语言建模,在预训练阶段突破单向语言建模限制,能够捕获序列中双向上下文信息,从而更准确预测被遮蔽词,显著提升特征提取能力。这使模型在理解领域知识方面更具优势,尤其适用于问答、文本理解等下游任务。本文对比分析了基于GPT(单向)与BERT(双向)的模型差异,重点评估其在斯坦福问答数据集(SQuAD)和通用语言理解评估(GLUE)上的表现,揭示双向编码器在上下文建模与任务性能提升中的关键作用。

原文摘要 · Abstract (English)

Over the past few decades, Artificial Intelligence(AI) has progressed from the initial machine learning stage to the deep learning stage, and now to the stage of foundational models. Foundational models have the characteristics of pre-training, transfer learning, and self-supervised learning, and pre-trained models can be fine-tuned and applied to various downstream tasks. Under the framework of foundational models, models such as Bidirectional Encoder Representations from Transformers(BERT) and Generative Pre-trained Transformer(GPT) have greatly advanced the development of natural language processing(NLP), especially the emergence of many models based on BERT. BERT broke through the limitation of only using one-way methods for language modeling in pre-training by using a masked language model. It can capture bidirectional context information to predict the masked words in the sequence, this can improve the feature extraction ability of the model. This makes the model very useful for downstream tasks, especially for specialized applications. The model using the bidirectional encoder can better understand the domain knowledge and be better applied to these downstream tasks. So we hope to help understand how this technology has evolved and improved model performance in various natural language processing tasks under the background of foundational models and reveal its importance in capturing context information and improving the model's performance on downstream tasks. This article analyzes one-way and bidirectional models based on GPT and BERT and compares their differences based on the purpose of the model. It also briefly analyzes BERT and the improvements of some models based on BERT. The model's performance on the Stanford Question Answering Dataset(SQuAD) and General Language Understanding Evaluation(GLUE) was compared.

自然语言处理双向编码器BERT

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。