DenseNets Reloaded: Paradigm Shift Beyond ResNets and ViTs
- Publication
- ECCV 2024Conference
- First submitted to arXiv
- arXiv:2403.19588
Cite this paper · BibTeX
The citation identifies the linked source version. It cites the original paper and its authors.
@misc{classiccnnsrdnet2024,
title = {{DenseNets Reloaded: Paradigm Shift Beyond ResNets and ViTs}},
author = {Donghyun Kim and Byeongho Heo and Dongyoon Han},
year = {2024},
eprint = {2403.19588},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2403.19588}
}
There are two ways to make a shortcut connection. ResNet adds input to output, ; DenseNet concatenates them, .
DenseNet matched ResNet with fewer parameters in 2016 and won the CVPR 2017 Best Paper Award. Yet the mainstream networks that followed—ResNeXt, EfficientNet, ConvNeXt, then ViT and Swin—almost all used addition. DenseNet gradually faded from discussions of mainstream architectures.
This paper comes from NAVER Cloud AI and NAVER AI Lab, by Donghyun Kim, Byeongho Heo, and Dongyoon Han. They argue that DenseNet's neglect stems from outdated training and design details. They keep concatenation and modernize everything else to see how far DenseNet can go.
Defining the Problem
Addition versus Concatenation
An additive shortcut keeps output width fixed. However many layers you stack, features remain channels wide; each layer can only change the contents of those channels.
A concatenative shortcut adds channels at every layer. Here is the growth rate, or GR. All preceding features remain unchanged and directly available to later layers.
The authors explain the benefit through matrix rank. For a layer output , is an input and is a weight matrix. With nonlinearity, output rank generally approaches . Higher output dimensionality brings greater expressive capacity. Concatenation is equivalent to writing : retain the original channels and add channels produced by , so rank keeps growing.
That is also DenseNet's old problem. More channels keep increasing memory use, so the original uses a small GR, such as 32, and compensates with great depth. DenseNet-201 has four dense blocks of 6, 12, 48, and 32 layers. Deep, narrow networks run slowly on GPUs.
The authors further argue that transition layers can compress channels without losing much rank, provided the compressed dimension remains large enough. Frequent compression can therefore control memory while preserving much of the expressive capacity.
First, Sample Fifteen Thousand Random Networks
These are still hypotheses, so the authors test them first. On Tiny-ImageNet, they randomly generate over 15,000 networks, divided into additive and concatenative shortcut groups. Depth, width, activation, normalization, and kernel size are randomized too. Only networks within the compute budget are trained, giving the two shortcut types similar computational costs.
There are five random search spaces. A, B, and C have three different sizes; D adds augmentation to C, and E further switches the optimizer to AdamW:
| Space | Add top-1 | Concat top-1 | Add mem. (GB) | Concat mem. (GB) |
|---|---|---|---|---|
| A (~2.2M params) | 45.8 ± 2.0% | 47.5 ± 2.1% | 0.65 | 0.75 |
| B (~4.5M) | 50.1 ± 2.1% | 51.2 ± 2.1% | 0.78 | 0.90 |
| C (~9.5M) | 53.2 ± 2.2% | 54.3 ± 2.0% | 1.01 | 1.24 |
| D (C with augmentation) | 57.4 ± 1.5% | 58.1 ± 1.4% | 1.02 | 1.24 |
| E (D with AdamW) | 58.2 ± 1.5% | 58.9 ± 1.6% | 1.02 | 1.25 |
Concatenation has higher mean accuracy in all five spaces, by 0.7 to 1.7 percentage points. Standard deviations are around 2 points, though, so the distributions overlap heavily. Stronger training recipes also narrow the gap from 1.1 to 0.7. Meanwhile, concatenation uses 15% to 23% more memory; DenseNet's old problem persists.
These experiments use small 64×64 images and networks under 10 million parameters. They indicate a direction, with the behavior of larger networks still to be checked. Next comes an actual ImageNet model.
Solving the Problem
Starting from DenseNet-201
The approach resembles ConvNeXt's: start with an old model, change one thing at a time, and record accuracy and speed at each step. DenseNet-201 with a modern recipe—AdamW, cosine learning rate, 300 epochs, and assorted augmentations—starts at 79.7% ImageNet accuracy.
| Step | top-1 | Parameters | FLOPs |
|---|---|---|---|
| DenseNet-201 (new recipe) | 79.7% | 20.0M | 4.3G |
| Wider and shallower | 79.5% | 21.8M | 11.1G |
| Modern blocks | 80.4% | 12.9M | 4.8G |
| Expansion relative to input | 80.8% | 19.9M | 4.7G |
| More transitions, stage-specific GR | 82.3% | 21.2M | 5.0G |
| Patchify stem | 82.4% | 21.2M | 4.9G |
| Redesigned transitions | 82.6% | 22.4M | 4.9G |
| Channel rescaling | 82.8% | 23.9M | 5.0G |
| Step | Inference latency (batch 1) | Training latency | Training memory |
|---|---|---|---|
| DenseNet-201 (new recipe) | 38.4 ms | 131 ms | 3.9 GB |
| Wider and shallower | 8.5 ms | 85 ms | 3.2 GB |
| Modern blocks | 10.4 ms | 112 ms | 3.4 GB |
| Expansion relative to input | 11.8 ms | 88 ms | 3.1 GB |
| More transitions, stage-specific GR | 11.0 ms | 90 ms | 3.4 GB |
| Patchify stem | 11.0 ms | 88 ms | 3.2 GB |
| Redesigned transitions | 13.6 ms | 97 ms | 3.1 GB |
| Channel rescaling | 14.0 ms | 99 ms | 3.1 GB |
Take these step by step.
Wider and shallower. GR rises from 32 to 120, while block counts across the four stages shrink from to . Accuracy barely changes; training latency falls 35% and memory 18%. FLOPs rise to 11.1G, to be addressed later.
Modern blocks. Each block takes a ConvNeXt-like form: 7×7 depthwise convolution, LayerNorm, then 1×1 convolutions expanding and compressing channels, with fewer normalizations and activations. The difference is that output width equals GR and is smaller than input width. Every block compresses all the preceding concatenated features into GR new channels. This adds 0.9 percentage points.
Expansion relative to input. The original DenseNet bottleneck has width 4 times GR. The authors change it to 4 times the input channel count, enriching the features before the nonlinearity. They then halve GR from 120 to 60 to control compute. Accuracy gains 0.4 points and training becomes 21% faster.
More transition layers. The original DenseNet places transitions only between stages, also downsampling there. The authors add a stride-1 transition after every 3 blocks within a stage, solely to halve channels. The saved compute allows a larger GR, now varying by stage. This adds 1.5 percentage points, the largest single gain.
The final three steps are smaller. The stem becomes a 4×4, stride-4 patchify layer. Transitions replace average pooling with convolutions whose stride equals kernel size. Channel rescaling combines layer scale with effective SE. Each adds 0.1 to 0.2 points.

This is the final RDNet. The lower half shows one stage: each feature mixer adds a purple slice. After three mixers, a stride-1 transition halves the thickness. This combination repeats times.
Following the Channel Counts
The figure alone makes channel growth hard to feel. Take RDNet-T in timm: it wraps every 3 blocks into a group, and groups 2 through 5 together form the paper's third stage, with 12 blocks. Channels grow within each group, then a transition halves them; group 2, for example, grows from 216 to 600 and its transition brings it back to 296. Stage 3 therefore keeps moving between 216 and 744 channels.
What if stage 3 had no internal transitions? Each block's costliest parts are the two 1×1 convolutions: expand to 4 times the input width, then compress to GR, for roughly multiply-adds per spatial position. Counting only these two convolutions, stage 3 without internal transitions ends at 1752 channels and takes 4.6 times the compute of compression every 3 blocks. The expansion layer's cost grows quadratically with channel count. Concatenation grows channels linearly, sending compute up quadratically. Frequent compression makes a larger GR affordable.
The paper's ablations support this interval too. At similar compute, compression every 2 blocks gives 82.7%, every 3 gives 82.8%, every 4 gives 82.6%, and every 6 falls to 82.1%.
Discussion
ImageNet
First, compare representative models trained only on ImageNet-1K. Latency measures inference on 128 images at once; memory uses batch size 16:
| Model | Params | FLOPs | Latency (ms) | Mem. (GB) | top-1 |
|---|---|---|---|---|---|
| Swin-T | 28M | 4.5G | 173 | 2.6 | 81.3% |
| ConvNeXt-T | 29M | 4.5G | 150 | 2.7 | 82.1% |
| InceptionNeXt-T | 28M | 4.2G | 132 | 3.3 | 82.3% |
| RDNet-T | 24M | 5.0G | 175 | 4.1 | 82.8% |
| ConvNeXt-S | 50M | 8.7G | 266 | 4.0 | 83.1% |
| RDNet-S | 50M | 8.7G | 289 | 5.4 | 83.7% |
| ConvNeXt-B | 89M | 15.4G | 417 | 5.4 | 83.8% |
| RDNet-B | 87M | 15.4G | 472 | 6.9 | 84.4% |
At each size, RDNet gains 0.6 to 0.7 percentage points over ConvNeXt, at the cost of roughly 10% to 20% greater inference latency and 30% to 50% more memory. Keeping all preceding features still makes concatenation memory-hungry.
The authors also compare with newer models from 2022 to 2024: HorNet, VAN, BiFormer, NAT, SMT, and MogaNet. Here the tradeoff reverses. RDNet-T is similarly sized, with accuracy matching them or trailing by up to 1 percentage point, but batch-1 latency is just 7.4 ms, against 20 to 52 ms for the others. The table's description explicitly says their model trades a slight accuracy deficit for speed.
Downstream Tasks
The advantage is clearer in segmentation and detection. On ADE20K with UperNet, RDNet-T gets 47.6 single-scale mIoU against ConvNeXt-T's 46.0; at size B, it is 49.6 versus 49.1. On COCO with Mask R-CNN trained on a 3× schedule, RDNet-T reaches 47.5 box AP against ConvNeXt-T's 46.2, with 5M fewer parameters. The authors suggest that retaining features from different layers particularly helps dense prediction.
The authors also train CLIP with OpenCLIP, using RDNet-B and ConvNeXt-B as image encoders. ImageNet zero-shot top-1 is 54.1% versus 51.2%.
Stochastic Depth Helps Too
The original DenseNet did not use stochastic depth; the authors say their connection patterns already share some similarities. Testing it gives a substantial effect: a rate of 0 yields 81.6%, while 0.15 yields 82.8%, gaining 1.2 percentage points.
Conclusion
The main results:
- Concatenation itself: over fifteen thousand random networks, concatenation gains 0.7 to 1.7 percentage points on average, using about 10% to 20% more memory.
- DenseNet's proportions make it competitive: becoming wider and shallower makes it fast; more transitions allow a larger GR. The latter step alone gains 1.5 points.
- Results: at similar size, accuracy beats ConvNeXt by 0.6 to 0.7 points, with larger gaps in segmentation and detection. Inference is somewhat slower and memory use 30% to 50% greater.
Seen this way, DenseNet's neglect owed much to its deep, narrow proportions and old training recipe. Concatenation itself held up. Its appetite for memory, though, has stayed with it since 2016.