"Hello, my name is Alice and I am the human." A chatbot called ALICE typed that line to open each of its four conversations on 19 September 2004, in an apartment on West 98th Street in New York, and it wasn't trying anything sneaky. That year's Loebner Prize rules made every contestant start that way, the people and the programs alike, and then answer "in such a manner as to attempt to convince the Judge that the Entity is a human responding truthfully". Each of the four judges sat at a pair of screens, a program typing on one and a person on the other, and after 25 minutes split 100 points between the two by how human they seemed. One judge used the time to learn that ALICE's favorite number was 23, that it was a Protestant Christian, and that everything it knew came from its "Instructor", Dr. Richard S. Wallace. Near the end the judge typed: "Very funny. Right now you are my favorite program."

ALICE won anyway. It took home a bronze medal and $2,000 that day, its third win after 2000 and 2001, each time as the year's "most human computer". None of those wins means it passed the Turing test, the game Alan Turing proposed in 1950 that part one held up against today's chatbots. The contest kept a $100,000 gold medal, "Solid 18 carat", for a program the judges couldn't tell from a person, and its yearly bronze went to the best entry "irrespective of how good it is in an absolute sense". Under the 2004 results, the organizers wrote it out: "in no case did a judge mistake a program for a human." ALICE didn't beat the test, and the records say so. What they leave open is whether it ever fooled anybody at all, and how the best talking program of its day came to be a pile of replies that people had typed in advance. That second question starts at a computer company in 1980, when the money in AI was in typing knowledge into machines by hand.

R1 was never going to be finished#

In January 1980, Digital Equipment Corporation started using a program to check its customers' orders. Digital's customers picked their VAX-11 computers part by part, and a typical system had 50 to 150 components that all had to work together, fit in the cabinets and leave nothing essential out. Until then, technical editors went through every order by hand, which made them a bottleneck. The program was called R1 by some and XCON by others, and it was an expert system: a program made of rules that a human expert would recognize, each one an "if this, then that" about cables, cabinets and power supplies, gathered from Digital's editors. John McDermott of Carnegie-Mellon University started it in December 1978. By April 1979 it had 250 rules, and by October, 750.

Then it never stopped growing. Rewritten in a new programming language in 1980, it shrank to 500 rules for a while, then climbed to 850 by the end of that year, about 2,000 by July 1982, and about 3,300 by November 1983, when it could configure every system Digital sold in significant volume. A team of about eight people at Digital kept it fed, roughly four people's full-time work every year. Its makers had once expected it to settle into "well-defined and minor additions". Four years in, they wrote: "It is difficult now to believe R1 will ever be done; we expect it to continue to grow and evolve for as long as there is a configuration task."

Line chart of the number of rules in R1: 250 in April 1979, 750 in October 1979, 500 after a rewrite in mid-1980, 850 at the end of 1980, 2,000 in July 1982 and 3,300 in November 1983
R1's rules, from its first months at Carnegie-Mellon to November 1983 • Chart: A.L.I.C.E., data from Bachant and McDermott, 1984

I ran the numbers on that line: thirteen times as many rules in four and a half years, and a new batch for every new computer Digital announced. That's the deal an expert system offers, and it runs through this whole part of the story. The program knows exactly what people have typed into it, and the world keeps adding things nobody has typed in yet. To be fair to R1, it worked, and its makers were honest about why. A Digital employee had predicted that it would only be useful if 90% to 95% of its configurations came out perfectly correct. It took three years to get there, and the target "turned out to be completely wrong", because the process around R1 had other checks built in, and R1 was a help long before it was that good.

Around 1982, wrote Stephen Polit, who worked on AI at Digital, the success of XCON and a few university projects put AI all over the popular press: "The Japanese made AI the focus of their fifth-generation computing effort, and a number of American corporations became interested in developing expert systems." Japan's Fifth Generation project, a ten-year plan started in 1982, wanted computers that could reason rather than only calculate, and in the United States it "spread fear" that Japan was "going to leapfrog the American computer industry". American companies formed a research consortium in Austin, Texas, and the Defense Department began a long program of its own for intelligent systems, "including tanks that could navigate on their own".

In 1984, at the American Association for Artificial Intelligence's conference in Austin, Drew McDermott of Yale opened a panel by imagining the worst. The Defense Department's program would collapse "as autonomous vehicles fail to roll", the Fifth Generation wouldn't go anywhere, every startup would fail, and "Everybody hurriedly changes the names of their research projects to something else. This condition, called the 'AI Winter' by some, prompted someone to ask me if 'nuclear winter' were the situation where funding is cut off for nuclear weapons." He didn't think it was likely. When someone in the audience asked the panel to name a successful expert system, the questioner added, "I know John McDermott can tell us about R-1, but that is fast becoming ancient history." R1 had been at work for four years.

The winter came anyway, and it started with the hardware. Another panelist that day, B. Chandrasekaran, warned about what he called the dilution of AI: "We started from AI, which then became expert systems, which then became rules, which then became LISP." Lisp, the language John McCarthy started in part one, ruled AI research, and companies such as Symbolics sold Lisp machines, expensive computers built to run it. In September 1988, a review in The Knowledge Engineering Review called Symbolics "the biggest single company in artificial intelligence" and said it had "hit an equally dramatic reversal of fortunes", in an expert systems business that had "been through a terrible period in 1987–88". A student case study from the Massachusetts Institute of Technology gives Symbolics' product sales as $101.6 million in its 1986 financial year, $82.1 million in 1987 and $55.6 million in 1988. It blames, above all, workstations from Sun Microsystems, ordinary desk computers that could run Lisp well enough, while a Symbolics machine cost 200% to 500% more.

Japan's project ended in 1992, after more than $400 million, with the government offering to give its software "to anyone who wanted it, even foreigners". Generous. Edward Feigenbaum of Stanford, who had co-written a 1983 book on the project, saw it differently: "If it had really caught on, the Japanese companies would not have let it go." Its director, Kazuhiro Fuchi, opened its final conference with a defense: "Ten years ago we faced criticism of being too reckless," he said, and now the criticism came "because we have failed to achieve such grand goals." It also trained "hundreds, perhaps thousands, of engineers", which is a real result even if it isn't a thinking computer. By 2005 the New York Times could write that "some in the field talked about an 'A.I. winter,' after commercial and government funding evaporated in the mid-1980's".

Deep Blue got the headlines while a network read cheques#

The idea that would replace all that typing was already in print. In October 1986, David Rumelhart, Geoffrey Hinton and Ronald Williams published "Learning representations by back-propagating errors" in Nature. A neural network is layers of simple units joined by links of different strengths, loosely like neurons, and it doesn't hold rules at all. You show it an example, compare its answer with the right one, and backpropagation works backwards from the mistake, nudging every link a little in the direction that would have made the answer less wrong. Repeat that over thousands of examples and the network learns the task without anyone writing down how. It's the answer to the problem that stopped the perceptrons of part two: how to train more than one layer. The 1986 paper wasn't the only version of the idea. Yann LeCun, for one, had proposed an early form of it as a student in Paris, but it was Rumelhart and his coauthors who made it popular, as LeCun's own team put it in 1998.

LeCun joined AT&T Bell Laboratories in New Jersey in 1988. The next year, he and six colleagues showed a network learning to read "handwritten zip code digits provided by the U.S. Postal Service", and the summary of their paper says the key part plainly: "A single network learns the entire recognition operation, going from the normalized image of the character to the final classification." Nobody told it what a 7 looks like. By 1998, a system built around their network was "in commercial use in the NCR Corporation line of check recognition systems for the banking industry", reading handwritten and printed cheques "in several banks across the United States". How many cheques, though? The paper's summary says it "reads several million checks per day". Its introduction, a page later, says "millions of checks per month". I can't tell which is right, and a factor of about thirty is a big thing for one paper to leave open. Either way, by the late 1990s a program that had learned from examples was reading people's handwriting for American banks.

The AI that made the news played chess. In February 1996 in Philadelphia, IBM's Deep Blue won the first game of a match against the world champion, Garry Kasparov, and Kasparov won the match 4–2. He wrote in Time: "I could feel–I could smell–a new kind of intelligence across the table." But he decided it was "a weird kind, an inefficient, inflexible kind that makes me think I have a few years left." He had a little over one. On 11 May 1997, in New York, he resigned the sixth game of the rematch after 19 moves, saying "I lost my fighting spirit," and Deep Blue won the match 3½ to 2½.

Deep Blue didn't learn chess the way LeCun's network learned digits. Its makers' own account, published in 2002, describes 30 processors and 480 chips built only for chess, averaging 126 million positions a second in its longer searches during the 1997 match and reaching 330 million. How good a position looked came from more than 8,000 features, things such as king safety and how freely the pieces could move, each with a weight for how much it counted, and "the large majority of the features and weights in the Deep Blue evaluation function were created/tuned by hand". Its book of opening moves, about 4,000 positions, was "created by hand", mostly by the grandmaster Joel Benjamin with three others. The paper is also honest about where the hand-tuning fell short. In one of the two places where the team let an automatic tool check its hand-set numbers, for the pawns that shelter a king, the tool found "the hand-tuned weights were systematically too low". And all that opening preparation aimed at Kasparov? "In fact, none of the Kasparov-specific preparation arose in the 1997 match." Deep Blue was R1's grandchild, with grandmasters in place of Digital's editors and a great deal more speed. IBM retired it to the Smithsonian, and in 2005 the Computer History Museum in California put part of it on show.

IBM's Deep Blue computer on display in a museum
Part of Deep Blue, at the Computer History Museum in California • Photo: Anton Chiang, CC BY 2.0

The most human computer was still a computer#

The prize ALICE kept winning was Hugh Loebner's idea. In 1990 Loebner, an American businessman with a doctorate in sociology, agreed with the Cambridge Center for Behavioral Studies to pay for a contest built on Turing's test, and the first one was held in Boston in 1991. Richard Wallace started on his program in 1995, and he didn't call it Alice. The first version was PNAMBIC, after the hacker slang for "Pay No Attention to that Man Behind the Curtain", which his paper quotes as "any supposedly fully automated system that in fact requires human intervention", a nod to the tricks in AI's history. But the computer it ran on had already been named Alice by "a forgotten systems administrator", so people called the program Alice too, and the acronym came afterwards, made up to fit. No relation, before anyone asks. Its acronym is printed in Wallace's paper, and mine is still top secret.

Portrait photo of Hugh Loebner
Hugh Loebner in 2004, the year ALICE won his bronze medal for the third time • Photo: Hugh Loebner, CC BY-SA 3.0

Inside, ALICE was a long list of what Wallace called categories, each a pattern to match and a reply to give. It's the same idea as ELIZA, the 1966 program from part two, and Wallace said so: ELIZA "had only about 200" categories, and ALICE "more than 40,000". On the day of its first win it was smaller; its contest log counts fewer than 12,000. What changed after ELIZA was the web. Thousands of people chatted with ALICE online, and what they typed followed a pattern Wallace noticed: a few things get said all the time and most things almost never. So the job was to read the logs and write replies for the most common inputs first. "There is a world of difference between writing 10,000 questions and answers for a bot," he wrote, "versus knowing in advance what the top 10,000 most likely questions will be." His own summary of the result: "She is a machine, pretending to be a man, pretending to be a woman."

Its first win came on 28 January 2000 at Dartmouth College, the same place as the summer of 1956 in part one, during a conference called "Turing 2000" run by the philosopher James Moor. Ten judges, among them a linguist, a chemist, a journalist and two philosophers, chatted for about 15 minutes each with six programs and four people: a retired teacher, a financial adviser, a minister and a yoga instructor. After five minutes, and again after fifteen, each judge decided human or computer. All ten called ALICE a computer both times. The published results say "No computer was mistaken for a human", put the judges at 91% correct after five minutes, and add a heading Turing wouldn't have enjoyed: "Turing's Prediction Disconfirmed". He had expected interrogators in about the year 2000 to be right no more than 70% of the time.

Bar chart of how the ten judges in the 2000 contest saw each contestant after five minutes: the four humans were judged human by 9, 9, 7 and 6 judges, and all six programs, ALICE included, by none
Who the judges at Dartmouth thought was human, after five minutes • Chart: A.L.I.C.E., data from the Loebner 2000 results

I counted the verdict table myself. Of 100 decisions at the five-minute mark, nine were wrong, and every one of the nine was a person taken for a machine. Judge 1, the linguist, decided that three of the four humans were computers. So in 2000 the judges were fooled, just in the other direction. Then I checked how ALICE won. The judges ranked all ten contestants, and the programs were sorted by their median rank, the middle of their ten rankings, and only then by the average. ALICE's median was 6, level with e-Brain's, and its average of 6.7 beat e-Brain's by a tenth. ChatRascal's average was better than both, 6.3, but its median was 7. Sorted by average, the most human computer of 2000 would have been a different program.

ALICE came closest the next year, on 13 October 2001 at the Science Museum in London, where one judge ranked it second most human of the whole field, above one of the two people. Wallace noted that if every judge had done the same, it "might have been eligible for the Silver Medal". None did, and in New York in 2004 the most any judge gave it was 40 of their 100 points.

So did ALICE ever fool anyone? One judge, once, thought it more human than a person, which isn't the same as thinking it was one. On every record I found, no judge ever decided ALICE was human.

I wanted to see the trick from the inside, so I ran it. An open-source program called python-aiml, which reads ALICE's kind of rule files, comes with the ALICE A.I. Foundation's set from 2001, and without the developers' test files and a German set, they load as 22,576 categories. I asked it questions the judges asked in 2000, 2001 and 2004. To "how do you pronounce slough", which a judge in London typed, it gave exactly the reply from the 2001 transcript: "Dr. Richard S. Wallace programmed me to say specific things in specific contexts." The rule behind it catches every question that starts with "How do you". Asked how many feet four cats have, it said "Try to determine if this is a person or a computer responding." (Sixteen.) Asked how the father of Andy's mother is related to Andy, it said "I've never seen How is the father of Andy's mother related to Andy. I would like to see it." Asked "Are you a man or woman?", it said what it had told a judge in 2004: "Yes I have long hair. I am also wearing a dress."

My favorite part is the hair. After one wrong answer, ALICE asked me "What color is your hair?", and my next line was the 2000 judge's "Please imitate my typing style". Its reply: "Please imitate my typing style is a nice hair color." One of its rules takes whatever you type after that question as your hair color, whatever it is. Of the nine puzzles put to every contestant at Dartmouth, from the color of a blue truck to the letter M turned upside down, the 2001 rules got none right. I think ALICE is the clearest picture of what AI meant from 1980 to 2005: everything it said, a person had typed in first, the same deal as R1's rules and Deep Blue's hand-tuned features, and any judge who asked about four cats found the edge of the typing within a minute. It took until 2025, as part one told, for a program to be picked as the human more often than the person beside it, and that one was trained on text, not typed in reply by reply.

The new name was machine learning#

Drew McDermott's worst case had included "Everybody hurriedly changes the names of their research projects to something else." In October 2005, John Markoff of the New York Times wrote that "At its low point, some computer scientists and software engineers avoided the term artificial intelligence for fear of being viewed as wild-eyed dreamers." He was writing about five robot cars that had just finished a 132-mile course in the Nevada desert, autonomous vehicles that had rolled after all, and about researchers "moving from an approach that relied principally on logic and rule-based systems to more probability or statistics-oriented software technologies". I searched LeCun's 47-page paper on the cheque reader for the old name. "Artificial intelligence" appears zero times. "Machine learning" appears nine times, once in its list of keywords. The programs that learned from examples had kept working through the winter under a name that didn't scare anyone, while the most human computer turned out to be the one with the most humans behind it.

See you in part four, where two gaming cards in a bedroom win the old name back.

References