Before AI · 4 min read · 2 sources
The rocket that ran its old code
Europe's new Ariane 5 rocket broke up 40 seconds into its first flight because it ran software written for the older, slower Ariane 4 and never tested on the new rocket's flight path.
The file
- Who
- Ariane 5 Flight 501
- Where
- Kourou, French Guiana
- When
- 1996
- Shelf
- Before AI
- Read time
- 4 min read
- Sources
- 2 sources
The file
- Who
- Ariane 5 Flight 501
- Where
- Kourou, French Guiana
- When
- 1996
- Shelf
- Before AI
- Read time
- 4 min read
- Sources
- 2 sources
Part 1
The file in one minute
01·What happened
The first Ariane 5 broke up about 40 seconds after lift-off. Nobody was on board.
02·The real cause
Software reused from Ariane 4 met sideways speed building about five times faster. A number grew too big and both guidance units shut down.
03·The missed test
Ariane 5's flight path data was never added to the unit's requirements, so the code was never tested for it.
04·The lesson for AI
A model is reliable only on situations like its examples. Test it on the new setting, and do not count a copy as a backup.
Part 2
Timeline
4 June 1996
The first Ariane 5 lifts off from Kourou, French Guiana.
4 June 1996
About 40 seconds into flight, both guidance units fail and the rocket breaks up.
July 1996
The inquiry board chaired by Jacques-Louis Lions publishes its report.
Part 3
What happened
On 4 June 1996 the first Ariane 5 lifted off from Kourou, French Guiana. About 40 seconds into the flight, at around 3,700 metres, it swung off course, broke up and exploded. Nobody was on board.
ESA and the French space agency CNES set up an independent inquiry board chaired by Professor Jacques-Louis Lions. Its report, published in July 1996, traced the loss to the rocket's two inertial reference systems, the units that tell the rocket which way it is pointing and how fast it is moving.
Both units ran software carried over from Ariane 4. One routine in it was only useful before launch, but it kept running for about 40 seconds after lift-off, because that had helped Ariane 4 recover from late countdown holds. Ariane 5 gains sideways speed about five times faster than Ariane 4. A number in that routine grew too big to fit the space the software had for it, and the unit shut down. The backup unit, running the same software, had failed the same way a fraction of a second earlier.
The main flight computer then read the failed unit's error data as if it were real flight data and swung the engine nozzles hard to fix a problem that did not exist. The rocket broke up under the strain.
Part 4
Why it happened
The software was not broken for the job it was written for. On Ariane 4 the number never got that big. The engineers had even decided not to protect that particular number, because they believed it could not grow large enough. The board found that Ariane 5's flight path data was never added to the unit's requirements, so the code was never tested in the conditions it would actually meet.
This is the most common way AI goes wrong in practice. A model learns from examples, and it is only reliable on situations that look like those examples. Move it to a new country, a new customer group or a new kind of document, and it can fail without warning, because nobody tested it on the new world. A backup copy of the same model will fail in the same place.
The idea behind this file
L002How machines learn
Part 5
What AI users should take from it
- Before reusing an AI tool or prompt for a new job, write down how the new data differs from what it was built and tested on.
- Test on real samples from the new setting, including the extremes, not only typical cases.
- Do not count a second copy of the same model as a backup. Use a different kind of check.
- Make the system stop clearly when inputs look unusual, rather than passing error output along as if it were an answer.
- Record why each safety shortcut was taken, so the next team knows what it assumed.
Part 6
Would you have caught it?
Part 7
Sources
Every fact on this page comes from these. Dates are when each was published.
- 01ARIANE 5 Flight 501 Failure: Report by the Inquiry Board · European Space Agency · 1996-07-19
- 02Ariane 501 - Presentation of Inquiry Board report · European Space Agency · 1996-07-23
Before AI
More from this shelf 5
Machine #003
The tiny clock error that grew for 100 hours
Dhahran, Saudi Arabia · 1991
Machine #004
The autopilot that handed back a plane nobody could fly
Atlantic Ocean · 2009
Machine #005
The jet that ran out of fuel at 41,000 feet
Gimli, Manitoba, Canada · 1983
Machine #006
When the computer was believed over the people
United Kingdom · 2000
Machine #001
The machine that said the patient got almost nothing
United States and Canada · 1986