In-Context Learning and Fine-Tuning GPT for Argument Mining

Jérémie Cabessa, Hugo Hernault, Umer Mushtaq
6/10/2024
cs.CLcs.LG

No official code found. Best implementation: JeremCab/AMwithGPT (3 stars, last commit 2024-05-01).

Abstract

Large Language Models (LLMs) have become ubiquitous in NLP and deep learning. In-Context Learning (ICL) has been suggested as a bridging paradigm between the training-free and fine-tuning LLMs settings. In ICL, an LLM is conditioned to solve tasks by means of a few solved demonstration examples included as prompt. Argument Mining (AM) aims to extract the complex argumentative structure of a text, and Argument Type Classification (ATC) is an essential sub-task of AM. We introduce an ICL strategy for ATC combining kNN-based examples selection and majority vote ensembling. In the training-free ICL setting, we show that GPT-4 is able to leverage relevant information from only a few demonstration examples and achieve very competitive classification accuracy on ATC. We further set up a fine-tuning strategy incorporating well-crafted structural features given directly in textual form. In this setting, GPT-3.5 achieves state-of-the-art performance on ATC. Overall, these results emphasize the emergent ability of LLMs to grasp global discursive flow in raw text in both off-the-shelf and fine-tuned setups.

View on arXivView PDF

Code Implementations(1)

JeremCab/AMwithGPTCommunity100%
30Jupyter NotebookJan 22, 20242 years ago

Similar Papers

Cite this paper

@article{cabessa2024incontext,
  title  = {In-Context Learning and Fine-Tuning GPT for Argument Mining},
  author = {Jérémie Cabessa and Hugo Hernault and Umer Mushtaq},
  year   = {2024},
  eprint = {2406.06699},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.06699v1}
}

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/2406.06699.svg)](https://codeofpaper.com/paper/2406.06699)

Discussion