path finding framework using hrr

38
Path finding Framework using HRR Algorithm and associated equations Surabhi Gupta ’11 Advisor: Prof. Audrey St. John

Upload: herman

Post on 23-Feb-2016

46 views

Category:

Documents


0 download

DESCRIPTION

Surabhi Gupta ’11 Advisor: Prof. Audrey St. John. Algorithm and associated equations. Path finding Framework using HRR. Roadmap. Circular Convolution Associative Memory Path finding algorithm. Hierarchical environment. Locations are hierarchically clustered. X 1. X 4. j - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Path finding Framework using HRR

Path finding Framework using HRRAlgorithm and associated equations

Surabhi Gupta ’11Advisor: Prof. Audrey St. John

Page 2: Path finding Framework using HRR

Roadmap

Circular Convolution Associative Memory Path finding algorithm

Page 3: Path finding Framework using HRR

Hierarchical environment

Locations are hierarchically clustered

d e f

a b c

j k l

m n o

Z

X1

X2 X3Y1

X5

X4

X6Y2

g h i

p q r

Page 4: Path finding Framework using HRR

Tree representation

The scale of a location corresponds to its height in the tree structure.

The node of a tree can be directly queried without pointer following

Maximum number of goal searches = height of the tree

Page 5: Path finding Framework using HRR

Circular ConvolutionHolographic Reduced Representations

Page 6: Path finding Framework using HRR

Circular Convolution (HRR) Developed by Tony Plate in 1991 Binding (encoding) operation –

Convolution Decoding operation – Involution

followed by convolution

Page 7: Path finding Framework using HRR

Basic Operations

1) Binding2) Merge

Page 8: Path finding Framework using HRR

Binding - encoding

C≁AC≁B

Page 9: Path finding Framework using HRR

Circular Convolution ( )

Elements are summed along the trans-diagonals (1991, Plate).

Page 10: Path finding Framework using HRR

Involution

Involution is the approximate inverse.

Page 11: Path finding Framework using HRR

Decoding

Page 12: Path finding Framework using HRR

Basic Operations

1) Binding2) Merge

Page 13: Path finding Framework using HRR

Merge

Normalized Dot product

Page 14: Path finding Framework using HRR

Properties

Commutativity: Distributivity:

(shown by sufficiently long vectors) Associativity:

Page 15: Path finding Framework using HRR

Associative MemoryRecall and retrieval of locations

Page 16: Path finding Framework using HRR

Framework

d e f

a b c

j k l

m n o

Z

X1

X2 X3Y1

X5

X4

X6Y2

g h i

p q r

Page 17: Path finding Framework using HRR

Assumptions

Perfect tree – each leaf has the same depth

Locations within a scale are fully connected e.g. a,b and c, X4, X5 and X6 etc.

Each constituent has the same contribution to the scale location (no bias).

a

Z

X1

X2 X3Y1X5

X4

X6Y2 p

Page 18: Path finding Framework using HRR

Associative Memory

Consists of a list of locations Inputs a location and returns the

most similar location from the list.Memory Input OutputWhat do we store?

Page 19: Path finding Framework using HRR

Scales

Locations a-r are each2048-bit vectors taken from a normal distribution (0,1/2048).

Higher scales - Recursive auto-convolution of constituents

Page 20: Path finding Framework using HRR

Constructing scales

a b c

X1

X1 =

a

b

c

++

a

b

c

a

b

c

X1

Page 21: Path finding Framework using HRR

Across Scale sequences

Between each location and corresponding locations at higher scales. a

b c

X1

+a

a X1

a

X1

Page 22: Path finding Framework using HRR

Path finding algorithmQuite different from standard graph search algorithms…

Page 23: Path finding Framework using HRR

Path finding algorithm

Start Move towards the Goal

Start==Goal?

Go to a higher scale andsearch for the goal

If goal found at this scale

Retrieve the scales corresponding to the goal

If goal not found at this scale

Page 24: Path finding Framework using HRR

Retrieving the next scale1) If at scale-0, query the AS memory

to retrieve the AS sequence. Else use the sequence retrieved in a previous step.

2) Query the L memory with

Page 25: Path finding Framework using HRR

Retrieving the next scale1) Helllo2) Query the L memory with

Page 26: Path finding Framework using HRR

Path finding algorithm

Start Move towards the Goal

Start==Goal?

Go to a higher scale andsearch for the goal

If goal found at this scale

Retrieve the scales corresponding to the goal

If goal not found at this scale

Page 27: Path finding Framework using HRR

Locating the goal

For example:location:

and goal: c

Page 28: Path finding Framework using HRR

Locating the goal

Goal: p Not contained in X1

a

Z

X1

X2 X3Y1X5

X4

X6Y2 p

Page 29: Path finding Framework using HRR

Path finding algorithm

Start Move towards the Goal

Start==Goal?

Go to a higher scale andsearch for the goal

If goal found at this scale

Retrieve the scales corresponding to the goal

If goal not found at this scale

Page 30: Path finding Framework using HRR

Goal not found at Y1

a

Z

X1

X2 X3Y1X5

X4

X6Y2 p

Page 31: Path finding Framework using HRR

Goal found at Z!

a

Z

X1

X2 X3Y1X5

X4

X6Y2 p

Page 32: Path finding Framework using HRR

Path finding algorithm

Start Move towards the Goal

Start==Goal?

Go to a higher scale andsearch for the goal

If goal found at this scale

Retrieve the scales corresponding to the goal

If goal not found at this scale

Page 33: Path finding Framework using HRR

Decoding scales

Same decoding operation

Page 34: Path finding Framework using HRR

Decoding scales

Using the retrieved scales

Page 35: Path finding Framework using HRR

Path finding algorithm

Start Move towards the Goal

Start==Goal?

Go to a higher scale andsearch for the goal

If goal found at this scale

Retrieve the scales corresponding to the goal

If goal not found at this scale

Page 36: Path finding Framework using HRR

Moving to the Goal

d e f

a b c

j k l

m n o

Z

X1

X2 X3Y1

X5

X4

X6Y2

g h i

p q r

Page 37: Path finding Framework using HRR

To work on

Relax the assumption of a perfect tree.

Relax the assumption of a fully connected graph within a scale location.

Page 38: Path finding Framework using HRR

References Kanerva, P., Distributed Representations,

Encyclopedia of Cognitive Science 2002. 59. Plate, T. A. (1991). Holographic reduced

representations: Convolution algebra for compositional distributed representations. In J. Mylopoulos & R. Reiter (Eds.), Proceedings of the 12th International Joint Conference on Artificial Intelligence (pp. 30-35). San Mateo, CA: Morgan Kaufmann.