This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
thesis.dviAnalogy-Making and High-Level Perception in partial fulllment of the requirements for the degree Doctor of Philosophy and the Cognitive Science Program Indiana University November 1999 Accepted by the Graduate Faculty, Indiana University, in partial ful- llment of the requirements of the degree of Doctor of Philosophy. Dr. Douglas R. Hofstadter iii my mother, my sister, and Francesca. iv abstract This dissertation describes Metacat, an extension of the Copycat computer model of analogy-making and high-level perception developed by Douglas Hofstadter and Melanie Mitchell as part of a research program aimed at computationally modeling the fundamental mechanisms underlying human cognition. Central to the philosophy of Copycat is the belief that the ability of the human mind to perceive analogies between situations lies at the core of intelligence. Copycat operates in an idealized microworld of analogy problems involving short strings of letters. The program understands only a limited set of concepts relating to its letter-string world, but its \ uid" conceptual processing mechanisms give it considerable exibility in recognizing and applying these concepts in many diverse situations. The present work builds on these achievements by focusing on the issue of self- watching|namely, the ability of a system not only to perceive situations, but also to observe and to explicitly characterize its own perceptual processes. Copycat focuses exclusively on perceiving patterns within its input data, while ignoring patterns that occur in its processing of those data. Consequently, Copycat lacks insight into how it arrives at its answers. It is thus unable to explain why it considers one analogy to be better or worse than another. The Metacat project is concerned with extending the model in a way that allows it to create much richer representations of the analogies it makes, enabling it to compare and contrast answers in an insightful way. This involves incorporating an episodic v memory into the architecture, along with an ability for the program to monitor itself, so that it can recognize, remember, and recall important patterns that occur in its own \train of thought" as it makes analogies. By monitoring its own processing, Metacat can recognize when it has fallen into a repetitive pattern of behavior, enabling the program to subsequently break out of the pattern. Furthermore, based on the \meta- level" information gleaned from self-watching, Metacat can come to understand and explain the answers that it nds in a way that Copycat cannot. vi acknowledgments What a long and winding road this project has been. I would like to thank, rst of all, my advisor Doug Hofstadter for providing years of generous support and encouragement, as well as constant intellectual inspiration, along the way. It was his book Godel, Escher, Bach that rst set me on this path so many years ago, even before I was fully aware of being on it. GEB changed my outlook on the world, and had I known, at the time, that I would eventually end up working on the development of a self-watching computer program under the supervision of its author for my PhD, I would have been truly dumbfounded. As it stands, it has been a great pleasure to know him as a friend and mentor throughout my years in graduate school. In addition, I would also like to thank him for making it possible for me to spend a year at the Istituto per la Ricerca Scientica e Tecnologica (IRST) in Trento, Italy from 1993 to 1994. The other members of my committee, Dan Friedman, David Leake, and Bob Port, have each had their own unique in uence on my intellectual development. Dan has been a true friend from almost the rst moment that I arrived in Bloomington, and his exuberant teaching style in C311 taught me much about what it means to be a great teacher. The time I spent as his associate instructor for C311 remains, without a doubt, and for many reasons, one of the most important and rewarding experiences of my graduate school career. I have learned much from David about AI and case-based reasoning. In addition, he was always willing to make himself available whenever I needed to discuss my thesis, or to just vent my frustrations. Bob introduced me to vii cognitive science through his Q500 intro course back in the early days of my grad school career. Doug Blank, Gary McGraw, Lisa Meeden, and Jon Rossie have been my closest friends throughout practically my entire time in Bloomington. It is amazing how many times just talking about Metacat with Doug (or drawing illegible diagrams on paper napkins with him over lunch) helped me to gure out what exactly it was that I was trying to do. Gary made life at CRCC fun. Actually, he made life in Bloomington fun. In many ways, the parties that he and Amy had out in their rustic Bean Blossom hideaway remain for me the essence of grad school. Lisa has been such a constant source of intellectual companionship, good humor, and moral support through the years that it is hard for me to imagine what I would have done without her. Being her faculty colleague in the CS program at Swarthmore for the past two years has been truly wonderful. Jon, in addition to being a great friend and erstwhile housemate, has been my link to the programming languages world|the other great interest of mine in CS. Also, hanging out with Jon, Naz, Maddy, and Caleb has provided much-needed fun and relaxation over the years. Heartfelt thanks go to Melanie Mitchell for writing Copycat in such a remarkably clean and well-organized way that I could actually gure out how it all worked| without having to pester her incessantly with questions (well, at least not too many). I hope Metacat will prove to be a worthy successor to Copycat. Thanks also to the other FARGonauts, past and present, for making CRCC such a great place to work and hang out (not necessarily in that order), especially John Rehling, Dave Chalmers, Bob French, Liane Gabora, Wang Pei, and Hamid Ekbia. For invaluable administrative assistance over the years I would like to thank Helga Keller and Pam Larson. They both kept me safely insulated from the IU bureaucracy for years, and for that I am deeply grateful. Thanks to Jim Herriot for many enjoyable discussions about \Coeecat" and viii \Latte Spirit", and for being such an enthusiastic follower of FARG work in general, and of Metacat in particular. It was always fun to talk about Metacat and Letter Spirit with him and John Rehling whenever he came to town. Immense thanks go to John Zuckerman for providing CRCC with a copy of his wonderful SchemeXM/SGL graphics package. Without SXM, the development of Metacat would have been innitely more painful. I am truly more grateful than I can say. Also, John cheerfully made a number of extensions to SXM at my (and Gary McGraw's) request. Many other friends have enriched my time in graduate school, including Laura Blankenship, Amy Barley, Amy Burton, Manuel Cordero, Patti Freeman, Eric Jeschke, Kannan Konath, Shirley Lee, Mike Ly, Devin McAuley, Brenda Sermersheim, Lisa Thomas, and Paola Voci. The Swarthmore College computer science department has been an exceptionally congenial place to work for the past two years. Thanks to Charles Kelemen, Lisa Meeden, Je Knerr, and Joan McCaul for making my time at Swarthmore so enjoy- able, and for waiting patiently while I nished my thesis. In particular, I would like to thank Je for letting me borrow an Ultra-5 all summer long (and then some) in order to nish the work. I denitely could not have done it otherwise. Thanks also to the other Swat sysadmins for providing essential software and hardware support. Thanks to the Pat Metheny Group for providing constant musical inspiration whenever it was needed. My mother Jean Burris has given me un agging moral support and loving encour- agement throughout my many years of work on this project, and for that I am truly grateful. Thanks, Mom. Likewise, my sister Maria Marshall and my brother-in-law Bill Wightman cheered me on as I approached the nish line, and have been pillars of support throughout the whole process. Finally, very special thanks go to Francesca Parmeggiani, who has been there with ix me throughout the entire writing of this dissertation|gently encouraging me to keep going, patiently listening to me complain, and always believing in me no matter what. Grazie, Chicco (voglio molto bene a te). This research has been supported in part by Sun Microsystems Co. Academic Equipment Grant #EDUD-NAFO-960418 and by grants to the Center for Research on Concepts and Cognition from the College of Arts and Sciences of Indiana University. x contents 1.1 High-Level Perception . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.3 The Ubiquity of Analogy in Human Thought . . . . . . . . . . . . . . 5 1.4 Creativity, Randomness, and Subcognition . . . . . . . . . . . . . . . 7 1.5 A Computer Model of Conceptual Fluidity . . . . . . . . . . . . . . . 9 1.5.1 An idealized microworld for studying analogy-making . . . . . 10 1.5.2 The architecture of Copycat . . . . . . . . . . . . . . . . . . . 17 1.5.3 Conceptual activity in the Slipnet . . . . . . . . . . . . . . . . 20 1.5.4 Perceptual activity in the Workspace . . . . . . . . . . . . . . 21 1.5.5 Codelets and the parallel terraced scan . . . . . . . . . . . . . 26 1.5.6 Temperature and nondeterminism . . . . . . . . . . . . . . . . 28 2 From Copycat to Metacat 33 2.1 A Short History of FARG Work . . . . . . . . . . . . . . . . . . . . . 34 2.1.1 Jumbo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 2.1.2 Seek-Whence . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 2.1.3 Tabletop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 2.3 The Objectives of the Metacat Project . . . . . . . . . . . . . . . . . 45 xi 2.3.2 Self-watching . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 2.3.5 Working backwards from a given answer . . . . . . . . . . . . 49 2.3.6 Making up new analogy problems . . . . . . . . . . . . . . . . 49 2.3.7 The objectives of the present work . . . . . . . . . . . . . . . 51 2.4 An Overview of the Metacat Architecture . . . . . . . . . . . . . . . 51 2.4.1 The Episodic Memory . . . . . . . . . . . . . . . . . . . . . . 52 2.4.2 The Themespace . . . . . . . . . . . . . . . . . . . . . . . . . 53 2.4.4 Themes and self-watching: An example . . . . . . . . . . . . . 57 2.4.5 Working backwards: An example . . . . . . . . . . . . . . . . 59 2.4.6 Comparing and contrasting answers: An example . . . . . . . 62 2.5 Relation to Other Work . . . . . . . . . . . . . . . . . . . . . . . . . 68 3 Generalizing the Representation of Rules 72 3.1 Similarities and Dierences Between Strings . . . . . . . . . . . . . . 73 3.2 Building Rules in Copycat . . . . . . . . . . . . . . . . . . . . . . . . 75 3.3 Building Rules in Metacat . . . . . . . . . . . . . . . . . . . . . . . . 76 3.3.1 Generalized mappings between strings . . . . . . . . . . . . . 76 3.3.2 From mappings to rules . . . . . . . . . . . . . . . . . . . . . 80 3.3.3 A sampler of Metacat rules . . . . . . . . . . . . . . . . . . . 82 3.3.4 The internal structure of rules in detail . . . . . . . . . . . . . 89 3.3.5 Measures of rule quality . . . . . . . . . . . . . . . . . . . . . 96 Uniformity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 Abstractness . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 Succinctness . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 Rule-abstraction heuristics . . . . . . . . . . . . . . . . . . . . 110 3.4.1 Coattail slippages . . . . . . . . . . . . . . . . . . . . . . . . . 119 4 An Architecture for Self-Watching 126 4.1 Themes and the Themespace . . . . . . . . . . . . . . . . . . . . . . . 127 4.1.1 Organization of the Themespace . . . . . . . . . . . . . . . . . 131 4.1.2 Top-down in uence of themes . . . . . . . . . . . . . . . . . . 138 4.2 Patterns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 4.2.1 Theme-patterns . . . . . . . . . . . . . . . . . . . . . . . . . . 146 4.2.2 Concept-patterns . . . . . . . . . . . . . . . . . . . . . . . . . 150 4.5 Self-Watching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167 4.7.1 Answer descriptions . . . . . . . . . . . . . . . . . . . . . . . . 184 4.7.2 Snag descriptions . . . . . . . . . . . . . . . . . . . . . . . . . 188 4.7.4 Generating commentary in English: An example . . . . . . . . 193 4.7.5 Reminding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197 5.1 Three Families of Analogy Problems . . . . . . . . . . . . . . . . . . 202 5.1.1 The xyz family . . . . . . . . . . . . . . . . . . . . . . . . . . 202 5.1.2 The mrrjjj family . . . . . . . . . . . . . . . . . . . . . . . . 202 5.1.3 The eqe family . . . . . . . . . . . . . . . . . . . . . . . . . . 204 5.2 Sample Runs of the Program . . . . . . . . . . . . . . . . . . . . . . . 206 5.2.1 Examples of answer justication . . . . . . . . . . . . . . . . . 206 Run 1: abc)abd; mrrjjj)mrrjjjj . . . . . . . . . . . . . . 206 Run 2: xqc)xqd; mrrjjj)mrrkkk . . . . . . . . . . . . . 214 Run 3: rst) rsu; xyz)uyz . . . . . . . . . . . . . . . . . . 219 5.2.2 Examples of jootsing . . . . . . . . . . . . . . . . . . . . . . . 224 Run 4: abc)abd; xyz)dyz . . . . . . . . . . . . . . . . . . 224 Run 5: xqc)xqd; mrrjjj)mrrjjjj . . . . . . . . . . . . . 227 Run 6: eqe) qeq; abbbc)aaabccc . . . . . . . . . . . . . . 231 Run 7: abc)abd; xyz)? . . . . . . . . . . . . . . . . . . . 237 Run 8: eqe) qeq; abbbc)? . . . . . . . . . . . . . . . . . . 242 5.2.3 Examples of answer comparison and reminding . . . . . . . . 247 5.3 Problems with the Model . . . . . . . . . . . . . . . . . . . . . . . . . 256 5.3.1 Implausible rules . . . . . . . . . . . . . . . . . . . . . . . . . 256 6 Conclusion 271 6.1 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271 Appendix: Random Number Seeds 283 xiii 2.1 Six answers and their associated answer descriptions . . . . . . . . . . 67 4.1 Two answer descriptions and one snag description for the problems \eqe) qeq; abbba)?" and \eqe) qeq; abbbc)?"…