We study the computational complexity of training binary quantized neural networks, with weights and biases in $\{0,1\}$, on a given architecture, parameterized by the input dimension $α$ and the output dimension $ω$. A small input dimension limits the functions that a single neuron can compute, and a small output dimension limits the number of target functions that must be realized simultaneously, but it is unclear whether these restrictions make training tractable. We prove that training is W[1]-hard parameterized by $α+ω$, even for exact fitting of chain-ordered data and with all biases fixed to zero. To locate the boundary between hardness and tractability, we characterize realizable networks in three settings: chain-ordered data, where trainable biases provably add no fitting power; bias-free networks; and networks with at most two inputs. In each setting, every attainable vector of predictions is realized by a network supported on at most $ω$, $αω$, or $2ω$ input-output paths, respectively. These characterizations yield algorithms that run in polynomial time for fixed dimensions and place the problems in XNLP. For chain-ordered data, only the output dimension needs to be fixed. The results identify the global coordination of paths within the architecture as a computational obstacle that persists even when each neuron has only a few possible local behaviors.
翻译:暂无翻译