
In this paper, we propose an architecture that distills this
insight into a simple connectivity pattern: to ensure maxi-
mum information flow between layers in the network, we
connect all layers (with matching feature-map sizes) di-
rectly with each other. To preserve the feed-forward nature,
each layer obtains additional inputs from all preceding lay-
ers and passes on its own feature-maps to all subsequent
layers. Figure
1 illustrates this layout schematically. Cru-
cially, in contrast to ResNets, we never combine features
through summation before they are passed into a layer; in-
stead, we combine features by concatenating them. Hence,
the ℓ
th
layer has ℓ inputs, consisting of the feature-maps
of all preceding convolutional blocks. Its own feature-maps
are passed on to all L−ℓ subsequent layers. This introduces
L(L+1)
2
connections in an L-layer network, instead of just
L, as in traditional architectures. Because of its dense con-
nectivity pattern, we refer to our approach as Dense Convo-
lutional Network (DenseNet).
A possibly counter-intuitive effect of this dense connec-
tivity pattern is that it requires fewer parameters than tra-
ditional convolutional networks, as there is no need to re-
learn redundant feature-maps. Traditional feed-forward ar-
chitectures can be viewed as algorithms with a state, which
is passed on from layer to layer. Each layer reads the state
from its preceding layer and writes to the subsequent layer.
It changes the state but also passes on information that needs
to be preserved. ResNets [
11] make this information preser-
vation explicit through additive identity transformations.
Recent variations of ResNets [13] show that many layers
contribute very little and can in fact be randomly dropped
during training. This makes the state of ResNets similar
to (unrolled) recurrent neural networks [
21], but the num-
ber of parameters of ResNets is substantially larger because
each layer has its own weights. Our proposed DenseNet ar-
chitecture explicitly differentiates between information that
is added to the network and information that is preserved.
DenseNet layers are very narrow (e.g., 12 filters per layer),
adding only a small set of feature-maps to the “collective
knowledge” of the network and keep the remaining feature-
maps unchanged—and the final classifier makes a decision
based on all feature-maps in the network.
Besides better parameter efficiency, one big advantage of
DenseNets is their improved flow of information and gra-
dients throughout the network, which makes them easy to
train. Each layer has direct access to the gradients from the
loss function and the original input signal, leading to an im-
plicit deep supervision [20]. This helps training of deeper
network architectures. Further, we also observe that dense
connections have a regularizing effect, which reduces over-
fitting on tasks with smaller training set sizes.
We evaluate DenseNets on four highly competitive
benchmark datasets (CIFAR-10, CIFAR-100, SVHN, and
ImageNet). Our models tend to require much fewer param-
eters than existing algorithms with comparable accuracy.
Further, we significantly outperform the current state-of-
the-art results on most of the benchmark tasks.
2. Related Work
The exploration of network architectures has been a part
of neural network research since their initial discovery. The
recent resurgence in popularity of neural networks has also
revived this research domain. The increasing number of lay-
ers in modern networks amplifies the differences between
architectures and motivates the exploration of different con-
nectivity patterns and the revisiting of old research ideas.
A cascade structure similar to our proposed dense net-
work layout has already been studied in the neural networks
literature in the 1980s [
3]. Their pioneering work focuses on
fully connected multi-layer perceptrons trained in a layer-
by-layer fashion. More recently, fully connected cascade
networks to be trained with batch gradient descent were
proposed [
39]. Although effective on small datasets, this
approach only scales to networks with a few hundred pa-
rameters. In [
9, 23, 30, 40], utilizing multi-level features
in CNNs through skip-connnections has been found to be
effective for various vision tasks. Parallel to our work, [
1]
derived a purely theoretical framework for networks with
cross-layer connections similar to ours.
Highway Networks [
33] were amongst the first architec-
tures that provided a means to effectively train end-to-end
networks with more than 100 layers. Using bypassing paths
along with gating units, Highway Networks with hundreds
of layers can be optimized without difficulty. The bypass-
ing paths are presumed to be the key factor that eases the
training of these very deep networks. This point is further
supported by ResNets [
11], in which pure identity mappings
are used as bypassing paths. ResNets have achieved im-
pressive, record-breaking performance on many challeng-
ing image recognition, localization, and detection tasks,
such as ImageNet and COCO object detection [
11]. Re-
cently, stochastic depth was proposed as a way to success-
fully train a 1202-layer ResNet [13]. Stochastic depth im-
proves the training of deep residual networks by dropping
layers randomly during training. This shows that not all
layers may be needed and highlights that there is a great
amount of redundancy in deep (residual) networks. Our pa-
per was partly inspired by that observation. ResNets with
pre-activation also facilitate the training of state-of-the-art
networks with > 1000 layers [
12].
An orthogonal approach to making networks deeper
(e.g., with the help of skip connections) is to increase the
network width. The GoogLeNet [
35, 36] uses an “Incep-
tion module” which concatenates feature-maps produced
by filters of different sizes. In [
37], a variant of ResNets
with wide generalized residual blocks was proposed. In
fact, simply increasing the number of filters in each layer of
4701
评论