Learning High-Dimensional Parity Functions with Product Networks using Gradient Descent
Guillaume Larue, Louis-Adrien Dufrène, Quentin Lampin, Hadi Ghauch, Ghaya Rekaya-Ben Othman
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 . We demonstrate that compact product-based neural architectures combined with stochastic data sparsity (Bernoulli inputs with ) and appropriate hyperparameter choice enable efficient parity learning, with theoretical guarantees of convergence. Experiments validate our theory across dimensions up to , with empirical evidence showing optimal hyperparameter choices for 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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 27b52fc3-2fd9-4c87-bae6-c11ddfcfcce2Builds on4
- Neural Arithmetic UnitsAndreas Madsen, Alexander Rosenberg JohansenICLR 2020 · 53 citations
- Provable Advantage of Curriculum Learning on Parity Targets with Mixed InputsEmmanuel Abbe, Elisabetta Cornacchia, Aryo LotfiNeurIPS 2023 · 29 citations
- Learning High-Degree Parities: The Crucial Role of the InitializationEmmanuel Abbe, Elisabetta Cornacchia, Jan Hazla, Donald Kougang-YombiICLR 2025
- A Mathematical Model for Curriculum Learning for ParitiesElisabetta Cornacchia, Elchanan MosselICML 2023
Related papers
- Recurrent Convolutional Neural Networks Learn Succinct Learning AlgorithmsSurbhi Goel, Sham M. Kakade, Adam Kalai, Cyril ZhangNeurIPS 2022 · 2 citations
- Learning Parities with Neural NetworksAmit Daniely, Eran MalachNeurIPS 2020 · 104 citations
- Matching the Statistical Query Lower Bound for k-Sparse Parity Problems with Sign Stochastic Gradient DescentYiwen Kou, Zixiang Chen, Quanquan Gu, Sham M. KakadeNeurIPS 2024 · 7 citations
- Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational LimitBoaz Barak, Benjamin L. Edelman, Surbhi Goel, Sham M. Kakade et al.NeurIPS 2022 · 220 citations
- SGD Finds then Tunes Features in Two-Layer Neural Networks with near-Optimal Sample Complexity: A Case Study in the XOR problemMargalit GlasgowICLR 2024 · 27 citations
