基于贝叶斯近似的域外检测分布校正
Distribution Calibration for Out-of-Domain Detection with Bayesian Approximation
摘要:
域外检测是面向任务的对话系统中的一个关键组件,其目的是识别查询是否超出预定义的支持意图集。以前的基于softmax的检测算法被证明是过度自信的OOD样本。在本文中,我们分析了过度自信的OOD来自于由于训练分布和测试分布之间的不匹配而导致的分布不确定性,这使得模型无法自信地做出预测,从而可能导致异常的softmax分数。我们提出了一个贝叶斯OOD检测框架来校准分布的不确定性,使用蒙特卡洛辍学。我们的方法是灵活的,很容易插入到现有的softmax为基础的基线和增益33.33\%的OOD F1的改进,增加只有0.41\%的推理时间相比,MSP。进一步的分析表明贝叶斯学习对OOD检测的有效性。
英文摘要:
Out-of-Domain (OOD) detection is a key component in a task-oriented dialog system, which aims to identify whether a query falls outside the predefined supported intent set. Previous softmax-based detection algorithms are proved to be overconfident for OOD samples. In this paper, we analyze overconfident OOD comes from distribution uncertainty due to the mismatch between the training and test distributions, which makes the model can't confidently make predictions thus probably causing abnormal softmax scores. We propose a Bayesian OOD detection framework to calibrate distribution uncertainty using Monte-Carlo Dropout. Our method is flexible and easily pluggable into existing softmax-based baselines and gains 33.33\% OOD F1 improvements with increasing only 0.41\% inference time compared to MSP. Further analyses show the effectiveness of Bayesian learning for OOD detection.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。