Research on Content-Based Spam Filtering

Author
YinZhiXi
Advisor
YinSiQing
School
University of North
Major
Applied Computer Technology
Classification
TP393.098 E-mail ( E -mail )
Degree
Master's thesis
Year
2007
Downloads
181
Citations
1

Request the full text

Abstract

With the rapid development of Internet, the technology of email is widely used in people’s daily life. However, the occurrence of more and more seam emails is annoying to user, which causes the great waste of users’time, money as well as network bandwidth. And what’s the worst, it can be harmful to users. For example, pornographic content may be contained in spam email. Therefore, it is very important to resolve the problem of spam emails.Nowadays, Black-list or White-list technology , rule-based filtering and keyword-based content filtering are the most common anti-spam approaches. Another approach is using automated text categorization and information filtering to filter spam. Some algorithms of text categorization, such as Naive Bayes,kNN and Decision Tree can be applied to filter spam. Compared with other text classifiers, Naive Bayes algorithm has been widely used in the area of text classification because of the simplicity, efficiency and veracity. However, it will cost a lot if the filter misclassify legitimate mail as junk in the process of filtering junk mail. So we must take some action to prevent it. Based on the systematic summarization of the most recent work on anti-spam, this dissertation explores the techniques of anti-spam email.Through the author’s effort, some innovations and achievements are made by the author,which will be illustrated in detail as follows.1) Analysed the background of the spam, including the reason, harm and state of the spam filtering, investigated anti-spam problem from the text categorization perspective.2) Analysed the Naive Bayesian state, described the basic steps of Naive Bayesian algorithms and build a model of it, compared the infections of feature number, threshold and the variations of corpus in Ling-spam, realized program of Naive Bayesian algorithms.3) Designed the system of anti-spam filter on the client side, realized email’s sending and receiving and spam filtering, it is valid in practice.

Table of contents

Abstract 4-5 Abstract 5-10 The first chapter 10-13 1.1 The definition of spam 10 1.2 spam status 10-11 1.3 spam hazards 11 1.4 spam solution 11-12 1.5 dissertation research 12-13 Chapter spam filtering Research 13-19 2.1 server-side and client-side spam filtering 13-15 2.2 whitelists and blacklists 15 2.3 set filtering rules 15-16 2.3.1 letterhead analysis 15 2.3.2 mass filter 15-16 2.3.3 words Exact match 16 2.3.4 message content of other features 16 2.4 content-based spam filtering technologies 16-18 2.4.1 spam filtering and text categorization 16-17 2.4.2 spam filtering and information filtering 17-18 2.5 Summary 18-19 Chapter email system works 19-27 3.1 email system composition and working mode 19-20 3.2 email systems related agreements 20-27 3.2.1 SMTP protocol 20-22 3.2.2 POP3 protocol 22-24 3.2.3 IMAP protocol 24-25 3.2.4 MIME protocol 25-27 Chapter spam content filtering technology 27-41 4.1 Text Categorization Overview 27-28 4.2 feature selection method 28-30 4.2.1 Documentation frequency 28 4.2.2 Mutual Information 28-29 4.2.3 Information Gain 29 4.2.4 X ~ 2 statistic 29-30 4.2.5 relative entropy 30 4.2.6 odds ratio 30 4.3 text classification in spam content filtering system 30-35 4.3.1 Bayesian classification algorithm 30-31 4.3.2 Memory-Based Method 31-32 4.3.3 Decision tree 32 4.3.4 Boosting method 32-34 4.3.5 SVM 34-35 4.4 spam content filtering common corpus 35-38 4.4.1 Ling-Spam corpus 36-37 4.4.2 PU1 corpus 37-38 4.4.3 Spam Assassin corpus 38 4.4.4 Spambase corpus 38 4.5 spam filtering evaluation system 38-41 Chapter Bayesian filtering algorithms 41-48 5.1 Bayes' theorem 41 5.2 The main idea 41-42 5.3 Specific steps 42-44 5.4 algorithm parameter selection 44 5.5 example application 44-48 Chapter VI Client spam filtering system design 48-63 6.1 overall model design 48-49 6.2 Bayesian filter design 49-57 6.2.1 Model Design 49-51 6.2.2 Algorithm 51-56 6.2.3 Bayesian algorithm feedback learning techniques 56 6.2.4 Some suggestions 56-57 6.3 Bayesian spam filtering algorithm is used to test 57-63 6.3.1 Experimental results 58-59 6.3.2 Analysis of experimental results 59-63 Chapter Summary and Outlook 63-65 7.1 Summary 63 7.2 Prospects 63-65 References 65-69 master's papers published during 69 master's participation during the project 69-70 Thanks 70

Related dissertations

  1. The Research on Anti-Spam Email Techniques
  2. Text Categorization Research Based on TAN Model
    LiuJia ·Beijing Jiaotong University ·2009 ·Master's thesis
  3. River Extraction from High Resolution Remote Sensing Images Worldview2
  4. Research of Electrostatic Monitoring Signal Conditioning Technology
  5. Research on Key Technologies of Simultaneous Localization and Mapping for Mobile Robot
    QuLiPing ·Harbin Engineering University ·2013 ·Doctoral dissertation
  6. Research on Terrain Classification Methods for Wheeled Robots Based on Vibration Signals
    LiQiang ·Harbin Engineering University ·2013 ·Doctoral dissertation
  7. Feature Extraction and Classification Methods for Imbalanced and Small Sample Datasets
    TaoCunGui ·Harbin Institute of Technology ·2012 ·Master's thesis
  8. Stock Market Trend Forcast Based on Parameter Optimized Support Vector Model
  9. Research on Spam Filtering Based on Social Network
  10. Study on BP network and Hopfield network based on associative classification ability
    WangXiaoJuan ·University of North ·2014 ·Master's thesis
  11. Research on Online Learing Based Microblog Filtering
    ZengFanHu ·Harbin Engineering University ·2013 ·Master's thesis
  12. Research on Multi-view Learning for Web Spam Detection
    GaoShuang ·Shandong Normal University ·2014 ·Master's thesis
  13. A Research of CAPTCHA Recognition Base on Shape Context
    QuJinShan ·Harbin Engineering University ·2013 ·Master's thesis
  14. The Research of Malicious Web Pages Detection Based on Multiple Features
    YueTao ·Hunan University ·2013 ·Master's thesis
  15. Research on Key Techniques of Network Intrusion Detection
    LiuJiFen ·Donghua University ·2013 ·Doctoral dissertation
  16. The Design and Implementation of Text Classification System Based on SVM-KNN
    WangLuYang ·Northeastern University ·2011 ·Master's thesis
  17. Conditional Random Fields Model Based Musical Domain Named Entity Recognition
    HaoLeChuan ·Harbin Institute of Technology ·2012 ·Master's thesis
  18. A Dynamic Risk Assessment Approach of Overseas Minerals Investment Project Based on Text Categorization
    XuLiHua ·Central South University ·2012 ·Master's thesis
  19. Research on Text Classification Methods Based on Content and Emotion
  20. Research on Hierarchical Classification Methods for Chinese Texts and the Related Application
    KongZhaoKun ·Yangzhou University ·2013 ·Master's thesis