🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
8 messages
8 total messages Started by William Gray Thu, 31 Jul 2003 00:51
A plan for automatic newsreader scoring
#129788
Author: William Gray
Date: Thu, 31 Jul 2003 00:51
14 lines
1827 bytes
It occurs to me that the way Spambayes works could be applied to create
scores in newsreaders.  Articles that you read would get added to
the good database, and ones you didn't would get added to the ungood
database.  Articles could then get sorted based on the score of
how likely you are to read them.  And each time you read news the
newsreader would get a little better at knowing what you like to read.
The only tricky thing that I see with doing this is that you don't
have access to the article bodies on the client.  You would need to just
use the article headers, or do the scoring on the server.  But even just
using the headers I think it would work well in many cases.  Posters
or subjects that you frequently read, or your own posts and references
to them, would naturally rise to the top.   Are any newsreaders doing
something like this?
Re: A plan for automatic newsreader scoring
#129798
Author: Richard Hoskins
Date: Thu, 31 Jul 2003 03:19
32 lines
2602 bytes
William Gray <smithsRemove@Removealumni.cse.ucsc.edu> writes:

> It occurs to me that the way Spambayes works could be applied to create
> scores in newsreaders.  Articles that you read would get added to
> the good database, and ones you didn't would get added to the ungood
> database.  Articles could then get sorted based on the score of
> how likely you are to read them.  And each time you read news the
> newsreader would get a little better at knowing what you like to read.
> The only tricky thing that I see with doing this is that you don't
> have access to the article bodies on the client.  You would need to just
> use the article headers, or do the scoring on the server.  But even just
> using the headers I think it would work well in many cases.  Posters
> or subjects that you frequently read, or your own posts and references
> to them, would naturally rise to the top.   Are any newsreaders doing
> something like this?


Gnus does something almost, but not quite, entirely unlike this and
calls it "Adaptive Scoring."  I've never used it.
 
This caveat is in the manual, though:

        Note that the adaptive word scoring thing is highly
     experimental and is likely to change in the future.  Initial
     impressions seem to indicate that it's totally useless as it
     stands.  Some more work (involving more rigorous statistical
     methods) will have to be done to make this useful.

-- 
Lift me down, so I can make the Earth tremble.
                                --Bucky Katt
Re: A plan for automatic newsreader scoring
#129800
Author: Murray Peterson
Date: Thu, 31 Jul 2003 04:43
38 lines
2829 bytes
William Gray <smithsRemove@Removealumni.cse.ucsc.edu> wrote in 
news:slrnbigq2j.cop.noemail@news.easynews.com:

> It occurs to me that the way Spambayes works could be applied to create
> scores in newsreaders.  Articles that you read would get added to
> the good database, and ones you didn't would get added to the ungood
> database.  Articles could then get sorted based on the score of
> how likely you are to read them.

Yu need some better criteria -- what is the "definitive" part of an article 
that I can score on?  Subject? Author? Domain?  If they conflict, which one 
takes precedence?

For example, how does such an algorithm ever discover I am uninterested in 
articles about SLRN?  It would have to discover common keywords amongst all 
of the "unread" articles and then compare them against all "read" articles.  
This is a computationally "hard" problem -- unlikely to be capable of 
solution in a lifetime of computing, especially when I may decide to try 
reading an article about SLRN tomorrow.

For that matter, my use of the word "keyword" is problematic -- how about 
the patterns that aren't an entire word, but merely patters within the text 
(e.g. m.a.k.e_m.o.n.e.y).  Using a simplistic algorithm may end up killing 
all articles where the letter "m" appears as a word by itself -- not a 
useful rule.

And what about all the new threads that appear daily -- there are no rules 
yet invented for them, so they get left out of the scoring fun.  Not all 
groups have subject lines starting with "[Xnews]" -- quite the opposite.

The more I think about the problem, the more I doubt that it can be solved 
in the manner you described.

-- 
Murray Peterson
Email: murray_peterson@shaw.ca (remove underscore)
URL:   http://members.shaw.ca/murraypeterson/
Re: A plan for automatic newsreader scoring
#129803
Author: Richard Hoskins
Date: Thu, 31 Jul 2003 05:15
46 lines
3379 bytes
Murray Peterson <mwp@home.com.invalid> writes:

> Yu need some better criteria -- what is the "definitive" part of an article 
> that I can score on?  Subject? Author? Domain?  If they conflict, which one 
> takes precedence?
>
> For example, how does such an algorithm ever discover I am uninterested in 
> articles about SLRN?  It would have to discover common keywords amongst all 
> of the "unread" articles and then compare them against all "read" articles.  
> This is a computationally "hard" problem -- unlikely to be capable of 
> solution in a lifetime of computing, especially when I may decide to try 
> reading an article about SLRN tomorrow.
>
> For that matter, my use of the word "keyword" is problematic -- how about 
> the patterns that aren't an entire word, but merely patters within the text 
> (e.g. m.a.k.e_m.o.n.e.y).  Using a simplistic algorithm may end up killing 
> all articles where the letter "m" appears as a word by itself -- not a 
> useful rule.
>
> And what about all the new threads that appear daily -- there are no rules 
> yet invented for them, so they get left out of the scoring fun.  Not all 
> groups have subject lines starting with "[Xnews]" -- quite the opposite.
>
> The more I think about the problem, the more I doubt that it can be solved 
> in the manner you described.

I'm not saying scoring usenet articles as described is practical, or
desirable, but I think you have some misconceptions on how Bayesian
filtering works.  Rules are not constructed, header precedence is not
defined.  There are no definitive parts of an article to score on.

All that happens is that tokens in what you have read are counted, and
tokens in what you have not read are counted, and based on those
statistics a probability that you want to read something can be
calculated.  This happens on an ongoing basis, so as you read and do
not read, the statistics are refined and updated.

That was probably a very bad description.  I don't pretend to
understand statistics.  Those interested should read Paul Graham's
articles at http://www.paulgraham.com/spam.html and
http://www.paulgraham.com/better.html. 

-- 
Lift me down, so I can make the Earth tremble.
                                --Bucky Katt
Re: A plan for automatic newsreader scoring
#129804
Author: iMeowbot
Date: Thu, 31 Jul 2003 05:37
20 lines
2497 bytes
In article <slrnbigq2j.cop.noemail@news.easynews.com>,
 William Gray <smithsRemove@Removealumni.cse.ucsc.edu> wrote:

> It occurs to me that the way Spambayes works could be applied to create
> scores in newsreaders.  Articles that you read would get added to
> the good database, and ones you didn't would get added to the ungood
> database.  Articles could then get sorted based on the score of
> how likely you are to read them.  And each time you read news the
> newsreader would get a little better at knowing what you like to read.
> The only tricky thing that I see with doing this is that you don't
> have access to the article bodies on the client.  You would need to just
> use the article headers, or do the scoring on the server.  But even just
> using the headers I think it would work well in many cases.  Posters
> or subjects that you frequently read, or your own posts and references
> to them, would naturally rise to the top.   Are any newsreaders doing
> something like this?

It's not exactly the Bayesian stuff, but the emacs newsreader (Gnus) has 
something it calls adaptive scoring that works along the same lines.
Re: A plan for automatic newsreader scoring
#129805
Author: Murray Peterson
Date: Thu, 31 Jul 2003 05:59
47 lines
3550 bytes
Richard Hoskins <rmh@apk.net> wrote in news:m3d6frnuom.fsf@apk.net:

> I'm not saying scoring usenet articles as described is practical, or
> desirable, but I think you have some misconceptions on how Bayesian
> filtering works.  Rules are not constructed, header precedence is not
> defined.  There are no definitive parts of an article to score on.

I do understand Bayesian filtering, and there is one definitive part that 
they all depend on -- the "token" or "word".  This makes them very suitable 
for filtering on message contents or any header that can be definitively 
parsed into "words".  As soon as you start looking at headers only, I 
would expect the effectiveness of the filter to drop dramatically.

> All that happens is that tokens in what you have read are counted, and
> tokens in what you have not read are counted, and based on those
> statistics a probability that you want to read something can be
> calculated.  This happens on an ongoing basis, so as you read and do
> not read, the statistics are refined and updated.

Where it breaks down is the very case that appears frequently on usenet -- 
subject headers that intentionally blur the word/token boundaries (e.g. 
m.a.k.e.m.o.n.e.y or M_A_K_E_M_O_N_E_Y or the multiple variations everyone 
has seen).  The only way to I can see to get such a filter "back on track" 
is to modify the parser to explicitly recognize some standard spammer 
patterns.  Of course, manual intervention at one level or another 
invalidates the entire concept of completely automated filtering -- what do 
you do when these patterns change?.

> That was probably a very bad description.  I don't pretend to
> understand statistics.  Those interested should read Paul Graham's
> articles at http://www.paulgraham.com/spam.html and
> http://www.paulgraham.com/better.html. 

Those filters depend on content more than any other data for their 
effectiveness.  In the case of a news client, I don't have that data 
available at the point that my filter is invoked.

I am making some wild "guesses" here, but I have some doubts about the 
effectiveness of a statistical filter that works on usenet headers only.  
Of course, if someone wants to actually build such a filter, they can make 
me (happily) eat my words.

-- 
Murray Peterson
Email: murray_peterson@shaw.ca (remove underscore)
URL:   http://members.shaw.ca/murraypeterson/
Re: A plan for automatic newsreader scoring
#129806
Author: Richard Hoskins
Date: Thu, 31 Jul 2003 06:24
53 lines
3950 bytes
Murray Peterson <mwp@home.com.invalid> writes:

> Richard Hoskins <rmh@apk.net> wrote in news:m3d6frnuom.fsf@apk.net:
>
>> I'm not saying scoring usenet articles as described is practical, or
>> desirable, but I think you have some misconceptions on how Bayesian
>> filtering works.  Rules are not constructed, header precedence is not
>> defined.  There are no definitive parts of an article to score on.
>
> I do understand Bayesian filtering, and there is one definitive part that 
> they all depend on -- the "token" or "word".  This makes them very suitable 
> for filtering on message contents or any header that can be definitively 
> parsed into "words".  As soon as you start looking at headers only, I 
> would expect the effectiveness of the filter to drop dramatically.

Maybe.  Graham found that the headers were a very important part, though.

> Where it breaks down is the very case that appears frequently on usenet -- 
> subject headers that intentionally blur the word/token boundaries (e.g. 
> m.a.k.e.m.o.n.e.y or M_A_K_E_M_O_N_E_Y or the multiple variations everyone 
> has seen).  The only way to I can see to get such a filter "back on track" 
> is to modify the parser to explicitly recognize some standard spammer 
> patterns.  Of course, manual intervention at one level or another 
> invalidates the entire concept of completely automated filtering -- what do 
> you do when these patterns change?.

Nothing.  Mark the article as spam, or don't read it.  Your case is no
different here than email, where this type of filter has proven
effective.  (Except that the whole email is analyzed, not just the
headers.  I agree that is a big difference, but the concept is the
same.  Someone posted a link here a day or two ago to an article
describing how Microsoft was putting usenet articles into a relational
database and running some sort of analysis on the text.  If you really
want to see article bodies, you can.  INN is not the be-all-and-end-all.)


> Those filters depend on content more than any other data for their 
> effectiveness.  In the case of a news client, I don't have that data 
> available at the point that my filter is invoked.
>
> I am making some wild "guesses" here, but I have some doubts about the 
> effectiveness of a statistical filter that works on usenet headers only.  
> Of course, if someone wants to actually build such a filter, they can make 
> me (happily) eat my words.

Yup.  I agree.  Personally, I have no problems deciding what articles
I want to read in newsgroups, using scoring rules I define.  I don't
think I need or want automatic scoring.  Email is a different story.

-- 
Lift me down, so I can make the Earth tremble.
                                --Bucky Katt
Re: A plan for automatic newsreader scoring
#129819
Author: Thomas Schultz
Date: Thu, 31 Jul 2003 13:41
16 lines
1709 bytes
* William Gray [2003-07-31 00:51] :
[...]
> Posters or subjects that you frequently read, or your own posts and
> references to them, would naturally rise to the top.  Are any
> newsreaders doing something like this?

Robin Sommer attempts do something similar with slrn using a macro set
(see <http://www.net.uni-sb.de/~robin/slrn>). The last time I looked
at it, it seemed a bit experimental, but you might want to try it and
send the author feedback.
-- 
Thomas Schultz <tststs@gmx.de>  News on slrn: http://slrn.sf.net/news.html
.-----------------------------. [2002-03-13] slrn 0.9.7.4 is out
| Home of the slrn newsreader | [2002-02-03] Screenshot page online
| http://slrn.sourceforge.net | [2002-02-03] "Port" to Mac OS X
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads