CS564: Homework Assignment 3

Landmark Learning (Due November 16)

For this exercise you will need to read Chapter 12 of the NSL book. Also the supplementary reading (Metaphorical Brain 2 by M. Arbib) has a section on the topic (Section 3.4).

Homework

1. Implement the landmark learning example in NSLJ.

If you are unable to replicate the result in the NSL book try using the following guidelines.

The attractant ``tree'' is located in the origin (0, 0).

The coordinates of the landmarks are: (0, 5), (0, -5), (5, 0), and (-5, 0).

The strength of smell reduces linearly with the distance (d). Use the function

Smell(d) = 0.5*(1-d/r), if d<=r

0, otherwise

Use r=10 for the central ``tree'' and r=7 for the four other landmarks.

As a result of your work submit the following printouts:

2. Modify your program to try following scenario. After learning the weights with a single robot as in (1) add another robot to the environment (using the same learned weights. Note that there is no learning in this part). Introduce a repellent force that drives the robots apart. Write explicitly how the direction of movement is determined (give the equation(s)). Observe the mutual behavior of robots. Try different repellent strengths; what kind of behaviors can you get? Can the robots find the tree? Write down your observations and submit the trajectory of the robots for different type of behaviors you get. Also provide the complete NSL program.

(self study, not for credit) What if the number of landmarks is not 4, but less (3, 2)? Will the system still be able to learn the configuration of landmarks? Modify your program to make this experiment.

The University of Southern California does not screen or control the content on this website and thus does not guarantee the accuracy, integrity, or quality of such content. All content on this website is provided by and is the sole responsibility of the person from which such content originated, and such content does not necessarily reflect the opinions of the University administration or the Board of Trustees