Program-Aided Reasoners (better) Know What They Know
Anubha Kabra, Sanketh Rangreji, Yash Mathur, Aman Madaan, Emmy Liu,, Graham Neubig

TL;DR
This paper demonstrates that program-aided reasoning with large language models improves calibration, meaning the models better understand their own knowledge, compared to traditional text-based reasoning methods across multiple datasets and models.
Contribution
The study provides a comprehensive comparison showing that program-aided language models generally have better calibration than text-based methods, and explores factors influencing this calibration.
Findings
PAL improves calibration in 75% of cases
Lower generation diversity correlates with better calibration
PAL can be more accurate and calibrated at certain temperature settings
Abstract
Prior work shows that program-aided reasoning, in which large language models (LLMs) are combined with programs written in programming languages such as Python, can significantly improve accuracy on various reasoning tasks. However, while accuracy is essential, it is also important for such reasoners to "know what they know", which can be quantified through the calibration of the model. In this paper, we compare the calibration of Program Aided Language Models (PAL) and text-based Chain-of-thought (COT) prompting techniques over 5 datasets and 2 model types: LLaMA models and OpenAI models. Our results indicate that PAL leads to improved calibration in 75% of the instances. Our analysis uncovers that prompting styles that produce lesser diversity in generations also have more calibrated results, and thus we also experiment with inducing lower generation diversity using temperature…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques · Software Engineering Research
