arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2310.17121cs.CL
收藏

事实探测的测试时增强

Test-time Augmentation for Factual Probing

Tohoku University(东北大学);RIKEN(理化学研究所);MBZUAI(穆罕默德·本·扎耶德人工智能大学)

Go Kamoda, Benjamin Heinzerling, Keisuke Sakaguchi, Kentaro Inui

AI总结:

本文提出用测试时增强(TTA)自动生成并集成提示变体,以关系无关的方式缓解事实探测中模型对提示变化敏感的问题,改善模型校准,并分析了该方法的主要挑战。

摘要:

事实探测是一种使用提示来测试语言模型是否“知道”某些世界知识事实的方法。事实探测中的一个问题是,提示的微小变化可能导致模型输出发生巨大变化。先前的工作旨在通过文本挖掘或微调来优化提示,从而缓解这一问题。然而,这类方法是关系特定的,无法泛化到未见过的关系类型。在此,我们提出使用测试时增强(TTA)作为一种关系无关的方法,通过在测试时自动增强和集成提示来降低对提示变化的敏感性。实验表明模型校准有所改善,即在采用TTA后,模型置信度能更好地反映预测准确率。在某些模型上观察到预测准确率的提升,但在其他模型上,TTA反而导致性能下降。错误分析指出,生成高质量提示变体的困难是TTA面临的主要挑战。

英文摘要:

Factual probing is a method that uses prompts to test if a language model "knows" certain world knowledge facts. A problem in factual probing is that small changes to the prompt can lead to large changes in model output. Previous work aimed to alleviate this problem by optimizing prompts via text mining or fine-tuning. However, such approaches are relation-specific and do not generalize to unseen relation types. Here, we propose to use test-time augmentation (TTA) as a relation-agnostic method for reducing sensitivity to prompt variations by automatically augmenting and ensembling prompts at test time. Experiments show improved model calibration, i.e., with TTA, model confidence better reflects prediction accuracy. Improvements in prediction accuracy are observed for some models, but for other models, TTA leads to degradation. Error analysis identifies the difficulty of producing high-quality prompt variations as the main challenge for TTA.

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

↑