128
Announcements Read Chapter 19 for Thursday – we will discuss it. HW 10: Due Tuesday Dec. 6 Final project: Due Friday Dec. 9 Volunteers for project demos?

Announcements

  • Upload
    nia

  • View
    29

  • Download
    0

Embed Size (px)

DESCRIPTION

Announcements. Read Chapter 19 for Thursday – we will discuss it. HW 10: Due Tuesday Dec. 6 Final project: Due Friday Dec. 9 Volunteers for project demos? . Benford’s law: Distribution of leading digits. Explanation of Benford’s law. Explanation of Benford’s law. - PowerPoint PPT Presentation

Citation preview

Page 1: Announcements

Announcements

• Read Chapter 19 for Thursday – we will discuss it.

• HW 10: Due Tuesday Dec. 6

• Final project: Due Friday Dec. 9

• Volunteers for project demos?

Page 2: Announcements

Benford’s law: Distribution of leading digits

Page 3: Announcements

Explanation of Benford’s law

Page 4: Announcements

Explanation of Benford’s law

X = r ×10n (scientific notation)1 ≤ r <10The leading digit of X is 1 when 1 ≤ r < 2The leading digit of X is 1 when 2 ≤ r < 3and so on.

log10 X = log10(r ×10n )

= log10(r) + log10(10n )= log10(r) + nThe leading digit of X is 1 when 1≤ r < 2, or whenn = 0 : 0 ≤ log10 X < 0.301n =1: 1 ≤ log10 X <1.301n = 2 : 2 ≤ log10 X < 2.301etc.(30.1% of the time)

The leading digit of X is 2 when 2 ≤ r < 3, or whenn = 0 : .301≤ log10 X < 0.477n =1: 1.301≤ log10 X <1.477n = 2 : 2.301≤ log10 X < 2.477etc.(17.6% of the time)

The leading digit of X is 9 when 9 ≤ r < 10 or whenn = 0 : .954 ≤ log10 X <1n =1: 1.954 ≤ log10 X < 2n = 2 : 2.954 ≤ log10 X < 3etc.(4.6% of the time)

Page 5: Announcements

1. Global information is encoded as statistics and dynamics of patterns over the systems components.

2. Randomness and probabilities are essential

3. The system carries out a fine-grained parallel search of possibilities.

4. The system exhibits a continual interplay of bottom-up and top-down processes.

Four Principles of Information Processing In Living Systems

(Complexity: A Guided Tour, Chapter 12)

Page 6: Announcements
Page 7: Announcements

Consider the following cognitive activities

Page 8: Announcements

• Recognition:

Page 9: Announcements

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

well as in real life.

Page 10: Announcements

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

well as in real life.

Page 11: Announcements

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

Page 12: Announcements

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

Page 13: Announcements

– People can recognize styles of music:

Page 14: Announcements

– People can recognize styles of music:

• “That sounds like Mozart”

Page 15: Announcements

– People can recognize styles of music:

• “That sounds like Mozart”

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

Page 16: Announcements

– People can recognize styles of music:

• “That sounds like Mozart”

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

– People can recognize abstract situations:

Page 17: Announcements

– 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 18: Announcements

• People make scientific analogies:

Page 19: Announcements

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

Page 20: Announcements

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

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

Page 21: Announcements

• 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 22: Announcements

• 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 23: Announcements

• People make unconscious analogies

Page 24: Announcements

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

Page 25: Announcements

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

Female colleague: “I did that yesterday.”

Page 26: Announcements

Main idea is that we understandabstract concepts by analogy with the concrete physical world.

Page 27: Announcements

Some examples

• Happy/Good = up– “My mood has risen since yesterday.”– “Things have been going up lately”– “I like to get high.”

• Sad/Bad = down– “My work is going downhill.”– “She’s feeling depressed.”– “That’s a real downer.”

Page 28: Announcements

• Understanding/Knowledge = seeing / light– “I see what you mean.”– “Thanks for enlightening me.”– “Can you shed any light on this situation?.”

• Confusion/Ignorance = blindness/dark– “I can’t see my way through his argument.”– “She left me in the dark.”– “I have brainfog in the morning.”

Page 29: Announcements

• Love/Attraction = physical force– “I’m falling in love.”– “There’s a strong chemistry between us.”– “I could feel the electricity between them; there were a lot of

sparks.”– “He has a lot of magnetism.”– “When I’m with him, the atmosphere is charged.”

• Ideas = food– “I need some time to digest that idea.”– “Your idea is half-baked.”– “That’s a theory you can sink your teeth into.”– “That gave me some food for thought.”

Page 30: Announcements

• Significant/Important = large– “He’s a big name in the field.”– “He’s a giant among writers.”– “What are the big ideas in your field?”– “Her accomplishments tower over those of others in her area.”

• Vitality / Energy = a substance ; people = containers– “He’s brimming with spirit.”– “She’s overflowing with vitality.”– “He’s devoid of energy.”– “I’m always drained at the end of the day.”

Page 31: Announcements

• Emotional effect = physical contact– “Getting fired hit him hard.”– “That movie bowled me over.”– “She made a big impression on me”– “That blew me away.”– “I was really struck by his sincerity.”

• Vitality / Energy = a substance ; people = containers– “He’s brimming with spirit.”– “She’s overflowing with vitality.”– “He’s devoid of energy.”– “I’m always drained at the end of the day.”

Page 32: Announcements

Copycat: A computer program that models human analogy-making

(Douglas Hofstadter, Melanie Mitchell, Jim Marshall)

Page 33: Announcements

Idealizing analogy-making

abc ---> abdijk --->

Page 34: Announcements

Idealizing analogy-making

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

letter by successor)

Page 35: Announcements

Idealizing analogy-making

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

letter by successor) ijd (replace rightmost

letter by ‘d’)

Page 36: Announcements

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 37: Announcements

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 38: Announcements

Idealizing analogy-making

abc ---> abdiijjkk ---> ?

Page 39: Announcements

Idealizing analogy-making

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

Page 40: Announcements

Idealizing analogy-making

abc ---> abdiijjkk ---> ?

Page 41: Announcements

Idealizing analogy-making

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

Page 42: Announcements

Idealizing analogy-making

abc ---> abdkji ---> ?

Page 43: Announcements

Idealizing analogy-making

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

Page 44: Announcements

Idealizing analogy-making

abc ---> abdkji ---> ?

Page 45: Announcements

Idealizing analogy-making

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

Page 46: Announcements

Idealizing analogy-making

abc ---> abdkji ---> ?

Page 47: Announcements

Idealizing analogy-making

abc ---> abdkji ---> ?

Page 48: Announcements

Idealizing analogy-making

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

Page 49: Announcements

Idealizing analogy-making

abc ---> abdmrrjjj ---> ?

Page 50: Announcements

Idealizing analogy-making

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

Page 51: Announcements

Idealizing analogy-making

abc ---> abdmrrjjj ---> ?

Page 52: Announcements

Idealizing analogy-making

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

Page 53: Announcements

Idealizing analogy-making

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

Page 54: Announcements

Idealizing analogy-making

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

1 2 4

Page 55: Announcements

Idealizing analogy-making

abc ---> abdxyz ---> ?

Page 56: Announcements

Idealizing analogy-making

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

Page 57: Announcements

Idealizing analogy-making

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

Replace rightmost letter by successor

Page 58: Announcements

Idealizing analogy-making

abc ---> abdxyz ---> ?

Page 59: Announcements

Idealizing analogy-making

abc ---> abdxyz ---> ?

last letter in alphabet

Page 60: Announcements

Idealizing analogy-making

abc ---> abdxyz ---> ?

last letter in alphabet

first letter in alphabet

Page 61: Announcements

Idealizing analogy-making

abc ---> abdxyz ---> ?

last letter in alphabet

first letter in alphabet

Page 62: Announcements

Idealizing analogy-making

abc ---> abdxyz ---> wyz

last letter in alphabet

first letter in alphabet

Replace “rightmost” letter by “successor”

Page 63: Announcements

Idealizing analogy-making

abc ---> abdxyz ---> wyz

last letter in alphabet

first letter in alphabet

Page 64: Announcements

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’s job is to explore a possible way of describing an object or relationship between objects

• Each agent has very limited perceptual and communication abilities

• Each agent makes its decisions (about what to explore probabilistically, based on what it perceives in its environment and on its interaction with other agents.

• In this way the resources (agent time) allocated to a possible exploration depends on its promise, as assessed dynamically as exploration proceeds.

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

Page 65: Announcements

Architecture of Copycat

Page 66: Announcements

Concept network

Architecture of Copycat

Page 67: Announcements

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

Architecture of Copycat

Workspace

Concept network

Page 68: Announcements

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

Architecture of Copycat

Workspace

Perceptual agents (codelets)

Concept network

Page 69: Announcements

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

Perceptual agents (codelets)

Architecture of Copycat

Temperature

Workspace

Concept network

Page 70: Announcements

Workspace

Page 71: Announcements

a b c --> a b d

m r r j j j --> ?

Page 72: Announcements

a b c --> a b d

m r r j j j --> ?

Codelet actions

Page 73: Announcements

a b c --> a b d

m r r j j j --> ?

Page 74: Announcements

a b c --> a b d

m r r j j j --> ?

Page 75: Announcements

a b c --> a b d

m r r j j j --> ?

successorship

Page 76: Announcements

a b c --> a b d

m r r j j j --> ?

successorship

Page 77: Announcements

• Codelets make probabilistic decisions:

Page 78: Announcements

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

Page 79: Announcements

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

Page 80: Announcements

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

Page 81: Announcements

• 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

Page 82: Announcements

a b c --> a b d

m r r j j j --> ?

Page 83: Announcements

a b c --> a b d

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

letter --> letter??

Page 84: Announcements

a b c --> a b d

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

letter --> letter?

Page 85: Announcements

a b c --> a b d

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

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

Page 86: Announcements

a b c --> a b d

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

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

Page 87: Announcements

a b c --> a b d

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

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

Page 88: Announcements

a b c --> a b d

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

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

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

Page 89: Announcements

a b c --> a b d

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

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

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

Page 90: Announcements

a b c --> a b d

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

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

Page 91: Announcements

a b c --> a b d

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

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

letter --> letter??

Page 92: Announcements

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 93: Announcements

Concept Network

Page 94: Announcements

Part of Copycat’s Concept Network

Page 95: Announcements

• Concepts are activated as instances are noticed in workspace.

Concept Network

Page 96: Announcements

a b c --> a b d

x y z --> ?

Page 97: Announcements

a b c --> a b d

x y z --> ?

Page 98: Announcements

Part of Copycat’s Concept Network

successor

Page 99: Announcements

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

Concept Network

Page 100: Announcements

a b c --> a b d

x y z --> ?

successor

Page 101: Announcements

a b c --> a b d

x y z --> ?

successor

Page 102: Announcements

a b c --> a b d

x y z --> ?

successor

Page 103: Announcements

• Activated concepts spread activation to neighboring concepts.

Concept Network

Page 104: Announcements

a b c --> a b d

x y z --> ?

last

last

Page 105: Announcements

a b c --> a b d

x y z --> ?

last

lastfirst

Page 106: Announcements

a b c --> a b d

x y z --> ?

last

lastfirst

first

Page 107: Announcements

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

Concept Network

Page 108: Announcements

a b c --> a b d

x y z --> ?

first

lastleftmost

rightmost

Page 109: Announcements

a b c --> a b d

x y z --> ?

first

lastleftmost

rightmost

Page 110: Announcements

a b c --> a b d

x y z --> ?

first

last

opposite

first last

first --> last

leftmost

rightmost

Page 111: Announcements

a b c --> a b d

x y z --> ?

first

last

opposite

first last

leftmost

rightmost

first --> last

leftmost

rightmost

Page 112: Announcements

a b c --> a b d

x y z --> ?

first

last

opposite

first last

leftmost

rightmost

first --> last

leftmost

rightmost

Page 113: Announcements

a b c --> a b d

x y z --> ?

first

last

opposite

first last

leftmost

rightmost

first --> lastrightmost --> leftmost

leftmost

rightmost

Page 114: Announcements

Temperature

Page 115: Announcements

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

Temperature

Page 116: Announcements

• 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 117: Announcements

• 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 118: Announcements

a b c --> a b d

m r r j j j --> ?

High temperature

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

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

Page 119: Announcements

a b c --> a b d

m r r j j j --> ?

Medium temperature

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

rightmost --> rightmostletter --> group

Page 120: Announcements

a b c --> a b d

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

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

Low temperature

middle --> middleletter --> group

Page 121: Announcements

• 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 122: Announcements

• 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 123: Announcements

• 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 124: Announcements

• 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 125: Announcements

• 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 126: Announcements

Demo(Metacat, J. Marshall)

Page 127: Announcements

1. Global information is encoded as statistics and dynamics of patterns over the systems components.

2. Randomness and probabilities are essential

3. The system carries out a fine-grained parallel search of possibilities.

4. The system exhibits a continual interplay of bottom-up and top-down processes.

Principles that inspired the Copycat program

Page 128: Announcements

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.)