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

基于超球面空间的意图检测置信度校准及精度-不确定性损失的再平衡

Confidence Calibration for Intent Detection via Hyperspherical Space and Rebalanced Accuracy-Uncertainty Loss

Peking University(北京大学);Meituan(美团)

Yantao Gong, Cao Liu, Fan Yang, Xunliang Cai, Guanglu Wan, Jiansong Chen, Weipeng Zhang, Houfeng Wang

摘要:

数据驱动方法在意图检测方面取得了显著的性能,意图检测是一项理解用户查询的任务。尽管如此,它们因过于自信的预测而备受争议。在某些场景下,用户不仅关心模型的准确性,还关心模型的置信度。不幸的是,主流神经网络校准得很差,准确度和置信度之间存在很大差距。为了处理这个问题定义为置信度校准,我们提出了一个模型,使用超球面空间和重新平衡的精度不确定性损失。具体来说,我们将标签向量均匀地投影到超球面空间上以生成密集标签表示矩阵,这减轻了由于过度拟合稀疏独热标签矩阵而导致的过度自信预测。此外,我们还重新平衡了不同精度和不确定性的样本,以更好地指导模型训练。在开放数据集上的实验验证了该模型优于现有的标定方法,并在标定度量上取得了显著的改进。

英文摘要:

Data-driven methods have achieved notable performance on intent detection, which is a task to comprehend user queries. Nonetheless, they are controversial for over-confident predictions. In some scenarios, users do not only care about the accuracy but also the confidence of model. Unfortunately, mainstream neural networks are poorly calibrated, with a large gap between accuracy and confidence. To handle this problem defined as confidence calibration, we propose a model using the hyperspherical space and rebalanced accuracy-uncertainty loss. Specifically, we project the label vector onto hyperspherical space uniformly to generate a dense label representation matrix, which mitigates over-confident predictions due to overfitting sparce one-hot label matrix. Besides, we rebalance samples of different accuracy and uncertainty to better guide model training. Experiments on the open datasets verify that our model outperforms the existing calibration methods and achieves a significant improvement on the calibration metric.

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

↑