Harnessing Large Language Models as Post-hoc Correctors

Zhiqiang Zhong, Kuangyu Zhou, Davide Mottin


Abstract
As Machine Learning (ML) models grow in size and demand higher-quality training data, the expenses associated with re-training and fine-tuning these models are escalating rapidly. Inspired by recent impressive achievements of Large Language Models (LLMs) in different fields, this paper delves into the question: can LLMs efficiently improve an ML’s performance at a minimal cost? We show that, through our proposed training-free framework LLMCorr, an LLM can work as a post-hoc corrector to propose corrections for the predictions of an arbitrary ML model. In particular, we form a contextual knowledge database by incorporating the dataset’s label information and the ML model’s predictions on the validation dataset. Leveraging the in-context learning capability of LLMs, we ask the LLM to summarise the instances in which the ML model makes mistakes and the correlation between primary predictions and true labels. Following this, the LLM can transfer its acquired knowledge to suggest corrections for the ML model’s predictions. Our experimental results on text analysis and the challenging molecular predictions show that LLMCorr improves the performance of a number of models by up to 39%.
Anthology ID:
2024.findings-acl.867
Volume:
Findings of the Association for Computational Linguistics ACL 2024
Month:
August
Year:
2024
Address:
Bangkok, Thailand and virtual meeting
Editors:
Lun-Wei Ku, Andre Martins, Vivek Srikumar
Venue:
Findings
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
14559–14574
Language:
URL:
https://aclanthology.org/2024.findings-acl.867
DOI:
Bibkey:
Cite (ACL):
Zhiqiang Zhong, Kuangyu Zhou, and Davide Mottin. 2024. Harnessing Large Language Models as Post-hoc Correctors. In Findings of the Association for Computational Linguistics ACL 2024, pages 14559–14574, Bangkok, Thailand and virtual meeting. Association for Computational Linguistics.
Cite (Informal):
Harnessing Large Language Models as Post-hoc Correctors (Zhong et al., Findings 2024)
Copy Citation:
PDF:
https://aclanthology.org/2024.findings-acl.867.pdf