Navigating Prompt Complexity for Zero-Shot Classification: A Study of Large Language Models in Computational Social Science
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\%.
Code (0)
등록된 구현이 없습니다.
Tasks
zero-shot-classificationZero-Shot LearningSimilar Papers 제목 키워드 기반
Gen-Z: Generative Zero-Shot Text Classification with Contextualized Label Descriptions
Language model (LM) prompting--a popular paradigm for solving NLP tasks--has been shown to be susceptible to miscalibration and brittleness to slight prompt variations, caused by its discriminative prompting approach, i.…
ClassificationLanguage ModelingLanguage Modellingtext-classification+4TSPE: Task-Specific Prompt Ensemble for Improved Zero-Shot Audio Classification
Audio-language models (ALMs) excel in zero-shot audio classification, a task where models classify previously unseen audio clips at test time by leveraging descriptive natural language prompts. We introduce TSPE (Task-Sp…
Audio ClassificationClassificationDescriptiveZero-shot Audio ClassificationA sound description: Exploring prompt templates and class descriptions to enhance zero-shot audio classification
Audio-text models trained via contrastive learning offer a practical approach to perform audio classification through natural language prompts, such as "this is a sound of" followed by category names. In this work, we ex…
Audio ClassificationClassificationContrastive LearningPrompt Engineering+1QaNER: Prompting Question Answering Models for Few-shot Named Entity Recognition
Recently, prompt-based learning for pre-trained language models has succeeded in few-shot Named Entity Recognition (NER) by exploiting prompts as task guidance to increase label efficiency. However, previous prompt-based…
Few-shot NERNamed Entity RecognitionNamed Entity Recognition (NER)Prompt Engineering+1Evaluating Zero-Shot and One-Shot Adaptation of Small Language Models in Leader-Follower Interaction
Leader-follower interaction is an important paradigm in human-robot interaction (HRI). Yet, assigning roles in real time remains challenging for resource-constrained mobile and assistive robots. While large language mode…
Prompt Engineering