Add Batch c5f226d3-3f88-42a6-9383-50d8ac084ff9
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- multimodalcategorizationofcrisiseventsinsocialmedia/60ee740a-3778-41e2-b0a0-e04fea03c2a5_content_list.json +3 -0
- multimodalcategorizationofcrisiseventsinsocialmedia/60ee740a-3778-41e2-b0a0-e04fea03c2a5_model.json +3 -0
- multimodalcategorizationofcrisiseventsinsocialmedia/60ee740a-3778-41e2-b0a0-e04fea03c2a5_origin.pdf +3 -0
- multimodalcategorizationofcrisiseventsinsocialmedia/full.md +423 -0
- multimodalcategorizationofcrisiseventsinsocialmedia/images.zip +3 -0
- multimodalcategorizationofcrisiseventsinsocialmedia/layout.json +3 -0
- multimodalfuturelocalizationandemergencepredictionforobjectsinegocentricviewwithareachabilityprior/9fa52f02-ca93-41c1-a52c-8c41cef6f2aa_content_list.json +3 -0
- multimodalfuturelocalizationandemergencepredictionforobjectsinegocentricviewwithareachabilityprior/9fa52f02-ca93-41c1-a52c-8c41cef6f2aa_model.json +3 -0
- multimodalfuturelocalizationandemergencepredictionforobjectsinegocentricviewwithareachabilityprior/9fa52f02-ca93-41c1-a52c-8c41cef6f2aa_origin.pdf +3 -0
- multimodalfuturelocalizationandemergencepredictionforobjectsinegocentricviewwithareachabilityprior/full.md +293 -0
- multimodalfuturelocalizationandemergencepredictionforobjectsinegocentricviewwithareachabilityprior/images.zip +3 -0
- multimodalfuturelocalizationandemergencepredictionforobjectsinegocentricviewwithareachabilityprior/layout.json +3 -0
- multipleanchorlearningforvisualobjectdetection/b4f6a0d8-5896-4dc8-ae72-b494274284b7_content_list.json +3 -0
- multipleanchorlearningforvisualobjectdetection/b4f6a0d8-5896-4dc8-ae72-b494274284b7_model.json +3 -0
- multipleanchorlearningforvisualobjectdetection/b4f6a0d8-5896-4dc8-ae72-b494274284b7_origin.pdf +3 -0
- multipleanchorlearningforvisualobjectdetection/full.md +339 -0
- multipleanchorlearningforvisualobjectdetection/images.zip +3 -0
- multipleanchorlearningforvisualobjectdetection/layout.json +3 -0
- multiscaledomainadversarialmultipleinstancecnnforcancersubtypeclassificationwithunannotatedhistopathologicalimages/562334c5-99e7-4640-a29b-df10a26e7edf_content_list.json +3 -0
- multiscaledomainadversarialmultipleinstancecnnforcancersubtypeclassificationwithunannotatedhistopathologicalimages/562334c5-99e7-4640-a29b-df10a26e7edf_model.json +3 -0
- multiscaledomainadversarialmultipleinstancecnnforcancersubtypeclassificationwithunannotatedhistopathologicalimages/562334c5-99e7-4640-a29b-df10a26e7edf_origin.pdf +3 -0
- multiscaledomainadversarialmultipleinstancecnnforcancersubtypeclassificationwithunannotatedhistopathologicalimages/full.md +272 -0
- multiscaledomainadversarialmultipleinstancecnnforcancersubtypeclassificationwithunannotatedhistopathologicalimages/images.zip +3 -0
- multiscaledomainadversarialmultipleinstancecnnforcancersubtypeclassificationwithunannotatedhistopathologicalimages/layout.json +3 -0
- multiviewconsistentsemisupervisedlearningfor3dhumanposeestimation/be40a050-980c-448b-9f30-50e35676f426_content_list.json +3 -0
- multiviewconsistentsemisupervisedlearningfor3dhumanposeestimation/be40a050-980c-448b-9f30-50e35676f426_model.json +3 -0
- multiviewconsistentsemisupervisedlearningfor3dhumanposeestimation/be40a050-980c-448b-9f30-50e35676f426_origin.pdf +3 -0
- multiviewconsistentsemisupervisedlearningfor3dhumanposeestimation/full.md +360 -0
- multiviewconsistentsemisupervisedlearningfor3dhumanposeestimation/images.zip +3 -0
- multiviewconsistentsemisupervisedlearningfor3dhumanposeestimation/layout.json +3 -0
- musicgestureforvisualsoundseparation/34f74f88-f44e-49bf-921e-0bbb214eb547_content_list.json +3 -0
- musicgestureforvisualsoundseparation/34f74f88-f44e-49bf-921e-0bbb214eb547_model.json +3 -0
- musicgestureforvisualsoundseparation/34f74f88-f44e-49bf-921e-0bbb214eb547_origin.pdf +3 -0
- musicgestureforvisualsoundseparation/full.md +302 -0
- musicgestureforvisualsoundseparation/images.zip +3 -0
- musicgestureforvisualsoundseparation/layout.json +3 -0
- nasfcosfastneuralarchitecturesearchforobjectdetection/79a4edf5-3b22-4630-b44f-a57292a0b1b8_content_list.json +3 -0
- nasfcosfastneuralarchitecturesearchforobjectdetection/79a4edf5-3b22-4630-b44f-a57292a0b1b8_model.json +3 -0
- nasfcosfastneuralarchitecturesearchforobjectdetection/79a4edf5-3b22-4630-b44f-a57292a0b1b8_origin.pdf +3 -0
- nasfcosfastneuralarchitecturesearchforobjectdetection/full.md +281 -0
- nasfcosfastneuralarchitecturesearchforobjectdetection/images.zip +3 -0
- nasfcosfastneuralarchitecturesearchforobjectdetection/layout.json +3 -0
- nestedscaleeditingforconditionalimagesynthesis/13c575f9-7a5f-4222-bbd3-d11d279e2ba2_content_list.json +3 -0
- nestedscaleeditingforconditionalimagesynthesis/13c575f9-7a5f-4222-bbd3-d11d279e2ba2_model.json +3 -0
- nestedscaleeditingforconditionalimagesynthesis/13c575f9-7a5f-4222-bbd3-d11d279e2ba2_origin.pdf +3 -0
- nestedscaleeditingforconditionalimagesynthesis/full.md +314 -0
- nestedscaleeditingforconditionalimagesynthesis/images.zip +3 -0
- nestedscaleeditingforconditionalimagesynthesis/layout.json +3 -0
- nestedvaeisolatingcommonfactorsviaweaksupervision/541c3b54-866e-4c39-8dc7-fac3a67f24d3_content_list.json +3 -0
- nestedvaeisolatingcommonfactorsviaweaksupervision/541c3b54-866e-4c39-8dc7-fac3a67f24d3_model.json +3 -0
multimodalcategorizationofcrisiseventsinsocialmedia/60ee740a-3778-41e2-b0a0-e04fea03c2a5_content_list.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2639b424867cd7b39f3cd8446d65b7155a8ab7217131acbc36c4e3afd2deef04
|
| 3 |
+
size 92264
|
multimodalcategorizationofcrisiseventsinsocialmedia/60ee740a-3778-41e2-b0a0-e04fea03c2a5_model.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e1a49c9a783054cbaa1a9f1170a0783c567167f9248460aa2f0729ad54d5b338
|
| 3 |
+
size 116620
|
multimodalcategorizationofcrisiseventsinsocialmedia/60ee740a-3778-41e2-b0a0-e04fea03c2a5_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1fd5f5a3933c13ca65e5a90ad9711dddb10bda2afdd21a019d4bb6c7fb42d13a
|
| 3 |
+
size 780669
|
multimodalcategorizationofcrisiseventsinsocialmedia/full.md
ADDED
|
@@ -0,0 +1,423 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Multimodal Categorization of Crisis Events in Social Media
|
| 2 |
+
|
| 3 |
+
Mahdi Abavisani*
|
| 4 |
+
|
| 5 |
+
Dataminr Inc., New York, NY
|
| 6 |
+
|
| 7 |
+
mabavisani@dataminr.com
|
| 8 |
+
|
| 9 |
+
Liwei Wu*
|
| 10 |
+
|
| 11 |
+
Department of Statistics
|
| 12 |
+
|
| 13 |
+
University of California, Davis
|
| 14 |
+
|
| 15 |
+
Davis, CA
|
| 16 |
+
|
| 17 |
+
liwu@ucdavis.edu
|
| 18 |
+
|
| 19 |
+
Shengli Hu
|
| 20 |
+
|
| 21 |
+
Dataminr Inc., New York, NY
|
| 22 |
+
|
| 23 |
+
shu@dataminr.com
|
| 24 |
+
|
| 25 |
+
Joel Tetreault
|
| 26 |
+
|
| 27 |
+
Dataminr Inc., New York, NY
|
| 28 |
+
|
| 29 |
+
jtetreault@dataminr.com
|
| 30 |
+
|
| 31 |
+
Alejandro Jaimes
|
| 32 |
+
|
| 33 |
+
Dataminr Inc., New York, NY
|
| 34 |
+
|
| 35 |
+
ajaimes@dataminr.com
|
| 36 |
+
|
| 37 |
+
# Abstract
|
| 38 |
+
|
| 39 |
+
Recent developments in image classification and natural language processing, coupled with the rapid growth in social media usage, have enabled fundamental advances in detecting breaking events around the world in real-time. Emergency response is one such area that stands to gain from these advances. By processing billions of texts and images a minute, events can be automatically detected to enable emergency response workers to better assess rapidly evolving situations and deploy resources accordingly. To date, most event detection techniques in this area have focused on image-only or text-only approaches, limiting detection performance and impacting the quality of information delivered to crisis response teams. In this paper, we present a new multimodal fusion method that leverages both images and texts as input. In particular, we introduce a cross-attention module that can filter uninformative and misleading components from weak modalities on a sample by sample basis. In addition, we employ a multimodal graph-based approach to stochastically transition between embeddings of different multimodal pairs during training to better regularize the learning process as well as dealing with limited training data by constructing new matched pairs from different samples. We show that our method outperforms the unimodal approaches and strong multimodal baselines by a large margin on three crisis-related tasks.
|
| 40 |
+
|
| 41 |
+
# 1. Introduction
|
| 42 |
+
|
| 43 |
+
Each second, billions of images and texts that capture a wide range of events happening around us are uploaded to
|
| 44 |
+
|
| 45 |
+
Oh shit...no injuries..no fire...but somehow two private jets here just North of San Antonio Airport...bizarre accident..
|
| 46 |
+
|
| 47 |
+

|
| 48 |
+
Figure 1. A Crisis-related Image-text Pair from Social Media
|
| 49 |
+
|
| 50 |
+
social media platforms from all over the world. At the same time, the fields of Computer Vision (CV) and Natural Language Processing (NLP) are rapidly advancing [25, 23, 15] and are being deployed at scale. With large-scale visual recognition and textual understanding available as fundamental tools, it is now possible to identify and classify events across the world in real-time. This is possible, to some extent, in images and text separately, and in limited cases, using a combination. A major difficulty in crisis events, $^{1}$ in particular, is that as events surface and evolve, users post fragmented, sometimes conflicting information in the form of image-text pairs. This makes the automatic identification of notable events significantly more challenging.
|
| 51 |
+
|
| 52 |
+
Unfortunately, in the middle of a crisis, the information that is valuable for first responders and the general public often comes in the form of image-text pairs. So while traditional CV and NLP methods that treat visual and textual information separately can help, a big gap exists in current approaches. Despite the general consensus on the importance of using AI for Social Good [22, 20, 4], the power of social media, and a long history of interdisciplinary research on humanitarian crisis efforts, there has been very little work on automatically detecting crisis events jointly using visual and textual information.
|
| 53 |
+
|
| 54 |
+
Prior approaches that tackle the detection of crisis events have focused on either image-only or text-only approaches. As shown in Figure 1, however, an image alone can be ambiguous in terms of its urgency whereas the text alone may lack details.
|
| 55 |
+
|
| 56 |
+
To address these issues, we propose a framework to detect crisis events using a combination of image and text information. In particular, we present an approach to automatically label images, text, and image-text pairs based on the following criteria/tasks: 1) Informativeness: whether the social media post is useful for providing humanitarian aid in an emergency event, 2) Event Classification: identifying the type of emergency (in Figure 2, we show some of the categories that different image-text pairs belong to in our event classification task), and 3) Severity: rating how severe the emergency is based on the damage indicated in the image and text. Our framework consists of several steps in which, given an image-text pair, we create a feature map for the image, generate word embeddings for the text, and propose a cross-attention mechanism to fuse information from the two modalities. It differs from previous multimodal classification in how it deals with fusing that information.
|
| 57 |
+
|
| 58 |
+
In short, we present a novel, multimodal framework for classification of multimodal data in the crisis domain. This approach, "Cross Attention", avoids transferring negative knowledge between modalities and makes use of stochastic shared embeddings to mitigate overfitting in small data as well as dealing with training data with inconsistent labels for different modalities. Our model outperforms strong unimodal and multimodal baselines by up to 3 F-score points across three crisis tasks.
|
| 59 |
+
|
| 60 |
+
# 2. Related Work
|
| 61 |
+
|
| 62 |
+
AI for Emergency Response: Recent years have seen an explosion in the use of Artificial Intelligence for Social Good [22, 20, 4]. Social media has proven to be one of most relevant and diverse resources and testbeds, whether it be for identifying risky mental states of users [11, 17, 21], recognizing emergent health hazards [16], filtering for and detecting natural disasters [48, 40, 47], or surfacing violence and aggression in social media [10].
|
| 63 |
+
|
| 64 |
+

|
| 65 |
+
|
| 66 |
+

|
| 67 |
+
|
| 68 |
+

|
| 69 |
+
Figure 2. Samples from Task 2; Event Classification with Texts and Images.
|
| 70 |
+
|
| 71 |
+

|
| 72 |
+
|
| 73 |
+
Most prior work on detecting crisis events in social media has focused on text signals. For instance, Kumar et al. [33] propose a real-time tweet-tracking system to help first responders gain situational awareness once a disaster happens. Shekhar et al. [50] introduce a crisis analysis system to estimate the damage level of properties and the distress level of victims. At a large scale, filtering (e.g., by anomaly or burst detection), identifying (e.g., by clustering), and categorizing (e.g., by classifying) disaster-related texts on social media have been the foci of multiple research groups [53, 57, 62], achieving accuracy levels topping at 0.75 on small annotated datasets collected from Twitter.
|
| 74 |
+
|
| 75 |
+
Disaster detection in images has been an active front, whether it be user-generated content or satellite images (for a detailed survey, refer to Said et al. [48]). For instance, Ahmad et al. [5] introduce a pipeline method to effectively link remote sensor data with social media to better assess damage and obtain detailed information about a disaster. Li et al. [37] use convolutional neural networks and visualization methods to locate and quantify damage in a disaster images. Nalluru et al. [42] combine semantic textual and image features to classify the relevancy of social media posts in emergency situations.
|
| 76 |
+
|
| 77 |
+
Our framework focuses on combining images and text, yielding performance improvements on three disaster classification tasks.
|
| 78 |
+
|
| 79 |
+
Deep Multimodal Learning: In deep multimodal learning, neural networks are used to integrate the complementary information from multiple representations (modalities) of the same phenomena [59, 43, 3, 13, 2]. In many applications, including image captioning [9, 45], visual question
|
| 80 |
+
|
| 81 |
+
answering [8, 19], and text-image matching [51, 18, 35], combining image and text signals is of interest. Thus many recent works study image-text fusion [39, 36, 55, 54].
|
| 82 |
+
|
| 83 |
+
Existing multimodal learning frameworks applied to the crisis domain are relatively limited. Lan et al. [34] combine early fusion and late fusion methods to incorporate their advantages, Ilyas [28] introduce a disaster classification system based on naive-bayes classifiers and support vector machines. Kelly et al. [30] introduce a system for real-time extraction of information from text and image content in Twitter messages with exploiting the spatio-temporal metadata for filtering, visualizing, and monitoring flooding events. Mouzannar et al. [41] propose a multimodal deep learning framework to identify damage related information on social media posts with texts, images, and video.
|
| 84 |
+
|
| 85 |
+
In the application of crisis tweets categorization, one modality may contain uninformative or even misleading information. The attention module in our model passes information based on the confidence in the usefulness of different modalities. The more confident modality blocks weak or misleading features from the other modality through their cross-attention link. The partially blocked results of both modalities are later judged by a self-attention layer to decide which information should be passed to the next layer. While our attention module is closely related to co-attention and self-attention mechanisms [58, 24, 38, 19, 27, 45], unlike them, it does not need the input features to be homogeneous. In contrast, self-attention and co-attention layers can be sensitive to heterogeneous inputs. The details of the model are described in the next section.
|
| 86 |
+
|
| 87 |
+
# 3. Methodology
|
| 88 |
+
|
| 89 |
+
The architecture we propose is designed for classification problems that takes as input image-text pairs such as user generated tweets in social media, as illustrated in Figure 3, where the DenseNet and BERT graphs are from [26] and [15]. Our methodology consists of 4 parts: the first two parts extract feature maps from the image and extract embeddings from the text, respectively; the third part comprises our cross-attention approach to fuse projected image and text embeddings; and the fourth part uses Stochastic Shared Embeddings (SSE) [60] as our regularization technique to prevent over-fitting and deal with training data with inconsistent labels for image and text pairs.
|
| 90 |
+
|
| 91 |
+
We describe each module in the sub-sections that follow.
|
| 92 |
+
|
| 93 |
+
# 3.1. Image Model for Feature Map Extraction:
|
| 94 |
+
|
| 95 |
+
We extract feature maps from images using Convolutional Neural Networks (CNNs). In our model we select DenseNet [26], which reduces module sizes and increases connections between layers to address parameter redundancy and improve accuracy (other approaches, such as EfficientNet [56] could also be used, but DenseNet is efficient
|
| 96 |
+
|
| 97 |
+

|
| 98 |
+
Figure 3. Illustration of Our Framework. Embedding features are extracted from images and texts by DenseNet and BERT networks, respectively, and are integrated by the cross-attention module. In the training process, the embeddings of different samples are stochastically transitioned between each other to provide a robust regularization.
|
| 99 |
+
|
| 100 |
+
and commonly used for this task).
|
| 101 |
+
|
| 102 |
+
For each image $v_{i}$ , we therefore have:
|
| 103 |
+
|
| 104 |
+
$$
|
| 105 |
+
f _ {i} = \mathbf {D e n s e N e t} (v _ {i}), \tag {1}
|
| 106 |
+
$$
|
| 107 |
+
|
| 108 |
+
where $v_{i}$ is the input image, $f_{i}\in \mathbb{R}^{D_{f}}$ is the vectorized form of a deep feature map in the DenseNet with dimension $D_{f} = W\times H\times C$ , where $W,H,C$ are the feature map's height, width and number of channels respectively.
|
| 109 |
+
|
| 110 |
+
# 3.2. Text Model for Embedding Extraction:
|
| 111 |
+
|
| 112 |
+
Full-network pre-training [44, 15] has led to a series of breakthroughs in language representation learning. Specifically, deep-bidirectional Transformer models such as BERT [15] and its variants [61, 7] have achieved state-of-the-art results on various natural language processing tasks by leveraging close and next-sentence prediction tasks as weakly-supervised pre-training. Therefore, we use BERT as our core model for extracting embeddings from text (variants such as XLNET [61] and ALBERT [7] could also be used). We use the BERT model pre-trained on Wiki and Books data[29] on crisis-related tweets $t_i$ 's. For each text input $t_i$ , we have
|
| 113 |
+
|
| 114 |
+
$$
|
| 115 |
+
e _ {i} = \mathbf {B E R T} (t _ {i}), \tag {2}
|
| 116 |
+
$$
|
| 117 |
+
|
| 118 |
+
where $t_i$ is a sequence of word-piece tokens and $e_i \in \mathbb{R}^{756}$ is the sentence embedding. Similar to the BERT paper [15], we take the embedding associated with [CLS] to represent the whole sentence.
|
| 119 |
+
|
| 120 |
+
In the next subsection we detail how DenseNet and BERT are fused.
|
| 121 |
+
|
| 122 |
+
# 3.3. Cross-attention module for avoiding negative knowledge in fusion:
|
| 123 |
+
|
| 124 |
+
After we obtain the image feature map $f_{i}$ (DenseNet) and the sentence embedding $e_{i}$ (BERT), we use a new cross
|
| 125 |
+
|
| 126 |
+
attention mechanism to fuse the information they represent. In many text-vision tasks, the input pair can contain noise. In particular, in classification of tweets, one modality may contain non-informative or even misleading information. In such a case, negative information transfer can occur. Our model can mitigate the effects of one modality over another on a case by case basis.
|
| 127 |
+
|
| 128 |
+
To address this issue, in our cross-attention module, we use a combination of cross-attention layers and a self-attention layer. In this module, each modality can block the features of the other modality based on its confidence in the usefulness of its input. This happens with the cross-attention layer. The result of partially blocked features from both modalities is later fed to a self-attention layer to decide which information should be passed to the next layer.
|
| 129 |
+
|
| 130 |
+
The self-attention layer exploits a fully-connected layer to project the image feature map into a fixed dimensionality $K$ (we use $K = 100$ ), and similarly project the sentence embedding so that:
|
| 131 |
+
|
| 132 |
+
$$
|
| 133 |
+
\tilde {f} _ {i} = F \left(W _ {v} ^ {T} f _ {i} + b _ {v}\right),
|
| 134 |
+
$$
|
| 135 |
+
|
| 136 |
+
$$
|
| 137 |
+
\tilde {e} _ {i} = F \left(W _ {e} ^ {T} e _ {i} + b _ {e}\right), \tag {3}
|
| 138 |
+
$$
|
| 139 |
+
|
| 140 |
+
where $F$ represents an activation function such as ReLU (used in our experiments) and both $\tilde{f}_i$ and $\tilde{e}_i$ are of dimension $K = 100$ .
|
| 141 |
+
|
| 142 |
+
In the case of misleading information in one modality, without an attention mechanism (such as co-attention [39]), the resulting $\tilde{f}_i$ and $\tilde{e}_i$ cannot be easily combined without hurting performance. Here, we propose a new attention mechanism called cross-attention (Figure 3), which differs from standard co-attention mechanisms: the attention mask $\alpha_{v_i}$ for the image is completely dependent on the text embedding $e_i$ , while the attention mask $\alpha_{e_i}$ for the text is completely dependent on the image embedding $f_i$ . Mathematically, this can be expressed as follows:
|
| 143 |
+
|
| 144 |
+
$$
|
| 145 |
+
\alpha_ {v _ {i}} = \sigma \left(W _ {v} ^ {\prime T} f _ {i} + b _ {v} ^ {\prime}\right),
|
| 146 |
+
$$
|
| 147 |
+
|
| 148 |
+
$$
|
| 149 |
+
\alpha_ {e _ {i}} = \sigma \left(W _ {e} ^ {\prime T} e _ {i} + b _ {e} ^ {\prime}\right), \tag {4}
|
| 150 |
+
$$
|
| 151 |
+
|
| 152 |
+
where $\sigma$ is the Sigmoid function. Co-attention, in contrast, can be expressed as follows:
|
| 153 |
+
|
| 154 |
+
$$
|
| 155 |
+
\alpha_ {v _ {i}} = \sigma \left(W _ {v} ^ {\prime T} [ f _ {i} | e _ {i} ] + b _ {v} ^ {\prime}\right),
|
| 156 |
+
$$
|
| 157 |
+
|
| 158 |
+
$$
|
| 159 |
+
\alpha_ {e _ {i}} = \sigma \left(W _ {e} ^ {\prime T} \left[ f _ {i} \mid e _ {i} \right] + b _ {e} ^ {\prime}\right), \tag {5}
|
| 160 |
+
$$
|
| 161 |
+
|
| 162 |
+
where | means concatenation.
|
| 163 |
+
|
| 164 |
+
After we have the attention masks $\alpha_{v_i},\alpha_{e_i}$ for image and text respectively, we can augment the projected image and text embeddings $\tilde{f}_i,\tilde{e}_i$ with $\alpha_{v_i}\cdot \tilde{f}_i$ and $\alpha_{e_i}\cdot \tilde{e}_i$ before performing concatenation or adding. In our experiments, we use concatenation but obtained similar performance using addition.
|
| 165 |
+
|
| 166 |
+
The last step of this module takes the concatenated embedding which jointly represents the image and text tuple in and feeds into the two-layer fully-connected networks. We add self-attention in the fully-connected networks and use the standard softmax cross-entropy loss for the classification.
|
| 167 |
+
|
| 168 |
+
In Section 4, we show that the combination of cross-attention layers and the self-attention layer on their concatenation works better than co-attention and self-attention mechanisms for the tasks we address in this paper.
|
| 169 |
+
|
| 170 |
+
# 3.4. SSE for Better Regularization
|
| 171 |
+
|
| 172 |
+
Due to unforeseeable and unpredictable nature of disasters, and also because they require fast processing and reaction, one often has to deal with limited annotations for user-generated content during crises. Using regularization techniques to mitigate this issue becomes especially important. In this section, we extend Stochastic Shared Embeddings (SSE) technique [60] to its multimodal version for taking the full advantage from the annotated data by 1) generating new artificial multimodal pairs. 2) also including the annotated data with inconsistent labels for text and image in the training process.
|
| 173 |
+
|
| 174 |
+
SSE-Graph [60], a variation of SSE, is a data-driven approach for regularizing embedding layers which uses a knowledge graph to stochastically make transitions between embeddings of different samples during the stochastic gradient descent (SGD). That means, during the training, based on a knowledge graph, there is a chance that embeddings of different samples being swapped. We use the text and image labels to construct knowledge graphs that can be used to create stochastic multimodal training samples with consistent labels for both the image and text.
|
| 175 |
+
|
| 176 |
+
We treat feature maps of images as embeddings and use class labels to construct knowledge graphs. The feature maps of two images are connected by an edge in the graph, if and only if they belong to the same class (e.g. they are both labeled "affected individuals"). We follow the same procedure for text embeddings and construct a knowledge graph for text embeddings as well. Finally, we connect the nodes associated with the knowledge graph of image feature maps with an edge to nodes in text's knowledge graph if and only if they belong to the same class.
|
| 177 |
+
|
| 178 |
+
Let $\Phi^v$ and $\Phi^t$ be sets of parameters. We define the transition probability $p(i^v, j^v | \Phi^v)$ as probability of transition from $i^v$ to $j^v$ , where $i^v$ and $j^v$ are nodes in the image knowledge graph that correspond to image features $f_i$ and $f_j$ . Similarly, we define $p(i^t, k^t | \Phi^t)$ as probability of transition from $i^t$ to $k^t$ (nodes corresponding to text embeddings $e_i$ and $e_k$ , respectively).
|
| 179 |
+
|
| 180 |
+
Taking image feature maps as an example, if $i^v$ is connected to $j^v$ but not connected to $l^v$ in the knowledge graph, one simple and effective way to generate more multimodal
|
| 181 |
+
|
| 182 |
+
pairs is to use a random walk (with random restart and self-loops) on the knowledge graph. Since we are more interested in transitions within embeddings of consistent labels, in each transition probability, we set the ratio of $p(i^v,j^v|\Phi^v)$ and $p(i^v,l^v|\Phi^v)$ to be a constant greater than 1. In more formal notation, we have
|
| 183 |
+
|
| 184 |
+
$$
|
| 185 |
+
i ^ {v} \sim j ^ {v}, i ^ {v} \not \sim l ^ {v} \longrightarrow p (i ^ {v}, j ^ {v} | \Phi^ {v}) / p (i ^ {v}, l ^ {v} | \Phi^ {v}) = \rho^ {v}, \tag {6}
|
| 186 |
+
$$
|
| 187 |
+
|
| 188 |
+
where $\rho^v$ is a tuning parameter and $\rho^v > 1$ , and $\sim$ and $\gamma$ denote connected and not connected nodes in the knowledge graph. We also have:
|
| 189 |
+
|
| 190 |
+
$$
|
| 191 |
+
p \left(i ^ {v}, i ^ {v} \mid \Phi\right) = 1 - p _ {0} ^ {v}, \tag {7}
|
| 192 |
+
$$
|
| 193 |
+
|
| 194 |
+
where $p_0^v$ is called the SSE probability for image features.
|
| 195 |
+
|
| 196 |
+
We similarly define $\rho^t$ and $p_0^t$ in $\Phi^t = \{\rho^t, p_0^t\}$ for text embeddings. Note that $\rho^t$ is defined with respect to the image features' label. That is
|
| 197 |
+
|
| 198 |
+
$$
|
| 199 |
+
i ^ {v} \sim j ^ {t}, i ^ {v} \not \sim l ^ {t} \longrightarrow p (i ^ {t}, j ^ {t} | \Phi^ {t}) / p (i ^ {t}, l ^ {t} | \Phi^ {t}) = \rho^ {t}. \tag {8}
|
| 200 |
+
$$
|
| 201 |
+
|
| 202 |
+
Both $\Phi^v$ and $\Phi^t$ parameters sets are treated as tuning hyper-parameters in experiments and can be tuned fairly easily. With Eq. (8), Eq. (7) and $\sum_{k^v}p(j^v,k^v|\Phi^v),\sum_{k^t}p(j^t,k^t|\Phi^t) = 1$ , we can derive transition probabilities between any two sets of feature maps in images and texts to fill out the transition probability table.
|
| 203 |
+
|
| 204 |
+
With the right parameter selection, each multimodal pair in the training can be transitioned to many more multimodal pairs that are highly likely to have consistent labels for the image and text pairs which can mitigate both the issues of limited number of training samples and inconsistency in the annotations of image-text pairs.
|
| 205 |
+
|
| 206 |
+
# 4. Experimental Setup
|
| 207 |
+
|
| 208 |
+
The image-text classification problem we consider can be formulated as follows: we have as input $(v_{1},t_{1}),\ldots ,(v_{i},t_{i}),\ldots ,(v_{n},t_{n})$ , where $n$ is the number of training tuples and the $i$ -th tuple consists of both image $v_{i}$ and text $t_i$ . The respective labels for $v_{i}$ and $t_i$ 's are also given in training data. Our goal is to predict the correct label for any unseen $(v,t)$ pair. To simplify the evaluation, we assume there is only one correct label associated with the unseen $(v,t)$ pairs. As a result, this paper targets a multi-class classification problem instead of a multi-label problem.
|
| 209 |
+
|
| 210 |
+
# 4.1. Dataset
|
| 211 |
+
|
| 212 |
+
There are very few crisis datasets, and to the best of our knowledge there is only one multimodal crisis dataset, CrisisMMD [6]. It consists of annotated image-tweet pairs where images and tweets are independently labeled as
|
| 213 |
+
|
| 214 |
+
described below. We use this dataset for our experiments. The dataset was collected using event-specific keywords and hashtags during seven natural disasters in 2017: Hurricane Irma, Hurricane Harvey, Hurricane Maria, the Mexico earthquake, California wildfires, Iraq-Iran earthquakes, and Sri Lanka floods. The corpus is comprised of three types of manual annotations:
|
| 215 |
+
|
| 216 |
+
Task 1: Informative vs. Not Informative: whether a given tweet text or image is useful for humanitarian aid purposes, defined as providing assistance to people in need.
|
| 217 |
+
|
| 218 |
+
Task 2: Humanitarian Categories: given an image, or tweet, or both, categorize it into one of the five following categories:
|
| 219 |
+
|
| 220 |
+
Infrastructure and utility damage
|
| 221 |
+
- Vehicle damage
|
| 222 |
+
- Rescue, volunteering, or donation efforts
|
| 223 |
+
- Affected individuals (injury, dead, missing, found, etc.)
|
| 224 |
+
- Other relevant information
|
| 225 |
+
|
| 226 |
+
Note that we merge the data that are labeled as injured or dead people and missing or found people in the CrisisMMD with those that are labeled as affected individuals and view all of them as one class of data.
|
| 227 |
+
|
| 228 |
+
Task 3: Damage Severity: assess the severity of damage reported in a tweet image and classify it into Severe, Mild, and Little/None.
|
| 229 |
+
|
| 230 |
+
It is important to note that while the annotations for the last task are only on images. Our experiments reveal that using tweet texts along with the images can boost performance. In addition, our paper is the first one to perform all three tasks on this dataset (text-only, image-only, combined).
|
| 231 |
+
|
| 232 |
+
# 4.2. Settings
|
| 233 |
+
|
| 234 |
+
Images and text from tweets in this dataset were annotated independently. Thus, in many cases, images and text in the same pairs may not share the same labels for either Task 1 or Task 2 (labels for Task 3 were only created by annotating the images). Given the different evaluation conditions, we carry out three evaluation settings for the sake of being comprehensive in our model assessment but also to establish best practices for the community: Setting A: we exclude the image-text pairs with differing labels for image and text; Setting B: we include the image-text pairs with different labels in the training set but keep the test set the same as in A.
|
| 235 |
+
|
| 236 |
+
In addition, we introduce Setting $C$ to mimic a realistic crisis tweet classification task where we only train on events that have transpired before the event(s) in the test set.
|
| 237 |
+
|
| 238 |
+
Table 1 shows the number of samples in each set for
|
| 239 |
+
|
| 240 |
+
Table 1. Number of samples in different splits of our settings.
|
| 241 |
+
|
| 242 |
+
<table><tr><td>Setting</td><td># of Training samples</td><td># of Dev samples</td><td># of Test samples</td></tr><tr><td colspan="4">Setting A</td></tr><tr><td>Task1:</td><td>7876</td><td>553</td><td>2821</td></tr><tr><td>Task2:</td><td>1352</td><td>540</td><td>1467</td></tr><tr><td>Task3:</td><td>2590</td><td>340</td><td>358</td></tr><tr><td colspan="4">Setting B</td></tr><tr><td>Task1:</td><td>12680</td><td>553</td><td>2821</td></tr><tr><td>Task2:</td><td>5433</td><td>540</td><td>1467</td></tr><tr><td colspan="4">Setting C</td></tr><tr><td>Experiment 1:</td><td>174</td><td>-</td><td>217</td></tr><tr><td>Experiment 2:</td><td>4037</td><td>-</td><td>217</td></tr><tr><td>Experiment 3:</td><td>4761</td><td>-</td><td>217</td></tr></table>
|
| 243 |
+
|
| 244 |
+
different setting and tasks.
|
| 245 |
+
|
| 246 |
+
Setting A: In this setting our train and test data is sampled from tweets in which the text and image pairs have the same label. That is:
|
| 247 |
+
|
| 248 |
+
$$
|
| 249 |
+
\mathcal {C} \left(v _ {i}\right) = \mathcal {C} \left(t _ {i}\right), \tag {9}
|
| 250 |
+
$$
|
| 251 |
+
|
| 252 |
+
where $\mathcal{C}(x)$ denotes the class of data point $x$ . This results in a small, yet potentially more reliable training set. We mix the data from all seven crisis events and split the data into training, dev and test sets.
|
| 253 |
+
|
| 254 |
+
Setting B: We relax the assumption in Equation 9 and allow in training:
|
| 255 |
+
|
| 256 |
+
$$
|
| 257 |
+
\mathcal {C} \left(v _ {i}\right) \neq \mathcal {C} \left(t _ {i}\right), \tag {10}
|
| 258 |
+
$$
|
| 259 |
+
|
| 260 |
+
As the training set of this setting contains samples with inconsistent labels for image and text, multimodal fusion methods such as late feature fusion cannot deal with the training data. Our method, on the other hand, with the use of the proposed multimodal SSE, can transition the training instance with in consistent labels to a new training pair with consistent labels. We do this by manually setting $p_0^t = 1$ for the training cases with inconsistent image-text labels (i.e. all the text samples are transitioned). Since unimodal models only receive one of the modalities, it is also possible to train them separately on images and texts and use an average of their prediction in the testing stage (also known as score level fusion).
|
| 261 |
+
|
| 262 |
+
However, we maintain the assumption of Eq. (9) for the test data. This helps to directly compare the two settings with the same test samples. In fact, in practice, the data is most valuable when the class labels match for both image and text. The rationale is that detecting an event is more valuable to crisis managers than the categorization of different parts of that event. Our dev and test sets for this setting are similar to the previous setting. However, the training set contains a larger number of samples where their image-text pairs are not necessarily labeled as the same class.
|
| 263 |
+
|
| 264 |
+
Setting C: This setting is closest to the real-world scenario where we analyze the new event of a crisis with a model
|
| 265 |
+
|
| 266 |
+
trained on previous crisis events. First, we require the training and test sets to be from crisis events of a different nature (i.e., wildfire vs. flood). Second, we maintain the temporal component and only train on events that have happened before the tweets of the testing set. Since collecting annotated data on an urgent ongoing-event is not possible, and also because an event of crisis may do not have a similar annotated event in the past, these two restrictions often simulate a real-world scenario. For the experiments of this setting, there is no dev set. Instead, we use a random portion of the training data to tune the hyper-parameters.
|
| 267 |
+
|
| 268 |
+
We test on the tweets that are related to the California Wildfire (Oct 10 - 27, 2017), and train on the following three sets:
|
| 269 |
+
|
| 270 |
+
1. Sri Lanka Floods tweets (May 31- Jul. 3, 2017)
|
| 271 |
+
2. Sri Lanka Floods, and Hurricane Harvey and Hurricane Irma tweets (May 31-Sept. 21, 2017)
|
| 272 |
+
3. Sri Lanka Floods, Hurricanes Harvey and Irma and Mexico Earthquakes (May 31 - Oct. 5, 2017).
|
| 273 |
+
|
| 274 |
+
Similar to setting B, for the test set (i.e. California Wildfire) we only consider the samples with consistent labels for image and text, but for the training sets, we use all the available samples.
|
| 275 |
+
|
| 276 |
+
# 4.3. Baselines
|
| 277 |
+
|
| 278 |
+
We compare our method against several state-of-the-art methods for text and/or image classification. There are a number of categories of baseline methods we compare against. In the first category, we compare to DenseNet and BERT, which are of the most commonly used unimodal classification networks for images and texts respectively. We use Wikipedia pre-trained BERT and pre-trained DenseNet on ImageNet [14], and fine-tune them on the training sets.
|
| 279 |
+
|
| 280 |
+
The second category of baseline methods include several recently proposed multimodal fusion methods for classification:
|
| 281 |
+
|
| 282 |
+
- Compact Bilinear Pooling [19]: multimodal compact bilinear pooling is a fusion technique first used in visual question answering task but can be easily modified to perform standard classification task.
|
| 283 |
+
- Compact Bilinear Gated Pooling [32]: this fusion method is an adaptation of the compact bilinear pooling method where an extra attention gate is added on top the compact bilinear pooling module.
|
| 284 |
+
- MMBT [31]: recently proposed supervised multimodal bittransformers model for classifying images and text.
|
| 285 |
+
|
| 286 |
+
The third category is the score level Score Fusion and late feature fusion Feature Fusion of DenseNet and BERT networks. Score level fusion is one of the most common fusion techniques. It averages the predictions of separate networks trained on the different modalities. Feature Fusion is one of the most effective methods for integrating two
|
| 287 |
+
|
| 288 |
+
Table 2. Setting A: Informativeness Task, Humanitarian Categorization Task and Damage Severity Task Evaluations
|
| 289 |
+
|
| 290 |
+
<table><tr><td rowspan="2">Model</td><td colspan="3">Informativeness Task</td><td colspan="3">Humanitarian Categorization Task</td><td colspan="3">Damage Severity Task</td></tr><tr><td>Acc</td><td>Macro F1</td><td>Weighted F1</td><td>Acc</td><td>Macro F1</td><td>Weighted F1</td><td>Acc</td><td>Macro F1</td><td>Weighted F1</td></tr><tr><td>DenseNet [26]</td><td>81.57</td><td>79.12</td><td>81.22</td><td>83.44</td><td>60.45</td><td>86.96</td><td>62.85</td><td>52.34</td><td>66.10</td></tr><tr><td>BERT [15]</td><td>84.90</td><td>81.19</td><td>83.30</td><td>86.09</td><td>66.83</td><td>87.83</td><td>68.16</td><td>45.04</td><td>61.09</td></tr><tr><td>Compact Bilinear Pooling[19]</td><td>88.12</td><td>86.18</td><td>87.61</td><td>89.30</td><td>67.18</td><td>90.33</td><td>66.48</td><td>61.03</td><td>70.58</td></tr><tr><td>Compact Bilinear Gated Pooling [32]</td><td>88.76</td><td>87.50</td><td>88.80</td><td>85.34</td><td>65.95</td><td>89.42</td><td>68.72</td><td>51.46</td><td>65.34</td></tr><tr><td>MMBT [31]</td><td>82.48</td><td>81.27</td><td>82.15</td><td>85.82</td><td>64.78</td><td>88.66</td><td>65.36</td><td>52.12</td><td>69.34</td></tr><tr><td>Score Fusion</td><td>88.16</td><td>83.46</td><td>85.26</td><td>86.98</td><td>54.01</td><td>88.96</td><td>71.23</td><td>53.48</td><td>66.26</td></tr><tr><td>Feature Fusion</td><td>87.56</td><td>85.20</td><td>86.55</td><td>89.17</td><td>67.28</td><td>91.40</td><td>67.60</td><td>40.62</td><td>56.47</td></tr><tr><td>Attention Variant 1 (Ours)</td><td>89.29</td><td>85.68</td><td>87.04</td><td>88.41</td><td>64.60</td><td>90.71</td><td>71.51</td><td>55.41</td><td>69.71</td></tr><tr><td>Attention Variant 2 (Ours)</td><td>88.34</td><td>86.12</td><td>87.42</td><td>89.23</td><td>67.63</td><td>91.56</td><td>63.13</td><td>58.03</td><td>69.39</td></tr><tr><td>Attention Variant 3 (Ours)</td><td>88.20</td><td>86.22</td><td>87.47</td><td>87.18</td><td>64.67</td><td>90.24</td><td>68.99</td><td>57.42</td><td>69.16</td></tr><tr><td>SSE-Cross-BERT-DenseNet (Ours)</td><td>89.33</td><td>88.09</td><td>89.35</td><td>91.14</td><td>68.41</td><td>91.82</td><td>72.65</td><td>59.76</td><td>70.41</td></tr></table>
|
| 291 |
+
|
| 292 |
+
Table 3. Setting B: Informativeness Task and Humanitarian Categorization Task Evaluations
|
| 293 |
+
|
| 294 |
+
<table><tr><td rowspan="2">Model</td><td colspan="3">Informativeness Task</td><td colspan="3">Humanitarian Categorization Task</td></tr><tr><td>Accuracy</td><td>Macro F1</td><td>Weighted F1</td><td>Accuracy</td><td>Macro F1</td><td>Weighted F1</td></tr><tr><td>DenseNet [26]</td><td>83.36</td><td>80.95</td><td>82.95</td><td>82.89</td><td>66.68</td><td>83.13</td></tr><tr><td>BERT [15]</td><td>86.26</td><td>84.44</td><td>86.01</td><td>87.73</td><td>83.72</td><td>87.57</td></tr><tr><td>Score Fusion</td><td>87.03</td><td>85.19</td><td>86.90</td><td>91.41</td><td>83.26</td><td>91.36</td></tr><tr><td>SSE-Cross-BERT-DenseNet (Ours)</td><td>90.05</td><td>88.88</td><td>89.90</td><td>93.46</td><td>84.16</td><td>93.35</td></tr><tr><td>Best from Table 2</td><td>89.33</td><td>88.09</td><td>89.35</td><td>91.48</td><td>67.87</td><td>91.34</td></tr></table>
|
| 295 |
+
|
| 296 |
+
modalities [46]. It concatenates deep layers from modality networks to predict a shared output. We also provide three variations of our attention modules and report their performance: The first variant is to replace cross-attention of Eq. (4) with co-attention of Eq. (5); the second variant is to remove self-attention; the third variant is to change the cross-attention with self-attention modules.
|
| 297 |
+
|
| 298 |
+
We compare our model, SSE-Cross-BERT-DenseNet, to the baseline models above.
|
| 299 |
+
|
| 300 |
+
# 4.4. Evaluation Metrics
|
| 301 |
+
|
| 302 |
+
We evaluate the models in this paper using classification accuracy, $^{2}$ Macro F1-score and weighted F1-score. Note that while in the event of a crisis, the number of samples from different categories often significantly varies, it is important to detect all of them. F1-score and weighted F1-score take both false positives and false negatives into account, and therefore, along with accuracy as an intuitive measure, are proper evaluation metrics for our datasets.
|
| 303 |
+
|
| 304 |
+
# 4.5. Training Details
|
| 305 |
+
|
| 306 |
+
We use pre-trained DenseNet and BERT as our image and text backbone networks, and fine-tune them separately on text-only and image-only training samples. The details of their implementations can be found in [26] and [15], respectively. We do not freeze the pre-trained weights and train all the layers for both the backbone networks.
|
| 307 |
+
|
| 308 |
+
We use the standard SGD optimizer. We start with the base learning rate of $2 \times 10^{-3}$ with a $10 \times$ reduction
|
| 309 |
+
|
| 310 |
+
when the dev loss is saturated. We use a batch size of 32. The models were implemented in Keras and Tensorflow-1.4 [1]. In all the applicable experiments, we select hyperparameters with cross-validation on the accuracy of dev set. For the experiments in Setting 3 that we do not have an evaluation set, we tune hyper-parameters on $15\%$ of the training samples. We select $\rho^v,\rho^t$ and $p_0^v,p_0^t$ respectively in the range of $\rho^v,\rho^t\in [10,20000]$ and $p_0^v,p_0^t\in [0,1]$ .
|
| 311 |
+
|
| 312 |
+
We employ the following data augmentations on the images during the training stage. Images are resized such that the smallest side is 228 pixels, and then randomly cropped with a $224 \times 224$ patch. In addition, we produce more images by randomly flipping the resulting image horizontally.
|
| 313 |
+
|
| 314 |
+
For tweet normalization, we remove double spaces and lower case all characters. In addition, we replace any hyperlink in the tweet with the sentinel word "link".
|
| 315 |
+
|
| 316 |
+
# 5. Experimental Results
|
| 317 |
+
|
| 318 |
+
# 5.1. Setting A: Excluding The Training Pairs with Inconsistent Labels
|
| 319 |
+
|
| 320 |
+
As shown in Table 2, our proposed framework, SSE-Cross-BERT-DenseNet, easily outperforms the standalone DenseNet and BERT models. Compared with baseline methods Compact Bilinear Pooling [19], Compact Bilinear Gated Pooling [32], and MMBT [31], our proposed cross-attention fusion method does enjoy an edge over previous known fusion methods, including the standard score fusion and feature fusion. This edge holds true across Settings A, B and C. In section 5.4, we conduct an ablation study to investigate which components (SSE, cross-attention, and self-attention) have the most impact on model performance.
|
| 321 |
+
|
| 322 |
+
One important observation we find across the three tasks is that despite the fact that accuracy percentages are reasonably good for simple feature fusion method, the macro F1 scores improve much more once we add attention mechanisms.
|
| 323 |
+
|
| 324 |
+
Table 4. Comparing our proposed method with baselines for Humanitarian Categorization Task in Setting 3. We fix the last occurred crisis namely 'California wildfires' as test data and vary the training data which is specified in the columns.
|
| 325 |
+
|
| 326 |
+
<table><tr><td rowspan="2">Model</td><td colspan="3">Sri Lanka Floods</td><td colspan="3">Sri Lanka Floods + Hurricanes Harvey & Irma</td><td colspan="3">Sri Lanka Floods + Hurricanes Harvey & Irma + Mexico earthquake</td></tr><tr><td>Accuracy</td><td>Macro F1</td><td>Weighted F1</td><td>Accuracy</td><td>Macro F1</td><td>Weighted F1</td><td>Accuracy</td><td>Macro F1</td><td>Weighted F1</td></tr><tr><td>DenseNet [26]</td><td>55.71</td><td>35.77</td><td>56.85</td><td>70.32</td><td>52.23</td><td>68.55</td><td>70.32</td><td>44.80</td><td>68.79</td></tr><tr><td>BERT [15]</td><td>31.96</td><td>20.90</td><td>27.21</td><td>73.97</td><td>53.90</td><td>73.51</td><td>74.43</td><td>56.98</td><td>74.21</td></tr><tr><td>Score Fusion</td><td>56.62</td><td>36.77</td><td>57.96</td><td>81.74</td><td>56.54</td><td>81.03</td><td>81.28</td><td>55.90</td><td>80.54</td></tr><tr><td>SSE-Cross-BERT-DenseNet (Ours)</td><td>62.56</td><td>39.82</td><td>62.08</td><td>84.02</td><td>63.12</td><td>83.55</td><td>86.30</td><td>65.55</td><td>85.93</td></tr></table>
|
| 327 |
+
|
| 328 |
+
Table 5. Ablation Study of our proposed method for Humanitarian Categorization Task in Setting A.
|
| 329 |
+
|
| 330 |
+
<table><tr><td rowspan="2">Model</td><td colspan="3">Test Set</td></tr><tr><td>Accuracy</td><td>Macro F1</td><td>Weighted F1</td></tr><tr><td>SSE-Cross-BERT-DenseNet (Ours)</td><td>91.14</td><td>68.41</td><td>91.82</td></tr><tr><td>- Self-Attention</td><td>89.23</td><td>56.50</td><td>87.70</td></tr><tr><td>- Cross-Attention</td><td>88.48</td><td>56.38</td><td>87.10</td></tr><tr><td>- Cross-Attention + Co-Attention</td><td>88.41</td><td>64.60</td><td>90.71</td></tr><tr><td>- Cross-Attention + Self-Attention</td><td>86.30</td><td>58.33</td><td>85.27</td></tr><tr><td>- Dropout</td><td>83.37</td><td>54.83</td><td>82.46</td></tr><tr><td>- SSE</td><td>88.41</td><td>64.60</td><td>90.71</td></tr><tr><td>- SSE + Shuffling Within Class</td><td>88.68</td><td>62.91</td><td>88.33</td></tr><tr><td>- SSE + Mix-up [63]</td><td>89.16</td><td>54.63</td><td>87.37</td></tr></table>
|
| 331 |
+
|
| 332 |
+
# 5.2. Setting B: Including The Training Pairs with Inconsistent Labels
|
| 333 |
+
|
| 334 |
+
In this setting, we investigate whether our models can perform better if we can make use of more labelled data for un-matched images and texts. Note that this involves training on noisier data than the prior setting. In Table 3, our proposed framework SSE-Cross-BERT-DenseNet beats the best results from Setting A for both the Informativeness Task (89.90 to 89.35 Weighted F1) and the Humanitarian Categorization Task (93.35 to 91.34). The gap between our method versus standalone BERT and DenseNet also widens. Note that the test sets are the same for setting A and setting B while only the training data differs.
|
| 335 |
+
|
| 336 |
+
# 5.3. Setting C: Temporal
|
| 337 |
+
|
| 338 |
+
This setting is designed to resemble a realistic scenario where the available data is (1) only from the past (i.e. the train / test sets are split in the order they occurred in the real world). (2) train and test sets are not from the same crisis. We find that our proposed model consistently performs better than standalone image and text models (see Table 4). Additionally, performance increases for all models, including ours, with the inclusion of more crisis data to train on. This emphasizes the importance of collecting and labelling more crisis data even if there is no guarantee that the crises we collected data from will be similar to a future one. In the experiments, training crises contain floods, hurricanes and earthquakes but the test crisis is fixed at wildfires.
|
| 339 |
+
|
| 340 |
+
# 5.4. Ablation Study
|
| 341 |
+
|
| 342 |
+
In our ablation study, we examine each component of the model in Figure 3: namely self-attention on concatenated
|
| 343 |
+
|
| 344 |
+
embedding, cross-attention on fusing image feature map & sentence embedding, dropout and SSE regularization. All the experiments in this section are conducted in Setting A. First, we find self-attention plays an important role on the final performance, accuracy drops to 89.23 from 91.14 if self-attention is removed. Second, the choice of cross-attention over co-attention and self-attention is well justified: we see the accuracy performance drops to around 88 by replacing the cross-attention. Third, dropout regularization [52] plays an important role in regularizing the hidden units: if we remove dropout completely, performance suffers a large drop from 91.14 to 83.37. Fourthly, we justify the usage of SSE [60] over the choice of Mixup [63] or within-class shuffling data augmentation. SSE performs better than mixup in terms of accuracy $91.14\%$ versus $89.16\%$ , and even much better in terms of F1 scores, 68.41 versus 54.63 for macro F1 score and 91.82 versus 87.37 for weighted F1 score.
|
| 345 |
+
|
| 346 |
+
# 6. Conclusions and Future Work
|
| 347 |
+
|
| 348 |
+
In this paper, we presented a novel multimodal framework for fusing image and textual inputs. We introduced a new cross attention module that can filter not-informative or misleading information from modalities and only fuse the useful information. We also presented a multimodal version of Stochastic Shared Embeddings (SSE) to regularize the training process and deal with limited training data. We evaluate this approach on three crisis tasks involving social media posts with images and text captions. We show that our approach not only outperforms image-only and text-only approaches which have been the mainstay in the field, but also other multimodal combination approaches.
|
| 349 |
+
|
| 350 |
+
For future work we plan to test how our approach generalizes to other multimodal problems such as sarcasm detection in social media posts [12, 49], as well as experiment with different image and text feature extractors. Given that the CrisisMMD corpus is the only dataset available for this task and it is limited in size, we also aim to construct a larger set, which is a major effort.
|
| 351 |
+
|
| 352 |
+
# References
|
| 353 |
+
|
| 354 |
+
[1] Mart'in Abadi, Paul Barham, Jianmin Chen, Zhifeng Chen, Andy Davis, Jeffrey Dean, Matthieu Devin, Sanjay Ghemawat, Geoffrey Irving, Michael Isard, et al. Tensorflow: A system for large-scale machine learning. In 12th USENIX
|
| 355 |
+
|
| 356 |
+
Symposium on Operating Systems Design and Implementation (OSDI 16), pages 265-283, 2016. 7
|
| 357 |
+
[2] Mahdi Abavisani, Hamid Reza Vaezi Joze, and Vishal M Patel. Improving the performance of unimodal dynamic hand-gesture recognition with multimodal training. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 1165-1174, 2019. 2
|
| 358 |
+
[3] Mahdi Abavisani and Vishal M Patel. Deep multimodal subspace clustering networks. IEEE Journal of Selected Topics in Signal Processing, 12(6):1601-1614, 2018. 2
|
| 359 |
+
[4] Rediet Abebe, Shawndra Hill, Jennifer Wortman Vaughan, Peter M Small, and H Andrew Schwartz. Using search queries to understand health information needs in africa. In Proceedings of the International AAAI Conference on Web and Social Media, volume 13, pages 3-14, 2019. 2
|
| 360 |
+
[5] Kashif Ahmad, Michael Riegler, Konstantin Pogorelov, Nicola Concí, Pál Halvorsen, and Francesco De Natale. Jord: a system for collecting information and monitoring natural disasters by linking social media with satellite imagery. In Proceedings of the 15th International Workshop on Content-Based Multimedia Indexing, page 12. ACM, 2017. 2
|
| 361 |
+
[6] Firoj Alam, Ferda Ofli, and Muhammad Imran. Crisismmd: Multimodal twitter datasets from natural disasters. In Twelfth International AAAI Conference on Web and Social Media, 2018. 5
|
| 362 |
+
[7] Anonymous. {ALBERT}: A lite {bert} for self-supervised learning of language representations. In Submitted to International Conference on Learning Representations, 2020. under review. 3
|
| 363 |
+
[8] Stanislaw Antol, Aishwarya Agrawal, Jiasen Lu, Margaret Mitchell, Dhruv Batra, C Lawrence Zitnick, and Devi Parikh. Vqa: Visual question answering. In Proceedings of the IEEE international conference on computer vision, pages 2425-2433, 2015. 3
|
| 364 |
+
[9] Raffaella Bernardi, Ruket Cakici, Desmond Elliott, Aykut Erdem, Erkut Erdem, Nazli Ikizler-Cinbis, Frank Keller, Adrian Muscat, and Barbara Plank. Automatic description generation from images: A survey of models, datasets, and evaluation measures. Journal of Artificial Intelligence Research, 55:409-442, 2016. 2
|
| 365 |
+
[10] Terra Blevins, Robert Kwiatkowski, Jamie MacBeth, Kathleen McKeown, Desmond Patton, and Owen Rambow. Automatically processing tweets from gang-involved youth: Towards detecting loss and aggression. In Proceedings of COLING 2016, the 26th International Conference on Computational Linguistics: Technical Papers, pages 2196-2206, Osaka, Japan, Dec. 2016. The COLING 2016 Organizing Committee. 2
|
| 366 |
+
[11] Sven Buechel, Anneke Buffone, Barry Slaff, Lyle Ungar, and Joao Sedoc. Modeling empathy and distress in reaction to news stories. arXiv preprint arXiv:1808.10399, 2018. 2
|
| 367 |
+
[12] Santiago Castro, Devamanyu Hazarika, Verónica Pérez-Rosas, Roger Zimmermann, Rada Mihalcea, and Soujanya Poria. Towards multimodal sarcasm detection (an _Obviously_ perfect paper). In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 4619-4629, Florence, Italy, July 2019. Association for Computational Linguistics. 8
|
| 368 |
+
|
| 369 |
+
[13] Shizhe Chen and Qin Jin. Multi-modal dimensional emotion recognition using recurrent neural networks. In Proceedings of the 5th International Workshop on Audio/Visual Emotion Challenge, pages 49-56. ACM, 2015. 2
|
| 370 |
+
[14] Jia Deng, R. Socher, Li Fei-Fei, Wei Dong, Kai Li, and Li-Jia Li. Imagenet: A large-scale hierarchical image database. In 2009 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), volume 00, pages 248–255, 06 2009. 6
|
| 371 |
+
[15] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805, 2018. 1, 3, 7, 8
|
| 372 |
+
[16] Johannes C. Eichstaedt, H Andrew Schwartz, Salvatore Giorgi, Margaret L Kern, Gregory Park, Maarten Sap, Darwin R Labarthe, Emily E Larson, Martin Seligman, Lyle H Ungar, et al. More evidence that twitter language predicts heart disease: A response and replication. 2018. 2
|
| 373 |
+
[17] Johannes C Eichstaedt, Robert J Smith, Raina M Merchant, Lyle H Ungar, Patrick Crutchley, Daniel Preoticiuc-Pietro, David A Asch, and H Andrew Schwartz. Facebook language predicts depression in medical records. Proceedings of the National Academy of Sciences, 115(44):11203-11208, 2018. 2
|
| 374 |
+
[18] Andrea Frome, Greg S Corrado, Jon Shlens, Samy Bengio, Jeff Dean, Marc'Aurelio Ranzato, and Tomas Mikolov. Devise: A deep visual-semantic embedding model. In Advances in neural information processing systems, pages 2121-2129, 2013. 3
|
| 375 |
+
[19] Akira Fukui, Dong Huk Park, Daylen Yang, Anna Rohrbach, Trevor Darrell, and Marcus Rohrbach. Multimodal compact bilinear pooling for visual question answering and visual grounding. arXiv preprint arXiv:1606.01847, 2016. 3, 6, 7
|
| 376 |
+
[20] Timnit Gebru, Jonathan Krause, Yilun Wang, Duyun Chen, Jia Deng, Erez Lieberman Aiden, and Li Fei-Fei. Using deep learning and google street view to estimate the demographic makeup of neighborhoods across the united states. Proceedings of the National Academy of Sciences, 114(50):13108-13113, 2017. 2
|
| 377 |
+
[21] Sharath Chandra Guntuku, Daniel Preotiuc-Pietro, Johannes C Eichstaedt, and Lyle H Ungar. What twitter profile and posted images reveal about depression and anxiety. arXiv preprint arXiv:1904.02670, 2019. 2
|
| 378 |
+
[22] Charles Harding, Francesco Pompei, Dmitriy Burmistrov, H Gilbert Welch, Rediet Abebe, and Richard Wilson. Breast cancer screening, incidence, and mortality across us counties. JAMA internal medicine, 175(9):1483-1489, 2015. 2
|
| 379 |
+
[23] Kaiming He, Georgia Gkioxari, Piotr Dólar, and Ross Girshick. Mask r-cnn. In Proceedings of the IEEE international conference on computer vision, pages 2961-2969, 2017. 1
|
| 380 |
+
[24] Jack Hessel, Bo Pang, Zhenhai Zhu, and Radu Soricut. A case study on combining asr and visual features for generating instructional video captions. arXiv preprint arXiv:1910.02930, 2019. 3
|
| 381 |
+
[25] Andrew G Howard, Menglong Zhu, Bo Chen, Dmitry Kalenichenko, Weijun Wang, Tobias Weyand, Marco Andreetto, and Hartwig Adam. Mobilenets: Efficient convolu
|
| 382 |
+
|
| 383 |
+
tional neural networks for mobile vision applications. arXiv preprint arXiv:1704.04861, 2017. 1
|
| 384 |
+
[26] Gao Huang, Zhuang Liu, Laurens Van Der Maaten, and Kilian Q Weinberger. Densely connected convolutional networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 4700-4708, 2017. 3, 7, 8
|
| 385 |
+
[27] Ilija Ilievski and Jiashi Feng. Multimodal learning and reasoning for visual question answering. In I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett, editors, Advances in Neural Information Processing Systems 30, pages 551-562. Curran Associates, Inc., 2017. 3
|
| 386 |
+
[28] Andrew Ilyas. Microfilters: Harnessing twitter for disaster management. In IEEE Global Humanitarian Technology Conference (GHTC 2014), pages 417-424. IEEE, 2014. 3
|
| 387 |
+
[29] Wolfram Inc. Bert trained on bookcorpus and english wikipedia data. https://resources.wolframcloud.com/NeuralNetRepository/resources/BERT-Trained-on-BookCorpus-and-English-Wikipedia-Data. Accessed: 2020-03-30. 3
|
| 388 |
+
[30] Stephen Kelly, Xiubo Zhang, and Khurshid Ahmad. Mining multimodal information on social media for increased situational awareness. 2017. 3
|
| 389 |
+
[31] Douwe Kiela, Suvrat Bhooshan, Hamed Firooz, and Davide Testuggine. Supervised multimodal bittransformers for classifying images and text. arXiv preprint arXiv:1909.02950, 2019.6,7
|
| 390 |
+
[32] Douwe Kiela, Edouard Grave, Armand Joulin, and Tomas Mikolov. Efficient large-scale multi-modal classification. In Thirty-Second AAAI Conference on Artificial Intelligence, 2018. 6, 7
|
| 391 |
+
[33] Shamanth Kumar, Geoffrey Barbier, Mohammad Ali Abbasi, and Huan Liu. Tweettracker: An analysis tool for humanitarian and disaster relief. In Fifth international AAAI conference on weblogs and social media, 2011. 2
|
| 392 |
+
[34] Zhen-Zhong Lan, Lei Bao, Shouu-I Yu, Wei Liu, and Alexander G Hauptmann. Multimedia classification and event detection using double fusion. Multimedia tools and applications, 71(1):333-347, 2014. 3
|
| 393 |
+
[35] Kuang-Huei Lee, Xi Chen, Gang Hua, Houdong Hu, and Xiaodong He. Stacked cross attention for image-text matching. In Proceedings of the European Conference on Computer Vision (ECCV), pages 201-216, 2018. 3
|
| 394 |
+
[36] Liunian Harold Li, Mark Yatskar, Da Yin, Cho-Jui Hsieh, and Kai-Wei Chang. Visualbert: A simple and perform-. mant baseline for vision and language. arXiv preprint arXiv:1908.03557, 2019. 3
|
| 395 |
+
[37] Xukun Li, Doina Caragea, Huaiyu Zhang, and Muhammad Imran. Localizing and quantifying damage in social media images. In 2018 IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining (ASONAM), pages 194-201. IEEE, 2018. 2
|
| 396 |
+
[38] Kuan Liu, Yanen Li, Ning Xu, and Prem Natarajan. Learn to combine modalities in multimodal deep learning. arXiv preprint arXiv:1805.11730, 2018. 3
|
| 397 |
+
|
| 398 |
+
[39] Jiasen Lu, Dhruv Batra, Devi Parikh, and Stefan Lee. Vilbert: Pretraining task-agnostic visiolinguistic representations for vision-and-language tasks. arXiv preprint arXiv:1908.02265, 2019. 3, 4
|
| 399 |
+
[40] Sreenivasulu Madichetty and M Sridevi. Detecting informative tweets during disaster using deep neural networks. In 2019 11th International Conference on Communication Systems & Networks (COMSNETS), pages 709-713. IEEE, 2019. 2
|
| 400 |
+
[41] Hussein Mouzzannar, Yara Rizk, and Mariette Awad. Damage identification in social media posts using multimodal deep learning. In ISCRAM, 2018. 3
|
| 401 |
+
[42] Ganesh Nalluru, Rahul Pandey, and Hemant Purohit. Relevancy classification of multimodal social media streams for emergency services. In 2019 IEEE International Conference on Smart Computing (SMARTCOMP), pages 121-125. IEEE, 2019. 2
|
| 402 |
+
[43] Jiquan Ngiam, Aditya Khosla, Mingyu Kim, Juhan Nam, Honglak Lee, and Andrew Y Ng. Multimodal deep learning. In Proceedings of the 28th international conference on machine learning (ICML-11), pages 689–696, 2011. 2
|
| 403 |
+
[44] Alec Radford, Karthik Narasimhan, Tim Salimans, and Ilya Sutskever. Improving language understanding by generative pre-training. URL https://s3-us-west-2. amazonaws. com/openai-assets/ assets/researchcovers/languageeunsupervised/language understanding paper.pdf, 2018. 3
|
| 404 |
+
[45] Tanzila Rahman, Bicheng Xu, and Leonid Sigal. Watch, listen and tell: Multi-modal weakly supervised dense event captioning. In CVPR, pages 8908-8917, 2019. 2, 3
|
| 405 |
+
[46] Dhanesh Ramachandram and Graham W Taylor. Deep multimodal learning: A survey on recent advances and trends. IEEE Signal Processing Magazine, 34(6):96-108, 2017. 7
|
| 406 |
+
[47] Tim GJ Rudner, Marc Rußwurm, Jakub Fil, Ramona Pelich, Benjamin Bischke, and Veronika Kopacková. Rapid computer vision-aided disaster response via fusion of multiresolution, multisensor, and multitemporal satellite imagery. 2
|
| 407 |
+
[48] Naina Said, Kashif Ahmad, Michael Regular, Konstantin Pogorelov, Laiq Hassan, Nasir Ahmad, and Nicola Conc. Natural disasters detection in social media and satellite imagery: a survey. arXiv preprint arXiv:1901.04277, 2019. 2
|
| 408 |
+
[49] Rossano Schifanella, Paloma de Juan, Joel Tetreault, and LiangLiang Cao. Detecting sarcasm in multimodal social platforms. Proceedings of the 2016 ACM on Multimedia Conference - MM '16, 2016. 8
|
| 409 |
+
[50] Himanshu Shekhar and Shankar Setty. Disaster analysis through tweets. In 2015 International Conference on Advances in Computing, Communications and Informatics (ICACCI), pages 1719-1723. IEEE, 2015. 2
|
| 410 |
+
[51] Richard Socher, Milind Ganjoo, Christopher D Manning, and Andrew Ng. Zero-shot learning through cross-modal transfer. In Advances in neural information processing systems, pages 935-943, 2013. 3
|
| 411 |
+
[52] Nitish Srivastava, Geoffrey Hinton, Alex Krizhevsky, Ilya Sutskever, and Ruslan Salakhutdinov. Dropout: a simple way to prevent neural networks from overfitting. The journal of machine learning research, 15(1):1929-1958, 2014. 8
|
| 412 |
+
|
| 413 |
+
[53] Kevin Stowe, Michael J Paul, Martha Palmer, Leysia Palen, and Kenneth Anderson. Identifying and categorizing disaster-related tweets. In Proceedings of The Fourth International Workshop on Natural Language Processing for Social Media, pages 1-6, 2016. 2
|
| 414 |
+
[54] Weijie Su, Xizhou Zhu, Yue Cao, Bin Li, Lewei Lu, Furu Wei, and Jifeng Dai. Vl-bert: Pre-training of generic visual-linguistic representations. arXiv preprint arXiv:1908.08530, 2019. 3
|
| 415 |
+
[55] Hao Tan and Mohit Bansal. Lxmert: Learning cross-modality encoder representations from transformers. arXiv preprint arXiv:1908.07490, 2019. 3
|
| 416 |
+
[56] Mingxing Tan and Quoc V Le. Efficientnet: Rethinking model scaling for convolutional neural networks. arXiv preprint arXiv:1905.11946, 2019. 3
|
| 417 |
+
[57] Hien To, Sumeet Agrawal, Seon Ho Kim, and Cyrus Shahabi. On identifying disaster-related tweets: Matching-based or learning-based? In 2017 IEEE Third International Conference on Multimedia Big Data (BigMM), pages 330-337. IEEE, 2017. 2
|
| 418 |
+
[58] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in neural information processing systems, pages 5998-6008, 2017. 3
|
| 419 |
+
[59] Martin Wöllmer, Angeliki Metallinou, Florian Eyben, Björn Schuller, and Shrikanth Narayanan. Context-sensitive multimodal emotion recognition from speech and facial expression using bidirectional LSTM modeling. In Proc. INTER-SPEECH 2010, Makuhari, Japan, pages 2362-2365, 2010. 2
|
| 420 |
+
[60] Liwei Wu, Shuqing Li, Cho-Jui Hsieh, and James L Sharpnack. Stochastic shared embeddings: Data-driven regularization of embedding layers. In Advances in Neural Information Processing Systems, pages 24-34, 2019. 3, 4, 8
|
| 421 |
+
[61] Zhilin Yang, Zihang Dai, Yiming Yang, Jaime Carbonell, Ruslan Salakhutdinov, and Quoc V Le. Xlnet: Generalized autoregressive pretraining for language understanding. arXiv preprint arXiv:1906.08237, 2019. 3
|
| 422 |
+
[62] Jie Yin, Sarvnaz Karimi, Andrew Lampert, Mark Cameron, Bella Robinson, and Robert Power. Using social media to enhance emergency situation awareness. In Twenty-fourth international joint conference on artificial intelligence, 2015.
|
| 423 |
+
[63] Hongyi Zhang, Moustapha Cisse, Yann N. Dauphin, and David Lopez-Paz. mixup: Beyond empirical risk minimization. In International Conference on Learning Representations, 2018. 8
|
multimodalcategorizationofcrisiseventsinsocialmedia/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4d190ad45f5f76022758bfff243482234969fa9ae655f944ec097ed831304c6e
|
| 3 |
+
size 374464
|
multimodalcategorizationofcrisiseventsinsocialmedia/layout.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:15bce466e7303045f01d58a83a31912061815131687d555872ad8cdf2bd5b9a9
|
| 3 |
+
size 453086
|
multimodalfuturelocalizationandemergencepredictionforobjectsinegocentricviewwithareachabilityprior/9fa52f02-ca93-41c1-a52c-8c41cef6f2aa_content_list.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:05219029c8d0fa3be18c09d69b7c0e6650ff243efc575bbd6a1bd8ff44341fb7
|
| 3 |
+
size 72584
|
multimodalfuturelocalizationandemergencepredictionforobjectsinegocentricviewwithareachabilityprior/9fa52f02-ca93-41c1-a52c-8c41cef6f2aa_model.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6646e75c0fd22eeefbfa8918b4859695a8f61684c6c028d25a3dc821a67791bb
|
| 3 |
+
size 92862
|
multimodalfuturelocalizationandemergencepredictionforobjectsinegocentricviewwithareachabilityprior/9fa52f02-ca93-41c1-a52c-8c41cef6f2aa_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:43cac91c2ed8ec068f06fd0951a15bfdb19ba07092b086bfade8e51216dd49d8
|
| 3 |
+
size 4361745
|
multimodalfuturelocalizationandemergencepredictionforobjectsinegocentricviewwithareachabilityprior/full.md
ADDED
|
@@ -0,0 +1,293 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Multimodal Future Localization and Emergence Prediction for Objects in Egocentric View with a Reachability Prior
|
| 2 |
+
|
| 3 |
+
Osama Makansi<sup>1</sup> Özgün Çiçek<sup>1</sup>
|
| 4 |
+
<sup>1</sup>University of Freiburg
|
| 5 |
+
makansio, cicek, brox@cs.uni-freiburg.de
|
| 6 |
+
|
| 7 |
+
Kevin Buchicchio Thomas Brox<sup>1</sup>
|
| 8 |
+
<sup>2</sup>IMRA-EUROPE buchicchio@imra-europe.com
|
| 9 |
+
|
| 10 |
+
# Abstract
|
| 11 |
+
|
| 12 |
+
In this paper, we investigate the problem of anticipating future dynamics, particularly the future location of other vehicles and pedestrians, in the view of a moving vehicle. We approach two fundamental challenges: (1) the partial visibility due to the egocentric view with a single RGB camera and considerable field-of-view change due to the egomotion of the vehicle; (2) the multimodality of the distribution of future states. In contrast to many previous works, we do not assume structural knowledge from maps. We rather estimate a reachability prior for certain classes of objects from the semantic map of the present image and propagate it into the future using the planned egomotion. Experiments show that the reachability prior combined with multi-hypotheses learning improves multimodal prediction of the future location of tracked objects and, for the first time, the emergence of new objects. We also demonstrate promising zero-shot transfer to unseen datasets.
|
| 13 |
+
|
| 14 |
+
# 1. Introduction
|
| 15 |
+
|
| 16 |
+
Figure 1 shows the view of a driver approaching pedestrians who are crossing the street. To safely control the car, the driver must anticipate where these pedestrians will be in the next few seconds. Will the last pedestrian (in blue) have completely crossed the street when I arrive or must I slow down more? Will the pedestrian on the sidewalk (in orange) continue on the sidewalk or will it also cross the street?
|
| 17 |
+
|
| 18 |
+
This important task comes with many challenges. First of all, the future is not fully predictable. There are typically multiple possible outcomes, some of them being more likely than others. The controller of a car must be aware of these multiple possibilities and their likelihoods. If a car crashes into a pedestrian who predictably crosses the street, this will be considered a severe failure, whereas extremely unlikely behaviour, such as the pedestrian in purple turning around and crossing the street in the opposite direction, must be ignored to enable efficient control. The approach
|
| 19 |
+
|
| 20 |
+

|
| 21 |
+
Figure 1. An example from the nuScenes dataset [9]. Given the past observations of pedestrians (colored bounding boxes (top)) and the egomotion of the car (red arrow), our framework predicts multiple modes of their future visualized by a set of bounding boxes and their distribution as an overlaid heatmap. Prediction covers possible options for (2nd row) turning left or right, (3rd row) slowing down or accelerating, (4th row) being on the sidewalk.
|
| 22 |
+
|
| 23 |
+
we propose predicts two likely modes for this pedestrian: continuing left or right on the sidewalk.
|
| 24 |
+
|
| 25 |
+
Ideally this task can be accomplished directly in the sensor data without the requirement of privileged information such as a third person view, or a street map that marks all lanes, sidewalks, crossings, etc.. Independence of such information helps the approach generalize to situations not covered by maps or extra sensors, e.g., due to changes not yet captured in the map or GPS failures. However, mak
|
| 26 |
+
|
| 27 |
+
ing predictions in egocentric views suffers from partial visibility: we only see the context of the environment in the present view - other relevant parts of the environment are occluded and only become visible as the car moves. Figure 1 shows that the effect of the egomotion is substantial even in this example with relatively slow motion.
|
| 28 |
+
|
| 29 |
+
In this paper, we approach these two challenges in combination: multimodality of the future and egocentric vision. For the multimodality, we build upon the recent work by Makansi et al. [36], who proposed a technique to overcome mode collapse and stability issues of mixture density networks. However, the work of Makansi et al. assumes a static bird's-eye view of the scene. In order to carry the technical concept over to the egocentric view, we introduce an intermediate prediction which improves the quality of the multimodal distribution: a reachability prior. The reachability prior is learned from a large set of egocentric views and tells where objects of a certain class are likely to be in the image based on the image's semantic segmentation; see Figure 2 top. This prior focuses the attention of the prediction based on the environment. Even more important, we can propagate this prior much more easily into the future - using the egomotion of the vehicle - than a whole image or a semantic map. The reachability prior is a condensation of the environment, which contains the semantic context most relevant to the task.
|
| 30 |
+
|
| 31 |
+
The proposed framework of estimating and propagating a multimodal reachability prior is not only beneficial for future localization of a particular object (Figure 2 left), but it also enables the task of emergence prediction (Figure 2 right). For safe operation, it is not sufficient to reason about the future location of the observed objects, but also potentially emerging objects in the scene must be anticipated, if their emergence exceeds a certain probability. For example, passing by a school requires extra care since the probability that a child can jump on the street is higher. Autonomous systems should behave differently near a school exit than on a highway. Predicting emergence of new objects did not yet draw much attention in literature.
|
| 32 |
+
|
| 33 |
+
The three tasks in Fig. 2 differ via their input conditions: the reachability prior is only conditioned by the semantic segmentation of the environment and the class of interest. It is independent of a particular object. Future localization includes the additional focus on an object of interest and its past trajectory. These conditions narrow down the space of solutions and make the output distribution much more peaked. Emergence prediction is a reduced case of the reachability prior, where new objects can only emerge from unobserved areas of the scene.
|
| 34 |
+
|
| 35 |
+
In this paper (1) we propose a future localization framework in egocentric view by transferring the work by Makansi et al. [36] from bird's-eye view to egocentric observations, where multimodality is even more difficult to
|
| 36 |
+
|
| 37 |
+

|
| 38 |
+
Figure 2. Top: The reachability prior (white rectangles) answers the general question of where a pedestrian could be in a scene. Left: Future localization (green rectangles) of a particular pedestrian crossing the street narrows down the solution from the reachability prior by conditioning the solution on past and current observations. The true future is shown as purple box. Right: The emergence prediction (green rectangles) shows where a pedestrian could suddenly appear and narrows down the solution from the reachability prior by conditioning the solution on the current observation of the scene.
|
| 39 |
+
|
| 40 |
+
capture. Thus, (2) we propose to compute a reachability prior as intermediate result, which serves as attention to prevent forgetting rare modes, and which can be used to efficiently propagate scene priors into the future taking into account the egomotion. For the first time, (3) we formulate the problem of object emergence prediction for egocentric view with multimodality. (4) We evaluate our approach and the existing methods on the recently largest public nuScenes dataset [9] where the proposed approach shows clear improvements over the state of the art. In contrast to most previous works, the proposed approach is not restricted to a single object category. (5) We include heterogeneous classes like pedestrians, cars, buses, trucks and tricycles. (6) The prediction horizon was tripled from 1 second to 3 seconds into the future compared to existing methods. Moreover, (7) we show that the approach allows zero-shot transfer to unseen and noisy datasets (Waymo [50] and FIT).
|
| 41 |
+
|
| 42 |
+
# 2. Related Work
|
| 43 |
+
|
| 44 |
+
Bird's-Eye View Future Localization. Predicting the future locations or trajectories of objects is a well studied problem. It includes techniques like the Kalman filter [26], linear regression [39], and Gaussian processes [42, 57, 43, 56]. These techniques are limited to low-dimensional data, which excludes taking into account the semantic context provided by an image. Convolutional networks allow processing such inputs and using them for future localization.
|
| 45 |
+
|
| 46 |
+
LSTMs have been very popular due to time series processing. Initial works exploited LSTMs for trajectories to model the interaction between objects [2, 59, 65], for scenes to exploit the semantics [4, 38], and LSTMs with attention to focus on the relevant semantics [46].
|
| 47 |
+
|
| 48 |
+
Another line of works tackle the multimodal nature of the future by sampling through cVAEs [30], GANs [3, 21, 45, 66, 27], and latent decision distributions [31]. Choi et al. [12] model future locations as nonparametric distribution, which can potentially result in multimodality but often collapses to a single mode. Given the instabilities of Mixture Density Networks (MDNs) in unrestricted environments, some works restrict the solution space to a set of predefined maneuvers or semantic areas [15, 24]. Makansi et al. [36] proposed a method to learn mixture densities in unrestricted environments. Their approach first predicts diverse samples and then fits a mixture model on these samples. All these methods have been applied on static scenes recorded from a bird's-eye view, i.e., with full local observability and no egomotion. We build on the technique from Makansi et al. [36] to estimate multimodal distributions in egocentric views.
|
| 49 |
+
|
| 50 |
+
Egocentric Future Localization. The egocentric camera view is the typical way of observing the scene in autonomous driving. It introduces new challenges due to the egomotion and the narrow field of view. Multiple works have addressed these challenges by projecting the view into bird's-eye view using 3D sensors [14, 17, 16, 47, 35, 44, 13]. This is a viable approach, but it suffers from nondense measurements or erroneous measurements in case of LIDAR and stereo sensors, respectively.
|
| 51 |
+
|
| 52 |
+
Alternative approaches try to work directly in the egocentric view. Yagi et al. [62] utilized the pose, locations, scales and past egomotion for predicting the future trajectory of a person. TraPHic [10] exploits the interaction between nearby heterogeneous objects. DTP [49] and STED [48] use encoder-decoder schemes using optical flow and past locations and scales of the objects. Yao et al. [63] added the planned egomotion to further improve the prediction. For autonomous driving, knowing the planned motion is a reasonable assumption [20], and we also make use of this assumption. All these models work with a deterministic model and fail to account for the multimodality and uncertainty of the future. The effect of this is demonstrated by our experiments.
|
| 53 |
+
|
| 54 |
+
The most related work to our approach, in the sense that it works on egocentric views and predicts multiple modes, is the Bayesian framework by Bhattacharyya et al. [7]. It uses Bayesian RNNs to sample multiple futures with uncertainties. Additionally, they learn the planned egomotion and fuse it to the main future prediction framework. NEMO [37] extends this approach by learning a multimodal distribution for the planned egomotion leading to better accuracy. Both
|
| 55 |
+
|
| 56 |
+
methods need multiple runs to sample different futures and suffer from mode collapse, i.e., tend to predict only the most dominant mode, as demonstrated by our experiments.
|
| 57 |
+
|
| 58 |
+
Egocentric Emergence Prediction. To reinforce safety in autonomous driving, it is important to not only predict the future of the observed objects but also predict where new objects can emerge. Predicting the whereabouts of an emerging object inherits predicting the future environment itself. Predicting the future environment was addressed by predicting future frames [55, 52, 51, 1, 28, 32, 61] and future semantic segmentation [34, 25, 54, 33, 8, 6]. These methods can only hallucinate new objects in the scene in a photorealistic way, but none of them explicitly predicts the structure where new objects can actually emerge. Vondrick et al. [53] consider a higher-level task and predict the probability of a new object to appear in an egocentric view. However, they only predict "what" object to appear but not "where". Fan et al. [19] suggested transferring current object detection features to the future. This way they anticipate both observed and new objects.
|
| 59 |
+
|
| 60 |
+
Reachability Prior Prediction. The environment poses constraints for objects during navigation. While some recent works use an LSTM to learn environment constraints from images [38, 60], others [4, 12] choose a more explicit approach by dividing the environment into meaningful grids to learn the grid-grid, object-object and object-grid interactions. Also soft attention mechanisms are commonly used to focus on relevant features of the environments [45, 46]. While these methods reason about static environment constraints within the model proposed, we propose to separate this task and learn a scene prior before the future localization in dynamic scenes. Lee et al [29] proposed a similar module, where a GAN per object class generates multiple locations to place an object photorealistically.
|
| 61 |
+
|
| 62 |
+
# 3. Multimodal Egocentric Future Prediction
|
| 63 |
+
|
| 64 |
+
Figure 3 shows the pipeline of our framework for the future localization task consisting of three main modules: (1) reachability prior network (RPN), which learns a prior of where members of an object class could be located in semantic map, (2) reachability transfer network (RTN), which transfers the reachability prior from the current to a future time step taking into account the planned egomotion, and (3) future localization network (FLN), which is conditioned on the past and current observations of an object and learns to predict a multimodal distribution of its future location based on the general solution from the RTN.
|
| 65 |
+
|
| 66 |
+
Emergence prediction shares the same first two modules and differs only in the third network where we drop the condition on the past object trajectory. We refer to it as emergence prediction network (EPN). The aim of EPN is to learn a multimodal distribution of where objects of a class emerge in the future.
|
| 67 |
+
|
| 68 |
+

|
| 69 |
+
Figure 3. Overview of the overall future localization framework. (a) The reachability prior network (RPN) learns the relation between objects of a certain class ID and the static elements of a semantic map by generating multiple bounding box hypotheses. (b) The reachability transfer network (RTN) transfers the reachability prior into the future given the observed image, its semantic, and the planned egomotion. The ground truth for training this network is obtained in a self-supervised manner by running RPN on the future static semantic map. (c) The future localization network (FLN) yields a multimodal distribution of the future bounding boxes of the object of interest through a sampling network (to generate multiple bounding boxes (samples)) and then a fitting network to fit the samples to a Gaussian mixture model (shown as heatmap overlayed on the future image with the means of the mixture components shown as green bounding boxes). The emergence prediction network (EPN) is identical to the FLN, except that it lacks the object-of-interest masks in the input.
|
| 70 |
+
|
| 71 |
+

|
| 72 |
+
|
| 73 |
+
# 3.1. Reachability Prior Network (RPN)
|
| 74 |
+
|
| 75 |
+
Given an observed scene from an egocentric view, the reachability prior network predicts where an object of a certain class can be at the same time step in the form of bounding box hypotheses. Let $\pmb{b}_{i,t}^{rpn} = [x,y,w,h]$ for $i\in [1,N]$ be the set of bounding box hypotheses predicted by our RPN at time step $t$ , where $(x,y)$ represents the center coordinates and $(w,h)$ the width and height.
|
| 76 |
+
|
| 77 |
+
Since the reachability prior network should learn the relation between a class of objects (e.g., vehicle) and the scene semantics (e.g., road, sidewalk, and so on), we remove all dynamic objects from the training samples. This is achieved by inpainting [64]. Because inpainting on the semantic map causes fewer artifacts, in contrast to inpainting in the raw RGB image [5], the reachability prior is based on the semantic map. On one hand, the semantic map does not show some of the useful details visible in the raw image (e.g. the type of traffic sign or building textures). On the other hand, it is important that the inpainting does not introduce strong artifacts. These would be picked up during training and would bias the result (similar to keeping the original objects in the image).
|
| 78 |
+
|
| 79 |
+
For each image $I_{t}$ at time $t$ , we compute its semantic segmentation $S_{t}$ using deeplabV3plus [11] and derive its static semantic segmentation $S_{t}^{\dagger}$ after inpainting all dynamic objects. This yields the training data for the reachability prior network: the static semantic segmentation is the input to the network, and the removed objects of class $c$ are ground-truth samples for the reachability. The network yields multiple
|
| 80 |
+
|
| 81 |
+
hypotheses $\pmb{b}_{i,t}^{rpn}$ as output and is trained using the EWTA scheme [36] with the loss:
|
| 82 |
+
|
| 83 |
+
$$
|
| 84 |
+
L _ {R P N} = l \left(\boldsymbol {b} _ {i, t} ^ {r p n}, \hat {\boldsymbol {b}} _ {t}\right). \tag {1}
|
| 85 |
+
$$
|
| 86 |
+
|
| 87 |
+
$\hat{b}_t$ denotes a ground-truth bounding box of one instance from class $c$ (e.g., vehicle or pedestrian) in image $\pmb{I}_t$ and $l(.)$ denotes the $L_{2}$ norm. EwTA applies this loss to the hypotheses in a hierarchical way. It penalizes all hypotheses (i.e., $i\in [1,N]$ where $N = 20$ ). After convergence, it halves the hypotheses ( $N = 10$ ) and penalizes only the best 10 hypotheses. This halving is repeated until only the best hypothesis is penalized; see Makansi et al. [36] for details. A sample output of the reachability prior network for a car is shown in Figure 4 (top).
|
| 88 |
+
|
| 89 |
+
# 3.2. Reachability Transfer Network (RTN)
|
| 90 |
+
|
| 91 |
+
When running RPN on the semantic segmentation at time $t$ , we obtain a solution for the same time step $t$ . However, at test time, we require this prior in the unobserved future. Thus, we train a network to transfer the reachability at time $t$ to time $t + \Delta t$ , where $\Delta t$ is the fixed prediction horizon and $e_{t \rightarrow t + \Delta t}$ is the relative pairwise transformation between the pose at time $t$ and $t + \Delta t$ (referred to as planned egomotion) which is represented as a transformation vector (3d translation vector $[t_x, t_y, t_z]$ and rotation quaternions $[q_w, q_x, q_y, q_z]$ ). This transfer network can be learned with a self-supervised loss from a time series
|
| 92 |
+
|
| 93 |
+
$$
|
| 94 |
+
L _ {R T N} = \sum_ {i = 1} ^ {N} \left| \boldsymbol {b} _ {i, t + \Delta t} ^ {r t n} - \boldsymbol {b} _ {i, t + \Delta t} ^ {r p n} \right|. \tag {2}
|
| 95 |
+
$$
|
| 96 |
+
|
| 97 |
+

|
| 98 |
+
Figure 4. An example from the Waymo [50] dataset showing the reachability prior for the class car in the current time step (RPN: top), the reachability prior transferred to the future (RTN: middle), and final future localization further conditioned on a specific instance (FLN: bottom). For clarity, we draw the hypotheses on both image and semantic domains. Note that none of our networks has access to the future image or its semantic map (at time $t + \Delta t$ ).
|
| 99 |
+
|
| 100 |
+
where $b_{i,t + \Delta t}^{rtn} = RTN(b_{i,t}^{rpn},e_{t\Rightarrow t + \Delta t},I_t,S_t^\dagger)$ is the output of the RTN network. $I_{t}$ is the image and $S_{t}^{\dagger}$ is the static semantic segmentation at time $t$ . Figure 4 (middle) shows the reachability prior (top) transferred to the future. Given the ego motion as moving forward (red arrow) and the visual cues for upcoming traffic light and a right turn, the RTN anticipates that some more cars can be on the street emerging and transforms some of the RPN hypotheses to cover these new locations.
|
| 101 |
+
|
| 102 |
+
# 3.3. Future Localization Network (FLN)
|
| 103 |
+
|
| 104 |
+
Given an object which is observed for a set of frames from $t - \delta t$ to $t$ , where $\delta t$ denotes the observation period, FLN predicts the distribution of bounding boxes in the future frame $t + \Delta t$ . Figure 3c shows the input to this network: the past images $(I_{t - \delta t}, \dots, I_t)$ , the past semantic maps $(S_{t - \delta t}, \dots, S_t)$ , the past masks of the object of interest $(M_{t - \delta t}, \dots, M_t)$ , the planned egomotion $(e_{t \Rightarrow t + \Delta t})$ , and the reachability prior in the future frame $(b_{i,t + \Delta t}^{rtn})$ . The object masks $M_s$ are provided as images, where pixels inside the object bounding box are object class $c$ and 0 elsewhere.
|
| 105 |
+
|
| 106 |
+
We use the sampling-fitting framework from Makansi et al. [36] to predict a Gaussian mixture for the future bounding box of the object of interest. The sampling network generates multiple hypotheses and is trained with EWTA, just like the RPN. The additional fitting network estimates the parameters $(\pi_k,\mu_k,\sigma_k)$ of a Gaussian mixture model with $K = 4$ from these hypotheses, similar to the expectation-maximization algorithm but via a network; see Makansi et
|
| 107 |
+
|
| 108 |
+
al. [36] for details. An example of the FLN prediction is shown in figure 4 (bottom). The fitting network is trained with the negative log-likelihood (NLL) loss
|
| 109 |
+
|
| 110 |
+
$$
|
| 111 |
+
\boldsymbol {L} _ {n l l} = - \log \left[ \sum_ {k = 1} ^ {K} \pi_ {k} \mathcal {N} \left(\boldsymbol {\mu} _ {k}, \boldsymbol {\sigma} _ {k} ^ {2}\right) \right]. \tag {3}
|
| 112 |
+
$$
|
| 113 |
+
|
| 114 |
+
# 3.4. Emergence Prediction Network (EPN)
|
| 115 |
+
|
| 116 |
+
Rather than predicting the future of a seen object, the emergence prediction network predicts where an unseen object can emerge in the scene. The EPN is very similar to the FLN shown in figure 3c. The only difference is that the object masks are missing in the input, since the task is not conditioned on a particular object but predicts the general distribution of objects emerging.
|
| 117 |
+
|
| 118 |
+
The network is trained on scenes where an object is visible in a later image $I_{t + \Delta t}$ (ground truth), but not in the current image $I_{t}$ . Like for the future localization network, we train the sampling network with EWTA and the fitting network with NLL.
|
| 119 |
+
|
| 120 |
+
# 4. Experiments
|
| 121 |
+
|
| 122 |
+
# 4.1. Datasets
|
| 123 |
+
|
| 124 |
+
Mapillary Vistas [41]. We used the Mapillary Vistas dataset for training the inpainting method from [64] on semantic segmentation and for training our reachability prior network. This dataset contains around $25K$ images recorded in different cities across 6 continents, from different viewpoints, and in different weather conditions. For each image, pixelwise semantic and instance segmentation are provided. The images of this dataset are not temporally ordered, which prevents its usage for training the RTN, FLN, or EPN.
|
| 125 |
+
|
| 126 |
+
nuScenes [9]. nuScenes is very large autonomous driving dataset consisting of 1000 scenes with 20 seconds each. We used it for training and evaluating the proposed framework. We did not re-train the reachability prior network on this dataset, as to test generalization of the reachability prior network across different datasets. The nuScenes dataset provides accurate bounding box tracking for different types of traffic objects and the egomotion of the observer vehicle. We used the standard training/validation split (700/150 scenes) of the dataset for training/evaluating all experiments.
|
| 127 |
+
|
| 128 |
+
Waymo Open Dataset [50]. Waymo is the most recent autonomous driving dataset and contains 1000 scenes with 20 seconds each. To show zero-shot transfer of our framework (i.e., without re-training the model), we used the standard 202 testing scenes.
|
| 129 |
+
|
| 130 |
+
FIT Dataset. We collected 18 scenes from different locations in Europe and relied on MaskRCNN [22] and deep
|
| 131 |
+
|
| 132 |
+
sort [58] to detect and track objects, and DSO [18] to estimate the egomotion. This dataset allows testing the robustness to noisy inputs (without human annotation). We will make these sequences and the annotations publicly available.
|
| 133 |
+
|
| 134 |
+
# 4.2. Evaluation Metrics
|
| 135 |
+
|
| 136 |
+
FDE. For evaluating both future localization and emergence prediction, we report the common Final Displacement Error (FDE), which estimates the $L_{2}$ distance of the centers of two bounding boxes in pixels.
|
| 137 |
+
|
| 138 |
+
IOU. We report the Intersection Over Union (IOU) metric to evaluate how well two bounding boxes overlap.
|
| 139 |
+
|
| 140 |
+
The above metrics are designed for single outputs, not distributions. In case of multiple hypotheses, we applied the above metrics between the ground truth and the closest mode to the ground truth (known as Oracle [36, 30]).
|
| 141 |
+
|
| 142 |
+
NLL. To evaluate the accuracy of the multimodal distribution, we compute the negative log-likelihood of the ground-truth samples according to the estimated distribution.
|
| 143 |
+
|
| 144 |
+
# 4.3. Training Details
|
| 145 |
+
|
| 146 |
+
We used ResNet-50 [23] as sampling network in all parts of this work. The fitting network consisted of two fully connected layers (each with 500 nodes) with a dropout layer (rate $= 0.2$ ) in between. In the FLN, we observed $\delta t = 1$ second and predicted $\Delta t = 3$ seconds into the future. For the EPN, we observed only one frame and predicted $\Delta t = 1$ second into the future. We used $N = 20$ for all sampling networks, and $K = 4$ and $K = 8$ as the number of mixture components for the FLN and the EPN, respectively. The emergence prediction task requires more modes compared to the future localization task since the distribution has typically more modes in this task.
|
| 147 |
+
|
| 148 |
+
# 4.4. Baselines
|
| 149 |
+
|
| 150 |
+
As there is only one other work so far on egocentric multimodal future prediction [7], we compare also to unimodal baselines, which are already more established.
|
| 151 |
+
|
| 152 |
+
Kalman Filter [26]. This linear filter is commonly used for estimating the future state of a dynamic process through a set of (low-dimensional) observations. It is not expected to be competitive, since it considers only the past trajectory and ignores all other information.
|
| 153 |
+
|
| 154 |
+
DTP [49]. DTP is a dynamic trajectory predictor for pedestrians based on motion features obtained from optical flow. We used their best performing framework, which predicts the difference to the constant velocity solution.
|
| 155 |
+
|
| 156 |
+
STED [48]. STED is a spatial-temporal encoder-decoder that models visual features by optical flow and temporal features by the past bounding boxes through GRU en
|
| 157 |
+
|
| 158 |
+
coders. It later fuses the encoders into another GRU decoder to obtain the future bounding boxes.
|
| 159 |
+
|
| 160 |
+
RNN-ED-XOE [63]. RNN-ED-XOE is an RNN-based encoder-decoder framework which models both temporal and visual features similar to STED. RNN-ED-XOE additionally encodes the future egomotion before fusing all information into a GRU decoder for future bounding boxes.
|
| 161 |
+
|
| 162 |
+
FLN-Bayesian using [7]. The work by Bhattacharyya et al. [7] is the only multimodal future prediction work for the egocentric scenario in the literature. It uses Bayesian optimization to estimate multiple future hypotheses and their uncertainty. Since they use a different network architecture and data modalities, rather than direct method comparison we port their Bayesian optimization into our framework for fair comparison. We re-trained our FLN with their objective to create samples by dropout during training and testing time as replacement for the EWTA hypotheses. We used the same number of samples, $N = 20$ , as in our standard approach.
|
| 163 |
+
|
| 164 |
+
All these baselines predict the future trajectory of either pedestrians [49, 48, 7] or vehicles [63]. Thus, we re-trained them on nuScenes [9] to handle both pedestrian and vehicle classes. Moreover, some baselines utilize the future egomotion obtained from ORB-SLAM2 [40] or predicted by their framework, as in [7]. For a fair comparison, we used the egomotion from nuScenes dataset when re-training and testing their models, thus eliminating the effect of different egomotion estimation methods.
|
| 165 |
+
|
| 166 |
+
FLN w/o reachability. To measure the effect of the reachability prior, we ran this version of our framework without RPN and RTN.
|
| 167 |
+
|
| 168 |
+
FLN + reachability. Our full framework including all 3 networks: RPN, RTN, FLN.
|
| 169 |
+
|
| 170 |
+
Due to the lack of comparable work addressing the emergence prediction task, so far, we conduct an ablation study on the emergence prediction to analyze the effect of the proposed reachability prior on the accuracy of the prediction.
|
| 171 |
+
|
| 172 |
+
# 4.5. Egocentric Future Localization
|
| 173 |
+
|
| 174 |
+
Table 1 shows a quantitative evaluation of our proposed framework against all the baselines listed above. To distinguish test cases that can be solved with simple extrapolation from more difficult cases, we use the performance of the Kalman filter [26]; see also [63]. A test sample, where the Kalman filter [26] has a displacement error larger than average is counted as challenging. An error more than twice the average is marked very challenging. In Table 1, we show the error only for the whole test set (all) and the very challenging subset (hard). More detailed results are in the supplemental material.
|
| 175 |
+
|
| 176 |
+
As expected, deep learning methods outperform the extrapolation by a Kalman filter on all metrics. Both variants of our framework show a significant improvement over all
|
| 177 |
+
|
| 178 |
+
<table><tr><td rowspan="2"></td><td colspan="3">nuScenes [9] (all 11k / hard 1.4k)</td><td colspan="3">Waymo [50] (all 47.2k / hard 7.1k)</td><td colspan="3">FIT (all 1.4k / hard 223)</td></tr><tr><td>FDE ↓</td><td>IOU ↑</td><td>NLL ↓</td><td>FDE ↓</td><td>IOU ↑</td><td>NLL ↓</td><td>FDE ↓</td><td>IOU ↑</td><td>NLL ↓</td></tr><tr><td>Kalman [26]</td><td>45.02/179.92</td><td>0.31/0.01</td><td>-</td><td>31.69/124.71</td><td>0.39/0.02</td><td>-</td><td>38.33/146.50</td><td>0.36/0.03</td><td>-</td></tr><tr><td>DTP [49]</td><td>35.88/111.49</td><td>0.34/0.05</td><td>-</td><td>28.31/82.64</td><td>0.38/0.10</td><td>-</td><td>34.99/118.36</td><td>0.37/0.09</td><td>-</td></tr><tr><td>RNN-ED-XOE [63]</td><td>30.47/78.54</td><td>0.34/0.13</td><td>-</td><td>25.23/59.23</td><td>0.36/0.18</td><td>-</td><td>35.74/88.58</td><td>0.36/0.17</td><td>-</td></tr><tr><td>STED [48]</td><td>27.71/82.71</td><td>0.39/0.13</td><td>-</td><td>20.73/58.14</td><td>0.42/0.20</td><td>-</td><td>31.80/86.58</td><td>0.35/0.16</td><td>-</td></tr><tr><td>FLN-Bayesian using [7]</td><td>28.51/82.23</td><td>0.37/0.13</td><td>19.75/28.44</td><td>23.75/64.67</td><td>0.38/0.17</td><td>18.80/27.54</td><td>32.64/87.63</td><td>0.38/0.16</td><td>20.56/28.83</td></tr><tr><td>FLN w/o RPN</td><td>15.91/47.15</td><td>0.54/0.29</td><td>19.46/26.85</td><td>13.20/36.57</td><td>0.54/0.34</td><td>18.84/26.19</td><td>18.12/47.92</td><td>0.53/0.33</td><td>20.38/27.88</td></tr><tr><td>FLN + RPN</td><td>12.82/32.68</td><td>0.55/0.33</td><td>17.90/24.17</td><td>10.35/27.15</td><td>0.58/0.37</td><td>16.63/22.95</td><td>15.41/32.14</td><td>0.54/0.39</td><td>19.08/24.73</td></tr></table>
|
| 179 |
+
|
| 180 |
+
basielines for the FDE and IOU metrics. When we use FDE or IOU, we use the oracle selection of the hypotheses (i.e, the closest bounding box to the ground truth). Hence, a multimodal method is favored over a unimodal one. Still, such significant improvement indicates the need for multimodality. To evaluate without the bias introduced by the oracle selection, we also report the negative log-likelihood (NLL).
|
| 181 |
+
|
| 182 |
+
Both variants of the proposed framework outperform the Bayesian framework on all metrics including the NLL. In fact, the Bayesian baseline is very close to the best unimodal baseline. This indicates its tendency for mode collapse, which we also see qualitatively. The use of the reachability prior is advantageous on all metrics and for all difficulties.
|
| 183 |
+
|
| 184 |
+
As the networks (ours and all baselines) were trained on nuScenes, the results on Waymo and FIT include a zero-shot transfer to unseen datasets. We obtain the same ranking for unseen datasets as for the test set of nuScenes. This indicates that overfitting to a dataset is not an issue for this task. We recommend having cross-dataset experiments (as we show) also in future works to ensure that this stays true and future improvements in numbers are really due to better models and not just overfitting.
|
| 185 |
+
|
| 186 |
+
Figure 5 shows some qualitative example in four challenging scenarios, where there are multiple options for the future location. (1) A pedestrian starts crossing the street and his future is not deterministic due to different speed estimates. (2) A pedestrian enters the scene from the left and will either continue walking to cross the street or will stop at the traffic light. (3) A tricycle driving from a parking area will continue driving to cross the road or will stop to give way to our vehicle. (4) A car entering the scene from the left will either slow down to yield or drive faster to overpass.
|
| 187 |
+
|
| 188 |
+
For all scenarios, we observe that the reachability prior (shown as set of colored bounding boxes) defines the general relation between the object of interest and the static elements of the scene. Similar to the observation from our quantitative evaluation, the Bayesian baseline predicts a single future with some uncertainty (unimodal distribution). Our framework without exploiting the reachability prior (FLN w/o RPN) tends to predict more diverse futures
|
| 189 |
+
|
| 190 |
+
Table 1. Result for future localization on the nuScenes [9], the Waymo [50], and our FIT datasets. The bottom three methods predict a multimodal distribution. The other methods are not probabilistic and do not allow evaluation of the NLL. For each cell, we report the average over (all testing scenarios/the very challenging scenarios). The number of all/very challenging scenarios for each dataset is shown in parentheses (top).
|
| 191 |
+
|
| 192 |
+
<table><tr><td></td><td>FDE ↓</td><td>IOU ↑</td><td>NLL ↓</td></tr><tr><td>EPN w/o RPN</td><td>21.48</td><td>0.18</td><td>22.99</td></tr><tr><td>EPN + RPN</td><td>15.89</td><td>0.19</td><td>21.03</td></tr></table>
|
| 193 |
+
|
| 194 |
+
Table 2. Quantitative results for the emergence prediction task on the nuScenes dataset [9].
|
| 195 |
+
|
| 196 |
+
but still lacks predicting many of the modes. The reachability prior helps the approach to cover more of the possible future locations.
|
| 197 |
+
|
| 198 |
+
We highly recommend watching the supplementary video, which gives a much more detailed qualitative impression of the results, as it allows the observer to get a much better feeling for the situation than the static pictures in the paper.
|
| 199 |
+
|
| 200 |
+
# 4.6. Egocentric Emergence Prediction
|
| 201 |
+
|
| 202 |
+
Table 2 shows the ablation study on the importance of using the reachability prior for the task of predicting object emergence in a scene. Similar to future localization, exploiting the reachability prior yields a higher accuracy and captures more of the modes. Two qualitative examples for this task are shown in Figure 6. Examples include scenarios (1) where a vehicle could emerge in the scene from the left street, could pass by or could be oncoming; (2) where a car could emerge from the left, from the right, it could pass by, or could be oncoming. EPN learns not only the location in the image, but also meaningful scales. For instance, the anticipation of passing-by cars has a larger scale compared to expected oncoming cars. The distributions for the two examples are different since more modes for emerging vehicles are expected in the second example (e.g, emerging from the right side). Notably, the reachability prior solution is different from the emergence solution, where close-by cars in front of the egocar are part of the reachability prior solution but are ruled out, since a car cannot suddenly appear there. More results are provided in the supplemental material.
|
| 203 |
+
|
| 204 |
+
# 5. Conclusions
|
| 205 |
+
|
| 206 |
+
In this work, we introduced a method for predicting future locations of traffic objects in egocentric views without
|
| 207 |
+
|
| 208 |
+

|
| 209 |
+
Figure 5. Results for future localization on Waymo [50] (1st row) and nuScenes [9] (2-4 rows). For each row (scenario), we show (a) the observed trajectory of the object of interest (pink) and the planned egomotion (red arrow) to the future (red circle indicates no egomotion), (b) the reachability prior resulted from the RTN in the future frame, (c) a heatmap overlayed on the future image and the mean prediction (green bounding box) visualizing the distribution predicted by the Bayesian method and the ground-truth bounding box (pink), (d-e) both variants of our future localization framework.
|
| 210 |
+
|
| 211 |
+

|
| 212 |
+
Figure 6. Sample results for emergence prediction on nuScenes [9]. For each row (scenario), we show (a) the observed image and the planned egomotion to the future (red circle indicates no egomotion), (b) the reachability prior from the RTN in the future frame, (c-d) both variants of the emergence prediction framework.
|
| 213 |
+
|
| 214 |
+
predefined assumptions on the scene and by taking into account the multimodality of the future. We showed that a reachability prior and multi-hypotheses learning help overcome mode collapse. We also introduced a new task relevant for autonomous driving: predicting locations of suddenly emerging objects. Overall, we obtained quite good results even in difficult scenarios, but careful qualitative in
|
| 215 |
+
|
| 216 |
+
spection of many results still shows a lot of potential for improvement on future prediction.
|
| 217 |
+
|
| 218 |
+
# 6. Acknowledgments
|
| 219 |
+
|
| 220 |
+
This work was funded in parts by IMRA Europe S.A.S. and the German Ministry for Research and Education (BMBF) via the project Deep-PTL.
|
| 221 |
+
|
| 222 |
+
# References
|
| 223 |
+
|
| 224 |
+
[1] Sandra Aigner and Marco Krner. Futuregan: Anticipating the future frames of video sequences using spatio-temporal 3d convolutions in progressively growing gans. arXiv preprint arXiv:1810.01325, 2018.
|
| 225 |
+
[2] A. Alahi, K. Goel, V. Ramanathan, A. Robicquet, L. Fei-Fei, and S. Savarese. Social lstm: Human trajectory prediction in crowded spaces. In CVPR, 2016.
|
| 226 |
+
[3] Javad Amirian, Jean-Bernard Hayet, and Julien Pettre. Social ways: Learning multi-modal distributions of pedestrian trajectories with gans. In CVPR Workshops, 2019.
|
| 227 |
+
[4] Federico Bartoli, Giuseppe Lisanti, Lamberto Ballan, and Alberto Del Bimbo. Context-aware trajectory prediction. arXiv preprint arXiv:1705.02503, 2017.
|
| 228 |
+
[5] Lorenzo Berlincioni, Federico Becattini, Leonardo Galteri, Lorenzo Seidenari, and Alberto Del Bimbo. Semantic road layout understanding by generative adversarial inpainting. arXiv preprint arXiv:1805.11746, 2018.
|
| 229 |
+
[6] Apratim Bhattacharyya, Mario Fritz, and Bernt Schiele. Bayesian prediction of future street scenes through importance sampling based optimization. arXiv preprint arXiv:1806.06939, 2018.
|
| 230 |
+
[7] A. Bhattacharyya, M. Fritz, and B. Schiele. Long-term onboard prediction of people in traffic scenes under uncertainty. In CVPR, June 2018.
|
| 231 |
+
[8] Apratim Bhattacharyya, Mario Fritz, and Bernt Schiele. Bayesian prediction of future street scenes using synthetic likelihoods. In ICLR, 2019.
|
| 232 |
+
[9] Holger Caesar, Varun Bankiti, Alex H. Lang, Sourabh Vora, Venice Erin Liong, Qiang Xu, Anush Krishnan, Yu Pan, Giancarlo Baldan, and Oscar Beijbom. nuscenes: A multimodal dataset for autonomous driving. arXiv preprint arXiv:1903.11027, 2019.
|
| 233 |
+
[10] Rohan Chandra, Uttaran Bhattacharya, Aniket Bera, and Dinesh Manocha. Traphic: Trajectory prediction in dense and heterogeneous traffic using weighted interactions. In CVPR, June 2019.
|
| 234 |
+
[11] Liang-Chieh Chen, Yukun Zhu, George Papandreou, Florian Schroff, and Hartwig Adam. Encoder-decoder with atrous separable convolution for semantic image segmentation. In ECCV, 2018.
|
| 235 |
+
[12] Chiho Choi and Behzad Dariush. Looking to relations for future trajectory forecast. In ICCV, 2019.
|
| 236 |
+
[13] Chiho Choi, Abhishek Patil, and Srikanth Malla. Drogon: A causal reasoning framework for future trajectory forecast. arXiv preprint arXiv:1908.00024, 2019.
|
| 237 |
+
[14] Henggang Cui, Thi Nguyen, Fang-Chieh Chou, Tsung-Han Lin, Jeff Schneider, David Bradley, and Nemanja Djuric. Deep kinematic models for physically realistic prediction of vehicle trajectories. arXiv preprint arXiv:1908.00219, 2019.
|
| 238 |
+
[15] Henggang Cui, Vladan Radosavljevic, Fang-Chieh Chou, Tsung-Han Lin, Thi Nguyen, Tzu-Kuo Huang, Jeff Schneider, and Nemanja Djuric. Multimodal trajectory predictions for autonomous driving using deep convolutional networks. arXiv preprint arXiv:1809.10732, 2018.
|
| 239 |
+
|
| 240 |
+
[16] N. Deo, A. Rangesh, and M. M. Trivedi. How would surround vehicles move? a unified framework for maneuver classification and motion prediction. T-IV, June 2018.
|
| 241 |
+
[17] Nemanja Djuric, Vladan Radosavljevic, Henggang Cui, Thi Nguyen, Fang-Chieh Chou, Tsung-Han Lin, and Jeff Schneider. Short-term motion prediction of traffic actors for autonomous driving using deep convolutional networks. arXiv preprint arXiv:1808.05819, 2018.
|
| 242 |
+
[18] J. Engel, V. Koltun, and D. Cremers. Direct sparse odometry. In arXiv:1607.02565, 2016.
|
| 243 |
+
[19] Chenyou Fan, Jangwon Lee, and Michael S. Ryoo. Forecasting hands and objects in future frames. In ECCV, September 2018.
|
| 244 |
+
[20] D. Gonzlez, J. Prez, V. Milans, and F. Nashashibi. A review of motion planning techniques for automated vehicles. T-ITS, April 2016.
|
| 245 |
+
[21] Agrim Gupta, Justin Johnson, Li Fei-Fei, Silvio Savarese, and Alexandre Alahi. Social gan: Socially acceptable trajectories with generative adversarial networks. In CVPR, 2018.
|
| 246 |
+
[22] K. He, G. Gkioxari, P. Dollr, and R. Girshick. Mask r-cnn. In ICCV, pages 2980-2988, Oct 2017.
|
| 247 |
+
[23] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, June 2016.
|
| 248 |
+
[24] Yeping Hu, Wei Zhan, and Masayoshi Tomizuka. Probabilistic prediction of vehicle semantic intention and motion. arXiv preprint arXiv:1804.03629, 2018.
|
| 249 |
+
[25] Xiaojie Jin, Huaxin Xiao, Xiaohui Shen, Jimei Yang, Zhe Lin, Yunpeng Chen, Zequn Jie, Jiashi Feng, and Shuicheng Yan. Predicting scene parsing and motion dynamics in the future. In NIPS, pages 6915-6924, 2017.
|
| 250 |
+
[26] R. E. Kalman. A new approach to linear filtering and prediction problems. ASME Journal of Basic Engineering, 1960.
|
| 251 |
+
[27] Vineet Kosaraju, Amir Sadeghian, Roberto Martin-Martin, Ian Reid, S. Hamid Rezatofighi, and Silvio Savarese. Socialbigat: Multimodal trajectory forecasting using bicyclegan and graph attention networks. arXiv preprint arXiv:1907.03395, 2019.
|
| 252 |
+
[28] Yong-Hoon Kwon and Min-Gyu Park. Predicting future frames using retrospective cycle gan. In CVPR, June 2019.
|
| 253 |
+
[29] Donghoon Lee, Sifei Liu, Jinwei Gu, Ming-Yu Liu, Ming-Hsuan Yang, and Jan Kautz. Context-aware synthesis and placement of object instances. In NIPS, 2018.
|
| 254 |
+
[30] Namhoon Lee, Wongun Choi, Paul Vernaza, Christopher B Choy, Philip HS Torr, and Manmohan Chandraker. Desire: Distant future prediction in dynamic scenes with interacting agents. In CVPR, pages 336-345, 2017.
|
| 255 |
+
[31] Yuke Li. Which way are you going? imitative decision learning for path forecasting in dynamic scenes. In CVPR, June 2019.
|
| 256 |
+
[32] Yijun Li, Chen Fang, Jimei Yang, Zhaowen Wang, Xin Lu, and Ming-Hsuan Yang. Flow-grounded spatial-temporal video prediction from still images. In ECCV, 2018.
|
| 257 |
+
[33] Pauline Luc, Camille Couprie, Yann Lecun, and Jakob Verbeek. Predicting future instance segmentations by forecasting convolutional features. arXiv preprint arXiv:1803.11496, 2018.
|
| 258 |
+
|
| 259 |
+
[34] Pauline Luc, Natalia Neverova, Camille Couprie, Jakob Verbeek, and Yann LeCun. Predicting deeper into the future of semantic segmentation. In ICCV, 2017.
|
| 260 |
+
[35] Yuexin Ma, Xinge Zhu, Sibo Zhang, Ruigang Yang, Wenping Wang, and Dinesh Manocha. Trafficpredict: Trajectory prediction for heterogeneous traffic-agents. In AAAI, pages 6120-6127, 2019.
|
| 261 |
+
[36] Osama Makansi, Eddy Ilg, Ozgun Cicek, and Thomas Brox. Overcoming limitations of mixture density networks: A sampling and fitting framework for multimodal future prediction. In CVPR, June 2019.
|
| 262 |
+
[37] Srikanth Malla and Chiho Choi. Nemo: Future object localization using noisy ego priors. arXiv preprint arXiv:1909.08150, 2019.
|
| 263 |
+
[38] Huynh Manh and Gita Alaghband. Scene-lstm: A model for human trajectory prediction. arXiv preprint arXiv:1808.04018, 2018.
|
| 264 |
+
[39] P. McCullagh and J.A. Nelder. Generalized Linear Models, Second Edition. Chapman & Hall/CRC Monographs on Statistics & Applied Probability. Taylor & Francis, 1989.
|
| 265 |
+
[40] R. Mur-Artal and J. D. Tards. Orb-slam2: An open-source slam system for monocular, stereo, and rgb-d cameras. IEEE Transactions on Robotics, 2017.
|
| 266 |
+
[41] Gerhard Neuhold, Tobias Ollmann, Samuel Rota Bulò, and Peter Kontschieder. The mapillary vistas dataset for semantic understanding of street scenes. In ICCV, 2017.
|
| 267 |
+
[42] A. O'Hagan. Curve fitting and optimal design for prediction. Journal of the Royal Statistical Society: Series B (Methodological), 40(1):1-24, 1978.
|
| 268 |
+
[43] Carl Edward Rasmussen and Christopher K. I. Williams. Gaussian Processes for Machine Learning (Adaptive Computation and Machine Learning). The MIT Press, 2005.
|
| 269 |
+
[44] Nicholas Rhinehart, Rowan McAllister, Kris Kitani, and Sergey Levine. Precog: Prediction conditioned on goals in visual multi-agent settings. In ICCV, 2019.
|
| 270 |
+
[45] Amir Sadeghian, Vineet Kosaraju, Ali Sadeghian, Noriaki Hirose, Hamid Rezatofighi, and Silvio Savarese. Sophie: An attentive gan for predicting paths compliant to social and physical constraints. In CVPR, 2019.
|
| 271 |
+
[46] Amir Sadeghian, Ferdinand Legros, Maxime Voisin, Ricky Vesel, Alexandre Alahi, and Silvio Savarese. Car-net: Clairvoyant attentive recurrent network. In ECCV, 2018.
|
| 272 |
+
[47] Shashank Srikanth, Junaid Ahmed Ansari, Karnik Ram R, Sarthak Sharma, Krishna Murthy J., and Madhava Krishna K. Infer: Intermediate representations for future prediction. arXiv preprint arXiv:1903.10641, 2019.
|
| 273 |
+
[48] Olly Styles, Tanaya Guha, and Victor Sanchez. Multiple object forecasting: Predicting future object locations in diverse environments. arXiv preprint arXiv:1909.11944, 2019.
|
| 274 |
+
[49] O. Styles, A. Ross, and V. Sanchez. Forecasting pedestrian trajectory with machine-annotated training data. In IV, June 2019.
|
| 275 |
+
[50] Pei Sun, Henrik Kretzschmar, Xerxes Dotiwalla, Aurelien Chouard, Vijaysai Patnaik, Paul Tsui, James Guo, Yin Zhou, Yuning Chai, Benjamin Caine, Vijay Vasudevan, Wei Han, Jiquan Ngiam, Hang Zhao, Aleksei Timofeev, Scott Ettinger, Maxim Krivokon, Amy Gao, Aditya Joshi, Yu Zhang,
|
| 276 |
+
|
| 277 |
+
Jonathon Shlens, Zhifeng Chen, and Dragomir Anguelov. Scalability in perception for autonomous driving: Waymo open dataset, 2019.
|
| 278 |
+
[51] Ruben Villegas, Jimei Yang, Seunghoon Hong, Xunyu Lin, and Honglak Lee. Decomposing motion and content for natural video sequence prediction. In ICLR, 2017.
|
| 279 |
+
[52] Ruben Villegas, Jimei Yang, Yuliang Zou, Sungryull Sohn, Xunyu Lin, and Honglak Lee. Learning to generate long-term future via hierarchical prediction. In ICML, 2017.
|
| 280 |
+
[53] Carl Vondrick, Hamed Pirsiavash, and Antonio Torralba. Anticipating visual representations from unlabeled video. In CVPR, pages 98-106, 2016.
|
| 281 |
+
[54] Suhani Vora, Reza Mahjourian, Soeren Pirk, and Anelia Angelova. Future segmentation using 3d structure. arXiv preprint arXiv:1811.11358, 2018.
|
| 282 |
+
[55] J. Walker, A. Gupta, and M. Hebert. Patch to the future: Unsupervised visual prediction. In CVPR, 2014.
|
| 283 |
+
[56] J. M. Wang, D. J. Fleet, and A. Hertzmann. Gaussian process dynamical models for human motion. TPAMI, 30(2):283-298, 2008.
|
| 284 |
+
[57] C. K. I. Williams. Prediction with gaussian processes: From linear regression to linear prediction and beyond. In Learning and Inference in Graphical Models, pages 599-621. Kluwer, 1997.
|
| 285 |
+
[58] Nicolai Wojke, Alex Bewley, and Dietrich Paulus. Simple online and realtime tracking with a deep association metric. arXiv preprint arXiv:1703.07402, 2017.
|
| 286 |
+
[59] Y. Xu, Z. Piao, and S. Gao. Encoding crowd interaction with deep neural network for pedestrian trajectory prediction. In CVPR, pages 5275-5284, 2018.
|
| 287 |
+
[60] H. Xue, D. Q. Huynh, and M. Reynolds. Ss-lstm: A hierarchical LSTM model for pedestrian trajectory prediction. In WACV, 2018.
|
| 288 |
+
[61] Tianfan Xue, Jiajun Wu, Katherine Bouman, and Bill Freeman. Visual dynamics: Probabilistic future frame synthesis via cross convolutional networks. In NIPS, pages 91-99, 2016.
|
| 289 |
+
[62] T. Yagi, K. Mangalam, R. Yonetani, and Y. Sato. Future person localization in first-person videos. In CVPR, June 2018.
|
| 290 |
+
[63] Y. Yao, M. Xu, C. Choi, D. J. Crandall, E. M. Atkins, and B. Dariush. Egocentric vision-based future vehicle localization for intelligent driving assistance systems. In ICRA, May 2019.
|
| 291 |
+
[64] Jiahui Yu, Zhe Lin, Jamei Yang, Xiaohui Shen, Xin Lu, and Thomas S. Huang. Generative image inpainting with contextual attention. In CVPR, June 2018.
|
| 292 |
+
[65] Pu Zhang, Wanli Ouyang, Pengfei Zhang, Jianru Xue, and Nanning Zheng. Sr-lstm: State refinement for lstm towards pedestrian trajectory prediction. In CVPR, 2019.
|
| 293 |
+
[66] Tianyang Zhao, Yifei Xu, Mathew Monfort, Wongun Choi, Chris Baker, Yibiao Zhao, Yizhou Wang, and Ying Nian Wu. Multi-agent tensor fusion for contextual trajectory prediction. In CVPR, June 2019.
|
multimodalfuturelocalizationandemergencepredictionforobjectsinegocentricviewwithareachabilityprior/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0be51a9b6c295cbfc0feee7bfb1e76fcdabbbf9c3fdc4fab83088fe18cee3fc1
|
| 3 |
+
size 629102
|
multimodalfuturelocalizationandemergencepredictionforobjectsinegocentricviewwithareachabilityprior/layout.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:59812be99b0607cd5e1ef4eebda04f6467a9066337de8aa6ac5b265714ad5539
|
| 3 |
+
size 343365
|
multipleanchorlearningforvisualobjectdetection/b4f6a0d8-5896-4dc8-ae72-b494274284b7_content_list.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:83046b946b142962e87a3f63cc859a5af6e3fdd2a19c1080a4d598d7b70bdbc4
|
| 3 |
+
size 77255
|
multipleanchorlearningforvisualobjectdetection/b4f6a0d8-5896-4dc8-ae72-b494274284b7_model.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8ecee0fdf02091c35f8f3c7f7bd07707694ca50f39dc090b66cc98352e6a0daf
|
| 3 |
+
size 92874
|
multipleanchorlearningforvisualobjectdetection/b4f6a0d8-5896-4dc8-ae72-b494274284b7_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2542eedb5ef9379619af061bcb5d4f7214f06e0120f32d569f9305532cb792f6
|
| 3 |
+
size 558524
|
multipleanchorlearningforvisualobjectdetection/full.md
ADDED
|
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Multiple Anchor Learning for Visual Object Detection
|
| 2 |
+
|
| 3 |
+
Wei $\mathrm{Ke}^{*1,2}$ , Tianliang Zhang $^{*3}$ , Zeyi Huang $^{2}$ , Qixiang Ye $^{\dagger 3}$ , Jianzhuang Liu $^{4}$ , and Dong Huang $^{2}$
|
| 4 |
+
|
| 5 |
+
$^{1}$ Xi'an Jiaotong University, Xi'an, China
|
| 6 |
+
|
| 7 |
+
$^{2}$ Carnegie Mellon University, Pittsburgh, US
|
| 8 |
+
|
| 9 |
+
<sup>3</sup>University of Chinese Academy of Sciences, Beijing, China
|
| 10 |
+
|
| 11 |
+
4 Shenzhen Institutes of Advanced Technology, Shenzhen, China
|
| 12 |
+
|
| 13 |
+
wei.ke@xjtu.edu.cn, zhangtianliang17@mails.ucas.ac.cn, zeyih@andrew.cmu.edu
|
| 14 |
+
|
| 15 |
+
qxye@ucas.ac.cn, jz.liu@siat.ac.cn, donghuang@cmu.edu
|
| 16 |
+
|
| 17 |
+
# Abstract
|
| 18 |
+
|
| 19 |
+
Classification and localization are two pillars of visual object detectors. However, in CNN-based detectors, these two modules are usually optimized under a fixed set of candidate (or anchor) bounding boxes. This configuration significantly limits the possibility to jointly optimize classification and localization. In this paper, we propose a Multiple Instance Learning (MIL) approach that selects anchors and jointly optimizes the two modules of a CNN-based object detector. Our approach, referred to as Multiple Anchor Learning (MAL), constructs anchor bags and selects the most representative anchors from each bag. Such an iterative selection process is potentially NP-hard to optimize. To address this issue, we solve MAL by repetitively depressing the confidence of selected anchors by perturbing their corresponding features. In an adversarial selection-depression manner, MAL not only pursues optimal solutions but also fully leverages multiple anchors/features to learn a detection model. Experiments show that MAL improves the baseline RetinaNet with significant margins on the commonly used MS-COCO object detection benchmark and achieves new state-of-the-art detection performance compared with recent methods.
|
| 20 |
+
|
| 21 |
+
# 1. Introduction
|
| 22 |
+
|
| 23 |
+
Convolutional Neural Network (CNN) based object detectors have achieved unprecedented advances in the past few years [9, 8, 27, 25, 21, 17, 18]. In both recent two-stage and single-stage object detectors, the bounding box classification and localization modules are highly integrated: they
|
| 24 |
+
|
| 25 |
+

|
| 26 |
+
|
| 27 |
+

|
| 28 |
+
|
| 29 |
+

|
| 30 |
+
(a) Baseline
|
| 31 |
+
|
| 32 |
+

|
| 33 |
+
(b) MAL
|
| 34 |
+
Figure 1: Detection outputs of the baseline detector (RetinaNet) and the Multiple Anchor Learning (MAL), before and after NMS. The baseline detector may produce bounding boxes with high localization IoU with a low classification score (the yellow bbox), or low localization IoU with a high classification score (the red bbox), which lead to suboptimal results after NMS. MAL produces bounding boxes with high co-occurrence of top classification and localization, leading to better detection results after NMS.
|
| 35 |
+
|
| 36 |
+
are conducted on the shared local features, and are optimized over the sum of the loss functions.
|
| 37 |
+
|
| 38 |
+
To provide rich candidates of shared local features, a prevalent approach is the introduce hand-crafted dense anchors [18] on the convolutional feature maps. These anchors create a uniform distribution of bounding box scales and aspect ratios, enabling objects with various scales and
|
| 39 |
+
|
| 40 |
+
aspect ratios to be equally represented in training a detector.
|
| 41 |
+
|
| 42 |
+
However, optimization under a fixed set of hand-crafted anchors significantly limits the possibility to jointly optimize classification and localization. During training, detectors leverage spatial alignment, i.e., Intersection over Unit (IoU) between objects and anchors, as the sole criterion to assign anchors. Each assigned anchor independently supervises network learning for classification and localization. Without direct interactions of the two optimizations, the detections of accurate localization may have lower classification confidence, and be suppressed by the following Non-Maximum Suppression (NMS) procedure (see the baseline example in Fig. 1).
|
| 43 |
+
|
| 44 |
+
Recent remedy for the problem includes IoU-Net [13] and FreeAnchor [34]. However, it remains using independent classification and localization confidence during the training procedure. FreeAnchor selects anchors according to a joint probability over classification and localization. Nevertheless, the matching procedure based on maximum likelihood estimation (MLE) is not optimal considering the non-convexity of the problem.
|
| 45 |
+
|
| 46 |
+
In this paper, we present Multiple Anchor Learning (MAL), an automatic anchor learning approach that jointly optimizes object classification and localization from the perspective of anchor-object matching. In training phase of MAL, an anchor bag for each object is constructed by choosing the top ranked anchor with IoUs between anchors and the object bounding box. MAL evaluates positive anchors in each bag by combining their classification and localization scores. In each training iteration, MAL uses all positive anchors to optimize the training loss but selects the high/top-scored anchors as the solutions. This leads to high co-occurrence of top classification and localization (see the MAL example in Fig. 2).
|
| 47 |
+
|
| 48 |
+
MAL is optimized over an anchor selection loss based on Multiple Instance Learning (MIL) [23]. However, the iterative selection process under conventional MIL is potentially NP-hard to optimize. Selecting the top-scored instance (anchor) in each learning iteration could produce sub-optimal solutions, e.g., falsely localized object parts. To address this issue, we solve MAL by repetitively depressing the confidence of top-scored anchors by perturbing their features, which tends to that potential optimal solutions, i.e., positive anchors of lower confidence, have an opportunity to participate in learning. By upgrading the supervision from independent anchors to multiple anchors, MAL fully leverages multiple anchors/features to learn a better detector. The contributions of this work include:
|
| 49 |
+
|
| 50 |
+
- We propose an Multiple Anchor Learning (MAL) approach, jointly optimizing classification and localization modules for object detection by evaluating and selecting anchors.
|
| 51 |
+
- We propose a selection-depression optimization strategy, providing an elegant-yet-effective way to prevent
|
| 52 |
+
|
| 53 |
+
MAL from getting stuck into sub-optimal solutions during detector training.
|
| 54 |
+
|
| 55 |
+
- We improve state-of-the-arts with significant margins on the commonly used MS COCO dataset.
|
| 56 |
+
|
| 57 |
+
# 2. Related Work
|
| 58 |
+
|
| 59 |
+
Various taxonomies [20] have been used to categorize the large amount of CNN-based object detection methods, e.g., one-stage [27] vs. two-stage [18], single-scale features [27] vs. multi-scale representation [17, 16, 24], and handcrafted architectures [21] vs. Network Architecture Search (NAS) [7]. In this paper, we review the related works from the perspective of object localization.
|
| 60 |
+
|
| 61 |
+
# 2.1. Anchor-Based Method
|
| 62 |
+
|
| 63 |
+
Training a detector requires to generate a set of bounding boxes along with their classification labels associated with the objects in an image. However, it is not trivial for CNNs to directly predict an order-less set of arbitrary cardinals [32]. One commonly used strategy is to introduce anchors, which employs a divide-and-conquer strategy to match objects with convolutional features, spatially.
|
| 64 |
+
|
| 65 |
+
Anchor Assignment. Anchor-based detection methods include the well-known Faster R-CNN [27], FPN [17], RetinaNet [18], SSD [21], DSSD [6], andYOLO [26]. In these detectors, a large amount of anchors are scattered over convolutional feature maps so that they can match objects of various aspect ratios and scales. During training, the anchors are assigned to objects (positive anchors) or backgrounds (negative anchors) by threshold their IoUs with the ground-truth bounding boxes [27]. During inference, anchors independently predict object bounding boxes, where the box with the highest classification score is retained after the NMS procedure.
|
| 66 |
+
|
| 67 |
+
Despite of the simplicity, these approaches rely on the assumption that anchors are optimal for both object classification and localization. For objects of partially occlusion and irregular shapes, however, such heuristics are implausible and they could miss the best anchors/features [34].
|
| 68 |
+
|
| 69 |
+
Anchor Optimization. To pursue optimal feature-object matching, MetaAnchor [32] learns to predict anchors from the arbitrary customized prior boxes with a subnet. GuidedAnchoring [31] leverages semantic features to guide the prediction of anchors while replacing dense anchors with predicted anchors. FreeAnchor [34] upgrades handcrafted anchor assignment to "free" anchor matching. This approach formulates detector training as a maximum likelihood estimation (MLE) procedure. Its goal is to learn features that best explain a class of objects in terms of both classification and localization. IoU-Net [13] selects anchors while predicting the IoU between a detected bounding box and a ground-truth box. Combined with an
|
| 70 |
+
|
| 71 |
+

|
| 72 |
+
Figure 2: The main idea of MAL. In the feature pyramid network, an anchor bag $A_{i}$ is constructed for each object $b_{i}$ . Together with the network parameter learning, i.e., back-propagation, MAL evaluates the joint classification and localization confidence of each anchor in $A_{i}$ . Such confidence is used for anchor selection and indicates the importance of anchors during network parameter evolution.
|
| 73 |
+
|
| 74 |
+
IoU-guided NMS, IoU-Net reduces the suppression failure caused by the misleading classification confidences. Gaussian YOLO [3] introduces localization uncertainty that indicates the reliability of anchors/bounding boxes. By using the estimated localization uncertainty during inference, this approach improves classification and localization accuracy.
|
| 75 |
+
|
| 76 |
+
All above approaches have taken some steps towards anchor learning. Nevertheless, how to efficiently select optimal anchors remains to be further elaborated. Considering a non-convex objective function which could cause sub-optimal solutions, we propose an adversarial selection-depression strategy to alleviate this issue.
|
| 77 |
+
|
| 78 |
+
# 2.2. Anchor-Free Method
|
| 79 |
+
|
| 80 |
+
Instead of using anchors as bases to conduct detection, researchers have recently explored anchor-free approaches, which operates on individual cells of the convolutional feature maps. FCOS leverages cell-level supervision and center-ness bounding-box regression [29] for object detection. CornerNet [15] and CenterNet [5] replace bounding box supervision with key-point supervision. Extreme point [35] and RepPoint [33] use point sets to predict object bounding boxes.
|
| 81 |
+
|
| 82 |
+
As a new direction for object detection, anchor-free methods show great potential for extreme object scales and aspect ratios, without constraints set by hand-craft anchors. However, without the anchor box as the reference point, direct regression of bounding boxes from convolutional features remains a very challenging problem. As an anchor-based approach, MAL outperforms the current top anchor-free detectors such as CenterNet and CornerNet.
|
| 83 |
+
|
| 84 |
+
# 3. The Proposed Approach
|
| 85 |
+
|
| 86 |
+
MAL is implemented based on RetinaNet [18] network architecture. MAL upgrades RetinaNet by finding optimal selection of anchors/features for both classification and localization. In what follows, we briefly revisit RetinaNet on
|
| 87 |
+
|
| 88 |
+
its original mechanism in object classification and localization. We then elaborate how MAL improve classification and localization by evaluating anchors. We finally propose an anchor selection-depression strategy to pursue optimal solutions of MAL.
|
| 89 |
+
|
| 90 |
+
# 3.1. RetinaNet Revisit
|
| 91 |
+
|
| 92 |
+
RetinaNet is a representative architecture of single-stage detectors with state-of-the-art performance. A RetinaNet detector is made up of a backbone network and two subnets, one for object classification and other for object localization. Feature Pyramid Network (FPN) is used at the end of RetinaNet backbone network. From each feature map in the feature pyramid, a classification subnet predicts category probabilities while a box regression subnet predicts object locations using anchor boxes as the reference locations. The input features of the two subnets are shared across the feature pyramid levels for efficiency. Considering the extreme imbalance of foreground-background classes, presented as positive-negative anchors after anchor-object matching, Focal Loss is adopted to prevent the vast number of easy negatives from overwhelming the detector during training.
|
| 93 |
+
|
| 94 |
+
Let $x \in \mathcal{X}$ be an input image with label $y \in \mathcal{Y}$ , where $\mathcal{X}$ is the training image set and $\mathcal{Y}$ is the label set of the categories. Without loss of generality, denote $B$ as the ground-truth bounding boxes of the objects in a positive image. $b_{i} \in B$ consists of the class label $b_{i}^{cls}$ and the spatial position $b_{i}^{loc}$ . The classification confidence $a_{j}^{cls}$ and bounding-box output $a_{j}^{loc}$ of the anchor $a_{j}$ are predicted by the classification and the box regression subnets, respectively. The anchors in an image are divided into positive ones $a_{j+}$ if their IoUs with the ground-truth boxes are larger than a threshold, and negative ones $a_{j-}$ otherwise. Anchors are used to supervise network learning, as
|
| 95 |
+
|
| 96 |
+
$$
|
| 97 |
+
\theta^ {*} = \arg \max _ {\theta} \left(f _ {\theta} \left(a _ {j +}, b _ {i} ^ {c l s}\right) - \gamma f _ {\theta} \left(a _ {j -}, b _ {i} ^ {c l s}\right)\right), \tag {1}
|
| 98 |
+
$$
|
| 99 |
+
|
| 100 |
+
where $f_{\theta}(\cdot)$ denotes the classification procedure, and $\gamma$ is
|
| 101 |
+
|
| 102 |
+

|
| 103 |
+
Figure 3: MAL implementation. During training, it includes the additional anchor selection and anchor depression modules added to RetinaNet. During test, it uses exactly the same architecture as RetinaNet. “ $U$ ” and “ $V$ ” respectively denote convolutional feature maps before and after depression. “ $M$ ” and “ $M'$ ” respectively denote an activation map before and after depression.
|
| 104 |
+
|
| 105 |
+
a factor to balance the importance of negative/positive anchors. Simultaneously, positive anchors are used to optimize the object localization, as
|
| 106 |
+
|
| 107 |
+
$$
|
| 108 |
+
\theta^ {*} = \arg \max _ {\theta} g _ {\theta} \left(a _ {j +}, b _ {i} ^ {l o c}\right), \tag {2}
|
| 109 |
+
$$
|
| 110 |
+
|
| 111 |
+
where $\theta$ denotes the network parameters, and $g_{\theta}(\cdot)$ denotes the bounding-box regression procedure. Eq. 1 and Eq. 2 are actually implemented by minimizing the Focal Loss, $\mathcal{L}_{cls}(a_j,b_i^{cls})$ , and the Smooth-L1 loss, $\mathcal{L}_{loc}(a_j,b_i^{loc})$ ,
|
| 112 |
+
|
| 113 |
+
During network learning, each assigned anchor independently supervises the learning for object classification and object localization, without considering whether the detection and localization are compatible on assigned anchors. This could cause the anchors of accurate localization but with lower classification confidence to be suppressed by the following Non-Maximum Suppression (NMS) procedure.
|
| 114 |
+
|
| 115 |
+
# 3.2. Multiple Anchor Learning
|
| 116 |
+
|
| 117 |
+
To alleviate the drawbacks of independent anchor optimization, we propose the Multiple Anchor Learning (MAL) approach, Fig. 2. In each learning iteration, MAL selects high-scored instances in an anchor bag to update the model. After updating, the model evaluates each instance with new confidence. Model learning and anchor selection iteratively perform towards final optimization.
|
| 118 |
+
|
| 119 |
+
To fulfill this purpose, we first construct an anchor bag $A_{i}$ for the $i^{th}$ object. The anchor bag includes the top- $k$ anchors according to the IoUs between the anchors and the ground truth. Together with network parameter learning, i.e., back-propagation, MAL evaluates the joint classification and localization confidence of each anchor in $A_{i}$ . Such confidence is used for anchor selection and indicates the importance of anchors during network parameter evolution. For simplicity, consider solely the learning upon positive anchors, while that for negative anchors follows Eq. 1.
|
| 120 |
+
|
| 121 |
+
MAL has the following objective function:
|
| 122 |
+
|
| 123 |
+
$$
|
| 124 |
+
\begin{array}{l} \left\{\theta^ {*}, a _ {i} ^ {*} \right\} = \arg \max _ {\theta , a _ {j} \in A _ {i}} F _ {\theta} \left(a _ {j}, b _ {i}\right) \\ = \arg \max _ {\theta , a _ {j} \in A _ {i}} f _ {\theta} \left(a _ {j}, b _ {i} ^ {c l s}\right) + \beta g _ {\theta} \left(a _ {j}, b _ {i} ^ {l o c}\right), \tag {3} \\ \end{array}
|
| 125 |
+
$$
|
| 126 |
+
|
| 127 |
+
where $f_{\theta}(.)$ and $g_{\theta}(.)$ give the classification and localization scores, respectively, and $\beta$ is a regularization factor. It is towards selecting a best positive anchor $a_{i}^{*}$ for the $i^{th}$ object, as well as learning the network parameters $\theta^{*}$ .
|
| 128 |
+
|
| 129 |
+
The objective function defined in Eq. 3 is converted to a loss function as:
|
| 130 |
+
|
| 131 |
+
$$
|
| 132 |
+
\begin{array}{l} \left\{\theta^ {*}, a _ {i} ^ {*} \right\} = \arg \min _ {\theta , a _ {j} \in A _ {i}} \mathcal {L} _ {d e t} \left(a _ {j}, b _ {i}\right) \\ = \arg \min _ {\theta , a _ {j} \in A _ {i}} \mathcal {L} _ {c l s} \left(a _ {j}, b _ {i} ^ {c l s}\right) + \beta \mathcal {L} _ {r e g} \left(a _ {j}, b _ {i} ^ {l o c}\right), \tag {4} \\ \end{array}
|
| 133 |
+
$$
|
| 134 |
+
|
| 135 |
+
where $\mathcal{L}_{cls}$ and $\mathcal{L}_{reg}$ are the classification and detection losses, respectively, as defined in Section 3.1. The loss for negative anchors follows the Focal Loss defined in [18].
|
| 136 |
+
|
| 137 |
+
# 3.3. Selection-Depression Optimization
|
| 138 |
+
|
| 139 |
+
Optimizing Eq. 3 or Eq. 4 with Stochastic Gradient Descent (SGD) is a non-convex problem, which could cause a sub-optimal anchor selection. To alleviate the problem and select optimal anchors, we propose repetitively depressing the confidence of selected anchors by perturbing their corresponding features. Such a learning strategy, referred to as selection-depression optimization, solves the MAL problem in an adversarial manner.
|
| 140 |
+
|
| 141 |
+
Anchor Selection. According to $F_{\theta}(a_j, b_i)$ , the conventional MIL algorithm tends to select the top-scored anchor. Nevertheless, in the context of object detection, selecting a top-scored anchor from each bag is difficult, as validated by the continuation MIL method [30]. Instead of selecting the highest-scored anchor in Eq. 3 in the training phase, we propose an "All-to-Top-1" anchor selection strategy from each
|
| 142 |
+
|
| 143 |
+
anchor bag for back-propagation. When learning proceeds, we linearly decrease the number from $|A_i|$ (number of anchors in a bag) to 1. Formally, let $\lambda = t / T$ , where $t$ and $T$ are the current and total numbers of iterations for training. Then let $\phi(\lambda)$ indicate the indices of high-ranked anchors and $|\phi(\lambda)| = |A_i| * (1 - \lambda) + 1$ . Finally, Eq. 3 is re-written as:
|
| 144 |
+
|
| 145 |
+
$$
|
| 146 |
+
\left\{\theta^ {*}, a _ {i} ^ {*} \right\} = \arg \max _ {\theta , a _ {j} \in A _ {i}} \sum_ {j \in \phi (\lambda)} F _ {\theta} (a _ {j}, b _ {i}), \tag {5}
|
| 147 |
+
$$
|
| 148 |
+
|
| 149 |
+
Along this pipeline, MAL leverages multiple anchors/features within the object region to learn a detection model in early training epochs, and converges to use a single optimal anchor at the last epoch.
|
| 150 |
+
|
| 151 |
+
Anchor Depression. Inspired by the inverted attention network [12], we developed an anchor depression procedure to perturb the features of selected anchors in order to decrease their confidence (see more Fig. 3). To further optimize the training losses, MAL is forced to learn stronger features for selected anchors. The rational is to endow unselected anchors with extra chances to participate the training. Formally, we denote the feature map and the attention map as $U$ and $M$ , where $M$ is computed as $M = \sum_{l} w_{l} * U_{l}$ with $w$ being the global average pooling of $U$ and $l$ being the channel index of $U$ . We then generate a new depressed attention map $M' = (1 - \mathbb{1}_{P}) * M$ by cutting down the high values to zero, where $\mathbb{1}$ is the 0-1 indicator function. and $P$ is the high-value position. The feature map is perturbed as:
|
| 152 |
+
|
| 153 |
+
$$
|
| 154 |
+
V = \left(\mathbf {1} + M ^ {\prime}\right) \circ U _ {l}, \tag {6}
|
| 155 |
+
$$
|
| 156 |
+
|
| 157 |
+
where $\mathbf{1}$ is the identity matrix and $\circ$ denotes the elementwise multiplication. With the continuation strategy, the depression in Eq. 6 is reformulated as:
|
| 158 |
+
|
| 159 |
+
$$
|
| 160 |
+
V = \left(\mathbf {1} + \left(1 - \mathbb {1} _ {\psi (\lambda)}\right) * M\right) \circ U _ {l}, \tag {7}
|
| 161 |
+
$$
|
| 162 |
+
|
| 163 |
+
where $\psi (\lambda)$ indicates how many pixels to be perturbed.
|
| 164 |
+
|
| 165 |
+
# 3.4. Implementation
|
| 166 |
+
|
| 167 |
+
The implementation of an MAL detector is based on the RetinaNet detector where the features of the input image are extracted by a FPN backbone [17]. The anchor generation settings are the same as those of RetinaNet, i.e., 9 anchors with three sizes $\{2^0, 2^{1/3}, 2^{2/3}\}$ and three aspect ratios $\{1:2, 1:1, 2:1\}$ for each pixel on the feature maps. Across the levels, the anchors cover the scale range from 32 to 813 pixels with respect to the input image.
|
| 168 |
+
|
| 169 |
+
During the feed-forward procedure of the network training, we calculate the detection confidence of each anchor, $F_{\theta}(a_j,b_i)$ , to minimize the detection loss defined in Eq. 4. According to the confidence, top- $k$ anchors are selected. The network parameters are then updated under the supervision of the selected anchors. After anchor selection, anchor
|
| 170 |
+
|
| 171 |
+

|
| 172 |
+
Figure 4: Optimization analysis. In the first curve, MAL selects a sub-optimal anchor and gets stuck into a local minimum. In the second curve, anchor depression increases the loss so that MAL continues the optimization. In this way, MAL has a greater chance to find optimal solutions.
|
| 173 |
+
|
| 174 |
+

|
| 175 |
+
|
| 176 |
+
depression is carried out, as described in Section 3.3. In the next iteration, anchor selection is carried out again to select high-scored anchors.
|
| 177 |
+
|
| 178 |
+
The inference procedure of our approach is exactly the same as RetinaNet, i.e., we use the learned network parameters to predict classification scores and object bounding boxes, which are fed to a NMS procedure for object detection. As MAL is only applied in the detector training procedure to learn more representative features, our learned detector achieves performance improvement with negligible additional computation cost.
|
| 179 |
+
|
| 180 |
+
# 3.5. Optimization Analysis
|
| 181 |
+
|
| 182 |
+
The anchor selection-depression strategy approximates an adversarial procedure. The selection operation finds top-scored anchors that minimize the detection loss $\mathcal{L}_{det}$ . The depression operation perturbs the corresponding features of selected anchors so that their confidence decreases and the detection loss increases again. The selection-depression strategy helps the learner find better solutions for the nonconvex objective function of MAL. As illustrated by the first curve of Fig. 4, MAL selects a sub-optimal anchor and gets stuck into a local minimum of the loss function. In the second curve, the anchor depression increases the loss, so that the local minimum is "filled". Consequently, MAL continues to find the next local minimum. After learning converges, MAL has a better chance to find optimal solutions.
|
| 183 |
+
|
| 184 |
+
# 4. Experiments
|
| 185 |
+
|
| 186 |
+
In this section, we present experimental results of the proposed Multiple Anchor Learning approach on the bounding-box detection track of the challenging COCO
|
| 187 |
+
|
| 188 |
+
benchmark [19]. We follow the common practice and use $\sim 118\mathrm{k}$ images for training, $5\mathrm{k}$ for validation and $\sim 20\mathrm{k}$ for testing without provided annotations (test-dev). AP is computed over ten different IoU thresholds, i.e., 0.5: 0.05: 0.95, with all categories. It is the commonly used evaluation metric for object detection.
|
| 189 |
+
|
| 190 |
+
# 4.1. Experimental Setting
|
| 191 |
+
|
| 192 |
+
We utilize ResNet-50, ResNet-101, and ResNeXt-101 with FPN as backbones. The batch normalization layers are fixed to be frozen in the training phase. We use a minibatch of 2 images per GPU, thus making a total mini-batch of 16 images on 8 GPUs. The initial learning rate is set to 0.01 and decreased by a factor of 10 after 90k and 120k for the 135k setting (ResNet-50), and 120k and 160k for the 180k setting (ResNet-101 and ResNeXt-101). The synchronized Stochastic Gradient Descent (SGD) is adopted for network optimization. The weight decay of 0.0001 and the momentum of 0.9 are used. A linear warmup strategy is adopted in the first 500 iterations. We set the weight parameter $\beta = 0.75$ experimentally. Following [34], we assign anchors to ground-truth using IoU threshold of 0.5, and to background if their IoUs are in [0, 0.4).
|
| 193 |
+
|
| 194 |
+
# 4.2. Ablation Study
|
| 195 |
+
|
| 196 |
+
For ablation study, we used ResNet-50 as the backbone. All detection performances were evaluated on the COCOMinval dataset (5k images). Firstly, we visualize the effectiveness of MAL in Fig. 5 on feature activation maps. Comparing MAL with RetinaNet, MAL activates more parts on the object and suppresses the more parts in the background. It demonstrates that MAL improved features for better object detection.
|
| 197 |
+
|
| 198 |
+
Anchor Selection: Without the depression component of MAL, we evaluate the selection component individually first. We compare the results of different $k$ for anchor bag construction, as shown in Table 1a. The AP is stable when $k = 40, 50,$ or 60. We choose 50 anchors in the following experiments. The results of different anchor selection strategies are shown in Table 1b. It improves AP from $35.46\%$ to $38.14\%$ when anchor bags are used instead of the scattered anchors in RetinaNet, as $\mathrm{MAL} + \mathrm{S}(\mathrm{all})$ in Table 1b. In the RetinaNet, if an anchor is with good localization but without the highest score, it does not affect the network parameters. While using the anchor bags, this kind of anchor has potential to be selected for detector learning. By the continuation optimization which selects all anchors at the beginning and gradually reduces the selected anchors to the top-1, the performance is further improved to $38.39\%$ as $\mathrm{MAL} + \mathrm{S}(\mathrm{all - top1})$ in Table 1b. It verifies that continuation optimization is also efficient in MAL.
|
| 199 |
+
|
| 200 |
+
Anchor Depression: We only add the depression component to RetinaNet to find the preferable indicator func
|
| 201 |
+
|
| 202 |
+

|
| 203 |
+
|
| 204 |
+

|
| 205 |
+
|
| 206 |
+

|
| 207 |
+
|
| 208 |
+

|
| 209 |
+
|
| 210 |
+

|
| 211 |
+
10k
|
| 212 |
+
|
| 213 |
+

|
| 214 |
+
|
| 215 |
+

|
| 216 |
+
|
| 217 |
+

|
| 218 |
+
|
| 219 |
+

|
| 220 |
+
#50k
|
| 221 |
+
Figure 5: The activation map comparison between RetinaNet (the first and third rows) and MAL (the second and fourth rows). The attention maps at the $10\mathrm{k}$ , $50\mathrm{k}$ and $90\mathrm{k}$ iterations are overlaid on input images. As highlighted by red boxes at the $90\mathrm{k}th$ iteration, MAL gets better attention maps which activate more parts in the bicycle image and suppress irrelevant parts in the cat image.
|
| 222 |
+
|
| 223 |
+

|
| 224 |
+
|
| 225 |
+

|
| 226 |
+
|
| 227 |
+

|
| 228 |
+
|
| 229 |
+

|
| 230 |
+
#90k
|
| 231 |
+
|
| 232 |
+
tion $\psi (\lambda)$ . We employ three kinds of indicator function. The first one is the constant function, which means keeping the same depression ratio in the whole training phase. We depress the top $50\%$ pixels in the attention map. The AP decreases a little from $35.46\%$ to $35.25\%$ , as MAL+D(constant) shown in Table 1c. The reason is that at the beginning of the training phase, the parameters of the network are randomly initialized, and the depression is meaningless for the adversarial learning. If a step function is utilized for $\psi (\lambda)$ , which increases the depression part from $0.0\%$ to $50.0\%$ by step, the performance is increased to $35.88\%$ , as MAL+D(step) shown in Table 1c. It illustrates that the detector should be optimized in a way before depression. The third one is the symmetric step function, which increases the depression part from $0.0\%$ to $50\%$ and then decreases it from $50\%$ to $0.0\%$ . It achieves the best performance of $36.18\%$ , as MAL+D(symmetric step) shown in Table 1c.
|
| 233 |
+
|
| 234 |
+
Selection-Depression: The efficient combination of selection and depression is shown in Fig. 6. We compare the AP, $\mathrm{AP}_{75}$ , and $\mathrm{AP}_{50}$ . The AP is increased to $36.2\%$ with the depression component and to $38.4\%$ with the selection component. When the adversarial manner is taken between selection and the depression, the AP is further improved to $39.2\%$ , which is $3.7\%$ (35.5% vs. $39.2\%$ ) performance gain compared with the original RetinaNet. The $\mathrm{AP}_{75}$ and $\mathrm{AP}_{50}$ have the same trend of growth as the AP.
|
| 235 |
+
|
| 236 |
+
Localization Improvement: In Fig. 7, we show an error factor analysis [2] of the localization results. It can be seen that poor localization (Loc) hinders the improvement of detection performance for objects of irregular shapes, i.e., tilted and slender objects. Compared with the baseline
|
| 237 |
+
|
| 238 |
+
<table><tr><td>Method</td><td>AP</td><td>\( AP_{50} \)</td><td>\( AP_{75} \)</td></tr><tr><td>MAL(k=40)</td><td>38.27</td><td>56.67</td><td>40.81</td></tr><tr><td>MAL(k=50)</td><td>38.39</td><td>56.81</td><td>41.14</td></tr><tr><td>MAL(k=60)</td><td>38.08</td><td>56.11</td><td>40.18</td></tr></table>
|
| 239 |
+
|
| 240 |
+
(a) Detection performance upon different anchor numbers $k$ in each anchor bag.
|
| 241 |
+
|
| 242 |
+
<table><tr><td>Method</td><td>AP</td><td>\( AP_{50} \)</td><td>\( AP_{75} \)</td></tr><tr><td>RetinaNet</td><td>35.46</td><td>51.61</td><td>39.37</td></tr><tr><td>MAL+S(all)</td><td>38.14</td><td>56.81</td><td>40.81</td></tr><tr><td>MAL+S(all-top1)</td><td>38.39</td><td>56.81</td><td>41.14</td></tr></table>
|
| 243 |
+
|
| 244 |
+
(b) Anchor selection strategy $\phi (\lambda)$ . "S" denotes "Selection". We compare selecting all instances and all-top1 instance.
|
| 245 |
+
|
| 246 |
+
<table><tr><td>Method</td><td>AP</td><td>\( AP_{50} \)</td><td>\( AP_{75} \)</td></tr><tr><td>MAL+D(constant)</td><td>35.25</td><td>51.72</td><td>38.92</td></tr><tr><td>MAL+D(step)</td><td>35.88</td><td>52.34</td><td>39.63</td></tr><tr><td>MAL+D(symmetric step)</td><td>36.18</td><td>52.66</td><td>39.88</td></tr></table>
|
| 247 |
+
|
| 248 |
+
(c) Depression strategy $\psi (\lambda)$ . "D" denotes "Depression". The constant function, step function, and symmetric step function are compared.
|
| 249 |
+
|
| 250 |
+

|
| 251 |
+
Figure 6: Ablation studies of the anchor selection and depression modules on the COCO-minval dataset. On the metrics AP, $AP_{75}$ and $AP_{50}$ , MAL outperforms the baseline detector (RetinaNet) with significant margins. "S" and "D" respectively denote "Selection" and "Detection".
|
| 252 |
+
|
| 253 |
+
<table><tr><td>Method</td><td>Backbone</td><td>AP</td><td>\( AP_{50} \)</td><td>\( AP_{75} \)</td></tr><tr><td>RetinaNet [18]</td><td>ResNet-50</td><td>35.5</td><td>51.6</td><td>39.4</td></tr><tr><td>MAL (ours)</td><td>ResNet-50</td><td>39.2</td><td>58.0</td><td>42.3</td></tr><tr><td>RetinaNet [18]</td><td>ResNet-101</td><td>39.1</td><td>59.1</td><td>42.3</td></tr><tr><td>MAL (ours)</td><td>ResNet-101</td><td>43.6</td><td>62.8</td><td>47.1</td></tr><tr><td>RetinaNet [18]</td><td>ResNeXt-101</td><td>40.8</td><td>61.1</td><td>44.1</td></tr><tr><td>MAL (ours)</td><td>ResNeXt-101</td><td>45.9</td><td>65.4</td><td>49.7</td></tr></table>
|
| 254 |
+
|
| 255 |
+
Table 2: Performance comparison with the baseline method (single-scale results) on the MS-COCO test-dev dataset. MAL improves the baseline with significant margins.
|
| 256 |
+
|
| 257 |
+
method, MAL significantly reduces the localization error (blue part in Fig. 7) of these objects. For instance, the area under curve (AUC) decreases from $15.7\%$ ( $45.5\% - 29.8\%$ ) to $11.6\%$ ( $58.7\% - 47.1\%$ ) for the toothbrush category and from $13.6\%$ ( $63.3\% - 49.7\%$ ) to $10.6\%$ ( $74.8\% - 64.2\%$ ) for the kite category.
|
| 258 |
+
|
| 259 |
+
# 4.3. Comparison with State-of-the-Art Detectors
|
| 260 |
+
|
| 261 |
+
Keeping the best setting in the ablation study, we compare the proposed MAL with the baseline, i.e., RetinaNet, in Table 2. For ResNet-50, MAL improves the baseline from $35.5\%$ to $39.2\%$ with $3.7\%$ improvement. For ResNet101 and ResNeXt-101, the improvements are $4.5\%$ and $4.1\%$ , respectively. It illustrates that MAL achieves reliable
|
| 262 |
+
|
| 263 |
+

|
| 264 |
+
Table 1: Ablation study on the COCO minval dataset with the backbone ResNet50. We show the AP, $\mathrm{AP}_{50}$ , and $\mathrm{AP}_{75}$ (\%).
|
| 265 |
+
|
| 266 |
+

|
| 267 |
+
(c) Baseline (label=kite)
|
| 268 |
+
|
| 269 |
+

|
| 270 |
+
|
| 271 |
+

|
| 272 |
+
(d) MAL (label=kite)
|
| 273 |
+
Figure 7: Quantitative evaluation of detection performance. Top row: performance comparison on toothbrush detection. Bottom row: performance summary for the kit category.
|
| 274 |
+
|
| 275 |
+
gains with various of backbones.
|
| 276 |
+
|
| 277 |
+
In Table 3, MAL is compared with the state-of-the-art detectors of two-stage methods and one-stage methods on the MS COCO test dataset, which are arranged in the increasing order of AP. For fair comparison, we re-scale the images such that their shorter sides are 800 pixels and the longer sides not more than 1333 pixels.
|
| 278 |
+
|
| 279 |
+
For one-stage methods, we compare the state-of-the-art including YOLO [25, 26], SSD [21], FCOS [29], FreeAnchor [34] and CenterNet [5]. With the ResNet-101 backbone, MAL achieves $43.6\%$ AP of single-scale, which outperforms the anchor-free approach FCOS [29] by $2.1\%$ $(43.6\%$ vs. $41.5\%)$ . With the ResNeXt-101 backbone, MAL achieves $45.9\%$ AP of single scale, which achieves $1.1\%$ $(45.9\%$ vs. $44.8\%)$ gain compared with the recent FreeAnchor [34]. It also outperforms state-of-the-art CenterNet [5] by $1.0\%$ AP $(45.9\%$ vs. $44.9\%)$ . Note that CenterNet uses the Hourglass-104 backbone which has much more network parameters than ResNeXt-101. These are significant margins for the challenging object detection task. The multi-scale testing APs of MAL are further improved to $45.0\%$ and $47.0\%$ with ResNet-101 and
|
| 280 |
+
|
| 281 |
+
<table><tr><td>Method</td><td>Backbone</td><td>AP</td><td>\( AP_{50} \)</td><td>\( AP_{75} \)</td><td>\( AP_S \)</td><td>\( AP_M \)</td><td>\( AP_L \)</td></tr><tr><td colspan="8">Two-stage methods</td></tr><tr><td>Faster R-CNN+++ [11]</td><td>ResNet-101</td><td>34.9</td><td>55.7</td><td>37.4</td><td>15.6</td><td>38.7</td><td>50.9</td></tr><tr><td>Faster R-CNN w FPN [17]</td><td>ResNet-101</td><td>36.2</td><td>59.1</td><td>39.0</td><td>18.2</td><td>39.0</td><td>48.2</td></tr><tr><td>Faster R-CNN w TDM [28]</td><td>Inception-ResNet-v2-TDM</td><td>36.8</td><td>57.7</td><td>39.2</td><td>16.2</td><td>39.8</td><td>52.1</td></tr><tr><td>Deformable R-FCN [4]</td><td>Inception-ResNet-v2</td><td>37.5</td><td>58.0</td><td>40.8</td><td>19.4</td><td>40.1</td><td>52.5</td></tr><tr><td>Mask R-CNN [10]</td><td>ResNeXt-101</td><td>39.8</td><td>62.3</td><td>43.4</td><td>22.1</td><td>43.2</td><td>51.2</td></tr><tr><td>IoU-Net [13]</td><td>ResNet-101</td><td>40.6</td><td>59.0</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>Cascade RCNN [1]</td><td>ResNet-101</td><td>42.8</td><td>62.1</td><td>46.3</td><td>23.7</td><td>45.5</td><td>55.2</td></tr><tr><td>Grid R-CNN w/ FPN [22]</td><td>ResNeXt-101</td><td>43.2</td><td>63.0</td><td>46.6</td><td>25.1</td><td>46.5</td><td>55.2</td></tr><tr><td colspan="8">One-stage methods</td></tr><tr><td>YOLOv2 [25]</td><td>DarkNet-19</td><td>21.6</td><td>44.0</td><td>19.2</td><td>5.0</td><td>22.4</td><td>35.5</td></tr><tr><td>SSD513 [21]</td><td>ResNet-101</td><td>31.2</td><td>50.4</td><td>33.3</td><td>10.2</td><td>34.5</td><td>49.8</td></tr><tr><td>YOLOv3 [26]</td><td>Darknet-53</td><td>33.0</td><td>57.9</td><td>34.4</td><td>18.3</td><td>35.4</td><td>41.9</td></tr><tr><td>DSSD513 [21]</td><td>ResNet-101</td><td>33.2</td><td>53.3</td><td>35.2</td><td>13.0</td><td>35.4</td><td>51.1</td></tr><tr><td>GA-RetinaNet [31]</td><td>ResNet-50</td><td>37.1</td><td>56.9</td><td>40.0</td><td>20.1</td><td>40.1</td><td>48.0</td></tr><tr><td>MetaAnchor [32]</td><td>ResNet-50</td><td>37.9</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>RetinaNet [18]</td><td>ResNet101</td><td>39.1</td><td>59.1</td><td>42.3</td><td>21.8</td><td>42.7</td><td>50.2</td></tr><tr><td>CornerNet [15]</td><td>Hourglass-104</td><td>40.6</td><td>56.4</td><td>43.2</td><td>19.1</td><td>42.8</td><td>54.3</td></tr><tr><td>RetinaNet [18]</td><td>ResNeXt-101</td><td>40.8</td><td>61.1</td><td>44.1</td><td>24.1</td><td>44.2</td><td>51.2</td></tr><tr><td>FCOS [29]</td><td>ResNet-101</td><td>41.5</td><td>60.7</td><td>45.0</td><td>24.4</td><td>44.8</td><td>51.6</td></tr><tr><td>FoveaBox [14]</td><td>ResNeXt-101</td><td>42.1</td><td>61.9</td><td>45.2</td><td>24.9</td><td>46.8</td><td>55.6</td></tr><tr><td>AB+FSAF [36]</td><td>ResNeXt-101</td><td>42.9</td><td>63.8</td><td>46.3</td><td>26.6</td><td>46.2</td><td>52.7</td></tr><tr><td>FreeAnchor [34]</td><td>ResNeXt-101</td><td>44.8</td><td>64.3</td><td>48.4</td><td>27.0</td><td>47.9</td><td>56.0</td></tr><tr><td>CenterNet [5]</td><td>Hourglass-104</td><td>44.9</td><td>62.4</td><td>48.1</td><td>25.6</td><td>47.4</td><td>57.4</td></tr><tr><td colspan="8">ours</td></tr><tr><td>MAL</td><td>ResNet-101</td><td>43.6</td><td>62.8</td><td>47.1</td><td>25.0</td><td>46.9</td><td>55.8</td></tr><tr><td>MAL</td><td>ResNeXt-101</td><td>45.9</td><td>65.4</td><td>49.7</td><td>27.8</td><td>49.1</td><td>57.8</td></tr><tr><td>MAL (multi-scale)</td><td>ResNet-101</td><td>45.0</td><td>63.7</td><td>48.9</td><td>28.0</td><td>48.0</td><td>57.0</td></tr><tr><td>MAL (multi-scale)</td><td>ResNeXt-101</td><td>47.0</td><td>66.1</td><td>51.2</td><td>30.2</td><td>50.1</td><td>58.9</td></tr></table>
|
| 282 |
+
|
| 283 |
+
Table 3: Performance comparison with the state-of-the-art methods on the MS-COCO test-dev dataset (single-scale results unless explicitly stated). MAL achieves new state-of-the-art performance. As a one-stage detector, MAL also outperforms most two-stage detectors.
|
| 284 |
+
|
| 285 |
+
# ResNeXt101, respectively.
|
| 286 |
+
|
| 287 |
+
Table 3 also compares MAL with representative two-stage detectors including Faster-RCNN with FPN [17], Mask R-CNN [10], IoU-Net [13], and Grid R-CNN [22]. MAL outperforms most two-stage detectors. Particularly, it outperforms the recent Grid R-CNN detector by $2.7\%$ (45.9 vs. $43.2\%$ ) with the same backbone. As a one-stage detector with simpler implementation, MAL shows great potential to surpass two-stage detectors.
|
| 288 |
+
|
| 289 |
+
# 5. Conclusion
|
| 290 |
+
|
| 291 |
+
We have proposed an elegant and effective training approach, referred to as Multiple Anchor Learning (MAL), for visual object detection. By selecting anchors to jointly optimize bounding box classification and localization, MAL upgrades the standard hand-crafted anchor assignment mechanism to a learnable object-anchor matching mechanism. We proposed a simple selection-depression strategy to al
|
| 292 |
+
|
| 293 |
+
leviate the sub-optimization issue of MAL. MAL improved object detection with significant margins compared with the baseline detector RetinaNet, achieves the best result on MSCOCO among single-stage methods, and outperforms many recent two-stage approaches. Such improvements root in not only the optimal selection of anchors but also implicit feature assembling based on a bag of anchors. Our work presents a promising direction to relax anchor design in learning a visual object detection.
|
| 294 |
+
|
| 295 |
+
# Acknowledgement
|
| 296 |
+
|
| 297 |
+
This work was partially supported by the Intelligence Advanced Research Projects Activity (IARPA) via Department of Interior/ Interior Business Center (DOI/IBC) contract number D17PC00340. This work was also supported in part by the National Natural Science Foundation of China under Grant 61836012 and 61671427.
|
| 298 |
+
|
| 299 |
+
# References
|
| 300 |
+
|
| 301 |
+
[1] Zhaowei Cai and Nuno Vasconcelos. Cascade r-cnn: Delving into high quality object detection. In IEEE CVPR, pages 6154-6162, 2018. 8
|
| 302 |
+
[2] Kai Chen, Jiaqi Wang, Jiangmiao Pang, Yuhang Cao, Yu Xiong, Xiaoxiao Li, Shuyang Sun, Wansen Feng, Ziwei Liu, Jiarui Xu, Zheng Zhang, Dazhi Cheng, Chenchen Zhu, Tianheng Cheng, Qijie Zhao, Buyu Li, Xin Lu, Rui Zhu, Yue Wu, Jifeng Dai, Jingdong Wang, Jianping Shi, Wanli Ouyang, Chen Change Loy, and Dahua Lin. MMDetection: Open mmlab detection toolbox and benchmark. arXiv:1906.07155, 2019. 6
|
| 303 |
+
[3] Jiwoong Choi, Dayoung Chun, Hyun Kim, and Hyuk-Jae Lee. Gaussian yolov3: An accurate and fast object detector using localization uncertainty for autonomous driving. In IEEE ICCV, pages 502-511, 2019. 3
|
| 304 |
+
[4] Jifeng Dai, Haozhi Qi, Yuwen Xiong, Yi Li, Guodong Zhang, Han Hu, and Yichen Wei. Deformable convolutional networks. In IEEE ICCV, page 764-773, 2017. 8
|
| 305 |
+
[5] Kaiwen Duan, Song Bai, Lingxi Xie, Honggang Qi, Qingming Huang, and Qi Tian. Centernet: Object detection with keypoint triplets. In IEEE CVPR, 2019. 3, 7, 8
|
| 306 |
+
[6] Cheng-Yang Fu, Wei Liu, Ananth Ranga, Ambrish Tyagi, and Alexander C. Berg. DSSD: Deconvolutional single shot detector. In arXiv preprint arXiv:1701.06659. 2
|
| 307 |
+
[7] Golnaz Ghiasi, Tsung-Yi Lin, and Quoc V. Le. NAS-FPN: learning scalable feature pyramid architecture for object detection. In IEEE CVPR, pages 7036-7045, 2019. 2
|
| 308 |
+
[8] Ross B. Girshick. Fast R-CNN. In IEEE ICCV, pages 1440-1448, 2015. 1
|
| 309 |
+
[9] Ross B. Girshick, Jeff Donahue, Trevor Darrell, and Jitendra Malik. Rich feature hierarchies for accurate object detection and semantic segmentation. In IEEE CVPR, pages 580-587, 2014. 1
|
| 310 |
+
[10] Kaiming He, Georgia Gkioxari, Piotr Dolkar, and Ross B. Girshick. Mask R-CNN. In IEEE ICCV, pages 2980-2988, 2017. 8
|
| 311 |
+
[11] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In IEEE CVPR, pages 770-778, 2016. 8
|
| 312 |
+
[12] Zeyi Huang, Wei Ke, and Dong Huang. Improving object detection with inverted attention. arXiv:1903.12255, 2019. 5
|
| 313 |
+
[13] Borui Jiang, Ruixuan Luo, Jiayuan Mao, Tete Xiao, and Yun-ting Jiang. Acquisition of localization confidence for accurate object detection. In ECCV, pages 784–799, 2018. 2, 8
|
| 314 |
+
[14] Tao Kong, Fuchun Sun, Huaping Liu, Yuning Jiang, and Jianbo Shi. Foveabox: Beyond anchor-based object detector. arXiv:1904.03797, 2019.8
|
| 315 |
+
[15] Hei Law and Jia Deng. Cornernet: Detecting objects as paired keypoints. In ECCV, pages 765-781, 2018. 3, 8
|
| 316 |
+
[16] Yanghao Li, Yuntao Chen, Naiyan Wang, and Zhaoxiang Zhang. Scale-aware trident networks for object detection. In IEEE ICCV, pages 502-511, 2019. 2
|
| 317 |
+
[17] Tsung-Yi Lin, Piotr Dólar, Ross B. Girshick, Kaiming He, Bharath Hariharan, and Serge J. Belongie. Feature pyramid
|
| 318 |
+
|
| 319 |
+
networks for object detection. In IEEE CVPR, pages 936-944, 2017. 1, 2, 5, 8
|
| 320 |
+
[18] Tsung-Yi Lin, Priya Goyal, Ross B. Girshick, Kaiming He, and Piotr Dollar. Focal loss for dense object detection. In IEEE ICCV, pages 2999-3007, 2017. 1, 2, 3, 4, 7, 8
|
| 321 |
+
[19] Tsung-Yi Lin, Michael Maire, Serge J. Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dólár, and C. Lawrence Zitnick. Microsoft COCO: common objects in context. In ECCV, 2014. 6
|
| 322 |
+
[20] Li Liu, Wanli Ouyang, XiaogangWang, Paul Fieguth, Jie Chen, Xinwang Liu, and Matti Pietikainen. Deep learning for generic object detection: A survey. Int. J. Comp. Vis., 2019. 2
|
| 323 |
+
[21] Wei Liu, Dragomir Anguelov, Dumitru Erhan, Christian Szegedy, Scott E. Reed, Cheng-Yang Fu, and Alexander C. Berg. SSD: single shot multibox detector. In ECCV, pages 21-37, 2016. 1, 2, 7, 8
|
| 324 |
+
[22] Xin Lu, Buyu Li, Yuxin Yue, Quanquan Li, and Junjie Yan. Grid R-CNN. In IEEE CVPR, 2019. 8
|
| 325 |
+
[23] Oded Maron and Tomás Lozano-Pérez. A framework for multiple-instance learning. In NeurIPS, pages 570-576, 1997. 2
|
| 326 |
+
[24] Junran Peng, Ming Sun, Zhaoxiang Zhang, Tieniu Tan, and Junjie Yan. Pod: Practical object detection with scale-sensitive network. In IEEE ICCV, pages 6054-6063, 2019. 2
|
| 327 |
+
[25] Joseph Redmon, Santosh Kumar Divvala, Ross B. Girshick, and Ali Farhadi. You only look once: Unified, real-time object detection. In IEEE CVPR, pages 779-788, 2016. 1, 7, 8
|
| 328 |
+
[26] Joseph Redmon and Ali Farhadi. YOLO9000: better, faster, stronger. In IEEE CVPR, pages 6517-6525, 2017. 2, 7, 8
|
| 329 |
+
[27] Shaoqing Ren, Kaiming He, Ross B. Girshick, and Jian Sun. Faster R-CNN: towards real-time object detection with region proposal networks. In NeurIPS, pages 91-99, 2015. 1, 2
|
| 330 |
+
[28] Abhinav Shrivastava, Rahul Sukthankar, Jitendra Malik, and Abhinav Gupta. Beyond skip connections: Top-down modulation for object detection. arXiv:1612.06851, 2016. 8
|
| 331 |
+
[29] Zhi Tian, Chunhua Shen, Hao Chen, and Tong He. Fcos: Fully convolutional one-stage object detection. arXiv:1904.01355, 2019. 3, 7, 8
|
| 332 |
+
[30] Fang Wan, Chang Liu, Wei Ke, Xiangyang Ji, Jianbin Jiao, and Qixiang Ye. C-MIL: continuation multiple instance learning for weakly supervised object detection. In IEEE CVPR, pages 2199-2208, 2019. 4
|
| 333 |
+
[31] Jiaqi Wang, Kai Chen, Shuo Yang, Chen Change Loy, and Dahua Lin. Region proposal by guided anchoring. In IEEE CVPR, pages 2965-2974, 2019. 2, 8
|
| 334 |
+
[32] Tong Yang, Xiangyu Zhang, Zeming Li, Wenqiang Zhang, and Jian Sun. Metaanchor: Learning to detect objects with customized anchors. In NeurIPS, pages 320-330, 2018. 2, 8
|
| 335 |
+
[33] Ze Yang, Shaohui Liu, Han Hu, Liwei Wang, and Stephen Lin. Repoints: Point set representation for object detection. In IEEE ICCV, pages 502-511, 2019. 3
|
| 336 |
+
[34] Xiaosong Zhang, Fang Wan, Chang Liu, Rongrong Ji, and Qixiang Ye. FreeAnchor: Learning to match anchors for visual object detection. In NeurIPS, 2019. 2, 6, 7, 8
|
| 337 |
+
|
| 338 |
+
[35] Xingyi Zhou, Jiacheng Zhuo, and Philipp Krahenbuhl. Bottom-up object detection by grouping extreme and center points. In IEEE CVPR, pages 850-859, 2019. 3
|
| 339 |
+
[36] Chenchen Zhu, Yihui He, and Marios Savvides. Feature selective anchor-free module for single-shot object detection. In IEEE CVPR, pages 840-849, 2019. 8
|
multipleanchorlearningforvisualobjectdetection/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a3dac263d2eb964f77002b0cbca9f6a1348dd24e382691efa5192422b4401a4c
|
| 3 |
+
size 658349
|
multipleanchorlearningforvisualobjectdetection/layout.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4afd73a66e686a70aadae0d6a9f57a6d05c814b46e8467cab9e31885398c089b
|
| 3 |
+
size 442232
|
multiscaledomainadversarialmultipleinstancecnnforcancersubtypeclassificationwithunannotatedhistopathologicalimages/562334c5-99e7-4640-a29b-df10a26e7edf_content_list.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fab6d7537bf37dd6218fca9c52415eabea6a961d7fd66b8eee2c8b6864ef3de2
|
| 3 |
+
size 68122
|
multiscaledomainadversarialmultipleinstancecnnforcancersubtypeclassificationwithunannotatedhistopathologicalimages/562334c5-99e7-4640-a29b-df10a26e7edf_model.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:34c9754d8982430e70f8d7ad6c1c40a3ff43a9f5e7d75e34cb81aecfecb9071a
|
| 3 |
+
size 82030
|
multiscaledomainadversarialmultipleinstancecnnforcancersubtypeclassificationwithunannotatedhistopathologicalimages/562334c5-99e7-4640-a29b-df10a26e7edf_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8367f0e6e8af63a15db941d168035a97202d4e884e01f7856ba9e35073227e7e
|
| 3 |
+
size 1259475
|
multiscaledomainadversarialmultipleinstancecnnforcancersubtypeclassificationwithunannotatedhistopathologicalimages/full.md
ADDED
|
@@ -0,0 +1,272 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Multi-scale Domain-adversarial Multiple-instance CNN for Cancer Subtype Classification with Unannotated Histopathological Images
|
| 2 |
+
|
| 3 |
+
Noriaki Hashimoto $^{1\dagger}$ , Daisuke Fukushima $^{1\dagger}$ , Ryoichi Koga $^{1}$ , Yusuke Takagi $^{1}$ , Kaho Ko $^{1}$ , Kei Kohno $^{2}$ , Masato Nakaguro $^{2}$ , Shigeo Nakamura $^{2}$ , Hidekata Hontani $^{1}$ , Ichiro Takeuchi $^{1,3*}$ , $^{1}$ Nagoya Institute of Technology, $^{2}$ Nagoya University Hospital, $^{3}$ RIKEN
|
| 4 |
+
|
| 5 |
+
# Abstract
|
| 6 |
+
|
| 7 |
+
We propose a new method for cancer subtype classification from histopathological images, which can automatically detect tumor-specific features in a given whole slide image (WSI). The cancer subtype should be classified by referring to a WSI, i.e., a large-sized image (typically 40,000 $\times$ 40,000 pixels) of an entire pathological tissue slide, which consists of cancer and non-cancer portions. One difficulty arises from the high cost associated with annotating tumor regions in WSIs. Furthermore, both global and local image features must be extracted from the WSI by changing the magnifications of the image. In addition, the image features should be stably detected against the differences of staining conditions among the hospitals/specimens. In this paper, we develop a new CNN-based cancer subtype classification method by effectively combining multiple-instance, domain adversarial, and multi-scale learning frameworks in order to overcome these practical difficulties. When the proposed method was applied to malignant lymphoma subtype classifications of 196 cases collected from multiple hospitals, the classification performance was significantly better than the standard CNN or other conventional methods, and the accuracy compared favorably with that of standard pathologists.
|
| 8 |
+
|
| 9 |
+
# 1. Introduction
|
| 10 |
+
|
| 11 |
+
In this study, we propose a novel convolutional neural network (CNN)-based method for cancer subtype classification by using digital pathological images of hematoxylin-and-eosin (H&E) stained tissue specimens as inputs. Since a whole slide image (WSI) obtained by digitizing an entire pathological tissue slide is too large to feed into a CNN [22, 31, 18, 8], it is common to extract a large number of patches from the WSI [9, 12, 27, 37, 19, 34, 5, 38, 2, 17]. If it can be known whether each patch is a tumor region or
|
| 12 |
+
|
| 13 |
+
not, the CNN can be trained by using each patch as a labeled training instance. However, the cost to annotate each of a large number of patch labels is too high. When patch label annotation is not available, cancer subtype classification tasks are challenging in the following three respects.
|
| 14 |
+
|
| 15 |
+
The first difficulty is that tumor and non-tumor regions are mixed in a WSI. Therefore, when pathologists actually conduct subtype classification, it is necessary to find out which part of the slide contains the tumor region, and perform subtype classification based on the features of the tumor region. The second practical difficulty is that staining conditions vary greatly depending on the specimen conditions and the hospital from which the specimen was taken. Therefore, pathologists perform tumor region identification and subtype classification by carefully considering the different staining conditions. The last difficulty is that different features of tissues are observed when the magnification of the pathological image is changed. Pathologists conduct diagnosis by changing the magnification of a microscope repeatedly to find out various features of the tissues.
|
| 16 |
+
|
| 17 |
+
In order to develop a practical CNN-based subtype classification system, our main idea is to introduce mechanisms that mimic these pathologist's actual practices. To address the above three difficulties simultaneously, we effectively combine multiple instance learning (MIL), domain adversarial (DA) normalization, and multi-scale (MS) learning techniques. Although each of these techniques has been studied in the literatures, we demonstrate that their effective and careful combination enables us to develop a CNN-based system that performs significantly better than the standard CNN or other conventional methods.
|
| 18 |
+
|
| 19 |
+
We applied the proposed method to malignant lymphoma subtype classifications of 196 cases collected from 80 hospitals, and demonstrated that the accuracy of the proposed method compared favorably with standard pathologists. It was also confirmed that the proposed method not only performed better than conventional methods, but also performed subtype classification in a similar way to pathologists in the sense that the method correctly paid attention to tumor regions in images of various different scales.
|
| 20 |
+
|
| 21 |
+
The main contributions of our study are as follows. First, we developed a novel CNN-based digital pathology image classification method by effectively combining MIL, DA and MS approaches. Second, we applied the proposed method to malignant lymphoma classification tasks with 196 WSIs of H&E stained histological tissue slides, collected for the purpose of consultation by an expert pathologist on malignant lymphoma. Finally, as a result of confirmation by immunostaining in the above malignant lymphoma subtype classification tasks, it was confirmed that the proposed method performed subtype classification by correctly paying attention to the true tumor regions from images at various different scales of magnification.
|
| 22 |
+
|
| 23 |
+
# 2. Preliminaries
|
| 24 |
+
|
| 25 |
+
Here we present our problem setup and three related techniques that are incorporated into the proposed method in the next section. In this paper, we use the following notations. For any natural number $N$ , we define $[N] := \{1, \ldots, N\}$ . We call a vector for which the elements are non-negative and sum-to-one a probability vector. Given two probability vectors $p, q$ , $\mathcal{L}(p, q)$ represents their cross entropy.
|
| 26 |
+
|
| 27 |
+
# 2.1. Problem setup
|
| 28 |
+
|
| 29 |
+
Consider a training set for a binary pathological image classification problem obtained from $N$ patients. We denote the training set as $\{(\mathbb{X}_n,\mathbb{Y}_n)\}_{n = 1}^N$ , where $\mathbb{X}_n$ is the whole slide image (WSI) and $\mathbb{Y}_n$ is the two-dimensional class label one-hot vector of the $n^{\mathrm{th}}$ patient for $n\in [N]$ . We also define a set of $N$ -dimensional vectors $\{\mathbb{D}_n\}_{n = 1}^N$ for which the $n^{\mathrm{th}}$ element is one and the others are zero. Since each WSI is too huge to directly feed into a CNN, a patch-based approach is usually employed. In this paper, we consider patches with $224\times 224$ pixels.
|
| 30 |
+
|
| 31 |
+
In cancer pathology, since tumor and non-tumor regions are mixed, not all patches from a positive-class slide contain positive class-specific (tumor) information. Thus, we borrow an idea from multiple instance learning (MIL) (the detail of MIL will be described in § 2.2). Specifically, we consider a group of patches, and assume that each group from a positive class slide contains at least a few patches having positive class-specific information, whereas each group from a negative class slide does not contain any patches having positive-class specific information. Furthermore, when pathologists diagnose patients, they observe the glass slide at multiple different scales. To mimic this, we consider patches with multiple different scales.
|
| 32 |
+
|
| 33 |
+
We denote the groups of patches at different scales as follows. We use the notation $s \in [S]$ to indicate the index of scales (e.g., if scales 10x and 20x are considered, $S = 2$ ). The set of groups (called bags in MIL framework) in the $n^{\text{th}}$ WSI is denoted by $\mathcal{B}_n$ for $n \in [N]$ . Then, each group
|
| 34 |
+
|
| 35 |
+
(bag) $b \in \mathcal{B}_n$ is characterized by a set of patches (called instances in the MIL framework) $\mathcal{T}_b^{(s)}$ for $b \in \mathcal{B}_n$ and $s \in [S]$ , where the superscript $(s)$ indicates that these patches are taken from scale $s$ . Figure 1 illustrates the notions of a WSI, groups (bags), patches (instances), and scales.
|
| 36 |
+
|
| 37 |
+
# 2.2. Multiple instance learning (MIL)
|
| 38 |
+
|
| 39 |
+
Multiple-instance learning (MIL) is a type of weakly supervised learning problem, where instance labels are not observed but labels for groups of instances called bags are observed. In the binary classification setting, a positive label is assigned to a bag if the bag contains at least one positive instance, while a negative label is assigned to a bag if the bag only contains negative instances. Figure 2 illustrates MIL for a binary classification problem. Various models and learning algorithms for MIL have been studied in the literatures [14, 26, 40, 1, 24, 7, 36].
|
| 40 |
+
|
| 41 |
+
MIL has been successfully applied to classification problems with histopathological images [10, 13, 20, 11, 32, 6]. For example, for binary classification of malignant and benign patients, WSIs for malignant patients contain both malignant and benign patches, while WSIs for benign patients only contain benign patches. If we regard the WSIs for malignant/benign patients as positive/negative bags and malignant/benign patches as positive/negative instances, respectively, the above binary classification problem can be interpreted as an MIL problem. The MIL framework is useful in histopathological image classification when no annotation is made for each extracted patch. Our main idea in this paper is to use MIL framework in order to automatically identify multiple regions of interest at multiple different scales.
|
| 42 |
+
|
| 43 |
+
# 2.3. Domain-adversarial neural network
|
| 44 |
+
|
| 45 |
+
Slide-wise differences in staining conditions, as illustrated in Fig. 3, highly degrade the classification accuracy. To overcome this difficulty, appropriate pre-processing such as color normalization [30, 25, 21, 4, 39] or color augmentation [23, 29] would be required. Color normalization adjusts the color of input images to the target color distribution. Color augmentation suppresses the effect of outlying colors by generating augmented images while slightly changing the color of an original image.
|
| 46 |
+
|
| 47 |
+
Domain-adversarial (DA) [15] training has been proposed to ignore the differences among training instances that do not contribute to the classification task. In the histopathological image classification setting, Lafarge et al. [23] introduced a DA training approach, and demonstrated that it was superior to color augmentation, stain normalization, and their combination. In the proposed method, we use a DA training approach within the MIL framework for histopathological image classification by regarding each patient as an individual domain so that the staining condition of each patient's slide can effectively be ignored.
|
| 48 |
+
|
| 49 |
+

|
| 50 |
+
Figure 1: A brief illustration of the notions of a WSI, bags, instances (patches), and scales. A large number of $224 \times 224$ -pixel image patches are extracted from an entire WSI at multiple different scales. In the problem setup considered in this paper, instance class labels are not observed, but the class labels for groups of instances called bags are observed. It is important to note that each bag contains patches taken at multiple different scales. This enables us to detect multiple regions of interest from multiple different scale images.
|
| 51 |
+
|
| 52 |
+

|
| 53 |
+
Figure 2: Explanation of MIL. Positive bags are generated from WSIs with positive subtype labels and negative bags are generated from WSIs with negative subtype labels. Only the image patches of class-specific regions, such as tumors in positive-class WSIs, are regarded as positive instances.
|
| 54 |
+
|
| 55 |
+
# 2.4. Multi-scale pathology image analysis
|
| 56 |
+
|
| 57 |
+
Pathologists observe different features at different scales of magnification. For example, global tissue structure and detailed shapes of nuclei can be seen at low and high scales of magnification, respectively. Although most of the existing studies on histopathological image analysis use a fixed single scale, some studies use multiple scales [3, 16, 35, 33].
|
| 58 |
+
|
| 59 |
+
When multi-scale images are available in histopathological image analysis, a common approach is to use them hierarchically from low resolution to high resolution. Namely, a low-resolution image is first used to detect regions of interest, and then high-resolution images of the detected regions
|
| 60 |
+
|
| 61 |
+

|
| 62 |
+
Figure 3: Entire WSIs of H&E stained tissues prepared at different facilities. Variety in staining conditions can be seen among different staining protocols.
|
| 63 |
+
|
| 64 |
+
are used for further detailed analysis. Another approach is to automatically select the appropriate scale from the image itself. For example, Tokunaga et al. [33] employed a mixture-of-expert network, where each expert was trained with images of different scale, and the gating network selected which expert should be used for segmentation.
|
| 65 |
+
|
| 66 |
+
In this study, we noted that expert pathologists conduct
|
| 67 |
+
|
| 68 |
+
diagnosis by changing the magnification of a microscope repeatedly to find out various features of the tissues. This indicates that the analysis of multiple regions at multiple scales plays a significant role in subtype classification. In order to mimic this pathologists' practice, we propose a novel method to use multiple patches at multiple different scales within the MIL framework. In contrast to the hierarchical or selective usage of multi-scale images, our approach uses multi-scale images simultaneously.
|
| 69 |
+
|
| 70 |
+
# 3. Proposed method
|
| 71 |
+
|
| 72 |
+
In the proposed method, the subtype of each patient is predicted based on the H&E stained WSI by summarizing the predicted class labels of the bags taken from the WSI. Specifically, given a test WSI $\mathbb{X}_n$ , the class label probability is simply predicted as $P(\hat{\mathbb{Y}}_n = 1) = p_1 / (p_1 + p_0)$ , where
|
| 73 |
+
|
| 74 |
+
$$
|
| 75 |
+
p _ {1} = \exp \left(\frac {1}{| \mathcal {B} _ {n} |} \sum_ {b \in \mathcal {B} _ {n}} \log P (\hat {Y _ {b}} = 1)\right),
|
| 76 |
+
$$
|
| 77 |
+
|
| 78 |
+
$$
|
| 79 |
+
p _ {0} = \exp \left(\frac {1}{| \mathcal {B} _ {n} |} \sum_ {b \in \mathcal {B} _ {n}} \log P (\hat {Y _ {b}} = 0)\right).
|
| 80 |
+
$$
|
| 81 |
+
|
| 82 |
+
Here, $P(\hat{Y}_b = 1)$ and $P(\hat{Y}_b = 0)$ are the class label probabilities of the bag $b \in \mathcal{B}_n$ .
|
| 83 |
+
|
| 84 |
+
The bag's class label probability is obtained as the output of the proposed CNN network, as depicted in Fig. 4. It consists of the following three building blocks. Feature extractor $G_{\mathrm{f}}: \boldsymbol{x} \mapsto \boldsymbol{h}$ is a CNN which maps a $224 \times 224$ -pixel image $\boldsymbol{x}$ into a $Q$ -dimensional feature vector $\boldsymbol{h}$ . It is denoted as $\boldsymbol{h} = G_{\mathrm{f}}(\boldsymbol{x}; \theta_{\mathrm{f}})$ where $\theta_{\mathrm{f}}$ is the set of trainable parameters. Bag class label predictor $G_{\mathrm{y}}: \{\pmb{h}_i\}_{i \in \mathcal{I}_b} \mapsto P(\hat{Y}_b)$ is an NN with an attention mechanism [20] that maps the set of feature vectors in a bag $b$ into the probabilities of the bag class label $\hat{Y}_b$ . $G_{\mathrm{y}}(\cdot; \theta_{\mathrm{y}})$ is characterized by a set of trainable parameters $\theta_{\mathrm{y}}$ , where $(\boldsymbol{V}, \boldsymbol{w}) \in \theta_{\mathrm{y}}$ are the sets of parameters for the attention network. Using $Q'$ -dimensional feature vectors $\{\pmb{h}_i'\}_{i \in \mathcal{I}_b}$ generated through the fully connected layer, the attention weighted feature vector $z \in \mathbb{R}^{Q'}$ is obtained as $z = \sum_{i \in \mathcal{I}_b} a_i h_i'$ , where each attention is defined as
|
| 85 |
+
|
| 86 |
+
$$
|
| 87 |
+
a _ {i} = \frac {\exp \left(\boldsymbol {w} ^ {\top} \tanh (\boldsymbol {V h} _ {i} ^ {\prime})\right)}{\sum_ {j \in \mathcal {I} _ {b}} \exp \left(\boldsymbol {w} ^ {\top} \tanh (\boldsymbol {V h} _ {j} ^ {\prime})\right)}, i \in \mathcal {I} _ {b}.
|
| 88 |
+
$$
|
| 89 |
+
|
| 90 |
+
Domain predictor $G_{\mathrm{d}}: \pmb{h} \mapsto P(\hat{d})$ is a simple NN that maps a feature vector $\pmb{h}$ into domain label probabilities $P(\hat{d})$ . It is denoted as $G_{\mathrm{d}}(\pmb{h}; \theta_{\mathrm{d}})$ , where $\theta_{\mathrm{d}}$ is the set of trainable parameters. Training of the proposed CNN network is conducted in two stages. In the first stage, a single-scale DA-MIL network (the top one in Fig. 4) is trained to obtain the feature extractor $G_{\mathrm{f}}(\cdot; \theta_{\mathrm{f}}^{(s)})$ for each scale $s \in [S]$ . Then, in
|
| 91 |
+
|
| 92 |
+
the second stage, a multi-scale DA-MIL network (the bottom one in Fig. 4) is trained by plugging the $S$ trained feature extractors into the network.
|
| 93 |
+
|
| 94 |
+
# 3.1. Stage1: single-scale learning
|
| 95 |
+
|
| 96 |
+
In stage 1, a single-scale DA-MIL network is trained for each scale $s \in [S]$ to predict the bag class labels where each bag only contains patches from the image of scale $s$ . Here we modified the DA regularization [15] in order to apply it to only image patches with lower attention weights of MIL. The training task of a single-scale DA-MIL network is formulated as the following minimization problem:
|
| 97 |
+
|
| 98 |
+
$$
|
| 99 |
+
\begin{array}{l} \left(\hat {\theta} _ {\mathrm {f}} ^ {(s)}, \hat {\theta} _ {\mathrm {y}} ^ {(s)}, \hat {\theta} _ {\mathrm {d}} ^ {(s)}\right) \leftarrow \arg \min _ {\theta_ {\mathrm {f}} ^ {(s)}, \theta_ {\mathrm {y}} ^ {(s)}, \theta_ {\mathrm {d}} ^ {(s)}} \sum_ {n = 1} ^ {N} \sum_ {b \in \mathcal {B} _ {n}} \mathcal {L} (\mathbb {Y} _ {n}, P (\hat {Y} _ {b} ^ {(s)})) \\ - \lambda \sum_ {n = 1} ^ {N} \sum_ {b \in \mathcal {B} _ {n}} \frac {1}{\left| \mathcal {I} _ {b} ^ {(s)} \right|} \sum_ {i \in \mathcal {I} _ {b} ^ {(s)}} \beta_ {i} \mathcal {L} \left(\mathbb {D} _ {n}, G _ {\mathrm {d}} \left(\boldsymbol {h} _ {i}; \theta_ {\mathrm {d}} ^ {(s)}\right)\right), \tag {1} \\ \end{array}
|
| 100 |
+
$$
|
| 101 |
+
|
| 102 |
+
where
|
| 103 |
+
|
| 104 |
+
$$
|
| 105 |
+
\begin{array}{l} P (\hat {Y} _ {b} ^ {(s)}) = G _ {\mathrm {y}} \left(\{G _ {\mathrm {f}} (\boldsymbol {x} _ {i}; \theta_ {\mathrm {f}} ^ {(s)}) \} _ {i \in \mathcal {I} _ {b} ^ {(s)}}; \theta_ {\mathrm {y}} ^ {(s)}\right), \\ \beta_ {i} = \max _ {a _ {j}} \{a _ {j} | j \in \mathcal {I} _ {b} ^ {(s)} \} - a _ {i}. \\ \end{array}
|
| 106 |
+
$$
|
| 107 |
+
|
| 108 |
+
In eq. (1), the first term is the loss function for bag class label prediction, while the second term is the penalty function for DA regularization, which is weighted by attentions for each instance. The loss function is simply defined by the cross entropy between the true class label and predicted class label probability. Here, the bag class label is predicted by only using instances for which the attentions are large. The DA regularization term is also defined by the cross entropy between the domain label and the predicted domain label probability. By penalizing the domain prediction capability using DA regularization, the feature extractor $G_{\mathrm{f}}(\cdot;\theta_{\mathrm{f}}^{(s)})$ for each $s \in [S]$ is trained so that the difference in staining conditions can be ignored.
|
| 109 |
+
|
| 110 |
+
# 3.2. Stage2: multi-scale learning
|
| 111 |
+
|
| 112 |
+
In stage 2, a multi-scale DA-MIL network is trained to predict the bag class label where each bag contains instances (patches) across different scales. The bag class label is predicted as
|
| 113 |
+
|
| 114 |
+
$$
|
| 115 |
+
P (\hat {Y} _ {b}) = G _ {\mathrm {y}} \left(\{\{G _ {\mathrm {f}} (\pmb {x} _ {i}; \hat {\theta} _ {\mathrm {f}} ^ {(s)}) \} _ {i \in \mathcal {I} _ {b} ^ {(s)}} \} _ {s = 1} ^ {S}; \theta_ {\mathrm {y}} ^ {(\mathrm {a l l})}\right),
|
| 116 |
+
$$
|
| 117 |
+
|
| 118 |
+
where the set of feature extractors $G_{\mathrm{f}}(\cdot ;\hat{\theta}_{\mathrm{f}}^{(s)})$ , $s\in [S]$ which were already trained in the first stage, are plugged in. The training of the set of parameters $\theta_{\mathrm{y}}^{\mathrm{(all)}}$ is formulated as the following minimization problem:
|
| 119 |
+
|
| 120 |
+
$$
|
| 121 |
+
\hat {\theta} _ {y} ^ {(\text {a l l})} \leftarrow \arg \min _ {\theta_ {y} ^ {(\text {a l l})}} \sum_ {n = 1} ^ {N} \sum_ {b \in \mathcal {B} _ {n}} \mathcal {L} \left(\mathbb {Y} _ {n}, P (\hat {Y} _ {b})\right). \tag {2}
|
| 122 |
+
$$
|
| 123 |
+
|
| 124 |
+

|
| 125 |
+
DA-MIL
|
| 126 |
+
|
| 127 |
+

|
| 128 |
+
MS-DA-MIL
|
| 129 |
+
Figure 4: An illustration of the structure of the proposed network. Single scale DA-MIL networks are trained in stage 1 for each scale $s \in [S]$ (top). A multi-scale DA-MIL (MS-DA-MIL) network is trained in stage 2 (bottom). Loss function $\mathcal{L}_{\mathrm{bag}}$ and $\mathcal{L}_{\mathrm{d}}$ are the loss functions for the predicted bag labels and domain labels in eq. (1). In MS-DA-MIL, feature extractors $G_{\mathrm{f}}^{(s)}$ , which were domain-adversarially trained with DA-MIL are employed to generate feature vectors from the instances in bags $\mathcal{I}_b^{(s)}$ and those feature vectors for all $S$ scales are aggregated for calculating attention weights.
|
| 130 |
+
|
| 131 |
+
# 3.3. Algorithm
|
| 132 |
+
|
| 133 |
+
The algorithm of our proposed method is described in Algorithm 1. Each parameter update is conducted by using the instances (patches) in each bag as a mini-batch.
|
| 134 |
+
|
| 135 |
+
# 4. Experiments
|
| 136 |
+
|
| 137 |
+
Dataset Our experimental database of malignant lymphoma was composed of 196 clinical cases, which represented difficult lymphoma cases from 80 different institutions, and had been sent to an expert pathologist for diag
|
| 138 |
+
|
| 139 |
+
nostic consultation. As malignant lymphoma has a lot of subtypes, in addition to observing an H&E stained tissue, serial sections from the same patient's sample are immunohistochemically stained to confirm its expression patterns for final decision making. It is expected that predicting various subtypes of malignant lymphoma is quite difficult by analyzing only the H&E stained tissue images and its difficulty was not revealed. We use the cases with only five typical types of malignant lymphoma: diffuse large B-cell lymphoma (DLBCL), angioimmunoblastic T-cell lymphoma (AITL), classical Hodgkin's lymphoma mixed cellu
|
| 140 |
+
|
| 141 |
+

|
| 142 |
+
|
| 143 |
+

|
| 144 |
+
|
| 145 |
+

|
| 146 |
+
|
| 147 |
+

|
| 148 |
+
Figure 5: Visualization of attention weights in DA-MIL and corresponding IHC stained tissues: The left column is original H&E stained tissue images, the center column is visualized attention weights and the right column is CD20 stained tissue images of the same case. Attention weights in each bag are normalized between 0 to 1, and heat map from blue to red is assigned to between 0 to 1. The attention-weight map in the upper row is generated from $10\mathrm{x}$ WSI, and the lower one is from $20\mathrm{x}$ WSI. We can confirm that the red regions in the visualization results correspond to the stained regions with brown in CD20 IHC stained tissue specimens.
|
| 149 |
+
|
| 150 |
+

|
| 151 |
+
|
| 152 |
+

|
| 153 |
+
|
| 154 |
+
larity (HLMC) and classical Hodgkin's lymphoma nodular sclerosis (HLNS). In addition, DLBCL is classified into two subtypes; germinal center B-cell (GCB) and non-germinal center B-cell (non-GCB) types. In this experiment, as a first step, we perform two-class classification, which discriminates DLBCL consisting both GCB and non-GCB types from the other three non-DLBCL classes including AITL, HLMC and HLNS. In applying our proposed method to this classification problem, DLBCL and non-DLBCL are respectively defined as positive and negative classes, as explained in the previous sections. Here, the positive instance means that an instance has the capability to discriminate DLBCL from non-DLBCL, and it should be in tumor regions of DLBCL cases because non-tumor regions in DLBCL are expected to have similar features to those in nontumor regions in non-DLBCL cases. Hence, a bag indicates a set of image patches extracted from a WSI, where positive instances represent images from tumor regions in DLBCL and negative instances represent images from non-tumor regions in DLBCL and all patches in non-DLBCL. As the total number of DLBCL cases was 98, the same number of non-DLBCL cases were selected from AITL, HLMC and HLNS cases. All glass slides of the H&E stained tissue specimens collected as mentioned above were scanned with an Aperio ScanScopeXT (Leica Biosystems, Germany) at $20\mathrm{x}$ magnification $(0.50\mathrm{um / pixel})$
|
| 155 |
+
|
| 156 |
+
Experimental setup In the experiments, we used 10x (1.0 um/pixel) and 20x-magnification (0.50 um/pixel) images,
|
| 157 |
+
|
| 158 |
+
that is, the scale parameter $S$ was set to 2. We split the dataset mentioned above into $60\%$ training data, $20\%$ validation data and $20\%$ test data, with consideration of patient-wise separation. In order to generate bags, 100 of $224 \times 224$ -pixel image patches were randomly extracted from tissue regions in a WSI for each scale. The maximum number of bags generated from each WSI was determined as 50. In extracting image patches for multi-scale, the same regions were selected for each scale as shown in Fig. 1, and we obtained a total of 200 image patches of 100 regions for each bag in our experiment. In the case where the total number of image patches included in a WSI was less than 3,000, data augmentation was performed by rotating image patches by 90, 180 and 270 degrees. In the training step, the network trained a bag and renewed parameters for one iteration, and training was performed in 10 epochs where image patches in bags were shuffled for each training epoch. The domain-regularization parameter $\lambda$ was determined for each epoch as $\lambda = \frac{2}{1 + \exp(-10r)} - 1$ , with $r = \frac{\text{Current epoch } m}{\text{Total epochs } M} \times \alpha$ , where $\alpha$ is a hyperparameter, where the best parameter $\alpha$ that showed the highest accuracy on the validation data was set for testing. In this experiment, VGG16 [31] pre-trained with ImageNet was employed as the feature extractor $G_{\mathrm{f}}(\cdot; \theta_{\mathrm{f}})$ and the dimension of the output features was $Q = 25,088$ . In the label predictor $G_{\mathrm{y}}(\cdot; \theta_{\mathrm{y}})$ , a 25,088-dimensional vector was converted into a 512-dimensional vector by the fully connected layer, before the attention mechanism, namely $Q'$ was set to 512. In the attention network, the numbers of input and hidden units were 512 and 128, respectively. For
|
| 159 |
+
|
| 160 |
+
Algorithm 1 Parameter update in MS-DA-MIL training.
|
| 161 |
+
Input: training set $\{(\mathbb{X}_n,\mathbb{Y}_n)\}_{n = 1}^N$ with domain label $\{\mathbb{D}_n\}_{n = 1}^N$ , learning rate $\eta$ , domain regularization parameter $\lambda$ , train epochs $M$ $\%$ stage 1: train feature extractor $G_{\mathrm{f}}(\cdot ;\theta_{\mathrm{f}}^{(s)})$ , class predictor $G_{\mathrm{y}}(\cdot ;\theta_{\mathrm{y}}^{(s)})$ , domain predictor $G_{\mathrm{d}}(\cdot ;\theta_{\mathrm{d}}^{(s)})$
|
| 162 |
+
for $m = 1$ to $M$ do
|
| 163 |
+
for $s = 1$ to $S$ do
|
| 164 |
+
for $n = 1$ to $N$ do
|
| 165 |
+
for $b = 1$ to $|\mathcal{B}_n|$ do
|
| 166 |
+
$\{h_i\}_{i\in \mathcal{I}_b^{(s)}}\gets \{G_{\mathrm{f}}(\pmb {x}_i;\theta_{\mathrm{f}}^{(s)})\}_{i\in \mathcal{I}_b^{(s)}}$ $\mathcal{L}_{\mathrm{bag}}\gets \mathcal{L}\left(\mathbb{Y}_n,G_{\mathrm{y}}(\{h_i\}_{i\in \mathcal{I}_b^{(s)}};\theta_{\mathrm{y}}^{(s)})\right)$ $\mathcal{L}_{\mathrm{d}}\gets \frac{1}{|\mathcal{I}_b^{(s)}|}\sum_{i\in \mathcal{I}_b^{(s)}}\mathcal{L}\left(\mathbb{D}_n,G_{\mathrm{d}}(\pmb {h}_i;\theta_{\mathrm{d}}^{(s)})\right)$ $\mathcal{L}'_{\mathrm{d}}\gets \frac{1}{|\mathcal{I}_b^{(s)}|}\sum_{i\in \mathcal{I}_b^{(s)}}\beta_i\mathcal{L}\left(\mathbb{D}_n,G_{\mathrm{d}}(\pmb {h}_i;\theta_{\mathrm{d}}^{(s)})\right)$ $\beta_{i} = \max_{a_{j}}\{a_{j}|j\in \mathcal{I}_{b}^{(s)}\} -a_{i}$ $\theta_{\mathrm{y}}^{(s)}\gets \theta_{\mathrm{y}}^{(s)} - \eta \frac{\partial L_{\mathrm{bag}}}{\partial\theta_{\mathrm{y}}^{(s)}}$ $\theta_{\mathrm{d}}^{(s)}\gets \theta_{\mathrm{d}}^{(s)} - \eta \lambda \frac{\partial L_{\mathrm{d}}}{\partial\theta_{\mathrm{d}}^{(s)}}$ $\theta_{\mathrm{f}}^{(s)}\gets \theta_{\mathrm{f}}^{(s)} - \eta \left(\frac{\partial L_{\mathrm{bag}}}{\partial\theta_{\mathrm{f}}^{(s)}} -\lambda \frac{\partial L_{\mathrm{d}}^{\prime}}{\partial\theta_{\mathrm{f}}^{(s)}}\right)$
|
| 167 |
+
end for
|
| 168 |
+
end for
|
| 169 |
+
end for
|
| 170 |
+
end for
|
| 171 |
+
$\%$ stage 2: train class predictor $G_{\mathrm{y}}(\cdot ;\theta_{\mathrm{y}}^{(\mathrm{all})})$
|
| 172 |
+
for $m = 1$ to $M$ do
|
| 173 |
+
for $n = 1$ to $N$ do
|
| 174 |
+
for $b = 1$ to $|\mathcal{B}_n|$ do
|
| 175 |
+
$L_{\mathrm{all}}\gets \mathcal{L}(\mathbb{Y}_n,P(\hat{Y}_b))$ $P(\hat{Y}_b) = G_{\mathrm{y}}(\{\{G_{\mathrm{f}}(\pmb {x}_i;\theta_{\mathrm{f}}^{(s)})\}_{i\in \mathcal{I}_b^{(s)}}\}_{s = 1}^S;\theta_{\mathrm{y}}^{(\mathrm{all})})$ $\theta_{\mathrm{y}}^{(\mathrm{all})}\gets \theta_{\mathrm{y}}^{(\mathrm{all})} - \eta \frac{\partial L_{\mathrm{all}}}{\partial\theta_{\mathrm{y}}^{(\mathrm{all})}}$
|
| 176 |
+
end for
|
| 177 |
+
end for
|
| 178 |
+
end for
|
| 179 |
+
Output: neural network. $\{\{\theta_{\mathrm{f}}^{(s)}\}_{s = 1}^S,\theta_{\mathrm{y}}^{(\mathrm{all})}\}$
|
| 180 |
+
|
| 181 |
+
the domain predictor $G_{\mathrm{d}}(\cdot ;\theta_{\mathrm{d}})$ , a 25,088-dimensional vector was reduced to a 1,024-dimensional vector by the fully connected layer, and a domain label was predicted from it. The variety of staining conditions could have occurred even if the slides were produced at the same institution, so we regarded each patient as an individual domain in DA learning, and assigned different domain labels to each slide. Parameters in the network were optimized by SGD momentum [28], where the learning rate and momentum were set to 0.0001 and 0.9, respectively.
|
| 182 |
+
|
| 183 |
+
Results Table 1 shows the classification results of each method, where the values are the means and standard errors determined by 5-fold cross validation. In the table, "patch-based" indicates a CNN classification method whereby the same corresponding label to a case was given for all image patches extracted from the WSI, and where pre-trained VGG16 was used as a CNN model. The output probability $P_{\mathrm{patch}}$ of the patch-based method is defined as $P_{\mathrm{patch}}(\hat{\mathbb{Y}}_n = 1) = p_{1\_ \mathrm{patch}} / (p_{1\_ \mathrm{patch}} + p_{0\_ \mathrm{patch}})$ , where
|
| 184 |
+
|
| 185 |
+
$$
|
| 186 |
+
p _ {\mathrm {1 - p a t c h}} = \exp \left(\frac {1}{| \mathcal {I} _ {n} |} \sum_ {i \in \mathcal {I} _ {n}} \log P (\hat {y} _ {i} = 1)\right),
|
| 187 |
+
$$
|
| 188 |
+
|
| 189 |
+
$$
|
| 190 |
+
p _ {0 \mathrm {- p a t c h}} = \exp \left(\frac {1}{| \mathcal {I} _ {n} |} \sum_ {i \in \mathcal {I} _ {n}} \log P (\hat {y} _ {i} = 0)\right).
|
| 191 |
+
$$
|
| 192 |
+
|
| 193 |
+
Here, $\mathcal{I}_n$ is a set of image patches extracted from the $n^{\mathrm{th}}$ WSI, and $P(\hat{y}_i = 1)$ is the probability for an input image patch $\pmb{x}_i$ to be classified to DLBCL. The maximum number of $224\times 224$ -pixel image patches extracted from each WSI was set to 5,000, as the case had instances from the same number of regions. DA-MIL in the table has the same meaning as MS-DA-MIL with scale parameter $S = 1$ . We confirmed that MS-DA-MIL showed the highest classification accuracy compared with those of patch-based and attentionMIL. In particular, it was confirmed that the classification accuracy of MS-DA-MIL was higher than that of DA-MIL, which could provide us with encouragement to make use of multi-scale input for pathology image classification.
|
| 194 |
+
|
| 195 |
+
In addition, we visualized the distribution of attention weights, which were calculated for correctly classified cases into DLBCL. Figure 5 shows the images of an H&E stained tissue, corresponding attention-weight map and CD20 immunohistochemically stained tissue specimen for a serial section of the same case. For the attention-weight maps in the middle columns of Fig. 5, attention weights were normalized between 0 to 1 in each bag, and blue to red (0 to 1) heat map was generated. Thus, red regions in the attention-weight maps represent the highest contribution for classification in each bag. Because CD20 is an IHC staining that neoplastic B-cells mainly react and shows strong positivity, we can visually confirm the validity of the attention weights of the proposed DA-MIL. In CD20 stained images, positive regions are stained in brown by diaminobenzidine and negative regions are stained in blue by hematoxylin. In comparison to those images, we can see that the attention weights showed higher values in the CD20-positive regions. On the other hand, CD20-negative regions showed low values in the attention-weight maps, and image patches in such regions did not contribute to classification. According to the above results, we showed the appropriate assignment of attention weights. Figure 6 shows the images of an H&E image and its attention-weight maps calculated by MS-DA
|
| 196 |
+
|
| 197 |
+

|
| 198 |
+
|
| 199 |
+

|
| 200 |
+
|
| 201 |
+

|
| 202 |
+
|
| 203 |
+

|
| 204 |
+
Figure 6: Visualization of attention weights in MS-DA-MIL inputs: The left column is the original H&E stained tissue images, and the center and right-hand columns are the visualized attention weights for $10\mathrm{x}$ and $20\mathrm{x}$ by MS-DA-MIL, respectively. We can confirm that one scale had a higher contribution for classification than the other, which means that class-specific features exist at different magnification scales depending on the individual cases.
|
| 205 |
+
|
| 206 |
+

|
| 207 |
+
|
| 208 |
+

|
| 209 |
+
|
| 210 |
+
Table 1: Comparison of the validation measurement among conventional and proposed methods at each magnification scale, where each result shows the mean value and standard error determined by 5-fold cross validation. Patch-based, attention-based MIL, DA-MIL and MS-DA-MIL were compared, and our proposed method MS-DA-MIL showed the highest accuracy.
|
| 211 |
+
|
| 212 |
+
<table><tr><td>Method</td><td>Magnification</td><td>Accuracy</td><td>Precision</td><td>Recall</td></tr><tr><td>Patch-based</td><td>10x</td><td>0.740±0.030</td><td>0.812±0.054</td><td>0.641±0.049</td></tr><tr><td>Patch-based</td><td>20x</td><td>0.754±0.023</td><td>0.799±0.033</td><td>0.692±0.057</td></tr><tr><td>Attention-based MIL</td><td>10x</td><td>0.811±0.018</td><td>0.860±0.046</td><td>0.772±0.071</td></tr><tr><td>Attention-based MIL</td><td>20x</td><td>0.826±0.022</td><td>0.909±0.044</td><td>0.742±0.061</td></tr><tr><td>DA-MIL (ours)</td><td>10x</td><td>0.836±0.012</td><td>0.927±0.037</td><td>0.743±0.046</td></tr><tr><td>DA-MIL (ours)</td><td>20x</td><td>0.857±0.014</td><td>0.927±0.039</td><td>0.793±0.061</td></tr><tr><td>MS-DA-MIL (ours)</td><td>10x, 20x</td><td>0.871±0.028</td><td>0.927±0.025</td><td>0.813±0.066</td></tr></table>
|
| 213 |
+
|
| 214 |
+
MIL. Similarly to DA-MIL, attention weights in each bag were normalized from 0 to 1, and attention-weight maps for each scale were generated with heat map. As we can see in Fig. 6, one of them has high attention weights in the $10\mathrm{x}$ image, while the other shows high attention weights in the $20\mathrm{x}$ image. Therefore, there exists appropriate magnification to obtain class-specific features depending on the cases, and MS-DA-MIL could consider this and show the effectiveness of multi-scale input analysis.
|
| 215 |
+
|
| 216 |
+
# 5. Conclusion
|
| 217 |
+
|
| 218 |
+
We proposed a new CNN for cancer subtype classification from unannotated histopathological images which effectively combines MI, DA, and MS learning frameworks
|
| 219 |
+
|
| 220 |
+
in order to mimic the actual diagnosis process of pathologists. When the proposed method was applied to malignant lymphoma subtype classifications of 196 cases, the performance was significantly better than that of standard CNN or other conventional methods, and the accuracy compared favorably with that of standard pathologists.
|
| 221 |
+
|
| 222 |
+
# Acknowledgment
|
| 223 |
+
|
| 224 |
+
This work was partially supported by Hori Sciences and Arts Foundation to N.H., S.N., H.H. and I.T., MEXT KAKENHI 26108003 to H.H., 17H00758, 16H06538 to I.T., JST CREST JPMJCR1502 to I.T. and RIKEN Center for Advanced Intelligence Project to I.T.
|
| 225 |
+
|
| 226 |
+
# References
|
| 227 |
+
|
| 228 |
+
[1] S. Andrews, I. Tsochantaridis, and T. Hofmann. Support vector machines for multiple-instance learning. In Advances in neural information processing systems, pages 577-584, 2003. 2
|
| 229 |
+
[2] P. Bandi, O. Geessink, Q. Manson, M. Van Dijk, M. Balkenhol, M. Hermsen, B. E. Bejnordi, B. Lee, K. Paeng, A. Zhong, et al. From detection of individual metastases to classification of lymph node status at the patient level: the camelyon17 challenge. IEEE transactions on medical imaging, 38(2):550-560, 2018. 1
|
| 230 |
+
[3] B. E. Bejnordi, G. Litjens, M. Hermsen, N. Karssemeijer, and J. A. van der Laak. A multi-scale superpixel classification approach to the detection of regions of interest in whole slide histopathology images. In Medical Imaging 2015: Digital Pathology, volume 9420, page 94200H. International Society for Optics and Photonics, 2015. 3
|
| 231 |
+
[4] B. E. Bejnordi, G. Litjens, N. Timofeeva, I. Otte-Höller, A. Homeyer, N. Karssemeijer, and J. A. van der Laak. Stain specific standardization of whole-slide histopathological images. IEEE transactions on medical imaging, 35(2):404-415, 2015. 2
|
| 232 |
+
[5] B. E. Bejnordi, M. Veta, P. J. Van Diest, B. Van Ginneken, N. Karssemeijer, G. Litjens, J. A. Van Der Laak, M. Hermsen, Q. F. Manson, M. Balkenhol, et al. Diagnostic assessment of deep learning algorithms for detection of lymph node metastases in women with breast cancer. Jama, 318(22):2199-2210, 2017. 1
|
| 233 |
+
[6] G. Campanella, M. G. Hanna, L. Geneslaw, A. Miraflor, V. W. K. Silva, K. J. Busam, E. Brogi, V. E. Reuter, D. S. Klimstra, and T. J. Fuchs. Clinical-grade computational pathology using weakly supervised deep learning on whole slide images. Nature medicine, 25(8):1301-1309, 2019. 2
|
| 234 |
+
[7] Z. Chen, Z. Chi, H. Fu, and D. Feng. Multi-instance multilabel image classification: A neural approach. Neurocomputing, 99:298-306, 2013. 2
|
| 235 |
+
[8] F. Chollet. Xception: Deep learning with depthwise separable convolutions. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 1251-1258, 2017. 1
|
| 236 |
+
[9] D. C. Ciresan, A. Giusti, L. M. Gambardella, and J. Schmidhuber. Mitosis detection in breast cancer histology images with deep neural networks. In International Conference on Medical Image Computing and Computer-assisted Intervention, pages 411-418. Springer, 2013. 1
|
| 237 |
+
[10] E. Cosatto, P.-F. Laquerre, C. Malon, H.-P. Graf, A. Saito, T. Kiyuna, A. Marugame, and K. Kamijo. Automated gastric cancer diagnosis on h&e-stained sections; ltraining a classifier on a large scale with multiple instance machine learning. In Medical Imaging 2013: Digital Pathology, volume 8676, page 867605. International Society for Optics and Photonics, 2013. 2
|
| 238 |
+
[11] H. D. Couture, J. S. Marron, C. M. Perou, M. A. Troester, and M. Niethammer. Multiple instance learning for heterogeneous images: Training a cnn for histopathology. In International Conference on Medical Image Computing and
|
| 239 |
+
|
| 240 |
+
Computer-Assisted Intervention, pages 254-262. Springer, 2018. 2
|
| 241 |
+
[12] A. Cruz-Roa, A. Basavanhally, F. González, H. Gilmore, M. Feldman, S. Ganesan, N. Shih, J. Tomaszewski, and A. Madabhushi. Automatic detection of invasive ductal carcinoma in whole slide images with convolutional neural networks. In Medical Imaging 2014: Digital Pathology, volume 9041, page 904103. International Society for Optics and Photonics, 2014. 1
|
| 242 |
+
[13] K. Das, S. Conjeti, A. G. Roy, J. Chatterjee, and D. Sheet. Multiple instance learning of deep convolutional neural networks for breast histopathology whole slide classification. In 2018 IEEE 15th International Symposium on Biomedical Imaging (ISBI 2018), pages 578-581. IEEE, 2018. 2
|
| 243 |
+
[14] T. G. Dietterich, R. H. Lathrop, and T. Lozano-Pérez. Solving the multiple instance problem with axis-parallel rectangles. Artificial intelligence, 89(1-2):31-71, 1997. 2
|
| 244 |
+
[15] Y. Ganin, E. Ustinova, H. Ajakan, P. Germain, H. Larochelle, F. Laviolette, M. Marchand, and V. Lempitsky. Domain-adversarial training of neural networks. The Journal of Machine Learning Research, 17(1):2096-2030, 2016. 2, 4
|
| 245 |
+
[16] Y. Gao, W. Liu, S. Arjun, L. Zhu, V. Ratner, T. Kurc, J. Saltz, and A. Tannenbaum. Multi-scale learning based segmentation of glands in digital colonrectal pathology images. In Medical Imaging 2016: Digital Pathology, volume 9791, page 97910M. International Society for Optics and Photonics, 2016. 3
|
| 246 |
+
[17] S. Graham, M. Shaban, T. Qaiser, N. A. Koohbanani, S. A. Khurram, and N. Rajpoot. Classification of lung cancer histology images using patch-level summary statistics. In Medical Imaging 2018: Digital Pathology, volume 10581, page 1058119. International Society for Optics and Photonics, 2018. 1
|
| 247 |
+
[18] K. He, X. Zhang, S. Ren, and J. Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 770-778, 2016. 1
|
| 248 |
+
[19] L. Hou, D. Samaras, T. M. Kurc, Y. Gao, J. E. Davis, and J. H. Saltz. Patch-based convolutional neural network for whole slide tissue image classification. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 2424-2433, 2016. 1
|
| 249 |
+
[20] M. Ilse, J. M. Tomczak, and M. Welling. Attention-based deep multiple instance learning. arXiv preprint arXiv:1802.04712, 2018. 2, 4
|
| 250 |
+
[21] A. M. Khan, N. Rajpoot, D. Treanor, and D. Magee. A nonlinear mapping approach to stain normalization in digital histopathology images using image-specific color deconvolution. IEEE Transactions on Biomedical Engineering, 61(6):1729-1738, 2014. 2
|
| 251 |
+
[22] A. Krizhevsky, I. Sutskever, and G. E. Hinton. Imagenet classification with deep convolutional neural networks. In Advances in neural information processing systems, pages 1097-1105, 2012. 1
|
| 252 |
+
[23] M. W. Lafarge, J. P. Pluim, K. A. Eppenhof, P. Moeskops, and M. Veta. Domain-adversarial neural networks to address the appearance variability of histopathology images. In *Deep
|
| 253 |
+
|
| 254 |
+
Learning in Medical Image Analysis and Multimodal Learning for Clinical Decision Support, pages 83-91. Springer, 2017. 2
|
| 255 |
+
[24] C. H. Li, I. Gondra, and L. Liu. An efficient parallel neural network-based multi-instance learning algorithm. The Journal of Supercomputing, 62(2):724-740, 2012. 2
|
| 256 |
+
[25] M. Macenko, M. Niethammer, J. S. Marron, D. Borland, J. T. Woosley, X. Guan, C. Schmitt, and N. E. Thomas. A method for normalizing histology slides for quantitative analysis. In 2009 IEEE International Symposium on Biomedical Imaging: From Nano to Macro, pages 1107-1110. IEEE, 2009. 2
|
| 257 |
+
[26] O. Maron and T. Lozano-Pérez. A framework for multiple-instance learning. In Advances in neural information processing systems, pages 570-576, 1998. 2
|
| 258 |
+
[27] H. S. Mousavi, V. Monga, G. Rao, and A. U. Rao. Automated discrimination of lower and higher grade gliomas based on histopathological image analysis. Journal of pathology informatics, 6, 2015. 1
|
| 259 |
+
[28] N. Qian. On the momentum term in gradient descent learning algorithms. Neural networks, 12(1):145-151, 1999. 7
|
| 260 |
+
[29] A. Rakhlin, A. Shvets, V. Iglovikov, and A. A. Kalinin. Deep convolutional neural networks for breast cancer histology image analysis. In International Conference Image Analysis and Recognition, pages 737-744. Springer, 2018. 2
|
| 261 |
+
[30] E. Reinhard, M. Adhikhmin, B. Gooch, and P. Shirley. Color transfer between images. IEEE Computer graphics and applications, 21(5):34-41, 2001. 2
|
| 262 |
+
[31] K. Simonyan and A. Zisserman. Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556, 2014. 1, 6
|
| 263 |
+
[32] P. Sudharshan, C. Petitjean, F. Spanhol, L. E. Oliveira, L. Heutte, and P. Honeine. Multiple instance learning for histopathological breast cancer image classification. Expert Systems with Applications, 117:103-111, 2019. 2
|
| 264 |
+
[33] H. Tokunaga, Y. Teramoto, A. Yoshizawa, and R. Bise. Adaptive weighting multi-field-of-view cnn for semantic segmentation in pathology. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 12597-12606, 2019. 3
|
| 265 |
+
[34] D. Wang, A. Khosla, R. Gargeya, H. Irshad, and A. H. Beck. Deep learning for identifying metastatic breast cancer. arXiv preprint arXiv:1606.05718, 2016. 1
|
| 266 |
+
[35] R. Wetteland, K. Engan, T. Eftestøl, V. Kvikstad, and E. A. Janssen. Multiscale deep neural networks for multiclass tissue classification of histological whole-slide images. arXiv preprint arXiv:1909.01178, 2019. 3
|
| 267 |
+
[36] J. Wu, Y. Yu, C. Huang, and K. Yu. Deep multiple instance learning for image classification and auto-annotation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 3460–3469, 2015. 2
|
| 268 |
+
[37] Y. Xu, Z. Jia, Y. Ai, F. Zhang, M. Lai, I. Eric, and C. Chang. Deep convolutional activation features for large scale brain tumor histopathology image classification and segmentation. In 2015 IEEE international conference on acoustics, speech and signal processing (ICASSP), pages 947-951. IEEE, 2015. 1
|
| 269 |
+
|
| 270 |
+
[38] Y. Xu, Z. Jia, L.-B. Wang, Y. Ai, F. Zhang, M. Lai, I. Eric, and C. Chang. Large scale tissue histopathology image classification, segmentation, and visualization via deep convolutional activation features. BMC bioinformatics, 18(1):281, 2017. 1
|
| 271 |
+
[39] F. G. Zanjani, S. Zinger, B. E. Bejnordi, J. A. van der Laak, et al. Histopathology stain-color normalization using deep generative models. 2018. 2
|
| 272 |
+
[40] Z.-H. Zhou and M.-L. Zhang. Neural networks for multi-instance learning. In Proceedings of the International Conference on Intelligent Information Technology, Beijing, China, pages 455-459, 2002. 2
|
multiscaledomainadversarialmultipleinstancecnnforcancersubtypeclassificationwithunannotatedhistopathologicalimages/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6756a26ada36cae34c0f1d7837b9d452990de3c47d5ceb45768cc1668d082e99
|
| 3 |
+
size 546510
|
multiscaledomainadversarialmultipleinstancecnnforcancersubtypeclassificationwithunannotatedhistopathologicalimages/layout.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:354b769bc8b2f8fef623ba67305011c62173fd1c5f5bc4dfe41ba472106af028
|
| 3 |
+
size 385370
|
multiviewconsistentsemisupervisedlearningfor3dhumanposeestimation/be40a050-980c-448b-9f30-50e35676f426_content_list.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b54bb1f5b3805beacc1e0ce07794bbf65d7dcb1208a8be99940cdb96dd76756c
|
| 3 |
+
size 82324
|
multiviewconsistentsemisupervisedlearningfor3dhumanposeestimation/be40a050-980c-448b-9f30-50e35676f426_model.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:76901f9bed31fef0e46879d573f57fa8fd7cf131ab6394f1c91333111cb93e29
|
| 3 |
+
size 99024
|
multiviewconsistentsemisupervisedlearningfor3dhumanposeestimation/be40a050-980c-448b-9f30-50e35676f426_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:489fa164a626f7791d4d029e8d211ae2ca19094e8d93e98c3bb40f80516d041a
|
| 3 |
+
size 912656
|
multiviewconsistentsemisupervisedlearningfor3dhumanposeestimation/full.md
ADDED
|
@@ -0,0 +1,360 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Multiview-Consistent Semi-Supervised Learning for 3D Human Pose Estimation
|
| 2 |
+
|
| 3 |
+
Rahul Mitra*
|
| 4 |
+
|
| 5 |
+
IIT Bombay
|
| 6 |
+
|
| 7 |
+
rmitter@cse.iitb.ac.in
|
| 8 |
+
|
| 9 |
+
Nitesh B. Gundavarapu*
|
| 10 |
+
|
| 11 |
+
UC San Diego
|
| 12 |
+
|
| 13 |
+
nbgunday@ucsd.edu
|
| 14 |
+
|
| 15 |
+
Abhishek Sharma
|
| 16 |
+
|
| 17 |
+
Axogyan AI
|
| 18 |
+
|
| 19 |
+
abhisharayiya@gmail.com
|
| 20 |
+
|
| 21 |
+
Arjun Jain
|
| 22 |
+
|
| 23 |
+
IISc Bangalore
|
| 24 |
+
|
| 25 |
+
arjun Jain@iisc.ac.in
|
| 26 |
+
|
| 27 |
+
# Abstract
|
| 28 |
+
|
| 29 |
+
The best performing methods for 3D human pose estimation from monocular images require large amounts of in-the-wild 2D and controlled 3D pose annotated datasets which are costly and require sophisticated systems to acquire. To reduce this annotation dependency, we propose Multiview-Consistent Semi Supervised Learning (MCSS) framework that utilizes similarity in pose information from unannotated, uncalibrated but synchronized multi-view videos of human motions as additional weak supervision signal to guide 3D human pose regression. Our framework applies hard-negative mining based on temporal relations in multi-view videos to arrive at a multi-view consistent pose embedding. When jointly trained with limited 3D pose annotations, our approach improves the baseline by $25\%$ and state-of-the-art by $8.7\%$ , whilst using substantially smaller networks. Lastly, but importantly, we demonstrate the advantages of the learned embedding and establish view-invariant pose retrieval benchmarks on two popular, publicly available multi-view human pose datasets, Human 3.6M and MPI-INF-3DHP, to facilitate future research.
|
| 30 |
+
|
| 31 |
+
# 1. Introduction
|
| 32 |
+
|
| 33 |
+
Over the years, the performance of monocular 3D human pose estimation has improved significantly due to increasingly sophisticated CNN models [55, 35, 46, 45, 30, 49]. For training, these methods depend on the availability of large-scale 3D-pose annotated data, which is costly and challenging to obtain, especially under in-the-wild setting for articulated poses. The two most popular 3D-pose annotated datasets, Human3.6M [15] (3.6M samples) and MPIINF-3DHP [29] (1.3M samples), are biased towards indoor-like environment with uniform background and illumination. Therefore, 3D-pose models trained on these datasets don't generalize well for real-world scenarios [8, 55].
|
| 34 |
+
|
| 35 |
+
Limited training data, or costly annotation, poses seri
|
| 36 |
+
|
| 37 |
+
ous challenges to not only deep-learning based methods, but other machine-learning methods as well. Semi-supervised approaches [10, 22, 24, 14] have been extensively used in the past to leverage large-scale unlabelled datasets along with small labelled dataset to improve performance. Semisupervised methods try to exploit the structure/invariances in the data to generate additional learning signals for training. Unlike classical machine-learning models that use fixed feature representation, deep-learning models can also learn a suitable feature representation from data as part of the training process. This unique ability calls for semisupervised approaches to encourage better feature representation learning from large-scale unlabelled data for generalization. Intuitively it's more appealing to leverage semisupervised training signals that are more relevant to the final application. Therefore, given the vast diversity of computer-vision tasks, it remains an exciting area of research to innovate novel semi-supervision signals.
|
| 38 |
+
|
| 39 |
+
To this end, we leverage projective multiview consistency to create a novel metric-learning based semi-supervised framework for 3D human-pose estimation. Multiview consistency has served as a fundamental paradigm in computer vision for more than 40 years and gave rise to some of the most used algorithms such as stereo [42], structure from motion [20], motion capture [32], simultaneous localization and mapping [4], etc. From human-pose estimation perspective, the intrinsic 3D-pose of the human-body remains the same across multiple different views. Therefore, a deep-CNN should ideally be able to map 2D-images corresponding to a common 3D-pose, captured from different viewpoints, to nearby points in an embedding space. Intuitively, such a deep-CNN is learning feature representations that are invariant to different views of the human-pose. Therefore, we posit that perhaps it can learn to project 2D images, from different viewpoints, into a canonical 3D-pose space in $\mathbb{R}^N$ . In Fig. 1b, we show a few embedding distances between different images from the Human 3.6M dataset [15] and provide empirical evidence to the aforementioned hypothesis via a novel cross-view pose-retrieval experiment. Unfortunately, embedding-vectors, $x$ , from such a space do not translate directly to
|
| 40 |
+
|
| 41 |
+
the 3D coordinates of human-pose. Therefore, we learn another transformation function from embedding to pose space and regress with small 3D-pose supervision while training. Since, the embedding is shared between the pose-supervision and semi-supervised metric-learning, it leads to better generalizable features for 3D-pose estimation. We name our proposed framework as Multiview Consistent Semi-Supervised learning, or MCSS for short.
|
| 42 |
+
|
| 43 |
+
The proposed framework fits really well with the practical requirements of our problem because it's relatively easy to obtain real-world time-synchronized video streams of humans from multiple viewpoints vs. setting up capture rigs for 3D-annotated data out in-the-wild. An alternative approach could be to setup a calibrated multi-camera capture rig in-the-wild and use triangulation from 2D-pose annotated images to obtain 3D-pose. But, it still requires hand-annotated 2D-poses or an automated 2D-pose generation system. In [19], a pre-trained 2D-pose network has been used to generate pseudo 3D-pose labels for training a 3D-pose network. Yet another approach exploits relative camera extrinsics for cross-view image generation via a latent embedding [39]. We, on the other hand, don't assume such requirements to yield a more practical solution for the limited data challenge.
|
| 44 |
+
|
| 45 |
+
We use MCSS to improve 3D-pose estimation performance with limited 3D supervision. In Sec. 5, we show the performance variation as 3D supervision is decreased. Sec. 6 demonstrates the richness of view-invariant MCSS embedding for capturing human-pose structure with the help of a carefully designed cross-view pose-retrieval task on Human3.6M and MPI-INF-3DHP to serve as a benchmark for future research in this direction. To summarize our contribution, we
|
| 46 |
+
|
| 47 |
+
- Propose a novel Multiview-Consistent Semi-Supervised learning framework for 3D-human-pose estimation.
|
| 48 |
+
- Achieve state-of-the-art performance on Human 3.6M dataset with limited 3D supervision.
|
| 49 |
+
- Formulate a cross-view pose-retrieval benchmark on Human3.6M and MPI-INF-3DHP datasets.
|
| 50 |
+
|
| 51 |
+
# 2. Related Work
|
| 52 |
+
|
| 53 |
+
This section first reviews prior approaches for learning human-pose embedding followed by a discussion of previous weakly supervised methods for monocular 3D human pose estimation to bring out their differences with our approach.
|
| 54 |
+
|
| 55 |
+
# 2.1. Human Pose Embedding
|
| 56 |
+
|
| 57 |
+
Historically, human-posed embeddings have been employed in tracking persons [50, 25]. Estimation of 3D human pose and viewpoint from input silhouettes via learning
|
| 58 |
+
|
| 59 |
+
a low dimension manifold is shown in [9]. 2D-pose regression and retrieval by pose similarity embedding is shown in [23, 33], but requiring 2D-pose labels. In [44], the need for 2D-pose labels is eliminated by using human motion videos and temporal ordering as weak supervision. Unlike the aforementioned approaches, we learn a 3D-pose embedding by leveraging intrinsic 3D-pose consistency from synchronized multi-view videos. In [47], a 3D-pose embedding is learnt using an over-complete auto-encoder for better structure preservation, but it still required 3D-pose annotations.
|
| 60 |
+
|
| 61 |
+
# 2.2. Weakly Supervised 3D Human Pose Estimation
|
| 62 |
+
|
| 63 |
+
Majority of the supervised 3D-pose Estimation algorithms [30, 28, 49, 37, 46, 54, 45, 55, 43] require 3D-pose labels in conjunction with either 2D-pose labels or a pretrained 2D pose estimator to learn a deep-CNN mapping from images or predicted 2D-pose to 3D-pose. Some methods refine these pose estimates using either temporal cues, anthropometric constraints, geometric constraints or additional supervision [8, 53, 52, 3, 26, 12]. A complete decoupling between 2D and 3D pose estimation is presented in [52] with the use of generative lifting network followed by a back-projection constraint to achieve generalization. Another line of work focuses on augmenting 2D/3D-pose labels using mesh representation [16, 17, 3, 21, 34] or a dense pose representation [1, 11] to improve pose estimation. All the aforementioned approaches require large amount of annotated 2D and/or 3D labels while our method is designed for limited 3D-pose labels only.
|
| 64 |
+
|
| 65 |
+
Strong 2D and Limited/no 3D Supervision In recent years, weak-supervision from limited 3D-pose labels along with in-the-wild 2D-pose labels has gained popularity, because labelling 2D-pose is easier than labelling 3D-pose [36, 19, 40, 6, 51, 5]. A weak-supervision in the form of reprojection constraints on the predicted 3D pose is proposed [36]. Mostly, such approaches take advantage of multi-view images during training by means of geometric constraints [40, 19, 5], domain adaptation and adversarial constraints [5], or cross-view reprojection constraints [6]. In [6], a latent 3D-pose embedding is learned by reconstructing 2D-pose from the embedding in a different view. A shallow network with limited 3D-pose supervision is learned to regress 3D-pose from the embedding. A network with pre-trained weights for 2D-pose estimation is used for 3D-pose estimation in [40] followed by multi-view geometric consistency loss. Pseudo 3D-pose labels are generated in [19] for training, while adversarial losses between the 2D skeleton and re-projection of predicted 3D-pose on different views is used for learning in [5]. In [51], starting with 2D pose inputs, a lifting network is trained with siamese loss on the embedding from multiple views to achieve a weak supervision for 3D-pose. Unlike us, [40, 5, 19] require strong 2D
|
| 66 |
+
|
| 67 |
+

|
| 68 |
+
|
| 69 |
+

|
| 70 |
+
Figure 1: (a) Framework for learning our pose embedding and subsequent canonical pose estimation. $x_{\text{anchor}}$ and $x_{\text{positive}}$ are a batch of anchor and positive image pairs taken from different camera views. $x_{\text{supervise}}$ is the batch of images with 3D-pose supervision. $\mathcal{F}$ - ResNet based feature extractor. $\mathcal{G}$ maps features extracted from $\mathcal{F}$ to embedding $\phi$ . The Hard Negative Sampling module performs in-batch hard mining as given in Eq. 1. Module $\mathcal{H}$ regresses pose $\hat{p}$ from our embedding $\phi$ . See Sec. 3.1, 3.2 for details. (b) Distances between a few images in our learned embedding space. Each column represents images in the same pose from different view. Images across rows have different poses. The numbers between a pair of images represent its embedding distance. The distance is low for pairs with the same pose irrespective of viewpoint and high for those having different poses.
|
| 71 |
+
|
| 72 |
+
pose estimation systems trained on MPII or COCO datasets while [36, 51, 6] directly work on 2D-pose detections. We, on the other hand, don't need any 2D-pose labels or pretrained 2D-pose estimation systems.
|
| 73 |
+
|
| 74 |
+
Limited/no 2D and Limited 3D Supervision - To alleviate the need for a large amount of 2D-pose labels, [39, 38] learn an unsupervised geometry aware embedding and estimate 3D-pose from embedding with limited 3D supervision. Novel view synthesis using multi-view synchronized videos of human motions is used to learn a geometry-aware embedding. These methods, however, still require camera extrinsics and background extraction and perform worse than our approach. Our approach falls in the same category as we don't use any 2D-pose labels. We utilize synchronized videos from multiple views to learn a pose embedding with limited 3D-pose labels such that similar pose samples are mapped close to each other in the embedding space. Unlike [39], we don't require camera extrinsics or background extraction.
|
| 75 |
+
|
| 76 |
+
# 3. Proposed Approach
|
| 77 |
+
|
| 78 |
+
Our proposed MCSS approach consists of two modules-i) Multiview-consistent metric-learning from time synchronised videos (Sec. 3.1) and ii) 3D-pose regression with limited 3D supervision (Sec. 3.2). Both the modules are jointly trained as shown in Fig. 1a and explained in Sec. 3.1, 3.2. Metric-learning acts as semi- supervision signal to reduces the dependency on large-scale 3D-pose labels while pose
|
| 79 |
+
|
| 80 |
+
regression encourages the network to learn pose-specific features.
|
| 81 |
+
|
| 82 |
+
# 3.1. Multiview-Consistent Metric Learning
|
| 83 |
+
|
| 84 |
+
We utilize the Hardnet framework [31] to learn pose embedding. The datasets used for training is divided into images belonging to one of $S = \{S_1, S_2, \ldots, S_n\}$ set of subjects. $\mathcal{P} \subset \mathbb{R}^{16 \times 3}$ is the set of all possible poses and each pose is viewed from $\mathcal{V} = \{v_1, v_2, \ldots, v_q\}$ viewpoints. For training hardnet, each batch consists of paired anchor $(\mathcal{X}_p^{v_a}(S_i) \in \mathcal{X})$ and positive $(\mathcal{X}_p^{v_b}(S_i) \in \mathcal{X})$ images, from subject $S_i$ , with the same pose, $p \in \mathcal{P}$ , taken from two different viewpoints $v_a$ and $v_b$ , here $\mathcal{X} \subset \mathbb{R}^{3 \times 256 \times 256}$ is the set of images.
|
| 85 |
+
|
| 86 |
+
We pass both the anchor and positive images through feature extractor $(\mathcal{F}_{\theta_{\mathcal{F}}}: \mathcal{X} \to \Psi; \Psi \subset \mathbb{R}^{512 \times 4 \times 4})$ to generate features $\{\psi_p^{v_a}, \psi_p^{v_b}\} \in \Psi$ . The feature extractor network is parameterised by $\theta_{\mathcal{F}}$ . The features are then finally passed through an embedding generating network $(\mathcal{G}_{\theta_{\mathcal{G}}}: \Psi \to \Phi; \Phi \subset \mathbb{R}^{dim_{\phi}}$ ; where $dim_{\phi}$ is dimension of our embedding). Let's assume we feed anchor and positive images to $\mathcal{F}$ in batches of $m$ . Once corresponding features $\{\phi_{p_1}^{v_{a_1}}, \ldots, \phi_{p_m}^{v_{a_m}}\}$ and $\{\phi_{p_1}^{v_{b_1}}, \ldots, \phi_{p_m}^{v_{b_m}}\}$ are computed, we create a distance matrix $D$ of size of $m \times m$ with $D(i,j) = \| \phi_{p_i}^{v_{a_i}} - \phi_{p_j}^{v_{b_j}} \|_2$ . Negatives $\phi_{p_{j_{min}}}^{v_{k_{min}}}$ and $\phi_{p_{k_{min}}}^{v_{k_{min}}}$ for each of $\phi_{p_i}^{v_{a_i}}$ and $\phi_{p_i}^{v_{b_i}}$ are then sampled from the current batch which lie closest in the embedding space from $\phi_{p_i}^{v_{a_i}}$ and $\phi_{p_i}^{v_{b_i}}$ respectively. Mathematically, the sampling
|
| 87 |
+
|
| 88 |
+
is formulated in Eq. 1. Here, $\beta$ denotes the minimum distance between a hard-mined negative and an anchor/positive in embedding space. The threshold $\beta$ is necessary for stable training and to avoid similar poses as negatives.
|
| 89 |
+
|
| 90 |
+
$$
|
| 91 |
+
j_{min} = \operatorname *{arg min}_{j\neq i}\delta (D(i,j))* D(i,j);
|
| 92 |
+
$$
|
| 93 |
+
|
| 94 |
+
$$
|
| 95 |
+
k _ {\text {m i n}} = \underset {k \neq i} {\arg \min } \delta (D (k, i)) * D (k, i) \tag {1}
|
| 96 |
+
$$
|
| 97 |
+
|
| 98 |
+
$$
|
| 99 |
+
\delta (x) = 1 \text {i f} x > \beta , 0 \text {o t h e r w i s e}
|
| 100 |
+
$$
|
| 101 |
+
|
| 102 |
+
$$
|
| 103 |
+
D _ {m i n} ^ {i} = \min (D (i, j _ {m i n}), D (k _ {m i n}, i))
|
| 104 |
+
$$
|
| 105 |
+
|
| 106 |
+
The average contrastive loss is given in Eq. 2, with $\alpha$ being the margin.
|
| 107 |
+
|
| 108 |
+
$$
|
| 109 |
+
\mathcal {L} _ {c n s t r} = \frac {1}{m} \sum_ {i = 1} ^ {m} D (i, i) + \max \left(0, \alpha - D _ {\min } ^ {i}\right) \tag {2}
|
| 110 |
+
$$
|
| 111 |
+
|
| 112 |
+
Note that the above learning framework has the following two objectives, namely, a) to bring the anchors and its positives closer and b) to separate out the negatives from its anchors and positives. Intuitively, the goal is to learn embedding that captures 3D-pose information while ignoring irrelevant information, such as subject appearance or background. To this end, we propose the following mini-batch selection mechanism to promote the aforementioned goal:
|
| 113 |
+
|
| 114 |
+
# 3.1.1 Mini-batch Selection
|
| 115 |
+
|
| 116 |
+
We compose each mini-batch using anchor and positive pairs from the same subject, and in many cases with overlapping backgrounds, and the negatives are also from the same subject since Hardnet chooses the hardest negatives from the same mini-batch. The presented mini-batch selection scheme encourages the resulting embedding to capture pose information while discarding subject-appearance and background features when separating the hardest negatives from anchors and positives. It's due to the inclusion of same personal-appearance and background in both the negatives and anchor/positives, which cannot be used to separate negatives. We take care to not include temporally close images in a mini-batch by sub-sampling and appropriately choosing $\beta$ . Specific hyper-parameter choices are detailed in supplementary material. In Sec. 6, we show pose retrieval ability of the learned embedding to show that it has indeed successfully captured 3D-pose information.
|
| 117 |
+
|
| 118 |
+
# 3.2. Pose Regression
|
| 119 |
+
|
| 120 |
+
Most 3D-pose estimation approaches focus on regressing for pose in the local camera coordinate system [55, 35, 49, 28, 46, 52, 40]. In our framework, however, 2D-images captured from different views are all mapped to nearby embedding locations, if their intrinsic 3D-poses are the same.
|
| 121 |
+
|
| 122 |
+
Therefore, 3D-pose regression using our embedding is ambiguous because the local camera coordinate system is lost. Moreover, the relation from our embedding to the view-specific 3D-pose is one-to-many. In order to address this issue, we make use of the MoCap system's global coordinate to represent the 3D-poses instead of view-specific 3D-poses. Hence, synchronous frames captured from different views are labelled as one global-coordinate 3D-pose. However, different frames can contain poses which are rigid transformations of one another with same 2D projections. In such cases, the mapping from our embedding to 3D-pose is again an ill-posed one-to-many mapping. In Fig. 2, an example of such ambiguity is illustrated.
|
| 123 |
+
|
| 124 |
+

|
| 125 |
+
Figure 2: Top view of the bottom half of a human skeleton taken at two different time instants and view points. The left and middle images show two poses having different joint co-ordinates when presented in the global pose while having same projections in their respective cameras. On the contrary its canonical pose provides a uniform representation.
|
| 126 |
+
|
| 127 |
+

|
| 128 |
+
|
| 129 |
+

|
| 130 |
+
|
| 131 |
+
# 3.2.1 Canonical Pose Representation
|
| 132 |
+
|
| 133 |
+
In order to resolve the aforementioned ambiguities, we formulate a multiview-consistent and rigid rotation invariant 3D-pose representation and refer to it as canonical pose. Canonical pose is obtained by constraining the bone connecting the pelvis to the left hip joint to be always parallel to XZ plane. In Human3.6M dataset, the upward direction is $+Z$ axis while XY plane forms the horizontal. Therefore, we rotate the skeleton about the $+Z$ axis until the above mentioned bone is parallel to the XZ plane. We don't require any translation since the joint positions are relative to the pelvis. Mathematically, the transformation from global to canonical is given in Eq. 3,
|
| 134 |
+
|
| 135 |
+
$$
|
| 136 |
+
\hat {u} = \frac {p _ {l h} ^ {g l b} - p _ {r o o t} ^ {g l b}}{\| p _ {l h} ^ {g l b} - p _ {r o o t} ^ {g l b} \|}; u _ {\hat {x y}} = \frac {\hat {u} _ {\hat {x}} \hat {\hat {i}} + \hat {u} _ {\hat {y}} \hat {\hat {j}}}{\| \hat {u} _ {\hat {x}} \hat {\hat {i}} + \hat {u} _ {\hat {y}} \hat {\hat {j}} \|} \tag {3}
|
| 137 |
+
$$
|
| 138 |
+
|
| 139 |
+
$$
|
| 140 |
+
\theta = \cos^ {- 1} (\hat {u _ {x y}} \cdot \hat {i}); p ^ {c a n} = R _ {\theta} ^ {z} * p ^ {g l b}
|
| 141 |
+
$$
|
| 142 |
+
|
| 143 |
+
where, $p_{root}^{glb}$ and $p_{lh}^{glb}$ are the root and left-hip joint respectively in the global representation. The unit vector along $(p_{lh}^{glb} - p_{root}^{glb})$ is represented as $\hat{u}$ , and $\theta$ is the required
|
| 144 |
+
|
| 145 |
+
angle of rotation along the $+Z$ -axis to obtain the canonical pose representation. A positive side-effect of canonical pose representation vs. view-specific representation is that our predicted canonical pose doesn't change orientation with variations in camera view. Similar ground-plane rotations to achieve a rotation-invariant pose has also been used in [49]. Note that the canonical pose is constructed directly from MoCap system's coordinates and doesn't require camera extrinsics. Finally, we regress for canonical pose from the latent embedding $\Phi$ with the help of a shallow network $(\mathcal{H}_{\theta_{\mathcal{H}}}: \Phi \to \mathcal{P})$ , as shown in Fig. 1a. The loss-function is L1-norm between the predicted, $\hat{p}$ , and target, $p \in \mathcal{P}$ , canonical 3D-pose: $\mathcal{L}_{\text{pose}} = \| p - \hat{p} \|_1$ .
|
| 146 |
+
|
| 147 |
+
# 4. Implementation and Training Details
|
| 148 |
+
|
| 149 |
+
We use the first 4 residual blocks of an ImageNet [41] pre-trained ResNet-18 as our backbone. In addition, we modify the batch-norm (BN) layers by turning off the affine parameters as suggested in [31, 48]. For an input image of size $224 \times 224$ pixels, the output of ResNet is a $512 \times 7 \times 7$ blob, which is further down-sample by 2 using a max-pool operation to get $\Psi$ . The embedding network $\mathcal{G}$ is FC layers followed by L2-normalization and it maps $\Psi$ to an embedding of dimension $dim_{\phi}$ (128 in our case), following the approach of [31, 48].
|
| 150 |
+
|
| 151 |
+
For 3D-posed regression, the input data is normalized for each joint. The pose regression network $\mathcal{G}$ consists of FC layers FC(128, 48), with $\Phi \subset \mathbb{R}^{128}$ . The margin $\alpha$ for $\mathcal{L}_{\text{connst}}$ is set at 0.6 and $\beta$ at 0.3. Adam [18] optimized is used with default parameters (0.9, 0.99) with initial learning rate $10^{-3}$ . The model is trained for 40 epochs with a drop in learning-rate by 0.1 at every 20 epochs. In our joint training frame work, ratio of the batch size for metric learning to pose regression is kept at 3:1 with batch size for regression is 22. A schematic diagram of our network architecture is shown in Fig. 1a.
|
| 152 |
+
|
| 153 |
+
# 4.1. Datasets
|
| 154 |
+
|
| 155 |
+
We use the popular Human3.6M [15] and MPI-INF-3DHP [29] datasets for our experiments.
|
| 156 |
+
|
| 157 |
+
- Human3.6M [15] contains 3.6 million frames captured from an indoor MoCap system with 4 cameras $(\mathcal{V})$ . It comprises of 11 subjects $(S)$ , each performing 16 actions with each action having 2 sub-actions. Following the standard Protocol 2 [46], we use subjects (S1, S5, S6, S7, S8) for training and (S9, S11) for testing. Like several other methods, we also use cropped subjects' using bounding-boxes provided with the dataset and temporal sub-sampling is done to include every $5^{th}$ and $64^{th}$ frame for training and testing phase, respectively.
|
| 158 |
+
|
| 159 |
+
- MPI-INF-3DHP [29] is generated from a MoCap system with 12 synchronized cameras in both indoor and outdoor settings. It contains 8 subjects(S) with diverse clothing. We use the 5 chest height cameras( $\nu$ ) for both training and test purposes. Since the test set doesn't contain annotated multi-view data, we use S1-S6 for training and S7-S8 for evaluation.
|
| 160 |
+
|
| 161 |
+
# 5. Quantitative Evaluation for Pose Estimation
|
| 162 |
+
|
| 163 |
+
We perform the same quantitative experiment as presented in [39] to assess the benefits of the learned embedding in 3D-pose estimation on the Human 3.6M dataset. We evaluate using three well adopted metrics, MPJPE, PA-MPJPE and Normalized MPJPE (N-MPJPE) (introduced in [40]) which incorporates a scale normalization to make the evaluation independent of person's height. We compare our proposed approach and its variants against a baseline which only uses $\mathcal{L}_{\text {pose }}$ . In addition, we compare our method against the approach proposed by Rhodin et al. [39] and [40], although it estimates human poses in the camera coordinate system. We also report the performance of Rhodin et al. [39] using ResNet-18 as the feature extractor instead of ResNet-50. It is to be noted that [39] uses additional information at training time in the form of relative camera rotation and background extraction which requires sophisticated, well calibrated setup. We acknowledge the existence of more accurate methods like [5, 19, 7] on Human3.6M when abundant 2D and limited 3D labels are available. For comparison with these approaches, however, we report results from [6] that requires limited 3D supervision but complete 2D supervision from both Human3.6M and MPII [2] dataset. Since, our focus is advancing the research in monocular 3D-pose estimation without using 2D labels under limited 3D-pose labels, we restrict our comparison to cases with limited supervision from both 2D and 3D labels. We don't include the results of [36] as it requires multiple temporally adjacent frames at inference-stage and uses pre-trained 2D-pose estimation models learned from large-scale 2D-pose annotated datasets. Note: We do not predict rotations required to convert from canonical pose to camera pose. Hence we use the canonical representation in MCSS(ours) and the camera coordinate representation in other methods for all evaluations in this section. In order to show performance variation as a function of 3D-pose supervision, we report N-MPJPE values for models trained using different amount of 3D-pose labels, in Fig. 3. In this experiment, 3D-pose supervision is reduced gradually using all 5 subjects, to $5\%$ S1. MCSS clearly outperforms the baseline by a margin of 37.34 N-MPJPE when only S1 is used for supervision. Moreover, MCSS degrades gracefully as 3D-pose supervision is reduced, which validates the importance of $\mathcal{L}_{\text {constrt }}$ in providing weak supervision to capture 3D-pose. Qualitative comparison of our method against the
|
| 164 |
+
|
| 165 |
+
<table><tr><td>Supervision</td><td>Method</td><td>N-MPJPE</td><td>MPJPE</td><td>PA-MPJPE</td></tr><tr><td rowspan="6">All</td><td>Rhodin [40]*</td><td>63.30</td><td>66.80</td><td>51.60</td></tr><tr><td>Chen [6]*</td><td>NA</td><td>80.20</td><td>58.20</td></tr><tr><td>Baseline</td><td>95.07</td><td>97.90</td><td>77.18</td></tr><tr><td>Rhodin [40]</td><td>95.40</td><td>NA</td><td>NA</td></tr><tr><td>Rhodin [39]</td><td>115.00</td><td>NA</td><td>NA</td></tr><tr><td>MCSS(Ours)</td><td>92.60</td><td>94.25</td><td>72.48</td></tr><tr><td rowspan="7">S1</td><td>Rhodin [40]*</td><td>78.20</td><td>NA</td><td>NA</td></tr><tr><td>Chen [6]*</td><td>NA</td><td>91.90</td><td>68.00</td></tr><tr><td>Baseline</td><td>149.28</td><td>154.78</td><td>113.69</td></tr><tr><td>Rhodin [40]</td><td>NA</td><td>153.30</td><td>128.60</td></tr><tr><td>Rhodin [39]</td><td>122.60</td><td>131.70</td><td>98.20</td></tr><tr><td>Rhodin [39]-Res18</td><td>136.00</td><td>NA</td><td>NA</td></tr><tr><td>MCSS(Ours)</td><td>111.94</td><td>120.95</td><td>90.76</td></tr></table>
|
| 166 |
+
|
| 167 |
+

|
| 168 |
+
Figure 3: N-MPJPE vs. 3D-posed supervision on test split (S9,S11) of Human3.6M. Our proposed model outperforms the baseline and the current state-of-the-art Rhodin et al. [39].
|
| 169 |
+
|
| 170 |
+
baseline is shown in Fig. 3.
|
| 171 |
+
|
| 172 |
+
In Tab. 1, we compare MPJPE, N-MPJPE and PA-MPJPE values of our approach against the baseline and [39]. Clearly, our method outperforms [39] by 22.4
|
| 173 |
+
|
| 174 |
+
N-MPJPE when fully supervised on 3D data and by 10.7 N-MPJPE with 3D-pose supervision limited to S1. For MPJPE however, the margin is 10.75. Interestingly as mentioned in [39], the performance of [40] drastically falls when pretrained model from strong 2D-pose supervision is not used (reported in Tab. 1 as Rhodin $[40]^*$ and Rhodin [40]).
|
| 175 |
+
|
| 176 |
+
Table 1: Comparing N-MPJPE and MPJPE values between different approaches on Human 3.6M dataset when supervised on all 5 subjects and on only S1. Note: Pre-trained ImageNet weights are used to initialize the networks by all the methods. Methods or its variants marked with “*” are supervised with large amount of in-the-wild 2D annotations from the MPII [2] dataset either during training or by means of a pre-trained 2D pose estimator. All other methods use much weaker supervision by assuming no 2D annotations and MCSS outperforms the state-of-the-art [39] in such settings. NA is assigned against a method if the corresponding result is not reported by the authors.
|
| 177 |
+
|
| 178 |
+
<table><tr><td>Supervision</td><td>Method</td><td>N-MPJPE</td></tr><tr><td rowspan="3">S1</td><td>MCSS</td><td>111.94</td></tr><tr><td>MCSS-global</td><td>157.30</td></tr><tr><td>MCSS-ResNet34</td><td>115.85</td></tr></table>
|
| 179 |
+
|
| 180 |
+
Table 2: N-MPJPE values when pose estimation is done in Mocap's (MCSS-global) and canonical(MCSS) representations when only subject S1 is used for supervision. Performance of using ResNet-34 as back-end is reported against MCSS-ResNet34.
|
| 181 |
+
|
| 182 |
+
As part of ablation studies, we also compare the performance of our learning framework when target pose is represented in MoCap's(global pose) against our canonical representation in Tab. 2. We observe dramatic decrease in performance, 45 MPJPE, which validates the importance of canonical representation. We also show the results for a deeper ResNet-34 [13] back-end network. We observe a slight drop in performance, 3 MPJPE points, perhaps due to over-fitting.
|
| 183 |
+
|
| 184 |
+
An additional benefit of our proposed framework is in the use of a much smaller ResNet-18 feature extractor as compared to ResNet-50 used in Rhodin et al [39]. This affords an inference time of $24.8\mathrm{ms}$ vs. $75.3\mathrm{ms}$ by [39] on a NVIDIA 1080Ti GPU. Note that Rhodin et al. [39] shows degradation in performance when using the smaller ResNet-18 backbone. We attribute it to direct latent embedding similarity learning instead of generative modelling that requires more representation capacity.
|
| 185 |
+
|
| 186 |
+
Pose Estimation From Novel Viewpoint We study the impact of our semi-supervised framework when regressing canonical pose from unseen viewpoints. To this end, we train and test our model on disjoint sets of viewpoints from Human3.6M [15] dataset. In Tab. 3, the model is trained with our unsupervised loss $\mathcal{L}_{cnstr}$ using all the views and with our supervised loss $\mathcal{L}_{pose}$ on images from a subset of viewpoints 1, 2 and 3 (See details in Tab. 2 caption). At test time, we only use images from viewpoint 4 of the Human3.6M test split. We observe a minor increase in error of $4.5\mathrm{mm}$ even when pose supervision is from only from two viewpoints.
|
| 187 |
+
|
| 188 |
+
# 6. Analysis of Learned Embedding
|
| 189 |
+
|
| 190 |
+
In this section, we demonstrate the quality of our learned embedding in capturing 3D human-pose by showing i) pose
|
| 191 |
+
|
| 192 |
+

|
| 193 |
+
nnnnne
|
| 194 |
+
|
| 195 |
+

|
| 196 |
+
|
| 197 |
+

|
| 198 |
+
|
| 199 |
+

|
| 200 |
+
|
| 201 |
+

|
| 202 |
+
|
| 203 |
+

|
| 204 |
+
|
| 205 |
+

|
| 206 |
+
|
| 207 |
+

|
| 208 |
+
|
| 209 |
+

|
| 210 |
+
|
| 211 |
+

|
| 212 |
+
Ours
|
| 213 |
+
|
| 214 |
+

|
| 215 |
+
|
| 216 |
+

|
| 217 |
+
|
| 218 |
+

|
| 219 |
+
|
| 220 |
+

|
| 221 |
+
|
| 222 |
+

|
| 223 |
+
|
| 224 |
+

|
| 225 |
+
|
| 226 |
+

|
| 227 |
+
|
| 228 |
+

|
| 229 |
+
|
| 230 |
+

|
| 231 |
+
Baaee
|
| 232 |
+
|
| 233 |
+

|
| 234 |
+
Figure 4: Qualitative results on canonical pose estimation by our proposed framework (MCSS) against our Baseline on Human 3.6M test split (S9, S11). Both the models are trained with supervision from labels of subject S1. Our method produces more accurate estimates for even for challenging poses like 'sitting' and 'bending'.
|
| 235 |
+
|
| 236 |
+

|
| 237 |
+
|
| 238 |
+

|
| 239 |
+
|
| 240 |
+

|
| 241 |
+
|
| 242 |
+

|
| 243 |
+
|
| 244 |
+

|
| 245 |
+
|
| 246 |
+

|
| 247 |
+
|
| 248 |
+

|
| 249 |
+
|
| 250 |
+
<table><tr><td>Supervision</td><td>Method</td><td>N-MPJPE</td><td>PA-MPJPE</td></tr><tr><td rowspan="5">S1</td><td>MCSS-V1234</td><td>111.7</td><td>91.9</td></tr><tr><td>MCSS-V123</td><td>112.4</td><td>92.1</td></tr><tr><td>Baseline-V123</td><td>158.6</td><td>116.1</td></tr><tr><td>MCSS-V12</td><td>116.6</td><td>95.1</td></tr><tr><td>Baseline-V12</td><td>159.4</td><td>122.5</td></tr></table>
|
| 251 |
+
|
| 252 |
+
Table 3: N-MPJPE and PA-MPJPE values when pose estimation is performed on unseen viewpoints. Pose supervision is done only from subject S1 with varying number of views. Our weakly supervised loss $\mathcal{L}_{cnstr}$ is applied to all the views. MCSS-V1234 represents the model trained with $\mathcal{L}_{pose}$ (supervised loss) on all views. In MCSS-V123 and Baseline-V123, the supervised loss is from views (1, 2, 3) and so on. Testing is always on images from viewpoint 4.
|
| 253 |
+
|
| 254 |
+
based cluster formation in our embedding space through retrieval tasks, ii) the correlation between embedding and pose distances. We additionally provide T-SNE [27] plots of our learned embedding space and qualitative results on view invariant pose retrieval in the supplementary.
|
| 255 |
+
|
| 256 |
+
# 6.1. Cross-View and Cross-Subject Pose Retrieval
|
| 257 |
+
|
| 258 |
+
Our learned embedding tries to project similar pose-samples close to each other irrespective of the subject, viewpoint and background. To validate this claim, we seek motivation from [44], [23] and propose Mean-PA-MPJPE@ $K$ to measure the Procrustes Aligned Mean Per Joint Position Error (PA-MPJPE) of $K$ closest neighbours from different views. Since, similar poses in terms of the intrinsic human-body pose can still have different orientations, we use Procrustes Aligned MPJPE to remove this artifact. We compare our model against an Oracle, which uses ground truth 3D-pose labels. Given a query image, we ensure that the
|
| 259 |
+
|
| 260 |
+
retrieval database contains images taken from viewpoints other than that of the query image. It is done to clearly bring out the view invariance property of the proposed embedding. First, we report the Mean-PA-MPJPE@ $K$ between query pose and its $K$ nearest neighbors in the embedding space. In Fig. 5, we show the comparison of Mean-PA-MPJPE@ $K$ of retrieved poses when retrieval is done from images with:
|
| 261 |
+
|
| 262 |
+
Case 1: all test subjects including that of query's.
|
| 263 |
+
|
| 264 |
+
Case 2: all test subjects except that of query's - cross.
|
| 265 |
+
|
| 266 |
+
We report our results relative to the Oracle. The nearly horizontal plots with low errors suggest that our model picks poses similar to that of the Oracle irrespective of $K$ . The error rate is slightly higher for $K = 1,2$ since our model
|
| 267 |
+
|
| 268 |
+

|
| 269 |
+
|
| 270 |
+

|
| 271 |
+
Figure 5: Mean-PA-MPJPE for increasing number of retrievals $K$ on Human3.6M dataset. Prefix 'Cross-' indicates retrieval done on different subjects from that of query. $\mathcal{L}_{\text{pose}}$ is from subject S1 in both the cases. All values reported are relative to an Oracle. Low values indicate our retrieved poses are similar to that of the Oracle. PAMPJPE is in mm.
|
| 272 |
+
|
| 273 |
+
retrieves images from clusters and does not always pick the one with the lowest error as done by the oracle. The error is lower for Case 1 than Case 2 due to the presence of images in the query database that share the exact same pose as that of query, but from different viewpoints. We can also note that upon $\mathcal{L}_{\text{pose}}$ from S1, the clustering and mean MPJPE improves in both same subject, Case 1, and cross-subject, Case 2, settings falling in line with our expectation that small amount of pose supervision improves clustering.
|
| 274 |
+
|
| 275 |
+
<table><tr><td>Method</td><td>K=1</td><td>K=5</td><td>K=10</td><td>K=20</td></tr><tr><td>\( \mathcal{L}_{cnstr} \)</td><td>48.40</td><td>62.46</td><td>56.29</td><td>55.63</td></tr><tr><td>Cross-\( \mathcal{L}_{cnstr} \)</td><td>82.29</td><td>83.53</td><td>80.65</td><td>76.00</td></tr></table>
|
| 276 |
+
|
| 277 |
+
Table 4: Mean-PA-MPJPE (mm) for increasing number of retrievals (K) on MPI-INF-3DHP dataset after finetuning with $\mathcal{L}_{cnstr}$ . Prefix Cross- indicates retrieval is done on subject other than query's. All values are reported with respect to the Oracle.
|
| 278 |
+
|
| 279 |
+
# 6.2. Correlation between Embedding and Pose
|
| 280 |
+
|
| 281 |
+
In this section, we illustrate the variation exhibited by our learned embedding with change in human pose. To this end, we plot mean embedding distance between a query image and stacks of images with increasing pose difference with that of the query in Fig. 6. Both the query and the image stacks belong to the same subject. One can observe a clear positive co-relation between embedding distance and corresponding pose difference. Further, same view and different view show similar correlations with poses justifying the fact that our learned embedding is multi-view consistent.
|
| 282 |
+
|
| 283 |
+
# 6.3. Generalization & Limitations:
|
| 284 |
+
|
| 285 |
+
To test cross-dataset generalization, we applied a model trained on Human 3.6M dataset and performed cross-view pose retrievals on MPI-INF-3DHP dataset. We obtained a mean MPJPE of $119.6\mathrm{mm}$ and $101.9\mathrm{mm}$ for $K = 10$ and $K = 20$ respectively. Further fine-tuning with $\mathcal{L}_{conrst}$ using multi-view images from MPI-INF-3DHP improved the performance to $62.46\mathrm{mm}$ and $56.29\mathrm{mm}$ , see Tab. 4. The dip in performance on cross dataset can be attributed to the fact that our feature extractor and embedding generating network has learnt a mapping from Human 3.6M images to a pose space and the same mapping is not applicable to the domain of MPI-INF-3DHP images because of huge variation in appearance and more challenging variations of poses. However, upon adding $\mathcal{L}_{conrst}$ , as shown in Tab. 4 the weak supervision generalizes to new dataset.
|
| 286 |
+
|
| 287 |
+

|
| 288 |
+
|
| 289 |
+

|
| 290 |
+
Figure 6: Variation of mean embedding distance with increasing pose variation. We use the show results on (S9,S11) with model being trained with $\mathcal{L}_{cnstr}$ on (S1,S5,S6,S7,S8) and $\mathcal{L}_{pose}$ on (S1). Images are stacked in bins based on the MPJPE difference of their corresponding poses with that of the query. On the Y-axis, the mean embedding distance between the query and the image stacks is plotted. In Same View, the query image and image stacks belong to the same viewpoint while in Different View, belong to different viewpoints. The results are averaged over 200 random queries for each subject.
|
| 291 |
+
|
| 292 |
+
# 7. Conclusion and Future Work
|
| 293 |
+
|
| 294 |
+
In this paper, we demonstrated a novel Multiview-Consistent Semi-Supervised learning approach to capture 3D human structure for pose estimation and retrieval tasks. With the help of our semi-supervised framework, the need for 3D-pose is reduced. It enables our method to outperform contemporary weakly-supervised approaches even while using a smaller network. Furthermore, we provided strong benchmarks for view-invariant pose retrieval on publicly available datasets.
|
| 295 |
+
|
| 296 |
+
In future, we plan to use multi-view synchronised videos captured in-the-wild from a larger set of viewpoints to improve generalisation further. We also plan to extend our framework to capture very fine grained pose variations with our embedding by learning distributions of pose variations in temporally consecutive frames using limited 3D annotations.
|
| 297 |
+
|
| 298 |
+
Acknowledgement: This work was supported by grants from Mercedes-Benz Research & Development India (RD/0117-MBRDI00-001). We would also like to thank Anurag Mundhada and Rishabh Dabral for helping with initial discussions and visualizations.
|
| 299 |
+
|
| 300 |
+
# References
|
| 301 |
+
|
| 302 |
+
[1] Riza Alp Güler, Natalia Neverova, and Iasonas Kokkinos. Denseospe: Dense human pose estimation in the wild. In CVPR, pages 7297-7306, 2018. 2
|
| 303 |
+
[2] Mykhaylo Andriluka, Leonid Pishchulin, Peter Gehler, and Bernt Schiele. 2d human pose estimation: New benchmark and state of the art analysis. In CVPR, pages 3686-3693, 2014. 5, 6
|
| 304 |
+
[3] Anurag Arnab, Carl Doersch, and Andrew Zisserman. Exploiting temporal context for 3d human pose estimation in the wild. In CVPR, pages 3390-3399, 2019. 2
|
| 305 |
+
[4] Raja Chatila and Jean-Paul Laumond. Position referencing and consistent world modeling for mobile robots. In ICRA, pages 138-145, 1985. 1
|
| 306 |
+
[5] Ching-Hang Chen, Ambrish Tyagi, Amit Agrawal, Dylan Drover, Rohith MV, Stefan Stojanov, and James M Rehg. Unsupervised 3d pose estimation with geometric self-supervision. In CVPR, pages 5707-5717, 2019. 2, 5
|
| 307 |
+
[6] Xipeng Chen, Kwan-Yee Lin, Wentao Liu, Chen Qian, and Liang Lin. Weakly-supervised discovery of geometry-aware representation for 3d human pose estimation. In CVPR, pages 10887-10896, 2019. 2, 3, 5, 6
|
| 308 |
+
[7] Xipeng Chen, Kwan-Yee Lin, Wentao Liu, Chen Qian, and Liang Lin. Weakly-supervised discovery of geometry-aware representation for 3d human pose estimation. In CVPR, pages 10887-10896, 2019. 5
|
| 309 |
+
[8] Rishabh Dabral, Anurag Mundhada, Uday Kusupati, Safeer Afaqque, Abhishek Sharma, and Arjun Jain. Learning 3d human pose from structure and motion. In ECCV, pages 679-696, 2018. 1, 2
|
| 310 |
+
[9] Ahmed Elgammal and Chan-Su Lee. Inferring 3d body pose from silhouettes using activity manifold learning. In CVPR, 2004. 2
|
| 311 |
+
[10] Rob Fergus, Yair Weiss, and Antonio Torralba. Semi-supervised learning in gigantic image collections. In NIPS, pages 522-530, 2009. 1
|
| 312 |
+
[11] Riza Alp Guler and Iasonas Kokkinos. Holopose: Holistic 3d human reconstruction in-the-wild. In CVPR, pages 10876-10886, 2019. 2
|
| 313 |
+
[12] Ikhsanul Habibie, Weipeng Xu, Dushyant Mehta, Gerard Pons-Moll, and Christian Theobalt. In the wild human pose estimation using explicit 2d features and intermediate 3d representations. In CVPR, pages 10897-10906, 2019. 2
|
| 314 |
+
[13] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, pages 770-778, 2016. 6
|
| 315 |
+
[14] Seunghoon Hong, Hyeonwoo Noh, and Bohyung Han. Decoupled deep neural network for semi-supervised semantic segmentation. In NIPS, pages 1495-1503, 2015. 1
|
| 316 |
+
[15] Catalin Ionescu, Dragos Papava, Vlad Olaru, and Cristian Sminchisescu. Human3. 6m: Large scale datasets and predictive methods for 3d human sensing in natural environments. In T-PAMI, pages 1325-1339, 2013. 1, 5, 6
|
| 317 |
+
[16] Angjoo Kanazawa, Michael J Black, David W Jacobs, and Jitendra Malik. End-to-end recovery of human shape and pose. In CVPR, pages 7122-7131, 2018. 2
|
| 318 |
+
|
| 319 |
+
[17] Angjoo Kanazawa, Jason Y Zhang, Panna Felsen, and Jitendra Malik. Learning 3d human dynamics from video. In CVPR, pages 5607-5616, 2019. 2
|
| 320 |
+
[18] Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In arXiv, 2014. 5
|
| 321 |
+
[19] Muhammed Kocabas, Salih Karagoz, and Emre Akbas. Self-supervised learning of 3d human pose using multi-view geometry. In CVPR, pages 1077–1086, 2019. 2, 5
|
| 322 |
+
[20] Jan J Koenderink and Andrea J Van Doorn. Affine structure from motion. In JOSA A, 1991. 1
|
| 323 |
+
[21] Nikos Kolotouros, Georgios Pavlakos, Michael J Black, and Kostas Daniilidis. Learning to reconstruct 3d human pose and shape via model-fitting in the loop. In CVPR, pages 2252-2261, 2019. 2
|
| 324 |
+
[22] Yevhen Kuznietsov, Jorg Stuckler, and Bastian Leibe. Semi-supervised deep learning for monocular depth map prediction. In CVPR, pages 2215-2223, 2017. 1
|
| 325 |
+
[23] Suha Kwak, Minsu Cho, and Ivan Laptev. Thin-slicing for pose: Learning to understand pose without explicit pose estimation. In CVPR, pages 4938-4947, 2016. 2, 7
|
| 326 |
+
[24] Wei-Sheng Lai, Jia-Bin Huang, and Ming-Hsuan Yang. Semi-supervised learning for optical flow with generative adversarial networks. In NIPS, page 353-363, 2017. 1
|
| 327 |
+
[25] Chan-Su Lee and Ahmed Elgammal. Modeling view and posture manifolds for tracking. In CVPR, pages 1-8, 2007. 2
|
| 328 |
+
[26] Chen Li and Gim Hee Lee. Generating multiple hypotheses for 3d human pose estimation with mixture density network. In CVPR, pages 9879-9887, 2019. 2
|
| 329 |
+
[27] Laurens van der Maaten and Geoffrey Hinton. Visualizing data using t-sne. In JMLR, 2008. 7
|
| 330 |
+
[28] Julieta Martinez, Rayat Hossain, Javier Romero, and James J Little. A simple yet effective baseline for 3d human pose estimation. In CVPR, pages 2659-2668, 2017. 2, 4
|
| 331 |
+
[29] Dushyant Mehta, Helge Rhodin, Dan Casas, Pascal Fua, Oleksandr Sotnychenko, Weipeng Xu, and Christian Theobalt. Monocular 3d human pose estimation in the wild using improved cnn supervision. In 3DV, pages 506-516, 2017. 1, 5
|
| 332 |
+
[30] Dushyant Mehta, Srinath Sridhar, Oleksandr Sotnychenko, Helge Rhodin, Mohammad Shafiei, Hans-Peter Seidel, Weipeng Xu, Dan Casas, and Christian Theobalt. Vnect: Real-time 3d human pose estimation with a single rgb camera. In TOG, 2017. 1, 2
|
| 333 |
+
[31] Anastasiia Mishchuk, Dmytro Mishkin, Filip Radenovic, and Jiri Matas. Working hard to know your neighbor's margins: Local descriptor learning loss. In NIPS, page 4829-4840, 2017. 3, 5
|
| 334 |
+
[32] Thomas B Moeslund and Erik Granum. A survey of computer vision-based human motion capture. In CVIU, 2001. 1
|
| 335 |
+
[33] Greg Mori, Caroline Pantofaru, Nisarg Kothari, Thomas Leung, George Toderici, Alexander Toshev, and Weilong Yang. Pose embeddings: A deep architecture for learning to match human poses. In arXiv, 2015. 2
|
| 336 |
+
[34] Mohamed Omran, Christoph Lassner, Gerard Pons-Moll, Peter V. Gehler, and Bernt Schiele. Neural body fitting: Uni
|
| 337 |
+
|
| 338 |
+
fying deep learning and model-based human pose and shape estimation. In 3DV, pages 484-494, 2018. 2
|
| 339 |
+
[35] Georgios Pavlakos, Xiaowei Zhou, Konstantinos G Derpanis, and Kostas Daniilidis. Coarse-to-fine volumetric prediction for single-image 3d human pose. In CVPR, pages 1263-1272, 2017. 1, 4
|
| 340 |
+
[36] Dario Pavllo, Christoph Feichtenhofer, David Grangier, and Michael Auli. 3d human pose estimation in video with temporal convolutions and semi-supervised training. In CVPR, pages 7745-7754, 2019. 2, 3, 5
|
| 341 |
+
[37] Alin-Ionut Popa, Mihai Zanfir, and Cristian Sminchisescu. Deep multitask architecture for integrated 2d and 3d human sensing. In CVPR, pages 4714-4723, 2017. 2
|
| 342 |
+
[38] Helge Rhodin, Victor Constantin, Isinsu Katircioglu, Mathieu Salzmann, and Pascal Fua. Neural scene decomposition for multi-person motion capture. In CVPR, pages 7695-7705, 2019. 3
|
| 343 |
+
[39] Helge Rhodin, Mathieu Salzmann, and Pascal Fua. Unsupervised geometry-aware representation for 3d human pose estimation. In ECCV, pages 765-782, 2018. 2, 3, 5, 6
|
| 344 |
+
[40] Helge Rhodin, Jörg Spörri, Isinsu Katircioglu, Victor Constantin, Frédéric Meyer, Erich Müller, Mathieu Salzmann, and Pascal Fua. Learning monocular 3d human pose estimation from multi-view images. In CVPR, pages 8437-8446, 2018. 2, 4, 5, 6
|
| 345 |
+
[41] Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, Alexander C. Berg, and Li Fei-Fei. Imagenet large scale visual recognition challenge. In IJCV, 2015. 5
|
| 346 |
+
[42] Steven M Seitz, Brian Curless, James Diebel, Daniel Scharstein, and Richard Szeliski. A comparison and evaluation of multi-view stereo reconstruction algorithms. In CVPR, pages 519-528, 2006. 1
|
| 347 |
+
[43] Saurabh Sharma, Pavan Teja Varigonda, Prashast Bindal, Abhishek Sharma, and Arjun Jain. Monocular 3d human pose estimation by generation and ordinal ranking. In ICCV, pages 2325-2334, 2019. 2
|
| 348 |
+
[44] Omer Sumer, Tobias Dencker, and Bjorn Ommer. Self-supervised learning of pose embeddings from spatiotemporal relations in videos. In ICCV, pages 4308-4317, 2017. 2, 7
|
| 349 |
+
[45] Xiao Sun, Jiaxiang Shang, Shuang Liang, and Yichen Wei. Compositional human pose regression. In ICCV, pages 2621-2630, 2017. 1, 2
|
| 350 |
+
[46] Xiao Sun, Bin Xiao, Fangyin Wei, Shuang Liang, and Yichen Wei. Integral human pose regression. In ECCV, pages 536-553, 2018. 1, 2, 4, 5
|
| 351 |
+
[47] Bugra Tekin, Isinsu Katircioglu, Mathieu Salzmann, Vincent Lepetit, and Pascal Fua. Structured prediction of 3d human pose with deep neural networks. In BMVC, pages 130.1-130.11, 2016. 2
|
| 352 |
+
[48] Yurun Tian, Bin Fan, and Fuchao Wu. L2-net: Deep learning of discriminative patch descriptor in euclidean space. In CVPR, pages 6128-6136, 2017. 5
|
| 353 |
+
[49] Denis Tome, Chris Russell, and Lourdes Agapito. Lifting from the deep: Convolutional 3d pose estimation from a single image. In CVPR, pages 5689-5698, 2017. 1, 2, 4, 5
|
| 354 |
+
|
| 355 |
+
[50] Raquel Urtasun, David J Fleet, and Pascal Fua. 3d people tracking with gaussian process dynamical models. In CVPR, pages 238-245, 2006. 2
|
| 356 |
+
[51] Marton Véges, Viktor Varga, and András Lörincz. 3d human pose estimation with siamese equivariant embedding. In Neurocomputing, pages 194-201, 2019. 2, 3
|
| 357 |
+
[52] Bastian Wandt and Bodo Rosenhahn. Repnet: Weakly supervised training of an adversarial reprojection network for 3d human pose estimation. In CVPR, pages 7774-7783, 2019, 2, 4
|
| 358 |
+
[53] Keze Wang, Liang Lin, Chenhan Jiang, Chen Qian, and Pengxu Wei. 3d human pose machines with self-supervised learning. In T-PAMI, 2019. 2
|
| 359 |
+
[54] Long Zhao, Xi Peng, Yu Tian, Mubbasir Kapadia, and Dimitris N Metaxas. Semantic graph convolutional networks for 3d human pose regression. In CVPR, pages 3420-3430, 2019, 2
|
| 360 |
+
[55] Xingyi Zhou, Qixing Huang, Xiao Sun, Xiangyang Xue, and Yichen Wei. Weakly-supervised transfer for 3d human pose estimation in the wild. In ICCV, pages 398-407, 2017. 1, 2, 4
|
multiviewconsistentsemisupervisedlearningfor3dhumanposeestimation/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:24a146cf8819b1b60a16be1b8470c82dc86c224f855156287c3d63d59161f2e2
|
| 3 |
+
size 379719
|
multiviewconsistentsemisupervisedlearningfor3dhumanposeestimation/layout.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:93ee6b4d480f02ff2b3b8205ae5c18523e4809b58ea917a0ae3c618cb31fe23a
|
| 3 |
+
size 442194
|
musicgestureforvisualsoundseparation/34f74f88-f44e-49bf-921e-0bbb214eb547_content_list.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a516e206dc157235c8a9923fb84dfb05aa8c6a8328067f574ffe604e1ec2238
|
| 3 |
+
size 67676
|
musicgestureforvisualsoundseparation/34f74f88-f44e-49bf-921e-0bbb214eb547_model.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9561b20055560165e89ef8eb89359a6864bb0c03ca3b26114f57b82637f88b85
|
| 3 |
+
size 87623
|
musicgestureforvisualsoundseparation/34f74f88-f44e-49bf-921e-0bbb214eb547_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:250abf47673a765df4f0e3fe59ea6e3424c69b0a3c580a4b2f00c8e0a94d5fca
|
| 3 |
+
size 1160392
|
musicgestureforvisualsoundseparation/full.md
ADDED
|
@@ -0,0 +1,302 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Music Gesture for Visual Sound Separation
|
| 2 |
+
|
| 3 |
+
Chuang Gan $^{1,2}$ , Deng Huang $^{2}$ , Hang Zhao $^{1}$ , Joshua B. Tenenbaum $^{1}$ , Antonio Torralba $^{1}$ $^{1}$ MIT, $^{2}$ MIT-IBM Watson AI Lab
|
| 4 |
+
|
| 5 |
+

|
| 6 |
+
|
| 7 |
+

|
| 8 |
+
|
| 9 |
+

|
| 10 |
+
|
| 11 |
+

|
| 12 |
+
Figure 1: We propose to leverage explicit body dynamics motion cues for visual sound separation in music performances. We show that our new model can perform well on both heterogeneous and homogeneous music separation tasks.
|
| 13 |
+
|
| 14 |
+

|
| 15 |
+
|
| 16 |
+

|
| 17 |
+
|
| 18 |
+
# Abstract
|
| 19 |
+
|
| 20 |
+
Recent deep learning approaches have achieved impressive performance on visual sound separation tasks. However, these approaches are mostly built on appearance and optical flow like motion feature representations, which exhibit limited abilities to find the correlations between audio signals and visual points, especially when separating multiple instruments of the same types, such as multiple violins in a scene. To address this, we propose "Music Gesture," a keypoint-based structured representation to explicitly model the body and finger movements of musicians when they perform music. We first adopt a context-aware graph network to integrate visual semantic context with body dynamics, and then apply an audio-visual fusion model to associate body movements with the corresponding audio signals. Experimental results on three music performance datasets show: 1) strong improvements upon benchmark metrics for hetero-musical separation tasks (i.e. different instruments);
|
| 21 |
+
|
| 22 |
+
2) new ability for effective homo-musical separation for piano, flute, and trumpet duets, which to our best knowledge has never been achieved with alternative methods.
|
| 23 |
+
|
| 24 |
+
# 1. Introduction
|
| 25 |
+
|
| 26 |
+
Music performance is a profoundly physical activity. Body and instrument interact in nuanced gestures to produce unique sounds [21]. When performing, pianists may strike the keys at a lower register or "tickle the ivory" up high; Violin players may move vigorously through a progression while another player sways gently with a melodic base; Flautists press a combination of keys to produce a specific note. As humans, we have the remarkable ability to distinguish different sounds from one another, and associate the sound we hear with the corresponding visual perception from the musician's bodily gestures.
|
| 27 |
+
|
| 28 |
+
Inspired by this human ability, we propose "Music Gesture" (shown in Figure 1), a structured keypoint-based
|
| 29 |
+
|
| 30 |
+
visual representations to make use of the body motion cues for sound source separation. Our model is built on the mix-and-separate self-supervised training procedure initially proposed by Zhao et al. [56]. Instead of purely relying on visual semantic cues [56, 17, 19, 52] or low-level optical-flow like motion representations [55], we consider to exploit the explicit human body and hand movements in the videos. To achieve this goal, we design a new framework, which consists of a video analysis network and an audio-visual separation network. The video analysis network extracts body dynamics and semantic context of musical instruments from video frames. The audio-visual separation network is then responsible for separating each sound source based on the visual context. In order to better leverage the body dynamic motions for sound separations, we further design a new audio-visual fusion module in the middle of the audio-visual separation network to adjust sound features conditioned on visual features.
|
| 31 |
+
|
| 32 |
+
We demonstrate the effectiveness of our model on three musical instrument datasets, URMP [31], MUSIC [56] and AtinPiano [35]. Experimental results show that by explicitly modeling the body dynamics through the keypoint-based structured visual representations, our approach performs favorably against state-of-the-art methods on both hetero-musical and homo-musical separation task. In summary, our work makes the following contributions:
|
| 33 |
+
|
| 34 |
+
- We pave a new research direction on exploiting body dynamic motions with structured keypoint-based video representations to guide the sound source separation.
|
| 35 |
+
- We propose a novel audio-visual fusion module to associate human body motion cues with the sound signals.
|
| 36 |
+
- Our system outperforms previous state-of-the-arts approaches on hetero-musical separation tasks by a large margin.
|
| 37 |
+
- We show that the keypoint-based structured representations open up new opportunities to solve harder homo-musical separation problem for piano, flute, and trumpet duets.
|
| 38 |
+
|
| 39 |
+
# 2. Related Work
|
| 40 |
+
|
| 41 |
+
Sound separation. Sound separation is a central problem in the audio signal processing area [33, 22], while the classic solutions for it are based on Non-negative Matrix Factorization (NMF) [51, 11, 47]. These are not very effective as they rely on low-level correlations in the signals. Deep learning based methods are taking over in the recent years. Simpson et al. [46] and Chandra et al. [9] proposed CNN models to predict time-frequency masks for music source separation and enhancement. Another challenging problem in speech separation is identity permutation: a spectrogram classification model could not deal with the case with arbitrary number of speakers talking simultaneously. To solve
|
| 42 |
+
|
| 43 |
+
this problem, Hershey et al. [24] proposed Deep Clustering and Yu et al. [54] proposed a speaker-independent training framework.
|
| 44 |
+
|
| 45 |
+
Visual sound separation. Our work falls into the category of visual sound separation. Early works [5] leveraged the tight associations between audio and visual onset signal to perform audio-visual sound attribution. Recently, Zhao et al. [56] proposed a framework that learns from unlabeled videos to separate and localize sounds with the help of visual semantics cues. Gao et al. [17] combined deep networks with NMF for sound separation. Ephrat et al. [12] and Owens et al. [37] proposed to used vision to improve the quality of speech separation. Xu et al. [52] and Gao et al. [19] further improved the models with recursive models and co-separation loss. Those works all demonstrated how semantic appearances could help with sound separation. However, these methods have limited capabilities to capture the motion cues, thus restricts their applicability to solve harder sound source separation problems.
|
| 46 |
+
|
| 47 |
+
Most recently, Zhao et al. [55] proposed to leverage temporal motion information to improve the vision sound separation. However, this algorithm has not yet seen wide applicability to sound separation on real mixtures. This is primarily due to the trajectory and optical flow like motion features they used are still limited to model the human-object interactions, thus can not provide strong visual conditions for the sound separation. Our work overcomes these limitations in that we study the explicit body movement cues using structured keypoint-based structured representations for audio-visual learning, which has never been explored in the audio-visual sound separation tasks.
|
| 48 |
+
|
| 49 |
+
Audio-visual learning. With the emergence of deep neural networks, bridging signals of different modalities becomes easier. A series of works have been published in the past few years on audio-visual learning. By learning audio model and image model jointly or separately by distillation, good audio/visual representations can be achieved [38, 4, 2, 32, 14, 30]. Another interesting problem is sounding object localization, where the goal is to associate sounds in the visual input spatially [26, 25, 3, 43, 56]. Some other interesting directions include biometric matching [36], sound generation for videos [57], auditory vehicle tracking [16], emotion recognition [1], audio-visual co-segmentation [42], audio-visual navigation [15], and 360/stereo sound from videos [18, 34].
|
| 50 |
+
|
| 51 |
+
Audio and body dynamics. There are numerous works to explore the associations between speech and facial movements [7, 6]. Multi-model signals extracted from face and speech has been used to do facial animations using speech [28, 49], generate high-quality talking face from audio [48, 27] separate mixed speech signals of multiple
|
| 52 |
+
|
| 53 |
+

|
| 54 |
+
Figure 2: An overview of our model architecture. It consists of two components: a video analysis network and a visual audio separation network. The video analysis network first takes video frames to extract global context and keypoint coordinates; Then a GCN is applied to integrate the body dynamic with semantic context, and outputs a latent representation. Finally, an audio-visual separation network separates sources from the mixture audio conditioned on the visual features.
|
| 55 |
+
|
| 56 |
+
speakers [12], on/off screen audio source separation[37], and lip reading from raw videos [10]. In contrast, the correlations between body pose with sound were less explored. The most relevant to us are recent works on predicting body dynamics from music [44] and body rhythms from speech [20]. This is the inverse of our goal to separate sound sources using body dynamic cues.
|
| 57 |
+
|
| 58 |
+
# 3. Approach
|
| 59 |
+
|
| 60 |
+
We first formalize the visual sound separation task and summarize our system pipeline in Section 3.1. Then we present the video analysis network for learning structured representation (Section 3.2) and audio-visual separation model (Section 3.3). Finally, we introduce our training objective and inference procedures in Section 3.4.
|
| 61 |
+
|
| 62 |
+
# 3.1. Pipeline Overview
|
| 63 |
+
|
| 64 |
+
Our goal is to associate the body dynamics with the audio signals for sound source separation. We adopt the commonly used "mix-and-separate" self-supervised training procedure introduced in [56]. The main idea of this training procedure is to create synthetic training data by mixing arbitrary sound sources from different video clips. Then the learning objective is to separate each sound from
|
| 65 |
+
|
| 66 |
+
mixtures conditioned on its associated visual context.
|
| 67 |
+
|
| 68 |
+
Concretely, our framework consists of two major components: a video analysis network and a audio-visual separation network (see Figure 2). During training, we randomly select $N$ video clips with paired video frames and audio signal $\{V_k, S_k\}$ , and then mix their audios by linear combinations of the audio inputs to form a synthetic mixture $S_{mix} = \sum_{k=1}^{N} S_k$ . Given a video clip $V_k$ , the video analysis network extracts global context and body dynamic features from videos. The audio-visual separation network is then responsible for separating its audio signal $S_k$ from the mixture audio $S_{mix}$ conditioned on the corresponding visual context $V_k$ . To be noted, we trained the neural network in a supervised fashion, but it learned from unlabeled video data. Therefore, we consider the training pipeline as self-supervised learning.
|
| 69 |
+
|
| 70 |
+
# 3.2. Video Analysis Network
|
| 71 |
+
|
| 72 |
+
Our proposed video analysis network integrates keypoint-based structured visual representations, together with global semantic context features.
|
| 73 |
+
|
| 74 |
+
Visual semantic and keypoint representations. To extract global semantic features from video frames, we use ResNet-50 [23] to extract the features after the last spatial
|
| 75 |
+
|
| 76 |
+
average pooling layer from the first frame of each video clip. Therefore, we obtain a 2048-dimensional context feature vector for each video clip. We also aim to capture the explicit movement of the human body parts and hand fingers through the keypoint representations. To achieve that, we adopt the AlphaPose toolbox [13] to estimate the 2D locations of human body joints. For estimation of hand pose, we first apply a pre-trained hand detection model and then use the OpenPose [8] hand API [45] to estimate the coordinates of hand keypoints. As a result, we extract 18 keypoints for human body and 21 keypoints for each hand. Since the keypoints estimation in videos in the wild is challenging and noisy, we maintain both 2D coordinates $(X,Y)$ and the confidence score of each estimated keypoint.
|
| 77 |
+
|
| 78 |
+
Context-Aware Graph CNN. Once the visual semantic feature and keypoints are extracted from the raw video, we adopt a context-aware Graph CNN (CT-GCN) to fuse the semantic context of instruments and human body dynamics. This architecture is designed for the non-grid data, suitable for explicitly modeling the spatial-temporal relationships among different keypoints on the body and hands.
|
| 79 |
+
|
| 80 |
+
The network architecture design is inspired by previous work on action recognition [53] and human shape reconstruction [29]. Similar to [53], we start by constructing a undirected spatial-temporal graph $G = \{V, E\}$ on a human skeleton sequence. In this graph, each node $v_{i} \in \{V\}$ corresponds to a keypoint of the human body; edges reflect the natural connectivity of body keypoints.
|
| 81 |
+
|
| 82 |
+
The input features for each node is represented as 2D coordinates and the confidence score of a detected keypoint over time $T$ . To model the spatial-temporal body dynamics, we first apply a Graph Convolution Network to encode the pose at each time step independently. Then, we perform a standard temporal convolution on the resulting tensor to fuse the temporal information. The encoded pose feature $f_{v}$ is defined as follows:
|
| 83 |
+
|
| 84 |
+
$$
|
| 85 |
+
f _ {v} = \hat {A} X W _ {s} W _ {t}, \tag {1}
|
| 86 |
+
$$
|
| 87 |
+
|
| 88 |
+
where $X \in R^{N \times T \times D_n}$ is the input features, $W_s$ and $W_t$ are the weight matrices of spatial graph convolution and 2D convolution, and $\hat{A} \in R^{N \times N}$ is the row-normalized adjacency matrix of the graph; $N$ represents the number of keypoints; $D_n$ represents the feature dimension for each input node. Inspired by previous work [53], we define the adjacency matrix based on the joint connections of the body and fingers. The output of the GCNs is updated features of each keypoint node.
|
| 89 |
+
|
| 90 |
+
To further incorporate the visual semantic cues, we concatenated the visual appearance context features to each node feature as the final output of the video analysis network. The context-aware graph CNN is capable of modeling both semantic context and body dynamics, thus providing strong visual cues to guide sound separations. There
|
| 91 |
+
|
| 92 |
+
could be other model designs options. We leave this to future work.
|
| 93 |
+
|
| 94 |
+
# 3.3. Audio-Visual Separation Network
|
| 95 |
+
|
| 96 |
+
Finally, we have an audio-visual separation network, which takes the spectrogram of mixture audio with visual representation produced by the video analysis network as input, to predict a spectrogram mask and generate the audio signal for the selected video.
|
| 97 |
+
|
| 98 |
+
Audio Network. We adopt a U-Net style architecture [41], namely an encoder-decoder network with skip connections for the audio network. It consists of 4 dilated convolution layers and 4 dilated up-convolution layers. All dilated convolutions and up-convolutions use $3 \times 3$ spatial filters with stride 2, dilation 1 and followed by a BatchNorm layer and a Leaky ReLU. The input of the audio network is a 2D time-frequency spectrogram of mixture sound and the output is a same-size binary spectrogram mask. We infuse the visual features into the middle part of the U-Net for guiding the sound separation.
|
| 99 |
+
|
| 100 |
+
Audio-visual fusion. To better leverage body dynamic cues to guide the sound separation, we adopt a self-attention [50] based cross-modal early fusion module to capture the correlations between body movement with the sound signals. As shown in Figure 3, the fused feature $z_{t}$ at each time step $t$ is defined as follows:
|
| 101 |
+
|
| 102 |
+
$$
|
| 103 |
+
h _ {t} = \operatorname {S o f t m a x} \left(f _ {s} ^ {t} \cdot f _ {v} ^ {t T}\right) f _ {v} ^ {t} + f _ {s} ^ {t}, \tag {2}
|
| 104 |
+
$$
|
| 105 |
+
|
| 106 |
+
$$
|
| 107 |
+
z _ {t} = M L P \left(h _ {t}\right) + h _ {t}, \tag {3}
|
| 108 |
+
$$
|
| 109 |
+
|
| 110 |
+
where $f_{s}^{t} \in R^{F \times D_{s}}$ and $f_{v}^{t} \in R^{N \times D_{v}}$ represents visual and sound features at time step $t$ . $F, D_{v}$ , and $D_{s}$ denote the frequency bases of the sound spectrogram, the dimensions of visual features, and the dimension of sound features, respectively. The softmax computation is along the dimension of visual feature channels. The visual feature is then weighted by attention matrix and concatenated with the sound feature. We further add a multi-layer perceptron (MPL) with residual connection to produce the output features. The MLP is
|
| 111 |
+
|
| 112 |
+

|
| 113 |
+
Figure 3: Audio-visual fusion module of the model in Figure 2.
|
| 114 |
+
|
| 115 |
+
implemented with two fully-connected layers with a ReLU activation function. This attention mechanism enforces the model to focus more on the discriminative body keypoints, and associate them with the corresponding sound components on the spectrogram.
|
| 116 |
+
|
| 117 |
+
# 3.4. Training and Inferences
|
| 118 |
+
|
| 119 |
+
The learning objective of our model is to estimate a binary mask $M_{k}$ . The ground truth mask of $k$ -th video is calculated whether the target sound is the dominant component in the input mixed sound on magnitude spectrogram $S$ , i.e.,
|
| 120 |
+
|
| 121 |
+
$$
|
| 122 |
+
M _ {k} (t, f) = \llbracket S _ {k} (t, f) \geq S _ {m i x} (t, f) \rrbracket , \quad \forall k = (1, \dots , N), \tag {4}
|
| 123 |
+
$$
|
| 124 |
+
|
| 125 |
+
where $(t, f)$ represents the time-frequency coordinates in the sound spectrogram. The network is trained by minimizing the per-pixel sigmoid cross entropy loss between the estimated masks and the ground-truth binary masks. Then the predicted mask is thresholded and multiplied with the input complex STFT coefficients to get a predicted sound spectrogram. Finally, we apply an inverse short-time Fourier Transform (iSTFT) with the same transformation parameters on the predicted spectrogram to reconstruct the waveform of separated sound.
|
| 126 |
+
|
| 127 |
+
During testing, our model takes a single realistic multisource video to perform sound source separation. We first localize human in the video frames. For each detected person, we use the video analysis network to extract visual feature to isolate the portion of the sound belonging to this musician from the mixed audio.
|
| 128 |
+
|
| 129 |
+
# 4. Experiments
|
| 130 |
+
|
| 131 |
+
In this section, we discuss our experiments, implementation details, comparisons and evaluations.
|
| 132 |
+
|
| 133 |
+
# 4.1. Dataset
|
| 134 |
+
|
| 135 |
+
We perform experiments on three video music performance datasets, namely MUSIC-21[55], URMP [31] and AtinPiano [35]. MUSIC-21 is an untrimmed video dataset crawled by keyword query from Youtube. It contains music performances belonging to 21 categories. This dataset is relatively clean and collected for the purpose of training and evaluating visual sound source separation models. URMP [31] is a high quality multi-instrument video dataset recorded in studio and provides ground truth labels for each sound source. AtinPiano [35] is a dataset where the piano video recordings are filmed in a way that camera is looking down on the keyboard and hands.
|
| 136 |
+
|
| 137 |
+
# 4.2. Hetero-musical Separation
|
| 138 |
+
|
| 139 |
+
We first evaluate the model performance in the task of separating sounds from different kinds of instruments on
|
| 140 |
+
|
| 141 |
+
the MUSIC dataset.
|
| 142 |
+
|
| 143 |
+
Baseline and evaluation metrics
|
| 144 |
+
|
| 145 |
+
We consider 5 state-of-
|
| 146 |
+
|
| 147 |
+
the-art systems to compare against.
|
| 148 |
+
|
| 149 |
+
- NMF [51] is a well-established pipeline for audio-only source separation based on matrix factorization;
|
| 150 |
+
- Deep Separation [9] is a CNN-based audio-only source separation approach;
|
| 151 |
+
- MIML [17] is a model that combines NMF decomposition and multi-instance multi-label learning;
|
| 152 |
+
- Sound of Pixels [56] is a pioneering work that uses vision for sound source separations;
|
| 153 |
+
- Co-separation [19] devices a new model that incorporates an object-level co-separation loss into the mix-and-separate framework [56];
|
| 154 |
+
- Sound of Motions [55] is a recently proposed self-supervised model which leverages trajectory motion cues.
|
| 155 |
+
|
| 156 |
+
We adopt the blind separation metrics, including signal-to-distortion ratio (SDR), and signal-to-interference ratio (SIR) to quantitatively compare the quality of the sound separation. The results reported in this paper were obtained by using the open-source mir_eval [40] library.
|
| 157 |
+
|
| 158 |
+
Experimental Setup Following the experiment protocol in Zhao et al. [55], we split all videos on MUSCI dataset into a training set and a test set. We train and evaluate our model using mix-2 and mix-3 samples, which contain 2 and 3 sound sources of different instruments in mixtures. Since the real mix video data with multiple sounds on the MUSIC dataset do not have ground-truth labels for quantitative evaluation, we construct a synthetic testing set by mixing solo videos. The result of model performances are reported on a validation set with 256 pairs of sound mixtures, the same as [55]. We also perform a human study on the real mixtures on MUSIC and URMP dataset to measure human's perceptual quality.
|
| 159 |
+
|
| 160 |
+
Implementation Details We implement our framework using Pytorch. We first extract a global context feature from a video clip using ResNet-50 [23] and the coordinates of body and hand key points for each frame using OpenPose [8] and AlphaPose [13]. Our GCN model consists of 11-layers with residual connections. When training the graph CNN network, we first pass the keypoint coordinates to a batch normalization layer to keep the scale of the input same. During training, we also randomly move the coordinates as data augmentation to avoid overfitting.
|
| 161 |
+
|
| 162 |
+
For the audio data pre-processing, we first re-sample the audio to $11\mathrm{kHz}$ . During training, we randomly take a 6-second video clip from the dataset. The audio-visual separation network takes a 6-second mixed audio clip as input, and transforms it into spectrogram by Short Time Fourier Transform (STFT). We set the frame size and hop size as
|
| 163 |
+
|
| 164 |
+
<table><tr><td rowspan="2">Methods</td><td colspan="2">2-Mix</td><td colspan="2">3-Mix</td></tr><tr><td>SDR</td><td>SIR</td><td>SDR</td><td>SIR</td></tr><tr><td>NMF [51]</td><td>2.78</td><td>6.70</td><td>2.01</td><td>2.08</td></tr><tr><td>Deep Separation [9]</td><td>4.75</td><td>7.00</td><td>-</td><td>-</td></tr><tr><td>MIML [17]</td><td>4.25</td><td>6.23</td><td>-</td><td>-</td></tr><tr><td>Sound of Pixels [56]</td><td>7.52</td><td>13.01</td><td>3.65</td><td>8.77</td></tr><tr><td>Co-Separation [19]</td><td>7.64</td><td>13.8</td><td>3.94</td><td>8.93</td></tr><tr><td>Sound of Motion [55]</td><td>8.31</td><td>14.82</td><td>4.87</td><td>9.48</td></tr><tr><td>Our</td><td>10.12</td><td>15.81</td><td>5.41</td><td>11.47</td></tr></table>
|
| 165 |
+
|
| 166 |
+
1022 and 256, respectively. The spectrogram is then fed into a U-Net with 4 dilated convolution and 4 deconvolution layers. The output of U-Net is an estimated binary mask. We set a threshold of 0.7 to obtain a binary mask, and then multiply it with the input mixture sound spectrogram. An iSTFT with the same parameters as the STFT is applied to obtain the final separated audio waveforms.
|
| 167 |
+
|
| 168 |
+
We train our model using SGD optimizer with 0.9 momentum. The audio separation Network and the fusion module use a learning rate of 1e-2; the ST-GCN Network and Appearance Network use a learning rate of 1e-3.
|
| 169 |
+
|
| 170 |
+
Quantitative Evaluation. Table 1 summarizes the comparison results against state-of-the-art methods on MUSIC. We observe that our method consistently outperforms all baselines in separation accuracy, as captured across metrics. Remarkably, our system outperforms a previous state-of-the-art algorithm [55] by 1.8dB on 2-mix and 0.6dB on 3-mix source separation in term of SDR score. These quantitative results suggest that our model can successfully exploit the explicit body dynamic motions to improve the sound separation quality.
|
| 171 |
+
|
| 172 |
+
Qualitative evaluation on real mixtures. Our quantitative results demonstrate that our model achieves better results than baselines. However, these metrics are limited in their ability to reflect the actual perceptual quality of the sound separation result on real-world videos. Therefore, we further conduct a subjective human study using real mixture videos from MUSIC and URMP datasets on Amazon Mechanical Turk (AMT).
|
| 173 |
+
|
| 174 |
+
Specifically, we compare sound separation results of our own model with best baseline system [55] The AMT workers are required to compare these two systems and answer the following question: "Which sound separation result is better?." We randomly shuffle the orders of two models to
|
| 175 |
+
|
| 176 |
+
Table 1: Sound source separation performance ( $N = 2,3$ mixture) on different instruments. Compared to previous approaches, our models with body dynamic motion information perform better in sound separation.
|
| 177 |
+
|
| 178 |
+
<table><tr><td>Method</td><td>2-Mix</td><td>3-Mix</td></tr><tr><td>Sound of Motions [55]</td><td>24%</td><td>16%</td></tr><tr><td>Ours</td><td>76%</td><td>84%</td></tr></table>
|
| 179 |
+
|
| 180 |
+
Table 2: Human evaluation results for the sound source separation on mixtures of the different instruments.
|
| 181 |
+
|
| 182 |
+
<table><tr><td>Method</td><td>SDR</td></tr><tr><td>Ours w/o fusion</td><td>9.64</td></tr><tr><td>Ours w/o RGB</td><td>10.22</td></tr><tr><td>Our</td><td>10.12</td></tr></table>
|
| 183 |
+
|
| 184 |
+
Table 3: Ablated study on SDR metric for mixtures of 2 different instruments.
|
| 185 |
+
|
| 186 |
+
avoid shortcut solutions. Each job is performed independently by 3 AMT workers. Results are shown in Table 2 using majority voting. From this table, we find workers favor our system for both 2-mix and 3-mix sound separation.
|
| 187 |
+
|
| 188 |
+
# 4.3. Ablated study
|
| 189 |
+
|
| 190 |
+
In this section, we perform in-depth ablation studies to evaluate the impact of each component of our model.
|
| 191 |
+
|
| 192 |
+
Keypoint-based representation. The main contribution of our paper is to use explicit body motions through keypoint-based structure representations for source separation. To further understand the ability of these representations, we conduct an ablated study using the keypoint-based structure representation only, without the RGB context features. Interestingly, we can observe that keypoint-based representations alone could also achieve very strong results (see Table 3). We hope our findings could inspire more works using structured keypoint-based representations for the audio-visual scene analysis tasks.
|
| 193 |
+
|
| 194 |
+
Visual-Audio Fusion Module. We propose a novel attention based audio-visual fusion model. To verify its efficacy, we replace this module with Feature-wise Linear Modulation (FiLM) [39] used in [55]. The comparison results are shown in Table 3. We can find that the proposed audio-visual fusion module brings 0.5dB improvement in term of SDR metric on 2-mix sound source separation.
|
| 195 |
+
|
| 196 |
+
# 4.4. Homo-musical Separation
|
| 197 |
+
|
| 198 |
+
In this section, we conduct experiments on a more challenging task, sound separation when sound is generated by the same instruments.
|
| 199 |
+
|
| 200 |
+
Experiment Setup We select 5 kinds of musical instruments whose sounds are closely related to body dynamic: trumpet, flute, piano, violin, and cello for evaluation.
|
| 201 |
+
|
| 202 |
+
Inspired by previous work [55, 37], we also adopt a 2-stage curriculum learning strategy to train the sound separation model of the same instruments. In particular, we first pre-train the model on multiple instrument separation, then learn to separate the same instrument. We compare our model against SoM [55], since previous appearance based models fail to produce meaningful results in this challenging setting. The results are measured by both automatic SDR scores and human evaluations on AMT.
|
| 203 |
+
|
| 204 |
+
Results Analysis. Results are shown in Table 4 and Table 5. From these tables, we have three key observations: 1) our proposed model consistently outperforms the SoM system [55] for all five instruments measured by both automatic and human evaluation metrics; 2) The quantitative results on separating violin and cello duets are close (See Table 4). However, we find that the SoM system is quite brittle when testing on the real mixtures. People tend to vote our system more on real mixtures, as shown in Table 5; 3) The SoM provides much inferior results on trumpet, piano, and flute duets compared to our model, since the gap is larger than $3\mathrm{dB}$ . This is not very surprising since separating duet of these three instruments mainly relies on hand pose movements. It is very hard for the trajectory and optical flow features to capture such fine-grained hand movements. Our approach can overcome this challenge in that we explicit model the body motions by tracking the coordinates changes of hand keypoints. These results further validate the efficacy of body dynamics motions on solving more and harder visual sound separation problems.
|
| 205 |
+
|
| 206 |
+
# 4.5. Visualizations
|
| 207 |
+
|
| 208 |
+
As a further analysis, we would like to understand how body keypoints matters the sound source separation. Figure 4 visualize the learned attention map of keypoints in the audio-visual fusion module. We observe that our model tends to focus more on hand keypoints when separating gui
|
| 209 |
+
|
| 210 |
+
<table><tr><td>Instrument</td><td>SoM [55]</td><td>Ours</td></tr><tr><td>trumpet</td><td>1.8</td><td>4.9</td></tr><tr><td>flute</td><td>1.5</td><td>5.3</td></tr><tr><td>piano</td><td>0.8</td><td>3.8</td></tr><tr><td>violin</td><td>6.3</td><td>6.7</td></tr><tr><td>cello</td><td>5.4</td><td>6.1</td></tr></table>
|
| 211 |
+
|
| 212 |
+
Table 4: Sound source separation performance on duets of the same instruments under the SDR metric.
|
| 213 |
+
|
| 214 |
+
<table><tr><td>Instrument</td><td>SoM [55]</td><td>Ours</td></tr><tr><td>trumpet</td><td>18%</td><td>82%</td></tr><tr><td>flute</td><td>14%</td><td>86%</td></tr><tr><td>piano</td><td>30%</td><td>70%</td></tr><tr><td>violin</td><td>26%</td><td>74%</td></tr><tr><td>cello</td><td>28%</td><td>72%</td></tr></table>
|
| 215 |
+
|
| 216 |
+
Table 5: Human evaluation result for the sound source separation on mixture of the same instruments.
|
| 217 |
+
|
| 218 |
+
tar and flute sounds, while pays more attention to elbows when separating the cello and violin.
|
| 219 |
+
|
| 220 |
+
Fig 5 shows qualitative results comparison between our model and the previous state-of-the-art SoM [55] on separating 3 different instruments and 2 same instruments. The first row shows the video frame example, the second row shows the spectrogram of the audio mixture. The third to fifth rows show ground truth masks, masks predicted by SoM, and masks predicted by our method. The sixth to eighth rows show the ground truth spectrogram and comparisons of predicted spectrogram after applying masks on the input spectrogram. We can observe that our system produces cleaner sound separation outputs.
|
| 221 |
+
|
| 222 |
+
Though the results are remarkable and constitute a noticeable step towards more challenging visual sound separation, our system is still far from perfect. We observed that
|
| 223 |
+
|
| 224 |
+

|
| 225 |
+
Figure 4: The attention map of body keypoints. Brighter color means higher attention score.
|
| 226 |
+
|
| 227 |
+

|
| 228 |
+
Figure 5: Qualitative results on visual sound separation compared with Sound of Motions (SoM) [55].
|
| 229 |
+
|
| 230 |
+
our method is not resilient against camera viewpoint change and body part occlusions of the musician. We conjecture that unsupervised learning of keypoints from raw images for visual sound separation might be a promising direction to explore for future work.
|
| 231 |
+
|
| 232 |
+
# 5. Conclusions and Future Work
|
| 233 |
+
|
| 234 |
+
In this paper, we show that keypoint-based structured visual representations are powerful for visual sound separation. Extensive evaluations show that, compared to previous appearance and low-level motion-based models, we are able to perform better on audio-visual source separation of dif
|
| 235 |
+
|
| 236 |
+
ferent instruments; we can also achieve remarkable results on separating sounds of same instruments (e.g. piano, flute, and trumpet), which was impossible before. We hope our work will open up avenues of using structured visual representations for audio-visual scene analysis. In their future, we plan to extend our approach to more general audio-visual data with more complex human-object interactions.
|
| 237 |
+
|
| 238 |
+
Acknowledgement This work is supported by ONR MURI N00014-16-1-2007, the Center for Brain, Minds, and Machines (CBMM, NSF STC award CCF-1231216), and IBM Research.
|
| 239 |
+
|
| 240 |
+
# References
|
| 241 |
+
|
| 242 |
+
[1] Samuel Albanie, Arsha Nagrani, Andrea Vedaldi, and Andrew Zisserman. Emotion recognition in speech using cross-modal transfer in the wild. ACM Multimedia, 2018. 2
|
| 243 |
+
[2] Relja Arandjelovic and Andrew Zisserman. Look, listen and learn. In 2017 IEEE International Conference on Computer Vision (ICCV), pages 609-617. IEEE, 2017. 2
|
| 244 |
+
[3] Relja Arandjelović and Andrew Zisserman. Objects that sound. arXiv preprint arXiv:1712.06651, 2017. 2
|
| 245 |
+
[4] Yusuf Aytar, Carl Vondrick, and Antonio Torralba. Sound-net: Learning sound representations from unlabeled video. In Advances in Neural Information Processing Systems, pages 892-900, 2016. 2
|
| 246 |
+
[5] Zohar Barzelay and Yoav Y Schechner. Harmony in motion. In Computer Vision and Pattern Recognition, 2007. CVPR'07. IEEE Conference on, pages 1-8. IEEE, 2007. 2
|
| 247 |
+
[6] Matthew Brand. Voice puppetry. In Proceedings of the 26th annual conference on Computer graphics and interactive techniques, pages 21-28, 1999. 2
|
| 248 |
+
[7] Christoph Bregler, Michele Covell, and Malcolm Slaney. Video rewrite: driving visual speech with audio. 1997. 2
|
| 249 |
+
[8] Zhe Cao, Gines Hidalgo, Tomas Simon, Shih-En Wei, and Yaser Sheikh. OpenPose: realtime multi-person 2D pose estimation using Part Affinity Fields. In arXiv preprint arXiv:1812.08008, 2018. 4, 5
|
| 250 |
+
[9] Pritish Chandna, Marius Miron, Jordi Janer, and Emilia Gómez. Monoaural audio source separation using deep convolutional neural networks. In ICLVASS, pages 258-266, 2017. 2, 5, 6
|
| 251 |
+
[10] Joon Son Chung, Andrew W Senior, Oriol Vinyals, and Andrew Zisserman. Lip reading sentences in the wild. In CVPR, pages 3444-3453, 2017. 3
|
| 252 |
+
[11] Andrzej Cichocki, Rafal Zdunek, Anh Huy Phan, and Shunichi Amari. Nonnegative matrix and tensor factorizations: applications to exploratory multi-way data analysis and blind source separation. John Wiley & Sons, 2009. 2
|
| 253 |
+
[12] Ariel Ephrat, Inbar Mosseri, Oran Lang, Tali Dekel, Kevin Wilson, Avinatan Hassidim, William T Freeman, and Michael Rubinstein. Looking to listen at the cocktail party: a speaker-independent audio-visual model for speech separation. ACM Transactions on Graphics (TOG), 37(4):112, 2018. 2, 3
|
| 254 |
+
[13] Hao-Shu Fang, Shuqin Xie, Yu-Wing Tai, and Cewu Lu. RMPE: Regional multi-person pose estimation. In ICCV, 2017. 4, 5
|
| 255 |
+
[14] Chuang Gan, Naiyan Wang, Yi Yang, Dit-Yan Yeung, and Alex G Hauptmann. Devnet: A deep event network for multimedia event detection and evidence recounting. In CVPR, pages 2568-2577, 2015. 2
|
| 256 |
+
[15] Chuang Gan, Yiwei Zhang, Jiajun Wu, Boqing Gong, and Joshua B Tenenbaum. Look, listen, and act: Towards audio-visual embodied navigation. ICRA, 2020. 2
|
| 257 |
+
[16] Chuang Gan, Hang Zhao, Peihao Chen, David Cox, and Antonio Torralba. Self-supervised moving vehicle tracking with stereo sound. In ICCV, pages 7053-7062, 2019. 2
|
| 258 |
+
|
| 259 |
+
[17] Ruohan Gao, Rogerio Feris, and Kristen Grauman. Learning to separate object sounds by watching unlabeled video. In ECCV, 2018. 2, 5, 6
|
| 260 |
+
[18] Ruohan Gao and Kristen Grauman. 2.5 d visual sound. arXiv preprint arXiv:1812.04204, 2018. 2
|
| 261 |
+
[19] Ruohan Gao and Kristen Grauman. Co-separating sounds of visual objects. ICCV, 2019. 2, 5, 6
|
| 262 |
+
[20] Shiry Ginosar, Amir Bar, Gefen Kohavi, Caroline Chan, Andrew Owens, and Jitendra Malik. Learning individual styles of conversational gesture. In CVPR, pages 3497-3506, 2019. 3
|
| 263 |
+
[21] Rolf Inge Godoy and Marc Leman. Musical gestures: Sound, movement, and meaning. Routledge, 2010. 1
|
| 264 |
+
[22] Simon Haykin and Zhe Chen. The cocktail party problem. Neural computation, 17(9):1875-1902, 2005. 2
|
| 265 |
+
[23] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 770-778, 2016. 3, 5
|
| 266 |
+
[24] John R Hershey, Zhuo Chen, Jonathan Le Roux, and Shinji Watanabe. Deep clustering: Discriminative embeddings for segmentation and separation. In Acoustics, Speech and Signal Processing (ICASSP), 2016 IEEE International Conference on, pages 31-35. IEEE, 2016. 2
|
| 267 |
+
[25] John R. Hershey and Javier R. Movellan. Audio vision: Using audio-visual synchrony to locate sounds. In S. A. Solla, T. K. Leen, and K. Müller, editors, Advances in Neural Information Processing Systems 12, pages 813–819. MIT Press, 2000. 2
|
| 268 |
+
[26] Hamid Izadinia, Imran Saleemi, and Mubarak Shah. Multimodal analysis for identification and segmentation of moving-sounding objects. IEEE Transactions on Multimedia, 15(2):378-390, 2013. 2
|
| 269 |
+
[27] Amir Jamaludin, Joon Son Chung, and Andrew Zisserman. You said that?: Synthesising talking faces from audio. International Journal of Computer Vision, pages 1-13, 2019. 2
|
| 270 |
+
[28] Tero Karras, Timo Aila, Samuli Laine, Antti Herva, and Jaakko Lehtinen. Audio-driven facial animation by joint end-to-end learning of pose and emotion. ACM Transactions on Graphics (TOG), 36(4):94, 2017. 2
|
| 271 |
+
[29] Nikos Kolotouros, Georgios Pavlakos, and Kostas Dani-ilidis. Convolutional mesh regression for single-image human shape reconstruction. In CVPR, pages 4501–4510, 2019. 4
|
| 272 |
+
[30] Bruno Korbar, Du Tran, and Lorenzo Torresani. Co-training of audio and video representations from self-supervised temporal synchronization. arXiv preprint arXiv:1807.00230, 2018. 2
|
| 273 |
+
[31] Bochen Li, Xinzhao Liu, Karthik Dinesh, Zhiyao Duan, and Gaurav Sharma. Creating a multitrack classical music performance dataset for multimodal music analysis: Challenges, insights, and applications. IEEE Transactions on Multimedia, 21(2):522-535, 2018. 2, 5
|
| 274 |
+
[32] Xiang Long, Chuang Gan, Gerard De Melo, Jiajun Wu, Xiao Liu, and Shilei Wen. Attention clusters: Purely attention based local feature integration for video classification. In CVPR, pages 7834-7843, 2018. 2
|
| 275 |
+
|
| 276 |
+
[33] Josh H McDermott. The cocktail party problem. Current Biology, 19(22):R1024-R1027, 2009. 2
|
| 277 |
+
[34] Pedro Morgado, Nuno Nvasconcelos, Timothy Langlois, and Oliver Wang. Self-supervised generation of spatial audio for 360 video. In NIPS, 2018. 2
|
| 278 |
+
[35] Amit Moryossef, Yanai Elazar, and Yoav Goldberg. At your fingertips: Automatic piano fingering detection, 2020. 2, 5
|
| 279 |
+
[36] Arsha Nagrani, Samuel Albanie, and Andrew Zisserman. Seeing voices and hearing faces: Cross-modal biometric matching. arXiv preprint arXiv:1804.00326, 2018. 2
|
| 280 |
+
[37] Andrew Owens and Alexei A Efros. Audio-visual scene analysis with self-supervised multisensory features. ECCV, 2018. 2, 3, 7
|
| 281 |
+
[38] Andrew Owens, Jiajun Wu, Josh H McDermott, William T Freeman, and Antonio Torralba. Ambient sound provides supervision for visual learning. In European Conference on Computer Vision, pages 801-816. Springer, 2016. 2
|
| 282 |
+
[39] Ethan Perez, Florian Strub, Harm De Vries, Vincent Dumoulin, and Aaron Courville. Film: Visual reasoning with a general conditioning layer. arXiv preprint arXiv:1709.07871, 2017. 7
|
| 283 |
+
[40] Colin Raffel, Brian McFee, Eric J Humphrey, Justin Salamon, Oriol Nieto, Dawen Liang, Daniel PW Ellis, and C Colin Raffel. mir.eval: A transparent implementation of common mir metrics. In In Proceedings of the 15th International Society for Music Information Retrieval Conference, ISMIR. Citeseer, 2014. 5
|
| 284 |
+
[41] Olaf Ronneberger, Philipp Fischer, and Thomas Brox. U-net: Convolutional networks for biomedical image segmentation. In International Conference on Medical image computing and computer-assisted intervention, pages 234-241. Springer, 2015. 4
|
| 285 |
+
[42] Andrew Rouditchenko, Hang Zhao, Chuang Gan, Josh McDermott, and Antonio Torralba. Self-supervised audio-visual co-segmentation. In ICASSP 2019-2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 2357-2361. IEEE, 2019. 2
|
| 286 |
+
[43] Arda Senocak, Tae-Hyun Oh, Junsik Kim, Ming-Hsuan Yang, and In So Kweon. Learning to localize sound source in visual scenes. arXiv preprint arXiv:1803.03849, 2018. 2
|
| 287 |
+
[44] Eli Shlizerman, Lucio Dery, Hayden Schoen, and Ira Kemelmacher-Shlizerman. Audio to body dynamics. In CVPR, pages 7574-7583, 2018. 3
|
| 288 |
+
[45] Tomas Simon, Hanbyul Joo, Iain Matthews, and Yaser Sheikh. Hand keypoint detection in single images using multiview bootstrapping. In CVPR, 2017. 4
|
| 289 |
+
[46] Andrew JR Simpson, Gerard Roma, and Mark D Plumbley. Deep karaoke: Extracting vocals from musical mixtures using a convolutional deep neural network. In International Conference on Latent Variable Analysis and Signal Separation, pages 429-436. Springer, 2015. 2
|
| 290 |
+
[47] Paris Smaragdis and Judith C Brown. Non-negative matrix factorization for polyphonic music transcription. In Applications of Signal Processing to Audio and Acoustics, 2003 IEEE Workshop on., pages 177-180. IEEE, 2003. 2
|
| 291 |
+
[48] Supasorn Suwajanakorn, Steven M Seitz, and Ira Kemelmacher-Shlizerman. Synthesizing obama: learn
|
| 292 |
+
|
| 293 |
+
ing lip sync from audio. ACM Transactions on Graphics (TOG), 36(4):95, 2017. 2
|
| 294 |
+
[49] Sarah Taylor, Taehwan Kim, Yisong Yue, Moshe Mahler, James Krahe, Anastasio Garcia Rodriguez, Jessica Hodgins, and Iain Matthews. A deep learning approach for generalized speech animation. ACM Transactions on Graphics (TOG), 36(4):93, 2017. 2
|
| 295 |
+
[50] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. In NIPS, pages 5998-6008, 2017. 4
|
| 296 |
+
[51] Tuomas Virtanen. Monaural sound source separation by nonnegative matrix factorization with temporal continuity and sparseness criteria. IEEE transactions on audio, speech, and language processing, 15(3):1066-1074, 2007. 2, 5, 6
|
| 297 |
+
[52] Xudong Xu, Bo Dai, and Dahua Lin. Recursive visual sound separation using minus-plus net. In The IEEE International Conference on Computer Vision (ICCV), October 2019. 2
|
| 298 |
+
[53] Sijie Yan, Yuanjun Xiong, and Dahua Lin. Spatial temporal graph convolutional networks for skeleton-based action recognition. In AAAI, 2018. 4
|
| 299 |
+
[54] Dong Yu, Morten Kolbæk, Zheng-Hua Tan, and Jesper Jensen. Permutation invariant training of deep models for speaker-independent multi-talker speech separation. In Acoustics, Speech and Signal Processing (ICASSP), 2017 IEEE International Conference on, pages 241-245. IEEE, 2017. 2
|
| 300 |
+
[55] Hang Zhao, Chuang Gan, Wei-Chiu Ma, and Antonio Torralba. The sound of motions. ICCV, 2019. 2, 5, 6, 7, 8
|
| 301 |
+
[56] Hang Zhao, Chuang Gan, Andrew Rouditchenko, Carl Vondrick, Josh McDermott, and Antonio Torralba. The sound of pixels. In *The European Conference on Computer Vision (ECCV)*, September 2018. 2, 3, 5, 6
|
| 302 |
+
[57] Yipin Zhou, Zhaowen Wang, Chen Fang, Trung Bui, and Tamara L Berg. Visual to sound: Generating natural sound for videos in the wild. arXiv preprint arXiv:1712.01393, 2017. 2
|
musicgestureforvisualsoundseparation/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f189aa648db0d37afe835c64ff82700f7e4183acc3281516591c63cd8abddeb2
|
| 3 |
+
size 643610
|
musicgestureforvisualsoundseparation/layout.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:95c0ab5f9302efea80764942fdb6d356dc4e9a7c6be9cd59506aad9e0628dadf
|
| 3 |
+
size 331165
|
nasfcosfastneuralarchitecturesearchforobjectdetection/79a4edf5-3b22-4630-b44f-a57292a0b1b8_content_list.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4e046b6b649f310f25c14c0516d366dbf32429ab8ea00e53dc313e4080eaee8e
|
| 3 |
+
size 67709
|
nasfcosfastneuralarchitecturesearchforobjectdetection/79a4edf5-3b22-4630-b44f-a57292a0b1b8_model.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc0424a9f81308da2e7fccef328da1e4b84ce54d8113f8721a238378fc8b5d59
|
| 3 |
+
size 81784
|
nasfcosfastneuralarchitecturesearchforobjectdetection/79a4edf5-3b22-4630-b44f-a57292a0b1b8_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6a55773e9edd79cff678b9be0e0561297d004b48889c80b6fcedb05d09b6510e
|
| 3 |
+
size 537243
|
nasfcosfastneuralarchitecturesearchforobjectdetection/full.md
ADDED
|
@@ -0,0 +1,281 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# NAS-FCOS: Fast Neural Architecture Search for Object Detection*
|
| 2 |
+
|
| 3 |
+
Ning Wang†‡, Yang Gao†‡, Hao Chen, Peng Wang†‡, Zhi Tian, Chunhua Shen, Yanning Zhang†‡ † School of Computer Science, Northwestern Polytechnical University, China
|
| 4 |
+
|
| 5 |
+
$\ddagger$ National Engineering Lab for Integrated Aero-Space-Ground-Ocean Big Data Application Technology, China
|
| 6 |
+
$\diamond$ The University of Adelaide, Australia
|
| 7 |
+
|
| 8 |
+
# Abstract
|
| 9 |
+
|
| 10 |
+
The success of deep neural networks relies on significant architecture engineering. Recently neural architecture search (NAS) has emerged as a promise to greatly reduce manual effort in network design by automatically searching for optimal architectures, although typically such algorithms need an excessive amount of computational resources, e.g., a few thousand GPU-days. To date, on challenging vision tasks such as object detection, NAS, especially fast versions of NAS, is less studied. Here we propose to search for the decoder structure of object detectors with search efficiency being taken into consideration. To be more specific, we aim to efficiently search for the feature pyramid network (FPN) as well as the prediction head of a simple anchor-free object detector, namely FCOS [24], using a tailored reinforcement learning paradigm. With carefully designed search space, search algorithms and strategies for evaluating network quality, we are able to efficiently search a top-performing detection architecture within 4 days using 8 V100 GPUs. The discovered architecture surpasses state-of-the-art object detection models (such as Faster R-CNN, RetinaNet and FCOS) by 1.5 to 3.5 points in AP on the COCO dataset, with comparable computation complexity and memory footprint, demonstrating the efficacy of the proposed NAS for object detection.
|
| 11 |
+
|
| 12 |
+
# 1. Introduction
|
| 13 |
+
|
| 14 |
+
Object detection is one of the fundamental tasks in computer vision, and has been researched extensively. In the past few years, state-of-the-art methods for this task are based on deep convolutional neural networks (such as Faster R-CNN [20], RetinaNet [11]), due to their impressive performance. Typically, the designs of object detection networks are much more complex than those for image classification, because the former need to localize and classify multiple objects in an image simultaneously while the latter
|
| 15 |
+
|
| 16 |
+
only need to output image-level labels. Due to its complex structure and numerous hyper-parameters, designing effective object detection networks is more challenging and usually needs much manual effort.
|
| 17 |
+
|
| 18 |
+
On the other hand, Neural Architecture Search (NAS) approaches [4, 17, 32] have been showing impressive results on automatically discovering top-performing neural network architectures in large-scale search spaces. Compared to manual designs, NAS methods are data-driven instead of experience-driven, and hence need much less human intervention. As defined in [3], the workflow of NAS can be divided into the following three processes: 1) sampling architecture from a search space following some search strategies; 2) evaluating the performance of the sampled architecture; and 3) updating the parameters based on the performance.
|
| 19 |
+
|
| 20 |
+
One of the main problems prohibiting NAS from being used in more realistic applications is its search efficiency. The evaluation process is the most time consuming part because it involves a full training procedure of a neural network. To reduce the evaluation time, in practice a proxy task is often used as a lower cost substitution. In the proxy task, the input, network parameters and training iterations are often scaled down to speedup the evaluation. However, there is often a performance gap for samples between the proxy tasks and target tasks, which makes the evaluation process biased. How to design proxy tasks that are both accurate and efficient for specific problems is a challenging problem. Another solution to improve search efficiency is constructing a supernet that covers the complete search space and training candidate architectures with shared parameters [15, 18]. However, this solution leads to significantly increased memory consumption and restricts itself to small-to-moderate sized search spaces.
|
| 21 |
+
|
| 22 |
+
To our knowledge, studies on efficient and accurate NAS approaches to object detection networks are rarely touched, despite its significant importance. To this end, we present a fast and memory saving NAS method for object detection networks, which is capable of discovering top-performing architectures within significantly reduced search time. Our
|
| 23 |
+
|
| 24 |
+
overall detection architecture is based on FCOS [24], a simple anchor-free one-stage object detection framework, in which the feature pyramid network and prediction head are searched using our proposed NAS method.
|
| 25 |
+
|
| 26 |
+
Our main contributions are summarized as follows.
|
| 27 |
+
|
| 28 |
+
- In this work, we propose a fast and memory-efficient NAS method for searching both FPN and head architectures, with carefully designed proxy tasks, search space and evaluation strategies, which is able to find top-performing architectures over 3,000 architectures using 28 GPU-days only.
|
| 29 |
+
|
| 30 |
+
Specifically, this high efficiency is enabled with the following designs.
|
| 31 |
+
|
| 32 |
+
- Developing a fast proxy task training scheme by skipping the backbone finetuning stage;
|
| 33 |
+
|
| 34 |
+
- Adapting progressive search strategy to reduce time cost taken by the extended search space;
|
| 35 |
+
|
| 36 |
+
- Using a more discriminative criterion for evaluation of searched architectures.
|
| 37 |
+
|
| 38 |
+
- Employing an efficient anchor-free one-stage detection framework with simple post processing;
|
| 39 |
+
|
| 40 |
+
- Using NAS, we explore the workload relationship between FPN and head, proving the importance of weight sharing in head.
|
| 41 |
+
- We show that the overall structure of NAS-FCOS is general and flexible in that it can be equipped with various backbones including MobileNetV2, ResNet-50, ResNet-101 and ResNeXt-101, and surpasses state-of-the-art object detection algorithms using comparable computation complexity and memory footprint. More specifically, our model can improve the AP by $1.5 \sim 3.5$ points on all above models comparing to their FCOS counterparts.
|
| 42 |
+
|
| 43 |
+
# 2. Related Work
|
| 44 |
+
|
| 45 |
+
# 2.1. Object Detection
|
| 46 |
+
|
| 47 |
+
The frameworks of deep neural networks for object detection can be roughly categorized into two types: one-stage detectors [12] and two-stage detectors [6, 20].
|
| 48 |
+
|
| 49 |
+
Two-stage detection frameworks first generate class-independent region proposals using a region proposal network (RPN), and then classify and refine them using extra detection heads. In spite of achieving top performance, the two-stage methods have noticeable drawbacks: they are computationally expensive and have many hyperparameters that need to be tuned to fit a specific dataset.
|
| 50 |
+
|
| 51 |
+
In comparison, the structures of one-stage detectors are much simpler. They directly predict object categories and
|
| 52 |
+
|
| 53 |
+
bounding boxes at each location of feature maps generated by a single CNN backbone.
|
| 54 |
+
|
| 55 |
+
Note that most state-of-the-art object detectors (including both one-stage detectors [12, 16, 19] and two-stage detectors [20]) make predictions based on anchor boxes of different scales and aspect ratios at each convolutional feature map location. However, the usage of anchor boxes may lead to high imbalance between object and non-object examples and introduce extra hyper-parameters. More recently, anchor-free one-stage detectors [9, 10, 24, 29, 30] have attracted increasing research interests, due to their simple fully convolutional architectures and reduced consumption of computational resources.
|
| 56 |
+
|
| 57 |
+
# 2.2. Neural Architecture Search
|
| 58 |
+
|
| 59 |
+
NAS is usually time consuming. We have seen great improvements from 24,000 GPU-days [32] to 0.2 GPU-day [28]. The trick is to first construct a supernet containing the complete search space and train the candidates all at once with bi-level optimization and efficient weight sharing [13, 15]. But the large memory allocation and difficulties in approximated optimization prohibit the search for more complex structures.
|
| 60 |
+
|
| 61 |
+
Recently researchers [1, 5, 23] propose to apply single-path training to reduce the bias introduced by approximation and model simplification of the supernet. DetNAS [2] follows this idea to search for an efficient object detection architecture. One limitation of the single-path approach is that the search space is restricted to a sequential structure. Single-path sampling and straight through estimate of the weight gradients introduce large variance to the optimization process and prohibit the search for more complex structures under this framework. Within this very simple search space, NAS algorithms can only make trivial decisions like kernel sizes for manually designed modules.
|
| 62 |
+
|
| 63 |
+
Object detection models are different from single-path image classification networks in their way of merging multilevel features and distributing the task to parallel prediction heads. Feature pyramid networks (FPNs) [4, 8, 11, 14, 27], designed to handle this job, plays an important role in modern object detection models. NAS-FPN [4] targets on searching for an FPN alternative based on one-stage framework RetinaNet [12]. Feature pyramid architectures are sampled with a recurrent neural network (RNN) controller. The RNN controller is trained with reinforcement learning (RL). However, the search is very time-consuming even though a proxy task with ResNet-10 backbone is trained to evaluate each architecture.
|
| 64 |
+
|
| 65 |
+
Since all these three kinds of research ([2, 4] and ours) focus on object detection framework, we demonstrate the differences among them that DetNAS [2] aims to search for the designs of better backbones, while NAS-FPN [4] searches the FPN structure, and our search space contains
|
| 66 |
+
|
| 67 |
+
# both FPN and head structure.
|
| 68 |
+
|
| 69 |
+
To speed up reward evaluation of RL-based NAS, the work of [17] proposes to use progressive tasks and other training acceleration methods. By caching the encoder features, they are able to train semantic segmentation decoders with very large batch sizes very efficiently. In the sequel of this paper, we refer to this technique as fast decoder adaptation. However, directly applying this technique to object detection tasks does not enjoy similar speed boost, because they are either not in using a fully-convolutional model [11] or require complicated post processing that are not scalable with the batch size [12].
|
| 70 |
+
|
| 71 |
+
To reduce the post processing overhead, we resort to a recently introduced anchor-free one-stage framework, namely, FCOS [24], which significantly improve the search efficiency by cancelling the processing time of anchor-box matching in RetinaNet.
|
| 72 |
+
|
| 73 |
+
Compared to its anchor-based counterpart, FCOS significantly reduces the training memory footprint while being able to improve the performance.
|
| 74 |
+
|
| 75 |
+
# 3. Our Approach
|
| 76 |
+
|
| 77 |
+
In our work, we search for anchor-free fully convolutional detection models with fast decoder adaptation. Thus, NAS methods can be easily applied.
|
| 78 |
+
|
| 79 |
+
# 3.1. Problem Formulation
|
| 80 |
+
|
| 81 |
+
We base our search algorithm upon a one-stage framework FCOS due to its simplicity. Our training tuples $\{(\mathbf{x},Y)\}$ consist of input image tensors $\mathbf{x}$ of size $(3\times H\times W)$ and FCOS output targets $Y$ in a pyramid representation, which is a list of tensors $\mathbf{y}_l$ each of size $((K + 4 + 1)\times H_l\times W_l)$ where $H_{l}\times W_{l}$ is feature map size on level $p$ of the pyramid. $(K + 4 + 1)$ is the output channels of FCOS, the three terms are length- $K$ one-hot classification labels, 4 bounding box regression targets and 1 centerness factor respectively.
|
| 82 |
+
|
| 83 |
+
The network $g: \mathbf{x} \rightarrow \hat{Y}$ in original FCOS consists of three parts, a backbone $b$ , FPN $f$ and multi-level subnets we call prediction heads $h$ in this paper. First backbone $b: \mathbf{x} \rightarrow C$ maps the input tensor to a set of intermediate-leveled features $C = \{\mathbf{c}_3, \mathbf{c}_4, \mathbf{c}_5\}$ , with resolution $(H_i \times W_i) = (H/2^i \times W/2^i)$ . Then FPN $f: C \rightarrow P$ maps the features to a feature pyramid $P = \{\mathbf{p}_3, \mathbf{p}_4, \mathbf{p}_5, \mathbf{p}_6, \mathbf{p}_7\}$ . Then the prediction head $h: \mathbf{p} \rightarrow \mathbf{y}$ is applied to each level of $P$ and the result is collected to create the final prediction. To avoid overfitting, same $h$ is often applied to all instances in $P$ .
|
| 84 |
+
|
| 85 |
+
Since objects of different scales require different effective receptive fields, the mechanism to select and merge intermediate-leveled features $C$ is particularly important in object detection network design. Thus, most researches [16,
|
| 86 |
+
|
| 87 |
+
[20] are carried out on designing $f$ and $h$ while using widely-adopted backbone structures such as ResNet [7]. Following this principle, our search goal is to decide when to choose which features from $C$ and how to merge them.
|
| 88 |
+
|
| 89 |
+
To improve the efficiency, we reuse the parameters in $b$ pretrained on target dataset and search for the optimal structures after that. For the convenience of the following statement, we call the network components to search for, namely $f$ and $h$ , together the decoder structure for the objection detection network.
|
| 90 |
+
|
| 91 |
+
$f$ and $h$ take care of different parts of the detection job. $f$ extracts features targeting different object scales in the pyramid representations $P$ , while $h$ is a unified mapping applied to each feature in $P$ to avoid overfitting. In practice, people seldom discuss the possibility of using a more diversified $f$ to extract features at different levels or how many layers in $h$ need to be shared across the levels. In this work, we use NAS as an automatic method to test these possibilities.
|
| 92 |
+
|
| 93 |
+
# 3.2. Search Space
|
| 94 |
+
|
| 95 |
+
Considering the different functions of $f$ and $h$ , we apply two search space respectively. Given the particularity of FPN structure, a basic block with new overall connection and $f$ 's output design is built for it. For simplicity, sequential space is applied for $h$ part.
|
| 96 |
+
|
| 97 |
+
We replace the cell structure with atomic operations to provide even more flexibility. To construct one basic block, we first choose two layers $\mathbf{x}_1$ , $\mathbf{x}_2$ from the sampling pool $X$ at $\mathrm{id}1$ , $\mathrm{id}2$ , then two operations $\mathrm{op}1$ , $\mathrm{op}2$ are applied to each of them and an aggregation operation $\mathrm{agg}$ merges the two output into one feature. To build a deep decoder structure, we apply multiple basic blocks with their outputs added to the sampling pool. Our basic block $bb_{t}: X_{t-1} \to X_{t}$ at time step $t$ transforms the sampling pool $X_{t-1}$ to $X_{t} = X_{t-1} \cup \{\mathbf{x}_{t}\}$ , where $\mathbf{x}_{t}$ is the output of $bb_{t}$ .
|
| 98 |
+
|
| 99 |
+
The candidate operations are listed in Table 1. We include only separable/depth-wise convolutions so that the decoder can be efficient. In order to enable the decoder to apply convolutional filters on irregular grids, here we have also included deformable $3 \times 3$ convolutions [31]. For the aggregation operations, we include element-wise sum and concatenation followed by a $1 \times 1$ convolution.
|
| 100 |
+
|
| 101 |
+
The decoder configuration can be represented by a se
|
| 102 |
+
|
| 103 |
+
<table><tr><td>ID</td><td>Description</td></tr><tr><td>0</td><td>separable conv 3 × 3</td></tr><tr><td>1</td><td>separable conv 3 × 3 with dilation rate 3</td></tr><tr><td>2</td><td>separable conv 5 × 5 with dilation rate 6</td></tr><tr><td>3</td><td>skip-connection</td></tr><tr><td>4</td><td>deformable 3 × 3 convolution</td></tr></table>
|
| 104 |
+
|
| 105 |
+
Table 1.Unary operations used in the search process.
|
| 106 |
+
|
| 107 |
+
quence with three components, FPN configuration, head configuration and weight sharing stages. We provide detailed descriptions to each of them in the following sections. The complete diagram of our decoder structure is shown in Fig. 1.
|
| 108 |
+
|
| 109 |
+
# 3.2.1 FPN Search Space
|
| 110 |
+
|
| 111 |
+
As mentioned above, the FPN $f$ maps the convolutional features $C$ to $P$ . First, we initialize the sampling pool as $X_0 = C$ . Our FPN is defined by applying the basic block 7 times to the sampling pool, $f := bb_1^f \circ bb_2^f \circ \dots \circ bb_7^f$ . To yield pyramid features $P$ , we collect the last three basic block outputs $\{\mathbf{x}_5, \mathbf{x}_6, \mathbf{x}_7\}$ as $\{\mathbf{p}_3, \mathbf{p}_4, \mathbf{p}_5\}$ .
|
| 112 |
+
|
| 113 |
+
To allow shared information across all layers, we use a simple rule to create global features. If there is some dangling layer $\mathbf{x}_t$ which is not sampled by later blocks $\{bb_i^T | i > t\}$ nor belongs to the last three layers $t < 5$ , we use element-wise add to merge it to all output features
|
| 114 |
+
|
| 115 |
+
$$
|
| 116 |
+
\mathbf {p} _ {i} ^ {*} = \mathbf {p} _ {i} + \mathbf {x} _ {t}, i \in \{3, 4, 5 \}. \tag {1}
|
| 117 |
+
$$
|
| 118 |
+
|
| 119 |
+
Same as the aggregation operations, if the features have different resolution, the smaller one is upsampled with bilinear interpolation.
|
| 120 |
+
|
| 121 |
+
To be consistent with FCOS, $\mathbf{p}_6$ and $\mathbf{p}_7$ are obtained via a $3\times 3$ stride-2 convolution on $\mathbf{p}_5$ and $\mathbf{p}_6$ respectively.
|
| 122 |
+
|
| 123 |
+
# 3.2.2 Prediction Head Search Space
|
| 124 |
+
|
| 125 |
+
Prediction head $h$ maps each feature in the pyramid $P$ to the output of corresponding $y$ , which in FCOS and RetinaNet, consists of four $3 \times 3$ convolutions. To explore the potential of the head, we therefore extend a sequential search space for its generation. Specifically, our head is defined as a sequence of six basic operations. Compared with candidate operations in the FPN structures, the head search space has two slight differences. First, we add standard convolution modules (including conv1x1 and conv3x3) to the head sampling pool for better comparison. Second, we follow the design of FCOS by replacing all the Batch Normalization (BN) layers to Group Normalization (GN) [25] in the operations sampling pool of head, considering that head needs to share weights between different levels, which causes BN invalid. The final output of head is the output of the last (sixth) layer.
|
| 126 |
+
|
| 127 |
+
# 3.2.3 Searching for Head Weight Sharing
|
| 128 |
+
|
| 129 |
+
To add even more flexibility and understand the effect of weight sharing in prediction heads, we further add an index $i$ as the location where the prediction head starts to share weights. For every layer before stage $i$ , the head $h$ will create independent set of weights for each FPN output level, otherwise, it will use the global weights for sharing purpose.
|
| 130 |
+
|
| 131 |
+
Considering the independent part of the heads being extended FPN branch and the shared part as head with adaptive-length, we can further balance the workload for each individual FPN branch to extract level-specific features and the prediction head shared across all levels.
|
| 132 |
+
|
| 133 |
+
# 3.3. Search Strategy
|
| 134 |
+
|
| 135 |
+
RL based strategy is applied to the search process. We rely on an LSTM-based controller to predict the full configuration. We consider using a progressive search strategy rather than the joint search for both FPN structure and prediction head part, since the former requires less computing resources and time cost than the latter. The training dataset is randomly split into a meta-train $D_{t}$ and meta-val $D_{v}$ subset. To speed up the training, we fix the backbone network and cache the pre-computed backbone output $C$ . This makes our single architecture training cost independent from the depth of backbone network. Taking this advantage, we can apply much more complex backbone structures and utilize high quality multilevel features as our decoder's input. We find that the process of backbone finetuning can be skipped if the cached features are powerful enough. Speedup techniques such as Polyak weight averaging are also applied during the training.
|
| 136 |
+
|
| 137 |
+
The most widely used detection metric is average precision (AP). However, due to the difficulty of object detection task, at the early stages, AP is too low to tell the good architectures from the bad ones, which makes the controller take much more time to converge. To make the architecture evaluation process easier even at the early stages of the training, we therefore use negative loss sum as the reward instead of average precision:
|
| 138 |
+
|
| 139 |
+
$$
|
| 140 |
+
\begin{array}{l} R (a) = - \sum_ {(x, Y) \in D _ {v}} \left(L _ {c l s} (x, Y | a) \right. \tag {2} \\ + L _ {r e g} (x, Y | a) + L _ {c t r} (x, Y | a)) \\ \end{array}
|
| 141 |
+
$$
|
| 142 |
+
|
| 143 |
+
where $L_{cls}$ , $L_{reg}$ , $L_{ctr}$ are the three loss terms in FCOS. Gradient of the controller is estimated via proximal policy optimization (PPO) [22].
|
| 144 |
+
|
| 145 |
+
# 4. Experiments
|
| 146 |
+
|
| 147 |
+
# 4.1. Implementation Details
|
| 148 |
+
|
| 149 |
+
# 4.1.1 Searching Phase
|
| 150 |
+
|
| 151 |
+
We design a fast proxy task for evaluating the decoder architectures sampled in the searching phase. PASCAL VOC is selected as the proxy dataset, which contains 5715 training images with object bounding box annotations of 20 classes. Transfer capacity of the structures can be illustrated since the search and full training phase use different datasets. The VOC training set is randomly split into a meta-train
|
| 152 |
+
|
| 153 |
+

|
| 154 |
+
Figure 1. A conceptual example of our NAS-FCOS decoder. It consists of two sub networks, an FPN $f$ and a set of prediction heads $h$ which have shared structures. One notable difference with other FPN-based one-stage detectors is that our heads have partially shared weights. Only the last several layers of the predictions heads (marked as yellow) are tied by their weights. The number of layers to share is decided automatically by the search algorithm. Note that both FPN and head are in our actual search space; and have more layers than shown in this figure. Here the figure is for illustration only.
|
| 155 |
+
|
| 156 |
+
set with 4,000 images and a meta-val set with 1715 images. For each sampled architecture, we train it on metatron and compute the reward (2) on meta-val. Input images are resized to short size 384 and then randomly cropped to $384 \times 384$ . Target object sizes of interest are scaled correspondingly. We use Adam optimizer with learning rate $8e-4$ and batch size 200. Polyak averaging is applied with the decay rates of 0.9. The decoder is evaluated after 300 iterations. As we use fast decoder adaptation, the backbone features are fixed and cached during the search phase. To enhance the cached backbone features, we first initialize them with pre-trained weights provided by open-source implementation of FCOS and then finetune on VOC using the training strategies of FCOS. Note that the above finetuning process is only performed once at the beginning of the search phase.
|
| 157 |
+
|
| 158 |
+
A progressive strategy is used for the search of $f$ and $h$ . We first search for the FPN part and retain the original head. All operations in the FPN structure have 64 output channels. The decoder inputs $C$ are resized to fit output channel width of FPN via $1 \times 1$ convolutions. After this step, a searched FPN structure is fixed and the second stage searching for the head will be started based on it. Most parameters for searching head are identical to those for searching FPN structure, with the exception that the output channel width is adjusted from 64 to 128 to deliver more information.
|
| 159 |
+
|
| 160 |
+
For the FPN search part, the controller model nearly converged after searching over 2.8K architectures on the proxy task as shown in Fig. 2. Then, the top-20 best performing architectures on the proxy task are selected for the next full training phase. For the head search part, we choose the best searched FPN among the top-20 architectures and pre-drop its features. It takes about 600 rounds for the controller to
|
| 161 |
+
|
| 162 |
+

|
| 163 |
+
Figure 2. Performance of reward during the proxy task, which has been growing throughout the process, indicating that the model of reinforcement learning works.
|
| 164 |
+
|
| 165 |
+
nearly converge, which is much faster than that for searching FPN architectures. After that, we select for full training the top-10 heads that achieve best performance on the proxy task. In total, the whole search phase can be finished within 4 days using 8 V100 GPUs.
|
| 166 |
+
|
| 167 |
+
# 4.1.2 Full Training Phase
|
| 168 |
+
|
| 169 |
+
In this phase, we fully train the searched models on the MS COCO training dataset, and select the best one by evaluating them on MS COCO validation images. Note that our training configurations are exactly the same as those in FCOS for fair comparison. Input images are resized to short size 800 and the maximum long side is set to be 1333. The models are trained using 4 V100 GPUs with batch size 16 for 90K iterations. The initial learning rate is 0.01 and reduces to one tenth at the 60K-th and 80K-th iterations. The improving tricks are applied only on the final model (w/improv).
|
| 170 |
+
|
| 171 |
+
<table><tr><td>Decoder</td><td>Backbone</td><td>FLOPs (G)</td><td>Params (M)</td><td>AP</td></tr><tr><td>FPN-RetinaNet @256</td><td>MobileNetV2</td><td>133.4</td><td>11.3</td><td>30.8</td></tr><tr><td>FPN-FCOS @256</td><td>MobileNetV2</td><td>105.4</td><td>9.8</td><td>31.2</td></tr><tr><td>NAS-FCOS (ours) @128</td><td>MobileNetV2</td><td>39.3</td><td>5.9</td><td>32.0</td></tr><tr><td>NAS-FCOS (ours) @128-256</td><td>MobileNetV2</td><td>95.6</td><td>9.9</td><td>33.8</td></tr><tr><td>NAS-FCOS (ours) @256</td><td>MobileNetV2</td><td>121.8</td><td>16.1</td><td>34.7</td></tr><tr><td>FPN-RetinaNet @256</td><td>R-50</td><td>198.0</td><td>33.6</td><td>36.1</td></tr><tr><td>FPN-FCOS @256</td><td>R-50</td><td>169.9</td><td>32.0</td><td>37.4</td></tr><tr><td>NAS-FCOS (ours) @128</td><td>R-50</td><td>104.0</td><td>27.8</td><td>37.9</td></tr><tr><td>NAS-FCOS (ours) @128-256</td><td>R-50</td><td>160.4</td><td>31.8</td><td>39.1</td></tr><tr><td>NAS-FCOS (ours) @256</td><td>R-50</td><td>189.6</td><td>38.4</td><td>39.8</td></tr><tr><td>FPN-RetinaNet @256</td><td>R-101</td><td>262.4</td><td>52.5</td><td>37.8</td></tr><tr><td>FPN-FCOS @256</td><td>R-101</td><td>234.3</td><td>50.9</td><td>41.5</td></tr><tr><td>NAS-FCOS (ours) @256</td><td>R-101</td><td>254.0</td><td>57.3</td><td>43.0</td></tr><tr><td>FPN-FCOS @256</td><td>X-64x4d-101</td><td>371.2</td><td>89.6</td><td>43.2</td></tr><tr><td>NAS-FCOS (ours) @128-256</td><td>X-64x4d-101</td><td>361.6</td><td>89.4</td><td>44.5</td></tr><tr><td>FPN-FCOS @256 w/improvements</td><td>X-64x4d-101</td><td>371.2</td><td>89.6</td><td>44.7</td></tr><tr><td>NAS-FCOS (ours) @128-256 w/improvements</td><td>X-64x4d-101</td><td>361.6</td><td>89.4</td><td>46.1</td></tr></table>
|
| 172 |
+
|
| 173 |
+
Table 2. Results on test-dev set of MS COCO after full training. R-50 and R-101 represents ResNet backbones and X-64x4d-101 represents ResNeXt-101 (64 × 4d). All networks share the same input image resolution. FLOPs and parameters are being measured on 1088 × 800, which is the median of the input size on COCO. For RetinaNet and FCOS, we use official models provided by the authors. For our NASFCOS, @128 and @256 means that the decoder channel width is 128 and 256 respectively. @128-256 is the decoder with 128 FPN width and 256 head width. The same improving tricks used on the newest FCOS version are used in our model for fair comparison.
|
| 174 |
+
|
| 175 |
+

|
| 176 |
+
Figure 3. Our discovered FPN structure. $C_2$ is omitted from this figure since it is not chosen by this particular structure during the search process.
|
| 177 |
+
|
| 178 |
+
# 4.2. Search Results
|
| 179 |
+
|
| 180 |
+
The best FPN structure is illustrated in Fig. 3. The controller identifies that deformable convolution and concatenation are the best performing operations for unary and aggregation respectively. From Fig. 4, we can see that the controller chooses to use 4 operations (with two skip connections), rather than the maximum allowed 6 operations. Note that the discovered "dconv + 1x1 conv" structure achieves a good trade-off between accuracy and FLOPs. Compared with the original head, our searched head has
|
| 181 |
+
|
| 182 |
+

|
| 183 |
+
Figure 4. Our discovered Head structure.
|
| 184 |
+
|
| 185 |
+
fewer FLOPs/Params (FLOPs 79.24G vs. 89.16G, Params 3.41M vs. 4.92M) and significantly better performance (AP 38.7 vs. 37.4).
|
| 186 |
+
|
| 187 |
+
We use the searched decoder together with either lightweight backbones such as MobileNet-V2 [21] or more powerful backbones such as ResNet-101 [7] and ResNeXt-101 [26]. To balance the performance and efficiency, we implement three decoders with different computation budgets: one with feature dimension of 128 (@128), one with 256 (@256) and another with FPN channel width 128 and prediction head 256 (@128-256). The results on the COCO test-dev with short side being 800 is shown in Table 2. The searched decoder with feature dimension of 256 (@256) surpasses its FCOS counterpart by 1.5 to 3.5 points in AP under different backbones. The one with 128 channels (@128) has significantly reduced parameters and calculation, making it more suitable for resource-constrained environments. In particular, our searched model with 128 channels and MobileNetV2 backbone suparsses the original FCOS with the same backbone by 0.8 AP points with only 1/3 FLOPS. The third type of decoder (@128-256) achieves a good balance between accuracy and parameters. Note that our searched model outperforms the strongest FCOS variant by 1.4 AP points (46.1 vs. 44.7) with slightly smaller FLOPs and Params. The comparison of FLOPs and
|
| 188 |
+
|
| 189 |
+

|
| 190 |
+
Figure 5. Trend graph of head weight sharing during search. The coordinates in the horizontal axis represent the number of the statistical period. A period consists of 50 head structures. The vertical axis represents the proportion of heads that fully share weights in 50 structures.
|
| 191 |
+
|
| 192 |
+

|
| 193 |
+
Figure 6. Correlation between the search reward obtained on the VOC meta-val dataset and the AP evaluated on COCO-val.
|
| 194 |
+
|
| 195 |
+
number of parameters with other models are illustrated in Fig. 7 and Fig. 8 respectively.
|
| 196 |
+
|
| 197 |
+
In order to understand the importance of weight sharing in head, we add the number of layers shared by weights as an object of the search. Fig. 5 shows a trend graph of head weight sharing during search. We set 50 structures as a statistical cycle. As the search deepens, the proportion of fully shared structures increases, indicating that on the multi-scale detection model, head weight sharing is a necessity.
|
| 198 |
+
|
| 199 |
+
We also demonstrate the comparison with other NAS methods for object detection in Table 3. Our method is able to search for twice more architectures than DetNAS [2] per GPU-day. Note that the AP of NAS-FPN [4] is achieved by stacking the searched FPN 7 times, while we do not stack our searched FPN. Our model with ResNeXt-101 (64x4d) as backbone outperforms NAS-FPN by 1.3 AP points while using only 1/3 FLOPs and less calculation cost.
|
| 200 |
+
|
| 201 |
+

|
| 202 |
+
Figure 7. Diagram of the relationship between FLOPs and AP with different backbones. Points of different shapes represent different backbones. NAS-FCOS@128 has a slight increase in precision which also gains the advantage of computation quantity. One with 256 channels obtains the highest precision with more computation complexity. Using FPN channel width 128 and prediction head 256 (@128-256) offers a trade-off.
|
| 203 |
+
|
| 204 |
+

|
| 205 |
+
Figure 8. Diagram of the relationship between parameters and AP with different backbones. Adjusting the number of channels in the FPN structure and head helps to achieve a balance between accuracy and parameters.
|
| 206 |
+
|
| 207 |
+
We further measure the correlation between rewards obtained during the search process with the proxy dataset and APs attained by same architectures trained on COCO. Specifically, we randomly sample 15 architectures from all the searched structures trained on COCO with batch size 16. Since full training on COCO is time-consuming, we reduce the iterations to $60\mathrm{K}$ . The model is then evaluated on the COCO 2017 validation set. As visible in Fig. 6, there is a strong correlation between search rewards and APs obtained from COCO. Poor- and well-performing architectures can be distinguished by the rewards on the proxy task very well.
|
| 208 |
+
|
| 209 |
+
# 4.3. Ablation Study
|
| 210 |
+
|
| 211 |
+
# 4.3.1 Design of Reinforcement Learning Reward
|
| 212 |
+
|
| 213 |
+
As we discussed above, it is common to use widely accepted indicators as rewards for specific tasks in the search,
|
| 214 |
+
|
| 215 |
+
<table><tr><td>Arch</td><td>FLOPs (G)</td><td>Search Cost (GPU-day)</td><td>Searched Archs</td><td>AP</td></tr><tr><td>NAS-FPN @256 R-50</td><td>>325.0</td><td>333×#TPUs</td><td>17000</td><td><38.0</td></tr><tr><td>NAS-FPN 7@256 R-50</td><td>1125.5</td><td>333×#TPUs</td><td>17000</td><td>44.8</td></tr><tr><td>DetNAS-FPN-Faster</td><td>-</td><td>44</td><td>2200</td><td>40.2</td></tr><tr><td>DetNAS-RetinaNet</td><td>-</td><td>44</td><td>2200</td><td>33.3</td></tr><tr><td>NAS-FCOS (ours) @256 R-50</td><td>189.6</td><td>28</td><td>3000</td><td>39.8</td></tr><tr><td>NAS-FCOS (ours) @128-256 X-64x4d-101</td><td>361.6</td><td>28</td><td>3000</td><td>46.1</td></tr></table>
|
| 216 |
+
|
| 217 |
+

|
| 218 |
+
Figure 9. Comparison of two different RL reward designs. The vertical axis represents AP obtained from the proxy task on the validation dataset.
|
| 219 |
+
|
| 220 |
+
Table 3. Comparison with other NAS methods. For NAS-FPN, the input size is $1280 \times 1280$ and the search cost should be timed by their number of TPUs used to train each architecture. Note that the FLOPs and AP of NAS-FPN @256 here are from Figure 11 in NAS-FPN [4], and NAS-FPN 7@256 stacks the searched FPN structure 7 times. The input images are resized such that their shorter size is 800 pixels in DetNASNet [2] and our models.
|
| 221 |
+
|
| 222 |
+
<table><tr><td>Decoder</td><td>Search Space</td><td>AP</td></tr><tr><td>FPN-FCOS @256</td><td>-</td><td>37.4</td></tr><tr><td>NAS-FCOS @256</td><td>h only</td><td>38.7</td></tr><tr><td>NAS-FCOS @256</td><td>f only</td><td>38.9</td></tr><tr><td>NAS-FCOS @256</td><td>f + h</td><td>39.8</td></tr></table>
|
| 223 |
+
|
| 224 |
+
Table 4. Comparisons between APs obtained under different search space with ResNet-50 backbone.
|
| 225 |
+
|
| 226 |
+
such as mIOU for segmentation and AP for object detection. However, we found that using AP as reward did not show a clear upward trend in short-term search rounds (blue curve in Fig. 9). We further analyze the possible reason to be that the controller tries to learn a mapping from the decoder to the reward while the calculation of AP itself is complicated, which makes it difficult to learn this mapping within a limited number of iterations. In comparison, we clearly see the increase of AP with the validation loss as RL rewards (red curve in Fig. 9).
|
| 227 |
+
|
| 228 |
+
# 4.3.2 Effectiveness of Search Space
|
| 229 |
+
|
| 230 |
+
To further discuss the impact of the search spaces $f$ and $h$ , we design three experiments for verification. One is to search $f$ with the original head being fixed, one is to search
|
| 231 |
+
|
| 232 |
+
$h$ with the original FPN being fixed and another is to search the entire decoder $(f + h)$ . As shown in Table 4, it turns out that searching $f$ brings slightly more benefits than searching $h$ only. And our progressive search which combines both $f$ and $h$ achieves a better result.
|
| 233 |
+
|
| 234 |
+
# 4.3.3 Impact of Deformable Convolution
|
| 235 |
+
|
| 236 |
+
As aforementioned, deformable convolutions are included in the set of candidate operations for both $f$ and $h$ , which are able to adapt to the geometric variations of objects. For fair comparison, we also replace the whole standard $3 \times 3$ convolutions with deformable $3 \times 3$ convolutions in FPN structure of the original FCOS and repeat them twice, making the FLOPs and parameters nearly equal to our searched model. The new model is therefore called DeformFPN-FCOS. It turns out that our NAS-FCOS model still achieves better performance (AP = 38.9 with FPN search only, and AP = 39.8 with both FPN and Head searched) than the DeformFPN-FCOS model (AP = 38.4) under this circumstance.
|
| 237 |
+
|
| 238 |
+
# 5. Conclusion
|
| 239 |
+
|
| 240 |
+
In this paper, we have proposed to use Neural Architecture Search to further optimize the process of designing object detection networks. It is shown in this work that top-performing detectors can be efficiently searched using carefully designed proxy tasks, search strategies and model evaluation metrics. The experiments on COCO demonstrate the efficiency of our discovered model NAS-FCOS and its flexibility to be used with various backbone architectures.
|
| 241 |
+
|
| 242 |
+
# Acknowledgements
|
| 243 |
+
|
| 244 |
+
NW, YG, PW's participation in this work were in part supported by the National Natural Science Foundation of China (No.61876152, No.U19B2037). CS' participation was in part supported by ARC DP project "Deep Learning that Scales".
|
| 245 |
+
|
| 246 |
+
# References
|
| 247 |
+
|
| 248 |
+
[1] Han Cai, Ligeng Zhu, and Song Han. Proxylessnas: Direct neural architecture search on target task and hardware. In Proc. Int. Conf. Learn. Representations, 2019.
|
| 249 |
+
[2] Yukang Chen, Tong Yang, Xiangyu Zhang, Gaofeng Meng, Chunhong Pan, and Jian Sun. DetNAS: Neural architecture search on object detection. In Proc. Advances in Neural Inf. Process. Syst., 2019.
|
| 250 |
+
[3] Thomas Elsken, Jan Hendrik Metzen, and Frank Hutter. Neural architecture search: A survey. In J. Mach. Learn. Res., 2019.
|
| 251 |
+
[4] Golnaz Ghiasi, Tsung-Yi Lin, Ruoming Pang, and Quoc V. Le. NAS-FPN: Learning scalable feature pyramid architecture for object detection. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., 2019.
|
| 252 |
+
[5] Zichao Guo, Xiangyu Zhang, Haoyuan Mu, Wen Heng, Zechun Liu, Yichen Wei, and Jian Sun. Single path one-shot neural architecture search with uniform sampling. In arXiv preprint arXiv:1904.00420, 2019.
|
| 253 |
+
[6] Kaiming He, Georgia Gkioxari, Piotr Dólar, and Ross Girshick. Mask r-cnn. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., pages 2961-2969, 2017.
|
| 254 |
+
[7] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Identity mappings in deep residual networks. In Proc. Eur. Conf. Comp. Vis., pages 630-645, 2016.
|
| 255 |
+
[8] Alexander Kirillov, Ross Girshick, Kaiming He, and Piotr Dollr. Panoptic feature pyramid networks. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., 2019.
|
| 256 |
+
[9] Tao Kong, Fuchun Sun, Huaping Liu, Yuning Jiang, and Jianbo Shi. Foveabox: Beyond anchor-based object detector. In arXiv preprint arXiv:1904.03797, 2019.
|
| 257 |
+
[10] Hei Law and Jia Deng. Cornernet: Detecting objects as paired keypoints. In Proc. Eur. Conf. Comp. Vis., pages 734-750, 2018.
|
| 258 |
+
[11] Tsung-Yi Lin, Piotr Dollar, Ross Girshick, Kaiming He, Bharath Hariharan, and Serge Belongie. Feature pyramid networks for object detection. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., pages 2117-2125, 2017.
|
| 259 |
+
[12] Tsung-Yi Lin, Priya Goyal, Ross Girshick, Kaiming He, and Piotr Dólár. Focal loss for dense object detection. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., pages 2980-2988, 2017.
|
| 260 |
+
[13] Chenxi Liu, Liang-Chieh Chen, Florian Schroff, Hartwig Adam, Wei Hua, Alan Yuille, and Li Fei-Fei. Auto-deeplab: Hierarchical neural architecture search for semantic image segmentation. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., 2019.
|
| 261 |
+
[14] Huanyu Liu, Chao Peng, Changqian Yu, Jingbo Wang, Xu Liu, Gang Yu, and Wei Jiang. An end-to-end network for panoptic segmentation. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., 2019.
|
| 262 |
+
[15] Hanxiao Liu, Karen Simonyan, and Yiming Yang. Darts: Differentiable architecture search. In Proc. Int. Conf. Learn. Representations, 2019.
|
| 263 |
+
[16] Wei Liu, Dragomir Anguelov, Dumitru Erhan, Christian Szegedy, Scott Reed, Cheng-Yang Fu, and Alexander Berg.
|
| 264 |
+
|
| 265 |
+
SSD: Single shot multibox detector. In Proc. Eur. Conf. Comp. Vis., pages 21-37, 2016.
|
| 266 |
+
[17] Vladimir Nekrasov, Hao Chen, Chunhua Shen, and Ian Reid. Fast neural architecture search of compact semantic segmentation models via auxiliary cells. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., 2019.
|
| 267 |
+
[18] Hieu Pham, Melody Y. Guan, Barret Zoph, Quoc V. Le, and Jeff Dean. Efficient neural architecture search via parameter sharing. In Proc. Int. Conf. Mach. Learn., 2018.
|
| 268 |
+
[19] Joseph Redmon and Ali Farhadi. Yolov3: An incremental improvement. In arXiv preprint arXiv:1804.02767, 2018.
|
| 269 |
+
[20] Shaoqing Ren, Kaiming He, Ross Girshick, and Jian Sun. Faster R-CNN: Towards real-time object detection with region proposal networks. In Proc. Advances in Neural Inf. Process. Syst., pages 91-99, 2015.
|
| 270 |
+
[21] Mark Sandler, Andrew Howard, Menglong Zhu, Andrey Zh-moginov, and Liang-Chieh Chen. Mobilenetv2: Inverted residuals and linear bottlenecks. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., pages 4510-4520, 2018.
|
| 271 |
+
[22] John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. In arXiv preprint arXiv:1707.06347, 2017.
|
| 272 |
+
[23] Dimitrios Stamoulis, Ruizhou Ding, Di Wang, Dimitrios Lymberopoulos, Bodhi Priyantha, Jie Liu, and Diana Marculescu. Single-path NAS: Designing hardware-efficient convnets in less than 4 hours. In arXiv preprint arXiv:1904.02877, 2019.
|
| 273 |
+
[24] Zhi Tian, Chunhua Shen, Hao Chen, and Tong He. FCOS: Fully convolutional one-stage object detection. In Proc. IEEE Int. Conf. Comp. Vis., 2019.
|
| 274 |
+
[25] Yuxin Wu and Kaiming He. Group normalization. In Proc. Eur. Conf. Comp. Vis., pages 3-19, 2018.
|
| 275 |
+
[26] Saining Xie, Ross Girshick, Piotr Dollr, Zhuowen Tu, and Kaiming He. Aggregated residual transformations for deep neural networks. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., 2017.
|
| 276 |
+
[27] Ting Zhao and Xiangqian Wu. Pyramid feature attention network for saliency detection. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., 2019.
|
| 277 |
+
[28] Hongpeng Zhou, Minghao Yang, Jun Wang, and Wei Pan. BayesNAS: A bayesian approach for neural architecture search. In Proc. Int. Conf. Mach. Learn., 2019.
|
| 278 |
+
[29] Xingyi Zhou, Dequan Wang, and Philipp Krahenbuhl. Objects as points. In arXiv preprint arXiv:1904.07850, 2019.
|
| 279 |
+
[30] Chenchen Zhu, Yihui He, and Marios Savvides. Feature selective anchor-free module for single-shot object detection. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., 2019.
|
| 280 |
+
[31] Xizhou Zhu, Han Hu, Stephen Lin, and Jifeng Dai. Deformable convnets v2: More deformable, better results. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., 2019.
|
| 281 |
+
[32] Barret Zoph and Quoc V. Le. Neural architecture search with reinforcement learning. In Proc. Int. Conf. Learn. Representations, 2017.
|
nasfcosfastneuralarchitecturesearchforobjectdetection/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5af28f388b48e32362fe26a04e1de2404574ff1f3ce22824271637731a0b8728
|
| 3 |
+
size 409556
|
nasfcosfastneuralarchitecturesearchforobjectdetection/layout.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f192e6d10d0b61131373afb921baa4823eab706002b5e20db6f194de8c2a24f2
|
| 3 |
+
size 358362
|
nestedscaleeditingforconditionalimagesynthesis/13c575f9-7a5f-4222-bbd3-d11d279e2ba2_content_list.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5561b45bcbb3d4e85c705ec0b52aa769626fa0c07fe838459061c72717a5e8b8
|
| 3 |
+
size 73539
|
nestedscaleeditingforconditionalimagesynthesis/13c575f9-7a5f-4222-bbd3-d11d279e2ba2_model.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:085bd232838ef4d77581188610d7313b7d548f9cec10f055e04c727aed363a24
|
| 3 |
+
size 93875
|
nestedscaleeditingforconditionalimagesynthesis/13c575f9-7a5f-4222-bbd3-d11d279e2ba2_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b517de88c41814fefe6d06ea937dd6985b58b81dbfb9c695a498580870014740
|
| 3 |
+
size 1026119
|
nestedscaleeditingforconditionalimagesynthesis/full.md
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Nested Scale-Editing for Conditional Image Synthesis
|
| 2 |
+
|
| 3 |
+
Lingzhi Zhang* Jiancong Wang* Yinshuang Xu Jie Min Tarmily Wen James C. Gee Jianbo Shi
|
| 4 |
+
|
| 5 |
+

|
| 6 |
+
University of Pennsylvania
|
| 7 |
+
Figure 1: Our approach enables scale-specific visual editorings in conditional image synthesis. We can choose to surgically manipulate coarse-level structural information or fine-level details in Cat2Dog translation and image outpainting tasks.
|
| 8 |
+
|
| 9 |
+
# Abstract
|
| 10 |
+
|
| 11 |
+
We propose an image synthesis approach that provides stratified navigation in the latent code space. With a tiny amount of partial or very low-resolution image, our approach can consistently out-perform state-of-the-art counterparts in terms of generating the closest sampled image to the ground truth. We achieve this through scale-independent editing while expanding scale-specific diversity. Scale-independence is achieved with a nested scale disentanglement loss. Scale-specific diversity is created by incorporating a progressive diversification constraint. We introduce semantic persistency across the scales by sharing common latent codes. Together they provide better control of the image synthesis process. We evaluate the effectiveness of our proposed approach through various tasks, including image outpainting, image superresolution, and cross-domain image translation.
|
| 12 |
+
|
| 13 |
+
# 1. Introduction
|
| 14 |
+
|
| 15 |
+
Imagine that we want to identify a person based on the appearance of their eyes and nose, or a lower resolution image, as shown in figure 1. One solution may be to outpaint the entire face, conditioned on the partial information available.
|
| 16 |
+
|
| 17 |
+
We want to be as imaginative and as detailed as possible to give us a greater chance of success in finding the right person. These tasks are multimodal in nature, i.e., a single input corresponds to many plausible outputs.
|
| 18 |
+
|
| 19 |
+
Conditional image synthesis approaches aim to solve this problem by sampling stochastic latent codes to generate images in a GAN setting. However, these image synthesis methods of sampling operate as uncontrollable "black boxes". During inference, we can only hope that a sampled random variable generates the ideal image we desire; otherwise, we need to keep sampling.
|
| 20 |
+
|
| 21 |
+
We propose a steerable conditional image synthesis approach. Inspired by the steerable filtering in the wavelet process [48], we wish to 'steer' the image synthesis across the spatial scales consistently. While in steerable filtering we are concerned with angular edge orientation, in our domain, we focus on object semantics. Specifically, we aim to create visual information from a coarse-level structure to fine-level texture. The key objectives are 1) scale-independence: we learn disentangled representations that model scale-specific visual details, and 2) diversity/model covering: we ensure that the decoder covers diverse variations presented on ground truth images.
|
| 22 |
+
|
| 23 |
+
To implement the scale-independent objective, we take inspiration from the Laplacian image pyramid decomposi
|
| 24 |
+
|
| 25 |
+

|
| 26 |
+
|
| 27 |
+

|
| 28 |
+
|
| 29 |
+

|
| 30 |
+
Figure 2: Demonstration of an application scenario in which a user interactively recovers a facial identity by sampling scale-specific visual details using our proposed approach. Image you look at this occluded face, you might have a rough mental picture of someone. We can edit the image at multi-scale to recover the identity.
|
| 31 |
+
|
| 32 |
+

|
| 33 |
+
|
| 34 |
+

|
| 35 |
+
|
| 36 |
+

|
| 37 |
+
|
| 38 |
+

|
| 39 |
+
|
| 40 |
+

|
| 41 |
+
|
| 42 |
+
tion: our algorithm essentially learns to generate progressively more refined image along spatial scales, with each level of refinement independent of each other. To implement the diversity objective, we extend a successful diversity constraint [36] to multi-scale and ensure scale-specific diversity.
|
| 43 |
+
|
| 44 |
+
Unlike current multi-scale noise injection methods [7, 25], our multi-scale injected noises share same latent variable during training. This introduces semantic persistency, meaning the decoder expects latent variables on different scales to have similar semantic meaning. Semantic-persistence can play a major role in search efficiency, since it enables stratified navigation in the latent code space. Fig.2 illustrates the stratified navigation process for face superresolution. We first coarsely sample a widespread set of latent random variables to find an image roughly matching the ground truth. Because of our scale-independent representation, we can efficiently edit the image by adjusting any of the latent variable at a specific scale and edit the image information at the corresponding scale. Therefore we can generate a refined image by adjusting the existing latent variable at next scale and repeat, until final scale is reached. This is the ideal steering behavior we seek.
|
| 45 |
+
|
| 46 |
+
In summary, we highlight our contributions as follows:
|
| 47 |
+
|
| 48 |
+
- We are the first to propose a multi-scale feature disentanglement loss and a progressive diversification regularization to achieve scale-specific control for conditional image synthesis.
|
| 49 |
+
- To the best of our knowledge, our work is the first to utilize diverse conditional image generation for identity recovery. We developed three evaluation metrics for identity recovery in diverse conditional synthesis scenarios.
|
| 50 |
+
- We evaluate our aforementioned development on tasks of image outpainting, image superresolution, and mul
|
| 51 |
+
|
| 52 |
+
timodal image translation. Our methods achieve competitive image quality and diversity compared to state-of-the-art counterparts, while consistently outperforming them in terms of identity recovery.
|
| 53 |
+
|
| 54 |
+
# 2. Related Work
|
| 55 |
+
|
| 56 |
+
# 2.1. Multimodal Conditional Generation
|
| 57 |
+
|
| 58 |
+
Deep generative models have been widely used in many conditional image synthesis tasks, such as super-resolution [9,28,54,60-62], inpainting missing regions [21,35,43,44, 56,58,59,65], style transfer [15,18,22,34,39], image blending [40,49,55,66], and text-to-image [23,32,46]. The majority of these tasks are in nature multimodal, where single input condition may correspond to multiple plausible outputs. BicycleGAN [68] first proposed to model this one-to-many distribution by explicitly encoding the target domain into a compact Gaussian latent distribution from which the generator samples. During inference, the generator maps a random variable drawn from the latent distribution, combined with the given input, to the output. StackedGAN and its variant StackedGAN++ [63, 64] proposed to use a hierarchical generator which incorporates conditional code on multiple scales and were able to generate high quality synthetic images. DRIT [31] and MUNIT [20] proposed to disentangle the features into domain-invariant content codes and domain-specific style codes for unpaired imagedto-image translations. During inference, the sampled style codes combined with the content code can be transformed into many plausible outputs.
|
| 59 |
+
|
| 60 |
+
Although the above approaches can generate multimodal outputs given a conditional input, there is no explicit constraint to prevent the generator from mapping the various sampled random variables to similar outputs, which is known as mode collapse. Two concurrent works aim to al
|
| 61 |
+
|
| 62 |
+
leviate this issue by proposing diversity regularization techniques for generative training. Mode Seeking GAN (MSGAN) [41] proposes to maximize the ratio of two sampled images over the corresponding latent variables. Normalized Diversification (NDiv) [36] proposes to enforce the generator to preserve the normalized pairwise distance between the sparse samples from a latent distribution to the corresponding high-dimensional output space.
|
| 63 |
+
|
| 64 |
+
In addition to image synthesis, other applications with multimodal predictions include but are not limited to predicting uncertain motion flows in the future [14, 51, 57], hallucinating diverse body pose affordance in 2D [52] and 3D [33] scenes.
|
| 65 |
+
|
| 66 |
+
Different from previous work, our focus is to achieve scale-specific control for image synthesis and progressively inject stochasticity into different scales of the synthesized image. Therefore, our proposed techniques can be readily added into these orthogonal previous approaches. We demonstrate that our techniques work with face outpainting, face superresolution, and multimodal animal translation with modified MUNIT [20].
|
| 67 |
+
|
| 68 |
+
# 2.2. Feature Disentanglement
|
| 69 |
+
|
| 70 |
+
Recently there is increasing interest in disentanglement of distinct image characteristics for image synthesis. [26, 29, 53] attempt to decouple image style and content, while [12, 13, 38] target object shape and appearance. These approaches explicitly incorporate two codes that denote the two characteristics, respectively, into the generative model and introduce a guided loss or incorporate the invariance constraint to orthogonalize the two codes, while our method disentangles the scale-specific variations from global structural feature to local texture feature through hierarchical input of latent variables into the generative model.
|
| 71 |
+
|
| 72 |
+
Besides the disentanglement of two specific characteristics, several prior efforts [4, 5, 8, 10, 17] have explored partially or fully interpretable representations of independent factors for generative modeling. Some current work learn representations of the specific attribute by supervised learning [2, 45] with a conditioning discriminator. Our method focuses on multi-scale disentanglement through unsupervised learning, which is distinct from the concept of disentangling specific semantic factors.
|
| 73 |
+
|
| 74 |
+
[24] has first proposed synthesize images from low-resolution scale to higher-resolution scale in a progressive manner. Similarly, other closely related work is [7] and [25]. [7] pioneered the use of the hierarchical generator with latent codes injected at each level for multi-scale control of image synthesis and further advanced in [25]. Both [7] and [25], however, only target unconditional image synthesis and do not explicitly enforce diversity of outputs. Our work extends to conditional synthesis and incorporates explicit diversity constraints.
|
| 75 |
+
|
| 76 |
+
Since the purpose and definition of disentanglement in our method are different from previous work, the existing metrics for evaluating disentanglement [4,11,17,25,27] are not appropriate for measuring feature disentanglement for our method. We therefore develop a new means to quantify the hierarchical disentanglement for our approach.
|
| 77 |
+
|
| 78 |
+
# 3. Methods
|
| 79 |
+
|
| 80 |
+
Multimodal conditional image synthesis combines a given input conditional code with sampled latent codes drawn from a compact latent space (usually a standard normal or uniform distribution) and decodes the combination into an output image. Unlike previous efforts [20, 36, 41, 68], we propose a cascading disentangled decoder inspired by Laplacian image pyramid [1]. With a central multi-scale backbone, it generates output images at every feature spatial scale through a single convolutional layer. We enforce the generated images at every scale to be average-pooled back into a lower-resolution generated image. By doing so, we distill features at each spatial scale to only focus on image details — similar to a Laplacian image — at the corresponding spatial resolution. With these scale-independent features, we can inject random variables into each scale of the image features to model the scale-specific stochasticity of image details.
|
| 81 |
+
|
| 82 |
+
# 3.1. Multiscale Disentanglement
|
| 83 |
+
|
| 84 |
+
To enable scale-specific editing of visual contents, we need a model that has a disentangled latent code representation. This implies that visual content on specific scales can be modified by changing corresponding latent codes, while visual contents on other scales remain unaffected.
|
| 85 |
+
|
| 86 |
+
In a decoder network that receives only a single latent code at the coarsest scale, the single latent code controls image generation at all scales and hence changing the code will affect all scales. This motivates the multi-latent code design: injecting latent codes on all spatial scales and allowing each individual latent code to control the image on corresponding scales. Let $Z_{0}$ denote the random base latent code, and $Z_{1} = A_{1}(Z_{0}), Z_{2} = A_{2}(Z_{0}), Z_{k} = A_{k}(Z_{0})$ , and the latent variable at each scale level $i \in \{1 \dots k\}$ , where $A_{i}$ is an affine mapping matrix. Intuitively, the latent code at coarse scale may mostly affect global structure while latent code at fine scale is more likely to alter local texture at its respective scale. Such behavior can be seen in [7] and [25].
|
| 87 |
+
|
| 88 |
+
However, this design does not guarantee that visual information represented by the latent code at different scales are disentangled. For example, latent code at coarse scale might control texture and color that are also affected by latent code at fine scale. With such a decoder, it is still difficult to edit the scale-specific visual information while keeping information on other scales unchanged.
|
| 89 |
+
|
| 90 |
+

|
| 91 |
+
Figure 3: Our decoder network takes a conditional code and a single random variable as inputs. A single latent variable is injected into multi-scale feature representations through the first several shared layers of MLPs. Then that output is injected into different affine transformation layers with Adaptive Instance Normalization (AdaIN) [19]. At every spatial scale, a single convolutional layer is used to decode a real image at each corresponding resolution. Our proposed disentanglement loss enforces the generated images at every scale to be averaged-pooled back into a lower-resolution generated image. At each iteration, we sample four latent variables and generate four images at each spatial scale, where we also enforce the pairwise distance between sampled images and latent variables to encourage diverse synthesized outputs.
|
| 92 |
+
|
| 93 |
+
Therefore, we propose a simple but effective approach to disentangle features at each layer of the decoder to only control the visual information at the corresponding spatial scale. At each layer in the decoder, we add a single convolution layer to synthesize an image at the corresponding spatial resolution. Then, we enforce that each synthesized image, when downsampled, matches the synthesized image at the previous spatial scale. We call this constraint a multi-scale disentanglement loss $L_{\text{disent}}$ . Specifically, we use average pooling to downsample the synthesized image and pixel-wise Euclidean distance to constraint the down-sampling consistency. Our intuition is that, by doing so, the features at each layer are not allowed to change any visual information at the previous or deeper layers. In this way, we distill each level of features to only edit the visual information at its corresponding spatial scale.
|
| 94 |
+
|
| 95 |
+
Formally, we denote $S$ as the downsampling operation on image $x$ , specifically, average $2 \times 2$ pooling with stride of 2. The loss function of progressive downsampling consistency is defined as follows,
|
| 96 |
+
|
| 97 |
+
$$
|
| 98 |
+
\mathcal {L} _ {\text {d i s e n t}} = \sum_ {i = 1} ^ {n - 1} d \left(S \left(G _ {i + 1} (c, z)\right), G _ {i} (c, z)\right), \tag {1}
|
| 99 |
+
$$
|
| 100 |
+
|
| 101 |
+
where $n$ is the number of resolution scales, $c$ is the conditional code, $z$ is random variable, and $G_{i}$ is the generator, whose subscript refers to the network layers that
|
| 102 |
+
|
| 103 |
+
are responsible for synthesizing images at each scale. For $G_{i}(2 \leq i \leq n)$ , they have iterative format:
|
| 104 |
+
|
| 105 |
+
$$
|
| 106 |
+
G _ {i} (c, z) = U \left[ G _ {i - 1} (c, z), A _ {i} (z) \right] \tag {2}
|
| 107 |
+
$$
|
| 108 |
+
|
| 109 |
+
and,
|
| 110 |
+
|
| 111 |
+
$$
|
| 112 |
+
G _ {1} (c, z) = U [ c, A _ {1} (z) ]. \tag {3}
|
| 113 |
+
$$
|
| 114 |
+
|
| 115 |
+
where $\mathrm{U}$ denotes the Upsampling Module.
|
| 116 |
+
|
| 117 |
+
At each spatial scale, we also applied conditional GAN to synthesize photo-realistic images, where the loss functions are as follows,
|
| 118 |
+
|
| 119 |
+
$$
|
| 120 |
+
\begin{array}{l} \mathcal {L} _ {G A N} = E _ {\mathbf {x} \sim p _ {\mathrm {d a t a}} (\mathbf {x})} \left[ \sum_ {i = 1} ^ {n} \log \left(D _ {i} \left(S ^ {n - i} (\mathbf {x}) | c\right)\right) \right] \tag {4} \\ + E _ {\mathbf {z} \sim p (\mathbf {z})} \left[ \sum_ {i = 1} ^ {n} l o g (1 - D _ {i} (G _ {i} (\mathbf {z}, c))) \right]. \\ \end{array}
|
| 121 |
+
$$
|
| 122 |
+
|
| 123 |
+
The similar multi-scale adversarial loss has been applied in SinGAN [47] as well.
|
| 124 |
+
|
| 125 |
+
# 3.2. Progressive Diversification
|
| 126 |
+
|
| 127 |
+
To avoid mode collapse and increase diversity of the synthesized images, we leverage the normalized diversification [36], which forces the normalized pairwise distance of generative outputs to be at least as large as that of the corresponding latent variables.
|
| 128 |
+
|
| 129 |
+

|
| 130 |
+
Best Identity Recovery
|
| 131 |
+
|
| 132 |
+

|
| 133 |
+
Figure 4: Qualitative comparison for multimodal image outpainting.
|
| 134 |
+
|
| 135 |
+
<table><tr><td rowspan="2">Method</td><td rowspan="2">Quality ↓</td><td rowspan="2">Diversity ↑</td><td colspan="3">Identity</td></tr><tr><td>Shortest Distance ↓</td><td>Recovery Count(%) ↑</td><td>Landmark Alignment ↓</td></tr><tr><td>BicycleGAN</td><td>64.133</td><td>0.093</td><td>0.233</td><td>15.34</td><td>5.914</td></tr><tr><td>MSGAN</td><td>56.998</td><td>0.232</td><td>0.237</td><td>28.93</td><td>4.754</td></tr><tr><td>Ndiv</td><td>68.855</td><td>0.319</td><td>0.256</td><td>20.95</td><td>5.126</td></tr><tr><td>Ours</td><td>55.854</td><td>0.333</td><td>0.228</td><td>34.78</td><td>4.540</td></tr></table>
|
| 136 |
+
|
| 137 |
+
Table 1: Quantitative Comparison with state-of-the-art approaches in multimodal image outpainting task.
|
| 138 |
+
|
| 139 |
+
Here we introduce normalized diversification in a progressive manner, that is, we add normalized diversification loss at each layer of the hierarchical decoder. In comparison, previous work [36,41,42] applied the diversity penalty only at the final scale output of the model, which enforces in a brute force way the final output diversity but does not prevent individual levels of the model from mode collapse (for a 3-layer model where latent code $z$ is injected at each level, previous efforts only enforce that the final output varies by $z$ , but allow individual layers to collapse. For example, the first layer of the model utilizes the $z$ while second and third layer ignore $z$ entirely).
|
| 140 |
+
|
| 141 |
+
Mode collapses at individual levels prevent us from exactly controlling the diversity on a specific level of structure or texture for synthesized data. Thus, we propose progressive diversification, effectively unfolding manifold topology for different scales. In this way, we achieve not only independent multi-scale control during the generative process but also guarantee latent that the code $z$ introduces variation on every scale, likely from structure to texture.
|
| 142 |
+
|
| 143 |
+
The inserted progressive normalized diversification can
|
| 144 |
+
|
| 145 |
+
be formulated as loss function 5.
|
| 146 |
+
|
| 147 |
+
$$
|
| 148 |
+
\mathcal {L} _ {N d i v} = \sum_ {k = 1} ^ {n} \frac {1}{N ^ {2} - N} \sum_ {i = 1} ^ {N} \sum_ {j = 1} ^ {N} \max \left(\alpha D _ {i j} ^ {z} - D _ {i j} ^ {G _ {k} (z, c)}\right), \tag {5}
|
| 149 |
+
$$
|
| 150 |
+
|
| 151 |
+
where $N$ is the number of samples to calculate the normalized pairwise distance matrix and $D_{ij}^{z}$ , $D_{ij}^{G_k(z|y)}$ are defined as elements in normalized pairwise distance matrix $D^{z}, D^{G_{k}(z|y)} \in \mathbb{R}^{N \times N}$ of $z_{i_{i=1}}^{N} \sim p(z)$ :
|
| 152 |
+
|
| 153 |
+
$$
|
| 154 |
+
D _ {i j} ^ {z} = \frac {d \left(z _ {i} - z _ {j}\right)}{\sum_ {j} d \left(z _ {i} - z _ {j}\right)} \tag {6}
|
| 155 |
+
$$
|
| 156 |
+
|
| 157 |
+
$$
|
| 158 |
+
D _ {i j} ^ {G _ {k} (z, c)} = \frac {d (G _ {k} (z , c) _ {i} - G _ {k} (z , c) _ {j})}{\sum_ {j} d (G _ {k} (z , c) _ {i} - G _ {k} (z , c) _ {j})}.
|
| 159 |
+
$$
|
| 160 |
+
|
| 161 |
+
Here, $d$ the latent variable is the Euclidean distance, and for generative outputs is the pixel-wise Euclidean distance.
|
| 162 |
+
|
| 163 |
+
# 4. Experiments
|
| 164 |
+
|
| 165 |
+
The proposed approaches were evaluated through their performance on various tasks, including image outpainting, image superresolution, and dog2cat/cat2dog translation. In
|
| 166 |
+
|
| 167 |
+

|
| 168 |
+
Figure 5: Qualitative comparison for multimodal image superresolution
|
| 169 |
+
|
| 170 |
+

|
| 171 |
+
|
| 172 |
+
<table><tr><td rowspan="2">Method</td><td rowspan="2">Quality ↓</td><td rowspan="2">Diversity ↑</td><td colspan="3">Identity</td></tr><tr><td>Shortest Distance ↓</td><td>Recovery Count(%) ↑</td><td>Landmark Alignment ↓</td></tr><tr><td>BicycleGAN</td><td>40.837</td><td>0.019</td><td>0.129</td><td>26.49</td><td>7.062</td></tr><tr><td>MSGAN</td><td>49.647</td><td>0.0438</td><td>0.131</td><td>29.48</td><td>5.907</td></tr><tr><td>Ndiv</td><td>81.4213</td><td>0.0758</td><td>0.143</td><td>5.60</td><td>5.938</td></tr><tr><td>Ours</td><td>46.346</td><td>0.0677</td><td>0.125</td><td>38.43</td><td>4.261</td></tr></table>
|
| 173 |
+
|
| 174 |
+
Table 2: Quantitative Comparison with state-of-the-art approaches in multimodal image superresolution task.
|
| 175 |
+
|
| 176 |
+
addition to conventional quality and diversity assessment, we propose to evaluate the extent to which diverse sampling can improve identity recovery, especially in the context of facial recognition. We believe that this is a first attempt that aims to apply diverse synthesis for better recognition. Our premise is that given a conditional code containing only partial information of the ground truth image, a decoder capable of generating diverse output can produce at least one or more results that is close to or recovers the ground truth image, as long as sufficient latent code is sampled. This property would be useful in many difficult recognition situations, such as identifying criminals in largely occluded or very low-resolution images. Diverse sampling would provide a set of candidates, which can then be narrowed down further by human reviewers. We describe next three newly proposed evaluation metrics in this work for identity recovery.
|
| 177 |
+
|
| 178 |
+
# 4.1. Evaluation Metrics
|
| 179 |
+
|
| 180 |
+
To perform evaluation of our approach, we use the following metrics.
|
| 181 |
+
|
| 182 |
+
FID. We use FID [16] to evaluate the quality of generated data. This metric applies the Inception Network [50] to ex
|
| 183 |
+
|
| 184 |
+
tract features from real and synthesized data, and then calculates the Frechet distance between the two distributions of collected real and synthesized features, respectively. A lower FID score indicates less discrepancy between real and synthesized data and hence higher quality.
|
| 185 |
+
|
| 186 |
+
LPIPS. We apply LPIPS [67] to quantify the diversity, which calculates the pairwise average feature distance across the whole generated dataset. We use AlexNet [30] pretrained on ImageNet [6] to extract features. Larger values of the pairwise LPIPS score indicate increased image diversity.
|
| 187 |
+
|
| 188 |
+
Identity Recovery. To quantify how well diverse sampling recovers the true facial identity, we propose to evaluate the distance between the most similar sampled output and the ground truth image. First, we compute the shortest embedding distance between a set of sampled outputs and the ground truth, where the embedding distance is given by LPIPS. We average this shortest embedding distance across all training examples, which we denote as Shortest Distance in Table (1) and (2). We also count the chance that each method generates the most similar outputs under evaluation of this embedding distance, and denote this as Recovery Count. We also evaluate the identity recovery of
|
| 189 |
+
|
| 190 |
+

|
| 191 |
+
Figure 6: Qualitative comparison against the state-of-the-art in multi-modal translation for cat/dog identity recovery. The input (left column) indicates a MUNIT content code. Only one channel of the content code is shown for easier.
|
| 192 |
+
|
| 193 |
+

|
| 194 |
+
Best Identity Recovery
|
| 195 |
+
|
| 196 |
+
<table><tr><td rowspan="2">Method</td><td rowspan="2">Quality ↓</td><td rowspan="2">Diversity ↑</td><td colspan="2">Identity</td></tr><tr><td>Shortest Distance ↓</td><td>Recovery Count(%) ↑</td></tr><tr><td>MUNIT [20]</td><td>15.74</td><td>0.533</td><td>0.445</td><td>15.0</td></tr><tr><td>Ours</td><td>21.22</td><td>0.547</td><td>0.393</td><td>85.0</td></tr></table>
|
| 197 |
+
|
| 198 |
+
Table 3: Quantitative comparison with state-of-the-art approaches on the cross-modal image-to-image translation task.
|
| 199 |
+
|
| 200 |
+
face images using facial landmarks, which are obtained using a pretrained facial landmark detector [3]. Specifically, the similarity between a sampled output and the ground truth is given by the mean squared error distance between the corresponding 68 facial landmark locations for the sampled and ground-truth images. We refer to this evaluation as Landmark Alignment.
|
| 201 |
+
|
| 202 |
+
# 4.2. Image Outpainting
|
| 203 |
+
|
| 204 |
+
We first present experimental results in an image outpainting task, where the goal is to fill in large areas of missing pixels in a highly occluded image, which may have many different solutions for a given input. In terms of model implementations, we only need to add our proposed multiscale disentanglement and diversification into a standard conditional encoder-decoder. The experiment is conducted over the CelebA dataset [37] with cropped 128x128 images.
|
| 205 |
+
|
| 206 |
+
We compare our model with the current state-of-the-art multimodal conditional synthesis approaches, including BicycleGAN [68], MSGAN [41], and NDiv [36]. The experimental results show that our model can generate the best results in terms of image quality, diversity as well as identity, as shown in Table.1. In our qualitative comparison figure.4, we show that one of the sampled image could best recover the ground truth facial identity. We think that this is because our model can sample not only very diverse but also realistic images.
|
| 207 |
+
|
| 208 |
+
# 4.3. Image Super-Resolution
|
| 209 |
+
|
| 210 |
+
Another multimodal conditional synthesis we run on face data is super-resolution. While most of other super-resolution approaches model this task as a deterministic image-to-image process, we consider super-resolution from
|
| 211 |
+
|
| 212 |
+
a very low resolution image as a one-to-many process because of its uncertainty in nature. For example, the 16x16 low resolution in Figure.5 can be very difficult to identified. Even for human, it is very difficult to tell what is the ground true high-resolution image is. Or, every human would probably have a different answer. In this task, we use bilinearly downsampled 16x16 image as low-resolution input and 128x128 image as high-resolution output in CelebA dataset [37].
|
| 213 |
+
|
| 214 |
+
Our implementation of superresolution model is similar to image outpainting, but we start to decode image at scale of 16x16, which is the same as input resolution. The disentanglement and diversification is added at every other higher resolution scale. As seen from Table. (2), even though our approach does not reach the best quality or diversity, but it achieves the best identity score. We think that the simply measuring quality or diversity separately is not sufficient. BicycleGAN has the best quality but lack diversity, so it is difficult to "hit" the ground truth image. NDiv has the largest diversity but lacks quality, and thus it is also very difficult to recover the realistic ground truth image. In contrast, our model can produce reasonably large diversity and good quality, and thus has the highest chance to recover the ground truth image. Our implementation of super-resolution model is similar to image outpainting, but we start to decode image at scale of 16x16, which is the same as input resolution. The disentanglement and diversification is added at every other higher resolution scale. As seen from Table. (2), even though our approach does not reach the best quality or diversity, but it achieves the best identity score. We think that the simply measuring quality or diversity separately is not sufficient. BicycleGAN [68] has the best quality but lack diversity, so it is difficult to "hit" the
|
| 215 |
+
|
| 216 |
+

|
| 217 |
+
Figure 7: This figure demonstrates how much the generated image would change by varying noise injection at a specific resolution scale. This is implemented by sampling a reference code, and only varying random variable at one scale at a time and fixing the random variables at the other scales constant.
|
| 218 |
+
|
| 219 |
+

|
| 220 |
+
|
| 221 |
+
ground truth image. NDiv [36] has the largest diversity but lacks quality, and thus it is also very difficult to recover the realistic ground truth image. In contrast, our model can produce reasonably large diversity and good quality, and thus has the highest chance to recover the ground truth image.
|
| 222 |
+
|
| 223 |
+
# 4.4. Dog to Cat Image Translation
|
| 224 |
+
|
| 225 |
+
We conduct an unpaired cross-modal image translation using the MUNIT backbone [20] on the cat and dog dataset from [31]. This dataset contains 1264 training/100 testing dog and 771 training/100 testing cat images. We modify the MUNIT backbone for multi latent codes injection and implemented the disentanglement loss and progressive diversification loss as mentioned in section 3.1 and 3.2. Detailed network architecture before and after modification can be found in the supplemental material. We compare FID and LPIPS of our model against the original MUNIT model trained on the cat and dog dataset and report the performance in Table.3. For identity recovery evaluation, we pass the ground truth image through the content encoder from the MUNIT framework and derive a content code, which is recombined with sampled latent codes and decoded into images. Quantitatively, we evaluate identity recovery using the LPIPS metric from 4.1. Qualitative results of identity recovery is demonstrated in Fig.6.
|
| 226 |
+
|
| 227 |
+
# 4.5. Multi-scale Disentanglement Evaluation
|
| 228 |
+
|
| 229 |
+
To quantify the multiscale disentanglement, we evaluate perceptual variations on output images against different noise varying scales. In specific, for scale $k$ in our $n$ scale decoder, a given fixed input condition code $c$ , we sample a center latent code $z$ . We fixed the input latent codes on every scale to be $z$ except for for scale $k$ , where we sample 10 latent codes centered around $z$ and generate 10 different output images. Pairwise perceptual distances (using LPIPS) among these 10 images are calculated. We calculate the pairwise perceptual distance for scale $k$ across 1000 dif
|
| 230 |
+
|
| 231 |
+
ferent input condition codes and averaged them. We plotted the averaged perceptual distance against the scale on Fig.7. For a general decoder (left) without the disentanglement constraint, the perceptual variation were not monotonically decreasing along the scale. Our scale disentangled decoder (right) on the other hand achieves multiscale disentanglement: latent codes at finer scales monotonically introduce less variation to the image, therefore editing latent code at finer level has little effect on visual information on coarse scale.
|
| 232 |
+
|
| 233 |
+
# 5. Conclusion
|
| 234 |
+
|
| 235 |
+
We develop a conditional image synthesis network that enables scale-specific and diverse control of image content. We instantiate our design with a cascading decoder network. We couple it with multi-scale feature disentanglement constraints and a progressive diversification regularization. In addition, we gain semantic persistency in the decoder by sharing latent code across scales during training. This allows for stratified navigation and search within latent code space, and motivate the task of identity recovery. We propose three evaluation metrics for identity recovery within conditional image synthesis scenarios. On tasks of image outpainting, image superresolution, and multimodel image translation, our method consistently outperforms state-of-the-art counterparts in terms of identity recovery, while having competitive image quality and diversity. Hence we believe our method may potentially be useful in extreme image recognition situations, such as recognizing criminals in largely occluded or very low-resolution images, and finding lost pets from low quality surveillance images.
|
| 236 |
+
|
| 237 |
+
# Acknowledgement
|
| 238 |
+
|
| 239 |
+
We gratefully appreciate the support from Honda Research Institute Curious Minded Machine Program. We also gratefully acknowledge a GPU donation from NVIDIA.
|
| 240 |
+
|
| 241 |
+
# References
|
| 242 |
+
|
| 243 |
+
[1] Edward H Adelson, Charles H Anderson, James R Bergen, Peter J Burt, and Joan M Ogden. Pyramid methods in image processing. RCA engineer, 29(6):33-41, 1984. 4323
|
| 244 |
+
[2] Grigory Antipov, Moez Baccouche, and Jean-Luc Dugelay. Face aging with conditional generative adversarial networks. In 2017 IEEE International Conference on Image Processing (ICIP), pages 2089-2093. IEEE, 2017. 4323
|
| 245 |
+
[3] Adrian Bulat and Georgios Tzimiropoulos. Super-fan: Integrated facial landmark localization and super-resolution of real-world low resolution faces in arbitrary poses with gans. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 109-117, 2018. 4327
|
| 246 |
+
[4] Tian Qi Chen, Xuechen Li, Roger B Grosse, and David K Duvenaud. Isolating sources of disentanglement in variational autoencoders. In Advances in Neural Information Processing Systems, pages 2610-2620, 2018. 4323
|
| 247 |
+
[5] Xi Chen, Yan Duan, Rein Houthooft, John Schulman, Ilya Sutskever, and Pieter Abbeel. Infogan: Interpretable representation learning by information maximizing generative adversarial nets. In Advances in neural information processing systems, pages 2172-2180, 2016. 4323
|
| 248 |
+
[6] J. Deng, W. Dong, R. Socher, L.-J. Li, K. Li, and L. Fei-Fei. ImageNet: A Large-Scale Hierarchical Image Database. In CVPR09, 2009. 4326
|
| 249 |
+
[7] Emily L Denton, Soumith Chintala, Rob Fergus, et al. Deep generative image models using a laplacian pyramid of adversarial networks. In Advances in neural information processing systems, pages 1486-1494, 2015. 4322, 4323
|
| 250 |
+
[8] Jeff Donahue, Philipp Krahenbuhl, and Trevor Darrell. Adversarial feature learning. arXiv preprint arXiv:1605.09782, 2016. 4323
|
| 251 |
+
[9] Chao Dong, Chen Change Loy, Kaiming He, and Xiaou Tang. Image super-resolution using deep convolutional networks. IEEE transactions on pattern analysis and machine intelligence, 38(2):295-307, 2016. 4322
|
| 252 |
+
[10] Vincent Dumoulin, Ishmael Belghazi, Ben Poole, Olivier Mastropietro, Alex Lamb, Martin Arjovsky, and Aaron Courville. Adversarily learned inference. arXiv preprint arXiv:1606.00704, 2016. 4323
|
| 253 |
+
[11] Cian Eastwood and Christopher KI Williams. A framework for the quantitative evaluation of disentangled representations. 2018. 4323
|
| 254 |
+
[12] Patrick Esser, Johannes Haux, and Bjorn Ommer. Unsupervised robust disentangling of latent characteristics for image synthesis. In Proceedings of the IEEE International Conference on Computer Vision, pages 2699-2709, 2019. 4323
|
| 255 |
+
[13] Patrick Esser, Ekaterina Sutter, and Björn Ommer. A variational u-net for conditional appearance and shape generation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 8857-8866, 2018. 4323
|
| 256 |
+
[14] Ruohan Gao, Bo Xiong, and Kristen Grauman. Im2flow: Motion hallucination from static images for action recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 5937-5947, 2018. 4323
|
| 257 |
+
|
| 258 |
+
[15] Leon A Gatys, Alexander S Ecker, and Matthias Bethge. Image style transfer using convolutional neural networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 2414-2423, 2016. 4322
|
| 259 |
+
[16] Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. Gans trained by a two time-scale update rule converge to a local nash equilibrium. In Advances in Neural Information Processing Systems, pages 6626-6637, 2017. 4326
|
| 260 |
+
[17] Irina Higgins, Loic Matthew, Arka Pal, Christopher Burgess, Xavier Glorot, Matthew Botvinick, Shakir Mohamed, and Alexander Lerchner. beta-vae: Learning basic visual concepts with a constrained variational framework. ICLR, 2(5):6, 2017. 4323
|
| 261 |
+
[18] Xun Huang and Serge Belongie. Arbitrary style transfer in real-time with adaptive instance normalization. In Proceedings of the IEEE International Conference on Computer Vision, pages 1501-1510, 2017. 4322
|
| 262 |
+
[19] Xun Huang and Serge Belongie. Arbitrary style transfer in real-time with adaptive instance normalization. In Proceedings of the IEEE International Conference on Computer Vision, pages 1501-1510, 2017. 4324
|
| 263 |
+
[20] Xun Huang, Ming-Yu Liu, Serge Belongie, and Jan Kautz. Multimodal unsupervised image-to-image translation. In Proceedings of the European Conference on Computer Vision (ECCV), pages 172-189, 2018. 4322, 4323, 4327, 4328
|
| 264 |
+
[21] Satoshi Iizuka, Edgar Simo-Serra, and Hiroshi Ishikawa. Globally and locally consistent image completion. ACM Transactions on Graphics (ToG), 36(4):107, 2017. 4322
|
| 265 |
+
[22] Justin Johnson, Alexandre Alahi, and Li Fei-Fei. Perceptual losses for real-time style transfer and super-resolution. In European Conference on Computer Vision, pages 694–711. Springer, 2016. 4322
|
| 266 |
+
[23] Justin Johnson, Agrim Gupta, and Li Fei-Fei. Image generation from scene graphs. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 1219–1228, 2018. 4322
|
| 267 |
+
[24] Tero Karras, Timo Aila, Samuli Laine, and Jaakko Lehtinen. Progressive growing of gans for improved quality, stability, and variation. arXiv preprint arXiv:1710.10196, 2017. 4323
|
| 268 |
+
[25] Tero Karras, Samuli Laine, and Timo Aila. A style-based generator architecture for generative adversarial networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 4401-4410, 2019. 4322, 4323
|
| 269 |
+
[26] Hadi Kazemi, Seyed Mehdi Iranmanesh, and Nasser Nasrabadi. Style and content disentanglement in generative adversarial networks. In 2019 IEEE Winter Conference on Applications of Computer Vision (WACV), pages 848-856. IEEE, 2019. 4323
|
| 270 |
+
[27] Hyunjik Kim and Andriy Mnih. Disentangling by factorising. arXiv preprint arXiv:1802.05983, 2018. 4323
|
| 271 |
+
[28] Jiwon Kim, Jung Kwon Lee, and Kyoung Mu Lee. Accurate image super-resolution using very deep convolutional networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 1646-1654, 2016. 4322
|
| 272 |
+
|
| 273 |
+
[29] Dmytro Kotovenko, Artsiom Sanakoyeu, Sabine Lang, and Bjorn Ommer. Content and style disentanglement for artistic style transfer. In Proceedings of the IEEE International Conference on Computer Vision, pages 4422-4431, 2019. 4323
|
| 274 |
+
[30] Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In Advances in neural information processing systems, pages 1097-1105, 2012. 4326
|
| 275 |
+
[31] Hsin-Ying Lee, Hung-Yu Tseng, Jia-Bin Huang, Maneesh Singh, and Ming-Hsuan Yang. Diverse image-to-image translation via disentangled representations. In Proceedings of the European Conference on Computer Vision (ECCV), pages 35-51, 2018. 4322, 4328
|
| 276 |
+
[32] Wenbo Li, Pengchuan Zhang, Lei Zhang, Qiuyuan Huang, Xiaodong He, Siwei Lyu, and Jianfeng Gao. Object-driven text-to-image synthesis via adversarial training. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 12174-12182, 2019. 4322
|
| 277 |
+
[33] Xueting Li, Sifei Liu, Kihwan Kim, Xiaolong Wang, Ming-Hsuan Yang, and Jan Kautz. Putting humans in a scene: Learning affordance in 3d indoor environments. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 12368-12376, 2019. 4323
|
| 278 |
+
[34] Yijun Li, Chen Fang, Jimei Yang, Zhaowen Wang, Xin Lu, and Ming-Hsuan Yang. Universal style transfer via feature transforms. In Advances in neural information processing systems, pages 386-396, 2017. 4322
|
| 279 |
+
[35] Guilin Liu, Fitsum A Reda, Kevin J Shih, Ting-Chun Wang, Andrew Tao, and Bryan Catanzaro. Image inpainting for irregular holes using partial convolutions. In Proceedings of the European Conference on Computer Vision (ECCV), pages 85–100, 2018. 4322
|
| 280 |
+
[36] Shaohui Liu, Xiao Zhang, Jianqiao Wangni, and Jianbo Shi. Normalized diversification. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 10306-10315, 2019. 4322, 4323, 4324, 4325, 4327, 4328
|
| 281 |
+
[37] Ziwei Liu, Ping Luo, Xiaogang Wang, and Xiaou Tang. Deep learning face attributes in the wild. In Proceedings of International Conference on Computer Vision (ICCV), December 2015. 4327
|
| 282 |
+
[38] Dominik Lorenz, Leonard Bereska, Timo Milbich, and Björn Ommer. Unsupervised part-based disentangling of object shape and appearance. arXiv preprint arXiv:1903.06946, 2019. 4323
|
| 283 |
+
[39] Fujun Luan, Sylvain Paris, Eli Shechtman, and Kavita Bala. Deep photo style transfer. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 4990-4998, 2017. 4322
|
| 284 |
+
[40] Fujun Luan, Sylvain Paris, Eli Shechtman, and Kavita Bala. Deep painterly harmonization. In Computer Graphics Forum, volume 37, pages 95-106. Wiley Online Library, 2018. 4322
|
| 285 |
+
[41] Qi Mao, Hsin-Ying Lee, Hung-Yu Tseng, Siwei Ma, and Ming-Hsuan Yang. Mode seeking generative adversarial networks for diverse image synthesis. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 1429-1437, 2019. 4323, 4325, 4327
|
| 286 |
+
|
| 287 |
+
[42] Takeru Miyato, Toshiki Kataoka, Masanori Koyama, and Yuichi Yoshida. Spectral normalization for generative adversarial networks. arXiv preprint arXiv:1802.05957, 2018. 4325
|
| 288 |
+
[43] Kamyar Nazeri, Eric Ng, Tony Joseph, Faisal Qureshi, and Mehran Ebrahimi. Edgeconnect: Generative image inpainting with adversarial edge learning. arXiv preprint arXiv:1901.00212, 2019. 4322
|
| 289 |
+
[44] Deepak Pathak, Philipp Krahenbuhl, Jeff Donahue, Trevor Darrell, and Alexei A Efros. Context encoders: Feature learning by inpainting. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 2536-2544, 2016. 4322
|
| 290 |
+
[45] Guim Perarnau, Joost Van De Weijer, Bogdan Raducanu, and Jose M Álvarez. Invertible conditional gans for image editing. arXiv preprint arXiv:1611.06355, 2016. 4323
|
| 291 |
+
[46] Scott Reed, Zeynep Akata, Xinchen Yan, Lajanugen Logeswaran, Bernt Schiele, and Honglak Lee. Generative adversarial text to image synthesis. arXiv preprint arXiv:1605.05396, 2016. 4322
|
| 292 |
+
[47] Tamar Rott Shaham, Tali Dekel, and Tomer Michaeli. Singan: Learning a generative model from a single natural image. In Proceedings of the IEEE International Conference on Computer Vision, pages 4570-4580, 2019. 4324
|
| 293 |
+
[48] Eero P Simoncelli and William T Freeman. The steerable pyramid: A flexible architecture for multi-scale derivative computation. In Proceedings., International Conference on Image Processing, volume 3, pages 444-447. IEEE, 1995. 4321
|
| 294 |
+
[49] Yi-Hsuan Tsai, Xiaohui Shen, Zhe Lin, Kalyan Sunkavalli, Xin Lu, and Ming-Hsuan Yang. Deep image harmonization. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 3789-3797, 2017. 4322
|
| 295 |
+
[50] Catherine Wah, Steve Branson, Peter Welinder, Pietro Perona, and Serge Belongie. The caltech-ucsd birds-200-2011 dataset. 2011. 4326
|
| 296 |
+
[51] Jacob Walker, Carl Doersch, Abhinav Gupta, and Martial Hebert. An uncertain future: Forecasting from static images using variational autoencoders. In European Conference on Computer Vision, pages 835-851. Springer, 2016. 4323
|
| 297 |
+
[52] Xiaolong Wang, Rohit Girdhar, and Abhinav Gupta. Binge watching: Scaling affordance learning from sitcoms. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 2596-2605, 2017. 4323
|
| 298 |
+
[53] Xiaolong Wang and Abhinav Gupta. Generative image modeling using style and structure adversarial networks. In European Conference on Computer Vision, pages 318-335. Springer, 2016. 4323
|
| 299 |
+
[54] Xintao Wang, Ke Yu, Shixiang Wu, Jinjin Gu, Yihao Liu, Chao Dong, Yu Qiao, and Chen Change Loy. Esrgan: Enhanced super-resolution generative adversarial networks. In Proceedings of the European Conference on Computer Vision (ECCV), pages 0–0, 2018. 4322
|
| 300 |
+
[55] Huikai Wu, Shuai Zheng, Junge Zhang, and Kaiqi Huang. Gp-gan: Towards realistic high-resolution image blending. In Proceedings of the 27th ACM International Conference on Multimedia, pages 2487-2495, 2019. 4322
|
| 301 |
+
|
| 302 |
+
[56] Li Xu, Jimmy SJ Ren, Ce Liu, and Jiaya Jia. Deep convolutional neural network for image deconvolution. In Advances in Neural Information Processing Systems, pages 1790-1798, 2014. 4322
|
| 303 |
+
[57] Tianfan Xue, Jiajun Wu, Katherine Bouman, and Bill Freeman. Visual dynamics: Probabilistic future frame synthesis via cross convolutional networks. In Advances in neural information processing systems, pages 91-99, 2016. 4323
|
| 304 |
+
[58] Raymond A Yeh, Chen Chen, Teck Yian Lim, Alexander G Schwing, Mark Hasegawa-Johnson, and Minh N Do. Semantic image inpainting with deep generative models. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 5485-5493, 2017. 4322
|
| 305 |
+
[59] Jiahui Yu, Zhe Lin, Jimei Yang, Xiaohui Shen, Xin Lu, and Thomas S Huang. Generative image inpainting with contextual attention. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 5505-5514, 2018. 4322
|
| 306 |
+
[60] Xin Yu and Fatih Porikli. Ultra-resolving face images by discriminative generative networks. In European Conference on Computer Vision, pages 318-333. Springer, 2016. 4322
|
| 307 |
+
[61] Xin Yu and Fatih Porikli. Face hallucination with tiny unaligned images by transformative discriminative neural networks. In AAAI, volume 2, page 3, 2017. 4322
|
| 308 |
+
[62] Xin Yu and Fatih Porikli. Hallucinating very low-resolution unaligned and noisy face images by transformative discriminative autoencoders. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 3760-3768, 2017. 4322
|
| 309 |
+
[63] Han Zhang, Tao Xu, Hongsheng Li, Shaoting Zhang, Xiaogang Wang, Xiaolei Huang, and Dimitris N Metaxas. Stackgan: Text to photo-realistic image synthesis with stacked generative adversarial networks. In Proceedings of the IEEE International Conference on Computer Vision, pages 5907-5915, 2017. 4322
|
| 310 |
+
[64] Han Zhang, Tao Xu, Hongsheng Li, Shaoting Zhang, Xiaogang Wang, Xiaolei Huang, and Dimitris N Metaxas. Stackgan++: Realistic image synthesis with stacked generative adversarial networks. IEEE transactions on pattern analysis and machine intelligence, 41(8):1947-1962, 2018. 4322
|
| 311 |
+
[65] Lingzhi Zhang, Jiancong Wang, and Jianbo Shi. Multimodal image outpainting with regularized normalized diversification. In The IEEE Winter Conference on Applications of Computer Vision, pages 3433-3442, 2020. 4322
|
| 312 |
+
[66] Lingzhi Zhang, Tarmily Wen, and Jianbo Shi. Deep image blending. In The IEEE Winter Conference on Applications of Computer Vision, pages 231-240, 2020. 4322
|
| 313 |
+
[67] Richard Zhang, Phillip Isola, Alexei A Efros, Eli Shechtman, and Oliver Wang. The unreasonable effectiveness of deep features as a perceptual metric. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 586-595, 2018. 4326
|
| 314 |
+
[68] Jun-Yan Zhu, Richard Zhang, Deepak Pathak, Trevor Darryll, Alexei A Efros, Oliver Wang, and Eli Shechtman. Toward multimodal image-to-image translation. In Advances in Neural Information Processing Systems, pages 465-476, 2017. 4322, 4323, 4327
|
nestedscaleeditingforconditionalimagesynthesis/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:893a8f62aba2604d77d2879427769463d00b5ea1c139c1c3bdf159936c7395c0
|
| 3 |
+
size 789020
|
nestedscaleeditingforconditionalimagesynthesis/layout.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:75f3e011663330a9c4d38d38b5c574cab9fa4f8d229340c92e002c53b6e612ae
|
| 3 |
+
size 344550
|
nestedvaeisolatingcommonfactorsviaweaksupervision/541c3b54-866e-4c39-8dc7-fac3a67f24d3_content_list.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7a8a6c9cfb3f8799e7ed2cd7647b4978e58afef8c9a52781953e37684dc80a25
|
| 3 |
+
size 84360
|
nestedvaeisolatingcommonfactorsviaweaksupervision/541c3b54-866e-4c39-8dc7-fac3a67f24d3_model.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5c324d9991754cee4d17bfe540601607cda24d62d60b6e4e5be7b4ec23e3fbeb
|
| 3 |
+
size 111648
|