Downloads · 30 days
0
alamin14780/multimodal-fake-review-model
multimodal-fake-review-model is a machine learning model from alamin14780. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Detect AI-generated fake reviews using text-image contrastive learning.
Downloads · 30 days
0
Access
Public
Updated Feb 27, 2026
Repo size
1 GB
Likes
0
Public
Click a slice to open those files.
.pt1 GB · 100%
From the Hugging Face model README
Detect AI-generated fake reviews using text-image contrastive learning.
This model analyzes both review text and associated product images to detect fake reviews. It leverages:
Authentic reviews exhibit higher semantic consistency between text descriptions and product images. AI-generated fake reviews often have lower text-image alignment since text and images are generated independently.
| Metric | Score |
|---|---|
| Accuracy | 91.2% |
| F1 Score | 91.0% |
| Precision | 91.5% |
| Recall | 91.2% |
| AUC-ROC | 96.2% |
Trained on AiGen-FoodReview dataset:
Simply upload an image and enter review text to get:
from app import load_model, predict
from PIL import Image
# Load model
load_model()
# Predict
image = Image.open("food.jpg")
result = predict("Amazing pizza with perfect crust!", image)
print(result)
Input: (Review Text, Product Image)
│ │
▼ ▼
┌─────────┐ ┌──────────┐
│ BERT │ │ CLIP │
│ Encoder │ │ Vision │
└────┬────┘ └────┬─────┘
│ │
┌────┴────┐ ┌────┴─────┐
│ 768-dim │ │ 768-dim │
└────┬────┘ └────┬─────┘
│ │
┌────┴────┐ ┌────┴─────┐
│Text Proj│ │Image Proj│
│ Head │ │ Head │
└────┬────┘ └────┬─────┘
│ │
▼ ▼
┌─────────────────────┐
│ Consistency Score │ ← Cosine Similarity
│ (Contrastive Loss) │
└─────────────────────┘
│
▼
┌─────────────────────┐
│ Concatenation │
│ (1536-dim) │
└──────────┬──────────┘
│
┌──────────▼──────────┐
│ MLP Classifier │
│ 512 → 256 → 2 │
└──────────┬──────────┘
│
▼
Output: [Authentic, Fake]
If you use this model, please cite:
@article{multimodal_fake_review_2026,
title={Multimodal Fake Review Detection Using Contrastive Learning:
Leveraging Text-Image Alignment for AI-Generated Content Identification},
author={Your Name},
year={2026}
}
MIT License