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, 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
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
- Chatbots Decoded: Exploring AI, Computer History Museum (Abelson’s Ideology Machine and the Goldwater supporter, ELIZA and PARRY, Jabberwacky in 1997, Ask Jeeves, SmarterChild on AIM in 2001, XiaoIce, Tay after sixteen hours, Chatty Cathy and Furby, Spike Jonze and A.L.I.C.E.; the story dates A.L.I.C.E. to 2001, which is two years after Wallace began it)
- Robert P. Abelson and J. Douglas Carroll, “Computer Simulation of Individual Belief Systems”, American Behavioral Scientist 8(9), 1965
- Noah Wardrip-Fruin, “EP 4.3: Abelson’s Ideology Machine”, Grand Text Auto (draft of Expressive Processing), 13 February 2008 (archived copy; concept-predicate pairs, the credibility test, denial and the three rationalisations, paranoid/apologetic/Pollyanna styles, “a well-known right-winger” in 1965 and Goldwater named in 1973, Weizenbaum’s 1966 reference to Abelson, Colby and Weizenbaum as collaborators before a split, after Howard Gardner)
- ELIZA — Wikipedia (Weizenbaum at MIT, 1964 to 1966, the DOCTOR script, the secretary who asked him to leave the room, Computer Power and Human Reason in 1976)
- Jimmy Maher, “Eliza, Part 1”, The Digital Antiquarian, June 2011 (the BASIC version by Jeff Shrager and Steve North in Creative Computing, July/August 1977, 16K, North’s “inferior imitation” quote)
- Jeff Shrager, “Another Wave: A BASIC ELIZA Turns the PC Generation On to AI”, HackerNoon (the 1977 BASIC ELIZA and its spread among home-computer owners)
- GNU Emacs source,
lisp/play/doctor.el(copyright from 1985, “psychological help for frustrated users”, thedoctorentry point simulating a Rogerian analyst) - Vint Cerf, RFC 439: PARRY Encounters the DOCTOR (January 1973) (session of 18 September 1972; the quoted lines and Cerf’s comments)
- Kenneth Mark Colby, Sylvia Weber and Franklin Dennis Hilf, “Artificial Paranoia”, Artificial Intelligence 2(1), 1971 (the affect variables fear, anger and mistrust, what raises them and how fast each falls; the horse-racing, bookie and Mafia story; indistinguishability tests)
- PARRY — Wikipedia (Colby at Stanford, MLisp, the psychiatrist test with 33 transcript readers and 48 percent correct identification, ELIZA and PARRY at the ICCC, 24 to 26 October 1972)
- Racter — Wikipedia (Chamberlain and Etter, “Soft Ions” bought in January 1980 and printed in Omni in October 1981, the book, Mindscape in 1984, the template-based commercial version, the New York Times quote)
- Dr. Sbaitso — Wikipedia (Creative Labs, 1991, MS-DOS, the acronym, First Byte’s Monologue engine, the greeting, “THAT’S NOT MY PROBLEM”, the
SAYcommand, the “PARITY ERROR” reset) - The Computer Museum News, Winter 1992 (first Loebner Prize at the Computer Museum, Boston, 8 November 1991, won by Weintraub)
- Loebner Prize — Wikipedia (launched with the Cambridge Center for Behavioral Studies, first contest 1991 at the Boston Computer Museum, Weintraub’s wins 1991 to 1993 and 1995, Minsky’s counter-prize, end around 2020)
- Eugene Goostman — Wikipedia (7 June 2014, University of Reading, 33 percent of 30 judges, the criticism of the claim)
- Jabberwacky — Wikipedia (Rollo Carpenter, ZX81 in 1982, online 1997, Loebner wins in 2005 and 2006, Cleverbot in 2008)
- Artificial Linguistic Internet Computer Entity — Wikipedia (23 November 1995, Java from 1998, AIML, Loebner wins 2000, 2001, 2004, exposed in short conversations, Spike Jonze quote)
- Ask.com — Wikipedia (Gruener and Warthen in Berkeley, natural-language questions, IPO in 1999, IAC for $1.85 billion in 2005, Jeeves dropped in 2006)
- ClickZ: “Go Ahead… Ask Jeeves” (a knowledge base of questions matched to web pages by human editors)
- SmarterChild — Wikipedia (ActiveBuddy founded 2000 by Hoffer and Kay, launch in June 2001, over 30 million buddies, branded bots for Radiohead and Intel, Colloquis, Microsoft’s acquisition in October 2006 and the shutdown)
- TechCrunch: “Twenty years ago, AIM chatbot SmarterChild out-snarked ChatGPT”, July 2023 (the replies written mostly by the copywriter Pat Guiney)
- Xiaoice — Wikipedia (2014 launch, Rinna 2015, Zo 2016, removal from WeChat in 2017, spin-off in July 2020, 660 million users by 2022)
- Tay (chatbot) — Wikipedia (Ars Technica: XiaoIce’s 40 million conversations since late 2014; Tay based on XiaoIce)
- WBUR Endless Thread: The bots, Tay and Microsoft (December 2022) (Tay as a US version of XiaoIce)
- Li Zhou, Jianfeng Gao, Di Li and Heung-Yeung Shum, “The Design and Implementation of XiaoIce, an Empathetic Social Chatbot”, arXiv:1812.08989, 2018 (response candidates retrieved from a database of human conversation pairs, plus a neural generator)
- TechCrunch: “Facebook is shutting down its standalone personal assistant M”, 8 January 2018 (M introduced in August 2015, private beta, human trainers, Wit.ai, shutdown on 19 January 2018)
- MediaNama: “Facebook shuts down personal assistant feature M”, January 2018 (M reportedly never above about 30 percent automation)
- CNBC: “Facebook Messenger now has 11,000 bots on its platform”, 1 July 2016 and TechCrunch: Messenger bot payments, 12 September 2016 (bots launched at F8 in April 2016; 11,000 bots by July, about 30,000 by September)
- SiliconANGLE: “The definitive list of Facebook Messenger chatbots”, 15 April 2016 (launch bots from CNN, 1-800-Flowers and Poncho)
- Facebook for Developers: “Bots for Messenger” updates, 1 July 2016 (over 11,000 bots)
- Oriol Vinyals and Quoc Le, “A Neural Conversational Model”, arXiv:1506.05869, 19 June 2015 (sequence-to-sequence conversation, IT helpdesk and film-subtitle datasets)
- Daniel Adiwardana and Thang Luong, “Towards a Conversational Agent that Can Chat About…Anything”, Google Research blog, 28 January 2020 (Meena, 2.6 billion parameters, 341 GB of public social-media conversations)
- LaMDA — Wikipedia (Meena on 28 January 2020 with 2.6 billion parameters, LaMDA announced on 18 May 2021, 137 billion parameters, the Washington Post report of 11 June 2022, Lemoine fired on 22 July 2022, “wholly unfounded”)
- Meta AI: “A state-of-the-art open source chatbot”, 29 April 2020 and Engadget: “Facebook releases its ‘Blender’ chatbot as an open-source project” (9.4 billion parameters, 1.5 billion Reddit exchanges, the warning about toxic language and “hallucinated” knowledge)
- Engadget: “Meta unleashes BlenderBot 3 upon the internet” and The Decoder: “Blenderbot 3: Meta releases powerful dialog AI” (August 2022, built on OPT-175B, public demo)
- HotHardware: “Meta’s AI Chatbot Calls Zuckerberg Creepy, Manipulative And Unethical” and Malwarebytes: “Now it’s BlenderBot’s turn to make shocking, inappropriate, and untrue remarks”, August 2022 (the Business Insider and Wall Street Journal exchanges)
- VentureBeat: “What Meta learned from Galactica, the doomed model launched two weeks before ChatGPT” (release on 15 November 2022, demo removed after three days)
- The Decoder: “Danger to science: researchers sharply criticize Meta’s Galactica” (invented papers and citations under the names of real authors)
- Chatty Cathy — Wikipedia (Ruth and Elliot Handler, 1960 at $18, eleven phrases, Jack Ryan’s voice unit, June Foray)
- Furby — Wikipedia (Hampton and Chung, Tiger Electronics in October 1998, Furbish to English, 1.8 million in 1998 and 14 million in 1999, the NSA ban in January 1999, the 2005 Hasbro version with voice recognition, the 2012 relaunch)
- Image: Funky Furby by Richard Elzey (CC BY 2.0), via Openverse (Flickr)