English

Learning with Boolean threshold functions

Machine Learning 2026-02-20 v1 Artificial Intelligence

Abstract

We develop a method for training neural networks on Boolean data in which the values at all nodes are strictly ±1\pm 1, and the resulting models are typically equivalent to networks whose nonzero weights are also ±1\pm 1. The method replaces loss minimization with a nonconvex constraint formulation. Each node implements a Boolean threshold function (BTF), and training is expressed through a divide-and-concur decomposition into two complementary constraints: one enforces local BTF consistency between inputs, weights, and output; the other imposes architectural concurrence, equating neuron outputs with downstream inputs and enforcing weight equality across training-data instantiations of the network. The reflect-reflect-relax (RRR) projection algorithm is used to reconcile these constraints. Each BTF constraint includes a lower bound on the margin. When this bound is sufficiently large, the learned representations are provably sparse and equivalent to networks composed of simple logical gates with ±1\pm 1 weights. Across a range of tasks -- including multiplier-circuit discovery, binary autoencoding, logic-network inference, and cellular automata learning -- the method achieves exact solutions or strong generalization in regimes where standard gradient-based methods struggle. These results demonstrate that projection-based constraint satisfaction provides a viable and conceptually distinct foundation for learning in discrete neural systems, with implications for interpretability and efficient inference.

Keywords

Cite

@article{arxiv.2602.17493,
  title  = {Learning with Boolean threshold functions},
  author = {Veit Elser and Manish Krishan Lal},
  journal= {arXiv preprint arXiv:2602.17493},
  year   = {2026}
}

Comments

22 pages, 21 figures