Task Calibration: Calibrating Large Language Models on Inference Tasks

Yingjie Li, Yun Luo, Xiaotian Xie, Yue Zhang


Abstract
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. For example, in the natural language inference (NLI) task, 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. In NLI, 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 different benchmarks 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. We publicly release our code to facilitate future research.
Anthology ID:
2025.findings-acl.362
Volume:
Findings of the Association for Computational Linguistics: ACL 2025
Month:
July
Year:
2025
Address:
Vienna, Austria
Editors:
Wanxiang Che, Joyce Nabende, Ekaterina Shutova, Mohammad Taher Pilehvar
Venue:
Findings
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
6937–6951
Language:
URL:
https://preview.aclanthology.org/display_plenaries/2025.findings-acl.362/
DOI:
Bibkey:
Cite (ACL):
Yingjie Li, Yun Luo, Xiaotian Xie, and Yue Zhang. 2025. Task Calibration: Calibrating Large Language Models on Inference Tasks. In Findings of the Association for Computational Linguistics: ACL 2025, pages 6937–6951, Vienna, Austria. Association for Computational Linguistics.
Cite (Informal):
Task Calibration: Calibrating Large Language Models on Inference Tasks (Li et al., Findings 2025)
Copy Citation:
PDF:
https://preview.aclanthology.org/display_plenaries/2025.findings-acl.362.pdf