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

基于能量的联合模型训练用于更好地校准自然语言理解模型

Joint Energy-based Model Training for Better Calibrated Natural Language Understanding Models

MIT(麻省理工学院);Salesforce Research(Salesforce研究院)

Tianxing He, Bryan McCann, Caiming Xiong, Ehsan Hosseini-Asl

摘要:

在这项工作中,我们在预训练文本编码器的微调期间探索联合基于能量的模型(EBM)训练(例如,Roberta)进行自然语言理解(NLU)任务。我们的实验表明,EBM训练可以帮助模型达到更好的校准,与强基线竞争,准确性几乎没有损失。我们讨论了可以在文本编码器上定义的能量函数的三种变体(即标量,隐藏和尖锐隐藏),并在实验中对它们进行了比较。由于文本数据的离散性,我们采用噪声对比估计(NCE)对基于能量的模型进行训练。为了使NCE训练更有效,我们训练一个自回归噪声模型与掩蔽语言模型(MLM)的目标。

英文摘要:

In this work, we explore joint energy-based model (EBM) training during the finetuning of pretrained text encoders (e.g., Roberta) for natural language understanding (NLU) tasks. Our experiments show that EBM training can help the model reach a better calibration that is competitive to strong baselines, with little or no loss in accuracy. We discuss three variants of energy functions (namely scalar, hidden, and sharp-hidden) that can be defined on top of a text encoder, and compare them in experiments. Due to the discreteness of text data, we adopt noise contrastive estimation (NCE) to train the energy-based model. To make NCE training more effective, we train an auto-regressive noise model with the masked language model (MLM) objective.

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

↑