Skip to content
Detection methodsSpread & networks detectiontransformersyoutube

Identifying Misinformation on YouTube through Transcript Contextual Analysis with Transformer Models

arXiv · 2023

In brief

This paper presents a methodology for detecting misinformation on YouTube by converting video classification into text classification using video transcripts. The authors fine-tune transformer models (BERT, RoBERTa, ELECTRA) and evaluate few-shot learning on three datasets: YouTube vaccine misinformation, YouTube pseudoscience videos, and a fake-news article corpus. Fine-tuned models achieve 0.90 accuracy and F1-score on two datasets, while few-shot models outperform fine-tuning by 20% on the pseudoscience dataset, highlighting the effectiveness of transfer learning for limited-data scenarios.

Contributions

  • Novel transcript-based methodology: Converts video classification to text classification using video transcripts, enabling efficient misinformation detection across YouTube without analyzing video frames or metadata
  • Comparative evaluation of transfer learning approaches: Evaluates both fine-tuned transformer models (BERT, RoBERTa, ELECTRA) and few-shot learning (MPNet, RoBERTa-large) across three distinct datasets
  • Handling long documents: Implements sliding-window approach with 80% overlap to manage transformer sequence length limitations on lengthy transcripts
  • Practical effectiveness: Demonstrates that fine-tuned models achieve $MCC > 0.81$, accuracy $> 0.90$, and $F1 > 0.90$ on vaccine and fake-news datasets; few-shot learning achieves 20% higher accuracy on pseudoscience dataset with minimal labeled data

Method

The paper frames misinformation detection on YouTube as a text classification task on video transcripts. Three research questions guide the investigation:

RQ1: How effective are fine-tuned transformers and few-shot learning for detecting misinformation using only video transcripts?

RQ2: How does performance vary across different dataset types?

RQ3: How can long documents be effectively classified with transformer models?

Fine-tuning approach: The authors fine-tune three base transformer models on task-specific labeled data:

  • BERT, RoBERTa, and ELECTRA, each with 4e-5 learning rate, 5 epochs, 128 max sequence length, batch size 8
  • Uses Hugging Face Transformers library with AdamW optimizer

Few-shot learning approach: Employs SetFit framework with:

  • MPNet and RoBERTa-large sentence transformers
  • 16 batch size, 5 iterations, 1 epoch, cosine similarity loss
  • Enables accurate predictions with only a few training samples

Long document handling: Implements sliding-window approach inspired by Pappagari et al. Divides transcripts exceeding max sequence length into overlapping segments with 80% overlap, processes each independently, and aggregates outputs for final classification. Formally: $N = \lceil \frac{L - M}{S} \rceil + 1$ where $L$ = document length, $M$ = max sequence length, $S$ = overlap stride.

Evaluation metrics: Uses Matthews Correlation Coefficient (MCC), accuracy, and F1-score to evaluate performance, with MCC preferred for imbalanced datasets.

Results

The paper evaluates models on three datasets:

YouTube Audit (Vaccine Misinformation): RoBERTa fine-tuning achieves best performance: $MCC = 0.88$, accuracy $= 0.94$, $F1 = 0.94$. BERT and ELECTRA also exceed $MCC > 0.81$ and accuracy $> 0.90$. Few-shot MPNet achieves $MCC = 0.66$, accuracy $= 0.82$.

YouTube Pseudoscience: Fine-tuning models perform poorly ($MCC \approx 0.02-0.04$, accuracy $\approx 0.51-0.52$). Few-shot learning dramatically outperforms: MPNet achieves $MCC = 0.44$, accuracy $= 0.72$, $F1 = 0.78$; RoBERTa-large achieves $MCC = 0.41$, accuracy $= 0.71$, $F1 = 0.76$ — a 20% improvement in accuracy and F1-score over fine-tuned models on this limited-data task.

ISOT Fake News (Articles): ELECTRA fine-tuning achieves best performance: $MCC = 0.94$, accuracy $= 0.97$, $F1 = 0.97$. RoBERTa-large few-shot achieves $MCC = 0.89$, accuracy $= 0.94$.

Notes

Strengths:

  • Practical focus on transcript-based detection addresses YouTube's accessibility constraints (no manual labeling of visual frames)
  • Comprehensive comparison of multiple state-of-the-art transformer architectures and learning paradigms
  • Clear demonstration that few-shot learning excels on limited-data tasks (pseudoscience), addressing real-world scenarios where labeled data is scarce
  • Sliding-window approach for long documents provides reusable solution to transformer sequence-length limitations
  • Evaluation across three diverse datasets (vaccine videos, pseudoscience videos, news articles) demonstrates generalizability

Limitations:

  • Dataset sizes vary considerably; the 408-video pseudoscience dataset is relatively small, though this motivates the few-shot learning investigation
  • Relies on transcript availability; not all YouTube videos have accessible transcripts
  • No comparison to simpler baselines (e.g., keyword matching, simple embeddings) for context
  • Limited error analysis; would benefit from examining which types of misinformation models struggle with
  • The YouTube Audit dataset focuses primarily on vaccine misinformation; broader health topics underrepresented
  • No analysis of computational costs or inference time for different approaches

Future directions:

  • Extending to multimodal approaches combining transcripts, visual frames, metadata, and user comments
  • Investigating why few-shot learning outperforms fine-tuning on pseudoscience (smaller dataset size? different language patterns?)
  • Analyzing cross-dataset transfer: how well do models trained on vaccine misinformation generalize to pseudoscience or news?
  • Deploying models in real-time YouTube monitoring systems; assessing performance drift over time

How it connects

Similar papers

Summarized from the full text. Added 2026-11-27 from a submission by reza. Every statement on this page traces back to the source.