Current location: Home> Ai News

The world's first chatbot ELIZA is resurrected, originating from code 60 years ago

Author: LoRA Time: 21 Jan 2025 977

A team of researchers from the United States and the United Kingdom recently successfully resurrected a chatbot code called ELIZA, which is considered to be the first electronic chatbot in history. According to their paper posted on the arXiv preprint server, the code was originally written by the late MIT professor Joseph Weizenbaum in the 1960s.

image.png

In 2021, Miles Crowley, an MIT archivist, discovered a printout of the codes in a box containing Weizenbaum's personal belongings. After subsequent review, these codes were confirmed to be ELIZA's original codes. At that time, the term "chatbot" had not yet been coined, and Weizenbaum likely viewed the program as a kind of electronic therapist. ELIZA is designed as a request/response tool where users can ask it questions and the system responds with simple responses and follow-up questions, an interaction similar to a conversation with a human therapist.

Although the code for the original ELIZA was historically thought to be lost, some versions of ELIZA written by other programmers still exist. The program was written in Lisp and originally ran on the ARPAnet, then gradually spread to home computers and became a "friend" of technology enthusiasts.

After discovering the code, the research team set out to make it work. First, they needed to develop an operating environment, since ELIZA was written for an obsolete operating system. The research team also found that the code needed to be cleaned up and in some cases they had to write functions that were not shown in the code.

Finally, the research team successfully ran the program last December. They ran it as a request/response tool as originally designed and found that it performed beyond their expectations. Although it is not comparable to modern large-scale language models, they think this resurrection process is interesting.

However, they also found an obvious bug, that is, if the user enters numbers, the program will crash, but for the sake of maintaining originality, the research team chose to retain this bug. They believe that ELIZA is an important milestone in the history of computing because it represents the first known electronic chatbot.