SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2206.00843 · ICML · 2022

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

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

arXiv · PDF · Open in the Atlas

Code that ran

13 of 15 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (3 of them constructed an object rather than computing a result; 5 honoured the contract we drafted, 1 violated it and 3 have no contract verdict; 4 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2206.00843.json · badge: /api/ran/2206.00843.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
facebookresearch/depthshrinker community
Papers with Code archive
13 ran · 2 no recorded run
FunctionStatusWhere it lives
CondConv2d Ran
ran on a synthesized input · constructed an object; no result was computed
facebookresearch/depthshrinker/models/efficientnet_blocks.py
pointer only (licence: NOASSERTION) · get_code("eb9c56ce6ebabe0e")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/depthshrinker (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Conv2dSame Ran
ran on a synthesized input · constructed an object; no result was computed
facebookresearch/depthshrinker/models/efficientnet_blocks.py
pointer only (licence: NOASSERTION) · get_code("5ce1979636036635")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/depthshrinker (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

MixedConv2d Ran
ran on a synthesized input · constructed an object; no result was computed
facebookresearch/depthshrinker/models/efficientnet_blocks.py
pointer only (licence: NOASSERTION) · get_code("8e8ca221bdc062f3")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/depthshrinker (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

_split_channels Ran
ran, honoured the contract we drafted
facebookresearch/depthshrinker/models/efficientnet_blocks.py
pointer only (licence: NOASSERTION) · get_code("f28e60bc5be022ce")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/depthshrinker (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

conv2d_same Ran
ran; our contract draft was wrong, not the code
facebookresearch/depthshrinker/models/efficientnet_blocks.py
pointer only (licence: NOASSERTION) · get_code("61bb8dbefa4ed19a")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/depthshrinker (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

create_conv2d_pad Ran
ran; our contract draft was wrong, not the code
facebookresearch/depthshrinker/models/efficientnet_blocks.py
pointer only (licence: NOASSERTION) · get_code("9ad464c2bfb49b0f")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/depthshrinker (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_condconv_initializer Ran
ran; our contract draft was wrong, not the code
facebookresearch/depthshrinker/models/efficientnet_blocks.py
pointer only (licence: NOASSERTION) · get_code("816ebe82b6b6275f")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/depthshrinker (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_padding Ran
ran, honoured the contract we drafted
facebookresearch/depthshrinker/models/efficientnet_blocks.py
pointer only (licence: NOASSERTION) · get_code("73876e077d3acdf5")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/depthshrinker (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_padding_value Ran
ran, honoured the contract we drafted
facebookresearch/depthshrinker/models/efficientnet_blocks.py
pointer only (licence: NOASSERTION) · get_code("5993ba1d4c4de0b5")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/depthshrinker (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_same_padding Ran
ran, honoured the contract we drafted
facebookresearch/depthshrinker/models/efficientnet_blocks.py
pointer only (licence: NOASSERTION) · get_code("54e11386110ff042")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/depthshrinker (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

is_static_pad Ran
ran, violated the contract we drafted
facebookresearch/depthshrinker/models/efficientnet_blocks.py
pointer only (licence: NOASSERTION) · get_code("ffb95d7b0bd531e5")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/depthshrinker (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

make_divisible Ran
ran, honoured the contract we drafted
facebookresearch/depthshrinker/models/efficientnet_blocks.py
pointer only (licence: NOASSERTION) · get_code("24400bc088ed228d")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/depthshrinker (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

pad_same Ran
ran; our contract draft was wrong, not the code
facebookresearch/depthshrinker/models/efficientnet_blocks.py
pointer only (licence: NOASSERTION) · get_code("3035cd0e2de9e8a4")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/depthshrinker (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

InvertedResidual_Share_Act Not yet run
unverified (harvested, no recorded run)
facebookresearch/depthshrinker/models/efficientnet_blocks.py
pointer only (licence: NOASSERTION) · get_code("05657319f92544ce")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/depthshrinker (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

create_conv2d Not yet run
unverified (harvested, no recorded run)
facebookresearch/depthshrinker/models/efficientnet_blocks.py
pointer only (licence: NOASSERTION) · get_code("afb4d58768af3f8f")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/depthshrinker (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 10 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 0 the same month, 7 later) and 5 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
make_divisible
brick of this paper's assembly: helper
9 other papers
3 dated earlier, 6 later
2105.01601 (2021-05)
MLP-Mixer: An all-MLP Architecture for Vision
2203.08392 (2022-03)
Patch-Fool: Are Vision Transformers Always Robust Against Adversarial Perturbations?
2203.14509 (2022-03)
Automated Progressive Learning for Efficient Training of Vision Transformers
and 6 more not named here
get_same_padding
brick of this paper's assembly: helper
4 other papers
2 dated earlier, 2 later
2003.13678 (2020-03)
Designing Network Design Spaces
2203.10233 (2022-03)
DirecFormer: A Directed Attention in Transformer Approach to Robust Action Recognition
2407.03179 (2024-07)
Motion meets Attention: Video Motion Prompts
and 1 more not named here
conv2d_same
brick of this paper's assembly: helper
3 other papers
3 later
2402.04129 (2024-02)
OVOR: OnePrompt with Virtual Outlier Regularization for Rehearsal-Free Class-Incremental Learning
2402.19460 (2024-02)
Benchmarking Uncertainty Disentanglement: Specialized Uncertainties for Specialized Tasks
2408.13983 (2024-08)
Dual-Path Adversarial Lifting for Domain Shift Correction in Online Test-time Adaptation
get_condconv_initializer
brick of this paper's assembly: helper
3 other papers
1 dated earlier, 2 later · 1 only as an assembly brick
1905.11946 (2019-05)
EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
2402.04129 (2024-02)
OVOR: OnePrompt with Virtual Outlier Regularization for Rehearsal-Free Class-Incremental Learning
2402.19460 (2024-02)
Benchmarking Uncertainty Disentanglement: Specialized Uncertainties for Specialized Tasks
get_padding
brick of this paper's assembly: helper
3 other papers
3 dated earlier · 1 only as an assembly brick
2003.13678 (2020-03)
Designing Network Design Spaces
2104.08215 (2021-04)
"BNN - BN = ?": Training Binary Neural Networks without Batch Normalization
2204.02844 (2022-04)
Learning to Generate Realistic Noisy Images via Pixel-level Noise-aware Adversarial Training
get_padding_value
brick of this paper's assembly: helper
3 other papers
1 dated earlier, 2 later
2203.10233 (2022-03)
DirecFormer: A Directed Attention in Transformer Approach to Robust Action Recognition
2407.03179 (2024-07)
Motion meets Attention: Video Motion Prompts
2606.20559 (2026-06)
UNIEGO: Proxies as Mediators for Unified Egocentric Video Representation Learning
pad_same
brick of this paper's assembly: helper
3 other papers
1 dated earlier, 2 later
2203.10233 (2022-03)
DirecFormer: A Directed Attention in Transformer Approach to Robust Action Recognition
2407.03179 (2024-07)
Motion meets Attention: Video Motion Prompts
2606.20559 (2026-06)
UNIEGO: Proxies as Mediators for Unified Egocentric Video Representation Learning
create_conv2d_pad
brick of this paper's assembly: helper
2 other papers
2 later
2402.04129 (2024-02)
OVOR: OnePrompt with Virtual Outlier Regularization for Rehearsal-Free Class-Incremental Learning
2408.13983 (2024-08)
Dual-Path Adversarial Lifting for Domain Shift Correction in Online Test-time Adaptation
Conv2dSame
brick of this paper's assembly: helper
1 other paper
1 dated earlier
1905.11946 (2019-05)
EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
_split_channels
brick of this paper's assembly: helper
1 other paper
1 dated earlier · 1 only as an assembly brick
1905.11946 (2019-05)
EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2206.00843")
get_code_for_paper("2206.00843")
have("2206.00843")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2206.00843.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2206.00843.svg)](https://syntology.ai/paper/2206.00843)

Connect an agent — have() is free.