This repository encloses the programmatic part of the research into equivalence of Hebbian learning and the SVN formalism, exploring hypothesis brought forward in On the equivalence of Hebbian learning and the SVM formalism [Nowotny, T and Huerta, R]
It is stipulated that it's possible to relate the Support Vector Machine (SVN) formalistm to Hebbian Learning in the context of olfactory learning in the insect brain. This research aims at asessing the validity of this claim by applying them both to the task of handwritten digits classification as a part of an Artificual Neural Network (ANN), using the standardised MNIST dataset.
Ultimately, SVM has proven to be markably better than the Hebbian Learning approach reaching consistently higher accuracy, as measured by an F1 score (combination of precision and recall).
This research has it's main practical usefullness within the field of neuromorphic systems, most useful for spiking neural networks (SNNs).
The hypothesis, as presented, can be expressed in two systems:
Which essentially means that, apart from the stopping condition represented by the condition k
, the two models implementation is identical.
The paramaters fed into the model are:
k
- learning rate, from 10-6 to 3*10-2i
- number of iterations, from 1 to 5s
- the size of the "hidden" layer of the ANN (100, 300, 1000)
The hypothesis is also tested in two main cases:
- One vs One (
OvO
), where for each class pair (i.e.3
and5
) examples crom the balanced set of only those digits are taken and it's decided whether the digit belongs to the first or the second class. This results in 45 (C210) classifiers - One vs Many (
OvM
), where for there is a classifier for each digit, which decides whether the digit belongs to the class or not. This results in 10 classifiers
Throughout 2017 improvements were introduced to transition the original functional approach to a more object-oriented one, which resulted in a more modular and extensible codebase.
The models were implemented in Matlab with the code for classes, supporting functions, runner scripts for each of the four comparisons and auxiliary data enclosed.
The Sussex HPC Appolo Cluster was used for calculations, ultimately consuming over 1,000 hours and producing 80 MB of raw data, enclosed int the /Data
directory.
- The University of Sussex - accomodation and funding within the IJRA scheme
- Tomsk State University - partial travel funding
- Prof. Thomas Nowotny, Professor Of Informatics (Informatics) School of Engineering and Informatics - supervision and guidance
- Dr. Esin Yavuz, postdoctoral fellow working on the Green Brain Project - general research guidance
- Julie Carr, Undergraduate Research & PGR Recruitment Professional Services and JRA Scheme Manager and Georgie Chesman, International Partnerships Officer - heartfelt welcome and organisation
- Hebb D.O. The Organization of Behavior., 1949
- Tower D.B. Structural and functional organization of mammalian cerebral cortex; the correlation of neurone density with brain size; cortical neurone density in the fin whale (Balaenoptera physalus L.) with a note on the cortical neurone density in the Indian elephan // J. Comp. Neurol. 1954
- Cortes C., Vapnik V. Support-vector networks // Mach. Learn. 1995
- Menzel R., Giurfa M. Cognitive architecture of a mini-brain: the honeybee // Trends Cogn. Sci. 2001
- Giurfa M. Cognitive neuroethology: dissecting non-elemental learning in a honeybee brain // Curr. Opin. Neurobiol. 2003
- Huerta R. et al. Learning classification in the olfactory system of insects. // Neural Comput. 2004
- Nowotny T. et al. Self-organization in the olfactory system: one shot odor recognition in insects. // Biol. Cybern. 2005
- Huerta R., Nowotny T. Fast and robust learning by reinforcement signals: explorations in the insect brain. // Neural Comput. 2009
- Gauthier M., Grünewald B. Neurotransmitter Systems in the Honey Bee Brain: Functions in Learning and Memory // Honeybee Neurobiology and Behavior. Dordrecht: Springer Netherlands, 2011
- Nowotny T., Huerta R. On the equivalence of Hebbian learning and the SVM formalism // 2012 46th Annual Conference on Information Sciences and Systems (CISS). : IEEE, 2012