arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.09132cs.CL
收藏

鲁棒语言模型的伪OOD训练

Pseudo-OOD training for robust language models

Duke University(杜克大学)

Dhanasekar Sundararaman, Nikhil Mehta, Lawrence Carin

摘要:

虽然预训练的大规模深度模型已经成为许多下游自然语言处理(NLP)任务的重要主题,但此类模型通常对分布外(OOD)输入做出不可靠的预测。因此,OOD检测是任何行业规模应用程序的可靠机器学习模型的关键组成部分。常见的方法通常假设在训练阶段访问额外的OOD样本,然而,离群值分布通常是事先未知的。相反,我们提出了一个名为POORE - POsthoc伪Ood正则化的事后框架,该框架使用分布(IND)数据生成伪OOD样本。该模型通过引入新的正则化损失来进行微调,该损失将IND和OOD数据的嵌入分开,从而在测试期间对OOD预测任务产生显着的收益。我们广泛评估我们的框架在三个现实世界的对话系统,实现新的国家的最先进的面向对象的检测。

英文摘要:

While pre-trained large-scale deep models have garnered attention as an important topic for many downstream natural language processing (NLP) tasks, such models often make unreliable predictions on out-of-distribution (OOD) inputs. As such, OOD detection is a key component of a reliable machine-learning model for any industry-scale application. Common approaches often assume access to additional OOD samples during the training stage, however, outlier distribution is often unknown in advance. Instead, we propose a post hoc framework called POORE - POsthoc pseudo-Ood REgularization, that generates pseudo-OOD samples using in-distribution (IND) data. The model is fine-tuned by introducing a new regularization loss that separates the embeddings of IND and OOD data, which leads to significant gains on the OOD prediction task during testing. We extensively evaluate our framework on three real-world dialogue systems, achieving new state-of-the-art in OOD detection.

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

↑