References
 (1) Yann LeCun, Yoshua Bengio, and Geoffrey Hinton. Deep learning. Nature, 521(7553):436–444, 2015. doi:10.1038/nature14539.

(2)
Léon Bottou.
Largescale machine learning with stochastic gradient descent.
In Proceedings of COMPSTAT’2010, pages 177–186. Springer, 2010. doi:10.1007/9783790826043_16.  (3) Richard HR Hahnloser, Rahul Sarpeshkar, Misha A Mahowald, Rodney J Douglas, and H Sebastian Seung. Digital selection and analogue amplification coexist in a cortexinspired silicon circuit. Nature, 405(6789):947, 2000. doi:10.1038/35016072.
 (4) Xavier Glorot, Antoine Bordes, and Yoshua Bengio. Deep sparse rectifier neural networks. In Geoffrey Gordon, David Dunson, and Miroslav Dudík, editors, Proceedings of the Fourteenth International Conference on Artificial Intelligence and Statistics, volume 15 of Proceedings of Machine Learning Research, pages 315–323, Fort Lauderdale, FL, USA, 11–13 Apr 2011. PMLR. URL: http://proceedings.mlr.press/v15/glorot11a.html.
 (5) Sepp Hochreiter. Untersuchungen zu dynamischen neuronalen netzen. Diploma, Technische Universität München, 91(1), 1991.
 (6) Carlo Baldassi, Christian Borgs, Jennifer T. Chayes, Alessandro Ingrosso, Carlo Lucibello, Luca Saglietti, and Riccardo Zecchina. Unreasonable effectiveness of learning neural networks: From accessible states and robust ensembles to basic algorithmic schemes. Proceedings of the National Academy of Sciences, 113(48):E7655–E7662, November 2016. doi:10.1073/pnas.1608103113.
 (7) Carlo Baldassi, Alessandro Ingrosso, Carlo Lucibello, Luca Saglietti, and Riccardo Zecchina. Subdominant dense clusters allow for simple learning and high computational performance in neural networks with discrete synapses. Phys. Rev. Lett., 115:128101, Sep 2015. doi:10.1103/PhysRevLett.115.128101.
 (8) Carlo Baldassi, Fabrizio Pittorino, and Riccardo Zecchina. Shaping the learning landscape in neural networks around wide flat minima. arXiv preprint arXiv:1905.07833, 2019. URL: https://arxiv.org/abs/1905.07833.
 (9) Elizabeth Gardner. The space of interactions in neural network models. Journal of Physics A: Mathematical and General, 21(1):257–270, jan 1988. doi:10.1088/03054470/21/1/030.
 (10) Elizabeth Gardner and Bernard Derrida. Optimal storage properties of neural network models. Journal of Physics A: Mathematical and General, 21(1):271–284, jan 1988. doi:10.1088/03054470/21/1/031.
 (11) Marc Mézard. The space of interactions in neural networks: Gardner’s computation with the cavity method. Journal of Physics A: Mathematical and General, 22(12):2181, 1989. doi:doi.org/10.1088/03054470/22/12/018.
 (12) Hidetoshi Nishimori. Statistical Physics of Spin Glasses and Information Processing: An Introduction. International series of monographs on physics. Oxford University Press, 2001. doi:10.1093/acprof:oso/9780198509417.001.0001.

(13)
Eli Barkai, David Hansel, and Haim Sompolinsky.
Broken symmetries in multilayered perceptrons.
Phys. Rev. A, 45:4146–4161, Mar 1992. doi:10.1103/PhysRevA.45.4146.  (14) A. Engel, H. M. Köhler, F. Tschepke, H. Vollmayr, and A. Zippelius. Storage capacity and learning algorithms for twolayer neural networks. Phys. Rev. A, 45:7590–7609, May 1992. doi:10.1103/PhysRevA.45.7590.
 (15) Graeme Mitchison and Richard Durbin. Bounds on the learning capacity of some multilayer networks. Biological Cybernetics, 60(5):345–365, 1989. doi:10.1007/BF00204772.
 (16) Rémi Monasson and Riccardo Zecchina. Weight space structure and internal representations: a direct approach to learning and generalization in multilayer neural networks. Physical review letters, 75(12):2432, 1995. doi:10.1103/PhysRevLett.75.2432.
 (17) Silvio Franz and Giorgio Parisi. Recipes for metastable states in spin glasses. Journal de Physique I, 5(11):1401–1415, 1995. doi:10.1051/jp1:1995201.
 (18) Haiping Huang and Yoshiyuki Kabashima. Origin of the computational hardness for learning with binary synapses. Physical Review E, 90(5):052813, 2014. doi:https://doi.org/10.1103/PhysRevE.90.052813.
 (19) Werner Krauth and Marc Mézard. Storage capacity of memory networks with binary couplings. J. Phys. France, 50:3057–3066, 1989. doi:10.1051/jphys:0198900500200305700.
 (20) Thomas B Kepler and Laurence F Abbott. Domains of attraction in neural networks. Journal de Physique, 49(10):1657–1662, 1988. doi:10.1051/jphys:0198800490100165700.

(21)
Carlo Baldassi.
A method to reduce the rejection rate in monte carlo markov chains.
Journal of Statistical Mechanics: Theory and Experiment, 2017(3):033301, 2017. doi:10.1088/17425468/aa5335.
Appendix A Model
Our model is a treelike committee machine with weights divided into groups of entries. We use the index for the group and for the entry. We consider two cases, the binary case for all and the continuous case with spherical constraints on each group, for all .
The training set consists of random binary i.i.d. patterns. The inputs are denoted by and the outputs by , where is the pattern index.
In our analysis, we write the model using a generic activation function for the first layer (hidden) units. We will consider two cases: the sign case and the ReLU case . The output of any given unit in response to a pattern is thus written as
(10) 
The connection weights between the first layer and the output are denoted by and considered binary and fixed; for the case of ReLU activations we set the first half to the value and the rest to ; for the case of the sign activations we can set them to all to without loss of generality.
A configuration of the weights solves the training problem if it classifies correctly all the patterns; we denote this with the indicator function
(11) 
where if and otherwise is the Heaviside step function.
The volume of the space of configurations that correctly classify the whole training set is then
(12) 
where is the flat measure over the admissible values of the , depending on whether we’re analyzing the binary or the spherical case. The average of the logvolume over the distribution of the patterns, , is the free entropy of the model . We can evaluate it in the large limit with the the “replica trick”, using the formula , computing the average for integer and then taking the limit .
As explained in the main text, in all cases the resulting expression takes the form
(13) 
where the part is only affected by the spherical or binary nature of the weights, whereas the part is only affected by and by the activation function . Determining their value requires to compute a saddlepoint over some overlap parameters with representing overlaps between replicas, and their conjugates ; in turn, this requires an ansatz about the structure of the saddlepoint in order to perform the limit.
For the spherical weights, the part (before the limit) reads
(14) 
while for the binary case we have a very similar expression, except that the summations don’t have the case and the integral over becomes a summation:
(15) 
The part reads:
(16) 
In all cases, we study the problem in the large
limit, which allows to invoke the central limit theorem and leads to a crucial simplification of the expressions.
Appendix B Critical capacity
b.1 Replica symmetric ansatz
In the replicasymmetric (RS) case we seek solutions of the form for all , where is the Kronecker delta symbol, and similarly for the conjugated parameters, for all . The resulting expressions, as reported in the main text, are:
(17)  
(18)  
(19) 
where is a Gaussian measure, and the expressions of , and depend on the activation function :
The values of the overlaps and conjugated parameters are found by setting to the derivatives of the free entropy.
The critical capacity is found in the binary case by seeking numerically the value of for which the saddle point solutions returns a zero free entropy.For the spherical case, instead, is determined by finding the value of such that , which can be obtained analytically by reparametrizing and expanding around . In this limit, we must also reparametrize using , where is an exponent that depends on the activation function: it is for the sign and for the ReLU. Due to this difference in this exponent, diverges in the sign activation case (as was shown in (barkai1992broken, ; engel1992storage, )), while for the ReLU activations it converges to . However, the RS result for the spherical case is only an upper bound, and a more accurate result requires replicasymmetry breaking.
b.2 1RSB ansatz
In the onestep replicasymmetrybreaking (RSB) ansatz we seek solutions with 3 possible values of the overlaps and their conjugates. We group the replicas in groups of replicas each, and denote with the overlaps among different groups and with the overlaps within the same group. As before, the self overlap is and its conjugate (these are only relevant in the spherical case).
The resulting expressions are:
(20)  
(21)  
(22) 
the expressions of and are the same as in the RS case. The expressions of and take the same form as the RS expressions for , except that and must be used instead of .
Similarly to the RS case, in order to determine the critical capacity in the spherical case, we need to find the value of such that . In this case however we must also have . The scaling is such that is finite. The final expression reads
(23) 
where
(24) 
The expression of is the same as in the RS case using instead of ; the values of and are determined by saddle point equations as usual.
Appendix C FranzParisi potential
The FranzParisi entropy (franz1995recipes, ; huang2014origin, ) is defined as (cf. eq. (7) of the main text):
(25) 
where counts the number of solutions at a distance from the reference . In this expression, represents a typical solution. The evaluation of this quantity requires the use of two sets of replicas: replicas of the reference configuration , for which we use the indices and , and replicas of the surrounding configurations , for which we use the indices and . The computation proceeds following standard steps, leading to these expressions, written in terms of the overlaps , , and their conjugate quantities:
(26) 
The calculation proceeds by taking the RS ansatz with the same structure as that of sec. B.1 and the limit , . We obtain, in the large limit:
(30)  
(31)  
(32) 
where we introduced the auxiliary quantities , , , , and which depend on the choice of the activation function (like the of the previous section). For the sign activations we get:
(33)  
(34)  
(35)  
(36)  
(37)  
(38) 
For the ReLU activations we get:
(39)  
(40)  
(41)  
(42)  
(43)  
(44) 
In order to find the order parameters for any given and , we need to set to the derivatives of the free entropy w.r.t. the order parameters , , and the conjugates , , , , , , thus obtaining a system of 9 equations (7 for the binary case) to be solved numerically. The equations actually reduce to 6 (5 in the binary case) since , and are the same ones derived from the typical case (sec. B.1).
Appendix D Large deviation analysis
Following (baldassi2019shaping, ), the large deviation analysis for the description of the highlocalentropy landscape uses the same equations as the standard RSB expressions eqs. (20), (21) and (22). In this case, however, the overlap is not determined by a saddle point equation, but rather it is treated as an external parameter that controls the mutual overlap between the replicas of the system. Also, the parameter is not optimized and it is not restricted to the range ; instead, it plays the role of the number of replicas and it is generally taken to be large (we normally use either a large integer number to compare the results with numerical simulations, or we take the limit ). For these reason, there are two saddle point equations less compared to the standard RSB calculation.
The resulting expression for the free entropy represents, in the spherical case, the logvolume of valid configurations (solutions at the correct overlap) of the system of replicas. These configurations are thus embedded in where is the dimensional sphere of radius . In order to quantify the solution density, we must normalize , subtracting the logvolume of all the admissible configurations at a given without the solution constraint (which is obtained by the analogous computation with ). The resulting quantity is thus upperbounded by (cf. Fig. (2) of the main text). For the binary case, is the log of the number of admissible solutions, and the same normalization procedure can be applied.
Large limit
(45)  
(46)  
(47) 
Appendix E Distribution of stabilities
The stability for a given pattern/label pair is defined as:
(51) 
The distribution over the training set for a typical solutions can thus be computed as
(52) 
where we arbitrarily chose the first pattern/label pair , without loss of generality. The expression can be computed by the replica method as usual, and the order parameters are simply obtained from the solutions of the saddle point equations for the free entropy. The resulting expression at the RS level is:
(53) 
where is a standard Gaussian. The difference between the models (spherical/binary and sign/ReLU) is encoded in the different values for the overlaps and in the different expressions for the parameters , , .
In the large deviation case, we simply compute the expression with a RSB ansatz and fix and as described in the previous section. The resulting expression is
(54) 
where the effective parameters , , and are the same defined in section B.2. In the limit the previous expression reduces to
(55) 
where satisfies
(56) 
where is defined in equation (50).
Comments
There are no comments yet.