Neural Networks retrieving Boolean patterns in a sea of Gaussian ones
Elena Agliari, Adriano Barra, Chiara Longo, Daniele Tantari

TL;DR
This paper investigates the retrieval capabilities of neural networks with mixed real and Boolean patterns, demonstrating that Boolean patterns can be retrieved even under high real pattern load, aligning with classical theoretical thresholds.
Contribution
It introduces a theoretical analysis of mixed Hebbian networks with both Gaussian and Boolean patterns, revealing conditions for Boolean pattern retrieval in high real pattern load regimes.
Findings
Boolean patterns can be retrieved despite high real pattern load
The critical load threshold matches the classical Amit-Gutfreund-Sompolinsky theory
The analysis extends existing models to mixed pattern types
Abstract
Restricted Boltzmann Machines are key tools in Machine Learning and are described by the energy function of bipartite spin-glasses. From a statistical mechanical perspective, they share the same Gibbs measure of Hopfield networks for associative memory. In this equivalence, weights in the former play as patterns in the latter. As Boltzmann machines usually require real weights to be trained with gradient descent like methods, while Hopfield networks typically store binary patterns to be able to retrieve, the investigation of a mixed Hebbian network, equipped with both real (e.g., Gaussian) and discrete (e.g., Boolean) patterns naturally arises. We prove that, in the challenging regime of a high storage of real patterns, where retrieval is forbidden, an extra load of Boolean patterns can still be retrieved, as long as the ratio among the overall load and the network size does not exceed…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Neural Networks retrieving Boolean
patterns in a sea of Gaussian ones
Elena Agliari
Dipartimento di Matematica, Sapienza Università di Roma, Italy
Istituto Nazionale di Alta Matematica (GNFM-INdAM), Roma, Italy
Adriano Barra
Dipartimento di Matematica e Fisica “Ennio De Giorgi”, Università del Salento, Italy
Istituto Nazionale di Alta Matematica (GNFM-INdAM), Roma, Italy
Chiara Longo
Dipartimento di Matematica, Sapienza Università di Roma, Italy
Daniele Tantari
Scuola Normale Superiore, Centro Ennio De Giorgi, Italy.
Istituto Nazionale di Alta Matematica (GNFM-INdAM), Roma, Italy
Abstract
Restricted Boltzmann Machines are key tools in Machine Learning and are described by the energy function of bipartite spin-glasses. From a statistical mechanical perspective, they share the same Gibbs measure of Hopfield networks for associative memory. In this equivalence, weights in the former play as patterns in the latter. As Boltzmann machines usually require real weights to be trained with gradient descent like methods, while Hopfield networks typically store binary patterns to be able to retrieve, the investigation of a mixed Hebbian network, equipped with both real (e.g., Gaussian) and discrete (e.g., Boolean) patterns naturally arises.
We prove that, in the challenging regime of a high storage of real patterns, where retrieval is forbidden, an extra load of boolean patterns can still be retrieved, as long as the ratio among the overall load and the network size does not exceed a critical threshold, that turns out to be the same of the standard Amit-Gutfreund-Sompolinsky theory. Assuming replica symmetry, we study the case of a low load of boolean patterns combining the stochastic stability and Hamilton-Jacobi interpolating techniques. The result can be extended to the high load by a non rigorous but standard replica computation argument.
I Introduction
In recent years we have witnessed a formidably fast development of research in Artificial Intelligence. Neural networks are playing an important role in this trend, mainly due to the ability of the so-called deep networks to solve difficult problems, upon a proper training. Such problems are broadly ranged in sciences (from Particle Physics [1] to Computational Biology [2] ), not to mention the applied world of technology, where their usage has become pervasive. Nevertheless, as admitted in [3] , despite its remarkable successes, nobody yet understands exhaustively how the whole scaffold works, while there is wide agreement that achieving a full understanding of Deep Learning is an urgent priority.
The pivotal constituent of Deep Learning machinery is the Restricted Boltzmann Machine (RBM) hinton1 ; hinton2 ; RBM1 ; RBM2 . This is a network of units with a bipartite structure, the two parties being referred to as visible layer and hidden layer; units belonging to different layers are connected by links endowed with weights while nodes belonging to the same layer are not connected (see Fig. left panel). In the jargon of statistical physicists, RBMs have the same energy of a bipartite spin-glass bg ; Bip ; zigg ; pizzo ; auffinger .
By marginalization over the hidden layer, RBMs have also been shown to share the same phase diagram of an Hopfield network BBCS ; prlnoi1 ; mezard ; multi ; remi , whose units, corresponding to those of the visible layer (see Fig. right panel), are connected via an Hebbian coupling Hebb , with number of patterns corresponding to the amount of hidden units. The Hopfield network is able to spontaneously retrieve such patterns, and therefore to work as an associative memoryags1 , as long as the ratio between the patterns to handle and the available neurons is not too large ags2 , or, in the dual perspective of the RBMs, until the size of the hidden layer is not too large compared to the visible layer’s one.
Crucially, the weight vectors learnt by the RBM after training play as patterns in Hopfield retrieval. Since standard Hopfield networks are built with Boolean patterns, studies on possible generalizations are needed and begin to appear in the literature lettera ; remi .
In the last years, an increasing number of semi-heuristic routes toward a rationale for Deep Learning have been introduced, while rigorous answers (e.g., avoiding the usage of the so called replica trick MPV ; Ton ; seung ) to specific questions are hardly distilled (see e.g. BGG-JSP2010 ; BGGT-JSM2012 ; S ; ST ; BG5 ; BGP3 ; Tala1 ; Tala2 ; lecun ). However, beyond the replica-trick, other techniques (from cavity or message passing mezard ; huang ; multi to those based on interpolating structures BGGT-JSM2012 ; bg ; Bip ; prlnoi3 ) to handle spin-glasses have recently appeared in the literature, hence an attempt should be made in using them to infer properties of these Restricted Boltzmann Machines also from a rigorous perspective.
Here we prove, at the replica symmetric level, that Hopfield networks endowed with patterns that are mixed, namely in part binary and in part real, are robustly capable of retrieving the digital information (i.e., the binary patterns) although “immersed” in the continuous (slow) noise generate by the real patterns (i.e., the sea). In particular, in this paper, by mixing two mathematical approaches, namely stochastic stability AC-SS ; BGG-JSP2010 ; BGGT-JSM2012 ; BGGTgauss and Hamilton-Jacobi interpolation HJ-Jstat ; ABDG ; BDT2013 ; guerra-HJ ; GTmult , we are able to describe the model free energy and phase diagram for pure state retrieval.
Let us consider a system made of Ising neurons dealing with a certain number of patterns, referred to as or according to whether the number scales linearly with (i.e., ) or logarithmically with (). These two cases correspond to the so-called high storage and low storage regimes, respectively AMIT . As well known, in the low-storage regime the Hopfield model is able to retrieve patterns (i.e., to work as a distributed associative memory) for binary as well as real patterns lettera ; lungo , while, in the high-storage regime, only binary patterns can be retrieved because a linearly extensive (in ) amount of real patterns contains too much information for the synapses to perform pattern recognition or similar tasks bov-stoc ; lungo . Indeed, in general, the high-storage case is much more tricky due to its intrinsic glassiness, whence tools from disordered statistical mechanics are in order to infer its properties AMIT ; MPV . On the contrary, standard statistical mechanical machineries are usually effective for the low-storage case Ton .
Now, given the equivalence between RBM and Hopfield networks, a natural interest for mixed Hebbian networks (where patterns are in part analog and in part digital) arises and a first scenario we would figure out and clarify is their retrieval capabilities when they are constrained to keep an extensive amount of real patterns (hence the worst case for retrieval) but they are also over-fed by a further low-load of binary patterns.
Exploiting Guerra’s interpolating schemes we prove there exists a region in the parameter space (corresponding to not-too-high values of both fast and slow noises), where mixed Hebbian network works as a distributed associative memory and the boundaries of such a region are evidenced by a first-order phase transition.
Further, a fairly standard replica calculation, although not rigorous, suggests that this picture can be extended even to the case of an extensive load for both binary and real patterns, that is, there exists a retrieval region where pattern recognition for high-load digital information in a real sea seems possible.
Remarkably, in all these cases, the boundary for the retrieval region turns out to be always the one identified by Amit-Gutfreund-Sompolinsky in the ’s ags1 ; ags2 .
I.1 Associative Hopfield Networks and Restricted Boltzmann Machines
Let us deepen the ideas exposed so far, by introducing the standard definitions and concepts for Hopfield neural networks. Following classical notations Ton , we shall consider binary neurons (i.e., Ising spins AMIT ) and to each neuron we assign a dichotomic variable that describes its activity: if the -th neuron is spiking, while if it is quiescent.
Neurons are embedded in a fully connected network, in such a way that mean-field approaches are suitable for the investigation. The synaptic potential that the -th neuron receives from the other is defined as
[TABLE]
where is the synaptic coupling between neuron and neuron , defined according to Hebb’s learning rule Hebb as
[TABLE]
Indeed, associative memory models are built to recognize a certain group of words, pixels, or generically patterns : a pattern is defined as a sequence of random variables . If we want the network to memorize and retrieve a number of patterns, we have to introduce another index to distinguish them: , and we shall assume that the set is made of i.i.d. variables. Notice that, for a Shannon information compression argument, if the network is able to cope with this kind of pattern, then it certainly retains at least the same capacity in the case of correlated patterns correlated ; ABDG .
Boolean binary patterns have entries such that , while Gaussian real patterns have entries drawn from .
Definition 1**.**
The Hamiltonian of the Associative Hopfield Network (AHN) equipped with Ising neurons and patterns is defined as
[TABLE]
Once introduced the (fast) noise , where plays as a temperature in standard Statistical Mechanics, the partition function for the AHN is defined as
[TABLE]
and the free energy as , whose analysis allows inferring the model phase-diagram in the thermodynamic limit AMIT . Note that in the previous definitions we have introduced for simplicity also self-interactions, but we will see their presence doesn’t affect the thermodynamic state of the network because they contribute at most to a simple constant term in the free energy.
Definition 2**.**
The Hamiltonian of the Restricted Boltzmann Machine (RBM), equipped with a visible layer of binary (i.e. Boolean) units , and a hidden layer of real (i.e. Gaussian) units , , connected by the weight matrix , is defined as
[TABLE]
Again considering the fast noise of the network, the partition function for the RBM is introduced as
[TABLE]
where is the -dimensional centered Gaussian measure. The model free-energy is defined as before. It is just an exercise now to show (e.g., via standard Gaussian integration) the following
Proposition 1**.**
The partition functions of the Associative Hopfield Network and of the Restricted Boltzmann Machines are the same, i.e.
[TABLE]
and thus the same equivalence holds for the two free energies.
Note that, while the identity holds only if we choose Gaussian hidden units , an analogous equivalence can be proved introducing a class of generalised AHN and RBM models with any unit priors lettera ; lungo .
In order to investigate the capabilities of these networks to retrieve patterns, it is useful to introduce the concept of Mattis magnetization as follows.
Definition 3**.**
For any , we define the Mattis magnetization, i.e. the overlap between the -th patterns and the neuron states, as
[TABLE]
In the following we will often drop the or dependencies for lightening the notation.
The magnitude of the Mattis magnetization encodes whether a pattern has been retrieved or not. Moreover we can rewrite the Hamiltonian (2) as a function of the order parameters ’s as
[TABLE]
hence it becomes clear, that its energy minima are located at large . This means that the energy function is minimized as the spins are aligned to some of the patterns, thus indicating a retrieving state (i.e. the network overall works as a distributed associative memory).
Let us now turn our attention to the RBM case. Its energy function (3) can be rewritten as
[TABLE]
thus, if the system is in the retrieval region, i.e., there is some pattern (say ) that is retrieved by the Hopfield network, its related Mattis magnetization raises from zero acting as a staggered magnetic field over its related hidden variable . In the Machine Learning perspective, this condition corresponds to selecting a feature, among the possible, and allows a statistically significant classification of the data.
II Mixed Hebbian networks
In our “hybrid” Hopfield model, we consider the case in which the network has stored a low load of Boolean patterns and a high load of Gaussian ones. We will assign the variables , to the binary memories and , to the real ones (with ). We have
[TABLE]
Following the description of the standard Hopfield neural network given in Section I.1, we give the following
Definition 4**.**
The Hamiltonian of the mixed Hebbian network (MHN), equipped with Ising neurons, a low load of binary patterns and a high load of real patterns, reads as
[TABLE]
Notice that, splitting the above summations over , the Hamiltonian of the mixed Hebbian network can be written as
[TABLE]
hence the last term at the r.h.s. of the previous equation does not contribute at all in the thermodynamic limit, while the second-last term converges to
[TABLE]
Definition 5**.**
The Gibbs measure for a generic function of the neurons at a given level of noise is
[TABLE]
Note that for the measure becomes flat, while for , i.e. at zero temperature, only the global minima of the energy contribute to the measure.
Definition 6**.**
Given independent realizations (i.e., replicas) of the system, at the same noise level and quenched patterns and , we define the -replicated Gibbs measure as , i.e. for any function of the neuron replicas ,
[TABLE]
Definition 7**.**
The average over the quenched memories and for a generic function is introduced as
[TABLE]
Moreover we define the average .
We continue by introducing the order parameters necessary to carry out the analysis of the mixed model. For any pattern, we define the Mattis magnetization as before for describing thermodynamic states in the retrieval phase, while we introduce overlaps among replicas, as in BGG-JSP2010 ; BGGT-JSM2012 , for describing ordered states that are not correlated with patterns.
Definition 8**.**
Given two configurations of the network, the overlap between visible units is defined as
[TABLE]
and the overlap between hidden units as
[TABLE]
Finally, we introduce the free energy density as
Definition 9**.**
We define the free-energy density of the mixed Hebbian network as
[TABLE]
where the partition function reads as
[TABLE]
Therefore, the free-energy density at finite volume reads as
[TABLE]
in which the parameter is such that for .
We recall that, in the statistical mechanical treatment, finding an explicit expression for the free-energy density is the first step for understanding the properties of the network’s thermodynamic states. This is because the solution of usually comes with a variational large deviation principle over the order parameters .
III Sum rules for the mixed Hebbian network’s free energy
In this Section we expose the interpolating structure that we set up to obtain an expression of the MHN free energy density, at the replica symmetric level, as a variational principle over the order parameters. The solution of this optimization problem is encoded into a set of self-consistent equations that the order parameters have to satisfy, giving the phase diagram of the model by varying the external parameter.
In particular, the question we are addressing in the present work is about the existence of a retrieval phase in such a phase diagram: we will prove that there is actually a region in the plane where the mixed Hebbian network is able to retrieve, in particular where the signal conveyed by the binary patterns is detectable over the real noisy sea.
Summarizing the strategy, we will first generalize the partition function (12) by letting it depend on three interpolating parameters, namely , , that, once set to proper values (i.e., , and ), recovers the original one of the mixed Hebbian network (see eq. 14). This interpolation will allow us to split the problem into two (related) sub-problems: one involving the Gaussian patterns, tackled by the stochastic stability technique in , and the other involving the Boolean patterns, treated via the Hamilton-Jacobi technique in the dimensional space .
Once formulated a sum rule for the free energy (see eq. 15), to set up the stochastic stability approach, we will introduce three external fields , where acts on the party, while and act on the party: while explicit expressions for these fields will be set a fortiori, their meaning can be discussed immediately. They are required to ensure that the interpolative procedure in , always reproduces the correct statistics on the neurons but in a mean field picture where units are no longer coupled. The Hamilton-Jacobi formalism is naturally introduced when dealing with the explicit calculation of , which represents the free energy density of a Hopfield network with binary patterns and an external random field supplied by the Gaussian sea (that comes into play in terms of a quenched noise, hence against retrieval). In fact, can be interpreted as the Guerra Action for a unitary-mass point-particle evolving in the dimensional space and can consequently be approached via standard techniques of Analytical Mechanics guerra-HJ ; HJ-Jstat .
We stress that the order in which we apply these two methods is interchangeable and in Appendix A we show how, reasonably proceeding the other way around (that is, using first the Hamilton-Jacobi streaming and, later, the stochastic stability), we obtain the same results.
As a preliminary step, it is useful to apply the Gaussian integration to the partition function (12) to linearize the Gaussian section of the free energy density function with respect to the bilinear quenched memories carried by . Namely:
[TABLE]
where is the -dimensional Gaussian measure.
As anticipated earlier, to achieve our goal we shall now analyse a generalized problem, for which we give hereafter the definition:
Definition 10**.**
Once introduced scalar parameters , and three scalar fields , the generalized partition function for the mixed Hebbian network is defined as
[TABLE]
with , .
Note that, by now, the scalar fields are given in full generality and they will be chosen later on, in order to ensure that the replica symmetric framework is preserved at the end of the interpolation.
Note further that, in perfect analogy we can extend also the free energy density function to , the Gibbs measures to and and the overall average to . Of course, also these quantities recover the standard statistical mechanical scenario once evaluated at , and .
We begin the study of the free energy density function through the stochastic stability. First, exploiting the Fundamental Theorem of Calculus on in the variable we write the next
Proposition 2**.**
The following sum rule for the generalised free energy of the mixed Hebbian network holds
[TABLE]
The original problem is therefore recast in the evaluation of the two terms at the r.h.s. of eq. (15).
To compute the first term we start through a standard Gaussian integration, hence
[TABLE]
It is now crucial to notice that the fourth term of Eq. (16) can be interpreted as the free energy density of a Hopfield network with binary patterns and external random fields : note that the latter account for the slow noise supplied by the underlying sea of Gaussian patterns that can not be retrieved.
It is convenient to rename this free energy density by the following definition:
Definition 11**.**
Once introduced a generalized partition function , identified by the following expression
[TABLE]
we define the Guerra Action , for a unitary-mass point-particle moving in the dimensional space, as the negative free energy density :
[TABLE]
With this definition, the application of the Hamilton-Jacobi formalism for handling is straightforward. In fact, it is immediate to check that, as has the following properties
[TABLE]
we can proceed according to the Hamilton-Jacobi prescription for . In fact, thanks to the properties (18), it is immediate to verify the next
Proposition 3**.**
The Guerra Action obeys the following Hamilton-Jacobi streaming
[TABLE]
where the potential is given by the sum over all the binary patterns of their related Mattis magnetization’s variances, namely
[TABLE]
Remark 1**.**
As we are in the low-storage regime for binary patterns (i.e., ), in the thermodynamic limit the Guerra Action paints a Galilean trajectory for the point-like particle: its evolution is simply a free motion as .
Proposition 4**.**
If we define a -dimensional vector , whose components are , by deriving Eq. (19) with respect to we obtain the following set of Burgers equations for the canonical momenta
[TABLE]
At present, the goal is thus to solve the Burgers equations and integrate back the solutions to get the original problem for (and therefore for ) solved too. As standard, performing the Cole-Hopf transform , we can assert that
Proposition 5**.**
Solving expression (20) is equal to solve the following Cauchy problem for the heat equation
[TABLE]
We can now deal with the problem above through standard techniques. Namely we write
[TABLE]
where is the Green propagator .
The computations for the initial condition return
[TABLE]
Therefore, we can state that
Theorem 1**.**
The solution to the problem in (21) is given by the following saddle point equation:
[TABLE]
[TABLE]
Corollary 1**.**
Recalling that , in the thermodynamic limit we have that
[TABLE]
To get the full expression of the Guerra Action in the thermodynamic limit, we must finally set , and perform the minimization of the function given in (24): with these values for and , we have to fix .
At this point equation (15) is almost all explicit. We still need to calculate the integral term at the top right side of equation (15), for which it is sufficient to evaluate the -derivative of the free-energy density and write it in a way that allows to extrapolate easily its replica symmetric approximation.
Here we just provide the final result, while the step-by-step calculations for the -derivative are left for the reader in Appendix B. So briefly,
[TABLE]
Fixing the free parameters , and as
[TABLE]
and adding and subtracting the term in Eq. (26) we have
[TABLE]
In the replica symmetric regime, the order parameters , , do not fluctuate with respect to their quenched averages in the thermodynamic limit, i.e. using a bar to denote their averages, , , as . By choosing and the last term at the r.h.s. of the above expression goes to zero in the thermodynamic limit and the -derivative can be integrated being constant over . It holds bg ; Bip ; zigg ; pizzo that the optimal values of and can simply be obtained by computing the two overlaps at and this turns out to be equivalent to take the extremum of the trial free energy w.r.t. and as stated in the following main theorem.
Theorem 2**.**
The replica-symmetric free-energy density of the mixed Hebbian network defined by the Hamiltonian (6), in the thermodynamic limit, is determined by extremizing , where
[TABLE]
with and where the values of its order parameters are set via their following self-consistencies
[TABLE]
Remark 2**.**
We highlight that for and we recover the Curie-Weiss free energy density barra0 , while, if and we recover the free energy density of the analog Hopfield model at high storage BGG-JSP2010 and, finally, keeping , with (such that , with finite), we recover the expression of the Sherrington-Kirkpatrick free energy density at noise level BGGT-JSM2012 ; Bip .
Remark 3**.**
In order to get insights in the critical behavior exhibited by the system, in the expression (31), as standard when dealing with second-order phase transition, we can expand for small
[TABLE]
This procedure returns a (second order) transition line for ergodicity breaking at
[TABLE]
that is the same as the one for the (standard, i.e. digital) Hopfield network ags1 ; ags2 as well as for its analog counterpart BGG-JSP2010 ; BGGT-JSM2012 : this is not particularly surprising as we are checking here the pure ergodic/spin-glass transition where Universality is expected to hold carmona ; genovese .
A different intuition is needed when searching the boundary (i.e. the transition line) splitting the spin-glass phase (whose existence has never been discussed) from a (possible) region of retrieval (whose existence is not straightforward).
To find this first-order transition line we must compare the values of the two free-energies (the one under the pure state ansatz holding for retrieval and the other for no net magnetization accounting for the spin glass phase), check that there is a region in the plane where one prevails over the other and a complementary region where the opposite is true. The transition line is just given by the set of points in the parameter space where the two free energy balance. Our results return the same transition (hence the same retrieval region) of the standard (i.e. digital) Hopfield network. Its analog counterpart does not retrieve at all hence there is no line to compare that case.
The whole can be restated in the following
Proposition 6**.**
The mixed Hebbian network, equipped with an extensive load of real patterns and with a low load of binary patterns, is able to handle the binary patterns as long as the system stays confined within the standard retrieval region Ton .
Remark 4**.**
Once we fixed the parameters , and (and, in particular, noting that ) and we have an explicit expression for the mixed Hebbian network’s free energy density (see eq. 29), via its self-consistency we can appreciate how the high load of real patterns acts as a disturbing noise against the signal carried by the booleans
Remark 5**.**
Note that, in the limit (hence neglecting the real sea), the critical point becomes . This is perfectly consistent with the emergence of a ferromagnetic phase (i.e., the point is the Curie-Weiss or Mattis critical point).
Note that a fairly standard usage of the replica-trick allows to extend the previous result to the case of a high load of boolean patterns too. Since it is not a rigorous argument we state the following as a
Conjecture 1**.**
Assuming an high storage of both real patterns (hence ) as well as binary patterns (hence ), Theorem 2 keeps holding as long as we replace .
IV Conclusions
The Hopfield neural network and the restricted Boltzmann machine are amongst the best known and intensively studied models in Artificial Intelligence. The former is meant to mimic retrieval, namely the capacity of (the neurons of) a machine to recall a pattern of information previously stored. The latter is meant to mimic learning, namely the capacity of (the synapses of) a machine to be trained to encode selected patterns of information. Remarkably, Hopfield networks and Boltzmann machines share the same thermodynamics. This equivalence has several implications and, in particular, it implies that the conditions under which the former is able to retrieve are the same conditions under which the latter is able to identify features in the input. In fact, in this equivalence, the patterns of information retrieved by the Hopfield model corresponds to the optimized weights of the trained Boltzmann machine.
However, in the wide Literature concerning these models, the patterns handled by the Hopfield model are typically binary, while the weights the Boltzmann Machine usually ends up with are real: this gap looks structural since the retrieval of real patterns (at least in the high-load regime) is beyond the Hopfield model capabilities. While numerical understanding in the field increases at an impressive rate, analytical improvements proceed more slowly. In order to get further insights into this point through the analytic perspective, in this work we considered a mixed Hopfield network, where patterns are partly real and partly binary and we studied its statistical mechanical properties (i.e., we focused on the behavior of averaged systems and in the thermodynamic limit, which is not the typical benchmark in Computer Science).
In particular, we rigorously answered (positively) to the question of whether such a hybrid network with a high-load of analog patterns and a low-load of binary patterns is able to retrieve the latter (on the other hand, the retrieval of a high-load of analog patterns is already known to be unfeasible bov-stoc ; lungo ). We proved that the hybrid model shares the same phase diagram of the classic Hopfield network with a high storage of Boolean patters only: in the parameter space, where parameters are given by the fast noise (i.e., the temperature) and by the slow-noise (i.e., the “sea” of analog patterns), there exists a retrieval region bounded by a first-order transition line.
This result has been achieved by developing a novel interpolating technique entirely stemming from the Guerra scheme (see BGG-JSP2010 ; BGGT-JSM2012 and HJ-Jstat ; Bip ). In a nutshell, exploiting the above mentioned equivalence, we recast the hybrid Hopfield model in terms of its related Boltzmann machine and then we ask for stochastic stability of the bulk of patterns (hence the real ones). We interpolate between the free energy of the mixed Hopfield model and two one-body random systems (whose factorized treatment becomes straightforward). This approach allows us to recognize, within the free energy contribution due to real patterns, another nestling free-energy density due to the Boolean contribution of the binary patterns. The latter can then be extracted via the Hamilton-Jacobi route in terms of its natural order parameters. This approach allows detecting when the signal carried by a logarithmic load of Booleans is strong enough to shine over the noisy sea generated by the extensive storage of Gaussian patterns.
Finally, we stress that this machinery does not apply in the case of an high load of real as well as binary patterns. This challenging case can however be addressed via a fairly standard replica-trick calculation obtaining evidence that the outlined scenario is preserved as long as the sum of the two slow noises (stemming from the two contributions of real and binary patterns) does not exceed the usual threshold.
Acknowledgements
E.A. acknowledges financial support from GNFM-INdAM (Progetto Giovani Agliari-2016).
A.B. acknowledges financial support from Salento University and by GNFM-INdAM.
D.T. acknowledges financial support from GNFM-INdAM (Progetto Giovani Tantari-2016).
Appendix A The inverse process
In this appendix we shall illustrate that proceeding first with the HJ formalism and then with the stochastic stability is equivalent to the process we described in Sec. III. Briefly, the method consists of the following steps.
Now, instead of the generalized partition function defined in (14), we have the following:
[TABLE]
where we can notice the Hamilton-Jacobi scaffold in the interpolation of the Boolean section of the system. We recover the proper partition function if we put and , while if and we obtain a one-body problem for the boolean memories.
Even though the generalized free energy is now defined through this new partition function, the equations for its derivatives expressed in (18) still hold and therefore we can proceed with the Hamilton-Jacobi formalism adopting the same argument we used in Sec. III. So Eqs. (19), (20) and (21) still hold, but now the initial state function is
[TABLE]
This function is now interpretable as the free energy density at a finite volume of a Hopfield network with real patterns and an external field (that this time contains patterns of information), so we can now use the stochastic stability technique to write an explicit form of the expression above. To do so, we introduce the variable and the interpolated free energy density:
[TABLE]
Mirroring the exposition reported in the main text, we can now apply the Fundamental Theorem of Calculus in , perform almost the same calculations and substitute the values of the free parameters according to (27). What we obtain is:
[TABLE]
Now recalling that the solution to (21) is defined by (22), and that we can write the free energy density function at a finite volume :
[TABLE]
where
[TABLE]
In the thermodynamic limit the free-energy density is consequently obtained by (25) with the help of a saddle point argument. So, fixing the parameters and to be , and finding that the minimum of the function is determined by , we can write the following expression for :
[TABLE]
which is exactly the same as Eq. (29) that we found through the calculations of Sec. III where the order of the methods were reverted.
Appendix B Calculating the -streaming of the interpolating free energy
As anticipated in Sec. III, in this appendix we will illustrate the calculations of the -derivative of the generalized free energy density written in Eq. (26).
When evaluating the streaming we get the sum of four terms: , , and , that we shall analyse shortly. Each one comes as a consequence of the derivation of a corresponding exponential term appearing into the expression of the generalized free energy density, whose generalized partition function is defined in (14).
We remind that we introduced in Sec. III the generalized average , that naturally extends the Gibbs measure encoded in the interpolating scheme (and is reduced to the proper one whenever setting , and ). To lighten the expressions, we introduce the function that stands for the generalized Boltzmann factor.
We can now show the calculations of terms , , and :
[TABLE]
[TABLE]
[TABLE]
In these three equations we used integration by parts (Wick’s Theorem), and we manipulated the expressions in order to let the order parameters and appear (for their general definitions see Eqs. (9) and (10)). Term is easily computed through the standard Gaussian integration:
[TABLE]
Summing the final expressions of Eqs. (36), (40), (44) and (45) we have:
[TABLE]
which is what we reported in Eq. (26).
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1(1) E. Agliari, et al., Multitasking associative networks , Phys. Rev. Lett. 109 , 268101, (2012).
- 2(2) E. Agliari, et. al., Retrieval capabilities of hierarchical networks: From Dyson to Hopfield , Phys. Rev. Lett. 114 , 028103, (2015).
- 3(3) E. Agliari, A. Barra, A. De Antoni, A. Galluzzi, Parallel retrieval of correlated patterns: From Hopfield networks to Boltzmann machines , Neural Networks 38 :52-63 (2013).
- 4(4) M. Aizenman, P. Contucci, On the stability of the quenched state in mean-field spin-glass models , J. Stat. Phys. 92 (5):765-783, (1998).
- 5(5) D.J. Amit, Modeling brain function: The world of attractor neural networks , Cambridge University Press, (1992).
- 6(6) D.J. Amit, H. Gutfreund, H. Sompolinsky, Spin Glass model of neural networks , Phys. Rev. A 32 , 1007-1018, (1985).
- 7(7) D.J. Amit, H. Gutfreund, H. Sompolinsky, Storing infinite numbers of patterns in a spin glass model of neural networks , Phys. Rev. Lett. 55 , 1530-1533, (1985).
- 8(8) A. Auffinger, W.K. Chen, Free energy and complexity of spherical bipartite models , J. Stat. Phys. 157 , 40, (2014).
