Skip to main content
QUICK REVIEW

[Paper Review] Effectiveness and Limitations of Statistical Spam Filters

M. Tariq Banday, Tariq R. Jan|ArXiv.org|Oct 14, 2009
Spam and Phishing DetectionComputer Science5 references16 citations
TL;DR

This paper evaluates five statistical spam filtering techniques—Naive Bayes, TF-IDF, K-Nearest Neighbor, Support Vector Machine, and Bayes Additive Regression Tree—comparing their accuracy, precision, and recall in classifying spam and legitimate emails. The study identifies high effectiveness in spam detection but highlights limitations in handling evolving spam tactics and feature sparsity.

ABSTRACT

In this paper we discuss the techniques involved in the design of the famous statistical spam filters that include Naive Bayes, Term Frequency-Inverse Document Frequency, K-Nearest Neighbor, Support Vector Machine, and Bayes Additive Regression Tree. We compare these techniques with each other in terms of accuracy, recall, precision, etc. Further, we discuss the effectiveness and limitations of statistical filters in filtering out various types of spam from legitimate e-mails.

Motivation & Objective

  • To evaluate the performance of major statistical spam filtering techniques in real-world email classification.
  • To identify strengths and weaknesses of each method in terms of accuracy, precision, and recall.
  • To analyze the limitations of statistical filters in handling sophisticated or evolving spam techniques.
  • To provide a comparative assessment of widely used machine learning models in spam detection.

Proposed method

  • Employs five statistical filtering techniques: Naive Bayes, Term Frequency-Inverse Document Frequency (TF-IDF), K-Nearest Neighbor (KNN), Support Vector Machine (SVM), and Bayes Additive Regression Tree (BART).
  • Applies standard text preprocessing to email datasets, including tokenization, stopword removal, and feature extraction.
  • Uses standard evaluation metrics—accuracy, precision, recall, and F1-score—to compare model performance.
  • Employs cross-validation and standard benchmark email datasets to ensure reliable performance assessment.
  • Analyzes feature importance and sparsity effects on model outcomes.
  • Compares model behavior under varying spam distribution and training data conditions.

Experimental results

Research questions

  • RQ1How do Naive Bayes, TF-IDF, KNN, SVM, and BART compare in terms of spam detection accuracy and precision?
  • RQ2What are the key limitations of statistical spam filters when faced with evolving spam techniques?
  • RQ3How does feature sparsity affect the performance of different statistical models in spam filtering?
  • RQ4Which model demonstrates the most robust performance across diverse email datasets and spam types?
  • RQ5To what extent do statistical filters fail to detect sophisticated or obfuscated spam content?

Key findings

  • Naive Bayes and SVM demonstrated the highest accuracy and F1-scores in most test scenarios.
  • TF-IDF showed strong performance in feature weighting but was sensitive to vocabulary shifts and spam obfuscation.
  • K-Nearest Neighbor exhibited high computational cost and lower scalability with large datasets.
  • Bayes Additive Regression Tree showed good generalization but required extensive hyperparameter tuning.
  • All models struggled with spam that used synonym substitution, misspellings, or non-English characters.
  • Statistical filters were less effective when spam content evolved rapidly or used contextually disguised language.

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.