Abstract
This study investigates the generalization properties of deep neural networks by mapping them to Boolean logic. We introduce Discrete Fully Connected Networks (DFCNs) and demonstrate a one-to-one correspondence between these networks and Disjunctive Normal Form (DNF) formulas. This framework allows for the analytical measurement of simplicity bias and feature learning. Our results show that neural networks are inherently biased toward simple logical representations, a property sharpened by weight decay, which facilitates the recovery of minimal feature sets. We further explore why certain complex patterns, such as high-order parity, remain difficult for these systems to learn.
Introduction
Despite their massive overparameterization, deep neural networks (DNNs) generalize remarkably well, often contradicting classical learning theory which suggests they should overfit. While partial explanations exist—such as the Neural Tangent Kernel (NTK) for infinite-width limits—we lack a unified, "first principles" theory that connects initialization, training, and final generalization in an analytically tractable way. This research addresses this gap by focusing on the simplest possible non-linear setting: Boolean functions. By stripping away the complexity of continuous weights and high-dimensional data, the authors create an "Ising model" for deep learning to study phenomena like feature learning and implicit bias.
The DFCN-DNF Mapping
The core methodology utilizes Discrete Fully Connected Networks (DFCNs), where weights are restricted to the set $\{-1, 0, 1\}$. The authors prove that a depth-2 DFCN is mathematically equivalent to a Disjunctive Normal Form (DNF) formula—a series of AND clauses joined by ORs. This mapping is pivotal as it allows for the definition of a concrete complexity measure, $K(f)$, based on the number of literals in the shortest DNF that represents a given function.
Simplicity Bias and Scaling Laws
A primary finding of this work is that randomly initialized networks exhibit a built-in "simplicity bias." Functions with low DNF complexity are exponentially more likely to be represented than complex ones. By treating training as a Bayesian inference problem, the authors derived analytic scaling laws showing that the prior probability $P(f)$ of a function scales inversely with its DNF complexity $K(f)$. This implicit bias acts as a natural regularizer, guiding the network to search for the simplest explanation for the provided data.
Training Dynamics and Feature Induction
Because weights are discrete, standard gradient descent is replaced with Metropolis-Hastings (MCMC) sampling and greedy local searches. The research highlights the critical role of $\ell_1$ weight decay in the learning process. Weight decay acts as a multiplicative factor that "sharpens" the simplicity bias, forcing the network to prune unnecessary connections. This process effectively "learns" the exact minimal logical clauses required to solve a task, leading to high generalization performance on simple targets.
Conversely, the framework explains the "Parity Trap": high-order parity functions are difficult to learn not because they are unrepresentable, but because their prior probability is infinitesimally small. For these complex functions, the model's inherent bias toward simplicity can lead it to settle on "simple but wrong" hypotheses, where more data can paradoxically decrease test accuracy.
Conclusion
DFCNs provide a powerful analytical bridge between architectural design and generalization. While these are "toy" models, they exhibit the complex inductive biases found in modern continuous networks. Future work could leverage this tractable Boolean environment to study more complex phenomena like grokking or neural collapse by tuning weight decay and network width.
Summary updated