ELIZA is a computer program and an early example of primitive natural language processing. ELIZA operated by processing users' responses to scripts, the most famous of which was DOCTOR, a simulation of a Rogerian psychotherapist. Using almost no information about human thought or emotion, DOCTOR sometimes provided a startlingly human-like interaction. ELIZA was written at MIT by Joseph Weizenbaum between 1964 to 1966.
When the "patient" exceeded the very small knowledge base, DOCTOR might provide a generic response, for example, responding to "My head hurts" with "Why do you say your head hurts?" The response to "My mother hates me" would be "Who else in your family hates you?" ELIZA was implemented using simple pattern matching techniques, but was taken seriously by several of its users, even after Weizenbaum explained to them how it worked. It was one of the first chatterbots in existence.
Weizenbaum said that ELIZA, running the DOCTOR script, provided a "parody" of "the responses of a nondirectional psychotherapist in an initial psychiatric interview." He chose the context of psychotherapy to "sidestep the problem of giving the program a data base of real-world knowledge", the therapeutic situation being one of the few real human situations in which a human being can reply to a statement with a question that indicates very little specific knowledge of the topic under discussion. For example, it is a context in which the question "Who is your favorite composer?" can be answered acceptably with responses such as "What about your own favorite composer?" or "Does that question interest you?"
First implemented in Weizenbaum's own SLIP list-processing language, ELIZA worked by simple parsing and substitution of key words into canned phrases. Depending upon the initial entries by the user, the illusion of a human writer could be instantly dispelled, or could continue through several interchanges. It was sometimes so convincing that there are many anecdotes about people becoming very emotionally caught up in dealing with DOCTOR for several minutes until the machine's true lack of understanding became apparent.
In 1966, interactive computing (via a teletype) was new. It was 15 years before the personal computer became familiar to the general public, and three decades before most people encountered attempts at natural language processing in Internet services like Ask.com or PC help systems such as Microsoft Office Clippy. Although those programs included years of research and work, ELIZA remains a milestone simply because it was the first time a programmer had attempted such a human-machine interaction with the goal of creating the illusion (however brief) of human-human interaction.
In the 1976 article "Computer Power and Human Reason," an excerpt of which is included in The New Media Reader edited by Noah Wardrip-Fruin and Nick Montfort, Weizenbaum notes how quickly and deeply people became emotionally involved with the computer program, taking offence when he asked to view the transcripts, saying it was an invasion of their privacy, even asking him to leave the room while they were working with the DOCTOR script.
Influence on games
ELIZA had an impact on a number of early computer games by demonstrating additional kinds of interface designs. Don Daglow wrote an enhanced version of the program called Ecala on a PDP-10 mainframe computer at Pomona College in 1973 before writing what was possibly the second or third computer role-playing game, Dungeon (1975) (The first was probably "dnd", written on and for the PLATO system in 1974, and the second may have been Moria, written in 1975). It is likely that ELIZA was also on the system where Will Crowther created Colossal Cave (Adventure), the 1975 game that spawned the interactive fiction genre. Both these games appeared some nine years after the original ELIZA.
The 2011 action-RPG Deus Ex: Human Revolution includes among its cast a news media personality named "Eliza Cassan", who is shown interviewing other prominent characters at various points in the game's plot. After the main character, Adam Jensen, hunts her down, she is revealed to be a highly advanced AI.
Response and legacy
Lay responses to ELIZA were disturbing to Weizenbaum and motivated him to write his book Computer Power and Human Reason: From Judgment to Calculation, in which he explains the limits of computers, as he wants to make clear in people's minds his opinion that the anthropomorphic views of computers are just a reduction of the human being and any life form for that matter. In the independent documentary film Plug & Pray (2010) Weizenbaum said that only people who misunderstood ELIZA called it a sensation.
There are many programs based on ELIZA in different programming languages. For example, in 1980, a company called "Don't Ask Software", founded by Randy Simon, created a version called "Abuse" for the Apple II, Atari, and Commodore PCs, which verbally abused the user based on the user's input. Other versions adapted ELIZA around a religious theme, such as ones featuring Jesus (both serious and comedic) and another Apple II variant called I Am Buddha. The 1980 game The Prisoner incorporated ELIZA-style interaction within its gameplay. George Lucas and Walter Murch incorporated an Eliza-like dialogue interface in their screenplay for the feature film THX-1138 in 1969. Inhabitants of the underground future world of THX would retreat to "confession booths" when stressed, and initiate a one-sided Eliza-formula conversation with a Jesus-faced computer who claimed to be "Omm". In 1988 the British artist and friend of Weizenbaum Brian Reffin Smith created and showed at the exhibition 'Salamandre', in the Musée du Berry, Bourges, France, two art-oriented ELIZA-style programs written in BASIC, one called 'Critic' and the other 'Artist', running on two separate Amiga 1000 computers. The visitor was supposed to help them converse by typing in to 'Artist' what 'Critic' said, and vice versa. The secret was that the two programs were identical.
- Using Java, and based very closely on Weizenbaum's published description of the program: http://www.chayden.net/eliza/Eliza.html
- Using z80 Assembly on the TI-83 Plus: ticalc.org
- Trans-Tex Software has released shareware versions for Classic Mac OS and Mac OS X: Trans-Tex Software
doctor.el(circa 1985) in Emacs lisp: http://www.cs.cmu.edu/afs/cs/project/ai-repository/ai/areas/classics/eliza/emacs/0.html.
- Source code in Tcl: http://wiki.tcl.tk/9235
- Source code in BASIC: http://www.atariarchives.org/bigcomputergames/showpage.php?page=22
- Used in AGT: Automatic Goblin Therapist (World of Warcraft addon) http://www.wowinterface.com/downloads/fileinfo.php?id=9780#info
- Written in TDBS for the Kakadu Konnection BBS in Darwin Australia and widely distributed to other TBBS Bulletin Boards in 1989.
- ^ Weizenbaum 1976, p. 188
- ^ Weizenbaum 1976, pp. 188–189
- ^ Markoff, John (2008-03-13), "Joseph Weizenbaum, Famed Programmer, Is Dead at 85", The New York Times, http://www.nytimes.com/2008/03/13/world/europe/13weizenbaum.html, retrieved 2009-01-07
- ^ Plug & Pray, documentary film featuring Joseph Weizenbaum and Ray Kurzweil
- ^ Davidson, Steve (January 1983), "Abuse", Electronic Games 1 (11), http://www.atarimania.com/det_mag_review.php?MAG_REVIEW_ID=86&SOFT_ID=60 [dead link]
- McCorduck, Pamela (2004), Machines Who Think (2nd ed.), Natick, MA: A. K. Peters, Ltd., ISBN 1-56881-205-1, http://www.pamelamc.com/html/machines_who_think.html
- Weizenbaum, Joseph (January 1966), "ELIZA — A Computer Program For the Study of Natural Language Communication Between Man And Machine", Communications of the ACM 9 (1): 36–45, doi:10.1145/365153.365168
- Weizenbaum, Joseph (1976), Computer power and human reason: from judgment to calculation, W. H. Freeman and Company, ISBN 0-7167-0463-3
- Whitby, Blay (1996), "The Turing Test: AI's Biggest Blind Alley?", in Millican, Peter & Clark, Andy, Machines and Thought: The Legacy of Alan Turing, 1, Oxford University Press, pp. 53–62, ISBN 0-19-823876-2, http://www.cogs.susx.ac.uk/users/blayw/tt.html
- This article was originally based on material from the Free On-line Dictionary of Computing, which is licensed under the GFDL.
- dialogues with colorful personalities of early AI, a collection of dialogues between ELIZA and various conversants, such as a company vice president and PARRY (a simulation of a paranoid schizophrenic)
- Weizenbaum. Rebel at work - Peter Haas, Silvia Holzinger, Documentary film with Joseph Weizenbaum and ELIZA.
- Questsin - MSN Messenger implementation of ELIZA
- CounterCounseling - Source code in C, Windows
- WoWInterface AGT - Automatic Goblin Therapist, an ELIZA-based add-on for the massive online game World of Warcraft
Wikimedia Foundation. 2010.