Add Batch 193216dd-c7b8-47c7-b1d2-a28e4e017864
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- convmpnconvolutionalmessagepassingneuralnetworkforstructuredoutdoorarchitecturereconstruction/52429fad-270c-475d-a9f5-bf79f0ff355b_content_list.json +3 -0
- convmpnconvolutionalmessagepassingneuralnetworkforstructuredoutdoorarchitecturereconstruction/52429fad-270c-475d-a9f5-bf79f0ff355b_model.json +3 -0
- convmpnconvolutionalmessagepassingneuralnetworkforstructuredoutdoorarchitecturereconstruction/52429fad-270c-475d-a9f5-bf79f0ff355b_origin.pdf +3 -0
- convmpnconvolutionalmessagepassingneuralnetworkforstructuredoutdoorarchitecturereconstruction/full.md +321 -0
- convmpnconvolutionalmessagepassingneuralnetworkforstructuredoutdoorarchitecturereconstruction/images.zip +3 -0
- convmpnconvolutionalmessagepassingneuralnetworkforstructuredoutdoorarchitecturereconstruction/layout.json +3 -0
- convolutioninthecloudlearningdeformablekernelsin3dgraphconvolutionnetworksforpointcloudanalysis/8d1c3b1a-2bdb-44f0-8da3-0e84b632cc89_content_list.json +3 -0
- convolutioninthecloudlearningdeformablekernelsin3dgraphconvolutionnetworksforpointcloudanalysis/8d1c3b1a-2bdb-44f0-8da3-0e84b632cc89_model.json +3 -0
- convolutioninthecloudlearningdeformablekernelsin3dgraphconvolutionnetworksforpointcloudanalysis/8d1c3b1a-2bdb-44f0-8da3-0e84b632cc89_origin.pdf +3 -0
- convolutioninthecloudlearningdeformablekernelsin3dgraphconvolutionnetworksforpointcloudanalysis/full.md +294 -0
- convolutioninthecloudlearningdeformablekernelsin3dgraphconvolutionnetworksforpointcloudanalysis/images.zip +3 -0
- convolutioninthecloudlearningdeformablekernelsin3dgraphconvolutionnetworksforpointcloudanalysis/layout.json +3 -0
- cookgancausalitybasedtexttoimagesynthesis/8674cbb3-cb76-4b23-ab87-9a8fb59fc1bb_content_list.json +3 -0
- cookgancausalitybasedtexttoimagesynthesis/8674cbb3-cb76-4b23-ab87-9a8fb59fc1bb_model.json +3 -0
- cookgancausalitybasedtexttoimagesynthesis/8674cbb3-cb76-4b23-ab87-9a8fb59fc1bb_origin.pdf +3 -0
- cookgancausalitybasedtexttoimagesynthesis/full.md +245 -0
- cookgancausalitybasedtexttoimagesynthesis/images.zip +3 -0
- cookgancausalitybasedtexttoimagesynthesis/layout.json +3 -0
- coolingshrinkingattackblindingthetrackerwithimperceptiblenoises/73e3a562-eb2d-4928-87ee-c0c247a71896_content_list.json +3 -0
- coolingshrinkingattackblindingthetrackerwithimperceptiblenoises/73e3a562-eb2d-4928-87ee-c0c247a71896_model.json +3 -0
- coolingshrinkingattackblindingthetrackerwithimperceptiblenoises/73e3a562-eb2d-4928-87ee-c0c247a71896_origin.pdf +3 -0
- coolingshrinkingattackblindingthetrackerwithimperceptiblenoises/full.md +287 -0
- coolingshrinkingattackblindingthetrackerwithimperceptiblenoises/images.zip +3 -0
- coolingshrinkingattackblindingthetrackerwithimperceptiblenoises/layout.json +3 -0
- copsrefanewdatasetandtaskoncompositionalreferringexpressioncomprehension/7610d573-7310-4f55-aa84-ab3137a95f6e_content_list.json +3 -0
- copsrefanewdatasetandtaskoncompositionalreferringexpressioncomprehension/7610d573-7310-4f55-aa84-ab3137a95f6e_model.json +3 -0
- copsrefanewdatasetandtaskoncompositionalreferringexpressioncomprehension/7610d573-7310-4f55-aa84-ab3137a95f6e_origin.pdf +3 -0
- copsrefanewdatasetandtaskoncompositionalreferringexpressioncomprehension/full.md +314 -0
- copsrefanewdatasetandtaskoncompositionalreferringexpressioncomprehension/images.zip +3 -0
- copsrefanewdatasetandtaskoncompositionalreferringexpressioncomprehension/layout.json +3 -0
- copyandpasteganfacehallucinationfromshadedthumbnails/48ef4047-2e69-4413-8ac9-8e0d1186797a_content_list.json +3 -0
- copyandpasteganfacehallucinationfromshadedthumbnails/48ef4047-2e69-4413-8ac9-8e0d1186797a_model.json +3 -0
- copyandpasteganfacehallucinationfromshadedthumbnails/48ef4047-2e69-4413-8ac9-8e0d1186797a_origin.pdf +3 -0
- copyandpasteganfacehallucinationfromshadedthumbnails/full.md +402 -0
- copyandpasteganfacehallucinationfromshadedthumbnails/images.zip +3 -0
- copyandpasteganfacehallucinationfromshadedthumbnails/layout.json +3 -0
- correctionfilterforsingleimagesuperresolutionrobustifyingofftheshelfdeepsuperresolvers/d75c7e9d-2edc-4221-9b6e-abfdfdb185e4_content_list.json +3 -0
- correctionfilterforsingleimagesuperresolutionrobustifyingofftheshelfdeepsuperresolvers/d75c7e9d-2edc-4221-9b6e-abfdfdb185e4_model.json +3 -0
- correctionfilterforsingleimagesuperresolutionrobustifyingofftheshelfdeepsuperresolvers/d75c7e9d-2edc-4221-9b6e-abfdfdb185e4_origin.pdf +3 -0
- correctionfilterforsingleimagesuperresolutionrobustifyingofftheshelfdeepsuperresolvers/full.md +430 -0
- correctionfilterforsingleimagesuperresolutionrobustifyingofftheshelfdeepsuperresolvers/images.zip +3 -0
- correctionfilterforsingleimagesuperresolutionrobustifyingofftheshelfdeepsuperresolvers/layout.json +3 -0
- correlatingedgeposewithparsing/51a2d6bb-ca9a-43e8-98a2-a340a792b8bf_content_list.json +3 -0
- correlatingedgeposewithparsing/51a2d6bb-ca9a-43e8-98a2-a340a792b8bf_model.json +3 -0
- correlatingedgeposewithparsing/51a2d6bb-ca9a-43e8-98a2-a340a792b8bf_origin.pdf +3 -0
- correlatingedgeposewithparsing/full.md +395 -0
- correlatingedgeposewithparsing/images.zip +3 -0
- correlatingedgeposewithparsing/layout.json +3 -0
- correlationguidedattentionforcornerdetectionbasedvisualtracking/3f4e4870-5d80-40ff-adc0-df7fd63f8ae2_content_list.json +3 -0
- correlationguidedattentionforcornerdetectionbasedvisualtracking/3f4e4870-5d80-40ff-adc0-df7fd63f8ae2_model.json +3 -0
convmpnconvolutionalmessagepassingneuralnetworkforstructuredoutdoorarchitecturereconstruction/52429fad-270c-475d-a9f5-bf79f0ff355b_content_list.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:79a4c8a4d027dfadc08add9088a2fdcb53fe1f2b6b6449bfde6dff71f49b01fd
|
| 3 |
+
size 67236
|
convmpnconvolutionalmessagepassingneuralnetworkforstructuredoutdoorarchitecturereconstruction/52429fad-270c-475d-a9f5-bf79f0ff355b_model.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a9fba7dc73a5f5bb5fc651bdba9fb742b7e9b279c349eb2eda6e97d824f81052
|
| 3 |
+
size 80797
|
convmpnconvolutionalmessagepassingneuralnetworkforstructuredoutdoorarchitecturereconstruction/52429fad-270c-475d-a9f5-bf79f0ff355b_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:76f901a25240b425da8af38f46fef13ffb12ed7ace83e0819bdbffab3838a152
|
| 3 |
+
size 3433016
|
convmpnconvolutionalmessagepassingneuralnetworkforstructuredoutdoorarchitecturereconstruction/full.md
ADDED
|
@@ -0,0 +1,321 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Conv-MPN: Convolutional Message Passing Neural Network for Structured Outdoor Architecture Reconstruction
|
| 2 |
+
|
| 3 |
+
Fuyang Zhang*, Nelson Nauata* and Yasutaka Furukawa
|
| 4 |
+
Simon Fraser University, BC, Canada
|
| 5 |
+
|
| 6 |
+
{fuyangz, nnauata, furukawa}@sfu.ca
|
| 7 |
+
|
| 8 |
+

|
| 9 |
+
Input
|
| 10 |
+
|
| 11 |
+

|
| 12 |
+
Iteration 0
|
| 13 |
+
|
| 14 |
+

|
| 15 |
+
Iteration 1
|
| 16 |
+
Figure 1. Conv-MPN, a novel message passing neural network, reconstructs outdoor buildings as planar graphs from a single image. The reconstructions after 0, 1, or 3 iterations of message passing are as shown.
|
| 17 |
+
|
| 18 |
+

|
| 19 |
+
Conv-MPN reconstruction
|
| 20 |
+
Iteration 3
|
| 21 |
+
|
| 22 |
+

|
| 23 |
+
Ground-truth
|
| 24 |
+
|
| 25 |
+
# Abstract
|
| 26 |
+
|
| 27 |
+
This paper proposes a novel message passing neural (MPN) architecture Conv-MPN, which reconstructs an outdoor building as a planar graph from a single RGB image. Conv-MPN is specifically designed for cases where nodes of a graph have explicit spatial embedding. In our problem, nodes correspond to building edges in an image. Conv-MPN is different from MPN in that 1) the feature associated with a node is represented as a feature volume instead of a 1D vector; and 2) convolutions encode messages instead of fully connected layers. Conv-MPN learns to select a true subset of nodes (i.e., building edges) to reconstruct a building planar graph. Our qualitative and quantitative evaluations over 2,000 buildings show that Conv-MPN makes significant improvements over the existing fully neural solutions. We believe that the paper has a potential to open a new line of graph neural network research for structured geometry reconstruction.
|
| 28 |
+
|
| 29 |
+
# 1. Introduction
|
| 30 |
+
|
| 31 |
+
Human vision evolved to master holistic image understanding, capable of detecting structural elements in an im
|
| 32 |
+
|
| 33 |
+
age and inferring their relationships. Look at a satellite image in Fig. 1. We can quickly see three building components, detect their building corners, and identify the common edges with the neighboring components.
|
| 34 |
+
|
| 35 |
+
The ultimate form of such structured geometry is the CAD representation, which enables a wide spectrum of applications such as rendering, effects mapping, simulation, or human interactions. Unfortunately, CAD model construction is still an open problem for computer vision, and is possible only by the hands of expert modelers.
|
| 36 |
+
|
| 37 |
+
Towards the automated construction of CAD geometry, the emergence of deep neural networks (DNNs) have brought revolutionary improvements to the detection of low-level primitives (e.g., corners). However, holistic understanding of high-level geometric structures (e.g., the inference of a graph) remains as a challenge for DNNs. The current state-of-the-art utilizes DNNs for low-level primitive detection, but employs optimization methods for high-level geometric structure inference [21, 16]. Optimization is powerful, but requires complex problem formulations and intensive engineering for injecting structural constraints.
|
| 38 |
+
|
| 39 |
+
This paper seeks to push the boundary of deep neural architecture for the task of structured geometry reconstruction. In particular, we propose a convolutional message passing neural network (Conv-MPN). Conv-MPN is a variant of a graph neural network (GNN), and learns to infer re
|
| 40 |
+
|
| 41 |
+
relationships of nodes by exchanging messages. Conv-MPN is specifically designed for cases where a node has an explicit spatial embedding, and makes two key distinctions from a standard message passing neural network (MPN): 1) the feature of a node is represented as a 3D volume as in CNNs instead of a 1D vector; and 2) convolutions encode messages instead of fully connected layers [24, 25] or matrix multiplications [5, 8]. This design allows Conv-MPN to exploit the spatial information associated with the nodes.
|
| 42 |
+
|
| 43 |
+
We have demonstrated the effectiveness of Conv-MPN on an outdoor architecture vectorization problem [21], where the input is a satellite RGB image and the output is a planar graph depicting both the internal and external architectural feature lines. This is a challenging problem for computer vision akin to the floorplan vectorization, which did not have an effective solution until recently [19].
|
| 44 |
+
|
| 45 |
+
The main challenge lies in the inference of a graph structure with an arbitrary topology. The outdoor architecture vectorization from a satellite image is even more challenging as Manhattan assumption does not hold due to the foreshortening effects. We would like to also emphasize the difference from the traditional building shape extraction problem [1], which represents a building as a set of pixels.
|
| 46 |
+
|
| 47 |
+
We qualitative and quantitative evaluate the proposed approach on more than 2,000 complex building examples in the cities of Atlanta, Las Vegas, and Paris [21]. Conv-MPN makes significant improvements over all the existing neural solutions. We believe that this research has a potential to open a new line of graph neural network research for structured geometry reconstruction. Code and pretrained models can be found at https://github.com/zhangfuyang/Conv-MPN.
|
| 48 |
+
|
| 49 |
+
# 2. Related work
|
| 50 |
+
|
| 51 |
+
We first review structured reconstruction techniques based on the levels of graph structure to be inferred, then the use of message passing techniques on structured data.
|
| 52 |
+
|
| 53 |
+
Reconstruction with a fixed topology: With the fixed known topology, graph reconstruction amounts to simply detecting keypoints and classifying their semantic types, because their connections are already given. Convolutional neural networks have shown to be effective in solving human pose estimation [22, 31, 29] and hand tracking [34, 38, 30].
|
| 54 |
+
|
| 55 |
+
Low- to mid-level structured reconstruction: DNNs detect corners and classify the presence of their connections for wire-frame parsing [15, 37, 36]. However, the connection classification is performed for each edge independently, lacking higher level geometric reasoning that considers a graph as a whole. In remote sensing, most building extraction methods represent a building as a set of pixels [14] or a 1D polygonal loop [2, 6, 20, 7], limiting the output to a
|
| 56 |
+
|
| 57 |
+
building external boundary as a 1D loop. In contrast, we seek to infer a graph of an arbitrary topology encoding both internal and external architectural feature lines.
|
| 58 |
+
|
| 59 |
+
Structured reconstruction (optimization): The state-of-the-art graph structure inference combines CNNs and optimization, in particular, integer programming (IP) [19, 18, 21]. CNNs detect low-level geometric primitives (e.g., corners) or infer pixel-wise graph information (e.g., edge likelihood). IP fuses all the information and infer graph structure, which is powerful but requires complex problem formulations and intensive engineering for injecting structural constraints.
|
| 60 |
+
|
| 61 |
+
Structured reconstruction (learning): A few methods learn to infer high-level geometric structure. Ritchie et al. [27] used DNNs to learn the arrangement of 2D strokes on a canvas with a simple shape-grammar similar to the L-system. Frans et al. [12]. proposed an unsupervised approach to the problem. However, their grammar is too rudimentary to represent building architecture. Zeng et al. [35] utilizes an architectural shape-grammar to reconstruct outdoor buildings from an ortho-rectified depthmap. However, their shape-grammar is again too restrictive: 1) Requiring ortho-rectification to utilize the Manhattan assumption; and 2) Modeling only small residential houses. This paper does not rely on a shape grammar, instead learns structural regularities from examples and utilize in the structure inference.
|
| 62 |
+
|
| 63 |
+
Message passing and convolution on graphs: Message passing has been an effective tool for high-level data reasoning [23, 3, 13, 17, 9, 32, 4]. A standard way is to extend the convolution operation over a grid of pixels to a graph of vertices [5, 17, 9, 10, 23]. Bruna et al. [5], Defferand et al. [9] and Kipf et al. [17] utilizes spectral analysis to define graph convolutions that act on an entire graph. The key difference is that our convolutions do not occur in the graph domain. Conv-MPN takes a graph with an explicit spatial embedding, represent a node as a feature volume and perform convolutions in the spatial domain. This framework allows Conv-MPN to exploit the spatial information associated with the nodes of a graph.
|
| 64 |
+
|
| 65 |
+
# 3. Preliminaries
|
| 66 |
+
|
| 67 |
+
This paper tackles the 2D architecture vectorization problem from a single satellite image, where a building is represented as a 2D planar graph. This section describes our data source and pre-processing steps (See Fig. 2).
|
| 68 |
+
|
| 69 |
+
Dataset: Our data source is a set of high-resolution satellite RGB images from SpaceNet [11] corpus, hosted through the Amazon Web Services (AWS) as a part of the SpaceNet Challenge [1]. In particular, we use an existing benchmark [21], which cropped 2,001 buildings into $256 \times 256$ square image patches for the cities of Atlanta, Paris and Las Vegas [21]. We use the same training and testing split
|
| 70 |
+
|
| 71 |
+

|
| 72 |
+
Figure 2. Preliminaries. Given a RGB image, we detect building corner candidates, enumerate building edge candidates, then formulate a graph for inference whose nodes are building edges.
|
| 73 |
+
|
| 74 |
+
(1601/400) as well as the metrics, which consists of the precision, recall, and f1-score for each of the corner, edge, and region primitives. Note that the satellite images are off-nadir, and buildings do not follow the Manhattan assumption due to the foreshortening effects.
|
| 75 |
+
|
| 76 |
+
Corner candidates enumeration: Given an input RGB image-patch $\mathcal{I}$ ( $256 \times 256$ ), we use Faster-RCNN with ResNet-50 as the backbone [26] to detect corner candidates, while treating each corner as a $8 \times 8$ bounding box with a corner at the center. The model is trained using SGD with the leaning rate set to 0.0001 and the batch-size of 1.
|
| 77 |
+
|
| 78 |
+
Graph formulation: Given building corner candidates, we enumerate building edge candidates by every pair of corners. Each edge candidate becomes a node in the graph for Conv-MPN inference in the next step (See Fig. 2 right). Nodes are connected when the corresponding building edges share the same building corner. Notice that we have a building planar graph and the graph for Conv-MPN inference. We explicitly write "building corner" or "building edge" when terms are confusing.
|
| 79 |
+
|
| 80 |
+
# 4. Conv-MPN architecture
|
| 81 |
+
|
| 82 |
+
The fundamental idea behind Conv-MPN is simple yet powerful. Standard graph neural networks (GNNs) [4] encode geometry information as a 1D vector numerically instead of a 3D feature volume spatially. MLP with 1D feature vectors cannot make effective geometric analysis, while convolution with 3D feature volumes enables natural spatial reasoning. Our idea is to take the standard MPN architecture then replace 1) a latent vector with a latent 3D volume for the feature representation; and 2) fully connected layers (or matrix multiplications) with convolutions for the message encoding. The section explains the Conv-MPN architecture specific to our problem setting, but it is straightforward to extend the framework to the entire GNN family.
|
| 83 |
+
|
| 84 |
+
# 4.1. Feature initialization
|
| 85 |
+
|
| 86 |
+
A node in the inference graph corresponds to a building-edge, which is to be represented as a 3D feature vol
|
| 87 |
+
|
| 88 |
+
ume. We initialize the feature volume by passing a building RGB image concatenated with a binary building edge mask $(256 \times 256 \times 4)$ through Dilated Residual Network (DRN) [33] (See Fig. 3). More specifically, we use the first three blocks of the DRN-C-26 architecture, followed by one $3 \times 3$ stride 2 convolution for downsampling to $64 \times 64 \times 32$ . During training, we initialize the network parameters by the pretrained weights on the ImageNet [28].<sup>1</sup>
|
| 89 |
+
|
| 90 |
+
# 4.2. Convolutional message passing
|
| 91 |
+
|
| 92 |
+
A standard form of feature vector update in MPN is to utilize multi layer perceptron (MLP) for encoding messages and mixing with the current feature:
|
| 93 |
+
|
| 94 |
+
$$
|
| 95 |
+
f _ {v} \leftarrow \operatorname {M L P} \left(f _ {v}; \sum_ {w \in \mathbf {N} (v)} \operatorname {M L P} \left(f _ {v}; f _ {w}\right)\right) \tag {1}
|
| 96 |
+
$$
|
| 97 |
+
|
| 98 |
+
$f_{v}$ denotes the feature vector associated with a node $v$ , $\mathbf{N}(v)$ denotes the set of neighboring nodes, and “;” denotes the feature concatenation.
|
| 99 |
+
|
| 100 |
+
While Conv-MPN could simply replace MLP by CNN to form a feature update rule, that would require two CNN modules and hence more GPU memory. A node feature spreads across a volume and a simple pooling could keep all the information in a message without collisions. More precisely, instead of encoding a message for every pair of nodes, we just pool features across all the neighboring nodes to encode a message, followed by CNN to update a feature vector:
|
| 101 |
+
|
| 102 |
+
$$
|
| 103 |
+
f _ {v} \leftarrow \operatorname {C N N} \left[ f _ {v}; \underset {w \in \mathbf {N} (v)} {\operatorname {P o o l}} f _ {w} \right]. \tag {2}
|
| 104 |
+
$$
|
| 105 |
+
|
| 106 |
+
We experimented max, sum, and mean poolings and the max pooling worked the best. We perform feature update up to 3 iterations due to the GPU memory limitation. The CNN module consists of 7 Conv-ReLU-BN blocks, which are not shared across different iterations. We use Conv-MPN(t=x) to denote our architecture with $x$ iterations of convolutoinal message passing.
|
| 107 |
+
|
| 108 |
+
# 4.3. Building edge verification
|
| 109 |
+
|
| 110 |
+
After a few iterations of feature update, we put a CNN decoder to each node and output a confidence score, indicating if the corresponding building edge is true or not (See Fig. 3). The decoder first pass the feature into a 5 ConvReLU-BN blocks to convert feature into $64 \times 64 \times 128$ . After that, feature are downsampled into $2 \times 2 \times 128$ via max-pooling. In the end, the feature is flattened into 512 dimensional feature vector, followed by a single fully connected layer to regress a confidence score.
|
| 111 |
+
|
| 112 |
+

|
| 113 |
+
Figure 3. Conv-MPN Architecture. Given a graph, DRN encoder initializes a feature volume for each node. Convolutional message passing update feature volumes for T times. A building edge verification module uses a simple CNN decoder to estimate the confidence of a node (i.e., a building edge candidate).
|
| 114 |
+
|
| 115 |
+
# 4.4. Edge classification loss
|
| 116 |
+
|
| 117 |
+
We use the weighted binary cross-entropy loss:
|
| 118 |
+
|
| 119 |
+
$$
|
| 120 |
+
\mathcal {L} = - \sum \mathcal {H} \log \hat {\mathcal {H}} - \lambda (1 - \mathcal {H}) \log (1 - \hat {\mathcal {H}}). \tag {3}
|
| 121 |
+
$$
|
| 122 |
+
|
| 123 |
+
$\mathcal{H}$ and $\hat{\mathcal{H}}$ are the ground-truth and the prediction of the building edge confidence. $\lambda = 3$ is used to increase the weight on positive samples.
|
| 124 |
+
|
| 125 |
+
# 5. Experiments
|
| 126 |
+
|
| 127 |
+
We have implemented the proposed system in PyTorch. The learning rate is initialized to $5 \times 10^{-4}$ , while we decay the rate by 0.8 when the testing loss does not decrease in 4 epochs. We terminate the training process when the testing loss does not decrease in 20 epochs.
|
| 128 |
+
|
| 129 |
+
Conv-MPN is GPU memory intensive due to the use of 3D feature volumes. A single NVIDIA TitanX GPU with 24G memory is used for all the experiments except for Conv-MPN $(t = 3)$ , which requires two TitanX GPUs. We set the batch size to be 1, but accumulate gradients and update the parameters every 8 batches to suppress noisy gradients.
|
| 130 |
+
|
| 131 |
+
During training, the inference graph becomes too large to fit in a GPU memory for large buildings with many building corner candidates. For training Conv-MPN (and GNN in the comparative evaluations), we used 1215 buildings that have at most 15 building corner candidates. During testing, inference requires less memory and we simply apply the trained network on large buildings, which surprisingly works well for Conv-MPN in our experiments. Training Conv-MPN $(t = 1)$ , Conv-MPN $(t = 2)$ , and Conv-MPN $(t = 3)$ takes roughly 20, 30, and 40 hours.
|
| 132 |
+
|
| 133 |
+
# 5.1. Main results
|
| 134 |
+
|
| 135 |
+
Figure 4 shows representative planar graph reconstructions by Conv-MPN. The method is able to recover complex building structure beyond the Manhattan geometry without relying on any hand-crafted constraints or priors.
|
| 136 |
+
|
| 137 |
+
Next, we conduct comparative evaluations against five competing methods: PolyRNN++ [2], PPGNet [36], Hamaguchi et al. [14], L-CNN [37], and Nauata et al. [21] (See Table 1 and Fig. 5). Here, we provide brief summary of the five methods.
|
| 138 |
+
|
| 139 |
+
- PolyRNN++ traces the building external boundary in a recurrent fashion [2] and produces a 1D polygonal loop.
|
| 140 |
+
|
| 141 |
+
- PPGNet [36] uses CNN to detect corners and classifies their connections. However, the connection (i.e., edge) classification is independent of other connections, lacking in higher level geometric reasoning.
|
| 142 |
+
|
| 143 |
+
- Hamaguchi et al. [14] won the SpaceNet Building Footprint Extraction challenge [1]. The method uses CNN to produce binary masks of building footprints [14]. We convert the segmentation into a polygonal loop, and use OpenCV implementation of the Ramer-Douglas-Peucker algorithm with a threshold of 10 to simplify the curve.
|
| 144 |
+
|
| 145 |
+
- L-CNN [37] proposes an end-to-end neural network that detects corners and classifiers their connections. Like PPGNet, L-CNN also performs connection classification for each edge independently.
|
| 146 |
+
|
| 147 |
+
- Nauata et al. [21] is the current state-of-the-art for the problem, which detects 3 types of geometric primitives, classifies 2 types of pairwise primitive relationships, and uses integer programming to combine all the information into a building planar graph.
|
| 148 |
+
|
| 149 |
+
Nauata et al. relies on integer programming with handcrafted objectives and structural constraints. The first 4 methods and Conv-MPN seek to learn geometric regularities or priors from examples instead.
|
| 150 |
+
|
| 151 |
+
Table 1 shows that Conv-MPN achieves the best higher-order (region) metrics among prior-free solutions. For the corner and edge metrics, Conv-MPN is not always the best. In particular, L-CNN outperforms Conv-MPN slightly on the edge metrics. However, as shown in Fig. 6, the graph structure from L-CNN is often broken, as edges are estimated independently. Figures 5 and 6 demonstrate that the region metrics best reflect our perceptual quality of the planar graph structure, in which Conv-MPN makes significant
|
| 152 |
+
|
| 153 |
+

|
| 154 |
+
Figure 4. From left to right, an input RGB image, GNN, Zero message, Conv-MPN reconstructions after 1, 2, or 3 iterations of convolutional message passing and ground-truth.
|
| 155 |
+
|
| 156 |
+
Table 1. Comparative evaluations: Table shows precision and recall values, when the edge confidence threshold is set to 0.5. The cyan, orange, and magenta colors indicate the first, second, and third best results, respectively among the prior-free methods. Nauata et al. is the concurrent state-of-the-art method. This method is not prior-free and uses integer optimization with hand-crafted objectives and structural constraints.
|
| 157 |
+
|
| 158 |
+
<table><tr><td rowspan="2">Model</td><td colspan="3">Corner</td><td colspan="3">Edge</td><td colspan="3">Region</td></tr><tr><td>Preci.</td><td>Recall</td><td>F1-score</td><td>Preci.</td><td>Recall</td><td>F1-score</td><td>Preci.</td><td>Recall</td><td>F1-score</td></tr><tr><td>PolyRNN++ [2]</td><td>49.6</td><td>43.7</td><td>46.4</td><td>19.5</td><td>15.2</td><td>17.1</td><td>39.8</td><td>13.7</td><td>20.4</td></tr><tr><td>PPGNet [36]</td><td>78.0</td><td>69.2</td><td>73.3</td><td>55.1</td><td>50.6</td><td>52.8</td><td>32.4</td><td>30.8</td><td>31.6</td></tr><tr><td>Hamaguchi et al. [14]</td><td>58.3</td><td>57.8</td><td>58.0</td><td>25.4</td><td>22.3</td><td>23.8</td><td>51.0</td><td>36.7</td><td>42.7</td></tr><tr><td>L-CNN [37]</td><td>66.7</td><td>86.2</td><td>75.2</td><td>51.0</td><td>71.2</td><td>59.4</td><td>25.9</td><td>41.5</td><td>31.9</td></tr><tr><td>Conv-MPN (t=3) [Ours]</td><td>77.9</td><td>80.2</td><td>79.0</td><td>56.9</td><td>60.7</td><td>58.7</td><td>51.1</td><td>57.6</td><td>54.2</td></tr><tr><td>Nauata et al. [21]</td><td>91.1</td><td>64.6</td><td>75.6</td><td>68.1</td><td>48.0</td><td>56.3</td><td>70.9</td><td>53.1</td><td>60.8</td></tr></table>
|
| 159 |
+
|
| 160 |
+
improvements. Note that Conv-MPN stays behind Nau-tata et al. [21] on the region F1-score, which requires hand-crafted objectives and structural constraints in a complex IP optimization formulation. We would like to emphasize again that Conv-MPN learns such priors and constraints all from examples automatically, which is a phenomenal feat and makes a big improvements against all the other prior-free solutions.
|
| 161 |
+
|
| 162 |
+
# 5.2. Ablation study
|
| 163 |
+
|
| 164 |
+
We verify the contributions of Conv-MPN architecture, in particular, on the effects of 1) feature volume representation and 2) message passing. Figures 6 and 7 provide the quantitative and qualitative comparisons, respectively.
|
| 165 |
+
|
| 166 |
+
Feature volume representation: We compare against a
|
| 167 |
+
|
| 168 |
+
vanilla GNN, where we take the Conv-MPN architecture and replace $(64 \times 64 \times 32)$ feature volume by a 512 dimensional vector. The feature initialization, message passing, and line verification modules are modified accordingly to match up the feature dimensions (refer to the supplementary document for the details). We conduct message passing once both on Conv-MPN and GNN for clear comparison.
|
| 169 |
+
|
| 170 |
+
Figure 7 shows that GNN provides competitive results for the edge recall, but performs poorly on the other metrics. In particular, the performance gap is significant for the regions, which requires high-level geometry reasoning and demonstrates the power of our feature representation.
|
| 171 |
+
|
| 172 |
+
Message passing: We compare against two Conv-MPN variants that do not conduct message passing. The first variant (denoted as "per-edge classifier") simply does not
|
| 173 |
+
|
| 174 |
+

|
| 175 |
+
Figure 5. Comparative evaluations against competing methods. PolyRNN++ [2], PPGNet [36], Hamaguchi et al. [14], and L-CNN [37] are prior-free existing methods, all utilizing DNNs. Nauata et al. [21] is not prior-free. Zero message is a variant of our Conv-MPN without any message passing. Conv-MPN is our prior-free system.
|
| 176 |
+
|
| 177 |
+
exchange messages by cutting the inter-node connections. The second variant (denoted as "zero message") is equivalent to Conv-MPN $(t = 1)$ , except that it always overwrites
|
| 178 |
+
|
| 179 |
+
the pooled neighbor features with a value of 0.
|
| 180 |
+
|
| 181 |
+
Figure 7 shows that Conv-MPN $(t = 1)$ is superior to "per-edge classifier" and "zero message" in most metrics. In
|
| 182 |
+
|
| 183 |
+

|
| 184 |
+
L-CNN
|
| 185 |
+
|
| 186 |
+

|
| 187 |
+
|
| 188 |
+

|
| 189 |
+
PPGNet
|
| 190 |
+
|
| 191 |
+

|
| 192 |
+
|
| 193 |
+

|
| 194 |
+
Zero message
|
| 195 |
+
|
| 196 |
+

|
| 197 |
+
|
| 198 |
+

|
| 199 |
+
Conv-MPN (t=3)
|
| 200 |
+
|
| 201 |
+

|
| 202 |
+
|
| 203 |
+

|
| 204 |
+
|
| 205 |
+

|
| 206 |
+
|
| 207 |
+

|
| 208 |
+
|
| 209 |
+

|
| 210 |
+
|
| 211 |
+

|
| 212 |
+
|
| 213 |
+

|
| 214 |
+
|
| 215 |
+

|
| 216 |
+
|
| 217 |
+

|
| 218 |
+
|
| 219 |
+

|
| 220 |
+
|
| 221 |
+

|
| 222 |
+
Figure 6. Close-up comparisons. From left to right, L-CNN[37], PPGNet[36], Zero message, and Conv-MPN(t=3). In the zooming area, we show the common mistakes that Conv-MPN can help to prevent. Typically, Conv-MPN helps removing the edge intersections, thin triangles and connecting missing edges.
|
| 223 |
+
|
| 224 |
+

|
| 225 |
+
|
| 226 |
+

|
| 227 |
+
|
| 228 |
+

|
| 229 |
+
|
| 230 |
+

|
| 231 |
+
|
| 232 |
+

|
| 233 |
+
|
| 234 |
+

|
| 235 |
+
|
| 236 |
+
particular, the performance gap in the region metrics are again significant, indicating that Conv-MPN effectively exchanges information via the convolutional message passing.
|
| 237 |
+
|
| 238 |
+
Figure 7 also shows how Conv-MPN improve reconstructions over multiple iterations of the convolutional message passing (See Figure. 4 for qualitative evaluations). The performance improvement is consistent and strong from no iterations to 1 and 2 iterations, where per-edge-classifier can be considered as Conv-MPN $(t = 0)$ . Due to the memory limitation, Conv-MPN $(t = 3)$ is the largest model we trained, which shows the best results, where the performance improvements start to saturate.
|
| 239 |
+
|
| 240 |
+
# 5.3. Failure cases
|
| 241 |
+
|
| 242 |
+
Conv-MPN is far from perfect, where Figure 8 shows failure examples. The first major failure mode comes from missing corners. If a building corner is not detected, Conv-MPN will automatically miss all the incident structure. The second major failure mode is large buildings with 30 corner candidates or more, which do not appear in the training set due to the memory limitation.
|
| 243 |
+
|
| 244 |
+
# 6. Conclusion
|
| 245 |
+
|
| 246 |
+
This paper presents a novel message passing neural architecture Conv-MPN for structured outdoor architecture
|
| 247 |
+
|
| 248 |
+

|
| 249 |
+
|
| 250 |
+

|
| 251 |
+
|
| 252 |
+

|
| 253 |
+
|
| 254 |
+
Figure 7. The precision and recall for the corners, edges and regions, while changing the edge confidence thresholds in the range [0.1, 0.8] with an increment of 0.05. We plot the precision and recall separately for clarity. Note that y-axes for different plots are not in the same scale for better visualization.
|
| 255 |
+

|
| 256 |
+
gnn per edge classifier zero message Conv-MPN(t=1) Conv-MPN(t=2) Conv-MPN(t=3)
|
| 257 |
+
|
| 258 |
+

|
| 259 |
+
|
| 260 |
+

|
| 261 |
+
|
| 262 |
+

|
| 263 |
+
Figure 8. Failure cases. The left two examples suffer from missing corners by mask R-CNN. The right two examples show complex buildings, which Conv-MPN does not generalize well.
|
| 264 |
+
|
| 265 |
+

|
| 266 |
+
|
| 267 |
+

|
| 268 |
+
|
| 269 |
+

|
| 270 |
+
|
| 271 |
+
reconstruction. Our idea is simple yet powerful. ConvMPN represents the feature associated with a node as a feature volume and utilizes CNN for message passing, while retaining the standard message passing neural architecture. Qualitative and quantitative evaluations verify the effectiveness of our idea and demonstrates significant performance improvements over the existing prior-free solutions. The main drawback is the extensive memory consumption, which is one of our future work to address.
|
| 272 |
+
|
| 273 |
+
The current popular approach to structured reconstruction is to inject domain knowledge as hand-crafted objectives or constraints into an optimization formulation. ConvMPN learns all such priors from examples, then infer a planar graph structure form a single image. We believe that this paper has a potential to open a new line of graph neural network research for structured geometry reconstruction. We will share our code and data to promote further research.
|
| 274 |
+
|
| 275 |
+
Acknowledgement: This research is partially supported by
|
| 276 |
+
|
| 277 |
+
NSERC Discovery Grants, NSERC Discovery Grants Accelerator Supplements, and DND/NSERC Discovery Grant Supplement. This research is also supported by the Intelligence Advanced Research Projects Activity (IARPA) via Department of Interior / Interior Business Center (DOI/IBC) contract number D17PC00288. The U.S. Government is authorized to reproduce and distribute reprints for Governmental purposes notwithstanding any copyright annotation thereon. The views and conclusions contained herein are those of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of IARPA, DOI/IBC, or the U.S. Government.
|
| 278 |
+
|
| 279 |
+
# References
|
| 280 |
+
|
| 281 |
+
[1] SpaceNet on Amazon Web Services (AWS). "Datasets." The SpaceNet Catalog. Last modified April 30, 2018. https://spacenetchallenge.github.io/datasets/datasetHomePage.html, 2018. Online; accessed 19 October 2018. 2, 4
|
| 282 |
+
[2] David Acuna, Huan Ling, Amlan Kar, and Sanja Fidler. Efficient interactive annotation of segmentation datasets with polygon-rnn++. In Proceedings of the IEEE conference on Computer Vision and Pattern Recognition, pages 859-868, 2018. 2, 4, 5, 6
|
| 283 |
+
[3] James Atwood and Don Towsley. Diffusion-convolitional neural networks. In Advances in Neural Information Processing Systems, pages 1993-2001, 2016. 2
|
| 284 |
+
[4] Peter W Battaglia, Jessica B Hamrick, Victor Bapst, Alvaro Sanchez-Gonzalez, Vinicius Zambaldi, Mateusz Malinowski, Andrea Tacchetti, David Raposo, Adam Santoro, Ryan Faulkner, et al. Relational inductive biases, deep learning, and graph networks. arXiv preprint arXiv:1806.01261, 2018. 2, 3
|
| 285 |
+
[5] Joan Bruna, Wojciech Zaremba, Arthur Szlam, and Yann LeCun. Spectral networks and locally connected networks on graphs. arXiv preprint arXiv:1312.6203, 2013. 2
|
| 286 |
+
[6] Lluis Castrejon, Kaustav Kundu, Raquel Urtasun, and Sanja Fidler. Annotating object instances with a polygon-rnn. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 5230-5238, 2017. 2
|
| 287 |
+
[7] Dominic Cheng, Renjie Liao, Sanja Fidler, and Raquel Urtasun. Darnet: Deep active ray network for building segmentation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 7431-7439, 2019. 2
|
| 288 |
+
[8] Michael Defferrard, Xavier Bresson, and Pierre Vandergheynst. Convolutional neural networks on graphs with fast localized spectral filtering. In D. D. Lee, M. Sugiyama, U. V. Luxburg, I. Guyon, and R. Garnett, editors, Advances in Neural Information Processing Systems 29, pages 3844-3852. Curran Associates, Inc., 2016. 2
|
| 289 |
+
[9] Michael Defferrard, Xavier Bresson, and Pierre Vandergheynst. Convolutional neural networks on graphs with fast localized spectral filtering. In Advances in neural information processing systems, pages 3844-3852, 2016. 2
|
| 290 |
+
[10] David K Duvenaud, Dougal Maclaurin, Jorge Iparraguirre, Rafael Bombarell, Timothy Hirzel, Alán Aspuru-Guzik, and Ryan P Adams. Convolutional networks on graphs for learning molecular fingerprints. In Advances in neural information processing systems, pages 2224-2232, 2015. 2
|
| 291 |
+
[11] Adam Van Etten, Dave Lindenbaum, and Todd M. Bacastow. Spacenet: A remote sensing dataset and challenge series. CoRR, abs/1807.01232, 2018. 2
|
| 292 |
+
[12] Kevin Frans and Chin-Yi Cheng. Unsupervised image to sequence translation with canvas-drawer networks. arXiv preprint arXiv:1809.08340, 2018. 2
|
| 293 |
+
[13] Justin Gilmer, Samuel S Schoenholz, Patrick F Riley, Oriol Vinyals, and George E Dahl. Neural message passing for quantum chemistry. In Proceedings of the 34th International Conference on Machine Learning-Volume 70, pages 1263–1272. JMLR.org, 2017. 2
|
| 294 |
+
|
| 295 |
+
[14] Ryuhei Hamaguchi and Shuhei Hikosaka. Building detection from satellite imagery using ensemble of size-specific detectors. In 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), pages 223-2234. IEEE, 2018. 2, 4, 5, 6
|
| 296 |
+
[15] Kun Huang, Yifan Wang, Zihan Zhou, Tianjiao Ding, Shenghua Gao, and Yi Ma. Learning to parse wireframes in images of man-made environments. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 626-635, 2018. 2
|
| 297 |
+
[16] Jiaye Wu Yasutaka Furukawa Jiacheng Chen, Chen Liu. Floor-sp: Inverse cad for floorplans by sequential room-wise shortest path. In The IEEE International Conference on Computer Vision (ICCV), 2019. 1
|
| 298 |
+
[17] Thomas N Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. arXiv preprint arXiv:1609.02907, 2016. 2
|
| 299 |
+
[18] Chen Liu, Jiaye Wu, and Yasutaka Furukawa. Floornet: A unified framework for floorplan reconstruction from 3d scans. In Proceedings of the European Conference on Computer Vision (ECCV), pages 201-217, 2018. 2
|
| 300 |
+
[19] Chen Liu, Jiajun Wu, Pushmeet Kohli, and Yasutaka Furukawa. Raster-to-vector: Revisiting floorplan transformation. In Proceedings of the IEEE International Conference on Computer Vision, pages 2195-2203, 2017. 2
|
| 301 |
+
[20] Diego Marcos, Devis Tuia, Benjamin Kellenberger, Lisa Zhang, Min Bai, Renjie Liao, and Raquel Urtasun. Learning deep structured active contours end-to-end. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 8877-8885, 2018. 2
|
| 302 |
+
[21] Nauata Nelson and Furukawa Yasutaka. Vectorizing world buildings: Planar graph reconstruction by primitive detection and relationship classification. arXiv preprint arXiv:1912.05135, 2019. 1, 2, 4, 5, 6
|
| 303 |
+
[22] Alejandro Newell, Kaiyu Yang, and Jia Deng. Stacked hourglass networks for human pose estimation. In European conference on computer vision, pages 483-499. Springer, 2016. 2
|
| 304 |
+
[23] Mathias Niepert, Mohamed Ahmed, and Konstantin Kutzkov. Learning convolutional neural networks for graphs. In International conference on machine learning, pages 2014-2023, 2016. 2
|
| 305 |
+
[24] Charles R Qi, Hao Su, Kaichun Mo, and Leonidas J Guibas. Pointnet: Deep learning on point sets for 3d classification and segmentation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 652-660, 2017. 2
|
| 306 |
+
[25] Charles Ruizhongtai Qi, Li Yi, Hao Su, and Leonidas J Guibas. Pointnet++: Deep hierarchical feature learning on point sets in a metric space. In Advances in neural information processing systems, pages 5099-5108, 2017. 2
|
| 307 |
+
[26] Shaoqing Ren, Kaiming He, Ross Girshick, and Jian Sun. Faster r-cnn: Towards real-time object detection with region proposal networks. In Advances in neural information processing systems, pages 91-99, 2015. 3
|
| 308 |
+
[27] Daniel Ritchie, Anna Thomas, Pat Hanrahan, and Noah Goodman. Neurally-guided procedural models: Amortized
|
| 309 |
+
|
| 310 |
+
inference for procedural graphics programs using neural networks. In Advances in neural information processing systems, pages 622-630, 2016. 2
|
| 311 |
+
[28] Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, et al. Imagenet large scale visual recognition challenge. International journal of computer vision, 115(3):211-252, 2015. 3
|
| 312 |
+
[29] Ke Sun, Bin Xiao, Dong Liu, and Jingdong Wang. Deep high-resolution representation learning for human pose estimation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 5693-5703, 2019. 2
|
| 313 |
+
[30] Donglai Xiang, Hanbyul Joo, and Yaser Sheikh. Monocular total capture: Posing face, body, and hands in the wild. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 10965-10974, 2019. 2
|
| 314 |
+
[31] Bin Xiao, Haiping Wu, and Yichen Wei. Simple baselines for human pose estimation and tracking. In Proceedings of the European Conference on Computer Vision (ECCV), pages 466-481, 2018. 2
|
| 315 |
+
[32] Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. How powerful are graph neural networks? In International Conference on Learning Representations, 2019. 2
|
| 316 |
+
[33] Fisher Yu, Vladlen Koltun, and Thomas Funkhouser. Dilated residual networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 472-480, 2017. 3
|
| 317 |
+
[34] Shanxin Yuan, Guillermo Garcia-Hernando, Björn Stenger, Gyeongsik Moon, Ju Yong Chang, Kyoung Mu Lee, Pavlo Molchanov, Jan Kautz, Sina Honari, Liuhao Ge, et al. Depth-based 3d hand pose estimation: From current achievements to future goals. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 2636-2645, 2018. 2
|
| 318 |
+
[35] Huayi Zeng, Jiaye Wu, and Yasutaka Furukawa. Neural procedural reconstruction for residential buildings. In Proceedings of the European Conference on Computer Vision (ECCV), pages 737-753, 2018. 2
|
| 319 |
+
[36] Ziheng Zhang, Zhengxin Li, Ning Bi, Jia Zheng, Jinlei Wang, Kun Huang, Weixin Luo, Yanyu Xu, and Shenghua Gao. Ppgnet: Learning point-pair graph for line segment detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 7105-7114, 2019. 2, 4, 5, 6, 7
|
| 320 |
+
[37] Yichao Zhou, Haozhi Qi, and Yi Ma. End-to-end wireframe parsing. In Proceedings of the IEEE International Conference on Computer Vision, pages 962-971, 2019. 2, 4, 5, 6, 7
|
| 321 |
+
[38] Christian Zimmermann and Thomas Brox. Learning to estimate 3d hand pose from single rgb images. In Proceedings of the IEEE International Conference on Computer Vision, pages 4903-4911, 2017. 2
|
convmpnconvolutionalmessagepassingneuralnetworkforstructuredoutdoorarchitecturereconstruction/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:177fb4f2f67764f474d0ee55f9cc82b97357171743c8f3b2f1967c3f00a145c5
|
| 3 |
+
size 1223883
|
convmpnconvolutionalmessagepassingneuralnetworkforstructuredoutdoorarchitecturereconstruction/layout.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ffdd005263d64ead8a922b4a88e95c48520f7dbf3994442d31dbae8a2467c01e
|
| 3 |
+
size 330029
|
convolutioninthecloudlearningdeformablekernelsin3dgraphconvolutionnetworksforpointcloudanalysis/8d1c3b1a-2bdb-44f0-8da3-0e84b632cc89_content_list.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8a539d924452da5a68dd74d848f518b094a725165d93666feb98bce26db27217
|
| 3 |
+
size 73360
|
convolutioninthecloudlearningdeformablekernelsin3dgraphconvolutionnetworksforpointcloudanalysis/8d1c3b1a-2bdb-44f0-8da3-0e84b632cc89_model.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:871164870db839ebe3ccef6c341d8b61f8633af2f6f2c3782163d044447bc25b
|
| 3 |
+
size 89505
|
convolutioninthecloudlearningdeformablekernelsin3dgraphconvolutionnetworksforpointcloudanalysis/8d1c3b1a-2bdb-44f0-8da3-0e84b632cc89_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:adbb6c59e97978d2c6486ad6108c9e2f693fd4a281683b7a957ffba0164ef28e
|
| 3 |
+
size 805883
|
convolutioninthecloudlearningdeformablekernelsin3dgraphconvolutionnetworksforpointcloudanalysis/full.md
ADDED
|
@@ -0,0 +1,294 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Convolution in the Cloud: Learning Deformable Kernels in 3D Graph Convolution Networks for Point Cloud Analysis
|
| 2 |
+
|
| 3 |
+
Zhi-Hao Lin<sup>1</sup> Sheng-Yu Huang<sup>1</sup> Yu-Chiang Frank Wang<sup>1,2</sup>
|
| 4 |
+
|
| 5 |
+
<sup>1</sup>Graduate Institute of Communication Engineering, National Taiwan University, Taiwan
|
| 6 |
+
<sup>2</sup>ASUS Intelligent Cloud Services, Taiwan
|
| 7 |
+
|
| 8 |
+
{r08942062,r08942095,ycwang}@ntu.edu.tw
|
| 9 |
+
|
| 10 |
+
# Abstract
|
| 11 |
+
|
| 12 |
+
Point clouds are among the popular geometry representations for 3D vision applications. However, without regular structures like 2D images, processing and summarizing information over these unordered data points are very challenging. Although a number of previous works attempt to analyze point clouds and achieve promising performances, their performances would degrade significantly when data variations like shift and scale changes are presented. In this paper, we propose 3D Graph Convolution Networks (3D-GCN), which is designed to extract local 3D features from point clouds across scales, while shift and scale-invariance properties are introduced. The novelty of our 3D-GCN lies in the definition of learnable kernels with a graph max-pooling mechanism. We show that 3D-GCN can be applied to 3D classification and segmentation tasks, with ablation studies and visualizations verifying the design of 3D-GCN. Our code is publicly available at https://github.com/j1a0m0e4sNTU/3dgenc.
|
| 13 |
+
|
| 14 |
+
# 1. Introduction
|
| 15 |
+
|
| 16 |
+
3D vision has been an active research topic, closely related to applications such as augmented reality, drones and self-driving vehicles [20, 15]. Existing 3D data representations include the use of voxel, mesh or point cloud features. Voxels [3, 33] describe 3D objects as voxel grids but generally suffer from insufficient resolution and high memory costs. Meshes are common in animations, while such representations are not directly associated with the 3D sensor outputs [16, 19]. Finally, 3D point clouds focus on describing shape information of 3D objects and can be easily acquired by 3D sensors, but the resulting unordered set of 3D points might limit the subsequent analysis tasks.
|
| 17 |
+
|
| 18 |
+
With the recent remarkable progress of deep learning techniques, in particular the Convolutional Neural Network (CNN), promising performances have been observed in a variety of computer vision tasks [6, 11]. However, image
|
| 19 |
+
|
| 20 |
+

|
| 21 |
+
(a)
|
| 22 |
+
|
| 23 |
+

|
| 24 |
+
(b)
|
| 25 |
+
Figure 1: Convolution in (a) 2D images and (b) 3D graphs. Note that standard 2D CNN cannot be easily applied to handle 3D point cloud data, since the kernels in 3D graph convolution networks need to exhibit additional deformation in shape due to unstructured inputs.
|
| 26 |
+
|
| 27 |
+
data are generally presented in terms of grid structures (e.g., pixels or cells over scales), which makes the convolution operation feasible. For irregular and unstructured data like 3D point clouds, it is not possible to learn and deploy kernels with fixed sizes or patterns on such data. In order to process such an unstructured/unordered set of points, PointNet [21] applies multiple fully connected layers to encode 3D point clouds, followed by global max-pooling operation, and shows impressive results for 3D data recognition and segmentation. Since global pooling operation is deployed, locally structured information of 3D point cloud might not be properly observed. Moreover, it is not designed to be invariant to global transformation like shift or scaling, as we later discuss and verify.
|
| 28 |
+
|
| 29 |
+
To better describe local information of 3D data, some research works utilize mesh data and their corresponding graph structures (i.e., vertices and associated edges) for extracting desirable information. For example, [27, 4] choose to propagate and aggregate features of adjacent vertices for deriving the final representation, while others [16, 2] define kernels with fixed patterns to observe local information.
|
| 30 |
+
|
| 31 |
+
Motivated by the above works, [26, 14, 1, 30, 32] attempt to construct graph-like structures for 3D point clouds. Since such methods consider global coordinates in representing their graphs, shift and scaling effects would degrade the performances of their models.
|
| 32 |
+
|
| 33 |
+
In this paper, we propose a novel deep learning model of 3D Graph Convolution Networks (3D-GCN) for processing and learning structural information of 3D point clouds. Motivated by 2D CNN, we aim at deriving deformable 3D kernels, whose shape and weights are learnable during the training stage. Moreover, similar to the max pooling operation in standard CNN, we perform a unique graph max pooling operation in 3D-GCN to summarize the processed features across different scales. As a result, our 3D-GCN is able to observe and extract structural information of unordered 3D point clouds with arbitrary shape and size. As detailed and confirmed later, our 3D-GCN is invariant to 3D point cloud shift and scaling changes, which are the key properties for real-world 3D vision applications.
|
| 34 |
+
|
| 35 |
+
We now summarize our main contributions as follows:
|
| 36 |
+
|
| 37 |
+
- We propose a 3D Graph Convolution Network (3D-GCN) for processing 3D point cloud data, exhibiting shift and scale-invariant properties for promising classification/segmentation performances.
|
| 38 |
+
- The shape and weights of each kernel in our 3D-GCN are learnable during training, which show capabilities in describing local structural information from unordered 3D point clouds.
|
| 39 |
+
- A novel graph max pooling is also introduced in 3D-GCN, allowing extraction and summarization of point cloud features across different scales for improved performances.
|
| 40 |
+
|
| 41 |
+
# 2. Related Work
|
| 42 |
+
|
| 43 |
+
Multi-view and voxelized methods. Since standard Convolutional Neural Networks cannot be directly applied to handle unstructured data like 3D point clouds, existing works typically choose to convert point clouds into proper representation for further processing purposes. For example, [33, 3, 18, 17, 25] register point features into voxel grid or directly use voxelized 3D shapes as the model input, so that standard 3D CNN can be performed on such input data. Although octree-based methods like [24, 31] have been proposed to refine the resolution of the predicted output, voxel-based methods are generally known to suffer from insufficient resolution and enormous memory consumption for 3D voxel representation.
|
| 44 |
+
|
| 45 |
+
Alternatively, a number of works [28, 9, 22, 29, 1] choose to project 3D shapes onto 2D planes in multiple views, followed by 2D CNN for feature extraction. While impressive results are reported, it cannot be easily extended to 3D data segmentation or reconstruction [11, 6].
|
| 46 |
+
|
| 47 |
+
Point-cloud based methods. In order to deal with 3D point cloud data, PointNet [21] has multiple shared fully connected layers to handle unordered 3D point inputs, followed by channel-wise max-pooling to extract global features to represent 3D point cloud data. While PointNet is able to handle 3D point cloud data without limitation to its unordered property, it essentially learns key point representation of the input object for deriving the final features. Local geometric information is not directly encoded, and this model would be sensitive to input translation and scaling variation, as we later verify.
|
| 48 |
+
|
| 49 |
+
To alleviate the aforementioned problem, researchers propose to sort the 3D points into an ordered list, where neighboring points have smaller euclidean distances in the 3D space. For example, [8] sorts all the points along different dimensions, then employ Recurrent Neural Networks (RNN) to extract features from the resulting sequences. [10, 5] convert the 3D points into an 1D list via kd-tree according to their coordinates, followed by 1D CNNs to extract the corresponding features. Nevertheless, sorting a 3D point set into an 1D list is not trivial; moreover, local geometric information may not be easily preserved in such ordered lists.
|
| 50 |
+
|
| 51 |
+
Geometry-based methods. Different from the aforementioned works which take the entire 3D data as the input, another branch of methods choose to learn local geometric information from a subset of 3D points [23, 32, 26, 14, 7, 13, 34, 30]. By dividing the 3D points into smaller groups, this type of approach extracts features from each local group for representation purposes. For example, PointNet++ [23] divides 3D point clouds into several ball regions, and apply [21] to each ball for local feature extraction. DGCNN [32] constructs local graphs by identifying the nearest neighbors of 3D points in the feature space, followed by the EdgeConv operation for feature extraction. Shen et al. [26] extend the above idea and additionally learn geometry information during feature aggregation. RS-CNN [14] applies weighted sum of neighboring point features, where each weight is learned with MLPs according to geometric relation between two points. These works attempt to extract geometrical information within local regions of 3D point clouds. However, existing methods typically use exact coordinates of points or distance vectors as the input features, and thus the model performance would be influenced by shifting and scaling effects, which would not be preferable for real-world applications like scene segmentation and multi-object detection. In this paper, we propose a novel 3D-GCN with learnable 3D graph kernels and Graph Max-Pooling mechanism, resulting in effective geometric features across different scales while exhibiting scale and shift-invariance.
|
| 52 |
+
|
| 53 |
+

|
| 54 |
+
Figure 2: Illustration of receptive field $R_{n}^{M}$ and kernel $K^{S}$ . We have $R_{n}^{M}$ indicates the $M$ neighboring points for the $n$ th point $\pmb{p}_{n}$ , and kernel $K^{S}$ composes of $S$ supports with center at $\pmb{k}_{C} = (0,0,0)$ . Note that directional vector $d_{m,n}$ and $k_{s}$ are used to measure the similarity in (4).
|
| 55 |
+
|
| 56 |
+
# 3. 3D Graph Convolution Networks
|
| 57 |
+
|
| 58 |
+
# 3.1. Notations
|
| 59 |
+
|
| 60 |
+
We present a novel 3D Graph Convolution Network (3D-GCN) to extract features from point cloud data, with applications to visual classification and semantic segmentation. For the sake of completeness, we define the notations used in this paper as follows. A point cloud instance is viewed as a set, which contains a total of $N$ points $\mathcal{P} = \{\pmb{p}_n\mid n = 1,2,\dots ,N\}$ located on the surface of an object of interest. Note that $\pmb{p}_n$ denotes the $n$ -th point of this instance, and its attributes may describe coordinates $(x_{n},y_{n},z_{n})$ , normal vector $(\nu_n^x,\nu_n^y,\nu_n^z)$ , or RGB color information $(r_n,g_n,b_n)$ . In this work, the point cloud describes only the coordinates of each point on the object surface. In other words, we have $\pmb{p}_n = (x_n,y_n,z_n)$ , and thus a 3D point cloud object is represented by a matrix of size $N\times 3$ .
|
| 61 |
+
|
| 62 |
+
For classification tasks, our 3D-GCN takes the point cloud input and produces the predicted output scores $c$ for each class of interest. For semantic segmentation, we need to predict the part/scene label for each point in a 3D object. Thus, the output would be of size $N \times c$ , which also indicates that the 3D-GCN performs point-wise classification in the task of semantic segmentation.
|
| 63 |
+
|
| 64 |
+
# 3.2. Deformable Kernels for 3D Graph Convolution
|
| 65 |
+
|
| 66 |
+
Receptive Fields in 3D-GCN A 3D point cloud object with $N$ points is denoted as $\mathcal{P} = \{\pmb{p}_n \mid n = 1,2,\dots,N\}, \pmb{p}_n \in \mathbb{R}^3$ . To describe the feature derived at each point in 3D-GCN, we have $\pmb{f}(\pmb{p}) \in \mathbb{R}^{D}$ denote the associated $D$ -dimensional feature vector. To capture local geometric information of each point $\pmb{p}_n$ , we determine the 3D receptive field of $\pmb{p}_n$ by a set of $M$ neighboring points. As illustrated in Figure 2, we denote $R_n^M$ as the receptive
|
| 67 |
+
|
| 68 |
+

|
| 69 |
+
Figure 3: 3D Graph Convolution. As in (4), $sim(\pmb{p}_m, \pmb{k}_s)$ calculates the inner product between $\pmb{f}(\pmb{p}_m)$ and $\pmb{w}(\pmb{k}_s)$ based on the cosine similarity between $\pmb{d}_{m,n}$ and $\pmb{k}_s$ . For each support $\pmb{k}_s$ , the largest sim output among all neighbors $\pmb{p}_m$ is obtained. Summing up with $\langle \pmb{f}(\pmb{p}_n), \pmb{w}(\pmb{k}_C) \rangle$ produces the final convolution output (i.e., (5)).
|
| 70 |
+
|
| 71 |
+
field of point $\pmb{p}_n$ with size $M$ as:
|
| 72 |
+
|
| 73 |
+
$$
|
| 74 |
+
R _ {n} ^ {M} = \left\{\boldsymbol {p} _ {n}, \boldsymbol {p} _ {m} \mid \forall \boldsymbol {p} _ {m} \in \mathcal {N} (\boldsymbol {p} _ {n}, M) \right\}, \tag {1}
|
| 75 |
+
$$
|
| 76 |
+
|
| 77 |
+
where $\mathcal{N}(\pmb{p}_n, M)$ denotes $M$ nearest neighbors of $\pmb{p}_n$ based on the distance $\| \pmb{p}_m - \pmb{p}_n\|$ , and we have the corresponding directional vector $\pmb{d}_{m,n} = \pmb{p}_m - \pmb{p}_n$ calculated for later convolution purposes. We note that, given a 3D point cloud object, we only need to determine the receptive fields for each point once. If the pooling operation is performed in later stages (as discussed in Sect. 3.3), receptive fields for the pooled point clouds at that scale needs to be constructed. In 3D-GCN, the features within the receptive field of $\pmb{p}_n$ with size $M$ is expressed as $\{\pmb{f}(\pmb{p}_n), \pmb{f}(\pmb{p}_m) | \forall \pmb{p}_m \in \mathcal{N}(\pmb{p}_n, M)\}$ . These features will be calculated and updated during the convolution operation, as later discussed.
|
| 78 |
+
|
| 79 |
+
It is worth noting that, recent models for 3D point clouds [23, 30] select neighboring points for each point by a predefined radius $r$ . While parameter $r$ can be tuned to properly describe the local structures of 3D point clouds, their model cannot deal with scale variations as we later discuss and verify in Sect. 4.
|
| 80 |
+
|
| 81 |
+
Learning Kernels in 3D-GCN In standard 2D CNN models, the kernel is composed of weight parameters in grids, sharing the same patterns across image patches (as depicted in Figure 1a). However, for 3D point cloud data, the data points are viewed as an unordered set, and no particular spatial 3D patterns can be observed.
|
| 82 |
+
|
| 83 |
+

|
| 84 |
+
Figure 4: Graph Max-Pooling. This pooling process performs channel-wise max-pooling from the features in the receptive field of each $\pmb{p}_n \in \mathcal{P}^{in}$ , followed by randomly sampling a subset from $\mathcal{P}^{in}$ with a sampling rate $r$ .
|
| 85 |
+
Figure 5: Illustration of the lack of invariance property. Recent models like PointNet [21] require techniques like zero-mean normalization for 3D point cloud representation, which might be sensitive to noisy 3D input points (as verified in Sect. 4).
|
| 86 |
+
|
| 87 |
+
To perform convolution in 3D point cloud structures, we propose 3D Graph Convolution Kernel $K^S$ , where $S$ denotes the number of supports in that kernel. More precisely, we have $K^S$ composed of $S + 1$ kernel points $\pmb{k}_j \in \mathbb{R}^3$ , i.e.,
|
| 88 |
+
|
| 89 |
+
$$
|
| 90 |
+
K ^ {S} = \left\{\boldsymbol {k} _ {C}, \boldsymbol {k} _ {1}, \boldsymbol {k} _ {2}, \dots , \boldsymbol {k} _ {S} \right\}. \tag {2}
|
| 91 |
+
$$
|
| 92 |
+
|
| 93 |
+
Note that $\pmb{k}_C = (0,0,0)$ is the center of the kernel, and $\pmb{k}_1$ to $\pmb{k}_S$ denote the associated supports.
|
| 94 |
+
|
| 95 |
+
In 2D CNN, each element in a kernel is the learned weight which describes the spatial patterns of interest. In our 3D-GCN, we define the weight vector $\boldsymbol{w}(\boldsymbol{k}) \in \mathbb{R}^{D}$ for each kernel point $\boldsymbol{k}$ . Thus, the weighted-sum of features $\boldsymbol{f}(\boldsymbol{p})$ using the corresponding weights would achieve the convolution operation. Since the number and directions of supports might not be the same as the receptive fields of a 3D point, we need to define the directional vector $\boldsymbol{k}_{s} - \boldsymbol{k}_{C} = \boldsymbol{k}_{s}, s = 1, 2, \ldots, S$ for describing the pattern of the learned kernel. As illustrated in Figure 2, expect for $\boldsymbol{k}_{C} = (0, 0, 0)$ , the kernel in 3D-GCN is now defined as $\{\boldsymbol{w}(\boldsymbol{k}_{C}), (\boldsymbol{k}_{s}, \boldsymbol{w}(\boldsymbol{k}_{s})) | s = 1, 2, \ldots, S\}$ , where each element is learned via training.
|
| 96 |
+
|
| 97 |
+
3D Graph Convolution In 2D CNN, the convolution operation can be regarded as calculating the similarity between the 2D kernel and the associated image patch. Larger output values indicate higher visual similarity. With the aforementioned receptive field and kernel definitions for 3D point cloud data, we define 3D Graph Convolution by calculating the similarity between $R_{n}^{M}$ and $K^{S}$ , denoted as $\text{Conv}(R_{n}^{M}, K^{S})$ .
|
| 98 |
+
|
| 99 |
+
However, unlike 2D CNN in which both kernel and image patches are of the same grid structures, it is not trivial to perform convolution in 3D graph structures. Thus, to measure the similarity between the features within the receptive
|
| 100 |
+
|
| 101 |
+

|
| 102 |
+
Normalized 3D object
|
| 103 |
+
|
| 104 |
+

|
| 105 |
+
Normalized 3D object with noisy data
|
| 106 |
+
|
| 107 |
+
field of $\pmb{p_n}$ (i.e., $\pmb {f}(\pmb {p}_n),\pmb {f}(\pmb {p}_m),\forall \pmb {p}_m\in \mathcal{N}(\pmb {p}_n,M)$ as defined in (1)) and weight vectors of kernel $K^S$ centered at $\pmb{k}_{C}$ with $S$ supports (i.e., $\pmb {w}(\pmb {k}_C),\pmb {w}(\pmb {k}_s),\forall s = 1,2,\dots ,S)$ we consider all possible pairs between $(\pmb {p}_m,\pmb {k}_s)$ . Thus, Conv $(R_{n}^{M},K^{S})$ in 3D-GCN is defined as:
|
| 108 |
+
|
| 109 |
+
$$
|
| 110 |
+
\operatorname {C o n v} \left(R _ {n} ^ {M}, K ^ {S}\right) = \left\langle \boldsymbol {f} \left(\boldsymbol {p} _ {n}\right), \boldsymbol {w} \left(\boldsymbol {k} _ {C}\right) \right\rangle + g (\mathcal {A}), \tag {3}
|
| 111 |
+
$$
|
| 112 |
+
|
| 113 |
+
where $\langle \cdot \rangle$ denotes the inner-product operation, and $\mathcal{A} = \{\operatorname{sim}(\pmb{p}_m, \pmb{k}_s) | \forall m \in (1, M), \forall s \in (1, S)\}$ . Note that the sim function in (3) is defined as:
|
| 114 |
+
|
| 115 |
+
$$
|
| 116 |
+
\operatorname {s i m} \left(\boldsymbol {p} _ {m}, \boldsymbol {k} _ {s}\right) = \left\langle \boldsymbol {f} \left(\boldsymbol {p} _ {m}\right), \boldsymbol {w} \left(\boldsymbol {k} _ {s}\right) \right\rangle \frac {\left\langle \boldsymbol {d} _ {m , n} , \boldsymbol {k} _ {s} \right\rangle}{\| \boldsymbol {d} _ {m , n} \| \| \boldsymbol {k} _ {s} \|}, \tag {4}
|
| 117 |
+
$$
|
| 118 |
+
|
| 119 |
+
which calculates the inner product between $\pmb{f}(\pmb{p}_n)$ and $\pmb{w}(\pmb{k}_C)$ based on their cosine similarity. The function $g$ in (3) sums up the maximum similarity $\text{sim}(\pmb{p}_m, \pmb{k}_s)$ for each support $\pmb{k}_s$ in that kernel. With the above definitions, the 3D Graph Convolution operation in our 3D-GCN is calculated as:
|
| 120 |
+
|
| 121 |
+
$$
|
| 122 |
+
\begin{array}{l} \operatorname {C o n v} \left(R _ {n} ^ {M}, K ^ {S}\right) = \left\langle \boldsymbol {f} \left(\boldsymbol {p} _ {n}\right), \boldsymbol {w} \left(\boldsymbol {k} _ {C}\right) \right\rangle \\ + \sum_ {s = 1} ^ {S} \max _ {m \in (1, M)} \left\{\operatorname {s i m} \left(\boldsymbol {p} _ {m}, \boldsymbol {k} _ {s}\right) \right\}. \tag {5} \\ \end{array}
|
| 123 |
+
$$
|
| 124 |
+
|
| 125 |
+
Recall that the neighbors $M$ and supports $S$ are the hyperparameters (similar to the kernel sizes in 2D CNN). Note that (5) utilizes directional vectors $\pmb{d}_{m,n}$ within $R_{n}^{M}$ instead of global coordinates, which introduces shift-invariant property to our 3D-GCN model. In addition, the similarity function in (4) simply calculates the cosine similarity between $\pmb{d}_{m,n}$ and $\pmb{k}_s$ regardless of their lengths. Therefore, the scale-invariant property can be jointly observed by our 3D-GCN. Figure 3 illustrates 3D Graph Convolution operation in our 3D-GCN.
|
| 126 |
+
|
| 127 |
+
# 3.3. Convolution and Pooling in 3D-GCN
|
| 128 |
+
|
| 129 |
+
3D Graph Convolution Layer A 3D Graph Convolution layer is composed of a pre-determined number $L$ of
|
| 130 |
+
|
| 131 |
+

|
| 132 |
+
(a) Classification
|
| 133 |
+
|
| 134 |
+

|
| 135 |
+
(b) Part segmentation
|
| 136 |
+
Figure 6: Architecture of 3D-GCN for (a) classification and (b) part segmentation. Note that grey and yellow blocks denote point and feature inputs, respectively. Green arrows denote 3D Graph Convolution Layers, while green triangles denote the Graph Max-Pooling layer. We have MLP and outputs denoted in brown and blue, respectively.
|
| 137 |
+
|
| 138 |
+
kernels $K^S$ , each with a constant support number, which can be denoted as $\{K_i^S | i = 1,2,\dots,L\}$ . Taking the 3D point cloud input $\mathcal{P} \in \mathbb{R}^{N \times 3}$ with the corresponding $D$ -dimensional features $\mathcal{F}^{in} \in \mathbb{R}^{N \times D}$ , our 3D Graph Convolution Layer applies (5) with each kernel respectively, producing output features $\mathcal{F}^{out} \in \mathbb{R}^{N \times L}$ . Thus, each output layer $i = 1,2,\dots,L$ can be expressed as:
|
| 139 |
+
|
| 140 |
+
$$
|
| 141 |
+
\operatorname {C o n v L a y e r} \left(\left(\mathcal {P}, \mathcal {F} ^ {i n}\right), K _ {i} ^ {S}\right) = \left(\mathcal {P}, \mathcal {F} _ {i} ^ {\text {o u t}}\right), \tag {6}
|
| 142 |
+
$$
|
| 143 |
+
|
| 144 |
+
where $\mathcal{F}_i^{out} \in \mathbb{R}^N$ is the $i$ -th channel of $\mathcal{F}^{out}$ . To initialize the convolution and learning process, we simply set $\pmb{f}(\pmb{p}) = 1, \forall \pmb{p} \in \mathcal{P}$ , and $\pmb{w}(\pmb{k}) = 1, \forall \pmb{k}$ in the first input layer. In other words, we only consider directional information to initialize 3D-GCN operations.
|
| 145 |
+
|
| 146 |
+
3D Graph Max-Pooling Pooling operation plays an important role in standard 2D CNN, which summarizes the dominant responses within each scale for later high-level processing purposes, resulting in coarse-to-fine feature extraction. In 3D-GCN, we also propose a pooling operation, 3D Graph Max-Pooling, for performing similar mechanisms in 3D point clouds.
|
| 147 |
+
|
| 148 |
+
Our 3D Graph Max-Pooling layer takes the receptive field of each point $R_{n}^{M}$ , and applies channel-wise max-pooling to aggregate features $\pmb{f}(\pmb{p}), \forall \pmb{p} \in R_{n}^{M}$ , followed by sampling a subset of $\mathcal{P}$ with a sampling rate $r$ . Thus, this pooling process can be formulated as:
|
| 149 |
+
|
| 150 |
+
$$
|
| 151 |
+
\operatorname {P o o l L a y e r} _ {r} \left(\mathcal {P} ^ {i n}, \mathcal {F} ^ {i n}\right) = \left(\mathcal {P} ^ {\text {o u t}}, \mathcal {F} ^ {\text {o u t}}\right), \tag {7}
|
| 152 |
+
$$
|
| 153 |
+
|
| 154 |
+
where $\mathcal{P}^{in}\in \mathbb{R}^{N\times 3},\mathcal{P}^{out}\in \mathbb{R}^{\frac{N}{r}\times 3}$ , and $\mathcal{F}^{in}\in \mathbb{R}^{N\times D},\mathcal{F}^{out}\in \mathbb{R}^{\frac{N}{r}\times D}$ . As depicted in Figure 4, this pooling layer enables us to learn multi-scale 3D point cloud features, and make learning and calculation more efficient, which are crucial factors in 3D deep learning models.
|
| 155 |
+
|
| 156 |
+
Invariance Properties By learning the directional information within local receptive fields via 3D graph kernels,
|
| 157 |
+
|
| 158 |
+
together with the pooling mechanism, our 3D-GCN exhibits promising shift and scale invariance properties. While existing works like [14, 21, 23, 26, 30] report promising performances, they typically consider global coordinates or require point cloud normalization to alleviate such data variances, which would limit their invariance properties (see examples in Figure 5). In Sect. 4), we will compare thorough experiments to confirm the robustness of our 3D-GCN when the above variants are presented.
|
| 159 |
+
|
| 160 |
+
# 3.4. 3D Point Cloud Analysis
|
| 161 |
+
|
| 162 |
+
Classification To train 3D-GCN to recognize 3D point cloud data as particular categories, we apply and combine multiple 3D graph convolution and max-pooling layers, followed by adding multi-layer perceptron (MLP) for predicting the desirable outputs. Standard soft-max losses and backpropagation can be calculated to learn such 3D-GCN models (see Figure 6a for example architectures).
|
| 163 |
+
|
| 164 |
+
Semantic Segmentation One can also apply 3D-GCN to perform 3D point cloud semantic segmentation. To achieve this goal, we aggregate multi-scale features and advance a shared-MLP for point-wise classification. We note that, when aggregating features across different scales $j$ and $j + 1$ , the number of 3D points do not match due to the pooling mechanism. Thus, for example, to concatenate the feature at $p_n^j$ in scale $j$ with that from $j + 1$ , we perform the following operation to identify the corresponding point of interest in scale $j + 1$ :
|
| 165 |
+
|
| 166 |
+
$$
|
| 167 |
+
\boldsymbol {p} _ {\tilde {n}} ^ {j + 1} = \arg \min _ {\boldsymbol {p}} \left\{\| \boldsymbol {p} - \boldsymbol {p} _ {n} ^ {j} \| | \forall \boldsymbol {p} \in \mathcal {P} ^ {j + 1} \right\}. \tag {8}
|
| 168 |
+
$$
|
| 169 |
+
|
| 170 |
+
Thus, the concatenated features would be $\left(\pmb {f}(\pmb {p}_n^j),\pmb {f}(\pmb{p}_{\tilde{n}}^{j + 1})\right)$ The architecture of 3D-GCN for semantic segmentation is illustrated in Figure 6b.
|
| 171 |
+
|
| 172 |
+

|
| 173 |
+
(a)
|
| 174 |
+
|
| 175 |
+

|
| 176 |
+
(b)
|
| 177 |
+
Figure 7: Evaluation of invariance properties on ModelNet40. (a) Shift: Objects randomly shifted within a distance along all directions (with unshifted version denoted as 0), (b) Scale: Objects scaled to different sizes (with the original size denoted as 1), (c) Rotation: Objects rotated along the upward direction (degree is denoted in this figure). Note that DGCNN in [32] was pre-trained on objects with scale variants (i.e., scale within [0.5, 1.5]), but it cannot handle unseen scale variants as shown in (b).
|
| 178 |
+
|
| 179 |
+

|
| 180 |
+
(c)
|
| 181 |
+
|
| 182 |
+
# 4. Experiments
|
| 183 |
+
|
| 184 |
+
# 4.1. 3D Model Classification
|
| 185 |
+
|
| 186 |
+
Dataset. We evaluate 3D-GCN for 3D shape classification on the ModelNet40 [33] dataset, which consists of 12311 CAD models of 40-categories, splitting into 9843 3D objects for training and 2468 for testing. To generate point clouds for training and testing, we sample 1024 points uniformly from the surface of each object without any normalization during training and testing.
|
| 187 |
+
|
| 188 |
+
Network configuration. Our 3D-GCN model structure for classification is shown in Figure 6a. The feature-extracting part is composed of 5 3D graph convolution layers, with kernel numbers (32, 64, 128, 256, 1024) from low to high-level layers. We set the support number $S = 1$ for our kernels, and neighbor number $M = 25$ for the receptive fields. There are 3 3D Graph max-pooling layers in model structure, all with a fixed sample ratio $r = 4$ . Following PointNet [21], the output feature of last 3D Graph Convolution Layer in our 3D-GCN is applied with global max-pooling, resulting a final feature representation of 1024 dimension. For classification, the MLP is of 2 layers, where Batchnorm and Dropout with drop ratio of 0.3 applied after the fist layer of MLP. We train our network with batch size 8, learning rate 0.0001 which is decayed half every 10 epochs, using the ADAM optimizer.
|
| 189 |
+
|
| 190 |
+
Results. The classification results of our 3D-GCN are listed in Table 1, in which we also compare our results with a number of recent approaches including PointNet [21], PointNet++ [23], DGCNN [32] and KPCov [30]. From this table, we see that our 3D-GCN is generally comparable or performs favorably against several state-of-the-art mod-
|
| 191 |
+
|
| 192 |
+
<table><tr><td>Method</td><td>input</td><td>#points</td><td>Acc.(%)</td></tr><tr><td>ECC [27]</td><td>xyz</td><td>1k</td><td>87.4</td></tr><tr><td>PointNet [21]</td><td>xyz</td><td>1k</td><td>89.2</td></tr><tr><td>Kd-Net (depth=10) [10]</td><td>xyz</td><td>1k</td><td>90.6</td></tr><tr><td>PointNet++ [23]</td><td>xyz</td><td>1k</td><td>90.7</td></tr><tr><td>KCNet [26]</td><td>xyz</td><td>1k</td><td>91.0</td></tr><tr><td>MRTNet [5]</td><td>xyz</td><td>1k</td><td>91.2</td></tr><tr><td>DGCNN [32]</td><td>xyz</td><td>1k</td><td>92.9</td></tr><tr><td>SO-Net [12]</td><td>xyz</td><td>2k</td><td>90.9</td></tr><tr><td>KPConv rigid [30]</td><td>xyz</td><td>6.8k</td><td>92.9</td></tr><tr><td>PointNet++ [23]</td><td>xyz, normal</td><td>5k</td><td>91.9</td></tr><tr><td>SO-Net [12]</td><td>xyz, normal</td><td>5k</td><td>93.4</td></tr><tr><td>Ours</td><td>xyz</td><td>1k</td><td>92.1</td></tr></table>
|
| 193 |
+
|
| 194 |
+
Table 1: Shape classification results on ModelNet40. Note that "normal" denotes the normal vectors of object surfaces. We see that our method achieved comparable or improved results with inputs of size only 1k points.
|
| 195 |
+
|
| 196 |
+
els when the test data are without any shift or scale variations presented.
|
| 197 |
+
|
| 198 |
+
To further evaluate the invariance properties of our model, we compare to the above models using 3D point cloud data with 1024 points, normalized to a unit sphere with zero mean, without data augmentation. We test them under three different situations: coordinate shift, shape scaling, and shape rotation. The results are shown in Figure 7a, 7b, and 7c, respectively. From the results shown in these figures, we see that the performance of PointNet and DGCNN significantly dropped with coordinate shifts, which is caused by extracting features from global coordinates. When scale variants are presented, only our model was able to perform recognition with satisfactory performances. As for shape rotation, better invariance ability was exhibited by our 3D-GCN. Thus, the above experiments confirm the effectiveness and robustness of our 3D-GCN.
|
| 199 |
+
|
| 200 |
+
<table><tr><td>method</td><td>class mIOU</td><td>instance mIOU</td><td>air plane</td><td>bag</td><td>cap</td><td>car</td><td>chair</td><td>ear phone</td><td>guitar</td><td>knife</td><td>lamp</td><td>laptop</td><td>motor bike</td><td>mug</td><td>pistol</td><td>rocket</td><td>skate board</td><td>table</td></tr><tr><td>Kd-Net [10]</td><td>77.4</td><td>82.3</td><td>80.1</td><td>74.6</td><td>74.3</td><td>70.3</td><td>88.6</td><td>73.5</td><td>90.2</td><td>87.2</td><td>81.0</td><td>84.9</td><td>87.4</td><td>86.7</td><td>78.1</td><td>51.8</td><td>69.9</td><td>80.3</td></tr><tr><td>MRTNet [5]</td><td>79.3</td><td>83.0</td><td>81.0</td><td>76.7</td><td>87.0</td><td>73.8</td><td>89.1</td><td>67.6</td><td>90.6</td><td>85.4</td><td>80.6</td><td>95.1</td><td>64.4</td><td>91.8</td><td>79.7</td><td>87.0</td><td>69.1</td><td>80.6</td></tr><tr><td>PointNet [21]</td><td>80.4</td><td>83.7</td><td>83.4</td><td>78.7</td><td>82.5</td><td>74.9</td><td>89.6</td><td>73.0</td><td>91.5</td><td>85.9</td><td>80.8</td><td>95.3</td><td>65.2</td><td>93.0</td><td>81.2</td><td>57.9</td><td>72.8</td><td>80.6</td></tr><tr><td>KCNet [26]</td><td>82.2</td><td>84.7</td><td>82.8</td><td>81.5</td><td>86.4</td><td>77.6</td><td>90.3</td><td>76.8</td><td>91.0</td><td>87.2</td><td>84.5</td><td>95.5</td><td>69.2</td><td>94.4</td><td>81.6</td><td>60.1</td><td>75.2</td><td>81.3</td></tr><tr><td>RS-Net [8]</td><td>81.4</td><td>84.9</td><td>82.7</td><td>86.4</td><td>84.1</td><td>78.2</td><td>90.4</td><td>69.3</td><td>91.4</td><td>87.0</td><td>83.5</td><td>95.4</td><td>66.0</td><td>92.6</td><td>81.8</td><td>56.1</td><td>75.8</td><td>82.2</td></tr><tr><td>SO-Net [12]</td><td>81.0</td><td>84.9</td><td>82.8</td><td>77.8</td><td>88.0</td><td>77.3</td><td>90.6</td><td>73.5</td><td>90.7</td><td>83.9</td><td>82.8</td><td>94.8</td><td>69.1</td><td>94.2</td><td>80.9</td><td>53.1</td><td>72.9</td><td>83.0</td></tr><tr><td>PointNet++ [23]</td><td>81.9</td><td>85.1</td><td>82.4</td><td>79.0</td><td>87.7</td><td>77.3</td><td>90.8</td><td>71.8</td><td>91.0</td><td>85.9</td><td>83.7</td><td>95.3</td><td>71.6</td><td>94.1</td><td>81.3</td><td>58.7</td><td>76.4</td><td>82.6</td></tr><tr><td>DGCNN [32]</td><td>82.3</td><td>85.2</td><td>84.0</td><td>83.4</td><td>86.7</td><td>77.8</td><td>90.6</td><td>74.7</td><td>91.2</td><td>87.5</td><td>82.8</td><td>95.7</td><td>66.3</td><td>94.9</td><td>81.1</td><td>63.5</td><td>74.5</td><td>82.6</td></tr><tr><td>KPConv deform [30]</td><td>85.1</td><td>86.4</td><td>84.6</td><td>86.3</td><td>87.2</td><td>81.1</td><td>91.1</td><td>77.8</td><td>92.6</td><td>88.4</td><td>82.7</td><td>96.2</td><td>78.1</td><td>95.8</td><td>85.4</td><td>69.0</td><td>82.0</td><td>83.6</td></tr><tr><td>Ours</td><td>82.1</td><td>85.1</td><td>83.1</td><td>84.0</td><td>86.6</td><td>77.5</td><td>90.3</td><td>74.1</td><td>90.9</td><td>86.4</td><td>83.8</td><td>95.6</td><td>66.8</td><td>94.8</td><td>81.3</td><td>59.6</td><td>75.7</td><td>82.8</td></tr></table>
|
| 201 |
+
|
| 202 |
+
Table 2: Part segmentation results on ShapeNetPart. Note that while our method achieved comparable results as state-of-the-art models did, our model complexity was significantly less than others as discussed in Sect. 4.4.
|
| 203 |
+
|
| 204 |
+

|
| 205 |
+
Figure 8: Visualization of part segmentation on ShapeNetPart. We compare our segmentation outputs to those produced by KPCov [30] and PointNet++ [23]. In addition, shift (by 100) and scale (by 10 times) variations are presented for evaluating the invariance capacity for each model. Note that GT denotes the ground truth part labels.
|
| 206 |
+
|
| 207 |
+
# 4.2. 3D Model Part Segmentation
|
| 208 |
+
|
| 209 |
+
Dataset. To evaluate the use of 3D-GCN for part segmentation, we consider the ShapeNetPart dataset [35], which consists of 16881 CAD models from 16 object types, with each point in an object corresponding to a part label. With a total of 50 categories, 2 to 6 part categories are available for each object type. In our work, we sample 1024 points from each 3D model for training and testing.
|
| 210 |
+
|
| 211 |
+
Network configuration. The model architecture is shown in Figure 6b. The feature-extracting part is composed of 5 layers with kernel numbers (128, 128, 256, 256, 512) at the associated layers, and two 3D Graph Max-pooling layers with a fixed sample ratio $r = 4$ are deployed. We set the support number $S = 1$ for each kernel, and neighbor number $M = 50$ for the receptive field in 3D-GCN. The features for segmentation are concatenated from the layer outputs at different scales, as described in Section 3.4. Following PointNet [21], we also have one-hot vectors indicating object type concatenated to the above features, followed by 3 shared MLP layers to classify the segment label for each point. We train the 3D-GCN with learning rate 0.001 and
|
| 212 |
+
|
| 213 |
+
decayed half every 10 epochs, using the ADAM optimizer.
|
| 214 |
+
|
| 215 |
+
Results. We evaluate the segmentation performance in terms of mean intersection over union (mIoU), which is the average IoU of each part type in that object category. Note that the mIoU of each category is calculated by averaging mIoUs of all the shape instances. More specifically, class mIoU is the average of mIoU over all 16 categories, while instance mIoU is the average of mIoU over all instances. The part segmentation results are listed in Table 2. Note that without using global coordinates, our 3D-GCN achieved comparable or better results than recent approaches did.
|
| 216 |
+
|
| 217 |
+
Furthermore, we demonstrate the robustness of 3D-GCN by visualizing the segmentation result under different transformations of an object, as shown in Figure 8. We shift the center/coordinates of each object by 100 and enlarge object size by 10 times, and Figure 8 compares our segmentation performances with others. We found that KPCov [30] and PointNet++ [23] failed to properly segment the corresponding parts in both cases. On the other hand, our 3D-GCN exhibited very promising invariance capabilities regardless of shift and scale variations.
|
| 218 |
+
|
| 219 |
+
<table><tr><td>Neighboring ratio (%)</td><td>5</td><td>10</td><td>30</td></tr><tr><td>Accuracy (%)</td><td>63.3</td><td>86.8</td><td>85.1</td></tr></table>
|
| 220 |
+
|
| 221 |
+
Table 3: Effects on shape classification on ModelNet40 with varying neighboring ratio. Note that insufficient numbers of neighbors are not expected to properly represent the receptive fields, while the performances would be less sensitive to larger numbers due to our learnable kernels.
|
| 222 |
+
|
| 223 |
+
<table><tr><td>Directional vector</td><td>A</td><td>B</td><td>C</td></tr><tr><td>Accuracy(%)</td><td>89.5</td><td>92.2</td><td>93.9</td></tr></table>
|
| 224 |
+
|
| 225 |
+
# 4.3. Ablation Study
|
| 226 |
+
|
| 227 |
+
Neighbor number $M$ in receptive fields. We now conduct experiments on 3D-GCN by varying the neighbor number ratio when constructing the receptive fields in 3D-GCN (e.g., ratio $5\%$ indicates we set the receptive field size as $M = 100 \times 0.05 = 5$ ). The results are shown in Table 3. From this table, we see that insufficient or excessive neighbor numbers would affect the performance of 3D-GCN in describing local structural information of 3D point clouds, thus moderate neighbor number leads to better performance.
|
| 228 |
+
|
| 229 |
+
Learning of directional vector $k_{s}$ for each kernel. To demonstrate the power of learnable/deformable kernels in 3D-GCN, we consider three possible uses of directional vectors $k_{s}$ in kernel $K^{S}$ (we fix the support number $S$ as 3). We first consider the inner product between the receptive field and the kernel as simply a correlation between the associated features, regardless of their geometry/cosine similarity. That is, (4) is simply replaced by $\operatorname{sim}(\pmb{p}_m, \pmb{k}_s) = \langle \pmb{f}(\pmb{p}_m), \pmb{w}(\pmb{k}_s) \rangle$ . The resulting accuracy is shown in the first column in Table 4. We next consider and assign 3 unit vectors along each axis (e.g., $(1,0,0)$ along x-axis) as the 3 directional vectors $k_{s}$ . Since these vectors are not learnable, and results shown in the second column of Table 4 was not satisfactory either. Finally, as shown in the last column of the table, we verify that the use of our learnable $k_{s}$ would be desirable. Note that directional information is important for extracting geometric information, and learnable $k_{s}$ makes kernel deformable and fitting the object of interest, which is why improved recognition performance can be achieved.
|
| 230 |
+
|
| 231 |
+
# 4.4. Visualization and Complexity analysis
|
| 232 |
+
|
| 233 |
+
In Figure 9, we visualize the points of an object which have large response values at each layer of our 3D-GCN. From low to high-level layers, we can see that responses
|
| 234 |
+
|
| 235 |
+

|
| 236 |
+
Figure 9: Example kernel responses in different layers (segmentation on ShapeNetPart). Note that points with larger responses are colored in darker red. As expected, the dominant responses are shifted from point (low) to part (high) levels in 3D-GCN.
|
| 237 |
+
|
| 238 |
+
Table 4: Effects on shape classification on ModelNet10 using learnable directional vector or not. A: no directional information, B: assign three unit vectors (along 3 axes) as $k_{s}$ , and C: our learnable directional vectors.
|
| 239 |
+
|
| 240 |
+
<table><tr><td>method</td><td>#params</td><td>Acc. (%)</td></tr><tr><td>PointNet [21]</td><td>3.5M</td><td>89.2</td></tr><tr><td>PointNet++ [23]</td><td>1.48M</td><td>91.9</td></tr><tr><td>DGCNN [32]</td><td>1.81M</td><td>92.9</td></tr><tr><td>KPCov [30]</td><td>14.3M</td><td>92.9</td></tr><tr><td>Ours</td><td>0.89M</td><td>92.1</td></tr></table>
|
| 241 |
+
|
| 242 |
+
Table 5: Number of parameters in different models (classification on ModelNet40).
|
| 243 |
+
|
| 244 |
+
were shifted from point to part levels, which confirms our ability in processing and summarizing 3D information across scales, which is equivalent to the use of 2D CNN in describing image data.
|
| 245 |
+
|
| 246 |
+
On the other hand, we compare the number of parameters of recent 3D point cloud models, and list the comparison outputs in Table 5. From this table, we see that our model achieves comparable recognition performances as state-of-the-art models did, while our model requires the fewest amount of parameters. This confirms both effectiveness and efficiency of our proposed 3D-GCN.
|
| 247 |
+
|
| 248 |
+
# 5. Conclusion
|
| 249 |
+
|
| 250 |
+
In this work, we introduced 3D-GCN which learns geometrical information of 3D point clouds across scales, and thus exhibits properties of shift and scale invariance. The technical contributions of our 3D-GCN lie in the design and learning of learnable kernels in 3D graphs, and the proposed scheme for graph max-pooling from 3D point clouds. While our model achieved comparable or improved classification and segmentation performances than recent state-of-the-art models did, we confirmed that our model is invariant to shift and scale changes and is computationally more efficient.
|
| 251 |
+
|
| 252 |
+
Acknowledgement This work is supported in part by the Ministry of Science and Technology of Taiwan under grant MOST 108-2634-F-002-018.
|
| 253 |
+
|
| 254 |
+
# References
|
| 255 |
+
|
| 256 |
+
[1] Matan Atzmon, Haggai Maron, and Yaron Lipman. Point Convolutional Neural Networks by Extension Operators. arXiv preprint arXiv:1803.10091, 2018. 2
|
| 257 |
+
[2] Davide Boscaini, Jonathan Masci, Emanuele Rodola, and Michael Bronstein. Learning Shape Correspondence with Anisotropic Convolutional Neural Networks. In Advances in Neural Information Processing Systems, 2016. 1
|
| 258 |
+
[3] Christopher B Choy, Danfei Xu, JunYoung Gwak, Kevin Chen, and Silvio Savarese. 3D-R2N2: A Unified Approach for Single and Multi-view 3D Object Reconstruction. In Proceedings of the European Conference on Computer Vision (ECCV), 2016. 1, 2
|
| 259 |
+
[4] Yutong Feng, Yifan Feng, Haoxuan You, Xibin Zhao, and Yue Gao. MeshNet: Mesh Neural Network for 3D Shape Representation. In Proceedings of the AAAI Conference on Artificial Intelligence (AAAI), 2019. 1
|
| 260 |
+
[5] Matheus Gadelha, Rui Wang, and Subhransu Maji. Multiresolution Tree Networks for 3D Point Cloud Processing. In Proceedings of the European Conference on Computer Vision (ECCV), 2018. 2, 6, 7
|
| 261 |
+
[6] 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 (CVPR), 2016. 1, 2
|
| 262 |
+
[7] Binh-Son Hua, Minh-Khoi Tran, and Sai-Kit Yeung. Pointwise Convolutional Neural Networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2018. 2
|
| 263 |
+
[8] Qiangui Huang, Weiyue Wang, and Ulrich Neumann. Recurrent Slice Networks for 3D Segmentation of Point Clouds. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2018. 2, 7
|
| 264 |
+
[9] Asako Kanezaki, Yasuyuki Matsushita, and Yoshifumi Nishida. RotationNet: Joint Object Categorization and Pose Estimation Using Multiviews from Unsupervised Viewpoints. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2018. 2
|
| 265 |
+
[10] Roman Klokov and Victor Lempitsky. Escape From Cells: Deep Kd-Networks for the Recognition of 3D Point Cloud Models. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), 2017. 2, 6, 7
|
| 266 |
+
[11] Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In Advances in Neural Information Processing Systems (NIPS), 2012. 1, 2
|
| 267 |
+
[12] Jiaxin Li, Ben M Chen, and Gim Hee Lee. SO-Net: Self-Organizing Network for Point Cloud Analysis. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2018. 6, 7
|
| 268 |
+
[13] Yangyan Li, Rui Bu, Mingchao Sun, Wei Wu, Xinhan Di, and Baoquan Chen. PointCNN: Convolution on X-Transformed Points. In Advances in Neural Information Processing Systems, 2018. 2
|
| 269 |
+
[14] Yongcheng Liu, Bin Fan, Shiming Xiang, and Chunhong Pan. Relation-Shape Convolutional Neural Network for
|
| 270 |
+
|
| 271 |
+
Point Cloud Analysis. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2019. 2, 5
|
| 272 |
+
[15] Wenjie Luo, Bin Yang, and Raquel Urtasun. Fast and Furious: Real Time End-to-End 3D Detection, Tracking and Motion Forecasting with a Single Convolutional Net. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2018. 1
|
| 273 |
+
[16] Jonathan Masci, Davide Boscaini, Michael Bronstein, and Pierre Vandergheynst. Geodesic convolutional Neural Networks on Riemannian Manifolds. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), 2015. 1
|
| 274 |
+
[17] Daniel Maturana and Sebastian Scherer. VoxNet: A 3D Convolutional Neural Network for Real-time Object Recognition. In Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS). IEEE, 2015. 2
|
| 275 |
+
[18] Hsien-Yu Meng, Lin Gao, YuKun Lai, and Dinesh Manocha. VV-Net: Voxel VAE Net with Group Convolutions for Point Cloud Segmentation. arXiv preprint arXiv:1811.04337, 2018.2
|
| 276 |
+
[19] Federico Monti, Davide Boscaini, Jonathan Masci, Emanuele Rodola, Jan Svoboda, and Michael M Bronstein. Geometric Deep Learning on Graphs and Manifolds Using Mixture Model CNNs. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2017. 1
|
| 277 |
+
[20] Charles R Qi, Wei Liu, Chenxia Wu, Hao Su, and Leonidas J Guibas. Frustum PointNets for 3D Object Detection from RGB-D Data. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2018. 1
|
| 278 |
+
[21] Charles R Qi, Hao Su, Kaichun Mo, and Leonidas J Guibas. Pointnet: Deep Learning on Point Sets for 3D Classification and Segmentation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2017. 1, 2, 4, 5, 6, 7, 8
|
| 279 |
+
[22] Charles R Qi, Hao Su, Matthias Nießner, Angela Dai, Mengyuan Yan, and Leonidas J Guibas. Volumetric and Multi-view CNNs for Object Classification on 3D Data. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2016. 2
|
| 280 |
+
[23] Charles Ruizhongtai Qi, Li Yi, Hao Su, and Leonidas J Guibas. Pointnet++: Deep Hierarchical Feature Learning on Point Sets in a Metric Space. In Advances in Neural Information Processing Systems (NIPS), 2017. 2, 3, 5, 6, 7, 8
|
| 281 |
+
[24] Gernot Riegler, Ali Osman Ulusoy, and Andreas Geiger. OctNet: Learning Deep 3D Representations at High Resolutions. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2017. 2
|
| 282 |
+
[25] Xavier Roynard, Jean-Emmanuel Deschaud, and François Goulette. Classification of Point Cloud Scenes with Multiscale Voxel Deep Network. arXiv preprint arXiv:1804.03583, 2018. 2
|
| 283 |
+
[26] Yiru Shen, Chen Feng, Yaoqing Yang, and Dong Tian. Mining Point Cloud Local Structures by Kernel Correlation and
|
| 284 |
+
|
| 285 |
+
Graph Pooling. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2018. 2, 5, 6, 7
|
| 286 |
+
[27] Martin Simonovsky and Nikos Komodakis. Dynamic Edge-Conditioned Filters in Convolutional Neural Networks on Graphs. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2017. 1, 6
|
| 287 |
+
[28] Hang Su, Subhransu Maji, Evangelos Kalogerakis, and Erik Learned-Miller. Multi-view Convolutional Neural Networks for 3D Shape Recognition. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), 2015. 2
|
| 288 |
+
[29] Maxim Tatarchenko, Jaesik Park, Vladlen Koltun, and Qian-Yi Zhou. Tangent Convolutions for Dense Prediction in 3D. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2018. 2
|
| 289 |
+
[30] Hugues Thomas, Charles R. Qi, Jean-Emmanuel Deschaud, Beatz Marcotegui, Francois Goulette, and Leonidas J. Guibas. KPCov: Flexible and Deformable Convolution for Point Clouds. In The IEEE International Conference on Computer Vision (ICCV), 2019. 2, 3, 5, 6, 7, 8
|
| 290 |
+
[31] Peng-Shuai Wang, Yang Liu, Yu-Xiao Guo, Chun-Yu Sun, and Xin Tong. O-CNN: Octree-based Convolutional Neural Networks for 3D Shape Analysis. ACM Transactions on Graphics (TOG), 36(4):72, 2017. 2
|
| 291 |
+
[32] Yue Wang, Yongbin Sun, Ziwei Liu, Sanjay E. Sarma, Michael M. Bronstein, and Justin M. Solomon. Dynamic Graph CNN for Learning on Point Clouds. ACM Transactions on Graphics (TOG), 38(5):146:1-146:12, 2019. 2, 6, 7, 8
|
| 292 |
+
[33] Zhirong Wu, Shuran Song, Aditya Khosla, Fisher Yu, Linguuang Zhang, Xiaou Tang, and Jianxiong Xiao. 3D ShapeNets: A Deep Representation for Volumetric Shapes. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2015. 1, 2, 6
|
| 293 |
+
[34] Yifan Xu, Tianqi Fan, Mingye Xu, Long Zeng, and Yu Qiao. SpiderCNN: Deep Learning on Point Sets with Parameterized Convolutional Filters. In Proceedings of the European Conference on Computer Vision (ECCV), 2018. 2
|
| 294 |
+
[35] Li Yi, Vladimir G. Kim, Duygu Ceylan, I-Chao Shen, Mengyan Yan, Hao Su, Cewu Lu, Qixing Huang, Alla Sheffer, and Leonidas Guibas. A Scalable Active Framework for Region Annotation in 3D Shape Collections. SIGGRAPH Asia, 2016. 7
|
convolutioninthecloudlearningdeformablekernelsin3dgraphconvolutionnetworksforpointcloudanalysis/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e20a27d362126eed2cf5c062c4750d4075a9ab4a9bb54b4bb88185a723c1a35d
|
| 3 |
+
size 505854
|
convolutioninthecloudlearningdeformablekernelsin3dgraphconvolutionnetworksforpointcloudanalysis/layout.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a3b5d4931a88b9da860d95b591db563864879fbbad58fea4aa7af5f874993450
|
| 3 |
+
size 404975
|
cookgancausalitybasedtexttoimagesynthesis/8674cbb3-cb76-4b23-ab87-9a8fb59fc1bb_content_list.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cee49ae17c01e2250884cfd19833013de5a5da015384af1f19e4f1eb2429accc
|
| 3 |
+
size 61666
|
cookgancausalitybasedtexttoimagesynthesis/8674cbb3-cb76-4b23-ab87-9a8fb59fc1bb_model.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1d8f694be66ca00d3fe6fb4ccc7e3beb0bc668bab046c8e19166978e10a1fbbb
|
| 3 |
+
size 72081
|
cookgancausalitybasedtexttoimagesynthesis/8674cbb3-cb76-4b23-ab87-9a8fb59fc1bb_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f3189657e9457569d02742d411a1bf8960a42b1befcd7d7c3c3db663bc41cad6
|
| 3 |
+
size 1802423
|
cookgancausalitybasedtexttoimagesynthesis/full.md
ADDED
|
@@ -0,0 +1,245 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# CookGAN: Causality based Text-to-Image Synthesis
|
| 2 |
+
|
| 3 |
+
Bin Zhu City University of Hong Kong binzhu4-c@my.cityu.edu.hk
|
| 4 |
+
|
| 5 |
+
Chong-Wah Ngo
|
| 6 |
+
City University of Hong Kong
|
| 7 |
+
cscwngo@cityu.edu.hk
|
| 8 |
+
|
| 9 |
+
# Abstract
|
| 10 |
+
|
| 11 |
+
This paper addresses the problem of text-to-image synthesis from a new perspective, i.e., the cause-and-effect chain in image generation. Causality is a common phenomenon in cooking. The dish appearance changes depending on the cooking actions and ingredients. The challenge of synthesis is that a generated image should depict the visual result of action-on-object. This paper presents a new network architecture, CookGAN, that mimics visual effect in causality chain, preserves fine-grained details and progressively upsamples image. Particularly, a cooking simulator sub-network is proposed to incrementally make changes to food images based on the interaction between ingredients and cooking methods over a series of steps. Experiments on Recipe1M verify that CookGAN manages to generate food images with reasonably impressive inception score. Furthermore, the images are semantically interpretable and manipulable.
|
| 12 |
+
|
| 13 |
+
# 1. Introduction
|
| 14 |
+
|
| 15 |
+
Text-to-image synthesis aims to generate images from natural language description. A generated image is expected to be photo and semantics realistic. Specifically, an image should have sufficient visual details that semantically align with the text description. Since the proposal of Generative Adversarial Network (GAN) [1], there have been numerous progresses that address the issues in photo-realistic quality [11, 18, 19, 20], and semantic consistency [17]. While both aspects emphasize image quality, an aspect being overlooked in the literature is the cause-and-effect visual scenario in image generation. For example, an image corresponding to the text "cut chicken into dice and stir with roasted peanuts" is hard to be generated with the current text-to-image synthesis paradigm. The reason is that the sentence is action-oriented. The expected image details are entities like "diced chicken" and "roasted peanuts", and the visual consequence of stirring both entities. The current state-of-the-art techniques that rely on mapping between textual and visual entities cannot deal with this cause-and-
|
| 16 |
+
|
| 17 |
+
effect realistic image generation.
|
| 18 |
+
|
| 19 |
+
This paper studies recipe-to-image synthesis, specifically, to generate food image from cooking recipe. Different from visual narrative sentences that describe the visual content expected in an image, recipes provide ingredients as entities and cooking steps to textually instruct preparation of a dish. The expected image is to present the final prepared dish as a visual consequence over a series of cooking steps. Note that a cooking step is not necessarily to be visually relevant. It implies a new state of ingredient entities after the step is taken.
|
| 20 |
+
|
| 21 |
+
We propose a new network architecture, named CookGAN, to address the causality effect in image generation. Different from other GANs [18, 19, 20, 16, 23, 17], CookGAN is a tailor-made GAN for food image generation. The input to CookGAN consists of a list of words (i.e., ingredients) and a sequence of procedural descriptions (i.e., cooking steps). CookGAN addresses four issues in generating causality realistic food image. First, the network allows explicit interaction between cooking steps and ingredients. Second, the evolution of dish over different steps is learnt incrementally, such that on-the-fly modification of ingredients and instructions is possible to visualize novel effect of a dish. Third, the bundled effect of ingredient-action can be modeled. For example, the shape of egg changes depending on whether an action is boil, fry or steam. Fourth, the visibility and impact of ingredients to dish are learnt. For example, "sugar" is likely non-visible, while "tomato sauce" can significantly change the appearance of a dish.
|
| 22 |
+
|
| 23 |
+
Other than these issues, photo and semantics realistic image generation are also considered. Similar in spirit as other GANs [19, 20, 16], CookGAN progressively upsamples image from low to high resolution. The relative importance of each ingredient to the sub-regions of a generated image is computed for presentation of fine-grained ingredient details. The ingredients of a generated food image can also be semantically interpreted using an existing ingredient encoder [13].
|
| 24 |
+
|
| 25 |
+
The main contribution of this paper is addressing causality effect in image generation. To the best of our knowledge, there is no prior work for this problem. We contribute a nov-
|
| 26 |
+
|
| 27 |
+
el network, CookGAN, that vividly mimics cooking process in step-by-step learning of cause-and-effect scenario. CookGAN is capable of generating photo and causality realistic food images as demonstrated in the experiments.
|
| 28 |
+
|
| 29 |
+
# 2. Related Works
|
| 30 |
+
|
| 31 |
+
Conditional GAN (CGAN) [9] has pushed forward the rapid progress of text-to-image synthesis. By employing CGAN, Reed et al.[11] proposed a complete and standard pipeline of text-to-image synthesis to generate images from text descriptions. Nevertheless, the size of image is as small as $64 \times 64$ . To address this problem, StackGAN [18] was proposed to generate higher resolution images in two stages. The CGAN in first stage captures the primitive shapes and basic colors of objects in a low-resolution image. Together with text descriptions, the image is refined with more details by the CGAN in the second stage.
|
| 32 |
+
|
| 33 |
+
Nevertheless, the two stages in StackGAN are learnt independently, resulting in lack of interaction between two closely related stages. This problem is addressed by training an end-to-end multi-stage GANs. Both StackGAN++ [19] and HDGAN [20] adopt tree-like structure with multiple pairs of generators and discriminators to progressively generate an image from low to high resolution. Different branches of the tree capture image distributions at various scales of resolution. The progressive way of upsampling enables a generator to inherit the mid-level features from the previous immediate stage for effective image generation. A limitation of these approaches, nevertheless, is that image generation is sensitive to different ways of expressing the meaning of a sentence. The issue of consistent semantics was recently addressed by SDGAN [17]. Consistent high-level semantics and diverse low-level semantics are guaranteed by a Siamese mechanism and semantic-conditioned batch normalization respectively.
|
| 34 |
+
|
| 35 |
+
The aforementioned approaches take only sentence-level features as condition. As a consequence, fine-grained image details are often missing in the generated images. This issue is addressed in AttnGAN [16] and DMGAN [23] by further leveraging word-level features as condition. By assigning weights to words, AttnGAN [16] manages to generate fine-grained image details at different regions of an image. Furthermore, the generator is trained by ensuring cross-modal similarity between a text description and the generated image. Similar in spirit but through a different way, DMGAN [23] employs a memory network to determine word importance based on the initial generated image. By fusing image content and word-attended text, an image is dynamically refined with fine-grained details.
|
| 36 |
+
|
| 37 |
+
CookGAN inherits most properties of the existing GANs for text-to-image synthesis. Specifically, CookGAN is multi-stage as [19, 20, 16] for progressive upsampling, and emphasizes word-level condition as [16] for fine-grained
|
| 38 |
+
|
| 39 |
+
image generation. Different from these GANs, CookGAN is designed to address causality effect. Specially, the cause-and-effect evolution of a food image is implicitly captured in a sequential network, while fine-grained ingredient details are explicitly modeled with attention-like network.
|
| 40 |
+
|
| 41 |
+
There are few works [4, 6, 2, 21, 10] addressing the problem of food image synthesis. In [4], rather than using recipe, image is generated based on food style. In [6, 2], only ingredients are exploited for food image generation while cooking steps are ignored. PizzaGAN is proposed in [10] to synthesize food images by learning different operators to add, remove and cook ingredients. Different from CookGAN where input is recipe, PizzaGAN relies on image-level labels to perform stepwise generation of images mirroring cooking procedure. While interesting, the approach is tailored made for pizza image generation with limited kinds of ingredients and cooking methods being considered. Extension for dishes beyond pizza is not straightforward. The most relevant work to this paper is [21], which trains $R^2GAN$ to generate $64 \times 64$ thumbnail images from recipes. Nevertheless, the design of $R^2GAN$ is not from the angle of causality effect, but rather to learn cross-modal feature spaces for explainable recipe search. Specifically, $R^2GAN$ treats ingredients and cooking steps independently and then collapses them into a feature for image generation and cross-modal learning. Different from this paper, the issue of how the cause of a cooking step results in a new effect for ingredients is not considered. To our best knowledge, the high-resolution food image generation considering causality is still an unexplored problem.
|
| 42 |
+
|
| 43 |
+
# 3. CookGAN
|
| 44 |
+
|
| 45 |
+
# 3.1. Model Architecture
|
| 46 |
+
|
| 47 |
+
The architecture of CookGAN is depicted in Figure 1. Given a recipe in text, we employ a recipe encoder, $R^2 GAN$ [21], to extract recipe features. $R^2 GAN$ embeds the features extracted from ingredients and cooking instructions respectively into a latent space compatible with food images. As demonstrated by $R^2 GAN$ , the embedded feature, denoted as $\varphi_r$ , can be used to generate a thumbnail image of resolution $64 \times 64$ . The basic idea of CookGAN is to progressively upsample the small-size image up to a resolution of $256 \times 256$ . The key component of CookGAN is Cooking Simulator (Section 3.2), which generates cause-and-effect visual scenario.
|
| 48 |
+
|
| 49 |
+
CookGAN contains three pairs of generators and discriminators $\{(G_0, D_0), (G_1, D_1), (G_2, D_2)\}$ . Initially, an embedded feature $\varphi_r$ is concatenated with random noise $z$ sampled from a Gaussian distribution $Z \sim \mathcal{N}(0, I)$ . The result is input to an upsampling block, which is a multi-layer feedforward network that transforms the perturbed features into hidden image features $V_0$ . The first generator $G_0$ pro
|
| 50 |
+
|
| 51 |
+

|
| 52 |
+
Figure 1. The food image of a recipe is progressively upsampled from resolution of $64 \times 64$ to $256 \times 256$ . The Cooking Simulator is a tailor-made sub-network to implicitly model cause-and-effect visual change in cooking process.
|
| 53 |
+
|
| 54 |
+
duces $64 \times 64$ images using $V_{0}$ . The features $V_{0}$ are also fed into Cooking Simulator for the preparation of features in the next round of image upsampling. The process is repeated for two times, where $G_{1}$ and $G_{2}$ generate $128 \times 128$ and $256 \times 256$ images respectively.
|
| 55 |
+
|
| 56 |
+
CookGAN learns image distributions at different scales in an end-to-end fashion. Each generator is in charge of capturing distribution at a particular scale along with a discriminator to distinguish between real and fake images. Same as vanilla GAN [1], generator and discriminator are trained in an adversarial manner. Specifically, the three discriminators are trained separately, each of which used for training the corresponding generator. Meanwhile, the entire pipeline of image generation network at different scales, including the three upsampling blocks, generators and Cooking Simulators, are trained jointly. The objective function is defined as following:
|
| 57 |
+
|
| 58 |
+
$$
|
| 59 |
+
L = \sum_ {i = 0} ^ {2} L _ {G _ {i}} + \lambda L _ {C A}, \tag {1}
|
| 60 |
+
$$
|
| 61 |
+
|
| 62 |
+
where $L_{G_i}$ is the $i_{th}$ generator loss and $L_{CA}$ is conditioning augmentation [19] loss. The parameter $\lambda$ is a trade-off hyperparameter to balance the two losses.
|
| 63 |
+
|
| 64 |
+
The generator loss consists of unconditional and conditional loss terms. The former loss is derived from discriminator in distinguishing between real and fake images. The latter term is to evaluate the degree-of-match between an generated image and its embedded feature initially extract-
|
| 65 |
+
|
| 66 |
+
ed from $R^2 GAN$ . The $i_{th}$ generator loss is defined as:
|
| 67 |
+
|
| 68 |
+
$$
|
| 69 |
+
L _ {G _ {i}} = \frac {1}{2} \left(\underbrace {\mathbb {E} _ {\varphi_ {r} \sim p _ {r} , z \sim p _ {z}} \left[ \log \left(1 - D _ {i} \left(G _ {i} \left(\varphi_ {r} , z\right)\right) \right] + \right.} _ {\text {u n c o n d i t i o n a l l o s s}}\right) \tag {2}
|
| 70 |
+
$$
|
| 71 |
+
|
| 72 |
+
$$
|
| 73 |
+
\underbrace {\mathbb {E} _ {\varphi_ {r} \sim p _ {r} , z \sim p _ {z}} [ \log \left( \right.1 - D _ {i} \big (G _ {i} (\varphi_ {r} , z) , \varphi_ {r}) \big) ] \bigr) .} _ {\text {c o n d i t i o n a l l o s s}}.
|
| 74 |
+
$$
|
| 75 |
+
|
| 76 |
+
The discriminator loss, similarly, contains two pairs of unconditional and conditional loss terms, as following:
|
| 77 |
+
|
| 78 |
+
$$
|
| 79 |
+
L _ {D _ {i}} = - \frac {1}{2} (\underbrace {\mathbb {E} _ {x _ {i} \sim p _ {d a t a _ {i}}} [ \log D _ {i} (x _ {i}) ]} _ {\text {u n c o n d i t i o n a l l o s s}} +
|
| 80 |
+
$$
|
| 81 |
+
|
| 82 |
+
$$
|
| 83 |
+
\underbrace {\mathbb {E} _ {x _ {i} \sim p _ {d a t a _ {i} , \varphi_ {r} \sim p _ {r}}} \left[ \log D _ {i} \left(x _ {i} , \varphi_ {r}\right) \right]} _ {\text {c o n d i t i o n a l l o s s}} + \tag {3}
|
| 84 |
+
$$
|
| 85 |
+
|
| 86 |
+
$$
|
| 87 |
+
\underbrace {\mathbb {E} _ {\varphi_ {r} \sim p _ {r} , z \sim p _ {z}} [ \log (1 - D _ {i} (G _ {i} (\varphi_ {r} , z))) ]} _ {\text {u n c o n d i t i o n a l l o s s}} +
|
| 88 |
+
$$
|
| 89 |
+
|
| 90 |
+
$$
|
| 91 |
+
\underbrace {\mathbb {E} _ {\varphi_ {r} \sim p _ {r} , z \sim p _ {z}} [ \log \left(1 - D _ {i} (G _ {i} (\varphi_ {r} , z) , \varphi_ {r})) ] \right.} _ {\text {c o n d i t i o n a l l o s s}},
|
| 92 |
+
$$
|
| 93 |
+
|
| 94 |
+
where $x_{i}$ is sampled from the $i_{th}$ scale of real food image distribution. Note that the $i_{th}$ discriminator is only responsible for distinguishing between real images $x_{i}$ and fake images $G_{i}(\varphi_{r},z)$ in $i_{th}$ scale.
|
| 95 |
+
|
| 96 |
+
Inspired by the effectiveness of conditioning augmentation in StackGAN++ [19], $L_{CA}$ loss is employed as a regularizer to avoid overfitting and enforce smooth sampling from the recipe embedding manifold. To be specific, condition vectors are sampled from an independent Gaussian dis
|
| 97 |
+
|
| 98 |
+

|
| 99 |
+
Figure 2. Cooking Simulator prepares image attended ingredient features and "cooked" features for upsampling of food image. The GRUs are initialized with the image attended ingredient features. At each step of cooking, a GRU cell turns the image attended ingredient features into a new hidden state, modeling the change in ingredients as a result of a cooking action.
|
| 100 |
+
|
| 101 |
+
distribution $\mathcal{N}(\mu (\varphi_r),\Sigma (\varphi_r))$ , where mean $\mu (\varphi_r)$ and diagonal covariance matrix $\Sigma (\varphi_r)$ are parameterized by recipe features $\varphi_{r}$ $L_{CA}$ is defined as the Kullback-Leibler divergence between $\mathcal{N}(\mu (\varphi_r),\Sigma (\varphi_r))$ and Gaussian distribution $\mathcal{N}(0,I)$ ..
|
| 102 |
+
|
| 103 |
+
$$
|
| 104 |
+
L _ {C A} = D _ {K L} \left(\mathcal {N} \left(\mu \left(\varphi_ {r}\right), \Sigma \left(\varphi_ {r}\right)\right) \mid \mid \mathcal {N} (0, I)\right). \tag {4}
|
| 105 |
+
$$
|
| 106 |
+
|
| 107 |
+
# 3.2. Cooking Simulator
|
| 108 |
+
|
| 109 |
+
The intuition of Cooking Simulator is to imitate real cooking scenario, where different cutting and cooking actions are incrementally imposed on ingredients over time. Each action transforms some ingredients into a new form with change in composition, color or shape. For examples, "carrot" is cut into slice, "spaghetti" turns into black when stir fried with "squid sauce". The next subsequent actions can additively make change on this form along the cooking process.
|
| 110 |
+
|
| 111 |
+
Figure 2 depicts the network of Cooking Simulator. Denote $\varphi_{ing} = \{\varphi_{ing_m}\}_{m=1}^M \in \mathbb{R}^{M \times d_{ing}}$ as a list of ingredients, where $\varphi_{ing_m}$ represents the $d_{ing}$ -dimensional vector of $m_{th}$ ingredient in the list. Furthermore, the image features of $i_{th}$ scale are denoted as $V_i = \{v_j\}_{j=1}^C \in \mathbb{R}^{C \times L}$ , where $C$ is the channel depth and $L = W \times H$ is the resolution of a feature map. Initially, the image features $V_i$ are fused with the list of ingredient features $\varphi_{ing}$ to produce image attended ingredient feature maps, where the size of each map is $C \times L$ . The $j_{th}$ channel of $F_{i_{attend}}$ is computed by:
|
| 112 |
+
|
| 113 |
+
$$
|
| 114 |
+
F _ {i _ {\text {a t t e n d} _ {j}}} = \sum_ {m = 0} ^ {M - 1} \sigma \left(v _ {j} ^ {T} \cdot f \left(\varphi_ {\text {i n g} _ {m}}\right)\right) f \left(\varphi_ {\text {i n g} _ {m}}\right), \tag {5}
|
| 115 |
+
$$
|
| 116 |
+
|
| 117 |
+
where $f(\cdot)$ is a $1 \times 1$ convolution to map ingredient features to the same dimension as the $i_{th}$ scale hidden image features $V_{i}$ . The operator $\sigma(\cdot)$ is softmax function that outputs an attention map of size $L$ with probability values to indicate the spatial distribution of an ingredient. Through the softmax function, an attention map, i.e., $\sigma(v_{j}^{T} \cdot f(\varphi_{ing_{m}}))$ , is
|
| 118 |
+
|
| 119 |
+
generated for each ingredient. The spatial location of the ingredient is attended by multiplying the map with the corresponding ingredient feature $f(\varphi_{ing})$ . Equation 5 performs weighted linear sum of the result for each ingredient to form the $j^{th}$ channel image attended ingredient feature map.
|
| 120 |
+
|
| 121 |
+
Next, the cooking steps are sequentially encoded with Gated Recurrent Unit (GRU). The GRU cell is initialized with the image attended ingredient features $F_{i_{\text{attend}}}$ , as shown in Figure 2. This design aims to imitate the process of cooking, where the ingredients are "cooked" by one step at a time. The result of cooking in a step, i.e., the hidden state of a GRU, is fed into the next GRU cell for subsequent cooking actions. Denote $\varphi_{ins} = \{\varphi_{ins_n}\}_{n=1}^N \in \mathbb{R}^{N \times d_{ins}}$ as a sequence of cooking steps, where $\varphi_{ins_n}$ represents the $d_{ins}$ -dimensional vector of $n_{th}$ instruction in the sequence. The last hidden state of GRU for $j_{th}$ channel of cooked feature map is formalized as:
|
| 122 |
+
|
| 123 |
+
$$
|
| 124 |
+
F _ {i _ {\text {c o o k} j}} = G R U \left(F _ {i _ {\text {a t t e n d} j}}, \varphi_ {\text {i n s}}\right). \tag {6}
|
| 125 |
+
$$
|
| 126 |
+
|
| 127 |
+
where $F_{i_{cook_j}}$ denotes the $j_{th}$ channel of "cooked" feature map at $i_{th}$ scale. The final cooked feature maps share the same dimension as $V_i$ with $C$ number of channels and size equals to $W \times H$ . To this end, the three groups of feature maps, $V_i$ , $F_{i_{attend}}$ and $F_{i_{cook}}$ , are concatenated and fed into residual blocks [3]. The transformed feature maps become the input for next round of image upsampling.
|
| 128 |
+
|
| 129 |
+
# 3.3. Implementation Details
|
| 130 |
+
|
| 131 |
+
The initial embedded feature extracted from $R^2GAN$ [21] is in 1,024 dimensions, i.e., $\varphi_r \in \mathbb{R}^{1024}$ . The ingredient encoder employs word2vec embedding to transform an ingredient from word into a high dimensional vector, i.e., $\varphi_{ing} \in \mathbb{R}^{300}$ . The instructor encoder is based on skip-thoughts technique [8] as in [14], which encodes a step sentence into a fixed length vector. The resulting instruction feature is in 1,024 dimensions, i.e., $\varphi_{ins} \in \mathbb{R}^{1024}$ . The channel depth of hidden image features is set to be 32 (Figure 1 and Figure 2). Inspired by PatchGAN [5, 22]
|
| 132 |
+
|
| 133 |
+
and local adversarial image loss [20], each feature map in the image attended ingredient features (Figure 2) is divided into $32 \times 32$ patches. Cooking Simulator processes up to 10 cooking steps. Instructions beyond ten steps are truncated in consideration of the computational time.
|
| 134 |
+
|
| 135 |
+
Following [19, 16], Adam solver [7] with a learning rate of 0.0002 is adopted to train all the models. The balance factor in Equation 1 is set to be $\lambda = 1$ . All the models are trained from scratch for 50 epochs.
|
| 136 |
+
|
| 137 |
+
# 4. Experiments
|
| 138 |
+
|
| 139 |
+
We validate CookGAN by visual quality assessment (Section 4.2), semantic interpretation (Section 4.3) and content manipulatability (Section 4.4). Semantic interpretation includes the three tasks: (a) ingredient recognition on the CookGAN generated images, (b) retrieval of recipe using its generated image as query, and (c) retrieval of food image that is prepared with the same recipe as the generated query image. Content manipulatability is to test how a generated image reacts to change in cooking process, for example, by adding or removing ingredients in a recipe.
|
| 140 |
+
|
| 141 |
+
# 4.1. Experimental Settings
|
| 142 |
+
|
| 143 |
+
Dataset. The experiments are conducted on Recipe1M [14], which is the only publicly available large-scale dataset with paired recipes and images. The dataset provides 340,922 recipe-image pairs, with $70\%$ for training, $15\%$ for validation and $15\%$ for testing. As learning process of CookGAN for generating high resolution food images is slow and memory consuming, only validation set is used for model training. The $R^2$ GAN [21], which extracts the initial stage of recipe features, is trained and validated on the training and validation sets respectively. The average number of instructions per recipe is 9 in original validation set.
|
| 144 |
+
|
| 145 |
+
Evaluation Metrics. Inception score (IS) is used to evaluate the visual quality of generated images. As studied in [12], IS is correlated with human perception. A higher value of IS indicates better visual diversity and quality. We randomly sample 30,000 recipes from the test set for image generation. Comparison is made against state-of-the-art techniques including StackGAN++ [19] and $R^2GAN$ [21]. The retrieval performance is based on median rank (MedR) among the true positives retrieved for testing queries. A lower value of MedR indicates better ability in retrieval. Following [21, 14], the retrieval dataset is formed by random sampling of 1,000 recipes from test set. All the 1,000 recipes take turn to generate images as testing queries.
|
| 146 |
+
|
| 147 |
+
# 4.2. Visual Quality Assessment
|
| 148 |
+
|
| 149 |
+
We compare CookGAN with StackGAN++ [19], the state-of-the-art text-to-image synthesis method, and
|
| 150 |
+
|
| 151 |
+
$R^2$ GAN [21], a baseline that generates low-resolution image. Ablation study is also conducted to compare with two different versions of CookGAN with only ingredients (i.e., IngredientGAN) or cooking steps (i.e., StepGAN) being considered respectively. Note that, StepGAN still makes use of ingredient information. The major difference from CookGAN is that the input features to Residual blocks in Cooking Simulator do not involve image attended ingredient features $(F_{i_{\text{attend}}})$ , i.e., only image features $(V_i)$ and cooked features $(F_{i_{\text{cook}}})$ are used to produce images for next round. IngredientGAN, on the other hand, skips $F_{i_{\text{cook}}}$ and leverages only $V_i$ and $F_{i_{\text{attend}}}$ .
|
| 152 |
+
|
| 153 |
+
The result is listed in the $2_{nd}$ column of Table 1. When comparing to the baseline, which linearly interpolates the $64 \times 64$ thumbnails generated by $R^2GAN$ [21] to the resolution of $256 \times 256$ , all other approaches show consistently higher inception score (IS). Among them, CookGAN significantly outperforms others, including StackGAN++, in a large margin. CookGAN is more capable in modeling the color and texture distribution of a dish when composing different ingredients. With reference to Figure 3, the images simulated by CookGAN show similar pattern of ingredient composition as the real sample images. Using the recipe "Picnic Caviar" as an example, the image is correctly presented with "corn kernels" in yellow and "pinto beans" in brown color. Furthermore, the simulated image vividly imitates the fuzzy composition of various ingredients in small size, resulting in a visually and structurally similar image as the original image. Although StackGAN++ manages to present the colors of some ingredients in red and yellow, the failure in simulating the original shapes and sizes of ingredients makes the generated image appear unnatural. In general, StackGAN++ is incapable of handling the recipes with relatively larger number of ingredients. The simulated images by StackGAN++ are often composed of only a few major ingredients. Thanks to image attended ingredient features, CookGAN is able to visually capture both major and supplementary ingredients. Further with Cooking Simulator to procedurally encode instructions, these ingredients are sometimes composed in way similar to food preparation in real world scenario.
|
| 154 |
+
|
| 155 |
+
As shown in Table 1, the IS scores drop dramatically when leveraging only ingredients or cooking steps. The ablation studies indicate that both ingredients and cooking instructions play a significant role in food image generation. On the one hand, when comparing to the case when cooking steps are not considered, IngredientGAN shows much lower IS score, drops by $11.5\%$ compared with CookGAN. As shown in Figure 3, despite that IngredientGAN manages to generate images with relatively fine-grained texture pattern than StackGAN++, the dish colors are monotonic and lack of visual diversity, resulting in lower IS score. The monotone in color appearance is due to the fact that, in the
|
| 156 |
+
|
| 157 |
+
<table><tr><td>Method</td><td>Inception score↑</td><td>MedR (I2R)↓</td><td>MedR (I2I)↓</td></tr><tr><td>R²GAN [21]</td><td>4.54 ± .07</td><td>500.0</td><td>476.0</td></tr><tr><td>StackGAN++ [19]</td><td>5.03 ± .09</td><td>144.5</td><td>147.0</td></tr><tr><td>IngredientGAN</td><td>4.79 ± .08</td><td>84.5</td><td>115.5</td></tr><tr><td>StepGAN</td><td>5.30 ± .09</td><td>77.0</td><td>123.0</td></tr><tr><td>CookGAN</td><td>5.41 ± .11</td><td>64.0</td><td>108.0</td></tr></table>
|
| 158 |
+
|
| 159 |
+
Table 1. Visual quality and semantics comparison in terms of inception score and median rank (MedR) respectively. “↑” indicates higher is better and “↓” indicates lower is better.
|
| 160 |
+
|
| 161 |
+
<table><tr><td>Recipe</td><td>GT</td><td>CookGAN</td><td>StepGAN</td><td>IngredientGAN</td><td>StackGAN++</td></tr><tr><td>Braised Country Style Pork Ribs</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>canola oil; vegetable oil; country-style pork ribs; salt; black pepper; tomato paste; red wine; fish sauce...</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>1. Heat oil in a Dutch oven over medium-high heat.
|
| 162 |
+
2. Season pork ribs with salt and pepper.
|
| 163 |
+
3. Working in two batches, sear the pork until light golden brown...</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Picnic Caviar</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>rice vinegar; vegetable oil; garlic cloves; dried oregano; dried basil; black beans; red onion; corn kernels; pinto beans...</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>1. Whisk together vinegar, oil, sugar, garlic, oregano, and basil in large bowl.
|
| 164 |
+
2. Stir in black and pinto beans, corn, bell pepper, onion, chiles, and cilantro.
|
| 165 |
+
3. Season with salt and pepper...</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Kiriboshi Daikon & Olive Oil Stir-Fry</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>kiriboshi daikon; carrot; soy beans; bacon; olive oil; black pepper; coarse salt.</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>1. Soak the kiriboshi daikon in water and squeeze it to remove the excess water.
|
| 166 |
+
2. If there is water in the canned soybeans, drain them well.
|
| 167 |
+
3. Julienne the carrots...</td><td></td><td></td><td></td><td></td><td></td></tr></table>
|
| 168 |
+
|
| 169 |
+
Figure 3. Comparison of food images generated by CookGAN, StepGAN, IngredientGAN and StackGAN++.
|
| 170 |
+
|
| 171 |
+
design of CookGAN, the ingredients are mainly to prioritize image regions of different important levels for upsampling. Without Cooking Simulator that changes the appearances of ingredients in stepwise manner, learning photo-realistic image is ineffective.
|
| 172 |
+
|
| 173 |
+
Comparing to StepGAN, CookGAN boosts IS to 5.41 from 5.30 achieved by StepGAN. The result verifies the advantage of attending ingredient to regions for sequential upsampling of a small-size image to higher resolution versions. Based on the results, the image attended ingredient features indeed help to prevent ingredients in small size and quantity, which are usually supplementary ingredients, from being ignored during image upsampling. As shown in Figure 3, the images generated by StepGAN cannot capture the rich color and texture variations as in CookGAN.
|
| 174 |
+
|
| 175 |
+
# 4.3. Semantic Interpretation
|
| 176 |
+
|
| 177 |
+
We argue that a generated image should not only be visually appealing, but also semantically explainable. We design three tasks to measure the interpretability of generated images.
|
| 178 |
+
|
| 179 |
+
Task 1: Ingredient recognition is to multi-label the ingredients in an food image. We employ the ingredient decoder [13] pre-trained on Recipe1M [14] for this task. Comparison is made between the images generated by CookGAN and the real images prepared by their corresponding recipes. Using Intersection of Union (IoU) between the predicted and ground-truth labels as a measure, both real and synthetic images show almost the same performance of IoU $= 0.29$ . The result basically verifies that the CookGAN synthesized images are as interpretable as the real images. Figure 4 lists the recognized ingredients of two sample images generated by CookGAN. Not only visible ingredients, but non-visible ingredients, such as "butter" for "Bajan sweet bread" and "pepper" for "Spanish pisto", can be recognized. The result is similar to that of original image. Limited by the accuracy of decoder, ingredients such as "chicken" and "potato" cannot be distinguished for both real and synthetic images. Similarly, "egg" and "baking soda", which commonly appear in recipes of cookies, are falsely detected for both kinds of images.
|
| 180 |
+
|
| 181 |
+

|
| 182 |
+
Figure 4. Ingredient recognition results of the images generated by CookGAN. Ingredients appeared in ground truth are highlighted in red and blue otherwise.
|
| 183 |
+
|
| 184 |
+

|
| 185 |
+
|
| 186 |
+

|
| 187 |
+
Figure 5. Examples of using food images generated by CookGAN to retrieve real images. Ground truth images are marked with red bounding box.
|
| 188 |
+
|
| 189 |
+
Task 2: Image-to-recipe retrieval (I2R). This is a reverse engineering task, where a generated image is treated as a query to retrieve its recipe from a dataset composed of 1K recipe-image pairs. We employ $R^2GAN$ to extract the cross-modal features of images and recipes. Recipes are subsequently ranked in descending order of their similarities to a query image based on cosine similarity. The third columns of Table 1 shows the performances using images generated by different GANs. When directly using the thumbnails generated by $R^2GAN$ for retrieval, the performance is close to random ranking of recipes. In contrast, by learning to progressively upsample from low-resolution to high-resolution, all other GANs significantly boost the performance.
|
| 190 |
+
|
| 191 |
+
Interestingly, the MedR performance is not necessarily correlated to visual quality based on IS. While IngredientGAN is lower in IS score than StackGAN++, its MedR is better by 60 ranks. The result clearly indicates the superior capability of CookGAN in encoding the semantic-s of food than StackGAN++. StepGAN shows slight im
|
| 192 |
+
|
| 193 |
+
provement than IngredientGAN for being capable of disambiguating recipes with similar ingredients but different cutting and cooking methods. CookGAN, afterall, shows the best performance among all the approaches. Nevertheless, compared to using the original images as queries where the MedR can be as high as 1.0 [15], there is still a performance gap between using real and synthetic images for retrieval.
|
| 194 |
+
|
| 195 |
+
Task 3: Image-to-image retrieval (I2I). This task is to retrieve the real food images using the generated images. The result is listed in the $4_{th}$ column of Table 1. Slightly different trends of performance than I2R is observed. Specifically, the performance of IngredientGAN is better than StepGAN. We believe that this is due to the composition of dataset, where most of the recipes are only associated to one food image. As a consequence, when StepGAN generates an image with visually different ingredient composition from the sample image in the dataset, their similarity might be decreased. IngredientGAN, which merely retrieves similar images based on ingredient content, bypasses the issue due to fuzzy variations in ingredient composition
|
| 196 |
+
|
| 197 |
+

|
| 198 |
+
Figure 6. Examples of generated images by CookGAN with different recipe manipulation operators.
|
| 199 |
+
|
| 200 |
+

|
| 201 |
+
Figure 7. Examples showing manipulability of CookGAN in dealing with (a) visibility of ingredient, (b) different cooking actions on an ingredient.
|
| 202 |
+
|
| 203 |
+
and hence achieves lower MedR. Figure 5 shows the top-5 retrieved images by the queries generated by CookGAN. The retrieved images are not only visually but also semantically similar.
|
| 204 |
+
|
| 205 |
+
# 4.4. Content Manipulability
|
| 206 |
+
|
| 207 |
+
An advantage of CookGAN is that an image can be produced on-the-fly by incremental manipulation of a recipe, for example, through semantically changing ingredient list. In this section, we contrast the visual presentation of food images when they are prepared with slightly different ingredients from an original recipe. Figure 6 shows the examples of dishes when "carrot" is added, removed or replaced by "lettuce". In the case of addition, it can be seen that carrots (or items in orange color) are distributed throughout the dish. On the other hand, when "carrot" is removed, the dish
|
| 208 |
+
|
| 209 |
+
becomes much less in orange color. In the case of replacement, the spaghetti is changed from orange to creamy white, and is covered with lettuce-like objects. More impressively, CookGAN manages to learn the visibility of ingredients in a dish. As shown in Figure 7 (a), the appearance of dish remains the same when "sugar" is added. On the contrary, the color changes when "tomato sauce" is added. Figure 7 (b) shows examples to demonstrate the bundle effect of ingredient + action. The appearance of "egg" varies dramatically depending on cooking method.
|
| 210 |
+
|
| 211 |
+
# 5. Conclusion
|
| 212 |
+
|
| 213 |
+
We have presented CookGAN for visual modeling of causality effect. Empirical results show that CookGAN is capable of synthesizing realistic visual scenario in depicting the cause-and-effect of cooking action. Comparing to StackGAN++, CookGAN manages to simulate proper color, shape and composition of ingredients due to cooking actions. Furthermore, CookGAN demonstrates commonsense response to manipulation operators, including dealing with transparency effect of ingredients and ingredient-action bundle effect. Compared to real images, similar performance is also reported when recognizing ingredients of synthetic images. While encouraging, CookGAN does not consider ingredient quantity and cooking style (e.g., home cooked style, sweet-and-sour), which will be our future work.
|
| 214 |
+
|
| 215 |
+
# Acknowledgement
|
| 216 |
+
|
| 217 |
+
The work described in this paper was fully supported by a grant from the Research Grants Council of the Hong Kong Special Administrative Region, China (CityU 11203517).
|
| 218 |
+
|
| 219 |
+
# References
|
| 220 |
+
|
| 221 |
+
[1] Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Advances in neural information processing systems, pages 2672���2680, 2014.
|
| 222 |
+
[2] Fangda Han, Ricardo Guerrero, and Vladimir Pavlovic. The art of food: Meal image synthesis from ingredients. arXiv preprint arXiv:1905.13149, 2019.
|
| 223 |
+
[3] 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.
|
| 224 |
+
[4] Daichi Horita, Wataru Shimoda, and Keiji Yanai. Unseen food creation by mixing existing food images with conditional stylegan. In Proceedings of the 5th International Workshop on Multimedia Assisted Dietary Management, pages 19-24. ACM, 2019.
|
| 225 |
+
[5] Phillip Isola, Jun-Yan Zhu, Tinghui Zhou, and Alexei A Efros. Image-to-image translation with conditional adversarial networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 1125-1134, 2017.
|
| 226 |
+
[6] Yoshifumi Ito, Wataru Shimoda, and Keiji Yanai. Food image generation using a large amount of food images with conditional gan: ramengan and recipegan. In Proceedings of the Joint Workshop on Multimedia for Cooking and Eating Activities and Multimedia Assisted Dietary Management, pages 71-74. ACM, 2018.
|
| 227 |
+
[7] Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
|
| 228 |
+
[8] Ryan Kiros, Yukun Zhu, Ruslan R Salakhutdinov, Richard Zemel, Raquel Urtasun, Antonio Torralba, and Sanja Fidler. Skip-thought vectors. In Advances in neural information processing systems, pages 3294-3302, 2015.
|
| 229 |
+
[9] Mehdi Mirza and Simon Osindero. Conditional generative adversarial nets. arXiv preprint arXiv:1411.1784, 2014.
|
| 230 |
+
[10] Dim P Papadopoulos, Youssef Tamaazousti, Ferda Ofli, Ingmar Weber, and Antonio Torralba. How to make a pizza: Learning a compositional layer-based gan model. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 8002-8011, 2019.
|
| 231 |
+
[11] Scott Reed, Zeynep Akata, Xinchen Yan, Lajanugen Logeswaran, Bernt Schiele, and Honglak Lee. Generative adversarial text to image synthesis. In International Conference on Machine Learning, pages 1060-1069, 2016.
|
| 232 |
+
[12] Tim Salimans, Ian Goodfellow, Wojciech Zaremba, Vicki Cheung, Alec Radford, and Xi Chen. Improved techniques for training gans. In Advances in neural information processing systems, pages 2234-2242, 2016.
|
| 233 |
+
[13] Amaia Salvador, Michal Drozdzal, Xavier Giro-i Nieto, and Adriana Romero. Inverse cooking: Recipe generation from food images. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 10453-10462, 2019.
|
| 234 |
+
[14] Amaia Salvador, Nicholas Hynes, Yusuf Aytar, Javier Marin, Ferda Ofli, Ingmar Weber, and Antonio Torralba. Learning
|
| 235 |
+
|
| 236 |
+
cross-modal embeddings for cooking recipes and food images. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 3020-3028, 2017.
|
| 237 |
+
[15] Hao Wang, Doyen Sahoo, Chenghao Liu, Ee-peng Lim, and Steven CH Hoi. Learning cross-modal embeddings with adversarial networks for cooking recipes and food images. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 11572-11581, 2019.
|
| 238 |
+
[16] Tao Xu, Pengchuan Zhang, Qiuyuan Huang, Han Zhang, Zhe Gan, Xiaolei Huang, and Xiaodong He. Attngan: Finegrained text to image generation with attentional generative adversarial networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 1316-1324, 2018.
|
| 239 |
+
[17] Guojun Yin, Bin Liu, Lu Sheng, Nenghai Yu, Xiaogang Wang, and Jing Shao. Semantics disentangling for text-to-image generation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 2327-2336, 2019.
|
| 240 |
+
[18] Han Zhang, Tao Xu, Hongsheng Li, Shaoting Zhang, Xiaogang Wang, Xiaolei Huang, and Dimitris N Metaxas. S- 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.
|
| 241 |
+
[19] 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.
|
| 242 |
+
[20] Zizhao Zhang, Yuanpu Xie, and Lin Yang. Photographic text-to-image synthesis with a hierarchically-nested adversarial network. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 6199-6208, 2018.
|
| 243 |
+
[21] Bin Zhu, Chong-Wah Ngo, Jingjing Chen, and Yanbin Hao. R2GAN: Cross-modal recipe retrieval with generative adversarial network. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 11477-11486, 2019.
|
| 244 |
+
[22] Jun-Yan Zhu, Taesung Park, Phillip Isola, and Alexei A Efros. Unpaired image-to-image translation using cycle-consistent adversarial networks. In Proceedings of the IEEE international conference on computer vision, pages 2223-2232, 2017.
|
| 245 |
+
[23] Minfeng Zhu, Pingbo Pan, Wei Chen, and Yi Yang. Dm-gan: Dynamic memory generative adversarial networks for text-to-image synthesis. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 5802-5810, 2019.
|
cookgancausalitybasedtexttoimagesynthesis/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5f5cd0fc3c5d5cb9dd2fb8aa306587d6de40d31bd2d620a6e48c71318f928944
|
| 3 |
+
size 562304
|
cookgancausalitybasedtexttoimagesynthesis/layout.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:83e31871c712c9440f45b4cb96afe1b4daa9699d64868f9fdcdec65ed10540dc
|
| 3 |
+
size 306256
|
coolingshrinkingattackblindingthetrackerwithimperceptiblenoises/73e3a562-eb2d-4928-87ee-c0c247a71896_content_list.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8e619a55ff65949a35211c1ca8607b17c55da87501f1696d7d695fcf4187d5a9
|
| 3 |
+
size 71649
|
coolingshrinkingattackblindingthetrackerwithimperceptiblenoises/73e3a562-eb2d-4928-87ee-c0c247a71896_model.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c319ed69e52a6f6d412b64791a0cce1b6186b61397e4f58be273692e1c38f619
|
| 3 |
+
size 91749
|
coolingshrinkingattackblindingthetrackerwithimperceptiblenoises/73e3a562-eb2d-4928-87ee-c0c247a71896_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e34df4e96a6692c586ff2b602311edfb798d9b275815cba4a15a2285ca1866e8
|
| 3 |
+
size 3033357
|
coolingshrinkingattackblindingthetrackerwithimperceptiblenoises/full.md
ADDED
|
@@ -0,0 +1,287 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Cooling-Shrinking Attack: Blinding the Tracker with Imperceptible Noises
|
| 2 |
+
|
| 3 |
+
Bin Yan $^{1}$ , Dong Wang $^{1*}$ , Huchuan Lu $^{1,2}$ and Xiaoyun Yang $^{3}$
|
| 4 |
+
|
| 5 |
+
$^{1}$ School of Information and Communication Engineering, Dalian University of Technology, China $^{2}$ Peng Cheng Laboratory
|
| 6 |
+
|
| 7 |
+
<sup>3</sup>China Science IntelliCloud Technology Co., Ltd.,
|
| 8 |
+
|
| 9 |
+
yan_bin@mail.dlut.edu.cn, {wdice, lhchuan}@dlut.edu.cn, xiaoyun.yang@intellicloud.ai
|
| 10 |
+
|
| 11 |
+
# Abstract
|
| 12 |
+
|
| 13 |
+
Adversarial attack of CNN aims at deceiving models to misbehave by adding imperceptible perturbations to images. This feature facilitates to understand neural networks deeply and to improve the robustness of deep learning models. Although several works have focused on attacking image classifiers and object detectors, an effective and efficient method for attacking single object trackers of any target in a model-free way remains lacking. In this paper, a cooling-shrinking attack method is proposed to deceive state-of-the-art SiameseRPN-based trackers. An effective and efficient perturbation generator is trained with a carefully designed adversarial loss, which can simultaneously cool hot regions where the target exists on the heatmaps and force the predicted bounding box to shrink, making the tracked target invisible to trackers. Numerous experiments on OTB100, VOT2018, and LaSOT datasets show that our method can effectively fool the state-of-the-art SiameseRPN++ tracker by adding small perturbations to the template or the search regions. Besides, our method has good transferability and is able to deceive other top-performance trackers such as DaSiamRPN, DaSiamRPN-UpdateNet, and DiMP. The source codes are available at https://github.com/MasterBin-IIAU/CSA.
|
| 14 |
+
|
| 15 |
+
# 1. Introduction
|
| 16 |
+
|
| 17 |
+
Online single object tracking is a fundamental task in computer vision and has many important applications including intelligent surveillance, autonomous driving, human-machine interaction, to name a few. In recent years, as deep learning matures and large-scale tracking datasets [18, 7, 12] are introduced, the single object tracking field has developed rapidly. Current state-of-the-art trackers [16, 40, 15, 8, 17, 6, 3] can be grouped into two categories: deep discriminative trackers [6, 3, 4], and SiameseRPN-based trackers [16, 40, 39, 15]. Deep
|
| 18 |
+
|
| 19 |
+
discriminative trackers decompose tracking into two subproblems: classification and state estimation. The first one is solved by an online-learning classifier and the second one is achieved by maximizing the overlap between candidates and the ground truth. SiameseRPN-based trackers formulate tracking as a one-shot detection problem, locating objects that have similar appearance with the initial template on the search region in each frame. Considering their balance between accuracy and speed, SiameseRPN-series trackers have attracted more attention than deep discriminative trackers.
|
| 20 |
+
|
| 21 |
+
Adversarial attack is originated from [29], which has shown that state-of-the-art deep learning models can be fooled by adding small perturbations to original images. Research on adversarial attack is beneficial to understand deep neural networks and design robust models. Popular adversarial attack methods can be roughly summarized into two categories: iterative-optimization-based and deep-network-based attacks. The former method [9, 21, 35] applies many times of gradient ascent to maximize an adversarial objective function for deceiving deep networks and is usually time-consuming. However, the latter one [34, 31] applies tremendous data to train an adversarial perturbation-generator. The latter method is faster than the former method because only one-time forward propagation is needed for each attack after training. In recent years, adversarial attack has become a popular topic and has extended from image classification to more challenging tasks, such as object detection [35, 31] and semantic segmentation [35].
|
| 22 |
+
|
| 23 |
+
However, an effective and efficient adversarial attack method for single object tracking remains lacking. In this study, we choose the state-of-the-art SiamRPN++ [15] tracker as our main research object and propose a novel cooling-shrinking attack method. This method learns an efficient perturbation generator to make the tracker fail by simultaneously cooling down hot regions where the target exists on the heatmaps and forcing the predicted bounding box to shrink during online tracking. Our main contribution
|
| 24 |
+
|
| 25 |
+
can be summarized as follows.
|
| 26 |
+
|
| 27 |
+
- A novel and efficient cooling-shrinking attack method is proposed to effectively fool the SiamRPN++ tracker. Experiments on OTB100 [33], VOT2018 [14], and LasOT [7] show that our method can successfully deceive the state-of-the-art SiamRPN++ tracker.
|
| 28 |
+
- Numerous experiments show that a discriminator is unnecessary in this task because existing $L_{2}$ loss and fooling loss have already achieved our goal.
|
| 29 |
+
- Our attacking method has good transferability. Experimental results demonstrate that state-of-the-art trackers (such as DaSiamRPN and DiMP) can also be deceived by our method, even though this method is not specially designed for them.
|
| 30 |
+
|
| 31 |
+
# 2. Related Works
|
| 32 |
+
|
| 33 |
+
# 2.1. Single Object Tracking
|
| 34 |
+
|
| 35 |
+
Given the tracked target in the first frame, single object tracking (SOT) aims at capturing the location of the target in the subsequent frames. Different from object detection that recognizes objects of predefined categories, the SOT task belongs to one-shot learning, requiring trackers to be capable of tracking any possible targets. Efficient and robust trackers are difficult to be designed because of challenges, such as occlusion, similar distractors, deformation, and motion blur, during tracking. Recently, with the prosperity of deep learning and the introduction of large-scale object tracking datasets [7, 12], the study of SOT has undergone a rapid development. Currently, state-of-the-art trackers can be divided into two categories. One is based on SiamRPN (including SiamRPN [16], DaSiamRPN [40], SiamRPN+ [39], SiamRPN++ [15], and SiamMask [30]), and the other is based on deep discriminative models (including ATOM [6] and DiMP [3]).
|
| 36 |
+
|
| 37 |
+
SiamRPN [16] formulates SOT as a one-shot detection problem and is the first attempt to introduce RPN [24] in the tracking filed. With the help of RPN, SiamRPN removes heavy multi-scale correlation operations, running at a high speed and producing accurate results. DaSiamRPN [40] relieves the SiamRPN's weakness of being susceptible to distractors, by introducing challenging samples to the training set. However, the negative effect of image padding makes SiamRPN and DaSiamRPN only apply the shallow and padding-free AlexNet's variant as their backbone, which does not fully take advantage of the capability of modern deep neural networks [28, 10]. To overcome this problem, some studies have proposed the addition of a cropping-inside residual unit and a spatial-aware sampling strategy in SiamRPN+ [39] and SiamRPN++ [15]. These works relieve the center bias problem caused by image padding, making the SiameseRPN framework benefit from modern backbones and significantly improving the Siamese tracker's performance. SiamMask [30] proposes a unified framework
|
| 38 |
+
|
| 39 |
+
for visual object tracking and semi-supervised video object segmentation, further increasing the accuracy of predicted bounding boxes.
|
| 40 |
+
|
| 41 |
+
ATOM [6] proposes a tracking framework composed of the dedicated target estimation and classification components. The target estimation module is an IOU-Net's variant [13] that can produce an accurate bounding box of the target, given the initial appearance information. DiMP [3] inherits the ATOM's framework (making it end-to-end trainable) and proposes a more discriminative model predictor. DiMP achieves state-of-the-art performance on most tracking benchmarks, thereby serving a strong baseline in the tracking community.
|
| 42 |
+
|
| 43 |
+
# 2.2. Adversarial Attack
|
| 44 |
+
|
| 45 |
+
The adversarial attack in [29] indicates that CNN is highly vulnerable to attack and state-of-the-art classifiers can be easily fooled by adding visually imperceptible noises to original images. Since then, several works have focused on adversarial attacks. Early works [9, 21, 35, 34, 31] add perturbations in the digital world, directly changing pixel values which are fed into the networks. Latter works focus on creating physical adversarial objects, such as eyeglasses [26], posters [32], and animals [1], in the real world, further broadening the influence of adversarial attacks.
|
| 46 |
+
|
| 47 |
+
Digitally adversarial attack methods can be roughly divided into two categories: iterative-optimization-based and deep-network-based algorithms. The former ones (including FGSM [9], Deepfool [21], and DAG [35]) optimize an adversarial objective function to fool deep networks and are usually time-consuming due to several iterations. However, deep-network-based methods (including advGAN [34] and UEA [31]) use tremendous data to train a generator for adding perturbations. The latter type is generally faster than the former type because the operation for transforming an image to an adversarial one does not need to be repeated. In specific, FGSM [9] hypothesizes that neural networks behave in very linear ways and proposes a "Fast Gradient Sign Method" to attack them. Deepfool [21] generates adversarial examples by pushing data points around the classification boundary past it with minimal perturbations. AdvGAN [34] is the first work to generate adversarial examples with GAN, which can run efficiently during the inference phase. Recent research on adversarial attack has extended from image classification to more challenging tasks, such as object detection. Two impressive works are iterative-optimization-based DAG [35] and deep-model-based UEA [31]. DAG [35] sets the difference of the classification score between adversarial and ground-truth classes as its objective function, and then optimizes it using gradient ascent. Although it achieves a high fooling rate, it is time-consuming because several iterations are needed. UEA [31] chooses GAN as a core component to generate
|
| 48 |
+
|
| 49 |
+
perturbations and trains the generator with a carefully designed adversarial loss. UEA achieves comparative performance but is much faster than DAG, because only one-time forward propagation is needed during the inference phase after training.
|
| 50 |
+
|
| 51 |
+
Adversarial objects in the physical world are more difficult to generate than digital adversarial examples because the literature [19, 20] has revealed that adversarial examples generated by standard methods are not robust to the common phenomena in the physical world, such as varying viewpoints and camera noises. To overcome this problem, the expectation over transformation (EOT) [1] method requires not only the original single example but also its augmented examples to be confusing. Combining with the 3D-printing technique, EOT can synthesize robust physical adversarial objects. Inheriting similar ideas, the method in [26] generates adversarial eyeglasses that can fool state-of-the-art face recognition systems, and the method in [32] creates an inconspicuous poster that can deceive the simple regression-based tracker GOTURN [11].
|
| 52 |
+
|
| 53 |
+
# 3. Cooling-Shrinking Attack
|
| 54 |
+
|
| 55 |
+
In this work, we propose an adversarial perturbation-generator for deceiving the SiamRPN++ tracker. The goal of our method is to make the target invisible to trackers, thereby leading to tracking drift. To accomplish this goal, we train the generator with a carefully designed and novel cooling-shrinking loss. Considering that SiamRPN-based trackers [16, 40, 15, 39, 30] locate the target in a local search region based on the template given in the initial frame, we design two versions of perturbation-generators to attack the search regions and the template respectively.
|
| 56 |
+
|
| 57 |
+
# 3.1. Overview of SiamRPN++
|
| 58 |
+
|
| 59 |
+
So far, SiamRPN++ [15] is the most powerful SiameseRPN-based tracker, achieving state-of-the-art performance on almost all tracking datasets. The network architecture of SiamRPN++ is shown in Figure 1. Given the template $\mathcal{T}$ in the initial frame, SiamRPN++ detects target in the search region $\mathcal{SR}$ from the current frame.
|
| 60 |
+
|
| 61 |
+
To be specific, the template is an image patch cropped in the first frame, providing the target's appearance information for the tracker. The tracked target generally does not move too much between two adjacent frames. Most modern trackers only locate the target in a small search region centered in the position of the previous frame, rather than the whole image. The size of the search region in the current frame is proportional to the size of the target in the previous frame. In each frame, the template $\mathcal{T}$ and search region $\mathcal{SR}$ are first passed through a shared backbone network such as ResNet50 [10], and their features are processed by some non-shared neck layers and fused by depthwise correlation. Based on these features, the RPN head layers predict the classification maps $\mathcal{M}_{\mathcal{C}}$ and regression maps $\mathcal{M}_{\mathcal{R}}$ . Specifi
|
| 62 |
+
|
| 63 |
+
cally, SiamRPN++ produces four regression factors, two of which are related to the center offset and the other two are responsible for the scale changes. Finally, the tracker considers the position with the highest classification score as the optimal target location, and then uses the corresponding regression factors to obtain an accurate bounding box as a result of the current frame. Thus, if the final classification maps $\mathcal{M}_{\mathcal{C}}$ or regression maps $\mathcal{M}_{\mathcal{R}}$ are interfered, the tracker may lose the ability to locate the target or produce inaccurate results, leading to tracking failure.
|
| 64 |
+
|
| 65 |
+

|
| 66 |
+
Figure 1. Network architecture of SiamRPN++ [15]. Better viewed in color with zoom-in.
|
| 67 |
+
|
| 68 |
+
# 3.2. Overall Pipeline
|
| 69 |
+
|
| 70 |
+
Since the pipelines of attacking the template and attacking the search regions are quite similar, we only discuss attacking search regions for simplicity. The overall pipeline of the training generator for attacking search regions is shown in Figure 2. During the training process, we first feed $N$ pre-cropped unperturbed search regions into the perturbation-generator, adding imperceptible noises to them. Together with a clean template, these perturbed search regions are fed into the SiamRPN++ tracker's Siamese network, which produces adversarial classification and regression maps of the corresponding search regions. The SiamRPN++ tracker considers regions with the highest response on the classification maps (heatmaps) as the target. Thus, regions, where the tracked target exists on the adversarial heatmaps, are expected to have low response values. To indicate these regions, we also feed originally unperturbed search regions into the Siamese network, producing clean heatmaps. Then, an adversarial cooling-shrinking loss and an $L_{2}$ loss are applied together to train our perturbation-generator. The detailed training algorithm of the generator for attacking search regions is shown in Algorithm 1. During the online-tracking phase, to deceive the tracker, we only need to pass a clean search region into the generator, obtaining a new adversarial one in each frame.
|
| 71 |
+
|
| 72 |
+
# 3.3. Cooling-Shrinking Loss
|
| 73 |
+
|
| 74 |
+
We propose a novel cooling-shrinking loss, composed of the cooling loss $L_{C}$ for interfering the heatmaps $M_H$ and
|
| 75 |
+
|
| 76 |
+
Algorithm 1 Framework of training perturbation-generator to attack search regions
|
| 77 |
+
|
| 78 |
+
Input: $R^c$ : clean search regions; $T^c$ : clean template; $g_0$ : randomly initialized generator
|
| 79 |
+
|
| 80 |
+
Output: trained generator $g^{*}$
|
| 81 |
+
|
| 82 |
+
1: Initialize generator $g_0$ . Initialize siamese model $S$ and freeze its parameters;
|
| 83 |
+
2: repeat
|
| 84 |
+
3: Get a clean template $T^c$ and a batch of clean search regions $R^c$ ;
|
| 85 |
+
4: Feed $T^c$ into $S$ ;
|
| 86 |
+
5: Generate adversarial noises $P = g(R^c)$ for $R^c$ ;
|
| 87 |
+
6: Get adversarial search regions $R^a = R^c + P$ ;
|
| 88 |
+
7: Get adversarial heatmaps and regression maps $M_H^a, M_B^a = S(R^a, T^c)$ using $R^a$ ;
|
| 89 |
+
8: Get clean heatmaps $M_H^c = S(R^c, T^c)$ ;
|
| 90 |
+
9: Compute cooling loss $L_{C}$ and shrinking loss $L_{S}$ based on $M_H^a, M_R^a, M_H^c$ ;
|
| 91 |
+
10: Compute $L_{2}$ loss $L_{2} = \frac{1}{N} ||R^{a} - R^{c}||_{2};$
|
| 92 |
+
11: Compute total loss $L = \alpha_{1}L_{C} + \alpha_{2}L_{S} + \alpha_{3}L_{2}$
|
| 93 |
+
12: Compute gradient of $L$ to generator $g$ 's parameters and update with the Adam optimizer.
|
| 94 |
+
13: until model converges
|
| 95 |
+
|
| 96 |
+

|
| 97 |
+
Figure 2. Network architecture of perturbation-generator for search regions. Better viewed in color with zoom-in.
|
| 98 |
+
|
| 99 |
+
the shrinking loss $L_{S}$ for interfering the regression maps $M_R$ . To determine the location of the target, we also introduce the clean heatmaps $M_H^c$ to the computation. In specific, the cooling loss $L_{C}$ is designed to cool down hot regions where the target may exist on the heatmaps, causing the tracker to lose the target. The shrinking loss $L_{S}$ is designed to force the predicted bounding box to shrink, leading to error accumulation and tracking failure. To compute these two losses conveniently, we reshape the clean heatmaps $M_H^c$ , adversarial heatmaps $M_H^a$ , and adversarial regression maps $M_R^a$ to 2D matrices $\widetilde{M_H^c}$ , $\widetilde{M_H^a}$ , $\widetilde{M_R^a}$ with shape (N,2), (N,2), (N,4) respectively. Then, $\widetilde{M_H^c}$ is activated with the softmax function, generating the probability
|
| 100 |
+
|
| 101 |
+
of target $P_{+}$ and the probability of background $P_{-}$ . Based on the probability $P_{+}$ and a predefined threshold $\mathcal{T}$ , binary attention maps $\mathcal{A}$ are computed, indicating locations that we are interested in. After that, we define the cooling loss based on the difference between the confidence score of positive class $f_{+}$ and negative class $f_{-}$ on regions where $\mathcal{A} > 0$ . We also set a margin $m_c$ in this loss to avoid any unconstrained decrease of this loss, leading to difficulty in controlling noises' energy. Similarly, we set two scale factors $R_w, R_h$ as the core of the shrinking loss and also set margins $m_w$ and $m_h$ as we do in the cooling loss. The detailed mathematical formulas about the cooling-shrinking loss are shown in Algorithm 2. Figure 3 shows the effect of the cooling-shrinking loss. The second row represents the heatmaps produced by the clean template, and the third row represents heatmaps produced by the adversarial template. The adversarial heatmaps have low values on places where the target exists, making the tracker difficult to locate the tracked target. Figure 4 shows a comparison between the original results and adversarial results. After adding adversarial perturbations, the tracker becomes less scale-sensitive (Figure 4(a)), less discriminative (Figure 4(b)), and less target-aware (Figure 4(c)). To be specific, in Figure 4(a), the tracker produces shrinking boxes when the target actually grows larger, causing inaccurate results. In Figure 4(b), the tracker recognizes other distractors as the target. In addition, in Figure 4 (c), the tracker loses the target quickly and can only re-capture it when it accidentally returns to the previous location.
|
| 102 |
+
|
| 103 |
+
# Algorithm 2 Cooling-Shrinking Loss
|
| 104 |
+
|
| 105 |
+
Input: $M_H^c$ : clean heatmaps; $M_H^a$ : adversarial heatmaps; $M_R^a$ : adversarial regression maps; $\mathcal{T}$ : threshold for probability; $m_c$ : margin for classification; $m_w$ : margin for width regression factor; $m_h$ : margin for height regression factor;
|
| 106 |
+
|
| 107 |
+
Output: cooling loss $L_{C}$ ; shrinking loss $L_{S}$
|
| 108 |
+
|
| 109 |
+
1: Reshape $M_H^c$ , $M_H^a$ , $M_R^a$ to 2D matrices: $\widetilde{M_H^c}$ , $\widetilde{M_H^a}$ , $\widetilde{M_R^a}$ ;
|
| 110 |
+
2: $P_{+}, P_{-} = \text{softmax}(\widetilde{M_H^c})$ ;
|
| 111 |
+
3: $\mathcal{A} = \left\{ \begin{array}{ll}1 & P_{+}\geq \mathcal{T}\\ 0 & P_{+} < \mathcal{T} \end{array} \right.$
|
| 112 |
+
4: $f_{+},f_{-} = \widetilde{M}_{H}^{a}*A;$
|
| 113 |
+
5: $R_{x}, R_{y}, R_{w}, R_{h} = \widetilde{M}_{R}^{a} * \mathcal{A}$ ;
|
| 114 |
+
6: $L_{C} = \frac{1}{N} \max(f_{+} - f_{-}, m_{c})$ ;
|
| 115 |
+
7: $L_{S} = \frac{1}{N}\max (R_{w},m_{w}) + \frac{1}{N}\max (R_{h},m_{h})$
|
| 116 |
+
|
| 117 |
+
# 3.4. Implementation Details
|
| 118 |
+
|
| 119 |
+
Network Architectures: The perturbation-generator adopts the U-Net [25] architecture, which achieves superior performance in many pixel-level tasks. U-Net first downsamples feature maps multiple times and then upsamples them accordingly to make the input size being a power of 2, or the output size may mismatch with the in
|
| 120 |
+
|
| 121 |
+

|
| 122 |
+
Figure 3. Search regions and their corresponding heatmaps. The first row shows search regions. The second row represents clean heatmaps generated by the clean template. The third row represents adversarial heatmaps generated by the adversarial template.
|
| 123 |
+
|
| 124 |
+
input size. In our experiment settings, the input resolution also depends on whether to attack the template or search regions. Specifically, all SiamRPN-based trackers, including SiamRPN [16], DaSiamRPN [40], SiamRPN++ [15], and SiamMask [30], adopt the same template size as $127 \times 127$ . However, when working in long-term scenarios, they may use different search region sizes like $255 \times 255$ and $831 \times 831$ , because of switching between local and global states. Too large size may bring a heavy computational burden, and too small size may cause the loss of detailed information. Considering all these factors, we set the input resolution of the generator as $128 \times 128$ for attacking the template and $512 \times 512$ for attacking the search regions. The gap between different resolutions is bridged by padding-cropping or bilinear interpolation. For example, when attacking the template, the original template with a spatial size $127 \times 127$ is first padded to $128 \times 128$ with zero and passed through the generator to obtain the adversarial template. Then, the adversarial template is cropped back to $127 \times 127$ again and sent into the Siamese network. Similarly, when attacking search regions, clean search regions with a spatial size $255 \times 255$ are first interpolated to $512 \times 512$ and fed into the generator to get adversarial search regions. Then, adversarial search regions are interpolated back to $255 \times 255$ again and passed to the Siamese network.
|
| 125 |
+
|
| 126 |
+
Training Dataset: We use GOT-10K [12] as our training set, to cover more types of the tracked target. To be specific, the GOT-10K dataset includes more than 10,000 sequences and more than 500 object classes, showing high tracking diversity. We expect that models learned on this dataset could have better generalization power rather than only work on a few limited situations. We only use the train split of GOT-10K and uniformly sample frames with an interval of 10 frames, and then crop search regions from these chosen frames. The template is cropped in the initial frame, and each search region is cropped based on the groundtruth of the last frame to simulate the situation in online track
|
| 127 |
+
|
| 128 |
+
ing. In each training iteration, a template and $N$ search regions from the same video sequence are sent to our attacking model. In our experiments, $N$ is not larger than 15 due to the limited GPU memory.
|
| 129 |
+
|
| 130 |
+
Training Loss Function: The generator is trained with the linear combination of the cooling loss, shrinking loss, and $L_{2}$ loss. The weights of these three losses can be tuned according to different biases. For example, we can increase the weight of the $L_{2}$ loss or decrease that of adversarial losses to make attack more recognizable. In our experiment setting, we choose the weights of cooling loss, shrinking loss and, $L_{2}$ loss as 0.1, 1, and 500 respectively. The three margins $m_{c}, m_{w}, m_{h}$ for preventing the unconstrained decrease of adversarial losses are all set to -5.
|
| 131 |
+
|
| 132 |
+
# 4. Experiments
|
| 133 |
+
|
| 134 |
+
In this work, we implement our algorithm with Pytorch [23] deep learning framework. The hardware platform is a PC machine with an intel-i9 CPU (64GB memory) and a RTX-2080Ti GPU (11GB memory). We evaluate the proposed adversarial attack method on three datasets: OTB100 [33], VOT2018 [14], and LaSOT [7]. To be specific, OTB100 [33] contains 100 sequences, providing a fair benchmark for single object tracking. VOT2018 [14] is another challenging tracking benchmark, which simultaneously measures the tracker's accuracy and robustness. This benchmark includes 60 videos and ranks the trackers' performance with the expected average overlap (EAO) rule. LaSOT [7] is a recent large-scale tracking dataset, which covers 1400 videos with much longer time slots. We denote SiamRPN++ as SiamRPNpp for concise descriptions in the experiment section. Numerous experimental results demonstrate that our method can fool the state-of-the-art SiamRP-Npp tracker with merely imperceptible perturbations on the search regions or template. We also test our perturbation-generator on another three top-performance trackers: DaSiamRPN [40], DaSiamRPN-UpdateNet [37], and DiMP [3]. Obvious performance drop can also be observed, which shows that our method has good transferability. The speed of our attacking algorithm is also extremely fast. It only takes our model less than 9 ms to transform a clean search region to the adversarial one, and less than 3 ms to transform a clean template to the adversarial one.
|
| 135 |
+
|
| 136 |
+
# 4.1. Adversarial Attack to SiamRPNpp
|
| 137 |
+
|
| 138 |
+
Attacking Search Regions Only: When attacking search regions, we leave the original template unchanged and only replace clean search regions with the adversarial ones in each frame. The detailed experimental results are shown in Table 1, and an obvious performance drop can be observed on all three datasets.
|
| 139 |
+
|
| 140 |
+
Attacking the Template Only: When attacking the template, we only perturb the template once in the initial frame, replacing the original template with the adversarial one, and
|
| 141 |
+
|
| 142 |
+

|
| 143 |
+
|
| 144 |
+

|
| 145 |
+
(a) CarScale
|
| 146 |
+
|
| 147 |
+

|
| 148 |
+
|
| 149 |
+

|
| 150 |
+
(b) Bolt
|
| 151 |
+
Figure 4. Illustration of the effectiveness of generated perturbations. The green, blue and red boxes represent the groundtruth, original results and adversarial results, respectively. The blue and red lines represent the IoU's variation of the original results and adversarial results over time, respectively. Better viewed in color with zoom-in.
|
| 152 |
+
|
| 153 |
+

|
| 154 |
+
|
| 155 |
+

|
| 156 |
+
(c) Doll
|
| 157 |
+
|
| 158 |
+
Table 1. Effect of attacking search regions. The third column represents SiamRPNpp's original results. The fourth column represents results produced by attacking search regions. The last column represents the performance drop.
|
| 159 |
+
|
| 160 |
+
<table><tr><td>Dataset</td><td>Metric</td><td>Original</td><td>Attack SR</td><td>Drop</td></tr><tr><td rowspan="2">OTB100</td><td>Success(↑)</td><td>0.696</td><td>0.349</td><td>0.347</td></tr><tr><td>Precision(↑)</td><td>0.914</td><td>0.491</td><td>0.423</td></tr><tr><td rowspan="3">VOT2018</td><td>Accuracy(↑)</td><td>0.600</td><td>0.486</td><td>0.114</td></tr><tr><td>Robustness(↓)</td><td>0.234</td><td>2.074</td><td>1.840</td></tr><tr><td>EAO(↑)</td><td>0.414</td><td>0.073</td><td>0.341</td></tr><tr><td rowspan="2">LaSOT</td><td>Norm Precision(↑)</td><td>0.569</td><td>0.219</td><td>0.350</td></tr><tr><td>Success(↑)</td><td>0.496</td><td>0.180</td><td>0.316</td></tr></table>
|
| 161 |
+
|
| 162 |
+
then leaving the rest of the tracking process undisturbed. The detailed experimental results are shown in Table 2. The performance drop in this scenario is not as much as that in attacking search regions, because the tracker is hard to deceive by only adding minimal noises to the initial template.
|
| 163 |
+
|
| 164 |
+
Table 2. Effect of attacking the template. The third column represents SiamRPNpp's original results. The fourth column represents results produced by attacking the template. The last column represents the performance drop.
|
| 165 |
+
|
| 166 |
+
<table><tr><td>Dataset</td><td>Metric</td><td>Original</td><td>Attack T</td><td>Drop</td></tr><tr><td rowspan="2">OTB100</td><td>Success(↑)</td><td>0.696</td><td>0.527</td><td>0.169</td></tr><tr><td>Precision(↑)</td><td>0.914</td><td>0.713</td><td>0.201</td></tr><tr><td rowspan="3">VOT2018</td><td>Accuracy(↑)</td><td>0.600</td><td>0.541</td><td>0.059</td></tr><tr><td>Robustness(↓)</td><td>0.234</td><td>1.147</td><td>0.913</td></tr><tr><td>EAO(↑)</td><td>0.414</td><td>0.123</td><td>0.291</td></tr><tr><td rowspan="2">LaSOT</td><td>Norm Precision(↑)</td><td>0.569</td><td>0.448</td><td>0.121</td></tr><tr><td>Success(↑)</td><td>0.496</td><td>0.393</td><td>0.103</td></tr></table>
|
| 167 |
+
|
| 168 |
+
Attacking Both Search Regions and the Template: We also design a strategy that simultaneously attacks both search regions and the template. In this setting, we use the same generator designed for search regions to interfere with the template and search regions together. The detailed results are shown in Table 3. It can be seen that this strategy
|
| 169 |
+
|
| 170 |
+
brings a slightly higher performance drop than only attacking search regions.
|
| 171 |
+
|
| 172 |
+
Table 3. Effect of attacking both search regions and the template. The third column represents SiamRPNpp's original results. The fourth column represents results produced by attacking both search regions and the template. The last column represents the performance drop.
|
| 173 |
+
|
| 174 |
+
<table><tr><td>Dataset</td><td>Metric</td><td>Original</td><td>Attack Both</td><td>Drop</td></tr><tr><td rowspan="2">OTB100</td><td>Success(↑)</td><td>0.696</td><td>0.324</td><td>0.372</td></tr><tr><td>Precision(↑)</td><td>0.914</td><td>0.471</td><td>0.443</td></tr><tr><td rowspan="3">VOT2018</td><td>Accuracy(↑)</td><td>0.600</td><td>0.467</td><td>0.133</td></tr><tr><td>Robustness(↓)</td><td>0.234</td><td>2.013</td><td>1.779</td></tr><tr><td>EAO(↑)</td><td>0.414</td><td>0.073</td><td>0.341</td></tr><tr><td rowspan="2">LaSOT</td><td>Norm Precision(↑)</td><td>0.569</td><td>0.201</td><td>0.368</td></tr><tr><td>Success(↑)</td><td>0.496</td><td>0.168</td><td>0.328</td></tr></table>
|
| 175 |
+
|
| 176 |
+
We also compare the performance of SiamRPNpp [15] and its adversarial variants: SiamRPNpp+AT (attacking template), SiamRPNpp+AS (attacking search regions), and SiamRPNpp+ATS (attacking template and search regions) with other state-of-the-art trackers, such as MDNet [22], ECO [5], SPLT [36], VITAL [27], StructSiam [38], and SiamFC [2]. The results are shown in Figure 5 and Figure 6. Our adversarial attack algorithm drops the performance of SiamRPNpp significantly, making it obviously inferior to other top-performance trackers.
|
| 177 |
+
|
| 178 |
+
# 4.2. Ablation Study
|
| 179 |
+
|
| 180 |
+
Influence of Shrinking Loss: We discuss the influence of the shrinking loss on the adversarial success rate in different situations. As explained before, the cooling loss is used to attack the classification branch, making the target invisible to the tracker. In addition, the shrinking loss is designed to disable the tracker's ability of scale estimation, thereby forcing the tracker to predict inaccurate bounding boxes. To explore the effect of the shrinking loss, we design three groups of comparison experiments on OTB100 [33] and La
|
| 181 |
+
|
| 182 |
+

|
| 183 |
+
Figure 5. Quantitative comparison of state-of-the-art trackers on the LaSOT dataset.
|
| 184 |
+
|
| 185 |
+

|
| 186 |
+
|
| 187 |
+

|
| 188 |
+
Figure 6. Quantitative analysis of different attributes on the VOT2018 dataset.
|
| 189 |
+
|
| 190 |
+
SOT [7]: G-Template vs. G-Template-Regress, G-Search vs. G-Search-Regress, and G-Template-Search vs. G-Template-Search-Regress. The detailed results are shown in Figure 7 and Figure 8. The shrinking loss does play a significant part when attacking search regions only and when attacking both search regions and template, bringing obvious extra performance drop. However, the shrinking loss also plays a negative part when attacking the template only, because it may cause the misclassification task to be suboptimal. To be specific, it is much more difficult to deceive the tracker by only perturbing template once than perturbing search regions in all frames. Thus, the generator cannot easily balance between cooling loss and $L_{2}$ loss when attacking only the template. Adding an extra shrinking loss may lead to serious difficulty in training, causing worse attacking performance. In summary, the shrinking loss is helpful to attack search regions but somewhat harmful to attack the template.
|
| 191 |
+
|
| 192 |
+
Influence of a Discriminator: We also discuss the influence of a discriminator. Most previous neural-network-based adversarial attack methods [34, 31] adopt GAN structure, using a discriminator to supervise the adversarial out
|
| 193 |
+
|
| 194 |
+

|
| 195 |
+
Figure 7. Quantitative comparisons between w/ and w/o shrinking loss on the OTB100 dataset. Results with the suffix "Regress" are ones with shrinking loss.
|
| 196 |
+
|
| 197 |
+

|
| 198 |
+
|
| 199 |
+

|
| 200 |
+
Figure 8. Quantitative comparisons between w/ and w/o shrinking loss on the LaSOT dataset. Results with the suffix "Regress" are ones with shrinking loss.
|
| 201 |
+
|
| 202 |
+

|
| 203 |
+
|
| 204 |
+
put of the generator to be similar to the original input. However, we argue that the discriminator is not necessary. The reason why the $L_{2}$ loss and discriminator are applied is that we expect the perturbed image and original image to look similar. In other words, we hope that the perturbation is imperceptible. The $L_{2}$ loss can directly restrict the energy of noises and can be easily optimized. However, for the GAN's structure, the evolution of generator and discriminator has to be synchronized, which is hard to guarantee especially when the generator has many other tasks to learn. Thus, considering the instability of the GAN's architecture, we discard the discriminator and train the perturbation-generator only with the cooling-shrinking loss and $L_{2}$ loss. The visualization of clean and adversarial templates from the VOT2018 dataset is shown in Figure 9. Without the help of a discriminator, the perturbation generated by our method is also quite imperceptible.
|
| 205 |
+
|
| 206 |
+
# 4.3. Further Discussions
|
| 207 |
+
|
| 208 |
+
Speed: Our method also has extremely high efficiency. When attacking search regions, our method only needs less than 9 ms to process a frame, running in more than 100 FPS. When attacking the template, our method needs less than 3ms to process a whole video sequence. The speed of our algorithm is much faster than that of common video flow and that of most real-time trackers, indicating that it is also imperceptible in terms of time consumption.
|
| 209 |
+
|
| 210 |
+
Noise Pattern: The adversarial search regions, the clean ones and their difference maps are shown in Figure 10.
|
| 211 |
+
|
| 212 |
+

|
| 213 |
+
Figure 9. Visualization of clean and perturbed templates of the VOT2018 dataset. Better viewed in color with zoom-in.
|
| 214 |
+
|
| 215 |
+
It can be seen that the perturbation mainly focuses on the tracked target, leaving other regions almost not perturbed.
|
| 216 |
+
|
| 217 |
+

|
| 218 |
+
Figure 10. Adversarial search regions, clean ones and their difference maps. To observe pattern of difference maps clearly, the differences have been magnified by 10 times.
|
| 219 |
+
|
| 220 |
+
Comparison with Other Noises: As shown in Figure 11 and Table 4, compared with impulse noises and gauss noises, our adversarial perturbation is far more imperceptible but causes much larger performance drop.
|
| 221 |
+
|
| 222 |
+

|
| 223 |
+
MAE=0.98 MAE=12.72 MAE=25.61 MAE=19.76 MAE=37.47 Figure 11. Search regions with different kinds of noises. MAE represents mean absolute error.
|
| 224 |
+
|
| 225 |
+
Table 4. Comparison with other kinds of noises.
|
| 226 |
+
|
| 227 |
+
<table><tr><td>Dataset</td><td>Metric</td><td>original</td><td>ours</td><td>impulse 0.1</td><td>impulse 0.2</td><td>gauss 0.1</td><td>gauss 0.2</td></tr><tr><td rowspan="2">OTB100</td><td>Success(↑)</td><td>0.696</td><td>0.349</td><td>0.486</td><td>0.389</td><td>0.553</td><td>0.389</td></tr><tr><td>Precision(↑)</td><td>0.914</td><td>0.491</td><td>0.656</td><td>0.535</td><td>0.727</td><td>0.542</td></tr><tr><td>VOT2018</td><td>EAO(↑)</td><td>0.414</td><td>0.073</td><td>0.117</td><td>0.084</td><td>0.170</td><td>0.108</td></tr></table>
|
| 228 |
+
|
| 229 |
+
Transferability: All aforementioned experiments are based on the SiamRPNpp [15] tracker. To test our method's transferability, we also apply our trained perturbation-generator to another three state-of-the-art trackers: DaSiamRPN [40],
|
| 230 |
+
|
| 231 |
+
DaSiamRPN-UpdateNet [37], and DiMP [3]. Although all these trackers have templates and search regions, they are quite different from SiamRPNpp. To be specific, compared with SiamRPNpp, DaSiamRPN adopts a simpler backbone. DaSiamRPN-UpdateNet proposes a learnable way to update the template, further improving DaSiamRPN's performance. DiMP uses an online discriminative model to roughly determine the location of the target on the search region, and then applies a state estimation module to predict precise bounding boxes. We use these three trackers as the baseline algorithms and then add perturbations to their search region in each frame. We make experiments on the LaSOT [7] dataset. The detailed results about attacking DaSiamRPN, DaSiamRPN-UpdateNet, DiMP are shown in Table 5. Although our attacking algorithm is designed for and trained with SiamRPNpp, this method can also effectively deceive other state-of-the-art trackers, causing obvious performance drop, which demonstrates the transferability of our attacking method.
|
| 232 |
+
|
| 233 |
+
Table 5. Adversarial effect on other state-of-the-art trackers. From top to bottom, three trackers are DaSiamRPN, DaSi- amRPN+UpdateNet and DiMP.
|
| 234 |
+
|
| 235 |
+
<table><tr><td>Tracker</td><td></td><td>Success(↑)</td><td>Norm Precision(↑)</td></tr><tr><td rowspan="3">DaSiamRPN</td><td>Original</td><td>0.458</td><td>0.544</td></tr><tr><td>Adversarial</td><td>0.400</td><td>0.479</td></tr><tr><td>Drop</td><td>0.058</td><td>0.065</td></tr><tr><td rowspan="3">UpdateNet</td><td>Original</td><td>0.465</td><td>0.549</td></tr><tr><td>Adversarial</td><td>0.399</td><td>0.478</td></tr><tr><td>Drop</td><td>0.066</td><td>0.071</td></tr><tr><td rowspan="3">DiMP50</td><td>Original</td><td>0.559</td><td>0.642</td></tr><tr><td>Adversarial</td><td>0.492</td><td>0.567</td></tr><tr><td>Drop</td><td>0.067</td><td>0.075</td></tr></table>
|
| 236 |
+
|
| 237 |
+
# 5. Conclusion
|
| 238 |
+
|
| 239 |
+
In this study, we present an effective and efficient adversarial attacking algorithm for deceiving single object trackers. A novel cooling-shrinking loss is proposed to train the perturbation-generator. The generator trained with this adversarial loss and $L_{2}$ loss can deceive SiamRPN++ at a high success rate with imperceptible noises. We show that a discriminator is not necessary in adversarial attack of the tracker because the combination of the adversarial loss and $L_{2}$ loss has already achieved our goal. Besides SiamRPN++, our attacking method has impressive transferability and effectively attacks other recent trackers such as DaSiamRPN, DaSiamRPN-UpdateNet, and DiMP. Our algorithm is also quite efficient and can transform clean templates/search regions to adversarial ones in a short time interval.
|
| 240 |
+
|
| 241 |
+
Acknowledgement. The paper is supported in part by the National Key R&D Program of China under Grant No. 2018AAA0102001 and National Natural Science Foundation of China under grant No. 61725202, U1903215, 61829102, 91538201, 61751212 and the Fundamental Research Funds for the Central Universities under Grant No. DUT19GJ201.
|
| 242 |
+
|
| 243 |
+
# References
|
| 244 |
+
|
| 245 |
+
[1] Anish Athalye, Logan Engstrom, Andrew Ilyas, and Kevin Kwok. Synthesizing robust adversarial examples. arXiv preprint arXiv:1707.07397, 2017. 2, 3
|
| 246 |
+
[2] Luca Bertinetto, Jack Valmadre, João F Henriques, Andrea Vedaldi, and Philip H S Torr. Fully-convolutional siamese networks for object tracking. In ECCV 2016 Workshops, pages 850–865, 2016. 6
|
| 247 |
+
[3] Goutam Bhat, Martin Danelljan, Luc Van Gool, and Radu Timofte. Learning discriminative model prediction for tracking. In ICCV, 2019. 1, 2, 5, 8
|
| 248 |
+
[4] Kenan Dai, Yunhua Zhang, Dong Wang, Jianhua Li, Huchuan Lu, and Xiaoyun Yang. High-performance long-term tracking with meta-updater, 2020. 1
|
| 249 |
+
[5] Martin Danelljan, Goutam Bhat, Fahad Shahbaz Khan, and Michael Felsberg. ECO: Efficient convolution operators for tracking. In CVPR, 2017. 6
|
| 250 |
+
[6] Martin Danelljan, Goutam Bhat, Fahad Shahbaz Khan, and Michael Felsberg. ATOM: Accurate tracking by overlap maximization. In CVPR, 2019. 1, 2
|
| 251 |
+
[7] Heng Fan, Liting Lin, Fan Yang, Peng Chu, Ge Deng, Sijia Yu, Hexin Bai, Yong Xu, Chunyuan Liao, and Haibin Ling. LaSOT: A high-quality benchmark for large-scale single object tracking. In CVPR, 2019. 1, 2, 5, 7, 8
|
| 252 |
+
[8] Ruochen Fan, Fang-Lue Zhang, Min Zhang, and Ralph R Martin. Robust tracking-by-detection using a selection and completion mechanism. Computational Visual Media, 3(3):285-294, 2017. 1
|
| 253 |
+
[9] Ian J. Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. arXiv preprint arXiv:1412.6572, 2014. 1, 2
|
| 254 |
+
[10] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, 2016. 2, 3
|
| 255 |
+
[11] David Held, Sebastian Thrun, and Silvio Savarese. Learning to track at 100 fps with deep regression networks. In ECCV, 2016. 3
|
| 256 |
+
[12] Lianghua Huang, Xin Zhao, and Kaiqi Huang. GOT-10k: A large high-diversity benchmark for generic object tracking in the Wild. arXiv preprint arXiv:1810.11981, 2018. 1, 2, 5
|
| 257 |
+
[13] Borui Jiang, Ruixuan Luo, Jiayuan Mao, Tete Xiao, and Yun-ting Jiang. Acquisition of localization confidence for accurate object detection. In ECCV, 2018. 2
|
| 258 |
+
[14] Matej Kristan, Ales Leonardis, Jiri Matas, Michael Felsberg, Roman Pfugfelder, Luka Cehovin Zajc, Tomas Vojir, Goutam Bhat, Alan Lukezic, Abdelrahman Eldesokey, Gustavo Fernandez, and et al. The sixth visual object tracking VOT2018 challenge results. In ECCV, 2018. 2, 5
|
| 259 |
+
[15] Bo Li, Wei Wu, Qiang Wang, Fangyi Zhang, Junliang Xing, and Junjie Yan. SiamRPN++: Evolution of siamese visual tracking with very deep networks. In CVPR, 2019. 1, 2, 3, 5, 6, 8
|
| 260 |
+
[16] Bo Li, Junjie Yan, Wei Wu, Zheng Zhu, and Xiaolin Hu. High performance visual tracking with siamese region proposal network. In CVPR, 2018. 1, 2, 3, 5
|
| 261 |
+
[17] Junwei Li, Xiaolong Zhou, Sixian Chan, and Shengyong Chen. Object tracking using a convolutional network and
|
| 262 |
+
|
| 263 |
+
a structured output svm. Computational Visual Media, 3(4):325-335, 2017. 1
|
| 264 |
+
[18] Peixia Li, Dong Wang, Lijun Wang, and Huchuan Lu. Deep visual tracking: Review and experimental comparison. Pattern Recognition, 76:323-338, 2018. 1
|
| 265 |
+
[19] Jiajun Lu, Hussein Sibai, Evan Fabry, and David Forsyth. No need to worry about adversarial examples in object detection in autonomous vehicles. arXiv preprint arXiv:1707.03501, 2017. 3
|
| 266 |
+
[20] Yan Luo, Xavier Boix, Gemma Roig, Tomaso Poggio, and Qi Zhao. Foveation-based mechanisms alleviate adversarial examples. arXiv preprint arXiv:1511.06292, 2015. 3
|
| 267 |
+
[21] Seyed-Mohsen Moosavi-Dezfooli, Alhussein Fawzi, and Pascal Frossard. Deepfool: A simple and accurate method to fool deep neural networks. In CVPR, 2016. 1, 2
|
| 268 |
+
[22] Hyeonseob Nam and Bohyung Han. Learning multi-domain convolutional neural networks for visual tracking. In CVPR, 2016. 6
|
| 269 |
+
[23] Adam Paszke, Sam Gross, Soumith Chintala, Gregory Chanan, Edward Yang, Zachary DeVito, Zeming Lin, Alban Desmaison, Luca Antiga, and Adam Lerer. Automatic differentiation in PyTorch. In NIPS Autodiff Workshop, 2017. 5
|
| 270 |
+
[24] Shaoqing Ren, Kaiming He, Ross Girshick, and Jian Sun. Faster R-CNN: Towards real-time object detection with region proposal networks. In NIPS, 2015. 2
|
| 271 |
+
[25] Olaf Ronneberger, Philipp Fischer, and Thomas Brox. U-Net: Convolutional networks for biomedical image segmentation. arXiv preprint arXiv:1505.04597, 2015. 4
|
| 272 |
+
[26] Mahmood Sharif, Sruti Bhagavatula, Lujo Bauer, and Michael K. Reiter. Adversarial generative nets: Neural network attacks on state-of-the-art face recognition. arXiv preprint arXiv:1801.00349, 2017. 2, 3
|
| 273 |
+
[27] Yibing Song, Chao Ma, Xiaohe Wu, Lijun Gong, Linchao Bao, Wangmeng Zuo, Chunhua Shen, Rynson W.H. Lau, and Ming-Hsuan Yang. VITAL: Visual Tracking via Adversarial Learning. In CVPR, 2018. 6
|
| 274 |
+
[28] Christian Szegedy, Wei Liu, Yangqing Jia, Pierre Sermanet, Scott Reed, Dragomir Anguelov, Dumitru Erhan, Vincent Vanhoucke, and Andrew Rabinovich. Going deeper with convolutions. In CVPR, 2015. 2
|
| 275 |
+
[29] Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks. arXiv preprint arXiv:1312.6199, 2013. 1, 2
|
| 276 |
+
[30] Qiang Wang, Li Zhang, Luca Bertinetto, Weiming Hu, and Philip H. S. Torr. Fast online object tracking and segmentation: A unifying approach. In CVPR, 2019. 2, 3, 5
|
| 277 |
+
[31] Xingxing Wei, Siyuan Liang, Ning Chen, and Xiaochun Cao. Transferable adversarial attacks for image and video object detection. arXiv preprint arXiv:1811.12641, 2018. 1, 2, 7
|
| 278 |
+
[32] Rey Reza Wiyatno and Anqi Xu. Physical adversarial textures that fool visual object tracking. In ICCV, 2019. 2, 3
|
| 279 |
+
[33] Yi Wu, Jongwoo Lim, and Ming Hsuan Yang. Object tracking benchmark. IEEE Transactions on Pattern Analysis and Machine Intelligence, 37(9):1834-1848, 2015. 2, 5, 6
|
| 280 |
+
|
| 281 |
+
[34] Chaowei Xiao, Bo Li, Jun-Yan Zhu, Warren He, Mingyan Liu, and Dawn Song. Generating adversarial examples with adversarial networks. arXiv preprint arXiv:1801.02610, 2018. 1, 2, 7
|
| 282 |
+
[35] Cihang Xie, Jianyu Wang, Zhishuai Zhang, Yuyin Zhou, Lingxi Xie, and Alan Yuille. Adversarial examples for semantic segmentation and object detection. In ICCV, 2017. 1, 2
|
| 283 |
+
[36] Bin Yan, Haojie Zhao, Dong Wang, Huchuan Lu, and Xiaoyun Yang. 'Skimming-Perusal' Tracking: A framework for real-time and robust long-term tracking. In ICCV, 2019. 6
|
| 284 |
+
[37] Lichao Zhang, Abel Gonzalez-Garcia, Joost van de Weijer, Martin Danelljan, and Fahad Shahbaz Khan. Learning the model update for siamese trackers. In ICCV, 2019. 5, 8
|
| 285 |
+
[38] Yunhua Zhang, Lijun Wang, Jinqing Qi, Dong Wang, Mengyang Feng, and Huchuan Lu. Structured siamese network for real-time visual tracking. In ECCV, 2018. 6
|
| 286 |
+
[39] Zhipeng Zhang and Houwen Peng. Deeper and wider siamese networks for real-time visual tracking. In CVPR, 2019. 1, 2, 3
|
| 287 |
+
[40] Zheng Zhu, Qiang Wang, Bo Li, Wei Wu, Junjie Yan, and Weiming Hu. Distractor-aware siamese networks for visual object tracking. In ECCV, 2018. 1, 2, 3, 5, 8
|
coolingshrinkingattackblindingthetrackerwithimperceptiblenoises/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3b9309f140910c823270607a0059802908305ee3cb211cde545744e333409251
|
| 3 |
+
size 587464
|
coolingshrinkingattackblindingthetrackerwithimperceptiblenoises/layout.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:22cd4b5cad03a28f7f088c797b96b290453462bbde3245ce6445a0320724bf66
|
| 3 |
+
size 404805
|
copsrefanewdatasetandtaskoncompositionalreferringexpressioncomprehension/7610d573-7310-4f55-aa84-ab3137a95f6e_content_list.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3ce7393eac5b18552cc98f4c77430764a7ccb7cd7b975fde74da91ce418ad5a9
|
| 3 |
+
size 81968
|
copsrefanewdatasetandtaskoncompositionalreferringexpressioncomprehension/7610d573-7310-4f55-aa84-ab3137a95f6e_model.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1428962ee37ffda952bd3874ae1dcf5599cc213be52f94384e715f28b0c0a5ed
|
| 3 |
+
size 99163
|
copsrefanewdatasetandtaskoncompositionalreferringexpressioncomprehension/7610d573-7310-4f55-aa84-ab3137a95f6e_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:58a0a9ff71a780a2c5db97533ebca84f4a4095f0322b315c0bff7712fdecb7f5
|
| 3 |
+
size 1534552
|
copsrefanewdatasetandtaskoncompositionalreferringexpressioncomprehension/full.md
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Cops-Ref: A new Dataset and Task on Compositional Referring Expression Comprehension
|
| 2 |
+
|
| 3 |
+
Zhenfang Chen $^{1*}$ Peng Wang $^{2}$ Lin Ma $^{3}$ Kwan-Yee K. Wong $^{1}$ Qi Wu $^{4\dagger}$
|
| 4 |
+
|
| 5 |
+
<sup>1</sup>The University of Hong Kong <sup>2</sup>University of Wollongong
|
| 6 |
+
|
| 7 |
+
$^{3}$ Tencent AI Lab $^{4}$ Australian Centre for Robotic Vision, University of Adelaide
|
| 8 |
+
|
| 9 |
+
1{zfchen,kykwong}@cs.hku.hk 2pengw@uow.edu.au
|
| 10 |
+
|
| 11 |
+
$^{3}$ forest.linma@gmail.com $^{4}$ qi.wu01@adelaide.edu.au
|
| 12 |
+
|
| 13 |
+
Reasoning tree: cat (left, sleeping) resting towel (white)
|
| 14 |
+
|
| 15 |
+
Expression: The cat on the left that is sleeping and resting on the white towel.
|
| 16 |
+
|
| 17 |
+

|
| 18 |
+
(a) The image with the target "cat"
|
| 19 |
+
|
| 20 |
+

|
| 21 |
+
|
| 22 |
+

|
| 23 |
+
|
| 24 |
+

|
| 25 |
+
|
| 26 |
+

|
| 27 |
+
(d) Distractors with "sleeping cat"
|
| 28 |
+
|
| 29 |
+

|
| 30 |
+
|
| 31 |
+

|
| 32 |
+
|
| 33 |
+

|
| 34 |
+
(b) Distractors of different categories
|
| 35 |
+
(c) Distractors with "cat"
|
| 36 |
+
Figure 1: An example from the new Cops-Ref dataset for compositional referring expression comprehension. The task requires a model to identify a target object described by a compositional referring expression from a set of images including not only the target image but also some other images with varying distracting factors as well. The target/related/distracting regions are marked by green/yellow/blue boxes, respectively. More details about the reasoning tree can be seen in Sec. 3.1.
|
| 37 |
+
|
| 38 |
+

|
| 39 |
+
|
| 40 |
+

|
| 41 |
+
|
| 42 |
+

|
| 43 |
+
|
| 44 |
+

|
| 45 |
+
|
| 46 |
+

|
| 47 |
+
|
| 48 |
+
# Abstract
|
| 49 |
+
|
| 50 |
+
Referring expression comprehension (REF) aims at identifying a particular object in a scene by a natural language expression. It requires joint reasoning over the textual and visual domains to solve the problem. Some popular referring expression datasets, however, fail to provide an ideal test bed for evaluating the reasoning ability of the models, mainly because 1) their expressions typically describe only some simple distinctive properties of the object and 2) their images contain limited distracting information. To bridge the gap, we propose a new dataset for visual reasoning in context of referring expression comprehension with two main features. First, we design a novel expression engine rendering various reasoning logics that can be flexibly combined with rich visual properties to generate expressions with varying compositionality. Second, to better exploit the full reasoning chain embodied in an expression, we propose a new test setting by adding additional distracting images containing objects sharing similar properties with the referent, thus minimising
|
| 51 |
+
|
| 52 |
+
the success rate of reasoning-free cross-domain alignment. We evaluate several state-of-the-art REF models, but find none of them can achieve promising performance. A proposed modular hard mining strategy performs the best but still leaves substantial room for improvement. The dataset and code are available at: https://github.com/ zfchenUnique/Cops-Ref.
|
| 53 |
+
|
| 54 |
+
# 1. Introduction
|
| 55 |
+
|
| 56 |
+
In recent years, computer vision tasks that require high-level reasoning have attracted substantial interest. Visual question answering (VQA) [14, 8] and visual dialog (VD) [5, 20] are typical examples of such a trend, where the system answers free-form questions based on an image by jointly reasoning over the textual and visual domains. A prerequisite to achieve this ultimate goal of artificial intelligence is the ability to ground the rich linguistic elements embodied in the language onto the visual content of the image. Referring expression comprehension (REF) is such a visual grounding task, which targets at identifying a particular object in a scene by an expression phased in natural language. A number of datasets [17, 29, 45] have been constructed for this task, and on top of which various mod
|
| 57 |
+
|
| 58 |
+
els [27, 35, 44] have been developed.
|
| 59 |
+
|
| 60 |
+
Such popular datasets [17, 29, 45], however, cannot serve as ideal test beds to evaluate the reasoning ability of REF models. First, the expressions are typically simple and short, focusing mainly on some distinctive properties of the referent, such as object categories, attributes, or some simple relationships. For example, only some superficial reasoning is involved in expressions like 'the girl with glasses' and 'the man sitting next to a table'. Second, many images in the existing datasets contain only limited distracting information (e.g., containing only two or three objects of the same category) and do not necessitate complex reasoning. For example, although we are given a complex expression 'The cat on the left that is sleeping and resting on the white towel.' to localise the target cat in the example image shown in Fig. 1 (a), we can still have high chance to succeed even if we only use a simple expression 'The cat on the left' as the query. Another non-negligible issue is dataset bias. As stated by Cirik et al. [4], a system that ignores the expression but uses only the image as input can still outperform random guess by a large margin. Recently, a synthetic dataset for referring expression, called CLEVR-Ref+ [26], is proposed to facilitate the diagnosis of visual reasoning. However, this dataset sacrifices visual realism and semantic richness by only describing some simple shapes and attributes.
|
| 61 |
+
|
| 62 |
+
To tackle the aforementioned problems, we propose a new challenging dataset for visual reasoning in context of referring expression comprehension. Our dataset is built on top of the real-world images in GQA [14] and therefore it pertains visual realism and semantic richness. The key novelty of our dataset lies in a new expression engine. We design six reasoning logics, namely, and, or, order, same, not, and chain, which can be flexibly combined with the rich visual information (e.g., object categories, visual attributes, location information, and object interactions) to generate expressions with varying compositionality levels. Moreover, to overcome the sparse emergence of object categories and dataset bias, we design a new test setting by adding distracting images that contain objects sharing similar visual properties with the referent (e.g., same object category and similar attributes). Along with the dataset, a new REF task named CoMPoSitional Referring expression comprehension (Cops-Ref) is proposed, which requires a model to localise a region described by a flowery expression from a set of visually similar images. With the new dataset and task, the success rate of reasoning-free cross-domain alignment can be minimised.
|
| 63 |
+
|
| 64 |
+
We evaluate various state-of-the-art REF models on our proposed Cops-Ref dataset, but we find none of them can achieve a satisfactory performance. A modular hard-mining strategy is proposed to automatically mine hard negative ex
|
| 65 |
+
|
| 66 |
+
amples embodying different visual properties. It achieves the best performance on the Cops-Ref task but still leaves much room for further improvement.
|
| 67 |
+
|
| 68 |
+
The contributions of this paper can be summarised as follows: 1) We introduce a new challenging task named CopsRef, which requires a model to localise the referent from a set of images with objects sharing similar visual properties; 2) We build a new dataset on top of real images, which pertains visual realism and semantic richness, and can complement the synthetic reasoning dataset to evaluate models' reasoning ability more rigorously; 3) We design a novel expression engine, which supports various reasoning logics that can be flexibly combined with rich visual stimuli to generate expressions with varying compositionality; 4) We conduct comprehensive evaluation on the REF models, among which the proposed modular hard mining strategy performs best but still leaves much room for improvement.
|
| 69 |
+
|
| 70 |
+
# 2. Related Work
|
| 71 |
+
|
| 72 |
+
Referring Expression Datasets. Toward tackling the REF task, many datasets [17, 29, 33, 45, 3] have been constructed by asking annotators to provide expressions describing regions of images. However, it is labor-intensive and hard to control the annotation quality, and most of the queries in the datasets can be easily solved by simply reasoning on object categories, attributes and shallow relations. Inspired by the synthetic dataset CLEVR [15] for VQA [43, 28], Liu et al. [26] built a synthetic REF dataset, called CLEVR-Ref+, by synthesising both images and expressions. However, it has been noticed in [14] that images in CLEVR, with only a handful of object classes, properties and spatial relations, are too simple for VQA. It is doubtful whether such synthetic images are representative enough to reflect the complexity of real-world images.
|
| 73 |
+
|
| 74 |
+
Recently, Hudson and Manning [14] proposed a new dataset GQA for VQA, which provides scene graph annotations for real-world images. By utilising the scene graph annotations and further data cleaning, we contribute a new dataset named Cops-Ref for referring expression, which contains not only region-expression pairs with complex reasoning chains but also visually similar distractors. It demands a much stronger reasoning ability to understand the whole expression and distinguish subtle visual differences in the images. Note that GQA also provides experiments localising related regions for questions but it is only regarded as a metric to evaluate the VQA task rather than targeting at the REF task. Neither expressions or distractors are considered in their setting.
|
| 75 |
+
|
| 76 |
+
Referring Expression Models. Referring expression [7, 12, 13, 19, 29, 30, 36, 40, 41, 42, 6] has attracted great attention. Karpathy and Fei-Fei [16] learned visual alignments between text and regions by multiple instance learning. Rohrbach et al. [35] localised a region by reconstructing the sentence using an attention mechanism. [45, 32, 46]
|
| 77 |
+
|
| 78 |
+
<table><tr><td>Index</td><td>Forms</td><td>Reasoning trees</td><td>Exemplar templates</td><td>Expression examples</td></tr><tr><td>1</td><td>chain</td><td>obj0(att0) → rel0→ obj1(att1) → rel1→ obj2(att2)</td><td>The <att0> that is <rel0> the <att1> <obj1> that is <rel1> the <att2> <obj2>.</td><td>The young girl that is touching the glazed donut that is on the round table.</td></tr><tr><td>2</td><td>and</td><td>obj0(att0) { rel0→obj1(att1) → rel1→obj2(att2)</td><td>The <att0> <obj0> <rel0> the <att1> <obj1> and <rel1> the <att2> <obj2>.</td><td>The white fence near the building and behind the walking woman.</td></tr><tr><td>3</td><td>or</td><td>obj0(att0) { rel0→obj1(att1) → rel1→obj2(att2)</td><td>The <att0> <obj0> <rel0> the <att1> <obj1> or <rel1> the <att2> <obj2>.</td><td>The green suitcase behind the black suitcase or near the yellow suitcase.</td></tr><tr><td>4</td><td>order</td><td>obj0(idx, dir, att0)</td><td>The <idx> <obj0> from the <dir> that is <att0>.</td><td>The first glass from the left that is red.</td></tr><tr><td>5</td><td>same</td><td>obj0 → same cat → obj1</td><td>The <obj0> that has the same <cat> as the <obj1>.</td><td>The bag that has the same color as the sweater.</td></tr><tr><td>6</td><td>not</td><td>obj0 (not att0)</td><td>The <obj0> that is not <att0>.</td><td>The apple that is not red.</td></tr></table>
|
| 79 |
+
|
| 80 |
+
Table 1: Examples of expression logic forms. Attributes of the objects are bounded with () and relations between objects are shown on $\rightarrow$ . obj0 denotes the target object, while obj1,2 denote the related objects. att0,1,2 and rel0,1,2 denote the corresponding attributes and relations, respectively.
|
| 81 |
+
|
| 82 |
+
utilised context information to ground the expression. Yu et al. [44] and Liu et al. [25], respectively, used modular networks and neural module tree networks to match better structure semantics. Following [44], Wang et al. [39] and Liu et al. [27] increased the reasoning ability by watching neighbour regions and cross-modal attention-guided erasing. Different from these previous studies focusing on referring short expressions in a single image, we refer complex expressions in multiple similar images, which is more challenging and requires a stronger visual reasoning ability.
|
| 83 |
+
|
| 84 |
+
Text based Image Retrieval. Text based image retrieval returns relevant images from the gallery that is described by the text description [1, 9, 22, 23, 24, 33, 37, 38, 11, 2]. Different from text based image retrieval, Cops-Ref focuses on fine-grained region-level matching. The distracting regions in Cops-Ref are more semantically similar to the relevant region in the target image with only subtle differences. Such fine-grained and region-level similarity requires models with much stronger reasoning ability to ground the flowery expressions.
|
| 85 |
+
|
| 86 |
+
# 3. The Cops-Ref Dataset and Task
|
| 87 |
+
|
| 88 |
+
Previous natural image referring expression datasets [17, 29, 45] typically only require the ability to recognise objects, attributes and simple relations. Apart from such shallow ability, Cops-Ref also measures deeper reasoning ability like logic and relational inference. Compared with previous datasets, it has two main features, namely 1) flowery and compositional expressions which need complex reasoning ability to understand, and 2) a challenging test setting that includes controlled distractors with similar visual properties to the referent. Fig. 1 shows a typical example of our dataset. In the following subsections, we first introduce the construction of the dataset, including generating expressions (Sec. 3.1), discovering distractors (Sec. 3.2), and postprocessing (Sec. 3.3). We then analyse the statistics of our dataset and formally define the task in Sec. 3.4 and Sec. 3.5.
|
| 89 |
+
|
| 90 |
+
# 3.1. The Expression Engine
|
| 91 |
+
|
| 92 |
+
The expression engine is the key to the construction of our dataset, responsible for generating grammatically correct, unambiguous and flowery expressions with various compositionality for each of the described regions. We propose to generate expressions from scene graphs based on some logic forms. Specifically, given a region to be described, we first choose a logic form from a predefined logic family and obtain a textual template for it. We then take the target object node in the scene graph as a root and expand it into a specific reasoning tree needed for the textual template. Finally, we fill the textual template with the content parsed from the reasoning tree and produce the expression. In the following paragraphs, we will describe the details of these three steps.
|
| 93 |
+
|
| 94 |
+
Expression logic forms. Expression logic forms summarise the abstract logics and provide specific structures for the expressions. Each of them is associated with several textual templates. Specifically, we define six types of expression logic forms, namely chain, and, or, order, same, and not. These high-level logic forms provide different contexts for the target object. Specifically, chain, and and or describe the relationship between the target object and other related objects. The chain form considers a sequence of related objects connected by a chain, while the and form indicates the target object must have some specific relations with two other objects and the or form only requires fulfilling one of the two relations. The order form provides relative spatial location between the target object and other objects of the same category. The same form shows that the target object shares the same attributes as the related object. The not form indicates a certain attribute or relation being absent in the target object. These basic logic forms can be further composed with each other and generate more complex and compositional expressions. The logic forms and their templates are shown in table 1.
|
| 95 |
+
|
| 96 |
+
Although these logic forms cannot fully reflect the com
|
| 97 |
+
|
| 98 |
+
plexity of natural language, the basic logic units covered and their flexible compositions are sufficient to evaluate a model's reasoning ability. Moreover, experimental results show that knowledge learned from the Cops-Ref dataset can be directly applied to previous human-annotated datasets like refCOCO.
|
| 99 |
+
|
| 100 |
+
Reasoning tree parsing. While expression logic forms define the structures for the expressions, the dense scene graphs provide the corresponding semantic content. We use the scene graphs provided in [14, 21] to represent the internal semantic structures of images. Each node represents an object and edges between nodes represent the relations between them. Textual templates of different expression logic forms require different semantic content as input, which can be represented by reasoning trees with different structures extracted from the scene graph. Table 1 shows an instantiation of the reasoning tree for each of the forms, their corresponding textual templates and expression examples.
|
| 101 |
+
|
| 102 |
+
Specifically, for the chain, and and or forms, we simply parse the needed semantic reasoning trees from the scene graphs. For the order form, we sort all the regions that are of the same object category from left to right (vice versa) based on the coordinates of the centres of the bounding boxes. Since the order constraint is rather weak (e.g., 'the left glass' may also exist in the distracting images), we further add additional attributes and/or relations to make the expression unambiguous. Similarly, for the not form, we traverse the whole scene graph and collect the attributes/relations that present in all objects of the same category but not in the target object. For the same form, we find the attribute that only the target object and the related object have, and regard the category of that attribute as a relation between the two objects. The attribute categories used in the same form include colour, shape, material, gender and pattern.
|
| 103 |
+
|
| 104 |
+
Expression Generation. With the expression logic forms and the parsed reasoning trees ready, the expression engine can generate flexible expressions by filling the textual templates of the expression logic forms with the content from the reasoning tree. For example, given the order form and a textual template like the <index> <object> from <direction>, the expression engine can generate 'the first glass from the left' for the reasoning tree, glass (first, left). It can also generate more flowery expressions by adding more attributes or nodes to the reasoning tree. For example, it can produce 'the first glass from the left that is clear and to the left of the gravity' by the expanded reasoning tree, glass (first, left, clear) $\xrightarrow{\text{to the left of}}$ gravity.
|
| 105 |
+
|
| 106 |
+
# 3.2. Discovery of Distracting Images
|
| 107 |
+
|
| 108 |
+
Introducing distracting images in the test phase is another important feature of our proposed dataset. It provides
|
| 109 |
+
|
| 110 |
+
more complex visual reasoning context and reduces dataset bias. The inclusion of distracting images guarantees that good performance can only be achieved by REF models that are able to reason over the complete expression and distinguish subtle visual differences. We define four types of distracting images, namely:
|
| 111 |
+
|
| 112 |
+
1. DiffCat: images that contain objects of different categories as the target object.
|
| 113 |
+
2. Cat: images that contain objects of the same category as the target object.
|
| 114 |
+
3. Cat&attr: images that contain objects of both the same category and attributes as the target object.
|
| 115 |
+
4. Cat&cat: images that contain all the objects in the reasoning tree but of different relations.
|
| 116 |
+
|
| 117 |
+
These distractors can be used to evaluate different aspects of REF models such as object recognition, attribute identification and relation extraction, etc. They force the models to fully understand the flowery and compositional expressions to achieve good performance. For each expression in the validation set and test set, we provide 3 distracting images under each distracting factor, apart from the image containing the ground-truth target. We simply discard those region-expression pairs for which we cannot find enough distractors. Fig. 1 shows an example of distracting images of different types for a given expression.
|
| 118 |
+
|
| 119 |
+
# 3.3. Post Processing and Balancing
|
| 120 |
+
|
| 121 |
+
We use synonyms parsed from wordNet [31] to further improve the diversity of the expressions. Besides, we remove expressions that target at classes that are hard to be bounded by a regular rectangle box (e.g., 'sky' and 'cloud') and regions that are too small (i.e., regions whose area is smaller than $1\%$ of the whole image). We also notice that some of the scene graph annotations in GQA are incorrect or incomplete ( e.g., missing annotations for some objects/attributes/relations). They may make some regions in the distracting images also semantically match the expressions. To avoid such noise in the distractors, we manually check the expressions and images in the test set and discard these pairs with noise.
|
| 122 |
+
|
| 123 |
+
We also find some simple relations like 'to the left of' being much more frequent than others in the scene graphs of GQA [14]. To address such bias issues, we adopt two strategies: 1) we sample relations for each node based on a probability that is directly proportional to the reciprocal of the frequency, downsampling most frequent relations and enriching diversity of expressions; 2) we abandon those expression-regions that only contain simple spatial relations.
|
| 124 |
+
|
| 125 |
+
# 3.4. Statistics of the Dataset
|
| 126 |
+
|
| 127 |
+
After the above processing and balancing, we have 148,712 expressions and 1,307,885 regions on 75,299 images, making our dataset the current largest real-world image dataset for referring expressions. The average length
|
| 128 |
+
|
| 129 |
+

|
| 130 |
+
(a) The most frequent object names
|
| 131 |
+
|
| 132 |
+

|
| 133 |
+
(b) The most frequent attributes
|
| 134 |
+
Figure 2: The most frequent object names, attributes and relations of Cops-Ref. The size of words indicates frequency.
|
| 135 |
+
|
| 136 |
+

|
| 137 |
+
(c) The most frequent relations
|
| 138 |
+
|
| 139 |
+
<table><tr><td></td><td>Object Cat.</td><td>Att. Num.</td><td>Rel. Num.</td><td>Exp. length</td><td>Cand Num.</td><td>Cat Cand Num.</td></tr><tr><td>refCOCO</td><td>801</td><td>-</td><td>-</td><td>3.5</td><td>10.6</td><td>4.9</td></tr><tr><td>refCOCOg</td><td>80</td><td>-</td><td>-</td><td>8.5</td><td>8.2</td><td>2.6</td></tr><tr><td>CLEVR-Ref+</td><td>3</td><td>12</td><td>5</td><td>22.4</td><td>-</td><td>-</td></tr><tr><td>Cops-Ref</td><td>508</td><td>601</td><td>299</td><td>14.4</td><td>262.5</td><td>20.3</td></tr></table>
|
| 140 |
+
|
| 141 |
+
Table 2: Statistic comparison of refCOCO [45], refCOCOg [29], CIEVR-Ref+ [26] and the Cops-Ref on number of object categories, number of attributes, number of relations, average length of expressions, average number of object candidates and average number of object candidates that are of the same categories for each expression.
|
| 142 |
+
|
| 143 |
+
of the expressions is 14.4 and the size of the vocabulary is 1,596. Since the scene graph annotation of the test set of GQA dataset is not publicly released, we use the validation set of GQA to construct our test set. A new validation set is split out from the training data of GQA to monitor the model training process. There are 119,603/16,524/12,586 expressions for training/validation/test, respectively.
|
| 144 |
+
|
| 145 |
+
Thanks to the dense annotations of the scene graphs, the proposed dataset contains fine-grained annotations for object categories, attributes and relations. The number of entry-level object categories, attributes and relations are 508, 601, and 299, respectively. We show the most frequent object names, attributes and relations in Fig. 2. We can see diverse object categories, with 'man', 'building' and 'tree' being the most frequent object names. The most frequent attributes are colours (e.g. 'black' and 'white') and sizes (e.g. 'small' and 'large') while the most frequent relations are spatial relations like 'to the left/right of'. We compare the statistics of the proposed Cops-Ref dataset with three widely-used referring dataset, refCOCO [45], refCOCOg [29] and CLEVR-Ref+ [26] in table $2^{1}$ . As shown in table 2, the proposed dataset enjoys diverse object categories, attributes and relations. Moreover, it provides reasonably long expressions and much more candidate objects of same/different categories as the target object. The average length of our expressions is shorter than that of CLEVR-Ref+, but we find it is not necessary to use longer expressions to distinguish the target object in the real-world images even when distractors exist. More analysis about dataset bias and baseline results
|
| 146 |
+
|
| 147 |
+
can be found in Sec. 5 and we provide more data examples and detailed statistics in the supplementary material.
|
| 148 |
+
|
| 149 |
+
# 3.5. Task
|
| 150 |
+
|
| 151 |
+
Given a natural language referring expression and a set of similar images, the proposed Cops-Ref task requires a model to localise a target region described by the expression. Compared to the previous REF task [17, 29], the Cops-Ref demands a better understanding of longer and flowerier expressions, and the ability to distinguish the subtle differences of the distracting images. It requires REF models to have stronger reasoning ability for object detection, attribute recognition, and relation extraction. Formally, given $N$ images and a query expression $q$ , the Cops-Ref task identifies a target region $r_{i^{*},j^{*}}$ by
|
| 152 |
+
|
| 153 |
+
$$
|
| 154 |
+
r _ {i ^ {*}, j ^ {*}} = \underset {r _ {i, j}, i \in [ 1, N ], j \in [ 1, J _ {i} ]} {\arg \max } s \left(r _ {i, j} | q\right), \tag {1}
|
| 155 |
+
$$
|
| 156 |
+
|
| 157 |
+
where $I_{i}$ denotes the $i$ -th image, $r_{i,j}$ is the $j$ -th region from $I_{i}$ , $J_{i}$ is the number of the regions in $I_{i}$ , $s(r_{i,j}|q)$ denotes the matching score between $r_{i,j}$ and $q$ .
|
| 158 |
+
|
| 159 |
+
Note that we do not use distracting images during training in our experimental setting because they are usually unavailable or hard-to-collect in the real world. Also, it is easier for us to follow the original training strategies in [22, 27, 44, 35] to re-train and evaluate the models.
|
| 160 |
+
|
| 161 |
+
# 4. Model
|
| 162 |
+
|
| 163 |
+
Although Cops-Ref is a new task that requires localising a region from a set of images instead of a single one, existing REF models can be directly applied to this new task by densely matching the query expression with each object in the image set and choosing the one with the highest matching score as the referring result.
|
| 164 |
+
|
| 165 |
+
MattNet [44] is a popular backbone model for solving the REF task because of its extraordinary capability in modeling different modules of the query expressions, including subject (sub), location (loc) and relationship (rel). Specifically, MattNet estimates the matching score between an expression $q$ and the $j$ -th region $r_j$ by
|
| 166 |
+
|
| 167 |
+
$$
|
| 168 |
+
s \left(r _ {j} \mid q\right) = \sum_ {m d} w ^ {m d} s \left(r _ {j} \mid q ^ {m d}\right), \tag {2}
|
| 169 |
+
$$
|
| 170 |
+
|
| 171 |
+
where $md \in \{sub, loc, rel\}$ , $w^{md}$ is the learnt weight for the $md$ module and $q^{md}$ is the modular phrase embedding. More details about MattNet can be found in [44].
|
| 172 |
+
|
| 173 |
+
Given a positive pair $(r_m, q_m)$ , the whole model of Mat-Net is optimised by a ranking loss, given by
|
| 174 |
+
|
| 175 |
+
$$
|
| 176 |
+
\begin{array}{l} \mathcal {L} _ {\text {r a n k}} = \sum_ {m} ([ \Delta - s (r _ {m} | q _ {m}) + s (r _ {m} | q _ {n}) ] _ {+} + \tag {3} \\ [ \Delta - s (r _ {m} | q _ {m}) + s (r _ {o} | q _ {m}) ] _ {+}), \\ \end{array}
|
| 177 |
+
$$
|
| 178 |
+
|
| 179 |
+
where $r_o$ and $q_n$ are other random unaligned regions and expressions in the same image as $r_m$ and $q_m$ , $\Delta$ is a margin and $[x]_+ = \max(x, 0)$ . This loss function is suitable for the REF task and can successfully distinguish aligned region-expression pairs from unaligned ones within the same image. However, when it comes to the Cops-Ref task, it has the limitation on not being able to identify hard negative examples with similar visual properties in other images, because the training of MattNet does not consider hard negative regions and expressions in other images. To solve this problem, we propose a modular hard-mining training strategy based on MattNet.
|
| 180 |
+
|
| 181 |
+
Modular Hard-mining Strategy. To increase the ability of MattNet to distinguish hard negative regions in distracting images, we need to sample distracting regions/expressions in other images as negative training examples. However, since there are 119,603 expressions and 797,595 regions in the training set of Cops-Ref, how to mine hard negative regions and expressions effectively and efficiently becomes a challenge. To handle this challenge, we propose to use the similarity of modular phrase embedding $q^{md}$ as a prior to sample the hard negative examples in other images, where $md \in \{sub, loc, rel\}$ .
|
| 182 |
+
|
| 183 |
+
Specifically, for the $m$ -th region-expression pair, we first extract its modular expression features $\{q_m^{md}\}$ and calculate their similarity with those of the $n$ -th region-expression pair that has the same object category. We define the probability of sampling the $n$ -th region-expression pair to be the negative pair by
|
| 184 |
+
|
| 185 |
+
$$
|
| 186 |
+
\begin{array}{l} s _ {m, n} ^ {m d} = f \left(q _ {m} ^ {m d}, q _ {n} ^ {m d}\right), \\ p _ {m, n} ^ {m d} = \frac {\exp \left(s _ {m , n} ^ {m d}\right)}{\sum_ {n = 1 , m \neq n} ^ {n = N _ {C}} \exp \left(s _ {m , n} ^ {m d}\right)}, \tag {4} \\ \end{array}
|
| 187 |
+
$$
|
| 188 |
+
|
| 189 |
+
where $f$ is a function for estimating the similarity between two expression features and $N_{C}$ is the number of the region-expression pairs has the same object category as the $m$ -th region-expression pair in the training set. For simplicity, We use cosine similarity as an instantiation of $f$ . We mine hard distracting regions and expressions for each positive region-expression pair and send these distracting regions to a ranking loss as hard negative examples.
|
| 190 |
+
|
| 191 |
+
Formally, our modular hard-mining loss is
|
| 192 |
+
|
| 193 |
+
$$
|
| 194 |
+
\begin{array}{l} \mathcal {L} _ {\text {m i n e}} = \sum_ {m} \sum_ {m d} \left(\left[ \Delta - s \left(r _ {m} \mid q _ {m}\right) + s \left(r _ {m} \mid q _ {n} ^ {m d}\right) \right] _ {+} + \right. \tag {5} \\ [ \Delta - s (r _ {m} | q _ {m}) + s (r _ {n} ^ {m d} | q _ {m}) ] _ {+}), \\ \end{array}
|
| 195 |
+
$$
|
| 196 |
+
|
| 197 |
+
where $r_n^{md}$ and $q_{n}^{md}$ are a region-expression pair sampled with $\{p_{m,n}^{md}\}_{n = 1,m\neq n}^{N_C}$ as a prior.
|
| 198 |
+
|
| 199 |
+
Our total loss is $\mathcal{L} = \mathcal{L}_{\text{rank}} + \mathcal{L}_{\text{mine}}$ , where $\mathcal{L}_{\text{rank}}$ targets at distinguishing distracting negative regions and expressions within the same image, and $\mathcal{L}_{\text{mine}}$ targets at distinguishing similar negative regions and expressions in other images.
|
| 200 |
+
|
| 201 |
+
Such a modular hard mining strategy is effective since it can mine hard negative region-expression pairs outside the image that contains the target region-expression pair. Besides, the mined regions have similar properties as the target, which demand stronger reasoning ability to distinguish. It is also efficient since it only requires the expressions as input without the need for loading images into memory. It enables the model to scan all the expressions in the training set in around 29 seconds with a naive implementation. During training, we update the sample probability $p_{i,j}^{md}$ every 50 iterations. We distinguish the proposed hard mining model from the original MattNet by calling it MattNet-Mine.
|
| 202 |
+
|
| 203 |
+
# 5. Experiments
|
| 204 |
+
|
| 205 |
+
In this section, we conduct extensive experiments to analyse the Cops-Ref dataset and compare our proposed model with SOTA REF models. We first study the bias impact and transfer performance. We then compare the performance of the proposed MattNet-Mine with the baselines. We also provide extensive analysis, including "retrieve" + "REF" to handle the task, performance against logic forms and lengths of the expressions. We finally provide an ablation study on our mining strategy for distractors. We introduce experimental settings before we start.
|
| 206 |
+
|
| 207 |
+
# 5.1. Experimental Settings
|
| 208 |
+
|
| 209 |
+
Implementation Details. Following MattNet [44] and CM-Att-Erase [27], we extract visual features by res101-based Faster-RCNN [10, 34] pre-trained on COCO [24]. For each word in the sentence, we initialise it with an one-hot word embedding. We train all the models with Adam optimiser [18] until the accuracy of the validation set stops improving. We set the maximum time step for the text encoder to be 30. Expressions with words less than 30 are padded. For other settings for hyper-parameters, we keep them the same as the original MattNet to avoid cumbersome parameter fine-tuning. For the proposed MattNet-Mine, we first pre-train it by the ranking loss $\mathcal{L}_{\text{rank}}$ to obtain reasonable modular attentive phrase embeddings and then finetune the model with both $\mathcal{L}_{\text{mine}}$ and $\mathcal{L}_{\text{rank}}$ . Following previous REF models like [27, 39, 44], we use ground-truth object bounding boxes as proposals. We consider it as a correct comprehension if the model successfully chooses the proposal pointed by the expression among all the proposals extracted from the similar image set.
|
| 210 |
+
|
| 211 |
+
Evaluation Settings. Table 3 shows different experiments settings. Full denotes the case when all the distractors are added while WithoutDist denotes no distractor is added. DiffCat, Cat and Cat&attr, respectively, represent
|
| 212 |
+
|
| 213 |
+
<table><tr><td>Method</td><td>Full</td><td>DiffCat</td><td>Cat</td><td>Cat&attr</td><td>Cat&cat</td><td>WithoutDist</td></tr><tr><td>Chance</td><td>0.4</td><td>1.7</td><td>1.8</td><td>1.9</td><td>1.7</td><td>6.6</td></tr><tr><td>GroundeR [35]</td><td>19.1</td><td>60.2</td><td>38.5</td><td>35.7</td><td>38.9</td><td>75.7</td></tr><tr><td>Deaf-GroundeR</td><td>2.2</td><td>7.7</td><td>7.9</td><td>8.0</td><td>8.0</td><td>27.1</td></tr><tr><td>Shuffle-GroundeR</td><td>13.1</td><td>41.8</td><td>28.6</td><td>27.2</td><td>27.6</td><td>58.5</td></tr><tr><td>Obj-Attr-GroundeR</td><td>15.2</td><td>53.1</td><td>32.6</td><td>29.6</td><td>32.7</td><td>68.8</td></tr><tr><td>MattNet-refCOCO</td><td>8.7</td><td>22.7</td><td>17.0</td><td>16.7</td><td>18.9</td><td>42.4</td></tr><tr><td>MattNet [44]</td><td>26.3</td><td>69.1</td><td>45.2</td><td>42.5</td><td>45.8</td><td>77.9</td></tr><tr><td>CM-Att-Erase [27]</td><td>28.0</td><td>71.3</td><td>47.1</td><td>43.4</td><td>48.4</td><td>80.4</td></tr><tr><td>SCAN [22]+MattNet</td><td>18.8</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>MattNet-Mine</td><td>33.8</td><td>70.5</td><td>54.4</td><td>46.8</td><td>52.0</td><td>78.4</td></tr></table>
|
| 214 |
+
|
| 215 |
+
Table 3: Results of baselines and state-of-the-art models on the Cops-Ref dataset. MattNet-refCOCO is trained on refCOCO.
|
| 216 |
+
|
| 217 |
+
the cases when certain type of distractors are added, including distracting images containing no object of the same category as the target object, images containing objects of the same category, images containing objects of the same category, and attributes and images containing all the objects in the reasoning tree but of different relations.
|
| 218 |
+
|
| 219 |
+
# 5.2. Dataset Analysis
|
| 220 |
+
|
| 221 |
+
Bias Analysis. Inspired by the bias analysis of Cirik et al. [4], we use similar ways to analyse the bias problem of Cops-Ref. To exclude the impact of specific models or mechanisms, we choose GroundeR [35], which is the simplest CNN-RNN baseline model for referring expression. We train several variants of GroundeR models, include deaf-GroundeR which masks out the language input of the GroundeR with an all-zero vector, shuffle-GroundeR which shuffles the order of the word sequence in the expression and Obj-Att-GroundeR which only keeps the nouns and adjectives of the text input.
|
| 222 |
+
|
| 223 |
+
The upper section of table 3 shows the results of the bias experiments. Deaf-GroundeR, an image only model achieves better performance than the "Chance" model, which selects a region from the images by chance. We observe that Deaf-GroundeR can filter out some irrelevant regions by providing higher matching scores for those regions whose categories like 'woman' and 'shirt' frequently appear in both the training set and test set. This indicates that the statistics bias problem in previous datasets like refCOCOg [29] also exists in our dataset. However, comparing the results of WithoutDist and Full, we see that the biased performance becomes much lower when distractors are added. Moreover, the bias problem in Cops-Ref is less significant than in refCOCOg. Deaf-GroundeR only achieves an accuracy of 2.2 in the Full case, while a similar "image only" model achieves an accuracy of 40.1 in [4].
|
| 224 |
+
|
| 225 |
+
Cirik et al. [4] also pointed out that shuffling the order of expressions and masking out other words that are not nouns or adjectives have minor effect on the performance of refCOCOg, resulting in only a relative drop of $4\%$ and $3\%$ , respectively. This suggests that a model does not need very strong reasoning ability for the whole sentence to handle the task. However, in Cops-Ref, comparing
|
| 226 |
+
|
| 227 |
+
Shuffle-GroundeR and Obj-Att-GroundeR with GroundeR under the Full case, we observe a relative drop of $31\%$ and $20\%$ , respectively. It indicates that the syntactic structure and relations play more significant roles in Cops-Ref regarding performance improvement.
|
| 228 |
+
|
| 229 |
+
Transfer Performance. We directly apply a MattNet [44] model trained on refCOCO to our Cops-Ref and it only achieves an accuracy of 42.4 and 8.7 under the WithoutDist and Full cases, respectively. It shows our dataset and task are more complex and challenging. In contrast, a MattNet trained on Cops-Ref can achieve an accuracy of 56.5 and 64.5 on the testA and testB splits of refCOCO, which are about $65.7\%$ and $76.4\%$ of the performance of the original model trained on refCOCO, respectively. This demonstrates the realism of our synthetic expressions and that the knowledge learnt from Cops-Ref can be directly transferred to real datasets like refCOCO, while the reasoning ability gained from refCOCO cannot solve our Cops-Ref task.
|
| 230 |
+
|
| 231 |
+
# 5.3. Overall Evaluation
|
| 232 |
+
|
| 233 |
+
We evaluate the proposed Cops-Ref task with three baselines, namely GroundeR [35], MattNet [44] and CM-Att-Erase [27]. GroundeR is a simple CNN-RNN baseline. MattNet is one of the most popular REF models, and CM-Att-Erase was the best state-of-art in REF at the time of this submission. We densely ground the expressions on every image in the similar image set and choose the region with the highest score as the grounding result.
|
| 234 |
+
|
| 235 |
+
Performance of the REF Models. Table 3 reports the accuracy of all the baselines and the proposed MattNet-Mine. We have the following observations. (1) The performance gradually increases from GroundeR [35] to MattNet [44] and from MattNet [44] to CM-Att-Erase [27]. This is consistent with their performance on the refCOCO, refCOCO+ and refCOCOg [17, 29]. (2) The performance of these REF models decreases dramatically when distracting images containing the objects of the same object category are added, especially under the Full case. Among the 4 types of distractors, DiffCat affects the performance least while Cat&Attr affects most. This implies that existing
|
| 236 |
+
|
| 237 |
+

|
| 238 |
+
|
| 239 |
+

|
| 240 |
+
Figure 3: Accuracy of expressions of different logic form.
|
| 241 |
+
Figure 4: Accuracy of expressions of different lengths.
|
| 242 |
+
|
| 243 |
+
REF models strongly rely on object and attribute recognition to localise the target region. (3) Comparing with the original MattNet [44], our MattNet-Mine show improved performance under all cases, especially for the cases that contain fine-grained similar distractors. This demonstrates the effectiveness of the proposed hard mining strategy.
|
| 244 |
+
|
| 245 |
+
Performance of "Retrieve" + "REF" Strategy. We also evaluate another strategy to solve the problem in which we first use a text-based image retrieval model to select one image with the highest matching score and then ground the query expression in the selected image. We use SCAN (t2i) [22] as the retrieval model for its excellent performance, and we use MattNet to ground the expression in the returned image. We achieve an accuracy of 18.8 under the Full case. Compared with the other models in table 3, the "Retrieve" + "REF" strategy performs worse than densely referring the query expression in every image. We believe this may be caused by the fact that densely referring an expression in every image provides more fine-grained regional level matching than the retrieval model.
|
| 246 |
+
|
| 247 |
+
Performance of Different Logic Forms. We show the performance of expressions of each logic form in Fig. 3. We can see that while expressions of chain, and, or and same forms have similar accuracy, order and not forms have the best and second best accuracy, respectively. We believe the reasons are 1) the reasoning logic trees of order and not forms are simpler than other forms like chain, and and or (see table 1), and 2) order form has provided specific relative spatial location between the target object and the related objects of the same category within the same image.
|
| 248 |
+
|
| 249 |
+
Performance of Different Lengths of Expressions. We divide expressions into 3 kinds based on the number of the words in the expressions, namely short (less than 10 words), middle (10-20 words) and long (more than 20 words), and test them separately. As shown in Fig. 4, we find that expressions in the middle group have the best accuracy. We suspect that short expressions provide limited textual information for distinguishing distracting regions while long expressions usually contain complex logic or semantics that requires stronger reasoning ability.
|
| 250 |
+
|
| 251 |
+
<table><tr><td>Method</td><td>Full</td><td>DiffCat</td><td>Cat</td><td>Cat&attr</td><td>Cat&cat</td></tr><tr><td>MattNet</td><td>26.3</td><td>69.1</td><td>45.2</td><td>42.5</td><td>45.8</td></tr><tr><td>Random</td><td>27.6</td><td>71.6</td><td>47.4</td><td>43.5</td><td>47.3</td></tr><tr><td>Class-aware</td><td>32.2</td><td>70.3</td><td>53.2</td><td>46.1</td><td>51.4</td></tr><tr><td>Sentence-sim</td><td>32.3</td><td>70.4</td><td>53.6</td><td>46.4</td><td>51.2</td></tr><tr><td>Module-specific</td><td>33.8</td><td>70.5</td><td>54.4</td><td>46.8</td><td>52.0</td></tr></table>
|
| 252 |
+
|
| 253 |
+
Table 4: Ablation study of different hard mining strategies.
|
| 254 |
+
|
| 255 |
+
# 5.4. Ablation Study on Distractor Mining
|
| 256 |
+
|
| 257 |
+
We conduct an ablation study to investigate different hard negative mining strategies for the Cops-Ref task. Specifically, we have the following solutions by replacing the $q_{n}^{md}$ and $r_{n}^{md}$ in Eq. 5 with features from different regions and expressions. "Random" means using regions and expressions that are randomly-selected from the whole dataset regardless the object category. "Class-aware" means using random-selected regions and expressions that has the same object category as the target region. "Sentence-sim" means a region-expression pair that is sampled based on the similarity of global expression features. We define the global expression features as the average embedding of all the words in the expression. "Module-Specific" means the proposed modular specific hard mining strategy based on the similarity of the modular expression features.
|
| 258 |
+
|
| 259 |
+
Table 4 shows the ablation study results. Compared with the original MattNet, "Random" can provide an improvement under all cases. However, its improvement for the Full case is minor comparing with other mining strategy since it does not consider the similar distractors. "Class-aware" boosts the performance under the case where similar distractors are added, indicating the value of the distracting regions and expressions of the same category. "Sentence-sim" achieves only a comparable performance with "Class-aware", showing its inefficiency for hard negative mining. "Module-specific" achieves the best performance when similar distractors are added, showing its effectiveness to mine negative examples and distinguish similar distractors.
|
| 260 |
+
|
| 261 |
+
# 6. Conclusion
|
| 262 |
+
|
| 263 |
+
Expressions in existing referring expression datasets normally describe some simple distinguishing properties of the object which cannot fully evaluate a model's visual reasoning ability. In this paper, we proposed a new challenging dataset, named Cops-Ref, for referring expression comprehension. The new dataset covers various reasoning logics that can be flexibly combined with rich visual properties. Additionally, to better exploit the full reasoning chain embodied in the expression, we proposed a new test setting by adding some additional distracting images. This newly proposed dataset suffers less bias and we found existing state-of-the-art models fail to show promising results. We then proposed a modular based hard mining strategy that achieves the best performance but is still far from perfect. We wish this Cops-Ref dataset and task can attract more research attention and become a new benchmark in this area.
|
| 264 |
+
|
| 265 |
+
# References
|
| 266 |
+
|
| 267 |
+
[1] Kobus Barnard, Pinar Duygulu, David Forsyth, Nando de Freitas, David M Blei, and Michael I Jordan. Matching words and pictures. Journal of machine learning research, 2003. 3
|
| 268 |
+
[2] Zhenfang Chen, Lin Ma, Wenhan Luo, Peng Tang, and Kwan-Yee K Wong. Look closer to ground better: Weakly-supervised temporal grounding of sentence in video. arXiv preprint arXiv:2001.09308, 2020. 3
|
| 269 |
+
[3] Zhenfang Chen, Lin Ma, Wenhan Luo, and Kwan-Yee K Wong. Weakly-supervised spatio-temporally grounding natural sentence in video. In Proc. 57th Annual Meeting of the Association for Computational Linguistics, Florence, Italy, July 2019. 2
|
| 270 |
+
[4] Volkan Cirik, Louis-Philippe Morency, and Taylor Berg-Kirkpatrick. Visual referring expression recognition: What do systems actually learn? In *NAACL*, 2018. 2, 7
|
| 271 |
+
[5] Abhishek Das, Satwik Kottur, Khushi Gupta, Avi Singh, Deshraj Yadav, José M.F. Moura, Devi Parikh, and Dhruv Batra. Visual Dialog. In CVPR, 2017. 1
|
| 272 |
+
[6] Chaorui Deng, Qi Wu, Qingyao Wu, Fuyuan Hu, Fan Lyu, and Mingkui Tan. Visual grounding via accumulated attention. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 7746-7755, 2018. 2
|
| 273 |
+
[7] Pelin Dogan, Leonid Sigal, and Markus Gross. Neural sequential phrase grounding (seqground). In CVPR, 2019. 2
|
| 274 |
+
[8] Chuang Gan, Yandong Li, Haoxiang Li, Chen Sun, and Boqing Gong. Vqs: Linking segmentations to questions and answers for supervised attention in vqa and question-focused semantic segmentation. In ICCV, 2017. 1
|
| 275 |
+
[9] Yunchao Gong, Qifa Ke, Michael Isard, and Svetlana Lazebnik. A multi-view embedding space for modeling internet images, tags, and their semantics. International journal of computer vision, 2014. 3
|
| 276 |
+
[10] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, 2016. 6
|
| 277 |
+
[11] Hexiang Hu, Ishan Misra, and Laurens van der Maaten. Binary Image Selection (BISON): Interpretable Evaluation of Visual Grounding. arXiv preprint arXiv:1901.06595, 2019. 3
|
| 278 |
+
[12] Ronghang Hu, Marcus Rohrbach, Jacob Andreas, Trevor Darrell, and Kate Saenko. Modeling relationships in referential expressions with compositional modular networks. In CVPR, 2017. 2
|
| 279 |
+
[13] Ronghang Hu, Huazhe Xu, Marcus Rohrbach, Jiashi Feng, Kate Saenko, and Trevor Darrell. Natural language object retrieval. In CVPR, 2016. 2
|
| 280 |
+
[14] Drew A Hudson and Christopher D Manning. Gqa: a new dataset for compositional question answering over real-world images. In CVPR, 2019. 1, 2, 4
|
| 281 |
+
[15] Justin Johnson, Bharath Hariharan, Laurens van der Maaten, Li Fei-Fei, C Lawrence Zitnick, and Ross Girshick. Clevr: A diagnostic dataset for compositional language and elementary visual reasoning. In CVPR, 2017. 2
|
| 282 |
+
[16] Andrej Karpathy and Li Fei-Fei. Deep visual-semantic alignments for generating image descriptions. In CVPR, 2015. 2
|
| 283 |
+
|
| 284 |
+
[17] Sahar Kazemzadeh, Vicente Ordonez, Mark Matten, and Tamara Berg. Referitgame: Referring to objects in photographs of natural scenes. In EMNLP, 2014. 1, 2, 3, 5, 7
|
| 285 |
+
[18] Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. 6
|
| 286 |
+
[19] Chen Kong, Dahua Lin, Mohit Bansal, Raquel Urtasun, and Sanja Fidler. What are you talking about? text-to-image coreference. In CVPR, 2014. 2
|
| 287 |
+
[20] Satwik Kottur, José M. F. Moura, Devi Parikh, Dhruv Batra, and Marcus Rohrbach. Visual coreference resolution in visual dialog using neural module networks. In ECCV, 2018. 1
|
| 288 |
+
[21] Ranjay Krishna, Yuke Zhu, Oliver Groth, Justin Johnson, Kenji Hata, Joshua Kravitz, Stephanie Chen, Yannis Kalantidis, Li-Jia Li, David A Shamma, et al. Visual genome: Connecting language and vision using crowdsourced dense image annotations. International Journal of Computer Vision, 2017. 4
|
| 289 |
+
[22] Kuang-Huei Lee, Xi Chen, Gang Hua, Houdong Hu, and Xiaodong He. Stacked cross attention for image-text matching. In ECCV, pages 201-216, 2018. 3, 5, 7, 8
|
| 290 |
+
[23] Kunpeng Li, Yulun Zhang, Kai Li, Yuanyuan Li, and Yun Fu. Visual semantic reasoning for image-text matching. 2019. 3
|
| 291 |
+
[24] Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dólar, and C Lawrence Zitnick. Microsoft coco: Common objects in context. In ECCV, 2014. 3, 6
|
| 292 |
+
[25] Daqing Liu, Hanwang Zhang, Zheng-Jun Zha, and Wu Feng. Learning to assemble neural module tree networks for visual grounding. In The IEEE International Conference on Computer Vision (ICCV), 2019. 3
|
| 293 |
+
[26] Runtao Liu, Chenxi Liu, Yutong Bai, and Alan L Yuille. Clevr-ref+: Diagnosing visual reasoning with referring expressions. In CVPR, 2019. 2, 5
|
| 294 |
+
[27] Xihui Liu, Zihao Wang, Jing Shao, Xiaogang Wang, and Hongsheng Li. Improving referring expression grounding with cross-modal attention-guided erasing. In CVPR, 2019. 2, 3, 5, 6, 7
|
| 295 |
+
[28] Jiayuan Mao, Chuang Gan, Pushmeet Kohli, Joshua B. Tenenbaum, and Jiajun Wu. The Neuro-Symbolic Concept Learner: Interpreting Scenes, Words, and Sentences From Natural Supervision. In ICLR, 2019. 2
|
| 296 |
+
[29] Junhua Mao, Jonathan Huang, Alexander Toshev, Oana Camburu, Alan L Yuille, and Kevin Murphy. Generation and comprehension of unambiguous object descriptions. In CVPR, 2016. 1, 2, 3, 5, 7
|
| 297 |
+
[30] Cynthia Matuszek, Nicholas FitzGerald, Luke Zettlemoyer, Liefeng Bo, and Dieter Fox. A joint model of language and perception for grounded attribute learning. In ICML, 2012. 2
|
| 298 |
+
[31] George A. Miller. Wordnet: A lexical database for english. COMMUNICATIONS OF THE ACM, 38:39-41, 1995. 4
|
| 299 |
+
[32] Varun K Nagaraja, Vlad I Morariu, and Larry S Davis. Modeling context between objects for referring expression understanding. In ECCV, 2016. 2
|
| 300 |
+
|
| 301 |
+
[33] Bryan A Plummer, Liwei Wang, Chris M Cervantes, Juan C Caicedo, Julia Hockenmaier, and Svetlana Lazebnik. Flickr30k entities: Collecting region-to-phrase correspondences for richer image-to-sentence models. In ICCV, 2015. 2, 3
|
| 302 |
+
[34] Shaoqing Ren, Kaiming He, Ross Girshick, and Jian Sun. Faster r-cnn: Towards real-time object detection with region proposal networks. In NIPS, 2015. 6
|
| 303 |
+
[35] Anna Rohrbach, Marcus Rohrbach, Ronghang Hu, Trevor Darrell, and Bernt Schiele. Grounding of textual phrases in images by reconstruction. In ECCV, 2016. 2, 5, 7
|
| 304 |
+
[36] Mohammad Amin Sadeghi and Ali Farhadi. Recognition using visual phrases. In CVPR, 2011. 2
|
| 305 |
+
[37] Richard Socher, Andrej Karpathy, Quoc V Le, Christopher D Manning, and Andrew Y Ng. Grounded compositional semantics for finding and describing images with sentences. Transactions of the Association for Computational Linguistics, 2014. 3
|
| 306 |
+
[38] Mingzhe Wang, Mahmoud Azab, Noriyuki Kojima, Rada Mihalcea, and Jia Deng. Structured matching for phrase localization. In ECCV, 2016. 3
|
| 307 |
+
[39] Peng Wang, Qi Wu, Jiewei Cao, Chunhua Shen, Lianli Gao, and Anton van den Hengel. Neighbourhood watch: Referring expression comprehension via language-guided graph attention networks. In CVPR, 2019. 3, 6
|
| 308 |
+
[40] Sibei Yang, Guanbin Li, and Yizhou Yu. Cross-modal relationship inference for grounding referring expressions. In CVPR, 2019. 2
|
| 309 |
+
[41] Zhengyuan Yang, Boqing Gong, Liwei Wang, Wenbing Huang, Dong Yu, and Jiebo Luo. A fast and accurate one-stage approach to visual grounding. In ICCV, 2019. 2
|
| 310 |
+
[42] Linwei Ye, Mrigank Rochan, Zhi Liu, and Yang Wang. Cross-modal self-attention network for referring image segmentation. In CVPR, June 2019. 2
|
| 311 |
+
[43] Kexin Yi, Jiajun Wu, Chuang Gan, Antonio Torralba, Pushmeet Kohli, and Joshua B Tenenbaum. Neural-Symbolic VQA: Disentangling Reasoning from Vision and Language Understanding. In NIPS, 2018. 2
|
| 312 |
+
[44] Licheng Yu, Zhe Lin, Xiaohui Shen, Jimei Yang, Xin Lu, Mohit Bansal, and Tamara L Berg. Mattnet: Modular attention network for referring expression comprehension. In CVPR, 2018. 2, 3, 5, 6, 7, 8
|
| 313 |
+
[45] Licheng Yu, Patrick Poirson, Shan Yang, Alexander C Berg, and Tamara L Berg. Modeling context in referring expressions. In ECCV, 2016. 1, 2, 3, 5
|
| 314 |
+
[46] Hanwang Zhang, Yulei Niu, and Shih-Fu Chang. Grounding referring expressions in images by variational context. In CVPR, 2018. 2
|
copsrefanewdatasetandtaskoncompositionalreferringexpressioncomprehension/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ad0285efaeffbe5bf21f02be62c20f3cdc9d1f22bb4dc8a91dbe9e651c57a26a
|
| 3 |
+
size 406565
|
copsrefanewdatasetandtaskoncompositionalreferringexpressioncomprehension/layout.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a6b89d4e3180c8aa09c08e766fc95317e260a9ca819404e33730c7c7ef31dcb
|
| 3 |
+
size 370428
|
copyandpasteganfacehallucinationfromshadedthumbnails/48ef4047-2e69-4413-8ac9-8e0d1186797a_content_list.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f78d29c49013d3d9dc16fb9ddf19bee8f0914f992c163d01ff1c7257ed323e74
|
| 3 |
+
size 78254
|
copyandpasteganfacehallucinationfromshadedthumbnails/48ef4047-2e69-4413-8ac9-8e0d1186797a_model.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1240b9c55d6c60fbd63bd0122ce672f511a8ff5244032cc93ba13a54e9b4125d
|
| 3 |
+
size 100373
|
copyandpasteganfacehallucinationfromshadedthumbnails/48ef4047-2e69-4413-8ac9-8e0d1186797a_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a08dc8585ddc4b9b13a31a5ecfde3a732189004204f98e1da7a65aec23198fbc
|
| 3 |
+
size 715927
|
copyandpasteganfacehallucinationfromshadedthumbnails/full.md
ADDED
|
@@ -0,0 +1,402 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copy and Paste GAN: Face Hallucination from Shaded Thumbsails
|
| 2 |
+
|
| 3 |
+
Yang Zhang $^{1,2,3}$ , Ivor W. Tsang $^{3}$ , Yawei Luo $^{4}$ , Changhui Hu $^{1,2,5}$ , Xiaobo Lu $^{1,2*}$ , Xin Yu $^{3,6}$
|
| 4 |
+
|
| 5 |
+
$^{1}$ School of Automation, Southeast University, China
|
| 6 |
+
|
| 7 |
+
$^{2}$ Key Laboratory of Measurement and Control of Complex Systems of Engineering, Ministry of Education, Southeast University, China
|
| 8 |
+
|
| 9 |
+
<sup>3</sup> Centre for Artificial Intelligence, University of Technology Sydney, Australia
|
| 10 |
+
|
| 11 |
+
$^{4}$ School of Computer Science and Technology, Huazhong University of Science and Technology, China
|
| 12 |
+
|
| 13 |
+
$^{5}$ School of Automation, Nanjing University of Posts and Telecommunications, China
|
| 14 |
+
|
| 15 |
+
$^{6}$ Australian Centre for Robotic Vision, Australian National University, Australia
|
| 16 |
+
|
| 17 |
+
# Abstract
|
| 18 |
+
|
| 19 |
+
Existing face hallucination methods based on convolutional neural networks (CNN) have achieved impressive performance on low-resolution (LR) faces in a normal illumination condition. However, their performance degrades dramatically when LR faces are captured in low or non-uniform illumination conditions. This paper proposes a Copy and Paste Generative Adversarial Network (CPGAN) to recover authentic high-resolution (HR) face images while compensating for low and nonuniform illumination. To this end, we develop two key components in our CPGAN: internal and external Copy and Paste nets (CPnets). Specifically, our internal CPnet exploits facial information residing in the input image to enhance facial details; while our external CPnet leverages an external HR face for illumination compensation. A new illumination compensation loss is thus developed to capture illumination from the external guided face image effectively. Furthermore, our method offsets illumination and upsamples facial details alternately in a coarse-to-fine fashion, thus alleviating the correspondence ambiguity between LR inputs and external HR inputs. Extensive experiments demonstrate that our method manifests authentic HR face images in a uniform illumination condition and outperforms state-of-the-art methods qualitatively and quantitatively.
|
| 20 |
+
|
| 21 |
+
# 1. Introduction
|
| 22 |
+
|
| 23 |
+
Human faces are important information resources since they carry information on identity and emotion
|
| 24 |
+
|
| 25 |
+

|
| 26 |
+
Figure 1: Motivation of CPGAN. Internal and external CPnets are introduced to mimic the Clone Stamp Tool. Internal CPnet copies good details to paste them on shadow regions. External CPnet further retouches the face using an external guided face from the UI-HR face dataset during the upsampling process to compensate for uneven illumination in the final HR face.
|
| 27 |
+
|
| 28 |
+
changes in daily activities. To acquire such information, high-resolution and high-quality face images are often desirable. Due to spacing distance and lighting conditions between cameras and humans, captured faces may be tiny or in poor illumination conditions, thus hindering human perception and computer analysis (Fig.2(a)).
|
| 29 |
+
|
| 30 |
+
Recently, many face hallucination techniques [32, 35, 41, 4, 5, 30, 37] have been proposed to visualize tiny face images by assuming uniform illuminations on face thumbnail databases, as seen in Fig.2(b) and Fig.2(c). However, facial details in shaded thumbnails become obscure in case of low/non-uniform illumination conditions, which leads to failures in hallucination due to inconsistent intensities. For instance, as Fig.2(d) shows, the hallucinated result generated by the state-of-the-art face hallucination method [33] is semantically and per
|
| 31 |
+
|
| 32 |
+
ceptually inconsistent with the ground truth (GT), yielding blurred facial details and non-smooth appearance.
|
| 33 |
+
|
| 34 |
+
Meanwhile, various methods are proposed to tackle illumination changes on human faces. The state-of-the-art methods of face inverse lighting [6, 39] usually fit the face region to a 3D Morphable Model [29] by facial landmarks and then render illumination. However, these methods are unsuitable to face thumbnails, because facial landmark cannot be detected accurately in such low-resolution images and erroneous face alignment leads to artifacts in the illumination normalized results. This will increase difficulty to learn the mappings between LR and HR faces. Image-to-image translation methods, such as [12, 40, 22], can be an alternative to transfer illumination styles between faces without detecting facial landmarks. Due to the variety of illumination conditions, the translation method [40] fails to learn a consistent mapping for face illumination compensation, thus distorting facial structure in the output (Fig.2(e)).
|
| 35 |
+
|
| 36 |
+
As seen in Fig.2(f) and Fig.2(g), applying either face hallucination followed by illumination normalization or illumination normalization followed by hallucination produces results with severe artifacts. To tackle this problem, our work aims at hallucinating LR inputs under non-uniform low illumination (NI-LR face) while achieving HR in uniform illumination (UI-HR face) in a unified framework.
|
| 37 |
+
|
| 38 |
+
Towards this goal, we propose a Copy and Paste Generative Adversarial Network (CPGAN). CPGAN is designed to explore internal and external image information to normalize illumination, and to enhance facial details of input NI-LR faces. We first design an internal Copy and Paste net (internal CPnet) to approximately offset non-uniform illumination features and enhance facial details by searching for similar facial patterns within input LR faces for subsequent upsampling procedure. Our external CPnet is developed to copy illumination from a HR face template, then pass the illumination information to the input. In this way, our network learns how to compensate for illumination of inputs. To reduce the illumination transferring difficulty, we alternately upsample and transfer the illumination in a coarse-to-fine manner. Moreover, Spatial Transformer Network (STN) [13] is adopted to align input NI-LR faces, promoting more effectively feature refinement as well as facilitating illumination compensation. Furthermore, an illumination compensation loss is proposed to capture the normal illumination pattern and transfer the normal illumination to the inputs. As shown in Fig. 2(h), the upsampled HR face is not only realistic but also resembles the GT with normal illumination.
|
| 39 |
+
|
| 40 |
+
The contributions of our work are listed as follows:
|
| 41 |
+
|
| 42 |
+
- We present the first framework, dubbed CPGAN, to address face hallucination and illumination compensation together, in an end-to-end manner, which is optimized by the conventional face hallucination loss and a new illumination compensation loss.
|
| 43 |
+
|
| 44 |
+
- We introduce an internal CPnet to enhance the facial details and normalize illumination coarsely, aiding subsequent upsampling and illumination compensation.
|
| 45 |
+
|
| 46 |
+
- We present an external CPnet for illumination compensation by learning illumination from an external HR face. In this fashion, we are able to learn illumination explicitly rather than requiring a dataset with the same illumination condition.
|
| 47 |
+
|
| 48 |
+
- A novel data augmentation method, Random Adaptive Instance Normalization (RaIN), is proposed to generate sufficient NI-LR and UI-HR face image pairs. Experiments show that our method achieves photo-realistic UI-HR face images.
|
| 49 |
+
|
| 50 |
+
# 2. Related work
|
| 51 |
+
|
| 52 |
+
# 2.1. Face Hallucination
|
| 53 |
+
|
| 54 |
+
Face hallucination methods aim at establishing the intensity relationships between input LR and output HR face images. The prior works can be categorized into three mainstreams: holistic-based techniques, part-based methods, and deep learning-based models.
|
| 55 |
+
|
| 56 |
+
The basic principle of holistic-based techniques is to represent faces by parameterized models. The representative models conduct face hallucination by adopting linear mapping [27], global appearance [17], subspace learning techniques [15]. Then, part-based methods are proposed to extract facial regions and then upsample them. SIFT flow [26] and facial landmarks [28] are introduced to locate facial components of input LR images.
|
| 57 |
+
|
| 58 |
+
Deep learning is an enabling technique for large datasets, and has been applied to face hallucination successfully. Huang et al. [10] introduce wavelet coefficients prediction into deep convolutional networks to super-resolve LR inputs with multiple upscaling factors. Zhu et al. [41] develop Cascade bi-network to hallucinate low-frequency and high-frequency parts of input LR faces, respectively. Several recent methods explore facial prior knowledge, such as facial attributes [31], parsing maps [5] and component heatmaps [30], for advanced hallucination results.
|
| 59 |
+
|
| 60 |
+
However, existing approaches mostly focus on hallucinating tiny face images with normal illumination.
|
| 61 |
+
|
| 62 |
+

|
| 63 |
+
(a) Input
|
| 64 |
+
|
| 65 |
+

|
| 66 |
+
(b) Guided HR
|
| 67 |
+
|
| 68 |
+

|
| 69 |
+
(c) GT
|
| 70 |
+
Figure 2: Face hallucination and illumination normalization results of state-of-the-art methods and our proposed CPGAN. (a) Input NI-LR image $(16\times 16$ pixels); (b) Guided UI-HR image $(128\times 128$ pixels). (c) UI-HR image $(128\times 128$ pixels, not available in training). (d) Result of a popular face hallucination method, TDAE [33]; (e) Illumination normalization result on (a) by applying [40] after bicubic upsampling; (f) Face hallucination result on (e) by [34]; (g) Face hallucination and illumination normalization result on (a) by [34] and [23]; (h) Result of CPGAN $(128\times 128$ pixels). Above all, our CPGAN achieves a photo-realistic visual effect when producing authentic UI-HR face images.
|
| 71 |
+
|
| 72 |
+

|
| 73 |
+
(d) [33]
|
| 74 |
+
|
| 75 |
+

|
| 76 |
+
(e) [40]
|
| 77 |
+
|
| 78 |
+

|
| 79 |
+
(f) [40] + [34]
|
| 80 |
+
|
| 81 |
+

|
| 82 |
+
(g) [34] + [23]
|
| 83 |
+
|
| 84 |
+

|
| 85 |
+
(h) Ours
|
| 86 |
+
|
| 87 |
+
Thus, in case of non-uniform illuminations, they usually generate serious blurred outputs.
|
| 88 |
+
|
| 89 |
+
# 2.2. Illumination Compensation
|
| 90 |
+
|
| 91 |
+
Face illumination compensation methods are proposed to compensate for the non-uniform illumination of human faces and reconstruct face images in a normal illumination condition.
|
| 92 |
+
|
| 93 |
+
Recent data driven approaches for illumination compensation are based on the illumination cone [2] or the Lambertian Reflectance theory [1]. These approaches learn the disentangled representations of facial appearance and mimic various illumination conditions based on the modeled illumination parameters. For instance, Zhou et al. [39] propose a lighting regression network to simulate various lighting scenes for face images. Shu et al. [24] propose a GAN framework to decompose face images into physical intrinsic components, geometry, albedo, and illumination base. Zhu et al. [40] propose a cycle consistent network to render a content image to an image with different styles. In this way, the illumination condition of the style image can be transferred to the content image.
|
| 94 |
+
|
| 95 |
+
However, these methods only compensate for nonuniform illumination without well retaining the accurate facial details, especially when the input face images are impaired or low-resolution. Due to the above limitations, simply cascading face hallucination and illumination compensation methods is incompetent to attain high-quality UI-HR faces.
|
| 96 |
+
|
| 97 |
+
# 3. Hallucination with "Copy" and "Paste"
|
| 98 |
+
|
| 99 |
+
To reduce the ambiguity of the mapping from NI-LR to UI-HR caused by non-uniform illumination, we present a CPGAN framework that takes a NI-LR face as the input and an external HR face with normal illumination as a guidance to hallucinate a UI-HR one. In CPGAN, we develop Copy and Paste net (CPnet) to flexibly
|
| 100 |
+
|
| 101 |
+
"copy" and "paste" the uniform illumination features according to the semantic spatial distribution of the input one, thus compensating for illumination of the input image. A discriminator is adopted to force the generated UI-HR face to lie on the manifold of real face images. The whole pipeline is shown in Fig. 3.
|
| 102 |
+
|
| 103 |
+
# 3.1. Overview of CPGAN
|
| 104 |
+
|
| 105 |
+
CPGAN is composed of the following components: internal CPnet, external CPnets, spatial transformer networks (STNs) [13], deconvolutional layers, stacked hourglass module [21] and discriminator network. Unlike previous works [5, 30] which only take the LR images as inputs and then super-resolve them with the facial prior knowledge, we incorporate not only input facial information but also an external guided UI-HR face for hallucination. An encoder module is adopted to extract the features of the guided UI-HR image. Note that, our guided face is different from the GT of the NI-LR input.
|
| 106 |
+
|
| 107 |
+
As shown in Fig. 3, the input NI-LR image is first passed through the internal CPnet to enhance facial details and normalize illumination coarsely by exploiting the shaded facial information. Then the external CPnet resorts to an external guided UI-HR face for further illumination compensation during the upsampling process. Because input images may undergo misalignment, such as in-plane rotations, translations and scale changes, we employ STNs to compensate for misalignment [37, 36], as shown in the yellow blocks in Fig. 3. Meanwhile, inspired by [3], we adopt the stacked hourglass network [21] to estimate vital facial landmark heatmaps for preserving face structure.
|
| 108 |
+
|
| 109 |
+
# 3.1.1 Internal CPnet
|
| 110 |
+
|
| 111 |
+
Due to the shading artifacts, the facial details (high-frequency features) in the input NI-LR face image be
|
| 112 |
+
|
| 113 |
+

|
| 114 |
+
|
| 115 |
+

|
| 116 |
+
(a) Internal CPnet
|
| 117 |
+
|
| 118 |
+

|
| 119 |
+
(b) Internal Copy module
|
| 120 |
+
|
| 121 |
+
come ambiguous. Therefore, we propose an internal CP-net to enhance the high-frequency features and perform a coarse illumination compensation.
|
| 122 |
+
|
| 123 |
+
Fig. 4(b) shows the architecture of our internal CPnet, which consists of an input convolution layer, an Internal Copy module, a Paste block as well as a skip connection. Our Internal Copy module adopts the residual block and Channel-Attention (CA) module in [38] to enhance high-frequency features firstly. Then, our Copy block (Fig. 5(b)) is introduced to "copy" the desired internal uniform illumination features for coarsely compensation. Note that, Copy block here treats the output features of CA module as the both input features $(F_{C})$ and guided features $(F_{G})$ in Fig. 5(b). Meanwhile, the skip connection in internal CPnet bypasses the LR input features to the Paste block. In this way, the input NI-LR face is initially refined by the internal CPnet.
|
| 124 |
+
|
| 125 |
+
To analyze the role of our proposed Internal Copy module, we can exploit the changes of the input and out-
|
| 126 |
+
|
| 127 |
+

|
| 128 |
+
Figure 3: The pipeline of the proposed CPGAN framework. The upper and bottom symmetrical layers in the purple blocks share the same weights.
|
| 129 |
+
|
| 130 |
+

|
| 131 |
+
Figure 4: The architecture of the internal CPnet. Copy block here treats the output features of Channel Attention module as the both input features and guided features. Paste block here represents the additive operation.
|
| 132 |
+
(a) External CPnet
|
| 133 |
+
|
| 134 |
+

|
| 135 |
+
|
| 136 |
+

|
| 137 |
+
1x1 Convs
|
| 138 |
+
|
| 139 |
+

|
| 140 |
+
Matrix Multiplication
|
| 141 |
+
|
| 142 |
+

|
| 143 |
+
Matrix Reshaping
|
| 144 |
+
Figure 5: The architecture of the external CPnet. External Copy module here is composed of one Copy block. Paste block represents the additive operation.
|
| 145 |
+
|
| 146 |
+

|
| 147 |
+
Softmax Operation
|
| 148 |
+
(b) Copy block.
|
| 149 |
+
|
| 150 |
+
put feature maps. The input feature maps estimate the frequency band of the input NI-LR face, which consists of low-frequency facial components. In this way, they are mainly distributed over the low-frequency band (in blue color). After our Internal Copy module, the output features spread in the direction of high-frequency band (in red color), and literally spans the whole band.
|
| 151 |
+
|
| 152 |
+
Thus, we use the name "Internal Copy module" because its functionality resembles an operation that "copies" the high-frequency features to the low-frequency parts. Above all, the internal CPnet achieves effective feature enhancement, which benefits subse
|
| 153 |
+
|
| 154 |
+
quent facial detail upsampling and illumination compensation processes.
|
| 155 |
+
|
| 156 |
+
# 3.1.2 External CPnet
|
| 157 |
+
|
| 158 |
+
CPGAN adopts multiple external CPnets and deconvolutional layers to offset the non-uniform illumination and upsample facial details alternately, in a coarse-to-fine fashion. This distinctive design alleviates the ambiguity of correspondences between NI-LR inputs and external UI-HR ones. The network of the external CPnet is shown in Fig. 5(a), and its core components are the Copy and Paste blocks.
|
| 159 |
+
|
| 160 |
+
Fig. 5(b) performs the "copy" procedure of the Copy block. The guided features $F_{G}$ and input features $F_{C}$ are extracted from the external guided UI-HR image and the input NI-LR image, respectively. First, the guided features $F_{G}$ and input features $F_{C}$ are normalized and transformed into two feature space $\theta$ and $\psi$ to calculate their similarity. Then, the "copied" features $F_{CG}$ can be formulated as a weighted sum of the guided features $F_{G}$ that are similar to the corresponding positions on the input features $F_{C}$ . For the $i$ th output response:
|
| 161 |
+
|
| 162 |
+
$$
|
| 163 |
+
F _ {C G} ^ {i} = \frac {1}{M (F)} \sum_ {\forall j} \left\{\exp \left(W _ {\theta} ^ {T} \left(\bar {F _ {C} ^ {i}}\right) ^ {T} \bar {F _ {G} ^ {j}} W _ {\psi}\right) F _ {G} ^ {j} W _ {\zeta} \right\} \tag {1}
|
| 164 |
+
$$
|
| 165 |
+
|
| 166 |
+
where $M(F) = \sum_{\forall j} \exp \left( W_{\theta}^{T} \left( \overline{F_{C}^{i}} \right)^{T} \overline{F_{G}^{j}} W_{\psi} \right)$ is the sum of all output responses over all positions. $\overline{F}$ is a transform on $F$ based on the mean-variance channel-wise normalization. Here, the embedding transformations $W_{\theta}, W_{\psi}$ and $W_{\zeta}$ are learnt during the training process.
|
| 167 |
+
|
| 168 |
+
As a result, the Copy block can flexibly integrate the illumination pattern of the guided features into the input features. Based on the Copy and Paste blocks, our proposed external CPnet learns the illumination pattern from the external UI-HR face explicitly.
|
| 169 |
+
|
| 170 |
+
# 3.2. Loss Function
|
| 171 |
+
|
| 172 |
+
To train our CPGAN framework, we propose an illumination compensation loss $(L_{ic})$ together with an intensity similarity loss $(L_{mse})$ , an identity similarity loss $(L_{id})$ [22], a structure similarity loss $(L_h)$ [3] and an adversarial loss $(L_{adv})$ [8]. We will detail the illumination loss shortly. For the rest, please refer to the supplementary material.
|
| 173 |
+
|
| 174 |
+
The overall loss function $L_{G}$ is a weighted summation of the above terms.
|
| 175 |
+
|
| 176 |
+
$$
|
| 177 |
+
L _ {G} = \alpha L _ {m s e} + \beta L _ {i d} + \gamma L _ {h} + \chi L _ {i c} + \kappa L _ {a d v} \tag {2}
|
| 178 |
+
$$
|
| 179 |
+
|
| 180 |
+
Illumination Compensation Loss: CPGAN not only recovers UI-HR face images but also compensates for the non-uniform illumination. Inspired by the style loss
|
| 181 |
+
|
| 182 |
+

|
| 183 |
+
Figure 6: The training process of RaIN model.
|
| 184 |
+
|
| 185 |
+
in AdaIN [11], we propose the illumination compensation loss $L_{ic}$ . The basic idea is to constrain the illumination characteristics of the reconstructed UI-HR face is close to the guided UI-HR one in the latent subspace.
|
| 186 |
+
|
| 187 |
+
$$
|
| 188 |
+
\begin{array}{l} L _ {i c} = \mathbb {E} _ {\left(\hat {h} _ {i}, g _ {i}\right) \sim p (\hat {h}, g)} \left\{\sum_ {j = 1} ^ {L} \left\| \mu \left(\varphi_ {j} (\hat {h} _ {i})\right) - \mu \left(\varphi_ {j} (g _ {i})\right) \right\| _ {2} \right. \\ + \sum_ {j = 1} ^ {L} \left\| \sigma \left(\varphi_ {j} \left(\hat {h} _ {i}\right)\right) - \sigma \left(\varphi_ {j} \left(g _ {i}\right)\right) \right\| _ {2} \} \tag {3} \\ \end{array}
|
| 189 |
+
$$
|
| 190 |
+
|
| 191 |
+
where $g_{i}$ represents the guided UI-HR image, $\hat{h}_i$ represents the generated UI-HR image, $p(\hat{h},g)$ represents their joint distribution. Each $\varphi_j(\cdot)$ denotes the output of relu1-1, relu2-1, relu3-1, relu4-1 layer in a pre-trained VGG-19 model [25], respectively. Here, $\mu$ and $\sigma$ are the mean and variance for each feature channel.
|
| 192 |
+
|
| 193 |
+
# 4. Data augmentation
|
| 194 |
+
|
| 195 |
+
Training a deep neural network requires a lot of samples to prevent overfitting. Since none or limited NI/UI face pairs are available in public face datasets [9, 18], we propose a tailor-made Random Adaptive Instance Normalization (RaIN) model to achieve arbitrary illumination style transfer in real-time, generating sufficient samples for data augmentation (Fig. 6).
|
| 196 |
+
|
| 197 |
+
RaIN adopts the encoder-decoder architecture, in which the encoder is fixed to the first few layers (up to relu4-1) of a pre-trained VGG-19 [25]. The Adaptive Instance Normalization (AdaIN) [11] layer is embedded to align the feature statistics of the UI face image with those of the NI face image. Specially, we embed Variational Auto-Encoder (VAE) [14] before the AdaIN layer. In this way, we can efficiently produce an unlimited plausible hypotheses for the feature statistics of the NI face image (limited NI face images are provided in public datasets). As a result, sufficient face samples with arbitrary illumination conditions are generated.
|
| 198 |
+
|
| 199 |
+
Fig. 6 shows the training process of RaIN model. First, given an input content image $I_{c}$ (UI face) and a
|
| 200 |
+
|
| 201 |
+

|
| 202 |
+
Figure 7: The generating stage of the RaIN model. A random noise in normal distribution can generate a new style sample.
|
| 203 |
+
|
| 204 |
+
style image $I_{s}$ (NI face), the VAE in RaIN encodes the distributions of feature statistics (mean $(\mu)$ and variance $(\sigma)$ ) of the encoded style features $f_{s}$ . In this way, a low-dimensional latent space encodes all possible variants for style feature statistics. Then, based on the intermediate AdaIN layer, the feature statistics $(\mu$ and $\sigma$ ) of the $f_{c}$ are aligned with a randomly chosen style feature statistics, forming the transferred feature $t$ via
|
| 205 |
+
|
| 206 |
+
$$
|
| 207 |
+
t = \operatorname {A d a I N} \left(I _ {c}, I _ {s}\right) = \widetilde {\sigma \left(f _ {s}\right)} \left(\frac {f _ {c} - \mu \left(f _ {c}\right)}{\sigma \left(f _ {c}\right)}\right) + \widetilde {\mu \left(f _ {s}\right)} \tag {4}
|
| 208 |
+
$$
|
| 209 |
+
|
| 210 |
+
where $\mu$ and $\sigma$ are computed across each spatial dimension independently for each channel and each sample.
|
| 211 |
+
|
| 212 |
+
Then, a randomly initialized decoder $g$ is trained to map $t$ back to the image space, generating the stylized image $I_{cs}$ :
|
| 213 |
+
|
| 214 |
+
$$
|
| 215 |
+
I _ {c s} = g [ t ] \tag {5}
|
| 216 |
+
$$
|
| 217 |
+
|
| 218 |
+
At training stage, RaIN is trained based on the setting of [11, 20, 19], followed by a fine-tuning procedure on the face dataset to encode the photo-realistic facial details. To generate the stylized image with a different illumination condition, we can just feed the content image along with a random noise, as shown in Fig. 7.
|
| 219 |
+
|
| 220 |
+
# 5. Experiments
|
| 221 |
+
|
| 222 |
+
In this section, we provide both qualitative and quantitative evaluations on the proposed framework. We conduct the comparisons in the following three scenarios:
|
| 223 |
+
|
| 224 |
+
- FH: Face hallucination methods (SRGAN [16], TDAE [33], FHC [30]);
|
| 225 |
+
- IN+FH: Illumination compensation technique (CycleGAN [40]) + Face hallucination methods (SRGAN [16], TDAE [33], FHC [30]) (use bicubic interpolation procedure to adjust input size);
|
| 226 |
+
- FH+IN: Face hallucination methods (SRGAN [16], TDAE [33], FHC [30]) + Illumination compensation technique (CycleGAN [40]).
|
| 227 |
+
|
| 228 |
+
For a fair comparison, we retrain all these methods using our training datasets.
|
| 229 |
+
|
| 230 |
+
# 5.1. Datasets
|
| 231 |
+
|
| 232 |
+
CPGAN is trained and tested on the Multi-PIE dataset [9] (indoor) and the CelebFaces Attributes dataset (CelebA) [18] (in the wild).
|
| 233 |
+
|
| 234 |
+
The Multi-PIE dataset [9] is a large face dataset with $750\mathrm{K}+$ images for 337 subjects under various poses, illumination and expression conditions. We choose the NI/UI face pairs of the 249 identities under 10 illumination conditions in Session 1 among Multi-PIE dataset, i.e., $249\times 10 = 2.49\mathrm{K}$ face pairs in total. To enrich the limited illumination conditions, RaIN is adopted to perform data augmentation 10 times on the training set.
|
| 235 |
+
|
| 236 |
+
Note that CelebA [18] dataset only provides faces in the wild without NI/UI face pairs. For the training purpose, we opt to generate synthesized NI faces from the UI face images. Similar to [7], Adobe Photoshop Lightroom is adopted to render various illumination conditions. We randomly select 18K NI faces from CelebA dataset to perform rendering. Then, 18K NI/UI face pairs are generated.
|
| 237 |
+
|
| 238 |
+
For the GT images, we crop the aligned UI-HR faces and then resize them to $128 \times 128$ pixels. For the NI-LR faces, we resize the UI-HR face images to $128 \times 128$ pixels and then apply a sequence of manual transformations, including rotations, translations, scaling and downsampling processes to obtain images of $16 \times 16$ pixels. We choose 80 percent of the face pairs for training and 20 percent of the face pairs for testing. Specially, during the training process of CPGAN, we randomly select UI-HR images in the training set to serve as the external guided UI-HR images.
|
| 239 |
+
|
| 240 |
+
# 5.2. Qualitative Comparison with the SoA
|
| 241 |
+
|
| 242 |
+
A qualitative comparison with the benchmark methods is presented in Fig.8, which justifies the superior performance of CPGAN over the competing methods. Obviously, the image obtained by CPGAN is more authentic, identity-preserving, and having richer facial details.
|
| 243 |
+
|
| 244 |
+
As illustrated in Fig.8(b), the combination of bicubic interpolation and CycleGAN cannot produce authentic face images. Due to the incapability of bicubic interpolation to generate necessary high-frequency facial details and the lack of GT, CycleGAN achieves image-to-image translation with deformed face shapes.
|
| 245 |
+
|
| 246 |
+
SRGAN [16] provides an upscaling factor of $8 \times$ , but it is only trained on general patches. Thus, we retrain SRGAN on face images as well. As shown in Fig.8(c), the results of SRGAN are still blurred.
|
| 247 |
+
|
| 248 |
+

|
| 249 |
+
|
| 250 |
+

|
| 251 |
+
|
| 252 |
+

|
| 253 |
+
|
| 254 |
+

|
| 255 |
+
|
| 256 |
+

|
| 257 |
+
|
| 258 |
+

|
| 259 |
+
(a)
|
| 260 |
+
(b)
|
| 261 |
+
(c)
|
| 262 |
+
(d)
|
| 263 |
+
(e)
|
| 264 |
+
(f)
|
| 265 |
+
(g)
|
| 266 |
+
(h)
|
| 267 |
+
(1)
|
| 268 |
+
Figure 8: Comparison with state-of-the-art methods. Columns: (a) Unaligned NI-LR inputs. (b) Bicubic interpolation + CycleGAN [40]. (c) SRGAN [16]. (d) TDAE [33]. (e) FHC [30]. (f) CycleGAN [40] + SRGAN [16]. (g) TDAE [33] + CycleGAN [40]. (h) Ours. (i) GT. The first three columns: testing samples from Multi-PIE dataset (indoor). The last three columns: testing samples from CelebA dataset (in-the-wild).
|
| 269 |
+
|
| 270 |
+
Table 1: Average PSNR [dB] and SSIM values of compared methods on the testing datasets.
|
| 271 |
+
|
| 272 |
+
<table><tr><td rowspan="3">Method</td><td colspan="2">Multi-PIE</td><td colspan="2">CelebA</td><td colspan="2">Multi-PIE</td><td colspan="2">CelebA</td><td colspan="2">Multi-PIE</td><td colspan="2">CelebA</td></tr><tr><td colspan="4">FH</td><td colspan="4">IN+FH</td><td colspan="4">FH+IN</td></tr><tr><td>PSNR</td><td>SSIM</td><td>PSNR</td><td>SSIM</td><td>PSNR</td><td>SSIM</td><td>PSNR</td><td>SSIM</td><td>PSNR</td><td>SSIM</td><td>PSNR</td><td>SSIM</td></tr><tr><td>Bicubic</td><td>12.838</td><td>0.385</td><td>12.79</td><td>0.480</td><td>13.960</td><td>0.386</td><td>13.018</td><td>0.494</td><td>13.315</td><td>0.399</td><td>12.945</td><td>0.352</td></tr><tr><td>SRGAN</td><td>16.769</td><td>0.396</td><td>17.951</td><td>0.536</td><td>14.252</td><td>0.408</td><td>16.506</td><td>0.488</td><td>15.044</td><td>0.432</td><td>15.315</td><td>0.398</td></tr><tr><td>TDAE</td><td>19.342</td><td>0.411</td><td>19.854</td><td>0.530</td><td>15.449</td><td>0.445</td><td>18.031</td><td>0.540</td><td>15.319</td><td>0.427</td><td>15.727</td><td>0.403</td></tr><tr><td>FHC</td><td>20.680</td><td>0.467</td><td>21.130</td><td>0.552</td><td>17.554</td><td>0.512</td><td>19.508</td><td>0.499</td><td>18.263</td><td>0.545</td><td>16.527</td><td>0.426</td></tr><tr><td>CPGAN</td><td>24.639</td><td>0.778</td><td>23.972</td><td>0.723</td><td>24.639</td><td>0.778</td><td>23.972</td><td>0.723</td><td>24.639</td><td>0.778</td><td>23.972</td><td>0.723</td></tr></table>
|
| 273 |
+
|
| 274 |
+
TDAE [33] super-resolves very low resolution and unaligned face images. It employs deconvolutional layers to upsample LR faces and a discriminative network to promote the generation of sharper results. However, it does not take illumination into account, thus, the final outputs suffer from severe artifacts (Fig.8(d)).
|
| 275 |
+
|
| 276 |
+
Yu and Porikli [30] exploit the FHC to hallucinate unaligned LR face images. As visualized in Fig.8(e), FHC fails to construct realistic facial details due to inaccurate facial prior prediction caused by shading artifacts.
|
| 277 |
+
|
| 278 |
+
We provide results on the IN+FH and FH+IN com
|
| 279 |
+
|
| 280 |
+
bination as well for completeness. However, due to the deteriorated super-resolved facial patterns caused by the misleading mappings, their generated results are contaminated with ghosting artifacts (see Figs.8(f) and (g)).
|
| 281 |
+
|
| 282 |
+
In contrast, our method is able to reconstruct authentic facial details as shown in Fig.8(h). Albeit there exists non-uniform illumination in the input NI-LR faces, our method still produces visually pleasing UI-HR faces. For instance, we hallucinate the shading artifacts covered facial parts preciously, such as the jaw and mouth, as illustrated in the third and fourth rows in Fig.8(h).
|
| 283 |
+
|
| 284 |
+

|
| 285 |
+
(a)
|
| 286 |
+
|
| 287 |
+

|
| 288 |
+
(b)
|
| 289 |
+
|
| 290 |
+

|
| 291 |
+
(c)
|
| 292 |
+
|
| 293 |
+

|
| 294 |
+
(d)
|
| 295 |
+
|
| 296 |
+

|
| 297 |
+
(e)
|
| 298 |
+
|
| 299 |
+

|
| 300 |
+
(f)
|
| 301 |
+
|
| 302 |
+

|
| 303 |
+
(g)
|
| 304 |
+
|
| 305 |
+

|
| 306 |
+
(h)
|
| 307 |
+
|
| 308 |
+

|
| 309 |
+
Figure 9: Ablation Analysis. (a) $16 \times 16$ NI-LR image. (b) $128 \times 128$ GT image. (c) Result without using the internal CPnet, using a simple input convolution layer instead. (d) Result without using the external CPnets, connecting input and output features directly. (e) Result without using the identity similarity loss ( $L_{id}$ ). (f) Result without using structure similarity loss ( $L_h$ ). (g) Result without using adversarial loss ( $L_{adv}$ ). (h) CPGAN result.
|
| 310 |
+
|
| 311 |
+

|
| 312 |
+
NI-LR
|
| 313 |
+
Figure 10: Results on real NI-LR face images.
|
| 314 |
+
|
| 315 |
+

|
| 316 |
+
|
| 317 |
+

|
| 318 |
+
guided
|
| 319 |
+
|
| 320 |
+

|
| 321 |
+
|
| 322 |
+

|
| 323 |
+
[33]
|
| 324 |
+
|
| 325 |
+

|
| 326 |
+
|
| 327 |
+

|
| 328 |
+
ours
|
| 329 |
+
|
| 330 |
+
# 5.3. Quantitative Comparison with the SoA
|
| 331 |
+
|
| 332 |
+
The above qualitative performances are verified by the quantitative evaluations. From Table 1, the proposed CPGAN performs unarguably better than the rest in both indoor and in the wild datasets. For instance, in FH scenario, CPGAN outperforms the second best technique with a large margin of approximate $4\mathrm{dB}$ in PSNR on Multi-PIE dataset. Thanks to the deliberate design of the internal and external CPnets, the realistic facial details are well recovered from the shading artifacts.
|
| 333 |
+
|
| 334 |
+
# 5.4. Performance on Real NI-LR faces
|
| 335 |
+
|
| 336 |
+
Our method can also effectively hallucinate the real NI-LR faces beyond the synthetically generated face pairs. To demonstrate this, we randomly choose face images with non-uniform illumination from the CelebA dataset. As shown in Fig.10, our CPGAN can hallucinate such randomly chosen shaded thumbnails, demonstrating its robustness in various circumstances.
|
| 337 |
+
|
| 338 |
+
# 5.5. Ablation Analysis
|
| 339 |
+
|
| 340 |
+
Effectiveness of internal CPnet: As shown in Fig.9(c), it can be seen that the result without internal CPnet suffers from severe distortion and blur artifacts. This is because the distinctive designed internal CPnet enhances the facial details in the input NI-LR image, and it aids subsequent upsampling and illumination compensation. A quantitative study is reported in Table 2.
|
| 341 |
+
|
| 342 |
+
Effectiveness of external CPnet: In our method, ex
|
| 343 |
+
|
| 344 |
+
Table 2: Ablation study of CPnet
|
| 345 |
+
|
| 346 |
+
<table><tr><td rowspan="2">w/o CPnet</td><td colspan="2">Multi-PIE</td><td colspan="2">CelebA</td></tr><tr><td>PSNR</td><td>SSIM</td><td>PSNR</td><td>SSIM</td></tr><tr><td>internal CPnet</td><td>22.164</td><td>0.693</td><td>21.441</td><td>0.578</td></tr><tr><td>external CPnet</td><td>21.925</td><td>0.680</td><td>21.032</td><td>0.536</td></tr><tr><td>CPGAN</td><td>24.639</td><td>0.778</td><td>23.972</td><td>0.723</td></tr></table>
|
| 347 |
+
|
| 348 |
+
ternal CPNet introduces a guided UI-HR image for illumination compensation. We demonstrate the effectiveness in Fig.9(d) and Table 2. Without external CPnet, the reconstructed face deviates from the GT appearance seriously, especially for the input part affected by shading artifacts. It implies that external CPnet learns the illumination pattern from the external UI-HR face explicitly.
|
| 349 |
+
|
| 350 |
+
Loss Function Specifications: Fig.9 also illustrates the perceptual performance of different training loss variants. The effect of our illumination compensation loss $(L_{ic})$ is provided in the supplementary material.
|
| 351 |
+
|
| 352 |
+
# 6. Conclusion
|
| 353 |
+
|
| 354 |
+
This paper presents our CPGAN framework to jointly hallucinate the NI-LR face images and compensate for the non-uniform illumination seamlessly. With the internal and external CPNets, our method enables coarse-to-fine feature refinement based on the semantic spatial distribution of the facial features. In this spirit, we offset shading artifacts and upsample facial details alternately. Meanwhile, the RaIN model mimics sufficient face pairs under diverse illumination conditions to facilitate practical face hallucination. Experimental results validate the effectiveness of CPGAN, which yields photo-realistic visual quality and promising quantitative performance compared with the state-of-the-art.
|
| 355 |
+
|
| 356 |
+
Acknowledgment. This work is supported by the National Natural Science Foundation of China (No.61871123 & No.61802203), Key Research and Development Program in Jiangsu Province (No.BE2016739) and NSF (No.BK20180761). This work is partially supported by ARC under Grant (DP180100106 & DP200101328) and ARC of Excellence for Robotic Vision (CE140100016).
|
| 357 |
+
|
| 358 |
+
# References
|
| 359 |
+
|
| 360 |
+
[1] Ronen Basri and David W Jacobs. Lambertian reflectance and linear subspaces. IEEE transactions on pattern analysis and machine intelligence, 25(2):218-233, 2003.
|
| 361 |
+
[2] Peter N Belhumeur and David J Kriegman. What is the set of images of an object under all possible illumination conditions? International Journal of Computer Vision, 28(3):245-260, 1998.
|
| 362 |
+
[3] Adrian Bulat and Georgios Tzimiropoulos. Superfan: Integrated facial landmark localization and superresolution 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.
|
| 363 |
+
[4] Qingxing Cao, Liang Lin, Yukai Shi, Xiaodan Liang, and Guanbin Li. Attention-aware face hallucination via deep reinforcement learning. In CVPR, pages 690-698, 2017.
|
| 364 |
+
[5] Yu Chen, Ying Tai, Xiaoming Liu, Chunhua Shen, and Jian Yang. Fsrnet: End-to-end learning face superresolution with facial priors. In CVPR, pages 2492-2501, 2018.
|
| 365 |
+
[6] Miguel Heredia Conde, Davoud Shahlaei, Volker Blanz, and Otmar Loffeld. Efficient and robust inverse lighting of a single face image using compressive sensing. In ICCV Workshops, pages 226-234, 2015.
|
| 366 |
+
[7] Xuanyi Dong, Yan Yan, Wanli Ouyang, and Yi Yang. Style aggregated network for facial landmark detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 379-388, 2018.
|
| 367 |
+
[8] Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Advances in neural information processing systems, pages 2672–2680, 2014.
|
| 368 |
+
[9] Ralph Gross, Iain Matthews, Jeffrey Cohn, Takeo Kanade, and Simon Baker. Multi-pie. Image and Vision Computing, 28(5):807-813, 2010.
|
| 369 |
+
[10] Huaibo Huang, Ran He, Zhenan Sun, and Tieniu Tan. Wavelet-srnet: A wavelet-based cnn for multi-scale face super resolution. In ICCV, pages 1689-1697, 2017.
|
| 370 |
+
[11] 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.
|
| 371 |
+
[12] Phillip Isola, Jun-Yan Zhu, Tinghui Zhou, and Alexei A Efros. Image-to-image translation with conditional adversarial networks. In CVPR, pages 1125-1134, 2017.
|
| 372 |
+
[13] Max Jaderberg, Karen Simonyan, Andrew Zisserman, et al. Spatial transformer networks. In NIPS, pages 2017-2025, 2015.
|
| 373 |
+
[14] Diederik P Kingma and Max Welling. Auto-encoding variational bayes. arXiv preprint arXiv:1312.6114, 2013.
|
| 374 |
+
|
| 375 |
+
[15] Soheil Kolouri and Gustavo K Rohde. Transport-based single frame super resolution of very low resolution face images. In CVPR, pages 4876-4884, 2015.
|
| 376 |
+
[16] Christian Ledig, Lucas Theis, Ferenc Huszár, Jose Caballero, Andrew Cunningham, Alejandro Acosta, Andrew Aitken, Alykhan Tejani, Johannes Totz, Zehan Wang, et al. Photo-realistic single image super-resolution using a generative adversarial network. In CVPR, pages 4681-4690, 2017.
|
| 377 |
+
[17] Ce Liu, Heung-Yeung Shum, and William T Freeman. Face hallucination: Theory and practice. IJCV, 75(1):115-134, 2007.
|
| 378 |
+
[18] 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.
|
| 379 |
+
[19] Yawei Luo, Ping Liu, Tao Guan, Junqing Yu, and Yi Yang. Significance-aware information bottleneck for domain adaptive semantic segmentation. In ICCV, 2019.
|
| 380 |
+
[20] Yawei Luo, Liang Zheng, Tao Guan, Junqing Yu, and Yi Yang. Taking a closer look at domain shift: Category-level adversaries for semantics consistent domain adaptation. In CVPR, 2019.
|
| 381 |
+
[21] Alejandro Newell, Kaiyu Yang, and Jia Deng. Stacked hourglass networks for human pose estimation. In ECCV, pages 483-499, 2016.
|
| 382 |
+
[22] Fatemeh Shiri, Xin Yu, Fatih Porikli, Richard Hartley, and Piotr Koniusz. Identity-preserving face recovery from stylized portraits. International Journal of Computer Vision, 127(6-7):863-883, 2019.
|
| 383 |
+
[23] Zhixin Shu, Sunil Hadap, Eli Shechtman, Kalyan Sunkavalli, Sylvain Paris, and Dimitris Samaras. Portrait lighting transfer using a mass transport approach. ACM Transactions on Graphics (TOG), 37(1):2, 2018.
|
| 384 |
+
[24] Zhixin Shu, Ersin Yumer, Sunil Hadap, Kalyan Sunkavalli, Eli Shechtman, and Dimitris Samaras. Neural face editing with intrinsic image disentangling. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 5541-5550, 2017.
|
| 385 |
+
[25] Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556, 2014.
|
| 386 |
+
[26] Marshall F Tappen and Ce Liu. A bayesian approach to alignment-based image hallucination. In ECCV, pages 236-249, 2012.
|
| 387 |
+
[27] Xiaogang Wang and Xiaou Tang. Hallucinating face by eigentransformation. IEEE Transactions on Systems, Man, and Cybernetics, Part C (Applications and Reviews), 35(3):425-434, 2005.
|
| 388 |
+
[28] Chih-Yuan Yang, Sifei Liu, and Ming-Hsuan Yang. Hallucinating compressed face images. IJCV, 126(6):597-614, 2018.
|
| 389 |
+
[29] Fei Yang, Jue Wang, Eli Shechtman, Lubomir Bourdev, and Dimitri Metaxas. Expression flow for 3d-aware face component transfer. ACM transactions on graphics (TOG), 30(4):60, 2011.
|
| 390 |
+
|
| 391 |
+
[30] Xin Yu, Basura Fernando, Bernard Ghanem, Fatih Porikli, and Richard Hartley. Face super-resolution guided by facial component heatmaps. In ECCV, pages 217-233, 2018.
|
| 392 |
+
[31] Xin Yu, Basura Fernando, Richard Hartley, and Fatih Porikli. Super-resolving very low-resolution face images with supplementary attributes. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 908-917, 2018.
|
| 393 |
+
[32] Xin Yu and Fatih Porikli. Ultra-resolving face images by discriminative generative networks. In ECCV, pages 318-333, 2016.
|
| 394 |
+
[33] Xin Yu and Fatih Porikli. Face hallucination with tiny unaligned images by transformative discriminative neural networks. In AAAI, 2017.
|
| 395 |
+
[34] 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 (CVPR), pages 3760-3768, 2017.
|
| 396 |
+
[35] Xin Yu and Fatih Porikli. Imagining the unimaginable faces by deconvolutional networks. IEEE Transactions on Image Processing, 27(6):2747-2761, 2018.
|
| 397 |
+
[36] Xin Yu, Fatih Porikli, Basura Fernando, and Richard Hartley. Hallucinating unaligned face images by multiscale transformative discriminative networks. International Journal of Computer Vision, 128(2):500-526, 2020.
|
| 398 |
+
[37] Xin Yu, Fatemeh Shiri, Bernard Ghanem, and Fatih Porikli. Can we see more? joint frontalization and hallucination of unaligned tiny faces. IEEE transactions on pattern analysis and machine intelligence, 2019.
|
| 399 |
+
[38] Yulun Zhang, Kunpeng Li, Kai Li, Lichen Wang, Bineng Zhong, and Yun Fu. Image super-resolution using very deep residual channel attention networks. In Proceedings of the European Conference on Computer Vision (ECCV), pages 286-301, 2018.
|
| 400 |
+
[39] Hao Zhou, Jin Sun, Yaser Yacoob, and David W Jacobs. Label denoising adversarial network (ldan) for inverse lighting of face images. arXiv preprint arXiv:1709.01993, 2017.
|
| 401 |
+
[40] Jun-Yan Zhu, Taesung Park, Phillip Isola, and Alexei A Efros. Unpaired image-to-image translation using cycle-consistent adversarial networks. In Proceedings of the IEEE international conference on computer vision, pages 2223-2232, 2017.
|
| 402 |
+
[41] Shizhan Zhu, Sifei Liu, Chen Change Loy, and Xiaou Tang. Deep cascaded bi-network for face hallucination. In ECCV, pages 614-630, 2016.
|
copyandpasteganfacehallucinationfromshadedthumbnails/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:14d5237b417e76efc45d4ca09644386c92d3af9dbcbffbda3ce44a0b18e62326
|
| 3 |
+
size 559040
|
copyandpasteganfacehallucinationfromshadedthumbnails/layout.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:078e3c98f214789f06a469e18e00e96fc99e94403f355785e50262fe34d60aeb
|
| 3 |
+
size 450735
|
correctionfilterforsingleimagesuperresolutionrobustifyingofftheshelfdeepsuperresolvers/d75c7e9d-2edc-4221-9b6e-abfdfdb185e4_content_list.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2341c7f24ac53a343369d088b419bcb1b631b9b5bc42d83a499d957f35b356a1
|
| 3 |
+
size 80454
|
correctionfilterforsingleimagesuperresolutionrobustifyingofftheshelfdeepsuperresolvers/d75c7e9d-2edc-4221-9b6e-abfdfdb185e4_model.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4dc66f1feb597158dadbdabdeaedc7b4cd119fec7e20a8919ba9fe1e5b0edcef
|
| 3 |
+
size 100934
|
correctionfilterforsingleimagesuperresolutionrobustifyingofftheshelfdeepsuperresolvers/d75c7e9d-2edc-4221-9b6e-abfdfdb185e4_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d76d40dc3309fc8e32f366fae2e8bcaf163ead7b4a41755f0f70f788bf387d93
|
| 3 |
+
size 835452
|
correctionfilterforsingleimagesuperresolutionrobustifyingofftheshelfdeepsuperresolvers/full.md
ADDED
|
@@ -0,0 +1,430 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Correction Filter for Single Image Super-Resolution: Robustifying Off-the-Shelf Deep Super-Resolvers
|
| 2 |
+
|
| 3 |
+
Shady Abu Hussein
|
| 4 |
+
Tel Aviv University, Israel
|
| 5 |
+
shadya@mail.tau.ac.il
|
| 6 |
+
|
| 7 |
+
Tom Tirer
|
| 8 |
+
Tel Aviv University, Israel
|
| 9 |
+
tomtirer@mail.tau.ac.il
|
| 10 |
+
|
| 11 |
+
Raja Giryes
|
| 12 |
+
Tel Aviv University, Israel
|
| 13 |
+
raja@tauex.tau.ac.il
|
| 14 |
+
|
| 15 |
+
# Abstract
|
| 16 |
+
|
| 17 |
+
The single image super-resolution task is one of the most examined inverse problems in the past decade. In the recent years, Deep Neural Networks (DNNs) have shown superior performance over alternative methods when the acquisition process uses a fixed known downscaling kernel—typically a bicubic kernel. However, several recent works have shown that in practical scenarios, where the test data mismatch the training data (e.g. when the downscaling kernel is not the bicubic kernel or is not available at training), the leading DNN methods suffer from a huge performance drop. Inspired by the literature on generalized sampling, in this work we propose a method for improving the performance of DNNs that have been trained with a fixed kernel on observations acquired by other kernels. For a known kernel, we design a closed-form correction filter that modifies the low-resolution image to match one which is obtained by another kernel (e.g. bicubic), and thus improves the results of existing pre-trained DNNs. For an unknown kernel, we extend this idea and propose an algorithm for blind estimation of the required correction filter. We show that our approach outperforms other super-resolution methods, which are designed for general downscaling kernels.
|
| 18 |
+
|
| 19 |
+
# 1. Introduction
|
| 20 |
+
|
| 21 |
+
The task of Single Image Super-Resolution (SISR) is one of the most examined inverse problems in the past decade [11, 13, 37, 8]. In this problem, the goal is to reconstruct a latent high-resolution (HR) image from its low-resolution (LR) version obtained by an acquisition process that includes low-pass filtering and sub-sampling. In the recent years, along with the developments in deep learning, many SISR methods that are based on Deep Neural Networks (DNNs) have been proposed [7, 17, 21, 20, 41, 35, 15].
|
| 22 |
+
|
| 23 |
+
Typically, the performance of SISR approaches is evaluated on test sets with a fixed known acquisition process, e.g. a bicubic downscaling kernel. This evaluation method
|
| 24 |
+
|
| 25 |
+
ology allows to prepare large training data, which are based on ground truth HR images and their LR counterparts synthetically obtained through the known observation model. DNNs, which have been exhaustively trained on such training data, clearly outperform other alternative algorithms, e.g. methods that are based on hand-crafted prior models such as sparsity or non-local similarity [8, 13, 37].
|
| 26 |
+
|
| 27 |
+
Recently, several works have shown that in practical scenarios where the test data mismatch the training data, the leading DNN methods suffer from a huge performance drop [38, 27, 31]. Such scenarios include a downscaling kernel which is not the bicubic kernel and is not available at the training phase. A primary example is an unknown kernel that needs to be estimated from the LR image at test time.
|
| 28 |
+
|
| 29 |
+
Several recent SISR approaches have proposed different strategies for enjoying the advantages of deep learning while mitigating the restriction of DNNs to the fixed kernel assumption made in the training phase. These strategies include: modifying the training phase such that it covers a predefined set of downscaling kernels [39, 14]; using DNNs to capture only a natural-image prior which is decoupled from the SISR task [38, 5]; or completely avoid any offline training and instead train a CNN super-resolver from scratch at test time [32, 27].
|
| 30 |
+
|
| 31 |
+
Contribution. In this work we take a different strategy, inspired by the generalized sampling literature [9, 33], for handling LR images obtained by arbitrary downscaling kernels. Instead of completely ignoring the state-of-the-art DNNs that have been trained for the bicubic model, as done by other prior works, we propose a method that transforms the LR image to match one which is obtained by the bicubic kernel. The modified LR can then be inserted into existing leading super-resolvers, such as DBPN [15], RCAN [41], and proSR [35], thus, improving their performance significantly on kernels they have not been trained on. The proposed transformation is performed using a correction filter, which has a closed-form expression when the true (non-bicubic) kernel is given.
|
| 32 |
+
|
| 33 |
+
In the "blind" setting, where the kernel is unknown, we extend our approach and propose an algorithm that esti
|
| 34 |
+
|
| 35 |
+

|
| 36 |
+
|
| 37 |
+

|
| 38 |
+
|
| 39 |
+

|
| 40 |
+
Original image (cropped)
|
| 41 |
+
|
| 42 |
+

|
| 43 |
+
LR image
|
| 44 |
+
|
| 45 |
+

|
| 46 |
+
|
| 47 |
+

|
| 48 |
+
Bicubic upsampling
|
| 49 |
+
|
| 50 |
+

|
| 51 |
+
SRMD [39]
|
| 52 |
+
|
| 53 |
+

|
| 54 |
+
ZSSR [27]
|
| 55 |
+
|
| 56 |
+

|
| 57 |
+
ProSR [35]
|
| 58 |
+
ProSR with our correction
|
| 59 |
+
Figure 1: Non-blind super-resolution of image 223061 from BSD100, for scale factor 4 and Gaussian downscaling kernel with std $4.5 / \sqrt{2}$ . Our correction filter significantly improves the performance of DNNs trained on another SR kernel.
|
| 60 |
+
|
| 61 |
+

|
| 62 |
+
RCAN [41]
|
| 63 |
+
RCAN with our correction
|
| 64 |
+
|
| 65 |
+

|
| 66 |
+
DBPN [15]
|
| 67 |
+
DBPN with our correction
|
| 68 |
+
|
| 69 |
+
mates the required correction. The proposed approach outperforms other super-resolution methods in various practical scenarios. See example results in Figure 1 for the non-blind setting.
|
| 70 |
+
|
| 71 |
+
# 2. Related Work
|
| 72 |
+
|
| 73 |
+
In the past five years many works have employed DNNs for the SISR task, showing a great advance in performance with respect to the reconstruction error [7, 15, 17, 21, 35, 41] and the perceptual quality [4, 20, 25, 34]. However, one main disadvantage of DNN-based SISR methods is their sensitivity to the LR image formation model. A network performance tends to drop significantly if it has been trained for one acquisition model and then been tested on another
|
| 74 |
+
|
| 75 |
+
# [27, 31, 38].
|
| 76 |
+
|
| 77 |
+
Recently, different SISR strategies has been proposed with the goal of enjoying the advantages of deep learning while mitigating the restriction of DNNs to the fixed kernel assumption made in the training phase. One approach trains a CNN super-resolver that gets as inputs both the LR image and the degradation model, and assumes that the downscaling kernels belong to a certain set of Gaussian filters [14, 39]. Another approach builds on the structural prior of CNNs, which promotes signals with spatially recurring patterns (e.g. natural images) and thus allows to train a super-resolver CNN from scratch at test time [27, 32]. Another line of work recovers the latent HR image by minimizing a cost function that is composed of a fidelity term (e.g. least squares or back-projection [30]) and a prior term, where
|
| 78 |
+
|
| 79 |
+

|
| 80 |
+
(a)
|
| 81 |
+
|
| 82 |
+

|
| 83 |
+
(b)
|
| 84 |
+
Figure 2: Downsampling, correction, and upsampling operators for single image super-resolution: (a) Downsampling operator composed of convolution with a kernel $\mathbf{k}$ and sub-sampling by factor of $\alpha$ ; (b) Correction operator composed of convolution with a correction filter $\mathbf{h}$ ; (c) Upsampling operator composed of up-sampling by factor of $\alpha$ and convolution with a (flipped) kernel $\mathbf{k}_{bicub}$ . In our approach, $\mathcal{H}$ is computed for $S^{*}$ and $\mathcal{R}$ , but then we replace $\mathcal{R}$ with a pre-trained DNN super-resolver.
|
| 85 |
+
|
| 86 |
+

|
| 87 |
+
(c)
|
| 88 |
+
|
| 89 |
+
only the latter is handled by a pre-trained CNN denoiser or GAN [38, 29, 5, 40]. Recently, the two last approaches have been incorporated by applying image-adaptation to denoisers [31] and GANs [1]. In all these methods the downscaling kernel is given as an input. In a blind setting (where the kernel is unknown) it is still possible to apply these methods after an initial kernel estimation phase.
|
| 90 |
+
|
| 91 |
+
Our approach is inspired by the literature on generalized sampling [6, 33, 9], which generalizes the classical Whittaker-Nyquist-Kotelnikov-Shannon sampling theorem [36, 23, 19, 26], which considers signals that are band-limited in the frequency domain and sinc interpolations. The generalized theory provides a framework and conditions under which a signal that is sampled by a certain basis can be reconstructed by a different basis. In this framework, the sampled signal is reconstructed using a linear operator that can be decoupled into two phases, the first applies a digital correction filter and the second includes processing with a reconstruction kernel. The role of the correction filter is to transform the sampling coefficients, associated with the sampling kernel, to coefficients which fit the reconstruction kernel.
|
| 92 |
+
|
| 93 |
+
Several works have used the correction filter approach for image processing [10, 12, 24]. These works typically propose linear interpolation methods, i.e. the correction filter is followed by a linear reconstruction operation, and do not use a strong natural-image prior. As a result, the recovery of fine details is lacking.
|
| 94 |
+
|
| 95 |
+
In this work, we plan to use (very) non-linear reconstruction methods, namely—DNNs, whose training is difficult, computationally expensive, storage demanding, and cannot be done when the observation model is not known in advance. To tackle these difficulties, we revive the correction filter approach and show how it can be used with deep super-resolvers which have been already trained.
|
| 96 |
+
|
| 97 |
+
The required correction filter depends on the kernel which is used for sampling. Therefore, in the blind setting, it needs to be estimated from the LR image. To this end, we propose an iterative optimization algorithm for estimat
|
| 98 |
+
|
| 99 |
+
ing the correction filter. In general, only a few works have considered the blind SISR setting and developed kernel estimation methods [28, 22, 14, 3].
|
| 100 |
+
|
| 101 |
+
Finally, we would like to highlight major differences between this paper and the work in [14], whose "kernel correction" approach may be misunderstood as our "correction filter". In [14], three different DNNs (super-resolver, kernel estimator, and kernel corrector) are offline trained under the assumption that the downscaling kernel belongs to a certain family of Gaussian filters (similarly to [39]), and the CNN super-resolver gets the estimated kernel as an input. So, the first major difference is that contrary to our approach, no pre-trained existing DNN methods (other than SRMD [39]) can be used in [14]. Secondly, their approach is restricted by the offline training assumptions to very certain type of downscaling kernels, contrary to our approach. Thirdly, the concepts of these works are very different: The (iterative) correction in [14] modifies the estimated downscaling kernel, while our correction filter modifies the LR image.
|
| 102 |
+
|
| 103 |
+
# 3. The Proposed Method
|
| 104 |
+
|
| 105 |
+
The single image super resolution (SISR) acquisition model, can be formulated as
|
| 106 |
+
|
| 107 |
+
$$
|
| 108 |
+
\mathbf {y} = (\mathbf {x} * \mathbf {k}) \downarrow_ {\alpha}, \tag {1}
|
| 109 |
+
$$
|
| 110 |
+
|
| 111 |
+
where $\mathbf{x} \in \mathbb{R}^n$ represents the latent HR image, $\mathbf{y} \in \mathbb{R}^m$ represents the observed LR image, $\mathbf{k} \in \mathbb{R}^d$ ( $d \ll n$ ) is the (anti-aliasing) blur kernel, $*$ denotes the linear convolution operator, and $\downarrow_{\alpha}$ denotes sub-sampling operator with stride of $\alpha$ . Under the common fashion of dropping the edges of $\mathbf{x} * \mathbf{k}$ , such that it is in $\mathbb{R}^n$ , we have that $m = \lceil n / \alpha \rceil$ .
|
| 112 |
+
|
| 113 |
+
Note that Equation (1) can be written in a more elegant way as
|
| 114 |
+
|
| 115 |
+
$$
|
| 116 |
+
\mathbf {y} = \mathcal {S} ^ {*} \mathbf {x}, \tag {2}
|
| 117 |
+
$$
|
| 118 |
+
|
| 119 |
+
where $S^{*}:\mathbb{R}^{n}\to \mathbb{R}^{m}$ is a linear operator that encapsulates the entire downsampling operation, i.e. $S^{*}$ is a composition of blurring followed by sub-sampling. The downsampling operator $S^{*}$ is presented in Figure 2(a).
|
| 120 |
+
|
| 121 |
+
Most SISR deep learning methods, e.g. [7, 17, 21, 20, 41, 35, 15], assume that the observations are obtained using the bicubic kernel. Let us denote by $\mathcal{R}^*$ the associated downsampling operator (essentially, $\mathcal{R}^*$ coincides with the previously defined $S^*$ if $\mathbf{k}$ is the bicubic kernel $\mathbf{k}_{bicub}$ ). The core idea of our approach is to modify the observations $\mathbf{y} = S^{*}\mathbf{x}$ , obtained for an arbitrary downscaling kernel $\mathbf{k}$ , such that they mimic the (unknown) "ideal observations" $\mathbf{y}_{bicub} = \mathcal{R}^{*}\mathbf{x}$ , which can be fed into pre-trained DNN models.
|
| 122 |
+
|
| 123 |
+
In what follows, we present a method to (approximately) achieve this goal using the correction filter tool, adopted from the generalized sampling literature. First, we consider the non-blind setting, where the downscaling kernel is known, and thus $S^{*}$ is known. In this case, we obtain a closed-form expression for the required correction filter, which depends on $\mathbf{k}$ (and on $\mathbf{k}_{bicub}$ ). Later, we extend the approach to the blind setting, where $\mathbf{k}$ is unknown. In this case, we propose a technique for estimating the correction filter from the LR image $\mathbf{y}$ .
|
| 124 |
+
|
| 125 |
+
# 3.1. The non-blind setting
|
| 126 |
+
|
| 127 |
+
In the non-blind setting, both the downscaling kernel $\mathbf{k}$ and the target kernel $\mathbf{k}_{bicub}$ are known. Therefore, the downsampling operators $S^{*}$ and $\mathcal{R}^*$ are known as well. Using common notations from generalized sampling literature [9], let us denote by $S$ and $\mathcal{R}$ the adjoint operators of $S^{*}$ and $\mathcal{R}^*$ , respectively. The operator $\mathcal{R}:\mathbb{R}^m\to \mathbb{R}^n$ is an upsampling operator that restores a signal in $\mathbb{R}^n$ from $m$ samples, associated with the downsampling operator $\mathcal{R}^*$ . In the context of our work, when $\mathcal{R}$ is applied on a vector it pads it with $n - m$ zeros ( $\alpha -1$ zeros between each two entries) and convolves it with a flipped version of $\mathbf{k}_{bicub}$ . The upsampling operator $\mathcal{R}$ is presented in Figure 2(c). A similar definition holds for $S:\mathbb{R}^m\rightarrow \mathbb{R}^n$ with the kernel $\mathbf{k}$ .
|
| 128 |
+
|
| 129 |
+
The key goal of generalized sampling theory is to identify signal models and sampling systems that allow for perfect recovery. Therefore, to proceed, let us make the following assumption.
|
| 130 |
+
|
| 131 |
+
Assumption 1. The signal $\mathbf{x}$ can be perfectly recovered from its samples $\mathcal{R}^*\mathbf{x}$ by the operator $\mathcal{R}(\mathcal{R}^*\mathcal{R})^{-1}$ , i.e.
|
| 132 |
+
|
| 133 |
+
$$
|
| 134 |
+
\mathbf {x} = \mathcal {R} \left(\mathcal {R} ^ {*} \mathcal {R}\right) ^ {- 1} \mathcal {R} ^ {*} \mathbf {x}. \tag {3}
|
| 135 |
+
$$
|
| 136 |
+
|
| 137 |
+
Assumption 1 essentially states that the latent image $\mathbf{x}$ resides in the linear subspace spanned by the bicubic kernel. Therefore, it can be perfectly recovered from the observations $\mathbf{y}_{bicub} = \mathcal{R}^*\mathbf{x}$ by applying the pseudoinverse of $\mathcal{R}^*$ on $\mathbf{y}_{bicub}$ , i.e. by the estimator $\hat{\mathbf{x}} = \mathcal{R}(\mathcal{R}^*\mathcal{R})^{-1}\mathbf{y}_{bicub}$ . Even though Assumption 1 does not hold for natural images, it is motivated by the fact that there are many DNN methods that can handle observations of the form $\mathcal{R}^*\mathbf{x}$ quite well.
|
| 138 |
+
|
| 139 |
+
However, since we are given observations that are obtained by a different downscaling kernel, $\mathbf{y} = \mathcal{S}^{*}\mathbf{x}$ , let us propose a different estimator $\hat{\mathbf{x}} = \mathcal{R}\mathcal{H}\mathbf{y}$ , where $\mathcal{H}:\mathbb{R}^m\to \mathbb{R}^m$ is a correction operator. This recovery procedure is presented in Figures 2(b)+2(c). The following theorem presents a condition and a formula for $\mathcal{H}$ under which perfect recovery is possible under Assumption 1.
|
| 140 |
+
|
| 141 |
+
Theorem 2. Let $\mathbf{y} = S^{*}\mathbf{x}$ , $\hat{\mathbf{x}} = \mathcal{R}\mathcal{H}\mathbf{y}$ , and assume that Assumption 1 holds. Then, if
|
| 142 |
+
|
| 143 |
+
$$
|
| 144 |
+
\operatorname {n u l l} \left(\mathcal {S} ^ {*}\right) \cap \operatorname {r a n g e} (\mathcal {R}) = \{0 \}, \tag {4}
|
| 145 |
+
$$
|
| 146 |
+
|
| 147 |
+
we have that $\hat{\mathbf{x}} = \mathbf{x}$ for
|
| 148 |
+
|
| 149 |
+
$$
|
| 150 |
+
\mathcal {H} = \left(\mathcal {S} ^ {*} \mathcal {R}\right) ^ {- 1}: \mathbb {R} ^ {m} \rightarrow \mathbb {R} ^ {m}. \tag {5}
|
| 151 |
+
$$
|
| 152 |
+
|
| 153 |
+
Proof: Note that
|
| 154 |
+
|
| 155 |
+
$$
|
| 156 |
+
\begin{array}{l} \hat {\mathbf {x}} = \mathcal {R H} \mathbf {y} \\ = \mathcal {R H S} ^ {*} \mathbf {x} \\ = \mathcal {R H S} ^ {*} \mathcal {R} \left(\mathcal {R} ^ {*} \mathcal {R}\right) ^ {- 1} \mathcal {R} ^ {*} \mathbf {x}, \tag {6} \\ \end{array}
|
| 157 |
+
$$
|
| 158 |
+
|
| 159 |
+
where the last equality follows from Assumption 1. Next, (4) implies that the operator $(S^{*}\mathcal{R})$ is invertible. Thus, setting $\mathcal{H}$ according to (5) is possible, and we get
|
| 160 |
+
|
| 161 |
+
$$
|
| 162 |
+
\begin{array}{l} \hat {\mathbf {x}} = \mathcal {R} \left(\mathcal {S} ^ {*} \mathcal {R}\right) ^ {- 1} \mathcal {S} ^ {*} \mathcal {R} \left(\mathcal {R} ^ {*} \mathcal {R}\right) ^ {- 1} \mathcal {R} ^ {*} \mathbf {x} \\ = \mathcal {R} \left(\mathcal {R} ^ {*} \mathcal {R}\right) ^ {- 1} \mathcal {R} ^ {*} \mathbf {x} = \mathbf {x}, \tag {7} \\ \end{array}
|
| 163 |
+
$$
|
| 164 |
+
|
| 165 |
+
where the last equality follows from Assumption 1.
|
| 166 |
+
|
| 167 |
+
□
|
| 168 |
+
|
| 169 |
+
Theorem 2 is presented in operator notations to simplify the derivation. In the context of SISR (i.e. with the previous definitions of $S^*$ and $\mathcal{R}$ ), the operator $\mathcal{H} = (\mathcal{S}^*\mathcal{R})^{-1}$ can be applied simply as a convolution with a correction filter $\mathbf{h}_0$ , given by
|
| 170 |
+
|
| 171 |
+
$$
|
| 172 |
+
\mathbf {h} _ {0} = \operatorname {I D F T} \left\{\frac {1}{\operatorname {D F T} \left\{\left(\mathbf {k} * \operatorname {f l i p} \left(\mathbf {k} _ {b i c u b}\right)\right) \downarrow_ {\alpha} \right\}} \right\}, \tag {8}
|
| 173 |
+
$$
|
| 174 |
+
|
| 175 |
+
where $\mathrm{DFT}(\cdot)$ and $\mathrm{IDFT}(\cdot)$ denote the Discrete Fourier Transform and its inverse respectively.
|
| 176 |
+
|
| 177 |
+
In practice, instead of using the weak estimator $\hat{\mathbf{x}} = \mathcal{R}\mathcal{H}\mathbf{y}$ that does not use any natural-image prior, we propose to recover the HR image by
|
| 178 |
+
|
| 179 |
+
$$
|
| 180 |
+
\hat {\mathbf {x}} = f (\mathbf {h} * \mathbf {y}), \tag {9}
|
| 181 |
+
$$
|
| 182 |
+
|
| 183 |
+
where $f(\cdot)$ is a DNN super-resolver that has been trained under the assumption of bicubic kernel and $\mathbf{h}$ is a modified
|
| 184 |
+
|
| 185 |
+
Table 1: Non-blind super-resolution comparison on Set14. Each cell displays PSNR [dB] (left) and SSIM (right).
|
| 186 |
+
|
| 187 |
+
<table><tr><td></td><td>Scale</td><td>Gaussian std = 1.5/√2</td><td>Gaussian std = 2.5/√2</td><td>Box of width = 4</td></tr><tr><td>ZSSR</td><td>2</td><td>28.107 / 0.829</td><td>27.954 / 0.806</td><td>28.506 / 0.802</td></tr><tr><td>SRMD</td><td>2</td><td>32.493 / 0.878</td><td>29.923 / 0.812</td><td>25.944 / 0.757</td></tr><tr><td>DBPN</td><td>2</td><td>30.078 / 0.850</td><td>26.366 / 0.734</td><td>28.444 / 0.803</td></tr><tr><td>DBPN + our correction</td><td>2</td><td>34.023 / 0.904</td><td>33.288 / 0.895</td><td>29.364 / 0.822</td></tr><tr><td>ProSR</td><td>2</td><td>30.073 / 0.849</td><td>26.371 / 0.734</td><td>28.459 / 0.803</td></tr><tr><td>ProSR + our correction</td><td>2</td><td>33.954 / 0.903</td><td>33.273 / 0.895</td><td>29.514 / 0.825</td></tr><tr><td>RCAN</td><td>2</td><td>30.118 / 0.851</td><td>26.389 / 0.736</td><td>28.469 / 0.804</td></tr><tr><td>RCAN + our correction</td><td>2</td><td>34.043 / 0.904</td><td>33.251 / 0.895</td><td>29.306 / 0.820</td></tr><tr><td></td><td>Scale</td><td>Gaussian std = 3.5/√2</td><td>Gaussian std = 4.5/√2</td><td>Box of width = 8</td></tr><tr><td>ZSSR</td><td>4</td><td>25.642 / 0.701</td><td>25.361 / 0.683</td><td>24.549 / 0.653</td></tr><tr><td>SRMD</td><td>4</td><td>26.877 / 0.718</td><td>25.350 / 0.674</td><td>19.704 / 0.525</td></tr><tr><td>DBPN</td><td>4</td><td>25.067 / 0.685</td><td>23.890 / 0.645</td><td>24.636 / 0.667</td></tr><tr><td>DBPN + our correction</td><td>4</td><td>28.680 / 0.775</td><td>28.267 / 0.766</td><td>25.157 / 0.679</td></tr><tr><td>ProSR</td><td>4</td><td>25.033 / 0.683</td><td>23.882 / 0.645</td><td>24.685 / 0.667</td></tr><tr><td>ProSR + our correction</td><td>4</td><td>28.609 / 0.772</td><td>28.220 / 0.764</td><td>25.419 / 0.683</td></tr><tr><td>RCAN</td><td>4</td><td>25.077 / 0.685</td><td>23.904 / 0.646</td><td>24.694 / 0.668</td></tr><tr><td>RCAN + our correction</td><td>4</td><td>28.534 / 0.771</td><td>28.110 / 0.762</td><td>25.301 / 0.679</td></tr></table>
|
| 188 |
+
|
| 189 |
+
correction filter, given by
|
| 190 |
+
|
| 191 |
+
$$
|
| 192 |
+
\begin{array}{l} \mathbf {h} = \mathrm {I D F T} \left\{\frac {\operatorname {D F T} \left\{\left(\mathbf {k} _ {b i c u b} * \operatorname {f l i p} \left(\mathbf {k} _ {b i c u b}\right)\right) \downarrow_ {\alpha} \right\}}{\operatorname {D F T} \left\{\left(\mathbf {k} * \operatorname {f l i p} \left(\mathbf {k} _ {b i c u b}\right)\right) \downarrow_ {\alpha} \right\}} \right\} \\ \triangleq \operatorname {I D F T} \left\{\frac {F _ {\text {n u m e r}}}{F _ {\text {d e n o m}}} \right\}. \tag {10} \\ \end{array}
|
| 193 |
+
$$
|
| 194 |
+
|
| 195 |
+
Let us explain the idea behind the estimator in (9). Since the inverse mapping $f(\cdot)$ assumes bicubic downscaling $(\mathcal{R}^*\mathbf{x})$ , it can be interpreted as incorporating $\mathcal{R}(\mathcal{R}^*\mathcal{R})^{-1}$ with a (learned) prior. Therefore, unlike $\mathbf{h}_0$ in (8) which is followed by $\mathcal{R}$ , here the correction filter should also compensate for the operation $(\mathcal{R}^*\mathcal{R})^{-1}$ which is implicitly done in $f(\cdot)$ . This explains the term in the numerator of $\mathbf{h}$ (compared to 1 in the numerator of $\mathbf{h}_0$ ). To ensure numerical stability, we slightly modify (10), and compute $\mathbf{h}$ using
|
| 196 |
+
|
| 197 |
+
$$
|
| 198 |
+
\mathbf {h} = \operatorname {I D F T} \left\{F _ {\text {n u m e r}} \cdot \frac {F _ {\text {d e n o m}} ^ {*}}{\left| F _ {\text {d e n o m}} \right| ^ {2} + \epsilon} \right\}, \tag {11}
|
| 199 |
+
$$
|
| 200 |
+
|
| 201 |
+
where $\epsilon$ is a small regularization parameter. Regarding the choice of $f(\cdot)$ , in our experiments we use DBPN [15], RCAN [41], and proSR [35], but in general any other method with state-of-the-art performance (for bicubic kernel) is expected to give good results.
|
| 202 |
+
|
| 203 |
+
Note that the theoretical motivation for our strategy requires that the condition in (4) holds. This condition can be inspected by compaing the bandwidth of the kernels $\mathbf{k}$ and $\mathbf{k}_{bicub}$ in the frequency domain. As $\mathbf{k}$ is commonly a low-pass filter (and so is $\mathbf{k}_{bicub}$ ), the condition requires that the passband of $\mathbf{k}_{bicub}$ is contained in the passband of $\mathbf{k}$ . Yet,
|
| 204 |
+
|
| 205 |
+
as shown in the experiments section, our approach yields a significant improvement even when the passband of $\mathbf{k}$ is moderately smaller than the passband of $\mathbf{k}_{bicub}$ . Furthermore, we observe that even for very blurry LR images performance improvement can be obtained by increasing the regularization parameter in (11). We refer the reader to the supplementary material for more details.
|
| 206 |
+
|
| 207 |
+
# 3.2. The blind setting
|
| 208 |
+
|
| 209 |
+
In the blind setting, the downscaling kernel $\mathbf{k}$ is unknown. Therefore, we cannot compute the correction filter $\mathbf{h}$ using (11), and extending our approach to this setting requires to estimate $\mathbf{k}$ and $\mathbf{h}$ from the LR image $\mathbf{y}$ .
|
| 210 |
+
|
| 211 |
+
To this end, we propose to estimate $\mathbf{k}$ as the minimizer of the following objective function
|
| 212 |
+
|
| 213 |
+
$$
|
| 214 |
+
\xi (\mathbf {k}) = \| \mathbf {y} - \mathcal {S} ^ {*} f (\mathcal {H} \mathbf {y}) \| _ {\mathrm {H u b}} + \| \mathbf {m} _ {\mathrm {c e n}} \cdot \mathbf {k} \| _ {1} + \| \mathbf {k} \| _ {1}, \tag {12}
|
| 215 |
+
$$
|
| 216 |
+
|
| 217 |
+
where $\| \cdot \|_{\mathrm{Hub}}$ is Huber loss [16], the operator $\mathcal{H}$ is filtering with $\mathbf{h}$ given in (11), $S^{*}$ is the downsampling operator, $f(\cdot)$ is the given SR network, and $\mathbf{m}_{\mathrm{cen}}$ is given by
|
| 218 |
+
|
| 219 |
+
$$
|
| 220 |
+
\mathbf {m} _ {\mathrm {c e n}} (x, y) = 1 - \mathrm {e} ^ {- \frac {(x ^ {2} + y ^ {2})}{3 2 \alpha^ {2}}},
|
| 221 |
+
$$
|
| 222 |
+
|
| 223 |
+
where $\alpha$ is the scale factor. Note that the two operators $\mathcal{H}$ and $S^{*}$ depend on the kernel $\mathbf{k}$ . The last two terms in (12) are regularizers: the last term promotes sparsity of $\mathbf{k}$ and the penultimate term centralizes its density.
|
| 224 |
+
|
| 225 |
+
Inspired by [2, 3], we choose to parameterize the latent $\mathbf{k}$ by a linear CNN composed of 4 layers, i.e. $\mathbf{k} = \mathbf{k}_0*\mathbf{k}_1*\mathbf{k}_2*\mathbf{k}_3$ , where $\{\mathbf{k}_n\}_{n = 0}^2$ are of size $33\times 33$ and
|
| 226 |
+
|
| 227 |
+
Table 2: Non-blind super-resolution comparison on BSD100. Each cell displays PSNR [dB] (left) and SSIM (right).
|
| 228 |
+
|
| 229 |
+
<table><tr><td></td><td>Scale</td><td>Gaussian std = 1.5/√2</td><td>Gaussian std = 2.5/√2</td><td>Scale</td><td>Gaussian std = 3.5/√2</td><td>Gaussian std = 4.5/√2</td></tr><tr><td>ZSSR</td><td>2</td><td>29.339 / 0.822</td><td>26.415 / 0.715</td><td>4</td><td>25.115 / 0.651</td><td>24.348 / 0.625</td></tr><tr><td>SRMD</td><td>2</td><td>26.591 / 0.803</td><td>29.294 / 0.838</td><td>4</td><td>25.735 / 0.704</td><td>26.432 / 0.707</td></tr><tr><td>DBPN</td><td>2</td><td>29.512 / 0.827</td><td>26.371 / 0.711</td><td>4</td><td>25.268 / 0.662</td><td>24.357 / 0.628</td></tr><tr><td>DBPN + correction</td><td>2</td><td>32.300 / 0.884</td><td>31.875 / 0.878</td><td>4</td><td>27.690 / 0.740</td><td>27.474 / 0.733</td></tr><tr><td>ProSR</td><td>2</td><td>29.513 / 0.827</td><td>26.381 / 0.711</td><td>4</td><td>25.237 / 0.661</td><td>24.353 / 0.628</td></tr><tr><td>ProSR + correction</td><td>2</td><td>32.276 / 0.884</td><td>31.899 / 0.878</td><td>4</td><td>27.645 / 0.738</td><td>27.455/ 0.733</td></tr><tr><td>RCAN</td><td>2</td><td>29.558 / 0.829</td><td>26.397 / 0.713</td><td>4</td><td>25.281 / 0.663</td><td>24.373 / 0.629</td></tr><tr><td>RCAN + correction</td><td>2</td><td>32.368 / 0.886</td><td>31.876 / 0.878</td><td>4</td><td>27.626 / 0.739</td><td>27.399/ 0.732</td></tr></table>
|
| 230 |
+
|
| 231 |
+
# Algorithm 1: Correction filter estimation
|
| 232 |
+
|
| 233 |
+
Input: y, kbicub, $\alpha$ , $f(\cdot)$ .
|
| 234 |
+
|
| 235 |
+
Output: $\hat{\mathbf{h}}$ an estimate for $\mathbf{h}$
|
| 236 |
+
|
| 237 |
+
Params.: $\mathbf{k}^{(0)} = \mathbf{k}_{bicub}, i = 0, \epsilon = 10^{-14}$ ,
|
| 238 |
+
|
| 239 |
+
$$
|
| 240 |
+
\gamma = 1 0 ^ {- 4}, N _ {i t e r} = 2 5 0
|
| 241 |
+
$$
|
| 242 |
+
|
| 243 |
+
while $i < N_{iter}$ do
|
| 244 |
+
|
| 245 |
+
$$
|
| 246 |
+
i = i + 1;
|
| 247 |
+
$$
|
| 248 |
+
|
| 249 |
+
Compute $\mathbf{h}^{(i)}$ using (11) (for $\mathbf{k}^{(i - 1)},\alpha$ and $\epsilon$ );
|
| 250 |
+
|
| 251 |
+
$$
|
| 252 |
+
\mathbf {x} _ {h} ^ {(i)} = f \left(\mathbf {h} ^ {(i)} * \mathbf {y}\right);
|
| 253 |
+
$$
|
| 254 |
+
|
| 255 |
+
$$
|
| 256 |
+
\hat {\mathbf {y}} ^ {(i)} = \left(\mathbf {x} _ {h} ^ {(i)} * \mathbf {k} ^ {(i - 1)}\right) \downarrow_ {\alpha};
|
| 257 |
+
$$
|
| 258 |
+
|
| 259 |
+
$$
|
| 260 |
+
\xi (\mathbf {k} ^ {(i - 1)}) =
|
| 261 |
+
$$
|
| 262 |
+
|
| 263 |
+
$$
|
| 264 |
+
\begin{array}{l} \| \mathbf {y} - \hat {\mathbf {y}} ^ {(i)} \| _ {\mathrm {H u b}} + \| \mathbf {m} _ {\mathrm {c e n}} \cdot \mathbf {k} ^ {(i - 1)} \| _ {1} + \| \mathbf {k} ^ {(i - 1)} \| _ {1}; \\ \mathbf {k} ^ {(i)} = \operatorname {A d a m} (\text {f o r} \xi (\mathbf {k} ^ {(i - 1)}) \text {w i t h L R} \gamma); \\ \end{array}
|
| 265 |
+
$$
|
| 266 |
+
|
| 267 |
+
end
|
| 268 |
+
|
| 269 |
+
$$
|
| 270 |
+
\hat {\mathbf {h}} = \mathbf {h} ^ {(i)};
|
| 271 |
+
$$
|
| 272 |
+
|
| 273 |
+
$\mathbf{k}_3$ is of size $32 \times 32$ . The minimization of (12) with respect to $\mathbf{k}$ is performed by 250 iterations of Adam [18] with learning rate of $10^{-4}$ , initialized with $\mathbf{k}^{(0)} = \mathbf{k}_{bicub}$ . The proposed procedure is described in Algorithm 1. Note that at each iteration we obtain estimates for both the downscaling kernel $\mathbf{k}$ and correction filter $\mathbf{h}$ . The final estimator of $\mathbf{h}$ is then used in (9) to reconstruct the HR image, similarly to the non-blind setting.
|
| 274 |
+
|
| 275 |
+
# 4. Experiments
|
| 276 |
+
|
| 277 |
+
In this section we examine the performance and improvement due to our correction filter approach in the non-blind and blind settings, using three different off-the-shelf DNN super-resolvers that serve as $f(\cdot)$ in (9): DBPN [15], RCAN [41], and proSR [35]. We compare our approach to other methods that receive the downscaling kernel $\mathbf{k}$ (or its estimation in the blind setting) as an input: ZSSR [27] and SRMD [39]. We also compare our method to DPSR [40], however, since its results are extremely inferior to the other strategies (e.g. about 10 dB lower PSNR) they are deferred
|
| 278 |
+
|
| 279 |
+

|
| 280 |
+
|
| 281 |
+

|
| 282 |
+
Observed LR (Gaussian kernel)
|
| 283 |
+
"Ideal" LR (bicubic kernel)
|
| 284 |
+
Figure 3: Comparison between observed, "ideal" and corrected LR images, for SR scale factor of 4 and Gaussian kernel of std $4.5 / \sqrt{2}$ .
|
| 285 |
+
|
| 286 |
+

|
| 287 |
+
Corrected observed LR
|
| 288 |
+
|
| 289 |
+
Table 3: Comparison of the filter-corrected (non-bicubic) LR to the bicubic LR on Set14. Each cell displays PSNR [dB] (left) and SSIM (right).
|
| 290 |
+
|
| 291 |
+
<table><tr><td>Scale</td><td>Gauss. std 1.5/√2</td><td>Gauss. std 2.5/√2</td><td>Box, width 4</td></tr><tr><td>2</td><td>51.345 / 0.999</td><td>45.456 / 0.995</td><td>33.679 / 0.941</td></tr><tr><td>Scale</td><td>Gauss. std 3.5/√2</td><td>Gauss. std 4.5/√2</td><td>Box, width 8</td></tr><tr><td>4</td><td>58.437 / 0.999</td><td>46.917 / 0.995</td><td>32.308 / 0.907</td></tr></table>
|
| 292 |
+
|
| 293 |
+
to the supplementary material. All the experiments are performed with the official code of each method. We refer the reader to the supplementary material for more results.
|
| 294 |
+
|
| 295 |
+
# 4.1. The non-blind setting
|
| 296 |
+
|
| 297 |
+
In this section, we assume that the downscaling kernel $\mathbf{k}$ is known. Therefore, the correction filter $\mathbf{h}$ can be computed directly using (11). We examine scenarios with scale factors of 2 and 4. For scale factor of 2, we use Gaussian kernels with standard deviation $\sigma = 1.5 / \sqrt{2}$ and $\sigma = 2.5 / \sqrt{2}$ , and box kernel of size $4\times 4$ . For scale factor of 4, we use Gaussian kernels with standard deviation $\sigma = 3.5 / \sqrt{2}$ and $\sigma = 4.5 / \sqrt{2}$ , and box kernel of size $8\times 8$ .
|
| 298 |
+
|
| 299 |
+
The results are presented in Tables 1 and 2 for the test
|
| 300 |
+
|
| 301 |
+

|
| 302 |
+
|
| 303 |
+

|
| 304 |
+
|
| 305 |
+

|
| 306 |
+
Original image (cropped)
|
| 307 |
+
|
| 308 |
+

|
| 309 |
+
|
| 310 |
+

|
| 311 |
+
LR image
|
| 312 |
+
|
| 313 |
+

|
| 314 |
+
Bicubic upsampling
|
| 315 |
+
|
| 316 |
+

|
| 317 |
+
SRMD
|
| 318 |
+
|
| 319 |
+

|
| 320 |
+
ZSSR
|
| 321 |
+
|
| 322 |
+

|
| 323 |
+
ProSR
|
| 324 |
+
ProSR with our correction
|
| 325 |
+
Figure 4: Non-blind super-resolution of image 189080 from BSD100, for scale factor of 2 and Gaussian downscaling kernel with standard deviation 2.5.
|
| 326 |
+
|
| 327 |
+

|
| 328 |
+
RCAN
|
| 329 |
+
RCAN with our correction
|
| 330 |
+
|
| 331 |
+

|
| 332 |
+
DBPN
|
| 333 |
+
DBPN with our correction
|
| 334 |
+
|
| 335 |
+
sets Set14 and BSD100, respectively. Figures 1 and 4 present several visual results. It can be seen that the proposed filter correction approach significantly improves the results of DBPN, RCAN, and proSR, which have been trained for the (incorrect) bicubic kernel. Moreover, note that the filter-corrected applications of DBPN, RCAN, and proSR, also outperform SRMD and ZSSR, while the plain applications of DBPN, RCAN, and proSR are inferior to SRMD.
|
| 336 |
+
|
| 337 |
+
As explained in Section 3, the proposed approach is based on mimicking the (unknown) "ideal" LR image $\mathbf{y}_{bicub} = \mathcal{R}^{*}\mathbf{x}$ by the corrected LR image $\mathcal{H}\mathbf{y}$ . The high PSNR and SSIM results between such pairs of images, which are presented in Table 3 for Set14, verify that this
|
| 338 |
+
|
| 339 |
+
indeed happens. Figure 3 shows a visual comparison.
|
| 340 |
+
|
| 341 |
+
Inference run-time. Computing the correction filter requires a negligible amount of time, so it does not change the run-time of an off-the-shelf DNN. Using NVIDIA RTX 2080ti GPU, the per image run-time of all the methods except ZSSR is smaller than 1 second (because no training is done in the test phase), while ZSSR requires approximately 2 minutes per image.
|
| 342 |
+
|
| 343 |
+
# 4.2. The blind setting
|
| 344 |
+
|
| 345 |
+
In this section, we repeat previous experiments, but without the assumption that the downscaling kernel $\mathbf{k}$ is known. Therefore, to apply our approach we first estimate the correction filter using Algorithm 1, and then use this estimation
|
| 346 |
+
|
| 347 |
+
Table 4: Blind super-resolution comparison on Set14. Each cell displays PSNR [dB] (left) and SSIM (right).
|
| 348 |
+
|
| 349 |
+
<table><tr><td></td><td>Scale</td><td>Gaussian std = 1.5/√2</td><td>Gaussian std = 2.5/√2</td><td>Box of width = 4</td></tr><tr><td>KernelGAN</td><td>2</td><td>26.381 / 0.785</td><td>28.868 / 0.807</td><td>28.221 / 0.802</td></tr><tr><td>DBPN</td><td>2</td><td>30.078 / 0.85</td><td>26.366 / 0.734</td><td>28.444 / 0.803</td></tr><tr><td>DBPN + our estimated correction</td><td>2</td><td>28.46 / 0.842</td><td>28.037 / 0.794</td><td>29.778 / 0.840</td></tr><tr><td></td><td>Scale</td><td>Gaussian std = 3.5/√2</td><td>Gaussian std = 4.5/√2</td><td>Box of width = 8</td></tr><tr><td>KernelGAN</td><td>4</td><td>24.424 / 0.673</td><td>25.174 / 0.669</td><td>23.575 / 0.634</td></tr><tr><td>DBPN</td><td>4</td><td>25.067 / 0.685</td><td>23.890 / 0.645</td><td>24.636 / 0.667</td></tr><tr><td>DBPN + our estimated correction</td><td>4</td><td>28.184 / 0.764</td><td>25.542 / 0.699</td><td>25.111 / 0.681</td></tr></table>
|
| 350 |
+
|
| 351 |
+
Table 5: Blind super-resolution comparison on BSD100. Each cell displays PSNR [dB] (left) and SSIM (right).
|
| 352 |
+
|
| 353 |
+
<table><tr><td></td><td>Scale</td><td>Gaussian std = 1.5/√2</td><td>Gaussian std = 2.5/√2</td><td>Scale</td><td>Gaussian std = 3.5/√2</td><td>Gaussian std = 4.5/√2</td></tr><tr><td>KernelGAN</td><td>2</td><td>26.615 / 0.773</td><td>28.244 / 0.780</td><td>4</td><td>24.363 / 0.647</td><td>25.238 / 0.652</td></tr><tr><td>DBPN</td><td>2</td><td>29.512 / 0.827</td><td>26.371 / 0.711</td><td>4</td><td>25.268 / 0.662</td><td>24.357 / 0.628</td></tr><tr><td>DBPN + est. correction</td><td>2</td><td>27.784 / 0.828</td><td>27.761 / 0.769</td><td>4</td><td>27.103/ 0.722</td><td>25.485 / 0.671</td></tr></table>
|
| 354 |
+
|
| 355 |
+
to restore the HR image by (9). Note that Algorithm 1 exploits the pre-trained DNN to estimate the correction filter. Here we apply it only with DBPN, which has a more compact architecture than RCAN and proSR, and hence leads to faster inference. However, similar results can be obtained also for RCAN and proSR. In this setting we compare our method to kernelGAN [3], which estimates the downscaling kernel using adversarial training (in test-time) and then uses ZSSR to restore the HR image.
|
| 356 |
+
|
| 357 |
+
The results for Set14 and BSD100 are presented in Tables 4 and 5, respectively, and visual examples are shown in Figure 5. More results and comparison on DIV2KRK are presented in the supplementary material. It can be seen that the proposed filter correction approach improves the results of DBPN compared to its plain application. It also outperforms kernelGAN, despite being much simpler.
|
| 358 |
+
|
| 359 |
+
# 5. Conclusion
|
| 360 |
+
|
| 361 |
+
The SISR task has gained a lot from the developments in deep learning in the recent years. Yet, the leading DNN methods suffer from a huge performance drop when they are tested on images that do not fit the acquisition process assumption used in their training phase—which is, typically, that the downscaling kernel is bicubic. In this work, we addressed this issue by a signal processing approach: computing a correction filter that modifies the low-resolution observations such that they mimic observations that are obtained with a bicubic kernel. (Notice that our focus in this work on the bicubic kernel is for the sake of simplicity of the presentation and due to its popularity. Yet, it is possible to use our developed tools also for other reconstruction kernels). The modified LR is then fed into existing state-of-the-art DNNs that are trained only under the assumption of bicubic kernel. Various experiments have
|
| 362 |
+
|
| 363 |
+

|
| 364 |
+
Original image (cropped)
|
| 365 |
+
|
| 366 |
+

|
| 367 |
+
LR image
|
| 368 |
+
|
| 369 |
+

|
| 370 |
+
Bicubic upsampling
|
| 371 |
+
|
| 372 |
+

|
| 373 |
+
KernelGAN
|
| 374 |
+
|
| 375 |
+

|
| 376 |
+
DBPN
|
| 377 |
+
|
| 378 |
+

|
| 379 |
+
DBPN + est. correction
|
| 380 |
+
Figure 5: Blind SR of zebra image from Set14, for scale factor 4 and Gaussian downscaling kernel with std $3.5 / \sqrt{2}$ .
|
| 381 |
+
|
| 382 |
+
shown that the proposed approach significantly improves the performance of the pre-trained DNNs and outperforms other (much more sophisticated) methods that are specifically designed to be robust to different kernels.
|
| 383 |
+
|
| 384 |
+
Acknowledgment. The work is supported by the NSF-BSF (No. 2017729) and ERC-StG (No. 757497) grants.
|
| 385 |
+
|
| 386 |
+
# References
|
| 387 |
+
|
| 388 |
+
[1] Shady Abu Hussein, Tom Tirer, and Raja Giryes. Image-adaptive GAN based reconstruction. AAAI Conference on Artificial Intelligence, 2020. 3
|
| 389 |
+
[2] Sanjeev Arora, Nadav Cohen, Noah Golowich, and Wei Hu. A convergence analysis of gradient descent for deep linear neural networks. *ICLR*, 2019. 5
|
| 390 |
+
[3] Sefi Bell-Kligler, Assaf Shocher, and Michal Irani. Blind super-resolution kernel estimation using an internal-GAN. Advances in Neural Information Processing Systems, 2019. 3, 5, 8
|
| 391 |
+
[4] Yochai Blau and Tomer Michaeli. The perception-distortion tradeoff. IEEE Conference on Computer Vision and Pattern Recognition, Jun. 2018. 2
|
| 392 |
+
[5] Ashish Bora, Ajil Jalal, Eric Price, and Alexandros G Dimakis. Compressed sensing using generative models. In Proceedings of the 34th International Conference on Machine Learning-Volume 70, pages 537-546. JMLR.org, 2017. 1, 3
|
| 393 |
+
[6] Paul Leo Butzer. A survey of the Whittaker-Shannon sampling theorem and some of its extensions. J. Math. Res. Expo., 1983. 3
|
| 394 |
+
[7] Chao Dong, Chen Change Loy, Kaiming He, and Xiaou Tang. Learning a deep convolutional network for image super-resolution. In European conference on computer vision, pages 184-199. Springer, 2014. 1, 2, 4
|
| 395 |
+
[8] Weisheng Dong, Lei Zhang, Guangming Shi, and Xin Li. Nonlocally centralized sparse representation for image restoration. IEEE transactions on Image Processing, 22(4):1620-1630, 2012. 1
|
| 396 |
+
[9] Yonina C Eldar. Sampling theory: Beyond bandlimited systems. Cambridge University Press, 2015. 1, 3, 4
|
| 397 |
+
[10] Yonina C Eldar and Tomer Michaeli. Beyond bandlimited sampling. IEEE signal processing magazine, 26(3):48-68, 2009. 3
|
| 398 |
+
[11] William T Freeman, Thouis R Jones, and Egon C Pasztor. Example-based super-resolution. IEEE Computer graphics and Applications, (2):56-65, 2002. 1
|
| 399 |
+
[12] CA Glasbey. Optimal linear interpolation of images with known point spread function. In Proceedings of the Scandinavian Conference on Image Analysis., pages 161-168, 2001. 3
|
| 400 |
+
[13] Daniel Glasner, Shai Bagon, and Michal Irani. Superresolution from a single image. In 2009 IEEE 12th international conference on computer vision, pages 349-356. IEEE. 1
|
| 401 |
+
[14] Jinjin Gu, Hannan Lu, Wangmeng Zuo, and Chao Dong. Blind super-resolution with iterative kernel correction. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 1604-1613, 2019. 1, 2, 3
|
| 402 |
+
[15] Muhammad Haris, Gregory Shakhnarovich, and Norimichi Ukita. Deep back-projection networks for super-resolution. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 1664-1673, 2018. 1, 2, 4, 5, 6
|
| 403 |
+
[16] Peter J Huber. Robust estimation of a location parameter. The Annals of Mathematical Statistics, pages 73-101, 1964. 5
|
| 404 |
+
|
| 405 |
+
[17] 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. 1, 2, 4
|
| 406 |
+
[18] Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization, 2014. 6
|
| 407 |
+
[19] Vladimir Aleksandrovich Kotelnikov. On the transmission capacity of the 'ether' and of cables in electrical communications. 1933. 3
|
| 408 |
+
[20] Christian Ledig, Lucas Theis, Ferenc Huszár, Jose Caballero, Andrew Cunningham, Alejandro Acosta, Andrew Aitken, Alykhan Tejani, Johannes Totz, Zehan Wang, et al. Photorealistic single image super-resolution using a generative adversarial network. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 4681-4690, 2017. 1, 2, 4
|
| 409 |
+
[21] Bee Lim, Sanghyun Son, Heewon Kim, Seungjun Nah, and Young Mu Lee. Enhanced deep residual networks for single image super-resolution. In Proceedings of the IEEE conference on computer vision and pattern recognition workshops, pages 136-144, 2017. 1, 2, 4
|
| 410 |
+
[22] Tomer Michaeli and Michal Irani. Nonparametric blind super-resolution. In Proceedings of the IEEE International Conference on Computer Vision, pages 945-952, 2013. 3
|
| 411 |
+
[23] Harry Nyquist. Certain topics in telegraph transmission theory. Transactions of the American Institute of Electrical Engineers, 47(2):617-644, 1928. 3
|
| 412 |
+
[24] Sathish Ramani, Dimitri Van De Ville, and Michael Unser. Non-ideal sampling and adapted reconstruction using the stochastic matern model. In 2006 IEEE International Conference on Acoustics Speech and Signal Processing Proceedings, volume 2, pages II-II. IEEE, 2006. 3
|
| 413 |
+
[25] Mehdi SM, Sajjadi, Bernhard Scholkopf, and Michael Hirsch. Enhancenet: Single image super-resolution through automated texture synthesis. In Proceedings of the IEEE International Conference on Computer Vision, pages 4491-4500, 2017. 2
|
| 414 |
+
[26] Claude Elwood Shannon. Communication in the presence of noise. Proceedings of the IRE, 37(1):10-21, 1949. 3
|
| 415 |
+
[27] Assaf Shocher, Nadav Cohen, and Michal Irani. “zero-shot” super-resolution using deep internal learning. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 3118–3126, 2018. 1, 2, 6
|
| 416 |
+
[28] Filip Sroubek, Gabriel Cristóbal, and Jan Flusser. A unified approach to superresolution and multichannel blind deconvolution. IEEE Transactions on Image Processing, 16(9):2322-2332, 2007. 3
|
| 417 |
+
[29] Tom Tirer and Raja Giryes. Image restoration by iterative denoising and backward projections. IEEE Transactions on Image Processing, 28(3):1220-1234, 2018. 3
|
| 418 |
+
[30] Tom Tirer and Raja Giryes. Back-projection based fidelity term for ill-posed linear inverse problems. arXiv preprint arXiv:1906.06794, 2019. 2
|
| 419 |
+
[31] Tom Tirer and Raja Giryes. Super-resolution via image-adapted denoising CNNs: Incorporating external and internal learning. IEEE Signal Processing Letters, 2019. 1, 2, 3
|
| 420 |
+
|
| 421 |
+
[32] Dmitry Ulyanov, Andrea Vedaldi, and Victor Lempitsky. Deep image prior. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 9446-9454, 2018. 1, 2
|
| 422 |
+
[33] Michael Unser. Sampling—50 years after shannon. Proceedings of the IEEE, 88(ArtICLE):569-587, 2000. 1, 3
|
| 423 |
+
[34] 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. 2
|
| 424 |
+
[35] Yifan Wang, Federico Perazzi, Brian McWilliams, Alexander Sorkine-Hornung, Olga Sorkine-Hornung, and Christopher Schroers. A fully progressive approach to single-image super-resolution. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, pages 864-873, 2018. 1, 2, 4, 5, 6
|
| 425 |
+
[36] Edmund Taylor Whittaker. On the functions which are represented by the expansions of the interpolation-theory. Proceedings of the Royal Society of Edinburgh, 35:181-194, 1915. 3
|
| 426 |
+
[37] Jianchao Yang, John Wright, Thomas S Huang, and Yi Ma. Image super-resolution via sparse representation. IEEE transactions on image processing, 19(11):2861-2873, 2010.
|
| 427 |
+
[38] Kai Zhang, Wangmeng Zuo, Shuhang Gu, and Lei Zhang. Learning deep CNN denoiser prior for image restoration. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 3929-3938, 2017. 1, 2, 3
|
| 428 |
+
[39] Kai Zhang, Wangmeng Zuo, and Lei Zhang. Learning a single convolutional super-resolution network for multiple degradations. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 3262-3271, 2018. 1, 2, 3, 6
|
| 429 |
+
[40] Kai Zhang, Wangmeng Zuo, and Lei Zhang. Deep plug-and-play super-resolution for arbitrary blur kernels. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 1671-1681, 2019. 3, 6
|
| 430 |
+
[41] Yulun Zhang, Kunpeng Li, Kai Li, Lichen Wang, Bineng Zhong, and Yun Fu. Image super-resolution using very deep residual channel attention networks. In Proceedings of the European Conference on Computer Vision (ECCV), pages 286-301, 2018. 1, 2, 4, 5, 6
|
correctionfilterforsingleimagesuperresolutionrobustifyingofftheshelfdeepsuperresolvers/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:60f10316c541cd7fc90df82f8616a767d02a90875a1657b80298da7c9241cd24
|
| 3 |
+
size 724677
|
correctionfilterforsingleimagesuperresolutionrobustifyingofftheshelfdeepsuperresolvers/layout.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3fd5ac7b1c61d4d62dbc5df9182f2d254cf9364dbff7dc9d56f9b6db5d435750
|
| 3 |
+
size 511476
|
correlatingedgeposewithparsing/51a2d6bb-ca9a-43e8-98a2-a340a792b8bf_content_list.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1b16140f1c07d4909d95d68e4a9d1ae7341e85ae263cd6a00e478a7cbcbe7d33
|
| 3 |
+
size 94487
|
correlatingedgeposewithparsing/51a2d6bb-ca9a-43e8-98a2-a340a792b8bf_model.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5e585a1d6ec1c96354a3004e0fce5c7df73361c461b145055064152adf9c80ec
|
| 3 |
+
size 115307
|
correlatingedgeposewithparsing/51a2d6bb-ca9a-43e8-98a2-a340a792b8bf_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d11d51d620938f63ae090ac6493113a8da214f879d5924c5b147255c9dc10799
|
| 3 |
+
size 885632
|
correlatingedgeposewithparsing/full.md
ADDED
|
@@ -0,0 +1,395 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Correlating Edge, Pose with Parsing
|
| 2 |
+
|
| 3 |
+
Ziwei Zhang $^{1}$ , Chi Su $^{2*}$ , Liang Zheng $^{3}$ , Xiaodong Xie $^{1}$
|
| 4 |
+
|
| 5 |
+
$^{1}$ School of Electronics Engineering and Computer Science, Peking University $^{2}$ Kingsoft Cloud, $^{3}$ Australian National University
|
| 6 |
+
|
| 7 |
+
{ziwei.zh,donxie}@pku.edu.cn, suchi@kingsoft.com, liang.zheng@anu.edu.au
|
| 8 |
+
|
| 9 |
+
# Abstract
|
| 10 |
+
|
| 11 |
+
According to existing studies, human body edge and pose are two beneficial factors to human parsing. The effectiveness of each of the high-level features (edge and pose) is confirmed through the concatenation of their features with the parsing features. Driven by the insights, this paper studies how human semantic boundaries and keypoint locations can jointly improve human parsing. Compared with the existing practice of feature concatenation, we find that uncovering the correlation among the three factors is a superior way of leveraging the pivotal contextual cues provided by edges and poses. To capture such correlations, we propose a Correlation Parsing Machine (CorrPM) employing a heterogeneous non-local block to discover the spatial affinity among feature maps from the edge, pose and parsing. The proposed CorrPM allows us to report new state-of-the-art accuracy on three human parsing datasets. Importantly, comparative studies confirm the advantages of feature correlation over the concatenation.
|
| 12 |
+
|
| 13 |
+
# 1. Introduction
|
| 14 |
+
|
| 15 |
+
This paper studies human parsing, aiming to partition a human image into semantic regions including body parts and clothes. This problem is challenging due to the complicated textures and styles of clothes, the deformable human body, the scale diversity of different categories, etc. As such, directly applying general semantic segmentation methods to human parsing may lead to unsatisfying results, which are reflected in two aspects. First, the boundaries between adjacent parts may be inaccurately located. The system might get confused with pixels along the boundaries, especially when the neighboring parts have similar appearance. Second, semantics of segmented parts may be inconsistent with human body structure, if we don't consider the affinity among different parts. This leads to mislabeling
|
| 16 |
+
|
| 17 |
+

|
| 18 |
+
age
|
| 19 |
+
|
| 20 |
+

|
| 21 |
+
(b) I
|
| 22 |
+
arsi
|
| 23 |
+
g ba
|
| 24 |
+
seline
|
| 25 |
+
Figure 1. Illustration of parsing errors and our motivation. (a) Given images. (b) Results of parsing baseline [4]. (c) Fusion of parsing and human body edge features. (d) Fusion of parsing and the human keypoint features. (e) Results of our method. (f) Groundtruth. From (b), we observe parsing errors happen due to boundary ambiguity (white box) and body structure inconsistency (red box), respectively. The fusion of boundary features (c) or keypoint features (d) may mitigate one of the two errors. The two types of errors are obviously mitigated in (e) because we take the advantage of both boundary and keypoints by learning their correlation with parsing. By comparison, the proposed strategy is superior to concatenation or post processing as commonly done.
|
| 26 |
+
|
| 27 |
+

|
| 28 |
+
(c) Pa
|
| 29 |
+
sing a
|
| 30 |
+
nd ec
|
| 31 |
+
ge (
|
| 32 |
+
|
| 33 |
+

|
| 34 |
+
1) Pa
|
| 35 |
+
sing a
|
| 36 |
+
nd pose
|
| 37 |
+
|
| 38 |
+

|
| 39 |
+
(e) Our
|
| 40 |
+
method
|
| 41 |
+
(f
|
| 42 |
+
|
| 43 |
+

|
| 44 |
+
GroundTruth
|
| 45 |
+
|
| 46 |
+
or missing predictions when context clues are not obvious.
|
| 47 |
+
|
| 48 |
+
Edge detection and pose estimation can potentially address the above two problems. For the first problem, i.e., boundary confusions, human body edge detection is beneficial to distinguish two adjacent categories [3, 33]. For the second problem, i.e., semantics inconsistency, pose estimation provides keypoints to enforce the parsing results to be semantically consistent with human body structure [38, 28, 34]. Therefore, current research [3, 33, 37, 29] identifies human edge and pose as complementary cues to improve parsing performance. As shown in Fig. 1(b), when directly using generic segmentation methods for human parsing, some pixels of upper clothes are predicted as pants: the network incorrectly locates the edges between the two categories. Moreover, due to the lack of human semantic constraints, the left and right arms, left and right shoes are incorrectly identified. In Fig. 1(c), after adding edge
|
| 49 |
+
|
| 50 |
+
information to parsing, we observe that the boundary pixels are accurately located. Further, when utilizing body part cues provided by pose features in Fig. 1(d), the mistaken prediction of the left arm no longer exists, and the left shoe is clearly distinguished from the right shoe.
|
| 51 |
+
|
| 52 |
+
In spite of the improvements so far, existing research utilising edge/pose to improve parsing has not leveraged them to the full potential. Usually a single factor, i.e. either pose or edge, is used, which might be beneficial to handle a single problem mentioned above. In addition, existing methods typically perform feature concatenation or post processing for parsing refinement. We point out that this practice might be inferior. As shown in Fig. 1(c) and (d), when only a single factor is concerned for parsing system, there still remain blurs and holes in arm and dress area, and left/right shoes are inexactly predicted. Therefore, simple fusion or post processing may not be enough to process fine regions, such as edges of different parts. To address this problem, we explore the correlations among edge and pose and find that it is preferable that edge, pose and parsing are simultaneously integrated.
|
| 53 |
+
|
| 54 |
+
In this paper, we propose a Correlation Parsing Machine (CorrPM) to take advantage of both human semantic edge and pose features to benefit human parsing. Contrary to performing feature concatenation or post processing, we learn the correlation among the three tasks. The CorrPM has three encoders and is featured by a heterogeneous non-local (HNL) module. The encoders calculate vector representations of the human edge, pose and semantics, respectively. HNL mixes the three features into a hybrid representation and explores the spatial affinity between this hybrid feature and the parsing feature map at all positions. As such, our method can effectively perceive the human edges and maintains the integrity of a semantic region, addressing the inaccurate boundary localization problem. Meanwhile, by perceiving the body keypoints, our method improves the consistency of the body part geometry. For example, as shown in Fig. 1 (e), our method corrects the mislabeling of arm region and correctly segments the boundary between upper clothes and pants, and between dresses and arms.
|
| 55 |
+
|
| 56 |
+
To summarize, our contribution is three-fold. 1) We propose to use a Heterogeneous Non-Local (HNL) structure to capture the correlations among three closely related factors. 2) We show that human edge and pose, when both integrated in the Correlation Parsing Machine (CorrPM), bring significant improvement to parsing task. 3) Using simple edge detection and pose estimation models, we report very competitive parsing accuracy on three human parsing datasets.
|
| 57 |
+
|
| 58 |
+
# 2. Related Work
|
| 59 |
+
|
| 60 |
+
Semantic Segmentation. Human parsing is a fine-grained semantic segmentation, which performs per-pixel prediction on all objects. Due to its great prospects in appli
|
| 61 |
+
|
| 62 |
+
cation, semantic segmentation has gained much importance in the past few years. FCN [25, 5, 42] performs well on this task which applies fully convolution on the whole image to produce labels of every pixel. Inspired by this, many researchers [31, 1, 32] start to leverage the encoder-decoder structure which extracts features by downsampling and then use upsampling to recover them to the original resolution. Aiming to enlarge the receptive field, another structure, DeepLab [4], designs atrous convolution kernels to force the network to perceive larger area and reduce the prediction errors. Zhao et al. [41] propose a pyramid scene parsing network aggregating multi-scale object clues to make the segmentation more precise. In [36], Xia et al. propose the "Auto-zoom Nets" to automatically "zoom" the objects and parts which have diverse scales.
|
| 63 |
+
|
| 64 |
+
Human Parsing. Following main approaches in semantic segmentation, early researches in human parsing contribute towards this topic mostly by hand-crafted features and post-processed by Conditional Random Field (CRF) [11, 23]. Dong et al. [9] use a variety of parselets assembled by "And-Or" sub-trees to jointly parse human body labels and keypoint locations. With the development of convolutional neural network (CNN), especially after the ResNet [17] is proposed, many deep learning approaches have achieved much progress in this area. In [22], Liang et al. propose a Co-CNN framework capturing cross-layer local and global context information to boost the parsing performance. Gong et al. [15] introduce a new large-scale benchmark LIP and a novel self-supervised structure-sensitive learning method. In [20], Li et al. tackle the human parsing problem by generating global parsing maps for person in a bottom-up way.
|
| 65 |
+
|
| 66 |
+
Utilizing edge or pose for parsing. Aiming to get more accurate predictions in human parsing task, recent works [10, 29, 14, 15, 37, 13, 7, 19, 30] utilize edge or pose information as a guidance. Chen et al. [3] propose an edge-aware filtering method to capture accurate semantic contours between two adjacent parts. Ruan et al. [33] fuse the edge map with parsing feature which can reserve the boundary of person parts to benefit the human parsing. Gong et al. [14] conduct both semantic part parsing and edge detection in the way of sharing intermediate representation of both features. Xia et al. [37] train two FCNs to predict poses and parts separately and then fuse them through a fully-connected conditional random field (FCRF) as a refinement. Nie et al. [29] observe that pose and parsing can simultaneously boost the performance of each other by training two parallel models and adapt the mutual parameters. Despite the improvement, the existing methods simply perform feature concatenation or pose-processing to refine parsing results, which is inferior to guide parsing model to learn contextual cues. Our framework simultaneously integrates edge, pose and parsing representation and effectively
|
| 67 |
+
|
| 68 |
+

|
| 69 |
+
Figure 2. Overview of the proposed network. PaE: parsing encoder. EdE: edge encoder. PoE: pose encoder. HNL: heterogeneous non-local module. FA: feature aggregation. $f_{*}$ : parsing/edge/pose features. After extracted by three encoders, parsing, pose and edge features are fed into HNL to explore their correlation to benefit human parsing task.
|
| 70 |
+
|
| 71 |
+
exploits the correlation among these three representation.
|
| 72 |
+
|
| 73 |
+
Non-local Network. Human parsing is closely complementary to semantic edge information and human pose information. And the relationship among them is exploited and employed by HNL which is modified from non-local network. Originating from non-local means algorithm [2], the non-local network is leveraged in many approaches to capture long-range dependencies [43, 40]. Wang et al.[35] propose the non-local block as a weighted summation of relationships of every position and show good performance in video classification. Even though non-local network has been a great success in many tasks, existing methods seek the relationship with the feature itself. Different from the existing self-attention mechanism, the proposed heterogeneous non-local module aggregates parsing, edge and pose factors together and learns the correlation of parsing with the other two features.
|
| 74 |
+
|
| 75 |
+
# 3. The Proposed Approach
|
| 76 |
+
|
| 77 |
+
As illustrated in Fig. 2, the proposed Correlation Parsing Machine (CorrPM) leverages human body keypoint and semantic boundary information to benefit human parsing. We firstly introduce the overall formulation of our framework in Section 3.1. The three feature encoders are represented in Section 3.2 and we propose a heterogeneous non-local
|
| 78 |
+
|
| 79 |
+
module (HNL) to correlate the three factors in Section 3.3. Then, Section 3.4 explains the difference between the proposed HNL and the traditional non-local networks. And the overall training objective is illustrated in Section 3.5.
|
| 80 |
+
|
| 81 |
+
# 3.1. Formulation
|
| 82 |
+
|
| 83 |
+
Given an input image $I \in \mathbb{R}^{3 \times M \times N}$ of size $M \times N$ , our task is to predict the label of every pixel and generate a segmentation mask $P \in \mathbb{R}^{M \times N}$ leveraging three kinds of information: human body part category $\mathcal{P} \in \{0,1,\dots,Q\}^{M \times N}$ , semantic boundary $\mathcal{B} \in \{0,1\}^{M \times N}$ and human body keypoint location $\mathcal{K} = \{(x_i,y_i)\}_{i=1}^J$ . $J$ and $Q$ are the number of body joints and part categories. $(x_i,y_i)$ are the coordinates of the point $i$ , and the pixels that belong to boundaries are labeled as 1 otherwise 0. We aim to design a unified framework that jointly utilizes these three factors and uncovers the correlation among them to better leverage the pivotal contextual cues.
|
| 84 |
+
|
| 85 |
+
# 3.2. Feature Encoding
|
| 86 |
+
|
| 87 |
+
Human parsing, pose estimation, edge detection are complementary and closely related, hence, their features can be learned by a shared base model $\Theta$ , e.g., ResNet101 [17]. The feature at the lower stage of the base model retains high resolution structure and is fed to edge encoder to capture the object edge boundaries $f_{b}$ . And the higher-stage feature keeps rich semantic information which is further used as parsing feature $f_{p}$ and keypoint feature $f_{k}$ .
|
| 88 |
+
|
| 89 |
+
Parsing Encoder. We adopt a parsing pipeline to predict a coarse segmentation map firstly. Context information is leveraged in many previous work [41, 4] in semantic segmentation and it is also essential in human parsing. Given the parsing feature of the base model $\Theta$ , we observe that merely performing dense pixel-wise prediction on it will cause mislabeling. Therefore, we add the Atrous Spatial Pyramid Pooling (ASPP) [4] to enlarge the receptive fields and get more useful context cues.
|
| 90 |
+
|
| 91 |
+
Meanwhile, some objects in human parsing have quite low resolution, e.g., sunglasses and socks, so the details might be lost in the process of downsampling. We employ the feature of Res2 of base model and upsample the output of ASPP module to the same scale as Res2 and concatenate them as $f_{p}$ . After extracted from the parsing encoder, the feature $f_{p}$ obtains a coarse semantic representation and will be further fed into the heterogeneous non-local module to obtain pose and edge guidance.
|
| 92 |
+
|
| 93 |
+
Pose Encoder. In order to get human body structure cues, we design a pose encoder to get joint locations. Many existing approaches [37, 29, 28] in pose estimation adopt complicated CNNs to get more accurate keypoint locations. For instance, Hourglass [28] performs repeated downsampling and upsampling procedure to capture multi-scale keypoint information. Different from them, we only deploy two
|
| 94 |
+
|
| 95 |
+

|
| 96 |
+
Figure 3. Structure of the heterogeneous non-local (HNL) module. It aggregates parsing, edge and pose feature into a hybrid feature $f_{h}$ and calculates the correlation between $f_{h}$ and $f_{p}$ .
|
| 97 |
+
|
| 98 |
+
transposed convolution layers [38] to extract human keypoint structure, since pose estimation task can also get benefits from the parsing task. As a result, the shared feature is upsampled by 4 times generating the pose feature $f_{k}$ . It is the same scale as the parsing feature $f_{p}$ .
|
| 99 |
+
|
| 100 |
+
After the pose representation $f_{k}$ is captured, we regress the heatmap from it. Following [34], we apply 2D Gaussian filter centered on each annotated keypoint coordinate with standard deviation of 7 pixels, and generate the ground truth heatmap as the supervision of pose encoder.
|
| 101 |
+
|
| 102 |
+
Edge Encoder. In human parsing task, semantic boundary ambiguity remains to be solved. The border pixels of two adjacent semantic parts may be inaccurately predicted, particularly when they have similar appearances. Hence, we propose an edge encoder to learn feature $f_{b}$ with boundary consciousness. It is observed that lower stages in neural network maintain high resolution and higher-stage feature obtains detailed semantic information. As shown in Fig. 2, we leverage the features of Res2, Res3 and Res4 which retain both large spatial details and semantic consistency. The feature maps are upsampled to the same size as Res2 by linear interpolation. Then, they are concatenated and fed into a $1 \times 1$ convolution layer to generate the edge feature map $f_{b}$ . The edge encoder is supervised by the edge information between two adjacent categories and the feature will be further fed into the heterogeneous non-local correlation block.
|
| 103 |
+
|
| 104 |
+
# 3.3. Heterogeneous Non-Local
|
| 105 |
+
|
| 106 |
+
Many existing researches prove that either edge or pose is a beneficial factor to parsing task. However, the fusion strategy they employ cannot fully leverage the two factors as discussed above. Recently, the correlation module is used to capture the long-range contextual information by self-attention [12, 18] or explore the relationship between the two features [43]. However, if we follow this operation, the correlation computation cost is high $(O(n^{2}), n$ is the number of feature maps) and the overall model is hard to converge. Therefore, we propose a Heterogeneous Non-Local (HNL) block to fully leverage the contextual cues provided by boundaries and poses, which we believe is more effective
|
| 107 |
+
|
| 108 |
+
and more efficient.
|
| 109 |
+
|
| 110 |
+
As shown in Fig. 3, we first aggregate the three factors by concatenating them in the channel dimension, and then a convolution layer parameterized by $W_{a}$ is conducted to transform it into a hybrid feature $f_{h}$ , whose dimension is the same as that of $f_{p} \in \mathbb{R}^{C \times H \times W}$ :
|
| 111 |
+
|
| 112 |
+
$$
|
| 113 |
+
f _ {h} = W _ {a} \left(f _ {p} \oplus f _ {b} \oplus f _ {k}\right), \tag {1}
|
| 114 |
+
$$
|
| 115 |
+
|
| 116 |
+
where $\oplus$ means concatenation.
|
| 117 |
+
|
| 118 |
+
We exchange the self-attention in the standard non-local block with correlation between the hybrid feature $f_{h}$ and parsing feature $f_{p}$ . First, $f_{h}$ and $f_{p}$ are fed into two convolution layers to generate two new features $A$ and $B$ , then we reshape them into matrixes with size $N \times C$ and $C \times N$ , respectively, where $N = H \times W$ denotes the total number of pixels per channel. We compute the relationship map $S \in \mathbb{R}^{N \times N}$ by a matrix product of $A$ and $B$ , and normalize the relation map by a softmax operation.
|
| 119 |
+
|
| 120 |
+
$$
|
| 121 |
+
S = \operatorname {s o f t m a x} (A \cdot B) \tag {2}
|
| 122 |
+
$$
|
| 123 |
+
|
| 124 |
+
where a point $(i,j)$ in $\mathbf{S}$ measures the relation affinity between the $i^{th}$ pixel in hybrid feature $f_{h}$ and $j^{th}$ pixel in parsing feature $f_{p}$ .
|
| 125 |
+
|
| 126 |
+
Then we feed the parsing feature $f_{p}$ into another convolution layer to generate $f_{p_1} \in \mathbb{R}^{C \times H \times W}$ and reshape it to $\mathbb{R}^{N \times C}$ , which is multiplied by $S$ to integrate the pixel correlation cues into parsing features. The resulting feature is fed into the final convolution layer parameterized by $W_{b}$ and added back to $f_{p}$ element-wise to get the final parsing feature $f_{p_2}$ . The overall procedure can be formulated as:
|
| 127 |
+
|
| 128 |
+
$$
|
| 129 |
+
f _ {p _ {2}} = W _ {b} \left(\mathbf {S} \cdot f _ {p _ {1}}\right) + f _ {p}, \tag {3}
|
| 130 |
+
$$
|
| 131 |
+
|
| 132 |
+
where $W_{b}$ is initialized as 0. In this way, the hybrid representation effectively aggregates parsing, edge and pose information together. And the refined parsing feature $f_{p_2}$ in Equation 3 is a weighted summation of every position in the hybrid feature and the parsing feature. Therefore, it obtains edge information between two bordered parts and retains semantic consistency with human body, thus getting more reasonable parsing results.
|
| 133 |
+
|
| 134 |
+
# 3.4. Discussions
|
| 135 |
+
|
| 136 |
+
The heterogeneous non-local block is an extension of non-local neural network [35]. However, different from the traditional non-local operation which only computes the relationship of one feature as a mechanism of self-attention, the proposed network has three advantages. First, it integrates human parsing, pose estimation and edge detection tasks into a unified model, and the correlation is calculated among three different feature representations. Second, HNL does not add much computation complexity compared with traditional non-local structure while maintains
|
| 137 |
+
|
| 138 |
+
very competitive accuracy. Finally, for other tasks which are also related to human parsing, it has potential to integrate it into the hybrid representation and model the relationship among them with only little computation complexity increased (brought by the corresponding encoder).
|
| 139 |
+
|
| 140 |
+
# 3.5. Training objectives
|
| 141 |
+
|
| 142 |
+
In addition to the parsing supervision, human keypoint location and semantic edge information are utilized to train the whole model. The total training objective is:
|
| 143 |
+
|
| 144 |
+
$$
|
| 145 |
+
L = L _ {p _ {2}} + L _ {p} + \alpha L _ {b} + \beta L _ {k}, \tag {4}
|
| 146 |
+
$$
|
| 147 |
+
|
| 148 |
+
$L_{p_2}$ or $L_{p}$ is the loss between the parsing result $f_{p_2}$ or $f_{p}$ and the parsing annotations; $L_{b}$ denotes the loss between the predicted edge map $f_{b}$ and the edge annotation; $L_{k}$ is the loss between the body joints prediction $f_{k}$ and the ground truth coordinates. It is worth noting that the edge annotation is obtained by finding the borders of the mask between two different semantic parts, which needs no additional annotations. Cross Entropy loss is adopted as $L_{p_2}$ , $L_{p}$ and $L_{b}$ , and Mean Square Error loss is used for $L_{k}$ . The whole framework is trained end-to-end.
|
| 149 |
+
|
| 150 |
+
# 4. Experiments
|
| 151 |
+
|
| 152 |
+
# 4.1. Experimental Settings
|
| 153 |
+
|
| 154 |
+
Datasets and metrics. We evaluate the performance of the proposed method on three human parsing datasets:
|
| 155 |
+
|
| 156 |
+
LIP [15] is a large-scale benchmark dataset focusing on semantic understanding of human body parts and clothes labels. It contains coordinates of 16 body keypoints and pixel-level annotations of 20 semantic human parts (including one background label). There are totally 50,462 images which are further split into train/val/test sets containing 30,462/10,000/10,000 images, respectively.
|
| 157 |
+
|
| 158 |
+
ATR [22] contains 18 categories of human part labels including face, sunglasses, hat, scarf, hair, upper-clothes, left/right arm, belt, pants, left/right leg, skirt, left/right shoe, bag, dress and background. Following [22], we use 16,000 images for training, 1,000 for testing and 700 for validation.
|
| 159 |
+
|
| 160 |
+
CIHP [14] provides 38,280 images with 20 categories. It contains 28,280 training, 5,000 validation and 5,000 test images. On account of no human pose annotations in ATR and CIHP, we utilize the pose estimator [38] trained on COCO [24] to obtain human body keypoint locations as ground truth. During training, we first utilize Mask R-CNN[16] to generate the mask of every person, and apply it on multi-person images to generate single person images. We obtain 93,213 training images in total. During inference, single person is segmented from background in the same way as training and we conduct parsing with the proposed network and finally merge them into the original image.
|
| 161 |
+
|
| 162 |
+
<table><tr><td>Method</td><td>EA</td><td>BI</td><td>Fusion Strategy</td><td>Accuracy</td></tr><tr><td>[33]</td><td>✓</td><td></td><td>Feature concatenation</td><td>++</td></tr><tr><td>[14]</td><td>✓</td><td></td><td>Feature concatenation</td><td>++</td></tr><tr><td>[29]</td><td></td><td>✓</td><td>Parameters mutual learning</td><td>++</td></tr><tr><td>[15]</td><td></td><td>✓</td><td>Loss constraint</td><td>+</td></tr><tr><td>[37]</td><td></td><td>✓</td><td>Post processing</td><td>+</td></tr><tr><td>Ours</td><td>✓</td><td>✓</td><td>Correlation</td><td>+++</td></tr></table>
|
| 163 |
+
|
| 164 |
+
Table 1. Comparison of different fusion methods. EA represents edge ambiguity and BI represents boundary inconsistency. Existing methods use either edge or pose to solve a single problem in parsing. Different from them, we aggregate parsing, edge and pose feature and explore the correlation among them which shows the superiority on Accuracy.
|
| 165 |
+
|
| 166 |
+
We report Accuracy, mIoU, Precision, Recall and F-1 score to evaluate the parsing performance on the datasets.
|
| 167 |
+
|
| 168 |
+
Training Details. We train CorrPM from scratch for 150 epochs, and adopt ResNet101 [17] pre-trained on ImageNet [8] as the base model $\Theta$ . During training, the $384 \times 384$ input images are randomly rotated (from $-60^{\circ}$ to $60^{\circ}$ ), flipped and resized (from 0.75 to 1.25). $f_{p}, f_{k}$ and $f_{b}$ are in the same size of $C \times H \times W$ , where $C = 512$ and $H = W = 96$ . We use SGD as the optimizer and the learning rate is initially set as 1e-3. Following previous works [44], we employ the "poly" learning rate policy, and the learning rate is multiplied by $(1 - \frac{iter}{total\_iter})^{0.9}$ . We set the momentum to 0.9 and weight decay to 5e-4. The edge loss weight $\alpha$ and pose loss weight $\beta$ are 2 and 70.
|
| 169 |
+
|
| 170 |
+
Testing phase. During inference, the outputs of pose and edge branches are ignored, and $f_{p_2}$ is employed to predict the final parsing mask $P$ . The inference procedure is executed on a 12GB TITAN V for a fair speed comparison with other methods. Our model does not add too much complexity compared with direct concatenation, because the base model (ResNet-101) consumes a majority of computations. CorrPM achieves a speed of 11 fps which is faster than Attention+SSL [15] (2 fps) and MuLA [29] (5 fps).
|
| 171 |
+
|
| 172 |
+
# 4.2. Comparison with related methods
|
| 173 |
+
|
| 174 |
+
# 4.2.1 Fusion strategy comparison
|
| 175 |
+
|
| 176 |
+
Tab. 1 lists some existing researches that utilize pose or edge information to assist human parsing task. For edge ambiguity issue, [14] and [33] extract edge feature and concatenate it with parsing feature to perceive useful cues of part boundaries. But this fusion strategy is not able to sufficiently obtain the semantic boundary completeness. Aiming to solve body inconsistency problem, [29] conducts two parallel human pose estimation and human parsing networks and mutually learns the parameters. However, the training process is somewhat complicated. Meanwhile, [37] adopts FCRF as a way of post-processing and [15] adds a joint loss utilizing the pose information to constrain part segments. Above fusion methods only employ a single factor and merely handle a single problem. In comparison,
|
| 177 |
+
|
| 178 |
+
<table><tr><td>Method</td><td>Pixel Acc.</td><td>Mean Acc.</td><td>mIoU</td></tr><tr><td>DeepLabV2 [4]</td><td>82.66</td><td>51.64</td><td>41.64</td></tr><tr><td>Attention [5]</td><td>83.43</td><td>54.39</td><td>42.92</td></tr><tr><td>Attention+SSL [15]</td><td>84.36</td><td>54.94</td><td>44.73</td></tr><tr><td>SS-NAN [42]</td><td>87.59</td><td>56.03</td><td>47.92</td></tr><tr><td>MuLA(Hourglass) [29]</td><td>88.50</td><td>60.50</td><td>49.30</td></tr><tr><td>JPPNet [21]</td><td>86.39</td><td>62.32</td><td>51.37</td></tr><tr><td>CE2P [33]</td><td>87.37</td><td>63.20</td><td>53.10</td></tr><tr><td>Ours†</td><td>87.36</td><td>66.37</td><td>54.43</td></tr><tr><td>Ours</td><td>87.68</td><td>67.21</td><td>55.33</td></tr></table>
|
| 179 |
+
|
| 180 |
+
Table 2. Comparison of different methods on the validation set of the LIP dataset. $\dagger$ means removing $L_{p}$ in Equation 4.
|
| 181 |
+
|
| 182 |
+
<table><tr><td>Method</td><td>Acc</td><td>F.g.Acc</td><td>Pre</td><td>Rec</td><td>F-1 score</td></tr><tr><td>DeepLabV2 [4]</td><td>94.42</td><td>82.93</td><td>69.24</td><td>78.48</td><td>73.53</td></tr><tr><td>Attention [5]</td><td>95.41</td><td>85.71</td><td>81.30</td><td>73.55</td><td>77.23</td></tr><tr><td>CoCNN [22]</td><td>96.02</td><td>83.57</td><td>84.59</td><td>77.66</td><td>80.14</td></tr><tr><td>TGPNet [26]</td><td>96.45</td><td>87.91</td><td>83.36</td><td>80.22</td><td>81.76</td></tr><tr><td>Ours</td><td>97.12</td><td>90.40</td><td>89.18</td><td>83.93</td><td>86.12</td></tr></table>
|
| 183 |
+
|
| 184 |
+
our CorrPM combines parsing with pose and edge information, and the experiment also shows exploring the correlation among the three factors is a superior feature fusion strategy to other recent methods.
|
| 185 |
+
|
| 186 |
+
# 4.2.2 Performance on single-person datasets
|
| 187 |
+
|
| 188 |
+
LIP. We show the performance comparison of the proposed model and the other methods on LIP validation set. As shown in Tab. 2, the proposed CorrPM achieves the best performance of $55.33\%$ in terms of mIoU and significantly outperforms other methods. Specifically, JPPNet and MuLA add pose supervision as a constraint of human parsing. CE2P adds edge information to refine parsing results. Their experiment results show that pose and edge cues help achieve better performance. However, the pose or edge in formations are not fully exploited. By exploring the correlation between the three factors, the HNL brings a boost of $2.23\%$ mIoU to CE2P and $6.03\%$ mIoU to MuLA. Even when removing the loss $L_{p}$ , the $54.43\%$ mIoU is higher than others, which indicates the direct supervision of the parsing encoder is necessary and our framework effectively utilizes pose and edge features to assist human body parsing. Moreover, the pose encoder in our network only consists of two deconvolution layers, and it is much simpler than the hourglass which is adopted in MuLA [29]. Thus, the performance may get higher if utilizing more powerful network.
|
| 189 |
+
|
| 190 |
+
ATR. Tab. 3 reports the results and comparisons with four recent approaches on ATR. The proposed method brings a significant performance gain in terms of every metric. Particularly, our model achieves $4.36\%$ boost for F-1 score. This increase confirms the effectiveness of the pose and edge factors to parsing, and the correlation module has a strong capability to incorporate pose and edge information with the parsing features. Although the F-1 score $90.89\%$ in
|
| 191 |
+
|
| 192 |
+
Table 3. Comparison of Accuracy, Foreground Accuracy, Precision, Recall and F-1 score on the ATR test set.
|
| 193 |
+
|
| 194 |
+
<table><tr><td>Method</td><td>Backbone</td><td>mIoU</td></tr><tr><td>PGN [14]</td><td>ResNet101</td><td>55.80</td></tr><tr><td>Parsing R-CNN (R50) [39]</td><td>ResNet50</td><td>57.50</td></tr><tr><td>Graphonomy [13]</td><td>DeepLabV3+</td><td>58.58</td></tr><tr><td>Parsing R-CNN (X101) [39]</td><td>ResNeXt101</td><td>59.80</td></tr><tr><td>Ours</td><td>ResNet101</td><td>60.18</td></tr></table>
|
| 195 |
+
|
| 196 |
+
Table 4. Comparison of performance on the CIHP validation set.
|
| 197 |
+
|
| 198 |
+
[13] is higher than ours, it adopts DeepLabV3+ as backbone which is more complicated than ResNet101, and the input size $512 \times 512$ is larger than our $384 \times 384$ . On the basis that the human joint labels are obtained from the output of the pose estimator [38], it illustrates that the proposed system is flexible and has a low-complexity to be deployed with no additional pose annotation cost.
|
| 199 |
+
|
| 200 |
+
# 4.2.3 Performance on multi-person datasets
|
| 201 |
+
|
| 202 |
+
CIHP. Experiment results are compared with the other approaches in Tab. 4 on the CIHP dataset. Our model outperforms the existing approaches and achieves 60.18 in terms of mIoU. The previous work [14] gets $55.80\%$ mIoU by jointly conducting human parsing and edge detection. Parsing R-CNN [39] gets $57.50\%$ mIoU using ResNet50 and its training images are in the size of $512 \times 864$ . Using smaller input size and backbone ResNet101, our performance is $0.38\%$ mIoU higher than Parsing R-CNN even when it changes the backbone to ResNeXt101. Our result is $1.6\%$ mIoU higher than Graphonomy [13], which uses a graph convolution model and adopts a strong backbone DeepLabV3+ [6]. This performance suggests the superiority of our parsing method with the assistance of pose and edge factors, and correlating parsing with pose and edge can introduce contextual cues into human parsing task.
|
| 203 |
+
|
| 204 |
+
# 4.3. Evaluation of each component
|
| 205 |
+
|
| 206 |
+
We analyze the parameter sensitivities of our model in Tab. 6 and validate the effect of each component in Tab. 5.
|
| 207 |
+
|
| 208 |
+
The effect of different loss weights. The loss values in different branches are crucial to the model. In Tab. 6, we test four $\alpha$ values $\{0,1,2,10\}$ with six $\beta$ values $\{0,1,10,50,70,80\}$ . $\alpha = 0$ or $\beta = 0$ indicates the baseline that removes the edge branch or pose branch from our model. It is observed that adding either edge or pose information to the parsing network brings a significant boost to the baseline. And the model achieves the highest mIoU when $\alpha = 2$ and $\beta = 70$ , which we choose as the final loss weights.
|
| 209 |
+
|
| 210 |
+
The effect of pose and edge cues. Firstly, we train a baseline model P which only contains parsing branch. In Tab. 5, without the contextual cues from pose and edge feature, the baseline model achieves $48.67\%$ mIoU. We then add an edge/pose branch to the baseline model and concatenate parsing with edge/pose feature to perform prediction, denoted as $\mathrm{P + B}$ and $\mathrm{P + K}$ . Compared with baseline model
|
| 211 |
+
|
| 212 |
+
<table><tr><td>Method</td><td>hat</td><td>hair</td><td>glove</td><td>glass</td><td>u-clot</td><td>dress</td><td>coat</td><td>sock</td><td>pants</td><td>j-suit</td><td>scarf</td><td>skirt</td><td>face</td><td>l-arm</td><td>r-arm</td><td>l-leg</td><td>r-leg</td><td>l-shoe</td><td>r-shoe</td><td>bkg</td><td>Avg</td></tr><tr><td>Attention [5]</td><td>58.87</td><td>66.78</td><td>23.32</td><td>19.48</td><td>63.20</td><td>29.63</td><td>49.70</td><td>35.23</td><td>66.04</td><td>24.73</td><td>12.84</td><td>20.41</td><td>70.58</td><td>50.17</td><td>54.03</td><td>38.35</td><td>37.70</td><td>26.20</td><td>27.09</td><td>84.00</td><td>42.92</td></tr><tr><td>DeepLabV2 [4]</td><td>56.48</td><td>65.33</td><td>29.98</td><td>19.67</td><td>62.44</td><td>30.33</td><td>51.03</td><td>40.51</td><td>69.00</td><td>22.38</td><td>11.29</td><td>20.56</td><td>70.11</td><td>49.25</td><td>52.88</td><td>42.37</td><td>35.78</td><td>33.81</td><td>32.89</td><td>84.53</td><td>44.03</td></tr><tr><td>MMAN [27]</td><td>57.66</td><td>65.63</td><td>30.07</td><td>20.02</td><td>64.15</td><td>28.39</td><td>51.98</td><td>41.46</td><td>71.03</td><td>23.61</td><td>9.65</td><td>23.20</td><td>69.54</td><td>55.30</td><td>58.13</td><td>51.90</td><td>52.17</td><td>38.58</td><td>39.05</td><td>84.75</td><td>46.81</td></tr><tr><td>SS-NAN [42]</td><td>63.86</td><td>70.12</td><td>30.63</td><td>23.92</td><td>70.27</td><td>33.51</td><td>56.75</td><td>40.18</td><td>72.19</td><td>27.68</td><td>16.98</td><td>26.41</td><td>75.33</td><td>55.24</td><td>58.93</td><td>44.01</td><td>41.87</td><td>29.15</td><td>32.64</td><td>88.67</td><td>47.92</td></tr><tr><td>JPPNan [21]</td><td>63.55</td><td>70.20</td><td>36.16</td><td>23.48</td><td>68.15</td><td>31.42</td><td>55.65</td><td>44.56</td><td>72.19</td><td>28.39</td><td>18.76</td><td>25.14</td><td>73.36</td><td>61.97</td><td>63.88</td><td>58.21</td><td>57.99</td><td>44.02</td><td>44.09</td><td>86.26</td><td>51.37</td></tr><tr><td>CE2P [33]</td><td>65.29</td><td>72.54</td><td>39.09</td><td>32.73</td><td>69.46</td><td>32.52</td><td>56.28</td><td>49.67</td><td>74.11</td><td>27.23</td><td>14.19</td><td>22.51</td><td>75.50</td><td>65.14</td><td>66.59</td><td>60.10</td><td>58.59</td><td>46.63</td><td>46.12</td><td>87.67</td><td>53.10</td></tr><tr><td>P</td><td>63.61</td><td>69.18</td><td>36.25</td><td>27.68</td><td>67.23</td><td>31.80</td><td>53.69</td><td>43.45</td><td>71.75</td><td>28.76</td><td>14.33</td><td>24.39</td><td>72.33</td><td>57.76</td><td>60.74</td><td>47.80</td><td>47.38</td><td>34.18</td><td>34.90</td><td>86.22</td><td>48.67</td></tr><tr><td>PP</td><td>62.60</td><td>68.47</td><td>35.78</td><td>27.36</td><td>65.16</td><td>27.78</td><td>51.50</td><td>41.60</td><td>70.42</td><td>29.60</td><td>17.11</td><td>21.50</td><td>71.69</td><td>59.46</td><td>62.11</td><td>50.80</td><td>50.75</td><td>37.76</td><td>40.03</td><td>85.69</td><td>48.86</td></tr><tr><td>P+B</td><td>65.11</td><td>70.71</td><td>38.38</td><td>30.04</td><td>68.65</td><td>32.60</td><td>55.13</td><td>46.31</td><td>73.37</td><td>31.94</td><td>17.51</td><td>28.36</td><td>73.51</td><td>60.68</td><td>63.52</td><td>51.50</td><td>51.37</td><td>39.75</td><td>39.78</td><td>87.09</td><td>51.27</td></tr><tr><td>P+K</td><td>64.30</td><td>70.24</td><td>39.10</td><td>28.85</td><td>68.03</td><td>33.10</td><td>55.16</td><td>46.74</td><td>72.99</td><td>27.57</td><td>16.59</td><td>28.44</td><td>73.03</td><td>60.60</td><td>63.34</td><td>51.22</td><td>51.42</td><td>38.68</td><td>39.40</td><td>86.90</td><td>50.79</td></tr><tr><td>P+B+K</td><td>65.01</td><td>71.13</td><td>40.30</td><td>29.14</td><td>69.47</td><td>33.91</td><td>55.78</td><td>47.82</td><td>73.85</td><td>31.98</td><td>18.81</td><td>28.94</td><td>74.12</td><td>61.93</td><td>63.95</td><td>52.35</td><td>51.99</td><td>40.19</td><td>40.81</td><td>87.23</td><td>51.93</td></tr><tr><td>PB</td><td>65.43</td><td>71.77</td><td>40.69</td><td>26.00</td><td>69.32</td><td>32.82</td><td>56.33</td><td>46.61</td><td>74.52</td><td>30.87</td><td>23.46</td><td>27.51</td><td>74.28</td><td>64.23</td><td>66.68</td><td>57.64</td><td>56.72</td><td>44.80</td><td>44.80</td><td>87.77</td><td>53.11</td></tr><tr><td>PK</td><td>66.16</td><td>72.06</td><td>40.52</td><td>31.15</td><td>69.74</td><td>33.97</td><td>56.81</td><td>49.22</td><td>74.74</td><td>32.56</td><td>20.19</td><td>27.81</td><td>74.78</td><td>65.48</td><td>67.45</td><td>59.48</td><td>58.41</td><td>45.41</td><td>45.95</td><td>87.72</td><td>53.98</td></tr><tr><td>PBB</td><td>66.14</td><td>72.42</td><td>41.04</td><td>27.81</td><td>70.12</td><td>34.91</td><td>57.01</td><td>47.21</td><td>75.03</td><td>31.38</td><td>22.99</td><td>28.21</td><td>74.39</td><td>64.92</td><td>67.58</td><td>58.33</td><td>57.64</td><td>45.51</td><td>46.10</td><td>87.46</td><td>53.82</td></tr><tr><td>PKK</td><td>66.15</td><td>72.26</td><td>40.78</td><td>31.34</td><td>69.94</td><td>34.02</td><td>57.40</td><td>49.41</td><td>74.91</td><td>32.19</td><td>21.77</td><td>28.11</td><td>74.98</td><td>65.38</td><td>67.55</td><td>59.66</td><td>58.62</td><td>45.58</td><td>46.01</td><td>87.32</td><td>54.17</td></tr><tr><td>Ours (CorrPM)</td><td>66.20</td><td>71.56</td><td>41.06</td><td>31.09</td><td>70.20</td><td>37.74</td><td>57.95</td><td>48.40</td><td>75.19</td><td>32.37</td><td>23.79</td><td>29.23</td><td>74.36</td><td>66.53</td><td>68.61</td><td>62.80</td><td>62.81</td><td>49.03</td><td>49.82</td><td>87.77</td><td>55.33</td></tr></table>
|
| 213 |
+
|
| 214 |
+
Table 5. Comparison of per-class IoU on the LIP validation set. P: Only parsing feature; PP: Performing self-correlation on parsing feature; $\mathrm{P + B / P + K}$ : Concatenating parsing with edge/pose feature; $\mathrm{P + B + K}$ : Concatenating parsing, edge and pose feature; PB/PK: Correlating parsing with edge/pose feature; PBB/PKK: Correlating parsing with two edge/pose features. CorrPM outperforms existing methods and achieves $55.33\%$ mIoU.
|
| 215 |
+
|
| 216 |
+
<table><tr><td rowspan="2">α</td><td colspan="6">β</td></tr><tr><td>0</td><td>1</td><td>10</td><td>50</td><td>70</td><td>80</td></tr><tr><td>0</td><td>48.72</td><td>52.08</td><td>52.77</td><td>53.10</td><td>53.98</td><td>53.59</td></tr><tr><td>1</td><td>50.98</td><td>51.15</td><td>52.03</td><td>51.54</td><td>53.78</td><td>53.13</td></tr><tr><td>2</td><td>53.08</td><td>53.52</td><td>54.08</td><td>54.01</td><td>55.33</td><td>54.45</td></tr><tr><td>10</td><td>53.12</td><td>53.46</td><td>53.57</td><td>53.24</td><td>53.45</td><td>53.53</td></tr></table>
|
| 217 |
+
|
| 218 |
+
Table 6. Parameter discussion of $\alpha$ and $\beta$ values in Equation 4 on the LIP dataset.
|
| 219 |
+
|
| 220 |
+
P, simple concatenation boosts $2.6\%$ and $2.12\%$ in terms of mIoU, respectively. Particularly, after fusing edge and parsing feature, the performances of some classes which are usually adjacent and have similar appearances (e.g., upper clothes and pants), gain nearly $1.5\%$ mIoU. These results demonstrate the effectiveness of edge and pose factors to parsing task. And the model $\mathrm{P + B + K}$ denotes concatenating both edge and pose feature with parsing feature. It only improves the performance by $0.66\%$ mIoU compared with $\mathrm{P + B}$ , which indicates that even pose and edge factors are necessary for parsing, concatenating all three factors is not an ideal method to sufficiently leverage contextual cues.
|
| 221 |
+
|
| 222 |
+
The effect of self-correlation. To investigate the effect of the non-local operation, we add a traditional nonlocal self-attention module at the end of baseline model, denoted as PP. From Tab. 5, there is little improvement (0.09% mIoU) when calculating the relationship within parsing feature itself, and the performance of some classes is reduced such as hat, dress and upper-clothes. It shows that only exploiting the self-correlation of parsing feature is not enough and we need more pivotal factors from pose and edge to boost parsing performance.
|
| 223 |
+
|
| 224 |
+
The effect of correlation among parsing, edge and pose. We conduct two heterogeneous non-local correlations experiments, one is between parsing and edge factor, denoted as PB, and the other is between parsing and pose factor, denoted as PK, to validate the benefits of correlation module to parsing task. The performance improvement is more significant if leveraging the proposed heterogeneous
|
| 225 |
+
|
| 226 |
+
non-local module, yielding $4.44\%$ and $5.31\%$ increases in terms of mIoU to baseline model P. And compared with $\mathrm{P + B}$ and $\mathrm{P + K}$ , the correlation module brings $1.84\%$ and $3.19\%$ mIoU gains. And even if we only use either pose or edge features, the result is more than $1.18\%$ mIoU higher than the concatenation of all the three features, $\mathrm{P + B + K}$ . It is also observed that some categories which are closely related to human body joints are significantly improved by a large margin, which yields about $10\%$ improvement in terms of mIoU. It shows that our HNL can make sufficient use of edge and pose information to accurately locate the boundary of semantics and maintain the body part geometry.
|
| 227 |
+
|
| 228 |
+
The effect of integration of multiple tasks. Aggregating the feature maps from multiple tasks will increase the channel number for fusion with parsing feature. Thus experiments are performed to study the efficacy of it. In Tab. 5, PBB (PKK) demonstrates the result of fusing two edge (pose) feature maps with parsing feature along channel dimension in HNL. PBB/PKK has the same channel number as CorrPM, while the mIoU is more than $1\%$ lower than it. It shows the improvements are from the integration of multiple tasks rather than the increased channel number.
|
| 229 |
+
|
| 230 |
+
# 4.4. Qualitative Results
|
| 231 |
+
|
| 232 |
+
The solution of pose and edge to two problems. As mentioned in Sec. 1, there are two problems in human parsing task: inaccurate boundary localization between two adjacent parts and semantics inconsistency of segmented categories. Several images and sub-relation maps are shown in Fig. 4 to demonstrate the benefits that the proposed HNL learns from pose and edge information. The size of relation map $S$ mentioned in Sec. 3.3 is $HW \times HW$ . Hence, for a certain position in the image (marked as red point in Fig 4), the size of its corresponding sub-relation map is $H \times W$ . As shown in the left half of Fig 4, some pixels in right arm are wrongly predicted as left arm, while there is no semantic boundary in this region. In the second row,
|
| 233 |
+
|
| 234 |
+

|
| 235 |
+
Image
|
| 236 |
+
map of red points
|
| 237 |
+
Figure 4. Visualization results of different fusion methods. These images show the benefits of edge/pose information to parsing task. The meaning of symbols is the same as Tab. 5.
|
| 238 |
+
|
| 239 |
+

|
| 240 |
+
Sub-relation
|
| 241 |
+
|
| 242 |
+

|
| 243 |
+
P
|
| 244 |
+
|
| 245 |
+

|
| 246 |
+
P+B
|
| 247 |
+
|
| 248 |
+

|
| 249 |
+
PI
|
| 250 |
+
|
| 251 |
+

|
| 252 |
+
Cc
|
| 253 |
+
|
| 254 |
+

|
| 255 |
+
GroundTruth
|
| 256 |
+
|
| 257 |
+

|
| 258 |
+
Image
|
| 259 |
+
|
| 260 |
+

|
| 261 |
+
Sub-relation
|
| 262 |
+
|
| 263 |
+

|
| 264 |
+
P
|
| 265 |
+
|
| 266 |
+

|
| 267 |
+
P+K
|
| 268 |
+
|
| 269 |
+

|
| 270 |
+
PK
|
| 271 |
+
|
| 272 |
+

|
| 273 |
+
CorrPM
|
| 274 |
+
GroundTruth
|
| 275 |
+
|
| 276 |
+

|
| 277 |
+
|
| 278 |
+

|
| 279 |
+
Input
|
| 280 |
+
|
| 281 |
+

|
| 282 |
+
GT
|
| 283 |
+
|
| 284 |
+

|
| 285 |
+
Ours
|
| 286 |
+
|
| 287 |
+

|
| 288 |
+
Backbone
|
| 289 |
+
|
| 290 |
+

|
| 291 |
+
DeepLabV2
|
| 292 |
+
|
| 293 |
+

|
| 294 |
+
MMAN
|
| 295 |
+
|
| 296 |
+

|
| 297 |
+
|
| 298 |
+

|
| 299 |
+
|
| 300 |
+

|
| 301 |
+
|
| 302 |
+

|
| 303 |
+
|
| 304 |
+

|
| 305 |
+
|
| 306 |
+

|
| 307 |
+
|
| 308 |
+

|
| 309 |
+
|
| 310 |
+

|
| 311 |
+
|
| 312 |
+

|
| 313 |
+
|
| 314 |
+

|
| 315 |
+
|
| 316 |
+

|
| 317 |
+
|
| 318 |
+

|
| 319 |
+
|
| 320 |
+

|
| 321 |
+
Figure 5. Visualization of different methods on the LIP dataset. The proposed CorrPM obtains smoother edge prediction and more reasonable body structure results.
|
| 322 |
+
|
| 323 |
+

|
| 324 |
+
|
| 325 |
+

|
| 326 |
+
|
| 327 |
+

|
| 328 |
+
|
| 329 |
+

|
| 330 |
+
|
| 331 |
+

|
| 332 |
+
|
| 333 |
+
the appearances of the coat and bird are similar so that the baseline model cannot tell them apart. After concatenating edge with parsing feature, the number of error pixels reduces but the boundary is still not clear. When utilizing correlation module, all the semantic edges are rightly predicted. Hence correlating edge with parsing factor can solve inaccurate boundary localization problem. From the right part of Fig. 4, the shoes region loses much detail during downsampling process, thus is not correctly classified. Concatenating pose with parsing feature can mitigate this problem. After correlating with parsing feature, the model obtains the awareness of the position of foot and shoe, hence the shoes classes are segmented correctly. Therefore, correlating pose with parsing factor can settle the semantics inconsistency matter.
|
| 334 |
+
|
| 335 |
+
Comparison with the previous methods. We show the quality results in Fig. 5 compared with DeepLabV2 [4], MMAN [27]. Our model outperforms other methods and
|
| 336 |
+
|
| 337 |
+
the predictions are more precise. For example, on the first row, the head and right arms of the person are missing in other methods, while our model correctly predicts them despite the complexity of the background. Besides, with the help of edge information, our framework successfully locates the semantic boundary of the clothes and the legs shown in the second row, and keeps the semantics consistent among upper clothes category. We also observe from the third row that by adding pose information, the model can learn the global body structure of human and accurately identifies the left and right shoes, not legs. Consequently, the proposed HNL effectively employs the relationship of edge, pose and parsing features, and outputs more reasonable and precise results on the human parsing task.
|
| 338 |
+
|
| 339 |
+
# 5. Conclusion
|
| 340 |
+
|
| 341 |
+
In this paper, we propose a Correlation Parsing Machine (CorrPM) to take advantage of both semantic edge and human body keypoint features. For the two problems in human parsing task, our approach utilizes semantic edge to distinguish the boundary of two adjacent categories and human keypoint to enforce segmented classes to be consistent with body parts. With the heterogeneous non-local (HNL) module, the proposed model explores the relationship of edge, pose and parsing factors, and provides the contextual cues for human parsing task. The whole model is end-to-end learnable. Experiments on three benchmarks demonstrate the effectiveness of the proposed method. Moreover, the proposed system is flexible and easy to be deployed even without pose annotation.
|
| 342 |
+
|
| 343 |
+
Acknowledgments. This work is partially supported by the Beijing Major Science and Technology Project under contract No. Z191100010618003 and National Key Research and Development Program of China under contract No. 2016YFB0402001. We acknowledge Kingsoft Cloud for the helpful discussion and free GPU cloud computing resource support. We are also grateful to Dr Liang Zheng who is the recipient of an Australian Research Council Discovery Early Career Award (DE200101283) funded by the Australian Government.
|
| 344 |
+
|
| 345 |
+
# References
|
| 346 |
+
|
| 347 |
+
[1] Vijay Badrinarayanan, Ankur Handa, and Roberto Cipolla. Segnet: A deep convolutional encoder-decoder architecture for robust semantic pixel-wise labelling. Computer Science, 2015.
|
| 348 |
+
[2] A. Buades, B. Coll, and J. M. Morel. A non-local algorithm for image denoising. In IEEE Computer Society Conference on Computer Vision & Pattern Recognition, 2005.
|
| 349 |
+
[3] Liang-Chieh Chen, Jonathan T Barron, George Papandreou, Kevin Murphy, and Alan L Yuille. Semantic image segmentation with task-specific edge detection using cnns and a discriminatively trained domain transform. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 4545-4554, 2016.
|
| 350 |
+
[4] Liang-Chieh Chen, George Papandreou, Iasonas Kokkinos, Kevin Murphy, and Alan L Yuille. Deeplab: Semantic image segmentation with deep convolutional nets, atrous convolution, and fully connected crfs. IEEE transactions on pattern analysis and machine intelligence, 40(4):834-848, 2017.
|
| 351 |
+
[5] Liang-Chieh Chen, Yi Yang, Jiang Wang, Wei Xu, and Alan L Yuille. Attention to scale: Scale-aware semantic image segmentation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 3640-3649, 2016.
|
| 352 |
+
[6] Liang-Chieh Chen, Yukun Zhu, George Papandreou, Florian Schroff, and Hartwig Adam. Encoder-decoder with atrous separable convolution for semantic image segmentation. In Proceedings of the European conference on computer vision, pages 801-818, 2018.
|
| 353 |
+
[7] Jifeng Dai, Kaiming He, and Jian Sun. Instance-aware semantic segmentation via multi-task network cascades. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 3150-3158, 2016.
|
| 354 |
+
[8] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pages 248-255. IEEE, 2009.
|
| 355 |
+
[9] Jian Dong, Qiang Chen, Wei Xia, Zhongyang Huang, and Shuicheng Yan. A deformable mixture parsing model with parselets. In IEEE International Conference on Computer Vision, 2014.
|
| 356 |
+
[10] Hao-Shu Fang, Guansong Lu, Xiaolin Fang, Jianwen Xie, Yu-Wing Tai, and Cewu Lu. Weakly and semi supervised human body part parsing via pose-guided knowledge transfer. arXiv preprint arXiv:1805.04310, 2018.
|
| 357 |
+
[11] Clement Farabet, Camille Couprie, Laurent Najman, and Yann LeCun. Learning hierarchical features for scene labeling. IEEE transactions on pattern analysis and machine intelligence, 35(8):1915-1929, 2012.
|
| 358 |
+
[12] Jun Fu, Jing Liu, Hajjie Tian, Yong Li, Yongjun Bao, Zhiwei Fang, and Hanqing Lu. Dual attention network for scene segmentation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 3146-3154, 2018.
|
| 359 |
+
[13] Ke Gong, Yiming Gao, Xiaodan Liang, Xiaohui Shen, Meng Wang, and Liang Lin. Graphonomy: Universal human parsing via graph transfer learning. In Proceedings of the IEEE
|
| 360 |
+
|
| 361 |
+
Conference on Computer Vision and Pattern Recognition, pages 7450-7459, 2019.
|
| 362 |
+
[14] Ke Gong, Xiaodan Liang, Yicheng Li, Yimin Chen, Ming Yang, and Liang Lin. Instance-level human parsing via part grouping network. In Proceedings of the European Conference on Computer Vision, pages 770-785, 2018.
|
| 363 |
+
[15] Ke Gong, Xiaodan Liang, Dongyu Zhang, Xiaohui Shen, and Liang Lin. Look into person: Self-supervised structure-sensitive learning and a new benchmark for human parsing. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 932-940, 2017.
|
| 364 |
+
[16] 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.
|
| 365 |
+
[17] 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.
|
| 366 |
+
[18] Zilong Huang, Xinggang Wang, Lichao Huang, Chang Huang, Yunchao Wei, and Wenyu Liu. Ccnet: Criss-cross attention for semantic segmentation. In The IEEE International Conference on Computer Vision, October 2019.
|
| 367 |
+
[19] Dong Jian, Chen Qiang, Xiaohui Shen, Jianchao Yang, and Shuicheng Yan. Towards unified human parsing and pose estimation. In 2014 IEEE Conference on Computer Vision and Pattern Recognition, 2014.
|
| 368 |
+
[20] Jianshu Li, Jian Zhao, Yunchao Wei, Congyan Lang, Yidong Li, Terence Sim, Shuicheng Yan, and Jiashi Feng. Multiple-human parsing in the wild. arXiv preprint arXiv:1705.07206, 2017.
|
| 369 |
+
[21] Xiaodan Liang, Gong Ke, Xiaohui Shen, and Lin Liang. Look into person: Joint body parsing and pose estimation network and a new benchmark. IEEE Transactions on Pattern Analysis and Machine Intelligence, PP(99):1-1, 2018.
|
| 370 |
+
[22] Xiaodan Liang, Chunyan Xu, Xiaohui Shen, Jianchao Yang, Si Liu, Jinhui Tang, Liang Lin, and Shuicheng Yan. Human parsing with contextualized convolutional neural network. In Proceedings of the IEEE international conference on computer vision, pages 1386-1394, 2015.
|
| 371 |
+
[23] Guosheng Lin, Chunhua Shen, Anton Van Den Hengel, and Ian Reid. Efficient piecewise training of deep structured models for semantic segmentation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 3194-3203, 2016.
|
| 372 |
+
[24] Tsungyi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollar, and C Lawrence Zitnick. Microsoft coco: Common objects in context. In European Conference on Computer Vision, pages 740-755, 2014.
|
| 373 |
+
[25] Jonathan Long, Evan Shelhamer, and Trevor Darrell. Fully convolutional networks for semantic segmentation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 3431-3440, 2015.
|
| 374 |
+
[26] Xianghui Luo, Zhuo Su, Jiaming Guo, Gengwei Zhang, and Xiangjian He. Trusted guidance pyramid network for human parsing. In 2018 ACM Multimedia Conference on Multimedia Conference, pages 654-662. ACM, 2018.
|
| 375 |
+
|
| 376 |
+
[27] Yawei Luo, Zhedong Zheng, Zheng Liang, Guan Tao, Junqing Yu, and Yang Yi. Macro-micro adversarial network for human parsing. In European Conference on Computer Vision, 2018.
|
| 377 |
+
[28] Alejandro Newell, Kaiyu Yang, and Jia Deng. Stacked hourglass networks for human pose estimation. In European conference on computer vision, pages 483-499. Springer, 2016.
|
| 378 |
+
[29] Xuecheng Nie, Jiashi Feng, and Shuicheng Yan. Mutual learning to adapt for joint human parsing and pose estimation. In Proceedings of the European Conference on Computer Vision, pages 502-517, 2018.
|
| 379 |
+
[30] Xuecheng Nie, Jiashi Feng, Yiming Zuo, and Shuicheng Yan. Human pose estimation with parsing induced learner. In 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2018.
|
| 380 |
+
[31] Hyeonwoo Noh, Seunghoon Hong, and Bohyung Han. Learning deconvolution network for semantic segmentation. In IEEE International Conference on Computer Vision, 2015.
|
| 381 |
+
[32] 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.
|
| 382 |
+
[33] Tao Ruan, Ting Liu, Zilong Huang, Yunchao Wei, Shikui Wei, and Yao Zhao. Devil in the details: Towards accurate single and multiple human parsing. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 33, pages 4814-4821, 2019.
|
| 383 |
+
[34] Ke Sun, Bin Xiao, Dong Liu, and Jingdong Wang. Deep high-resolution representation learning for human pose estimation. arXiv preprint arXiv:1902.09212, 2019.
|
| 384 |
+
[35] Xiaolong Wang, Ross Girshick, Abhinav Gupta, and Kaiming He. Non-local neural networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 7794-7803, 2018.
|
| 385 |
+
[36] Fangting Xia, Peng Wang, Liang-Chieh Chen, and Alan L Yuille. Zoom better to see clearer: Human and object parsing with hierarchical auto-zoom net. In European Conference on Computer Vision, pages 648-663. Springer, 2016.
|
| 386 |
+
[37] Fangting Xia, Peng Wang, Xianjie Chen, and Alan L Yuille. Joint multi-person pose estimation and semantic part segmentation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 6769-6778, 2017.
|
| 387 |
+
[38] Bin Xiao, Haiping Wu, and Yichen Wei. Simple baselines for human pose estimation and tracking. In Proceedings of the European Conference on Computer Vision, pages 466-481, 2018.
|
| 388 |
+
[39] Lu Yang, Qing Song, Zhihui Wang, and Ming Jiang. Parsing r-cnn for instance-level human analysis. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 364-373, 2019.
|
| 389 |
+
[40] Yulun Zhang, Kunpeng Li, Kai Li, Bineng Zhong, and Yun Fu. Residual non-local attention networks for image restoration. arXiv preprint arXiv:1903.10082, 2019.
|
| 390 |
+
[41] Hengshuang Zhao, Jianping Shi, Xiaojuan Qi, Xiaogang Wang, and Jiaya Jia. Pyramid scene parsing network. In
|
| 391 |
+
|
| 392 |
+
Proceedings of the IEEE conference on computer vision and pattern recognition, pages 2881-2890, 2017.
|
| 393 |
+
[42] Jian Zhao, Jianshu Li, Xuecheng Nie, Fang Zhao, Yunpeng Chen, Zhecan Wang, Jiashi Feng, and Shuicheng Yan. Self-supervised neural aggregation networks for human parsing. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, pages 7-15, 2017.
|
| 394 |
+
[43] Zhen Zhu, Mengde Xu, Song Bai, Tengteng Huang, and Xiang Bai. Asymmetric non-local neural networks for semantic segmentation. In The IEEE International Conference on Computer Vision, October 2019.
|
| 395 |
+
[44] Yueqing Zhuang, Fan Yang, Li Tao, Cong Ma, Ziwei Zhang, Yuan Li, Huizhu Jia, Xiaodong Xie, and Wen Gao. Dense relation network: Learning consistent and context-aware representation for semantic image segmentation. In International Conference on Image Processing, pages 3698-3702, 2018.
|
correlatingedgeposewithparsing/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b3ece9d793ce45d3431cdd061639c46830350f3c71fbc4d72e048b9fbad7f9cc
|
| 3 |
+
size 566472
|
correlatingedgeposewithparsing/layout.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bc8bac7c747053cb16f6fb5f4b4348b9d4f5efbda4a3ea872d2d8fb5b7afa93e
|
| 3 |
+
size 528175
|
correlationguidedattentionforcornerdetectionbasedvisualtracking/3f4e4870-5d80-40ff-adc0-df7fd63f8ae2_content_list.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:74e980b92eccc0478e8b5836d11b579e7b2acd13e03af9858b69bd9b03c12098
|
| 3 |
+
size 77307
|
correlationguidedattentionforcornerdetectionbasedvisualtracking/3f4e4870-5d80-40ff-adc0-df7fd63f8ae2_model.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e5b21dc0b009a447e3afa232df23543d217ced4feda4fc7b9e78598e94a0d089
|
| 3 |
+
size 92691
|