Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

DSSD : Deconvolutional Single Shot Detector

Deconvolutional layers add context that helps SSD detect small objects

  • Problem SSD predicts from several feature layers, but its shallow layers carry too little semantic information to detect small objects well. Adding more context was the goal, but a naive deconvolution on top of SSD does not succeed.
  • Method DSSD replaces the VGG base with Residual-101 and adds a residual block before each prediction layer. It then appends a shallow deconvolution decoder with skip connections, which merges features using batch normalization and element-wise product.
  • Results DSSD with 513×513 input reaches 81.5% mAP on VOC2007 test and 33.2% mAP on COCO test-dev, outperforming R-FCN on each dataset.

Why SSD misses context for small objects

SSD scores and offsets for default boxes come from several feature layers at different scales. Small objects are the weak spot, because the shallow layers that provide dense, high-resolution maps carry less semantic information about what the objects are. Better feature networks and more context, especially for small objects, were the two targets the authors pursued.

The route taken is to move to a deeper base network and then add a decoder that carries context back into the prediction layers. Neither a deeper base network nor deconvolution layers placed at the end of SSD work well on their own, so the added stages need careful construction.

The decoder borrows the encoder-decoder idea that has helped semantic segmentation and pose estimation. Because detection must run fast and no pretrained decoder exists, the decoder is kept much shallower than a symmetric hourglass.

Swapping VGG for Residual-101

On its own the swap does not improve results: plain SSD with Residual-101 at 321×321 input reaches 76.4 mAP on VOC2007 test. That is below the 77.5 mAP of SSD with VGG at 300×300 input, a comparison that mixes input sizes.

conv3_x was chosen because small objects need dense feature maps, even though its receptive field is smaller and it predicts less well than the later layers.

To keep feature maps denser, the conv5 stage stride drops from 32 to 16 pixels, and dilation is raised from 1 to 2 for conv5 kernels larger than 1.

Residual prediction modules before each head

Improving the sub-network that serves each task is a route to better accuracy, so one residual block is placed before every prediction layer. The block also keeps the objective's gradients from flowing straight into the Residual-101 backbone.

Four variants were tried: the original SSD prediction (a), a residual block with a skip connection (b), a single residual block (c) and two sequential residual blocks (d). In the original SSD the L2 normalization on conv4_3 was used because of the large gradient magnitude.

Against 76.4 mAP for plain SSD 321, variant (b) reaches 76.9, variant (c) 77.1 and variant (d) 77.0. Stacking two prediction modules did not give more than one, so variant (c) is the one carried forward.

Deconvolution decoder and its module

Deconvolution layers are appended after the SSD layers and raise the resolution step by step, which gives an asymmetric hourglass. Skip connections in the spirit of the Hourglass model strengthen the features, but the decoder is much shallower than the encoder.

The authors argue that a symmetric decoder would double inference time, which is too costly for a detector meant to run fast. The decoder has no pretrained weights, so its layers start from random initialization, while the encoder benefits from classification pretraining on ILSVRC CLS-LOC.

Each deconvolution module takes a feature layer from SSD and merges it with a deconvolution branch, which uses a learned deconvolution in place of bilinear upsampling. Batch normalization follows each convolution in the module, and the two candidate combinations are element-wise sum and element-wise product.

Matching, augmentation and aspect ratios

Each ground truth box is matched to its best default box and to any default box whose Jaccard overlap exceeds a threshold of 0.5. Negatives are sampled by confidence loss at a ratio of 3:1 to the matched boxes, and the joint loss combines localization and confidence terms. Training relies on random cropping, photometric distortion and flipping, plus the random expansion trick from the latest SSD, which the authors found helpful for small objects.

K-means on the square root of box area over VOC 2007 and 2012 trainval boxes converged at seven clusters. Most training boxes are taller than wide, and most ratios fall between 1 and 3, so the aspect ratio 1.6 is added to the original 2.0 and 3.0. The resulting set (1.6, 2.0, 3.0) is used at every prediction layer.

Two-stage training of the decoder

DSSD starts from a well-trained SSD, and stage one freezes all SSD weights while training only the deconvolution side. On VOC2007, stage one uses a learning rate of 10−3 for the first 20k iterations, then 10−4 for 10k more. Stage two fine-tunes the whole network, with 10−3 for 20k iterations followed by 10−4 for 20k iterations.

In the SSD321 ablation with variant (c) and element-wise product, the second stage lowers mAP from 78.6 to 77.9. Fine-tuning the whole network after adding the deconvolution module gave no improvement either.

The VOC2012 and COCO runs train only stage one, since the ablation did not favour stage two.

PASCAL VOC results

DSSD513 reaches 81.5 mAP on VOC2007 test, against 80.6 for SSD513 with Residual-101 at the same 513 input.

The authors report DSSD321 and DSSD513 as about 1-1.5% better than the same models without the extra deconvolution layers and skip connections.

With training on 07++12, DSSD513 reaches 80.0 mAP on VOC2012 test, with no COCO data, multi-crop or ensemble testing.

The authors attribute the largest gains to classes with specific backgrounds and to small objects, which they read as a benefit of added context.

COCO results

On test-dev2015, DSSD513 reaches 33.2 AP at IoU 0.5:0.95, against 31.2 for SSD513 and 29.9 for R-FCN. The paper reports the 33.2 result as 3.3% better than R-FCN.

At 321 input, DSSD321 matches SSD321 at 28.0 AP, while small-object AP rises from 6.2 to 7.4. Large-object AP does not improve at 321 input, which the authors report in their own words as no improvement on large objects.

COCO models were trained on trainval35k with batch size 48 for SSD321 and 20 for SSD513 on four P40 GPUs, since batch sizes below 16 were found to make batch normalization unstable.

Speed and memory cost

On a Titan X at batch size 1, with batch normalization layers present, SSD513 runs at 6.8 FPS and DSSD513 at 5.5 FPS. The authors list three causes: the deeper Residual-101 base, the extra prediction and deconvolution modules, and the larger number of default boxes.

Removing batch normalization at test time, by folding its statistics into the convolution weights and biases, speeds the model up by 1.2× to 1.5× in general and reduces the memory footprint by up to three times.

DSSD513 uses 43688 default boxes, against 17080 for the previous SSD version, a 2.6 times increase. Table 7 also lists R-FCN at 9 FPS with batch size 1, at about 1000×600 input, so the comparison crosses input sizes. The authors suggest replacing the deconvolution layers with bilinear up-sampling as a way to speed DSSD up.

Limitations

DSSD is slower than the original SSD, and the authors attribute this to the deeper base and the extra modules together with the larger default box count. Speed was measured on a Titan X with the stated batch sizes, and the Residual-101 comparison with R-FCN is drawn across different input sizes.

At 321 input, large-object COCO AP did not improve, and the authors expect DSSD to benefit more from larger inputs, at the cost of much longer training and inference. That larger-input expectation was not tested in the paper.

The approximate bilinear pooling variant was dropped because training slowed and the training error fell very slowly. Stage two training was not run on COCO, based on the VOC2007 ablation result.

Paper info

Authors
Cheng-Yang Fu, Wei Liu, Ananth Ranga, Ambrish Tyagi, Alexander C. Berg
Venue
arXiv · Preprint
First published
2017-1-23
Added
2026-11-12
Updated
2017-1-23
Version
v1
arXiv
1701.06659
Category
cs.CV
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Cheng-Yang Fu, Wei Liu, Ananth Ranga, Ambrish Tyagi, Alexander C. Berg (2017). DSSD : Deconvolutional Single Shot Detector. arXiv:1701.06659v1. https://arxiv.org/abs/1701.06659v1

BibTeX
@misc{fu2017dssd,
  title = {{DSSD : Deconvolutional Single Shot Detector}},
  author = {Cheng-Yang Fu and Wei Liu and Ananth Ranga and Ambrish Tyagi and Alexander C. Berg},
  year = {2017},
  eprint = {1701.06659},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1701.06659v1}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up