TechnologyEarly chatbot

ELIZA

Also known as: DOCTOR

Early natural language program written by Joseph Weizenbaum at MIT in the mid-1960s, often described as the first chatbot.

ELIZA is an early natural language conversation program written by Joseph Weizenbaum at MIT between 1964 and 1966, often described as the first chatbot. Users typed sentences in English and received typed replies that seemed responsive. Its best-known script, DOCTOR, imitated a Rogerian psychotherapist, a style of therapy in which the therapist reflects the patient's statements back as questions. That choice allowed the program to keep a conversation going while knowing almost nothing about the world.

ELIZA worked by simple pattern matching. It scanned input for keywords ranked by importance, applied decomposition rules that broke a sentence into parts and reassembly rules that rearranged those parts into a reply, swapping pronouns such as "my" for "your". When no keyword matched, it fell back on neutral prompts. Weizenbaum wrote it in the MAD-SLIP language for an IBM 7094 running MIT's time-sharing system and described it in a 1966 paper in Communications of the ACM. Scripts were separate from the program, so it could be adapted to other conversational roles.

Weizenbaum was disturbed by how readily people confided in the program and attributed understanding to it, even when they knew how it worked. This tendency to read intelligence and empathy into simple output became known as the ELIZA effect, and it is still relevant to chatbots built on large language models. His concerns led to the 1976 book "Computer Power and Human Reason", which argued that some decisions should not be delegated to computers. ELIZA is also a touchstone in debates about the Turing test and machine understanding, alongside the Chinese room argument argument.

Key points

  • ELIZA, written by Joseph Weizenbaum at MIT in the mid-1960s, is often called the first chatbot.
  • Its DOCTOR script imitated a Rogerian therapist by reflecting statements back as questions.
  • Keyword matching and reassembly rules produced replies without any real understanding.
  • The ELIZA effect names the tendency to attribute understanding to simple conversational programs.

Related entries

Person

Joseph Weizenbaum

AIIdeas and Culture

German-American computer scientist who created the ELIZA chatbot at MIT and became a leading critic of uncritical faith in computers.

Glossary term

Turing Test

AIIdeas and Culture

Test proposed by Alan Turing in 1950 in which a machine is judged intelligent if its text conversation cannot be reliably told apart from a human's.

Glossary term

Chinese Room Argument

AIIdeas and Culture

Thought experiment by philosopher John Searle, published in 1980, arguing that running a program cannot by itself produce understanding or a mind.

Glossary term

Field of AI and linguistics concerned with enabling computers to analyze, understand and generate human language in text and speech.

Technology

Conversational AI assistant from OpenAI, launched in 2022, that answers questions, writes text and code and performs tasks through a chat interface.

Glossary term

Neural network trained on very large amounts of text to predict the next token, able to generate language and perform many tasks from prompts.

Glossary term

Approach to artificial intelligence that represents knowledge with explicit symbols and rules and manipulates them through logic and search.

Glossary term

Artificial Intelligence

AIIdeas and Culture

Field of computer science that builds systems able to perform tasks usually associated with human intelligence, such as reasoning, learning and perception.

Featured in guides

Referenced by

Other entries that discuss or point to ELIZA.