Leveraging Codebook Knowledge with NLI and ChatGPT for Zero-Shot Political Relation Classification

Yibo Hu, Erick Skorupa Parolin, Latifur Khan, Patrick T. Brandt, Javier Osorio +1 more
8/15/2023
cs.CLcs.AIcs.IR

No official code found. Best implementation: snowood1/Zero-Shot-PLOVER (6 stars, last commit 2024-10-17).

Abstract

Is it possible accurately classify political relations within evolving event ontologies without extensive annotations? This study investigates zero-shot learning methods that use expert knowledge from existing annotation codebook, and evaluates the performance of advanced ChatGPT (GPT-3.5/4) and a natural language inference (NLI)-based model called ZSP. ChatGPT uses codebook's labeled summaries as prompts, whereas ZSP breaks down the classification task into context, event mode, and class disambiguation to refine task-specific hypotheses. This decomposition enhances interpretability, efficiency, and adaptability to schema changes. The experiments reveal ChatGPT's strengths and limitations, and crucially show ZSP's outperformance of dictionary-based methods and its competitive edge over some supervised models. These findings affirm the value of ZSP for validating event records and advancing ontology development. Our study underscores the efficacy of leveraging transfer learning and existing domain expertise to enhance research efficiency and scalability.

View on arXivView PDF

Code Implementations(1)

Leveraging Codebook Knowledge with NLI and ChatGPT for Zero-Shot Political Relation Classification (ACL 2024)

62Python, Jupyter NotebookOct 24, 20222 years ago
chatgptevent-codingnatural-language-inferencepolitical-sciencerelation-classification+1 more

Similar Papers

Cite this paper

@article{hu2023leveraging,
  title  = {Leveraging Codebook Knowledge with NLI and ChatGPT for Zero-Shot Political Relation Classification},
  author = {Yibo Hu and Erick Skorupa Parolin and Latifur Khan and Patrick T. Brandt and Javier Osorio and Vito J. D'Orazio},
  year   = {2023},
  eprint = {2308.07876},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.07876v3}
}

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

Discussion