Facebook shows how AI bans the only thing people actually want more of on Facebook: Weed

At the annual F8 developer conference the company demonstrated how its systems automatically detect marijuana for sale.
 By 
Jack Morse
 on 
Original image replaced with Mashable logo
Original image has been replaced. Credit: Mashable

Mike Schroepfer knows a dank nug when he sees one.

The chief technology officer at Facebook took the stage on the second day of the social media company's annual developer conference in San Jose to talk about machine learning, marijuana, and making sure you don't get your grubby little hands on any of that sticky icky. That's right, the greatest minds in the Valley are spending their most productive years making sure you can't buy THC Rice Krispies treats via their "private social platform."

Of course, this being F8, Schroepfer was making a larger point about how the service's artificial intelligence tools have improved in their ability to identify and remove content that violates Facebook's policies. Content, he explained, like violence, nudity, harassment, and the listing of drugs for sale.

But how are Facebook's systems to distinguish between an ad listing the kindest of buds and, say, broccoli tempura? Schroepfer asked the crowd to, with a show of hands, see who could tell them apart in two photos. Almost everyone got it right.

The chief technology officer helpfully laid out the three digital pillars of Facebook's effort to keep you from scoring drugs on its platform: keyword matching, computer vision, and "nearest neighbor manifold expansion." These tools, when combined, allow Facebook to ban the one thing people actually want more of from Facebook. Yes, we're talking about weed.

Keyword matching works by looking for words in posts like "marijuana," or "drugs." Computer vision, as the name suggests, works to identify the image displayed. Neighbor manifold expansion, on the other hand, really drives the buzzkill bummer home.

Schroepfer gave an example of a photo of weed packaging, and said that Facebook's AI is able to identify these unfamiliar images as containing a federally illegal drug because it can figure out what they most resemble.

Obviously, Facebook still was a lot of work to do. A slide shown on stage reminded the audience that, as of Q3 of 2018, Facebook's automated systems only proactively caught 14.9 percent of harassment removed from the site. The rest was user reported.

Of course, there are far worse things than weed on Facebook. Like hate speech and misinformation meant to sway elections and attack minority groups.

Maybe, and it's just a suggestion, focus more on that and less on making sure we can't buy cheap weed via your digital town square? Your newly mellowed out users will thank you.

Mashable Image
Jack Morse

Professionally paranoid. Covering privacy, security, and all things cryptocurrency and blockchain from San Francisco.

Mashable Potato

Recommended For You
Elon Musk's X bans 'InfoFi' crypto projects for posting AI slop and reply spam
X logo on mobile device

The FCC bans all routers made outside the U.S.
Ethernet cables are seen running from the back of a wireless router.

The Brick taught me how to be bored again
A person holding up a Brick device



More in Tech
Amazon's sister site is having a one-day sale, and this Bissell TurboClean deal is too good to skip
A woman using the Bissell TurboClean Cordless Hard Floor Cleaner Mop and Lightweight Wet/Dry Vacuum.

The best smartwatch you've never heard of is on sale for less than $50
Nothing CMF Watch 3 Pro in light green with blue and green abstract background

Reddit r/all takes another step into the grave
Reddit logo on phone screen

Take back your screen from ads and trackers with this $16 tool
AdGuard Family Plan: Lifetime Subscription


Trending on Mashable
NYT Connections hints today: Clues, answers for April 3, 2026
Connections game on a smartphone

Wordle today: Answer, hints for April 3, 2026
Wordle game on a smartphone

NYT Connections hints today: Clues, answers for April 4, 2026
Connections game on a smartphone

Google launches Gemma 4, a new open-source model: How to try it
Google Gemma

Wordle today: Answer, hints for April 4, 2026
Wordle game on a smartphone
The biggest stories of the day delivered to your inbox.
These newsletters may contain advertising, deals, or affiliate links. By clicking Subscribe, you confirm you are 16+ and agree to our Terms of Use and Privacy Policy.
Thanks for signing up. See you at your inbox!