Papers › Gate Decorator: Global Filter Pruning Method for Accelerating Deep Convolutional...

Gate Decorator: Global Filter Pruning Method for Accelerating Deep Convolutional Neural Networks

18 Sep 2019NeurIPS 2019 12arXiv:1909.08174archive 2025-07-28

Zhonghui You, Kun Yan, Jinmian Ye, Meng Ma, Ping Wang

Filter pruning is one of the most effective ways to accelerate and compress convolutional neural networks (CNNs). In this work, we propose a global filter pruning algorithm called Gate Decorator, which transforms a vanilla CNN module by multiplying its output by the channel-wise scaling factors, i.e. gate. When the scaling factor is set to zero, it is equivalent to removing the corresponding filter. We use Taylor expansion to estimate the change in the loss function caused by setting the scaling factor to zero and use the estimation for the global filter importance ranking. Then we prune the network by removing those unimportant filters. After pruning, we merge all the scaling factors into its original module, so no special operations or structures are introduced. Moreover, we propose an iterative pruning framework called Tick-Tock to improve pruning accuracy. The extensive experiments demonstrate the effectiveness of our approaches. For example, we achieve the state-of-the-art pruning ratio on ResNet-56 by reducing 70% FLOPs without noticeable loss in accuracy. For ResNet-50 on ImageNet, our pruned model with 40% FLOPs reduction outperforms the baseline model by 0.31% in top-1 accuracy. Various datasets are used, including CIFAR-10, CIFAR-100, CUB-200, ImageNet ILSVRC-12 and PASCAL VOC 2011. Code is available at github.com/youzhonghui/gate-decorator-pruning

PaperPDFConference PDFCodeCode 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="1909.08174")

Code

Syntology Ran 1 of 18 code samples harvested from 2 repositories linked to this paper; 17 have no recorded run. Of those that ran: 1 ran · honoured contract.

By repository: official repository: 5 samples from 1 repository, 0 ran; community (archive-listed): 13 samples from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

youzhonghui/gate-decorator-pruning officialmentioned in paperpytorchApache-2.0 report
softsys4ai/neural-distiller mentioned on GitHubtfMIT 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

18 samples harvested; 1 ran; 1 honoured the contract we drafted; 17 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.

1ran · honoured contract
17unverified

Licence: 0 of the 18 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 2 repositories linked to this paper, official or community; each sample names its own and says which. “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.

finetune youzhonghui/gate-decorator-pruning/prune/utils.py official repository unverified Apache-2.0 (permissive) · 443447da85da3fcc · report
get_gate_sparse_loss youzhonghui/gate-decorator-pruning/prune/universal.py official repository unverified Apache-2.0 (permissive) · 4f18686562b60d83 · report
resnet20 youzhonghui/gate-decorator-pruning/models/cifar/resnet56.py official repository unverified Apache-2.0 (permissive) · 025a0fa4b9bd03c4 · report
resnet32 youzhonghui/gate-decorator-pruning/models/cifar/resnet56.py official repository unverified Apache-2.0 (permissive) · aee5de704735856b · report
resnet44 youzhonghui/gate-decorator-pruning/models/cifar/resnet56.py official repository unverified Apache-2.0 (permissive) · 5cdc625b5824a25a · report
lr_schedule softsys4ai/neural-distiller/src/models/generate_resnet.py community (archive-listed) ran · honoured contract fingerprinted MIT (permissive) · 67e18e3fdd805d03 · report
bound_policy softsys4ai/neural-distiller/src/experiments/ternary_train.py community (archive-listed) unverified MIT (permissive) · fa79dbf3466aa49e · report
create_meta softsys4ai/neural-distiller/src/experiments/multistage_knowledge_distillation_train.py community (archive-listed) unverified MIT (permissive) · 43ad5039f7bea39a · report
create_result softsys4ai/neural-distiller/src/experiments/multistage_knowledge_distillation_train.py community (archive-listed) unverified MIT (permissive) · b054430125f1402e · report
import_config softsys4ai/neural-distiller/src/experiments/multistage_knowledge_distillation_train.py community (archive-listed) unverified MIT (permissive) · 8fa48caebcb5f044 · report
save_model softsys4ai/neural-distiller/src/experiments/eskd_knowledge_distillation_train.py community (archive-listed) unverified MIT (permissive) · d016fd58a1a0d7e8 · report
save_model softsys4ai/neural-distiller/src/experiments/eskd_teacher_train_and_collect_logits.py community (archive-listed) unverified MIT (permissive) · 1ff169b5b9d1cd91 · report
save_weights softsys4ai/neural-distiller/src/experiments/eskd_baseline_train.py community (archive-listed) unverified MIT (permissive) · 72fd99b24d34b031 · report
save_weights softsys4ai/neural-distiller/src/experiments/eskd_knowledge_distillation_train.py community (archive-listed) unverified MIT (permissive) · 5751220b37e6b368 · report
save_weights softsys4ai/neural-distiller/src/experiments/eskd_teacher_train_and_collect_logits.py community (archive-listed) unverified MIT (permissive) · 3a54923ed094ac96 · report
step_decay softsys4ai/neural-distiller/src/experiments/eskd_baseline_train.py community (archive-listed) unverified MIT (permissive) · 3c6c1687bc93411d · report
step_decay softsys4ai/neural-distiller/src/experiments/eskd_teacher_train_and_collect_logits.py community (archive-listed) unverified MIT (permissive) · 39a9b931bf412ce2 · report
ternarize softsys4ai/neural-distiller/src/experiments/ternary_train.py community (archive-listed) unverified MIT (permissive) · b822412a30b86c96 · 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