r/programming • • Dec 09 '13

Reddit’s empire is founded on a flawed algorithm

http://technotes.iangreenleaf.com/posts/2013-12-09-reddits-empire-is-built-on-a-flawed-algorithm.html
2.9k Upvotes

503 comments sorted by

View all comments

Show parent comment

2

u/rawbdor Dec 10 '13

That's a very good list for just a couple minutes' thought.

What's worse is that the list becomes a requirements list for the bots to do the opposite.

  • Multiple accounts that frequently vote on the same submissions, where those submissions are not front-page. ADD IN RANDOMNESS
  • Single accounts that only vote, never comment or submit links LOOK FOR DORITO REFERENCE, COMMENT ABOUT COLBY
  • Accounts that only downvote, never upvote; or vice versa GO COUNTER TREND 10% OF THE TIME
  • Accounts that submit more votes in a 5-minute period than humanly reasonable. DONT DO THIS
  • Accounts that frequently vote on submissions less than 2 minutes old. RANDOMIZE DELAY FROM 1 TO 7 MINUTES
  • Accounts that hit URLs in an order that doesn't make sense for a web browser - say, voting on a comment without ever having viewed the thread. ALWAYS VIEW THE THREAD FIRST

Point is, once a list of details is determined to characterize the nature of a bot, that list becomes a new requirements list for how not to be detected as a bot.

3

u/mattrition Dec 10 '13

That's a great point, and it's a point that is horrendously well understood by anyone working on computer security / spam detection / antibiotics / species behaviour interactions / animal evolution in general.

Both the defence and that attack are constantly co-evolving and if you stop innovating and adding to your defence you can garuntee it will become pointless in a matter of time.

I fully expect the reddit developers to know about this concept and to be constantly working on new rules to detect bots that are becoming ever smarter. Whether there is enough innovation on these rules to add to the detection, I have no idea. It's worth considering how worth it trying to game reddit is. Spam filters for bigger networks such as email or security for popular operating systems generally need more work because there is more incentive to game those systems.

1

u/rawbdor Dec 10 '13

t's worth considering how worth it trying to game reddit is.

For most small spammers, probably not very worth it. But it does make reddit suceptible to an attack by an up-and-coming competitor who's goal is to de-legitimize reddit, make it function poorly, take advantage of every loophole, and eventually destroy the community.

Not that that's happening now... but, for an organization looking to take reddit's place, the value could be enormous.

1

u/mattrition Dec 10 '13

You're right, it's certainly worth it for a e.g. competitors. But I am certain that the number of entities that get any value out of gaming reddit is vastly smaller than other the interest for other systems. Fewer people "attacking" reddit will make it much easier to keep pace with the innovation of such attacks. So it is more likely that the devs are on top of it.

2

u/raldi Dec 10 '13

And that's why the actual list is the one part of reddit's code that's not open source.

1

u/Kalium Dec 10 '13

Now add in behavioral analysis. It a group of users votes together as a bloc with any frequency, it'll show up. Adding randomness won't disguise that. It's the core behavior that you want.

This is actually a lot harder than you think. You cannot just add noise everywhere and expect it to work.