Papers › DepthShrinker: A New Compression Paradigm Towards Boosting Real-Hardware Efficiency of...

DepthShrinker: A New Compression Paradigm Towards Boosting Real-Hardware Efficiency of Compact Neural Networks

2 Jun 2022arXiv:2206.00843archive 2025-07-28

Yonggan Fu, Haichuan Yang, Jiayi Yuan, Meng Li, Cheng Wan, Raghuraman Krishnamoorthi, Vikas Chandra, Yingyan Celine Lin

Efficient deep neural network (DNN) models equipped with compact operators (e.g., depthwise convolutions) have shown great potential in reducing DNNs' theoretical complexity (e.g., the total number of weights/operations) while maintaining a decent model accuracy. However, existing efficient DNNs are still limited in fulfilling their promise in boosting real-hardware efficiency, due to their commonly adopted compact operators' low hardware utilization. In this work, we open up a new compression paradigm for developing real-hardware efficient DNNs, leading to boosted hardware efficiency while maintaining model accuracy. Interestingly, we observe that while some DNN layers' activation functions help DNNs' training optimization and achievable accuracy, they can be properly removed after training without compromising the model accuracy. Inspired by this observation, we propose a framework dubbed DepthShrinker, which develops hardware-friendly compact networks via shrinking the basic building blocks of existing efficient DNNs that feature irregular computation patterns into dense ones with much improved hardware utilization and thus real-hardware efficiency. Excitingly, our DepthShrinker framework delivers hardware-friendly compact networks that outperform both state-of-the-art efficient DNNs and compression techniques, e.g., a 3.06% higher accuracy and 1.53× throughput on Tesla V100 over SOTA channel-wise pruning method MetaPruning. Our codes are available at: https://github.com/facebookresearch/DepthShrinker.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2206.00843")

Code

Syntology Ran 13 of 15 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 5 ran · honoured contract; 1 ran · violated contract; 4 ran · our draft was wrong; 3 ran with no contract checked.

By repository: official repository: 15 samples from 1 repository, 13 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

facebookresearch/depthshrinker officialmentioned in papermentioned on GitHubpytorchNOASSERTION report
rice-eic/depthshrinker officialmentioned in paperMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 13 ran; 5 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

5ran · honoured contract
1ran · violated contract
4ran · our draft was wrong
3ran
2unverified

Licence: 15 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from facebookresearch/depthshrinker. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

CondConv2d facebookresearch/depthshrinker/models/efficientnet_blocks.py official repository ran · metamorphic tier: deterministic licence not identified · pointer only · eb9c56ce6ebabe0e · report
Conv2dSame facebookresearch/depthshrinker/models/efficientnet_blocks.py official repository ran · metamorphic tier: deterministic fingerprinted licence not identified · pointer only · 5ce1979636036635 · report
MixedConv2d facebookresearch/depthshrinker/models/efficientnet_blocks.py official repository ran · metamorphic tier: deterministic fingerprinted licence not identified · pointer only · 8e8ca221bdc062f3 · report
_split_channels facebookresearch/depthshrinker/models/efficientnet_blocks.py official repository ran · honoured contract fingerprinted licence not identified · pointer only · f28e60bc5be022ce · report
conv2d_same facebookresearch/depthshrinker/models/efficientnet_blocks.py official repository ran · our draft was wrong licence not identified · pointer only · 61bb8dbefa4ed19a · report
create_conv2d_pad facebookresearch/depthshrinker/models/efficientnet_blocks.py official repository ran · our draft was wrong licence not identified · pointer only · 9ad464c2bfb49b0f · report
get_condconv_initializer facebookresearch/depthshrinker/models/efficientnet_blocks.py official repository ran · our draft was wrong licence not identified · pointer only · 816ebe82b6b6275f · report
get_padding facebookresearch/depthshrinker/models/efficientnet_blocks.py official repository ran · honoured contract fingerprinted licence not identified · pointer only · 73876e077d3acdf5 · report
get_padding_value facebookresearch/depthshrinker/models/efficientnet_blocks.py official repository ran · honoured contract licence not identified · pointer only · 5993ba1d4c4de0b5 · report
get_same_padding facebookresearch/depthshrinker/models/efficientnet_blocks.py official repository ran · honoured contract fingerprinted licence not identified · pointer only · 54e11386110ff042 · report
is_static_pad facebookresearch/depthshrinker/models/efficientnet_blocks.py official repository ran · violated contract licence not identified · pointer only · ffb95d7b0bd531e5 · report
make_divisible facebookresearch/depthshrinker/models/efficientnet_blocks.py official repository ran · honoured contract fingerprinted licence not identified · pointer only · 24400bc088ed228d · report
pad_same facebookresearch/depthshrinker/models/efficientnet_blocks.py official repository ran · our draft was wrong fingerprinted licence not identified · pointer only · 3035cd0e2de9e8a4 · report
InvertedResidual_Share_Act facebookresearch/depthshrinker/models/efficientnet_blocks.py official repository unverified licence not identified · pointer only · 05657319f92544ce · report
create_conv2d facebookresearch/depthshrinker/models/efficientnet_blocks.py official repository unverified licence not identified · pointer only · afb4d58768af3f8f · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Pruning

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections