Introduction
Detecting fake news remains a critical challenge in the digital age, particularly for low-resource languages where data is scarce and often highly imbalanced. Traditional end-to-end classifiers often struggle with these constraints, leading to biased models that fail to capture the nuances of misinformation. This paper introduces Contrast-BERT, a framework that leverages contrastive learning and ensemble modeling to provide a robust solution for languages like Indonesian, Bangla, and Czech.
The Challenge of Low-Resource Fake News Detection
Most research in automated fake news detection focuses on English, benefiting from large, balanced datasets. In contrast, "low-resource" languages face two primary hurdles:
- Data Scarcity: Limited annotated examples for training.
- Extreme Class Imbalance: Real-world data from hoax-reporting systems is skewed; users typically report suspicious content, resulting in datasets where fake news significantly outnumbers real news (e.g., a 24:1 ratio).
Standard models like BERT, when trained on such skewed data, often overfit the majority class or fail to distinguish the subtle linguistic styles of genuine news.
Methodology: The Contrast-BERT Framework
The proposed solution is a dual-stage pipeline designed to shift the focus from simple binary classification to learning rich semantic relationships between news items.
1. Contrastive Embedding Stage
Instead of immediate classification, the model is trained using Contrastive Learning to recognize similarities and differences between text pairs. Three variants were explored:
- Unsupervised: Utilizes dropout as a noise function to create augmented versions of the same sentence.
- Weakly Supervised: Pairs news titles with related content or fact-check summaries.
- Supervised (Triplet): Compares a "query" claim against a "positive" (similar) claim and a "negative" (opposite category) claim.
To ensure high-quality training signals, the framework employs Consistency Filtering (via top-k retrieval) and Threshold Filtering (ensuring sufficient semantic distance between contrasting examples).
2. Ensemble Inference Stage
Once trained, Contrast-BERT serves as a feature extractor. The resulting embeddings are passed to a stacking-based ensemble of ten Multilayer Perceptrons (MLPs). Each MLP is trained on a balanced subset of the data, and their outputs are averaged to determine the final verdict.
Datasets and Evaluation
The framework was evaluated across several benchmarks:
- IndoHoax: A new Indonesian dataset (12,532 claims) with a 96:4 fake-to-real ratio.
- BanFakeNews: A Bangla dataset focused on headlines and clickbait.
- CsFEVER: Czech datasets translated from the English FEVER benchmark.
- Cross-Domain Sets: Clickbait-ID and Tallip-ID for zero-shot evaluation.
Key Results and Insights
- Performance Gains: On the highly imbalanced IndoHoax dataset, the framework achieved a 26.64% boost in precision while maintaining accuracy and recall above 75%.
- Semantic Expressiveness: Contrastive learning allows the model to capture fine-grained topics (e.g., specific hoax themes) rather than just stylistic cues. This makes the model less susceptible to the sensationalist tones often associated with fake news.
- Retrieval Excellence: Contrast-BERT outperformed standard BERT models in unsupervised topic clustering and evidence retrieval by nearly twofold.
- Computational Efficiency: While large models like GPT-4 show high accuracy, Contrast-BERT (109M parameters) offers a "frugal" alternative, making it accessible for researchers with limited computational infrastructure.
Conclusion
Contrast-BERT demonstrates that by combining contrastive representation learning with balanced ensemble modeling, it is possible to build effective fake news detection systems for low-resource and highly imbalanced environments. Future work will explore advanced data augmentation to further decouple factuality from overlapping linguistic styles in real and fake news.
Summary updated