Giter VIP home page Giter VIP logo

cf-fend's Introduction

CF-FEND

Source code and datasets for the paper "Bias Mitigation for Evidence-aware Fake News Detection by Causal Intervention".

Requirements

Required packages are in requirements.txt. You can install packages as follows:

pip install -r requirements.txt

Data

Our dataset can be downloaded by this link. Place it in the same directory as counterfactual_inference.

Usage

You can run the bash scripts in the directory (run) to train and test models (MAC/bert) on Snopes (sens) or PolitiFact (pomt) Dataset.

For example, run the mac model on Snopes:

sh run/run_mac_snes.sh

Citation

Please cite our paper if you use the code:

@inproceedings{wu2022bias,
  title     = {Bias Mitigation for Evidence-aware Fake News Detection by Causal Intervention},
  author    = {Wu, Junfei and Liu, Qiang and Xu, Weizhi and Wu, Shu},
  booktitle = {Proceedings of the 45th International ACM SIGIR Conference on Research and Development in Information Retrieval},
  pages     = {2308--2313},
  year      = {2022}
}

Acknowledgment

We refer to the work and code of fake news reasoning. We sincerely thank them for their great contribution to the research community of fake news detection.

cf-fend's People

Contributors

hyperwjf avatar

Stargazers

 avatar Kaituo Feng avatar

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.