Feb 1, 2000 - Substitution = apply mappings. ⢠sub( {xâa, yâb, zâc} , (a (b c c) a (a b c)) ). â (x (y z z) x
Multiplicative Binding, Representation Operators & Analogical Inference Ross Gayler & Roger Wales Psychology Department, University of Melbourne
[email protected] [email protected] 1-Feb-2000
5th Australasian Cognitive Science Conference
1
Overview • • • •
Aim: connectionist implementation of analogy Construed task as structural pattern completion Strategy: extend recurrent autoassociator (BSB) Developed distributed representational system – Represent complex structures in fixed dimension – Naturally supports primitive operations of analogy
• Proposal for extension of BSB memory architecture based on representational system 1-Feb-2000
5th Australasian Cognitive Science Conference
2
Analogy as Mapping & Substitution • Mapping = identify best correspondences
• map( (x (y z z) x) , (a (b c c) a (a b c) ) )
{xa, yb, zc}
• Substitution = apply mappings • sub( {xa, yb, zc} , (a (b c c) a (a b c)) )
(x (y z z) x (x y z))
• analogy( p , q) = sub( map( p , q) , q ) 1-Feb-2000
5th Australasian Cognitive Science Conference
3
Analogy as Retrieval • BSB autoassociators for pattern completion
– Currently: completion of literal, flat patterns cue = (x y z z x ? ? ?) trace = (x y z z x x y z) + ... (x y z z x x y z) – Objective: completion of structural patterns cue = (x (y z z) x) trace = (a (b c c) a (a b c)) + ... (x (y z z) x (x y z))
• Analogy as a failure mode of literal retrieval • Analogy is conjectured to be memory retrieval with mapping and substitution 1-Feb-2000
5th Australasian Cognitive Science Conference
4
Convergent Substitution Notional Architecture (a (b c c) a)
AutoAssociator (literal pattern completion from AA trace)
(a (b c c) a (a b c))
(x (y z z) x)
sub( )
Cue {xa, yb, zc}
Generate mappings
? Retrieved
sub( )
(x (y z z) x (x y z))
Lines indicate flows of connectionist distributed representations of structures 1-Feb-2000
5th Australasian Cognitive Science Conference
5
Representation of Structures • “MAP” binding of high-dimensional vectors – Multiply associate or bind – Add superpose or insert in multiset – Permute quote
• Desirable properties for analogy – – – – –
1-Feb-2000
MAP
Represent structures of arbitrary complexity Fixed dimension vectors (implies distributed) One-step construction and manipulation Able to represent mappings Implicit interaction between mappings 5th Australasian Cognitive Science Conference
6
Representations & Operations • Any structure can be represented as a sum of products of permutations of vectors • Represent frame as sum of products (naïve) nameTom + speciescat + colourblue
• Nested frames give higher-order bindings • Design of these structures is tricky – Commutative operations lose ordering – Vectors are self-inverse for binding – Permutation helps with both problems
1-Feb-2000
5th Australasian Cognitive Science Conference
7
Literal Retrieval & Clean-up • Retrieve by binding cue (a) with trace (ab) retrieve( a , ab ) = (a ) (ab) = aa-1b = b
• Retrieval generates noise terms
(a’) (ab) = (a + ) (ab) = b + ab (a) (ab + x + …) = b + ax + ... = b +
• Noise terms are suppressed by a clean-up memory populated with known vectors • Clean-up = Literal pattern completion 1-Feb-2000
5th Australasian Cognitive Science Conference
8
Substitution by Retrieval • Represent mappings by bindings { ax , by , cz } = ax + by + cz
• Retrieval with a mapping cue is substitution
sub( { bluered } , colourblue ) colourred retrieve( bluered , colourblue ) = (bluered) (colourblue) = colourred
• Parallel substitution in one operation
(ab) (ax + ay + ...) = bx + by + … (ab + cd ) (ax + cy + ...) = bx + dy + …
1-Feb-2000
5th Australasian Cognitive Science Conference
9
Retrieval Generates Mappings • Failed retrieval gives only noise (a) (b + c + ...) = ab + ac + ...
• Noise terms are representations of mappings ab = { ab }
• Failed retrieval generates all mappings between the cue and every trace term (a) (b + c + ...) = ab + ac + ...
• Binding gives retrieval, substitution, or mappings/noise (depends on cue and trace) 1-Feb-2000
5th Australasian Cognitive Science Conference
10
Conjectured Analogical Retrieval 1 Try to retrieve from trace using literal cue Noise contains all possible cue mappings
2 Filter the mappings to amplify the best 3 Apply best mappings to cue as substitution 4 Use substituted cue to retrieve from AA trace 5 AA trace provides literal pattern completion 6 Reverse the substitution from the results 7 Iterate to convergence (over map & retrieved) 1-Feb-2000
5th Australasian Cognitive Science Conference
11
Convergent Substitution Proposed Architecture transformed
cue
mapping literal pattern completion
literal component clean-up
retrieved literal component clean-up
mapping transformed 1-Feb-2000
retrieved 5th Australasian Cognitive Science Conference
12
BSB with Substitution transformed
cue
mapping literal pattern completion
literal component clean-up
retrieved literal component clean-up
mapping transformed 1-Feb-2000
retrieved 5th Australasian Cognitive Science Conference
13
Estimation of Mapping transformed
literal pattern completion
cue
mapping literal component clean-up
retrieved literal component clean-up
mapping transformed 1-Feb-2000
retrieved 5th Australasian Cognitive Science Conference
14
Two Types of Clean-up transformed
cue
mapping literal pattern completion
literal component clean-up
retrieved literal component clean-up
mapping transformed 1-Feb-2000
retrieved 5th Australasian Cognitive Science Conference
15
Clean-up by Decomposition • Literal pattern completion = amplify known structures and suppress all others • Analogy generates novel literal structures • How to clean-up novel literal structures? • Take advantage of compositional structure • Clean-up as decomposition into known components that recombine to the original 1-Feb-2000
5th Australasian Cognitive Science Conference
16
Literal Component Clean-up a
literal pattern completion
a
ab
a'b
b
1-Feb-2000
literal pattern completion
b
5th Australasian Cognitive Science Conference
17
Summary
• Conjectured analogy to be an extension of BSB memory with mapping and substitution • Developed a distributed representational system with properties useful to analogy – – – – –
Represent structures of arbitrary complexity Fixed dimension vectors One-step construction and manipulation Able to represent mappings Substitution is the same process as retrieval
• Proposed analogical memory architecture 1-Feb-2000
5th Australasian Cognitive Science Conference
18