<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta />
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        The proposed model consists of a 2-layered neural network with feed forward connections from layer 1 (L1) to
layer 2 (L2) and the L2 neurons form a fully connected graph. Similar to biological neurons, the processing
neurons will be either in the " ring" state (yi = 1) or "not ring" state (yi = 0)[
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. Unlike the asynchronous and
stochastic update strategy employed by Hop eld nets and Boltzmann machines, the proposed model employs an
update strategy that involves gradual increment or inhibition of the potential of each neuron (Zi) in L2 until it
crosses the threshold Ui and the neuron is activated. This draws inspiration from biological neurons and how
continued trains of action potential spikes in pre-synaptic axonal terminals trigger proportional neurotransmitter
release until the resulting post-synaptic depolarizations trigger an action potential. The synaptic weight between
the two neurons determines the rate of neurotransmitter release. The more the weight, the faster the
postsynaptic neuron gets depolarized and subsequently activated. The newly activated neurons would in turn help
in activating the rest of the neurons corresponding to the stored pattern.
      </p>
      <p>The model uses two weight matrices W 1 = Wi1j , 8 i 2 L1, j 2 L2 and W 2 = Wi2j 8 i 2 L2, j 2 L2.
2.1</p>
    </sec>
    <sec id="sec-2">
      <title>Neural Encoding</title>
      <p>The user is required to specify the dimension d of the pattern vector space and the number of active neurons
that should re for every pattern. This global count m is used as the winning criteria for the model to nd a
winner set of neurons during the testing phase. This does restrict the model from using the full capacity of the
d-dimensional input vector. Although letting the model run for a certain number of epochs (set by the user)
may seem like a plausible strategy, it can incur excessive contamination in the output pattern depending on
the number of epochs. For a d-dimensional input vector and count of active neurons m, the number of possible
patterns that can be fed into the model would be md .
2.2</p>
    </sec>
    <sec id="sec-3">
      <title>Memorizing Associations</title>
      <p>(a)</p>
      <p>(b)</p>
      <p>The training of the model is dependent upon the time duration for which the pattern associations are presented.
The patterns that need to be strongly remembered are given more training time. Consider the memorization of
the association Sp ! Op. During the training phase for Sp ! Op, we will assume that both the ring neurons
of Sp and Op remain ring till its training duration and there is no decay with time. At the start, when there is
no stored associations, the weight matrix is initialized as Wij = 0, 8 i,j.</p>
      <p>At each training epoch, the weights between the pattern get updated as follows:</p>
      <p>Wi1j = Wi1j +
and;
Wi2j = Wi2j +
ui vj
vi vj</p>
      <p>Dij
Dij
(t)
(t)
(1
(1
vj ) ui</p>
      <p>Dij
vj ) vi</p>
      <p>Dij
(t)
(t)
where :
ui, uj 2 Sp and vi, vj 2 Op
and</p>
      <p>represent the learning rate and the unlearning rate respectively
(t) is the multiplier that increases at the start of each training session. The most recent training session
will have the highest value of (t).</p>
      <p>Dij here represent the inter-neuronal distance. One measure of distance could simply be Dij = ji
jj + 1.</p>
      <p>
        Wij 2 [
        <xref ref-type="bibr" rid="ref1">0, 1</xref>
        ]. The weights are constrained via a recti ed linear unit (ReLU).
2.3
      </p>
    </sec>
    <sec id="sec-4">
      <title>Memory Recall</title>
      <p>The recall of stored associations is facilitated when the pattern Sp is introduced as input into the model. The
recall process involves the triggering of depolarizations in the output vector Y p. The depolarizations are recorded
by the vector Z. A neuron yi in Y p is activated (yi = 1) if the depolarization for that neuron (Zi) exceeds the
threshold (Ui). The d-dimensional output vector Y p is continually updated as the recall phase goes on and the
recall is completed when the number of active neurons in Y p is m.</p>
      <p>At the nth epoch:
yin =
(1,
0,
j
if Zin &gt; Ui
if Zin &lt; Ui
where uj 2 Sp and yi,yj 2 Y p
j
The model so far gives a single output when an input is presented. This output is determined by the winner set
of neurons among the competing neurons. There seems to be a lot of wasted potential in the sense that other
output patterns associated with that particular input pattern are forgotten or cannot be retrieved. To tackle
this problem, we introduce an inhibition vector Ip that inhibits the set of winner neurons to let the other set of
competing neurons win.</p>
      <p>The inhibition vector Ip is implemented as a hash table. The entries of Ip are set when a recall is ended and
the output is retrieved. For a set of active neurons fyi1 , yi2 , . ., yim g, the hash table entry is lled by a hash
function h(i1; i2; ::; im).</p>
      <p>During the end of a recall session i.e when Pd</p>
      <p>i=1 yi = m, the inhibition is triggered and updates Zi as:
Zi =
(0,</p>
      <p>Zi,
if yi Ip[h(keys)] = 1
if yi Ip[h(keys)] = 0</p>
      <p>The deactivation of the previously active neurons will let the other competing neurons cross the threshold and
emerge as the winning set of active neurons.This algorithm when repeated over and over, facilitates a breadthwise
traversal of stored patterns in the implicit pattern association graph (corresponding to the origin input pattern).</p>
      <p>The depthwise traversal of the memory graph can be achieved by simply using the recalled output as the new
input to be recalled.</p>
      <p>Algorithm 1 Breadthwise Traversal
14:
m = 5
0.7187
m = 5
0.5513
The model was trained with random d-dimensional pattern vectors of m active neurons with a training time of
500 epochs per training sample. Table 1 shows the results of the average testing accuracy over varying numbers
of stored associations (n), m and d on di erent training batches. For lower-dimensional pattern inputs (d &lt; 30),
the recall is almost perfect with an accuracy of around 0.8785. This metric was further bumped up when trained
and tested against a set of mutually orthogonal pattern vectors and showed a mean testing accuracy of 0.9017
(The error only stemming from multi-output associations). For higher dimensional pattern inputs (d &gt; 30), the
testing accuracy dips as low as 0.4003 and the output su ers from contamination. This is e ectively due to the
saturation of the weight matrix which fails the competitive learning procedure. The accuracy, however, was high
(0.8314) when a set of mutually orthogonal pattern vectors were chosen.</p>
      <p>Further, we simulated the training of the model for a single input vector associated with multiple output
vectors (l) and the results are shown in Table 2. The testing was done by utilizing breadthwise traversal to
recall the multi-output pattern associations. The results were quite similar to that of the recall of random
pattern associations. Lower-dimensional vectors (d &lt; 30) achieved an average testing accuracy of 0.8785 whereas
higher-dimensional vectors (d &gt; 30) went as low as 0.4161
4</p>
      <sec id="sec-4-1">
        <title>Conclusion and Future Work</title>
        <p>Our results showed that the proposed model was able to e ciently store and retrieve pattern associations with
minimal error (for lower dimensions). Further, in combination with the traversal schemes devised, the model
is a great candidate for multi-modal information retrieval. Although restricted by the neural encoding scheme
presented in this paper, there is still a high storage capacity (before excessive contamination).</p>
        <p>
          However, there is much to be improved. We believe that the model can be made even better by introducing
several layers of neurons and thus induce multi-stage competition among neurons that would further enhance
learning. Like [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ], future work needs to be done to introduce a framework for multi-modal information retrieval
that utilizes this model and the exibility in searching that it provides.
        </p>
      </sec>
      <sec id="sec-4-2">
        <title>References</title>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>H.</given-names>
            <surname>He</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Shang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Yang</surname>
          </string-name>
          , et al.
          <article-title>Constructing an Associative Memory System Using Spiking Neural Network</article-title>
          .
          <source>Front Neurosci</source>
          .
          <year>2019</year>
          ;
          <volume>13</volume>
          :
          <fpage>650</fpage>
          .
          <article-title>Published 2019 Jul 3</article-title>
          . doi:
          <volume>10</volume>
          .3389/fnins.
          <year>2019</year>
          .00650
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>J. A.</given-names>
            <surname>Anderson</surname>
          </string-name>
          .
          <article-title>A simple neural network generating an interactive memory</article-title>
          .
          <source>Mathematical Biosciences</source>
          , vol.
          <volume>14</volume>
          , pp.
          <fpage>197</fpage>
          -
          <lpage>220</lpage>
          ,
          <year>1972</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>B.</given-names>
            <surname>Kosko</surname>
          </string-name>
          .
          <article-title>Adaptive bidirectional associative memories</article-title>
          .
          <source>Appl. Opt</source>
          .
          <volume>26</volume>
          ,
          <fpage>4947</fpage>
          -
          <lpage>4960</lpage>
          (
          <year>1987</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>W. S.</given-names>
            <surname>McCulloch</surname>
          </string-name>
          and
          <string-name>
            <given-names>W.</given-names>
            <surname>Pitts</surname>
          </string-name>
          .
          <article-title>A logical calculus of the ideas immanent in nervous activity W</article-title>
          .
          <source>Bulletin of Mathematical Biophysics</source>
          . (
          <year>1943</year>
          )
          <volume>5</volume>
          :
          <fpage>115</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>John J.</surname>
          </string-name>
          <article-title>Hop eld. Neural networks and physical systems with emergent collective computational abilities</article-title>
          .
          <source>Proceedings of the national academy of sciences 79.8</source>
          (
          <year>1982</year>
          ):
          <fpage>2554</fpage>
          -
          <lpage>2558</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>Dmitry</surname>
            ,
            <given-names>John J.</given-names>
          </string-name>
          <article-title>Hop eld and Krotov. Dense associative memory for pattern recognition</article-title>
          .
          <source>Advances in neural information processing systems</source>
          (pp.
          <fpage>1172</fpage>
          -
          <lpage>1180</lpage>
          ):
          <fpage>2016</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Geo</surname>
            rey
            <given-names>E. Hinton.</given-names>
          </string-name>
          (
          <year>2007</year>
          -05-24).
          <source>Boltzmann machine. Scholarpedia</source>
          .
          <volume>2</volume>
          (
          <issue>5</issue>
          ):
          <fpage>1668</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>P.</given-names>
            <surname>Joshi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.M.</given-names>
            <surname>Ladwani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Ramasubramanian</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Shriwas</surname>
          </string-name>
          <article-title>. Multi-modal Associative Storage and Retrieval Using Hop eld Auto-associative Memory Network</article-title>
          .
          <source>Theoretical Neural Computation. ICANN 2019. Lecture Notes in Computer Science</source>
          , vol
          <volume>11727</volume>
          . Springer, Cham
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>