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

重新审视Softmax在文本分类中的不确定性近似

Revisiting Softmax for Uncertainty Approximation in Text Classification

University of Copenhagen(哥本哈根大学)

Andreas Nugaard Holm, Dustin Wright, Isabelle Augenstein

AI总结:

针对文本分类中MC Dropout不确定性近似计算成本高的问题,本文通过多数据集多架构实证对比,发现低成本的softmax的不确定性估计效果具竞争力,可作为计算资源受限时的替代方案。

摘要:

文本分类中的不确定性近似是一个重要领域,在域适应和可解释性中均有应用。最广泛使用的不确定性近似方法之一是蒙特卡洛(Monte Carlo, MC)Dropout,该方法计算成本较高,因为它需要对模型进行多次前向传播。一种更廉价的替代方案是仅基于单次无Dropout的前向传播,使用softmax来估计模型不确定性。然而,已有研究指出这类预测往往过于自信。本文中,我们在5个数据集、2种基础神经架构上对这些方法进行了全面的实证分析,以明确二者之间的权衡关系。我们对比了softmax与高效版MC Dropout的不确定性近似效果及下游文本分类性能,同时权衡了它们的运行时间(成本)与性能(收益)。我们发现,尽管MC Dropout能生成最优的不确定性近似结果,但使用简单的softmax能在低得多的计算成本下,获得具有竞争力、在某些情况下甚至更优的文本分类不确定性估计,这表明当计算资源受限的时候,softmax实际上可以作为一种充分的不确定性估计方案。

英文摘要:

Uncertainty approximation in text classification is an important area with applications in domain adaptation and interpretability. One of the most widely used uncertainty approximation methods is Monte Carlo (MC) Dropout, which is computationally expensive as it requires multiple forward passes through the model. A cheaper alternative is to simply use the softmax based on a single forward pass without dropout to estimate model uncertainty. However, prior work has indicated that these predictions tend to be overconfident. In this paper, we perform a thorough empirical analysis of these methods on five datasets with two base neural architectures in order to identify the trade-offs between the two. We compare both softmax and an efficient version of MC Dropout on their uncertainty approximations and downstream text classification performance, while weighing their runtime (cost) against performance (benefit). We find that, while MC dropout produces the best uncertainty approximations, using a simple softmax leads to competitive and in some cases better uncertainty estimation for text classification at a much lower computational cost, suggesting that softmax can in fact be a sufficient uncertainty estimate when computational resources are a concern.

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

↑