[Paper Review] A Suffix Tree Approach to Email Filtering
This paper proposes a suffix tree-based email filtering approach that analyzes email content at the character level to detect spam, outperforming traditional keyword-based methods like naive Bayes. By capturing substrings regardless of obfuscation (e.g., 'Vi.agr.a'), the method achieves higher classification accuracy, especially when combined with match permutation normalization and optimal threshold tuning.
We present an approach to email filtering based on the suffix tree data structure. A method for the scoring of emails using the suffix tree is developed and a number of scoring and score normalisation functions are tested. Our results show that the character level representation of emails and classes facilitated by the suffix tree can significantly improve classification accuracy when compared with the currently popular methods, such as naive Bayes. We believe the method can be extended to the classification of documents in other domains.
Motivation & Objective
- To address the limitations of keyword-based spam filters that fail to detect obfuscated spam messages.
- To explore the feasibility of using suffix trees for character-level analysis in email classification.
- To evaluate the performance of various scoring and normalization functions in a suffix tree-based filtering system.
- To compare the proposed method’s accuracy and robustness against traditional naive Bayes classifiers.
- To identify optimal configuration parameters such as threshold and significance functions for maximum filtering performance.
Proposed method
- The method constructs a suffix tree from training email data to represent all substrings of the text at the character level.
- Emails are scored based on the frequency and significance of substrings found in the suffix tree profiles of spam and ham classes.
- Significance functions, including root, frequency, and entropy-based functions, are used to weight substring relevance.
- Match permutation normalization is applied to improve score consistency and reduce overfitting across different thresholds.
- A threshold-based decision rule classifies new emails as spam or ham based on the normalized score difference between classes.
- The approach dynamically evaluates performance across varying thresholds to balance false positive and false negative rates.
Experimental results
Research questions
- RQ1Can character-level substring analysis using suffix trees improve spam detection accuracy compared to word-level methods?
- RQ2How do different significance functions affect the performance of the suffix tree classifier?
- RQ3What is the impact of normalization techniques on the robustness and accuracy of the filtering system?
- RQ4How sensitive is the classifier’s performance to the choice of threshold, and can optimal thresholds be consistently identified?
- RQ5Does the suffix tree approach maintain high performance across diverse email data sets with varying obfuscation techniques?
Key findings
- The suffix tree classifier achieved higher classification accuracy than naive Bayes, particularly in detecting obfuscated spam messages where keywords are disguised with inserted characters.
- Match permutation normalization was the most effective normalization method, improving performance across all significance functions and threshold values.
- The root significance function performed most consistently across all data sets, showing marginal superiority over other functions.
- The false positive and false negative rate curves were shallower for the suffix tree classifier, indicating better robustness at non-optimal thresholds.
- Performance was highly sensitive to threshold selection, with optimal thresholds varying by data set, suggesting the need for adaptive threshold tuning.
- Despite higher computational demands, the method is computationally feasible and shows strong potential for deployment in accuracy-critical filtering applications.
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.