Beruflich Dokumente
Kultur Dokumente
Assignment on FAM
Submitted by:
Ananya Zabin (357)
Badrunnesa Barsha (366)
Joyeeta Sen Rimpee (353)
Tasmia Tasrin (362)
Tasmina Sharmin (364)
Fuzzy Associative Memory (FAM) belongs to the class of fuzzy neural networks (FNNs).
A FNN is an artificial neural network (ANN) whose input patterns, output patterns and/or
connection weights are fuzzy valued.
A "fuzzy" associative memory system, and a related method for its use, the system
having a large data vector memory for the storage of a large number of vectors having
multiple data fields, to be compared with a number of comparison windows defined by
upper and lower limits for each data field of the vectors.
Output results in the form of match indications are accumulated in an output buffer for
output to a host computer, which also initiates the searches.
The large data vector memory facilitates window searching and searching for the closest
neighbors to a given vector. It also provides a technique for searching large numbers of
windows, and for classifying unknown patterns even when pattern classes are irregular in
shape.
Like many other associative memory models, Kosko’s FAM consists of a single layer
feed forward FNN that stores the fuzzy rule “If x is Xk, then y is Yk” using a fuzzy
Hebbian learning rule in terms of max-min or max-product compositions for the synthesis
of its weight matrix W where,
W= XTY
Here, X is the input pattern and Y is the output pattern.
Features:
Properties of Fuzzy Associative Memory:
• It is a Fuzzy Truth Table
• Shows all possible outputs for all possible inputs.
• Easy to create.
• FAM is Bi-directional.
• Not just “True” and “False.” Takes on a range of values such as:
– True
– Mostly True
– Half True
– Kind of True
– False
• Values range from 0 to 1.
– Including decimal values (0.2, 0.7, etc.).
• FAM is heteroassociative.
• The weight matrix of FAM is a fuzzy matrix
FAM is hetero-associative:
An associative memory is a content-addressable structure that maps a set of input patterns to a
set of output patterns. FAM is hetero-associative; auto-association is a fact in FAM. So FAM is
more general and powerful than the hop-field auto-associative memory
Max-min composition “ o ” : A M B
nxp
Where, A = (a1,…,an), B = (b1,….,bp) & M is a fuzzy n-by-p matrix (a point in I )
Bj max{min( Ai , M i , j )}
1 i n
Comparison Between FAM Hop-field Netwrok and BAM:
Pattern FAM are well suited for Not well suited. Well suited
Recognition pattern Recognition.
Input layer
Output layer
But it can also contain some hidden layers. Neurons of each layer are connected with neurons of
adjacent layers in fully connected manner.
Figure: Network Architecture of Fuzzy Associative Memory
Applications of FAM:
1. Voice cell control in ATM network.
2. Developing flying vehicle control system.
3. Electric power system control
4. It can be applicable in earth quake prediction.
Example: Suppose we want to write fuzzy logic rules for a video game monster. We decide to
start with two variables: hit points (HP) and firepower (FP). We might start with this:
Here, we can associate the translated sentences with two fuzzy sets:
R1: {VeryLowHP, LowHP, MediumHP, HighHP, VeryHighHP}
R2: {VeryWeakFP, WeakFP, MediumFP, HighFP, VeryHighFP}
XT = A1 Y = [ B1 B2 B3 B4 B5 ]
A2
A3
A4
A5
Max{Min(A1,B1)} Max{Min(A1,B2)} Max{Min(A1,B3)} Max{Min(A1,B4)} Max{Min(A1,B5)}
Max{Min(A2,B1)} Max{Min(A2,B2)} Max{Min(A2,B3)} Max{Min(A2,B4)} Max{Min(A2,B5)}
W= Max{Min(A3,B1)} Max{Min(A3,B2)} Max{Min(A3,B3)} Max{Min(A3,B4)} Max{Min(A3,B5)}
Max{Min(A4,B1)} Max{Min(A4,B2)} Max{Min(A4,B3)} Max{Min(A4,B4)} Max{Min(A4,B5)}
Max{Min(A5,B1)} Max{Min(A5,B2)} Max{Min(A5,B3)} Max{Min(A5,B4)} Max{Min(A5,B5)}
So here,
W = XT Y
Now, as we have both the input and output sets, we can define both sets from one another.
Determining the output set from input set,
Yo = XW
= [0.2 0.4 0.6 0.75 0.8] · 0.15 0.20 0.20 0.20 0.20
0.15 0.35 0.40 0.40 0.40
0.15 0.35 0.55 0.60 0.60
0.15 0.35 0.55 0.75 0.75
0.15 0.35 0.55 0.80 0.80
= [Max(.15,.15,.15,.15,.15) Max(.2,.35,.35,.35,.35) Max(.2,.4,.55,.55,.55) Max(.2,.4,.6,.75,.8) Max(.2,.4,.6,.75,.8)]
= [ 0.15 0.35 0.55 0.8 0.8 ]
We can see that there is a slight difference of one variable between Y and Yo.
We can see that there is a slight difference of one variable between X and Xo.
Advantages of FAM:
1. Capable of storing multiple pairs of fuzzy patterns.
2. Target tracking.
3. Can be applied to control flying vehicles intelligently.
4. Can determine lithology from well logs
Disadvantages of FAM:
1. Suffers from low storage capacity for some rules in fuzzy matrix.
Discussion: A fuzzy system must not be sloppy. Depending on the system, it might get away
with being sloppy, but it will underperform. While the rules are fairly arbitrary, they should be
chosen carefully. If possible, an expert should decide on the rules, and the sets and rules should
be tested vigorously and refined as needed. In this way, a fuzzy system is like an expert system.
(Fuzzy logic is used in many true expert systems, as well.)