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

基于预训练Transformers的无监督域外检测

Unsupervised Out-of-Domain Detection via Pre-trained Transformers

Columbia University(哥伦比亚大学);University of Texas at Austin(德克萨斯大学奥斯汀分校);Carnegie Mellon University(卡内基梅隆大学);Salesforce Research(赛富时研究院)

Keyang Xu, Tongzheng Ren, Shikun Zhang, Yihao Feng, Caiming Xiong

摘要:

部署的真实世界机器学习应用程序经常受到不受控制甚至潜在恶意输入的影响。这些域外输入可能导致不可预测的输出,有时甚至是灾难性的安全问题。以前的研究领域外的检测需要领域内的任务标签,并限于监督分类的情况下。我们的工作解决了只有无监督的域内数据检测域外样本的问题。我们利用预先训练的Transformers的潜在表示,并提出了一种简单而有效的方法来转换所有层的特征,以有效地构建域外检测器。进一步提出了两种特定领域的微调方法,以提高检测精度。我们在两个数据集上对相关方法进行了实证评估,验证了我们的方法在更一般的情况下大大提高了域外检测能力。

英文摘要:

Deployed real-world machine learning applications are often subject to uncontrolled and even potentially malicious inputs. Those out-of-domain inputs can lead to unpredictable outputs and sometimes catastrophic safety issues. Prior studies on out-of-domain detection require in-domain task labels and are limited to supervised classification scenarios. Our work tackles the problem of detecting out-of-domain samples with only unsupervised in-domain data. We utilize the latent representations of pre-trained transformers and propose a simple yet effective method to transform features across all layers to construct out-of-domain detectors efficiently. Two domain-specific fine-tuning approaches are further proposed to boost detection accuracy. Our empirical evaluations of related methods on two datasets validate that our method greatly improves out-of-domain detection ability in a more general scenario.

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

↑