Unsupervised Calibration through Prior Adaptation for Text Classification using Large Language Models

0Citations
Citations of this article
23Readers
Mendeley users who have this article in their library.

Abstract

A wide variety of natural language tasks are currently being addressed with large-scale language models (LLMs). These models are usually trained with a very large amount of unsupervised text data and adapted to perform a downstream natural language task using methods like fine-tuning, calibration or in-context learning. In this work, we propose an approach to adapt the prior class distribution to perform text classification tasks without the need for labelled samples and only a few in-domain sample queries. The proposed approach treats the LLM as a black box, adding a stage where the model posteriors are calibrated to the task. Results show that these methods outperform the un-adapted model for different number of training shots in the prompt and a previous approach where calibration is performed without using any adaptation data.

Cite

CITATION STYLE

APA

Estienne, L. (2023). Unsupervised Calibration through Prior Adaptation for Text Classification using Large Language Models. In International Conference Recent Advances in Natural Language Processing, RANLP (pp. 13–22). Incoma Ltd. https://doi.org/10.26615/issn.2603-2821.2023_002

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free