๐ŸŒ AIๆœ็ดข & ไปฃ็† ไธป้กต
Skip to content

Multi-layered fake news detection browser extension using AI, source credibility, and cross-referencing.

Notifications You must be signed in to change notification settings

notgautham/FactFlow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

54 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

FactFlow

Your Personal AI Fact Checker โ€” Built as a Multi-layered Browser Extension


๐Ÿ” In an age of misinformation, FactFlow empowers users to navigate online news with confidence.

FactFlow is an intelligent browser extension designed to analyze and validate news articles in real-time.
By combining the power of Natural Language Processing, source credibility checks, and AI-based cross-referencing,
FactFlow delivers a layered analysis to help you identify fake, misleading, or unverifiable content โ€” directly as you browse.

Whether it's political headlines or trending stories, FactFlow helps you verify before you trust.

๐Ÿ”ง Key Features

  • ๐Ÿง  3-Layered Verification System

    • Pattern-based ML model trained on LIAR dataset
    • Source credibility score using MBFC database
    • Factual cross-checking with real-time LLM support
  • โšก One-Click Analysis

    • Scrapes and processes the current web page automatically
  • ๐ŸŸฉ Credibility Verdict Bar

    • Displays clear verdicts like: Fake, Soft Fake, Likely Real, Uncertain
  • ๐ŸŒ Chrome Extension UI

    • Minimalistic interface built with React + Tailwind + ShadCN
    • Circular animated progress loader and hover effects
  • ๐Ÿ“ก FastAPI Backend

    • Unified API that integrates model inference, source scoring, and LLM calls

โš™๏ธ Built With

๐Ÿ’ป Frontend

React TailwindCSS ShadCN

๐Ÿง  Backend

FastAPI Python

๐Ÿ“Š Machine Learning

BERT Scikit-learn HuggingFace

๐Ÿงฉ Tools & Integrations

Vite Gemini Chrome Extensions MBFC

๐Ÿงช Multi-Layered Verification Pipeline

FactFlow analyzes content using three distinct yet complementary layers:

1๏ธโƒฃ Pattern-Based Detection (ML)

  • Uses a fine-tuned RoBERTa-Large model trained on the LIAR dataset
  • Analyzes language style, semantic patterns, exaggeration, and bias indicators

2๏ธโƒฃ Source Credibility Check

  • Looks up the articleโ€™s source in the Media Bias/Fact Check (MBFC) database
  • Uses source credibility scores and bias ratings to assess trustworthiness

3๏ธโƒฃ Factual Cross-Reference

  • Utilizes the Gemini LLM API to verify key claims
  • Checks if claims are supported or contradicted by factual sources across the web

โœ… Final Verdicts like Fake, Soft Fake, or Likely Real are assigned by a custom decision engine that aggregates all three layers.

๐Ÿ–ผ๏ธ Screenshots, Demo

FactFlow Extension UI ย ย ย  Credibility Verdicts ย ย ย  Real-Time Analysis Loader

๐ŸŽฅ The extension scans the page, runs all 3 verification layers in real-time, and displays a final verdict with animated feedback and progress tracking.

๐Ÿ“Š Performance & Results

๐Ÿ” Pattern-Based Model

  • Model: Fine-tuned BERT on LIAR Dataset
  • Accuracy: 87.3%
  • F1 Score: 0.88
  • Data: 15k labeled political statements

โœ… Verdict Mapping

The final credibility verdict is determined by a custom decision engine that synthesizes all three layers:

Layer Signal Outcome Example
Pattern-Based FAKE ๐ŸŸง Soft Fake
Source Score < 20 Questionable or Satire ๐ŸŸฅ Fake
Cross-Reference Contradicted key claims ๐ŸŸฅ Fake
All Layers Agree (Real) Factual, Credible, Clean ๐ŸŸฉ Likely Real
Conflicting Layers Mixed results or missing ๐ŸŸจ Uncertain

๐Ÿง  These verdicts are dynamically computed using a hybrid rule-based and AI-supported decision engine.

๐Ÿ“– Academic Recognition

๐Ÿ“ FactFlow was presented at the
IEEE 16th International Conference on Computing, Communication and Networking Technologies (ICCCNT 2025)
๐Ÿ“ IIT Indore, India
๐Ÿ“… July 2025

๐ŸŽ“ The paper introduces FactFlow as a novel browser-based misinformation detection framework, combining stylistic pattern analysis, source credibility evaluation, and content-aware LLM verification.

  • ๐Ÿ… Status: Accepted for publication in IEEE Xplore
  • ๐Ÿ“Œ Title: FactFlow: A Multi-Layered Fake News Detection System Using Pattern-Based and Content-Aware Machine Learning
  • ๐Ÿ”— IEEE Conference Website

Full paper coming soon to IEEE Xplore Digital Library ๐Ÿ“š

About

Multi-layered fake news detection browser extension using AI, source credibility, and cross-referencing.

Topics

Resources

Stars

Watchers

Forks