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

Yida Mu, Ben P. Wu, William Thorne, Ambrose Robinson, Nikolaos Aletras +3 more
5/23/2023
cs.CL

No confident code implementation found for this paper.

Abstract

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\%.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{mu2023navigating,
  title  = {Navigating Prompt Complexity for Zero-Shot Classification: A Study of Large Language Models in Computational Social Science},
  author = {Yida Mu and Ben P. Wu and William Thorne and Ambrose Robinson and Nikolaos Aletras and Carolina Scarton and Kalina Bontcheva and Xingyi Song},
  year   = {2023},
  eprint = {2305.14310},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.14310v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.14310.svg)](https://codeofpaper.com/paper/2305.14310)

Discussion