Skip to content

Detecting misleading tweets with Decision Tree, Random Forest, LassoCV, KNeighborsClassifier and OpenAI Api ada model

Notifications You must be signed in to change notification settings

cococokoko/AWESOME-misinformation-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWESOME-misinformation-detection

As part of our Data Science & AI specialisation we chose to tackle the problem of fake news on twitter. We found to public datasets with labelled tweets and applied different classification algorithms.

Why it is relevant?

  1. Addressing misinformation: Misinformation and fake news are pervasive in today's digital age and can have significant societal implications. They might conscious and unconsciously form our opinions and political viewpoints (e.g Covid-19 or elections). Fake news might even cause chaos, panic or real-life fear. By developing and testing a classification model to identify fake news in tweets, we contribute to the ongoing efforts to combat misinformation and promote accurate information sharing.

  2. Social media impact: Twitter, as a widely used social media platform, plays a significant role in shaping public opinion and discourse. Fake news on Twitter can spread rapidly and influence public perceptions and decision-making. By focusing on tweets specifically, our project addresses the unique challenges posed by fake news dissemination on this platform.

  3. Enhancing trust and credibility: Developing effective tools to identify fake news can help improve the trustworthiness and credibility of information shared on social media. By providing a reliable classification model, our project can contribute to creating a more informed and discerning digital society.

  4. Algorithmic transparency and fairness: Testing and evaluating our classification model on multiple datasets can help uncover biases or limitations that may affect its performance. By actively addressing biases and striving for fairness, we contribute to the responsible development and deployment of AI algorithms, which is a crucial aspect of AI ethics.

  5. Generalizability: Fake news detection is a challenging problem, and testing our model on multiple datasets helps assess its generalizability. By demonstrating the effectiveness of our classification model across different datasets, we provide valuable insights into its potential real-world applicability.

Infodemic Dataset

The first dataset we used was taken from a paper called Fighting an Infodemic. The authors manually annotated a dataset of 10,700 social media posts and articles of real and fake news on COVID-19.

TruthSeeker Dataset

The second dataset is one of the most extensive benchmark datasets with more than 180.000 labels from 2009 to 2022 from a paper called TruthSeeker: The Largest Social Media Ground-Truth Dataset for Real/Fake Content.

Preprocessing, Models Implemented and Evaluation Metrics

Approach

Summary

  • The OpenAI model outperformed all other models, however the model is lacking explainability
  • Classical models:
    • the best approach for analysing text was found to be a combination of semantic features, Twitter metadata, and sentiment analysis
  • Assessing the models generalizability:
    • the classic models are demonstrating higher effectiveness across different datasets
    • potential better suited for real-world applicability

Further Resources:

About

Detecting misleading tweets with Decision Tree, Random Forest, LassoCV, KNeighborsClassifier and OpenAI Api ada model

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published