[Paper Review] Wikipedia Vandalism Detection Through Machine Learning: Feature Review and New Proposals: Lab Report for PAN at CLEF 2010
This paper proposes a machine learning approach for detecting Wikipedia vandalism using a comprehensive set of linguistic and structural features. It extends prior work by introducing new features such as character diversity and enhanced word-list-based metrics, and achieves state-of-the-art performance with a Random Forest classifier, attaining an AUC of 0.92236 in the PAN 2010 competition, ranking first in the task.
Wikipedia is an online encyclopedia that anyone can edit. In this open model, some people edits with the intent of harming the integrity of Wikipedia. This is known as vandalism. We extend the framework presented in (Potthast, Stein, and Gerling, 2008) for Wikipedia vandalism detection. In this approach, several vandalism indicating features are extracted from edits in a vandalism corpus and are fed to a supervised learning algorithm. The best performing classifiers were LogitBoost and Random Forest. Our classifier, a Random Forest, obtained an AUC of 0.92236, ranking in the first place of the PAN'10 Wikipedia vandalism detection task.
Motivation & Objective
- To improve automatic detection of Wikipedia vandalism using supervised machine learning.
- To extend the feature set proposed in prior work (Potthast et al., 2008) with new and refined features.
- To evaluate and compare multiple supervised learning classifiers for vandalism detection.
- To achieve high performance in the PAN 2010 Wikipedia Vandalism Classification task.
- To provide a foundation for next-generation antivandalism bots with better F-measure and AUC than existing rule-based systems.
Proposed method
- The system extracts a wide range of edit-level features, including lexical, syntactic, and statistical properties such as upper-to-lowercase ratios, digit ratios, and character diversity.
- It uses a preprocessing pipeline involving tokenization and diff computation via google-diff-match-patch to generate representations of old and new text, inserted words, and inserted lines.
- Features are derived from word lists (e.g., vulgarisms, biased terms, sex-related words) and include frequency and impact scores based on their occurrence in edits.
- The final classifier is a Random Forest with 1000 trees, where each tree considers 5 randomly selected features, using log2(M)+1 as the number of features per split.
- Evaluation is performed using 10-fold cross-validation on the PAN-WVC-10 corpus, with metrics including AUC, F-Measure, precision, and recall.
- The model is tuned by adjusting class weights to penalize misclassification of vandalism edits tenfold more than regular edits, addressing class imbalance.
Experimental results
Research questions
- RQ1Can a machine learning classifier trained on a diverse set of linguistic and structural features outperform existing rule-based vandalism detection systems?
- RQ2Which features—especially those based on word lists—most effectively discriminate between vandalism and legitimate edits?
- RQ3How do different ensemble classifiers like Random Forest and LogitBoost compare in terms of stability, precision, recall, and AUC on the vandalism detection task?
- RQ4To what extent can feature engineering, including compressibility and character distribution metrics, improve detection performance?
- RQ5Can a learning-based approach achieve a better balance of precision and recall than current bots, which often have high precision but low recall?
Key findings
- The final Random Forest classifier with 1000 trees and 5 features per split achieved an AUC of 0.92236 on the PAN-WVC-10 test set, ranking first in the competition.
- Random Forest outperformed LogitBoost in terms of stability and AUC, with AUC increasing to 0.963 at 1000 iterations, while LogitBoost showed signs of overfitting with higher iterations.
- The feature 'All frequency' (frequency of words from a predefined list) achieved the highest precision (0.762) among individual features, though with low recall (0.353).
- The 'Anonymous' feature had the highest AUC (0.78) among single features, indicating strong discriminatory power for identifying vandalism.
- The 'Goodword frequency' feature had zero precision and recall, suggesting it was ineffective in distinguishing vandalism.
- The system achieved a precision of 0.861 and recall of 0.568 on the training set, resulting in an F-Measure of 0.684, significantly outperforming current rule-based bots in F-Measure.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.