Eliza Pygmalion1.jpg
   HOME

TheInfoList



OR:

ELIZA is an early natural language processing
computer program A computer program is a sequence or set of instructions in a programming language for a computer to execute. Computer programs are one component of software, which also includes documentation and other intangible components. A computer program ...
created from 1964 to 1966 at the
MIT Artificial Intelligence Laboratory Computer Science and Artificial Intelligence Laboratory (CSAIL) is a research institute at the Massachusetts Institute of Technology (MIT) formed by the 2003 merger of the Laboratory for Computer Science (LCS) and the Artificial Intelligence Lab ...
by
Joseph Weizenbaum Joseph Weizenbaum (8 January 1923 – 5 March 2008) was a German American computer scientist and a professor at MIT. The Weizenbaum Award is named after him. He is considered one of the fathers of modern artificial intelligence. Life and caree ...
. Created to demonstrate the superficiality of communication between humans and machines, Eliza simulated conversation by using a "
pattern matching In computer science, pattern matching is the act of checking a given sequence of tokens for the presence of the constituents of some pattern. In contrast to pattern recognition, the match usually has to be exact: "either it will or will not be ...
" and substitution
methodology In its most common sense, methodology is the study of research methods. However, the term can also refer to the methods themselves or to the philosophical discussion of associated background assumptions. A method is a structured procedure for br ...
that gave users an illusion of understanding on the part of the program, but had no built in framework for contextualizing events. Directives on how to interact were provided by "scripts", written originally in MAD-Slip, which allowed ELIZA to process user inputs and engage in discourse following the rules and directions of the script. The most famous script, DOCTOR, simulated a Rogerian psychotherapist (in particular,
Carl Rogers Carl Ransom Rogers (January 8, 1902 – February 4, 1987) was an American psychologist and among the founders of the humanistic approach (and client-centered approach) in psychology. Rogers is widely considered one of the founding fathers of ps ...
, who was well known for simply parroting back at patients what they had just said), and used rules, dictated in the script, to respond with non-directional questions to user inputs. As such, ELIZA was one of the first
chatterbot A chatbot or chatterbot is a software application used to conduct an on-line chat conversation via text or text-to-speech, in lieu of providing direct contact with a live human agent. Designed to convincingly simulate the way a human would behav ...
s and one of the first programs capable of attempting the
Turing test The Turing test, originally called the imitation game by Alan Turing in 1950, is a test of a machine's ability to exhibit intelligent behaviour equivalent to, or indistinguishable from, that of a human. Turing proposed that a human evaluato ...
. ELIZA's creator, Weizenbaum, regarded the program as a method to show the superficiality of communication between man and machine, but was surprised by the number of individuals who attributed human-like feelings to the computer program, including Weizenbaum's secretary. Many academics believed that the program would be able to positively influence the lives of many people, particularly those with psychological issues, and that it could aid doctors working on such patients' treatment. While ELIZA was capable of engaging in discourse, ELIZA could not converse with true understanding. However, many early users were convinced of ELIZA's intelligence and understanding, despite Weizenbaum's insistence to the contrary. Surprisingly, the original ELIZA source-code has been missing since the 1960s as it was not common to publish articles that included source code at this time. However, more recently the MAD-Slip source-code has now been discovered in the MIT archives and published on various platforms, such as archive.org. The source-code is of high historical interest as it demonstrates not only the specificity of programming languages and techniques at that time, but also the beginning of software layering and abstraction as a means of achieving sophisticated software programming.


Overview

Joseph Weizenbaum Joseph Weizenbaum (8 January 1923 – 5 March 2008) was a German American computer scientist and a professor at MIT. The Weizenbaum Award is named after him. He is considered one of the fathers of modern artificial intelligence. Life and caree ...
's ELIZA, running the DOCTOR script, was created to provide a
parody A parody, also known as a spoof, a satire, a send-up, a take-off, a lampoon, a play on (something), or a caricature, is a creative work designed to imitate, comment on, and/or mock its subject by means of satiric or ironic imitation. Often its sub ...
of "the responses of a non-directional psychotherapist in an initial psychiatric interview" and to "demonstrate that the communication between man and machine was superficial". While ELIZA is best known for acting in the manner of a psychotherapist, the speech patterns are due to the data and instructions supplied by the DOCTOR script. ELIZA itself examined the text for keywords, applied values to said keywords, and transformed the input into an output; the script that ELIZA ran determined the keywords, set the values of keywords, and set the rules of transformation for the output. Weizenbaum chose to make the DOCTOR script in the context of psychotherapy to "sidestep the problem of giving the program a data base of real-world knowledge", as in a Rogerian therapeutic situation, the program had only to reflect back the patient's statements. The algorithms of DOCTOR allowed for a deceptively intelligent response, which deceived many individuals when first using the program. Weizenbaum named his program ELIZA after
Eliza Doolittle Eliza Doolittle is a fictional character and the protagonist in George Bernard Shaw's play '' Pygmalion'' (1913) and its 1956 musical adaptation, ''My Fair Lady''. Eliza (from Lisson Grove, London) is a Cockney flower woman, who comes to Prof ...
, a working-class character in
George Bernard Shaw George Bernard Shaw (26 July 1856 – 2 November 1950), known at his insistence simply as Bernard Shaw, was an Irish playwright, critic, polemicist and political activist. His influence on Western theatre, culture and politics extended from ...
's '' Pygmalion''. According to Weizenbaum, ELIZA's ability to be "incrementally improved" by various users made it similar to Eliza Doolittle, since Eliza Doolittle was taught to speak with an
upper-class Upper class in modern societies is the social class composed of people who hold the highest social status, usually are the wealthiest members of class society, and wield the greatest political power. According to this view, the upper class is gen ...
accent in Shaw's play.. However, unlike in Shaw's play, ELIZA is incapable of learning new patterns of speech or new words through interaction alone. Edits must be made directly to ELIZA's active script in order to change the manner by which the program operates. Weizenbaum first implemented ELIZA in his own
SLIP Slip or SLIP may refer to: Science and technology Biology * Slip (fish), also known as Black Sole * Slip (horticulture), a small cutting of a plant as a specimen or for grafting * Muscle slip, a branching of a muscle, in anatomy Computing and ...
list-processing language, where, depending upon the initial entries by the user, the illusion of human intelligence could appear, or be dispelled through several interchanges. Some of ELIZA's responses were so convincing that Weizenbaum and several others have anecdotes of users becoming emotionally attached to the program, occasionally forgetting that they were conversing with a computer. Weizenbaum's own secretary reportedly asked Weizenbaum to leave the room so that she and ELIZA could have a real conversation. Weizenbaum was surprised by this, later writing: "I had not realized ... that extremely short exposures to a relatively simple computer program could induce powerful delusional thinking in quite normal people." 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 Ask.com (originally known as Ask Jeeves) is a question answering–focused e-business founded in 1996 by Garrett Gruener and David Warthen in Berkeley, California. The original software was implemented by Gary Chevsky, from his own design. Wa ...
or PC help systems such as Microsoft Office
Clippit The Office Assistant is a discontinued intelligent user interface for Microsoft Office that assisted users by way of an interactive animated character which interfaced with the Office help content. It was included in Microsoft Office for Windo ...
. 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. At the ICCC 1972 ELIZA was brought together with another early artificial-intelligence program named PARRY for a computer-only conversation. While ELIZA was built to speak as a doctor, PARRY was intended to simulate a patient with
schizophrenia Schizophrenia is a mental disorder characterized by continuous or relapsing episodes of psychosis. Major symptoms include hallucinations (typically hearing voices), delusions, and disorganized thinking. Other symptoms include social wit ...
.


Design

Weizenbaum originally wrote ELIZA in MAD-SLIP for CTSS on an IBM 7094, as a program to make natural-language conversation possible with a computer. To accomplish this, Weizenbaum identified five "fundamental technical problems" for ELIZA to overcome: the identification of critical words, the discovery of a minimal context, the choice of appropriate transformations, the generation of responses appropriate to the transformation or in the absence of critical words and the provision of an ending capacity for ELIZA scripts. Weizenbaum solved these problems and made ELIZA such that it had no built-in contextual framework or universe of discourse. However, this required ELIZA to have a script of instructions on how to respond to inputs from users. ELIZA starts its process of responding to an input by a user by first examining the text input for a "keyword". A "keyword" is a word designated as important by the acting ELIZA script, which assigns to each keyword a precedence number, or a RANK, designed by the programmer. If such words are found, they are put into a "keystack", with the keyword of the highest RANK at the top. The input sentence is then manipulated and transformed as the rule associated with the keyword of the highest RANK directs. For example, when the DOCTOR script encounters words such as "alike" or "same", it would output a message pertaining to similarity, in this case "In what way?", as these words had high precedence number. This also demonstrates how certain words, as dictated by the script, can be manipulated regardless of contextual considerations, such as switching first-person pronouns and second-person pronouns and vice versa, as these too had high precedence numbers. Such words with high precedence numbers are deemed superior to conversational patterns and are treated independently of contextual patterns. Following the first examination, the next step of the process is to apply an appropriate transformation rule, which includes two parts: the "decomposition rule" and the "reassembly rule". First, the input is reviewed for syntactical patterns in order to establish the minimal context necessary to respond. Using the keywords and other nearby words from the input, different disassembly rules are tested until an appropriate pattern is found. Using the script's rules, the sentence is then "dismantled" and arranged into sections of the component parts as the "decomposition rule for the highest-ranking keyword" dictates. The example that Weizenbaum gives is the input "You are very helpful", which is transformed to "I are very helpful". This is then broken into (1) empty (2) "I" (3) "are" (4) "very helpful". The decomposition rule has broken the phrase into four small segments that contain both the keywords and the information in the sentence. The decomposition rule then designates a particular reassembly rule, or set of reassembly rules, to follow when reconstructing the sentence. The reassembly rule takes the fragments of the input that the decomposition rule had created, rearranges them, and adds in programmed words to create a response. Using Weizenbaum's example previously stated, such a reassembly rule would take the fragments and apply them to the phrase "What makes you think I am (4)", which would result in "What makes you think I am very helpful?". This example is rather simple, since depending upon the disassembly rule, the output could be significantly more complex and use more of the input from the user. However, from this reassembly, ELIZA then sends the constructed sentence to the user in the form of text on the screen. These steps represent the bulk of the procedures that ELIZA follows in order to create a response from a typical input, though there are several specialized situations that ELIZA/DOCTOR can respond to. One Weizenbaum specifically wrote about was when there is no keyword. One solution was to have ELIZA respond with a remark that lacked content, such as "I see" or "Please go on". The second method was to use a "MEMORY" structure, which recorded prior recent inputs, and would use these inputs to create a response referencing a part of the earlier conversation when encountered with no keywords. This was possible due to Slip's ability to tag words for other usage, which simultaneously allowed ELIZA to examine, store and repurpose words for usage in outputs. While these functions were all framed in ELIZA's programming, the exact manner by which the program dismantled, examined, and reassembled inputs is determined by the operating script. The script is not static and can be edited, or a new one created, as is necessary for the operation in the context needed. This would allow the program to be applied in multiple situations, including the well-known DOCTOR script, which simulates a Rogerian psychotherapist. A Lisp version of ELIZA, based on Weizenbaum's CACM paper, was written shortly after that paper's publication, by Bernie Cosell. A BASIC version appeared in Creative Computing in 1977 (although it was written in 1973 by Jeff Shrager). 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. Shrager claims not to have seen either Weizenbaum's or Cosell's versions. In 2021 Jeff Shrager searched MIT's Weizenbaum archives, along with MIT archivist Myles Crowley, and found files labeled Computer Conversations. These included the complete source code listing of ELIZA in MAD-SLIP, with the DOCTOR script attached. The Weizenbaum estate has given permission to open-source this code under a Creative Commons CC0 public domain license. The code and other information can be found on the ELIZAGEN site. Another version of Eliza popular among software engineers is the version that comes with the default release of
GNU Emacs GNU Emacs is a free software text editor. It was created by GNU Project founder Richard Stallman, based on the Emacs editor developed for Unix operating systems. GNU Emacs has been a central component of the GNU project and a flagship project of ...
, and which can be accessed by typing M-x doctor from most modern Emacs implementations.


In popular culture

In 1969 George Lucas and
Walter Murch Walter Scott Murch (born July 12, 1943) is an American film editor, director, writer and sound designer. With a career stretching back to 1969, including work on '' THX 1138'', ''Apocalypse Now'', '' The Godfather I'', '' II'', and '' III'', ''Am ...
incorporated an Eliza-like dialogue interface in their screenplay for the feature film '' THX-1138''. Inhabitants of the underground future world of THX, when stressed, would retreat to "confession booths" and initiate a one-sided Eliza-formula conversation with a Jesus-faced computer who claimed to be "OMM". ELIZA influenced a number of early computer games by demonstrating additional kinds of
interface design User interface (UI) design or user interface engineering is the design of user interfaces for machines and software, such as computers, home appliances, mobile devices, and other electronic devices, with the focus on maximizing usability and t ...
s.
Don Daglow Don Daglow (born circa 1953) is an American video game designer, programmer, and producer. He is best known for being the creator of early games from several different genres, including pioneering simulation game ''Utopia'' for Intellivision in 1 ...
wrote an enhanced version of the program called '' Ecala'' on a
DEC PDP-10 Digital Equipment Corporation (DEC)'s PDP-10, later marketed as the DECsystem-10, is a mainframe computer family manufactured beginning in 1966 and discontinued in 1983. 1970s models and beyond were marketed under the DECsystem-10 name, especi ...
minicomputer at
Pomona College Pomona College ( ) is a private liberal arts college in Claremont, California. It was established in 1887 by a group of Congregationalists who wanted to recreate a "college of the New England type" in Southern California. In 1925, it became t ...
in 1973 before writing the computer role-playing game ''
Dungeon A dungeon is a room or cell in which prisoners are held, especially underground. Dungeons are generally associated with medieval castles, though their association with torture probably belongs more to the Renaissance period. An oubliette (from ...
'' (1975). ELIZA is given credit as additional vocals on track 10 of the
eponym An eponym is a person, a place, or a thing after whom or which someone or something is, or is believed to be, named. The adjectives which are derived from the word eponym include ''eponymous'' and ''eponymic''. Usage of the word The term ''epon ...
ous ''Information Society'' album. In the 2008 anime ''RD Sennou Chousashitsu'', also known as ''
Real Drive is an anime TV series created by Production I.G and Masamune Shirow (known for the ''Ghost in the Shell'' and ''Appleseed (manga), Appleseed'' franchises) under the directorship of Kazuhiro Furuhashi, produced in collaboration with broadcast ...
'', a character named Eliza Weizenbaum appears, an obvious tribute to ELIZA and
Joseph Weizenbaum Joseph Weizenbaum (8 January 1923 – 5 March 2008) was a German American computer scientist and a professor at MIT. The Weizenbaum Award is named after him. He is considered one of the fathers of modern artificial intelligence. Life and caree ...
. Her behavior in the story often mimics the responses of the ELIZA program. The 2011 video game '' Deus Ex: Human Revolution'' and the 2016 sequel '' Deus Ex: Mankind Divided'' features an artificial-intelligence Picus TV Network newsreader named Eliza Cassan. In
Adam Curtis Adam Curtis (born 26 May 1955) is an English documentary filmmaker. Curtis began his career as a conventional documentary producer for the BBC throughout the 1980s and into the early 1990s. The release of ''Pandora's Box'' (1992) marked the ...
's 2016 documentary, '' HyperNormalisation'', ELIZA was referenced in relationship to
post-truth Post-truth is a term that refers to the 21st century widespread documentation of and concern about disputes over public truth claims. The term's academic development refers to the theories and research that explain the historically specific cause ...
. In the twelfth episode of the American sitcom ''
Young Sheldon ''Young Sheldon'' is an American coming-of-age sitcom television series created by Chuck Lorre and Steven Molaro for CBS. The series, set in the late 1980s and early 1990s, is a spin-off prequel to ''The Big Bang Theory'' and begins with the ...
'', aired in January 2018, starred the protagonist "conversing" with ELIZA, hoping to resolve a domestic issue. On August 12, 2019,
independent game developer An indie game, short for independent video game, is a video game typically created by individuals or smaller development teams without the financial and technical support of a large game publisher, in contrast to most "AAA" (triple-A) games. ...
Zachtronics Zachtronics LLC is an American indie video game studio, best known for their engineering puzzle games and programming games. Zachtronics was founded by Zach Barth in 2000, who serves as its lead designer. Some of their products include '' SpaceChe ...
published a
visual novel A , often abbreviated as VN, is a form of digital semi-interactive fiction. Visual novels are often associated with and used in the medium of video games, but are not always labeled as such themselves. They combine a textual narrative with sta ...
called ''
Eliza ELIZA is an early natural language processing computer program created from 1964 to 1966 at the MIT Artificial Intelligence Laboratory by Joseph Weizenbaum. Created to demonstrate the superficiality of communication between humans and machines, ...
'', about an AI-based counseling service inspired by ELIZA.


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 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 ''Plug & Pray'' is a 2010 documentary film about the promise, problems and ethics of artificial intelligence and robotics Robotics is an interdisciplinary branch of computer science and engineering. Robotics involves design, construction ...
'' (2010) Weizenbaum said that only people who misunderstood ELIZA called it a sensation. The
Israel Israel (; he, יִשְׂרָאֵל, ; ar, إِسْرَائِيل, ), officially the State of Israel ( he, מְדִינַת יִשְׂרָאֵל, label=none, translit=Medīnat Yīsrāʾēl; ), is a country in Western Asia. It is situated ...
i 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 Hebrew (; ; ) is a Northwest Semitic language of the Afroasiatic language family. Historically, it is one of the spoken languages of the Israelites and their longest-surviving descendants, the Jews and Samaritans. It was largely preserved ...
– under the title ''My Electronic Psychiatrist – Eight Authentic Talks with a Computer''. In the foreword he presented it as a form of
constrained writing Constrained writing is a literary technique in which the writer is bound by some condition that forbids certain things or imposes a pattern. Constraints are very common in poetry, which often requires the writer to use a particular verse form. ...
. 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.. For
MS-DOS MS-DOS ( ; acronym for Microsoft Disk Operating System, also known as Microsoft DOS) is an operating system for x86-based personal computers mostly developed by Microsoft. Collectively, MS-DOS, its rebranding as IBM PC DOS, and a few ope ...
computers, some
Sound Blaster Sound Blaster is a family of sound cards designed by Singaporean technology company Creative Technology (known in the US as Creative Labs). Sound Blaster sound cards were the de facto standard for consumer audio on the IBM PC compatible system pl ...
cards came bundled with Dr. Sbaitso, which functions like the DOCTOR script. 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 ''The Prisoner'' is a 1967 British television series about an unnamed British intelligence agent who is abducted and imprisoned in a mysterious coastal village, where his captors designate him as Number Six and try to find out why he abruptl ...
'' incorporated ELIZA-style interaction within its gameplay. In 1988 the British artist and friend of Weizenbaum Brian Reffin Smith created two art-oriented ELIZA-style programs written in BASIC, one called "Critic" and the other "Artist", running on two separate
Amiga 1000 The Commodore Amiga 1000, also known as the A1000, is the first personal computer released by Commodore International in the Amiga line. It combines the 16/32-bit Motorola 68000 CPU which was powerful by 1985 standards with one of the most adv ...
computers and showed them at the exhibition "Salamandre" in the Musée du Berry, Bourges, France. 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 GNU Emacs is a free software text editor. It was created by GNU Project founder Richard Stallman, based on the Emacs editor developed for Unix operating systems. GNU Emacs has been a central component of the GNU project and a flagship project of ...
formerly had a psychoanalyze-pinhead
command Command may refer to: Computing * Command (computing), a statement in a computer language * COMMAND.COM, the default operating system shell and command-line interpreter for DOS * Command key, a modifier key on Apple Macintosh computer keyboards * ...
that simulates a session between ELIZA and
Zippy the Pinhead Zippy the Pinhead is a fictional character who is the protagonist of ''Zippy'', an American comic strip created by Bill Griffith. Zippy's most famous quotation, "Are we having fun yet?", appears in ''Bartlett's Familiar Quotations'' and became a ...
. 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. It was also featured in a 2012 exhibit at
Harvard University Harvard University is a private Ivy League research university in Cambridge, Massachusetts. Founded in 1636 as Harvard College and named for its first benefactor, the Puritan clergyman John Harvard, it is the oldest institution of high ...
titled "Go Ask
A.L.I.C.E. A.L.I.C.E. (Artificial Linguistic Internet Computer Entity), also referred to as Alicebot, or simply Alice, is a natural language processing chatterbot—a program that engages in a conversation with a human by applying some heuristical pattern ...
", as part of a celebration of mathematician
Alan Turing Alan Mathison Turing (; 23 June 1912 – 7 June 1954) was an English mathematician, computer scientist, logician, cryptanalyst, philosopher, and theoretical biologist. Turing was highly influential in the development of theoretical co ...
's 100th birthday. The exhibit explores Turing's lifelong fascination with the interaction between humans and computers, pointing to ELIZA as one of the earliest realizations of Turing's ideas.


See also

*
ELIZA effect The ELIZA effect, in computer science, is the tendency to unconsciously assume computer behaviors are analogous to human behaviors; that is, anthropomorphisation. Overview In its specific form, the ELIZA effect refers only to "the susceptibility ...


References


Bibliography

* * . * . * Norvig, Peter.
Paradigms of Artificial Intelligence Programming
'' (San Francisco: Morgan Kaufmann Publishers, 1992), 151–154, 159, 163–169, 175, 181. . * Wardip-Fruin, Noah. ''Expressing Processing: Digital Fictions, Computer Games, and Software Studies.'' (Cumberland: MIT Press, 2014), 24–36. .


External links


Collection
of several source code versions at
GitHub GitHub, Inc. () is an Internet hosting service for software development and version control using Git. It provides the distributed version control of Git plus access control, bug tracking, software feature requests, task management, continu ...
* , 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.
CORECURSIVE #078; The History and Mystery Of Eliza; With Jeff Shrager
– Adam Gordon Bell interviews Jeff Shrager, author of the 1973/77 BASIC ELIZA, and discoverer of the original ELIZA code. {{DEFAULTSORT:Eliza History of artificial intelligence Chatbots Health software Psychotherapy Public-domain software with source code