ANCRe: Adaptive Neural Connection Reassignment for Efficient Depth Scaling
Yilang Zhang, Bingcong Li, Niao He, Georgios B. Giannakis
TL;DR
This paper investigates how the topology of residual connections governs optimization and depth efficiency in deep networks. It introduces ANCRe, a lightweight framework that parameterizes all potential shortcuts with coefficients $c_{ij}$ and uses a softmax routing with temperature $\tau$ to learn a data-driven topology, adding $K(K-1)/2$ parameters and incurring overhead $<1\%$. The authors prove in deep linear networks that different shortcut layouts can yield an exponential gap in convergence rates, and show that ANCRe can attain linear convergence by learning an effective topology. They validate ANCRe across pre-training of large language models, diffusion models, and ResNets, reporting faster convergence, improved perplexities and FID, and enhanced depth efficiency with minimal computational cost.
Abstract
Scaling network depth has been a central driver behind the success of modern foundation models, yet recent investigations suggest that deep layers are often underutilized. This paper revisits the default mechanism for deepening neural networks, namely residual connections, from an optimization perspective. Rigorous analysis proves that the layout of residual connections can fundamentally shape convergence behavior, and even induces an exponential gap in convergence rates. Prompted by this insight, we introduce adaptive neural connection reassignment (ANCRe), a principled and lightweight framework that parameterizes and learns residual connectivities from the data. ANCRe adaptively reassigns residual connections with negligible computational and memory overhead ($<1\%$), while enabling more effective utilization of network depth. Extensive numerical tests across pre-training of large language models, diffusion models, and deep ResNets demonstrate consistently accelerated convergence, boosted performance, and enhanced depth efficiency over conventional residual connections.
