Prompting and Fine-Tuning Open-Sourced Large Language Models for Stance Classification

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Cruickshank, Iain J., Ng, Lynnette Hui Xian
Format: Preprint
Publié: 2023
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909129192243200
author Cruickshank, Iain J.
Ng, Lynnette Hui Xian
author_facet Cruickshank, Iain J.
Ng, Lynnette Hui Xian
contents Stance classification, the task of predicting the viewpoint of an author on a subject of interest, has long been a focal point of research in domains ranging from social science to machine learning. Current stance detection methods rely predominantly on manual annotation of sentences, followed by training a supervised machine learning model. However, this manual annotation process requires laborious annotation effort, and thus hampers its potential to generalize across different contexts. In this work, we investigate the use of Large Language Models (LLMs) as a stance detection methodology that can reduce or even eliminate the need for manual annotations. We investigate 10 open-source models and 7 prompting schemes, finding that LLMs are competitive with in-domain supervised models but are not necessarily consistent in their performance. We also fine-tuned the LLMs, but discovered that fine-tuning process does not necessarily lead to better performance. In general, we discover that LLMs do not routinely outperform their smaller supervised machine learning models, and thus call for stance detection to be a benchmark for which LLMs also optimize for. The code used in this study is available at \url{https://github.com/ijcruic/LLM-Stance-Labeling}
format Preprint
id arxiv_https___arxiv_org_abs_2309_13734
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Prompting and Fine-Tuning Open-Sourced Large Language Models for Stance Classification
Cruickshank, Iain J.
Ng, Lynnette Hui Xian
Computation and Language
Artificial Intelligence
Stance classification, the task of predicting the viewpoint of an author on a subject of interest, has long been a focal point of research in domains ranging from social science to machine learning. Current stance detection methods rely predominantly on manual annotation of sentences, followed by training a supervised machine learning model. However, this manual annotation process requires laborious annotation effort, and thus hampers its potential to generalize across different contexts. In this work, we investigate the use of Large Language Models (LLMs) as a stance detection methodology that can reduce or even eliminate the need for manual annotations. We investigate 10 open-source models and 7 prompting schemes, finding that LLMs are competitive with in-domain supervised models but are not necessarily consistent in their performance. We also fine-tuned the LLMs, but discovered that fine-tuning process does not necessarily lead to better performance. In general, we discover that LLMs do not routinely outperform their smaller supervised machine learning models, and thus call for stance detection to be a benchmark for which LLMs also optimize for. The code used in this study is available at \url{https://github.com/ijcruic/LLM-Stance-Labeling}
title Prompting and Fine-Tuning Open-Sourced Large Language Models for Stance Classification
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2309.13734