{
  "File Number": "1082",
  "Title": "Segmenting Moving Objects via an Object-Centric Layered Representation",
  "Limitation": "Nevertheless, there are of course some limitations and room for further improvements: First, the current method may fail in very challenging real-world scenarios such as heavy object deformations, complex mutual interactions, etc. Probably a more sophisticated data simulation pipeline with highly articulated objects or even 3D sprites would help to further reduce this Sim2Real domain gap. Second, our test-time adaptation has demonstrated a remarkable performance improvement benefiting from the combination between flow inferences and RGB correlations. This overcomes, to an extent, the problem of the flow-only model ‘forgetting’ the shape of objects when they are stationary for multiple frames. A further direction could naturally be to incorporate RGB information into our flow-based network in pre-training. Third, the model currently uses a global depth ordering for the sequence, so it cannot handle situations such as order altering and mutual occlusions. Potential future studies could work on a more sophisticated layered model by focusing on pair-wise relationships between objects. Despite these limitations, the approach has convincingly demonstrated both the value of inferring amodal segmentation masks, in order to handle occlusions, and the possibility of training such models entirely on synthetic sequences.",
  "Reviewer Comment": "Reviewer_3: Strengths\nWriting\nThe writing of the paper is very clear and easy to follow. The paper is organized very well to facilitate easier understanding of the details of the model and proposed data generation pipeline. The details of the proposed model is presented in a concise manner covering most necessary aspects. The paper includes detailed discussions of the pros and cons of most design choices. These discussions make it much easier to follow and verify the claims.\nProposed Model\nThe paper proposes a novel architecture that is interesting and might be applicable to a wider range of domains. The model makes several interesting design choices:\nThe choice of leveraging optical flow only from synthetic data is not novel and has been used in other domains. However, the application to the problem of multi-object segmentation is unique.\nThe model goes beyond segmenting objects in individual frames and produces amodal segmentation maps for each frame. This is an interesting design choice that seems to be very effective (see more about this in weakness below).\nThe core of the model is heavily inspired from DETR, but the ideas of using this architecture to estimate layer depth and amodal masks is still novel and interesting. In addition to modifying and adopting the objective of DETR for estimating the masks, the paper introduces a layer ordering loss to accurately estimate the depth order of each object.\nSynthetic Data Generation\nThe data generation pipeline proposed in this work is novel. The utility of this data beyond the task of multi-object segmentation is unclear. However, I believe this pipeline could be adopted by other researchers in this domain.\nEvaluation\nThe experimental evaluation in this work exhaustively covers standard benchmarks and the necessary ablative studies to verify the claims. Across two tasks (single object and multi-object segmentation), the proposed model outperforms existing unsupervised learning methods. The ablative studies show the benefits of using amodal segmentation maps as the intermediate output which is a key design choice of the proposed model.\nWeakness\nSupervision and Comparisons\nThe paper claims to be an unsupervised method for video object segmentation. I'm not sure if this is true based on the conventional usage of the term unsupervised. The proposed method uses synthetic supervision. This can obviously be corrected in the text. However, the bigger issue is the comparisons to existing work. If this work were to be categorized as a supervised learning method, the single object results are only as good as other supervised learning methods and in the multi-object case there is no comparison to supervised learning methods.\nSince the proposed method uses synthetic supervision, it is also somewhat unfair to compare to a model trained with real-world human supervision. But I think it is at least important to demonstrate the benefit of synthetic data i.e. scalability. Since generating synthetic data is not expensive, if the proposed model can scale in performance with volume of synthetic data and outperform supervised methods that use limited supervision, that would be a compelling result for adopting the proposed model.\nAmodal Evaluation\nOne of the interesting aspects of the proposed model is the choice of producing amodal maps as the intermediate step. However, the evaluation of this output is limited to the ablation of comparing to a model using modal maps. It would have been interesting to see how well this model performs on the amodal segmentation task. See the following for evaluation protocol:\nZhan, Xiaohang, et al. \"Self-supervised scene de-occlusion.\" Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2020.\nXiao, Yuting, et al. \"Amodal segmentation based on visible region segmentation and shape prior.\" Proceedings of the AAAI Conference on Artificial Intelligence. Vol. 35. No. 4. 2021.\nQuestions:\nPlease discuss the question on unsupervised vs synthetic supervised presented in the Weakness above which is my only major concern.\nLimitations:\nYes, the limitations have been discussion fairly well. There is no discussion on the societal impact.\nEthics Flag: No\nSoundness: 3 good\nPresentation: 4 excellent\nContribution: 4 excellent\n\nReviewer_4: Video object segmentation is an active area of research. Predicting layered amodal segmentation masks that can be combined into a modal segmentation is an uncommon but very natural approach. With this approach, the model is tasked to not only learn about visible object parts but complete objects. Occlusions arise naturally when masks are combined. Compared to the more common approach of only reasoning about visible object fragments this may result in a more useful object representation.\nThe main weakness of the paper in my view is the comparison with other models. The proposed model is trained supervisedly on synthetic data and then transferred without supervision. None of the other models is trained in this way, but either completely unsupervised or trained supervisedly on the respective benchmark. The performance improvements on the benchmark are therefore not necessarily due to the proposed model architecture, but might as well arise due to the different data seen during training.\nA fair comparison would be to also train the other methods on the synthetic dataset and evaluate on the benchmarks. The key question then would be whether the transfer performance of the proposed model is better than that of previous models, which would be especially interesting for other models using optical flow.\nQuestions:\nWhat is your notion of an \"unsupervised\" model? It is stated that the proposed model \"achieve[s] state-of-the-art unsupervised segmentation performance\". The model however is trained with ground truth supervision, so in my view the model cannot be termed unsupervised and the comparison to truly unsupervised methods is misleading. Instead, it should be made clearer that the proposed method does \"unsupervised transfer\".\nI cannot completely follow the computation of the model segmentation:\nThe first accumulated opacity layer\nα\n0\nshould probably be all zeros. As it is stated now, it follows that\nα\n1\n=\n2\n⋅\nM\n^\n0\n.\nThe modal segmentation masks are added to obtain the opacity layers. This however means that in the case of occlusions it might be\nα\nk\n>\n0\n, leading to the amodal mask being multiplied with a negative weight. Did you take any means to adress this problem?\nLimitations:\nOne limitation of the model arises due to using optical flow as primary input, which makes it impossible to segment non-moving objects. This limitation is discussed openly by the authors and subjected to future work, what I believe is justified.\nEthics Flag: No\nSoundness: 2 fair\nPresentation: 3 good\nContribution: 3 good\n\nReviewer_5: Originality:\nGood. The key innovations are three fold: (1) object-centric representation; (2) layered representation; (3) amodel representation. Although all three techniques have already been explored in previous literature, there is no such an attempt before to combine them for video object segmentation. Furthermore, most relevant works experiment on simulated datasets, while in this work all experiments are conducted on real world videos, which is much more difficult and more convincing.\nQuality:\nGood. The proposed method is easy to understand and shows good performance on all dataset considered, surpassing the most relevant method, Motion Grouping, by a significant margin.\nClarity:\nGood but can be improved. In general the paper reads smoothly and is easy to follow. But, perhaps due to limited space, some important details are defered to the supplementary material, which from my point of view, would be better to be placed in the main text. For example, test-time adaptation seems bring large improvements and is important to the final performance, it would be clearer to put relevant details in the main text.\nSignificance:\nThe sutdied topic is of great importance. Object-centric, layered repersentation shows promise to become the next generation of vision paradigm.\nQuestions:\nThere might be some hard cases for layered representation. In some cases, objects have mutual occlusion with each other, say a part of object A occludes object B, meanwhile a part of object B occludes object A. Can the proposed method handle such cases? If not, is there any solutions to such cases under the layered representation framework?\nLimitations:\nThe authors have discussed the limitations of their work.\nEthics Flag: No\nSoundness: 4 excellent\nPresentation: 3 good\nContribution: 3 good\n\nReviewer_6: The paper is very well written, very well structured. The methodological approach sounds appropriate and the presentation of the results is well done. I am not working on this specific problem but I believe the authors that the proposed neural network model is novel and not published before. It shows how this generative problem can be elegantly solved by combining a U-Net for the task of segmentation together with a Transformer for the task of inferring spatiotemporal correlations to guide the segmentation. The evaluation seems properly done with partially very good results, although some statements go to far, e.g. in line 227 where it is argued “…large margin …”, although improvements are not that large e.g.for FBMS-59. I believe that it has been shown that motion segmentation is basically learnable from synthetic data only. If so, one of the co-reviewers more expert than I will definitely refer to this. What I miss in the paper is a clear distinction between motion segmentation and occlusion reasoning (2.1D sketch). As the model can only infer motion boundaries, it might miss some of the occlusion boundaries especially for surfaces with interior occlusion boundaries. It is also not clear to the reader how the model behaves for corrupted flow inputs or for more than three motions, e.g. also for a moving camera. Finally, the reader might also be interested to understand why longer sequences give better results or why object boundaries can help improving the layer ordering (line 223). Monet is also a new method to infer occlusion regions and motion boundaries (H. Kim et al., BMVC’21). I suggest to clarify this in the paper. I also suggest to add X. Zhan et al.’s, CVPR’20 paper to the related work that shows a nice way to compute amodal maps.\nQuestions:\nHow would your method behave in the case of multiple persons walking frontoparallel in the same direction? Is your method influences by the choice of the optical flow method? You assume three layers / three motion segments. How did you come to this assumption of three? What is your idea how to handle this dilemma between appearance and flow for camouflaged cases in your method (line 238)?\nLimitations:\nYes.\nEthics Flag: No\nSoundness: 3 good\nPresentation: 4 excellent\nContribution: 3 good",
  "abstractText": "The objective of this paper is a model that is able to discover, track and segment multiple moving objects in a video. We make four contributions: First, we introduce an object-centric segmentation model with a depth-ordered layer representation. This is implemented using a variant of the transformer architecture that ingests optical flow, where each query vector specifies an object and its layer for the entire video. The model can effectively discover multiple moving objects and handle mutual occlusions; Second, we introduce a scalable pipeline for generating multi-object synthetic training data via layer compositions, that is used to train the proposed model, significantly reducing the requirements for labour-intensive annotations, and supporting Sim2Real generalisation; Third, we conduct thorough ablation studies, showing that the model is able to learn object permanence and temporal shape consistency, and is able to predict amodal segmentation masks; Fourth, we evaluate our model, trained only on synthetic data, on standard video segmentation benchmarks, DAVIS, MoCA, SegTrack, FBMS-59, and achieve stateof-the-art performance among existing methods that do not rely on any manual annotations. With test-time adaptation, we observe further performance boosts.",
  "1 Introduction": "Humans have the ability to discover and segment moving objects in videos. This ability is present even in young infants, together with notions of object permanence through occlusions, and temporal shape constancy [4, 5, 50, 54]. Achieving this ability by machine has long been a goal of the field [7– 9, 14, 27, 33, 45, 58, 59, 65, 67, 68], and modern methods are now able to reliably discover and segment single moving objects using both appearance (RGB) and motion (optical flow) streams of the video. However, success is limited in the case of multiple moving objects and occlusion.\nOur goal in this paper is to develop and study a model that can discover multiple moving objects and also handle their mutual occlusions. To this end, we propose a layered object-centric model that predicts amodal segmentation masks [73] for each object throughout the video. Note that, given amodal segmentations, the depth ordering of the object layers can be determined from occlusions in the observed (modal) frames when the objects overlap. See Figure 1. Our innovation is to build this mechanism into the representation: when objects overlap in a frame, the model has to maintain the amodal shapes through temporal consistency, and can thus infer depth ordering.\nTo achieve this goal we use only optical flow as our primary information stream. There are benefits and drawbacks to this choice. The benefits are two fold: first, the information that we are after, the segmentation masks, are directly available from discontinuities in the flow field; second, a key advantage of using solely optical flow is that the domain adaptation problem is largely avoided [15, 32] – and this means that the model can be trained on synthetic sequences and applied directly to real sequences without a significant Sim2Real disparity. However, the drawbacks are also two fold: first,\n36th Conference on Neural Information Processing Systems (NeurIPS 2022).\nunlike the appearance stream, objects can be invisible in flow when they are not moving, thereby requiring the model to build a concept of object permanence; and second, but more subtly, flow is not like appearance in that we cannot expect constancy even when the object is moving (for example, due to camera shake that affects the flow but not the appearance), and thus the model cannot strongly use flow coherence as a cue but must instead learn to model the segmentation mask shape.\nWe make four contributions: (i) we introduce an Object-Centric Layered Representation (OCLR) model for discovering and segmenting multiple moving objects and inferring their mutual occlusions from optical flow alone. The architecture of the model is based on a transformer, with DETR like learnable queries, where each query determines the amodal segmentation mask for an object and its layer order throughout the video. (ii) we introduce a layer-based synthetic pipeline to generate multiobject training sequences that cover the variability of the target real sequences in terms of: multiple deforming objects, overlapping objects in some frames, moving cameras, and non-static backgrounds. (iii) We demonstrate that the model trained on flow from the synthetic videos is able to learn object permanence and temporal shape constancy – even if an object is partially occluded in many frames, the model is still able to predict an amodal mask. (iv) Finally, we evaluate the model (trained only on synthetic sequences) on multiple real video segmentation benchmarks, DAVIS, MoCA, SegTrack, and FBMS-59; and demonstrate strong Sim2Real generalisation, achieving superior segmentation performance compared to other human-label-free methods. The addition of a test-time adaptation to include appearance from a self-supervised DINO model boosts the performance further, even outperforming some supervised approaches that are finetuned on real data sequences.",
  "2 The Object-Centric Layered Representation (OCLR) Model": "This section describes our object-centric layered representation model that ingests optical flow for the frames of a video, and outputs the segmentation masks and tracks of the moving objects it contains. The model also determines the number of moving objects and their depth order. Specifically, the model predicts amodal (i.e. complete) segmentation masks and associates each object with a layer. The layers are composed to form the modal segmentations in the observed optical flow. The model is trained on synthetic sequences to learn temporal coherence and maintain the object shape even under occlusion, and as a consequence, develops a notion of object permanence.",
  "2.1 Layered representation": "For a given video with T frames, we can represent its motion by optical flows, Vflow = {F1, F2, . . . , FT }, we aim to segment the moving objects in videos by adopting a layered model, where each object is segmented and consistently associated to one layer throughout the video:\n{(Â1, r̂1), . . . , (ÂT , r̂T )} = Φ(Vflow) (1)\nwhere Âi ∈ RH×W×K refers to the binary amodal segmentation of the i-th frame, together with a predicted layer depth r̂i ∈ RK . H,W refer to the input height and width, and K denotes the number of object layers. Note that, the layer depth value here does not have a true meaning, but only indicates the layer ordering. By definition, at all time steps, the same layer would remain empty or always bind to the same object throughout the video, i.e. objects can be effectively tracked by the considered layered representation.\nModal mask generation. Given the predicted amodal segmentation and layer depth, we describe the composition procedure to generate the modal segmentation for moving objects. In specific, we permute the index of layers (amodal segmentations) based on their depth values, such that, Âk−1 is always in front of Âk. Note that, pixels in amodal masks defined here are binary-valued, i.e. either 0 or 1. For the i-th frame, its modal segmentation can thus be computed via an iterative, front-to-back blending procedure :\nM̂ki = (1− αki )⊙ Âki (2)\nwhere αki = clip(α k−1 i + M̂ k−1 i , 0, 1), denoting an accumulated opacity layer with α 0 i = 0.",
  "2.2 Architecture": "In order to accommodate the layered representation, we introduce an architecture that takes optical flows as input, and outputs a set of layers and their depths, see Figure 2. We adopt a U-Net architecture with a Transformer-based bottleneck, the queries in transformer decoder play the role as layers in our proposed representation, each is either empty or encoding the amodal shape of one moving object along the video.\nCNN backbone. Given a sequence of optical flow inputs, a U-Net encoder is used to compute frame-wise features, V = {v1, . . . , vT } = {Φenc(F1), . . . ,Φenc(FT )}, where vi ∈ Rh×w×c refers to the feature maps, with height h, width w and number of feature channels c. Following [67], we use Instance Normalisation (IN) [60] after each convolution, which encourages the separation of foreground motions from background.\nTransformer encoder. We flatten the outputs from the ConvNets in both temporal and spatial dimensions, and inject the positional information by adding a set of learnable spatio-temporal embeddings. As a consequence, the video features are converted into a sequence of vectors, and passed into Transformer Encoder to model the temporal relationship across multiple frames.\nTransformer decoder. We pass the vector sequence to transformer decoder, where K learnable embeddings are used as object queries for individual layers. We broadcast the queries along the\ntemporal dimension, and supply positional information with learnable temporal embeddings, Qobj ∈ RTK×c. The queries that only differ in temporal embeddings will be associated to the same moving object along the video.\nAs outputs from transformer decoder, we extract the last cross-attention maps and recover their spatial dimensions, ρ ∈ RTK×h×w×nheads, which will be progressively upsampled with skip connections from the ConvNets encoders, resulting in binary amodal segmentation for the object queries in each frame, {Â1, . . . , ÂT } = Φdec(ρ). Layer ordering. Apart from amodal segmentations, the model will also infer the depth of the layers. We assume a global layer ordering that remains fixed across frames. As shown in Figure 2, output object queries from transformer decoder are maxpooled along the temporal dimension and passed through two feed-forward layers, to get the output r̂ ∈ R1×K , indicating the depth for each of the K layers. Intuitively, this is equivalent to reason the layer depth based on one selected key occlusion frame from the whole sequence. By defining the lowest depth value as corresponding to the top layer, we then obtain a depth order prediction between layers. Note that, for layers that are empty or contain non-interacting objects, the ordering is not strictly defined, thus any prediction should not be penalised.",
  "2.3 Training objectives": "In this section, we describe the training procedure for the proposed architecture, with groundtruth supervision on both amodal segmentation and layer ordering.\nAmodal segmentation loss. In addition to the conventional pixelwise binary classification (Lbce) on each of the K layers, we also adopt a pixelwise classification loss defined only on a strip region around object boundaries, termed as the boundary loss Lbound. This additional loss further emphasises the boundary regions, forcing the model to maintain shape information. During training, since the predicted amodal segmentations are permutation invariant, we use Hungarian matching to match their corresponding ground truth [12], and then compute the amodal loss :\nLamodal = 1\nKT K∑ k=1 T∑ i=1 ( λbce · Lbce(Âki ,Aki ) + λbound · Lbound(Âki ,Aki ) ) (3)\nwhere λbce and λbound are loss weights.\nLayer ordering loss. For layers with mutual occlusions, we train the order prediction module with ranking losses on all K! pairs of layers, formally,\nLorder = 1\nK! ∑ i̸=j − log ( σ ( r̂i − r̂j τ )) (4)\nwhere σ is the sigmoid function with a temperature factor τ , and the ground-truth ordering indicates a relative depth relationship r̂i > r̂j between layer i and j.\nTotal loss. The overall loss for training is a combination of amodal Lamodal and ordering loss Lorder: Ltotal = Lamodal + λorder · Lorder (5)\nwhere λorder is the weight factor for the layer ordering loss.\nDiscussion. As discussed in early sections, our model is trained to infer amodal (i.e. complete) object segmentations and layer depth, even though the object itself may sometimes be invisible in the flow field due to being temporarily static, or partially occluded by other objects. As a result, the model is forced to always maintain the object shape internally, i.e. a notion of object permanence, as well as infer mutual occlusions from the visible flows. In the next section, we will introduce a pipeline for simulating video sequences, where groundtruth amodal segmentations and layer orderings can be generated at scale to train our model.",
  "3 Synthetic dataset generation": "We introduce a scalable pipeline to synthesize videos to train the proposed layered object-centric model. The pipeline builds on the method of Lamdouar et al. [32], but extends it to simulating videos with multiple objects and complex inter-object occlusions through a layer composition.\nAs shown in Figure 3, we first simulate independent motions for foreground objects and backgrounds within each layer. To construct a frame, we overlay the layers via an iterative binary blending procedure, and an occlusion occurs when objects in different layers reside in the same spatial position, similar to the idea discussed in Sect. 2.1. The proposed pipeline yields rich information at frame level, including RGB appearances, groundtruth optical flows, and modal and amodal object segmentations. Additionally, we can also compute optical flows for the RGB sequences with an off-the-shell flow estimator, for example, RAFT [57]. In the following sections, we describe some key procedures for video simulation, and leave more technical details to the Supplementary Material.\nForeground objects. We generate opaque 2D sprites with random shapes and RGB textures as foreground objects. In detail, we adopt two major shapes, namely polygons, and real object sprites. The polygon shapes can be either convex or non-convex, with different numbers of sides. A minimum distance between vertices is also defined to better support vertex-based deformations. On the other hand, the real object masks are directly sourced from the silhouettes in the YouTubeVOS dataset [66]. These generated objects are then applied with textures sampled from the PASS dataset [3], which is a large-scale image dataset with human identifiable information removed.\nNon-rigid object transformations. To simulate non-rigid motions, we apply both homography transformations and thin plate splines to the objects. Thin plate splines define a non-linear coordinate transformation with a set of control points. For polygon-shaped objects, we consider their vertices as control points, and spatially perturb a subset of the vertices by distances di ∈ (0, Di/2), where Di = min (|Pi −Pj |,∀j), defines the minimum distance between the perturbed point Pi and any other points Pj . For real object silhouettes, a uniform grid is distributed over the object, and the grid points are defined as control points, with Di being the distance between adjacent grid points.\nBackgrounds and artificial occluders. To simulate the camera motions, we randomly sample images from the PASS dataset, and apply random homography transformations and color jitterings. Additionally, we replace backgrounds with real videos cropped from copyright-free sources to simulate the complex background motions and depth variations. For cases with objects being occluded, we introduce artificial occluders superimposed as the top layer. These occluders are designed to have the same motion as the background.\nSummary. The proposed simulation pipeline enables an arbitrary number of videos to be generated, together with multiple types of groundtruth annotation; for example, amodal segmentation and layer ordering. We prepare 4k synthetic sequences (around 120k frames) for training, the video sequences contain 1, 2, or 3 objects in equal proportions. In the following, we train all models on this synthetic video dataset unless otherwise specified.",
  "4.1 Datasets": "To evaluate our multi-layer model, we benchmark on several popular datasets for video object segmentation tasks. A brief overview of the datasets is given below, with full details in the Supplementary Material.\nFor single object video segmentation, we evaluate the model on DAVIS2016 [49], SegTrackv2 [34], FBMS-59 [46] and MoCA [33]. Note that, despite the fact that multiple objects may be annotated, the community often treats SegTrackv2 and FBMS-59 as a benchmark for single object segmentation [25, 68] by grouping objects in the foreground.\nTo benchmark motion-based segmentation for multiple objects, we introduce a synthetic validation dataset (Syn-val) and a curated dataset (DAVIS2017-motion). The former is generated with the same parameters as our synthetic training set (Sect. 3), containing over 300 multi-object sequences (around 10k frames) with 1, 2, 3 objects at equal proportions, and controllable occlusions for evaluating modal and amodal segmentations in the ablation studies. Moreover, as objects in common motion cannot be distinguished purely from motion cues, we re-annotate the original DAVIS2017 [51] dataset by grouping jointly moving objects to form a new DAVIS2017-motion dataset. We will release our modified annotations for future research.",
  "4.2 Evaluation metrics": "Following the common practice [49], we adopt region similarity (J ), aka. intersection-over-union, in single object segmentation tasks. While for multiple object segmentation, we additionally consider the contour similarity (F) [44]. As for MoCA dataset, since only bounding box annotations are provided, we follow the same metric used in [37, 67], and report a mean object detection success rate averaged over different IoU thresholds {0.5, 0.6, 0.7, 0.8, 0.9}.",
  "4.3 Implementation details": "Training details. As for pre-processing, we use RAFT to estimate optical flows at ±1 frame gaps, and resize the obtained flows to 128 × 224. During training, we split the video sequences into 30 frames per sample, each input frame is first encoded by a U-Net encoder into a feature map with 1/16 of its original spatial resolution, and passed to the transformer bottleneck. We use K = 3 learnable object queries, associating to 3 independent foreground layers. The model is trained by the Adam optimizer [28] with a learning rate linearly warmed up to 5× 10−5 during 40k iterations, and decreased by half every 80k iterations.\nRGB-based test-time adaptation. To alleviate the drawbacks from using purely flow information (e.g. stationary objects over a long period of time), we investigate the benefits of test-time adaptation with appearance features. For this we use the self-supervised DINO-pretrained vision transformer [13] (ViT-S/8, patch sizes 8× 8). The model is adapted by using the per-frame object masks obtained from the flow-based model predictions as noisy annotations. These annotations are used to finetune the last two layers of the vision transformer by supervised contrastive learning.\nThe finetuned model for each sequence is then applied for mask propagation in the same manner as [24]. Instead of propagating from the first frame of the sequence, we formulate a heuristic selection process that picks a single key frame based on temporal coherence between OCLR segmentation predictions. Object masks in this selected frame are then bi-directionally propagated across the whole sequence. Apart from the starting frame information, flow-predicted masks in other frames are also selectively introduced during the mask propagation process as a form of dynamic refinement. Finally, we adopt CRF as a post-processing step to refine the resultant mask predictions. More technical details can be found in the Supplementary Material.",
  "4.4 Ablation study": "Here, we present a series of ablation studies on training details and pipeline for data simulation however, due to the space limitation, we can only summarise some key findings, we refer the reader to Supplementary Materials for all details.\nAs shown in Table 1, we can make the following observations: First, Instance Normalisation in CNN encoder is indispensable for training the network, as indicated by Ours-A vs. Ours-C; Second, training on only modal mask degrades model performance on all datasets, especially on Syn-Val with multiple objects and occlusions, suggesting that explicit amodal supervision are critical for learning object permanence, as indicated by Ours-B vs. Ours-D; Third, a longer temporal input (OursC vs. Ours-D) tends to result in slightly higher overall performance; Fourth, applying boundary loss (Ours-C vs. Ours-E) leads to a noticeable performance boost. This validates our assumption that\nfocusing on object boundaries can help the model to learn the information regarding object shapes and layer orders from optical flows.",
  "4.5 Single object video segmentation": "In this section, we compare our model with state-of-the-art methods on various single object segmentation benchmarks. Note that, we mainly compare with the self-supervised approaches, as both lines share the same spirit in the sense that training does not require any manual annotation, nor fine-tuning on the target dataset. As shown in Table 2, our flow-only model demonstrates superior performance over all other human-label-free approaches. Figure 4 provides qualitative illustrations of the model, in comparison with other state-of-the-art methods. It can be seen that our predictions are temporally consistent and not affected by noticeable background distractors in flow signals. Furthermore, our model is capable of handling complex scenarios including heavy object deformations and occlusions. The other methods are not able to maintain the object shape consistently, and consequently their performance is weaker.\nThe RGB-based test-time adaptation gives a further performance boost on most of the benchmarks, and is even competitive to some supervised approaches that have been finetuned on the target video data. Note that the test-time adaptation is actually detrimental to performance on MoCA. This is not unexpected though, as MoCA has many camouflage sequences where the objects are not visually distinguishable in appearance from their background environment, and motion provides crucial cues for discovering them.",
  "4.6 Multiple object video segmentation": "To the best of our knowledge, no existing unsupervised approaches have reported performance segmenting multiple objects purely based on optical flow. Apart from re-running the original self-supervised Motion Grouping [67] method (with three foreground queries) as a baseline on\nDAVIS2017-motion, we also train a variant of the Motion Grouping model directly supervised by our synthetic dataset, namely Motion Grouping (sup.). As an additional baseline, we train a Mask R-CNN [22] model with only optical flow inputs on our synthetic data, and refer to this as Mask R-CNN (flow-only). We also compare with existing semi-supervised approaches, where the first-frame ground-truth segmentation is provided, and the model only needs to propagate the masks through the video, thus an easier task than ours which requires to simultaneously discover the objects and track them.\nAs shown in Table 3, our proposed flow-only model outperforms both the Motion Grouping and Mask R-CNN baselines. This is because our OCLR model exploits a layered representation to maintain the object shape through the video, which enables to segment the objects that are under occlusion or having unnoticeable motion. In contrast, Motion Grouping only predicts per-frame segmentations, i.e. not forced to preserve temporal relations between objects. This conjecture can also be confirmed by the qualitative results in Figure 5, for example, despite the person and one dog (4th column) are not visible in the flow, our model still correctly recovers them. Moreover, after RGB-based test-time adaptations, the performance can be further boosted both quantitatively and qualitatively, for example, the boundary of the pig mask in 1st column, the person in the 5th column.",
  "5 Related Work": "Video object segmentation has been a longstanding task in computer vision, two protocols have attracted increasing interest in the recent literature [6, 9, 11, 14, 18, 19, 25–27, 30, 31, 43, 45, 47, 48, 51, 59, 61, 62, 66, 69], namely, semi-supervised video object segmentation (semi-supervised VOS), and unsupervised video object segmentation (unsupervised VOS). The former aims to re-localize one or multiple targets that are specified in the first frame of a video with pixel-wise masks, and the latter considers automatically segmenting the object of interest (usually the most salient one) from the background in a video sequence. Despite being called unsupervised VOS, in practice, the popular methods address such problems by supervised training on large-scale external datasets, this is in contrast to our proposed approach that does not rely on human annotations whatsoever. Motion segmentation focuses on discovering the moving objects in videos. In the literature, [9, 27, 45, 65] proposed to cluster the pixels with similar motion patterns; [14, 58, 59] train deep networks to map the motions to segmentation masks. In [68], adversarial training was adopted to leverage the independent motions between the moving object and its background; In [7, 8, 33], the authors propose to highlight the independently moving object by compensating for the background motion, either by registering consecutive frames, or explicitly estimating camera motion. In [67], a Transformer-like architecture is used to reconstruct the input flows, and the segmentation masks can be generated as a side product. In contrast to the existing approaches that primarily focus on single moving object segmentation, we focus on segmenting multiple moving objects, even under mutual occlusions. Layered representation was originally proposed by Wang and Adelson [63], to represent a video as a composition of layers with simpler motions. Recently, the layer decomposition ideas have been adopted for novel view synthesis [55, 71], separating reflections and other semi-transparent effects [1, 2, 20, 40, 41], or foreground/background estimation [20]. Unlike these approaches that primarily focus on graphics applications, we propose a layered representation to handle the occlusion problems in multi-object discovery purely from their motions. Object-centric representation decomposes the scenes into “objects”, normally, visual frame reconstruction has been widely used as training objective, for example, IODINE [21] uses iterative variational inference to infer a set of latent variables recurrently, with each representing one object in an image. Similarly, MONet [10] and GENESIS [16] also adopt multiple encoding-decoding steps, [29, 39] propose a slot attention mechanism, which enables the iterative binding procedure. In this paper, we also adopt a Transformer variant, but focus on discovering objects in videos by motions.\nAmodal segmentation refers to segmenting the complete shape of objects, including the invisible parts due to possible occlusions. Some existing approaches address this problem by applying humanestimated [52, 56, 64] or synthetic [23] supervision, while other works generate training datasets with synthetic occluders [35, 38, 70]. Although not specifically targeting the amodal segmentation task, our work leverages the idea of amodal perception and grants the trained model a notion of object permanence via synthetic amodal mask supervision.",
  "6 Discussion": "We have achieved our design goal, in that the model is able to handle multiple objects, and their occlusions, and to predict depth ordering of their layers. Also, the model demonstrates superior performance, both quantitatively and qualitatively, over prior methods that rely on zero human annotations. Nevertheless, there are of course some limitations and room for further improvements: First, the current method may fail in very challenging real-world scenarios such as heavy object deformations, complex mutual interactions, etc. Probably a more sophisticated data simulation pipeline with highly articulated objects or even 3D sprites would help to further reduce this Sim2Real domain gap. Second, our test-time adaptation has demonstrated a remarkable performance improvement benefiting from the combination between flow inferences and RGB correlations. This overcomes, to an extent, the problem of the flow-only model ‘forgetting’ the shape of objects when they are stationary for multiple frames. A further direction could naturally be to incorporate RGB information into our flow-based network in pre-training. Third, the model currently uses a global depth ordering for the sequence, so it cannot handle situations such as order altering and mutual occlusions. Potential future studies could work on a more sophisticated layered model by focusing on pair-wise relationships between objects. Despite these limitations, the approach has convincingly demonstrated both the value of inferring amodal segmentation masks, in order to handle occlusions, and the possibility of training such models entirely on synthetic sequences.",
  "Acknowledgements": "This research is funded by EPSRC Programme Grant VisualAI EP/T028572/1, a Royal Society Research Professorship RP\\R1\\191132, and a Clarendon Scholarship. We thank Tengda Han for proof-reading.",
  "Reviewer Summary": "Reviewer_3: Problem: The paper addresses the problem of discovering and segmenting multiple foreground objects in videos without using supervision.\nSolution: The proposed solution involves training on synthetic data and only leveraging optical flow (not RGB) to facilitate easier sim2real generalization. The paper introduces a novel model architecture which tasks as input a sequence of optical flow frames and produces\nK\namodal segmentation masks each associated with an estimated depth ordering. These amodal segmentation maps can be combined using the ordering information to form the final estimated multi-object segmentation map. The architecture involves a transformer based model inspired from DETR which uses K learned queries to produce the K unique outputs.\n\nReviewer_4: The authors propose a new model for amodal segmentation of videos. Given optical flow, a Transformer-based neural network predicts an amodal (i.e., unoccluded) segmentation mask and depth for each object in the input frame. The model is trained using ground truth supervision on a synthetic dataset created by the authors. When evaluated on common video instance segmentation benchmarks, the model shows promising results without requiring further training. The proposed model clearly outperforms previous unsupervised segmentation methods and even outperform some supervised methods trained on the respective benchmarks.\n\nReviewer_5: This paper considers the problem of segmeting multiple moving objects in a scene by taking optical flow as inputs. The solution is composed of two key ideas: First, the inputs are optical flow, so they can employ simulated videos for training, and the learned model is able to generalize to real videos. Second, a depth-oredered layered representation is used to handle mutual occlusion. Experimental results show improvements upon methods with non-layered representation on single/multiple object segmentation datasets.\n\nReviewer_6: This paper proposes a U-net for generating a motion segmentation of a given motion field. In particular the method assumes T snapshots of the field and generates T amodal segmentation masks. The novelty of the paper lies in combining the U-net with a Transformer, i.e. the Transformer receives the latent embeddings of the U-Net encoder and generates output embeddings from which the segmentations masks and an ordering of these masks is inferred. The authors follow the idea of layered motion and assume that each motion segment has unique depth by that the ordering is interpreted as a depth ordering. The model is limited to a fixed size of layers (queries), in this paper three layers. The method is then trained on new synthetic flow data without any manual labelling and applied to a variety of existing datasets and also to new data."
}