Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
AI

World's First AI Chatbot, ELIZA, Resurrected After 60 Years (livescience.com) 37

"Scientists have just resurrected 'ELIZA,' the world's first chatbot, from long-lost computer code," reports LiveScience, "and it still works extremely well." (Click in the vintage black-and-green rectangle for a blinking-cursor prompt...) Using dusty printouts from MIT archives, these "software archaeologists" discovered defunct code that had been lost for 60 years and brought it back to life. ELIZA was developed in the 1960s by MIT professor Joseph Weizenbaum and named for Eliza Doolittle, the protagonist of the play "Pygmalion," who was taught how to speak like an aristocratic British woman.

As a language model that the user could interact with, ELIZA had a significant impact on today's artificial intelligence (AI), the researchers wrote in a paper posted to the preprint database arXiv Sunday (Jan. 12). The "DOCTOR" script written for ELIZA was programmed to respond to questions as a psychotherapist would. For example, ELIZA would say, "Please tell me your problem." If the user input "Men are all alike," the program would respond, "In what way."

Weizenbaum wrote ELIZA in a now-defunct programming language he invented, called Michigan Algorithm Decoder Symmetric List Processor (MAD-SLIP), but it was almost immediately copied into the language Lisp. With the advent of the early internet, the Lisp version of ELIZA went viral, and the original version became obsolete. Experts thought the original 420-line ELIZA code was lost until 2021, when study co-author Jeff Shrager, a cognitive scientist at Stanford University, and Myles Crowley, an MIT archivist, found it among Weizenbaum's papers. "I have a particular interest in how early AI pioneers thought," Shrager told Live Science in an email. "Having computer scientists' code is as close to having a record of their thoughts, and as ELIZA was — and remains, for better or for worse — a touchstone of early AI, I want to know what was in his mind...."

Even though it was intended to be a research platform for human-computer communication, "ELIZA was such a novelty at the time that its 'chatbotness' overwhelmed its research purposes," Shrager said.

I just remember that time 23 years ago when someone connected a Perl version of ELIZA to "an AOL Instant Messenger account that has a high rate of 'random' people trying to start conversations" to "put ELIZA in touch with the real world..."

Thanks to long-time Slashdot reader MattSparkes for sharing the news.
This discussion has been archived. No new comments can be posted.

World's First AI Chatbot, ELIZA, Resurrected After 60 Years

Comments Filter:
  • by AlanObject ( 3603453 ) on Saturday January 18, 2025 @12:48PM (#65098943)

    The Model T is closer to the Airbus A300 than ELIZA is to ChatGPT. Still it wowed a lot of people back in the day.

    • by groobly ( 6155920 ) on Saturday January 18, 2025 @12:58PM (#65098969)

      True dat. Calling Eilza "AI" is really stretching language. Weizenbaum just wanted to show that it's easy to fool people with a very simple program.

      • by drinkypoo ( 153816 ) <drink@hyperlogos.org> on Saturday January 18, 2025 @01:31PM (#65099037) Homepage Journal

        The term "SI" for simulated intelligence never caught on, but it should have.

      • by gweihir ( 88907 )

        Weizenbaum just wanted to show that it's easy to fool people with a very simple program.

        And he did and it still works.

      • by narcc ( 412956 )

        Calling Eilza "AI" is really stretching language.

        In what way?

        I think you're confusing 'AI' in reality with 'AI' in science fiction.

      • by allo ( 1728082 ) on Sunday January 19, 2025 @10:08AM (#65100751)

        The definition of AI is shifting. Whenever a computer did something that people would have considered AI before, they searched for something that is missing for it to be a REAL AI. It's called AI effect.
        https://en.wikipedia.org/wiki/... [wikipedia.org]

        Back then, ELIZA was AI. And astonishing for its testers. Today people slowly start denying that LLM are AI. Probably if we ever would get AGI, people will find reasons why it is not AI. Maybe the whole term is meaningless. Let's rather talk about what the tools actually do instead of trying to define if they are intelligence, when we do not even have a good definition what is intelligence in biological beings.

        • What was astonishing to its testers was that the subjects believed they were talking to a real Rogerian therapist when using Doctor.

        • Back then, ELIZA was AI.

          I think the question is whether that really a good thing to call it. Artificial intelligence implies something that operates like intelligence, or is intelligent but was manmade. But it wasn't either of those things, it was only designed to mock someone with intelligence and fool people with that mockery. It didn't learn (you could add rules to this original version, but you had to do it explicitly, it wasn't automatic) and it could easily be led into a loop that revealed how primitive it was.

          ELIZA was call

          • by allo ( 1728082 )

            I think it was one of the first "I want to be able to talk to the computer" implementation and kinda was AI at the time. Personally I even struggle to see expert systems as AI. Still they are categorized that way. It may help at bit to see that the I in AI may be Intelligence like in CIA and not Intelligence like in brain.

  • by RitchCraft ( 6454710 ) on Saturday January 18, 2025 @12:56PM (#65098967)

    I was playing around with Eliza back in the early 80's on my TRS-80 computers. It was simple yet somehow fun to play around with. Feeding her false data could result in very amusing outcomes. I suppose these are called hallucinations today.

    • I played with it, too. I was able to "stack it" where its response got longer and longer because I added a question about it's response. I got to maybe five levels before it reverted to a generic response.

      Maybe, we could have a stacking challenge: longest response with the dialog that got it.

    • Yep.

      "She" was on my university's mainframe (Honeywell 66/80, IIRC) in the 1980s, and I had versions of her appear on computer-magazine cover discs several times in the 1990s (before I got either a phone line, a modem or an internet connection). To suggest that "she" was a 1960's program is bullshit - "she" was being compiled and executed at least until the 1990s, and very probably has never been out of commission.

  • ... is still around.

  • Script (Score:5, Informative)

    by Dan East ( 318230 ) on Saturday January 18, 2025 @01:39PM (#65099043) Journal

    A bit of that code....

    (HOW DO YOU DO. PLEASE TELL ME YOUR PROBLEM)
    START
    (SORRY
    ((0)
    (PLEASE DON'T APOLIGIZE)
    (APOLOGIES ARE NOT NECESSARY)
    (WHAT FEELINGS DO YOU HAVE WHEN YOU APOLOGIZE)
    (I'VE TOLD YOU THAT APOLOGIES ARE NOT REQUIRED)))
    (DONT = DON'T)
    (CANT = CAN'T)
    (WONT = WON'T)

    (REMEMBER 5
    ((0 YOU REMEMBER 0)
    (DO YOU OFTEN THINK OF 4)
    (DOES THINKING OF 4 BRING ANYTHING ELSE TO MIND)
    (WHAT ELSE DO YOU REMEMBER)
    (WHY DO YOU REMEMBER 4 JUST NOW)
    (WHAT IN THE PRESENT SITUATION REMINDS YOU OF 4)
    (WHAT IS THE CONNECTION BETWEEN ME AND 4))
    ((0 DO I REMEMBER 0)
    (DID YOU THINK I WOULD FORGET 5)
    (WHY DO YOU THINK I SHOULD RECALL 5 NOW)
    (WHAT ABOUT 5)
    (=WHAT)
    (YOU MENTIONED 5))
    ((0)
    (NEWKEY)))

    (IF 3
    ((0 IF 0)
    (DO YOU THINK ITS LIKELY THAT 3)
    (DO YOU WISH THAT 3)
    (WHAT DO YOU THINK ABOUT 3)
    (REALLY, 2 3)))
    ; duplicate line removed: (WHAT DO YOU THINK ABOUT 3) (REALLY, 2 3)))

    (DREAMT 4
    ((0 YOU DREAMT 0)
    (REALLY, 4)
    (HAVE YOU EVER FANTASIED 4 WHILE YOU WERE AWAKE)
    (HAVE YOU DREAMT 4 BEFORE)
    (=DREAM)
    (NEWKEY)))

    (DREAMED = DREAMT 4 (=DREAMT))

    (DREAM 3
    ((0)
    (WHAT DOES THAT DREAM SUGGEST TO YOU)
    (DO YOU DREAM OFTEN)
    (WHAT PERSONS APPEAR IN YOUR DREAMS)
    (DON'T YOU BELIEVE THAT DREAM HAS SOMETHING TO DO WITH YOUR PROBLEM)
    (NEWKEY)))

    (DREAMS = DREAM 3 (=DREAM))

    (HOW (=WHAT))
    (WHEN (=WHAT))
    (ALIKE 10 (=DIT))
    (SAME 10 (=DIT))
    (CERTAINLY (=YES))

    (FEEL DLIST(/BELIEF))
    (THINK DLIST(/BELIEF))
    (BELIEVE DLIST(/BELIEF))
    (WISH DLIST(/BELIEF))

    (MEMORY MY
    (0 YOUR 0 = LETS DISCUSS FURTHER WHY YOUR 3)
    (0 YOUR 0 = EARLIER YOU SAID YOUR 3)
    (0 YOUR 0 = BUT YOUR 3)
    (0 YOUR 0 = DOES THAT HAVE ANYTHING TO DO WITH THE FACT THAT YOUR 3))

    (NONE
    ((0)
    (I AM NOT SURE I UNDE

    • by Toad-san ( 64810 )

      I am SO surprised to hear about ELIZA after all these decades!

      Nothing new under the sun, that's for sure.

  • by Tablizer ( 95088 ) on Saturday January 18, 2025 @01:50PM (#65099063) Journal

    ...birthed ChatGPT in a manger in Bethlehem.

    At least that's what BingGPT tells me.

  • In the 70's Eliza came as a game on most PDP-11 RSTS/E systems. That's how many of us were exposed to it.
    • was in plenty of programming books (BASIC) also

      any claim that it was in danger of being lost is a downright lie
  • Hey, write me a python version of Elisa chatbot.

    Sure, here's an example of a simple chatbot implementation in Python using the Natural Language Toolkit (NLTK) library:

    import nltk
    from nltk.chat.util import Chat, reflections

    # Define the chatbot's responses
    pairs = [
    [
    r"my name is (.*)",
    ["Hello %1, nice to meet you!"]
    ],

  • How was this "lost"? (Score:3, Interesting)

    by rapjr ( 732628 ) on Saturday January 18, 2025 @03:36PM (#65099271)
    Everyone had a copy of the code, it is in Amiga repositories, it came with some Unix operating systems (I played with it on an SGI workstation), it was everywhere, anyone who wanted a copy had a copy. So how is this "lost" and "resurrected"? Not that it's all that important...

    I wonder if anyone is trying to measure the loss of knowledge as older people die. Supposedly books and documentation preserve knowledge for the future, but that doesn't actually seem to be true. People stop caring about some stuff, knowledge of it fades, language fades, attention shifts, and then decades later it is unearthed as though it is some great mystery. It would be interesting to see a study of how much knowledge becomes useless and how fast, and how much knowledge is actually useful but lost because either no one cares about it, or because all the people that knew it are no longer here. Technology such as software seems to disappear relatively fast, infrastructure knowledge (e.g., how to repair elevators) disappears more slowly, specialities in science that only have a few researchers can disappear overnight. One of the problems with scientific papers and documentation is that it does not include information about the systems, tools, context, and infrastructure needed to make use of or replicate what is described. Like old computer science papers assume a particular computer is available. There is a push to provide source code with papers currently, but not all code can run on newer machines or compile in newer compilers. Embedded systems can be very specialized and only exist within a certain time frame. Similar things are happening with infrastructure, few people in the US know how to do big long term engineering projects successfully any more.

    Same as it ever was, but in a technological society the consequences happen sooner.

    • Re: (Score:3, Informative)

      "Everyone had a copy of the code, it is in Amiga repositories, it came with some Unix operating systems (I played with it on an SGI workstation), it was everywhere, anyone who wanted a copy had a copy. So how is this "lost" and "resurrected"?"

      You didn't read the summary:

      "Weizenbaum wrote ELIZA in a now-defunct programming language he invented, called Michigan Algorithm Decoder Symmetric List Processor (MAD-SLIP), but it was almost immediately copied into the language Lisp. With the advent of the early inter

    • by rossdee ( 243626 )

      The Amiga had "Racter" - the big advance it had was it used the Amiga narrator.device to speak.

    • Interesting comment on many levels. Software goes unsupported and obsolete very quickly in most cases. Now, it's done on purpose to ensure you are running the latest surveillance code. But the loss of knowledge and know how.. like how to fix and elevator ... i think you are hinting at the change in attitudes ... as more automation encroaches, people accept it without question .... it saves you time and effort ! Who can argue against that ?

      But the tools erode our ability to analyze and think deeply .. so ove
  • by Halo1 ( 136547 ) on Saturday January 18, 2025 @03:58PM (#65099337)

    ELIZA's evil twin [macintoshgarden.org].

  • a bit of a brain rot even by today's standards, but Eliza wasn't so bright.
  • by JamesTRexx ( 675890 ) on Saturday January 18, 2025 @05:58PM (#65099563) Journal

    ..and it displays more intelligence than current "AI" instances. :-p

  • I believe the play (musical?) where Eliza Doolittle is a character is called "My Fair Lady", which is based on the ancient play "Pygmalion" - where a guy fell in love with a statue; which then came to life.
  • To test this kind of software (LISP edition), in the "Help" menu, "Emacs Psychotherapist", or M-x doctor
    (1626 lines of LISP in doctor.el)

A complex system that works is invariably found to have evolved from a simple system that works.

Working...