Unsupervised Video Object Segmentation with Distractor-Aware Online Adaptation

12/19/2018 ∙ by Ye Wang, et al. ∙ Google University of Southern California Facebook National Taiwan University 12

Unsupervised video object segmentation is a crucial application in video analysis without knowing any prior information about the objects. It becomes tremendously challenging when multiple objects occur and interact in a given video clip. In this paper, a novel unsupervised video object segmentation approach via distractor-aware online adaptation (DOA) is proposed. DOA models spatial-temporal consistency in video sequences by capturing background dependencies from adjacent frames. Instance proposals are generated by the instance segmentation network for each frame and then selected by motion information as hard negatives if they exist and positives. To adopt high-quality hard negatives, the block matching algorithm is then applied to preceding frames to track the associated hard negatives. General negatives are also introduced in case that there are no hard negatives in the sequence and experiments demonstrate both kinds of negatives (distractors) are complementary. Finally, we conduct DOA using the positive, negative, and hard negative masks to update the foreground/background segmentation. The proposed approach achieves state-of-the-art results on two benchmark datasets, DAVIS 2016 and FBMS-59 datasets.



There are no comments yet.


page 2

page 3

page 4

page 5

page 7

page 8

This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.

1 Introduction

Video object segmentation (VOS) aims to segment foreground objects from complex background scenes in video sequences. There are two main categories in existing VOS methods: semi-supervised and unsupervised. Semi-supervised VOS algorithms [39, 52, 53, 5, 44, 21] require manually annotated object regions in the first frame and then automatically segment the specified object in the remaining frames throughout the video sequence. Unsupervised VOS algorithms [29, 50, 24, 31, 32, 20] segment the most conspicuous and eye-attracting objects without prior knowledge of these objects in the video. We focus on the unsupervised setting in this paper.

Motion information is a key factor in unsupervised video object segmentation since it attracts people’s and animals’ attention. [30]

initializes the segments from the motion saliency and then propagates to the remaining frames. However, the initialized motion saliency regions are not accurate enough and it could fail when multiple adjacent objects are moving in the scene. More recently, deep learning models have also been applied to automatically segment the moving objects with motion cues. FSEG


trains a dual-branch fully convolutional neural network, which consists of an appearance network and a motion network, to jointly learn the object segmentation and optical flow. Direct fusion of the optical flow and object segmentation cannot be able to build the correspondence between foreground and motion patterns.

(m) Ground truth
(n) ARP
(o) PDB
(p) Ours
Figure 1: Example results of ground truth, ARP [29], PDB [47]

and the proposed method. Distractors in the background lead to incorrect segmentations (second and third column) due to the similar features between the foreground and background objects. We exploit distractor-aware online adaptation approach to learn from the hard negatives to avoid mis-classifying background objects as foreground. Best viewed in color with 4


In this paper, we aim at generating accurate initialized foreground mask by leveraging both optical flow and instance segmentation, which is further refined by performing distractor-aware online adaptation to generate consistent foreground object regions. Specifically, the instance segmentation algorithm is first applied to roughly segment the objectiveness masks, and then the foreground object of the first frame is further grouped and selected by leveraging optical flow. We call this accurate foreground mask “pseudo ground truth”. Finally, one-shot VOS [5] could be applied to propagate the prediction to the remaining frames of the given video. However, the main problems for one-shot VOS are the unstable boundaries and treating static and moving objects the same. To this end, distractor-aware online adaptation is proposed to utilize the motion information through the whole video to improve the inter-frame similarity of the consecutive masks and avoid the motion error propagation by exploiting the fusion of motion and appearance.

Inspired by DOA, we erode the prediction mask from the previous frame and mark it as positive examples for the current frame. As it is known to all, consistently paying attention to a previously seen background object, when it meets with the target foreground object, segmentations should be easily distinguishable. The instance proposals that are not covered by motion masks in the first frame are treated as hard negatives. We apply block matching algorithm to find corresponding blocks from adjacent frames. If the intersection-over-union of the block and instance proposals is larger than a certain threshold, the instance proposals are considered as hard negative examples. Therefore hard negative attention-based adaptation is applied to update the network. Sample results are illustrated in Figure 1.

Figure 2: Overview of the proposed method. Instead of directly applying static image segmentation to video object segmentation, an online adaptation approach is proposed by detecting distractors (negatives and hard negatives). Both the appearance and motion cues are utlized to generate positives, negatives, and hard negatives. Besides, first frame pseudo ground truth is utilized to supervise the finetuning process to make accurate inferences.

We evaluate the proposed method on two benchmark datasets, DAVIS 2016 and FBMS-59 datasets. The experimental results demonstrate the state-of-the-art performances on both the two datasets. The main contributions are summarized as follows:

  • First, we introduce a novel hard negative example selection method by incorporating instance proposals, block matching tracklets and motion saliency masks.

  • Second, we propose a distractor-aware approch to perform the online adaptation to generate video object segmentation with better temporal consistency and avoid the motion error propagation.

  • Finally, the proposed method achieves the state-of-the-art results on DAVIS 2016 and FBMS-59 datasets with mean intersection-over-union (IoU) scores of 81.6% and 79.1%.

2 Related Work

The related works are introduced from three aspects, semi-supervised VOS, unsupervised VOS, and hard example mining. This section will discuss them accordingly.

2.1 Semi-supervised video object segmentation.

Given the manual foreground/background annotations for the first frame in a video clip, semi-supervised VOS methods segment the foreground object along the remaining frames. Deep learning based methods have achieved excellent performance [53, 8, 25, 61, 58, 60], and static image segmentation [5, 44, 38, 22, 23] is utilized to perform video object segmentation without any temporal information. MaskTrack [44] considers the output of the previous frame as a guidance in the next frame to refine the mask. OSVOS [5] processes each frame independently by finetuning on the first frame, and OSVOS-S [38]

further transfers instance-level semantic information learned on ImageNet

[12] to produce more accurate results. OnAVOS [53] proposes online finetuning with the predicted frames to further optimize the inference network. To fully exploit the motion cues, MoNet [58] introduces a distance transform layer to separate motion-inconstant objects and refine the segmentation results. However, under the circumstances which the object is occluded or changes the movement abruptly, significant performance deterioration will occur. Our approach aims to tackle this challenge using distractor-aware online adaptation.

2.2 Unsupervised video object segmentation.

Unsupervised VOS algorithms [26, 37, 43, 55, 62, 31, 32, 20, 56] attempt to extract the primary object segmentation with no manual annotations. Several unsupervised VOS algorithms [17, 59] cluster the boundary pixels hierarchically to generate mid-level video segmentations. ARP [29] utilizes the recurrent primary object to initialize the segmentation and then refines the initial mask by iteratively augmenting with missing parts or reducing them by excluding noisy parts. Recently, deep learning based methods [50, 24, 47, 31, 32] have been proposed to utilize both motion boundaries and saliency maps to identify the primary object. Two-stream FCNs [36], LVO [51] and FSEG [24], are proposed to jointly exploit appearance and motion features. FSEG further boosts the performance by utilizing weakly annotated videos, while LVO forwards the concatenated features to bidirectional convolutional GRU. MBN [32] combines the background from motion-based bilateral network with instance embeddings to boost the performance.

2.3 Hard example mining.

There are enormous imbalances between the foreground and background regions since more regions can be sampled from backgrounds than those from foreground. In addition, overwhelming easy negative examples from the background regions have less contributions to train the detector, and thus hard negative example mining approaches are proposed to tackle this imbalanced challenge.

Bootstrapping is exploited in optimizing Support Vector Machines (SVMs)


by several rounds of training SVMs to converge on the working set, and modifying the working set by removing easy examples and adding hard examples. Hard example mining is also used in boosted decision trees

[13] by training the model with positive examples and a random set of negative examples. The model is then applied to the rest of negative examples to generate false positive examples for retraining the pre-trained model.

Hard negative mining has also been exploited in deep learning models to improve the performance. OHEM [46] trains region-based object detectors using automatically selected hard examples, and yields significant boosts in detection performance on both PASCAL [14] and MS COCO [34] datasets. Focal loss [33]

is designed to down-weight the loss assigned for well-classified examples and focuses on the training on hard examples. Effective bootstrapping of hard examples is also applied in face detection

[54], pedestrian detection [3], and tracking [41] etc. Both trackers and static image object detectors are applied to select hard examples by finding the inconsistency between the tracklets and object detections from unlabeled videos [48]. In [27], a trained detector is utilized to find the isolated detection, which is marked as a hard negative, from the preceding and following detections. In the proposed approach, we focus on developing an online hard example selection strategy for video object segmentation.

3 Proposed Method

The overview of the proposed method is illustrated in Figure 2. The proposed method mainly includes three components, 1) both the continuous motion and visual appearance cues are utilized to generate the first frame pseudo ground truth; 2) a novel online hard negative example selection approach is proposed to find high-quality training data; 3) finally, we put forward a distractor-aware online adaptation to facilitate unsupervised video object segmentation.

3.1 Generate pseudo ground truth

Either objectness masks or motion saliency masks cannot generate accurate and reliable initilized mask. Image-based semantic segmentation [7] and instance segmentation [19] techniques are well developed in recent years. Instead of utilizing semantic segmentation, we apply an instance segmentation algorithm, Mask R-CNN [19], to the first frame of the given video without any further finetuning. It is worth pointing out that Mask R-CNN outputs class-specific segmentation masks whereas video object segmentation aims at generating binary class-agnostic segmentation mask. The experiments demonstrate the instance segmentation network produces the segmentation mask with the closest class label to the limited class labels of MS COCO. With further mapping all the classes to one foreground class, the mis-classification has limited influence to the inference process in VOS.

Although instance segmentation provides accurate object regions, the same object may be separated into different parts due to variations of textures, colors, and the effect of occlusions. Besides, only image-based segmentation algorithm is not capable of determining the primary object in a given video clip. Therefore, motion cues are essential to be incorporated to tackle unsupervised video object segmentation. We utilize motion information to select and group instance proposals and then map all the proposals to one foreground mask without knowing the specific category of the object. Specifically, Coarse2Fine [35] is exploited to extract the optical flow between the first frame and second frame of a given video sequence. To avoid the effect of camera motion, we adopt flow-saliency transformation by utilizing a saliency detection method [50] on the optical flow to segment moving regions from the background instead of thresholding the flow magnitude. Alternative approaches [4, 63, 58] can be applied to perform the saliency detection. Instance proposals, whose overlapping regions with the motion regions exceed a certain threshold, are selected and grouped as one foreground mask as the pseudo ground truth:


where represents pseudo ground truth mask, is the motion mask, represents the instance proposal, denotes the threshold, and is the total number of the instance proposals.

Semantic segmentation segments the same category of objects with one mask while instance segmentation provides a segmentation mask independently for each instance. It is worth mentioning that the settings of our approach are exploiting instance segmentation instead of semantic segmentation since objects in the same category cannot be distinguished. However, we observed that the pixel-wise labels in the instance segmentation dataset MS COCO are very coarse, while the labels of semantic segmentation datasets, PASCAL and Cityscape [10], are very accurate. Therefore, segmentation networks pretrained on fine-labeled datasets should predict object regions more accurately. To this end, we adopt a semantic segmentation network Deeplabv3+ [7]

, pretrained on PASCAL dataset without further finetuning, to generate object masks when the number of each object category is at most one. The number of the objects are determined by the instance segmentation stage. Moreover, as the resolution of the semantic segmentation outputs is lower than that of the VOS datasets, bilinear interpolation and a dense conditional random field (CRF) are utilized to upsample the mask and refine the boundaries, respectively to generate the objectness mask. Sample objectness masks generated from Mask R-CNN and Deeplabv3+ are presented in Figure

3, which demonstrates the advantage of exploiting semantic segmentation for object region prediction. Note that more accurate first frame pseudo ground truth leads to higher mean intersection-over-union (mIoU) for video sequences which will be shown in experiments.

Figure 3: Objectness mask from Mask R-CNN (yellow), Deeplabv3+ (green). Best view in color with 3 zoom.

3.2 Online hard negative/negative/positive example selection

Although it is straightforward to treat video object segmentation as an image-based foreground/background segmentation without using temporal information, it is difficult to obtain consistent object regions and tackle the truncations, occlusions, and abrupt motion, which leads to inaccurate foreground segmentation. To address this challenge, we propose a novel online process to automatically select hard negative samples using motion cues. Besides, negative and positive examples utilized in the online adaptation are also introduced below.

Hard negatives have similar features with positive examples and the existence of the misalignment between them leads to further mistakes by treating the false positives as positives. The errors are further propagated during the prediction process if the false positives are not effectively suppressed. Therefore, detecting hard negative samples is essential to improve the segmentation accuracy. In Section 3.1, we fuse the motion mask and the instance proposals to obtain a pseudo ground truth. Similarly, we initialize the hard negatives from the first frame by selecting the detections which are not covered by the motion mask. Note that we only leave the detections with higher or equal confidence score than 0.8 no matter whether the detections are the same category as the positive examples since we observed that when a car is driving across a stop sign, the background stop sign segmentation usually merges into the foreground car segmentation even though they belong to differerent categories. Then, Mask R-CNN is applied to the remaining frames in the same video, and we have both segmentation masks and detection bounding boxes during this process. For each detection in frame , we perform block matching algorithm [11] to previous frames in an enlarged bounding box by pixels in each direction, and we empirically select as 3. For the previous frames, if the minimum IoU between the instance proposals and matching blocks is at least 0.7, we denote the detections in the current frame as consistent object bounding boxes and the segmentations in the corresponding boxes as consistent object segmentations. Subsequently, if the overlap between the consistent object masks and the motion masks in frame is below 0.2, we denote these consistent object masks as hard negative examples in frame which is represented as follows:


where denotes hard negatives, is the motion mask, and represent the instance segmentation and corresponding bounding box respectively, and denote two thresholds, is the blocking matching function and is the corresponding bounding box in the frame.

The consistent detections from adjacent frames indicate that these objects are already seen and treated as hard negatives before the current frame, and when the target object moves across the hard negatives, they have larger probability to be distinguished. Our experiments show that significant improvements can be achieved by finetuning the network using these hard negative examples.

Hard negative examples may be rare in some video sequences, however, it is difficult to get distracted by the easy negative examples in this case. Considering new instances entering the scene are not trained as foreground or background, which may have higher probability to be treated as foreground. We adopt the settings used in [53], each pixel has an Euclidean distance to the closest foreground pixel of the mask. The pixels with a distance larger than the threshold are denoted as negative examples:


where represents the negative examples, represents the pixels in the frame, denotes the threshold distance, is the positive mask and is the Euclidean distance.

The basic idea of gathering positive examples is to select the high confidence foreground pixels. Considering the motion between consecutive frames, we erode the foreground mask of frame to initlize the positive examples of frame . However, the objects occluded by the moving object at the beginning have higher probability to be segmented when they are not occluded since the occluded objects are not trained as background and the positive pixels spread to the new objects which are false positives. To tackle this challenge, we regard the intersection of the motion mask and the eroded foreground mask as the positive examples. Note that if there is no intersection between the two masks, which may result in unsatisfactory segmentation, we perform one-shot VOS approach instead of online adaptation for those frames so that the errors from motion will not propagate to the remaining frames. The positive examples with motion cues are as follows:


where and denote the positive masks for the frame and respectively and represents the erosion function. Figure 4 presents the positive examples, negative examples and hard negative examples.

Figure 4: Illustration of positive examples (yellow), negative examples (red) and hard negative examples (green).

3.3 Distractor-aware online adaptation

In Section 3.2, we propose a process to carefully select positive, negative and hard negative examples for each video sequence. For the purpose of accommodating the foreground object appearance variations across a given video, we perform online adaptation based on the aforementioned positive, negative and hard negative examples and name it as distractor-aware online adaptation (DOA). The model is updated in the current frame and better adapted to make inference in the same frame using DOA.

Compared with the negative examples, the hard negatives are given higher attention weights, since the positives and hard negatives have similar features and we aim at increasing the discrimination power of distinguishing the objects with similar attributes. The DOA approach can suppress the distractors and provide superior performance compared with that of no adaptation. However, negative examples are also utilized in the DOA approach since the new instance entering into the scene is easily classified as foreground, in addition, sometimes hard negatives do not exist in the frame. Thus, we combine both negative and hard negative examples to finetune the model to suppress the distractor with the loss function:


where and represent pixel-wise segmentation losses for hard negatives and negatives respectively, and is the loss for the current frame. Here, is the coefficient for the two losses to balance the contributions of them. When , the loss is equivalent to the loss without hard negatives. As increases, the loss with easy negatives gets discounted and is set in our experiments when hard negatives exist.

Note that the positive region in frame is at most the same size of the erosion mask from frame , and thus plays a role as foreground attention, however, more training iterations on the current frame cause inaccurate predictions. We consider incorporating the first frame into the finetuning process since the pseudo ground truth of the first frame can supply high-quality training data. According to the settings in [53], the first frame is sampled more compared with the current frame, and the weight of the loss for the current frame is reduced in order to improve the performance. Subsequently, the joint loss function is as follows:


where denotes the loss for the first frame and denotes the total loss. is the balance coefficient which is set to in our experiments.

The distractor-aware approach completely utilizes the spatial and temporal information from the current frames, the previous several frames and the first frame to set up a long-range consistency over the given video. The finetuning step utilizes high-quality training data to train and thus the inference enables high-quality foreground segmentation results. After the distractor-aware online adaptation, a dense CRF is applied to refine the segmentation.

4 Experiments

In this section, the experiments are divided into four parts: datasets and evaluation metrics, implementation details, performance comparison with state-of-the-art and an ablation study. To evaluate the effectiveness of the proposed method, we conduct experiments on two challenging video object segmentation datasets: DAVIS 2016

[45] and Freiburg-Berkeley Motion Segmentation (FBMS-59) [42].

Figure 5:

Visual results of the proposed DOA on DAVIS 2016. The pseudo ground truths (in yellow) are illustrated in the first column, and the other columns are the segmentation results (in red) by DOA. The five sequences include the unseen object (first row), strong occlusions (second row), appearance variance (third row), and similar static objects in the background (fourth and fifth row). Best viewed in color with 3

Methods Supervised Unsupervised
Mean 86.1 79.8 79.7 75.9 70.0 70.7 76.2 78.6 80.4 81.6
Mean 84.9 80.6 75.4 72.1 65.9 65.3 70.6 76.1 78.5 79.7
Table 1: Comparison of the results of several methods for the DAVIS 2016 validation dataset. The proposed method outperforms state-of-the-art unsupervised VOS methods and is even better than some supervised VOS approaches in terms of Mean and Mean ()

4.1 Datasets and evaluation metrics

We adopt two conventional evaluation metrics, region similarity and contour similarity

to estimate the accuracy.

Region similarity .Jaccard index is defined as intersection-over-union (IoU) between the ground truth mask and the predicted mask to measure the region-based segmentation similarity. Specifically, given a predicted mask and corresponding ground truth mask , is defined as .

Contour similarity . The contour similarity is defined as the F-measure between the contour points of the predicted segmentation and the ground truth as proposed in [40]. Given contour-based precision and recall , is defined as .

We use DAVIS 2016 and FBMS-59 as two evaluation benchmarks which are introduced below.

DAVIS. The DAVIS dataset is composed of 50 high-definition video sequences, 30 in the training set and the remaining 20 in the validation set. There are totally 3, 455 densely annotated, pixel-accurate frames. The videos contain challenges such as occlusions, motion blur, and appearance changes. Only the primary moving objects are annotated in the ground truth.

FBMS. The Freiburg-Berkeley motion segmentation dataset is composed of 59 video sequences with 720 frames annotated. In contrast to DAVIS, it has multiple moving objects in several videos with instance-level annotations. We do not train on any sequence on FBMS and evaluate using region similarity

and F-score protocol from

[42], respectively. We also convert the instance-level annotations to binary ones by merging all foreground annotations, as in [50].

4.2 Implementation details

Motion saliency segmentation and image semantic/instance segmentation are jointly utilized to predict the pseudo ground truth for the first frame. We employ Coarse2Fine [35] optical flow algorithm followed by a flow-saliency transformation approach [50] to avoid the effect of camera motion. For instance segmentation, we utilize a re-implementation of Mask RCNN [2] without further finetuning to generate instance proposals in general cases. A semantic segmentation approach Deeplabv3+ [7] is utilized to replace the instance segmentation algorithm Mask R-CNN when the number of objects in each category is at most one. Considering the trade-off between inference speed and accuracy, we utilize the Xception [9]

model pretrained on MS COCO and PASCAL with the following settings: output stride is 16, eval scale is 1.0 and no left-right flip.

We adopt a ResNet [57]

with 38 hidden layers as the backbone. All implementation and training are based on Tensorflow

[1] and ADAM [28] is utlized for optimization. Similar settings with Deeplabv2 [6] are exploited in this network: large field-of-view replaces the top linear classifier and global pooling layer, and dilations are used to replace the down-sampling operations in certain layers. The ResNet is trained on MS COCO and then finetuned on the augmented PASCAL VOC ground truth from [18] with a total of 12, 051 training images. Note that all the 20 object classes in PASCAL are mapping to one foreground mask and the background is kept unchanged.

To evaluate on DAVIS 2016 dataset, we further train the network on DAVIS training set and perform two experiments: one-shot finetuning on the first frame with pseudo ground truth, distractor-aware online adaptation with negatives and hard negatives. For both of them, a dense CRF [6] is applied to refine the semgentation afterwards. For completeness, we also conduct experiments on FBMS-59 dataset, however, we use the PASCAL pretrained model with upsampling instead.

NLC [15] FST [43] CVOS [49] MP-Net-V [50] LVO [51] ARP [29] IET [31] MBN [32] Ours
Mean 44.5 55.5 - - - 59.8 71.9 73.9 79.1
F-score - 69.2 74.9 77.5 77.8 - 82.8 83.2 85.8
Table 2: Comparison of the Mean and Mean scores () of different unsupervised VOS approaches on the FBMS test dataset. Our method achieves the highest compared with state-of-the-art methods
+N +HN +MP CRF Mean
- - - - 76.7
- - - 78.9 +2.2
- - 80.1 +1.2
- 80.6 +0.5
81.6 +1.0
Table 3: Ablation study of the three modules in distractor-aware online adaptation: (1) negative example addition (+N), (2) hard negative example addition (+HN), and (3) fusion of positive mask with motion mask (+MP), assessed on the DAVIS 2016 validation set

4.3 Performance comparison with state-of-the-art

Erosion Dilation GT
First frame Mean 67.9 74.9 79.0 81.3 100
The whole val set Mean 65.0 73.8 75.8 76.7 80.4
Table 4: Comparison of the first frame influence for the DAVIS 2016 validation dataset. We finetune on the first frame and perform inference for the remaining frames without online adaptation. We compare the performances () from the pseudo ground truth generated from Mask R-CNN () and jointly from Mask R-CNN and Deeplabv3+ (), the erosion and dilation masks from , and ground truth mask (GT)

DAVIS 2016. The performances on DAVIS 2016 are summarized in Table 1. The proposed DOA approach outperforms state-of-the-art unsupervised VOS techniques, e.g., LVO [51], and ARP [29], FSEG [24], LMP [50], IET [31] and MBN [32]. Specifically, the superior gaps to the second-best MBN are 1.2% and 1.2% in terms of Mean and Mean. Moreover, the proposed method provides convincing performance when compared to some recent semi-supervised VOS techniques such as OSVOS [5] and MSK [44]. The qualitative results of the proposed DOA are presented in Figure 5. The first column is the first frame with pseudo ground truth annotation. Our approach yields encouraging results in challenging sequences. The blackswan in the first row is an unseen object category in the training data, our approach is shown to cope well and generate accurate segmentation masks. The second row shows that our algorithm works well for strong occlusions and the third row shows that our method produces accurate segmentation masks for considerable non-rigid deformations. The bottom two rows show our approach produces robust predictions when there are multiple distractors and messy background by exploiting distractor-aware online adaptation.

We also evaluate the influence of the pseudo ground truth by utilizing the pseudo ground truth generated from Mask R-CNN () and jointly from Mask R-CNN and Deeplabv3+ (). The first frame is finetuned and inferred for the remaining frames without online adaptation. The ground truth and the erosion and dilation masks of () are also compared in Table 4. We observe that the performance for a video clip is highly correlated with the overlap ratio in the first frame of this video.

FBMS-59. The proposed method is evaluated on the FBMS-59 test set with 30 sequences in total. The results are presented in Table 2. Our method outperforms the second best method in both evaluation metrics, with Mean of 79.1% and Mean of 85.8% which are 5.2 % and 2.6% higher than the second best MBN [32], respectively.

4.4 Ablation studies

We study the four major components of the proposed methods and then summarize the effects of the components including negative examples, hard negative examples, fusion of motion mask and positive mask, CRF, in Table 3. The baseline without online adaptation is a ResNet trained on the PASCAL dataset and DAVIS 2016 training set. The negative examples provide 2.2% enhancement over the baseline in terms of Mean. The hard negative examples combined with negative examples further improve the performance by 1.2%, which demonstrates our online adaptation approach is effective when dealing with confusing distractors and hard negatives and negatives are complementary. Subsequently, the fusion of motion mask and positive mask brings further 0.5% boost since motion information helps select the positive mask to avoid the effects of distractors occluded by the positive mask at the beginning. Finally, additional CRF post-processing is combined to boost the performance by 1.0%.

Figure 6 shows the qualitative performances with different components. We compare the effect of hard negative examples for the “car-roundabout” sequence in the first row, and the positive examples influences for the “camel” sequence in the second row. The segmentation with hard negatives training ignores the stop sign while that without hard negatives finetuning merges the stop sign segmentation into the car, which indicates the importance of hard negatives finetuning. To investigate effectiveness of the fusion of motion mask and positive mask eroded from the previous frame (MP), we compare the qualitative results with MP and without MP on the “camel” sequence where the walking camel is easily distinguished from the static camel with MP.

Figure 6: Comparison of qualitative results on the key components of online adaptation. The first row presents the differences of w/ HN (left) and w/o HN (right), and the second row presents the differences of w/ MP (left) and w/o MP (right). Best viewed in color.

5 Conclusion

A distractor-aware online adaptation for unsupervised video object segmentation is proposed. The motion between adjacent frames and image segmentation are combined to generate the approximate annotation, pseudo ground truth, to replace the ground truth of the first frame. Motion-based hard example mining and block matching algorithm are integrated to produce distractors which are further incorporated into online adaptation. In addition, motion-based positive examples selection is combined with the hard negatives during online updating. Besides, we conduct an ablation study to demonstrate the effectiveness of each component in our proposed approach. Experimental results show that the proposed method achieves state-of-the-art performance on two benchmark datasets.


  • [1] M. Abadi, P. Barham, J. Chen, Z. Chen, A. Davis, J. Dean, M. Devin, S. Ghemawat, G. Irving, M. Isard, et al.

    Tensorflow: A system for large-scale machine learning.

    In OSDI, volume 16, pages 265–283, 2016.
  • [2] W. Abdulla.

    Mask r-cnn for object detection and instance segmentation on keras and tensorflow.

    https://github.com/matterport/Mask_RCNN, 2017.
  • [3] R. Appel, T. Fuchs, P. Dollár, and P. Perona. Quickly boosting decision trees–pruning underachieving features early. In International conference on machine learning, pages 594–602, 2013.
  • [4] S. Baker, D. Scharstein, J. Lewis, S. Roth, M. J. Black, and R. Szeliski. A database and evaluation methodology for optical flow.

    International Journal of Computer Vision

    , 92(1):1–31, 2011.
  • [5] S. Caelles, K.-K. Maninis, J. Pont-Tuset, L. Leal-Taixé, D. Cremers, and L. Van Gool. One-shot video object segmentation. In CVPR 2017. IEEE, 2017.
  • [6] L.-C. Chen, G. Papandreou, I. Kokkinos, K. Murphy, and A. L. Yuille. Deeplab: Semantic image segmentation with deep convolutional nets, atrous convolution, and fully connected crfs. arXiv preprint arXiv:1606.00915, 2016.
  • [7] L.-C. Chen, Y. Zhu, G. Papandreou, F. Schroff, and H. Adam. Encoder-decoder with atrous separable convolution for semantic image segmentation. arXiv preprint arXiv:1802.02611, 2018.
  • [8] J. Cheng, Y.-H. Tsai, S. Wang, and M.-H. Yang. Segflow: Joint learning for video object segmentation and optical flow. In 2017 IEEE International Conference on Computer Vision (ICCV), pages 686–695. IEEE, 2017.
  • [9] F. Chollet. Xception: Deep learning with depthwise separable convolutions. arXiv preprint, pages 1610–02357, 2017.
  • [10] M. Cordts, M. Omran, S. Ramos, T. Rehfeld, M. Enzweiler, R. Benenson, U. Franke, S. Roth, and B. Schiele.

    The cityscapes dataset for semantic urban scene understanding.


    Proc. of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR)

    , 2016.
  • [11] K. Dabov, A. Foi, V. Katkovnik, and K. Egiazarian. Image denoising by sparse 3-d transform-domain collaborative filtering. IEEE Transactions on image processing, 16(8):2080–2095, 2007.
  • [12] J. Deng, W. Dong, R. Socher, L.-J. Li, K. Li, and L. Fei-Fei. Imagenet: A large-scale hierarchical image database. In Computer Vision and Pattern Recognition, 2009. CVPR 2009. IEEE Conference on, pages 248–255. IEEE, 2009.
  • [13] P. Dollár, Z. Tu, P. Perona, and S. Belongie. Integral channel features. 2009.
  • [14] M. Everingham, L. Van Gool, C. K. Williams, J. Winn, and A. Zisserman. The pascal visual object classes (voc) challenge. International journal of computer vision, 88(2):303–338, 2010.
  • [15] A. Faktor and M. Irani. Video segmentation by non-local consensus voting. In BMVC, volume 2, page 8, 2014.
  • [16] P. F. Felzenszwalb, R. B. Girshick, D. McAllester, and D. Ramanan. Object detection with discriminatively trained part-based models. IEEE transactions on pattern analysis and machine intelligence, 32(9):1627–1645, 2010.
  • [17] M. Grundmann, V. Kwatra, M. Han, and I. Essa. Efficient hierarchical graph-based video segmentation. In Computer Vision and Pattern Recognition (CVPR), 2010 IEEE Conference on, pages 2141–2148. IEEE, 2010.
  • [18] B. Hariharan, P. Arbeláez, R. Girshick, and J. Malik. Simultaneous detection and segmentation. In European Conference on Computer Vision, pages 297–312. Springer, 2014.
  • [19] K. He, G. Gkioxari, P. Dollár, and R. Girshick. Mask r-cnn. In Computer Vision (ICCV), 2017 IEEE International Conference on, pages 2980–2988. IEEE, 2017.
  • [20] Y.-T. Hu, J.-B. Huang, and A. Schwing. Unsupervised video object segmentation using motion saliency-guided spatio-temporal propagation. In Proc. ECCV, 2018.
  • [21] Y.-T. Hu, J.-B. Huang, and A. G. Schwing. Videomatch: Matching based video object segmentation. arXiv preprint arXiv:1809.01123, 2018.
  • [22] Q. Huang, C. Xia, S. Li, Y. Wang, Y. Song, and C.-C. J. Kuo. Unsupervised clustering guided semantic segmentation. In 2018 IEEE Winter Conference on Applications of Computer Vision (WACV), pages 1489–1498. IEEE, 2018.
  • [23] Q. Huang, C. Xia, C. Wu, S. Li, Y. Wang, Y. Song, and C.-C. J. Kuo. Semantic segmentation with reverse attention. arXiv preprint arXiv:1707.06426, 2017.
  • [24] S. D. Jain, B. Xiong, and K. Grauman. Fusionseg: Learning to combine motion and appearance for fully automatic segmention of generic objects in videos. arXiv preprint arXiv:1701.05384, 2(3):6, 2017.
  • [25] W.-D. Jang and C.-S. Kim. Online video object segmentation via convolutional trident network. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 5849–5858, 2017.
  • [26] W.-D. Jang, C. Lee, and C.-S. Kim. Primary object segmentation in videos via alternate convex optimization of foreground and background distributions. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 696–704, 2016.
  • [27] S. Jin, A. RoyChowdhury, H. Jiang, A. Singh, A. Prasad, D. Chakraborty, and E. Learned-Miller. Unsupervised hard example mining from videos for improved object detection. arXiv preprint arXiv:1808.04285, 2018.
  • [28] D. P. Kingma and J. Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
  • [29] Y. J. Koh and C.-S. Kim. Primary object segmentation in videos based on region augmentation and reduction. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, volume 1, page 6, 2017.
  • [30] Y. J. Lee, J. Kim, and K. Grauman. Key-segments for video object segmentation. In Computer Vision (ICCV), 2011 IEEE International Conference on, pages 1995–2002. IEEE, 2011.
  • [31] S. Li, B. Seybold, A. Vorobyov, A. Fathi, Q. Huang, and C.-C. J. Kuo. Instance embedding transfer to unsupervised video object segmentation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 6526–6535, 2018.
  • [32] S. Li, B. Seybold, A. Vorobyov, X. Lei, and C.-C. Jay Kuo. Unsupervised video object segmentation with motion-based bilateral networks. In Proceedings of the European Conference on Computer Vision (ECCV), pages 207–223, 2018.
  • [33] T.-Y. Lin, P. Goyal, R. Girshick, K. He, and P. Dollár. Focal loss for dense object detection. IEEE transactions on pattern analysis and machine intelligence, 2018.
  • [34] T.-Y. Lin, M. Maire, S. Belongie, J. Hays, P. Perona, D. Ramanan, P. Dollár, and C. L. Zitnick. Microsoft coco: Common objects in context. In European conference on computer vision, pages 740–755. Springer, 2014.
  • [35] C. Liu et al. Beyond pixels: exploring new representations and applications for motion analysis. PhD thesis, Massachusetts Institute of Technology, 2009.
  • [36] J. Long, E. Shelhamer, and T. Darrell. Fully convolutional networks for semantic segmentation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 3431–3440, 2015.
  • [37] T. Ma and L. J. Latecki. Maximum weight cliques with mutex constraints for video object segmentation. In Computer Vision and Pattern Recognition (CVPR), 2012 IEEE Conference on, pages 670–677. IEEE, 2012.
  • [38] K.-K. Maninis, S. Caelles, Y. Chen, J. Pont-Tuset, L. Leal-Taixé, D. Cremers, and L. Van Gool. Video object segmentation without temporal information. arXiv preprint arXiv:1709.06031, 2017.
  • [39] N. Märki, F. Perazzi, O. Wang, and A. Sorkine-Hornung. Bilateral space video segmentation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 743–751, 2016.
  • [40] D. R. Martin, C. C. Fowlkes, and J. Malik. Learning to detect natural image boundaries using local brightness, color, and texture cues. IEEE transactions on pattern analysis and machine intelligence, 26(5):530–549, 2004.
  • [41] H. Nam and B. Han. Learning multi-domain convolutional neural networks for visual tracking. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 4293–4302, 2016.
  • [42] P. Ochs, J. Malik, and T. Brox. Segmentation of moving objects by long term video analysis. IEEE transactions on pattern analysis and machine intelligence, 36(6):1187–1200, 2014.
  • [43] A. Papazoglou and V. Ferrari. Fast object segmentation in unconstrained video. In Computer Vision (ICCV), 2013 IEEE International Conference on, pages 1777–1784. IEEE, 2013.
  • [44] F. Perazzi, A. Khoreva, R. Benenson, B. Schiele, and A. Sorkine-Hornung. Learning video object segmentation from static images. In Computer Vision and Pattern Recognition, 2017.
  • [45] F. Perazzi, J. Pont-Tuset, B. McWilliams, L. Van Gool, M. Gross, and A. Sorkine-Hornung. A benchmark dataset and evaluation methodology for video object segmentation. In Computer Vision and Pattern Recognition, 2016.
  • [46] A. Shrivastava, A. Gupta, and R. Girshick. Training region-based object detectors with online hard example mining. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 761–769, 2016.
  • [47] H. Song, W. Wang, S. Zhao, J. Shen, and K.-M. Lam. Pyramid dilated deeper convlstm for video salient object detection. In Proceedings of the European Conference on Computer Vision (ECCV), pages 715–731, 2018.
  • [48] K. Tang, V. Ramanathan, L. Fei-Fei, and D. Koller. Shifting weights: Adapting object detectors from image to video. In Advances in Neural Information Processing Systems, pages 638–646, 2012.
  • [49] B. Taylor, V. Karasev, and S. Soatto. Causal video object segmentation from persistence of occlusions. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 4268–4276, 2015.
  • [50] P. Tokmakov, K. Alahari, and C. Schmid. Learning motion patterns in videos. In 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 531–539. IEEE, 2017.
  • [51] P. Tokmakov, K. Alahari, and C. Schmid. Learning video object segmentation with visual memory. arXiv preprint arXiv:1704.05737, 2017.
  • [52] Y.-H. Tsai, M.-H. Yang, and M. J. Black. Video segmentation via object flow. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 3899–3908, 2016.
  • [53] P. Voigtlaender and B. Leibe. Online adaptation of convolutional neural networks for video object segmentation. arXiv preprint arXiv:1706.09364, 2017.
  • [54] S. Wan, Z. Chen, T. Zhang, B. Zhang, and K.-k. Wong. Bootstrapping face detection with hard negative examples. arXiv preprint arXiv:1608.02236, 2016.
  • [55] W. Wang, J. Shen, and F. Porikli. Saliency-aware geodesic video object segmentation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 3395–3402, 2015.
  • [56] Y. Wang, J. Choi, Y. Chen, Q. Huang, S. Li, M.-S. Lee, and C.-C. J. Kuo. Design pseudo ground truth with motion cue for unsupervised video object segmentation. arXiv preprint arXiv:1812.05206, 2018.
  • [57] Z. Wu, C. Shen, and A. v. d. Hengel. Wider or deeper: Revisiting the resnet model for visual recognition. arXiv preprint arXiv:1611.10080, 2016.
  • [58] H. Xiao, J. Feng, G. Lin, Y. Liu, and M. Zhang. Monet: Deep motion exploitation for video object segmentation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 1140–1148, 2018.
  • [59] C. Xu, C. Xiong, and J. J. Corso. Streaming hierarchical video segmentation. In European Conference on Computer Vision, pages 626–639. Springer, 2012.
  • [60] L. Yang, Y. Wang, X. Xiong, J. Yang, and A. K. Katsaggelos. Efficient video object segmentation via network modulation. algorithms, 29:15, 2018.
  • [61] J. S. Yoon, F. Rameau, J. Kim, S. Lee, S. Shin, and I. S. Kweon. Pixel-level matching for video object segmentation using convolutional neural networks. In 2017 IEEE International Conference on Computer Vision (ICCV), pages 2186–2195. IEEE, 2017.
  • [62] D. Zhang, O. Javed, and M. Shah. Video object segmentation through spatially accurate and temporally dense extraction of primary object regions. In Computer Vision and Pattern Recognition (CVPR), 2013 IEEE Conference on, pages 628–635. IEEE, 2013.
  • [63] J. Zhang, S. Sclaroff, Z. Lin, X. Shen, B. Price, and R. Mech. Minimum barrier salient object detection at 80 fps. In Proceedings of the IEEE international conference on computer vision, pages 1404–1412, 2015.