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

Guillaume Larue, Louis-Adrien Dufrène, Quentin Lampin, Hadi Ghauch, Ghaya Rekaya
5/27/2026
cs.LG

No confident code implementation found for this paper.

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 $N$.

Show full abstract

We demonstrate that compact product-based neural architectures combined with stochastic data sparsity (Bernoulli inputs with $p_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{,}000$, with empirical evidence showing optimal hyperparameter choices for $p_e$ and learning rate $α$, 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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{larue2026learning,
  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},
  year   = {2026},
  eprint = {2605.28612},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.28612v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.28612.svg)](https://codeofpaper.com/paper/2605.28612)

Discussion