SlideShare a Scribd company logo
1 of 16
Bidirectional Associative Memory
(BAM)
Submitted To: Submitted By:
Dr. Meenakshi Sood Sachin Maithani
Associate Professor M.E. Regular
TABLE OF CONTENT
• 1. INTRODUCTION
• 2.OBJECTIVE OF BAM
• 3.ARCHITECTURE
• 4. ALGORITHM
• 5.EXAMPLE BASED BAM
• 6.APPLICATION
• 7. LIMITATION
• 8.REFERENCES
INTRODUCTION
• Bidirectional Associative Memory (BAM) is a supervised learning model in Artificial
Neural Network.
• This is hetero-associative memory, for an input pattern, it returns another pattern which
is potentially of a different size
• A Recurrent Neural Network (RNN) is needed to receive a pattern of one set of neurons
as an input and generate a related, but different, output pattern of another set of neurons.
OBJECTIVE OF BAM
• A network model is to store hetero-associative pattern pairs
• This is used to retrieve a pattern given a noisy or incomplete pattern.
ARCHITECTURE
• When BAM accepts an input of n-dimensional vector X from set A then the model
recalls m-dimensional vector Y from set B. Similarly when Y is treated as input, the BAM
recalls X.
ALGORITHM
• 1. Storage (Learning): In this learning step of BAM, weight matrix is calculated between
M pairs of patterns (fundamental memories) are stored in the synaptic weights of the network
following the equation
2. Testing: We have to check that the BAM recalls perfectly for corresponding and
recalls for corresponding Using,
All pairs should be recalled accordingly.
3. Retrieval: For an unknown vector X (a corrupted or incomplete version of a pattern from
set A or B) to the BAM and retrieve a previously stored association
o Initialize the BAM:
o
o Calculate the BAM output at iteration :
o
o Update the input vector :
o
o Repeat the iteration until convergence, when input and output remain unchanged.
EXAMPLE BASED BAM
• Set A: Input Patterns
• Set B: Corresponding Target Patterns
Step 1: Here, the value of M (no of pairs of patterns) is 4.
Step 2: Assign the neurons in the input and output layer. Here, neurons in the input layer are 6
and the output layer are 3
Step 3: Now, compute the Weight Matrix (W):
Step 4: Test the BAM model learning algorithm- for the input patterns BAM will return the
corresponding target patterns as output. And for each of the target patterns, BAM will return the
corresponding input patterns.
•Test on input patterns (Set A) using-
Test on target patterns (Set B) using -
Here, for each of the input patterns, the BAM model will give correct target patterns and for target patterns, the
model will also give corresponding input patterns.
This signifies the bidirectional association in memory or model network.
APPLICATION
• 1. Pattern recognition
• 2. Image processing
LIMITATION
• Storage capacity of the BAM: In the BAM, stored number of
associations should not be exceeded the number of neurons in the smaller
layer.
• Incorrect convergence: Always the closest association may not be
produced by BAM.
REFERENCES
• https://www.geeksforgeeks.org/ann-bidirectional-associative-memory-bam/
• https://dl.acm.org/doi/10.1145/2431211.2431217
• https://www.youtube.com/watch?v=rpwrJOzWOws
Presentation

More Related Content

What's hot

Memory interfacing
Memory interfacingMemory interfacing
Memory interfacing
mahalakshmimalini
 

What's hot (20)

Neural Networks: Introducton
Neural Networks: IntroductonNeural Networks: Introducton
Neural Networks: Introducton
 
Comparative study of ANNs and BNNs and mathematical modeling of a neuron
Comparative study of ANNs and BNNs and mathematical modeling of a neuronComparative study of ANNs and BNNs and mathematical modeling of a neuron
Comparative study of ANNs and BNNs and mathematical modeling of a neuron
 
Full DDR Bank Power and Signal Integrity Analysis with Chip-Package-System Co...
Full DDR Bank Power and Signal Integrity Analysis with Chip-Package-System Co...Full DDR Bank Power and Signal Integrity Analysis with Chip-Package-System Co...
Full DDR Bank Power and Signal Integrity Analysis with Chip-Package-System Co...
 
Adaptive Resonance Theory
Adaptive Resonance TheoryAdaptive Resonance Theory
Adaptive Resonance Theory
 
OPTICAL BURST SWITCHING
OPTICAL BURST SWITCHINGOPTICAL BURST SWITCHING
OPTICAL BURST SWITCHING
 
Cyclic code non systematic
Cyclic code non systematicCyclic code non systematic
Cyclic code non systematic
 
Gender detection using MATLAB
Gender detection using MATLABGender detection using MATLAB
Gender detection using MATLAB
 
Amba presentation2
Amba presentation2Amba presentation2
Amba presentation2
 
AXI Protocol.pptx
AXI Protocol.pptxAXI Protocol.pptx
AXI Protocol.pptx
 
WSN Routing Protocols
WSN Routing ProtocolsWSN Routing Protocols
WSN Routing Protocols
 
Eye pattern
Eye patternEye pattern
Eye pattern
 
WSN-IEEE 802.15.4 -MAC Protocol
WSN-IEEE 802.15.4 -MAC ProtocolWSN-IEEE 802.15.4 -MAC Protocol
WSN-IEEE 802.15.4 -MAC Protocol
 
8251 USART
8251 USART8251 USART
8251 USART
 
OPTICAL FIBER COMMUNICATION PPT
OPTICAL FIBER COMMUNICATION PPTOPTICAL FIBER COMMUNICATION PPT
OPTICAL FIBER COMMUNICATION PPT
 
INTEL 80386 MICROPROCESSOR
INTEL  80386  MICROPROCESSORINTEL  80386  MICROPROCESSOR
INTEL 80386 MICROPROCESSOR
 
neural networks
neural networksneural networks
neural networks
 
AHB To APB BRIDGE.pptx
AHB To APB BRIDGE.pptxAHB To APB BRIDGE.pptx
AHB To APB BRIDGE.pptx
 
APB protocol v1.0
APB protocol v1.0APB protocol v1.0
APB protocol v1.0
 
Memory interfacing
Memory interfacingMemory interfacing
Memory interfacing
 
23. serial and parallel data communication
23. serial and parallel data communication23. serial and parallel data communication
23. serial and parallel data communication
 

Similar to Presentation

WK3 - Multi Layer Perceptron networks of neural multilayer perceptron
WK3 - Multi Layer Perceptron networks of neural multilayer perceptronWK3 - Multi Layer Perceptron networks of neural multilayer perceptron
WK3 - Multi Layer Perceptron networks of neural multilayer perceptron
johnberkmanst
 

Similar to Presentation (20)

sathiya new final.pptx
sathiya new final.pptxsathiya new final.pptx
sathiya new final.pptx
 
Associative_Memory_Neural_Networks_pptx.pptx
Associative_Memory_Neural_Networks_pptx.pptxAssociative_Memory_Neural_Networks_pptx.pptx
Associative_Memory_Neural_Networks_pptx.pptx
 
PPT 3.1.4 Associative Memory Network.pptx
PPT 3.1.4 Associative Memory Network.pptxPPT 3.1.4 Associative Memory Network.pptx
PPT 3.1.4 Associative Memory Network.pptx
 
Neural netorksmatching
Neural netorksmatchingNeural netorksmatching
Neural netorksmatching
 
Explicit Density Models
Explicit Density ModelsExplicit Density Models
Explicit Density Models
 
WK3 - Multi Layer Perceptron networks of neural multilayer perceptron
WK3 - Multi Layer Perceptron networks of neural multilayer perceptronWK3 - Multi Layer Perceptron networks of neural multilayer perceptron
WK3 - Multi Layer Perceptron networks of neural multilayer perceptron
 
BAYESIAN ENSEMBLE CLASSIFIER (VIDEO 3/4)
BAYESIAN ENSEMBLE CLASSIFIER (VIDEO 3/4)BAYESIAN ENSEMBLE CLASSIFIER (VIDEO 3/4)
BAYESIAN ENSEMBLE CLASSIFIER (VIDEO 3/4)
 
Review : Prototype Mixture Models for Few-shot Semantic Segmentation
Review : Prototype Mixture Models for Few-shot Semantic SegmentationReview : Prototype Mixture Models for Few-shot Semantic Segmentation
Review : Prototype Mixture Models for Few-shot Semantic Segmentation
 
Using Multi-layered Feed-forward Neural Network (MLFNN) Architecture as Bidir...
Using Multi-layered Feed-forward Neural Network (MLFNN) Architecture as Bidir...Using Multi-layered Feed-forward Neural Network (MLFNN) Architecture as Bidir...
Using Multi-layered Feed-forward Neural Network (MLFNN) Architecture as Bidir...
 
PPT - Deep and Confident Prediction For Time Series at Uber
PPT - Deep and Confident Prediction For Time Series at UberPPT - Deep and Confident Prediction For Time Series at Uber
PPT - Deep and Confident Prediction For Time Series at Uber
 
In silico structure prediction
In silico structure predictionIn silico structure prediction
In silico structure prediction
 
Set Transfomer: A Framework for Attention-based Permutaion-Invariant Neural N...
Set Transfomer: A Framework for Attention-based Permutaion-Invariant Neural N...Set Transfomer: A Framework for Attention-based Permutaion-Invariant Neural N...
Set Transfomer: A Framework for Attention-based Permutaion-Invariant Neural N...
 
InternshipReport
InternshipReportInternshipReport
InternshipReport
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
ML Module 3 Non Linear Learning.pptx
ML Module 3 Non Linear Learning.pptxML Module 3 Non Linear Learning.pptx
ML Module 3 Non Linear Learning.pptx
 
Introduction to Perceptron and Neural Network.pptx
Introduction to Perceptron and Neural Network.pptxIntroduction to Perceptron and Neural Network.pptx
Introduction to Perceptron and Neural Network.pptx
 
Mnist soln
Mnist solnMnist soln
Mnist soln
 
(Machine Learning) Ensemble learning
(Machine Learning) Ensemble learning (Machine Learning) Ensemble learning
(Machine Learning) Ensemble learning
 
Cerebellar Model Articulation Controller
Cerebellar Model Articulation ControllerCerebellar Model Articulation Controller
Cerebellar Model Articulation Controller
 
Artificial neural network
Artificial neural networkArtificial neural network
Artificial neural network
 

More from SachinMaithani1 (7)

Industrial seminnar
Industrial seminnarIndustrial seminnar
Industrial seminnar
 
Indoorpropagation
Indoorpropagation Indoorpropagation
Indoorpropagation
 
Seminar topic.on embeded system
Seminar topic.on embeded systemSeminar topic.on embeded system
Seminar topic.on embeded system
 
EDFA amplifier ppt
EDFA amplifier pptEDFA amplifier ppt
EDFA amplifier ppt
 
Walsh transform
Walsh transformWalsh transform
Walsh transform
 
Idea alogorithim
Idea alogorithimIdea alogorithim
Idea alogorithim
 
Symbol timing estimation by sachin maithani
Symbol timing estimation by sachin maithaniSymbol timing estimation by sachin maithani
Symbol timing estimation by sachin maithani
 

Recently uploaded

一比一原版(NEU毕业证书)东北大学毕业证成绩单原件一模一样
一比一原版(NEU毕业证书)东北大学毕业证成绩单原件一模一样一比一原版(NEU毕业证书)东北大学毕业证成绩单原件一模一样
一比一原版(NEU毕业证书)东北大学毕业证成绩单原件一模一样
A
 
☎️Looking for Abortion Pills? Contact +27791653574.. 💊💊Available in Gaborone ...
☎️Looking for Abortion Pills? Contact +27791653574.. 💊💊Available in Gaborone ...☎️Looking for Abortion Pills? Contact +27791653574.. 💊💊Available in Gaborone ...
☎️Looking for Abortion Pills? Contact +27791653574.. 💊💊Available in Gaborone ...
mikehavy0
 

Recently uploaded (20)

NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
 
Autodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxAutodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptx
 
5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptx
 
analog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxanalog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptx
 
CLOUD COMPUTING SERVICES - Cloud Reference Modal
CLOUD COMPUTING SERVICES - Cloud Reference ModalCLOUD COMPUTING SERVICES - Cloud Reference Modal
CLOUD COMPUTING SERVICES - Cloud Reference Modal
 
Adsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) pptAdsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) ppt
 
一比一原版(NEU毕业证书)东北大学毕业证成绩单原件一模一样
一比一原版(NEU毕业证书)东北大学毕业证成绩单原件一模一样一比一原版(NEU毕业证书)东北大学毕业证成绩单原件一模一样
一比一原版(NEU毕业证书)东北大学毕业证成绩单原件一模一样
 
handbook on reinforce concrete and detailing
handbook on reinforce concrete and detailinghandbook on reinforce concrete and detailing
handbook on reinforce concrete and detailing
 
Passive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.pptPassive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.ppt
 
Presentation on Slab, Beam, Column, and Foundation/Footing
Presentation on Slab,  Beam, Column, and Foundation/FootingPresentation on Slab,  Beam, Column, and Foundation/Footing
Presentation on Slab, Beam, Column, and Foundation/Footing
 
☎️Looking for Abortion Pills? Contact +27791653574.. 💊💊Available in Gaborone ...
☎️Looking for Abortion Pills? Contact +27791653574.. 💊💊Available in Gaborone ...☎️Looking for Abortion Pills? Contact +27791653574.. 💊💊Available in Gaborone ...
☎️Looking for Abortion Pills? Contact +27791653574.. 💊💊Available in Gaborone ...
 
Dynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxDynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptx
 
What is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, FunctionsWhat is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, Functions
 
Filters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility ApplicationsFilters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility Applications
 
Independent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging StationIndependent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging Station
 
Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
 
Diploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfDiploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdf
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptx
 

Presentation

  • 1. Bidirectional Associative Memory (BAM) Submitted To: Submitted By: Dr. Meenakshi Sood Sachin Maithani Associate Professor M.E. Regular
  • 2. TABLE OF CONTENT • 1. INTRODUCTION • 2.OBJECTIVE OF BAM • 3.ARCHITECTURE • 4. ALGORITHM • 5.EXAMPLE BASED BAM • 6.APPLICATION • 7. LIMITATION • 8.REFERENCES
  • 3. INTRODUCTION • Bidirectional Associative Memory (BAM) is a supervised learning model in Artificial Neural Network. • This is hetero-associative memory, for an input pattern, it returns another pattern which is potentially of a different size • A Recurrent Neural Network (RNN) is needed to receive a pattern of one set of neurons as an input and generate a related, but different, output pattern of another set of neurons.
  • 4. OBJECTIVE OF BAM • A network model is to store hetero-associative pattern pairs • This is used to retrieve a pattern given a noisy or incomplete pattern.
  • 5. ARCHITECTURE • When BAM accepts an input of n-dimensional vector X from set A then the model recalls m-dimensional vector Y from set B. Similarly when Y is treated as input, the BAM recalls X.
  • 6. ALGORITHM • 1. Storage (Learning): In this learning step of BAM, weight matrix is calculated between M pairs of patterns (fundamental memories) are stored in the synaptic weights of the network following the equation
  • 7. 2. Testing: We have to check that the BAM recalls perfectly for corresponding and recalls for corresponding Using, All pairs should be recalled accordingly. 3. Retrieval: For an unknown vector X (a corrupted or incomplete version of a pattern from set A or B) to the BAM and retrieve a previously stored association
  • 8. o Initialize the BAM: o o Calculate the BAM output at iteration : o o Update the input vector : o o Repeat the iteration until convergence, when input and output remain unchanged.
  • 9. EXAMPLE BASED BAM • Set A: Input Patterns • Set B: Corresponding Target Patterns
  • 10. Step 1: Here, the value of M (no of pairs of patterns) is 4. Step 2: Assign the neurons in the input and output layer. Here, neurons in the input layer are 6 and the output layer are 3 Step 3: Now, compute the Weight Matrix (W):
  • 11. Step 4: Test the BAM model learning algorithm- for the input patterns BAM will return the corresponding target patterns as output. And for each of the target patterns, BAM will return the corresponding input patterns. •Test on input patterns (Set A) using-
  • 12. Test on target patterns (Set B) using - Here, for each of the input patterns, the BAM model will give correct target patterns and for target patterns, the model will also give corresponding input patterns. This signifies the bidirectional association in memory or model network.
  • 13. APPLICATION • 1. Pattern recognition • 2. Image processing
  • 14. LIMITATION • Storage capacity of the BAM: In the BAM, stored number of associations should not be exceeded the number of neurons in the smaller layer. • Incorrect convergence: Always the closest association may not be produced by BAM.