Presentation is loading. Please wait.

Presentation is loading. Please wait.

Project Presentation B 王 立 B 陳俊甫 B 張又仁

Similar presentations


Presentation on theme: "Project Presentation B 王 立 B 陳俊甫 B 張又仁"— Presentation transcript:

1 Project Presentation B92902041 王 立 B92902051 陳俊甫 B92902092 張又仁

2 Outline Spam filter technology Personal issue Statistic
Our approaching

3 Spam filtering technology
basic structured text filters whitelist/verification filters distributed blacklists Pyzor rule-based rankings SpamAssasin Bayesian word distribution filters Bayesian trigram filters

4 Table 1. Quantitative accuracy of spam filtering techniques
Good corpus (correctly identified vs. incorrectly identified) Spam corpus (correctly identified vs. incorrectly identified) "The Truth" 1851 vs. 0 1916 vs. 0 Trigram model 1849 vs. 2 1774 vs. 142 Word model 1847 vs. 4 1819 vs. 97 SpamAssassin 1846 vs. 5 1558 vs. 358 Pyzor 1847 vs. 0 (4 err) 943 vs. 971 (2 err)

5 Bayesian filtering The first two using bayesian method
Pantel and Lin Bayesian filtering 92% spam, 1.16% false positive at 1998 Bayesian doesn’t use in the begin Why?

6 Bayesian filtering (cont.)
Someone we find later Jonathan Zdziarski The main problem of previous work is making false positive too high Bayesian filtering 99.5% spam, 0.03% false positive at 2002 Why so different?

7 Possible Reasons less of training data: 160 spam and 466 non spam mails. ignore message headers stemmed the token, reduce words in bad way using all tokens is not good compared with using 15 most significant no bias against false positives

8 Personal issue Some good advantages about personalization
make filters more effective let users decide their own spam filter hard for spammer to tune the mail

9 Statistics The fifteen most interesting words in this spam, with their probabilities, are: madam promotion republic shortest mandatory standardization sorry supported people's enter quality organization investment very valuable

10 Our approaching Data Set Sparse format machine learning (training)
(testing)

11 Data set Source Lingspam PU1 PU123 Enron-spam
Lingspam PU1 PU123 Enron-spam

12 Ling-spam Collected from a mailing list “Ling-spam”
With 481 spam messages and 2412 non-spam messages Topics of legitimate mails are alike. May be good for training, but not enough generalized. 4 versions of the corpus Using Lemmatiser or not Using stop-list or not

13 Example Subject: want best economical hunt vacation life ?
want best hunt camp vacation life , felton 's hunt camp wild wonderful west virginium . $ per day pay room three home cook meal ( pack lunch want stay wood noon ) cozy accomodation . reserve space . follow season book 1998 : buck season - nov dec . 5 doe season - announce ( please call ) muzzel loader ( deer ) - dec dec . 19 archery ( deer ) - oct dec . 31 turkey sesson - oct nov . 14 e - mail us compuserve . com

14 Features ‘Words’ as features Collected from only spams
Sequence of alpha, number and some symbols Only consider subject and body field Not supporting CJK for now Collected from only spams Unlimited feature set Use only features that appear often enough

15 Example for Features Collected from the spams of lemm_stop section
please free our mail address send one information us list receive name money Collected from the spams of lemm_stop section

16 Sparse Format Some result from lemm_stop/part1 :
0, 2:1, 3:1, 4:1, 5:1, 6:1, 10:1, 12:1, 15:1, 16:1, 20:1, … 0, 0:1, 4:1, 5:1, 6:1, 7:1, 8:1, 12:1, 16:1, 20:1, 22:1, … 0, 0:1, 4:1, 5:1, 7:1, 8:1, 11:1, 13:1, 25:1, 41:1, 53:1, … 0, 0:1, 4:1, 5:1, 6:1, 8:1, 9:1, 11:1, 12:1, 13:1, 14:1, … 1, 0:1, 3:1, 6:1, 10:1, 17:1, 18:1, 23:1, 26:1, 28:1, … 1, 3:1, 4:1, 5:1, 6:1, 8:1, 9:1, 11:1, 13:1, 14:1, 15:1, … 1, 0:1, 1:1, 2:1, 3:1, 4:1, 5:1, 6:1, 7:1, 8:1, 9:1, 10:1, …

17 Training method Naïve bayes k-NN ,k=3 or less CART tree

18 Training and testing Ling-spam is splitted into 10 parts
Use 9 parts for training Use 1 parts for testing

19 Reference data spam filtering technology Better bayesian filtering
Better bayesian filtering a plan for spam


Download ppt "Project Presentation B 王 立 B 陳俊甫 B 張又仁"

Similar presentations


Ads by Google