云南财经大学 · 物流与管理学院

贾丰玮

Fengwei Jia · Ph.D.

云南财经大学 · 物流与管理学院 助理研究员

期刊论文

WRGPruner:面向微小显著性目标检测的新型模型剪枝方案

WRGPruner: A new model pruning solution for tiny salient object detection
发表载体 · Image and Vision Computing 年份 · 2021 卷期页 · 109: 104143 作者 · JIA F W, WANG X, GUAN J, LI H L, QIU C, QI S H
中科院2区SCI Q1IF 4.7

会议海报

点击海报可放大查看原图
点击图片查看原始尺寸 点击图片适应窗口 打开交互版 ↗ 打开原图 ↗

摘要

模型剪枝是降低算力与内存开销的主要模型压缩手段之一。然而现有剪枝方法大多面向过宽的应用场景,难以针对显著性目标检测任务中的特定难点给出最优解。本文面向微小显著性目标检测,提出基于显著能量级(Salient Energy Level, SEL)概念的新型剪枝方案 WRGPruner:SEL 度量训练后模型参数区分背景与显著性目标的能力;围绕 SEL,剪枝器综合考虑滤波器权重、特征图矩阵的数学秩与反向传播梯度三类因素进行压缩,并从数学上证明其对微小显著性目标的有效性。同时构建微小显著性目标数据集 TSOD 用于评估。大量实验表明,在 TSOD 上 WRGPruner 将 VGG16 剪掉 60% 参数的同时,六项精度指标还略有提升,验证了 SEL 度量参数的适配性与 WRGPruner 的有效性。

核心贡献

  • 提出显著能量级(SEL)度量参数区分背景与显著目标的能力
  • 综合滤波器权重、特征图秩与反向梯度三类因素剪枝
  • 构建 TSOD 数据集;VGG16 剪枝 60% 参数、六项精度不降反升
BibTeX
@article{JIA2021wrgpruner,
  author  = {Jia, Fengwei and Wang, Xuan and Guan, Jian and Li, Huale and Qiu, Chen and Qi, Shuhan},
  title   = {WRGPruner: A new model pruning solution for tiny salient object detection},
  journal = {Image and Vision Computing},
  year    = {2021},
  volume  = {109},
  pages   = {104143},
  doi     = {10.1016/j.imavis.2021.104143}
}

GB/T 7714 引用格式

中文
JIA F W, WANG X, GUAN J, et al. WRGPruner: A new model pruning solution for tiny salient object detection[J]. Image and Vision Computing, 2021, 109: 104143. DOI:10.1016/j.imavis.2021.104143.
英文
JIA F W, WANG X, GUAN J, et al. WRGPruner: A new model pruning solution for tiny salient object detection[J]. Image and Vision Computing, 2021, 109: 104143. DOI:10.1016/j.imavis.2021.104143.
论文主页

WRGPruner:面向微小显著性目标检测的新型模型剪枝方案

Image and Vision Computing · 2021

60% pruned
14.7M → 5.9M parameters with pruning ratio 0.65, tiny-object accuracy slightly enhanced
SEL criterion
salient energy level = λ·weight − rank − gradient, mathematically proven for tiny SOD
TSOD-S/M/L
the first tiny salient object detection dataset: 237 / 580 / 1923 images by difficulty
+0.16 Max-F
improvement over L1-pruned model on the most difficult TSOD-L subset
Fig. 3 · The WRGPruner criterion: weight in filter (Θ_weight), rank in feature map (Θ_rank), and gradient in backward propagation (Θ_gradient) compose the salient energy level.
Fig. 3 · The WRGPruner criterion: weight in filter (Θ_weight), rank in feature map (Θ_rank), and gradient in backward propagation (Θ_gradient) compose the salient energy level.
Abstract

Pruning recast as a class-imbalance problem

The model pruning is one of the predominant model compression tasks to decrease the demands in computing power and memory footprint. However, most existing pruning methods have overly broad application areas, which defects as a sub-optimal solution specifically to solve certain specified difficulties in the tasks of salient object detection. In this paper, we propose a novel solution, dubbed as WRGPruner, based on the concept of salient energy level (SEL) for tiny salient object detection. The concept of SEL defines the level of assessing the distinguishing ability of parameters in the trained model between background and salient objects. To exploit the SEL, the WRGPruner is proposed, which considers three factors for model compression including the weight in the filter, the mathematical rank of the feature map matter, and the gradient in the backward propagation. Besides, a tiny salient object dataset (TSOD) is constructed for evaluation. Extensive experiments show that WRGPruner about 60% of parameters with slight enhancement in terms of six accuracy metrics for VGG16 on TSOD. This demonstrates that the SEL is suitable for measurement parameters and the effectiveness of WRGPruner.

Contributions

What this paper adds

Concept

Salient Energy Level (SEL)

A new concept to assess the parameters' distinguishing ability between background and salient objects — tiny SOD recast as a class-imbalance problem with four categories (class, scale, spatial, objective).

Method

WRGPruner

Simultaneously considers the synthesis of three dimensions — weight in filter, rank in feature map, gradient in backward propagation — mathematically proven effective for tiny salient object detection.

Dataset

TSOD-S/M/L

A tiny salient object dataset and its extension version constructed to make up for the regret that there is no relevant dataset — 237 / 580 / 1923 images by salient-pixel ratio.

Method & Results

From visual observation to pruned networks

Visualizing the weight distribution per layer of a modified VGG16 shows: the number of weight parameters is huge; most weight values are less than 0.1 after the middle layer; and background pixels dominate the images, so detected background features are redundant. The SEL queue is sorted in descending order and the bottom filters are pruned per the pruning ratio each loop.

Figure 3. The WRGPruner criterion: weight in filter, rank in feature map, and gradient in backward propagation

Three factors, one energy level

Weight: Sij = Σ|wij| — filters whose weights return to zero are removed. Rank: high-rank feature maps carry more information (Eq. 11–12) — low-rank maps pruned. Gradient: |ΔL(Zi)/∂Zi| — feature maps whose removal barely changes the loss are cut.

Θsalient = λΘweight − Θrank − Θgradient  (Eq. 8)

60% pruned, tiny objects enhanced

60%
parameters pruned (14.7M → 5.9M)
+0.16
Max-F over L1-pruned on TSOD-L
90%
redundant parameters in the last layer

With pruning ratio 0.65 the parameter count drops 60%. On the most difficult TSOD-L, the improvement over the L1 model is about 0.16 Max-F, 0.03 Adaptive-F, and 0.09 Weight-F. In the first 15 layers less than 50% of parameters are removed — the pruning ratio grows toward higher layers, and in the last layer 90% of parameters are redundant.

Qualitatively: on ECSSD the pruned model is closest to the original; on TSOD the bamboo-pole detection is clearer than VGG with no hollow parts, and the saliency edge approaches the unpruned method.

TSOD dataset

Figure 4. Visual comparison of saliency maps on ECSSD and TSOD: Input, GT, VGG16, L1, Taylor, Hrank, Ours
Fig. 4 · Saliency maps on ECSSD (common) and TSOD (difficult).

The ratio r = Ns/(Ns − Nb) splits TSOD into three difficulty levels. Generalization: DSS (VGGNet16) and RAS (ResNet50) backbones are pruned with the same method — the tiny-SOD prediction map is used directly without additional detection-network training.

Discussion

Limitations and future work

Convergence: extra tuning with TSOD-L difficult samples (200 validation + 1723 training) slightly improved accuracy, and the converged VGG still achieves the best results — the method proves effective and unobstructed by training-sample distribution. Limitations: pruning declines slightly on common samples (ECSSD) since fitting is insufficient with fewer parameters.

点击图片查看原始尺寸

← 返回论文列表