HiSS: Towards LLM-based Fact Verification on News Claims with a Hierarchical Step-by-Step Prompting Method (AACL 2023)
Official implementation of paper "Towards LLM-based Fact Verification on News Claims with a Hierarchical Step-by-Step Prompting Method".
-
We introduce a Hierarchical Step-by-Step (HiSS) prompting method which directs LLMs to separate a claim into several subclaims and then verify each of them via multiple questions-answering steps progressively.
-
Experiment results on two public misinformation datasets show that HiSS prompting outperforms state-of-the-art fully-supervised approach and strong few-shot ICL-enabled baselines.
This repository uses data from the RawFC and LIAR datasets.
-
Obtain an OpenAI API key and save it to the environment variable
OPENAI_API_KEY
. -
Obtain a SerpApi key and save it to the environment variable
SERPAPI_KEY
.
If you find HiSS helpful or intriguing and decide to use it, kindly acknowledge the paper by citing it and consider starring this repo, thanks!
@misc{zhang2023llmbased,
title={Towards LLM-based Fact Verification on News Claims with a Hierarchical Step-by-Step Prompting Method},
author={Xuan Zhang and Wei Gao},
year={2023},
eprint={2310.00305},
archivePrefix={arXiv},
primaryClass={cs.CL}
}