Giter Site home page Giter Site logo

khuangaf / fakingfakenews Goto Github PK

View Code? Open in Web Editor NEW
22.0 2.0 2.0 8.81 MB

Official implementation of the ACL 2023 paper: "Faking Fake News for Real Fake News Detection: Propaganda-Loaded Training Data Generation"

Python 98.26% Shell 1.74%
disinformation fake-news fake-news-detection misinformation

fakingfakenews's Introduction

Faking Fake News for Real Fake News Detection: Propaganda-loaded Training Data Generation (ACL 2023)

Kung-Hsiang (Steeve) Huang, Kathleen McKeown, Preslav Nakov, Yejin Choi and Heng Ji

Abstract

Despite recent advances in detecting fake news generated by neural models, their results are not readily applicable to effective detection of human-written disinformation. What limits the successful transfer between them is the sizable gap between machine-generated fake news and human-authored ones, including the notable differences in terms of style and underlying intent. With this in mind, we propose a novel framework for generating training examples that are informed by the known styles and strategies of human-authored propaganda.
Specifically, we perform self-critical sequence training guided by natural language inference to ensure the validity of the generated articles, while also incorporating propaganda techniques, such as appeal to authority and loaded language. In particular, we create a new training dataset, PropaNews, with 2,256 examples, which we release for future use. Our experimental results show that fake news detectors trained on PropaNews are better at detecting human-written disinformation by 3.62--7.69% F1 score on two public datasets.

How to use this repo

Please refer to the README within each model directory for specific instructions on how to run them.

Data

The generated data and the test data used in our experiments are included in the data folder. train.jsonl, dev.jsonl, and test.jsonl are our generated data. snopes_test.jsonl and politifact_test.jsonl contain real and fake news from Snopes and PolitiFact.

Citation

If you find this work useful, please consider citing:

@inproceedings{huang2023faking,
  title     = "Faking Fake News for Real Fake News Detection: Propaganda-loaded Training Data Generation",
  author    = "Huang, Kung-Hsiang, Kathleen McKeown, Preslav Nakov, Yejin Choi, and Heng Ji",
  year = "2023",
  month= july,
  booktitle = "Proceedings of the 61th Annual Meeting of the Association for Computational Linguistics",
  publisher = "Association for Computational Linguistics",
}

fakingfakenews's People

Contributors

khuangaf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fakingfakenews's Issues

Disinformation Generation

Hello, I learned a lot from your published paper, and I am very interested in the part of Disinformation Generation. Could you please share the code to realize this with me? Thank you very much and look forward to your reply.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.