FaKnow: A Unified Library for Fake News Detection

Yiyuan Zhu,Yongjun Li,Jialiang Wang,Ming Gao,Jiali Wei
2024-01-27
Abstract:Over the past years, a large number of fake news detection algorithms based on deep learning have emerged. However, they are often developed under different frameworks, each mandating distinct utilization methodologies, consequently hindering reproducibility. Additionally, a substantial amount of redundancy characterizes the code development of such fake news detection models. To address these concerns, we propose FaKnow, a unified and comprehensive fake news detection algorithm library. It encompasses a variety of widely used fake news detection models, categorized as content-based and social context-based approaches. This library covers the full spectrum of the model training and evaluation process, effectively organizing the data, models, and training procedures within a unified framework. Furthermore, it furnishes a series of auxiliary functionalities and tools, including visualization, and logging. Our work contributes to the standardization and unification of fake news detection research, concurrently facilitating the endeavors of researchers in this field. The open-source code and documentation can be accessed at
Machine Learning,Artificial Intelligence,Computation and Language
What problem does this paper attempt to address?
### Problems the Paper Attempts to Solve The paper primarily addresses the following issues: 1. **Unified Framework**: Currently, fake news detection algorithms are developed based on different frameworks, each requiring unique usage methods, making reproduction difficult. Additionally, there is a significant amount of redundancy in the code development of these models. 2. **Standardization and Unification**: A unified and comprehensive fake news detection algorithm library named FaKnow is proposed to address the above issues. This library covers a variety of widely used fake news detection models and organizes the data, model training, and evaluation processes within a unified framework. 3. **Auxiliary Functions**: Besides the core functions, FaKnow also provides a series of auxiliary tools, including visualization and logging, aimed at facilitating researchers' work in this field. Through the above measures, FaKnow strives to simplify the research and application process of fake news detection algorithms, enhancing their reproducibility and practicality.