In 1966, a woman sat down at a terminal in Joseph Weizenbaum's lab at MIT and typed a few lines to DOCTOR, the program he had been building. After only a few interchanges she looked up and asked him to leave the room. By the story's telling, she wanted her conversation with ELIZA to be a real one, and she wanted it private.
Weizenbaum could not take this as a joke. She had watched him work on the program for many months, and she surely knew it was merely a program. It ran only a few hundred lines of code. He later wrote that he was startled at how quickly people became emotionally involved with DOCTOR and treated it as if it were human. His secretary was one of several who credited the program with human-like feelings, a reaction that would later be called the ELIZA effect.
What stayed with him was the way people leaned toward a few hundred lines of code as if someone were listening on the other end. So why would he go on to become one of AI's sharpest critics?

A therapist who never has to know anything
Joseph Weizenbaum set out to build a program that could hold up its end of a conversation, and he saw the trap at once. A machine knows nothing about the world, and sooner or later a question would expose it. He began the work at MIT in 1964 and would not finish until 1967, and through all those years he needed a way to keep the program from being found out.

His answer was a mask. He chose the Rogerian psychotherapist, a kind of counselor who often reflects the patient's own words back. A program playing that role never had to supply facts of its own. It could turn a patient's statement around, hand it back as a question, and so keep the conversation moving forward.
Weizenbaum had an example of why the setting worked so well. Picture a psychiatrist who asks a patient about San Francisco's fishing fleet. Nobody in the consulting room concludes that the doctor is ignorant of boats. The setting itself hides the gap, and the patient fills in a wise listener behind the question.
Everyone nods, repeats a phrase, asks a gentle question, and each guest leaves believing the others were following along.
The name came next. Weizenbaum called the program ELIZA, after Eliza Doolittle, the working-class girl in Shaw's Pygmalion, who is taught to speak so well that she passes for something she is not. The more direct link ran through the musical My Fair Lady, which came out in 1964, the year Weizenbaum started.
Keywords, ranks and a remark with no content
Weizenbaum typed a line at a teletype, then waited for the machine to answer on the same keyboard. He had written the program in a language called MAD-SLIP, for CTSS, the Compatible Time-Sharing System, running on an IBM 7094. Talking with a computer this way was new in 1966. MIT's time-sharing system let a person talk to a computer while it ran, and the personal computer was still 11 years away from becoming familiar to the public.
He had five technical problems to solve, and three of them show how little the program would know: finding a keyword, working with minimal context, and transforming what the user had typed. ELIZA never grasped a sentence. It matched patterns and substituted words, and that was enough to give users the illusion of understanding.
The program scanned the input for keywords, gave each a value, and rewrote the sentence. A separate script supplied the keywords, the values and the rules. Every keyword in the script carried a precedence number, a rank, that the programmer set by hand.
Pronouns showed the method most plainly. The script swapped first person for second and back again, whatever the context, because those words carried high precedence numbers. "I" became "you" without any sense of who was speaking. Then a reassembly rule took the fragments of the user's sentence, rearranged them and added programmed words to build a reply.
The harder case was a sentence with no keyword at all. For that gap Weizenbaum had one solution: a remark with no content, a nod that committed the program to nothing. He also built a structure called MEMORY, which kept recent inputs so ELIZA could circle back to something said earlier.
The New Yorker would later compare it to an automated Mad Libs, with the user's own keywords slotted into open-ended replies.
The vice president who woke Bobrow at night
Shortly after Weizenbaum's paper appeared in the journal Communications of the ACM, Bernie Cosell sat down and wrote ELIZA again in a different programming language, Lisp. Someone made a copy almost immediately, and the copy went viral. Weizenbaum's own version became obsolete, then slipped out of sight, and it stayed lost to history for more than 50 years.
Out in the world, the program did what it had been built to do: it produced a seemingly intelligent response, and it reportedly deceived some early users. Weizenbaum kept insisting that nothing intelligent was inside. Many of those users stayed convinced anyway.
Daniel Bobrow told it. He had written STUDENT, an early program that solved high-school algebra problems, so he knew better than most what a machine could and could not do.
In his telling, a vice president at Bolt, Beranek and Newman (BBN), the Cambridge research firm where Bobrow worked, found a teletype running a version of DOCTOR. The vice president took it for a line to Bobrow's home and assumed Bobrow was typing from the other end.
The vice president did not take it well. He phoned Bobrow, angry, and woke him from sleep. He accused Bobrow of being snotty, certain that a person had been mocking him through the keyboard.
Bobrow said it took a while to convince the man that he had been talking to a computer.
Doctors who wanted a machine therapist
Academics began telling Weizenbaum what his program was good for. Many of them believed it could do real good for people with psychological problems, and that it could aid the doctors who treated them. The mask he had chosen as a joke about ignorance, a therapist who only reflects, now looked to them like a therapist.
One researcher took the idea further than talk. Kenneth Colby worked at Stanford, across the country from Weizenbaum's lab at MIT, and he appears to have seen ELIZA as a potential clinical agent, a program that could do therapeutic work inside a time-sharing system, where many users share one computer.
Colby built a program of his own, called PARRY. Where ELIZA played the doctor, PARRY played the patient, a simulation of a person with schizophrenia.
In 1972, at the ICCC conference, someone put them together. No human typed a word. ELIZA, which could only reflect, faced PARRY, which was built to be reflected upon, and the two machines held a conversation while people watched.
He wrote what troubled him most. Very short exposures to a simple program, he said, could induce powerful delusional thinking in quite normal people.
A paper could correct a technical misunderstanding. Weizenbaum chose to answer with more than a paper. He would write a book.
A book that made him an outcast
In 1976, Weizenbaum sat down and wrote a book, Computer Power and Human Reason: From Judgment to Calculation. The book grew out of unease more than theory. The responses of lay people to ELIZA had disturbed him, and he wanted to say why.
The book cost him his place. Colleagues in artificial intelligence (AI) stopped treating him as one of their own, and Weizenbaum became persona non grata in the field he had helped start.
He never softened the judgment. Decades later, in the documentary Plug & Pray, he said that only people who misunderstood ELIZA had called it a sensation. Part of the confusion was about what people thought they were talking to. Most know ELIZA through DOCTOR, the therapist script, and the two names are often used as if they meant the same thing.
A 2024 paper offers another reading of what Weizenbaum wanted. Its author argues that he never meant to build a chatbot, a word that did not exist until the mid-1990s. In this view he wanted a platform for research into human-machine conversation and interpretation. Fame blurred that purpose, the author says, because it came largely from fortuitous timing and from the program's escape into the wild.
In a Turing test with GPT-4, a human judge took GPT-4 for a person in 49.7% of games, while real humans were judged human in 66%.

The same paper also scored the old therapist. ELIZA was judged human in 22% of games, ahead of GPT-3.5 at 20%. Yet the program itself had vanished.
Five lines an hour: reading the lost original
In 2021, Jeff Shrager and Myles Crowley, an archivist at MIT, went through Weizenbaum's papers and found files labeled Computer Conversations. One key box stayed shut until the two men opened it during a Covid-era Zoom call, Crowley holding the camera over the lid. Inside lay a file printed on fanfold paper, the kind that comes as one long accordion-folded sheet with perforated edges, and somewhere in its pages sat a version of ELIZA.
The team had to read it the slow way. The program was written in MAD-SLIP, an old language few people can read today, and it ran only 411 lines. Some hours the readers got through just five of them. Each line had to be puzzled out and checked against the others, because the original had been lost while the copies multiplied.
On December 21, the recovered ELIZA ran for the first time after decades of silence. The team also found a bug in the code. They chose to leave it in place, and Shrager compared fixing it to fixing a stroke in the Mona Lisa.
When Shrager looked back at what the old program did well, he named one thing it did better than modern chatbots: it listened. Today's large language models complete sentences, he said, while ELIZA prompted users to continue. That was the pull a secretary had felt in 1966, after watching Weizenbaum build the program for months and knowing every line of its trick. She asked him to leave the room, and the door closed on a conversation she wanted to keep going.
Cover: ArnoldReinhold · CC BY-SA 3.0 · Wikimedia Commons. Layout and headline text by Signal Titans.
Source: A Secretary, a Script and a Shock: Joseph Weizenbaum and the Chatbot He Wished He Hadn't Built · [2310.20216] Does GPT-4 pass the Turing test? · ELIZA Reinterpreted: The world’s first chatbot was not intended as a chatbot at all · 'ELIZA,' the world's 1st chatbot, was just resurrected from 60-year-old computer code | Live Science · www.cogs.susx.ac.uk · colorful personalities · The Samantha Test | The New Yorker · Reading ELIZA: Critical Code Studies in Action | ebr · Digital Ruins and Critical Code Studies: Towards an Ethics of Historical Software Reconstruction

Leave a Reply