Paper 2025/1756 Original: eprint.iacr.org/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.

Metadata
Available format(s)
PDF
Category
Foundations
Publication info
Preprint.
History
2025-09-25: last updated
2025-09-25: published
Short URL
https://ia.cr/2025/1756
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@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}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.