Richer or More Gates? Fan-In Trade-offs in Learnable Logic Circuits
Youngsung Kim
Abstract
In learnable logic gate networks, each neuron implements a $k$-input Boolean function. The dominant setting $k{=}2$ was chosen for tractability. We ask: when does wider fan-in help? At fixed parameter budget, each gate costs $2^k$ parameters, so increasing $k$ exponentially reduces width. Combined with the depth--fan-in bound $L \geq \lceil \log_k d \rceil$, this partitions tasks into two regimes: width-dominated (image classification), where more gates beat richer gates, and degree-dominated (parity, arithmetic), where $k{>}2$ is necessary. Our main finding is that representability does not imply learnability: at the regime boundary, the selection mechanism determines training success at identical architecture, and on width-dominated tasks the scalable mechanisms match or exceed softmax. A Jacobian analysis explains why: the softmax mechanism's positive-semidefinite (PSD) structure gives basin attraction that sigmoid lacks. A multilinear-coefficient parameterization scales these gates beyond $k{=}2$, and snapping returns each to a Boolean truth table (LUT) at deployment; we validate on 28 tasks and 5 real-world datasets.
Successful Page Load