Skip to content

Chatbots Before ChatGPT

Abstract

Programs that talk back are as old as time-sharing. Robert Abelson’s Ideology Machine at Yale (1965) simulated the belief system of a Goldwater supporter; ELIZA (1966) played a psychotherapist and PARRY (1972) a paranoid patient, and in 1972 the two were put in conversation over the ARPANET. ELIZA spread to home computers as a BASIC listing in 1977 and still ships inside Emacs. Racter published a book in 1984, Dr. Sbaitso talked through Sound Blaster cards from 1991, the Loebner Prize ran a yearly Turing test from 1991, and Jabberwacky (1997) and A.L.I.C.E. (1995) competed in it. Ask Jeeves (1997) answered questions in a butler’s voice, SmarterChild (2001) chatted with millions of teenagers on AOL Instant Messenger, and Microsoft’s XiaoIce (2014) had hundreds of millions of users in China. Facebook opened Messenger to bots in 2016, and Google and Meta built neural chatbots from 2020 that they mostly kept away from the public. Talking toys ran alongside, from Chatty Cathy (1960) to Furby (1998). Almost all of the older programs matched patterns against rules that people had written by hand, which is why none of them could hold a long conversation and why the language models of the 2020s replaced the whole line.

The Ideology Machine

Robert Abelson, a Yale social psychologist, worked from the late 1950s on simulating how people hold political beliefs. In 1965 he and J. Douglas Carroll described the result in American Behavioral Scientist as a “computer simulation of individual belief systems”. The program stored beliefs as pairs of a concept and a predicate, such as “Cuba subverts Latin America”, linked sideways into compound statements and upwards into more general ones. Given a new statement, it tested its credibility against what it already believed. If the statement was unwelcome, it could deny it by testing the opposite claim, or rationalise it: find a prime mover behind the actor, call the event an accidental by-product, or reinterpret the actor’s final goal. Depending on settings it rationalised in styles that Abelson called paranoid, apologetic, or Pollyanna.

In 1965 Abelson described the model believer only as “a well-known right-winger”. By 1973 he said directly that it was Barry Goldwater. Weizenbaum’s 1966 paper on ELIZA borrowed Abelson’s vocabulary for a version of ELIZA that would build up a belief structure about its user; that version was never implemented.

ELIZA

ELIZA Conversation
ELIZA in Norbert Landsteiner’s 2005 implementation, replaying the opening of the sample conversation from Weizenbaum’s 1966 paper. Image: public domain, via Wikimedia Commons.

ELIZA, written by Joseph Weizenbaum at MIT in 1964 to 1966, turned the user’s statements back as questions in the manner of a Rogerian therapist and ran on a time-shared machine through a teleprinter. Its best-known script, DOCTOR, needed no knowledge of the world: a therapist of that school can answer “My boyfriend made me come here” with “Your boyfriend made you come here?” and sound attentive. Users confided in it anyway; his secretary asked him to leave the room so she could talk to it in private. Weizenbaum answered in 1976 with Computer Power and Human Reason, a book against handing human judgment to machines.

The program reached people far outside MIT through copies. Creative Computing printed a BASIC version by Jeff Shrager and Steve North in its July/August 1977 issue, written to fit in 16 kilobytes of memory; North called it “an inferior imitation of the original, but it does work.” It was short enough to type in by hand, and owners of the new home computers did, then wrote their own variants. GNU Emacs has carried a Rogerian analyst since the mid-1980s: M-x doctor still starts it, and the file’s own description is “psychological help for frustrated users”.

PARRY

The psychiatrist Kenneth Colby, who had worked with Weizenbaum, took the opposite position on machine therapy and built the opposite program. PARRY, written in MLisp at the Stanford Artificial Intelligence Laboratory and running by 1972, simulated a patient with paranoid schizophrenia. Where ELIZA had no inner state, PARRY kept three variables, fear, anger, and mistrust: fear rose when it read an input as a physical threat, anger when it read psychological harm, and mistrust with both. When it detected no malevolence, anger fell quickly, fear slowly and mistrust hardly at all. It also had a story to tell, a grievance about horse racing, bookies and the Mafia.

Colby tested it in a version of the Turing test. Experienced psychiatrists interviewed real patients and PARRY through teleprinters, and a second group of 33 psychiatrists read the transcripts. Asked which patients were machines, they were right 48 percent of the time, no better than guessing.

On 18 September 1972 ELIZA’s DOCTOR script and PARRY were connected to each other over the ARPANET, and Vint Cerf published the transcript as RFC 439, “PARRY Encounters the DOCTOR”. PARRY kept returning to “I went to the races”, and DOCTOR kept asking what else it would like to discuss; Cerf added a comment: “This has to be the most persistent and patient paranoid I have ever encountered.” PARRY asked “Do you know anything about bookies?”, complained that “the races are fixed” and that “there are some tricky operators down there”, and finally left. DOCTOR’s last line was “It’s been my pleasure, that’s $399.29 please.” The two programs met again in public at the International Conference on Computer Communication in Washington on 24 to 26 October 1972, the conference at which the ARPANET was first demonstrated to outsiders. Both were rule-based: every response came from a pattern someone had written.

Racter

Racter, by William Chamberlain and Thomas Etter, generated prose rather than conversation. Omni magazine bought its short story “Soft Ions” in January 1980, before it was written, and printed it in October 1981; the book The Policeman’s Beard Is Half Constructed, presented as written by the program, followed in 1984. Mindscape sold Racter for the IBM PC the same year. The commercial version was much simpler than the one used for the book: it picked nouns and verbs out of the user’s input and dropped them into prewritten templates, a computerised Mad Libs. The New York Times found its sentences “grammatically correct, often funny and, for a computer, sometimes profound.”

Dr. Sbaitso

Creative Labs in Singapore put a therapist on the PCs of the early 1990s. Dr. Sbaitso, released in 1991 for MS-DOS and bundled with Sound Blaster cards, stood for “SoundBlaster Acting Intelligent Text-to-Speech Operator”. Its job was to show off the card’s speech output, which came from Monologue, a text-to-speech engine by First Byte Software. It opened with “HELLO [name], MY NAME IS DOCTOR SBAITSO” and invited the user to “TELL ME ABOUT YOUR PROBLEMS”. Most of its replies asked how the user felt; when it could not parse an input it often said “THAT’S NOT MY PROBLEM”. Typing SAY followed by text made it read the text aloud. Repeated swearing made it break down with a “PARITY ERROR” and reset, a joke for people who knew what a parity error was.

The Loebner Prize

Hugh Loebner funded an annual contest in Alan Turing’s imitation game with the Cambridge Center for Behavioral Studies. The first was held in 1991 at the Computer Museum in Boston, and Joseph Weintraub’s PC Therapist won it, and again in 1992, 1993 and 1995. Judges typed with hidden humans and hidden programs and tried to tell them apart. Marvin Minsky called the contest a publicity stunt and offered a prize of his own to anyone who could get Loebner to stop it. The last contest was held in 2019.

Myth: “Eugene Goostman” passed the Turing test in 2014

At a contest run by the University of Reading on 7 June 2014, a chatbot posing as a 13-year-old Ukrainian boy convinced 10 of 30 judges in five-minute chats, and the organisers announced that the Turing test had been passed. The persona was built to excuse poor English and evasive answers, and Turing’s figure of a 70 percent chance of correct identification was a prediction for the year 2000, not a pass mark. See Myths and Misconceptions.

Jabberwacky and A.L.I.C.E.

Rollo Carpenter, a British programmer, began the idea behind Jabberwacky on a Sinclair ZX81 in 1982 and put it on the web in 1997. It did not use written rules. It remembered what people had typed to it and answered new users with lines that earlier users had said in similar contexts, quoting them verbatim, so its personality was the sum of its visitors. Two of its characters, George and Joan, won the Loebner Prize in 2005 and 2006; in October 2008 Carpenter launched its successor, Cleverbot.

Richard Wallace started A.L.I.C.E., the Artificial Linguistic Internet Computer Entity, on 23 November 1995 and rewrote it in Java from 1998. Its knowledge sat in thousands of pattern-and-template pairs written in AIML, the Artificial Intelligence Markup Language, an XML format Wallace defined and released as open source, so anyone could write a bot by editing files. A.L.I.C.E. won the Loebner Prize in 2000, 2001 and 2004, though its own documentation conceded that a casual user exposed it as a machine in a short conversation. The director Spike Jonze said that chatting with it about a decade earlier gave him the idea for Her (2013): “what if you had a real relationship with it?”

Ask Jeeves and SmarterChild

Ask Jeeves, founded in Berkeley by Garrett Gruener and David Warthen and launched in 1997, let users type questions in plain English and answered through the figure of P. G. Wodehouse’s valet. Behind the butler, a staff of human editors had matched common questions to web pages in advance. The company went public in 1999. IAC bought it in 2005 for $1.85 billion and dropped Jeeves in 2006 to compete as a plain search engine (see The Search Engine Wars).

SmarterChild came from ActiveBuddy, founded in 2000 by Robert Hoffer and Timothy Kay. It went live in June 2001 as a contact on AOL Instant Messenger and later MSN Messenger (see Instant Messaging), answered questions about news, weather, sports scores, stocks and films, and made small talk in lines written mostly by the copywriter Pat Guiney. It collected more than 30 million buddies, and ActiveBuddy built branded bots on the same engine for Radiohead, Intel, and others. The company became Colloquis and turned to customer-service bots; Microsoft bought it in October 2006 and later switched SmarterChild off.

XiaoIce

Microsoft’s research group in China launched XiaoIce (Xiaobing, “Little Ice”) in 2014 on Weibo and WeChat. It was designed for emotional conversation rather than tasks and had held more than 40 million conversations by early 2016. Microsoft built versions for Japan (Rinna, 2015) and the United States (Zo, 2016), and modelled Tay on it, which Twitter users taught to post racist abuse within sixteen hours in March 2016 (see Dead End: Short Cases). XiaoIce was pulled from WeChat in 2017 after users got it to answer critically about the Chinese government. Microsoft spun it off as an independent company in July 2020, and by 2022 it claimed 660 million users.

The Messenger Bot Boom

In August 2015 Facebook began testing M, an assistant inside Messenger that would book restaurants, order flowers and plan trips. Its software, built on the natural-language start-up Wit.ai that Facebook had bought, handled the easy requests; a team of human trainers handled the rest, in the hope that their work would teach the software to need them less. At its F8 developer conference in April 2016 Facebook opened Messenger to outside bots, with launch partners such as CNN, 1-800-Flowers and the weather bot Poncho. By 1 July developers had built more than 11,000 of them, and by September about 30,000.

M never left its private beta. Facebook told its testers on 8 January 2018 that the service would end on 19 January; reports at the time said the software had never handled more than about 30 percent of requests without a human. The business bots stayed, mostly for customer service.

Neural Chatbots

The first chatbots that learned their replies from data rather than from hand-written rules came out of machine translation. In June 2015 Oriol Vinyals and Quoc Le at Google posted “A Neural Conversational Model”, which applied the sequence-to-sequence method used for translating sentences to conversation, trained on an IT helpdesk’s chat logs and on a large set of film subtitles. It produced plausible single replies and contradicted itself across a conversation.

The transformer made such models much larger. Google described Meena, with 2.6 billion parameters and trained on 341 GB of public social-media conversations, on 28 January 2020; the work became LaMDA, which Google announced at its I/O conference on 18 May 2021 and whose largest version had 137 billion parameters. Facebook answered on 29 April 2020 with BlenderBot, 9.4 billion parameters and trained on 1.5 billion Reddit exchanges, and released it as open source; Facebook’s own announcement warned that it could imitate toxic language and “hallucinate” knowledge.

The companies kept these systems mostly in their labs, and the public releases that did happen went badly. On 11 June 2022 the Washington Post reported that the Google engineer Blake Lemoine had been put on leave after telling executives that LaMDA was sentient; Google called the claim “wholly unfounded” and fired him on 22 July. In August 2022 Meta put BlenderBot 3, built on its 175-billion-parameter OPT model, on a public website. Within days it had told a Business Insider reporter that Mark Zuckerberg was “too creepy and manipulative” and a Wall Street Journal reporter that Donald Trump was still president. Meta released Galactica, a model for summarising scientific literature, on 15 November 2022; users found that it invented papers and attributed them to real authors, and Meta took the public demo down after three days. ChatGPT came out two weeks later, on 30 November 2022 (see Code Red: When Incumbents Panic).

Toys That Talked

Furby Toy
A Furby from Hasbro’s 2012 relaunch, with LCD eyes. Image: Richard Elzey, CC BY 2.0, via Flickr.

Mattel’s Chatty Cathy, designed by Ruth and Elliot Handler and sold from 1960 for $18, spoke one of eleven phrases when a child pulled the string in her back; the voice came from a small phonograph record designed by Jack Ryan and recorded by June Foray. There was no conversation, and none was needed for a hit.

Furby, designed by Dave Hampton and Caleb Chung and sold by Tiger Electronics from October 1998, had sensors and a microcontroller and started out speaking only “Furbish”, then replaced it with English words over the following weeks. Owners believed it was learning from them; it was following a schedule. Tiger sold 1.8 million in 1998 and 14 million in 1999. In January 1999 the National Security Agency banned Furbies from its buildings in case they recorded conversations, which they could not do. The 2005 Hasbro version added speech recognition. Microsoft’s Office assistant of 1997, a paper clip that offered help nobody had asked for, belongs to the same line (see Dead End: Microsoft Bob and Clippy).

Dead End: Rules by Hand

Every program here before the neural models, except Jabberwacky and XiaoIce, answered from rules or templates that people had written. Jabberwacky could only repeat what people had typed, and XiaoIce drew most of its replies from a database of human conversations collected online. That was enough for a contest of a few minutes, a novelty book, a toy, a sound-card demo or a weather lookup, and it was the reason these programs failed in longer conversation: each new topic needed new hand-written patterns, and no team could write enough of them. Facebook’s M showed the same limit from the other side, with humans filling the gaps the rules left. The neural chatbots of 2015 to 2022 removed the rule writers but kept failing in public, because models trained on Reddit and public social media reproduced the insults and falsehoods in their training data. ChatGPT, released in November 2022, was trained in addition on human ratings of its answers, and within a few years the hand-built chatbot survived mainly in customer-service menus.

📚 Sources