Lune

ICLR2023Top-tier venue

Memorization Capacity of Neural Networks with Conditional Computation

Erdem Koyuncu

2023Year
1Top-tier citations

Abstract

Many empirical studies have demonstrated the performance benefits of conditional computation in neural networks, including reduced inference time and power consumption. We study the fundamental limits of neural conditional computation from the perspective of memorization capacity. For Rectified Linear Unit (ReLU) networks without conditional computation, it is known that memorizing a collection of nn input-output relationships can be accomplished via a neural network with O(n)O(\sqrt{n}) neurons. Calculating the output of this neural network can be accomplished using O(n)O(\sqrt{n}) elementary arithmetic operations of additions, multiplications and comparisons for each input. Using a conditional ReLU network, we show that the same task can be accomplished using only O(log⁡n)O(\log n) operations per input. This represents an almost exponential improvement as compared to networks without conditional computation. We also show that the Θ(log⁡n)Θ(\log n) rate is the best possible. Our achievability result utilizes a general methodology to synthesize a conditional network out of an unconditional network in a computationally-efficient manner, bridging the gap between unconditional and conditional architectures.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

Cited by top-tier papers1

Ask how each one uses it

Builds on3

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines