世界初のチャットボット ELIZA の多様な人格
本文の状態
日本語全文を表示中
詳細モードで約20分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
IEEE Spectrum AI
MIT アーカイブから発掘されたオリジナルのソースコード分析により、ELIZA が単なる単純なパターンマッチングプログラムではなく、複数の人格を演じる高度なプラットフォームであったことが判明した。
AI深層分析を開く2026年8月4日 13:58
AI深層分析
キーポイント
ELIZA の再評価と新発見
MIT アーカイブから発掘されたオリジナルのソースコード分析により、ELIZA が単なる単純なパターンマッチングプログラムではなく、複数の人格を演じる高度なプラットフォームであったことが判明した。
多様な人格と機能
「Doctor」として知られるスクリプト以外にも、編集機能や文脈記憶機能を備えた複雑な仕組みがあり、複数の異なるペルソナを切り替える能力を持っていたことが示された。
計算機との対話の転換点
1960 年代半ばに登場した ELIZA は、人間が機械とリアルタイムで対話する考え方を根本から変え、現代の AI 利用や SF 的な期待形成に決定的な影響を与えた。
ELIZA エフェクトの再検証
この発見は、後世の再構築や解釈に依存せず実際のコードを検証することで、ELIZA が持つ能力や「意識がある」という誤解(ELIZA エフェクト)に関する既成概念を挑戦するものである。
ELIZA は複数の人格スクリプトを実装可能なプラットフォームである
ELIZA は単なるパターンマッチングプログラムではなく、編集機能や文脈記憶を備えた多様な役割(ペルソナ)を演じられるシステムであった。
重要な引用
In fact, it could assume several different personas.
The source code reveals that ELIZA was not merely a simple pattern-matching chatbot but can be better understood as a sophisticated platform designed for multiple 'personas,' or scripts
ELIZA demonstrated how a calculation machine might engage in conversation
"This code and script…reveal underlying assumptions about language, therapy, and human-computer interaction that continue to influence modern AI development."
編集コメントを表示
編集コメント
ELIZA の真の能力が解明されたことは、AI が単なるツールではなく、人間との関係性を模索する複雑な存在として進化してきた過程を浮き彫りにしている。この発見は、現在の生成 AI ブームにおける「意識」や「人格」といった議論に、歴史的な文脈と技術的根拠を提供する重要な一歩である。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。

ELIZA は、世界初の AI スターとして知られています。チャットボットの姿をした温かい心理療法士であり、ユーザーの悩みを優しく掘り下げる存在でした。その生みの親であるジョセフ・ワイゼンバウムでさえ、人間と機械の相互作用に関する彼の実験に対して寄せられた温かい反応に驚きました。ある人々にとっては自動化された心理療法の時代の到来を告げるものとなり、また別の人々にとってはプログラム自体が意識を持っていることを示す証拠だと信じられました。しかしこれは後に「ELIZA 効果」と呼ばれる誤解であることが判明しました。
公開されている記述に基づき、ELIZA は多くの異なるコンピュータで実装されてきましたが、MIT のアーカイブから実際のソースコードが発掘されたのはつい最近のことです。
MIT プレスから直近刊行された『Inventing ELIZA: How the First Chatbot Shaped the Future of AI』では、研究チームがそのコードを分析し、単なる精神科医のまねごと以上の複雑なプログラムであることを明らかにしました。実は、ELIZA は複数の異なる人格を演じることが可能だったのです。著者たちはまた、本書の抜粋を読み終わった後に実際に試せる、心理療法士役の忠実なエミュレーションも作成しています。
1960 年代半ばに登場した ELIZA というソフトウェアは、人々がコンピュータとどう向き合うべきかという考え方を一変させました。初のチャットボットとして ELIZA は、計算機がどのように対話できるかを示し、今日まで響き続ける数多くの社会的・技術的な問いを投げかけました。
今や私たちは、リアルタイムで機械とやり取りしたり、テキストを通じて会話したり、空に向かって声をかけて天気を確認したりすることに、ほとんど疑問を抱きません。多くの点で、ELIZA はコンピュータとの関わり方だけでなく、コンピュータそのものへの考え方も形作りました。それは、SF 小説で描かれていた「コンピュータがどう動くべきか」という期待に、現実味を与え始めたのです。
image この記事は、MIT プレスから 2026 年に刊行される新書『Inventing ELIZA: How the First Chatbot Shaped the Future of AI』からの抜粋です。
ELIZA は完璧な会話相手とは程遠いものでしたが、それでも利用者を驚かせました。最近発見されたオリジナルの ELIZA ソースコードを考古学的に解明したことは、コンピューター史における重要な介入と言えます。後世の再構築や再実装に頼るのではなく、実際の ELIZA の実装を直接検証することで、この重要なソフトウェアアーティファクトに対する常識的な前提に疑問を投げかけることができます。
例えば、ソースコードを紐解くと、ELIZA は単なる単純なパターンマッチングチャットボットではなく、「ペルソナ」やスクリプトと呼ばれる複数の役割に対応できる洗練されたプラットフォームとして捉えるべきであることがわかります。その機能にはスクリプトの編集や文脈記憶など、複雑な能力セットが含まれていました。多くの人々が ELIZA プログラムと同一視しているのは、実際には「Doctor」と呼ばれるスクリプトで、これは心理療法士の役割を演じるものでした。しかし、現代のチャットボットがプロンプトによって異なる人格を演じるように、ELIZA もまた多様な役割を引き受けることができました。
「このコードとスクリプトは、言語やセラピー、人間とコンピュータの相互作用に関する根本的な前提を示しており、それらは現代の AI 開発に今も影響を与え続けています」
こうして発掘された資料は、ジョゼフ・ワイゼンバウムが技術的に先駆的な革新を成し遂げていたことを示すことで、初期の AI 開発に対する私たちの理解を変えます。さらに、彼が公表した記述と実際の実装との間の不一致は、理論的な計算モデルとコンピュータソースコードにおける具体的な実装との間に存在するギャップを浮き彫りにします。この緊張関係は、今日のデジタル文化にも影響を与え続けています。
ELIZA 登場から数十年の間に数々の技術革新が生まれましたが、その ELIZA/Doctor のコードを検証することは、人間との対話をモデル化する試みの初期段階を垣間見る貴重な機会です。ELIZA が特に興味深いのは、歴史的な意義だけでなく、ウィーゼンバウムがコンピュータと人間の相互作用について持っていた見解を浮き彫りにしている点にあります。このコードやスクリプトは単に 1960 年代のプログラミング技法を見せるものではなく、言語、療法、そして人間とコンピュータの相互作用に関する基礎的な前提を示しています。これらの前提は現代の AI 開発にもなお影響を与え続けています。
このコードを検証することで、単純なパターンマッチングシステムがいかにして理解の巧妙なシミュレーションを可能にしたのか、その背後にある高度な言語処理やプログラミング技法に迫ることができます。ただし、コード行を読み解く前に、まずシステムの概要をお伝えしましょう。
ELIZA はどのようにペルソナを作り出したか
ELIZA と Doctor のアーキテクチャの違いは、AI 史における重要な設計判断を象徴しています。ELIZA を対話システムと捉え、Doctor をウィーゼンバウムが考案したルールセットの一つと考えるのが適切です。この分離は、ELIZA における「システム」と「スクリプト」の二重構造として現れており、設定データをデータとして扱う手法やプラグインアーキテクチャ、ドメイン固有言語など、現代のソフトウェアパターンを先取りするものでした。
image 公開された学術論文に基づき、ELIZA は IBM PC など多くのプラットフォームで再現されました。しかし、実際のソースコードは長年にわたり MIT のアーカイブ内で眠ったままだったのです。
疑いの余地なく、1960 年代というコンピューティングの歴史的コンテキストが ELIZA のアーキテクチャを根本的に形作りました。当時の物質的な制約を反映した設計判断は「経路依存性」を生み、やがてプログラミング文化における規範へと定着しました。ELIZA が採用した単一パス処理、テープベースの記憶装置、スタック指向の実装といった制約もその表れです。しかし、これらの制限の中でウィーゼンバウムは洗練された解決策を編み出しました。ユーザーには見えないこれらの技術的特徴こそが、ELIZA をこれほどまでに魅力的にした「理解している」という錯覚を生むために不可欠な要素だったのです。
ウィーゼンバウムは 1966 年 1 月号の学術誌『Communications of the Association for Computing Machinery (CACM)』に掲載された 10 ページの論文で、ELIZA の多くの技術的特徴について解説しています。ただし、彼は重要な詳細の一部についてはあえて省略しました。
その論文の中でウィーゼンバウムが公開した ELIZA の最も有名な対話例は、以下のように始まります。
Men are all alike.
IN WHAT WAY
They’re always bugging us about something or other.
CAN YOU THINK OF A SPECIFIC EXAMPLE
Well, my boyfriend made me come here.
1966 年に公開された ELIZA のデビューを飾ったこの対話は、ドクター・スクリプトによって生成された例の一つです。ELIZA のソースコードを見つけ、そのドクター・スクリプトがどのように機能するかを検証したことで、私たちはシステムにおけるこれら 2 つの独立した部分をより深く理解できるようになり、ELIZA が持つ数多くの他のペルソナにも目を向けられるようになりました。現在知られている他のスクリプトの中には、数学、詩、色彩、パラドックス、同期、相対性理論、フランス、エレベーターといった話題について ELIZA に議論させるようにプログラムされたものも含まれています。
これらのスクリプトはテンプレートのように機能します。特定のタスクや役割を「演じる」よう ELIZA システムに指示を与える構造化データです。ドクター・スクリプトを含む多様なスクリプトとの対話から収集されたアーカイブおよび公開済みの ELIZA 対話を比較検討することで、ボット・ペルソナとその動作についてより深く理解できます。特に重要なのは、システムと利用者との間にどのような社会的なダイナミクスを引き起こすかに注目することです。
究極的に、これらの対話やスクリプトを研究することは、ボットとユーザーが協働して相互作用の感覚を共創するという点において、協力が果たす決定的な役割を示しています。ELIZA の能力と会話の可能性の全貌を理解するためには、この ELIZA システムのために作成された多様なスクリプトを見ていく必要があります。
各ELIZAスクリプトを特徴づけるのは、その主題だけでなく、内容を伝えるために用いられる言語的・様式的な選択です。これらの選択は中立的なものではなく、スクリプトの言語パターンや語彙、対話のアプローチを通じて現れる特定のペルソナを構築するものと言えます。つまり、何を言うかだけでなく、どのように言うかも重要なのです。
「目指したのは機能的な自動療法士を作ることでなく、プログラミング環境の制約に合う適切な役割を見つけることでした」
例えば、Doctorスクリプトではワイツェンバウムは意図的にロジャー派の「対話型」療法士のスタイルを模倣しました。このペルソナを選んだのは、精神科医との対話が、一人が「現実世界についてほとんど何も知らないという姿勢をとる」ことが許容される数少ない会話形態の一つだからです。例えば、患者が「長いボート旅行に行ってきた」と話しても、医師が「ボートについて教えてください」と返せば、その医師はボートについて何も知らないのではなく、会話を特定の方向へ導く意図があるのだと理解されます。
image ELIZAの最初のユーザーは、テレタイプ端末を通じてこれと対話しました。VCF Museum at InfoAge
したがって、ELIZAのために作られた最も有名なペルソナは、技術的な都合によるものでした。人間とコンピュータの相互作用の専門家であるルーシー・サックマンが説明するように、「ドクタープログラムは、『共有された前提は言葉にしなくてよい』という原則を利用しました。つまり、会話で話すことが少なければ少ないほど、言われたことは自明のこととして受け取られるのです。」オリジナルのELIZA効果を生み出す際にも、これは「少ないほど多い」という原則が働きました。
目的は機能的な自動療法士を作ることではなく、プログラミング環境の制約に合う適切な役割を見つけることにありました。そこでワイゼンバウムはその役割に合わせてスクリプトを作成し、修辞的なトーンや人物像を想起させる特定の単語を選びました。例えば「LET'S DISCUSS FURTHER WHY YOU … WHAT DOES THAT SUGGEST TO YOU」といったものです。
ドクター役では、会話の機械側がユーザーの話に耳を傾け、関心を持っているような良い聞き手に見える必要があります。そのため、返信にはユーザーの発言を頻繁に取り入れ、応答は開かれたもの(特定の答えを提示しない形)に保たれます。実際の医師が好奇心旺盛であるように、スクリプトには多くの「WHAT」や「WHY」の質問が含まれています。
他のスクリプトや対話では、キーワードと割り当てられた応答から、異なる具体的なペルソナを生み出すための設計思想を読み取ることができます。ELIZAのスクリプトをより広く見ていくと、この多様性は次第にはっきりとしてきます。
What Were Some of ELIZA's Alternate Personas?
まずは「Neweng」というスクリプトから始めましょう。これはニューイングランドの略称です。1950 年代半ばには、科学者たちはすでにチューリングが提唱したコンピュータとの対話という概念を、具体的なアイデアとして取り上げていました。1959 年、トロント大学計算センターの小規模チームが開発した「会話マシン」は、事前に現在の気象データを投入すれば、天気についての雑談を行うことができました。
このシステムのスクリプトには、時間や天候、感情を表す単語が優先順位付けされたリストとして含まれていましたが、システム自体の視野は非常に狭く、語彙も限定的で、文法に関する知識はありませんでした。開発者たちは「こうした粗末さにもかかわらず、可読な対話の結果は驚くほど良好であり、これはある意味で、天気についての一般的な会話がいかに浅薄であるかを物語っている」と述べています。
image ELIZA のソースコードの一部は、スクリプト化された応答がどのようにエンコードされていたかを示しています。この例では、ELIZA がロジャース派の心理療法士のように振る舞うように設計されています。
アーカイブで見つかった ELIZA のテスト用スクリプトの一つも、同様の機能を持っていました。Neweng は慰めたり、治療したり、指示を出したりするのではなく、単に雑談をするだけです。まるで退屈なディナーパーティーで会話しているかのような振る舞いをします。
WHAT NEW ENGLAND STATE DO YOU LIKE BEST OF ALL
i love rhode island
I ENJOY THE BEACHES ON LONG ISLAND SOUND
WHAT OTHER NEW ENGLAND STATE DO YOU LIKE
i like massachusetts
THAT IS MY HOME STATE
ニューイングランドの他の州で好きなところはありますか
マサチューセッツ州も好きでしょうね
ニューイングランドの他の州で好きなところはありますか
私はニューハンプシャーでスキーを楽しんでいます
あそこは夏には涼しくて気持ちいいものです
ニューイングランドの他の州で好きなところはありますか
ミズーリ州が好きです
ミズーリ州はニューイングランドの州ではありません
ニューイングランドの他の州で好きなところはありますか
ケープコッドが好きです
それはマサチューセッツ州の美しい地域ですね
何の興味深い情報も共有されていないように見える、このような基本的な会話から何を学べるのでしょうか。単調なチャットの中でも、「PLEASANTLY COOL(涼しくて気持ちいい)」「UP THERE(あそこ)」といった表現や、「THE BEACHES ON LONG ISLAND SOUND(ロングアイランド・サウンドのビーチ)」という場所名から、ボットの人格が浮かび上がってきます。これらの発言を通じて、特定の語彙だけでなく、趣味や休暇先を持つ人物像を想像し始めることができます。さらに、人種や階級に関する暗黙の前提も現れるかもしれません。
チャット型の人格は、会話が行われる場所や時期によってさまざまな形をとります。このボットの人格は控えめな印象で、おそらく1960年代のニューイングランドという設定に合っているのでしょう。システムはユーザーに対して「ミズーリ州はニューイングランドの州ではありません」と指摘しますが、もしこの会話がミズーリ州やテキサス州、あるいはメキシコで行われていたらどうでしょうか。その場合、機械的な人格の語調、トーン、言及する内容も異なっていたはずです。ファイヤーアイランドやブルックリン、ベルリン出身のチャットボットの人格からは、どのようなことが理解できるのでしょうか。彼らはどのように話し、どのような話題を扱うことになるのでしょう。
これらの主題の違いは、単なる違いで終わるものではありません。それぞれが全く異なる背景と経験を持つ「人格」を暗示し、ユーザーには完全に異なる対話体験と感情的な結びつきをもたらします。このように、Neweng スクリプトは、地理に関する文脈的な応答を行う単純なアルゴリズムであっても、説得力のある「人格」と「場所」の感覚を生み出すことができることを示しています。
Neweng は軽やかな社会的交流に焦点を当てたカジュアルで会話的な人格を作り出したと言えますが、他のスクリプトは ELIZA をより構造化され教育的な役割へと押し上げました。これらのスクリプトは、システムが単なる親しい雑談のためだけでなく、教育にも適応可能であることを示しています。
imageエドウィン・テイラーは MIT の教育研究センターで、ELIZA が教師として機能する能力を検証するために代替スクリプトを開発しました。MIT 図書館、特別コレクション
「教師としての ELIZA」は、「治療師としての ELIZA」や「おしゃべりな隣人としての ELIZA」とは全く異なります。Intrvw、Canvec、FVP1、Arithm は、エドウィン・F・テイラーが MIT の教育研究センターで行った実験で使用された、ELIZA 用の一連の教育ツールとして作成されたスクリプトです。これらのスクリプトは、条件付きキーワードマッチングと呼ばれる重要な技術的革新を取り入れた、後のバージョンの ELIZA で動作します。
元の ELIZA は単にキーワードを検索し、その存在に基づいて応答を生成するだけでしたが、これらの改良版では過去の会話内容を追跡でき、特定のユーザーの回答に応じて異なる会話経路へと分岐することが可能になりました。この進化により、ELIZA はソクラテス式メソッドをシミュレートできるようになり、教師が生徒の回答に反応しながら注意深く順序立てた質問を通じて学習を導くような役割を果たすようになりました。
これらのスクリプトは、キャラクター設定や修辞的なトーンを生み出す多くの微妙な言語的仕掛けを通じて、教師というペルソナを構築しています。このトーンは「Doctor」モードとは異なります。「Doctor」は開放的な質問を行い、優しく科学的ではない印象を与えますが、教育用スクリプトでは、ボットからの情報量の多い文章の塊が会話を支配することが多く、その説明はしばしば無機質で感情に欠けるものになります。対話からは、生徒を狭いソクラテス式の学習経路へと導くための指示を含む構造化されたスクリプトであることが示されています。
特に教育用スクリプトには賞賛と批判の要素が含まれています。「Intrvw」「Canvec」「FVP1」の対話は「EXCELLENT(素晴らしい)」「VERY GOOD(非常に良い)」「RIGHT YOU ARE(おっしゃる通りです)」「CONGRATULATIONS(おめでとう)」といった言葉で溢れており、生徒を応援する支援的な指導者のような雰囲気を作り出しています。こうした丁寧な対応は、現代の ChatGPT などのボットにも受け継がれています。実際、ユーザーがボットに対して丁寧に接すると、ChatGPT のパフォーマンスが向上することが示されています。
ELIZA は、その能力が向上するにつれてより効果的な家庭教師として機能できるようになり、これは ELIZA が単一のプログラムではなく、一連のプログラムの集合体であったことを示す貴重な教訓でもあります。1966 年の CACM 論文発表後、ワイゼンバウムは対話と理解のためのシステム開発を続けました。
実験の一環として、ワイゼンバウムは「ELIZA がアクセスできる評価器の能力を示す」ことを主目的に、家庭教師としての側面よりも Arithm スクリプトを作成しました。これは親しみやすく平易な言語インターフェースを採用し、ユーザーが簡単なプログラミングを行えるように設計されています。
このスクリプトでは、計算の実行や変数への値代入、それらに対する演算処理が可能です。数学の問題も文形式で記述できます:
The radius of a globe is 10.
A globe is a sphere. A sphere is an object.
What is the area of the globe.
IT'S 1256.635916
1967 年に更新された ELIZA システムのバージョンでは、事実を蓄積し追加情報を保存できるようになりました。この後継バージョンでは、システムが情報を認識できない場合、データを取得するために追跡質問を行います。
ワイゼンバウムはこう説明しています。「現在のスクリプトは、理解不足や誤解を隠すのではなく、明らかにすることを目的として設計されています。例えば、プログラムに『ボールの面積を計算して』と指示すると、まだボールが球体であることを知らないことがわかります。また、ボールの直径を計算する際にも、『ボールは物体である』という事実もまだ確立されていません。」
会話を続けるために質問を行うドクターとは異なり、Arithm は知識ではなくともデータや論理文を蓄積していくシステムです。
スクリプトの多様性を通じて、ELIZA でいかにさまざまなペルソナが構築可能かを示すことはできますが、これは会話プロセスの半分しか表していません。スクリプトはペルソナの基盤を確立しますが、そのペルソナが完全に姿を現すのは、ユーザーとの相互作用を通じてです。ユーザーはそのペルソナに関与し、解釈し、応答します。その過程で、スクリプトに内在するキャラクターが確認されたり、挑戦されたり、あるいは変容したりします。
原文を表示

ELIZA is remembered as the world’s first AI star, a kindly therapist in chatbot form that gently probed users’ worries. Even its creator, Joseph Weizenbaum, was surprised by the warm reception given to his experiment in human-machine interaction. For some, it heralded an age of automated psychotherapy, while others believed the program demonstrated sentience, a fallacy soon known as the “ELIZA effect.” Based on published descriptions, ELIZA has been implemented on many different computers, but only recently has the actual source code been unearthed from MIT’s archives.
In Inventing ELIZA: How the First Chatbot Shaped the Future of AI, just published by MIT Press, a squad of researchers analyze the code and reveal a complex program capable of much more than faking psychiatry. In fact, it could assume several different personas. The authors have also created a faithful emulation of the therapist persona that you can try yourself after reading the book excerpt below.
When it debuted in the mid-1960s, the ELIZA software program transformed the way people thought about interacting with computers. As the first chatbot, ELIZA demonstrated how a calculation machine might engage in conversation, ushering in a host of social and technical questions that still resonate today. Now we don’t think twice about interacting with a machine in real time, conversing over text, or even speaking into the air to ask about the weather. In many ways, ELIZA shaped not only the way we think about interacting with computers but also how we think about them. It began to give a reality to the science fiction stories of how we expect computers to work.
image This article is adapted from the new book “Inventing ELIZA: How the First Chatbot Shaped the Future of AI“ (MIT Press, 2026).
Although ELIZA was far from a faultless conversation partner, it astonished its users. The recent discovery and archaeology of the original ELIZA source code represents a significant intervention in the history of computing. By examining the actual implementation of ELIZA rather than relying on later reconstructions and reimplementations, we challenge taken-for-granted assumptions about this key software artifact.
For example, the source code reveals that ELIZA was not merely a simple pattern-matching chatbot but can be better understood as a sophisticated platform designed for multiple “personas,” or scripts, with a complex set of capabilities, including script editing and contextual memory. The script that most people conflate with the program ELIZA was actually called Doctor, which performed the role of a psychotherapist. Yet, like a modern chatbot prompted to behave with different personalities, ELIZA could take on many roles.
“This code and script…reveal underlying assumptions about language, therapy, and human-computer interaction that continue to influence modern AI development.”
This unearthed material transforms our understanding of early AI development by demonstrating that Joseph Weizenbaum’s technical innovations were far more advanced than previously documented. Moreover, the discrepancies between his published descriptions and the actual implementation help to show the gap between theoretical computational models and their material instantiations in computer source code, a tension that continues to shape digital culture today.
Although many technical innovations have emerged in the decades since ELIZA, examining the ELIZA/Doctor code offers a rare glimpse into one of the earliest formalized attempts to model human conversation. What makes ELIZA particularly fascinating is not only its historical significance but also what it reveals about Weizenbaum’s views on both computing and human interaction. This code and script do not merely showcase programming techniques of the 1960s; they reveal underlying assumptions about language, therapy, and human-computer interaction that continue to influence modern AI development. By examining this code, we can start to uncover the sophisticated linguistic and programming techniques that allowed a rudimentary pattern-matching system to create a convincing simulation of understanding. But before we can read the lines of code, let us offer an overview of the system.
How Did ELIZA Create Personas?
The architectural distinction between ELIZA and Doctor represents an important design decision in AI history. Think of ELIZA as a system for interaction and Doctor as one set of rules that Weizenbaum devised, among others. This separation, manifested in ELIZA’s system-script dichotomy, presaged numerous contemporary software patterns, from configuration-as-data to plug-in architectures and domain-specific languages.
image Based on published journal articles, ELIZA was re-created on many platforms, such as the IBM PC. However, the actual source code sat untouched in the MIT archives for many years. VCF Museum at InfoAge
Without question, the historical context of 1960s computing fundamentally shaped ELIZA’s architecture as well. Decisions in computing that reflect material constraints create path dependencies and eventually become programming cultural norms. These constraints manifested in ELIZA’s single-pass processing, tape-based storage and stack-oriented implementation. Yet within these limitations, Weizenbaum crafted an elegant solution. These technical features, though invisible to the users, are crucial to creating the illusion of understanding that made ELIZA so compelling.
Weizenbaum explained many of ELIZA’s technical features in the 10-page paper published in the January 1966 edition of the journal Communications of the Association for Computing Machinery (CACM). But he chose to omit some essential details.
In that paper Weizenbaum published ELIZA’s best known dialogue, which begins,
Men are all alike.
IN WHAT WAY
They’re always bugging us about something or other.
CAN YOU THINK OF A SPECIFIC EXAMPLE
Well, my boyfriend made me come here.
This dialogue marked ELIZA’s public debut in 1966 as one of the examples produced by the Doctor script. By finding the source code for ELIZA and examining how it performs the Doctor script, we now better understand these two separate parts of a system and can explore the many other personas of ELIZA. In just some of the other scripts known to date, ELIZA was programmed to discuss math, poetry, color, paradoxes, synchronization, relativity, France, and elevators.
These scripts work like templates. They are structured data that direct the ELIZA system to “play” a particular task or role. By comparing archival and published ELIZA dialogues from interactions with a variety of scripts, including Doctor, we can understand more about bot personas and how they function, paying close attention to how a bot evokes social dynamics between system and interactor.
Ultimately, studying the dialogues and scripts demonstrates the crucial role that collaboration plays in these exchanges, as bot and user cocreate the sense of their interaction. To understand the full range of ELIZA’s capabilities and conversational possibilities, let’s take a look at the variety of scripts that were created for the ELIZA system.
What distinguishes each ELIZA script is both its subject matter and the linguistic and stylistic choices used to deliver that content. These choices are not neutral; they can be said to construct a particular persona with characteristics that emerge through the script’s language patterns, vocabulary, and conversational approach. In short, it matters not just what you say but how you say it too.
“The aim was less to create a functional automated therapist and more to find a suitably constrained role to match the limitations of the programming environment.”
For example, with the Doctor script Weizenbaum deliberately echoed the style of a Rogerian “talk” therapist. He chose this persona because the psychiatric mode is one of the few types of conversations in which one person can “assume the pose of knowing almost nothing of the real world. If, for example, one were to tell a psychiatrist ‘I went for a long boat ride’ and he responded, ‘Tell me about boats,’ one would not assume that he knew nothing about boats but that he had some purpose in so directing the subsequent conversation.”
image The first users of ELIZA interacted with it via teletype terminals.VCF Museum at InfoAge
Thus, the most famous persona created for ELIZA was a technical convenience. As human-computer interaction expert Lucy Suchman explains, “The Doctor program exploited the maxim that shared premises can remain unspoken: that the less we say in conversation, the more what is said is assumed to be self-evident.” In creating the original ELIZA effect, less was more.
The aim was less to create a functional automated therapist and more to find a suitably constrained role to match the limitations of the programming environment. Then Weizenbaum composed the script to match the role by choosing specific words that evoked rhetorical tone and characterization, for example, LET’S DISCUSS FURTHER WHY YOU … WHAT DOES THAT SUGGEST TO YOU. In Doctor, the machine side of the conversation needs to appear like a good listener who cares about what the user has mentioned before, so it often includes the user’s text in its replies and keeps its responses open-ended. Because a real doctor would be inquisitive, the script contains lots ofWHAT andWHY questions. In other scripts and dialogues, the script keywords and assigned responses reveal the design decisions that help create different specific personas. This variation becomes increasingly apparent as we look at the wider range of ELIZA scripts.
What Were Some of ELIZA’s Alternate Personas?
Let’s start with a script called Neweng, short for New England. By the mid-1950s, scientists were already taking up Turing’s proposition for conversing with a computer as a tangible idea. In 1959, a “conversation machine” made by a small team at the University of Toronto Computation Centre could make small talk about the weather if preprompted with current data. Its script included a ranked series of time words, weather words, and emotion words, but the system had “a rather narrow outlook,” limited vocabulary, and no knowledge of syntax. According to its creators, “in spite of this crudity, the results in passable conversation are surprisingly good, which in a way is a commentary on the shallowness of ordinary conversation about the weather.”
image This fragment of ELIZA’s source code shows how scripted responses were encoded, in this case to make ELIZA sound like a Rogerian therapist. MIT Libraries, Distinctive Collections
One of ELIZA’s test scripts found in the archive had a similar function. Neweng does not soothe, therapize, or instruct, but only makes small talk. It chats as if at a boring dinner party.
WHAT NEW ENGLAND STATE DO YOU LIKE BEST OF ALL
i love rhode island
I ENJOY THE BEACHES ON LONG ISLAND SOUND
WHAT OTHER NEW ENGLAND STATE DO YOU LIKE
i like massachusetts
THAT IS MY HOME STATE
WHAT OTHER NEW ENGLAND STATE DO YOU LIKE
you must like massachusetts too
WHAT OTHER NEW ENGLAND STATE DO YOU LIKE
i enjoy skiing in new hampshire
PLEASANTLY COOL IN THE SUMMER UP THERE
WHAT OTHER NEW ENGLAND STATE DO YOU LIKE
i like missouri
MISSOURI IS NOT A NEW ENGLAND STATE
WHAT OTHER NEW ENGLAND STATE DO YOU LIKE
i like cape cod
THAT’S A BEAUTIFUL PART OF MASSACHUSETTS
What can we learn from such a basic conversation in which it seems like nothing interesting is shared? Despite the bland chat, a persona emerges from the bot script in phrases like PLEASANTLY COOL and UP THERE and in locations like THE BEACHES ON LONG ISLAND SOUND. From such comments, we can begin to imagine a persona who has not only a certain vocabulary but also certain hobbies and vacation spots. Perhaps implicit assumptions of race and class emerge as well.
A chatty persona might take on many forms, depending on where and when the conversation occurs. This one seems reserved, perhaps fitting its setting in 1960s New England. The system reminds the user that Missouri is not a New England state, but what if this conversation took place in Missouri, Texas, or Mexico? The machine persona would sound different in its cadence, tone, and references. What would we come to understand about a chat persona from Fire Island, from Brooklyn, from Berlin? What would they sound like, and what topics would they discuss?
These differences in subject matter do matter. They imply personas with entirely different backgrounds and experience, giving users wholly different interactions and affective relations. In this way, the Neweng script demonstrates how even simple algorithms making contextual responses about geography could generate a convincing sense of personhood and place. Whereas Neweng could be said to have created a casual, conversational persona focused on light social exchange, other scripts pushed ELIZA into more structured and educational roles. These scripts demonstrate how the system could be adapted not just for friendly chatter but for teaching.
imageEdwin Taylor, at MIT’s Education Research Center, developed alternate scripts for ELIZA, testing its ability to act as a teacher.MIT Libraries, Distinctive Collections
Meet ELIZA the tutor, quite unlike ELIZA the therapist or the chatty neighbor. Intrvw, Canvec, FVP1, and Arithm are a set of ELIZA scripts created as teaching tools used in experiments by Edwin F. Taylor at MIT’s Education Research Center. These scripts run on later versions of ELIZA that incorporated an important technical innovation called conditional keyword matching.
Unlike the original ELIZA, which simply looked for keywords and generated responses based on their presence, these updated versions could track what had been discussed previously and branch into different conversational paths based on specific user answers. This development allowed ELIZA to simulate a kind of Socratic method, where a tutor guides learning through carefully sequenced questions that respond to student answers rather than simply presenting information.
These scripts construct the tutor persona through many subtle linguistic gestures that create characterization and rhetorical tone. This tone differs from that of Doctor, which asks open-ended questions and comes across as gentle and nonscientific. In the tutoring scripts, large blocks of informative text from the bot tend to dominate the conversation, and the tone is often more dry and unemotional in these explanations. The dialogues indicate structured scripts that include guidance to lead the student through narrow, Socratic learning paths.
In particular, the teaching scripts feature praise and critique. The dialogues for Intrvw, Canvec, and FVP1 are peppered with EXCELLENT, VERY GOOD, RIGHT YOU ARE, and CONGRATULATIONS. These create the sense of a supportive instructor cheering the student on. Such politeness has been taken up in contemporary bots like ChatGPT, which has been shown to perform better when people are polite back to it.
ELIZA could become a tutor more effectively as the system grew in its capabilities, another valuable reminder that ELIZA was not one program but a family of programs. After the publication of the 1966 CACM article, Weizenbaum continued to develop the systems for interaction and understanding. As an experiment, Weizenbaum wrote the Arithm script less as a tutor and more so to “to illustrate the power of the evaluator to which ELIZA has access.” It uses a friendly, plain language interface to let users do simple programming. The script can do calculations, assign variables to values, and perform operations on them. Math problems can be described in sentence form:
The radius of a globe is 10.
A globe is a sphere. A sphere is an object.
What is the area of the globe.
IT’S 1256.635916
The updated 1967 version of the ELIZA system can accumulate facts and store additional information. In this later version of ELIZA, when the system does not recognize information, it asks follow-up questions to gain data. As Weizenbaum explains, “The present script is designed to reveal, as opposed to conceal, lack of understanding and misunderstanding. Notice, for example, that when the program is asked to compute the area of the ball, it doesn’t yet know that a ball is a sphere and that when the diameter of the ball needs to be computed the fact that a ball is an object has also not yet been established.” Unlike Doctor, which asks questions to keep the conversation going, Arithm is building its store of, if not knowledge, then data and logic statements.
Although the variety of scripts helps us to see how a range of personas could be constructed through script programming ELIZA, they represent only half of the conversational process. A script can establish a foundation for a persona, but that persona only emerges fully through interaction with users who engage with it, interpret it, and respond to it in ways that may confirm, challenge, or transform the script’s implicit character.
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み