Twitter Says New BotMaker System Helped Reduce Spam by 40 Percent

Advertisement
By NDTV Correspondent | Updated: 22 August 2014 08:49 IST
Twitter on Wednesday detailed its recent efforts in the fight against unsolicited content, and how the introduction of a new anti-spam system called BotMaker is responsible for a 40 percent reduction in its key spam metrics. Just when this system was implemented was not detailed by the company however.

The company's Raghav Jeyaraman in an official blog post described why fighting spam on a micro-blogging network like Twitter is a very different proposition from defending traditional systems like email. He also detailed the challenges the team faced when creating a solution like BotMaker, and provided a simplistic look at the overall architecture of the system.

Jeyaraman explained that because of Twitter's wide-ranging developer APIs, meant to allow third-parties to interact with the platform, spammers "know (almost) everything" about how the micro-blogging network functions - making spam creation much easier and deploying countermeasures much harder.

Advertisement

Also, because of the real-time nature of consuming and sharing content on Twitter, Jeyaraman said the countermeasures could not add greatly to the latency of the user's experience or the overall platform.

With these challenges in mind, the team worked to create a system that would a) Prevent spam content from being created, b) Reduce the amount of time spam is visible on Twitter, and c) Reduce the reaction time to new spam attacks, all while trying to ensure third-party developers were not able to bypass, fool or tamper with the system, and that it didn't introduce too much latency.

Advertisement

To do this, the BotMaker anti-spam system was devised into three parts, with one low-latency sub-system (Scarecrow) checking in real time for spam in the 'write path' of Twitter's main processes (such as tweets, retweets, favourites, follows and messages), and the second computationally-intense and learning sub-system (Sniper) checking in 'near real time' the user and content event logs of Scarecrow.

The third system, the BotMaker itself, is constantly fed information by Scarecrow and Sniper, and issues commands both in the write path (deny, challenge, accept), as well to the actioner (suspend, reset password, delete message). Twitter also runs periodic jobs on all the data compiled by the BotMaker system (and sub-systems), from routine checks to specific exercises by the engineering department.

Advertisement

In this fashion, Twitter says BotMaker helps prevent the creation of spam with a low-latency filter, while cleaning-up spam that slips by with high-latency processes, and adapting to better catch spam with machine learning.

Stressing the importance of being able to quickly iterate and refine its rules and models in Twitter's evolving fight against spam, Jeyaraman said the BotMaker rule language, and the data structures it operated upon, were designed in a fashion to allow for rapid development, testing and deployment of system-wide code changes, apart from quick edits to BotMaker rules.

Advertisement

"Spam evolves constantly. Spammers respond to the system defenses and the cycle never stops. In order to be effective, we have to be able to collect data, and evaluate and deploy rules and models quickly."

Jeyaraman said a big part of how that was achieved was by making the BotMaker language type safe, all data structures immutable and all functions pure, as well as ensuring the runtime supported common functional programming idioms.

 

Get your daily dose of tech news, reviews, and insights, in under 80 characters on Gadgets 360 Turbo. Connect with fellow tech lovers on our Forum. Follow us on X, Facebook, WhatsApp, Threads and Google News for instant updates. Catch all the action on our YouTube channel.

Further reading: BotMaker, Bots, Social, Spam, Spam Detector, Twitter
Advertisement
Popular Mobile Brands
  1. Realme 16 5G Will Finally Launch in India Soon, Tipster Claims
  2. Samsung Will Launch New Galaxy A-Series Smartphones in India on This Date
  3. NASA Astronauts Complete 7-Hour Spacewalk to Prepare ISS Power System Upgrade
  4. Samsung Could Bring This Feature to the Galaxy S26 Series Soon
  5. Samsung Galaxy S25 Ultra Reportedly Gets a Price Cut in India
  6. Top 7 Laser Printers for Students to Buy in India Right Now
  1. NASA Astronauts Complete 7-Hour Spacewalk to Prepare ISS Power System Upgrade
  2. Samsung Reportedly Plans to Introduce AirDrop Support on Galaxy S26 Series Later This Year
  3. Vivo Y21 5G, Vivo Y11 5G Price in India and Colourways Leaked a Month After Global Launch
  4. Toaster OTT Release: When and Where to Watch Rajkummar Rao’s Comedy Thriller
  5. FBI Warns Tron Blockchain Users of Phishing Attack Using Fake Tokens Impersonating the Agency
  6. Amazon Said to Be Working on New Smartphone Equipped With Alexa Assistant and AI Features
  7. Border 2 Now Streaming Online: Where to Watch Sunny Deol, Varun Dhawan Starrer Movie Online?
  8. Mad For Each Other Now Streaming Online: What You Need to Know About Platform, Cast, and More
  9. Chiraiya Now Available for Streaming on OTT: What You Need to Know
  10. Samsung Galaxy M17e With 50-Megapixel Camera, 6,000mAh Battery Goes on Sale in India: Price, Offers
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2026. All rights reserved.