CS8803B – Artificial Intelligence
Friday, 9/13/2002
Why study memory?
We want to know how to access knowledge in order to solve problems, and to do that we need to understand how knowledge is organized in memory.
Example 1
“Jack got a rope.
He wanted to commit suicide.”
(From Charniak and McDemott, Artificial Intelligence, chapter 10.)
Why did Jack get a rope? Because he wanted to hang himself. Answering this question requires accessing one particular bit of knowledge out of the huge knowledge base we have.
Example 2

Does AB look more like C1 or C2?
Answer: C2
(From Winston, Artificial Intelligence, 3rd Edition, chapter 2.)
These two examples are very different but use the same memory representation: semantic networks.
For A and B in Example 2:

Four parts of the semantic network representation:
|
Lexical – vocabulary |
nodes, links |
|
Structural |
node à link à node |
|
Semantic |
node means object link means relation (in this case) |
|
Procedural |
Read:
Write:
|
Part of a semantic network for Example 1 might look like
this:

An algorithm for making connections using a semantic network. Also known as marker passing, intersection search.
Basic algorithm:
1. “Get rope” node activated by first sentence.
2. “Commit suicide” node activated by second sentence.
3. Activatioin spreads in both directions.
4. As soon as they intersect, you have one possible explanation.
Problems with spreading activation
Recall the question of example 2: “Does AB look more like C1 or C2?” To help answer this, we could overlay the semantic network representation of AB with another semantic network (shown in red) that captures the structure of the first network:

We can construct similar overlays for C1 and C2, and then compare the overlays to see which sets of diagrams are most similar.
1. Given a library of situations described as an overlay of semantic networks, can decide which is closest to the input.
2. Can relate different parts of input.