arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2410.18764cs.CL
收藏

任务校准:在推理任务上校准大型语言模型

Task Calibration: Calibrating Large Language Models on Inference Tasks

School of Engineering, Westlake University(西湖大学工程学院);Central South University(中南大学)

Yingjie Li, Yun Luo, Xiaotian Xie, Yue Zhang

AI总结:

针对LLM在推理中依赖前提或假设单侧信息的问题,提出零样本任务校准TC,通过任务重构促使双侧推理,并在13项任务及多种设置中验证有效。

摘要:

大型语言模型(LLM)在推理任务上展现出令人瞩目的零样本性能。然而,LLM可能受到输入文本与输出标签之间虚假相关性的影响,这限制了LLM纯粹基于一般语言理解进行推理的能力。换言之,LLM可能主要依据前提或假设中的某一方作出预测,而不是同时利用两个组成部分。为了解决这一可能导致意外性能下降的问题,我们提出任务校准(TC),这是一种受互信息启发的零样本、仅推理校准方法,通过任务重构恢复LLM性能。TC促使LLM同时基于前提和假设进行推理,同时缓解模型在推理时对单一前提或假设的过度依赖。实验结果表明,TC在零样本设置下的13项推理任务上取得显著提升。我们进一步验证了TC在少样本设置以及多种自然语言理解任务中的有效性。进一步分析表明,TC对提示模板也具有鲁棒性,并具备与其他校准方法集成的潜力。

英文摘要:

Large language models (LLMs) have exhibited impressive zero-shot performance on inference tasks. However, LLMs may suffer from spurious correlations between input texts and output labels, which limits LLMs' ability to reason based purely on general language understanding. In other words, LLMs may make predictions primarily based on premise or hypothesis, rather than both components. To address this problem that may lead to unexpected performance degradation, we propose task calibration (TC), a zero-shot and inference-only calibration method inspired by mutual information which recovers LLM performance through task reformulation. TC encourages LLMs to reason based on both premise and hypothesis, while mitigating the models' over-reliance on individual premise or hypothesis for inference. Experimental results show that TC achieves a substantial improvement on 13 inference tasks in the zero-shot setup. We further validate the effectiveness of TC in few-shot setups and various natural language understanding tasks. Further analysis indicates that TC is also robust to prompt templates and has the potential to be integrated with other calibration methods.

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

↑