# Video Salient Object Detection via Fully Convolutional Networks

Wenguan Wang, Jianbing Shen, Ling Shao · arXiv · 2017-2-2

- **Problem** Dense pixel-level labels for video are scarce, and the optical flow that many video saliency models compute makes them slow.
- **Method** Trains a two-module fully convolutional network in which a static network's per-pixel estimate feeds a dynamic network that takes frame pairs, using synthetic frame pairs built from annotated still images together with real video.
- **Results** The whole model reached MAE of 7.65 on the FBMS test set and 6.36 on DA VIS, the lowest MAE among the compared methods.

![Figure 1: A schematic representation of our proposed deep video saliency model. Our saliency model composes of two modules, which are designed for capturing th…](https://refivu.com/papers/bc9ebd0c-9bab-4b48-a6aa-5dc69dbeadea/figures/figure-9ffebbf9671da377b2f89fbe9a1d76cc.png?thumb=512)

**Fig. 1** . A schematic representation of our proposed deep video saliency model. Our saliency model composes of two modules, which are designed for capturing the spatial and temporal saliency information simultaneously. The static saliency network (Sec. III-B) takes single frame as input and outputs static saliency estimates. The dynamic saliency network (Sec. III-C) learns dynamic saliency from frame pairs and takes static saliency generated by the ﬁrst module as prior, thus producing the ﬁnal spatiotemporal saliency maps.

[Original paper](https://arxiv.org/abs/1702.00871v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Wenguan Wang, Jianbing Shen, Ling Shao · Video Salient Object Detection via Fully Convolutional Networks · Original paper figure · Extracted the figure area from page 3 of the original PDF.

## Why video saliency is hard to learn

Image networks have benefited from very large annotated collections, but video saliency has far less labelled material. Frames taken from one clip are highly correlated, so a clip adds less variety than its frame count suggests.

Pixel-level annotation of video is slow and expensive, so building a large labelled video set by hand is hard in practice. Speed is the second obstacle. Optical flow is the main computational bottleneck for existing video saliency methods, and many deep video networks take optical flow as input.

Saliency in video depends on both spatial and temporal characteristics, which is the motivation the authors draw from human visual perception research. The authors argue that short-term analysis of two frames is enough to capture the temporal cue, so long optical flow sequences are not needed.

## Two-module design and the static prior

The deep video saliency model has a static saliency network that works on single frames and a dynamic saliency network that works on frame pairs. The static module draws on image saliency data, and its per-pixel estimate is handed to the dynamic module as a prior, so the two cues are not merged only at a late fusion stage.

Figure 1 shows the two stages and how the static estimate is carried into the dynamic branch. The dynamic network produces the final spatiotemporal saliency map for each frame.

## Static branch: a fully convolutional network

The static saliency network is a fully convolutional network: a stack of convolution layers reduces resolution, and deconvolution layers upsample the result back to the input size. A convolution layer computes \\(f\_s(X;W,b)=W\\ast\_s X+b\\), where X is the input feature map, W and b are the trainable kernel and bias, and \\(\\ast\_s\\) is convolution with stride s.

A point-wise nonlinearity such as ReLU follows each convolution, and down-sampling such as max pooling makes features tolerant to small shifts but leaves the maps coarse.

The upsampling stage is written as \\\[Y=D\_S\\big(F\_S(I;\\Theta\_F);\\Theta\_D\\big)\\\], where \\(F\_S\\) is the convolutional stack with total stride S, \\(D\_S\\) upsamples by S to match the input size, and all parameters are learnable. A 1×1 convolution followed by a sigmoid maps Y to the probability map P with values between 0 and 1, which Figure 2 illustrates.

Salient and non-salient pixels are usually imbalanced, so training uses a weighted cross-entropy loss. The loss is \\\[L(P,G)=-\\sum\_{i=1}^{h\\times w}\\left((1-\\alpha)\\,g\_i\\log p\_i+\\alpha\\,(1-g\_i)\\log(1-p\_i)\\right)\\\], where \\(g\_i\\) and \\(p\_i\\) are the ground-truth label and predicted probability of pixel i, and α is the ratio of salient pixels in G.

As printed, the salient term carries the weight \\(1-\\alpha\\) and the non-salient term carries \\(\\alpha\\).

## Dynamic branch: frame pairs plus the static prior

The dynamic network has the same fully convolutional layout as the static one, and only its first convolution changes to accept more inputs. The modified first layer is \\\[f(\\mathbf{I};W,b)=W\_{I\_t}\\ast I\_t+W\_{I\_{t+1}}\\ast I\_{t+1}+W\_{P\_t}\\ast P\_t+b\\\], where each W term is its own kernel set and b is the bias. The two frames and the static map P\_t are concatenated along the channel direction into a tensor of size h×w×7.

Figure 3 shows the training inputs, which are real or synthetic frame pairs and the static map from the first network. The authors argue that the static prior makes training the dynamic model easier and yields more accurate predictions than training it without the prior. Compared with two-stream designs that use optical flow, this places the fusion inside the network and infers temporal information directly from two adjacent frames.

At test time the static map P\_t is computed for frame I\_t first, and then the frame pair and that map are passed to the dynamic network. The procedure moves to the next frame and repeats until the end of the video sequence.

## Synthetic frame pairs from annotated still images

Deep models trained on small video sets overfit, so the authors build training pairs from still images. Only two frames are needed, because the dynamic network takes frame pairs rather than whole sequences. The correspondence between the synthetic frame I' and the image I is written as \\\[I'(\\mathbf{x})=I(\\mathbf{x}+\\mathbf{v}(\\mathbf{x}))\\\], where x is a pixel position and v=(u,v) is the optical flow field.

The image is oversegmented into superpixels R, and these are split into foreground F and background B using the ground-truth mask G. Randomly chosen 10% of background superpixels, the set S, receive vertical motion drawn from \[-d,d\] with d=h/10, and the other background superpixels start at zero. A main foreground motion m is drawn from \[-d,d\], and each foreground superpixel then takes a value in \[m-d/10,m+d/10\], so parts of an object can move slightly differently.

The initial motion is smoothed by minimising an energy with a unary term and a smooth term: \\\[E(\\bar{\\mathbf{v}},\\mathbf{v})=\\sum\_i\\lambda\_i(\\bar{v}\_i-v\_i)^2+\\sum\_{i,i'\\in\\aleph}w\_{i,i'}(\\bar{v}\_i-\\bar{v}\_{i'})^2\\\]. The unary term keeps each superpixel near its initial motion, and the smooth term couples neighbouring superpixels when their colours are similar.

The smoothing weight is \\(w\_{i,i'}=\\exp(-\\\|C(r\_i)-C(r\_{i'})\\\|^2)\\) when both superpixels are foreground or both are background, and 0 when one is foreground and the other background, where C(r) is the mean colour of superpixel r. Eq. 6 is solved by convex optimization, which gives a smooth optical flow field v.

Warping the image and its mask with this flow produces a synthetic frame I' and an annotation G'. Each image yields ten simulated frames, and MSRA10K and DUT-OMRON together give more than 150K simulated videos within 3 hours at 14 fps on one CPU. Figure 5 shows real images with their masks next to synthetic examples produced by this method.

## Training setup and data mix

Both networks start from the first five convolutional blocks of VGGNet, which was trained on 1.3 million ImageNet images. For the static network, the remaining convolution layers use zero-mean Gaussian initialization with standard deviation 0.01 and zero biases. The static network is trained on MSRA10K and DUT-OMRON for 100K iterations.

The dynamic network's first layer uses Gaussian initialization because its input has a different channel count from VGGNet. Its real video data are the SegTrackV2 sequences and the FBMS training split, about 3K frame pairs, combined with the synthetic pairs. Training took about 40 hours on a PC with a TITAN X GPU.

## Comparison with six saliency methods

Evaluation uses the 30-sequence test split of FBMS and all 50 DA VIS sequences. Two alternatives are image saliency methods, MD and MC, and the other four, TIMP, GAFL, SAGE and RWRV, are video saliency methods.

Precision-recall curves sweep thresholds from 0 to 255, giving 256 precision and recall pairs per map. F-measure is \\\[\\text{F-measure}=\\frac{(1+\\beta^2)\\times\\text{precision}\\times\\text{recall}}{\\beta^2\\times\\text{precision}+\\text{recall}}\\\] with beta squared set to 0.3, so precision counts more than recall. MAE is \\\[\\text{MAE}=\\frac{\\sum\_{i=1}^{h\\times w}\|P(x\_i)-G(x\_i)\|}{h\\times w}\\\], with P and G normalised to \[0, 1\], and it is the average per-pixel difference.

The authors report that the proposed model gives the best precision in the precision-recall curves, higher F-scores, and the lowest MAE among all compared methods on both datasets. In Table II, the whole model has MAE of 7.65 on FBMS and 6.36 on DA VIS, and the table headers print MAE in percent.

MC works without deep learning and lacks inter-frame information, so it struggles in dynamic scenes. GAFL and SAGE give visually promising maps but carry a higher computation load and perform relatively weakly on complex backgrounds. MD is an image model yet performs competitively with bottom-up video methods, and the proposed model captures foreground objects more faithfully in most test cases, including lion01, parkour and soapbox.

Figure 6 places the compared maps next to the ground-truth masks for these sequences.

## Static module, dynamic module and training data

Using the static saliency network alone raises MAE from 7.65 to 8.19 on FBMS and from 6.36 to 7.17 on DA VIS. Figure 8 compares static-only maps with the final spatiotemporal maps, showing that the static maps often include cluttered background. The authors attribute the decline to the lack of dynamic information.

The dynamic module trained without the static prior reaches MAE of 9.43 on FBMS and 8.32 on DA VIS, compared with 7.65 and 6.36 for the whole model. The authors attribute this to the difficulty of capturing dynamic saliency from two frames without any prior, and they conclude that fusing the static and dynamic models improves both datasets.

The video-only model overfits because scenes within one video are highly similar.

Performance falls as training data shrink, which the authors read as evidence that the model is data-driven.

## Runtime and frame rate

Timing used an Intel Xeon E7 CPU with 12 cores, 64 GB memory and a Nvidia Geforce TITAN X GPU. I/O time was not counted, and multiple images were not processed in parallel. The compared video methods in this runtime comparison are TIMP, GAFL, SAGE and RWRV.

Figure 9 gives per-frame times for a 480p video in label order: 69.2, 53.7, 45.4 and 4.9 seconds for TIMP, GAFL, SAGE and RWRV, and 0.47 seconds for the proposed method. The authors say the method does not rely on optical flow, edge maps or other precomputed information, which they link to a roughly order-of-magnitude speed gain.

The 0.47-second figure is a per-mask time for a 480p frame under the platform above. The 2 fps figure is a separate measurement of the frame rate including all steps on a GPU.

## Limitations

The synthetic data should not completely replace real video data, according to the authors. Video-only training overfits, so real video remains part of the training mix, which uses about 3K frame pairs.

Results cover 80 videos across two datasets, the 30-sequence FBMS test split and the 50 DA VIS sequences. The FBMS annotations were relabelled to mark only the main salient objects, and only 4 to 6 frames per sequence were labelled, so the authors added about 500 annotations.

The model uses two adjacent frames, and inputs spanning more frames were not tested. Runtime measurements exclude I/O and parallel processing, so they do not characterise other platforms.

## Paper info

- **Authors**: Wenguan Wang, Jianbing Shen, Ling Shao
- **Venue**: arXiv · Preprint
- **First published**: 2017-2-2
- **Added**: 2026-11-6
- **Updated**: 2017-12-9
- **Version**: v3
- **arXiv**: 1702.00871
- **DOI**: 10.1109/tip.2017.2754941
- **Category**: cs.CV
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/1702.00871v3) · [PDF ↗](https://arxiv.org/pdf/1702.00871v3)

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.

## Abstract

This paper proposes a deep learning model to efficiently detect salient regions in videos. It addresses two important issues: (1) deep video saliency model training with the absence of sufficiently large and pixel-wise annotated video data, and (2) fast video saliency training and detection. The proposed deep video saliency network consists of two modules, for capturing the spatial and temporal saliency information, respectively. The dynamic saliency model, explicitly incorporating saliency estimates from the static saliency model, directly produces spatiotemporal saliency inference without time-consuming optical flow computation. We further propose a novel data augmentation technique that simulates video training data from existing annotated image datasets, which enables our network to learn diverse saliency information and prevents overfitting with the limited number of training videos. Leveraging our synthetic video data (150K video sequences) and real videos, our deep video saliency model successfully learns both spatial and temporal saliency cues, thus producing accurate spatiotemporal saliency estimate. We advance the state-of-the-art on the DAVIS dataset (MAE of .06) and the FBMS dataset (MAE of .07), and do so with much improved speed (2fps with all steps).

## Quote from the paper

Wenguan Wang, Jianbing Shen, Ling Shao (2017). Video Salient Object Detection via Fully Convolutional Networks. arXiv:1702.00871v3. https://doi.org/10.1109/tip.2017.2754941

**BibTeX**

```
@article{wang2017video,
  title = {{Video Salient Object Detection via Fully Convolutional Networks}},
  author = {Wenguan Wang and Jianbing Shen and Ling Shao},
  year = {2017},
  eprint = {1702.00871},
  archivePrefix = {arXiv},
  doi = {10.1109/tip.2017.2754941},
  url = {https://arxiv.org/abs/1702.00871v3}
}
```

## Related papers

- [U-Net: Convolutional Networks for Biomedical Image Segmentation](https://refivu.com/en/papers/5f1f87b8-9166-42e4-a18c-4dab6cac6706-u-net-convolutional-networks-for-biomedical-image.md)
- [A Deep Learning Approach for Brain Tumor Classification and Segmentation Using a Multiscale Convolutional Neural Network](https://refivu.com/en/papers/c75a012b-6db8-4ef0-a0e2-0109acd56af3-a-deep-learning-approach-for-brain-tumor-classification.md)
- [A Survey on Deep Learning in Medical Image Analysis](https://refivu.com/en/papers/4d173b56-9ea6-4644-98f2-af1794e63965-a-survey-on-deep-learning-in-medical-image.md)
- [SGDR: Stochastic Gradient Descent with Warm Restarts](https://refivu.com/en/papers/69cc99a3-59f2-4776-b5e2-a3baaeb53f0c-sgdr-stochastic-gradient-descent-with-warm-restarts.md)
- [All-Optical Machine Learning Using Diffractive Deep Neural Networks](https://refivu.com/en/papers/818615cb-8c22-447c-a0a6-77954575b98a-all-optical-machine-learning-using-diffractive-deep-neural.md)
- [Deep Learning on Graphs: A Survey](https://refivu.com/en/papers/2184aed4-7bc8-45a4-81a9-0ad60f8dc1c1-deep-learning-on-graphs-a-survey.md)

## Other paper commentary

- [Analyzing and Improving the Image Quality of StyleGAN](https://refivu.com/en/papers/e2a72d06-1704-43a3-b07f-7a9c61ec260b-analyzing-and-improving-the-image-quality-of-stylegan.md)
- [Focal Loss for Dense Object Detection](https://refivu.com/en/papers/e443afaf-8dd8-45c6-8192-0357f4961dd2-focal-loss-for-dense-object-detection.md)
- [Searching for Activation Functions](https://refivu.com/en/papers/c0d7cda2-c8f4-4569-a4e6-5b9d53ac1dc1-searching-for-activation-functions.md)
- [Quo Vadis, Action Recognition? A New Model and the Kinetics Dataset](https://refivu.com/en/papers/a36880da-386c-4bbc-b8bb-64ba26cb1619-quo-vadis-action-recognition-a-new-model-and.md)
- [PointNet: Deep Learning on Point Sets for 3D Classification and Segmentation](https://refivu.com/en/papers/32f5bf3e-2e75-485a-9ff0-75d33b188297-pointnet-deep-learning-on-point-sets-for-3d.md)
- [ETPNav: Evolving Topological Planning for Vision-Language Navigation in Continuous Environments](https://refivu.com/en/papers/1629d040-b035-481f-ad96-c81a7c79d699-etpnav-evolving-topological-planning-for-vision-language.md)
- [High-Dimensional Continuous Control Using Generalized Advantage Estimation](https://refivu.com/en/papers/95183c94-f386-4a6d-8fda-f7e55021273b-high-dimensional-continuous-control-using-generalized.md)
- [Generative Modeling by Estimating Gradients of the Data Distribution](https://refivu.com/en/papers/f3ef856d-6161-4eaa-b2c9-6a0c3f1ff432-generative-modeling-by-estimating-gradients-of-the-data.md)
- [Universal Language Model Fine-tuning for Text Classification](https://refivu.com/en/papers/f2470a4a-1c9b-423c-8757-ba73cfe37b54-universal-language-model-fine-tuning-for-text-classification.md)
- [Glow: Generative Flow with Invertible 1x1 Convolutions](https://refivu.com/en/papers/fb9c5b80-a221-4385-8910-2ae4413b604b-glow-generative-flow-with-invertible-1x1-convolutions.md)
- [Rainbow: Combining Improvements in Deep Reinforcement Learning](https://refivu.com/en/papers/b98e78e1-7a51-4f55-b8c6-f920fb30d547-rainbow-combining-improvements-in-deep-reinforcement.md)

## Terms in this paper

- [Stochastic Gradient Descent](https://refivu.com/en/terms/a49650824022-stochastic-gradient-descent)
- [Mean Absolute Error](https://refivu.com/en/terms/2117321fb36f-mean-absolute-error)
- [VGGNet](https://refivu.com/en/terms/a3de3db7a3a6-vggnet)
- [Optical Flow](https://refivu.com/en/terms/dcfba8696ff0-optical-flow)
- [fully convolutional networks](https://refivu.com/en/terms/0da53b39e0e8-fully-convolutional-networks)
- [DUT-OMRON](https://refivu.com/en/terms/db513243272c-dut-omron)
- [ImageNet dataset](https://refivu.com/en/terms/6d415a96eb58-imagenet-dataset)
- [Precision-Recall (PR) curves](https://refivu.com/en/terms/f07c7d3f0131-precision-recall-pr-curves)
- [weighted cross-entropy loss](https://refivu.com/en/terms/e3f9f2ee7084-weighted-cross-entropy-loss)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/bc9ebd0c-9bab-4b48-a6aa-5dc69dbeadea-video-salient-object-detection-via-fully-convolutional)
