Top Banner
Analogy-Making
148

Analogy-Making

Feb 24, 2016

Download

Documents

Thais

Analogy-Making. Consider the following cognitive activities. Recognition:. Recognition: A child learns to recognize cats and dogs in books as well as in real life. Recognition: A child learns to recognize cats and dogs in books as well as in real life. - PowerPoint PPT Presentation
Welcome message from author
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
Page 1: Analogy-Making

Analogy-Making

Page 2: Analogy-Making

Consider the following cognitive activities

Page 3: Analogy-Making

• Recognition:

Page 4: Analogy-Making

• Recognition:– A child learns to recognize cats and dogs in books as

well as in real life.

Page 5: Analogy-Making

• Recognition:– A child learns to recognize cats and dogs in books as

well as in real life.

Page 6: Analogy-Making

– People can recognize letters of the alphabet, e.g., ‘A’, in many different typefaces and handwriting styles.

Page 7: Analogy-Making

– People can recognize letters of the alphabet, e.g., ‘A’, in many different typefaces and handwriting styles.

Page 8: Analogy-Making

– People can recognize styles of music:

Page 9: Analogy-Making

– People can recognize styles of music:

• “That sounds like Mozart”

Page 10: Analogy-Making

– People can recognize styles of music:

• “That sounds like Mozart”

• “That’s a muzak version of ‘Hey Jude’”

Page 11: Analogy-Making

– People can recognize styles of music:

• “That sounds like Mozart”

• “That’s a muzak version of ‘Hey Jude’”

– People can recognize abstract situations:

Page 12: Analogy-Making

– People can recognize styles of music:

• “That sounds like Mozart”

• “That’s a muzak version of ‘Hey Jude’”

– People can recognize abstract situations:

• A “Cinderella story”

• “Another Vietnam”

• “Monica-gate”

• “Shop-aholic”

Page 13: Analogy-Making

• People make scientific analogies:

Page 14: Analogy-Making

• People make scientific analogies:– “Biological competition is like economic competition” (Darwin)

Page 15: Analogy-Making

• People make scientific analogies:– “Biological competition is like economic competition” (Darwin)

– “The nuclear force is like the electromagnetic force” (Yukawa)

Page 16: Analogy-Making

• People make scientific analogies:– “Biological competition is like economic competition” (Darwin)

– “The nuclear force is like the electromagnetic force” (Yukawa)

– “The computer is like the brain” (von Neumann)

Page 17: Analogy-Making

• People make scientific analogies:– “Biological competition is like economic competition” (Darwin)

– “The nuclear force is like the electromagnetic force” (Yukawa)

– “The computer is like the brain” (von Neumann)

– “The brain is like the computer” (Simon, Newell, etc.)

Page 18: Analogy-Making

• People make unconscious analogies

Page 19: Analogy-Making

• People make unconscious analogiesMan: “I’m going shopping for a valentine for my wife.”

Page 20: Analogy-Making

• People make unconscious analogiesMan: “I’m going shopping for a valentine for my wife.”

Female colleague: “I did that yesterday.”

Page 21: Analogy-Making

• People make unconscious analogiesNewly married woman: “I often forget my new last name”

Page 22: Analogy-Making

• People make unconscious analogiesNewly married woman: “I often forget my new last name”

Man: “I have that trouble every January”

Page 23: Analogy-Making

• People make unconscious analogiesComputer scientist: “I’m in artificial intelligence because it’s a mixture of psychology, philosophy, linguistics, and computer science”

Page 24: Analogy-Making

• People make unconscious analogiesComputer scientist: “I’m in artificial intelligence because it’s a mixture of psychology, philosophy, linguistics, and computer science”

Architect: “That’s the reason I’m in architecture”

Page 25: Analogy-Making

What is common to all these examples?

Page 26: Analogy-Making

Copycat

(Douglas Hofstadter, Melanie Mitchell, Jim Marshall)

Page 27: Analogy-Making

Idealizing analogy-making

abc ---> abdijk --->

Page 28: Analogy-Making

Idealizing analogy-making

abc ---> abdijk ---> ijl (replace rightmost

letter by successor)

Page 29: Analogy-Making

Idealizing analogy-making

abc ---> abdijk ---> ijl (replace rightmost

letter by successor) ijd (replace rightmost

letter by ‘d’)

Page 30: Analogy-Making

Idealizing analogy-making

abc ---> abdijk ---> ijl (replace rightmost

letter by successor) ijd (replace rightmost

letter by ‘d’) ijk (replace all

‘c’s by ‘d’s)

Page 31: Analogy-Making

Idealizing analogy-making

abc ---> abdijk ---> ijl (replace rightmost

letter by successor) ijd (replace rightmost

letter by ‘d’) ijk (replace all

‘c’s by ‘d’s) abd (replace any

string by ‘abd’)

Page 32: Analogy-Making

Idealizing analogy-making

abc ---> abdiijjkk ---> ?

Page 33: Analogy-Making

Idealizing analogy-making

abc ---> abdiijjkk ---> iijjklReplace rightmost letter by successor

Page 34: Analogy-Making

Idealizing analogy-making

abc ---> abdiijjkk ---> ?

Page 35: Analogy-Making

Idealizing analogy-making

abc ---> abdiijjkk ---> iijjllReplace rightmost “letter” by successor

Page 36: Analogy-Making

Idealizing analogy-making

abc ---> abdkji ---> ?

Page 37: Analogy-Making

Idealizing analogy-making

abc ---> abdkji ---> kjjReplace rightmost letter by successor

Page 38: Analogy-Making

Idealizing analogy-making

abc ---> abdkji ---> ?

Page 39: Analogy-Making

Idealizing analogy-making

abc ---> abdkji ---> ljiReplace “rightmost” letter by successor

Page 40: Analogy-Making

Idealizing analogy-making

abc ---> abdkji ---> ?

Page 41: Analogy-Making

Idealizing analogy-making

abc ---> abdkji ---> ?

Page 42: Analogy-Making

Idealizing analogy-making

abc ---> abdkji ---> kjhReplace rightmost letter by “successor”

Page 43: Analogy-Making

Idealizing analogy-making

abc ---> abdmrrjjj ---> ?

Page 44: Analogy-Making

Idealizing analogy-making

abc ---> abdmrrjjj ---> mrrjjkReplace rightmost letter by successor

Page 45: Analogy-Making

Idealizing analogy-making

abc ---> abdmrrjjj ---> ?

Page 46: Analogy-Making

Idealizing analogy-making

abc ---> abdmrrjjj ---> ? 1 2 3

Page 47: Analogy-Making

Idealizing analogy-making

abc ---> abdmrrjjj ---> ? 1 2 3 1 2 4

Page 48: Analogy-Making

Idealizing analogy-making

abc ---> abdmrrjjj ---> mrrjjjj 1 2 3Replace rightmost “letter” by successor

1 2 4

Page 49: Analogy-Making

Idealizing analogy-making

abc ---> abdxyz ---> ?

Page 50: Analogy-Making

Idealizing analogy-making

abc ---> abdxyz ---> xyaReplace rightmost letter by successor

Page 51: Analogy-Making

Idealizing analogy-making

abc ---> abdxyz ---> xya (not allowed)

Replace rightmost letter by successor

Page 52: Analogy-Making

Idealizing analogy-making

abc ---> abdxyz ---> ?

Page 53: Analogy-Making

Idealizing analogy-making

abc ---> abdxyz ---> ?

last letter in alphabet

Page 54: Analogy-Making

Idealizing analogy-making

abc ---> abdxyz ---> ?

last letter in alphabet

first letter in alphabet

Page 55: Analogy-Making

Idealizing analogy-making

abc ---> abdxyz ---> ?

last letter in alphabet

first letter in alphabet

Page 56: Analogy-Making

Idealizing analogy-making

abc ---> abdxyz ---> wyz

last letter in alphabet

first letter in alphabet

Replace “rightmost” letter by “successor”

Page 57: Analogy-Making

Idealizing analogy-making

abc ---> abdxyz ---> wyz

last letter in alphabet

first letter in alphabet

Page 58: Analogy-Making

Abilities needed in the letter-string microworld

Page 59: Analogy-Making

The Copycat program(Hofstadter and Mitchell)

Page 60: Analogy-Making

The Copycat program(Hofstadter and Mitchell)

• Inspired by collective behavior in complex systems (e.g., ant colonies)

Page 61: Analogy-Making

The Copycat program(Hofstadter and Mitchell)

• Inspired by collective behavior in complex systems (e.g., ant colonies)

• Understanding and perception of similarity is built up collectively by many independent simple “agents” working in parallel

Page 62: Analogy-Making

The Copycat program(Hofstadter and Mitchell)

• Inspired by collective behavior in complex systems (e.g., ant colonies)

• Understanding and perception of similarity is built up collectively by many independent simple “agents” working in parallel

• Each agent has very limited perceptual and communication abilities

Page 63: Analogy-Making

The Copycat program(Hofstadter and Mitchell)

• Inspired by collective behavior in complex systems (e.g., ant colonies)

• Understanding and perception of similarity is built up collectively by many independent simple “agents” working in parallel

• Each agent has very limited perceptual and communication abilities

• Teams of agents explore different possibilities for structures, building on what previous teams have constructed.

Page 64: Analogy-Making

The Copycat program(Hofstadter and Mitchell)

• Inspired by collective behavior in complex systems (e.g., ant colonies)

• Understanding and perception of similarity is built up collectively by many independent simple “agents” working in parallel

• Each agent has very limited perceptual and communication abilities

• Teams of agents explore different possibilities for structures, building on what previous teams have constructed.

• The resources (agent time) allocated to a possible structure depends on its promise, as assessed dynamically as exploration proceeds.

Page 65: Analogy-Making

The Copycat program(Hofstadter and Mitchell)

• Inspired by collective behavior in complex systems (e.g., ant colonies)

• Understanding and perception of similarity is built up collectively by many independent simple “agents” working in parallel

• Each agent has very limited perceptual and communication abilities

• Teams of agents explore different possibilities for structures, building on what previous teams have constructed.

• The resources (agent time) allocated to a possible structure depends on its promise, as assessed dynamically as exploration proceeds.

• The agents working together produce an “emergent” understanding of the analogy.

Page 66: Analogy-Making

Architecture of Copycat

Page 67: Analogy-Making

Concept network (Slipnet)

Architecture of Copycat

Page 68: Analogy-Making

Concept network (Slipnet)

a b c ---> a b di i j j k k --> ?

Architecture of Copycat

Workspace

Page 69: Analogy-Making

Concept network (Slipnet)

a b c ---> a b di i j j k k --> ?

Perceptual and structure-building agents (codelets)

Architecture of Copycat

Workspace

Page 70: Analogy-Making

Concept network (Slipnet)

a b c ---> a b di i j j k k --> ?

Perceptual and structure-building agents (codelets)

Architecture of Copycat

Temperature

Workspace

Page 71: Analogy-Making

Workspace

Page 72: Analogy-Making

• The Workspace starts out with letters in the analogy problem and their initial descriptions.

Workspace

Page 73: Analogy-Making

a b c --> a b d

m r r j j j --> ?

Page 74: Analogy-Making

a b c --> a b d

m r r j j j --> ?

Aleftmostletter

Bmiddleletter

Crightmostletter

Aleftmostletter

Bmiddleletter

Drightmostletter

Mleftmostletter

Jleftmostletter

Rletter

Rletter

Jletter

Jletter

Page 75: Analogy-Making

• The Workspace starts out with letters in the analogy problem and their initial descriptions.

• Codelets gradually build up additional descriptions and structures.

Workspace

Page 76: Analogy-Making

a b c --> a b d

m r r j j j --> ?

Page 77: Analogy-Making

a b c --> a b d

m r r j j j --> ?

Page 78: Analogy-Making

• Codelets can be either “bottom-up” (noticers) or “top-down” (seekers).

Workspace

Page 79: Analogy-Making

a b c --> a b d

m r r j j j --> ?

Page 80: Analogy-Making

a b c --> a b d

m r r j j j --> ?

successorship

Page 81: Analogy-Making

a b c --> a b d

m r r j j j --> ?

successorship

Page 82: Analogy-Making

• Codelets make probabilistic decisions:

Workspace

Page 83: Analogy-Making

• Codelets make probabilistic decisions:– What to look at next

Workspace

Page 84: Analogy-Making

• Codelets make probabilistic decisions:– What to look at next– Whether to build a structure there

Workspace

Page 85: Analogy-Making

• Codelets make probabilistic decisions:– What to look at next– Whether to build a structure there– How fast to build it

Workspace

Page 86: Analogy-Making

• Codelets make probabilistic decisions:– What to look at next– Whether to build a structure there– How fast to build it– Whether to destroy an existing structure there

Workspace

Page 87: Analogy-Making

a b c --> a b d

m r r j j j --> ?

Page 88: Analogy-Making

a b c --> a b d

m r r j j j --> ? rightmost --> rightmost??

letter --> letter??

Page 89: Analogy-Making

a b c --> a b d

m r r j j j --> ? rightmost --> rightmost?

letter --> letter?

Page 90: Analogy-Making

a b c --> a b d

m r r j j j --> ? rightmost --> rightmost?

letter --> letter?leftmost --> leftmost??letter --> letter??

Page 91: Analogy-Making

a b c --> a b d

m r r j j j --> ? rightmost --> rightmost

letter --> letterleftmost --> leftmost??letter --> letter??

Page 92: Analogy-Making

a b c --> a b d

m r r j j j --> ? rightmost --> rightmost

letter --> letterleftmost --> leftmost??letter --> letter??

Page 93: Analogy-Making

a b c --> a b d

m r r j j j --> ? rightmost --> rightmost

letter --> letterleftmost --> leftmost??letter --> letter??

rightmost --> rightmost??letter --> group??

Page 94: Analogy-Making

a b c --> a b d

m r r j j j --> ? rightmost --> rightmost

letter --> letterleftmost --> leftmost??letter --> letter??

rightmost --> rightmost?letter --> group?

Page 95: Analogy-Making

a b c --> a b d

m r r j j j --> ? leftmost --> leftmost?

letter --> letter?rightmost --> rightmostletter --> group

Page 96: Analogy-Making

a b c --> a b d

m r r j j j --> ? leftmost --> leftmost?

letter --> letter?rightmost --> rightmostletter --> groupleftmost --> rightmost??

letter --> letter??

Page 97: Analogy-Making

a b c --> a b d

m r r j j j --> ? leftmost --> leftmost?

letter --> letter?rightmost --> rightmostletter --> group

high prob.

low prob.

leftmost --> rightmost??letter --> letter??

Page 98: Analogy-Making

• Probabilities are used to insure that no possibilities are ruled out in principle, but that not all possibilities have to be considered.

Page 99: Analogy-Making

• Probabilities are used to insure that no possibilities are ruled out in principle, but that not all possibilities have to be considered.

• These decisions rely on information being obtained as the run takes place, e.g., pressure from current activation of concepts and neighboring structures.

Page 100: Analogy-Making

• Probabilities are used to insure that no possibilities are ruled out in principle, but that not all possibilities have to be considered.

• These decisions rely on information being obtained as the run takes place, e.g., pressure from current activation of concepts and neighboring structures.

• Therefore, the probabilities have to be updated continually.

Page 101: Analogy-Making

Slipnet

Page 102: Analogy-Making

Part of Copycat’s Slipnet

Page 103: Analogy-Making

Slipnet

• Concepts are activated as instances are noticed in workspace.

Page 104: Analogy-Making

a b c --> a b d

x y z --> ?

Page 105: Analogy-Making

a b c --> a b d

x y z --> ?

Page 106: Analogy-Making

Part of Copycat’s Slipnet

successor

Page 107: Analogy-Making

Slipnet

• Activation of concepts feeds back into “top-down” pressure to notice instances of those concepts in the workspace.

Page 108: Analogy-Making

a b c --> a b d

x y z --> ?

successor

Page 109: Analogy-Making

a b c --> a b d

x y z --> ?

successor

Page 110: Analogy-Making

a b c --> a b d

x y z --> ?

successor

Page 111: Analogy-Making

Slipnet

• Activated concepts spread activation to neighboring concepts.

Page 112: Analogy-Making

a b c --> a b d

x y z --> ?

last

last

Page 113: Analogy-Making

a b c --> a b d

x y z --> ?

last

lastfirst

Page 114: Analogy-Making

a b c --> a b d

x y z --> ?

last

lastfirst

first

Page 115: Analogy-Making

Slipnet

• Activation of link concepts determines current ease of slippages of that type (e.g., “opposite”).

Page 116: Analogy-Making

a b c --> a b d

x y z --> ?

first

lastleftmost

rightmost

Page 117: Analogy-Making

a b c --> a b d

x y z --> ?

first

lastleftmost

rightmost

Page 118: Analogy-Making

a b c --> a b d

x y z --> ?

first

last

opposite

first last

first --> last

leftmost

rightmost

Page 119: Analogy-Making

a b c --> a b d

x y z --> ?

first

last

opposite

first last

leftmost

rightmost

first --> last

leftmost

rightmost

Page 120: Analogy-Making

a b c --> a b d

x y z --> ?

first

last

opposite

first last

leftmost

rightmost

first --> last

leftmost

rightmost

Page 121: Analogy-Making

a b c --> a b d

x y z --> ?

first

last

opposite

first last

leftmost

rightmost

first --> lastrightmost --> leftmost

leftmost

rightmost

Page 122: Analogy-Making

Temperature

Page 123: Analogy-Making

• Measures how well organized the program’s “understanding” is as processing proceeds (a reflection of how good the current worldview is)

Temperature

Page 124: Analogy-Making

• Measures how well organized the program’s “understanding” is as processing proceeds (a reflection of how good the current worldview is)– Little organization —> high temperature

Temperature

Page 125: Analogy-Making

• Measures how well organized the program’s “understanding” is as processing proceeds (a reflection of how good the current worldview is)– Little organization —> high temperature– Lots of organization —> low temperature

Temperature

Page 126: Analogy-Making

a b c --> a b d

m r r j j j --> ?

High temperature

leftmost --> leftmost?letter --> letter?

rightmost --> rightmost??letter --> group??

Page 127: Analogy-Making

a b c --> a b d

m r r j j j --> ?

Medium temperature

leftmost --> leftmost?letter --> letter?

rightmost --> rightmostletter --> group

Page 128: Analogy-Making

a b c --> a b d

m r r j j j --> ? leftmost --> leftmost

letter --> grouprightmost --> rightmostletter --> group

Low temperature

middle --> middleletter --> group

Page 129: Analogy-Making

• Measures how well organized the program’s “understanding” is as processing proceeds (a reflection of how good the current worldview is)– Little organization —> high temperature– Lots of organization —> low temperature

Temperature

Page 130: Analogy-Making

• Measures how well organized the program’s “understanding” is as processing proceeds (a reflection of how good the current worldview is)– Little organization —> high temperature– Lots of organization —> low temperature

• Temperature feeds back to codelets:

Temperature

Page 131: Analogy-Making

• Measures how well organized the program’s “understanding” is as processing proceeds (a reflection of how good the current worldview is)– Little organization —> high temperature– Lots of organization —> low temperature

• Temperature feeds back to codelets: – High temperature —> low confidence in decisions

—> decisions are made more randomly

Temperature

Page 132: Analogy-Making

• Measures how well organized the program’s “understanding” is as processing proceeds (a reflection of how good the current worldview is)– Little organization —> high temperature– Lots of organization —> low temperature

• Temperature feeds back to codelets: – High temperature —> low confidence in decisions

—> decisions are made more randomly– Low temperature —> high confidence in

decisions —> decisions are made more deterministically

Temperature

Page 133: Analogy-Making

• Measures how well organized the program’s “understanding” is as processing proceeds (a reflection of how good the current worldview is)– Little organization —> high temperature– Lots of organization —> low temperature

• Temperature feeds back to codelets: – High temperature —> low confidence in decisions

—> decisions are made more randomly– Low temperature —> high confidence in

decisions —> decisions are made more deterministically

• Result: System gradually goes from random, parallel, bottom-up processing to deterministic, serial, top-down processing

Temperature

Page 134: Analogy-Making

Demo

Page 135: Analogy-Making

What’s needed to apply these ideas in “real world” problems?

Page 136: Analogy-Making

What’s needed to apply these ideas in “real world” problems?

• Much expanded repertoire of concepts

Page 137: Analogy-Making

What’s needed to apply these ideas in “real world” problems?

• Much expanded repertoire of concepts

• Ability to generate temporary concepts on the fly

Page 138: Analogy-Making

What’s needed to apply these ideas in “real world” problems?

• Much expanded repertoire of concepts

• Ability to generate temporary concepts on the fly(e.g., abc ---> abd, ace ---> ?)

Page 139: Analogy-Making

What’s needed to apply these ideas in “real world” problems?

• Much expanded repertoire of concepts

• Ability to generate temporary concepts on the fly(e.g., abc ---> abd, ace ---> ?)

• Ability to learn new permanent concepts

Page 140: Analogy-Making

What’s needed to apply these ideas in “real world” problems?

• Much expanded repertoire of concepts

• Ability to generate temporary concepts on the fly(e.g., abc ---> abd, ace ---> ?)

• Ability to learn new permanent concepts(e.g., bbb ---> ddd, ppp ---> ?)

Page 141: Analogy-Making

What’s needed to apply these ideas in “real world” problems?

• Much expanded repertoire of concepts

• Ability to generate temporary concepts on the fly(e.g., abc ---> abd, ace ---> ?)

• Ability to learn new permanent concepts(e.g., bbb ---> ddd, ppp ---> ?)

• Ability for “self-watching”

Page 142: Analogy-Making

What’s needed to apply these ideas in “real world” problems?

• Much expanded repertoire of concepts

• Ability to generate temporary concepts on the fly(e.g., abc ---> abd, ace ---> ?)

• Ability to learn new permanent concepts(e.g., bbb ---> ddd, ppp ---> ?)

• Ability for “self-watching”(e.g., abc ---> abd, xyz ---> ?)

Page 143: Analogy-Making

What’s needed to apply these ideas in “real world” problems?

• Much expanded repertoire of concepts

• Ability to generate temporary concepts on the fly(e.g., abc ---> abd, ace ---> ?)

• Ability to learn new permanent concepts(e.g., bbb ---> ddd, ppp ---> ?)

• Ability for “self-watching”(e.g., abc ---> abd, xyz ---> ?)

(cf. Marshall, Metacat, Ph.D. Dissertation, Indiana University, 1998)

Page 144: Analogy-Making

Applications of Ideas from Copycat

Page 145: Analogy-Making

Applications of Ideas from Copycat

• Letter recognition (McGraw, 1995, Ph.D Dissertation, Indiana University)

Page 146: Analogy-Making

Applications of Ideas from Copycat

• Letter recognition (McGraw, 1995, Ph.D Dissertation, Indiana University)

• Natural language processing (Gan, Palmer, and Lua, Computational Linguistics 22(4), 1996, pp. 531-553)

Page 147: Analogy-Making

Applications of Ideas from Copycat

• Letter recognition (McGraw, 1995, Ph.D Dissertation, Indiana University)

• Natural language processing (Gan, Palmer, and Lua, Computational Linguistics 22(4), 1996, pp. 531-553)

• Robot control (Lewis and Lugar, Proceedings of the 22nd Annual Conference of the Cognitive Science Society, Erlbaum, 2000.)

Page 148: Analogy-Making

Applications of Ideas from Copycat

• Letter recognition (McGraw, 1995, Ph.D Dissertation, Indiana University)

• Natural language processing (Gan, Palmer, and Lua, Computational Linguistics 22(4), 1996, pp. 531-553)

• Robot control (Lewis and Lugar, Proceedings of the 22nd Annual Conference of the Cognitive Science Society, Erlbaum, 2000.)

• Image understanding (Mitchell et al.)