mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Kevin O'Connor" <kevin@koconnor.net>
To: Linus Torvalds <torvalds@osdl.org>
Cc: David Lang <david.lang@digitalinsight.com>,
	David Ford <david+hb@blue-labs.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [OT] Confirmation Spam Blocking was: List 'linux-dvb' closed to public posts
Date: Sat, 24 Jan 2004 18:25:33 -0500	[thread overview]
Message-ID: <20040124232533.GA7294@arizona.localdomain> (raw)
In-Reply-To: <Pine.LNX.4.58.0401241307490.10144@home.osdl.org>

On Sat, Jan 24, 2004 at 01:12:34PM -0800, Linus Torvalds wrote:
> 
> On Sat, 24 Jan 2004, Kevin O'Connor wrote:
> > 
> > A good Bayesian spam filter isn't nearly as susceptible to random words as
> > some people think.  Words that are likely to be spam (along with words that
> > are frequently "ham") are given _exponentially_ more weight than other
> > words.
> 
> Especially if the "random words" in the spam end up being weighted by real
> frequency, you just _cannot_ use single-word bayes filters on it. Or if 
> you do, you'll eventually have those words either being neutral, or (worst 
> of all cases) you'll have real mail be marked as spam after having 
> aggressively trained the filter for the spams.

A "random" word will not occur frequently enough in spam messages (when
measured over a large sample of spam) to become a "spam" token or to
adversely effect it becoming a "ham" token.  (If it did, then it would be a
good indicator of "spam", and spammers wouldn't be using it in their
"random" word blocks.)  Also, the algorithms in the filter make sure that
words don't become spam tokens just because one receives more spam than ham
(ie. you can't train the filter to over aggressively catch spam).

Don't get me wrong - I agree that multi-word bayes filters can be more
precise.  But, I don't see them as being significantly different from
single word filters -- they're susceptible to the same "attack" you outline
above (with blocks of random sentences) -- and they will have larger
dictionaries and require more training time.

> It might not be that big of a deal especially if you have a fairly narrow 
> scope of emails in your ham-list, but people who get mail from varied 
> sources _will_ get screwed by this, one way or the other.

A lot of testing has been done on these filters (see for example
http://spambayes.sourceforge.net/background.html) with a very large email
corpus.  If you haven't looked at bayes filters recently, or have only been
looking at the simplistic ones, then I think you might have better luck
trying again.

-Kevin

-- 
 ---------------------------------------------------------------------
 | Kevin O'Connor                  "BTW, IMHO we need a FAQ for      |
 | kevin@koconnor.net               'IMHO', 'FAQ', 'BTW', etc. !"    |
 ---------------------------------------------------------------------

  reply	other threads:[~2004-01-24 23:25 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <ecartis-01212004203954.14209.1@mail.convergence2.de>
2004-01-21 19:43 ` Dave Jones
2004-01-21 19:54   ` Christoph Hellwig
2004-01-21 19:56   ` Linus Torvalds
2004-01-21 19:56     ` Dave Jones
2004-01-21 20:12       ` John Bradford
2004-01-21 21:44       ` Jes Sorensen
2004-01-22  5:11         ` Rik van Riel
2004-01-21 20:38     ` Zan Lynx
2004-01-21 20:57       ` Charles Cazabon
2004-01-21 21:57         ` Diego Calleja
2004-01-21 21:15       ` Dave Jones
2004-01-21 21:29         ` Randy.Dunlap
2004-01-21 21:30         ` [OT] Confirmation Spam Blocking was: " Mike Fedyk
2004-01-21 22:50           ` Adrian Bunk
2004-01-21 23:01           ` Wakko Warner
2004-01-22  6:51             ` Jan-Benedict Glaw
2004-01-22 14:31               ` Wakko Warner
2004-01-21 23:40           ` Andreas Jellinghaus
2004-01-22  0:26             ` Zan Lynx
2004-01-22  5:14               ` Rik van Riel
2004-01-22 13:24               ` Jes Sorensen
2004-01-22 16:56                 ` David Ford
2004-01-22 17:01                   ` Trond Myklebust
2004-01-22 17:10                     ` David Ford
2004-01-22 17:35                       ` Trond Myklebust
2004-01-22 18:18                       ` Andreas Jellinghaus
2004-01-22 17:11                   ` Andreas Jellinghaus
2004-01-22 17:30                   ` viro
2004-01-22 17:34                     ` Ralf Hildebrandt
2004-01-22 17:41                     ` David Ford
2004-01-22 18:20                       ` Brian Beattie
2004-01-23  7:41                         ` Willy Tarreau
2004-01-23  9:24                         ` Paul Jakma
2004-01-22 18:35                   ` David Lang
2004-01-22 18:49                     ` David Ford
2004-01-22 22:18                       ` jw schultz
2004-01-22 22:58                         ` Linus Torvalds
2004-01-22 23:16                           ` Linus Torvalds
2004-01-23  6:49                           ` David S. Miller
2004-01-23 15:38                             ` Chris Ricker
2004-01-23  9:25                           ` Paul Jakma
2004-01-23 19:38                           ` Pavel Machek
2004-01-22 22:43                     ` Scott Laird
2004-01-24 20:14                     ` Kevin O'Connor
2004-01-24 21:12                       ` Linus Torvalds
2004-01-24 23:25                         ` Kevin O'Connor [this message]
     [not found]                       ` <1hDmg-4AP-9@gated-at.bofh.it>
2004-01-24 23:59                         ` Russ Allbery
2004-01-22 22:15                   ` Krzysztof Halasa
2004-01-23  8:43                   ` Jes Sorensen
2004-01-26 22:58                     ` Max Valdez
2004-01-23  9:17                   ` Paul Jakma
2004-01-22  5:13           ` Rik van Riel
2004-01-21 23:08         ` Russell King
2004-01-22 13:28           ` Theodore Ts'o
2004-01-21 22:13       ` Linus Torvalds
2004-01-21 23:01         ` Marcus Metzler
2004-01-22 14:14           ` Johannes Stezenbach
2004-01-22 15:14             ` Marcus Metzler
2004-01-22 15:31               ` Johannes Stezenbach
2004-01-21 23:21         ` Stephen Hemminger
2004-01-22 15:15     ` Michael Hunold
2004-01-22 15:18       ` Dave Jones
2004-01-21 20:08   ` Valdis.Kletnieks

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040124232533.GA7294@arizona.localdomain \
    --to=kevin@koconnor.net \
    --cc=david+hb@blue-labs.org \
    --cc=david.lang@digitalinsight.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®