paper-with-me

홈 › Papers

Calibrating Long-form Generations from Large Language Models

2024-02-09 · Yukun Huang, Yixin Liu, Raghuveer Thirukovalluru, Arman Cohan, Bhuwan Dhingra

To enhance Large Language Models' (LLMs) reliability, calibration is essential -- the model's assessed confidence scores should align with the actual likelihood of its responses being correct. However, current confidence elicitation methods and calibration metrics typically rely on a binary true/false assessment of response correctness. This approach does not apply to long-form generation, where an answer can be partially correct. Addressing this gap, we introduce a unified calibration framework, in which both the correctness of the LLMs' responses and their associated confidence levels are treated as distributions across a range of scores. Within this framework, we develop three metrics to precisely evaluate LLM calibration and further propose two confidence elicitation methods based on self-consistency and self-evaluation. Our experiments, which include long-form QA and summarization tasks, demonstrate that larger models don't necessarily guarantee better calibration, that calibration performance is found to be metric-dependent, and that self-consistency methods excel in factoid datasets. We also find that calibration can be enhanced through techniques such as fine-tuning, integrating relevant source documents, scaling the temperature, and combining self-consistency with self-evaluation. Lastly, we showcase a practical application of our system: selecting and cascading open-source models and ChatGPT to optimize correctness given a limited API budget. This research not only challenges existing notions of LLM calibration but also offers practical methodologies for improving trustworthiness in long-form generation.

📄 PDF Abstract BibTeX arXiv:2402.06544

Code (1)

kkkevinkkkkk/calibration 공식 구현 pytorch

Tasks

Form

Methods 이 논문이 사용한 방법론

ALIGN In the ALIGN method, visual and language representations are jointly trained from noisy image alt-text data. The image and text encoders are learned via contrastive loss…

Similar Papers 제목 키워드 기반

A Survey of Confidence Estimation and Calibration in Large Language Models

2023-11-14 · Jiahui Geng, Fengyu Cai, Yuxia Wang, Heinz Koeppl 외

Large language models (LLMs) have demonstrated remarkable capabilities across a wide range of tasks in various domains. Despite their impressive performance, they can be unreliable due to factual errors in their generati…

Language Modelling

Long Horizon Temperature Scaling

2023-02-07 · Andy Shih, Dorsa Sadigh, Stefano Ermon

Temperature scaling is a popular technique for tuning the sharpness of a model distribution. It is used extensively for sampling likely generations and calibrating model uncertainty, and even features as a controllable p…

Multiple-choice

LitCab: Lightweight Language Model Calibration over Short- and Long-form Responses

2023-10-30 · Xin Liu, Muhammad Khalifa, Lu Wang

A model is considered well-calibrated when its probability estimate aligns with the actual likelihood of the output being correct. Calibrating language models (LMs) is crucial, as it plays a vital role in detecting and m…

FormLanguage ModelingLanguage ModellingText Generation

Calibrating Large Language Models Using Their Generations Only

2024-03-09 · Dennis Ulmer, Martin Gubri, Hwaran Lee, Sangdoo Yun 외

As large language models (LLMs) are increasingly deployed in user-facing applications, building trust and maintaining safety by accurately quantifying a model's confidence in its prediction becomes even more important. H…

Question AnsweringText Generation

Calibrating Large Language Models with Sample Consistency

2024-02-21 · Qing Lyu, Kumar Shridhar, Chaitanya Malaviya, Li Zhang 외

Accurately gauging the confidence level of Large Language Models' (LLMs) predictions is pivotal for their reliable application. However, LLMs are often uncalibrated inherently and elude conventional calibration technique…