English

Learning High-Dimensional Parity Functions with Product Networks using Gradient Descent

Machine Learning 2026-05-28 v1

Abstract

Parity functions are fundamental Boolean operations with critical applications across machine learning, cryptography, and error correction. Yet, learning high-dimensional parity functions poses significant challenges: in a general setting, standard neural network architectures typically require exponential sample complexity, making gradient-based optimization intractable for large number of inputs NN. We demonstrate that compact product-based neural architectures combined with stochastic data sparsity (Bernoulli inputs with pe1/Np_e \leq 1/N) and appropriate hyperparameter choice enable efficient parity learning, with theoretical guarantees of convergence. Experiments validate our theory across dimensions up to N=100,000N = 100{,}000, with empirical evidence showing optimal hyperparameter choices for pep_e and learning rate α\alpha, as well as polynomial complexity scaling laws. This work establishes fundamental connections between architectural inductive bias and data sparsity, opening new possibilities for neural arithmetic, structured reasoning, binary neural networks, and machine learning applied to automated protocol discovery.

Keywords

Cite

@article{arxiv.2605.28612,
  title  = {Learning High-Dimensional Parity Functions with Product Networks using Gradient Descent},
  author = {Guillaume Larue and Louis-Adrien Dufrène and Quentin Lampin and Hadi Ghauch and Ghaya Rekaya},
  journal= {arXiv preprint arXiv:2605.28612},
  year   = {2026}
}