ELIZA

From Wikipedia, the free encyclopedia
Jump to: navigation, search
For other uses, see ELIZA (disambiguation).
Example of ELIZA in Emacs.

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 the MIT Artificial Intelligence Laboratory by Joseph Weizenbaum between 1964 and 1966.[1]

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?" A possible 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.

Overview[edit]

Weizenbaum said that ELIZA, running the DOCTOR script, provided a "parody" of "the responses of a nondirectional psychotherapist in an initial psychiatric interview."[2] He chose the context of psychotherapy to "sidestep the problem of giving the program a data base of real-world knowledge,"[3] 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?"

ELIZA was named after Eliza Doolittle, a working-class character in George Bernard Shaw's play Pygmalion, who is taught to speak with an upper-class accent.[4] According to Weizenbaum, this was due to the fact that its language abilities could be "incrementally improved" by various users, much as Eliza Doolittle's language use in Shaw's play.[5]

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.[citation needed] Weizenbaum's own secretary reportedly asked him to leave the room so that she and ELIZA could have a real conversation.[1] As Weizenbaum later wrote, "I had not realized ... that extremely short exposures to a relatively simple computer program could induce powerful delusional thinking in quite normal people."[6]

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.[citation needed]

At the ICCC 1972 ELIZA met another early artificial intelligence program named PARRY and had the first computer only conversation. While ELIZA was built to be a "Doctor" PARRY was intended to simulate a patient with schizophrenia.

Significant implementations[edit]

Weizenbaum's original MAD-SLIP implementation was re-written in Lisp by Bernie Cosell.[7][8] A BASIC version appeared in Creative Computing in 1977 (although it was written in 1973 by Jeff Shrager).[9] This version, which was ported to many of the earliest personal computers, appears to have been subsequently translated into many other versions in many other languages.

Another version of Eliza popular among software engineers is the version that comes with the default release of GNU Emacs, and which can be accessed by typing M-x doctor from most modern emacs implementations.

Influence on games[edit]

ELIZA influenced 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 DEC PDP-10 minicomputer at Pomona College in 1973 before writing the computer role-playing game, Dungeon (1975). Both these games appeared some nine years after the original ELIZA.

Response and legacy[edit]

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.[10]

The Israeli poet David Avidan, who was fascinated with future technologies and their relation to art, desired to explore the use of computers for writing literature. He conducted several conversations with an APL implementation of ELIZA and published them – in English, and in his own translation to Hebrew – under the title My Electronic Psychiatrist – Eight Authentic Talks with a Computer. In the foreword he presented it as a form of constrained writing.[11]

There are many programs based on ELIZA in different programming languages. In 1980 a company called "Don't Ask Software" created a version called "Abuse" for the Apple II, Atari, and Commodore 64 computers, which verbally abused the user based on the user's input.[12] 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. GNU Emacs formerly had a psychoanalyze-pinhead command that simulates a session between ELIZA and Zippy the Pinhead.[13] The Zippyisms were removed due to copyright issues, but the DOCTOR program remains.

ELIZA has been referenced in popular culture and continues to be a source of inspiration for programmers and developers focused on Artificial Intelligence. For example, when Siri (Apple's voice activated service) was asked "Who would you vote for – Mitt Romney or Barack Obama?", Siri replies "I can't vote. But if I did, I would vote for ELIZA. She knows all."[citation needed]. ELIZA was also featured in a 2012 exhibit at Harvard University titled "Go Ask A.L.I.C.E", as part of a celebration of mathematician Alan Turing's 100th birthday. The exhibit explores Turing's lifelong fascination with the interaction between man and computer, pointing to ELIZA as one of the earliest realizations of Turing's ideas.[1]

Partial list of implementations[edit]

See also[edit]

Notes[edit]

  1. ^ a b c "Alan Turing at 100". Harvard Gazette. Retrieved 2016-02-22. 
  2. ^ Weizenbaum 1976, p. 188
  3. ^ Weizenbaum 1976, pp. 188–189
  4. ^ Markoff, John (2008-03-13), "Joseph Weizenbaum, Famed Programmer, Is Dead at 85", The New York Times, retrieved 2009-01-07 
  5. ^ Weizenbaum, Joseph (1966). "ELIZA—a computer program for the study of natural language communication between man and machine". Communications of the ACM. New York, NY: Association for Computing Machinery. 9 (1): 36–45. doi:10.1145/365153.365168. 
  6. ^ Weizenbaum, Joseph (1976). Computer power and human reason: from judgment to calculation. W. H. Freeman. p. 7. 
  7. ^ Coders at Work: Bernie Cosell
  8. ^ The Genealogy of Eliza
  9. ^ Big Computer Games: Eliza - Your own psychotherapist at www.atariarchives.org
  10. ^ Plug & Pray, documentary film featuring Joseph Weizenbaum and Ray Kurzweil
  11. ^ Avidan, David (2010), Collected Poems, 3, Jerusalem: Hakibbutz Hameuchad, OCLC 804664009 
  12. ^ Davidson, Steve (January 1983), "Abuse", Electronic Games, 1 (11) 
  13. ^ "lol:> psychoanalyze-pinhead". 
  14. ^ Trans-Tex Software
  15. ^ ELIS

References[edit]

External links[edit]