PARRY

On this page 7

PARRY was a natural language conversation program developed by psychiatrist Kenneth Colby at Stanford University in the early 1970s to simulate the thinking and speech of a person with paranoid schizophrenia. In AI history, it stands out as one of the first chatbots with an explicit internal model of emotion and belief, and as the subject of an early indistinguishability experiment with psychiatrists.

Where its famous predecessor ELIZA reflected the user’s words back without any inner state, PARRY pursued its own delusional storyline and reacted to perceived threats. That made it a deliberate attempt to build a computational theory of a mental disorder, not merely a conversational trick.

Origins and purpose of PARRY

Colby approached artificial intelligence from clinical psychiatry. His aim was to formalize a theory of paranoia as a set of rules that could be run, tested and compared with real patients. The first detailed description appeared in the 1971 paper “Artificial Paranoia” by Colby, Sylvia Weber and Franklin Hilf, and the program was refined through the 1970s at the Stanford Artificial Intelligence Laboratory.

The simulated patient was a 28-year-old man who believed that bookies and the Mafia were pursuing him after a dispute at a racetrack. This persona gave the program a coherent delusional theme that it could steer conversations toward, which made its replies feel purposeful rather than random.

The table below places PARRY among the landmark systems of the period.

AttributeDetails
CreatorKenneth Colby, psychiatrist and AI researcher
InstitutionStanford University
PeriodDeveloped from about 1971, refined through the 1970s
Implementation languageMLISP, a Lisp dialect, on a PDP-10 time-sharing computer
Simulated conditionParanoid schizophrenia with persecutory delusions
Input modeTyped English sentences at a teletype terminal
Key facts about PARRY

How PARRY modeled beliefs and emotions

PARRY combined pattern-based language understanding with a small set of numeric affect variables. Each input sentence was matched against a large library of patterns, classified by meaning, and then evaluated for whether it contained a threat, an insult, a helpful remark or a reference to the delusional topics.

The evaluation updated three internal states, which then determined the style and content of the reply. The following table summarizes their roles.

VariableRaised byEffect on replies
FearRemarks perceived as physical or social threatsEvasive answers, attempts to change topic
AngerInsults, accusations, perceived humiliationHostile, curt or defensive replies
MistrustAccumulated fear and anger, probing questionsSuspicion of the interviewer, refusal to answer
Internal affect variables in PARRY

Because the variables carried over between turns, PARRY had conversational memory of mood. A sympathetic interviewer could gradually lower its mistrust and hear more of the delusional story, while a confrontational one could make it withdraw or end the interview. This dynamic made it far more convincing than a stateless responder.

Later versions improved robustness by normalizing input before matching: the program removed filler words, replaced idioms and synonyms with canonical forms and tolerated misspellings. This preprocessing let a few thousand patterns cover a much wider range of typed questions, an engineering technique that rule-based chatbots used for decades afterward.

The psychiatrist experiment

Colby and colleagues tested PARRY with a procedure that resembled a restricted Turing test. Psychiatrists conducted typed interviews without knowing whether a real patient or the program was on the other end, and further groups of psychiatrists later judged the transcripts.

The judges could not reliably separate PARRY from the patients. In the commonly reported result, they identified the source correctly in about 48 percent of cases, roughly the rate expected from guessing. The outcome is often cited as the first program to pass a version of the Turing test, although that claim needs qualification.

  • The domain was narrow: paranoid speech is expected to be evasive, so odd replies did not reveal the machine.
  • Judges were not adversarial: they evaluated clinical plausibility rather than trying to expose a computer.
  • Channel limits helped: teletype interviews removed voice, timing and appearance cues.
  • Critics such as Joseph Weizenbaum argued that simulating a disordered mind is easier than simulating general conversation.

PARRY compared with ELIZA and later chatbots

PARRY is most often discussed alongside ELIZA, created by Joseph Weizenbaum in the mid-1960s. In 1972, the two programs were connected over the ARPANET in a demonstration associated with the International Conference on Computer Communication, producing a transcript in which a simulated paranoid patient met a simulated psychotherapist.

FeatureELIZA (DOCTOR script)PARRYA.L.I.C.E.
EraMid-1960sEarly 1970sMid-1990s
Conversational rolePassive therapistActive patient with an agendaGeneral small talk
Internal stateNone beyond keyword memoryFear, anger and mistrustSimple context variables
Goal of the authorShow the superficiality of dialogueModel a psychiatric theoryWin conversation contests
EvaluationAnecdotal user reactionsBlinded psychiatrist judgmentsLoebner Prize competitions
PARRY versus ELIZA and later rule-based chatbots

The comparison shows PARRY’s distinctive contribution: it treated a chatbot as a scientific model to be validated, an idea that resurfaced decades later in research on believable agents, affective computing and character simulation.

Limitations and historical significance

PARRY had no real understanding of language or the world. Its patterns covered expected interview topics well, but unusual questions exposed canned responses, and its knowledge was limited to its own invented biography. It also could not learn from conversations beyond adjusting its affect values.

The project also raised ethical questions that remain familiar. Weizenbaum, troubled by how readily people confided in ELIZA, objected to the idea that machines might one day conduct psychiatric interviews. Colby, by contrast, believed that computer-based therapy could extend care to people who lacked access to clinicians, a debate that has returned with modern mental health chatbots.

Its significance lies in three ideas that outlived the program: emotion as explicit state in a dialogue system, blinded expert evaluation of machine behavior, and the warning that narrow, constrained domains make imitation easier. Each idea still shapes how researchers interpret claims that a chatbot is humanlike.

Understanding it simply

PARRY was a computer program that pretended to be a frightened, suspicious patient. You typed questions, and it typed answers. It kept track of how scared, angry and distrustful it felt.

If you were kind, it slowly opened up. If you were rude, it shut down. Doctors reading its answers often could not tell it from a real patient. That was impressive, but it worked partly because confused and guarded speech is easy to imitate.

Applied in practice

Colby saw PARRY as a training and research tool for psychiatry. A resident could interview the program repeatedly, try different questioning styles and see how each one changed the patient’s level of fear and mistrust, without any risk to a real person.

In a typical session, a trainee who opened with blunt questions about hallucinations would receive short, hostile replies, while one who first asked about the patient’s work and the racetrack would gradually hear the full story about the bookies. The contrast demonstrated a clinical lesson in a repeatable way: rapport changes what a paranoid patient discloses.

Today, teachers of AI history use the PARRY and ELIZA transcripts to show students how simple rules plus a narrow role can produce a strong illusion of understanding, a lesson directly relevant to evaluating modern chatbots.