Calibrated Large Language Models for Binary Question Answering
Giovannotti, Patrizio, Gammerman, Alexander
–arXiv.org Artificial Intelligence
Quantifying the uncertainty of predictions made by large language models (LLMs) in binary text classification tasks remains a challenge. Calibration, in the context of LLMs, refers to the alignment between the model's predicted probabilities and the actual correctness of its predictions. A well-calibrated model should produce probabilities that accurately reflect the likelihood of its predictions being correct. We propose a novel approach that utilizes the inductive Venn--Abers predictor (IVAP) to calibrate the probabilities associated with the output tokens corresponding to the binary labels. Our experiments on the BoolQ dataset using the Llama 2 model demonstrate that IVAP consistently outperforms the commonly used temperature scaling method for various label token choices, achieving well-calibrated probabilities while maintaining high predictive quality. Our findings contribute to the understanding of calibration techniques for LLMs and provide a practical solution for obtaining reliable uncertainty estimates in binary question answering tasks, enhancing the interpretability and trustworthiness of LLM predictions.
arXiv.org Artificial Intelligence
Jul-1-2024
- Country:
- Oceania > Australia
- New South Wales > Sydney (0.04)
- North America
- United States
- Washington > King County
- Seattle (0.04)
- Minnesota > Hennepin County
- Minneapolis (0.14)
- California > San Francisco County
- San Francisco (0.14)
- Washington > King County
- Canada > Ontario
- Toronto (0.04)
- United States
- Europe
- United Kingdom > England
- Surrey (0.04)
- Middle East > Malta
- Eastern Region > Northern Harbour District > St. Julian's (0.04)
- Belgium > Brussels-Capital Region
- Brussels (0.04)
- United Kingdom > England
- Asia
- Singapore (0.04)
- Indonesia > Bali (0.04)
- Middle East > Jordan (0.04)
- Oceania > Australia
- Genre:
- Overview > Innovation (0.34)
- Research Report
- Promising Solution (0.48)
- New Finding (0.48)
- Industry:
- Government (0.46)
- Energy (0.34)
- Technology: