<?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'>Interactive Video Object Mask Annotation</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>05/18/2021</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10277203</idno>
					<idno type="doi"></idno>
					<title level='j'>Proceedings of the  AAAI Conference on Artificial Intelligence</title>
<idno>2159-5399</idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Trung-Nghia Le</author><author>Tam V. Nguyen</author><author>Quoc-Cuong Tran</author><author>Lam Nguyen</author><author>Trung-Hieu Hoang</author><author>Minh-Triet. Tran</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[In this paper, we introduce a practical system for interactive video object mask annotation, which can support multiple back-end methods. To demonstrate the generalization of our system, we introduce a novel approach for video object annotation. Our proposed system takes scribbles at a chosen key-frame from the end-users via a user-friendly interface and produces masks of corresponding objects at the key-frame via the Control-Point-based Scribbles-to-Mask (CPSM) module. The object masks at the key-frame are then propagated to other frames and refined through the Multi-Referenced Guided Segmentation (MRGS) module. Last but not least, the user can correct wrong segmentation at some frames, and the corrected mask is continuously propagated to other frames in the video via the MRGS to produce the object masks at all video frames.]]></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>Introduction</head><p>Deep learning-based video object detection/segmentation methods require a massive amount of training data <ref type="bibr">(Le et al. 2020a</ref>; <ref type="bibr">Le and Sugimoto 2019)</ref>. However, manually labeling object masks for large-scale video datasets is a tedious and extremely time-consuming task. Hence, it is essential for the development of effective annotation frameworks which reduces human effort while maintaining high annotation accuracy. Indeed, efficient annotation tools are important and helpful in facilitating data annotation in multiple domains, e.g., autonomous driving cars <ref type="bibr">(Le et al. 2020b)</ref>, drones <ref type="bibr">(Zhu et al. 2020)</ref>, wildlife preservation <ref type="bibr">(Le et al. 2019)</ref>, medical <ref type="bibr">(Gelasca et al. 2008)</ref>, and security <ref type="bibr">(Ge et al. 2017)</ref>.</p><p>Several systems have been developed for interactive object mask segmentation in images <ref type="bibr">(Benenson, Popov, and Ferrari 2019;</ref><ref type="bibr">Zhang et al. 2020;</ref><ref type="bibr">Ling et al. 2019;</ref><ref type="bibr">Acuna et al. 2018</ref>). However, these systems are inappropriate to apply for video processing due to frame-by-frame processing. Few video instance segmentation methods have been introduced <ref type="bibr">(Bertasius and Torresani 2020;</ref><ref type="bibr">Yang, Fan, and Xu 2019)</ref>, but these methods only work on learned categories. These methods are unable to be used to annotate new categories. Semi-supervised video object segmentation methods have been proposed to segment video objects regardless</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Annotation Interface</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Visualizer and Storage Service</head><p>Figure <ref type="figure">1</ref>: Our proposed annotation system, including Annotation Interface and Visualizer and Storage Service. Our system is flexible and supports multiple back-end methods for comparison and visualization. their categories <ref type="bibr">(Le et al. 2017;</ref><ref type="bibr">Tran et al. 2018</ref><ref type="bibr">Tran et al. , 2019;;</ref><ref type="bibr">Oh et al. 2019a;</ref><ref type="bibr">J. Luiten 2018)</ref>. These methods propagate object masks in key-frames with high accuracy and can be utilized for video object mask annotation.</p><p>In this work, we develop a practical system for interactive video object mask annotation. Our annotate system includes a local Annotation Interface and a Visualizer and Storage Service (as shown in Figure <ref type="figure">1</ref>). Our system is flexible and can support multiple back-end methods for comparison and visualization.</p><p>To demonstrate the generalization of our system, we propose a novel interactive video object mask annotation approach for the Annotation Interface. Our system consists of a front-end interaction interface and two backend key modules. We design a user-friendly interface (as shown in Figure <ref type="figure">2</ref>), which allows the end-users to identify objects-of-interest, track, and correct objects in a feedback loop with the system. Input scribbles are transformed into masks of corresponding objects via the Control-Pointbased Scribbles-to-Mask (CPSM) module and propagated to other video frames by Multi-Referenced Guided Segmentation (MRGS) module. Our system also allows the user to correct the wrong segmentation in certain frames, and the corrected masks are continuously propagated to other frames in the video via the MRGS module. Our annotation system will be public at our project page<ref type="foot">foot_0</ref> .</p><p>Figure <ref type="figure">2</ref>: Our user-friendly interface for video object mask annotation.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Proposed Annotation Approach Interactive Annotation Flow</head><p>Figure <ref type="figure">3</ref> illustrates the interactive annotation flow of our proposed system, which consists of multiple rounds of interaction in a feedback loop. Our method has two stages for each round: interaction from the end-users to generate object masks at the chosen key-frame, and mask propagation at other frames.</p><p>In the first interaction round, the end-users input scribbles to create initial object masks at a selected key-frame through Control-Point-based Scribbles-to-Mask (CPSM) <ref type="bibr">(Tran, Vu-Le, and Tran 2020)</ref>. Then, Multi-Referenced Guided Segmentation (MRGS) is performed to produce masks of objects-of-interest at other frames <ref type="bibr">(Tran et al. 2020</ref>). From the second interaction round onward, the end-users input scribbles to correct wrong segmentation at certain frames via CPSM. MRGS then propagates corrected masks to adjacent frames.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Control-Point-based Scribbles-to-Mask</head><p>We propose Control-Point-based Scribbles-to-Mask (CPSM) <ref type="bibr">(Tran, Vu-Le, and Tran 2020)</ref> module to generate object masks from scribbles input of users. The input scribbles are first converted into control points using a Control-points Extractor. To extract control points from a scribble path, we evenly sample points along that path. Each of these control points holds the information about its coordinates on the image and the object to which it belongs. Then, control points are used by a Controlpoints-to-Mask module to generate a complete multi-object segmentation mask using a backpropagating refinement algorithm <ref type="bibr">(Sofiiuk et al. 2020)</ref>. We remark that if it is not the first interaction (i.e., correcting wrong segmentation), a previously inferred mask is available and combined with this mask.</p><p>Finally, Self-Reference Refinement is performed to refine the generated mask, using memory-based model STM <ref type="bibr">(Oh et al. 2019b</ref>). We develop a Global Memory Pool that is global across interactions to memorize all previously inferred masks. The memory-based model STM uses that  </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Multi-Referenced Guided Segmentation</head><p>We propagate each object independently, then merge all object masks together. We propose Multi-Referenced Guided Segmentation (MRGS) <ref type="bibr">(Tran et al. 2020</ref>) module by utilizing the structure of each object, together with its movement flow and deformable transformation, to create better segmentation for that object. In particular, the main steps in the process of each object are as follows.</p><p>First, we apply mask tracking and segmentation <ref type="bibr">(Tran et al. 2019)</ref> to create an initial segmentation result of the object at video frames. Next, we propose Single-Source Guided Segmentation to quickly propagate an initial mask to all frames by performing fined-grained segmentation on a natural-shaped region-of-interest (ROI). Our method can reduce the ambiguity in the segmentation of different objects, especially those of the same category, in a regular rectangular region. We aim to transform a rectangular ROI to a  </p><p>Reliable Reference Frame 1</p><p>Reliable Reference Frame 2</p><p>Reliable Reference Frame 3</p><p>Reliable Reference Frame 4</p><p>Reliable Reference Frame 5 non-rectangular ROI, namely natural-shaped ROI, across the object boundary to eliminate complex background inside the ROI. As discussed in <ref type="bibr">(Nguyen, Zhao, and Yan 2018)</ref>, attention cues are very useful for the segmentation task. Therefore, we propose a bi-directional strategy of guided attention to construct the natural-shaped ROI and then perform fine-grained segmentation on this guided ROI (c.f. Fig. <ref type="figure">5</ref>). Forward propagation strategy, where attention is referenced from initial segments of previous frames, can correct excessed segmentation due to dense objects in a ROI. Meanwhile, back-propagation strategy, where attention is referenced from initial segments of next frames, can recover missing objects due to fast motion, occlusion, or heavy deformation.</p><p>We then evaluate these results to select Reliable Extra Samples in the video for an object to create a set of reliable confidence reference frames for the object-of-interest (c.f. Fig. <ref type="figure">6</ref>). Notably, we remove blurry frames, tiny objects, anomaly (i.e., sudden changes in object mask), and frames that are too similar (i.e., redundant frames).</p><p>Finally, we re-propagate masks with reference to multiple extra samples, namely Multi-Referenced Mask Propagation. We put all reliable reference frames in the memory pool for reference. We further propose to propagate masks from multiple reference frames instead of from a single-source. Each reference frame influences the results of the frames in its neighbors, and each frame usually depends on its nearest reference frame. To enhance the consistency of object masks across frames, we find anomaly in consecutive frames and correct them. An anomaly occurs when a mask accidentally disappears or re-appears in a short period, or its size and shape change significantly. In order to handle an anomaly case, we use both forward and backward mask propagation to restore missing segments and correct sudden changes in mask size and shape (c.f. Fig. <ref type="figure">5</ref>). Our MRGS module achieved fourth place on the Semi-Supervised Segmentation Track of the DAVIS 2020 Challenge with the global score of 79.3 <ref type="bibr">(Tran et al. 2020)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Conclusion and Future Work</head><p>This paper presents a novel practical system for interactive video object mask annotation, which can generate dense per frame object masks with only scribbles on sparse key-frames provided by the end-users. Our system interacts with endusers through their scribbles via a user-friendly interface. Following the input scribbles, our proposed system maps the scribbles to object masks and then propagates the masks to segment the object-of-interest in all videos. In addition, the users can correct wrong segmentation via scribbles quickly. We believe that our proposed system will attract and significantly reduce the cost of video object mask annotation.</p><p>In the future, we plan to investigate more interaction between the users and the system. Furthermore, we aim to utilize different techniques for better segmentation.</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0"><p>https://sites.google.com/view/ltnghia/research/interactive-video-object-mask-annotationThe Thirty-Fifth AAAI Conference on Artificial Intelligence (AAAI-21)</p></note>
		</body>
		</text>
</TEI>
