Using Bidirectional Associative Memory Neural Networks to Solve the N-bit Task




N-bit parity, Artificial Neural Network, Associative Memory, Neural Associative Memory, Bidirectional Associative Memory, Cognition, Learning, Memory, Counting, Rote association, Associations, Multimodule, Nonlinear Task


Nowadays, artificial neural networks can easily solve the N-bit parity problem. However, each time a different level must be learned, the network must be retrained. This, combined with the exponential increase of learning trials required as N grows, make these models too different from how their biological counterpart solves them. This is because humans learn to recognize patterns, count, and determine if numbers are odd or even.  Once they have learned these tasks, they can have them interact to solve any level without further training. This behavior is akin to performing multiple associations of different tasks. Therefore, it is proposed that by using bidirectional associative memory neural networks, it would be possible to solve the N-bit parity problem in a similar fashion to humans. To achieve this, two networks interacted; one served as a task Identifier and the other as a memory Extractor, giving the desired behavior influenced by the Identifier. Results showed that the model could solve the 2- to 9-bit in linear time once the associations were learned. Moreover, this was possible with 97% fewer inputs and no retraining. In addition, because of the recurrent nature of the model, it could also solve the tasks even under high noise levels.




How to Cite

Rolon-Mérette, D., Rolon-Merette, T., & Chartier, S. (2023). Using Bidirectional Associative Memory Neural Networks to Solve the N-bit Task. The International FLAIRS Conference Proceedings, 36(1).



Main Track Proceedings