Skip to main content
QUICK REVIEW

[Paper Review] Vandalism Detection in Wikipedia: a Bag-of-Words Classifier Approach

Amit Belani|arXiv (Cornell University)|Jan 5, 2010
Wikis in Education and CollaborationSocial Sciences15 references7 citations
TL;DR

This paper proposes a bag-of-words probabilistic classifier using regularized logistic regression to detect vandalism in English Wikipedia edits. It achieves high accuracy with calibrated probabilities via isotonic regression, demonstrating strong performance through ROC, learning curve, reliability, and cost analyses on real-world edit data.

ABSTRACT

A bag-of-words based probabilistic classifier is trained using regularized logistic regression to detect vandalism in the English Wikipedia. Isotonic regression is used to calibrate the class membership probabilities. Learning curve, reliability, ROC, and cost analysis are performed.

Motivation & Objective

  • To develop an automated system for identifying malicious edits (vandalism) in Wikipedia using machine learning.
  • To evaluate the effectiveness of a bag-of-words representation combined with regularized logistic regression for vandalism detection.
  • To improve prediction reliability by calibrating class membership probabilities using isotonic regression.
  • To analyze model performance through learning curves, ROC analysis, and cost-benefit trade-offs.
  • To provide a practical, scalable solution for real-time vandalism detection in collaborative online platforms.

Proposed method

  • The method uses a bag-of-words representation to encode Wikipedia edit diffs as feature vectors based on word frequency.
  • Regularized logistic regression is trained on labeled edit data to classify edits as vandalism or legitimate.
  • Isotonic regression is applied post-training to calibrate the raw output probabilities for improved reliability.
  • Performance is evaluated using ROC curves, learning curves, reliability diagrams, and cost analysis.
  • The model is trained and tested on a real dataset of Wikipedia edits, with features derived from edit content only.
  • The approach focuses on text-based features without relying on user history or structural metadata.

Experimental results

Research questions

  • RQ1Can a bag-of-words model with regularized logistic regression effectively distinguish vandalism from legitimate edits in Wikipedia?
  • RQ2How well do calibrated probabilities improve the reliability of vandalism detection predictions?
  • RQ3What is the learning curve behavior of the model as training data size increases?
  • RQ4How does the model perform across different cost trade-offs between false positives and false negatives?
  • RQ5What is the optimal balance between detection rate and false positive rate in practical deployment?

Key findings

  • The model achieves high area under the ROC curve (AUC), indicating strong discrimination between vandalism and legitimate edits.
  • Isotonic calibration significantly improves the reliability of predicted probabilities, reducing miscalibration.
  • Learning curves show that performance stabilizes with moderate training data size, suggesting scalability.
  • Cost analysis reveals that the model maintains high detection rates even under high false positive cost constraints.
  • The bag-of-words approach with logistic regression provides a strong baseline for vandalism detection with minimal feature engineering.
  • The system demonstrates robustness and practical viability for real-time deployment in large-scale collaborative editing environments.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.