<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>VideoMatch: Matching Based Video Object Segmentation</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>2018 October</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10087961</idno>
					<idno type="doi">978-3-030-01237-3_4</idno>
					<title level='j'>European conference on Computer Vision</title>
<idno></idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Yuan-Ting Hu</author><author>Jia-Bin Huang</author><author>Alexander Schwing</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Video object segmentation is challenging yet important in a wide variety of applications for video analysis. Recent works formulate video object segmentation as a prediction task using deep nets to achieve appealing state-of-the-art performance. Due to the formulation as a prediction task, most of these methods require fine-tuning during test time, such that the deep nets memorize the appearance of the objects of interest in the given video. However, fine-tuning is time-consuming and computationally expensive, hence the algorithms are far from real time. To address this issue, we develop a novel matching based algorithm for video object segmentation. In contrast to memorization based classification techniques, the proposed approach learns to match extracted features to a provided template without memorizing the appearance of the objects. We validate the effectiveness and the robustness of the proposed method on the challenging DAVIS-16, DAVIS-17, Youtube-Objects and JumpCut datasets. Extensive results show that our method achieves comparable performance without fine-tuning and is much more favorable in terms of computational time.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>Video segmentation plays a pivotal role in a wide variety of applications ranging from object identification, video editing to video compression. Despite the fact that delineation and tracking of objects are seemingly trivial for humans in many cases, video object segmentation remains challenging for algorithms due to occlusions, fast motion, motion blur, and significant appearance variation over time.</p><p>Research efforts developing effective techniques for video object segmentation continue to grow, partly because of the recent release of high-quality datasets, e.g., the DAVIS dataset <ref type="bibr">[40,</ref><ref type="bibr">42]</ref>. Two of the main setups for video object segmentation are the unsupervised and the semi-supervised setting <ref type="bibr">[40,</ref><ref type="bibr">42]</ref>. Both cases are analogous in that the semantic class of the objects to be segmented during testing are not known ahead of time. Both cases differ in the supervisory signal that is available at test time. While no supervisory signal is available during testing in the unsupervised setting, the ground truth segmentation mask of the first frame is assumed to be known in the semisupervised case. With video editing applications in mind, here, we focus on the semisupervised setting, i.e., our goal is to delineate in all frames of the video the object of interest which is specified in the first frame of the video.</p><p>Taking advantage of the provided groundtruth for the first frame, existing semisupervised video object segmentation techniques follow deep learning based methods <ref type="bibr">[5,</ref><ref type="bibr">25,</ref><ref type="bibr">4,</ref><ref type="bibr">26,</ref><ref type="bibr">47,</ref><ref type="bibr">48,</ref><ref type="bibr">53,</ref><ref type="bibr">59</ref>] and fine-tune a pre-trained classifier on the given ground truth in the first frame during online testing <ref type="bibr">[5,</ref><ref type="bibr">25,</ref><ref type="bibr">23,</ref><ref type="bibr">4,</ref><ref type="bibr">26,</ref><ref type="bibr">53]</ref>. This online fine-tuning of a classifier during testing has been shown to improve accuracy significantly. However, fine-tuning during testing is necessary for each object of interest given in the first frame, takes a significant amount of time, and requires specialized hardware in the form of a very recent GPU due to the memory needs of back-propagation for fine-tuning.</p><p>In contrast, in this paper, we propose a novel end-to-end trainable approach for fast semi-supervised video object segmentation that does not require any fine-tuning. Our approach is based on the intuition that features of the foreground and background in any frame should match features of the foreground and background in the first frame. To ensure that the proposed approach can cope with appearance and geometry changes, we use a deep net to learn the features that should match and adapt the sets of features as inference progresses.</p><p>Our method yields competitive results while saving computational time and memory when compared to the current state-of-the-art approaches. On the recently released DAVIS-16 dataset <ref type="bibr">[40]</ref>, our algorithm achieves 81.03% in IoU (intersection over union) while reducing the running time by one order of magnitude compared to the state-ofthe-art, requiring on average only 0.32 seconds per frame.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Related Work</head><p>Video object segmentation has been extensively studied in the past <ref type="bibr">[49,</ref><ref type="bibr">31,</ref><ref type="bibr">36,</ref><ref type="bibr">44,</ref><ref type="bibr">30,</ref><ref type="bibr">29,</ref><ref type="bibr">39,</ref><ref type="bibr">55,</ref><ref type="bibr">15,</ref><ref type="bibr">50,</ref><ref type="bibr">22,</ref><ref type="bibr">5,</ref><ref type="bibr">25]</ref>. In the following, we first discuss the related literature, (1) focusing on semi-supervised video object segmentation, and (2) discussing unsupervised video object segmentation. Subsequently, we examine the relationship of our work and the tracking and matching literature. Semi-supervised video object segmentation: Semi-supervised video object segmentation assumes that the groundtruth of the first frame is available during testing. Many approaches in this category employ fine-tuning during testing in order to achieve better performance <ref type="bibr">[5,</ref><ref type="bibr">25,</ref><ref type="bibr">23,</ref><ref type="bibr">4,</ref><ref type="bibr">26,</ref><ref type="bibr">53,</ref><ref type="bibr">19,</ref><ref type="bibr">8,</ref><ref type="bibr">32]</ref>. It has been shown that fine-tuning on the first frame significantly improves accuracy. However, the fine-tuning step is computationally demanding, adding more than 700 seconds per video to test time <ref type="bibr">[5]</ref>.</p><p>Additional cues such as optical flow <ref type="bibr">[25,</ref><ref type="bibr">32,</ref><ref type="bibr">26,</ref><ref type="bibr">8]</ref>, semantic segmentation <ref type="bibr">[4,</ref><ref type="bibr">26]</ref> and re-identification modules <ref type="bibr">[32]</ref> can be integrated into the framework to further improve the accuracy. Since fine-tuning is still required, those cues increase the computational needs.</p><p>Among the semi-supervised video object segmentation methods, the approach by Yoon et al. <ref type="bibr">[59]</ref> is most related to our approach. Yoon et al. <ref type="bibr">[59]</ref> also address video object segmentation by pixel matching. Their approach concatenates the features extracted from the template and the input images, and uses fully connected layers to simulate matching between the two images. Importantly, the approach still requires fine-tuning. In addition, the fully connected layers restrict the method to process frames at a specific, pre-defined spatial resolution.</p><p>Concurrent to our work, several recent methods (all developed independently) have been proposed to improve the speed of video object segmentation through part-based tracking <ref type="bibr">[9]</ref>, pixel-wise metric learning <ref type="bibr">[7]</ref>, or network modulation <ref type="bibr">[56,</ref><ref type="bibr">38]</ref>. We refer the readers to these works for a more complete picture. Unsupervised video object segmentation: Neither groundtruth nor user annotation is available in the unsupervised video object segmentation setting. Therefore, the unsupervised setup requires algorithms to automatically discover the salient objects in video. Different methods such as motion analysis <ref type="bibr">[39]</ref>, trajectory clustering <ref type="bibr">[37]</ref>, and saliency-based spatio-temporal propagation <ref type="bibr">[12,</ref><ref type="bibr">20]</ref> have been proposed to identify the foreground objects. More recently, deep net based approaches have been discussed <ref type="bibr">[47,</ref><ref type="bibr">48,</ref><ref type="bibr">22]</ref>. Object tracking: Semi-supervised video object segmentation and object tracking <ref type="bibr">[58,</ref><ref type="bibr">28]</ref> are related to our approach as they both keep track of the objects through the entire video. However, the two tasks differ in the format of the output. The output of video object segmentation is a pixel-level segmentation mask while the output of object tracking is a bounding box that delineates the position and scale of the object. From the tracking literature, work by Bertinetto et al. <ref type="bibr">[3]</ref> is in a spirit similar to our proposed approach as they formulate tracking by matching. However, due to the difference in the output, Bertinetto et al. <ref type="bibr">[3]</ref> calculated correlation by convolving the whole patch with the given template, while we propose a soft matching for pixel-wise segmentation. Matching: Image matching <ref type="bibr">[33,</ref><ref type="bibr">18]</ref> has been extensively studied over the last few decades. With the success of deep learning, research focus moved from matching using handcrafted features <ref type="bibr">[35]</ref> to deep features <ref type="bibr">[57]</ref>. Correlation between the extracted feature maps is typically computed to find correspondences <ref type="bibr">[45]</ref>, to estimate optical flow fields <ref type="bibr">[10]</ref> and geometric transformations <ref type="bibr">[46]</ref>. Since the objective of matching is to find point-to-point correspondences, the result will be noisy if the matching algorithm is directly applied to segmentation. To deal with the noisy prediction, we proposed a soft matching mechanism which estimates the similarity score between different segments as discussed next.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">Matching based Video Object Segmentation</head><p>In the following, we describe details of the proposed algorithm for video object segmentation. We first formally define the problem setting and provide an overview of our approach in Section 3.1. We then detail the new proposed soft matching mechanism in Section 3.2. Subsequently, we show in Section 3.3 how our model accommodates appearance changes of objects over time during online testing without the need for finetuning. Finally, we demonstrate how to easily extend our method to instance-level video object segmentation in Section 3.4.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1">Overview</head><p>Given a sequence of T video frames {I 1 , . . . , I T } and the groundtruth segmentation y * 1 &#8712; {1, . . . , N} W &#215;H of the first frame I 1 , the task of semi-supervised video object segmentation is to predict the segmentation masks of the subsequent video frames I 2 , . . . , I T , denoted as y 2 , . . . , y T &#8712; {1, . . . , N} W &#215;H . Hereby, N is the number of objects of interest in the given video. We denote width and height of the frames as W and H. We start by discussing the single instance case (N = 1) and explain how to extend the proposed method to N &gt; 1 in Section 3.4. Importantly, we emphasize that semi-supervised Fig. <ref type="figure">1</ref>: Overview of the proposed video object segmentation algorithm. We use the provided ground truth mask of the first frame to obtain the set of foreground and background features (m F and m B ). After extracting the feature tensor x t from the current frame, we use the proposed soft matching layer to produce FG and BG similarity. We then cancatenate the two similarity scores and generate the final prediction via softmax. video object segmentation requires object independent formulations since we do not know ahead of time the semantic class of the object to be segmented.</p><p>As the object category and appearance are unknown before test time, a network detecting objectness is usually trained offline. During test time a natural way is to use the given groundtruth for the first frame, i.e. y * 1 , as training data to fine-tune the pretrained objectness network <ref type="bibr">[5,</ref><ref type="bibr">25,</ref><ref type="bibr">23,</ref><ref type="bibr">4,</ref><ref type="bibr">26,</ref><ref type="bibr">53]</ref>. Fine-tuning encourages the network to memorize appearance of the object of interest. In previous works on instance-level segmentation, memorization is achieved by fine-tuning a pretrained network N times, i.e., to obtain one fine-tuned network for each object. As discussed before, although this fine-tuning step is the key to improving performance, it introduces a significant amount of processing time overhead and consumes more memory during testing even when there is only one object of interest in the video.</p><p>Our idea for efficient video object segmentation is to develop a network which is general enough such that the fine-tuning step can be omitted. To this end, we propose to match features obtained from the test frame I t to features of the groundtruth foreground and background in the first frame I 1 (template). We designed an end-to-end trainable deep neural net, not only to extract features from video frames, but also to match two sets of features.</p><p>To achieve this goal, as shown in Figure <ref type="figure">1</ref>, we use a Siamese architecture that employs a convolutional neural network to compute the two feature maps. We use x 1 &#8712; R h&#215;w&#215;c and x t &#8712; R h&#215;w&#215;c to refer to feature tensors extracted from the first frame (template) I 1 and the test frame I t , respectively. The feature tensors x 1 and x t are of size h &#215; w &#215; c, where c is the number of the feature channels and w, h are the width and height of the feature maps, proportional to the W &#215; H sized video frame. The ratio between W and w depends on the downsampling rate of the convolutional neural net.</p><p>Next we define a set of features for the foreground and the background. We refer to those sets via m F and m B respectively. To formally define those sets of features, let x i t denote the c-dimensional vector representing the feature at pixel location i in the downsampled image. Given the groundtruth template y * 1 for the first frame, we collect Fig. <ref type="figure">2</ref>: Illustration of the proposed soft matching layer. We first take two sets of features and compute pairwise similarity between all pairs of features. We then produce the final matching score by computing the average of top K similarity scores.</p><p>the foreground features m F and background features m B for this first frame via</p><p>Hereby g(y * 1 ) is the set of pixels that belongs to foreground as indicated by the ground truth mask y * 1 downsampled to size w &#215; h. After having extracted the foreground (m F ) and background (m B ) features from the template and after having computed features x t &#8712; R h&#215;w&#215;c from frame I t using the same deep net, we match x i t &#8704;i &#8712; {1, . . . , wh} to features collected in both sets m F and m B via a soft matching layer. The result of the soft matching layer for each pixel i is its foreground and background matching scores. Subsequently, the foreground and background matching scores are upsampled and normalized into a predicted foreground probability y t via the softmax operation. We visualize this process in Figure <ref type="figure">1</ref> and describe the proposed soft matching layer subsequently in greater detail.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2">Soft matching layer</head><p>A schematic illustrating the details of the proposed soft matching layer is given in Figure <ref type="figure">2</ref>. The developed soft matching layer, SML(x t , m), takes two sets of features as inputs, i.e., x t and m (m refers to either m F or m B ) and computes a matching score matrix S t &#8712; R h&#215;w which measures the compatibility of the frame I t (represented by its features x t ) with either foreground (m F ) or background (m B ) pixels of the template I 1 for every pixel i &#8712; {1, . . . , hw}. The entry S i t represents the similarity of the feature at pixel location i with respect to a subset of features in m.</p><p>More formally, our developed soft matching layer first computes the pairwise similarity score matrix A &#8712; [-1, 1] (hw)&#215;|m| where the i j-th entry of A is calculated via Hereby, f is a scoring function measuring the similarity between the two feature vectors</p><p>x i t and m j . We use the cosine similarity, i.e., f</p><p>m j , but any other distance metric is equally applicable once adequately normalized.</p><p>Given the similarity score matrix A, we compute the matching score matrix S t of size h &#215; w, respectively its i-th entry (i &#8712; {1, . . . , hw}) via</p><p>where the set Top(A i , K) contains the indices with the top K similarity scores in the i-th row of the similarity score matrix A. K is set to 20 in all our experiments. Intuitively, we use the average similarity of the top K matches because we assume a pixel to match to a number of pixels in a region as opposed to only one pixel, which will be too noisy, or to all pixels, which will be too strict in general as the foreground or background may be rather diverse. Consequently, we expect a particular pixel to match to one of the foreground or background regions rather than requiring a pixel only to match locally or to all regions. Again, an illustration of the soft matching layer, SML(x t , m), is presented in Figure <ref type="figure">2</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3">Outlier removal and online update</head><p>Outlier removal. To obtain the final prediction y t for frame t &#8712; {2, . . . , T } we convert the foreground and background matching score matrices into an initial foreground probability prediction y t,init via upsampling and via a subsequent weighted softmax operation. Finally, we obtain the prediction y t by comparing the initial prediction y t,init with y t-1 to remove outliers. More specifically, we first extrude the prediction y t-1 of the previous frame to find pixels whose distance to the segmentation is less than a threshold d c . We then compute y t from y t,init by removing all initial foreground predictions that don't overlap with the extruded prediction &#375;t-1 . Note that the hat symbol '&#8226;' refers to the extrusion operation. This process assumes that the change of the object of interest is bounded from above. In Figure <ref type="figure">3</ref>, we visualize one example of the current foreground prediction y t,init , previous foreground prediction y t-1 , the extruded prediction &#375;t-1 , and the final foreground prediction y t .</p><p>Online update. Obviously, we expect the appearance of the object of interest to change over time in a given video. In order to accommodate the appearance change, we repeatedly adjust the foreground and background model during testing. Inspired by <ref type="bibr">[53]</ref>, we update the foreground and background sets of features, i.e., m F and m B , by appending additional features after we predicted the segmentation for each frame. We find the additional features by comparing the initial prediction mask y t,init for t &#8712; {2, . . . , T } with the extruded prediction &#375;t-1 of the previous frame.</p><p>Specifically, we update the background model m B at time t via</p><p>where the index set</p><p>subsumes the set of pixels that are predicted as foreground initially, i.e., in y t,init , yet don't belong to the set of foreground pixels in the extruded previous prediction &#375;t-1 .</p><p>Note that this is equivalent to the set of pixels which are predicted as foreground initially, i.e., y t,init , but are not part of the final prediction y t . Taking Figure <ref type="figure">3</ref> as an example, b t contains the indices of pixels being foreground in Figure <ref type="figure">3</ref>(a) but not in Figure <ref type="figure">3(b)</ref>. Intuitively, we find the possible outliers in the current predictions if a pixel is predicted as foreground at time t but does not appear to be foreground or is near to the foreground mask at time t -1.</p><p>Beyond adjusting the background model we also update the foreground model</p><p>where g( yt ) is the set of foreground pixels in the eroded current segmentation prediction y t and c is a constant threshold. Intuitively, we add the features of pixels that are not only predicted as foreground with high confidence (larger than c 1 ) but are also far from the boundary. In addition, we exclude those pixels in b t to avoid conflicts between the foreground and background features. Since our method just appends additional representations to the foreground and background features m F and m B , the parameters of the employed network remain fixed, and the online update step is fast. Compared to <ref type="bibr">[53]</ref>, where each online update requires fine-tuning the network on the tested images, our approach is more efficient. Note that we designed a careful process to select features which are added in order to avoid the situation that the sizes of m F and m B grow intractably large, which will slow down the computation when computing the matching scores. It is obviously possible to keep track of how frequently features appear in the Top -K set and remove those that don't contribute much. In practice, we didn't find this to be necessary for the employed datasets.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.4">Instance-level video object segmentation</head><p>Next, we explain how the proposed method can be generalized for instance-level video object segmentation, where one or more objects of interest are presented in the first frame of the video. We consider the case where the ground truth segmentation mask contains a single or multiple objects, i.e., y * 1 &#8712; {1, . . . , N} H&#215;W , where N &#8805; 1. We construct the foreground and background features for every object, i.e., we find the foreground features m F,k and the background features m B,k of the object k &#8712; {1, . . . , N}, where</p><p>Hereby, &#948; (&#8226;) : {1, . . . , N} H&#215;W &#8594; {0, 1} H&#215;W is the indicator function which provides a binary output indicating the regions in y * 1 that belong to the k-th object. We then compute y t,k , the foreground probability map of the frame t w.r.t. the k-th object by considering x t , m F,k and m B,k using the soft matching layer described above. After having computed k probability maps, we fuse them to obtain the final output prediction. The prediction y t is computed by finding the index of the object that has maximum probability y i t,k among all k &#8712; {1, . . . , N} for all pixels i. If for all k, y i t,k is less than a threshold c 2 , the pixel i will be classified as background.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">Experimental Results</head><p>In the following we first provide implementation details before evaluating the proposed approach on a variety of datasets using a variety of metrics.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">Implementation details, Training and Evaluation</head><p>To obtain the features x, we found ResNet-101 <ref type="bibr">[17]</ref> as the backbone with dilated convolutions <ref type="bibr">[6]</ref> to perform well. More specifically, we use the representation from the top convolutional layer in the network as x t . The feature maps have spatial resolution 8 times smaller than the input image. In the experiments, we set K = 20, d c = 100, c 1 = 0.95 and c 2 = 0.4. We initialized the parameters using the model pretrained on Pascal VOC <ref type="bibr">[11,</ref><ref type="bibr">16]</ref> for semantic image segmentation. We trained the entire network end-to-end using the Adam optimizer <ref type="bibr">[27]</ref>. We set the initial learning rate to 10 -5 and gradually decreases over time. The weight decay factor is 0.0005.</p><p>To training our matching network, we use any two randomly chosen frames in a video sequence as training pairs. Importantly, the two frames are not required to be consecutive in time which provides an abundance of training data. We augmented the training data by random flipping, cropping and scaling between a factor of 0.5 to 1.5. We use Tensorflow to implement the algorithm. Training takes around 4 hours for 1000 iterations on an Nvidia Titan X. At test time, a forward pass with an input image of size 480 &#215; 854 takes around 0.17 seconds. Training: We trained the proposed network using the 30 video sequences available in the DAVIS-16 training set <ref type="bibr">[40]</ref> for 1000 iterations and evaluated on the DAVIS-16 validation set. Similarly, we used the 60 sequences in the DAVIS-17 training set <ref type="bibr">[42]</ref> for training when testing on the DAVIS-17 validation set. Although the model is trained on DAVIS, we found it to generalize well to other datasets. Therefore, we use the model trained on the DAVIS-17 training set for evaluation on both the JumpCut <ref type="bibr">[13]</ref> and the YouTube-Objects <ref type="bibr">[43]</ref> datasets.  Evaluation on the DAVIS-16 dataset: In Table <ref type="table">1</ref>, we compare our method with deep net baselines that do not require fine-tuning as well, such as VPN <ref type="bibr">[23]</ref> and CTN <ref type="bibr">[24]</ref>. We also compare to OSVOS <ref type="bibr">[5]</ref>, MSK <ref type="bibr">[25]</ref>, OnAVOS <ref type="bibr">[53]</ref> and SFL <ref type="bibr">[8]</ref>, disabling their fine-tuning step. We use the super-script ' -' to denote methods with a disabled finetuning step. In Table <ref type="table">1</ref>, we report the mean IoU and the average running time per frame for each method tested on the DAVIS-16 dataset. Our method achieves the best mIoU, outperforming the baselines by more than 6% while running efficiently. Our method without the outlier removal (denoted as OURS-NU in Table <ref type="table">1</ref>) runs 2 times faster while achieving competitive performance.</p><p>In Figure <ref type="figure">4</ref>, we compare our method which does not require fine-tuning with baselines that may or may not need fine-tuning. We report the mIoU vs average computational time per frame in Figure <ref type="figure">4</ref>(a) and the contour accuracy vs running time per frame in Figure <ref type="figure">4(b)</ref>. Note that the average running time per frame also includes the finetuning step for those methods requiring fine-tuning. Since the network employed in our method is general enough to learn how to match we observe competitive performance at a fraction of the time required by other techniques. Note that the time axis scaling is logarithmic. Evaluation on the YouTube-Objects dataset: We present the evaluation results on the YouTube-Objects dataset <ref type="bibr">[43,</ref><ref type="bibr">21]</ref> in Table <ref type="table">2</ref>. Our method outperforms the baselines despite the fact that our network is not fine-tuned, but other baselines such as OnAVOS and MSK and OSVOS are. Thus, our method is more favorable both in terms of computational time and in terms of accuracy.</p><p>Evaluation on the JumpCut dataset: We present the evaluation results on the Jump-Cut dataset <ref type="bibr">[13]</ref> in Table <ref type="table">3</ref>. We follow the evaluation in <ref type="bibr">[13]</ref> and compute the error rates of different methods. The transfer distance d is equal to 16. In this experiment we don't apply the outlier removal described in Section 3.3 to restrict mask transfer between nonsuccessive frames. Again, our method outperforms the baselines on this dataset with an average error rate that is 0.34 lower than the best competing baseline SVC <ref type="bibr">[54]</ref>.</p><p>Evaluation on the DAVIS-17 dataset: We show the experiments on instance-level video object segmentation using the DAVIS-17 validation set. The results are shown in Table <ref type="table">4</ref>. Our method performs reasonably well when compared to methods without finetuning, i.e., OSVOS -, OnAVOS -, MaskRNN -and OFL. We further finetune our method (denoted as OURS-FT), and the performance is competitive among the base-  lines while the computational time is much faster. Note that OnAVOS + <ref type="bibr">[52]</ref> in Table <ref type="table">4</ref> is OnAVOS with upsampling layers on top and model ensembles.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.4">Ablation study</head><p>We study the important components of the proposed method. Subsequently, we discuss the effect of outlier removal and online update, the effect of K, the effect of foreground and background matching, the effect of fine-tuning and the memory consumption of the proposed approach.</p><p>Effect of K: We study the effect of K in the proposed soft matching layer where we compute the average similarity scores of top K matchings. We present the performance on DAVIS-16 with different settings of K in Figure <ref type="figure">5</ref> (a). We varied K to be between 1 and 100. The performance when K is equal to 1 ('hard matching') is 0.753 while the performance increases when K is larger than 1 ('soft matching') until K is equal to 20. When K is larger than 20, the performance keeps decreasing and the performance of computing the average similarity scores among all matchings is 0.636. Intuitively, a point is a good match to a region if the feature of the point is similar to a reasonable amount of pixels in that region, which motivates the proposed soft matching layer.</p><p>Outlier removal and online update: In Table <ref type="table">5</ref>, we study the effects of outlier removal, online background feature update and foreground feature update. We found that our method with neither outlier removal nor online update performs competitively, achieving 0.792 on DAVIS-16. Removing of outliers improves the performance by 0.013. If we incorporate the online background feature update, the performance improves by 0.004 and having the foreground feature updated as well further improves the performance, achieving 0.810 in mIoU on the DAVIS-16 dataset.</p><p>Matching foreground and background: As shown in Figure <ref type="figure">1</ref>, we match the input image with not only the foreground region but also the background region in the template and thus we have two soft matching layers for computing the foreground similarity and the background similarity. We found that having both foreground and background models is important for good performance. Specifically, the performance of matching only the foreground, i.e., only having one soft matching layer to compute foreground similarity, is only 0.527 in mIoU on DAVIS-16 while having both foreground and background similarity computed achieves 0.792. Online fine-tuning: We would like to point out that the network in our method can be fune-tuned during testing when observing the groundtruth mask of the first frame. We show the trade-off between fine-tuning time and performance on DAVIS-16 in Figure <ref type="bibr">5 (b)</ref>. Specifically, we show the average running time per frame taking the finetuning step into account, and compare with OSVOS, OSVOS-BS (OSVOS without the post-processing step), OnAVOS and OnAVOS-NA (OnAVOS without test time augmentation). We report the results of OnAVOS and OnAVOS-NA without a CRF as postprocessing. Note that the time axis scaling is again logarithmic. The bottom left point of each curve denotes performance without fine-tuning. Clearly, the performance of our approach outperforms other baselines if fine-tuning is prohibited. After fine-tuning, our method can be further improved and still runs efficiently, taking 2.5 seconds per frame while other baselines require more than 10 seconds to achieve their peak performance. Note that we don't have any post-processing step to refine the segmentation mask in our method while still achieving competitive results.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.5">Qualitative results</head><p>In Figure <ref type="figure">6</ref>, we show visual results of our method on DAVIS-16 (1st row), Youtube-Objects (2nd row), JumpCut (3rd row), and DAVIS-17 datasets (4th row). We observe our method can accurately segment the foreground objects with challenges such as fast motion, cluttered background and appearance change. We also observe the proposed method produce accurate instance level segmentation on DAVIS-17 datasets. We show the failure cases of our method in Figure <ref type="figure">7</ref>. Possible reasons for our method to fail include tiny objects and similar appearance of different instances.  </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">Conclusion</head><p>We present an efficient video object segmentation algorithm base on a novel soft matching layer. The method generalizes well and does not require online fine-tuning while maintaining good accuracy. Our method achieves state-of-the-art on the Youtube-Objects and JumpCut datasets and is competitive on DAVIS-16 and DAVIS-17, while its computational time is at least one order of magnitude faster than current state-of-the-art.</p></div></body>
		</text>
</TEI>
