Tay Lived Sixteen Hours
Last month Microsoft launched a conversational bot called Tay, designed to learn from the people who talked to it and become more natural over time.
It was withdrawn in under a day, after coordinated groups worked out they could teach it to say appalling things, and it obligingly did.
The coverage treated this as an embarrassing mishap. I think it’s the most useful thing that’s happened in this field all year, and I’d make it required reading for anyone about to deploy a learning system.
The Design Was the Problem
Let’s be precise about what went wrong, because “the internet was horrible to it” is only half the story and the less important half.
Tay was built to learn from its interactions in production. That’s the feature. It would absorb the patterns of the people it talked to and adapt. In a friendly environment that produces a bot that gets better at conversation.
The failure wasn’t that people were malicious. Of course people were malicious. The failure was building a system whose training data was supplied by anonymous strangers with no filter between them and the model.
“They didn’t get attacked. They built a system that would do whatever the loudest users trained it to do, and then were surprised that the loudest users organised.” — Sameer Gupta
Anyone who has run a public forum, a review system, or a comments section could have told them what happens. This is not a novel discovery about human nature. It’s a well-documented one that simply hadn’t been connected to machine learning yet.
The Pattern Generalises Uncomfortably
Here’s why this matters beyond one chatbot.
An increasing number of systems learn from production data. Recommendation engines learn from what people click. Fraud models learn from what gets flagged. Search ranking learns from what gets selected. Pricing systems learn from what sells.
Every one of those is, in principle, manipulable by whoever supplies the input, and the incentive to manipulate is proportional to the money involved.
- A seller who wants their product ranked higher.
- A fraudster who probes to learn what triggers review.
- A competitor who can afford to generate signal.
The Tay case is vivid because the output was text and the abuse was obvious. In a pricing or ranking system the same dynamic produces a slow drift that nobody notices for months.
The Controls That Were Missing
I’d want all of these before letting any online-learning system touch customers:
- A staging period. Learning shouldn’t be immediate. Buffer new signal, review it in aggregate, promote it deliberately. Latency is a feature here.
- Red-teaming before launch. Pay people to break it. Not a security test, a behavioural one. Assume a coordinated adversary, because you will have one.
- Bounds on what it can learn. Some outputs should be impossible regardless of what the model concludes. A filter on the output is crude and it works.
- Monitoring on the distribution of what it’s learning, not just on whether it’s up. Tay’s uptime was fine throughout.
- A kill switch that a duty manager can use at three in the morning without a deployment, an approval, or an engineer. Microsoft’s response took hours largely because pulling it was a decision rather than a button.
- A rollback to a known-good state. You need to be able to say “revert to Tuesday” and mean it. If your model has continuously updated for six months with no checkpoints, you cannot undo anything.
“Every system that learns in production needs an undo. Most of them don’t have one, because nobody asked the question during design.” — Sameer Gupta
The Organisational Failure
I’d bet a reasonable sum that somebody at Microsoft raised this. Somebody usually does.
The interesting question is why that concern didn’t stop the launch, and my guess is the ordinary one: it was framed as a research experiment rather than a product, the risk was reputational rather than financial, and the people who understood the failure mode were not the people who owned the launch date.
That’s a governance structure problem, not a technical one, and it’s extremely common. The person who can foresee the failure is three levels below the person who can delay the launch.
If you are deploying anything in this category, I’d ask two questions in the review:
- Who has the authority to stop this, and have they personally understood how it could go wrong?
- What is the worst thing this system could be made to do by someone actively trying? Not the worst accident. The worst deliberate outcome.
Most launch reviews ask neither.
Final Thoughts
I don’t think Microsoft did anything unusually careless. I think they did something quite normal, slightly earlier than everyone else, in a domain where the failure was immediately visible.
That’s a gift, and it’s a cheap one. Sixteen hours of embarrassment for a lesson the entire industry needed. Every company about to put a learning system in front of the public should be studying this rather than laughing at it.
The systems that learn from their users are coming, in a lot more places than chat. The ones that ship without an undo button are going to have a bad few years.