atlas

Research map / Architectures and efficiency / CNN design

LayerMerge: Neural Network Depth Compression through Layer Pruning and Merging

ICML 2024 · Architectures and efficiency › CNN design · approach: Invertible and wide-network analysis · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes LayerMerge, which jointly prunes convolution and activation layers via a surrogate knapsack-style objective solved exactly with dynamic programming, avoiding the kernel-size blow-up of depth compression.

Problem

Depth compression of CNNs merges consecutive convolutions, which enlarges merged kernel sizes and undermines the latency reduction from fewer layers.

Approach

Jointly select which activation layers and which convolution layers to remove (replacing removed convs with 1x1 identity depthwise convs so kernel size does not grow), using a surrogate objective over lookup tables of latency and importance indexed by merged kernel size, solved exactly by dynamic programming.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
jointly optimize activation-layer removal and convolution-layer pruning instead of Depth-78%ResNet-34 · ImageNet valtop-1 accuracy (%): 73.49 -> 74.26Helped
jointly optimize activation-layer removal and convolution-layer pruning instead of Depth-74%MobileNetV2-1.0 · ImageNet valtop-1 accuracy (%): 72.83 -> 72.99Helped
jointly optimize activation-layer removal and convolution-layer pruning instead of pruning convolution layers onlyMobileNetV2-1.0 · ImageNet valtop-1 accuracy (%): 69.66 -> 72.99Helped
jointly optimize activation-layer removal and convolution-layer pruning instead of Depth-62%MobileNetV2-1.4 · ImageNet valtop-1 accuracy (%): 74.68 -> 74.91Helped
jointly optimize activation-layer removal and convolution-layer pruning instead of Depth-89%DDPM · CIFAR10 valFID: 4.21 -> 4.16Helped
apply LayerMerge after Diff-Pruning instead of applying Depth after Diff-PruningDDPM · CIFAR10 valFID: 9.09 -> 8.92Helped
jointly optimize activation and convolution pruning instead of sequentially applying Depth then LayerOnly (ablation)MobileNetV2-1.0 · ImageNet valtop-1 accuracy (%): 71.72 -> 71.89Helped
jointly optimize activation and convolution pruning instead of sequentially applying Depth then LayerOnly (ablation)MobileNetV2-1.0 · ImageNet valtop-1 accuracy (%): 70.14 -> 70.81Helped
fine-tune LayerMerge-55% for fewer epochs (180 to 90) (ablation)MobileNetV2-1.0 · ImageNet valtop-1 accuracy (%): 72.99 -> 72.73Hurt
fine-tune LayerMerge-55% for fewer epochs (180 to 30) (ablation)MobileNetV2-1.0 · ImageNet valtop-1 accuracy (%): 72.99 -> 72.06Hurt
fine-tune LayerMerge-55% for fewer epochs (180 to 20) (ablation)MobileNetV2-1.0 · ImageNet valtop-1 accuracy (%): 72.99 -> 71.59Hurt
apply knowledge distillation during fine-tuning (ablation)LayerMerge on MobileNetV2-1.0 · ImageNet valtop-1 accuracy (%): 72.99 -> 73.14Helped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet CIFAR10

Benchmarks: ImageNet CIFAR10

Metrics: top-1 accuracy FID latency speed-up (PyTorch and TensorRT)

Baselines: Depth (depth compression) LayerOnly HALP AMC MetaPruning Diff-Pruning Knowledge distillation

Builds on: Depth compression (Kim et al. 2023 / DepthShrinker-style) HALP Diff-Pruning DDPM

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy