LGMLOct 16, 2020

A case where a spindly two-layer linear network whips any neural network with a fully connected input layer

arXiv:2010.08625v11 citations
Originality Incremental advance
AI Analysis

This work addresses a fundamental limitation in neural network design for learning sparse targets, showing that fully connected layers hinder sample efficiency, which is crucial for practitioners dealing with high-dimensional data.

The paper proves that neural networks with fully connected input layers cannot efficiently learn sparse targets from Hadamard matrix rows via gradient descent, achieving expected square loss of 1 - k/(d-1) for k < d training examples. In contrast, a simple two-layer linear network with sparse connections achieves much better loss of log(d)/k, demonstrating the necessity of sparse input layers for efficient learning in such scenarios.

It was conjectured that any neural network of any structure and arbitrary differentiable transfer functions at the nodes cannot learn the following problem sample efficiently when trained with gradient descent: The instances are the rows of a $d$-dimensional Hadamard matrix and the target is one of the features, i.e. very sparse. We essentially prove this conjecture: We show that after receiving a random training set of size $k < d$, the expected square loss is still $1-\frac{k}{(d-1)}$. The only requirement needed is that the input layer is fully connected and the initial weight vectors of the input nodes are chosen from a rotation invariant distribution. Surprisingly the same type of problem can be solved drastically more efficient by a simple 2-layer linear neural network in which the $d$ inputs are connected to the output node by chains of length 2 (Now the input layer has only one edge per input). When such a network is trained by gradient descent, then it has been shown that its expected square loss is $\frac{\log d}{k}$. Our lower bounds essentially show that a sparse input layer is needed to sample efficiently learn sparse targets with gradient descent when the number of examples is less than the number of input features.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes