WRGPruner: A New Model Pruning Solution for Tiny Salient Object Detection

Fengwei Jia · Xuan Wang · Jian Guan · Huale Li · Chen Qiu · Shuhan Qi*
Computer Application Research Center, Harbin Institute of Technology (Shenzhen) · College of Computer Science and Technology, Harbin Engineering University · *Corresponding: [email protected]
Image and Vision Computing 109 (2021) 104142 · DOI 10.1016/j.imavis.2021.104143 · Model pruning · tiny salient object detection · SEL

Tiny SOD = Four Imbalances

  • Class-imbalance: foreground vs background pixels unbalanced
  • Scale-imbalance: input image scale vs salient object scale
  • Spatial-imbalance: salient object position in the image
  • Objective-imbalance: background loss dominates the total loss
60%
parameters pruned (14.7M → 5.9M)
3
factors: weight · rank · gradient
TSOD
first tiny-SOD dataset (S/M/L)
Fig. 1 · Difficult samples of tiny salient objects — the proportion of object pixels to background pixels is too small

Visual Observation (VGG16)

  • The number of weight parameters is huge — many neurons per layer, large size and time-consuming calculations
  • Most weight values are less than 0.1 after the middle layer — detected features tend to zero
  • Saliency samples occupy a small proportion; background pixels dominate — background extraction is redundant

Weight Distribution per Layer

Fig. 2 · First / middle / last / full layers — most values very small, especially in the last layer

SEL: Salient Energy Level

Fig. 3 · WRGPruner: weight in filter (Θ_weight), rank in feature map (Θ_rank), gradient in backward propagation (Θ_gradient)
  • Weight: S_ij = Σ|w_ij| — filters with weights returning to zero are removed
  • Rank: high-rank feature maps carry more information — low-rank pruned
  • Gradient: |ΔL(Z_i)/∂Z_i| — maps whose removal barely changes loss are cut
  • SEL = λ·Θ_weight − Θ_rank − Θ_gradient — SEL queue sorted descending, bottom pruned per ratio

Algorithm Procedure

  • Calculate SEL of feature maps → candidate queue SEL = {Θ_0, ..., Θ_n}
  • Sort in descending order; calculate pruned filters with hyper-parameter pruning ratio
  • Obtain the low-SEL filter set Low_SEL = {w_0, w_1, ..., w_n} and remove them; next iteration loop
  • Training: DUTS-TRAIN, batch 32, Adam, lr 0.001, fine-tune stage lr 0.0001, 10 epochs, input 224×224, 512 filters pruned per loop

Results: 60% Pruned

  • Parameter count drops 60% (14.7M → 5.9M) with pruning ratio 0.65
  • On most difficult TSOD-L: +0.16 Max-F, +0.03 Adapt-F, +0.09 Weight-F over the L1-pruned model
  • First 15 layers: less than 50% of parameters removed — the pruning ratio grows toward higher layers
  • In the last layer 90% of parameters are redundant — edge features gradually become high-level semantics

Saliency Maps: ECSSD & TSOD

Fig. 4 · Input / GT / VGG16 / L1 / Taylor / Hrank / Ours — tiny objects detected clearly on TSOD rows

TSOD Dataset & Generalization

Fig. 5 · TSOD-S (237) / TSOD-M (580) / TSOD-L (1923) examples with ground truth
  • VSOD generalization: DSS (VGGNet16) and RAS (ResNet50) backbones pruned with the same method
  • Ratio r = N_s/(N_s − N_b) defines the three difficulty levels
TAKEAWAYS
1. Tiny SOD recast as class imbalance — prune background-extracting parameters
2. SEL = λ·weight − rank − gradient: three-factor pruning criterion, mathematically proven
3. 60% pruned with slight enhancement on tiny objects — TSOD-S/M/L fill the dataset gap
Jia, Wang, Guan, Li, Qiu & Qi (2021). Image and Vision Computing 109, 104142. DOI 10.1016/j.imavis.2021.104143 — figures reprinted from the original paper for academic presentation.