Dense Hopfield networks with p-body interactions are known for their feature to prototype transition and adversarial robustness. However, theoretical studies have been mostly concerned with their storage capacity. We derive the phase diagram of pattern retrieval in the teacher-student setting of p-body networks, finding ferromagnetic phases reminiscent of the prototype and feature learning regimes. On the Nishimori line, we find the critical amount of data necessary for pattern retrieval, and we show that the corresponding ferromagnetic transition coincides with the paramagnetic to spin-glass transition of p-body networks with random memories. Outside of the Nishimori line, we find that the student can tolerate extensive noise when it has a larger p than the teacher. We derive a formula for the adversarial robustness of such a student at zero temperature, corroborating the positive correlation between number of parameters and robustness in large neural networks. Our model also clarifies why the prototype phase of p-body networks is adversarially robust.

Dense Hopfield networks in the teacher-student setting

Theriault, Robin;Tantari, Daniele
2024

Abstract

Dense Hopfield networks with p-body interactions are known for their feature to prototype transition and adversarial robustness. However, theoretical studies have been mostly concerned with their storage capacity. We derive the phase diagram of pattern retrieval in the teacher-student setting of p-body networks, finding ferromagnetic phases reminiscent of the prototype and feature learning regimes. On the Nishimori line, we find the critical amount of data necessary for pattern retrieval, and we show that the corresponding ferromagnetic transition coincides with the paramagnetic to spin-glass transition of p-body networks with random memories. Outside of the Nishimori line, we find that the student can tolerate extensive noise when it has a larger p than the teacher. We derive a formula for the adversarial robustness of such a student at zero temperature, corroborating the positive correlation between number of parameters and robustness in large neural networks. Our model also clarifies why the prototype phase of p-body networks is adversarially robust.
2024
Settore INFO-01/A - Informatica
Settore MATH-04/A - Fisica matematica
Dense Networks; Statistical Mechanics; Machine Learning; Spin Glasses
   Statistical Mechanics of Learning Machines: from algorithmic and information-theoretical limits to new biologically inspired paradigms
   Ministero dell'Università e della Ricerca - MUR - Segretariato Generale - Direzione generale della ricerca
   20229T9EAT_001
  
     https://github.com/RobinTher/Dense_Associative_Network
File in questo prodotto:
File Dimensione Formato  
SciPostPhys_17_2_040.pdf

accesso aperto

Descrizione: Article
Tipologia: Published version
Licenza: Creative Commons
Dimensione 633.28 kB
Formato Adobe PDF
633.28 kB Adobe PDF

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11384/153423
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 5
  • ???jsp.display-item.citation.isi??? 5
  • OpenAlex 5
social impact