📄 paper.txt
字号:
* Read the user's input, and segment it into an alternating sequence of words and non-words.* From this sequence, find an array of keywords and use it to generate many candidate replies.* Display the reply with the highest information to the user.* Use the user's input to update the Markov models, so that MegaHAL can learn from what the user types.This sequence of steps is repeated indefinitely, which allows the programto learn new words, and sequences of words, as it converses with the user.4.4 Training MegaHALWhen MegaHAL is started it has no knowledge of language, and is unable togive a reply at all---the program needs to be trained using a source oftext to ensure that it does not reveal its identity prematurely. A largecorpus of training data was created for this purpose.The training data is made up of various texts:* Hand-crafted sentences designed in order to create a personality for MegaHAL, including sentences containing a false name, age and occupation.* Encyclopaedic information taken from the Web, on topics such as geography, music, sports, movies and history.* A selection of sentences picked from transcripts of previous Loebner contests.* Lines of dialogue taken from scripts for movies and television shows.* Lists of popular quotations.* A small amount of text in languages other than English.When MegaHAL is trained using this data, it is able to respond to questionson a variety of topics. It is hoped that the program will also learn newtopics from the judges, although this remains to be seen.4.5 Online ExperimentationMegaHAL has been available on the Web since early in 1997, and hundreds ofusers converse with it every day. It is an interesting fact that one nevertires of reading transcripts of conversation, due to MegaHAL's ability torespond with original replies.Many users are often offended by the things MegaHAL says, and some believethat they have been personally insulted. One user, named Forrest, wasquite incensed when the program began quoting parts of the Forrest Gumpscreenplay back at him. That a computer program can cause such anemotional response in a human being is interesting, although it may saymore about the human being than it does about the program.Users are often impressed with MegaHAL's ability to learn. One user wasannoyed that the program had learned more about his personal life than hewould care it to know, while another stated that MegaHAL would eventuallygrow into a person of average intellect (he attributed this bold claim tothe law of averages). One user, experienced working with people inpsychotic crises, likened talking to MegaHAL with talking to a psychotic.Users have succesfully taught the program to respond to sentences inFrench, Spanish, Greek, German, Italian, Latin, Jananese and Hebrew,amongst others. A clergyman spent hours teaching MegaHAL about the loveof Jesus, only to constantly receive blasphemous responses.The reaction of Web user's to the program has been surprising, and ispretty much what Weizenbaum experiences with ELIZA. MegaHAL generatesgibberish mostly, but occasionally, by pure coincidence, it will come outwith an appropriate response. It is these occasions that stick in themind, and give cause for over-zealous claims of computational intelligence.4.6 Example InteractionAs an example of MegaHAL at its best, we give here a few extracts froma conversation which took place, over a period of three hours in mid 1997,between MegaHAL and an anonymous Web user.To begin with, the user was able to successfully teach the programsome basic facts: User: Roentgen discovered the X-rays. MegaHAL: THE NOBEL PRIZE FOR PHYSICS IN 1900 WAS WON BY ROENTGEN. User: Who discovered the X-rays? MegaHAL: ROENTGEN DISCOVERED THE X-RAYS.He then discovered that the program is an expert an being nonsensical.Even so, MegaHAL was still able to give some appropriate responses, due tothe keyword mechanism for generating replies: MegaHAL: WHEN WE BEGIN TO RESOLVE SOME OF MY THUMBS, SOMETHING WICKED THIS WAY COMES User: what is the meaning of your last assertion ? MegaHAL: HAVE YOU LEARNED SINCE WE LAST SPOKE? User: I've learned I'm not experienced enough to modelize your brain system MegaHAL: YOU'VE FINALLY CONFUSED ME. User: I've learned nothing MegaHAL: HAVE YOU LEARNED ANYTHING ABOUT INSANITY? User: are you stupid MegaHAL: I AM NOT STUPID! REALLY!Finally, the user discovered that the program could respond in otherlanguages: User: Tu parles francais? MegaHAL: I GUESS SO. PARLEZ-VOUS FRANCAIS? User: L'amour est une passion humaine. MegaHAL: LA LANGIDOCE EST UNE PETITE JEUNNE FILLEIn general MegaHAL's conversations are not as successful as this. Mostusers are satisfied with typing in rude words to see how the programresponds.5. ConclusionMegaHAL uses a technique which differs significantly from that used byprevious entrants to the Loebner contest. It has been submitted in 1998for the purpose of demonstrating a different method of simulatingconversation. Although its replies are occasionally lucid, MegaHAL is mostdefinitely not an Artificial Intelligence; we must be careful not to readtoo much into what it says.The Loebner contest does offer some benefits (Loebner, 1994); it providesan annual Turing test for anyone who cares to submit an entry, it promotesand stimulates interest in the field of Artificial Intelligence, itencourages competition, it could conceivably result in new techniques whichmay be applicable to fields outside of Artificial Intelligence and itstimulates discussion amongst researchers. Even so, we believe that thecontest is not advancing the field of Artificial Intelligence because,although the $2000 is a guaranteed reward, it is not a large enough carrotto entice serious research groups.Perhaps the most important contribution of the Loebner contest is theinsight it provides into the psychology of conversation---it makes us awareof how little our understanding of conversation lies in what is said.Notes1. Today the program must also satisfy audio-visual requirements to win the grand prize.2. A symbol refers to both words and non-words.ReferencesColby, Kenneth Mark. 1981. Modeling a paranoid mind. The Behavioral andBrain Sciences, 4:515--560.Epstein, Robert. 1992. Can machines think? AI Magazine, Summer:80--95.Hutchens, Jason L. 1994. Natural language grammatical inference.Honour's thesis, University of Western Australia, December 1994. Availableat: http://ciips.ee.uwa.edu.au/Papers/Hutchens, Jason L. 1996. How to pass the turing test by cheating.Available at: http://ciips.ee.uwa.edu.au/Papers/Jelinek, Frederick. 1986. Markov source modeling of text generation.Technical report, IBM T.J. Watson Research Center.Loebner, Hugh. 1994. In response to lessons from a restricted Turingtest. Available at: http://acm.org/~loebner/In-response.htmlMoor, James H. 1976. An analysis of the turing test. PhilosophicalStudies, 30:249--257.Shannon, Claude E. and Warren Weaver. 1949. The Mathematical theory ofCommunication. University of Illinois Press.Shieber, Stuart M. 1994. Lessons from a restricted turing test.Available at the Computation and Language e-print server as cmp-lg/9404002.Turing, A.M. 1992. Computing machinery and intelligence. In D.C. Ince,editor, Collected works of A.M. Turing: Mechanical Intelligence. ElsevierScience Publishers, chapter 5, pages 133--160.Weizenbaum, Joseph. 1976. Computer Power and Human Reason. W.H. Freemanand Company.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -