Paper 2025/1756

Are Neural Networks Collision Resistant?

Marco Benedetti
Andrej Bogdanov
Enrico M. Malatesta
Marc Mézard
Gianmarco Perrupato
Alon Rosen
Nikolaj I. Schwartzbach
Riccardo Zecchina
Abstract

When neural networks are trained to classify a dataset, one finds a set of weights from which the network produces a label for each data point. We study the algorithmic complexity of finding a collision in a single-layer neural net, where a collision is defined as two distinct sets of weights that assign the same labels to all data. For binary perceptrons with oscillating activation functions, we establish the emergence of an overlap gap property in the space of collisions. This is a topological property believed to be a barrier to the performance of efficient algorithms. The hardness is supported by numerical experiments using approximate message passing algorithms, for which the algorithms stop working well below the value predicted by our analysis. Neural networks provide a new category of candidate collision resistant functions, which for some parameter setting depart from constructions based on lattices. Beyond relevance to cryptography, our work uncovers new forms of computational hardness emerging in large neural networks which may be of independent interest.

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2025/1756,
      author = {Marco Benedetti and Andrej Bogdanov and Enrico M. Malatesta and Marc Mézard and Gianmarco Perrupato and Alon Rosen and Nikolaj I. Schwartzbach and Riccardo Zecchina},
      title = {Are Neural Networks Collision Resistant?},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1756},
      year = {2025},
      url = {https://eprint.iacr.org/2025/1756}
}
Category
Foundations
License
CC BY
Submitted
Versions

Report a problem

Comments

Log in or create an account

Privacy