[论文解读] LERT: A Linguistically-motivated Pre-trained Language Model
LERT 是一个用于中文的多任务预训练模型,它在平衡学习速度的同时,结合三个语言任务(POS、NER、DEP)与 MLM 进行联合学习,采用语言信息驱动的预训练(LIP)策略。
Pre-trained Language Model (PLM) has become a representative foundation model in the natural language processing field. Most PLMs are trained with linguistic-agnostic pre-training tasks on the surface form of the text, such as the masked language model (MLM). To further empower the PLMs with richer linguistic features, in this paper, we aim to propose a simple but effective way to learn linguistic features for pre-trained language models. We propose LERT, a pre-trained language model that is trained on three types of linguistic features along with the original MLM pre-training task, using a linguistically-informed pre-training (LIP) strategy. We carried out extensive experiments on ten Chinese NLU tasks, and the experimental results show that LERT could bring significant improvements over various comparable baselines. Furthermore, we also conduct analytical experiments in various linguistic aspects, and the results prove that the design of LERT is valid and effective. Resources are available at https://github.com/ymcui/LERT
研究动机与目标
- 推动在预训练语言模型中引入显性语言知识,超越标准 MLM。
- 开发一个简单而有效的多任务预训练框架,使用 POS、NER 和 DEP 作为弱监督。
- 提出一个语言信息驱动的预训练(LIP)策略,以在任务之间平衡学习速度。
- 在十个中文 NLP 任务上、跨多个模型规模,经验性评估 LERT。
- 提供分析以理解每个语言特征及训练策略的贡献。
提出的方法
- 以 MLM 作为基础预训练目标,并使用标准掩码变体。
- 使用 LTP 为输入标注三个语言特征(POS、NER、DEP),并将它们用作多任务预训练的弱标签。
- 添加三个对应于 POS、NER 和 DEP 的语言预测头,通过交叉熵损失进行训练。
- 引入语言信息驱动的预训练(LIP)策略,通过 T* 常数随时间对 POS、NER 和 DEP 损失进行缩放,以在早期优先 POS。
- 将 MLM 损失与三种语言损失的加权和相结合:L = L_MLM + sum(lambda_i * L_i)。
- 在 5.4B 字中文文本上和标准微调设置下,尝试三种 LERT 大小(small、base、large)。
实验结果
研究问题
- RQ1显性语言特征(POS、NER、DEP)是否能在中文 NLP 任务中超越仅使用 MLM 的性能,提升预训练语言模型的表现?
- RQ2语言任务的不同学习速度如何影响预训练的有效性?
- RQ3哪些下游任务最受益于语言特征注入,原因何在?
- RQ4在 MRC、TC 和 NER 任务上,小型、基线、和大型 LERT 模型与现有基线相比如何?
- RQ5语言掩码与基于输出的语言监督之间有什么影响?
主要发现
- 在 MRC 和 NER 任务上,LERT 在 base 和 large 尺度下均显著优于可比基线。
- NER 特征对下游 NER 表现贡献尤其显著,结合 POS 与 DEP 时可获得额外提升。
- 三种语言特征的结合在所评估的任务上提供最佳总体表现。
- 语言信息驱动的预训练(PND)方案(POS 学习最快)优于其他排序和无热身的基线。
- 在相似数据预算下,小型 LERT 模型的表现超越基于 ELECTRA 的小型模型和有竞争力的基线,凸显了效率优势。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。