Navigating Prompt Complexity for Zero-Shot Classification: A Study of Large Language Models in Computational Social Science

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Mu, Yida, Wu, Ben P., Thorne, William, Robinson, Ambrose, Aletras, Nikolaos, Scarton, Carolina, Bontcheva, Kalina, Song, Xingyi
Natura: Preprint
Pubblicazione: 2023
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913280331612160
author Mu, Yida
Wu, Ben P.
Thorne, William
Robinson, Ambrose
Aletras, Nikolaos
Scarton, Carolina
Bontcheva, Kalina
Song, Xingyi
author_facet Mu, Yida
Wu, Ben P.
Thorne, William
Robinson, Ambrose
Aletras, Nikolaos
Scarton, Carolina
Bontcheva, Kalina
Song, Xingyi
contents Instruction-tuned Large Language Models (LLMs) have exhibited impressive language understanding and the capacity to generate responses that follow specific prompts. However, due to the computational demands associated with training these models, their applications often adopt a zero-shot setting. In this paper, we evaluate the zero-shot performance of two publicly accessible LLMs, ChatGPT and OpenAssistant, in the context of six Computational Social Science classification tasks, while also investigating the effects of various prompting strategies. Our experiments investigate the impact of prompt complexity, including the effect of incorporating label definitions into the prompt; use of synonyms for label names; and the influence of integrating past memories during foundation model training. The findings indicate that in a zero-shot setting, current LLMs are unable to match the performance of smaller, fine-tuned baseline transformer models (such as BERT-large). Additionally, we find that different prompting strategies can significantly affect classification accuracy, with variations in accuracy and F1 scores exceeding 10\%.
format Preprint
id arxiv_https___arxiv_org_abs_2305_14310
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Navigating Prompt Complexity for Zero-Shot Classification: A Study of Large Language Models in Computational Social Science
Mu, Yida
Wu, Ben P.
Thorne, William
Robinson, Ambrose
Aletras, Nikolaos
Scarton, Carolina
Bontcheva, Kalina
Song, Xingyi
Computation and Language
Instruction-tuned Large Language Models (LLMs) have exhibited impressive language understanding and the capacity to generate responses that follow specific prompts. However, due to the computational demands associated with training these models, their applications often adopt a zero-shot setting. In this paper, we evaluate the zero-shot performance of two publicly accessible LLMs, ChatGPT and OpenAssistant, in the context of six Computational Social Science classification tasks, while also investigating the effects of various prompting strategies. Our experiments investigate the impact of prompt complexity, including the effect of incorporating label definitions into the prompt; use of synonyms for label names; and the influence of integrating past memories during foundation model training. The findings indicate that in a zero-shot setting, current LLMs are unable to match the performance of smaller, fine-tuned baseline transformer models (such as BERT-large). Additionally, we find that different prompting strategies can significantly affect classification accuracy, with variations in accuracy and F1 scores exceeding 10\%.
title Navigating Prompt Complexity for Zero-Shot Classification: A Study of Large Language Models in Computational Social Science
topic Computation and Language
url https://arxiv.org/abs/2305.14310