SlowGuess commited on
Commit
b9bbe77
·
verified ·
1 Parent(s): 95e502f

Add Batch b589ba57-89a4-45e0-bbd2-5fb636c199cb

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. 2dornot2dadaptive3dconvolutionselectionforefficientvideorecognition/aba3ce63-6bb5-4e72-bee4-df0b5f69ed37_content_list.json +3 -0
  2. 2dornot2dadaptive3dconvolutionselectionforefficientvideorecognition/aba3ce63-6bb5-4e72-bee4-df0b5f69ed37_model.json +3 -0
  3. 2dornot2dadaptive3dconvolutionselectionforefficientvideorecognition/aba3ce63-6bb5-4e72-bee4-df0b5f69ed37_origin.pdf +3 -0
  4. 2dornot2dadaptive3dconvolutionselectionforefficientvideorecognition/full.md +349 -0
  5. 2dornot2dadaptive3dconvolutionselectionforefficientvideorecognition/images.zip +3 -0
  6. 2dornot2dadaptive3dconvolutionselectionforefficientvideorecognition/layout.json +3 -0
  7. 3daffordancenetabenchmarkforvisualobjectaffordanceunderstanding/b16c2ccd-146f-4dbe-8817-de5a37b2c862_content_list.json +3 -0
  8. 3daffordancenetabenchmarkforvisualobjectaffordanceunderstanding/b16c2ccd-146f-4dbe-8817-de5a37b2c862_model.json +3 -0
  9. 3daffordancenetabenchmarkforvisualobjectaffordanceunderstanding/b16c2ccd-146f-4dbe-8817-de5a37b2c862_origin.pdf +3 -0
  10. 3daffordancenetabenchmarkforvisualobjectaffordanceunderstanding/full.md +262 -0
  11. 3daffordancenetabenchmarkforvisualobjectaffordanceunderstanding/images.zip +3 -0
  12. 3daffordancenetabenchmarkforvisualobjectaffordanceunderstanding/layout.json +3 -0
  13. 3dcaricshopadatasetandabaselinemethodforsingleview3dcaricaturefacereconstruction/85d55175-828d-4858-9618-8afc0d9c4444_content_list.json +3 -0
  14. 3dcaricshopadatasetandabaselinemethodforsingleview3dcaricaturefacereconstruction/85d55175-828d-4858-9618-8afc0d9c4444_model.json +3 -0
  15. 3dcaricshopadatasetandabaselinemethodforsingleview3dcaricaturefacereconstruction/85d55175-828d-4858-9618-8afc0d9c4444_origin.pdf +3 -0
  16. 3dcaricshopadatasetandabaselinemethodforsingleview3dcaricaturefacereconstruction/full.md +348 -0
  17. 3dcaricshopadatasetandabaselinemethodforsingleview3dcaricaturefacereconstruction/images.zip +3 -0
  18. 3dcaricshopadatasetandabaselinemethodforsingleview3dcaricaturefacereconstruction/layout.json +3 -0
  19. 3dcnnswithadaptivetemporalfeatureresolutions/d4cb497f-c61d-4caf-b813-07faa381129e_content_list.json +3 -0
  20. 3dcnnswithadaptivetemporalfeatureresolutions/d4cb497f-c61d-4caf-b813-07faa381129e_model.json +3 -0
  21. 3dcnnswithadaptivetemporalfeatureresolutions/d4cb497f-c61d-4caf-b813-07faa381129e_origin.pdf +3 -0
  22. 3dcnnswithadaptivetemporalfeatureresolutions/full.md +297 -0
  23. 3dcnnswithadaptivetemporalfeatureresolutions/images.zip +3 -0
  24. 3dcnnswithadaptivetemporalfeatureresolutions/layout.json +3 -0
  25. 3dgraphanatomygeometryintegratednetworkforpancreaticmasssegmentationdiagnosisandquantitativepatientmanagement/d10c7ab6-127e-4028-8180-637679606f6e_content_list.json +3 -0
  26. 3dgraphanatomygeometryintegratednetworkforpancreaticmasssegmentationdiagnosisandquantitativepatientmanagement/d10c7ab6-127e-4028-8180-637679606f6e_model.json +3 -0
  27. 3dgraphanatomygeometryintegratednetworkforpancreaticmasssegmentationdiagnosisandquantitativepatientmanagement/d10c7ab6-127e-4028-8180-637679606f6e_origin.pdf +3 -0
  28. 3dgraphanatomygeometryintegratednetworkforpancreaticmasssegmentationdiagnosisandquantitativepatientmanagement/full.md +265 -0
  29. 3dgraphanatomygeometryintegratednetworkforpancreaticmasssegmentationdiagnosisandquantitativepatientmanagement/images.zip +3 -0
  30. 3dgraphanatomygeometryintegratednetworkforpancreaticmasssegmentationdiagnosisandquantitativepatientmanagement/layout.json +3 -0
  31. 3dhumanactionrepresentationlearningviacrossviewconsistencypursuit/971d34d1-cbf2-4c5c-b7bc-a6c25563c1a6_content_list.json +3 -0
  32. 3dhumanactionrepresentationlearningviacrossviewconsistencypursuit/971d34d1-cbf2-4c5c-b7bc-a6c25563c1a6_model.json +3 -0
  33. 3dhumanactionrepresentationlearningviacrossviewconsistencypursuit/971d34d1-cbf2-4c5c-b7bc-a6c25563c1a6_origin.pdf +3 -0
  34. 3dhumanactionrepresentationlearningviacrossviewconsistencypursuit/full.md +341 -0
  35. 3dhumanactionrepresentationlearningviacrossviewconsistencypursuit/images.zip +3 -0
  36. 3dhumanactionrepresentationlearningviacrossviewconsistencypursuit/layout.json +3 -0
  37. 3dioumatchleveragingioupredictionforsemisupervised3dobjectdetection/e354cee2-b058-4f5f-835f-d1d8812e8a35_content_list.json +3 -0
  38. 3dioumatchleveragingioupredictionforsemisupervised3dobjectdetection/e354cee2-b058-4f5f-835f-d1d8812e8a35_model.json +3 -0
  39. 3dioumatchleveragingioupredictionforsemisupervised3dobjectdetection/e354cee2-b058-4f5f-835f-d1d8812e8a35_origin.pdf +3 -0
  40. 3dioumatchleveragingioupredictionforsemisupervised3dobjectdetection/full.md +256 -0
  41. 3dioumatchleveragingioupredictionforsemisupervised3dobjectdetection/images.zip +3 -0
  42. 3dioumatchleveragingioupredictionforsemisupervised3dobjectdetection/layout.json +3 -0
  43. 3dman3dmultiframeattentionnetworkforobjectdetection/6eb610c4-f85e-4ad3-9ca3-e86f225d98c5_content_list.json +3 -0
  44. 3dman3dmultiframeattentionnetworkforobjectdetection/6eb610c4-f85e-4ad3-9ca3-e86f225d98c5_model.json +3 -0
  45. 3dman3dmultiframeattentionnetworkforobjectdetection/6eb610c4-f85e-4ad3-9ca3-e86f225d98c5_origin.pdf +3 -0
  46. 3dman3dmultiframeattentionnetworkforobjectdetection/full.md +268 -0
  47. 3dman3dmultiframeattentionnetworkforobjectdetection/images.zip +3 -0
  48. 3dman3dmultiframeattentionnetworkforobjectdetection/layout.json +3 -0
  49. 3dobjectdetectionwithpointformer/4783e11e-f6f7-408e-aeaf-e91762ff55cb_content_list.json +3 -0
  50. 3dobjectdetectionwithpointformer/4783e11e-f6f7-408e-aeaf-e91762ff55cb_model.json +3 -0
2dornot2dadaptive3dconvolutionselectionforefficientvideorecognition/aba3ce63-6bb5-4e72-bee4-df0b5f69ed37_content_list.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:674396306e3a69f7c9b623409b2e2e65e17bfea32c4fcf533d46d51260a0d0b4
3
+ size 79866
2dornot2dadaptive3dconvolutionselectionforefficientvideorecognition/aba3ce63-6bb5-4e72-bee4-df0b5f69ed37_model.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e01ed67caddb875847b8aabb98f10702cc5d46b7741c9c240f0f8b3533b83b22
3
+ size 98954
2dornot2dadaptive3dconvolutionselectionforefficientvideorecognition/aba3ce63-6bb5-4e72-bee4-df0b5f69ed37_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:943ae81176c8c7065c88a2ce274d909ccf66bdb2a6a6db692282924c4c43b608
3
+ size 2615114
2dornot2dadaptive3dconvolutionselectionforefficientvideorecognition/full.md ADDED
@@ -0,0 +1,349 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 2D or not 2D? Adaptive 3D Convolution Selection for Efficient Video Recognition
2
+
3
+ Hengduo Li $^{1}$ Zuxuan Wu $^{2*}$ Abhinav Shrivastava $^{1}$ Larry S. Davis $^{1}$
4
+
5
+ $^{1}$ University of Maryland $^{2}$ Fudan University
6
+
7
+ {hdli, abhinav, lsd}@cs.umd.edu zxwu@fudan.edu.cn
8
+
9
+ # Abstract
10
+
11
+ 3D convolutional networks are prevalent for video recognition. While achieving excellent recognition performance on standard benchmarks, they operate on a sequence of frames with 3D convolutions and thus are computationally demanding. Exploiting large variations among different videos, we introduce Ada3D, a conditional computation framework that learns instance-specific 3D usage policies to determine frames and convolution layers to be used in a 3D network. These policies are derived with a two-head lightweight selection network conditioned on each input video clip. Then, only frames and convolutions that are selected by the selection network are used in the 3D model to generate predictions. The selection network is optimized with policy gradient methods to maximize a reward that encourages making correct predictions with limited computation. We conduct experiments on three video recognition benchmarks and demonstrate that our method achieves similar accuracies to state-of-the-art 3D models while requiring $20\% - 50\%$ less computation across different datasets. We also show that learned policies are transferable and Ada3D is compatible to different backbones and modern clip selection approaches. Our qualitative analysis indicates that our method allocates fewer 3D convolutions and frames for "static" inputs, yet uses more for motion-intensive clips.
12
+
13
+ # 1. Introduction
14
+
15
+ Videos are expected to make up a staggering $82\%$ of Internet traffic by 2022 [1], which demands approaches that can understand video content like actions and events accurately and efficiently. Key to video recognition is temporal modeling to capture relationships among different frames. Towards this goal, extensive studies have been conducted with 3D convolutional networks by extending 2D convolutions over time [33, 4, 35, 34, 9, 8, 45]. While of
16
+
17
+ ![](images/f8564f8eef28b1993b2b24d2a04eeec18f442efaa23609246320b668545f55d9.jpg)
18
+ Figure 1: A conceptual overview of our approach. Ada3D learns to adaptively keep/discard 3D convolutional layers and frames conditioned on input clips for efficient video recognition. Fewer 3D convolutions and frames are kept for clips that contain discriminative static cues and contextual information, while more are used for motion-intensive clips, in pursuit of a reduced overall computational cost without sacrificing recognition accuracy. Black mask indicates the frame is discarded.
19
+
20
+ fering excellent recognition accuracy on standard benchmarks [4, 13, 16], 3D models are often computationally expensive due to the costly convolution operations along the temporal axis on a large number of stacked frames. For example, at the clip-level ${}^{1}$ ,a standard ResNet50 [14] model only requires 4.1 GFLOPs (giga floating-point operations) to compute predictions for a single image, while a SlowFast network [9] with the same ResNet50 backbone needs 16 times more computation (65.7 GFLOPs). Furthermore, the computational cost linearly grows with the number of clips uniformly sampled through the entire sequence for video-level prediction aggregation.
21
+
22
+ But are 3D convolutions really important for recognizing different types of videos? Do we really need them through-
23
+
24
+ out the network? Is it necessary to perform 3D convolution on a fixed number of stacked frames for all different samples? Intuitively, 3D convolutions are critical for capturing changing patterns among inputs. However, due to large intra-class and inter-class variations, some videos are relatively more "static" than others, for which using a computationally expensive 3D model on redundant inputs might be unnecessary. This paper seeks to develop a computationally efficient framework for video recognition by learning how many frames to use and whether to use 3D convolutions in 3D networks. This is an orthogonal yet complementary direction to existing work on fast video recognition, which either designs lightweight 3D architectures [35, 44, 8, 34] or develops clip selection schemes to use fewer clips for classification [43, 20, 12, 41, 48].
25
+
26
+ With this in mind, we introduce Ada3D, an end-to-end framework that learns adaptive 3D convolution usage conditioned on each input clip sample for efficient video recognition. For each clip, deriving a dynamic inference strategy entails (1) learning how many frames are used as inputs to the 3D network; (2) conditioned on these selected frames, determining how many 3D convolutional layers are activated; (3) and most importantly, making correct predictions while only using a small number of input frames and 3D convolutions. By doing so, Ada3D allocates more computational resources to videos with complicated motion patterns while performing economical inference for "easy static" videos, enabling efficient video classification while maintaining reliable classification accuracy. While appealing, learning whether to keep/discard input frames and 3D convolutions is a non-trivial task, as it requires making binary decisions that are non-differentiable.
27
+
28
+ To this end, Ada3D is built upon a reinforcement learning framework [32]. In particular, given a video clip, Ada3D trains a two-head selection network to produce a frame usage policy and a convolution usage policy, indicating which frames in the input stack and which 3D convolutions in the network should be kept or discarded, respectively. Then, conditioned on the derived policies, dynamic inference is performed on a pretrained 3D network with selected frames and 3D convolutions for fast recognition. The selection network is optimized with policy gradient methods [32] to maximize a reward function that is carefully designed to incentivize using as few computational resources as possible while making correct predictions. We further jointly finetune the selection network with the 3D network such that the 3D model is able to adapt to the adaptive inference paradigm. It worth noting that the selection network is designed to be lightweight so that its computational overhead is negligible.
29
+
30
+ We conduct extensive experiments to evaluate Ada3D on ActivityNet [16], FCVID [19], Mini-Kinetics-200 [44, 4], and demonstrate that Ada3D is able to save $20\%$ to $50\%$
31
+
32
+ computation on different datasets while maintaining similar recognition performance compared with baselines. We show policies learned on Mini-Kinetics-200 can be further transferred to the full Kinetics dataset [4]. In addition, we show the approach is compatible with different 3D models and it is also complementary to other clip-level selection methods [20, 43, 41, 12, 48]. We also demonstrate qualitatively that our method learns to allocate fewer 3D convolutions and frames for clips that are relatively more static, while applying more computation to motion-intensive clips.
33
+
34
+ # 2. Related Work
35
+
36
+ Deep neural networks for video recognition. Existing work typically designs video recognition architectures by equipping state-of-the-art 2D models with the ability for temporal modeling, and can be roughly categorized into two directions. In particular, the first applies 2D models on a per-frame basis and then model temporal relationships across frames by aggregating features along the temporal axis with operations such as pooling [38, 31, 10], recurrent networks [6, 47, 23], and using inputs with explicit temporal information such as optical flow [31, 10, 38]. The other [4, 33, 29, 35, 9, 8] directly transforms 2D models into 3D models with 3D convolutions applied on stacked RGB frames (clips). While achieving state-of-the-art performance on various benchmarks [4, 16, 13], 3D models are computationally expensive, limiting their deployment in real-world applications with limited resources. Our work aims to reduce the computational cost of 3D models by learning instance-specific 3D policies using fewer frames and 3D convolutions in a 3D model conditioned on inputs while making correct predictions at the same time.
37
+
38
+ Efficient video recognition. Extensive studies have been conducted on designing efficient network architectures for video recognition [50, 5, 35, 8, 49, 24, 34]. Recent advances in efficient 2D ConvNets, e.g. group convolution [17, 30], have been explored in 3D models [5, 35, 34]. In addition, some lightweight temporal aggregation operations are introduced to speed up inference such as a relational module in TRN [49] and a shift module in TSM [24]. More recently, X3D [8] expands a tiny model across several dimensions for a good efficiency/accuracy trade-off. However, all these approaches use a fixed input sampling scheme (i.e., number of frames and frame rate) and compute predictions with a "one-size-fits-all" model for all inputs clips, regardless of the large temporal variations among them. In contrast, we learn dynamic frame usage policies and convolution usage policies conditioned on input clips, in pursuit of computational efficiency without sacrificing accuracy. It is worth pointing out that our method is model-agnostic, and can be used in tandem with these efficient networks.
39
+
40
+ Adaptive computation. Many adaptive computation
41
+
42
+ ![](images/ca3e6586c05967ad27dbceba9fb8c072f2f3754d6b7075f6ca5a66100c534cd2.jpg)
43
+ Figure 2: An overview of our approach. Given an input clip, the selection network produces features for each frame in the clip, which are further aggregated uniformly to derive a frame usage policy and a convolution usage policy simultaneously. These policies activate a subset of frames and 3D convolutions in the 3D network for inference. Then, conditioned on the prediction, two rewards are computed to evaluate the frame and convolution policy, respectively. See texts for more details.
44
+
45
+ (a.k.a, conditional computation) methods have been developed in the image domain, achieving reduced computation by dynamically selecting channels [2, 25], skipping layers [42, 11, 40, 37], performing early exiting with auxiliary structures [22, 18, 3, 46], adaptively switching input resolutions [27, 36, 46], etc. There are also a few recent studies exploring adaptive computation for videos. These approaches adaptively select salient clips for faster inference with one [43] or more [41] agents to aggregate video-level predictions. Compressed video [20] and audio [12, 20] are also utilized for further improvement in clip selection. More recently, a dynamic resolution selection strategy is introduced in [26].
46
+
47
+ Our method is closely related yet orthogonal to these approaches. They focus on selecting informative clips throughout the entire sequence to achieve fast inference, aiming to improve the widely used uniform sampling baseline for video recognition. For each selected clip, the same amount of computational resource is used. In contrast, we allocate computation conditioned on the complexity of the input video clip. This can be considered as dynamic routing in a network and is complementary to those clip-selection methods (as will be shown empirically) [43, 12, 20], which are a form of routing across different time steps in videos.
48
+
49
+ # 3. Approach
50
+
51
+ Ada3D reduces the computational cost of 3D networks by learning instance-specific 3D usage policies that encourage using fewer computational resources, in the forms of frames and 3D convolutions, while producing accurate pre
52
+
53
+ dictions. To this end, we first revisit popular 3D networks used for temporal modeling in Sec. 3.1, and then elaborate different components of Ada3D in Sec. 3.2
54
+
55
+ # 3.1. 3D Networks for Video Recognition
56
+
57
+ Operating on stacked RGB frames, 3D video models typically extend state-of-the-art 2D networks by replacing a number of 2D convolutions with 3D convolutions for temporal modeling over time. Formally, taking as inputs an input clip $\mathcal{V}$ with $T$ frames $\{v_{1}, v_{2}, \dots, v_{T}\}$ , 3D models obtain final predictions through a stack of 2D $(k_{1 \times d \times d})$ and 3D $(k_{t \times d \times d})$ convolutional layers, where $t$ denotes the temporal extent of 3D convolutional filters which is typically set to 3 and 5 in practice, and $d$ denotes the spatial height and width. In common instantiations of 3D video models [33, 35, 4, 44, 9, 8], 3D convolutions are inserted into the building blocks of 2D networks, and these 3D blocks are organized based on heuristics such as using them in early [44, 35] or late [9, 44, 45] stages of the network, if not applied in all stages [4, 8, 35, 33]. Note that state-of-the-art frameworks usually perform temporal convolutions in a non-degenerate form [9, 8], i.e., taking in $T$ frames and outputting $T$ convolved frames. While achieving state-of-the-art recognition performance, 3D video models are often computationally expensive since a number of costly 3D convolutions are applied on a sequence of stacked frames.
58
+
59
+ # 3.2. Ada3D: Adaptive 3D Convolution Selection
60
+
61
+ Ada3D learns 3D convolution usage policies conditioned on input video clips to reduce the computational cost of 3D
62
+
63
+ models. We achieve this with a lightweight selection network that is trained to determine which frames to use as inputs to a pretrained 3D model and which convolution layers to activate in the network for those selected frames. This involves making binary decisions that are non-differentiable, and thus not applicable for supervised frameworks. Instead, we formulate learning the selection network as Markov Decision Process (MDP) [28]. We define the state space of the MDP as the input video clip; actions in the model involve keeping/discarding frames and 3D convolutions in 3D networks. The reward balances between recognition accuracy and computation. The MDP is single-step: a video clip is observed, actions are taken, and a reward is computed—this can also be considered as a contextual bandit [21].
64
+
65
+ More formally, given an input clip $\mathcal{V}$ of length $T$ and a 3D ResNet video classifier $\mathbf{F}$ with $K$ 3D convolution stages $^2$ , the selection network $f_{p}$ , parameterized by $\mathbf{w}$ , computes features for each frame in the input clip; these features are then aggregated as inputs to two parallel branches, outputting two vectors $\mathbf{m} \in \mathbb{R}^T$ and $\mathbf{n} \in \mathbb{R}^K$ :
66
+
67
+ $$
68
+ \mathbf {m}, \mathbf {n} = \operatorname {s i g m o i d} \left(f _ {p} (\mathcal {V}; \mathbf {w})\right). \tag {1}
69
+ $$
70
+
71
+ Here, each entry in $\mathbf{m}$ and $\mathbf{n}$ is normalized to be in the range $[0,1]$ with the sigmoid $(x) = \frac{1}{1 + \exp(-x)}$ function, indicating the likelihood of keeping the corresponding frame and 3D convolution stage<sup>2</sup>.
72
+
73
+ We then define a frame usage policy $\pi^f$ and a convolution usage policy $\pi^c$ with a $T$ -dimensional and a $K$ -dimensional Bernoulli distribution, respectively:
74
+
75
+ $$
76
+ \pi^ {f} (\mathbf {u} \mid \mathcal {V}) = \prod_ {t = 1} ^ {T} \mathbf {m} _ {t} ^ {\mathbf {u} _ {t}} \left(1 - \mathbf {m} _ {t}\right) ^ {1 - \mathbf {u} _ {t}} \tag {2}
77
+ $$
78
+
79
+ $$
80
+ \pi^ {c} (\mathbf {v} \mid \mathcal {V}) = \prod_ {k = 1} ^ {K} \mathbf {n} _ {k} ^ {\mathbf {v} _ {k}} (1 - \mathbf {n} _ {k}) ^ {1 - \mathbf {v} _ {k}}. \tag {3}
81
+ $$
82
+
83
+ where $\mathbf{u} \in \{0,1\}^T$ and $\mathbf{v} \in \{0,1\}^K$ are actions based on $\mathbf{m}$ and $\mathbf{n}$ , and $\mathbf{u}_t = 1$ indicates the $t$ -th frame in $\mathcal{V}$ is used; similarly $\mathbf{v}_k = 1$ means the $k$ -th 3D convolution stage in the 3D model is activated. Zero entries in $\mathbf{u}$ and $\mathbf{v}$ represent inactive frames and convolutions, respectively. During training, $\mathbf{u}$ and $\mathbf{v}$ are produced by sampling from the corresponding policy, and a greedy approach is used at test time.
84
+
85
+ Given these actions, a subset $\mathcal{V}'$ of the full clip $\mathcal{V}$ is formed based on $\mathbf{u}$ . Similarly, according to $\mathbf{v}$ , certain 3D convolution layers are changed to 2D by taking only the center channel of its 3D convolutional filter along the temporal axis, i.e., the slicing operation $k_{t\times d\times d}[\left\lfloor \frac{t}{2}\right\rfloor ,\dots ,]$ in PyTorch style. Then, conditioned on $\mathcal{V}'$ , we run a forward pass with the 3D network where certain 3D convolutions are degraded, and a prediction is then computed. To encourage
86
+
87
+ correct predictions with limited computation, we evaluate these actions with a reward function:
88
+
89
+ $$
90
+ R (\mathbf {x}) = \left\{ \begin{array}{l l} 1 - \mathcal {O} (\mathbf {x}) & \text {f o r c o r r e c t p r e d i c t i o n} \\ - \gamma & \text {e l s e} \end{array} \right. \tag {4}
91
+ $$
92
+
93
+ where $\mathcal{O}(\mathbf{x})$ represents the normalized computational cost of the action and $\mathbf{x}\in \{\mathbf{u},\mathbf{v}\}$ . Based on Eqn. 4, we compute two rewards for frame actions and convolution actions respectively, encouraging using as little computation as possible when making correct predictions while penalizing incorrect predictions with a negative reward, i.e., $-\gamma$ . Note that $\gamma$ also balances the speed-accuracy trade-off with different values. While we instantiate $\mathcal{O}(\mathbf{u})$ and $\mathcal{O}(\mathbf{v})$ as $(\frac{||\mathbf{u}||_0}{T})$ and $(\frac{||\mathbf{v}||_0}{K})^2$ —the normalized usage of the number of frames and 3D convolutions—there are also other options such as FLOPs [26, 15]. The selection network is then optimized to maximize the expected reward:
94
+
95
+ $$
96
+ \max _ {\mathbf {w}} \mathcal {L} = \mathbb {E} _ {\mathbf {u} \sim \pi_ {f}, \mathbf {v} \sim \pi_ {c}} [ R (\mathbf {u}) + R (\mathbf {v}) ]. \tag {5}
97
+ $$
98
+
99
+ We use policy gradient methods [32] to learn the parameters $\mathbf{w}$ for the selection network and the expected gradient can be derived as:
100
+
101
+ $$
102
+ \begin{array}{l} \nabla_ {\mathbf {w}} \mathcal {L} = \mathbb {E} \left[ R (\mathbf {u}) \nabla_ {\mathbf {w}} \log \pi^ {f} (\mathbf {u} \mid \mathcal {V}) \right. \\ + R (\mathbf {v}) \nabla_ {\mathbf {w}} \log \pi^ {c} (\mathbf {v} | \mathcal {V}) ]. \tag {6} \\ \end{array}
103
+ $$
104
+
105
+ Eqn. 6 can be estimated with many samples at a time, and thus we use samples in mini-batches to compute the expected gradient and then Eqn. 6 is approximated by:
106
+
107
+ $$
108
+ \begin{array}{l} \nabla_ {\mathbf {w}} \mathcal {L} \approx \frac {1}{B} \sum_ {i = 1} ^ {B} \left[ R (\mathbf {u} _ {i}) \nabla_ {\mathbf {w}} \log \pi^ {f} (\mathbf {u} _ {i} \mid \mathcal {V} _ {i}) \right. \\ + R \left(\mathbf {v} _ {i}\right) \nabla_ {\mathbf {w}} \log \pi^ {c} \left(\mathbf {v} _ {i} \mid \mathcal {V} _ {i}\right) ], \tag {7} \\ \end{array}
109
+ $$
110
+
111
+ where $B$ is the total number of samples in the mini-batch. The gradient is then propagated back to train the policy network with SGD. We further reduce variance by adding a baseline function to the reward [32].
112
+
113
+ So far we have only trained the selection network while keeping the pretrained video model fixed. The selection network is able to learn decent policies that use fewer frames and 3D convolutions while maintaining prediction accuracies. However, input distributions to the 3D model are no longer the same as those used to train the original network, where all frames and 3D convolutions are used. As a result, the 3D model is not equipped with the ability to deal with inputs with varying number of frames and 3D convolutions that are adaptively turned on/off. To remedy this, we further jointly fine-tune the 3D model with the selection network such that it is able to accustomed to such adaptive inference paradigm. The objective function then becomes:
114
+
115
+ $$
116
+ \min _ {\mathbf {w}, \boldsymbol {\theta}} - \sum_ {j = 1} \mathbf {y} ^ {j} \log \left(\mathbf {F} (\mathcal {V}; \boldsymbol {\theta}) ^ {j}\right) - \mathcal {L} (\mathbf {w}) \tag {8}
117
+ $$
118
+
119
+ Algorithm 1: Training algorithm of our approach.
120
+ Input: An input video clip $\mathcal{V}$ , the number of epochs of for training the selection network $E_{1}$ , the number of epochs of joint fine-tuning $E_{2}$
121
+ 1 Obtain a pretrained video classifier F
122
+ 2 Randomly initialize selection network w
123
+ 3 for e $\leftarrow 0$ to $E_{1}$ do
124
+ 4 $\mathbf{m},\mathbf{n} = \mathrm{sigmoid}(f_p(\mathcal{V};\mathbf{w}))$
125
+ 5 $\mathbf{u},\mathbf{v}\sim \pi_{\mathbf{w}}(\mathbf{u}|\mathcal{V}),\pi_{\mathbf{w}}(\mathbf{v}|\mathcal{V})$ // Eqn. 3
126
+ 6 $p = \mathbf{F}(\mathcal{V}|\mathbf{u},\mathbf{v})$ // Apply actions on F and forward
127
+ 7 $R = R(\mathbf{u}) + R(\mathbf{v})$ // Eqn. 4
128
+ 8 $\mathbf{w} = \mathbf{w} - \nabla \mathbf{w}\mathcal{L}$ // Eqn. 6
129
+ 9 end
130
+ 10 for e $\leftarrow 0$ to $E_{2}$ do
131
+ 11 Repeat Line 4-7
132
+ 12 $\mathbf{w} = \mathbf{w} - \nabla \mathbf{w}\mathcal{L}$ // Eqn. 6
133
+ 13 $\theta = \mathbf{w} - \nabla \theta \mathcal{L}_{cls}$ // Eqn. 8
134
+ 14 end
135
+
136
+ where $\theta$ denotes the weights of the 3D network $\mathbf{F}$ and the first term is the cross-entropy loss for an input clip $\mathcal{V}$ with one-hot label $\mathbf{y}$ for classification training. Algorithm 1 summarizes algorithm of Ada3D.
137
+
138
+ # 4. Experiments
139
+
140
+ # 4.1. Experimental Setup
141
+
142
+ Datasets and evaluation metrics. We evaluate our approach on three video recognition datasets: ActivityNet (ACTIVITYNET) [16], Fudan-Columbia Video Datasets (FCVID) [19] and Mini-Kinetics-200 (MINI-KINETICS) [44]. ACTIVITYNET contains around $20K$ Youtube videos of 200 action classes, with an average duration of 117 seconds. We use the latest version 1.3 and its official split with 10,024 training videos, 4,926 validation videos and 5,044 testing videos. We report results on the validation set as the labels of testing videos are not publicly available. FCVID consists of 91,223 Youtube videos belonging to 239 categories, with an average duration of 167 seconds. The official split is adopted with a training set of 45,611 videos and a testing set of 45,612 videos. MINI-KINETICS is a publicly released subset of KINETICS [4] initially introduced in [44], consisting of 200 classes with the most training samples in Kinetics; 400 and 25 videos are sampled from each action class for training and validation, forming a training set with 80,000 videos and a validation set with 5,000 videos. Here we use the identical samples as [44]. To demonstrate the transferability of the selection network, we experiment with the Kinetics full set, which contains 240K training videos and 20K validation videos.
143
+
144
+ Following official instructions, we report mean aver
145
+
146
+ age precision (mAP) on ACTIVITYNET and FCVID. For MINI-KINETICS and KINETICS, we report Top-1 accuracy.
147
+
148
+ Network architectures. We use an I3D [4] with a backbone of ResNet-50 [14] as the 3D video model if not mentioned otherwise, due to its popularity and competitive recognition performance across various benchmarks [4, 13, 16]. Our implementation follows [7], where 3D convolutions are factorized spatially and temporally in a similar way as $\mathrm{R}(2 + 1)$ -D [35], which is already a more efficient architecture than original I3D. In addition, we also experiment with the Slowonly model introduced in [9] to demonstrate the compatibility of our approach with more recent networks.
149
+
150
+ We use a lightweight architecture for the selection network with negligible computational overhead. Specifically, we use MobileNetV2 [30] as the backbone of the selection network. The inputs to the network are downsampled to $112 \times 112$ per frame, and it only requires 0.08 GFLOPs to compute features for each frame.
151
+
152
+ Implementation details. All 3D networks are fine-tuned from models provided by [7], which are pre-trained on Kinetics. We fine-tune 3D models for 40 epochs on FCVID and ACTIVITYNET and 20 epochs on MINI-KINETICS, with a cosine learning rate schedule starting at 0.01 and a batch size of 64. The MobileNetV2 backbone of the selection network is also pre-trained on these datasets with the same schedules to speed up convergence. We first fix the pretrained 3D models and train the selection network for 40 epochs with a learning rate of 0.0001 and a batch size of 256. Finally, the whole pipeline is jointly fine-tuned for 60 epochs with the same learning rate described above. SGD with momentum 0.9 is used for optimization. We use 8 GPUs for all experiments.
153
+
154
+ Regarding network inputs during training, we follow [9, 8] by randomly sampling a clip with 8/16 frames using a temporal stride of 8 (sampling rate) from a given video. For the spatial domain, $224 \times 224$ pixels are randomly cropped from the sampled clip during training. For inference, we follow the common practice [9, 8, 39] and uniformly sample 10 clips with a spatial size of $256 \times 256$ from a testing video. Video-level prediction is obtained by averaging the clip-level predictions.
155
+
156
+ # 4.2. Main Results
157
+
158
+ We compare our proposed method with various baselines under different input settings (8/16 frames per clip) and report results in Table 1. The baselines we use include:
159
+
160
+ - Random: Based on the frame usage and convolution usage produced by Ada3D, we generate random policies that use a similar amount of computational resources compared to Ada3D.
161
+ - Random $FT$ : The 3D model is further jointly fine-tuned with the random policies.
162
+
163
+ <table><tr><td rowspan="2"></td><td colspan="4">FCVID</td><td colspan="4">ACTIVITYNET</td><td colspan="4">MINI-KINETICS</td></tr><tr><td>mAP</td><td>GFLOPs</td><td>#3D</td><td>#Frame</td><td>mAP</td><td>GFLOPs</td><td>#3D</td><td>#Frame</td><td>Acc</td><td>GFLOPs</td><td>#3D</td><td>#Frame</td></tr><tr><td colspan="13">8-frame per clip</td></tr><tr><td>Upper</td><td>82.1</td><td>58.6</td><td>5.0</td><td>8.0</td><td>82.6</td><td>58.6</td><td>5.0</td><td>8.0</td><td>79.0</td><td>58.6</td><td>5.0</td><td>8.0</td></tr><tr><td>Random</td><td>78.1</td><td>36.1</td><td>2.2</td><td>5.8</td><td>79.2</td><td>42.9</td><td>3.0</td><td>6.6</td><td>74.0</td><td>42.2</td><td>2.0</td><td>6.9</td></tr><tr><td>Random FT</td><td>80.7</td><td>36.1</td><td>2.2</td><td>5.8</td><td>81.1</td><td>42.9</td><td>3.0</td><td>6.6</td><td>77.4</td><td>41.5</td><td>1.9</td><td>6.8</td></tr><tr><td>Ours</td><td>81.9</td><td>35.6</td><td>2.2</td><td>5.7</td><td>82.6</td><td>42.2</td><td>3.1</td><td>6.6</td><td>78.9</td><td>42.4</td><td>1.9</td><td>6.9</td></tr><tr><td colspan="13">16-frame per clip</td></tr><tr><td>Upper</td><td>84.4</td><td>117.3</td><td>5.0</td><td>16.0</td><td>84.4</td><td>117.3</td><td>5.0</td><td>16.0</td><td>79.6</td><td>117.3</td><td>5.0</td><td>16.0</td></tr><tr><td>Random</td><td>79.2</td><td>63.2</td><td>2.1</td><td>10.3</td><td>80.4</td><td>73.3</td><td>3.0</td><td>11.2</td><td>75.2</td><td>75.8</td><td>2.9</td><td>11.8</td></tr><tr><td>Random FT</td><td>82.0</td><td>65.3</td><td>2.1</td><td>10.6</td><td>82.8</td><td>71.3</td><td>3.0</td><td>11.1</td><td>78.2</td><td>78.0</td><td>2.9</td><td>12.0</td></tr><tr><td>Ours</td><td>84.3</td><td>66.6</td><td>2.1</td><td>10.7</td><td>84.0</td><td>70.1</td><td>3.0</td><td>11.1</td><td>79.2</td><td>73.8</td><td>2.9</td><td>11.8</td></tr></table>
164
+
165
+ Table 1: Recognition performance and computational cost of our method vs. baselines. Two input settings are experimented, i.e. 8-frame setting (Top) and 16-frame setting (Bottom). #3D and #Frame denote the number of 3D convolutions and frames usage per input clip respectively, averaged over the entire test set. See texts for more details.
166
+
167
+ - Upper: The original pretrained 3D model with all 3D convolutions and all frames used, which can be viewed as a performance "upperbound" of our method.
168
+
169
+ As shown in Table 1, under the 8-frame input setting, Ada3D obtains an mAP (accuracy for MINI-KINETICS) of $81.9\%$ , $82.6\%$ and $78.9\%$ , requiring an average of 35.6, 42.2 and 42.4 GFLOPs per clip on FCVID, ACTIVITYNET, MINI-KINETICS respectively. Ada3D achieves comparable recognition performance but brings $40\%$ , $28\%$ and $27\%$ computational savings. This confirms that Ada3D is able to learn effective 3D convolution and frame usage policies by saving computational resources and preserving accuracies at the same time across different datasets. Similar patterns are also observed under the 16-frame input setting for all three datasets.
170
+
171
+ Using similar computational resources, Ada3D improves the Random baseline by $3.5\%$ to $5\%$ mAP/accuracy on three datasets. Ada3D also outperforms Random FT by $1\%$ to $2.5\%$ . These results verify that Ada3D produces adaptive polices and allocates computational resources on a per-input basis to maintain recognition performance. It is worth noting that there are slightly differences in computational savings on different datasets. This results from the fact that video categories in these datasets are different. For example, FCVID contains some classes of static objects and scenes like "bridge" and "temple", and thus we observe more computational savings than ACTIVITYNET and MINI-KINETICS, which are more activity-focused; on MINI-KINETICS, where categories are motion-intensive, more computational resources are needed compared to FCVID and ACTIVITYNET.
172
+
173
+ Recognition with varying computational budgets. As discussed in Section 3.2, the choice of $\gamma$ in Eqn. 4 adjusts
174
+
175
+ the amount of penalty on policies that produce incorrect predictions, and thus it controls the speed/accuracy trade-off. Here we report recognition accuracies of Ada3D under different computational budgets. As demonstrated in Fig. 3, our method is able to cover a wide range of speed/accuracy trade-offs and consistently outperforms Random $FT$ with different computational budgets. For example, on ACTIVITYNET, Ada3D obtains an mAP of $82.6\%$ , $81.9\%$ and $80.9\%$ with an average of 42.2, 30.1 and 24.4 GFLOPs per clip respectively, while Random $FT$ obtains $81.1\%$ , $80.7\%$ and $79.8\%$ with 42.9, 32.6 and 25.4 GFLOPS per clip on average. Same patterns are also observed on FCVID.
176
+
177
+ Extension to clip selection. As mentioned in Sec. 2, our method is orthogonal and thus could be complementary to the line of clip selection methods [41, 43, 20, 12] for efficient video recognition. We validate our hypothesis by combining our method with AdaFrame [43]. Specifically, we use Ada3D as the backbone of AdaFrame to dynamically allocate computational resources conditioned on each input clip, as opposed to the original AdaFrame that uses the
178
+
179
+ ![](images/8c96e49697093d97de86ee808a42ffddf79c270691322968f35d0e6fd82eb1e9.jpg)
180
+ Figure 3: Recognition performance under different computational budgets controlled by $\gamma$ .
181
+
182
+ <table><tr><td></td><td>Van → Ada</td><td>Van → Ada</td><td>Van → Ada</td></tr><tr><td>#Clip</td><td>3.0 → 2.9</td><td>5.0 → 4.2</td><td>10.0 → 7.4</td></tr><tr><td>mAP</td><td>77.8 → 78.1</td><td>80.3 → 80.5</td><td>81.9 → 82.0</td></tr></table>
183
+
184
+ same amount of computation with a fixed backbone for all clips. Following [43], we train three variants of AdaFrame which operates on 3, 5, and 10 clips for different computational budgets. As demonstrated in Table 2, extending our approach with adaptive clip selection further decreases the computational cost while producing comparable performance with the Upper. For example, it reduces the number of clips sampled from each testing video from 10 to 7.4 and obtains an mAP of $82.0\%$ that is on par with Upper $(82.1\%)$ . Additionally, we believe our method is also complementary to other clip selection methods leveraging multi-modal inputs such as audio [20, 12], as well as adaptive spatial resolution modulating methods [26, 36, 46].
185
+
186
+ Table 2: Extension to clip-level selection. Combining Ada3D with AdaFrame [43] offers computational savings for video-level aggregation. #Clip denotes number of clips used per testing video; Van (Vanilla) and Ada denote our method without and with AdaFrame, respectively.
187
+
188
+ <table><tr><td>Method</td><td>Acc</td><td>GFLOPs</td><td>#3D</td><td>#Frame</td></tr><tr><td>Upper</td><td>73.1</td><td>58.6</td><td>5.0</td><td>8.0</td></tr><tr><td>Ours</td><td>72.8</td><td>43.7</td><td>2.3</td><td>6.9</td></tr></table>
189
+
190
+ Transferring learned policies. We now analyze whether the policies learned by our method can be transferred to novel action categories. To this end, we take the selection network trained on MINI-KINETICS and fine-tune a pretrained I3D model with a ResNet-50 as its backbone on full Kinetics. We keep the weights of the selection network fixed during fine-tuning. Details of training and testing are the same as joint fine-tuning as described in Sec. 4.1. As shown in Table 3, policies learned on MINI-KINETICS can reduce the overall computational cost of the fine-tuned video model by $25\%$ on Kinetics with negligible difference in recognition accuracy compared to the Upper baseline, indicating that our method learns strategies that are transferable to unseen classes and videos. It is worth noting that the I3D baseline we use obtains superior recognition performance on Kinetics that is higher than [4, 44] and competitive compared to results reported in [39] using 32 frames per input clip.
191
+
192
+ Compatibility with different 3D architectures. Next, we evaluate the compatibility of our approach with different 3D
193
+
194
+ networks. We use a more efficient 3D network architecture recently introduced in [9] termed as Slowonly and evaluate our approach. In particular, it only uses 3D convolutions in the 4-th and 5-th stage of a ResNet50, resulting in competitive recognition performance with less computational cost. As shown in Table 4, our method still obtains $20\%$ to $40\%$ savings in GFLOPs with similar recognition performance, indicating Ada3D is compatible with different 3D models. Our method by design is model-agnostic, for which we believe it could be complementary to recent work on designing efficient 3D models such as X3D [8] as well.
195
+
196
+ Table 3: Transferring learned policies. We fine-tune a Kinetics pretrained model on Kinetics full training set, with policies learned on Mini-Kinetics, and evaluate on Kinetics validation set.
197
+
198
+ <table><tr><td>Method</td><td>mAP</td><td>GFLOPs</td><td>#3D</td><td>#Frame</td></tr><tr><td>Upper</td><td>82.6</td><td>54.5</td><td>2.0</td><td>8.0</td></tr><tr><td>Ours</td><td>82.4</td><td>42.1</td><td>1.3</td><td>6.6</td></tr><tr><td>Upper</td><td>83.5</td><td>109.1</td><td>2.0</td><td>16.0</td></tr><tr><td>Ours</td><td>83.4</td><td>61.8</td><td>1.4</td><td>9.5</td></tr></table>
199
+
200
+ Table 4: Results on FCVID [19] using Slowonly [9] architecture as 3D model. Top: 8-frame input setting. Bottom: 16-frame input setting.
201
+
202
+ Qualitative analysis. In addition to the quantitative results presented above, we also qualitatively analyze our method. In particular, we observe that our method produces policies with fewer 3D convolutions and frames for input clips that are more "static", while uses more for motion-intensive instances. As shown in Fig. 4, a smaller number of 3D convolutions and frames are applied on clips with discriminative static cue. For instance, the presence of "bass" and "book binder" for class "playing bass guitar" and "book binding" suffice to produce correct predictions, and the scene of a "court" serves as a strong contextual signal for "hurling". On the other hand, for motion-intensive action classes and instances, especially those related to human movement such as "breakdancing", "somersaulting" and "Tai Chi", more computational resources are allocated by our method to capture finer temporal relationships among frames.
203
+
204
+ # 4.3. Discussion
205
+
206
+ Impact of joint finetuning. Recall that we first train the selection network with the 3D model fixed and then jointly fine-tune both of them. Here we analyze the performance of our method without the first selection network training stage (Tr) or the joint fine-tuning stage (FT). For faster evaluation, we uniformly sample 3 clips from each test video. Results are shown in Table 5.
207
+
208
+ As can be seen, joint fine-tuning is crucial to further improve the recognition performance (75.9 vs. 77.8). This indicates that fine-tuning the video model together with learned policies indeed helps the 3D model to adapt to the adaptive inference paradigm brought by the selection network. It is worth noting that skipping the first training
209
+
210
+ ![](images/7dd56a30ca9dd0ce5de66adbf1b5b97953e0b9b17726f4839afd24a480fa78d1.jpg)
211
+ 3D usage: 2 Frame usage: 3
212
+
213
+ ![](images/bad9ebba1eb4bb0b3352c90bcb8071013025d5d8e6d00a486f01f9dad7204fd8.jpg)
214
+
215
+ ![](images/a5858538636b3de301076cb1623e6147c5e7152135dd55debdd771ad6cec5587.jpg)
216
+ Barbequing
217
+
218
+ ![](images/67d3ad8b4d2c9401608832842dd47d9d8f8c27708277ba4c0ab3fb286b3f80b4.jpg)
219
+ 3D usage: 1 Frame usage: 4
220
+
221
+ ![](images/fe5f4989999f12fe293cafbf7905037954fd38d484369263cc46f87f3c0eb4b9.jpg)
222
+
223
+ ![](images/d0074e99cf789517ea451d28ad9662347e8c1d47e87ea3befbac1d44b895ee8a.jpg)
224
+
225
+ ![](images/6f5aa07936d523f5f1c1b63f8086ae56f9eecda66e5cfe343b7a7deab07b7dba.jpg)
226
+ Playing Bass Guitar
227
+
228
+ ![](images/dc6d62ca01e5a212ed9bc52c17efcbbb46358ab22057ce8343ab23edda7a68da.jpg)
229
+ 3D usage: 2 Frame usage: 4
230
+ Frame usage
231
+
232
+ ![](images/9cbf7a54aba0b32ee9b4567c1c5121ef6ae18a0222c038d75e0180aaff297bf9.jpg)
233
+
234
+ ![](images/04c50e30abc44ad57752951a3ac571e186a58cbd1d491992fc79b3f7b97a9a6a.jpg)
235
+
236
+ ![](images/863d6c6a11b4fd0431f74a6b981ab0e1b4f1af6ccb017f64732b88c4c25f7043.jpg)
237
+ Hurling
238
+ Book Binding
239
+
240
+ ![](images/22972114fb1418ad8f9cbd82e17cb322250093b2d8747570a161300ce3bdc8a6.jpg)
241
+ 3D usage: 2 Frame usage: 3
242
+
243
+ ![](images/c91d0f3516b29df4773d31f5032fae9aa1b944c4f7f2f47329fb3067bc21d39e.jpg)
244
+ Figure 4: Qualitative results. Black mask indicates the frame is discarded. Left: Fewer 3D convolutions and frames are used for action classes and instances that are more "static", i.e. containing discriminative static cue and contextual information.
245
+ Right: For motion-intensive instances, more computation is allocated for probing finer temporal information.
246
+
247
+ ![](images/5c33f2421b261ddcc606d80d0662b657c50d497b282791ddfa1fc8fad59b1a91.jpg)
248
+
249
+ ![](images/ea05efd91de110b0623a1a9a965a4d9bb6537da0c780de240869130f86e09862.jpg)
250
+
251
+ ![](images/c9dcd4a65508aba91ff0f0c4f0c70202327fe932f33dfb30dc6e4d81722261ea.jpg)
252
+ Dancing macarena
253
+
254
+ ![](images/8639448f23775316426f9e045ba13e8b075d277feb13eb75204bc05845498581.jpg)
255
+ 3D usage: 4 Frame usage: 8
256
+
257
+ ![](images/7fff2c4c01d713faf90869f1c3fbdb70f463492f610e19447c3d558644fe2c17.jpg)
258
+ Capoeira
259
+
260
+ ![](images/12880544a2c5c0686e13d91235d42b6c6f0d634584f9daa675c16744b582b3f0.jpg)
261
+ 3D usage: 4 Frame usage: 7
262
+
263
+ ![](images/0dc09ef4655ac806bc2ccd548023445d036bb71de88bea50443f6aa69b4f2672.jpg)
264
+ Somersaulting
265
+
266
+ ![](images/056578ac35073f9def8401ed3ff583665ea98eeadd12e4b9bef29a7f3e14ffbb.jpg)
267
+ 3D usage: 5 Frame usage: 8
268
+
269
+ ![](images/c8ad22994e94c7e647b168696c53c748e9901cb80d12cb4881a06c7ac80d3cef.jpg)
270
+ Tai Chi
271
+
272
+ ![](images/9884eeb5ef69b0501d94812b6e9dee8814dce2c06fc0627bb583140d95ba2ebf.jpg)
273
+ 3D usage: 4 Frame usage: 8
274
+
275
+ <table><tr><td colspan="3">FCVID</td><td colspan="2">ACTIVITYNET</td></tr><tr><td>Tr FT</td><td>mAP</td><td>GFLOPs</td><td>mAP</td><td>GFLOPs</td></tr><tr><td>Upper</td><td>78.1</td><td>58.6</td><td>76.4</td><td>58.6</td></tr><tr><td></td><td>72.3</td><td>36.1</td><td>71.1</td><td>42.9</td></tr><tr><td>✓</td><td>75.9</td><td>34.7</td><td>74.3</td><td>38.1</td></tr><tr><td>✓</td><td>76.5</td><td>34.9</td><td>75.1</td><td>37.6</td></tr><tr><td>✓</td><td>77.8</td><td>35.6</td><td>76.1</td><td>42.2</td></tr></table>
276
+
277
+ stage (i.e., directly training the selection network with the 3D model jointly) leads to a lower recognition performance (76.5 vs. 77.8). We posit the reason is that adding another objective (the classification loss) while training the selection network from random initialization further increases the instability of network learning under such a reinforcement learning setting; and thus the selection network converges to sub-optimal policies.
278
+
279
+ Table 5: Ablation on the effectiveness of two training stages.
280
+
281
+ <table><tr><td colspan="3">FCVID</td><td colspan="2">ACTIVITYNET</td></tr><tr><td>3D Frame</td><td>mAP</td><td>GFLOPs</td><td>mAP</td><td>GFLOPs</td></tr><tr><td>Upper</td><td>78.1</td><td>58.6</td><td>76.4</td><td>58.6</td></tr><tr><td></td><td>75.5</td><td>35.6</td><td>74.3</td><td>42.3</td></tr><tr><td>✓</td><td>76.8</td><td>35.3</td><td>75.3</td><td>41.1</td></tr><tr><td>✓</td><td>76.3</td><td>35.5</td><td>74.8</td><td>43.5</td></tr><tr><td>✓</td><td>77.8</td><td>35.6</td><td>76.1</td><td>42.2</td></tr></table>
282
+
283
+ Table 6: Ablation on the usefulness of 3D convolution usage and frame usage policies.
284
+
285
+ Contributions of convolution and frame usage policies. To demonstrate the effectiveness of 3D convolution usage and frame usage policies learned by the two-head selection
286
+
287
+ network, we conduct experiments to analyze contributions of the two components. In particular, we replace each/both components with randomly generated policies similar to Random FT. Here we use 3-clip testing as well. As shown in Table 6, applying either 3D or frame usage policy improves recognition performance under the same computational budget, while using both achieves the best performance with $1\%$ improvement over the single-component settings, indicating the double-head architecture can learn to produce policies cooperatively.
288
+
289
+ # 5. Conclusion
290
+
291
+ We presented Ada3D, a framework that learns to derive adaptive 3D convolution and frame usage policies—determining which 3D convolutions in a pretrained 3D video model and which frames in the input clip to use on a per-input basis—for efficient video recognition. In particular, a two-head selection network is trained with policy gradient methods to produce these policies, reducing overall computational cost while maintaining recognition performance. Extensive experimental results on three large-scale video recognition datasets indicate that Ada3D achieves $20\% -50\%$ computational savings on state-of-the-art 3D video models while achieving similar accuracies. We further demonstrate Ada3D is compatible with different backbones of 3D model and other clip selection methods, and qualitatively show that more computational resource is allocated on motion-intensive instances but less on static ones by Ada3D.
292
+
293
+ Acknowledgement This work is supported by IARPA via Department of Interior/Interior Business Center (DOI/IBC) contract number D17PC00345.
294
+
295
+ # References
296
+
297
+ [1] The state of online video for 2020. https://www.forbes.com/sites/tjmccue/2020/02/05/looking-deep-into-the-state-of-online-video-for-2020/.1
298
+ [2] Babak Ehteshami Bejnordi, Tijmen Blankevoort, and Max Welling. Batch-shaping for learning conditional channel gated networks. In ICLR, 2020. 3
299
+ [3] Tolga Bolukbasi, Joseph Wang, Ofer Dekel, and Venkatesh Saligrama. Adaptive neural networks for fast test-time prediction. In ICML, 2017. 3
300
+ [4] Joao Carreira and Andrew Zisserman. Quo vadis, action recognition? a new model and the kinetics dataset. In CVPR, 2017. 1, 2, 3, 5, 7
301
+ [5] Yunpeng Chen, Yannis Kalantidis, Jianshu Li, Shuicheng Yan, and Jiashi Feng. Multi-fiber networks for video recognition. In ECCV, 2018. 2
302
+ [6] Jeffrey Donahue, Lisa Anne Hendricks, Sergio Guadarrama, Marcus Rohrbach, Subhashini Venugopalan, Kate Saenko, and Trevor Darrell. Long-term recurrent convolutional networks for visual recognition and description. In CVPR, 2015. 2
303
+ [7] Haoqi Fan, Yanghao Li, Bo Xiong, Wan-Yen Lo, and Christoph Feichtenhofer. Pyslowfast. https://github.com/facebookresearch/slowfast, 2020.5
304
+ [8] Christoph Feichtenhofer. X3d: Expanding architectures for efficient video recognition. In CVPR, 2020. 1, 2, 3, 5, 7
305
+ [9] Christoph Feichtenhofer, Haoqi Fan, Jitendra Malik, and Kaiming He. Slowfast networks for video recognition. In ICCV, 2019. 1, 2, 3, 5, 7
306
+ [10] Christoph Feichtenhofer, Axel Pinz, and Andrew Zisserman. Convolutional two-stream network fusion for video action recognition. In CVPR, 2016. 2
307
+ [11] Michael Figurnov, Maxwell D Collins, Yukun Zhu, Li Zhang, Jonathan Huang, Dmitry Vetrov, and Ruslan Salakhutdinov. Spatially adaptive computation time for residual networks. In CVPR, 2017. 3
308
+ [12] Ruohan Gao, Tae-Hyun Oh, Kristen Grauman, and Lorenzo Torresani. Listen to look: Action recognition by previewing audio. In CVPR, 2020. 2, 3, 6, 7
309
+ [13] Raghav Goyal, Samira Ebrahimi Kahou, Vincent Michalski, Joanna Materzynska, Susanne Westphal, Heuna Kim, Valentin Haenel, Ingo Fruend, Peter Yianilos, Moritz Mueller-Freitag, et al. The" something something" video database for learning and evaluating visual common sense. In ICCV, 2017. 1, 2, 5
310
+ [14] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, 2016. 1, 5
311
+ [15] Yihui He, Ji Lin, Zhijian Liu, Hanrui Wang, Li-Jia Li, and Song Han. Amc: Automl for model compression and acceleration on mobile devices. In ECCV, 2018. 4
312
+ [16] Fabian Caba Heilbron, Victor Escorcia, Bernard Ghanem, and Juan Carlos Niebles. Activitynet: A large-scale video benchmark for human activity understanding. In CVPR, 2015. 1, 2, 5
313
+
314
+ [17] Andrew G Howard, Menglong Zhu, Bo Chen, Dmitry Kalenichenko, Weijun Wang, Tobias Weyand, Marco Andretto, and Hartwig Adam. Mobilenets: Efficient convolutional neural networks for mobile vision applications. arXiv preprint arXiv:1704.04861, 2017. 2
315
+ [18] Gao Huang, Danlu Chen, Tianhong Li, Felix Wu, Laurens van der Maaten, and Kilian Q Weinberger. Multi-scale dense networks for resource efficient image classification. In ICLR, 2018. 3
316
+ [19] Y.-G. Jiang, Z. Wu, J. Wang, X. Xue, and S.-F. Chang. Exploiting feature and class relationships in video categorization with regularized deep neural networks. IEEE TPAMI, 2018. 2, 5, 7
317
+ [20] Bruno Korbar, Du Tran, and Lorenzo Torresani. Scsampler: Sampling salient clips from video for efficient action recognition. In ICCV, 2019. 2, 3, 6, 7
318
+ [21] John Langford and Tong Zhang. The epoch-greedy algorithm for multi-armed bandits with side information. In NIPS, 2008. 4
319
+ [22] Hao Li, Hong Zhang, Xiaojuan Qi, Ruigang Yang, and Gao Huang. Improved techniques for training adaptive deep networks. In ICCV, 2019. 3
320
+ [23] Zhenyang Li, Kirill Gavrilyuk, Efstratios Gavves, Mihir Jain, and Cees GM Snoek. Videolstm convolves, attends and flows for action recognition. CVIU, 2018. 2
321
+ [24] Ji Lin, Chuang Gan, and Song Han. Tsm: Temporal shift module for efficient video understanding. In ICCV, 2019. 2
322
+ [25] Ji Lin, Yongming Rao, Jiwen Lu, and Jie Zhou. Runtime neural pruning. In NIPS, 2017. 3
323
+ [26] Yue Meng, Chung-Ching Lin, Rameswar Panda, Prasanna Sattigeri, Leonid Karlinsky, Aude Oliva, Kate Saenko, and Rogerio Feris. Ar-net: Adaptive frame resolution for efficient action recognition. In ECCV, 2020. 3, 4, 7
324
+ [27] Maharay Najibi, Bharat Singh, and Larry S Davis. Autofocus: Efficient multi-scale inference. In ICCV, 2019. 3
325
+ [28] Martin L Puterman. Markov decision processes: discrete stochastic dynamic programming. John Wiley & Sons, 2014. 4
326
+ [29] Zhaofan Qiu, Ting Yao, and Tao Mei. Learning spatiotemporal representation with pseudo-3d residual networks. In ICCV, 2017. 2
327
+ [30] Mark Sandler, Andrew Howard, Menglong Zhu, Andrey Zh-moginov, and Liang-Chieh Chen. Mobilenetv2: Inverted residuals and linear bottlenecks. In CVPR, 2018. 2, 5
328
+ [31] Karen Simonyan and Andrew Zisserman. Two-stream convolutional networks for action recognition in videos. In NIPS, 2014. 2
329
+ [32] Richard S Sutton and Andrew G Barto. Reinforcement learning: An introduction. MIT press Cambridge, 1998. 2, 4
330
+ [33] Du Tran, Lubomir D Bourdev, Rob Fergus, Lorenzo Torresani, and Manohar Paluri. C3d: Generic features for video analysis. In ICCV, 2015. 1, 2, 3
331
+ [34] Du Tran, Heng Wang, Lorenzo Torresani, and Matt Feiszli. Video classification with channel-separated convolutional networks. In ICCV, 2019. 1, 2
332
+ [35] Du Tran, Heng Wang, Lorenzo Torresani, Jamie Ray, Yann LeCun, and Manohar Paluri. A closer look at spatiotemporal
333
+
334
+ convolutions for action recognition. In CVPR, 2018. 1, 2, 3, 5
335
+ [36] Burak Uzkent and Stefano Ermon. Learning when and where to zoom with deep reinforcement learning. In CVPR, 2020. 3, 7
336
+ [37] Andreas Veit and Serge Belongie. Convolutional networks with adaptive inference graphs. In ECCV, 2018. 3
337
+ [38] Limin Wang, Yuanjun Xiong, Zhe Wang, Yu Qiao, Dahua Lin, Xiaou Tang, and Luc Van Gool. Temporal segment networks for action recognition in videos. IEEE TPAMI. 2
338
+ [39] Xiaolong Wang, Ross Girshick, Abhinav Gupta, and Kaiming He. Non-local neural networks. In CVPR, 2018. 5, 7
339
+ [40] Xin Wang, Fisher Yu, Zi-Yi Dou, Trevor Darrell, and Joseph E Gonzalez. Skipnet: Learning dynamic routing in convolutional networks. In ECCV, 2018. 3
340
+ [41] Wenhao Wu, Dongliang He, Xiao Tan, Shifeng Chen, and Shilei Wen. Multi-agent reinforcement learning based frame sampling for effective untrimmed video recognition. In ICCV, 2019. 2, 3, 6
341
+ [42] Zuxuan Wu, Tushar Nagarajan, Abhishek Kumar, Steven Rennie, Larry S Davis, Kristen Grauman, and Rogerio Feris. Blockdrop: Dynamic inference paths in residual networks. In CVPR, 2018. 3
342
+ [43] Zuxuan Wu, Caiming Xiong, Chih-Yao Ma, Richard Socher, and Larry S Davis. Adaframe: Adaptive frame selection for fast video recognition. In CVPR, 2019. 2, 3, 6, 7
343
+ [44] Saining Xie, Chen Sun, Jonathan Huang, Zhuowen Tu, and Kevin Murphy. Rethinking spatiotemporal feature learning: Speed-accuracy trade-offs in video classification. In ECCV, 2018. 2, 3, 5, 7
344
+ [45] Ceyuan Yang, Yinghao Xu, Jianping Shi, Bo Dai, and Bolei Zhou. Temporal pyramid network for action recognition. In CVPR, 2020. 1, 3
345
+ [46] Le Yang, Yizeng Han, Xi Chen, Shiji Song, Jifeng Dai, and Gao Huang. Resolution adaptive networks for efficient inference. In CVPR, 2020. 3, 7
346
+ [47] Joe Yue-Hei Ng, Matthew Hausknecht, Sudheendra Vijayanarasimhan, Oriol Vinyals, Rajat Monga, and George Toderici. Beyond short snippets: Deep networks for video classification. In CVPR, 2015. 2
347
+ [48] Yin-Dong Zheng, Zhaoyang Liu, Tong Lu, and Limin Wang. Dynamic sampling networks for efficient action recognition in videos. IEEE TIP, 2020. 2
348
+ [49] Bolei Zhou, Alex Andonian, Aude Oliva, and Antonio Torralba. Temporal relational reasoning in videos. In ECCV, 2018. 2
349
+ [50] Mohammadreza Zolfaghari, Kamaljeet Singh, and Thomas Brox. Eco: Efficient convolutional network for online video understanding. In ECCV, 2018. 2
2dornot2dadaptive3dconvolutionselectionforefficientvideorecognition/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b869f8db8805b45b77fe2e3e25197afef6d1b745f1cbb3d14988a715fe2c947
3
+ size 467376
2dornot2dadaptive3dconvolutionselectionforefficientvideorecognition/layout.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72fac5da50b7cfbcf4aeaa8cc0bfd69f74f053c99954d56721c254364b9b78ad
3
+ size 441395
3daffordancenetabenchmarkforvisualobjectaffordanceunderstanding/b16c2ccd-146f-4dbe-8817-de5a37b2c862_content_list.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64f8ab0a7613b477d35f87c84eeb00faa7247c14de0ddb96983943e18be3e7ca
3
+ size 85727
3daffordancenetabenchmarkforvisualobjectaffordanceunderstanding/b16c2ccd-146f-4dbe-8817-de5a37b2c862_model.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ebed7dedb1dc1785f5db6e264bc14e302a4e2341e1d79ba03af5b17728d9635
3
+ size 99935
3daffordancenetabenchmarkforvisualobjectaffordanceunderstanding/b16c2ccd-146f-4dbe-8817-de5a37b2c862_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f60825cee5ce836681a35c293a64bf0676c33d0befbb783fe6888431dd34cf5
3
+ size 4594602
3daffordancenetabenchmarkforvisualobjectaffordanceunderstanding/full.md ADDED
@@ -0,0 +1,262 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 3D AffordanceNet: A Benchmark for Visual Object Affordance Understanding
2
+
3
+ Shengheng Deng $^{1,\ast}$ , Xun Xu $^{2,\ast}$ , Chaozheng Wu $^{1}$ , Ke Chen $^{1,4}$ and Kui Jia $^{1,3,4,\dagger}$ $^{1}$ South China University of Technology, $^{2}$ I2R, A-STAR
4
+ $^{3}$ Pazhou Laboratory, $^{4}$ Peng Cheng Laboratory
5
+
6
+ # Abstract
7
+
8
+ The ability to understand the ways to interact with objects from visual cues, a.k.a. visual affordance, is essential to vision-guided robotic research. This involves categorizing, segmenting and reasoning of visual affordance. Relevant studies in 2D and 2.5D image domains have been made previously, however, a truly functional understanding of object affordance requires learning and prediction in the 3D physical domain, which is still absent in the community. In this work, we present a 3D AffordanceNet dataset, a benchmark of 23k shapes from 23 semantic object categories, annotated with 18 visual affordance categories. Based on this dataset, we provide three benchmarking tasks for evaluating visual affordance understanding, including full-shape, partial-view and rotation-invariant affordance estimations. Three state-of-the-art point cloud deep learning networks are evaluated on all tasks. In addition we also investigate a semi-supervised learning setup to explore the possibility to benefit from unlabeled data. Comprehensive results on our contributed dataset show the promise of visual affordance understanding as a valuable yet challenging benchmark.
9
+
10
+ # 1. Introduction
11
+
12
+ The concept of affordance was first defined as what the environment offers the animal, introduced by [6]. Affordance understanding is concerned with the interactions between human and environment. For instance, human can sit on the chair, grasp a cup or lift a bag. Being able to understand the affordance of objects is crucial for robots to operate in dynamic and complex environments [8]. Many applications are supported by affordance understanding including, anticipating and predicting future actions[12, 10, 13], recognizing agent's activities[21, 4, 26], providing valid functionality of the objects[7], understanding social scene situations[2] and understanding the hidden values of the
13
+
14
+ ![](images/b5a77164b113d30d14295f8c8875a3b8a6020addaecac9a705df9f1069f5ea86.jpg)
15
+
16
+ ![](images/4a328e4662ba7f79020b3321c3a3d75d3c7d65cc00b3a5a67920f744c0751c0d.jpg)
17
+
18
+ ![](images/e3e38142a812b8e25b6e109535dd4074cc6d9f3a45dd5c67f49d6d8f6f052ff7.jpg)
19
+ Pour
20
+
21
+ ![](images/94ce0e44c56ef8a75d0e4643ea1923d27a630691b3f27d3bf2e41cba4d9cb204.jpg)
22
+ Grasp
23
+
24
+ ![](images/c4cf1ad8293c0006ef4bb948e539e30e67a3ae1af8195a6302c31d264898047c.jpg)
25
+ Figure 1. The 3D AffordanceNet dataset. The mesh was first annotated with affordance keypoints. Then we densely sample points and obtain the ground truth data via label propagation.
26
+
27
+ ![](images/ff211ddbd15d656bfc40a0a7121c4bef5ad6757aaa763a4fc15376672071ae4d.jpg)
28
+ Grasp
29
+
30
+ ![](images/96078f55f3f36a4d08f259003445e8d90d3477cf368218e8d2510156a6a23bb3.jpg)
31
+
32
+ ![](images/6bfcad16be47d4788bf77ea6752cb6f1c3805dcb324d438f6e4599403a4bca15.jpg)
33
+ Wrap-Grasp
34
+
35
+ ![](images/3c2e38c3880159374033cabf622004ab666283600856764bc3379e9923267f7e.jpg)
36
+
37
+ ![](images/ac011410bd074116c65b06723277bf240bd511731b70deb45b18e162472acffa.jpg)
38
+ Contain
39
+ Stab
40
+
41
+ ![](images/e2377f8b101a9dd562e10f5dbb75ebfe9071cae8d49478f347be44429d121d94.jpg)
42
+ Lift
43
+
44
+ objects[33]. Tasks including affordance categorization, reasoning, semantic labeling, activity recognition, etc. are defined as specific instantiations of affordance understanding [8]. Among all these we find semantic labeling [22, 33] is of the most importance because the ability to localize the position of possible affordance is highly desired by robotic research. We refer semantic labeling as affordance estimation throughout this paper.
45
+
46
+ The most important and proper modality for affordance understanding is through visual sensors [8]. Visual affordance understanding has been extensively studied recently with computer vision techniques. Many algorithms are built upon deep neural networks [19, 3, 23] thus require large labeled affordance dataset for benchmarking. Relevant datasets are developed for these purposes with data collected from 2D (RGB) sensors [32, 24, 22] or 2.5D (RGBD) sensors [18, 19, 23]. Nevertheless, we believe that the affordance understanding requires learning in the 3D domain which conveys the geometric properties. For example, the affordance of grasp is highly correlated with vertical structure with small perimeter and sittable is correlated with flat surface. Unfortunately, such detailed geometry is not captured by the existing 2D datasets while the 2.5 ones [19, 23] are often captured with small depth variation and do not carry enough geometric information.
47
+
48
+ To encourage research into visual affordance understanding in more realistic scenarios, a benchmark on real 3D dataset is highly desired. Therefore, we are inspired by PartNet[17], a recently proposed dataset containing the fine-grained part hierarchy information of 3D shapes based on the large-scale 3D CAD model dataset ShapeNet[1] and 3D Warehouse. Although PartNet mentioned affordance as potential application, there is still no benchmark purposely established for affordance yet. More importantly, we discover, via user annotations, that the human perceived affordance often do not fully overlap with the individual parts specified in PartNet dataset. For example, In the first row of Fig. 1, the Pour, Wrap-Grasp and Contain affordance from Mug do not perfectly match any part indicated by the colored image on the 1st column. Therefore, we believe it is necessary to provide a new set of affordance labels on the PartNet dataset.
49
+
50
+ Creating 3D visual affordance benchmark is challenging due to the subjective definition. We take into account the affordance definitions from existing research on visual affordance learning in 2D and 2.5D domains [8] and select possible interactions that one can take with 3D shapes from PartNet. Finally, 18 types of affordance were formally defined over 23 semantic objects. Additional challenge associated with annotation on 3D model is the scalability issue. In order to provide highly quality annotation on such a large scale, we use label propagation method to propagate affordance sparsely labeled on individual points. Eventually, we obtain point-wise probabilistic score of affordance for each individual shape in PartNet. We name the new benchmark 3D AffordanceNet to reflect the focus on visual affordance on 3D point cloud data.
51
+
52
+ 3D AffordanceNet enables benchmarking a diverse set of tasks, in particular, we put forward full-shape, partial-view and rotation-invariant affordance estimations. Three state-of-the-art point cloud deep learning networks are evaluated on all tasks. We also propose a semi-supervised affordance estimation method to take the advantage of large amount of unlabeled data for affordance estimation.
53
+
54
+ In summary, we make the following contributions:
55
+
56
+ - We introduce 3D AffordanceNet, consisting of 56307 well-defined affordance information annotations for 22949 shapes covering 18 affordance classes and 23 semantic object categories. To the best of our knowledge, this is the first large-scale dataset with well-defined probabilistic affordance score annotations;
57
+ - We propose three affordance learning tasks which are supported by 3D AffodanceNet to demonstrate the value of annotated data: full-shape affordance estimation, partial-view affordance estimation and rotation-invariant affordance estimation.
58
+
59
+ - We benchmark three baseline methods for proposed affordance learning tasks and further propose a semi-supervised affordance estimation method to take advantage of unlabeled data for affordance estimation.
60
+
61
+ # 2. Related Work
62
+
63
+ Affordance refers to the possible action an agent could make to interact with the environment [6]. Examples include a cup can afford 'pouring', a bed is 'sittable' and 'layable', etc. Affordance understanding is the core function in developing autonomous systems. In particular, the visual affordance understanding is the most promising way due to the rich information carried by visual sensors. We mainly review the recent development in visual affordance dataset and approaches, a detailed review can be found in [8]. Recent advances in visual affordance are mostly demonstrated on affordance recognition [7, 3], detection [3, 18] and segmentation [3, 18]. Beyond the low-level visual tasks, there is substantial attention on-the-rise paid to affordance reasoning, affordance-based activity recognition and social affordances. In this work we are interested in providing a benchmark for affordance segmentation, a.k.a. prediction, due to the clear definition and high demand in robotic applications.
64
+
65
+ To benchmark visual affordance segmentation, UMD [18], CAD120 [23] and IIT-AFF [19] are respectively developed recently. All datasets feature affordance segmentation on RGBD images covering from 10-20 objects, 6-9 affordance types and $3\mathrm{k} - 10\mathrm{k}$ labelled images. In particular, IAF-IIT and CAD120 capture complex scenes while UMD mainly focuses on well-controlled scenes. Nevertheless, none of these datasets carry the rich geometric properties of objects that robotic application would expect and only a single view-point is present. As a result, these datasets no longer pose challenges to modern computer vision techniques.
66
+
67
+ With the easy access to 3D point cloud data, e.g. collected from LiDAR and SFM, and potential application in robotics, atunomous driving, etc., there is a recent surge in research towards 3D point cloud. ShapeNet [1] collected 3D CAD models from open-sourced 3D repositories, with more than 3,000,000 models and 3,135 object categories. It was further developed by [29] for shape part segmentation. Partially motivated by affordance understanding, the subsequent PartNet dataset [17] was proposed with 26k objects, featuring fine-grained semantic segmentation task. Hierarchical segmentation was also addressed by a recursive part decomposition [31]. Though affordance is briefly mentioned as the motivation for creating above 3D shape datasets, to the best of our knowledge, there is no existing dataset which explicitly addresses the task of visual affordance prediction. The only known attempt on 3D shape functionality understanding [9] is still limited to a few types
68
+
69
+ ![](images/aed12d453bf31a6250996b74474a71dff15ac7a48330dc935af4cfb4d38c14c5.jpg)
70
+ Figure 2. The annotation workflow. The blue arrows indicate the annotation procedures, the green arrows refer to the corresponding 3D GUI actions. The annotators are first asked to determine the supported affordance classes and then select the functional points. The annotators need to confirm whether the adjacent parts support the same affordances.
71
+
72
+ of objects and did not make connection to the well-studied visual affordance understanding in 2D image domains. In contrast, we created a new benchmark for visual affordance estimation on 3D point cloud. The affordance types are selectively inherited from a summary of existing works and annotations are made on 3D point cloud data directly.
73
+
74
+ # 3. Dataset Construction
75
+
76
+ We present 3D AffordanceNet as a dataset for affordance estimation 3D point cloud. To construct this dataset, we first define a set of affordance types by referring to the existing visual affordance works [8]. Raw 3D shape data are collected from the shapes in PartNet [17] which covers common object types in typical indoor scenes. A question-answering 3D GUI is developed to collect raw point-wise annotation on mesh shapes. In total, we hired 42 professional annotators for annotations, the average annotation time per shape is 2 minutes and each shape is annotated by 3 annotators. Finally, label propagation is employed to obtain probabilistic ground-truth for the shape point cloud.
77
+
78
+ # 3.1. Affordance Type
79
+
80
+ We refer to [8] for a full review of affordance types adopted in visual affordance research. From the full list of possible affordances, we select those suitable for 3D objects present in PartNet [17] and remove the irrelevant ones, e.g. 'reachable' and 'carryable'. Overall, we filter out 18 categories of affordances, namely 'grasp', 'lift', 'contain', 'open', 'lay', 'sit', 'support', 'wrap-grasp', 'pour', 'display', 'push', 'pull', 'listen', 'wear', 'press', 'cut', 'stab', and 'move'. Then, we associate the affordance types to each category of object in PartNet according to its attributes and functionality that it can afford to interact with human or robot. For example, a chair is 'sitable' but not 'layable', a table can afford 'support' but not 'contain', etc. The affordances of each category are shown in Tab. 2. The annotators are allowed to freely determine where the affordance locates on the object, e.g. 'grasp' of bag can be annotated at its handle, webbing or straps. Notice that we allow the annotators to select the supported affordance for each shape,
81
+
82
+ thus some shapes may not have all affordances defined for its own shape category.
83
+
84
+ # 3.2. Annotation Interface
85
+
86
+ We created a web-based 3D GUI to collect raw annotations. The process of annotation is designed to be a question-answering workflow as illustrated in Fig. 2. A user is given one shape at a time visualized in 3D. Each individual parts are colored according to the pre-defined color map in PartNet dataset [17]. Annotators are allowed to freely rotate, translate and change the scale of the shape using mouse, which allow the annotators to observe the shape from more angles. After observation, annotators are first asked to determine the supported affordances by choosing from a list ('What affordances does this shape support?'). Considering that some annotators may not understand the affordances, we provide the explanation of each affordance on the interface. Annotators are then asked to select keypoints that support the specified affordance ('What points on the shape support the affordance?'). At least 3 keypoints will be labeled by one annotator for each affordance. Annotators will also decide whether the selected affordance will propagate beyond the part which the labeled keypoint sits on. If yes, annotators are asked to select eligible parts that the affordance can propagate to, otherwise, more annotations will be made on the same part until enough keypoints are collected.
87
+
88
+ The questions that the annotation interface proposes for each affordance directly determine how the annotators perceive the affordances. Therefore, we define questions carefully tailored for each affordance. Some questions are shown in Tab. 1. A complete list of affordance question is given in the supplementary material.
89
+
90
+ # 3.3. Ground-Truth Construction
91
+
92
+ After obtaining affordance keypoints, we propagate labels to all points on the shape to create ground-truth for downstream learning tasks. We first record the coordinates of the selected keypoints. We then propagate the labels to $N$ points densely sampled on the shape mesh surface, note
93
+
94
+ <table><tr><td>Affordance</td><td>Object</td><td>Question</td></tr><tr><td>Lay</td><td>Bed</td><td>If you were to lie on this bed, which points would you lie on the bed?</td></tr><tr><td>Grasp</td><td>Earphone</td><td>If you want to grab this earphone, where will your palm position be?</td></tr><tr><td>Lift</td><td>Bag</td><td>If you want to lift this bag, at which points are your finger most likely to carry the bag?</td></tr><tr><td>Sit</td><td>Chair</td><td>If you were sitting on this chair, on which points would you sit?</td></tr><tr><td>Move</td><td>Table</td><td>If you want to move this table, at which points on this table will you exert your strength?</td></tr><tr><td>Open</td><td>Trash Can</td><td>If you want to open the lid of this trash can, from which points on the trash can you open it?</td></tr><tr><td>Pour</td><td>Bottle</td><td>Suppose there is water in the bottle, and you want to pour the water out of the bottle. From which points on the bottle will the water flow out?</td></tr><tr><td>Press</td><td>Laptop</td><td>If you want to press keys on a computer keyboard, which points on the keyboard would you press?</td></tr><tr><td>Contain</td><td>Microwave</td><td>If you put something in the microwave, at which points in the microwave would you put the object?</td></tr><tr><td>Support</td><td>Table</td><td>If you want to put something on the table, at which points on the table would you put the object?</td></tr></table>
95
+
96
+ ![](images/a3f9d85cf36af5c5e37c3fc1eeb4116cd67cf8a770bc30027fba3a3a6afb113c.jpg)
97
+ Figure 3. The example of annotated data. Different affordances are shown in different colors, points annotated with multiple affordances are colored by the affordance that has the highest scores. The brighter the color, the higher the score.
98
+
99
+ that we only propagate on the parts that support the specific affordance that are recorded during user annotation. Formally, we construct a kNN graph on sampled points where the adjacency matrix $\mathbf{A}$ writes as,
100
+
101
+ $$
102
+ a _ {i j} = \left\{ \begin{array}{c c} \| \mathbf {v} _ {i} - \mathbf {v} _ {j} \| _ {2}, & \mathbf {v} _ {j} \in N N _ {k} (\mathbf {v} _ {i}) \\ 0, & \text {o t h e r w i s e} \end{array} \right. \tag {1}
103
+ $$
104
+
105
+ where $\mathbf{v}$ is the $xyz$ spatial coordinate of point and $NN_{k}$ denotes the set of $k$ nearest neighbors. The adjacency matrix is symmetrized by $\mathbf{W} = 1 / 2(\mathbf{A} + \mathbf{A}^{\top})$ . Then we normalize the adjacency matrix by $\widetilde{\mathbf{W}} = \mathbf{D}^{-0.5}\mathbf{W}\mathbf{D}^{-0.5}$ . where $\mathbf{D}$ is the degree matrix. Finally the scores $\mathbf{S}$ for all points is propagated by the closed-form solution $\mathbf{S} = (\mathbf{I} - \alpha \widetilde{\mathbf{W}}^{-1})\mathbf{Y}$ . where $\mathbf{Y} \in \{0,1\}^{N \times 18}$ is the one-hot label vector and 1 indicates positive label. $\alpha$ is a hyper-parameter controlling the decreasing speed of $\mathbf{S}$ , we empirically set $\alpha$ to 0.998 throughout the experiments. Finally we linearly normalize $\mathbf{S}$ to the range between 0 and 1 so that it is a probabilistic score. Example shapes with propagated affordance ground-truth are shown in Fig. 3.
106
+
107
+ # 3.4. Statistics
108
+
109
+ The final dataset provides well-defined visual affordance score map annotations for 22949 shapes from 23 shape categories with at most 5 affordance types defined for each category. From the perspective of affordance categories, 3D AffodanceNet contains 56307 affordance annotations from 18 affordance classes. It is worth noting that due to the multi-label nature, each point could be labeled with multiple affordances. More details of the dataset are presented in Tab. 2 and Tab. 3.
110
+
111
+ Table 1. Some examples of the proposed questions for affordance annotation.
112
+
113
+ <table><tr><td>Object</td><td>Affordance</td><td>Num</td></tr><tr><td>Bag</td><td>grasp, lift, contain, open</td><td>125</td></tr><tr><td>Bed</td><td>lay, sit, support</td><td>181</td></tr><tr><td>Bowl</td><td>contain, wrap-grasp, pour</td><td>187</td></tr><tr><td>Clock</td><td>display</td><td>524</td></tr><tr><td>Dishwasher</td><td>open, contain</td><td>166</td></tr><tr><td>Display</td><td>display</td><td>887</td></tr><tr><td>Door</td><td>open, push, pull</td><td>220</td></tr><tr><td>Earphone</td><td>grasp, listen</td><td>223</td></tr><tr><td>Faucet</td><td>grasp, open</td><td>628</td></tr><tr><td>Hat</td><td>grasp, wear</td><td>222</td></tr><tr><td>Storage Furniture</td><td>contain, open</td><td>2186</td></tr><tr><td>Keyboard</td><td>press</td><td>156</td></tr><tr><td>Knife</td><td>grasp, cut, stab</td><td>314</td></tr><tr><td>Laptop</td><td>display, press</td><td>421</td></tr><tr><td>Microwave</td><td>open, contain, support</td><td>184</td></tr><tr><td>Mug</td><td>contain, pour, wrap-grasp, grasp</td><td>190</td></tr><tr><td>Refrigerator</td><td>contain, open</td><td>185</td></tr><tr><td>Chair</td><td>sit, support, move</td><td>6113</td></tr><tr><td>Scissors</td><td>grasp, cut, stab</td><td>68</td></tr><tr><td>Table</td><td>support, move</td><td>7990</td></tr><tr><td>Trash Can</td><td>contain, pour, open</td><td>315</td></tr><tr><td>Vase</td><td>contain, pour, wrap-grasp</td><td>1048</td></tr><tr><td>Bottle</td><td>contain, open, wrap-grasp, grasp, pour</td><td>411</td></tr></table>
114
+
115
+ Table 2. 3D AffordanceNet statistics. The first column shows the object category. The second column shows the defined affordance classes for each category. The third column shows the amount of each shape semantic category.
116
+
117
+ # 4. Tasks and Benchmarks
118
+
119
+ In this section, we benchmark three tasks to demonstrate the 3D AffodanceNet dataset, namely, full-shape, partial-view and rotation-invariant affordance estimation. The 3D AffodanceNet dataset is split into train, validation and test
120
+
121
+ <table><tr><td></td><td>Support</td><td>Move</td><td>Sit</td><td>Contain</td><td>Open</td><td>Grasp</td><td>Pour</td><td>Display</td><td>Wrap-Grasp</td></tr><tr><td>#Annot</td><td>14848</td><td>14540</td><td>6516</td><td>5155</td><td>4506</td><td>2253</td><td>2086</td><td>1914</td><td>1889</td></tr><tr><td></td><td>Press</td><td>Cut</td><td>Stab</td><td>Wear</td><td>Listen</td><td>Pull</td><td>Push</td><td>Lay</td><td>Lift</td></tr><tr><td>#Annot</td><td>588</td><td>393</td><td>393</td><td>231</td><td>228</td><td>225</td><td>225</td><td>194</td><td>123</td></tr></table>
122
+
123
+ Table 3. The number of shapes that are positive for each category of affordance.
124
+
125
+ sets with a ratio of $70\%$ , $10\%$ and $20\%$ , respectively according to the shape semantic category. The first experiment estimates point-wise affordance given full 3D point cloud as input. The second experiment estimates the affordance of partially visible objects observed from different viewpoints. The last experiment estimates the affordance of rotated 3D objects under two different rotation settings. We also create a semi-supervised affordance estimation benchmark to explore the opportunity of exploiting unlabeled data for affordance estimation.
126
+
127
+ # 4.1. Full-Shape Affordance Estimation
128
+
129
+ Given an object as 3D point cloud without knowing the affordances supported by the object, the full-shape affordance estimation task aims to estimate the supported affordance type and predict the point-wise probabilistic score of affordance. We show that state-of-the-art 3D point cloud segmentation networks predict reasonable results on 3D AffordanceNet.
130
+
131
+ Network and Training. We evaluate three network architecture, namely PointNet++[20], DGCNN[27] and U-Net[28] for this task. To obtain the point-wise score, we utilized the segmentation branch of PointNet++ and DGCNN as shared backbones to extract features for each point, then for each affordance type, we pass the features through multiple classification heads and used a sigmoid function to obtain the posterior scores. The classification heads were set up for each affordance category individually while the backbone networks were shared. We use cross-entropy loss $L_{CE}$ for training the network as below,
132
+
133
+ $$
134
+ l _ {C E} = \frac {1}{N} \sum_ {i} ^ {M} \sum_ {j} ^ {N} - (1 - t _ {i j}) \log \left(1 - p _ {i j}\right) - t _ {i j} \log \left(p _ {i j}\right) \tag {2}
135
+ $$
136
+
137
+ where $M$ is the total number of affordance types, $N$ is the number of points within each shape, $s_{ij}$ is the ground truth score of $j$ th point of $i$ th affordance category and $p_{ij}$ is the predicted score.
138
+
139
+ Since the points with zero score account for a relatively large proportion of the total dataset, we further propose to use dice loss [15] to mitigate the imbalance issue. The dice loss $l_{DICE}$ is defined as:
140
+
141
+ $$
142
+ \begin{array}{l} l _ {D I C E} = \sum_ {i} ^ {M} 1 - \frac {\sum_ {j} ^ {N} s _ {i , j} p _ {i , j} + \epsilon}{\sum_ {j} ^ {N} s _ {i , j} + p _ {i , j} + \epsilon} \tag {3} \\ - \frac {\sum_ {j} ^ {N} (1 - s _ {i , j}) (1 - p _ {i , j}) + \epsilon}{\sum_ {j} ^ {N} 2 - s _ {i , j} - p _ {i , j} + \epsilon} \\ \end{array}
143
+ $$
144
+
145
+ Finally the loss function is defined as $l = l_{CE} + l_{DICE}$ . We train PointNet++ and DGCNN on the 3D AffordanceNet us-
146
+
147
+ ing the default training strategies and hyper-parameters described in respective papers[20, 27]. For Unet, we fine-tune the network initialized by the pre-trained weight provided by PointContrast[28].
148
+
149
+ Evaluation and Results. We evaluate four metrics for affordance estimation, including mean Average Precision (mAP) scores, mean squared error (MSE), Area Under ROC Curve (AUC) and average Intersection Over Union (aIoU). For AP, we calculate the Precision-Recall Curve and AP is calculated for each affordance. For AUC, we report the area under ROC Curve. For MSE, we calculate mean squared error of each affordance category and sum up the results from all affordance categories. For aIoU, we gradually tune up the threshold from 0 to 0.99 with 0.01 step to binarize the prediction, and the aIoU is the arithmetic average of all IoUs at each threshold. Except for the MSE, all the other metrics for each category are averaged over all shapes, a.k.a. macro-average. For each affordance category, the groundtruth map is binarized with 0.5 threshold before evaluation. The results are reported in Tab. 4 under the Full-Shape section and some qualitative examples from PointNet++ are selected and visualized in Fig. 4.
150
+
151
+ As shown in Tab. 4, the performances of three networks are close and all achieve a relatively low aIOU score, which indicates that affordance estimation is still a challenging task. Comparing the second row of Fig. 4 to corresponding ground truth, we found that PointNet++ produces some reasonable results. For example, the estimations of grasp on a bag are successfully localized on both the handles and the webbing. However, the results of pour on a bottle fail since the network predicts the scores mainly on the lid of the bottle rather than the body edge of the bottle where is the place that the water flow out. More qualitative examples are given in the supplementary.
152
+
153
+ Room for Performance Improvement The performances of PointNet++ and DGCNN on the tasks mentioned above are relatively weak. Hence, we evaluate the trained network on full-shape affordance estimation task over the training, validation and testing sets to investigate the room for performance improvement with results reported in Tab. 5. From the results we observe that both two networks still underfit, meaning that the proposed affordance estimation task is very challenging for existing point cloud analysis networks.
154
+
155
+ # 4.2. Partial-View Affordance Estimation
156
+
157
+ Although complete point clouds or meshes can provide detailed geometric information for affordance estimation, in real-world application scenarios, we can only expect partial view of 3D shapes, represented as partial point cloud. Therefore, another important task we are concerned with is to estimate the affordance from partial point cloud.
158
+
159
+ Network and Training. To obtain partial point clouds, we follow [11] to synthesize point cloud observed from certain
160
+
161
+ <table><tr><td>Full-shape</td><td>Avg</td><td>Grasp</td><td>Lift</td><td>Contain</td><td>Open</td><td>Lay</td><td>Sit</td><td>Support</td><td>Wrap.</td><td>Pour</td><td>Display</td><td>Push</td><td>Pull</td><td>Listen</td><td>Wear</td><td>Press</td><td>Move</td><td>Cut</td><td>Stab</td></tr><tr><td>P_mAP</td><td>48.0</td><td>43.4</td><td>75.1</td><td>56.9</td><td>46.6</td><td>63.0</td><td>81.1</td><td>52.5</td><td>19.0</td><td>46.9</td><td>59.3</td><td>20.5</td><td>37.9</td><td>41.6</td><td>20.4</td><td>31.4</td><td>35.3</td><td>41.1</td><td>90.9</td></tr><tr><td>P_AUC</td><td>87.4</td><td>82.8</td><td>97.1</td><td>89.3</td><td>90.6</td><td>92.6</td><td>96.0</td><td>89.7</td><td>72.6</td><td>89.2</td><td>90.6</td><td>83.1</td><td>85.3</td><td>85.9</td><td>67.9</td><td>90.9</td><td>79.0</td><td>91.4</td><td>98.8</td></tr><tr><td>P_alOU</td><td>19.3</td><td>15.7</td><td>41.2</td><td>22.2</td><td>20.2</td><td>30.0</td><td>38.1</td><td>17.5</td><td>4.0</td><td>18.2</td><td>25.6</td><td>6.5</td><td>12.7</td><td>14.0</td><td>6.5</td><td>11.2</td><td>8.5</td><td>15.2</td><td>40.9</td></tr><tr><td>P_MSE</td><td>0.059</td><td>0.003</td><td>0.0001</td><td>0.006</td><td>0.003</td><td>0.0005</td><td>0.005</td><td>0.012</td><td>0.002</td><td>0.002</td><td>0.0007</td><td>0.0007</td><td>0.0002</td><td>0.0006</td><td>0.0005</td><td>0.0006</td><td>0.021</td><td>0.0003</td><td>0.0001</td></tr><tr><td>D_mAP</td><td>46.4</td><td>43.9</td><td>85.2</td><td>57.6</td><td>51.8</td><td>12.3</td><td>80.9</td><td>54.0</td><td>20.7</td><td>47.7</td><td>65.5</td><td>20.5</td><td>40.5</td><td>36.0</td><td>18.3</td><td>34.2</td><td>35.5</td><td>40.2</td><td>91.4</td></tr><tr><td>D_AUC</td><td>85.5</td><td>82.5</td><td>98.7</td><td>89.9</td><td>91.6</td><td>50.1</td><td>96.1</td><td>90.2</td><td>74.6</td><td>89.2</td><td>92.1</td><td>85.0</td><td>89.7</td><td>86.1</td><td>61.9</td><td>91.8</td><td>78.9</td><td>91.7</td><td>98.7</td></tr><tr><td>D_alOU</td><td>17.8</td><td>13.9</td><td>40.2</td><td>21.6</td><td>25.4</td><td>1.0</td><td>34.9</td><td>18.8</td><td>5.6</td><td>17.7</td><td>32.1</td><td>5.5</td><td>11.8</td><td>11.9</td><td>5.9</td><td>14.8</td><td>9.9</td><td>14.5</td><td>35.4</td></tr><tr><td>D_MSE</td><td>0.08</td><td>0.003</td><td>0.0001</td><td>0.007</td><td>0.003</td><td>0.0006</td><td>0.006</td><td>0.013</td><td>0.007</td><td>0.005</td><td>0.002</td><td>0.002</td><td>0.0006</td><td>0.002</td><td>0.002</td><td>0.0007</td><td>0.025</td><td>0.0002</td><td>0.0001</td></tr><tr><td>U_mAP</td><td>47.4</td><td>42.6</td><td>75.7</td><td>56.6</td><td>45.9</td><td>60.6</td><td>80.8</td><td>53.7</td><td>19.1</td><td>45.0</td><td>61.5</td><td>19.7</td><td>36.5</td><td>37.4</td><td>20.4</td><td>33.9</td><td>35.2</td><td>39.8</td><td>89.0</td></tr><tr><td>U_AUC</td><td>86.3</td><td>79.8</td><td>94.3</td><td>88.8</td><td>88.5</td><td>88.2</td><td>95.8</td><td>89.7</td><td>72.9</td><td>87.1</td><td>90.2</td><td>81.4</td><td>84.0</td><td>82.9</td><td>70.3</td><td>91.6</td><td>79.2</td><td>90.8</td><td>98.5</td></tr><tr><td>U_alOU</td><td>19.7</td><td>13.7</td><td>41.2</td><td>22.4</td><td>20.8</td><td>29.4</td><td>37.3</td><td>18.6</td><td>4.7</td><td>18.3</td><td>32.4</td><td>6.2</td><td>13.0</td><td>13.1</td><td>4.4</td><td>14.5</td><td>9.2</td><td>14.2</td><td>41.5</td></tr><tr><td>U_MSE</td><td>0.063</td><td>0.003</td><td>0.0003</td><td>0.006</td><td>0.003</td><td>0.0006</td><td>0.005</td><td>0.014</td><td>0.002</td><td>0.002</td><td>0.002</td><td>0.0006</td><td>0.0002</td><td>0.0007</td><td>0.0003</td><td>0.0008</td><td>0.021</td><td>0.0002</td><td>0.0001</td></tr><tr><td>Partial</td><td>Avg</td><td>Grasp</td><td>Lift</td><td>Contain</td><td>Open</td><td>Lay</td><td>Sit</td><td>Support</td><td>Wrap.</td><td>Pour</td><td>Display</td><td>Push</td><td>Pull</td><td>Listen</td><td>Wear</td><td>Press</td><td>Move</td><td>Cut</td><td>Stab</td></tr><tr><td>P_mAP</td><td>45.7</td><td>43.2</td><td>80.6</td><td>41.9</td><td>48.5</td><td>52.6</td><td>69.8</td><td>45.5</td><td>20.0</td><td>47.0</td><td>52.5</td><td>24.1</td><td>36.5</td><td>42.1</td><td>15.3</td><td>30.7</td><td>37.8</td><td>43.3</td><td>92.6</td></tr><tr><td>P_AUC</td><td>85.2</td><td>81.2</td><td>96.2</td><td>83.3</td><td>87.9</td><td>86.7</td><td>95.0</td><td>86.5</td><td>71.3</td><td>88.4</td><td>85.2</td><td>84.9</td><td>86.1</td><td>84.2</td><td>64.1</td><td>84.7</td><td>79.6</td><td>90.2</td><td>98.8</td></tr><tr><td>P_alOU</td><td>16.9</td><td>14.4</td><td>45.6</td><td>13.2</td><td>21.6</td><td>25.2</td><td>31.0</td><td>11.2</td><td>3.6</td><td>17.8</td><td>19.3</td><td>5.7</td><td>11.5</td><td>13.4</td><td>2.4</td><td>12.4</td><td>6.2</td><td>13.5</td><td>37.8</td></tr><tr><td>P_MSE</td><td>0.062</td><td>0.003</td><td>0.0001</td><td>0.005</td><td>0.003</td><td>0.0006</td><td>0.004</td><td>0.013</td><td>0.002</td><td>0.002</td><td>0.002</td><td>0.0002</td><td>0.0001</td><td>0.0007</td><td>0.0004</td><td>0.0006</td><td>0.025</td><td>0.0003</td><td>0.0001</td></tr><tr><td>D_mAP</td><td>42.2</td><td>40.1</td><td>83.8</td><td>38.5</td><td>44.5</td><td>46.6</td><td>67.3</td><td>43.9</td><td>19.6</td><td>44.8</td><td>50.3</td><td>15.7</td><td>28.6</td><td>19.9</td><td>17.7</td><td>26.9</td><td>35.6</td><td>43.3</td><td>92.1</td></tr><tr><td>D_AUC</td><td>83.7</td><td>80.3</td><td>97.0</td><td>80.8</td><td>86.8</td><td>82.6</td><td>94.6</td><td>87.0</td><td>70</td><td>86.8</td><td>81.7</td><td>83.6</td><td>86.0</td><td>75</td><td>64.1</td><td>83.0</td><td>78.5</td><td>90.0</td><td>99.1</td></tr><tr><td>D_alOU</td><td>13.8</td><td>13.3</td><td>37.9</td><td>8.6</td><td>16.0</td><td>15.5</td><td>27.2</td><td>13.5</td><td>3.2</td><td>13.9</td><td>13.8</td><td>3.9</td><td>4.3</td><td>8.4</td><td>5.2</td><td>5.7</td><td>8.2</td><td>13.3</td><td>36.8</td></tr><tr><td>D_MSE</td><td>0.069</td><td>0.005</td><td>0.0002</td><td>0.005</td><td>0.004</td><td>0.0006</td><td>0.004</td><td>0.013</td><td>0.003</td><td>0.002</td><td>0.002</td><td>0.001</td><td>0.001</td><td>0.002</td><td>0.003</td><td>0.0004</td><td>0.022</td><td>0.0004</td><td>0.0001</td></tr><tr><td>U_mAP</td><td>43.0</td><td>40.8</td><td>73.2</td><td>41.2</td><td>47.6</td><td>44.6</td><td>68.9</td><td>45.3</td><td>18.5</td><td>45.2</td><td>53.2</td><td>19.5</td><td>29.6</td><td>38.9</td><td>11.1</td><td>29.6</td><td>36.7</td><td>39.1</td><td>90.8</td></tr><tr><td>U_AUC</td><td>83.2</td><td>78.9</td><td>94.6</td><td>81.7</td><td>87.1</td><td>80.4</td><td>94.5</td><td>87.0</td><td>69.3</td><td>87.5</td><td>84.4</td><td>80.9</td><td>79.2</td><td>84.2</td><td>56.4</td><td>84.9</td><td>77.7</td><td>89.3</td><td>98.7</td></tr><tr><td>U_alOU</td><td>16.8</td><td>14.7</td><td>38.1</td><td>15.0</td><td>21.1</td><td>20.8</td><td>33.5</td><td>14.4</td><td>4.3</td><td>18.9</td><td>20.4</td><td>5.3</td><td>8.2</td><td>10.9</td><td>1.0</td><td>14.7</td><td>9.0</td><td>15.9</td><td>35.8</td></tr><tr><td>U_MSE</td><td>0.065</td><td>0.003</td><td>0.0002</td><td>0.006</td><td>0.003</td><td>0.001</td><td>0.006</td><td>0.012</td><td>0.003</td><td>0.003</td><td>0.002</td><td>0.0003</td><td>0.0002</td><td>0.0003</td><td>0.0006</td><td>0.0008</td><td>0.022</td><td>0.0007</td><td>0.0002</td></tr><tr><td>Rotate z</td><td>Avg</td><td>Grasp</td><td>Lift</td><td>Contain</td><td>Open</td><td>Lay</td><td>Sit</td><td>Support</td><td>Wrap.</td><td>Pour</td><td>Display</td><td>Push</td><td>Pull</td><td>Listen</td><td>Wear</td><td>Press</td><td>Move</td><td>Cut</td><td>Stab</td></tr><tr><td>P_mAP</td><td>47.3</td><td>43.1</td><td>85.7</td><td>58.1</td><td>39.6</td><td>62.7</td><td>80.6</td><td>53.8</td><td>20.4</td><td>47.5</td><td>47.2</td><td>21.8</td><td>34.8</td><td>39.7</td><td>19.0</td><td>28.1</td><td>36.3</td><td>40.4</td><td>91.9</td></tr><tr><td>P_AUC</td><td>87.0</td><td>82.0</td><td>97.9</td><td>89.5</td><td>86.2</td><td>91.1</td><td>95.9</td><td>90.1</td><td>74.2</td><td>89.4</td><td>87.1</td><td>85.4</td><td>87.9</td><td>84.3</td><td>67.0</td><td>88.5</td><td>80.3</td><td>91.5</td><td>98.5</td></tr><tr><td>P_alOU</td><td>18.7</td><td>15.5</td><td>45.4</td><td>22.4</td><td>17.6</td><td>26.0</td><td>38.0</td><td>18.3</td><td>4.6</td><td>19.5</td><td>17.4</td><td>7.0</td><td>10.5</td><td>13.9</td><td>6.9</td><td>9.2</td><td>8.8</td><td>14.8</td><td>40.6</td></tr><tr><td>P_MSE</td><td>0.06</td><td>0.003</td><td>0.0001</td><td>0.006</td><td>0.003</td><td>0.0006</td><td>0.005</td><td>0.012</td><td>0.002</td><td>0.002</td><td>0.003</td><td>0.001</td><td>0.0003</td><td>0.0007</td><td>0.0007</td><td>0.0005</td><td>0.02</td><td>0.0003</td><td>0.0001</td></tr><tr><td>D_mAP</td><td>44.8</td><td>42.2</td><td>82.9</td><td>58.2</td><td>45.2</td><td>17.3</td><td>78.8</td><td>52.4</td><td>20.3</td><td>46.7</td><td>58.5</td><td>21.6</td><td>45.2</td><td>28.5</td><td>16.8</td><td>29.6</td><td>35.0</td><td>36.4</td><td>90.8</td></tr><tr><td>D_AUC</td><td>84.9</td><td>80.8</td><td>98.2</td><td>89.9</td><td>87.9</td><td>54.9</td><td>95.8</td><td>89.9</td><td>74.0</td><td>89.5</td><td>90.6</td><td>84.7</td><td>89.4</td><td>81.0</td><td>64.4</td><td>89.2</td><td>79.7</td><td>90.6</td><td>98.4</td></tr><tr><td>D_alOU</td><td>16.1</td><td>13.6</td><td>36.1</td><td>19.6</td><td>21.2</td><td>1.0</td><td>29.2</td><td>18.5</td><td>3.4</td><td>13.6</td><td>25.3</td><td>5.7</td><td>13.6</td><td>11.3</td><td>5.7</td><td>13.1</td><td>9.7</td><td>13.6</td><td>36.3</td></tr><tr><td>D_MSE</td><td>0.074</td><td>0.003</td><td>0.0001</td><td>0.007</td><td>0.003</td><td>0.0006</td><td>0.007</td><td>0.013</td><td>0.005</td><td>0.004</td><td>0.002</td><td>0.003</td><td>0.0008</td><td>0.002</td><td>0.002</td><td>0.0009</td><td>0.021</td><td>0.0004</td><td>0.0001</td></tr><tr><td>U_mAP</td><td>46.1</td><td>42.7</td><td>74.4</td><td>56.1</td><td>40.4</td><td>58.4</td><td>81.2</td><td>54.9</td><td>18.5</td><td>44.7</td><td>56.4</td><td>20.7</td><td>35.3</td><td>36.8</td><td>17.4</td><td>31.6</td><td>35.6</td><td>36.2</td><td>88.8</td></tr><tr><td>U_AUC</td><td>86.1</td><td>81.2</td><td>95.8</td><td>87.5</td><td>85.9</td><td>88.4</td><td>95.8</td><td>90.2</td><td>72.2</td><td>87.6</td><td>87.9</td><td>85.1</td><td>87.9</td><td>83.2</td><td>63.1</td><td>90.0</td><td>78.9</td><td>90.3</td><td>98.4</td></tr><tr><td>U_alOU</td><td>18.9</td><td>15.5</td><td>39.6</td><td>21.8</td><td>18.4</td><td>24.7</td><td>38.4</td><td>18.9</td><td>4.5</td><td>18.6</td><td>26.9</td><td>6.6</td><td>12.2</td><td>14.5</td><td>5.1</td><td>14.1</td><td>9.9</td><td>12.1</td><td>37.7</td></tr><tr><td>U_MSE</td><td>0.06</td><td>0.003</td><td>0.0001</td><td>0.006</td><td>0.003</td><td>0.0004</td><td>0.005</td><td>0.013</td><td>0.002</td><td>0.002</td><td>0.002</td><td>0.0007</td><td>0.0002</td><td>0.0008</td><td>0.0004</td><td>0.0008</td><td>0.021</td><td>0.0003</td><td>0.0001</td></tr><tr><td>Rotate SO(3)</td><td>Avg</td><td>Grasp</td><td>Lift</td><td>Contain</td><td>Open</td><td>Lay</td><td>Sit</td><td>Support</td><td>Wrap.</td><td>Pour</td><td>Display</td><td>Push</td><td>Pull</td><td>Listen</td><td>Wear</td><td>Press</td><td>Move</td><td>Cut</td><td>Stab</td></tr><tr><td>P_mAP</td><td>41.8</td><td>40.5</td><td>78.5</td><td>42.4</td><td>32.7</td><td>38.4</td><td>74.5</td><td>48.3</td><td>19.4</td><td>41.7</td><td>41.1</td><td>19.7</td><td>30.3</td><td>39.4</td><td>17.6</td><td>21.5</td><td>34.6</td><td>41.1</td><td>90.6</td></tr><tr><td>P_AUC</td><td>83.3</td><td>79.0</td><td>93.6</td><td>81.1</td><td>81.3</td><td>79.6</td><td>93.9</td><td>87.4</td><td>71.6</td><td>85.4</td><td>83.7</td><td>83.1</td><td>84.0</td><td>84.2</td><td>64.8</td><td>78.2</td><td>78.6</td><td>91.0</td><td>99.4</td></tr><tr><td>P_alOU</td><td>15.2</td><td>12.8</td><td>38.3</td><td>12.2</td><td>13.1</td><td>9.6</td><td>33.6</td><td>16.5</td><td>3.8</td><td>16.1</td><td>13.7</td><td>3.0</td><td>11.1</td><td>14.8</td><td>5.5</td><td>8.8</td><td>8.9</td><td>14.4</td><td>37.2</td></tr><tr><td>P_MSE</td><td>0.072</td><td>0.003</td><td>0.0001</td><td>0.008</td><td>0.003</td><td>0.0007</td><td>0.007</td><td>0.015</td><td>0.003</td><td>0.003</td><td>0.003</td><td>0.0002</td><td>0.0001</td><td>0.0006</td><td>0.002</td><td>0.0009</td><td>0.022</td><td>0.0006</td><td>0.0001</td></tr><tr><td>D_mAP</td><td>37.3</td><td>37.9</td><td>70.7</td><td>37.3</td><td>34.2</td><td>9.7</td><td>73.9</td><td>46.8</td><td>17.6</td><td>40.2</td><td>46.8</td><td>19.1</td><td>37.4</td><td>6.9</td><td>11.8</td><td>22.3</td><td>30.9</td><td>41.4</td><td>86.4</td></tr><tr><td>D_AUC</td><td>78.9</td><td>79.1</td><td>95.6</td><td>79.4</td><td>81.4</td><td>36.3</td><td>93.9</td><td>87.2</td><td>71.2</td><td>85.6</td><td>85.7</td><td>82.3</td><td>88.8</td><td>43.5</td><td>60.3</td><td>82.7</td><td>76.9</td><td>91.9</td><td>99.1</td></tr><tr><td>D_alOU</td><td>12.8</td><td>13.6</td><td>32.5</td><td>7.8</td><td>13.9</td><td>1.0</td><td>35.4</td><td>14.4</td><td>4.9</td><td>16.4</td><td>19.3</td><td>4.5</td><td>11.0</td><td>0.003</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>D_MSE</td><td>0.08</td><td>0.004</td><td>0.0002</td><td>0.007</td><td>0.003</td><td>0.0006</td><td>0.007</td><td>0.015</td><td>0.005</td><td>0.004</td><td>0.005</td><td>0.002</td><td>0.0005</td><td>0.0004</td><td>0.0006</td><td>0.009</td><td>0.022</td><td>0.0007</td><td>0.0002</td></tr><tr><td>U_mAP</td><td>37.9</td><td>37.0</td><td>61.2</td><td>38.0</td><td>29.8</td><td>34.0</td><td>77.4</td><td>49.9</td><td>16.4</td><td>39.3</td><td>42.6</td><td>14.8</td><td>24.7</td><td>35.7</td><td>8.6</td><td>20.1</td><td>31.8</td><td>36.9</td><td>83.3</td></tr><tr><td>U_AUC</td><td>80.9</td><td>76.9</td><td>90.5</td><td>79.5</td><td>77.7</td><td>78.1</td><td>94.1</td><td>87.8</td><td>67.9</td><td>82.7</td><td>81.9</td><td>78.1</td><td>83.5</td><td>83.7</td><td>52.5</td><td>76.6</td><td>77.1</td><td>89.6</td><td>99.0</td></tr><tr><td>U_alOU</td><td>12.0</td><td>15.3</td><td>8.2</td><td>10.8</td><td>10.7</td><td>5.4</td><td>35.8</td><td>16.2</td><td>2.7</td><td>12.7</td><td>15.8</td><td>1.0</td><td>4.3</td><td>12.3</td><td>1.0</td><td>7.3</td><td>7.9</td><td>11.9</td><td>35.8</td></tr><tr><td>U_MSE</td><td>0.07</td><td>0.005</td><td>0.0001</td><td>0.008</td><td>0.003</td><td>0.0005</td><td>0.006</td><td>0.013</td><td>0.003</td><td>0.003</td><td>0.004</td><td>0.0002</td><td>0.0001</td><td>0.0004</td><td>0.0004</td><td>0.0008</td><td>0.022</td><td>0.0003</td><td>0.0001</td></tr></table>
162
+
163
+ Table 4. Affordance Estimation Results. Except for the MSE results, others are shown in percentage, the higher the scores the higher the results. Algorithm P, D and U represent PointNet++[20], DGCNN[27] and U-Net[28] respectively. The words Full-Shape, Partial, Rotate $z$ and Rotate SO(3) represent the full-shape, partial, $z/z$ and $SO(3)/SO(3)$ rotation-invariant affordance estimation, respectively.
164
+
165
+ <table><tr><td></td><td>mAP</td><td>AUC</td><td>aIOU</td><td>MSE</td><td>Loss</td><td></td><td>mAP</td><td>AUC</td><td>aIOU</td><td>MSE</td><td>Loss</td></tr><tr><td>P Train</td><td>52.3</td><td>89.8</td><td>21.7</td><td>0.054</td><td>8.75</td><td>D Train</td><td>51.7</td><td>89.1</td><td>21.2</td><td>0.061</td><td>8.83</td></tr><tr><td>P Val</td><td>48.2</td><td>88.0</td><td>19.2</td><td>0.057</td><td>8.81</td><td>D Val</td><td>47.8</td><td>85.8</td><td>17.5</td><td>0.075</td><td>8.91</td></tr><tr><td>P Test</td><td>48.0</td><td>87.4</td><td>19.3</td><td>0.059</td><td>8.83</td><td>D Test</td><td>46.4</td><td>85.5</td><td>17.8</td><td>0.08</td><td>8.93</td></tr></table>
166
+
167
+ Table 5. The performances of two different networks on full-shape affordance estimation task over train, validate and test sets. P represents PointNet++ and D refers to DGCNN.
168
+
169
+ camera viewpoints. Only points directly facing the camera will be preserved as visible points and each point is assigned a radius to create occlusion effect. In specific, because all shapes are well aligned within the $(-1,-1,-1)$ to $(1,1,1)$ cube, we set up 4 affine cameras located at $(1,1,1)$ , $(-1,-1,1)$ , $(1,-1,-1)$ , $(-1,1,-1)$ in Cartesian coordinate system, facing towards the origin. After obtaining the partial point clouds, we sample 2048 points from each viewpoint via furthest point sampling, if the number of points of the point cloud is fewer than 2048, we utilize the point cloud up-sampling method proposed in [30] to up-sample the data. We use ex
170
+
171
+ actly the same backbone networks and training strategies described in previous sections.
172
+
173
+ Evaluation and Results. During testing stage, we estimate the affordance on the visible partial point cloud only. The evaluation protocol follows the one described in Section 4.1. All evaluation metrics are reported in Tab. 4 with qualitative results from PointNet++ shown in Fig. 4.
174
+
175
+ Unsurprisingly, the quantitative performances of three networks have decreased due to the loss of geometric information of partial point cloud relative to complete point cloud. Nevertheless, we still observe reasonable qualitative results even though only a partial view is observed. For instance, the network produces high prediction for move on the upside of the legs of a table despite the unseen parts of the legs. The grasp for bag, hear for earphone, sit for chair, etc., are all more-or-less correctly predicted. In contrast, the estimation for contain on storage furniture are par
176
+
177
+ ![](images/081221030ac1c33bc4dea46934233978fd6fdcf92b74431334f6424b3226ea17.jpg)
178
+ Figure 4. Qualitative results for affordance estimation. The top row shows the ground truth. The second row shows the full-shape estimated results, the third row shows the partial-view estimated result, the fourth and the bottom row show the $z/z$ and $SO(3)/SO(3)$ rotation-invariant estimated results, respectively. All results come from PointNet++. The top words indicate the semantic category of each column and the bottom words indicate the affordance category. The greener the color of the points, the higher the confidence about specific affordance types. Wrap is the abbreviation of Wrap-Grasp.
179
+
180
+ tially missing since it predicts the scores on the top of the furniture which is not fully observed.
181
+
182
+ # 4.3. Rotation-Invariant Affordance Estimation
183
+
184
+ The shapes in 3D AffordanceNet are all aligned in canonical poses, however, the data observed by sensors in real world are not always in canonical poses. The difference in rotation between real data and training data will lead to a performance drop in real-world usage which inspired research into rotation equivariant network [5]. Hence, it is critical to train the algorithms to estimate affordance on rotated objects. In this section, we provide a benchmark for affordance estimation subject to two types of rotations.
185
+
186
+ Network and Training. We used the same backbone networks, training strategies and hyper-parameters described in the Sect. 4.1. We propose two different rotation settings for experiment: $z/z$ and $SO(3)/SO(3)$ where $z/z$ means rotation is applied along $z$ axis only for both training and inference stages while $SO(3)/SO(3)$ refers to $SO(3)$ rotation, i.e. freely rotation along $x, y$ and $z$ axes. During training session, we randomly sample rotation poses between $[0,2\pi]$ for each shape in the training mini-batch on-the-fly. We train proposed methods on complete point cloud. For testing phase, we randomly sample 5 rotation poses for each shape for both rotation settings and fix the sampled rotations for testing data.
187
+
188
+ Evaluation and Results. We calculate mAP, AUC, aIOU
189
+
190
+ on the proposed methods. Quantitative results are presented in Tab. 4 and qualitative results are shown in the fourth and fifth rows of Fig. 4 for $z / z$ and $SO(3) / SO(3)$ settings with PointNet++ as backbone. We observe that the performances on both $z / z$ and $SO(3) / SO(3)$ settings dropped compared to canonical view experiments. In particular, for $z / z$ setting, the performance dropped around $1\%$ in all metrics for all networks as backbone. While more significant loss of performance is observed for $SO(3) / SO(3)$ setting with $5 - 10\%$ drop in all metrics. This is aligned with our expectation that $SO(3) / SO(3)$ is a much more challenging task. We further make observations from the qualitative results in Fig. 4. First, under $z / z$ rotation scheme, despite the consistent performance drop, affordance estimations are largely correct across most categories. Obvious mistakes are made in bottle and microwave where the former missed the tip which supports pour while the latter mistakenly predict the while door of microwave for open. Under the more challenging $SO(3) / SO(3)$ scheme, there is still a visually satisfying results for most shapes. The most prominent error is made on storage furniture where contain is totally missed, probably because the complex geometric structure (many concave shapes) renders contain a hard affordance to learn under arbitrary rotation. In general, we believe affordance estimation under $SO(3) / SO(3)$ a very challenging task and it deserves further investigation.
191
+
192
+ <table><tr><td>VAT</td><td>Avg</td><td>Grasp</td><td>Lift</td><td>Contain</td><td>Open</td><td>Lay</td><td>Sit</td><td>Support</td><td>Wrap.</td><td>Pour</td><td>Display</td><td>Push</td><td>Pull</td><td>Listen</td><td>Wear</td><td>Press</td><td>Move</td><td>Cut</td><td>Stab</td></tr><tr><td>mAP</td><td>36.6</td><td>34.8</td><td>78.8</td><td>44.3</td><td>22.6</td><td>34.9</td><td>64.8</td><td>41.4</td><td>13.3</td><td>41.5</td><td>58.9</td><td>13.5</td><td>8.3</td><td>20.5</td><td>8.5</td><td>29.5</td><td>19.4</td><td>33.1</td><td>90.2</td></tr><tr><td>AUC</td><td>78.8</td><td>75.8</td><td>95.3</td><td>78.4</td><td>79.2</td><td>71.2</td><td>92.4</td><td>86.7</td><td>56.5</td><td>83.7</td><td>89.9</td><td>69.0</td><td>74.8</td><td>74.1</td><td>51.4</td><td>88.8</td><td>62.7</td><td>89.3</td><td>99.1</td></tr><tr><td>aIOU</td><td>11.2</td><td>12.7</td><td>20.3</td><td>14.2</td><td>4.8</td><td>6.4</td><td>16.9</td><td>7.7</td><td>5.1</td><td>17.6</td><td>30.2</td><td>2.5</td><td>1.1</td><td>8.4</td><td>3.6</td><td>12.8</td><td>2.9</td><td>9.5</td><td>24.3</td></tr><tr><td>MSE</td><td>0.155</td><td>0.007</td><td>0.0001</td><td>0.02</td><td>0.006</td><td>0.0007</td><td>0.012</td><td>0.023</td><td>0.023</td><td>0.007</td><td>0.008</td><td>0.0003</td><td>0.0001</td><td>0.002</td><td>0.002</td><td>0.005</td><td>0.034</td><td>0.004</td><td>0.0003</td></tr><tr><td>Full-Shape</td><td>Avg</td><td>Grasp</td><td>Lift</td><td>Contain</td><td>Open</td><td>Lay</td><td>Sit</td><td>Support</td><td>Wrap.</td><td>Pour</td><td>Display</td><td>Push</td><td>Pull</td><td>Listen</td><td>Wear</td><td>Press</td><td>Move</td><td>Cut</td><td>Stab</td></tr><tr><td>mAP</td><td>34.3</td><td>34.5</td><td>77.9</td><td>42.3</td><td>18.2</td><td>36.5</td><td>62.9</td><td>38.8</td><td>11.2</td><td>38.9</td><td>53.3</td><td>13.4</td><td>7.3</td><td>9</td><td>6.7</td><td>24.5</td><td>17.4</td><td>35.8</td><td>89.5</td></tr><tr><td>AUC</td><td>77.5</td><td>75.4</td><td>94.8</td><td>78.1</td><td>75.7</td><td>73.3</td><td>92.1</td><td>85.8</td><td>54.4</td><td>82.1</td><td>87.5</td><td>74.5</td><td>77.4</td><td>61.6</td><td>46.7</td><td>83.4</td><td>64.1</td><td>89.8</td><td>98.9</td></tr><tr><td>aIOU</td><td>9.8</td><td>11.2</td><td>28.1</td><td>14.3</td><td>2.5</td><td>10.0</td><td>23.4</td><td>9.8</td><td>2.2</td><td>7.5</td><td>19.9</td><td>1.9</td><td>1.0</td><td>1.6</td><td>1.6</td><td>6.8</td><td>2.3</td><td>5.6</td><td>26.5</td></tr><tr><td>MSE</td><td>0.105</td><td>0.009</td><td>0.0002</td><td>0.013</td><td>0.003</td><td>0.001</td><td>0.013</td><td>0.021</td><td>0.004</td><td>0.003</td><td>0.003</td><td>0.0002</td><td>0.0001</td><td>0.0004</td><td>0.001</td><td>0.0008</td><td>0.031</td><td>0.0007</td><td>0.0001</td></tr></table>
193
+
194
+ Table 6. The Results of Semi-Supervised Affordance Estimation. All numbers are in % except for MSE. We only implement semi-supervised affordance estimation on DGCNN. The words Full-Shape and VAT represent full-shape estimation and semi-supervised affordance estimation with virtual adversarial training. Wrap. is the abbreviation of Wrap-Grasp.
195
+
196
+ # 4.4. Semi-Supervised Affordance Estimation
197
+
198
+ Although the label propagation procedure allows the annotators to only annotate a few keypoints on the object surface, affordance annotation still remains as an expensive and labor intensive procedure. Inspired by the recent success in semi-supervised learning (SSL) [14, 25, 16] we establish a benchmark for semi-supervised affordance estimation. We synthesize a semi-supervised setting by randomly sampling $1\%$ training data, assumed to be labeled, and the rest are assumed to be unlabeled data. The validation and testing sets are kept the same with standard benchmarks.
199
+
200
+ Network and Training. We utilize DGCNN[27] as our backbone. During every mini-batch in the training stage, we randomly sample a equal number of labeled data $\mathbf{X}_l$ and unlabeled data $\mathbf{X}_{ul}$ . To fully exploit the unlabeled data, we employ a state-of-the-art semi-supervised learning framework, namely Virtual Adversarial Training (VAT) [16]. It encourages the consistency between the posterior of unlabeled sample and its augmentation, measured by mean square error,
201
+
202
+ $$
203
+ l _ {m s e} = \frac {1}{N} \sum_ {i} ^ {M} \sum_ {j} ^ {N} \left\| p _ {i, j} - \hat {p} _ {i, j} \right\| _ {2} ^ {2} \tag {4}
204
+ $$
205
+
206
+ where $\hat{p}_{i,j}$ is the posterior prediction for augmented sample. To best exploit the consistency power, the augmentation is obtained by first applying a one step adversarial attack, the corresponding adversarial perturbation is then added to the original point cloud to produce the augmentation. Finally, the total loss for semi-supervised affordance estimation combines both losses defined for labeled data and unlabeled data.
207
+
208
+ $$
209
+ l = l _ {C E} + l _ {D I C E} + l _ {m s e} ^ {l} + l _ {m s e} ^ {u} \tag {5}
210
+ $$
211
+
212
+ where $l_{mse}^{l}$ and $l_{mse}^{u}$ is the mean square error (MSE) calculated between labeled and unlabeled data, respectively. We compare the semi-supervised approach against a fully supervised baseline which is trained on the $1\%$ labeled data alone with cross-entropy and dice loss. We use a mini-batch of 16, 8 for labeled data and 8 for unlabeled data, and follow the same training strategies and hyper-parameters described in [16]. We train a full-shape affordance estimation method based on DGCNN only on the labelled data following the description in Sect. 4.1.
213
+
214
+ Evaluation and Results We evaluated the methods following the metrics described in Sect. 4.1 with results reported in Tab. 6. Comparing the performance of semi-supervised affordance estimation to the full-shape one, we found that semi-supervised affordance estimation outperforms the fully supervised baseline on all three metrics. Specifically, the gains for some affordance categories (e.g. open) that have low metrics on full-shape affordance estimation are high, which indicates that unlabeled data can provide useful information for affordance learning. In conclusion, we believe that exploiting unlabeled data to improve the performance has practical value and should receive more attention in the future.
215
+
216
+ # 5. Conclusion
217
+
218
+ In this work, we proposed 3D AffordanceNet, a 3D point cloud benchmark consisting of 22949 shapes from 23 semantic object categories, annotated with 56307 affordance annotations and covering 18 visual affordance categories. Based on this dataset, we define three individual affordance estimation tasks and benchmarked three state-of-the-art point cloud deep learning networks. The results suggested future research is required to achieve better performance on difficult affordance categories and under SO(3) rotation. Furthermore, we proposed a semi-supervised affordance estimation method to take advantage of large amount of unlabeled data. The proposed dataset encourages the community to focus on affordance estimation research.
219
+
220
+ Acknowledgement This work was supported in part by the National Natural Science Foundation of China (Grant No.: 61771201, 61902131), the Program for Guangdong Introducing Innovative and Entrepreneurial Teams (Grant No.: 2017ZT07X183), and the Guangdong R&D key project of China (Grant No.: 2019B010155001). Xun Xu acknowledges the A*STAR Career Development Award (CDA) Funding for providing financial support (Grant No. 202D8243).
221
+
222
+ # References
223
+
224
+ [1] Angel X Chang, Thomas Funkhouser, Leonidas Guibas, Pat Hanrahan, Qixing Huang, Zimo Li, Silvio Savarese, Manolis Savva, Shuran Song, Hao Su, et al. Shapenet:
225
+
226
+ An information-rich 3d model repository. arXiv preprint arXiv:1512.03012, 2015.
227
+ [2] Ching-Yao Chuang, Jiaman Li, Antonio Torralba, and Sanja Fidler. Learning to act properly: Predicting and explaining affordances from images. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2018.
228
+ [3] Thanh-Toan Do, Anh Nguyen, and Ian Reid. Affordancenet: An end-to-end deep learning approach for object affordance detection. In IEEE International Conference on Robotics and Automation, 2018.
229
+ [4] Jay Earley. An efficient context-free parsing algorithm. Communications of the ACM, 1970.
230
+ [5] Carlos Esteves, Christine Allen-Blanchette, Ameesh Makadia, and Kostas Daniilidis. Learning so (3) equivariant representations with spherical cnns. In Proceedings of the European Conference on Computer Vision, 2018.
231
+ [6] J Gibson James. The ecological approach to visual perception, 1979.
232
+ [7] Helmut Grabner, Juergen Gall, and Luc Van Gool. What makes a chair a chair? In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2011.
233
+ [8] Mohammed Hassanin, Salman Khan, and Murat Tahtali. Visual affordance and function understanding: A survey. arXiv preprint arXiv:1807.06775, 2018.
234
+ [9] Ruizhen Hu, Oliver van Kaick, Bojian Wu, Hui Huang, Ariel Shamir, and Hao Zhang. Learning how objects function via co-analysis of interactions. ACM Transactions on Graphics, 2016.
235
+ [10] Ashesh Jain, Amir R Zamir, Silvio Savarese, and Ashutosh Saxena. Structural-rnn: Deep learning on spatio-temporal graphs. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2016.
236
+ [11] Sagi Katz, Ayellet Tal, and Ronen Basri. Direct visibility of point sets. In ACM Special Interest Group on GRAPHics and Interactive Techniques 2007 papers. 2007.
237
+ [12] Hema Swetha Koppula, Rudhir Gupta, and Ashutosh Saxena. Learning human activities and object affordances from rgb-d videos. The International Journal of Robotics Research, 2013.
238
+ [13] Hema S Koppula and Ashutosh Saxena. Anticipating human activities using object affordances for reactive robotic response. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2015.
239
+ [14] Samuli Laine and Timo Aila. Temporal ensembling for semi-supervised learning. International Conference on Learning Representations, 2017.
240
+ [15] Fausto Milletari, Nassir Navab, and Seyed-Ahmad Ahmadi. V-net: Fully convolutional neural networks for volumetric medical image segmentation. In 2016 fourth international conference on 3D vision, 2016.
241
+ [16] Takeru Miyato, Shin-ichi Maeda, Masanori Koyama, and Shin Ishii. Virtual adversarial training: a regularization method for supervised and semi-supervised learning. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2018.
242
+ [17] Kaichun Mo, Shilin Zhu, Angel X Chang, Li Yi, Subarna Tripathi, Leonidas J Guibas, and Hao Su. Partnet: A large-scale benchmark for fine-grained and hierarchical part-level
243
+
244
+ 3d object understanding. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2019.
245
+ [18] Austin Myers, Ching L Teo, Cornelia Fermüller, and Yiannis Aloimonos. Affordance detection of tool parts from geometric features. In IEEE International Conference on Robotics and Automation, 2015.
246
+ [19] Anh Nguyen, Dimitrios Kanoulas, Darwin G Caldwell, and Nikos G Tsagarakis. Object-based affordances detection with convolutional neural networks and dense conditional random fields. In IEEE/RSJ International Conference on Intelligent Robots and Systems, 2017.
247
+ [20] 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, 2017.
248
+ [21] Siyuan Qi, Siyuan Huang, Ping Wei, and Song-Chun Zhu. Predicting human activities using stochastic grammar. In Proceedings of the IEEE International Conference on Computer Vision, 2017.
249
+ [22] Anirban Roy and Sinisa Todorovic. A multi-scale cnn for affordance segmentation in rgb images. In Proceedings of the European Conference on Computer Vision, 2016.
250
+ [23] Johann Sawatzky, Abhilash Srikantha, and Juergen Gall. Weakly supervised affordance detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2017.
251
+ [24] Hyun Oh Song, Mario Fritz, Daniel Goehring, and Trevor Darrell. Learning to detect visual grasp affordance. IEEE Transactions on Automation Science and Engineering, 2015.
252
+ [25] Antti Tarvainen and Harri Valpola. Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results. In Advances in neural information processing systems, 2017.
253
+ [26] Tuan-Hung Vu, Catherine Olsson, Ivan Laptev, Aude Oliva, and Josef Sivic. Predicting actions from static scenes. In Proceedings of the European Conference on Computer Vision, 2014.
254
+ [27] 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, 2019.
255
+ [28] Saining Xie, Jiatao Gu, Demi Guo, Charles R Qi, Leonidas Guibas, and Or Litany. Pointcontrast: Unsupervised pretraining for 3d point cloud understanding. In Proceedings of the European Conference on Computer Vision, 2020.
256
+ [29] 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. ACM Transactions on Graphics, 2016.
257
+ [30] Wang Yifan, Shihao Wu, Hui Huang, Daniel Cohen-Or, and Olga Sorkine-Hornung. Patch-based progressive 3d point set upsampling. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2019.
258
+ [31] Fenggen Yu, Kun Liu, Yan Zhang, Chenyang Zhu, and Kai Xu. Partnet: A recursive part decomposition network for
259
+
260
+ fine-grained and hierarchical shape segmentation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2019.
261
+ [32] Bolei Zhou, Hang Zhao, Xavier Puig, Tete Xiao, Sanja Fidler, Adela Barriuso, and Antonio Torralba. Semantic understanding of scenes through the ade20k dataset. International Journal of Computer Vision, 2019.
262
+ [33] Yixin Zhu, Yibiao Zhao, and Song Chun Zhu. Understanding tools: Task-oriented object modeling, learning and recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2015.
3daffordancenetabenchmarkforvisualobjectaffordanceunderstanding/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f20e34c46bc225c23a8fdf76073fa5ade056533b2c55aac0ffcb2097c154b781
3
+ size 960608
3daffordancenetabenchmarkforvisualobjectaffordanceunderstanding/layout.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38f324bedbe9ad5ad46944b8bba21d239643fe1474871e4ac73262831e4c5dbc
3
+ size 345774
3dcaricshopadatasetandabaselinemethodforsingleview3dcaricaturefacereconstruction/85d55175-828d-4858-9618-8afc0d9c4444_content_list.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a382a078533f8de060ee3a95d155ba464cf4fdf51f5d64d15ee91b0cb60be2a
3
+ size 80696
3dcaricshopadatasetandabaselinemethodforsingleview3dcaricaturefacereconstruction/85d55175-828d-4858-9618-8afc0d9c4444_model.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7fce999142f5295c214efc37b3c055573800c310a0c129ebaee01796d82c613c
3
+ size 100073
3dcaricshopadatasetandabaselinemethodforsingleview3dcaricaturefacereconstruction/85d55175-828d-4858-9618-8afc0d9c4444_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec4443558923c0ad0b8aa6dfde75fba18f690132cc11c73193a25a79491e8038
3
+ size 3243903
3dcaricshopadatasetandabaselinemethodforsingleview3dcaricaturefacereconstruction/full.md ADDED
@@ -0,0 +1,348 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 3DCaricShop: A Dataset and A Baseline Method for Single-view 3D Caricature Face Reconstruction
2
+
3
+ Yuda Qiu
4
+
5
+ Xiaojie $\mathbf{X}\mathbf{u}^{1}$
6
+
7
+ Lingteng Qiu
8
+
9
+ Yan Pan
10
+
11
+ Yushuang Wu
12
+
13
+ Weikai Chen
14
+
15
+ Xiaoguang Han $^{1,*}$
16
+
17
+ $^{1}$ SRIBD, The Chinese University of Hong Kong, Shenzhen† $^{2}$ Tencent Game AI Research Center
18
+
19
+ # Abstract
20
+
21
+ Caricature is an artistic representation that deliberately exaggerates the distinctive features of a human face to convey humor or sarcasm. However, reconstructing a 3D caricature from a 2D caricature image remains a challenging task, mostly due to the lack of data. We propose to fill this gap by introducing 3DCaricShop, the first large-scale 3D caricature dataset that contains 2000 high-quality diversified 3D caricatures manually crafted by professional artists. 3DCaricShop also provides rich annotations including a paired 2D caricature image, camera parameters and 3D facial landmarks. To demonstrate the advantage of 3DCaricShop, we present a novel baseline approach for single-view 3D caricature reconstruction. To ensure a faithful reconstruction with plausible face deformations, we propose to connect the good ends of the detail-rich implicit functions and the parametric mesh representations. In particular, we first register a template mesh to the output of the implicit generator and iteratively project the registration result onto a pre-trained PCA space to resolve artifacts and self-intersections. To deal with the large deformation during non-rigid registration, we propose a novel view-collaborative graph convolution network (VC-GCN) to extract key points from the implicit mesh for accurate alignment. Our method is able to generate high-fidelity 3D caricature in a pre-defined mesh topology that is animation-ready. Extensive experiments have been conducted on 3DCaricShop to verify the significance of the database and the effectiveness of the proposed method. We will release 3DCaricShop upon publication.
22
+
23
+ # 1. Introduction
24
+
25
+ A caricature is a vivid art form of depicting persons by abstracting or exaggerating the peculiarities of the facial features. As a way to convey humor or sarcasm, caricatures
26
+
27
+ ![](images/f13fdb0cb8b2c06096c73fc050b27dd793f915e7e36ae805e754a02ad6860bdd.jpg)
28
+ Figure 1: Left: the proposed 3DCaricShop, a large-scale repository of 3D caricatures that are manually crafted by professional artists. It's richly annotated with 2D caricature images, camera parameters, and 3D facial landmarks. Right: the proposed baseline method that sets the new state of the art in single-view 3D caricature reconstruction.
29
+
30
+ ![](images/e656b4e07e916411305595c4dee4b99a3fd1db8debc2157ab13aae3589c52583.jpg)
31
+
32
+ are widely used in entertainment, social events, electronic games and a variety of artistic creations. While 2D caricatures have gained popularity in comic graphics, there exist many scenarios, including cartoon character creation, game avatar customization, custom-made 3D printing, etc., that the 3D face caricatures remain the mainstream representations. However, creating a high-quality 3D caricature is a labor-intensive and time-consuming task even for a skilled artist. Thereby, generating expressive 3D face caricatures from a minimal input, such as a single image, is a highly-demanding but also challenging task.
33
+
34
+ Most of the prior works mainly focus on 2D caricature generation [6, 33, 16], while research on reconstructing 3D caricatures from 2D caricature images remains vary rare. Wu et al. [39] propose the first work that creates 3D caricature from 2D caricature images using an optimization based approach. They formulate caricature generation as a problem of deforming the standard 3D face. In particular, they
35
+
36
+ build a intrinsic deformation space based on the exaggerated morphable models of standard faces [25]. The deformation coefficients are then optimized to reduce the landmark fitting errors. Recently, in their follow-up work [42], they employ CNN to automate the task of 2D facial landmark prediction and deformation regression. However, previous works [32, 18] have shown that the traditional 3D morphable models (3DMM) of normal faces have very limited expressiveness in modeling the intricate facial deformations in reality. Thereby, the deformation space based on a synthetically exaggerated 3DMM, as proposed in [39, 42], is far from sufficient to capture realistic 3D caricatures, which are even more diversified and complex than normal faces.
37
+
38
+ The key to tackling the above problem is a high-quality 3D caricature dataset created by artists that can provide realistic shape priors for both learning-based and optimization-based approaches. However, there exist two challenges in constructing such a dataset. First, the 3D models crafted by artists are not topologically consistent, making it infeasible to many downstream applications, including blend-shape creation, face animation, 3D landmark localization, etc. Secondly, the manually created meshes are typically not aligned with the corresponding images. While many face reconstruction techniques require an accurate registration, such misalignment makes the dataset inapplicable to projection-based applications such as landmark fitting, texture restoration and manipulation, etc.
39
+
40
+ In this work, we introduce 3DCaricShop, a large-scale 3D caricature dataset that simultaneously addresses the above issues. First of all, 3DCaricShop contains 2,000 highly diversified and high-quality 3D caricature models manually crafted by professional artists. It is constructed by requesting artists to create 3D caricatures according to 2,000 manually selected caricature images from Web-Caricature [15], that span a wide range of shape exaggerations and texturing styles. Compared to the synthetic datasets [13, 42], 3DCaricShop can provide shape priors for 3D caricatures with much higher fidelity. Secondly, all the 3D models in 3DCaricShop have been re-topologized to a consistent mesh topology that paves the way to a number of future applications, including learning a parametric shape space, batch geometry processing, etc. Thirdly, we provide accurate 3D face landmarks in 3DCaricShop, which facilitates the use of landmark fitting technique that is widely adopted in the state-of-the-art face reconstruction approaches. Last but not least, 3DCaricShop offers a paired 2D caricature image and the camera parameters that are used for mesh alignment. This enables a wide range of techniques, such as differentiable rendering, landmark fitting, etc., that rely on 2D-to-3D consistency.
41
+
42
+ To further exploit the power of 3DCaricShop, we propose a novel baseline approach to infer 3D caricatures from a single caricature image. While the methods based on deep
43
+
44
+ implicit functions [14, 24] have shown promising capability of modeling objects with arbitrary topologies, it is prone to artifacts and self-intersections when applied to reconstruct 3D caricatures, which typically contain many extreme distortions. Though approaches using parametric mesh model can ensure a generation of plausible 3D face, they struggle to produce realistic faces with accurate geometry. We advocate to connect the good ends of both worlds by transferring the high-fidelity geometry learnt from the implicit reconstruction to a template mesh with a reasonable topology. To enable a faithful transfer, we propose a novel view-collaborative graph convolution network (VC-GCN) to extract key points from the implicit mesh for accurate mesh alignment. To strike a balance between accuracy and robustness, we iteratively project the registered template mesh onto a pre-trained PCA space using 3DCaricShop to avoid overfitting to outliers. Our approach is able to generate high-quality 3D caricatures in a pre-defined mesh topology that is animation-ready.
45
+
46
+ We have conducted extensive benchmarking and ablation analysis on the proposed dataset. Experimental results show that the proposed approach trained on 3DCaricShop sets new state of the art on the task of single-view 3D caricature reconstruction from caricature images.
47
+
48
+ # 2. Related Work
49
+
50
+ Single-view Reconstruction Single-view reconstruction (SVR) is a classic task in computer vision. Existing methods could be classified as reconstruction for general objects [11, 36, 24] and for objects in specific categories[5, 3, 43]. It is an ill-posed problem due to the ambiguous nature. In tradition, strong priors are introduced to constrain the space of solutions. Shape-from-Shading (SfS) [26] is a kind of physical based prior on the relation between illumination and shape, which recovers the detailed shape in photos. However, it fails to analyze artists works because of the stylized shading effect. Most recently, with the success of deep learning architectures and the release of large-scale 3D shape datasets such as ShapeNet [7], learning based approaches have achieved great progress, by learning the shape priors directly from the huge datasets. According to the used 3D representations, these methods can be divided into voxel-based [20, 8, 30], point-based [27, 28], mesh-based [36, 23], and implicit-function-based frameworks [21, 31]. Among these methods, PIFu [31], an algorithm based on implicit functions, has been applied on the reconstruction of human body and achieves impressive results. In this paper, we employ PIFu to create the 3D mesh for each single caricature image.
51
+
52
+ Single-view Face Modeling A closely-related task is photo-realistic face reconstruction. Two mainstream methodologies are developed to handle this problem, i.e.
53
+
54
+ parametric based [5, 34, 10] and shape-from-shading based [29, 35] methods, and remarkable results have been achieved. However, both methods could not apply on our task directly. Parametric methods suffer from the large diversity of geometry shapes in caricature cases. For SfS algorithms, the underlying physical model could not capture various painting styles of artists.
55
+
56
+ 3D Caricature Generation Following the parametric based methods of normal face reconstruction, researchers further introduce deformation to enlarge the capability of representation [19, 39, 42]. In [19], a semi-supervised manifold regularization method is proposed to learn a regressive model for mapping from 2D real faces to the enlarged training set with 3D caricatures. Wu et al. [39] formulate the 3D caricature generation as a problem of deformation from the standard 3D face. By introducing local deformation gradients, they build an intrinsic deformation representation with the capability of extrapolation. With the deformation representation, they construct an optimization framework to create caricature model guided by the landmark constraint. Following [39], Zhang et al. [42] employ CNN to learn the deformation parameters of the intrinsic deformation representations. However, due to the lack of 3D caricature data, their works are still far from satisfaction.
57
+
58
+ 3D Face datasets 3D face datasets are of great value in face reconstruction tasks. In general, they could be categorized into synthetic and real captured datasets. For normal face, existing 3D datasets, including FaceWareHouse [5] and Facescape [40], are built from scanned 3D data, hence widely used in normal face tasks. They focus on the high accuracy and photo reality of the meshes. However, they could not be applied directly on caricature reconstruction. Researchers [39, 42] tried to perform deformation on real 3D face models to construct synthetic exaggerated data. Although some reasonable results are achieved, they still suffer from the lack of diversity. To tackle this problem, we propose 3DCaricShop, which is the first 3D caricature dataset built by artists, composed pairs of caricature images and meshes. Based on the dataset, 3D caricature shape could be learned in a model-free manner. We further propose a baseline method to reconstruct 3D mesh with uniform topology from single caricature image.
59
+
60
+ # 3. Dataset
61
+
62
+ We construct a dataset which contains 2,000 imagedomain pairs in total. All of the 3D models are annotated with 3D facial landmarks and poses w.r.t images. More details are introduced in the following aspects.
63
+
64
+ 3D Model Collection WebCaricature [15] is the largest-to-date dataset of 2D caricatures. It contains around 6,000 caricature images with diverse identities, geometry, and textural styles. We first selected 2,000 images from them, fur
65
+
66
+ ![](images/f820d8327b86290351f4e6388d17046aec16a63c0f46e4cfabb9fa7a6f024322.jpg)
67
+ Figure 2: Sample caricature images and crafted 3D meshes in 3DCaricShop. Images with diverse identities, geometry, and textural styles are collected.
68
+
69
+ ther making them as diverse as possible. Then we recruited 4 paid expert Zbrush artists to create models according to images. The modeling is required to be matched with the image as much as possible, in projection manner. The contour lines for matching include edges of silhouette, lips, eyes, nose and ears. It takes around 40 minutes for each model on average, and around 40 days are cost in total. Several image-model pairs sampled from our dataset are shown in Fig. 2. Each model consists of $300\mathrm{k}\sim 700\mathrm{k}$ vertices.
70
+
71
+ Meshing Unification To support building parametric space for our 3D caricature dataset, we unify the mesh topology for all models in two steps: 1) We first manually annotate 44 3D landmarks (see details in Fig. 3) for each model; 2) The method of Non-rigid ICP [1, 9] is applied to register a pre-defined template mesh to each model, guided by the 3D landmarks. Due to the inherent difficulty to specify vertices on a 3D mesh, the landmark annotation is performed on 3 rendered views of the 3D shape. As described in [4], these 2D landmarks can be easily transformed into their corresponding 3D positions. The template mesh we use is from FaceWareHouse [5] that consists of 11,551 vertices. This procedure is illustrated by an example in Fig. 3.
72
+
73
+ Pose Annotation 3D pose estimation from a single image is the premise of our reconstruction method (see Sec. 4.1). It usually requires pose information supervision of the 3D face w.r.t the image. 3DCaricShop also provides accurate pose labels for each mesh that annotated by artists manually.
74
+
75
+ Analysis of the dataset We quantitatively analyze our dataset by comparing the shape variations with two normal face datasets (FaceWarehouse (FWH) and FaceScape), as well as one synthetic caricature dataset, FaceWarehouse with deformation (Aug. FWH). We measure the shape variation using global and part variance. In particular, the variance is computed between the models and their correspond
76
+
77
+ ![](images/c4c918f409e865f2131ae7b04f8c9a1fda6be3446457bff341b3dbb9d1b17291.jpg)
78
+ (a)
79
+
80
+ ![](images/4c33a63e84f85a93f83414e3846bbde3cb1171d7e191f6e3c9f5decf135bdbf1.jpg)
81
+ left
82
+
83
+ ![](images/cb5e9db1b36c2e395bb7651d00a835408883d1a588b152fcfc3710587b2c6582.jpg)
84
+
85
+ ![](images/57f1ac68b54ed82870c251cbf705c699f6119c2bbc564a95a4f2f2c89b4a4da1.jpg)
86
+
87
+ ![](images/e51ff5078916edbd11793e712dfcb32d5a79867ed319cae4dae21dea22e89229.jpg)
88
+ (c)
89
+ Figure 3: The process of 3D landmark annotation. A raw mesh (a) is rendered from the front, left and right view. Then 2D landmarks (b) are manually annotated for each view image. 3D landmarks are obtained by projecting the mesh into a specific view and searching for the closest point on surface (d). Guiding by corresponding 3D landmarks, the template mesh (e) is deformed into the shape of the raw mesh (d), to generate mesh with correct topology (c).
90
+
91
+ ![](images/3569f880e24d1fd1761ad84ec5589cc951adc69715342d4c9c16e0a6f2cbc402.jpg)
92
+ front (b)
93
+ (d)
94
+
95
+ ![](images/09006fd235bf177a4c510a6e9edc2b0d31f4ce16fcd5faeb94b63028db9a6a63.jpg)
96
+ (e)
97
+
98
+ ing mean shape of each dataset in terms of per-vertex displacement. The results are presented in Table 1. The shape diversity of our dataset is richer than the normal ones. For most of the face regions, 3DCaricShop has larger shape variance than Aug. FWH.
99
+
100
+ <table><tr><td>Dataset</td><td>Global</td><td>Eye</td><td>Nose</td><td>Mouth</td><td>Ear</td><td>Cheek</td><td>Face</td></tr><tr><td>FWH</td><td>3.41</td><td>0.71</td><td>0.61</td><td>2.60</td><td>4.41</td><td>1.43</td><td>3.40</td></tr><tr><td>FaceScape</td><td>2.17</td><td>0.36</td><td>0.15</td><td>2.63</td><td>5.57</td><td>1.24</td><td>2.27</td></tr><tr><td>Aug. FWH</td><td>5.06</td><td>1.98</td><td>6.29</td><td>2.07</td><td>9.38</td><td>5.26</td><td>5.10</td></tr><tr><td>Ours</td><td>8.26</td><td>4.68</td><td>3.04</td><td>10.90</td><td>9.02</td><td>8.27</td><td>6.95</td></tr></table>
101
+
102
+ Table 1: Shape variance comparisons of 3D face datasets.
103
+
104
+ # 4. Methodology
105
+
106
+ Overview In this section, we introduce the proposed baseline method. Given an input caricature image $\mathbf{I}$ , the task is to generate the corresponding 3D mesh $\mathbf{M}$ . With the topologically uniform 3D meshes in 3DCaricShop, a straight forward way to tackle the task is to construct a PCA basis using the 3D Morphable Model algorithm [2] to build the caricature face space. However, such a space could not handle the large variation in our data. To capture the diversity of geometry in caricature, we employ Pixel-aligned Implicit Function (PIFu) [31] to generate the 3D shape $\mathbf{M}_{\mathrm{I}}$ from $\mathbf{I}$ . Although the implicit function models the variation in targets, it could not ensure a uniform topology for the predictions. To achieve that, we register a template mesh $\mathbf{M}_{\mathrm{t}}$ to $\mathbf{M}_{\mathrm{I}}$ using non-rigid registration (NICP) [1]. Then the output of NICP is projected onto the pre-constructed PCA space, to alleviate deformation artifacts, such as self-intersections. We denote the output of NICP as $\mathbf{M}_{\mathbf{N}}$ and
107
+
108
+ that of PCA as $\mathbf{M}_{\mathbf{P}}$ . Considering the large difference between the template and target meshes, a sparse 3D landmark is needed in the stage of NICP. We propose a novel view-collaborative graph convolution network (VC-GCN) to predict key points $\mathbf{k}$ from the implicit mesh, where $\mathbf{k} \in \mathbb{R}^{44}$ .
109
+
110
+ # 4.1. The Baseline Approach
111
+
112
+ Parametric Modeling Our parametric model space is built with standard 3D Morphable Model (3DMM) [2] algorithm. Given $p$ caricature models with uniform topology and $N$ vertices on each mesh, principal component analysis (PCA) is performed on the shape matrix $\mathbf{S}_M \in \mathbb{R}^{3N \times p}$ , which is formed by stacking the 3D coordinates of the $N \times p$ vertices. The generated $d$ eigen-vectors are employed as the shape basis $\mathbf{S}_i$ , $i = 1, 2, \dots, d$ , where $d$ is a hyper-parameter. The mean vector $\overline{\mathbf{S}}$ represents the mean shape in the mesh set. With this 3DMM, a novel caricature model $\mathbf{S}_N$ could be represented as follows: $\mathbf{S_N} = \overline{\mathbf{S}} + \sum_{i=1}^d a_i \mathbf{S}_i$ , where $\mathbf{a} = [a_1 \cdots a_d]^T$ is the vector of shape coefficients.
113
+
114
+ Implicit Reconstruction To capture the diversity of geometric variation, we adopt Pixel-aligned Implicit Function (PIFu) [31] to reconstruct the underlying 3D shape from images. PIFu performs 3D reconstruction by estimating the occupancy of a dense 3D shape, which determines whether a point in 3D space is inside the model or not. Given a RGB image $\mathbf{I}$ , its normal maps from the front view $\mathbf{F}$ and back view $\mathbf{B}$ are generated to strengthen the local details, by using a pixel2pixel-hd network [37]. Then the implicit binary function $f(\mathbf{X},\mathbf{I},\mathbf{F},\mathbf{B})$ could be written as:
115
+
116
+ $$
117
+ f (\mathbf {X}, \mathbf {I}, \mathbf {F}, \mathbf {B}) = \left\{ \begin{array}{l l} 1, & \text {i f} \mathbf {X} \text {i s i n s i d e t h e m e s h s u r f a c e ,} \\ 0, & \text {o t h e r w i s e .} \end{array} \right. \tag {1}
118
+ $$
119
+
120
+ where $\mathbf{X}$ is a given 3D location in the continuous camera space. This function is modeled by a neural network. The loss function for training is formulated as:
121
+
122
+ $$
123
+ \mathcal {L} = \frac {1}{n} \sum_ {i = 1} ^ {n} \left| f \left(\mathbf {X} _ {i}, \mathbf {I} _ {i}, \mathbf {F} _ {i}, \mathbf {B} _ {i}\right) - f ^ {*} \left(\mathbf {X} _ {i}\right) \right| ^ {2}, \tag {2}
124
+ $$
125
+
126
+ where $f^{*}(\mathbf{X}_{i})$ is the ground-truth occupancy.
127
+
128
+ 3D Landmark Detection for Registration The output meshes $\mathbf{M}_{\mathbf{I}}$ of the implicit function are not topologically uniform. In order to unify the topology, we adopt non-rigid registration[1] to deform a template $\mathbf{M}_{\mathbf{t}}$ into the shape of $\mathbf{M}_{\mathbf{I}}$ . As shown in [1], without landmarks the cost function of registration could run into a local minimum, where the template is collapsed onto a point on the target surface. Thus it is important to introduce the 3D landmarks of both meshes to guide the deformation. We design a novel framework to detect 3D landmarks for $\mathbf{M}_{\mathbf{I}}$ . In short, we propose
129
+
130
+ ![](images/34c7a5da3bd414a89c053ca90da199c86baaf2f4739e1c1fdf424d98769d7858.jpg)
131
+ Figure 4: Pipeline of our framework. A detail-rich mesh is generated by implicit reconstruction from 2D caricature and the corresponding normal maps. Based on this mesh, 3D landmarks of the mesh are detected to guide the non-rigid registration, which deforms a template mesh to the target one.
132
+
133
+ to perform detection on the rendered views of $\mathbf{M_I}$ to leverage the effectiveness of image-based CNN techniques. The process would be detailed in 4.2.
134
+
135
+ Landmark-guided Registration Since the huge difference between $\mathbf{M}_{\mathrm{t}}$ and $\mathbf{M}_{\mathrm{I}}$ , the deformation is likely to generate artifacts, such as self-intersection. To resolve this problem, we iteratively perform NICP and PCA projection to obtain $\mathbf{M}_{\mathrm{N}}$ and $\mathbf{M}_{\mathrm{P}}$ . After projection, we obtain a deformed template which is closer to $\mathbf{M}_{\mathrm{I}}$ in shape. Fig. 4 illustrates the process of the progressive deformation.
136
+
137
+ # 4.2. View-collaborative 3D Landmark Detection
138
+
139
+ In this section, we discuss more details about how to detect 3D landmarks from $\mathbf{M}_{\mathbf{I}}$ , which is the key to supporting the procedure of landmark-guided registration. A straightforward way for this detection is directly applying point-based CNN (e.g., SparseConv [17]) to estimate landmarkware heatmap on mesh vertices. However, due to the inherent difficulty to conduct CNN on a mesh, this approach tends to produce inaccurate results. We thus propose to perform detection on the rendered views of $\mathbf{M}_{\mathbf{I}}$ to leverage the effectiveness of image-based CNN techniques. Coarse locations of the 3D landmarks can be obtained from detected 2D landmarks on those views. More importantly, a stack of View-Collaborative GCN block (VC-GCN) is novelly designed to aggregate and enhance information from multiple views for accurate 3D landmarks locations. As illustrated in Fig. 5, single view graph features (local features) are first extracted for initialization. Then, these local features are enhanced in a progressive manner by continually fusing global information into each view. The final local features are aggregated into the global graph feature for 3D landmark prediction.
140
+
141
+ Initialization Stage In this part, more details about local feature initialization are introduced. Given 2D images rendered from 3 views $\{\mathrm{front},\mathrm{left},\mathrm{right}\}$ $\{(f,l,r)\}$ for simplicity), we first utilize a 2D landmark detector [12] to estimate the 2D landmarks $\hat{\mathbf{P}}^v\in \mathbb{R}^{k^v\times 2}$ , where $k^v$ denotes the key point number under the view $v\in \{f,l,r\}$ . Next, 3d land
142
+
143
+ marks on the mesh are located using the projection matrix of each view. We use the above landmarks which exist in all local views to build local graphs. After that, to enrich the information of each graph node, we extract features from the feature maps generated by the landmark detector for each node, according to their 2D coordinates. Eventually, the initial local view features $\mathbf{F}_{init}^{v}\in \mathbb{R}^{k^{v}\times (C + 3)}$ for VC-GCN can be produced by concatenating the 3D landmark locations $\mathbf{L}^v$ with related node features under each view $v$ , where $C$ is the image feature dimension.
144
+
145
+ View-Collaborative GCN In order to provide global information for each view, we aggregate 3 local features into a global graph feature. Then the global feature is fused into each view to enhance the local view feature. This procedure is performed by a View-Collaborative GCN block. In each VC-GCN block, local features are first sent into several GCN layers for better representations. The layer-wise operation in GCN is defined as:
146
+
147
+ $$
148
+ \mathbf {F} _ {\ell + 1} ^ {v} = \sigma \left(\mathbf {D} ^ {v - \frac {1}{2}} \mathbf {A} ^ {v} \mathbf {D} ^ {v - \frac {1}{2}} \mathbf {F} _ {\ell} ^ {v} \mathbf {W} _ {\ell} ^ {v}\right) \tag {3}
149
+ $$
150
+
151
+ where $\mathbf{A}^v$ is the adjacency matrix with self-loops, $\mathbf{D}^v$ is its diagonal node degree matrix to normalize $\mathbf{A}^v$ , $\mathbf{F}_\ell^v$ represents the local feature in layer $\ell \in \{0,1,\dots,\ell'\}$ under the view $v$ , $\mathbf{W}_{\ell}$ is a trainable parameter matrix for linear projection, and $\sigma(\cdot)$ represents the non-linear activation operation. Then the obtained local features are combined into a global graph feature. For each node in the 3D landmark, its feature can be drawn from the local feature of the corresponding node under one view. Note that for the node that shared in different views, its feature is set as the average of multiple local features. The combined global graph feature is then strengthened through several GCN layers, with same operations as in Equation 3. Hence, the process of feature aggregation now can be formulated as following:
152
+
153
+ $$
154
+ \begin{array}{l} \mathbf {F} _ {\ell^ {\prime}} ^ {v} = \operatorname {G C N} ^ {v} \left(\mathbf {F} _ {0} ^ {v}\right), v = f, l, r; \\ \mathbf {F} _ {\ell^ {\prime}} ^ {g} = \operatorname {G C N} ^ {g} \left(f _ {\text {c o m b}} \left(\mathbf {F} _ {\ell^ {\prime}} ^ {f}, \mathbf {F} _ {\ell^ {\prime}} ^ {l}, \mathbf {F} _ {\ell^ {\prime}} ^ {r}\right)\right). \tag {4} \\ \end{array}
155
+ $$
156
+
157
+ where $f_{\mathrm{comb}}(\cdot)$ denotes the combination operation, $\mathbf{F}_{\ell}^{g}$ is the strengthened global features. Note that the input $\mathbf{F}_0^v$ is set
158
+
159
+ ![](images/5a4d57d2f52919c1bd7eca0c854048d980da9c3eca0861988e892aeeb133f19a.jpg)
160
+ Figure 5: The pipeline of View-collaborative 3D landmark Detection. The initial 3D landmarks are obtained by exploiting the predicted 2D landmarks from 3 rendering views. A novel cascaded VC-GCN blocks is used to fuse the features form each view and sends the aggregated features into a GCN head layer for 3D displacement decoding.
161
+
162
+ as the initial local view feature $\mathbf{F}_{init}^{v}$ in the first VC-GCN block, and is set as the prior output features in subsequent blocks.
163
+
164
+ In the second step, strengthened global features are fused into local features of each view in a non-local manner [38], so that global information can guide the model to learn more representative local features. The enhanced local features $\mathbf{F}_{\mathrm{enh}}^v$ of the view $v$ can be obtained as following, where the non-local fusion operation is denoted as $f_{\mathrm{n - loc}}$ :
165
+
166
+ $$
167
+ \mathbf {F} _ {\mathrm {e n h}} ^ {v} = f _ {\mathrm {n - l o c}} \left(\mathbf {F} _ {\ell^ {\prime}} ^ {g}, \mathbf {F} _ {\ell^ {\prime}} ^ {v}\right), v = f, l, r. \tag {5}
168
+ $$
169
+
170
+ More details about the non-local fusion operation are described in the supplementary materials.
171
+
172
+ It usually takes numerous glimpses to adjust key points to construct a 3D face, even for an expert artist. Thus, several VC-GCN blocks are stacked to progressively enhance local features. In the connection of two blocks, the enhanced local features $\mathbf{F}_{\mathrm{enh}}^v$ from the former block are taken as the input $\mathbf{F}_0^v$ of the later block.
173
+
174
+ Loss Function Given the enhanced local features from the last VC-GCN block, we combine and strengthen them using GCN layers to obtain the final global graph features. Next, it is multiplied by a GCN head layer to get the 3D landmark estimation $\hat{\mathbf{L}}^g\in \mathbb{R}^{N\times 3}$ . The predicted 3D landmarks are supervised by 3D and 2D landmark ground truth simultaneously, which leads to more accurate prediction. We now formulate the loss function for the view-collaborative 3D landmark detection training as following:
175
+
176
+ $$
177
+ \begin{array}{l} \mathcal {L} = \sum_ {i \in \Omega , v} \left(\mathcal {L} _ {\text {d e t e c t}} \left(\hat {\mathbf {P}} _ {i} ^ {v}, \mathbf {P} _ {i} ^ {v}\right) \right. \\ + \mathcal {L} _ {\mathrm {3 D}} \left(\hat {\mathbf {L}} _ {i} ^ {g}, \mathbf {L} _ {i} ^ {g}\right) \tag {6} \\ + \mathcal {L} _ {\mathrm {2 D}} \big (\mathbf {M} ^ {v} (\hat {\mathbf {L}} _ {i} ^ {g}), \mathbf {P} _ {i} ^ {v}) \big), \\ \end{array}
178
+ $$
179
+
180
+ where $\Omega$ is the training set, $i$ is the subscript indicating each training sample, $\mathcal{L}_{\mathrm{detect}}$ denotes the 2D landmark detection
181
+
182
+ error in the initialization stage, $\mathcal{L}_{3\mathrm{D}}$ and $\mathcal{L}_{2\mathrm{D}}$ represents the 3D landmark prediction error in 2D and 3D space, respectively, and $\mathbf{M}^v$ is the projection matrix to obtain 2D landmarks from 3D landmarks under the view $v$ . Note that all loss terms are in smooth- $l_1$ form.
183
+
184
+ # 5. Experiments
185
+
186
+ Implementation details The proposed framework is trained on our 3DCaricShop. The dataset is separated into 1,600 for training and 400 for testing. The weights of $\mathcal{L}_{\text {detect }}$ , $\mathcal{L}_{2D}$ and $\mathcal{L}_{3D}$ are set to 0.1, 0.8 and 1.0 respectively. To train the network for learning the implicit reconstruction, a RMSProp optimizer is adopted with learning rate 0.001, and the network is pre-trained with the minibatch size 2 for 80 epochs. During the training of 2D landmark detection network, an Adam optimizer is used. The learning rate is set to 0.0001 with a cosine decay, and the mini-batch size is set to 24 for 30 epochs. After that, the whole framework is trained in an end-to-end manner with the same strategy as above.
187
+
188
+ Results Gallery We present some typical results of the proposed framework in Fig. 6. As illustrated, our method is robust to caricature images with diverse textures. It can also recover diversified geometric features, such as the exaggerated nose in the second sample of the first row, and the sharp long chin in the third sample of the second row Fig. 6.
189
+
190
+ # 5.1. Comparisons with the State-of-the-arts
191
+
192
+ We qualitatively and quantitatively compare the results of our method with a variety of state-of-the-art 3D caricature reconstruction approaches on 3DCaricShop testing set, including linear parametric model (3DMM) [35, 2], depth map (DF2Net) [41], deformation representation (AliveCaric-DL) [42], and implicit function (PIFu) [31] based methods.
193
+
194
+ ![](images/7496dfa95ab00273a2e85b5dff9b725920a4a275b864158ae24910f0ccb269f7.jpg)
195
+ Figure 6: Results gallery for our framework on 3DCaricShop. The framework has the capability to reconstruct 3D shapes from caricature images with diverse texture and geometry shapes.
196
+
197
+ Qualitative results In Fig. 7, we visualize some results of caricature reconstruction on images from 3DCaricShop. Among the parametric methods, the nonlinear deformation representation [42] based model outperforms the linear ones on fitting the exaggerated input images, but it is still not precise enough due to its limited expressiveness. Besides, other deep learning based approaches such as DF2Net and PIFu unavoidably yield artifacts like hollows and spikes. However, our method introduces the constraint of PCA parametric space into the deep model, thus can produce highly exaggerated local details upon the foundation of a plausible global shape.
198
+
199
+ Quantitative Results Considering other methods for comparison only reconstruct the face area, we adopt average point-to-surface Euclidean distance (P2S) as the evaluation metric, which measures the unidirectional distance from the source set to the target set. The average point-to-surface Euclidean distance can be computed as:
200
+
201
+ $$
202
+ d _ {P 2 S} (P, S) = \frac {1}{\| P \|} \sum_ {p \in P} \min _ {p ^ {\prime} \in S} \| p - p ^ {\prime} \| _ {2} \tag {7}
203
+ $$
204
+
205
+ where $P$ is the vertex set of the reconstructed mesh and $S$ is the corresponding ground truth surface. Besides, due to the mismatch in orientation and scale between the generated meshes and ground truth, before calculation, Procrustes alignment is performed and scaling is estimated based on least square error. As shown in Table 2, our method achieves the smallest P2S on the 3DCaricShop.
206
+
207
+ # 5.2. Ablation Studies
208
+
209
+ In this section, we perform ablation studies on the proposed 3D landmark detection framework and landmark guided registration process. The results show the effectiveness and robustness of our pipeline.
210
+
211
+ 3D landmark detection We analyze five variants of our framework: 1) directly using the 3D landmarks selected from predicted 2D landmarks without subsequent refinement, denoted as 'w/o GCN refinement'; 2) utilizing voxel-based method [22] to estimate 3D heatmaps, denoted as
212
+
213
+ <table><tr><td>Methods</td><td>P2S</td><td>Methods</td><td>P2S</td></tr><tr><td>3DMMhuman</td><td>0.295</td><td>PiFuhead</td><td>0.153</td></tr><tr><td>3DMMcari</td><td>0.104</td><td>PiFuface</td><td>0.126</td></tr><tr><td>DF2Net</td><td>0.273</td><td>Ourshead</td><td>0.065</td></tr><tr><td>AliveCaric-DL</td><td>0.067</td><td>Oursface</td><td>0.037</td></tr></table>
214
+
215
+ Table 2: Quantitative evaluation on 3DCaricShop. Note that the meshes generated by our method and PiFu contain the entire head area which are the same with ground truth, whereas the other methods in our experiment only recover the frontal face, thus we provide two versions of results(i.e. head and face) on our method and PiFu for a more solid comparison. The results are averaged on test data.
216
+
217
+ 'V2V'; 3) employing a global graph to refine the 3D landmarks from the first setting, without using VC-GCN block, which denoted as 'Global only'; 4) Only using local index to gather local features from global view, rather than using non-local operations for local feature enhancement, denoted as 'w/o G2L'; 5) The basic setting, denoted as Basic.
218
+
219
+ The metric we evaluate the results is mean per joint position error (MPJPE) which is defined as a Euclidean distance between predicted and ground truth 3D landmarks after root joint alignment. The root joint we define is the top of nose. This metric measures how accurately the root-relative 3D landmark estimation is performed. The quantitative results are listed in Table. 3. It confirm the effectiveness of each components in the design of our 3D landmark detector.
220
+
221
+ On landmark guided registration We evaluate three kinds of registration process: 1) directly perform NICP without landmarks information; 2) perform landmark-guided NICP without PCA projection; 3) the process used in our method. The visualized results are shown in Fig. 9. As [1] suggested, without landmark information, NICP could not capture the large discrepancy between $\mathbf{M}_{\mathbf{t}}$ and $\mathbf{M}_{\mathbf{I}}$ . Besides, the deformation without PCA projection is likely to generate meshes with self-intersection. In contrast, our method could obtain meshes with higher quality, and capture enough shape information in $\mathbf{M}_{\mathbf{I}}$ . For example, the artifacts on ears in Fig. 9(d) are eliminated, while the shape
222
+
223
+ ![](images/23e19201b0bcb4fb7c670bc9c845a6e8e0bf23ddd7332eb5f4cf1d50ef2b2823.jpg)
224
+ (a) 3DMM-Human
225
+
226
+ ![](images/c60e3d9ef6e14e42122169d2a8567f942fc7b67ef26b0d356fbf9b063533fbea.jpg)
227
+ (b) 3DMM-Cari
228
+
229
+ ![](images/f8c14638f483490fc8bcf29dbce44748a4d63a14c227d70de4e1f21c3cd77213.jpg)
230
+ (c) DF2Net
231
+
232
+ ![](images/b86e1fab37ed1b5d83237aa2da40df5df515fb228103adcd7c2945ca6e4db4f3.jpg)
233
+ (d) AliveCaric-DL
234
+
235
+ ![](images/a9a85150de74b46e51a73b6fb9c45469740128a72d06e969b7513eeb97b3b27a.jpg)
236
+ (e)PIFu
237
+
238
+ ![](images/91dd7d53497fb76741281e53d85ae517b8169cca605116e8fb3444acdeda1ba2.jpg)
239
+ (f) Ground truth
240
+
241
+ ![](images/5f38efe228019de03ec24e475e8dcabceef372036d469ccb313bf0c16e66fe96.jpg)
242
+ (g) Our method
243
+
244
+ ![](images/4a83bd95a3990c030ddb42ee6c1e425f2fe82734ccd85ff33e3a0b34bb5ebd1a.jpg)
245
+ (a)
246
+ Figure 8: Ablation experiments on 3D landmark detection: (a) input; (b) ground truth; (c) pure projection; (d) global only; (e) w/o G2L; (f) ours. Our method could capture the face geometry more accurately.
247
+
248
+ ![](images/5b9baa7299cb0fd58e6621be14eec51ac1e4e9f2fcab34c150319b33cfe7405d.jpg)
249
+ (b)
250
+
251
+ ![](images/fac7f401f8e7efb8892906a7d3347162e90b67757aa589480f8da62da7d75576.jpg)
252
+ (c)
253
+
254
+ ![](images/45471e6cb9eff8e528d4cb3eb323b61aaa298fc1a50809d55305b47e9dddf0d8.jpg)
255
+ Figure 7: Qualitative results of our method compared with state-of-the-art methods, including (a) 3DMM-Human [35], (b) 3DMM-cari [2], (c) DF2Net [41], (d) AliveCaric-DL [42] and (e) PiFu [31], on 3DCaricShop. By incorporating deep models with parametric space constraint, our method (g) can reconstruct highly exaggerated geometry without distinct artifacts.
256
+ (d)
257
+
258
+ ![](images/f9bc1ac6d6bf996eed109a5797815c6bdf0d698f2335d38abf85682617092446.jpg)
259
+ (e)
260
+
261
+ ![](images/6cc924623cd7347ed4f6516cf2bc8f2898627906ca49c7883476c102f0c18264.jpg)
262
+ (f)
263
+
264
+ <table><tr><td>Methods</td><td>MPJPE</td><td>Methods</td><td>MPJPE</td></tr><tr><td rowspan="2">w/o GCN Refinement V2V [22]</td><td>0.451</td><td>Global only</td><td>0.373</td></tr><tr><td>0.407</td><td>w/o G2L</td><td>0.358</td></tr><tr><td></td><td></td><td>Basic</td><td>0.291</td></tr></table>
265
+
266
+ ![](images/a1cd0274bc8b80481fcf27095105ff9784f0b5d1d7b65009e84d76f6e1be8584.jpg)
267
+ (a)
268
+ Figure 9: Ablation experiments on registration: (a) input; (b) GT; (c) NICP w/o landmark; (d) NICP w/o PCA projection; (e) ours. A better result is obtained with reasonable topology (e.g., the nose) by using PCA projection.
269
+
270
+ ![](images/3febda56e5649cba60a08fb4adaa812f81af73ae5aa19fa86fd549155ab6f9df.jpg)
271
+ (b)
272
+
273
+ ![](images/0c543a07015da571a5aaa5ff7d730c04212b7caff14168de7d7598ca3b821b58.jpg)
274
+ (c)
275
+
276
+ ![](images/e69378f5dc63f1d7fd876676e3ad5148c41769141e845213b12c402861d3bc79.jpg)
277
+ (d)
278
+
279
+ ![](images/1062abcf589d72389752735c7035fed57918a97e66efa30b275de4020f01f919.jpg)
280
+ (e)
281
+
282
+ of nose is more consistent with both the groud truth mesh and the input caricature image.
283
+
284
+ # 6. Conclusions
285
+
286
+ We construct a new dataset and benchmark, called 3DCaricShop, for single-view 3D reconstruction from car-
287
+
288
+ Table 3: Ablation study for 3D landmark detection.
289
+
290
+ <table><tr><td>Methods</td><td>P2S</td></tr><tr><td>Ours w/o Landmark</td><td>0.074</td></tr><tr><td>Ours w/o PCA projection</td><td>0.076</td></tr><tr><td>Ours</td><td>0.065</td></tr></table>
291
+
292
+ Table 4: Ablation study for landmark-guided registration. The similar data implies the improvement of our method concentrate on the detail structures.
293
+
294
+ icature images. 3DCaricShop is the largest collection by far of 3D caricature models crafted by professional artists. It consists of 2,000 high-quality and diversified 3D caricatures that are richly labeled with paired 2D caricature image, camera parameters, and 3D facial landmarks. A novel baseline approach is also presented to validate the usefulness of the proposed dataset. It combines the merits of flexible implicit functions and the robust parametric mesh representation. Specifically, we transfer the details from implicit reconstruction to a template mesh with the help of VC-GCN that accurately predicts 3D landmarks for the implicit mesh. Extensive benchmarking on our dataset has been performed including a variety of popular approaches. We found that reconstructing 3D caricature from a single 2D caricature image is a highly challenging task with ample opportunity for improvement. We hope 3DCaricShop and our baseline approach could shred light on future research in this field.
295
+
296
+ Acknowledgment
297
+ The work was supported in part by the Key Area R&D Program of Guangdong Province with grant No. 2018B030338001, by the National Key R&D Program of China with grant No. 2018YFB1800800, by Shenzhen Outstanding Talents Training Fund, and by Guangdong Research Project No. 2017ZT07X152, the National Natural Science Foundation of China 61902334, Shenzhen Fundamental Research (General Project) JCYJ20190814112007258.
298
+
299
+ # References
300
+
301
+ [1] Brian Amberg, Sami Romdhani, and Thomas Vetter. Optimal step nonrigid icip algorithms for surface registration. In 2007 IEEE Conference on Computer Vision and Pattern Recognition, pages 1-8. IEEE, 2007.
302
+ [2] Volker Blanz and Thomas Vetter. A morphable model for the synthesis of 3d faces. In Proceedings of the 26th annual conference on Computer graphics and interactive techniques, pages 187-194, 1999.
303
+ [3] Federica Bogo, Angjoo Kanazawa, Christoph Lassner, Peter Gehler, Javier Romero, and Michael J Black. Keep it smpl: Automatic estimation of 3d human pose and shape from a single image. In European Conference on Computer Vision, pages 561-578. Springer, 2016.
304
+ [4] James Booth, Anastasios Roussos, Stefanos Zafeiriou, Allan Ponniah, and David Dunaway. A 3d morphable model learnt from 10,000 faces. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 5543-5552, 2016.
305
+ [5] Chen Cao, Yanlin Weng, Shun Zhou, Yiying Tong, and Kun Zhou. Facewarehouse: A 3d facial expression database for visual computing. IEEE Transactions on Visualization and Computer Graphics, 20(3):413-425, 2013.
306
+ [6] Kaidi Cao, Jing Liao, and Lu Yuan. Carigans: Unpaired photo-to-caricature translation. arXiv preprint arXiv:1811.00222, 2018.
307
+ [7] Angel X Chang, Thomas Funkhouser, Leonidas Guibas, Pat Hanrahan, Qixing Huang, Zimo Li, Silvio Savarese, Manolis Savva, Shuran Song, Hao Su, et al. Shapenet: An information-rich 3d model repository. arXiv preprint arXiv:1512.03012, 2015.
308
+ [8] 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 European conference on computer vision, pages 628-644. Springer, 2016.
309
+ [9] Hang Dai, Nick Pears, William Smith, and Christian Duncan. Statistical modeling of craniofacial shape and texture. International Journal of Computer Vision, 128(2):547-571, 2020.
310
+ [10] Yu Deng, Jiaolong Yang, Sicheng Xu, Dong Chen, Yunde Jia, and Xin Tong. Accurate 3d face reconstruction with weakly-supervised learning: From single image to image set. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, pages 0–0, 2019.
311
+ [11] Thibault Groueix, Matthew Fisher, Vladimir G Kim, Bryan C Russell, and Mathieu Aubry. A papier-mâché approach to learning 3d surface generation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 216-224, 2018.
312
+ [12] Xiaojie Guo, Siyuan Li, Jinke Yu, Jiawan Zhang, Jiayi Ma, Lin Ma, Wei Liu, and Haibin Ling. Pfld: A practical facial landmark detector. arXiv preprint arXiv:1902.10859, 2019.
313
+ [13] Xiaoguang Han, Chang Gao, and Yizhou Yu. Deepsketch2face: a deep learning based sketching system for 3d face and caricature modeling. ACM Transactions on graphics (TOG), 36(4):1-12, 2017.
314
+
315
+ [14] Zeng Huang, Tianye Li, Weikai Chen, Yajie Zhao, Jun Xing, Chloe LeGendre, Linjie Luo, Chongyang Ma, and Hao Li. Deep volumetric video from very sparse multi-view performance capture. In Proceedings of the European Conference on Computer Vision (ECCV), pages 336-354, 2018.
316
+ [15] Jing Huo, Wenbin Li, Yinghuan Shi, Yang Gao, and Hujun Yin. Webcaricature: a benchmark for caricature recognition. arXiv preprint arXiv:1703.03230, 2017.
317
+ [16] Sunnie S. Y. Kim, Nicholas Kolkin, Jason Salavon, and Gregory Shakhnarovich. Deformable style transfer. In European Conference on Computer Vision (ECCV), 2020.
318
+ [17] Baoyuan Liu, Min Wang, Hassan Foroosh, Marshall Tappen, and Marianna Pensky. Sparse convolutional neural networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 806-814, 2015.
319
+ [18] Feng Liu, Luan Tran, and Xiaoming Liu. 3d face modeling from diverse raw scan data. In Proceedings of the IEEE International Conference on Computer Vision, pages 9408-9418, 2019.
320
+ [19] Junfa Liu, Yiqiang Chen, Chunyan Miao, Jinjing Xie, Charles X Ling, Xingyu Gao, and Wen Gao. Semi-supervised learning in reconstructed manifold space for 3d caricature generation. In Computer Graphics Forum, volume 28, pages 2104-2116. Wiley Online Library, 2009.
321
+ [20] Daniel Maturana and Sebastian Scherer. Voxnet: A 3d convolutional neural network for real-time object recognition. In 2015 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pages 922-928. IEEE.
322
+ [21] Lars Mescheder, Michael Oechsle, Michael Niemeyer, Sebastian Nowozin, and Andreas Geiger. Occupancy networks: Learning 3d reconstruction in function space. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 4460-4470, 2019.
323
+ [22] Gyeongsik Moon, Ju Yong Chang, and Kyoung Mu Lee. V2v-posenet: Voxel-to-voxel prediction network for accurate 3d hand and human pose estimation from a single depth map. In Proceedings of the IEEE conference on computer vision and pattern Recognition, pages 5079-5088, 2018.
324
+ [23] Junyi Pan, Xiaoguang Han, Weikai Chen, Jiapeng Tang, and Kui Jia. Deep mesh reconstruction from single rgb images via topology modification networks. In Proceedings of the IEEE International Conference on Computer Vision, pages 9964-9973, 2019.
325
+ [24] Jeong Joon Park, Peter Florence, Julian Straub, Richard Newcombe, and Steven Lovegrove. Deepsdf: Learning continuous signed distance functions for shape representation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 165-174, 2019.
326
+ [25] Pascal Paysan, Reinhard Knothe, Brian Amberg, Sami Romdhani, and Thomas Vetter. A 3d face model for pose and illumination invariant face recognition. In 2009 Sixth IEEE International Conference on Advanced Video and Signal Based Surveillance, pages 296-301. IEEE, 2009.
327
+ [26] Emmanuel Prados and Olivier Faugeras. Shape from shading. In Handbook of mathematical models in computer vision, pages 375-388. Springer, 2006.
328
+ [27] Charles R Qi, Hao Su, Kaichun Mo, and Leonidas J Guibas. Pointnet: Deep learning on point sets for 3d classification
329
+
330
+ and segmentation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 652-660, 2017.
331
+ [28] 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.
332
+ [29] Elad Richardson, Matan Sela, Roy Or-El, and Ron Kimmel. Learning detailed face reconstruction from a single image. In proceedings of the IEEE conference on computer vision and pattern recognition, pages 1259–1268, 2017.
333
+ [30] 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), July 2017.
334
+ [31] Shunsuke Saito, Zeng Huang, Ryota Natsume, Shigeo Morishima, Angjoo Kanazawa, and Hao Li. Pifu: Pixel-aligned implicit function for high-resolution clothed human digitization. In Proceedings of the IEEE International Conference on Computer Vision, pages 2304-2314, 2019.
335
+ [32] Matan Sela, Elad Richardson, and Ron Kimmel. Unrestricted facial geometry reconstruction using image-to-image translation. In Proceedings of the IEEE International Conference on Computer Vision, pages 1576-1585, 2017.
336
+ [33] Yichun Shi, Debayan Deb, and Anil K Jain. Warpgan: Automatic caricature generation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 10762-10771, 2019.
337
+ [34] Luan Tran and Xiaoming Liu. Nonlinear 3d face morphable model. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 7346-7355, 2018.
338
+ [35] Anh Tuan Tran, Tal Hassner, Iacopo Masi, Eran Paz, Yuval Nirkin, and Gerard Medioni. Extreme 3d face reconstruction: Seeing through occlusions. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 3935-3944, 2018.
339
+ [36] Nanyang Wang, Yinda Zhang, Zhuwen Li, Yanwei Fu, Wei Liu, and Yu-Gang Jiang. Pixel2mesh: Generating 3d mesh models from single rgb images. In Proceedings of the European Conference on Computer Vision (ECCV), pages 52-67, 2018.
340
+ [37] Ting-Chun Wang, Ming-Yu Liu, Jun-Yan Zhu, Andrew Tao, Jan Kautz, and Bryan Catanzaro. High-resolution image synthesis and semantic manipulation with conditional gans. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 8798-8807, 2018.
341
+ [38] 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.
342
+ [39] Qianyi Wu, Juyong Zhang, Yu-Kun Lai, Jianmin Zheng, and Jianfei Cai. Alive caricature from 2d to 3d. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 7336-7345, 2018.
343
+ [40] Haotian Yang, Hao Zhu, Yanru Wang, Mingkai Huang, Qiu Shen, Ruigang Yang, and Xun Cao. Facescape: a large-scale high quality 3d face dataset and detailed riggable 3d face
344
+
345
+ prediction. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 601-610, 2020.
346
+ [41] Xiaoxing Zeng, Xiaojiang Peng, and Yu Qiao. Df2net: A dense-fine-finer network for detailed 3d face reconstruction. In Proceedings of the IEEE International Conference on Computer Vision, pages 2315-2324, 2019.
347
+ [42] Juyong Zhang, Hongrui Cai, Yudong Guo, and Zhuang Peng. Landmark detection and 3d face reconstruction for caricature using a nonlinear parametric model. arXiv preprint arXiv:2004.09190, 2020.
348
+ [43] Silvia Zuffi, Angjoo Kanazawa, and Michael J Black. Lions and tigers and bears: Capturing non-rigid, 3d, articulated shape from images. In Proceedings of the IEEE conference on Computer Vision and Pattern Recognition, pages 3955-3963, 2018.
3dcaricshopadatasetandabaselinemethodforsingleview3dcaricaturefacereconstruction/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:186e6a3884004046b262a4b13660105e31cd363e7624c7dec2eef92d445d98b7
3
+ size 574127
3dcaricshopadatasetandabaselinemethodforsingleview3dcaricaturefacereconstruction/layout.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c0c6941955368f2511f0362e8f620b2ed66eadb857a357fd78c14ea80012666
3
+ size 421531
3dcnnswithadaptivetemporalfeatureresolutions/d4cb497f-c61d-4caf-b813-07faa381129e_content_list.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:570b6574ed977bc818eeed78af4012752dbe2c617152d24cdecde0c60f53d966
3
+ size 75254
3dcnnswithadaptivetemporalfeatureresolutions/d4cb497f-c61d-4caf-b813-07faa381129e_model.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b80c56c2f33299bdba930a566258edc8412663cd6d8ad1b210143aaab30c7446
3
+ size 88846
3dcnnswithadaptivetemporalfeatureresolutions/d4cb497f-c61d-4caf-b813-07faa381129e_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0cf2b7ea6ccfc2a06023efe0799d31bf4d754dfa64383ea192c08dafd08b42b
3
+ size 1792633
3dcnnswithadaptivetemporalfeatureresolutions/full.md ADDED
@@ -0,0 +1,297 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 3D CNNs with Adaptive Temporal Feature Resolutions
2
+
3
+ Mohsen Fayyaz $^{1,\ast}$ , Emad Bahrami $^{1,\ast}$ , Ali Diba $^{2}$ , Mehdi Noroozi $^{3}$ , Ehsan Adeli $^{4}$ , Luc Van Gool $^{2,5}$ , Juergen Gall $^{1}$ $^{1}$ University of Bonn, $^{2}$ KU Leuven, $^{3}$ Bosch Center for Artificial Intelligence, $^{4}$ Standford University, $^{5}$ ETH Zürich
4
+ {lastname}@iai.uni-bonn.de, emadbahramirad@gmail.com, {firstname_lastname}@kuleuven.be, mehdi.noroozi@de.bosch.de, eadeli@stanford.edu
5
+
6
+ # Abstract
7
+
8
+ While state-of-the-art 3D Convolutional Neural Networks (CNN) achieve very good results on action recognition datasets, they are computationally very expensive and require many GFLOPs. While the GFLOPs of a 3D CNN can be decreased by reducing the temporal feature resolution within the network, there is no setting that is optimal for all input clips. In this work, we therefore introduce a differentiable Similarity Guided Sampling (SGS) module, which can be plugged into any existing 3D CNN architecture. SGS empowers 3D CNNs by learning the similarity of temporal features and grouping similar features together. As a result, the temporal feature resolution is not anymore static but it varies for each input video clip. By integrating SGS as an additional layer within current 3D CNNs, we can convert them into much more efficient 3D CNNs with adaptive temporal feature resolutions (ATFR). Our evaluations show that the proposed module improves the state-of-the-art by reducing the computational cost (GFLOPs) by half while preserving or even improving the accuracy. We evaluate our module by adding it to multiple state-of-the-art 3D CNNs on various datasets such as Kinetics-600, Kinetics-400, mini-Kinetics, Something-Something V2, UCF101, and HMDB51.
9
+
10
+ # 1. Introduction
11
+
12
+ In recent years, there has been a tremendous progress for video processing in the light of new and complex deep learning architectures, which are based on variants of 3D Convolutional Neural Networks (CNNs) [24, 9, 7, 4, 6, 12, 8]. They are trained for a specific number of input frames,
13
+
14
+ *Mohsen Fayyaz and Emad Bahrami equally contributed to this work. Emad Bahrami contributed to this project while he was a visiting researcher at the Computer Vision Group of the University of Bonn.
15
+
16
+ typically between 16 to 64 frames. For classifying a longer video, they slide over the video and the outputs are then aggregated. These networks, however, are often very expensive to train and heavy to deploy for inference task. In order to reduce the inference time, [15, 20] proposed to process not all parts of a video with the same 3D CNN. While [15] trains a second network that decides for each chunk of input frames if it should be processed by the more expensive 3D CNN, [20] uses a fix scheme where a subset of the input chunks are processed by an expensive 3D CNN and the other chunks by a less expensive 3D CNN. The latter then uses an RNN to fuse the outputs of the different 3D CNNs. Although both approaches effectively reduce the GFLOPS during inference, they increase the training time since two instead of one network need to be trained. Furthermore, they do not reduce the computational cost of the 3D CNNs themselves.
17
+
18
+ In this work, we propose an approach that makes 3D CNNs more efficient for training and inference. Our proposal is based on the observation that the computational cost of a 3D CNN depends on the temporal resolution it operates on at each stage of the network. While the temporal resolution can be different at different stages, the schemes that define how the temporal resolution is reduced is hard-coded and thus the same for all videos. However, it is impossible to define a scheme that is optimal for all videos. If the temporal resolution is too much reduced, the network is forced to discard important information for some videos. This results in a decrease of the action recognition accuracy performance. Vice versa, a high temporal resolution results in highly redundant feature maps and increases the computational time, which makes the 3D CNN highly inefficient for most videos. In this work, we therefore address the question of how a 3D CNN can dynamically adapt its computational resources in a way such that not more resources than necessary are used for each input chunk.
19
+
20
+ In order to address this question, we propose to exploit the redundancy within temporal features such that 3D
21
+
22
+ ![](images/edd79c6454fe7bb0baddf3a817e758d3383d7fea5e506a7710593acfcada3837.jpg)
23
+ Figure 1: The difficulty of recognizing actions varies largely across videos. For videos with slow motion (top), the temporal features that are processed within a 3D CNN can be highly redundant. However, there are also very challenging videos where all features are required to understand the content (bottom). While previous 3D CNNs use fix down-sampling schemes that are independent of the input video, we propose a similarity guided sampler that groups and aggregates redundant information of temporal features into $B' \leq T$ feature maps. The core aspect is that this process adapts the internal temporal resolution to the input video such that $B'$ is small if the input features are redundant (top) and large (bottom) if most of the features are required.
24
+
25
+ CNNs process and select the most valuable and informative temporal features for the action classification task. In contrast to previous works, we propose to dynamically adapt the temporal feature resolution within the network to the input frames such that on one hand important information is not discarded and on the other hand no computational resources are wasted for processing redundant information. To this end, we propose a Similarity Guided Sampling (SGS) mechanism that measures the similarity of temporal feature maps, groups similar feature maps together, and aggregates the grouped feature maps into a single output feature map. The similarity guided sampling is designed such that it is differentiable and number of output feature maps varies depending on the redundancy of the temporal input feature maps as shown in Fig. 1. By integrating the similarity guided sampling as an additional module within any 3D CNN, we convert the 3D CNN with fixed temporal feature resolutions into a much more efficient dynamic 3D CNN with adaptive temporal feature resolutions (ATFR). Note that this approach is complementary to [15, 20] and the two static 3D CNNs used in these works can be replaced by adaptive 3D CNNs. However, even with just a single 3D CNN with adaptive temporal feature resolutions, we already achieve a higher accuracy and lower GFLOPs performance compared to [15, 20].
26
+
27
+ We demonstrate the efficiency of 3D CNNs with adaptive temporal feature resolutions by integrating the similarity guided sampler into the current state-of-the-art 3D CNNs such as $\mathrm{R}(2 + 1)\mathrm{D}$ [25], I3D [3], and X3D [8]. It drastically decreases the GFLOPs by about half in aver
28
+
29
+ age while the accuracy remains nearly the same or gain improvements. In summary, the similarity guided sampler is capable of significantly scaling down the computational cost of off-the-shelf 3D CNNs and therefore plays a crucial role for real-world video-based applications.
30
+
31
+ # 2. Related Work
32
+
33
+ The computer vision community has made huge progress in several challenging vision tasks by using CNNs. In recent years, there has been a tremendous progress for video processing in the light of new and complex deep learning architectures, which are based on variants of 3D CNNs [24, 9, 7, 4, 6, 12, 8]. Tran et al. [24] and Carreira et al. [3] proposed 3D versions of VGG and Inception architectures for large-scale action recognition benchmarks like Sports-1M [13] and Kinetics [14]. These methods could achieve superior performance even without using optical-flow or any other pre-extracted motion information. This is due to the capability of 3D kernels to extract temporal relations between sequential frames. Recently, methods like HATNet [5], STC [4], and DynamoNet [6] focus on exploiting spatial-temporal correlations in a more efficient way or on learning more accurate motion representations for videos. These works based on 3D CNNs, however, require huge computational resources since they process sequences of frames with an immense number of 3D convolution layers. There has been therefore a good effort to propose more efficient architectures based on 2D and 3D CNNs [18, 17, 25, 31, 34]. For instance, Lin et al. [18] introduced a temporal shift module (TSM) to enhance 2D
34
+
35
+ ResNet CNNs for video classification. The model even runs on edge devices. In [25, 31] 2D and 3D convolutional layers are combined in different ways. SlowFast [9] has explored the resolution trade-offs across temporal, spatial, and channel access. It decreases the computation cost by employing a light pathway with a high temporal resolution for temporal information modeling and a heavy low temporal resolution pathway for spatial information modeling. In relation to this work, [8] investigates whether the light or heavy model is required and presents X3D as a family of efficient video networks.
36
+
37
+ In order to reduce the inference time of existing networks, [29, 30, 15, 20] proposed to process not all parts of a video with the same CNN model. This line of research is built upon the idea of big-little architecture design. In the context of 2D CNNs, [29, 30] process salient frames by expensive models and use light models to process the other frames. In contrast, [15, 20] do not process single frames but process short chunks of frames with 3D CNNs. [15] trains a second lighter network that decides for each chunk of input frames if it should be processed by the more expensive 3D CNN. [20] uses a fix scheme where a subset of the input chunks are processed by an expensive 3D CNN and the other chunks by a less expensive 3D CNN. It then uses an RNN to fuse the outputs of the different 3D CNNs. Although such approaches effectively reduce the GFLOPS during inference, they increase the training time since two instead of one network need to be trained. Furthermore, they do not reduce the computational cost of the 3D CNNs themselves.
38
+
39
+ There are various efforts on temporal action detection or finding action segments in untrimmed videos like [1, 23, 33, 28]. These works focus on localizing actions but not on improving the computational efficiency for action recognition. While these works are not related, they can benefit from our approach by integrating the proposed similarity guided sampling module into their CNNs for temporal action localization.
40
+
41
+ # 3. Adaptive Temporal Feature Resolutions
42
+
43
+ Current state-of-the-art 3D CNNs operate at a static temporal resolution at all levels of the network. Due to the redundancy of neighbouring frames, traditional 3D CNN methods often down-sample the temporal resolution inside the network. This helps the model to operate at a lower temporal resolution and hence reduces the computation cost. The down-sampling, however, is static which has disadvantages in two ways. First, a fixed down-sampling rate can discard important information, in particular for videos with very fast motion as it is for instance the case for ice hockey games. Second, a fixed down-sampling rate might still include many redundant temporal features that do not contribute to the classification accuracy as it is for instance the
44
+
45
+ ![](images/8587f75688c1cc91fe8ea7b98a5fd76b91c58fd663029acc27a5678d11d736c0.jpg)
46
+ Figure 2: To learn the similarity of the feature maps, we map each temporal feature map $\mathcal{I}_t$ using $f_s(\mathcal{I})$ into an $L$ -dimensional similarity space. After the mapping, $\mathcal{Z} \in \mathbb{R}^{T \times L}$ contains all of the feature maps represented as vectors in the similarity space. Afterwards, we group similar vectors by creating B similarity bins. Using the similarity bins, sampler aggregates the similar feature maps of each bin into the output feature map $\mathcal{O}_b$ .
47
+
48
+ case for a video showing a stretching exercise. We therefore propose a module that dynamically adapts the temporal feature resolution within the network to the input video such that on one hand important information is not discarded and on the other hand no computational resources are wasted for processing redundant information.
49
+
50
+ Fig. 1 illustrates a 3D CNN with adaptive temporal feature resolutions (ATFR). The core aspect of ATFR is to fuse redundant information from a temporal sequence of features and extract only the most relevant information in order to reduce the computational cost for processing a video. An important aspect is that this approach is not static, i.e., the amount of information that is extracted varies for each video as illustrated in Fig. 1. In order to achieve this, we propose a novel Similarity Guided Sampling (SGS) mechanism that will be described in Sec. 4.
51
+
52
+ In principle, any 3D CNN can be converted into a CNN with adaptive temporal feature resolutions by using our SGS module. Since the module is designed to control the temporal resolution within the network for each video, it should be added to the early stages of a network in order to get the best reduction of computational cost. For $\mathrm{R}(2 + 1)\mathrm{D}$ [25], for example, we recommend to add SGS after the second ResNet block. This means that the temporal resolution is constant for all videos before SGS, but it dynamically changes after SGS. We discuss different 3D CNNs with SGS in Sec. 5.1.
53
+
54
+ # 4. Similarity Guided Sampling
55
+
56
+ The SGS is a differentiable module to sample spatially similar feature maps over the temporal dimension and aggregate them into one feature map. Since the number of output feature maps is usually lower than the input feature maps, i.e., $B' < T$ , redundant information is removed as il
57
+
58
+ lustrated in Figure 2. The important aspect is that $B'$ is not constant, but it varies for each video. In this way, we do not remove any information if there is no redundancy among the input feature maps.
59
+
60
+ This means that we need to a) learn the similarity of feature maps, b) group similar feature maps, and c) aggregate the grouped feature maps. Furthermore, all these operations need to be differentiable. We denote an input feature map for frame $t$ by $\mathcal{I}_t \in \mathbb{R}^{C \times H \times W}$ , where $C$ , $H$ , and $W$ denote the number of channels, height, and width, respectively. To learn the similarity of the feature maps, we map each feature map $\mathcal{I}_t$ into an $L$ -dimensional similarity space. This mapping $f_s(\mathcal{I}_t)$ is described in Sec. 4.1. After the mapping, $\mathcal{Z} \in \mathbb{R}^{T \times L}$ contains all feature maps in the similarity space, which are then grouped and aggregated into $B'$ feature maps. The grouping of $\mathcal{Z}_t$ is described in Sec. 4.2 and the aggregation of the grouped features in Sec. 4.3.
61
+
62
+ # 4.1. Similarity Space
63
+
64
+ The similarity space is a $L$ dimensional vector space where each temporal input feature map is represented by a vector $\mathcal{Z}_t$ . The mapping is performed by the similarity network $f_{s}(\mathcal{I})$ that consists of a global average pooling layer and two convolutional layers. The pooling is applied over the spatial dimension of the feature map while keeping the temporal dimension. Afterward two $1D$ convolutional layers are applied with kernel sizes of 1 and output channel sizes $C$ and $L$ , respectively.
65
+
66
+ # 4.2. Similarity Bins
67
+
68
+ To group similar feature maps $\mathcal{I}_t$ , we use the magnitude of each vector $\mathcal{Z}_t$ , i.e.,
69
+
70
+ $$
71
+ \Delta_ {t} = \left| \left| \mathcal {Z} _ {t} \right| \right| \tag {1}
72
+ $$
73
+
74
+ and we consider two feature maps $\mathcal{I}_t$ and $\mathcal{I}_{t'}$ similar if the value of $\Delta_t$ and $\Delta_{t'}$ lie inside a similarity bin. To make the grouping very efficient and differentiable, we propose a binning approach with $B$ similarity bins. We set $B = T$ such that no information is discarded if there is no redundancy between the feature maps of all frames. For most videos, a subset of bins remain empty and will be discarded such that the remaining bins, $B'$ , will be less than $B$ as it is described in Sec. 4.3.
75
+
76
+ We first estimate the half of the width of each similarity bin $\gamma$ , by computing the maximum magnitude $\Delta_{max}$ and dividing it by the number of the desired bins $B$ :
77
+
78
+ $$
79
+ \Delta_ {m a x} = \max \left(\Delta_ {1}, \dots , \Delta_ {T}\right), \quad \gamma = \frac {\Delta_ {m a x}}{2 B}. \tag {2}
80
+ $$
81
+
82
+ Having the width of the similarity bins, the center of each bin $\beta_{b}$ is estimated as follows:
83
+
84
+ $$
85
+ \beta_ {b} = (2 b - 1) \gamma \quad \forall b \in (1, \dots , B). \tag {3}
86
+ $$
87
+
88
+ # 4.3. Differentiable Bins Sampling
89
+
90
+ The grouping and aggregation of all feature maps $\mathcal{I}_t$ based on the bins $B$ will be done jointly by sampling temporal feature maps which belong to the same similarity bin and add them together. We denote the aggregated feature maps for each bin $b$ by $\mathcal{O}_b \in \mathbb{R}^{C \times H \times W}$ . To make the process differentiable, we use generic differentiable sampling kernels $\Psi(.,\beta_b)$ that are defined such that a sampler only samples from the input temporal feature map $\mathcal{I}_t$ if $\Delta_t$ lies in the similarity bin $b$ . This can be written as:
91
+
92
+ $$
93
+ \mathcal {O} _ {b} = \sum_ {t = 1} ^ {T} \mathcal {I} _ {t} \Psi \left(\Delta_ {t}, \beta_ {b}\right). \tag {4}
94
+ $$
95
+
96
+ Theoretically, any differentiable sampling kernel that has defined gradients or sub-gradients with respect to $\Delta_t$ can be used. In our experiments, we evaluate two sampling kernels. The first kernel is based on the Kronecker-Delta function $\delta$ :
97
+
98
+ $$
99
+ \mathcal {O} _ {b} = \frac {1}{\sum_ {t = 1} ^ {T} \delta \left(\left\lfloor \frac {\left| \Delta_ {t} - \beta_ {b} \right|}{\gamma} \right\rfloor\right)} \sum_ {t = 1} ^ {T} \mathcal {I} _ {t} \delta \left(\left\lfloor \frac {\left| \Delta_ {t} - \beta_ {b} \right|}{\gamma} \right\rfloor\right). \tag {5}
100
+ $$
101
+
102
+ The kernel averages the feature maps that end in the same bin. As second kernel, we use a linear sampling kernel:
103
+
104
+ $$
105
+ \mathcal {O} _ {b} = \sum_ {t = 1} ^ {T} \mathcal {I} _ {t} \max \left(0, 1 - \frac {\left| \Delta_ {t} - \beta_ {b} \right|}{\gamma}\right). \tag {6}
106
+ $$
107
+
108
+ The kernel gives a higher weight to feature maps that are closer to $\beta_{b}$ and less weights to feature maps that are at the boundary of a bin. While we evaluate both kernels, we use the linear kernel by default.
109
+
110
+ After the sampling, some bins remain empty, i.e., $\mathcal{O}_b = 0$ . We drop the empty bins and denote by $B^{\prime}$ the bins that remain. Note that $B^{\prime}$ varies for each video as illustrated in Fig. 1. In our experiments we show that the similarity guided sampling can reduce the GFLOPS of a 3D CNN by over $47\%$ in average, making 3D CNNs suitable for applications where they are computationally expensive.
111
+
112
+ # 4.4. Backpropagation
113
+
114
+ Using differentiable kernels for sampling, gradients can be backpropagated through both $\mathcal{O}$ and $\Delta$ , where $\Delta$ is the magnitude of the similarity vectors $\mathcal{Z}$ which are the outputs of $f_{s}(.)$ . Therefore, we can backpropagate through $f_{s}(.)$ . For the linear kernel (6), which we use if not otherwise specified, the gradient with respect to $\mathcal{I}_t$ is given by
115
+
116
+ $$
117
+ \frac {\partial \mathcal {O} _ {b}}{\partial \mathcal {I} _ {t}} = \max \left(0, 1 - \frac {\left| \Delta_ {t} - \beta_ {b} \right|}{\gamma}\right) \tag {7}
118
+ $$
119
+
120
+ and the gradient with respect to $\Delta_t$ is given by
121
+
122
+ $$
123
+ \frac {\partial \mathcal {O} _ {b}}{\partial \Delta_ {t}} = \mathcal {I} _ {t} \left\{ \begin{array}{l l} 0 & | \beta_ {b} - \Delta_ {t} | \geq \gamma \\ \frac {1}{\gamma} & \beta_ {b} - \gamma < \Delta_ {t} \leq \beta_ {b} \\ - \frac {1}{\gamma} & \beta_ {b} < \Delta_ {t} < \beta_ {b} + \gamma \end{array} . \right. \tag {8}
124
+ $$
125
+
126
+ Note that for computing the sub-gradients (8) only the kernel support region for each output bin needs to be considered. The sampling mechanism can therefore be efficiently implemented on GPUs.
127
+
128
+ # 5. Experiments
129
+
130
+ We evaluate our proposed method on the action recognition benchmarks Mini-Kinetics [32], Kinetics-400 [14], Kinetics-600 [2], Something-Something-V2 [11], UCF-101 [22], and HMDB-51 [16]. For these datasets, we use the standard training/testing splits and protocols provided by the datasets. For more details and the UCF-101 and HMDB-51 results please refer to the supplementary material.
131
+
132
+ # 5.1. Implementation Details
133
+
134
+ 3D CNNs with ATFR. The similarity guided sampling (SGS) is a differentiable module that can be easily implemented in current deep learning frameworks. We have implemented our SGS module as a new layer in PyTorch which can be easily added to any 3D CNN architecture. To better evaluate the SGS, we have added it to various backbones, such as R(2+1)D [25], I3D [3], X3D [8], and a modified 3DResNet. We place our SGS layer on the second stage of the backbone models. Please refer to the supplementary material for more details. For all of the X3D based models, we follow the training, testing, and measurement setting in [8] unless mentioned otherwise. Additional details and code are available online.<sup>1</sup>
135
+
136
+ Training. Our models on Mini-Kinetics, Kinetics-400, and Kinetics-600 are trained from scratch using randomly initialized weights without any pre-training. However, we fine-tune on Something-Something-V2, UCF-101, and HMDB-51 with models pre-trained on Kinetics-400. We trained our models using SGD with momentum 0.9 and a weight decay of 0.0001 following the setting in [9]. For Kinetics and Mini-Kinetics, we use a half-period cosine schedule [19] with a linear warm-up strategy [10] to adapt the learning rate over 196 epochs of training. During training, we randomly sample 32 frames from a video with input stride 2. For spatial transformations, we first scale the shorter side of each frame with a random integer from the interval between 256 and 320 [26, 9, 21] then we apply a random cropping with size $224 \times 224$ to each frame. Furthermore, each frame is horizontally flipped with probability of 0.5.
137
+
138
+ ![](images/1c9753d0b4fb9f56a94c4b4c64ca739520a66be14d34c57e7ad64b137ad38c52.jpg)
139
+ Figure 3: Histogram of active bins for 3DResNet-50 + ATFR on the Mini-Kinetics validation set. The y-axis corresponds to the number of clips and the x-axis to the number of active bins $B'$ .
140
+
141
+ Testing. We follow [26, 9] and uniformly sample 10 clips from each video for inference. The shorter side of each clip is resized to 256 and we extract 3 random crops of size $256 \times 256$ from each clip. For the final prediction, we average the softmax scores of all clips.
142
+
143
+ Measurements. We report top-1 and top-5 accuracy. To measure the computational efficiency of our models, we report the complexity of the models in GFLOPS based on a single input video sequence of 32 frames and spatial size $224 \times 224$ for validation and $256 \times 256$ for testing. As shown in Fig. 3, 3D CNNs with ATFR adapt the temporal feature resolutions and the GFLOPs vary for different clips. For ATFR models, we therefore report the average GFLOPs.
144
+
145
+ # 5.2. Ablation Experiments
146
+
147
+ We first analyze different setups for our SGS module. Then, we analyze the efficiency and effect of using our SGS module in different 3D CNN models. If not otherwise specified, we use 3DResNet-18 as 3D CNNs backbones and report the results on the Mini-Kinetics validation set.
148
+
149
+ # 5.2.1 Different Similarity Measurements
150
+
151
+ As mentioned in Sec. 4.2, we use the magnitude of the embedding vectors as the similarity measurement to create the similarity bins. The embedding vectors are represented in an $L$ dimensional space. Instead of magnitudes, we can use other measures such as directions of the vectors. To better study this, we convert the Cartesian coordinates of the vectors to spherical coordinates. In an $L$ dimensional space, a vector is represented by 1 radial coordinate and $L - 1$ angular coordinates. To use the spherical coordinates of the vectors for creating the similarity bins, we use multidimensional bins and sampling kernels. For more details, please refer to the supplementary material.
152
+
153
+ We report the results in Table 1. As can be seen, using the magnitudes of the vectors results in a better accuracy compared to angular coordinates or spherical coordinates.
154
+
155
+ <table><tr><td>Similarity</td><td>Magnitude</td><td>Angular</td><td>Spherical</td></tr><tr><td>top1</td><td>69.6</td><td>68.5</td><td>68.7</td></tr><tr><td>top5</td><td>88.8</td><td>87.8</td><td>88.1</td></tr></table>
156
+
157
+ Table 1: Impact of the similarity measure for 3DResNet-18 + ATFR on Mini-Kinetics with linear sampling kernel. We show top-1 and top-5 classification accuracy $(\%)$ .
158
+
159
+ <table><tr><td>Kernel</td><td>Linear</td><td>Kronecker</td></tr><tr><td>top1</td><td>69.6</td><td>68.9</td></tr><tr><td>top5</td><td>88.8</td><td>88.6</td></tr></table>
160
+
161
+ We believe that due to the similarity of the neighbouring video frames using only magnitudes of the vectors for the similarity measurement is enough and angular or spherical coordinates add too much of complexity to the model. In all of the experiments, the number of bins $B$ is equal to 32. For the angular coordinates, we divide the angles into 4 and 8 bins $(4 \times 8)$ . For the spherical coordinates, we divide the radial coordinate into 2 and the angular coordinates into 4 and 4 bins $(2 \times 4 \times 4)$ .
162
+
163
+ # 5.2.2 Different Sampling Kernels
164
+
165
+ As mentioned in Sec. 4.3, we can use different differentiable sampling kernels (4). We evaluate two different sampling kernels, namely the Kronecker-Delta sampling kernel (5) and the linear sampling kernel (6). As can be seen in Table 2, the linear kernel performs better than the Kronecker-Delta kernel. The slight superiority of the linear kernel is due to the higher weighting of the temporal feature maps that are closer to the center of the bins. We use the linear kernel for the rest of the paper.
166
+
167
+ # 5.2.3 Embedding Dimension
168
+
169
+ As mentioned in Sec. 4.1, we map the temporal feature maps into an $L$ -dimensional similarity space. In Table 3, we quantify the effect of $L$ . The accuracy increases as $L$ increases until $L = 8$ . For $L = 16$ the dimensionality is too large and the similarity space tends to overfit. The model with $L = 1$ is a special case since it can be considered as a direct prediction of $\Delta_t$ (1) without mapping the temporal features into a similarity space $\mathcal{Z}_t$ . The results show that using a one-dimensional embedding space results in a lower accuracy, which demonstrates the benefit of the similarity space.
170
+
171
+ # 5.2.4 Different Input Frame-rates
172
+
173
+ It is an interesting question to ask how a 3D CNN with ATFR performs when the number of input frames or the stride changes for inference. To answer this question, we
174
+
175
+ Table 2: Impact of the sampling kernel.
176
+
177
+ <table><tr><td>L</td><td>1</td><td>4</td><td>8</td><td>16</td></tr><tr><td>top1</td><td>67.3</td><td>68.4</td><td>69.6</td><td>64.7</td></tr><tr><td>top5</td><td>87.7</td><td>88.1</td><td>88.8</td><td>86.1</td></tr></table>
178
+
179
+ Table 3: Impact of the dimensionality $L$ of the similarity space.
180
+
181
+ <table><tr><td rowspan="3">model</td><td rowspan="3">input frames</td><td rowspan="3">GFLOPs</td><td colspan="2">top1</td><td colspan="2">top5</td></tr><tr><td colspan="4">stride</td></tr><tr><td>1</td><td>2</td><td>1</td><td>2</td></tr><tr><td rowspan="2">SlowFast-8x8-ResNet18</td><td>32</td><td>30.9</td><td>67.5</td><td>69.7</td><td>87.1</td><td>89.1</td></tr><tr><td>64</td><td>61.8 (2.0)</td><td>72.1</td><td>74.6</td><td>89.9</td><td>91.9</td></tr><tr><td rowspan="2">R(2+1)D</td><td>32</td><td>46.5</td><td>67.4</td><td>69.3</td><td>86.2</td><td>87.5</td></tr><tr><td>64</td><td>93.1 (2.0)</td><td>70.8</td><td>73.7</td><td>88.8</td><td>91.5</td></tr><tr><td rowspan="2">R(2+1)D+ATFR</td><td>32</td><td>32.3</td><td>67.4</td><td>69.3</td><td>86.4</td><td>87.6</td></tr><tr><td>64</td><td>54.9 (1.7)</td><td>71.4</td><td>73.8</td><td>88.6</td><td>90.7</td></tr><tr><td rowspan="2">3DResNet-18+ATFR</td><td>32</td><td>14.0</td><td>67.3</td><td>69.6</td><td>87.2</td><td>89.0</td></tr><tr><td>64</td><td>21.1 (1.5)</td><td>72.1</td><td>74.8</td><td>89.8</td><td>91.4</td></tr></table>
182
+
183
+ Table 4: Impact of the stride and number of input frames during inference. All models are trained with 32 frames and stride 2.
184
+
185
+ train two 3D CNNs with ATFR and two without ATFR using 32 input frames and a sampling stride of 2, which corresponds to a temporal receptive field of 64 frames. For inference, we then change the number of frames to 64 and/or the stride to 1.
186
+
187
+ As it can be seen in Table 4, increasing the input frames from 32 to 64 improves the accuracy of all models. This improvement in accuracy is due to the increase in the temporal receptive field over the input frames while keeping the temporal input resolution. However, the computation cost of the models without ATFR increases as expected by factor 2. If ATFR is used, the increase is only by 1.7 and 1.5 for $\mathrm{R}(2 + 1)\mathrm{D} + \mathrm{ATFR}$ and 3DResNet-18+ATFR. By comparing $\mathrm{R}(2 + 1)\mathrm{D}$ with $\mathrm{R}(2 + 1)\mathrm{D} + \mathrm{ATFR}$ , we see how ATFR drastically reduces the GFLOPS from 46.5 to 32.3 for 32 frames and from 93.1 to 54.9 for 64 frames. This shows that more frames also increase the redundancy and ATFR efficiently discards this redundancy. Furthermore, it demonstrates that ATFR is robust to changes of the frame-rate and number of input frames.
188
+
189
+ It is also interesting to compare the results for 32 frames with stride 2 to the results for 64 frames with stride 1. In both cases, the temporal receptive field is 64. We can see the efficiency of our method in adapting the temporal resolution compared to the traditional static frame-rate sampling methods, i.e., 3DResNet-18+ATFR operates on average with 21.1 GFLOPs for 64 input frames compared to SlowFast with GFLOPs of 30.9 (32) and 61.8 (64), and $\mathrm{R}(2 + 1)\mathrm{D}$ with GFLOPs of 46.5 (32) and 93.1 (64).
190
+
191
+ # 5.2.5 Adaptive Temporal Feature Resolutions
192
+
193
+ As shown in Fig. 3, the temporal feature resolutions vary for different clips. In order to analyze how the temporal feature resolution relates to the content of a video, we report
194
+
195
+ <table><tr><td>Lowest Temporal Resolution</td><td>Highest Temporal Resolution</td></tr><tr><td>presenting weather forecast stretching leg playing didgeridoo playing clarinet golf putting</td><td>passing American football (in game) swimming breast stroke playing ice hockey pushing cart gymnastics tumbling</td></tr></table>
196
+
197
+ Table 5: The 5 action classes with lowest and highest required adaptive temporal resolution for 3DResNet-50 + ATFR on Mini-Kinetics.
198
+
199
+ <table><tr><td>Stage</td><td>No SGS</td><td>First Conv</td><td>Res2</td><td>Res3</td></tr><tr><td>top1</td><td>77.9</td><td>77.8</td><td>78.0</td><td>78.0</td></tr><tr><td>GFLOPs</td><td>1.9</td><td>0.9</td><td>1.1</td><td>1.3</td></tr></table>
200
+
201
+ in Table 5 the 5 action classes with lowest adaptive temporal feature resolution (<12) and highest adaptive temporal feature resolution (>20). As in Fig. 3, the results are for the 3DResNet-50+ATFR on the Mini-Kinetics validation set. As it can be seen, the actions with less movements like 'presenting weather forecast' result in a low temporal resolution while actions with fast (camera) motions like 'passing American football (in game)' result in a high temporal resolution.
202
+
203
+ # 5.2.6 SGS Placement
204
+
205
+ To evaluate the effect of the location of our SGS module within a 3D CNN, we add it to different stages of X3D-S [8] and train it on Mini-Kinetics. As it can be seen in Table 6, adding SGS to the first stage of X3D-S drastically reduces the GFLOPs by $52.6\%$ $(2.1\times)$ while getting slightly lower accuracy. On the other hand, adding SGS after the $2^{nd}$ stage results in a $42.1\%$ reduction of GFLOPs and slightly higher accuracy. The same accuracy and growth in GFLOPs occurs when SGS is added after the $3^{rd}$ stage.
206
+
207
+ # 5.3. Mini-Kinetics
208
+
209
+ Mini-Kinetics is a smaller dataset compared to the full Kinetics-400 dataset [14] and consists of 200 categories. Since some videos on YouTube are not accessible, the training and validation set contain 144,132 and 9182 video clips, respectively. Table 7 shows the results on Mini-Kinetics. We add the SGS module to four 3d CNNs R(2+1)D [25], I3D [3], X3D [8], and 3DResNet. In all cases, ATFR drastically reduces the GFLOPS while the accuracy remains nearly the same. For X3D, the accuracy even increases marginally.
210
+
211
+ # 5.4. Kinetics-400
212
+
213
+ We also evaluate ATFR with state-of-the-art 3D CNNs on Kinetics-400 [14], which contains $\sim 240\mathrm{k}$ training and
214
+
215
+ Table 6: Evaluating the result of adding our SGS layer to different stages of a X3D-S network on Mini-Kinetics.
216
+
217
+ <table><tr><td>model</td><td>backbone</td><td>GFLOPs</td><td>top1</td><td>top5</td></tr><tr><td>Fast-S3D [32]</td><td>-</td><td>43.5</td><td>78.0</td><td>-</td></tr><tr><td>SlowFast 8x8</td><td>ResNet18</td><td>40.4</td><td>77.5</td><td>93.3</td></tr><tr><td>SlowFast 8x8</td><td>ResNet50</td><td>65.7</td><td>79.3</td><td>94.2</td></tr><tr><td>R(2+1)D</td><td>ResNet50</td><td>101.8</td><td>78.7</td><td>93.4</td></tr><tr><td>R(2+1)D+ATFR</td><td>ResNet50</td><td>67.3</td><td>78.2</td><td>92.9</td></tr><tr><td>I3D</td><td>ResNet50</td><td>148.4</td><td>79.3</td><td>94.4</td></tr><tr><td>I3D+ATFR</td><td>ResNet50</td><td>105.2</td><td>78.8</td><td>93.6</td></tr><tr><td>X3D-S</td><td>-</td><td>1.9</td><td>77.9</td><td>93.4</td></tr><tr><td>X3D-S+ATFR</td><td>-</td><td>1.1</td><td>78.0</td><td>93.5</td></tr><tr><td>3DResNet</td><td>ResNet50</td><td>40.8</td><td>79.2</td><td>94.6</td></tr><tr><td>3DResNet+ATFR</td><td>ResNet50</td><td>23.4</td><td>79.3</td><td>94.6</td></tr></table>
218
+
219
+ Table 7: Comparison with state-of-the-art methods on Mini-Kinetics. The accuracy for Fast-S3D [32] is reported with 64 frames.
220
+
221
+ $\sim 20\mathrm{k}$ validation videos of 400 human action categories. Table 8 shows the comparison with the state-of-the-art. We add the SGS module to the state-of-the-art 3D CNNs SlowFast [9] and three versions of X3D [8].
222
+
223
+ As it can be seen, our SGS module drastically decreases the GFLOPs of all 3D CNNs. In contrast to Mini-Kinetics, it even improves the accuracy for all 3D CNNs. We will see that this is the case for all large datasets. For X3D-XL [8], we observe a $\sim 45\%$ reduction in GFLOPs and $0.2\%$ improvement in accuracy. We can see that X3D-XL+ATFR requires similar GFLOPs compared to X3DL [8] while providing a higher accuracy by $1.8\%$ . We can also see that X3D-XL+ATFR requires drastically less GFLOPs compared to X3D-L [8] while getting a higher accuracy by $1.1\%$ . In comparison to the computational heavy SlowFast $16\times 8,\mathrm{R}101+\mathrm{NL}$ [9], X3D-XL+ATFR gets higher top-5 and comparable top-1 accuracy while having $8.9\times$ less GFLOPs.
224
+
225
+ Comparing the 3D CNNs with ATFR to SCSampler [15] and FASTER [20], which require to train two networks, our approach with a single adaptive 3D CNN achieves a higher accuracy and lower GFLOPs. Note that our approach is complementary to [15, 20] and the two static 3D CNNs used in these works can be replaced by adaptive 3D CNNs. Nevertheless, our approach outperforms these works already with a single 3D CNN. Fig. 4 shows the accuracy/GFLOPs trade-off for a few 3D CNNs with and without ATFR.
226
+
227
+ # 5.5. Kinetics-600
228
+
229
+ We also evaluate our approach on the Kinetics-600 dataset [2]. As shown in Table 9, ATFR shows a similar performance as on Kinetics-400. Our SGS module drastically decreases the GFLOPs of all 3D CNNs while improving their accuracy. For X3D-XL[8], we observe a $\sim 47.1\%$ reduction of GFLOPs and a slight improvement in accuracy. The best model X3D-XL+ATFR achieves state-of-the-art accuracy. Note that the average GFLOPs of X3D
230
+
231
+ ![](images/80dcbc4248399acd6cdbfb0963a4c3a5c632d8eba2915c2da9c7bc072edaa7ec.jpg)
232
+ Figure 4: Accuracy vs. GFLOPs for the Kinetics-400 validation set.
233
+
234
+ <table><tr><td>model</td><td>GFLOPs</td><td>top1</td><td>top5</td><td>Param</td></tr><tr><td>I3D*[3]</td><td>108× N/A</td><td>71.1</td><td>90.3</td><td>12.0M</td></tr><tr><td>I3D+SCSampler*[15]</td><td>108×10+N/A</td><td>75.1</td><td>N/A</td><td>N/A</td></tr><tr><td>Two-Stream I3D*[3]</td><td>216×N/A</td><td>75.7</td><td>92.0</td><td>25.0M</td></tr><tr><td>Two-Stream S3D-G*[32]</td><td>143×N/A</td><td>77.2</td><td>-</td><td>23.1M</td></tr><tr><td>TSM R50*[18]</td><td>65×10</td><td>74.4</td><td>N/A</td><td>24.3M</td></tr><tr><td>HATNET[5]</td><td>N/A</td><td>77.2</td><td>N/A</td><td>N/A</td></tr><tr><td>STC[4]</td><td>N/A</td><td>68.7</td><td>88.5</td><td>N/A</td></tr><tr><td>Two-Stream I3D[3]</td><td>216×N/A</td><td>75.7</td><td>92.0</td><td>25.0M</td></tr><tr><td>R(2+1)D[25]</td><td>152×115</td><td>72.0</td><td>90.0</td><td>63.6M</td></tr><tr><td>Two-Stream R(2+1)D[25]</td><td>304×115</td><td>73.9</td><td>90.9</td><td>127.2M</td></tr><tr><td>FASTER32[20]</td><td>67.7×8</td><td>75.3</td><td>N/A</td><td>N/A</td></tr><tr><td>SlowFast8×8,R101+NL[9]</td><td>116×30</td><td>78.7</td><td>93.5</td><td>59.9M</td></tr><tr><td>SlowFast16×8,R101+NL[9]</td><td>234×30</td><td>79.8</td><td>93.9</td><td>59.9M</td></tr><tr><td>X3D-Lα[8]</td><td>18.3×10</td><td>76.8</td><td>92.5</td><td>6.1M</td></tr><tr><td>X3D-Lβ[8]</td><td>24.8×30</td><td>77.5</td><td>92.9</td><td>6.1M</td></tr><tr><td>SlowFast4×16,R50[9]</td><td>36.1×30</td><td>75.6</td><td>92.1</td><td>34.40M</td></tr><tr><td>SlowFast4×16,R50+ATFR</td><td>20.8×30 (↓42%)</td><td>75.8</td><td>92.4</td><td>34.40M</td></tr><tr><td>X3D-Sα[8]</td><td>1.9×10</td><td>72.9</td><td>90.5</td><td>3.79M</td></tr><tr><td>X3D-S+ATFRα</td><td>1.0×10 (↓47%)</td><td>73.5</td><td>91.2</td><td>3.79M</td></tr><tr><td>X3D-XLα[8]</td><td>35.8×10</td><td>78.4</td><td>93.6</td><td>11.09M</td></tr><tr><td>X3D-XL+ATFRα</td><td>20×10 (↓44%)</td><td>78.6</td><td>93.9</td><td>11.09M</td></tr><tr><td>X3D-XLβ[8]</td><td>48.4×30</td><td>79.1</td><td>93.9</td><td>11.09M</td></tr><tr><td>X3D-XL+ATFRβ</td><td>26.3×30 (↓45%)</td><td>79.3</td><td>94.1</td><td>11.09M</td></tr></table>
235
+
236
+ Table 8: Comparison to the state-of-the-art on Kinetics-400. X3D XL+AFTR achieves the STA top5 while requiring $8.8 \times$ less GFLOPs compared to STA SlowFast $16 \times 8$ , R101 + NL. Following [8], we apply two testing strategies: $\alpha$ samples uniformly 10 clips; $\beta$ takes additionally 3 spatial crops for each sampled clip. For both setups, spatial scaling and cropping settings are as in [8]. * denotes models pretrained on ImageNet.
237
+
238
+ XL+ATFR are even lower on Kinetics-600 compared to Kinetics-400. This shows that the additional videos of Kinetics-600 are less challenging in terms of motion, which is also reflected by the higher classification accuracy. Compared to SlowFast $16 \times 8$ , R101+NL [9], it requires about $9 \times$ less GFLOPs.
239
+
240
+ # 5.6. Something-Something-V2
241
+
242
+ We finally provide results for the Something-Something V2 dataset [11]. It contains 169K training and 25K validation.
243
+
244
+ <table><tr><td>model</td><td>pretrain</td><td>GFLOPs</td><td>top1</td><td>top5</td></tr><tr><td>Oct-I3D+NL[3]</td><td>ImageNet</td><td>25.6×30</td><td>76.0</td><td>N/A</td></tr><tr><td>HATNET[5]</td><td>HVU</td><td>N/A</td><td>81.6</td><td>N/A</td></tr><tr><td>HATNET[5]</td><td>-</td><td>N/A</td><td>80.2</td><td>N/A</td></tr><tr><td>I3D[3]</td><td>-</td><td>108× N/A</td><td>71.9</td><td>90.1</td></tr><tr><td>SlowFast16×8,R101+NL[9]</td><td>-</td><td>234×30</td><td>81.8</td><td>95.1</td></tr><tr><td>SlowFast4×16,R50[9]</td><td>-</td><td>36.1×30</td><td>78.8</td><td>94.0</td></tr><tr><td>X3D-M[8]</td><td>-</td><td>6.2×30</td><td>78.8</td><td>94.5</td></tr><tr><td>X3D-M+ATFR</td><td>-</td><td>3.3×30 (↓ 46%)</td><td>79.0</td><td>94.9</td></tr><tr><td>X3D-XL[8]</td><td>-</td><td>48.4×30</td><td>81.9</td><td>95.5</td></tr><tr><td>X3D-XL+ATFR</td><td>-</td><td>25.6×30 (↓ 47%)</td><td>82.1</td><td>95.6</td></tr></table>
245
+
246
+ Table 9: Comparison to the state-of-the-art on Kinetics-600.
247
+
248
+ <table><tr><td>model</td><td>pretrain</td><td>GFLOPs</td><td>top1</td><td>top5</td></tr><tr><td>SlowFast-R50 [27]</td><td>Kinetics400</td><td>132.8</td><td>61.7</td><td>87.8</td></tr><tr><td>SlowFast-R50+ATFR</td><td>Kinetics400</td><td>87.8 (↓ 33%)</td><td>61.8</td><td>87.9</td></tr></table>
249
+
250
+ Table 10: Results for the Something-Something-V2 dataset.
251
+
252
+ tion videos of 174 action classes that require more temporal modeling compared to Kinetics. Following [27], we use a R50-SlowFast model pre-trained on Kinetics-400 with 64 frames for the fast pathway, speed ratio of $\alpha = 4$ , and channel ratio $\beta = 1/8$ . Similar to Kinetics, the SGS module reduces the GFLOPs by $33.9\%$ while keeping the accuracy almost the same. For more implementation details please refer to the supplementary material.
253
+
254
+ # 6. Conclusion
255
+
256
+ Designing computationally efficient deep 3D convolutional neural networks for understanding videos is a challenging task. In this work, we proposed a novel trainable module called Similarity Guided Sampling (SGS) to increase the efficiency of 3D CNNs for action recognition. The new SGS module selects the most informative and distinctive temporal features within a network such that as much temporal features as needed but not more than necessary are used for each input clip. By integrating SGS as an additional layer within current 3D CNNs, which use static temporal feature resolutions, we can convert them into much more efficient 3D CNNs with adaptive temporal feature resolutions (ATFR). We evaluated our approach on six action recognition datasets and integrated SGS into five different state-of-the-art 3D CNNs. The results demonstrate that SGS drastically decreases the computation cost (GFLOPS) between $33\%$ and $53\%$ without compromising accuracy. For large datasets, the accuracy even increases and the 3D CNNs with ATFR are not only very efficient, but they also achieve state-of-the-art results.
257
+
258
+ Acknowledgement The work has been financially supported by the ERC Starting Grant ARCA (677650).
259
+
260
+ # References
261
+
262
+ [1] Humam Alwassel, Fabian Caba Heilbron, and Bernard Ghanem. Action search: Spotting actions in videos and its application to temporal action localization. In Proceedings of the European Conference on Computer Vision (ECCV), 2018. 3
263
+ [2] Joao Carreira, Eric Noland, Andras Banki-Horvath, Chloe Hillier, and Andrew Zisserman. A short note about kinetics-600. arXiv, 2018. 5, 7
264
+ [3] Joao Carreira and Andrew Zisserman. Quo vadis, action recognition? a new model and the kinetics dataset. In CVPR, 2017. 2, 5, 7, 8
265
+ [4] Ali Diba, Mohsen Fayyaz, Vivek Sharma, M Mahdi Arzani, Rahman Yousefzadeh, Juergen Gall, and Luc Van Gool. Spatio-temporal channel correlation networks for action classification. In ECCV, 2018. 1, 2, 8
266
+ [5] Ali Diba, Mohsen Fayyaz, Vivek Sharma, Manohar Paluri, Jürgen Gall, Rainer Stiefelhagen, and Luc Van Gool. Large scale holistic video understanding. In ECCV, 2020. 2, 8
267
+ [6] Ali Diba, Vivek Sharma, Luc Van Gool, and Rainer Stiefelhagen. Dynamonet: Dynamic action and motion network. In Proceedings of the IEEE International Conference on Computer Vision, pages 6192-6201, 2019. 1, 2
268
+ [7] Ali Diba, Vivek Sharma, and Luc Van Gool. Deep temporal linear encoding networks. In CVPR, 2017. 1, 2
269
+ [8] Christoph Feichtenhofer. X3d: Expanding architectures for efficient video recognition. In CVPR, 2020. 1, 2, 3, 5, 7, 8
270
+ [9] Christoph Feichtenhofer, Haoqi Fan, Jitendra Malik, and Kaiming He. Slowfast networks for video recognition. ICCV, 2019. 1, 2, 3, 5, 7, 8
271
+ [10] Priya Goyal, Piotr Dollar, Ross B. Girshick, Pieter Noordhuis, Lukasz Wesolowski, Aapo Kyrola, Andrew Tulloch, Yangqing Jia, and Kaiming He. Accurate, large minibatch sgd: Training imagenet in 1 hour. ArXiv, 2017. 5
272
+ [11] Raghav Goyal, Samira Ebrahimi Kahou, Vincent Michalski, Joanna Materzynska, Susanne Westphal, Heuna Kim, Valentin Haenel, Ingo Fruend, Peter Yianilos, Moritz Mueller-Freitag, Florian Hoppe, Christian Thurau, Ingo Bax, and Roland Memisevic. The "something something" video database for learning and evaluating visual common sense. In ICCV, 2017. 5, 8
273
+ [12] Kensho Hara, Hirokatsu Kataoka, and Yutaka Satoh. Can spatiotemporal 3d cnns retrace the history of 2d cnns and imagenet. In CVPR, 2018. 1, 2
274
+ [13] Andrej Karpathy, George Toderici, Sanketh Shetty, Thomas Leung, Rahul Sukthankar, and Li Fei-Fei. Large-scale video classification with convolutional neural networks. In CVPR, 2014. 2
275
+ [14] Will Kay, Joao Carreira, Karen Simonyan, Brian Zhang, Chloe Hillier, Sudheendra Vijayanarasimhan, Fabio Viola, Tim Green, Trevor Back, Paul Natsev, et al. The kinetics human action video dataset. arXiv preprint arXiv:1705.06950, 2017. 2, 5, 7
276
+ [15] Bruno Korbar, Du Tran, and Lorenzo Torresani. Scsampler: Sampling salient clips from video for efficient action recognition. In ICCV, 2019. 1, 2, 3, 7, 8
277
+
278
+ [16] Hildegard Kuehne, Hueihan Jhuang, Estibaliz Garrote, Tomaso Poggio, and Thomas Serre. Hmdb: a large video database for human motion recognition. In ICCV, 2011. 5
279
+ [17] Myunggi Lee, Seungeui Lee, Sungjoon Son, Gyutae Park, and Nojun Kwak. Motion feature network: Fixed motion filter for action recognition. In Proceedings of the European Conference on Computer Vision (ECCV), pages 387-403, 2018. 2
280
+ [18] Ji Lin, Chuang Gan, and Song Han. Tsm: Temporal shift module for efficient video understanding. In Proceedings of the IEEE International Conference on Computer Vision, pages 7083-7093, 2019. 2, 8
281
+ [19] Ilya Loshchilov and Frank Hutter. Sgdr: Stochastic gradient descent with warm restarts. In *ICLR*, 2017. 5
282
+ [20] Anshul Shah, Shlok Mishra, Ankan Bansal, Jun-Cheng Chen, Rama Chellappa, and Abhinav Shrivastava. Faster recurrent networks for efficient video classification. In AAAI, 2020. 1, 2, 3, 7, 8
283
+ [21] Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. In ICLR, 2015. 5
284
+ [22] Khurram Soomro, Amir Roshan Zamir, and Mubarak Shah. Ucf101: A dataset of 101 human actions classes from videos in the wild. arXiv preprint arXiv:1212.0402, 2012. 5
285
+ [23] Yu-Chuan Su and Kristen Grauman. Leaving some stones unturned: dynamic feature prioritization for activity detection in streaming video. In European Conference on Computer Vision, 2016. 3
286
+ [24] Du Tran, Lubomir Bourdev, Rob Fergus, Lorenzo Torresani, and Manohar Paluri. Learning spatiotemporal features with 3d convolutional networks. In ICCV, 2015. 1, 2
287
+ [25] Du Tran, Heng Wang, Lorenzo Torresani, Jamie Ray, Yann LeCun, and Manohar Paluri. A closer look at spatiotemporal convolutions for action recognition. In CVPR, 2018. 2, 3, 5, 7, 8
288
+ [26] Xiaolong Wang, Ross Girshick, Abhinav Gupta, and Kaiming He. Non-local neural networks. In CVPR, 2018. 5
289
+ [27] Chao-Yuan Wu, Ross Girshick, Kaiming He, Christoph Feichtenhofer, and Philipp Krahenbuhl. A multigrid method for efficiently training video models. In CVPR, 2020. 8
290
+ [28] Wenhao Wu, Dongliang He, Xiao Tan, Shifeng Chen, and Shilei Wen. Multi-agent reinforcement learning based frame sampling for effective untrimmed video recognition. In Proceedings of the IEEE International Conference on Computer Vision, 2019. 3
291
+ [29] Zuxuan Wu, Caiming Xiong, Yu-Gang Jiang, and Larry S Davis. Liteeval: A coarse-to-fine framework for resource efficient video recognition. In NeurIPS, 2019. 3
292
+ [30] Zuxuan Wu, Caiming Xiong, Chih-Yao Ma, Richard Socher, and Larry S Davis. Adaframe: Adaptive frame selection for fast video recognition. In CVPR, 2019. 3
293
+ [31] Saining Xie, Chen Sun, Jonathan Huang, Zhuowen Tu, and Kevin Murphy. Rethinking spatiotemporal feature learning for video understanding. In ECCV, 2018. 2, 3
294
+ [32] Saining Xie, Chen Sun, Jonathan Huang, Zhuowen Tu, and Kevin Murphy. Rethinking spatiotemporal feature learning: Speed-accuracy trade-offs in video classification. In ECCV, 2018. 5, 7, 8
295
+
296
+ [33] Serena Yeung, Olga Russakovsky, Greg Mori, and Li Fei-Fei. End-to-end learning of action detection from frame glimpses in videos. In Proceedings of the IEEE conference on computer vision and pattern recognition, 2016. 3
297
+ [34] Mohammadreza Zolfaghari, Kamaljeet Singh, and Thomas Brox. Eco: Efficient convolutional network for online video understanding. In Proceedings of the European Conference on Computer Vision (ECCV), pages 695-712, 2018. 2
3dcnnswithadaptivetemporalfeatureresolutions/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ddc9f58a197fe8e315d3b197c9c6a1f27cc189c1c00f0df40cec6252f59afc59
3
+ size 434395
3dcnnswithadaptivetemporalfeatureresolutions/layout.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee24281a059c0182475237015004265150eaa9ac9d1e992ff71e7bfbed2940ed
3
+ size 380300
3dgraphanatomygeometryintegratednetworkforpancreaticmasssegmentationdiagnosisandquantitativepatientmanagement/d10c7ab6-127e-4028-8180-637679606f6e_content_list.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b9c9ffd7d4ac0776559b3118312c699989a4631c4fbd717f7ab3fd7b2aa59b3
3
+ size 74032
3dgraphanatomygeometryintegratednetworkforpancreaticmasssegmentationdiagnosisandquantitativepatientmanagement/d10c7ab6-127e-4028-8180-637679606f6e_model.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:589d2a8ad13fe39d08c3a6a2fcea99026adc4013e8e84006bc152d12afcd10ef
3
+ size 88688
3dgraphanatomygeometryintegratednetworkforpancreaticmasssegmentationdiagnosisandquantitativepatientmanagement/d10c7ab6-127e-4028-8180-637679606f6e_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db14ab87d585fc11a86769845970d43e7443bd900c686ac91831a9b64316d074
3
+ size 1648833
3dgraphanatomygeometryintegratednetworkforpancreaticmasssegmentationdiagnosisandquantitativepatientmanagement/full.md ADDED
@@ -0,0 +1,265 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 3D Graph Anatomy Geometry-Integrated Network for Pancreatic Mass Segmentation, Diagnosis, and Quantitative Patient Management
2
+
3
+ Tianyi Zhao\*1,2, Kai Cao\*3, Jiawen Yao $^{1}$ , Isabella Nogues $^{4}$ , Le Lu $^{1}$ , Lingyun Huang $^{5}$ , Jing Xiao $^{5}$ , Zhaozheng Yin $^{2}$ , Ling Zhang $^{1}$
4
+
5
+ <sup>1</sup> PAII Inc., <sup>2</sup>Stony Brook University, <sup>3</sup>Changhai Hospital, <sup>4</sup>Harvard University, <sup>5</sup>Ping An Technology
6
+
7
+ # Abstract
8
+
9
+ The pancreatic disease taxonomy includes ten types of masses (tumors or cysts) [20, 8]. Previous work focuses on developing segmentation or classification methods only for certain mass types. Differential diagnosis of all mass types is clinically highly desirable [20] but has not been investigated using an automated image understanding approach.
10
+
11
+ We exploit the feasibility to distinguish pancreatic ductal adenocarcinoma (PDAC) from the nine other nonPDAC masses using multi-phase CT imaging. Both image appearance and the 3D organ-mass geometry relationship are critical. We propose a holistic segmentation-mesh-classification network (SMCN) to provide patient-level diagnosis, by fully utilizing the geometry and location information, which is accomplished by combining the anatomical structure and the semantic detection-by-segmentation network. SMCN learns the pancreas and mass segmentation task and builds an anatomical correspondence-aware organ mesh model by progressively deforming a pancreas prototype on the raw segmentation mask (i.e., mask-to-mesh). A new graph-based residual convolutional network (GraphResNet), whose nodes fuse the information of the mesh model and feature vectors extracted from the segmentation network, is developed to produce the patient-level differential classification results. Extensive experiments on 661 patients' CT scans (five phases per patient) show that SMCN can improve the mass segmentation and detection accuracy compared to the strong baseline method nnUNet (e.g., for nonPDAC, Dice: 0.611 vs. 0.478; detection rate: $89\%$ vs. $70\%$ ), achieve similar sensitivity and specificity in differentiating PDAC and nonPDAC as expert radiologists (i.e., $94\%$ and $90\%$ ), and obtain results comparable to a multimodality test [20] that combines clinical, imaging, and molecular testing for clinical management of patients.
12
+
13
+ # 1. Introduction
14
+
15
+ Pancreatic cancer is the third leading cause of cancer-related deaths in the United States [7]. Furthermore, it
16
+
17
+ ![](images/570b4560a29cd928cfbb99ca75b1df051f01190442ffd2ec45053441ce3ec310.jpg)
18
+ Figure 1. Disease taxonomy of the ten types of pancreatic masses (tumors, cysts). Mass type diagnosis determines the clinical malignancy indications that lead to the proper patient risk stratification and management. The purple histogram bars represent their relative frequencies. All images are in the arterial-late CT phase.
19
+
20
+ has the poorest prognosis among all solid malignancies, with a 5-year survival rate $\sim 10\%$ [7, 2]. Early diagnosis is crucial, as it can potentially increase the five-year survival rate to $\sim 50\%$ [5]. The clinical management of patients with pancreatic disease is based on the potential of the mass to become an invasive cancer. Unlike masses in other organs, pancreatic masses often cannot be reached precisely via needle biopsy due to the pancreas's deep location in the abdomen and the complex network of surrounding organs and vessels. Therefore, reliable imaging-based diagnosis is critical to identifying patients who truly require cancer treatment (e.g., surgery) in a timely fashion, while avoiding unnecessary iatrogenic morbidity. Developing deep learning methods to detect masses, identify ma
21
+
22
+ lignancies, provide diagnoses and predict cancer prognosis has the potential to revolutionize pancreatic cancer imaging [4, 2, 8, 36, 27, 32, 30].
23
+
24
+ Multi-phase computed tomography (CT) is the first-line imaging modality for the diagnosis of pancreatic diseases. Differential diagnosis of pancreatic masses is challenging for several reasons. (1) The same type of mass may appear in different textures, shapes, contrasts, and different enhancement patterns across CT phases. (2) Pancreatic ductal adenocarcinoma (PDAC) accounts for most cases in pancreatic cancer specialized hospitals, causing a long-tail problem. (3) Masses, at times, are surrounded by inflamed tissues and thus cannot be easily identified. The pancreatic diseases in our database encompass ten types of masses (Fig. 1): PDAC, ampullary cancer (AC), bile duct cancer (DC), pancreatic neuroendocrine tumor (PNET), rare neoplasm (RARE), solid pseudopapillary tumor (SPT), chronic pancreatitis (CP), intraductal papillary mucinous neoplasm (IPMN), mucinous cystic neoplasm (MCN), and serous cystic neoplasm (SCN). To this end, we develop anatomy-aware 3D deep graph networks to automatically segment, detect, and perform differential diagnosis of the underlying diseases.
25
+
26
+ We tackle two main problems with strong clinical indications: 1) PDAC versus nonPDAC differentiation and 2) clinical management of patients. PDAC is a unique group with the most dismal prognosis. Distinguishing PDAC from nonPDACs is always the primary question to answer. Patient management includes three recommendations: surgery, monitoring, and discharge (lower pannel in Fig. 1) [20]. Patients with malignant masses require cancer treatment (e.g., surgery). Those with potentially malignant masses require surgery if they are invasive or high-grade dysplasias, or monitoring otherwise. Those with nonmalignant masses could be safely discharged. Fine-grained classification of ten classes of masses using multi-phase CT is a very difficult long-tail problem.
27
+
28
+ Existing automatic pancreatic mass image analysis methods [34, 36, 33, 35, 27, 32] focus on segmentation of certain types of tumors or cysts and thus cannot exploit the full-spectrum taxonomy of pancreatic mass/disease diagnoses. For pancreatic disease diagnosis, both texture and geometry cues are clinically useful. For instance, some types of masses appear at specific locations of the pancreas: AC and DC appear only at the pancreas head while MCN rarely appears at the head. Others spread over the entire pancreas, such as CP and IPMN. Additionally, some secondary signs of diseases are informative for diagnosis. Parenchymal atrophy and pseudocyst are observed in CP, causing a significant change in the shape of the pancreas. Most pancreatic cancers lead to dilatation of the pancreatic duct, with IPMN in particular abruptly modifying its caliber.
29
+
30
+ To integrate such prior knowledge/correspondence into the model, (1) we propose a segmentation based detection network which can segment and identify pancreatic disease regions simultaneously. Our segmentation network takes multi-phase CT scans as input and outputs segmentation masks of the pancreas (as the studied organ) and mass. We also develop a weak-supervised segmentation method for cases when we have all pixel-level PDAC annotations but only nonPDAC labels. (2) A mask-to-mesh algorithm is used to build a 3D correspondence-aware mesh from the pancreas segmentation output. The geometry of the pancreas, as well as the location, shape, and distributions of the detected mass can all be captured/encoded by the mesh model. We present a mesh-based feature pooling method that extracts features from the segmentation network and preserve the anatomic structure (each vertex of the mesh has its anatomic meaning). Based on a fixed vertex index list, the pancreas can be automatically divided or parsed into four major sections: head, ventral body, dorsal body, and tail. (3) A geometry-integrated graph classification network utilizes the 3D anatomy correspondence-aware mesh based deep feature pooling to predict the pancreatic mass type. The network consists of graph-based residual convolutional blocks and an anatomy-based graph pooling layer. All the networks can be trained end-to-end via gradient-based optimization based on a loss function combining the segmentation loss, mesh vertex classification loss, and global graph classification loss.
31
+
32
+ Our main contributions are three-fold. (1) To the best of our knowledge, this is the first work to propose a multiphase CT imaging analysis method for the full-spectrum taxonomy of pancreatic mass/disease diagnosis. (2) We are the first to integrate the 3D geometry-aware mesh model for effective pancreatic mass (tumor or cyst) imaging analysis (Sec. 3.2, Sec. 3.3), explicitly capturing the anatomy-mass integrated geometry and texture cues. (3) We have extensively evaluated our models on 661 patients (five-phase CT scans per patient). We achieve a new state-of-the-art PDAC segmentation accuracy (Dice: 0.738) and a substantially better nonPDAC segmentation (Dice: 0.611 vs. 0.478) and detection accuracy (detection rate: $89\%$ vs. $70\%$ ) compared to the strong baseline method nnUNet. Our imaging-only automated approach demonstrates comparable performance levels with (a) expert radiologists in the differentiation of PDAC versus nonPDAC who combine the analysis on clinical factors, imaging, and blood tests, and (b) a state-of-the-art machine learning-based clinical patient management system (i.e., surgery, monitoring, discharge) using the multimodality tests [20].
33
+
34
+ # 2. Related Work
35
+
36
+ Deep Mesh Learning. Deep 3D reconstruction has been extensively studied in the computer vision and graph
37
+
38
+ ![](images/2cf5284697da418c7cc35b2425d7fd957bfe0ef012d5c8dec572621eb1c64bd4.jpg)
39
+ Figure 2. Flowchart of our proposed Segmentation-Mesh-Classification Network (SMCN). SMCN has three components: the pancreas-mass segmentation network, the mask-to-mesh 3D anatomy modeling, and the global mass classification network. The mesh model is the bridge between the segmentation network and the classification network, who pools the features from the segmentation network into the vertex feature vectors in the graph classification network.
40
+
41
+ ics fields [1, 12, 22, 25], and various methods have been proposed to learn 3D shapes of organs from medical images [17, 29, 26]. The key component of mesh learning methods is the graph convolutional neural network (GCN) [15], typically used for graph-structured data processing. A liver mesh modeling method, inspired by the Pixel2Mesh algorithm [22], is proposed in [29], which simultaneously generates the mesh model and segmentation mask with improved geometry and segmentation accuracies. Voxel2Mesh [26] learns the mesh of the liver directly from 3D image volumes with a new mesh unpooling operation for better mesh reconstruction. However, all of these methods are designed specifically for organ segmentation, and it is not clear how their segmentation and mesh results could be used for diagnosis.
42
+
43
+ Pancreatic Image Analysis. When manual segmentations of masses are available, radiomics schemes are commonly used to classify disease types [3, 6, 4]. However, heavy reliance on hand-annotated masks can make radiomics models less reproducible and scalable. To achieve automation, researchers have used detection-by-segmentation networks [35, 36, 27, 33] with U-Net as a common backbone network [18]. More recently, nnU-Net [13] (a self-adapting framework based on vanilla U-Nets) and its self-learning version have achieved competitive accuracy on PDAC segmentation [19, 23, 32]. Shape-induced information, e.g., tubular structure of dilated duct, has been exploited along with the PDAC segmentation task [16, 27, 23] to improve diagnosis. Existing studies mainly focus on PDAC [36, 27, 27, 33, 3, 24] or PNET [35], which cannot fully meet routine clinical needs on the full taxonomy of pancreatic tumor diagnosis. A comprehensive tax
44
+
45
+ onomy for pancreatic diseases has been clinically defined to help managing/treating patients [20] where a machine learning model is built on top of clinical factors, imaging characteristics, and molecular biomarkers. These complex measurements require intensive labor costs and manual intervention, with reduced generalization and reproducibility.
46
+
47
+ # 3. Methods
48
+
49
+ Our segmentation-mesh-classification framework is illustrated in Fig. 2, with three main components as below.
50
+
51
+ # 3.1. Anatomy-Mass Segmentation Network
52
+
53
+ The inputs $X$ of the segmentation network are multi(5)-phase 3D CT scans, which are concatenated into a 4D input, $X \in R^{5 \times W \times H \times D}$ . The input $Y$ is the label/annotation including the auto-segmented pancreas (by an ensemble nnUNet [13] model trained on a public pancreas dataset [19]) and radiologist-segmented PDAC and nonPDAC masses. It is represented by the one hot encoding $Y \in R^{K \times W \times H \times D}$ . The numbers of labels $K$ can differ by task, i.e. PDAC vs. nonPDAC or patient management. Our backbone network is nnUNet. The pixel-level segmentation loss combines the cross-entropy and Dice losses:
54
+
55
+ $$
56
+ L _ {C E} = - \sum_ {w, h, d} \sum_ {k} ^ {K} y _ {k, w, h, d} \log (F (x) _ {k, w, h, d}),
57
+ $$
58
+
59
+ $$
60
+ L _ {D C} = - 2 \sum_ {k} ^ {K} \frac {\sum_ {w , h , d} F (x) _ {k , w , h , d} y _ {k , w , h , d}}{\sum_ {w , h , d} F (x) _ {k , w , h , d} + \sum_ {w , h , d} y _ {k , w , h , d}},
61
+ $$
62
+
63
+ $$
64
+ L _ {S e g} = L _ {C E} + L _ {D C}. \tag {1}
65
+ $$
66
+
67
+ ![](images/bc4d7673e4650118d45714a7854718e7995ef62e6b5377464c82fc58fc76f219.jpg)
68
+ (a) Epoch 0
69
+
70
+ ![](images/ed641073f763ea5560a3d4f0e645bf451b5710748b1ab75c1477d08cc32df6ff.jpg)
71
+ (b) Epoch 20
72
+
73
+ ![](images/e81b341d308ba6516de8f3e69b45af9b38e319d189bceda3d1a9229bad28c72b.jpg)
74
+ (c) Epoch 40
75
+ Figure 3. The 3D mesh deformation process. The mesh is initialized as the pancreas prototype (a). Given the pancreas-mass segmentation mask (e), the geometry of the mesh is deformed gradually to fit the surface of the segmentation mask, as in (b-d). Red: the head of pancreas; Blue: the ventral body of pancreas; Yellow: the dorsal body of pancreas; Green: the tail of pancreas.
76
+
77
+ ![](images/514e023b9ba7943a201f0a341101efa500f645cf6da85c268f264e09e125179d.jpg)
78
+ (d) Epoch 60
79
+
80
+ ![](images/c3960fed4f2ff84eeb0b21ea24bc6af4d074a449795fc8ae36c65513e4aa43ae.jpg)
81
+ (e) Segmentation
82
+
83
+ where $F(x)$ is the softmax output of the network, $F(x) \in R^{K \times W \times H \times D}$ .
84
+
85
+ NonPDAC labels are usually more difficult to obtain than PDAC due to their diversified appearance in a long-tail distribution. As such, we can perform the PDAC vs. nonPDAC task using only the PDAC mask annotations (when nonPDAC ones unavailable) as follows. First, we train a segmentation model on the PDAC data alone, focusing on PDAC segmentation. Next, we apply the final PDAC segmentation model to the nonPDAC data. A large portion of the nonPDAC masses are solid tumors that can possibly be misdetected as PDAC. All raw detections from the nonPDAC dataset by the PDAC segmentation model are collected as pseudo nonPDAC labels. Finally, we train a new segmentation network by using both original PDAC and pseudo nonPDAC labels.
86
+
87
+ # 3.2. 3D Mesh-based Anatomy Representation
88
+
89
+ Unlike existing mesh learning methods [22, 26] that are initialized by a randomized ellipsoid mesh, we encode the prior knowledge into our initial anatomy mesh by fitting it to the pancreas shape with anatomical meanings.
90
+
91
+ Pancreas Anatomy. We first create a prototype mesh based on the average pancreas shape from the training fold. Afterwards, we place 156 vertices that are equally distributed on the surface of the prototype to build an anatomic structure. In particular, we separate them among the four anatomical regions of the pancreas, namely the pancreas head, ventral body, dorsal body and pancreas tail. The first 48 vertices belong to the pancreas head, denoted as red dots in Fig. 3. The 49-90th vertices belong to the ventral body of the pancreas, depicted by blue dots. The 91-135th vertices correspond to the dorsal body of the pancreas, shown in yellow dots. The last 21 vertices compose the tail of the pancreas, illustrated by green dots.
92
+
93
+ Mask-to-mesh Process. The next step is to deform the mesh to pancreas mask of each patient as the target (Fig. 3-(e)). The geometry of the mesh can be deformed gradually to fit the surface of the segmentation mask, as in Fig. 3(a-d), so as to preserve the true anatomy of the pancreas. In this way, our mesh could maintain the anatomical meaning after deformation. To guide this deformation process, we define a loss function composed of three terms: point
94
+
95
+ loss and two edge regularization terms. We define $p$ to be the vertex in the mesh and $q$ the voxels of the surface in the segmentation mask. Point loss, intuitively, measures the distance of each point to the nearest point at the surface of the segmentation. $L_{pt} = \sum_{p} \min_{q} ||p - q||_{2}^{2}$ . With the point loss, the pancreas mesh can be driven to fit the segmentation mask. Then we propose the first edge regularization term in order to preserve the geometry of the mesh: $L_{e_1} = \sum_{e} ||e - mean(e)||_2^2$ , $e = ||p - p'||_2$ , $p' \in N(p)$ where $N(p)$ is the neighboring vertices of $p$ . Next, to penalize the flying vertices (i.e. abnormal vertices randomly updated during the deformation process, resulting in structure flaws), we propose the second edge regularization loss to simply minimize the edge length: $L_{e2} = \sum_{e} e$ . Finally, the overall loss is
96
+
97
+ $$
98
+ L _ {m e s h f i t} = L _ {p t} + \lambda_ {1} L _ {e 1} + \lambda_ {2} L _ {e 2} \tag {2}
99
+ $$
100
+
101
+ Note that mesh vertices can keep their anatomic meaning even after the deformation process. The mesh fitting process can automatically parse the head, ventral body, dorsal body, and tail of the pancreas and could better preserve the anatomical-aware information in the mesh deformation.
102
+
103
+ **Rendering.** Based on the coordinates of the mesh vertices, we divide the pancreas into zones $Z(p)$ . Each voxel of the segmented pancreas volume is defined in a zone by its nearest vertex, as shown in Fig. 2(b). The rendering method to define the zones from the each vertex includes the following steps: 1) The vertex in a 3D volume $A \in R^{W,H,D}$ is labeled by its index, i.e., the $i$ th vertex at $(w,h,d)$ is labeled as $i$ , $A_{w,h,d} = i$ . All the other voxels of $A$ are set to zero. 2) The 3D volume $A$ is dilated by one voxel as $A'$ . Each zero-voxel in $A$ with a corresponding non-zero voxel in $A'$ that belongs to the pancreas in the segmentation output $F(x)$ is substituted with the corresponding voxel in $A'$ . 3) Repeat the step 2) until all voxels have been updated.
104
+
105
+ # 3.3. Global Mass Classification Network
106
+
107
+ Vertex Feature Pooling. Given a deformed mesh and its representative vertex zones, we integrate them into the deep network for shape-constrained detection and segmentation. We encode the anatomical structure of the pancreas, as well as the tumor's texture and geometry into the feature vector. As such, the feature vector can be viewed as an anatomical
108
+
109
+ ![](images/2401ddbf2078da054cf89f9523912b21e212734861bb7a3b11424401f111e53a.jpg)
110
+ (b) 3D Deep Network
111
+
112
+ ![](images/2dbf4b2efa8406bf1c6f503273c1c038ebc58798766553aaea5f445fc9e8060d.jpg)
113
+
114
+ Figure 4. Illustration of the feature vector $h_i$ for the $i$ th vertex. $x_i, y_i, z_i$ represents the location of the $i$ th vertex. $e_i$ is the average of all edge lengths $e_{ij}$ (i.e., the distance from every neighboring vertex $j$ of to $i$ ). $d_i$ denotes the shortest distance from the $i$ th vertex to the tumor surface.
115
+ ![](images/fd502c530976ba9959744f573c5775f3a899a5559e63eaa606937c69849c0be1.jpg)
116
+ (c) $h_p^0: \overline{x_p} \cdot \overline{y_p} \cdot \overline{z_p} \cdot \overline{e_p} \cdot \overline{d_p}$ Local feature vector $_p$ Global feature vector
117
+
118
+ ![](images/42f7605fbac72e6c2d4031ad79116663837bbc01f822d2c72d00164a4880b1d2.jpg)
119
+
120
+ representation of the pancreas and tumor of interest. We define $h_p^0$ as the initialized feature vector attached to vertex $p$ of the pancreas mesh, as shown in Fig. 4(a,c). The anatomical feature representation contains the vertex coordinates $(x_p, y_p, z_p)$ , the average edge length to its neighbours $e_p$ , the distance from $p$ to the nearest tumor surface point $d_p$ , and the local and global feature vectors pooled from prediction probability maps of the segmentation network. More specifically, $e_p = \sum_{p' \in N(p)} e_{pp'} / |N(p)|$ (Fig. 4(d)) and $d_p = \min_r \| p - r\|_2^2$ , where $r$ is the point at the surface of the mass (Fig. 4(e)). The zone $Z(p)$ then acts as the receptive field within which we pool the prediction probability maps of the 3D segmentation network $(F(x))$ to obtain a local feature vector, as shown in Fig. 4(b). The probability maps within the receptive field can be represented as a list of feature vectors $F(x)_{w,h,d} \in R^K$ , where $(w,h,d) \in Z(p)$ .
121
+
122
+ In addition to Mesh-based Feature Pooling, we also perform global average pooling to get a global feature vector from the probability map of the 3D segmentation Network in Fig. 4 (b). We then concatenate the meta information, the local feature vectors of each individual vertex, and the global feature vector of the entire mesh to create the feature vector $h_p^0$ . We explicitly encode the pancreas-to-tumor geometry, the tumor's location in the pancreas, and its texture in the mesh-based anatomy representation. This improves the model's ability to learn anatomy-aware features, which will ultimately improve its performance in pancreatic mass/disease diagnosis based on the full-spectrum pancreatic disease taxonomy.
123
+
124
+ Graph-ResNet. After obtaining feature vectors $h_i$ for each vertex, we feed them into the graph-based residual convolutional network (Graph-ResNet) which has proven to be successful in a recent deep mesh learning application [22]. We reduced the original Graph-ResNet to a smaller network containing six graph convolutional layers and shortcut connections between every two layers to perform the tumor classification task under three granularity
125
+
126
+ levels. Each graph-based convolutional layer is defined as:
127
+
128
+ $$
129
+ h _ {p} ^ {l + 1} = w _ {0} h _ {p} ^ {l} + \sum_ {p ^ {\prime} \in N (p)} w _ {1} h _ {p ^ {\prime}} ^ {l} \tag {3}
130
+ $$
131
+
132
+ where $h_p^l$ is the feature vector attached on vertex $p$ at layer $l$ of the Graph-ResNet. $w_0$ and $w_1$ are learned parameters, with $w_1$ being shared by all edges. The graph-based convolutional layer accounts for the way in which vertices neighboring a given vertex regularize the vertex-to-neighbor exchange of information. We use two classification training losses: the vertex-level classification loss and the global classification loss. The vertex classification loss is defined as the cross-entropy loss and is applied to each vertex as
133
+
134
+ $$
135
+ L _ {V e r t e x} = - \sum_ {p} \sum_ {k} ^ {K} y _ {k, p} ^ {v} \log \left(G \left(h ^ {0}\right) _ {k, p}\right), \tag {4}
136
+ $$
137
+
138
+ where $G(h^0)$ denotes the softmax output of the graph network at every vertex. The vertex label $y^{v}$ is inferred from the labeled mask. Background voxels are labeled as 0, pancreas voxels as 1, and voxels for all mass types with labels greater than 1. The vertex $q$ is labeled using the maximum value of the voxels in its corresponding zone $Z(p)$ , $\hat{y}_p^v = \max_{(w,h,d)\in Z(p)}\hat{y}_{w,h,d}$ . $y^{v}$ is the one-hot encoding of $\hat{y}^v$ . Considering that some mass types may have blurry boundaries and the mass neighbor $Z(p)$ may also contain relevant cancer-related information, this labeling strategy and the propagation/smoothing property of the Graph-ResNet makes our approach robust to the quality of segmentation annotations or labels and increase the detection rates of masses.
139
+
140
+ Global Mass Classification. After running Graph ResNet, we pool four features from all four pancreatic regions according to the vertex indices (1-48, 49-93, 94-135, 136-156), as shown in Fig. 2. These four global feature vectors and 156 local feature vectors are concatenated into one vector $h^{vp}$ , and fed into the final mass classification layer. The final global classification layer is a fully-connected layer. The global classification loss is the cross-entropy loss:
141
+
142
+ $$
143
+ L _ {G l o b a l} = - \sum_ {k} ^ {K} y _ {k} ^ {q} \log \left(H \left(h ^ {v p}\right) _ {k}\right), \tag {5}
144
+ $$
145
+
146
+ where $H(h^{vp})$ is the softmax output of the classification layer, and $y^g$ the patient-level mass/disease label. The overall loss function is the combination of three losses:
147
+
148
+ $$
149
+ L = L _ {S e g} + \eta_ {1} L _ {V e r t e x} + \eta_ {2} L _ {G l o b a l}. \tag {6}
150
+ $$
151
+
152
+ where $\eta$ is a hyperparameter used to balance the three loss components. $L_{Seg}$ is the pixel-level segmentation loss, and $L_{Vertex}$ is the vertex classification loss (Eq.4). All networks, namely the 3D segmentation network and the classification Graph-ResNet, can be trained end-to-end by leveraging this global loss function.
153
+
154
+ # 4. Experiments
155
+
156
+ Data and Preprocessing. Our dataset contains 661 patients with surgical pathology-confirmed pancreatic masses (366 PDACs, 46 ACs, 12 DCs, 35 PNETs, 13 RAREs, 32 SPTs, 43 CPs, 61 IPMNs, 7 MCNs, and 46 SCNs). Each patient has 5-phase CT scans: non-contrast (NC), arterial-early (AE), arterial-late (AL), venous (V), and delay (D). The median voxel size is $0.419 \times 0.419 \times 3\mathrm{mm}$ . The manual annotations of masses was performed by an experienced pancreatic imaging radiologist on the AL phase; CT scans from the other four phases are registered to AL by DEEDS [11]. Data augmentation is performed on-the-fly. This includes spatial transforms, Gaussian blur, and contrast shifting [13]. The hyper-parameters are set as $\lambda_{1} = 10^{-4}$ , $\lambda_{2} = 10^{-2}$ , and $\eta_{1} = \eta_{2} = 0.1$ based on preliminary experiments. All experiments are performed using nested three-fold cross-validation. In each fold, the network is trained for 1000 epochs. The best model is selected based on its performance on the validation set. It is then applied to the test set to generate the final experimental results.
157
+
158
+ # 4.1. Evaluation on Mass Segmentation
159
+
160
+ Quantitative Evaluation. Segmentation accuracy is measured using the Dice coefficient. Dice scores and detection rates of PDACs and nonPDACs (10 disease classes in total) are provided in Table 1. A detection is considered successful if the intersection (between the ground truth and segmentation mask) over the ground truth is $\geq 10\%$ (counted as 1); otherwise, it is considered a misdetection (counted as 0). Our SMCN network is compared to a strong baseline, 3D nnUNet [13], trained from scratch on our dataset. We find that integrating the 3D mesh-based anatomy representation into Graph-ResNet significantly improves mass segmentation and detection accuracies, especially for non-PDAC, as determined by Wilcoxon signed-ranks test (Dice: 0.611 vs. 0.478; Detection rate: $88.7\%$ vs. $69.3\%$ ).
161
+
162
+ Qualitative Evaluation. Fig.5 illustrates the segmentation results for qualitative comparison. SMCN can guide the segmentation network by integrating geometry cues and achieve more complete segmentation results, especially for harder and relatively rare nonPDAC classes. In Fig.5, nnUNet misdetects an AC (malignant) completely because the tumor is outside of the pancreas head. Our SMCN model instead detects this AC finding. For an IPMN case (malignant potential), our model provides more complete segmentation including the clinically-critical secondary signs of pancreatic duct dilatation, than the 3D nnUNet model [13]. For SCN (benign), SMCN segments the full tumor surface. All demonstrate that our anatomy geometry-aware SMCN network produces superior segmentation results against the state-of-the-art 3D nnUNet [13], being widely used in medical imaging applications.
163
+
164
+ PDAC Segmentation under Different CT Phases. We
165
+
166
+ Image Label nnUNet [13] SMCN
167
+
168
+ ![](images/c2c76227e5fcc100894d913b6d3ede3ebdc232dcda94250ef78820d30392c535.jpg)
169
+ Figure 5. Examples of pancreas-mass segmentation results. Light red: pancreas. Green: surgery mass. Blue: monitoring mass. Yellow: discharge mass.
170
+
171
+ ![](images/b8943346c7c4fcf3429403d0dfb06fafba1a4a08c0bcac9056314a5d2a4fae60.jpg)
172
+ Figure 6. Examples of 3D meshes generated from pancreas segmentation under various scenarios. Top: red denotes the head of pancreas; blue the ventral body; yellow the dorsal body; and green the tail. Bottom: light red depicts the pancreas; green the surgery tumor; blue the monitoring tumor; and yellow the discharge tumor.
173
+
174
+ compare our method to three other state-of-the-art methods of [32], DDT [23], and [27] which are applied to Venous phase. For ease of comparison, we implement/evaluate our models using only one or a few CT phases (in Table 2). The AL phase outperforms all other individual phases due to its higher voxel resolution and imaging contrast; the second best is Venous phase, widely adopted in clinical settings. The fusion/concatenation of multiple CT phases as the network's input yields better results than any single phase. The combined five phases yield the best segmentation Dice score of 0.738, which noticeably improves upon the previous state-of-the-art result of 0.709 [32]. Note that in [32] PDACs are mostly small in size and are only located at the pancreas head. In our dataset, by contrast, PDACs appear in various sizes and span the entire pancreas. The fusion of all four phases but AL as input yields better results than any single phase as well (Dice scores 0.696 vs. $0.562 \sim 0.675$ ).
175
+
176
+ Table 1. Segmentation and detection results over the ten types of pancreatic masses. Note that in this experiment, networks are trained with four labels: background, pancreas, PDAC, and nonPDAC. micro: result for all patients; macro: average of the metrics of the ten classes.
177
+
178
+ <table><tr><td></td><td>Metric</td><td>PDAC</td><td>NonPDAC</td><td>AC</td><td>CP</td><td>DC</td><td>IPMN</td><td>MCN</td><td>PNET</td><td>RARE</td><td>SCN</td><td>SPT</td><td>micro</td><td>macro</td></tr><tr><td rowspan="2">nnUNet[13]</td><td>Average Dice</td><td>0.734</td><td>0.478</td><td>0.423</td><td>0.533</td><td>0.001</td><td>0.151</td><td>0.924</td><td>0.514</td><td>0.849</td><td>0.585</td><td>0.762</td><td>0.618</td><td>0.548</td></tr><tr><td>Detection rate</td><td>0.959</td><td>0.693</td><td>0.7</td><td>0.778</td><td>0.0</td><td>0.308</td><td>1.0</td><td>0.833</td><td>1.0</td><td>0.8</td><td>1.0</td><td>0.838</td><td>0.738</td></tr><tr><td rowspan="2">SMCN(Ours)</td><td>Average Dice</td><td>0.738</td><td>0.611</td><td>0.438</td><td>0.668</td><td>0.006</td><td>0.602</td><td>0.924</td><td>0.514</td><td>0.824</td><td>0.666</td><td>0.801</td><td>0.681</td><td>0.618</td></tr><tr><td>Detection rate</td><td>0.972</td><td>0.887</td><td>0.8</td><td>0.889</td><td>0.0</td><td>1.0</td><td>1.0</td><td>1.0</td><td>1.0</td><td>0.8</td><td>1.0</td><td>0.934</td><td>0.846</td></tr></table>
179
+
180
+ Table 2. PDAC segmentation under different CT phases: non-contrast (N), arterial (A), arterial-early (AE), arterial-late (AL), venous (V), and delay (D).
181
+
182
+ <table><tr><td>Methods</td><td>CT Phases</td><td>Average Dice</td></tr><tr><td colspan="3">Reported from their original papers</td></tr><tr><td>Zhang et al. [32]</td><td>N+A+V</td><td>0.709</td></tr><tr><td>DDT [23]</td><td>V</td><td>0.634</td></tr><tr><td>Xia et al. [27]</td><td>A+V</td><td>0.644</td></tr><tr><td>Ours</td><td>AE</td><td>0.646</td></tr><tr><td>Ours</td><td>AL</td><td>0.730</td></tr><tr><td>Ours</td><td>V</td><td>0.675</td></tr><tr><td>Ours</td><td>D</td><td>0.562</td></tr><tr><td>Ours</td><td>N+AE+V+D</td><td>0.696</td></tr><tr><td>Ours</td><td>N+AE+AL+V+D</td><td>0.738</td></tr></table>
183
+
184
+ # 4.2.3D Anatomy Mesh Quality Evaluation
185
+
186
+ Qualitative results of our generated mesh model are shown in Fig. 6. Our method can effectively and accurately model the diseased pancreases under various scenarios, e.g., PDAC at the neck (Fig. 6(a)), AC at the head with pancreatic duct dilatation (Fig. 6(b)), pseudocyst at the tail (Fig. 6(c)), IPMN on the full pancreatic duct (Fig. 6(d)) and large tumor and parenchymal atrophy (Fig. 6(e)). As described in Sec. 3.2, our 3D mask-to-mesh algorithm can automatically divide the pancreas into four parts: head, ventral body, dorsal body and tail, which are color-coded as red, blue, yellow and green. The distributions of anatomic locations of 10-class pancreatic masses in our dataset are described in the supplementary material. AC and DC only appear at the head; MCN does not appear on the head; CP and IPMN appear mostly on the head; PDAC, PNET and RARE are distributed over the entire surface of the pancreas. Cystic masses (SPT, SCN and MCN) are distributed over the entire pancreas with the majority being located at the dorsal body. These observed distributions verify the prior knowledge of different masses' spatial locations and motivate our geometry-aware mass diagnosis framework.
187
+
188
+ From the generated 3D mesh model, we can accurately measure the shape and location of the mass against the pancreas, as shown in Fig.4, at a human-readable level (156 is a suitable number for the clinical expert's perception). Our proposed mask-to-mesh algorithm and SMCN models can be generalized to other important organs with specific anatomical structures (like liver), which can potentially improve the underlying imaging-based mass diagnosis.
189
+
190
+ Table 3. Average values of PDAC vs. nonPDAC across 3 folds. PV: pixel voting; VV: vertices voting; GC: global classification.
191
+
192
+ <table><tr><td>Methods</td><td>Accuracy</td><td>Sensitivity</td><td>Specificity</td></tr><tr><td>Radiomics [21]</td><td>0.857</td><td>0.853</td><td>0.868</td></tr><tr><td>DeepTexture [28]</td><td>0.770</td><td>0.827</td><td>0.697</td></tr><tr><td>ResNet3D [9]</td><td>0.720</td><td>0.788</td><td>0.633</td></tr><tr><td>SMCN w PV</td><td>0.913</td><td>0.945</td><td>0.875</td></tr><tr><td>SMCN w VV</td><td>0.920</td><td>0.945</td><td>0.891</td></tr><tr><td>SMCN w GC</td><td>0.927</td><td>0.945</td><td>0.906</td></tr><tr><td>Expert radiologists</td><td>-</td><td>~0.94</td><td>~0.90</td></tr></table>
193
+
194
+ # 4.3. Evaluation on Mass Classification
195
+
196
+ We validate our model for two main mass classification tasks: PDAC vs. nonPDAC and patient management. SMCN is compared to the radiomics model and 2D/3D deep classification networks. We extract 2,410 radiomics features (482 for each CT phase) using Pyradiomics package [21] from the manually-annotated masses. These features include mass characteristics of various-ordered texture and shape descriptions. Gradient Boosting Decision Tree is used as the classifier [14]. Feature importance is calculated within each phase to select the most informative features (top 30) in the training fold. To compare with deep classification models, we use automatic mass segmentation and prepare 2D/3D tumor patches/volumes from all five phases. Each 2D patch is the tumor region representing the largest size in the axial view of the 3D volume which is then resized to $256 \times 256$ following typical texture analysis practices [31]. For 3D volumes, we test with ResNet3D [9], while for 2D patches we built deep texture networks using ResNet-18 [10] as the backbone, following the model [28].
197
+
198
+ PDAC vs. NonPDAC. We first evaluate our method for classifying PDAC vs. nonPDAC, which is the primary clinical diagnosis task. Comparative results are provided in Table 3. Sensitivity and specificity correspond to the proportions of the correctly predicted PDACs and nonPDACs, respectively. We also conduct an ablation study on several classification strategies. Pixel voting (PV) indicates that the classification result is voted by the pixels from the segmentation masks – using an optimal volume threshold from the validation set; vertex-based voting (VV) means that the result is voted by the classified vertices of GraphResNet; Global classification (GC) is our final model. All of our SMCN variations significantly outperform both 2D/3D deep networks, thus revealing that using only the tumor's texture information to distinguish PDAC from nonPDAC
199
+
200
+ Table 4. Classification confusion matrix of quantitative patient management and comparison our results against the clinical test [20].
201
+
202
+ <table><tr><td>CompCyst [20]</td><td>Discharge</td><td>Monitoring</td><td>Surgery</td><td>Ours</td><td>Discharge</td><td>Monitoring</td><td>Surgery</td></tr><tr><td>Discharge (n=53)</td><td>32 (60%)</td><td>14 (26%)</td><td>7 (13%)</td><td>(n=46)</td><td>28 (61%)</td><td>10 (22%)</td><td>8 (17%)</td></tr><tr><td>Monitor (n=140)</td><td>1 (1%)</td><td>68 (49%)</td><td>71 (51%)</td><td>(n=104)</td><td>11 (11%)</td><td>65 (63%)</td><td>27 (26%)</td></tr><tr><td>Surgery (n=152)</td><td>0 (0%)</td><td>14 (9%)</td><td>138 (91%)</td><td>(n=440)</td><td>6 (1%)</td><td>16 (4%)</td><td>418 (95%)</td></tr></table>
203
+
204
+ Table 5. Experimental Results for Patient Management. PV: pixel voting; VV: vertex-based voting; GC: global classification.
205
+
206
+ <table><tr><td>Methods</td><td>Accuracy</td><td>Average Recall</td></tr><tr><td>Radiomics [21]</td><td>0.854</td><td>0.667</td></tr><tr><td>DeepTexture [28]</td><td>0.743</td><td>0.557</td></tr><tr><td>ResNet3D [9]</td><td>0.737</td><td>0.607</td></tr><tr><td>SMCN w PV</td><td>0.832</td><td>0.735</td></tr><tr><td>SMCN w VV</td><td>0.839</td><td>0.656</td></tr><tr><td>SMCN w GC</td><td>0.865</td><td>0.746</td></tr></table>
207
+
208
+ ![](images/4c122d11b6887a741fcbe7159e802d3cd39fb56a4923de385ebdad20e460d536.jpg)
209
+ Figure 7. Comparison of (a) classification and (b) detection performances between fully-supervised and semi-supervised learning. The green dot depicts the performance of the mean second reader.
210
+
211
+ ![](images/e128eb49be5ec40e669ba7658f6c292adf30853e54a4157f91f32815a52b2441.jpg)
212
+
213
+ is insufficient. Our fully automated models greatly outperform the radiomics approach (sensitivity 0.853, specificity 0.868) using manual annotations. The SMCN-w-GC configuration reports the best quantitative results with a sensitivity of 0.945 and specificity of 0.906.
214
+
215
+ Fully-supervised or Semi-supervised Learning. As described in Sec. 3.1, we can perform the PDAC vs. non-PDAC task even when only the patient-level nonPDAC labels are available (referred as semi-supervised). A fully-supervised setting means that both PDAC and nonPDAC annotated masks are obtained. ROC curves of PDAC (positive class) vs. NonPDAC (negative class) are shown in Fig.7(A). Generally, similar classification results are achieved by the fully-supervised or semi-supervised learning method. Using only pseudo nonPDAC masks in a semi-supervised setting slightly reduces the detection rate of PDAC. Our fully-supervised method obtains sensitivity and specificity comparable to the mean second reader at a high-volume pancreatic cancer institution at $94\%$ and $90\%$ , respectively. The detection rates by different thresholds are evaluated in Fig.7(b). A segmentation result is counted as successful detection if at least the fraction $p$ of the mass is segmented ( $p$ is the cut-off). For fully-supervised learning, the best PDAC detection rate is $0.986(p > 0)$ ; the best nonPDAC sensitivity is $0.906(p\simeq 0.08)$ . Under semi-supervised learning, these numbers are $0.959(p\simeq 0.2)$ and $0.515(p > 0)$ , revealing the limitation of semi-supervised setting.
216
+
217
+ Quantitative Patient Management. Patient management decisions fall under three categories: "Surgery", "Monitoring" and "Discharge" (Fig.1). We once again compare our methods to the Radiomics based approach, which is the current clinical standard, and conduct the ablation study on different classification strategies: PV, VV, and GC (Table 5). Our SMCN method generally outperforms the radiomics method, and the SMCN-w-GC version yields the best results. Importantly, CompCyst [20] reports real pancreatic mass patient management results leveraging clinical features, imaging characteristics, cyst fluid genetic and biochemical markers. However, it is invasive, and more expensive and time-consuming than SMCN. For a relatively fair comparison, we adhere to the same pancreatic disease taxonomy as [20], i.e., exclude AC, DC, and RARE classes. Two confusion matrices, by CompCyst [20] and SMCN, are compared side-by-side in Table 4. SMCN achieves similar or slightly improved quantitative performance via multiphase CT imaging. (1) $95\%$ of surgery patients (increased from $91\%$ by CompCyst) are correctly guided to surgery, but $1\%$ of surgery patients are misclassified as discharge patients, which is clinically undesirable. (2) The correctly recommended monitoring patients have increased to $63\%$ by SMCN from $49\%$ in [20]. The error rate for "recommend- ing surgery" has decreased significantly from $51\%$ [20] to $26\%$ . (3) The performance for discharge patients are similar between SMCN and CompCyst clinical results. We classify more patients into the surgery class ( $17\%$ vs. $13\%$ ). This is due to the fact that the distribution of our patients among all three actionable classes is more unbalanced than that in [20], and our discharge patient sub-population may be insufficient. Finally, we provide patient-level classification results for all ten pancreatic tumor classes in the supplementary material (considered as clinically less critical).
218
+
219
+ # 5. Conclusion
220
+
221
+ In this paper, we present a new segmentation-mesh-classification deep network (SMCN) to tackle the challenging and clinically-demanding tasks of pancreatic mass segmentation, diagnosis, and disease management. SMCN is composed of an anatomy-mass segmentation network, a mask-to-mesh 3D geometry modeling network, and a Graph-ResNet with vertex feature pooling and can be trained end-to-end. We extensively evaluate our SMCN method on the largest pancreatic multi-phase CT dataset of 661 patients, using the full taxonomy of ten types of pancreatic masses. Our experiments demonstrate the superiority of the proposed SMCN for all three pancreatic analysis tasks.
222
+
223
+ # References
224
+
225
+ [1] Angel X Chang, Thomas Funkhouser, Leonidas Guibas, Pat Hanrahan, Qixing Huang, Zimo Li, Silvio Savarese, Manolis Savva, Shuran Song, Hao Su, et al. Shapenet: An information-rich 3d model repository. arXiv preprint arXiv:1512.03012, 2015. 3
226
+ [2] Linda C Chu, Michael G Goggins, and Elliot K Fishman. Diagnosis and detection of pancreatic cancer. The Cancer Journal, 23(6):333-342, 2017. 1, 2
227
+ [3] Linda C Chu, Seyoun Park, Satomi Kawamoto, Yan Wang, Yuyin Zhou, Wei Shen, Zhuotun Zhu, Yingda Xia, Lingxi Xie, Fengze Liu, et al. Application of deep learning to pancreatic cancer detection: Lessons learned from our initial experience. Journal of the American College of Radiology, 16(9):1338-1342, 2019. 3
228
+ [4] Linda C Chu, Seyoun Park, Satomi Kawamoto, Alan L Yuille, Ralph H Hruban, and Elliot K Fishman. Pancreatic cancer imaging: a new look at an old problem. Current Problems in Diagnostic Radiology, 2020. 2, 3
229
+ [5] Thierry Conroy, Pascal Hammel, Mohamed Hebbar, Meher Ben Abdelghani, Alice C Wei, Jean-Luc Raoul, Laurence Chone, Eric Francois, Pascal Artru, James J Biagi, et al. Folfirinox or gemcitabine as adjuvant therapy for pancreatic cancer. New England Journal of Medicine, 379(25):2395-2406, 2018. 1
230
+ [6] Vipin Dalal, Joseph Carmicheal, Amaninder Dhaliwal, Maneesh Jain, Sukhwinder Kaur, and Surinder K Batra. Radiomics in stratification of pancreatic cystic lesions: Machine learning in action. Cancer Letters, 469:228-237, 2020. 3
231
+ [7] Aaron J Grossberg, Linda C Chu, Christopher R Deig, Eliot K Fishman, William L Hwang, Anirban Maitra, Daniel L Marks, Arnav Mehta, Nima Nabavizadeh, Diane M Simeone, et al. Multidisciplinary standards of care and recent progress in pancreatic ductal adenocarcinoma. CA: A Cancer Journal for Clinicians, 70(5):375-403, 2020. 1
232
+ [8] Arya Haj-Mirzaian, Satomi Kawamoto, Atif Zaheer, Ralph H Hruban, Elliot K Fishman, and Linda C Chu. Pitfalls in the MDCT of pancreatic cancer: strategies for minimizing errors. *Abdominal Radiology*, pages 1–22, 2020. 1, 2
233
+ [9] Kensho Hara, Hirokatsu Kataoka, and Yutaka Satoh. Can spatiotemporal 3d cnns retrace the history of 2d cnns and imagenet? In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 6546-6555, 2018. 7, 8
234
+ [10] 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. 7
235
+ [11] MP Heinrich, M. Jenkinson, M. Brady, and JA Schnabel. Mrf-based deformable registration and ventilation estimation of lung ct. In IEEE Trans. on Medical Imaging, pages 32(7):1239-1248, 2013. 6
236
+ [12] Qixing Huang, Hai Wang, and Vladlen Koltun. Single-view reconstruction via joint analysis of image and shape colloc
237
+
238
+ tions. ACM Transactions on Graphics (TOG), 34(4):1-10, 2015. 3
239
+ [13] Fabian Isensee, Jens Petersen, Andre Klein, David Zimmerer, Paul F Jaeger, Simon Kohl, Jakob Wasserthal, Gregor Koehler, Tobias Norajitra, Sebastian Wirkert, et al. nnu-net: Self-adapting framework for u-net-based medical image segmentation. arXiv preprint arXiv:1809.10486, 2020. 3, 6, 7
240
+ [14] Guolin Ke, Qi Meng, Thomas Finley, Taifeng Wang, Wei Chen, Weidong Ma, Qiwei Ye, and Tie-Yan Liu. Lightgbm: A highly efficient gradient boosting decision tree. In Advances in Neural Information Processing Systems, pages 3146-3154, 2017. 7
241
+ [15] Thomas N. Kipf and Max Welling. Semi-Supervised Classification with Graph Convolutional Networks. In Proceedings of the 5th International Conference on Learning Representations, ICLR '17, 2017. 3
242
+ [16] Fengze Liu, Lingxi Xie, Yingda Xia, Elliot Fishman, and Alan Yuille. Joint shape representation and classification for detecting pdac. In International Workshop on Machine Learning in Medical Imaging, pages 212-220. Springer, 2019. 3
243
+ [17] Tianwei Ni, Lingxi Xie, Huangjie Zheng, Elliot K Fishman, and Alan L Yuille. Elastic boundary projection for 3d medical image segmentation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 2109-2118, 2019. 3
244
+ [18] 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. 3
245
+ [19] Amber L. Simpson, Michela Antonelli, Spyridon Bakas, Michel Bilello, Keyvan Farahani, Bram van Ginneken, Annette Kopp-Schneider, Bennett A. Landman, Geert Litjens, Bjoern H. Menze, Olaf Ronneberger, Ronald M. Summers, Patrick Bilic, Patrick Ferdinand Christ, Richard K. G. Do, Marc Gollub, Jennifer Golia-Pernicka, Stephan Heckers, William R. Jarnagin, Maureen McHugo, Sandy Napel, Eugene Vorontsov, Lena Maier-Hein, and M. Jorge Cardoso. A large annotated medical image dataset for the development and evaluation of segmentation algorithms. CoRR, abs/1902.09063, 2019. 3
246
+ [20] Simeon Springer, David L Masica, Marco Dal Molin, Christopher Douville, Christopher J Thoburn, Bahman Af-sari, Lu Li, Joshua D Cohen, Elizabeth Thompson, Peter J Allen, et al. A multimodality test to guide the management of patients with a pancreatic cyst. Science Translational Medicine, 11(501):eaav4772, 2019. 1, 2, 3, 8
247
+ [21] Joost JM Van Griethuysen, Andriy Fedorov, Chintan Parmar, Ahmed Hosny, Nicole Aucoin, Vivek Narayan, Regina GH Beets-Tan, Jean-Christophe Fillion-Robin, Steve Pieper, and Hugo JWL Aerts. Computational radiomics system to decode the radiographic phenotype. Cancer Research, 77(21):e104-e107, 2017. 7, 8
248
+ [22] Nanyang Wang, Yinda Zhang, Zhuwen Li, Yanwei Fu, Wei Liu, and Yu-Gang Jiang. Pixel2mesh: Generating 3d mesh models from single rgb images. In Proceedings of the Eu
249
+
250
+ ropean Conference on Computer Vision (ECCV), September 2018. 3, 4, 5
251
+ [23] Yan Wang, Xu Wei, Fengze Liu, Jieneng Chen, Yuyin Zhou, Wei Shen, Elliot K Fishman, and Alan L Yuille. Deep distance transform for tubular structure segmentation in ct scans. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 3833-3842, 2020. 3, 6, 7
252
+ [24] EM Weisberg, LC Chu, and Seyoun Park. Deep lessons learned: Radiology, oncology, pathology, and computer science experts unite around artificial intelligence to strive for earlier pancreatic cancer diagnosis. 2019. 3
253
+ [25] Chao Wen, Yinda Zhang, Zhuwen Li, and Yanwei Fu. Pixel2mesh++: Multi-view 3d mesh generation via deformation. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), October 2019. 3
254
+ [26] U. Wickramasinghe, Edoardo Remelli, G. Knott, and P. Fua. Voxel2mesh: 3d mesh model generation from volumetric data. In MICCAI, 2020. 3, 4
255
+ [27] Yingda Xia, Qihang Yu, Wei Shen, Yuyin Zhou, and Alan L Yuille. Detecting pancreatic adenocarcinoma in multiphase ct scans via alignment ensemble. arXiv preprint arXiv:2003.08441, 2020. 2, 3, 6, 7
256
+ [28] Jia Xue, Hang Zhang, and Kristin Dana. Deep texture manifold for ground terrain recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 558-567, 2018. 7, 8
257
+ [29] Jiawen Yao, Jinzheng Cai, Dong Yang, Daguang Xu, and Junzhou Huang. Integrating 3d geometry of organ for improving medical image segmentation. In International Conference on Medical Image Computing and Computer-Assisted Intervention, pages 318-326. Springer, 2019. 3
258
+ [30] Jiawen Yao, Yu Shi, Le Lu, Jing Xiao, and Ling Zhang. Deepprognosis: Preoperative prediction of pancreatic cancer survival and surgical margin via contrast-enhanced CT imaging. In International Conference on Medical Image Computing and Computer-Assisted Intervention, pages 272-282. Springer, 2020. 2
259
+ [31] Hang Zhang, Jia Xue, and Kristin Dana. Deep ten: Texture encoding network. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), July 2017. 7
260
+ [32] Ling Zhang, Yu Shi, Jiawen Yao, Yun Bian, Kai Cao, Dakai Jin, Jing Xiao, and Le Lu. Robust pancreatic ductal adenocarcinoma segmentation with multi-institutional multi-phase partially-annotated ct scans. In International Conference on Medical Image Computing and Computer-Assisted Intervention, 2020. 2, 3, 6, 7
261
+ [33] Yuyin Zhou, Yingwei Li, Zhishuai Zhang, Yan Wang, Angtian Wang, Elliot K Fishman, Alan L Yuille, and Seyoun Park. Hyper-pairing network for multi-phase pancreatic ductal adenocarcinoma segmentation. In International Conference on Medical Image Computing and Computer-Assisted Intervention, pages 155-163. Springer, 2019. 2, 3
262
+ [34] Yuyin Zhou, Lingxi Xie, Elliot K Fishman, and Alan L Yuille. Deep supervision for pancreatic cyst segmentation in abdominal ct scans. In International Conference on Medical Image Computing and Computer-Assisted Intervention, pages 222-230. Springer, 2017. 2
263
+
264
+ [35] Zhuotun Zhu, Yongyi Lu, Wei Shen, Elliot K Fishman, and Alan L Yuille. Segmentation for classification of screening pancreatic neuroendocrine tumors. arXiv preprint arXiv:2004.02021, 2020. 2, 3
265
+ [36] Zhuotun Zhu, Yingda Xia, Lingxi Xie, Elliot K Fishman, and Alan L Yuille. Multi-scale coarse-to-fine segmentation for screening pancreatic ductal adenocarcinoma. In International Conference on Medical Image Computing and Computer-Assisted Intervention, pages 3-12. Springer, 2019. 2, 3
3dgraphanatomygeometryintegratednetworkforpancreaticmasssegmentationdiagnosisandquantitativepatientmanagement/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:918ca19b6ef57a4c45c17a324d103e3d4d7f04dfa89e140e7323c0b55d1fbc04
3
+ size 587257
3dgraphanatomygeometryintegratednetworkforpancreaticmasssegmentationdiagnosisandquantitativepatientmanagement/layout.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1e4cfead02565a7af5939aa54ce652b0b7aed9597f2338061e61d1bc841b55e
3
+ size 370828
3dhumanactionrepresentationlearningviacrossviewconsistencypursuit/971d34d1-cbf2-4c5c-b7bc-a6c25563c1a6_content_list.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95a9ad745899d4da0430be187edfbbbc5235fd0f3a52351fe8b89caab3adf974
3
+ size 82692
3dhumanactionrepresentationlearningviacrossviewconsistencypursuit/971d34d1-cbf2-4c5c-b7bc-a6c25563c1a6_model.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a2576b07a6ea68b727a962ae208953c6a4e1f57eca2f2c060065fc887254dc7
3
+ size 106143
3dhumanactionrepresentationlearningviacrossviewconsistencypursuit/971d34d1-cbf2-4c5c-b7bc-a6c25563c1a6_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f588d4d490d68ac1f6d46e412fd23d92a18f6818854d52ddff8a7f834a03d93
3
+ size 1212779
3dhumanactionrepresentationlearningviacrossviewconsistencypursuit/full.md ADDED
@@ -0,0 +1,341 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 3D Human Action Representation Learning via Cross-View Consistency Pursuit
2
+
3
+ Linguo Li $^{1,2*}$ Minsi Wang $^{1,2*}$ Bingbing Ni $^{1,2**}$ Hang Wang $^{1,2}$ Jiancheng Yang $^{1,2}$ Wenjun Zhang $^{1}$ $^{1}$ Shanghai Jiao Tong University, Shanghai 200240, China
4
+ $^{2}$ MoE Key Lab of Artificial Intelligence, AI Institute, Shanghai Jiao Tong University mswang1994@gmail.com, {LLG440982, nibingbing, zhangwenjun}@sjtu.edu.cn
5
+
6
+ # Abstract
7
+
8
+ In this work, we propose a Cross-view Contrastive Learning framework for unsupervised 3D skeleton-based action Representation (CrosCLR), by leveraging multiview complementary supervision signal. CrosCLR consists of both single-view contrastive learning (SkeletonCLR) and cross-view consistent knowledge mining (CVCKM) modules, integrated in a collaborative learning manner. It is noted that CVC-KM works in such a way that high-confidence positive/negative samples and their distributions are exchanged among views according to their embedding similarity, ensuring cross-view consistency in terms of contrastive context, i.e., similar distributions. Extensive experiments show that CrosCLR achieves remarkable action recognition results on NTU-60 and NTU-120 datasets under unsupervised settings, with observed higher-quality action representations. Our code is available at https://github.com/LinguoLi/CrosCLR.
9
+
10
+ # 1. Introduction
11
+
12
+ Human action recognition is an important but challenging task in computer vision research. Due to the lightweight and robust estimation algorithms [3, 56], 3D skeleton has become a popular feature representation to study human action dynamics. Many 3D action recognition works [6, 60, 17, 25, 44, 28, 16] use a fully-supervised manner and require massive labeled 3D skeleton data. However, annotating data is expensive and time-consuming, which prompts people to explore unsupervised methods [65, 26, 39, 47] on skeleton data. Some unsupervised methods exploit structure completeness within each sample based on pretext tasks, including reconstruction [9, 65], auto-regression [20, 47] and jigsaw puzzles [35, 54], but it is unsure that the designed pretext tasks generalize well for downstream tasks. Other unsupervised methods are based
13
+
14
+ ![](images/72a2a7725ea4ac6cb798b1640e0a2acd0faa6c86f9642d8ce7bcb2edb4a43d25.jpg)
15
+ Figure 1. Hand waving in joint and motion form. Two samples are from the same action class. (a) usual contrastive learning methods regard them as negative pairs. (b) in a multi-view situation, considering their similar motion patterns, they can be positive pairs. This motivates us to introduce cross-view contrastive learning for skeleton representation.
16
+
17
+ on contrastive learning [55, 4, 11, 18], aiming to leverage the instance discrimination of samples in latent space.
18
+
19
+ Although the above approaches improve the skeleton representation capability to some extent, it is believed that the power of unsupervised methods is by far from fully explored. On the one hand, traditional contrastive learning uses only one positive pair generated by data augmentation and even similar samples are regarded as negative samples. Despite the high similarity, the negative samples are forced away in embedding space, which is unreasonable for clustering. On the other hand, current unsupervised methods [1, 65, 20, 26, 47] have not yet explored the rich intra-supervision information provided by different skeleton modalities. Considering that it is easy to obtain skeleton data in multiple "views", e.g., joint, motion and bone, complementary information preserved in different views can assist the operation to mine positive pairs from similar negative samples. As shown in Figure 1, the same hand waving actions are different in pose (joint), but similar in motion. Usual contrastive learning methods regard them as nega
20
+
21
+ tive pairs, keeping them away in embedding space. If such complementary information, i.e., different in joint but similar in motion, could be fully utilized and explored, the size of hidden positive pairs in joint can be boosted, enhancing training fidelity. Thus, the cross-view contrastive learning strategy takes advantage of multi-view knowledge, resulting in better-extracted skeleton features.
22
+
23
+ To this end, we propose a Cross-view Contrastive Learning framework for Skeleton-based action Representation (CrosCLR), which exploits multi-view information for mining positive samples and pursuing cross-view consistency in unsupervised contrastive learning, enabling the model to extract more comprehensive cross-view features. First, parallel Contrastive Learning is evoked for each single-view Skeleton action Representation (SkeletonCLR), yielding multiple single-view embedding features. Second, inspired by the fact that the distance of samples in embedding space reflects the similarity of the samples in the original space, we refer to the extreme similarity of samples in one view to guide the learning process in another view, as shown in Figure 1. More specifically, Cross-View Consistent Knowledge Mining (CVC-KM) module is developed to exam the similarity of samples, and select the most similar pairs as positive ones to boost the positive set in complementary views, i.e., embedding distance/similarity (confidence score) serves as the weight of corresponding mined sample in the contrastive loss. In other words, CVC-KM conveys the most prominent knowledge from one view to others, introduces complementary pseudo-supervised constraint and promotes information sharing among views. The entire framework excavates positive pairs across views according to the distance between samples in the embedding space to promote knowledge exchange among views, so that the extracted skeleton features will contain multi-view knowledge and are more competitive for various downstream tasks. Extensive results on NTU-RGB+D [40, 27] datasets demonstrate that our method indeed boosts the 3D action representation learning benefiting from cross-view consistency. We summarize our contributions as follows:
24
+
25
+ - We propose CrosSCLR, a cross-view contrastive learning framework for skeleton-based action representation.
26
+ - We develop Contrastive Learning for Skeleton-based action Representation (SkeletonCLR) to learn the single-view representations of skeleton data.
27
+ - We use parallel SkeletonCLR models and CVC-KM to excavate useful samples across views, enabling the model to capture more comprehensive representation unsupervisedly.
28
+ - We evaluate our model on 3D skeleton datasets, e.g., NTU-RGB+D 60/120, and achieve remarkable results under unsupervised settings.
29
+
30
+ # 2. Related Work
31
+
32
+ Self-Supervised Representation Learning. Self-supervised learning is to learn feature representations from numerous unlabeled data, which usually generates supervision by pretext tasks, e.g., jigsaw puzzles [35, 36, 54], colorization [63], predicting rotation [8, 59]. For sequence data, supervision can be generated by frame orders [32, 7, 21], space-time cubic puzzles [19] and prediction [51, 26], but these methods highly rely on the quality of pretext tasks. Recently, contrastive methods [37, 55, 48, 18] based on instance discrimination have been proposed for representation learning. MoCo [11] introduces a memory bank to store the embeddings of negative samples, and SimCLR [4] uses a much larger mini-batch size to compute the embeddings in real time, but they can not capture the cross-view knowledge for 3D action representation. Concurrent work CoCLR [10] leverages multi-modal information for video representation via co-training, which doesn't consider the contrastive context. Our CrosSCLR simultaneously trains models in all views by encouraging cross-view consistency, leading to more representative embeddings.
33
+
34
+ Skeleton-based Action Recognition. To tackle skeleton-based action recognition tasks, early approaches are generally based on hand-craft features [33, 52, 49, 50]. Recent methods pay more attention to deep neural networks. For the sequence structure of skeleton data, many RNN-based methods [6, 40, 60, 45, 61] were carried out to effectively utilize the temporal feature. Since RNN suffers from gradient vanishing [14], CNN-based models [17, 22] attract researchers' attention, but they need to convert skeleton data to another form. Further, ST-GCN [57] was proposed to better model the graph structure of skeleton data. Then the attention mechanism [24, 42, 44, 64, 62] and multi-stream structure [25, 41, 42, 53] are applied to adaptively capture multi-stream features based on GCNs. We adopt the widely-used ST-GCN as the backbone to extract the skeleton features.
35
+
36
+ Unsupervised Skeleton Representation. Many unsupervised methods [46, 29, 31, 23] were proposed to capture action representations in videos. For skeleton data, previous works [58, 1] have achieved some progress in unsupervised representation learning without deep neural networks. Recent deep learning methods [9, 65, 20, 47] are based on the structure of encoder-decoder or generative adversarial network (GAN). LongT GAN [65] proposed an auto-encoder-based GAN for sequential reconstruction and evaluated it on the action recognition tasks. P&C [47] uses a weak decoder in the encoder-decoder model, forcing the encoder to learn more discriminative features. $\mathrm{MS}^2\mathrm{L}$ [26] proposed a multi-task learning scheme for action representation learning. However, these methods highly depend on
37
+
38
+ reconstruction or prediction, and they do not exploit the natural multi-view knowledge of skeleton data. Thus, we introduce CrosSCLR for unsupervised 3D action representation.
39
+
40
+ # 3. CrosSCLR
41
+
42
+ Although 3D skeleton has shown its importance in action recognition, unsupervised skeleton representation has not been well exploited recently. Since the easily-obtained "multi-view" skeleton information plays a significant role in action recognition, we expect to exploit them to mine positive samples and pursue cross-view consistency in unsupervised contrastive learning, thus giving rise to a Cross-view Contrastive Learning (CrossSCLR) framework for Skeleton-based action Representation.
43
+
44
+ As shown in Figure 3, CrosCLR contains two key modules: 1) SkeletonCLR (Section 3.1): a contrastive learning framework to unsupervisedly learn single-view representations, and 2) CVC-KM (Section 3.2): it conveys the most prominent knowledge from one view to others, introduces complementary pseudo-supervised constraint and promotes information sharing among views. Finally, the more discriminating representations can be obtained by cooperatively training (Section 3.2).
45
+
46
+ # 3.1. Single-View 3D Action Representation
47
+
48
+ Contrastive learning has been widely-used due to its instance discrimination capability, especially for images [4, 11] and videos [10]. Inspired by this, we develop Skeleton-CLR to learn single-view 3D action representations, based on the recent advanced practice, MoCo [11].
49
+
50
+ SkeletonCLR. It is a memory-augmented contrastive learning method for skeleton representation, which considers one sample's different augments as its positive samples and other samples as negative samples. In each training step, the batch embeddings are stored in first-in-first-out memory to get rid of redundant computation, serving as negative samples for the next steps. The positive samples are embedded close to each other while the embeddings of negative samples are pushed away. As shown in Figure 2, SkeletonCLR consists of the following major components:
51
+
52
+ - A data augmentation module $\mathcal{T}$ that randomly transforms the given skeleton sequence into different augments $x$ , $\hat{x}$ that are considered as positive pairs. For skeleton data, we adopt Shear and Crop as the augmentation strategy (see Section 3.3 and Appendix).
53
+ - Two encoders $f$ and $\hat{f}$ that embed $x$ and $\hat{x}$ into hidden space: $h = f(x; \theta)$ and $\hat{h} = \hat{f}(\hat{x}; \hat{\theta})$ , where $h, \hat{h} \in \mathbb{R}^{c_h}$ . $\hat{f}$ is the momentum updated version of $f$ : $\hat{\theta} \gets \alpha \hat{\theta} + (1 - \alpha)\theta$ , where $\alpha$ is a momentum coefficient. SkeletonCLR uses ST-GCN [57] as the backbone (Details are in Section 3.3).
54
+
55
+ ![](images/fbc3f7af909a74711c53c55aa4bf2610a6be765725e02194f1f373f072170745.jpg)
56
+ Figure 2. Architecture of single-view SkeletonCLR, which is a memory augmented contrastive learning framework.
57
+
58
+ - A simple projector $g$ and its momentum updated version $\hat{g}$ that project the hidden vector to a lower dimension space: $z = g(h), \hat{z} = \hat{g}(\hat{h})$ , where $z, \hat{z} \in \mathbb{R}^{c_z}$ . The projector is a fully-connected (FC) layer with ReLU.
59
+ - A memory bank $\mathbf{M} = \{m_i\}_{i=1}^M$ that stores negative samples to avoid redundant computation of the embeddings. It is a first-in-first-out queue updated per iteration by $\hat{z}$ . After each inference step, $\hat{z}$ will enqueue while the earliest embedding in $\mathbf{M}$ will dequeue. During contrastive training, $\mathbf{M}$ provides numerous negative embeddings while the new calculated $\hat{z}$ is the positive embedding.
60
+ - An InfoNCE [37] loss for instance discrimination:
61
+
62
+ $$
63
+ \mathcal {L} = - \log \frac {\exp (z \cdot \hat {z} / \tau)}{\exp (z \cdot \hat {z} / \tau) + \sum_ {i = 1} ^ {M} \exp (z \cdot m _ {i} / \tau)} \tag {1}
64
+ $$
65
+
66
+ where $m_{i}\in \mathbf{M}$ $\tau$ is the temperature hyperparameter [12], and dot product $z\cdot \hat{z}$ is to compute their similarity where $z,\hat{z}$ are normalized.
67
+
68
+ Constrained by contrastive loss $\mathcal{L}$ , the model is unsupervisedly trained to discriminate each sample in the training set. At last, we can obtain a strong encoder $f$ that is beneficial to extract single-view distinguishing representations.
69
+
70
+ Limitations of Single-View Contrastive Learning. The above SkeletonCLR still suffers the following limitations:
71
+
72
+ 1) Embedding distribution can provide more reliable information. We expect samples from the same category are embedded closely. However, instance discrimination in SkeletonCLR uses only one positive pair and even similar samples are regarded as negative samples. It is unreasonable that the negative samples are forced away in embedding space despite their high embedding similarity. In other words, one positive pair cannot fully describe the relationships of samples, and a more reliable embedding distribution is needed, i.e., positive/negative setting plus embedding similarity. We aim to mine more representative knowledge to facilitate contrastive learning, which is also the knowledge we want to exchange across views. Thus, we introduce the contrastive context in Section 3.2.
73
+ 2) Multi-view data can benefit representation learning. SkeletonCLR only relies on single-view data. As shown in Figure 1, since we don't have any annotations, different samples of the same class are inevitably embedded
74
+
75
+ into distinct places far from each other, i.e., they distribute sparsely/irregularly, bringing much difficulty for linear classification. Considering the readily generated multi-view data of 3D skeleton (see Section 3.3), if such complementary information in Figure 1, i.e., different in joint but similar in motion, could be fully utilized and explored, the size of hidden positive pairs in joint can be boosted, enhancing training fidelity. To this end, we inject this consideration into unsupervised contrastive learning framework.
76
+
77
+ # 3.2. Cross-View Consistent Knowledge Mining
78
+
79
+ Motivated by the situation in Figure 1 that complementary knowledge is preserved in multiple views, we propose the Cross-View Consistent Knowledge Mining (CKC-KM), leveraging the high similarity of samples in one view to guide the learning process in another view. It excavates positive pairs across views according to the embedding similarity to promote knowledge exchange among views, then the size of hidden positive pairs in each view can be boosted and the extracted skeleton features will contain multi-view knowledge, resulting in a more regular embedding space.
80
+
81
+ In this section, we first clarify contrastive context as the consistent knowledge across views, and then show how to mine high-confidence knowledge, and finally inject its cross-view consistency into single-view SkeletonCLR to further benefit the cross-view unsupervised representation.
82
+
83
+ Contrastive Context as Consistent Knowledge. As discussed above, the knowledge we want to exchange across views is one sample's contrastive context, which describes this sample's relationships with others (distribution) in embedding space under the settings of contrastive learning. Notice that SkeletonCLR uses a memory bank to store necessary embeddings. Given one sample's embedding $z$ and corresponding memory bank $\mathbf{M}$ , its contrastive context is a similarity set $S$ among $z$ and $\mathbf{M}$ conditioned on specific knowledge miner $\Gamma$ that generates index set $N_{+}$ of positive samples,
84
+
85
+ $$
86
+ \mathcal {S} = \left\{s _ {i} \right\} _ {i \in N} = \left\{z \cdot m _ {i} \right\} _ {i \in N} \tag {2}
87
+ $$
88
+
89
+ $$
90
+ \left(\mathcal {S} _ {+}, N _ {+}\right) = \Gamma (\mathcal {S}) \tag {3}
91
+ $$
92
+
93
+ where $S_{+} = \{s_i\}_{i\in N_{+}}$ and dot product “.” is to compute the similarity $s_i$ among embeddings $z$ and $m_i$ . $N$ is the index set of embeddings in memory bank and $N_{+}$ is the index set of positive samples selected by knowledge miner $\Gamma$ . Thus contrastive context $\mathcal{C}(\mathcal{S}|N_{+})$ consists of following two aspects:
94
+
95
+ - Embedding Context $S$ : it is the relationship between one sample and others in embedding space, i.e., distribution;
96
+ - Contrastive Setting $N_{+}$ : it is the positive setting mined by $\Gamma$ according to the embedding similarity $S$ ;
97
+
98
+ thus $\mathcal{C}(\mathcal{S}|N_{+}) = \{\mathcal{S}_{+},\mathcal{S}_{-}\}$ has positive context $\mathcal{S}_{+}$ and negative context $\mathcal{S}_{-}$ , where $\mathcal{S} = \mathcal{S}_{+}\cup \mathcal{S}_{-}$ . The contrastive
99
+
100
+ context contains not only the information of the most similar samples but the detailed relationships of samples (distribution).
101
+
102
+ In Equation (1), the embedding $z$ has positive context $S_{+} = \{z\cdot \hat{z}\}$ which does not consider any of neighbors in embedding space except for the augments. Despite the high similarity, the negative samples are forced away in embedding space, and then samples belonging to the same category are difficultly embedded into the same cluster, which is not efficient to build a "regular" embedding space for downstream classification tasks.
103
+
104
+ High-confidence Knowledge Mining. To solve the above issue, we develop the high-confidence Knowledge Mining mechanism (KM), which selects the most similar pairs as positive ones to boost the positive sets. It shares similar high-level spirit with neighborhood embedding [13] but performs differently in an unsupervised contrastive manner.
105
+
106
+ Specifically, it is based on the following observation in Figure 4 that after single-view contrastive learning, two embeddings most likely belong to the same category if they are embedded closely enough; on the contrary, two embeddings hardly belong to the same class if they locate extremely far from each other in embedding space. Therefore, we can facilitate contrastive learning by setting the most similar embeddings as positive to make it more clustered:
107
+
108
+ $$
109
+ \Gamma (\mathcal {S}) = \operatorname {T o p k} (\mathcal {S}) \tag {4}
110
+ $$
111
+
112
+ $$
113
+ \mathcal {L} _ {\mathrm {K M}} = - \log \frac {\exp (z \cdot \hat {z} / \tau) + \sum_ {i \in N _ {+}} \exp (z \cdot m _ {i} / \tau)}{\exp (z \cdot \hat {z} / \tau) + \sum_ {i \in N} \exp (z \cdot m _ {i} / \tau)} \tag {5}
114
+ $$
115
+
116
+ where $\Gamma = \mathrm{Topk}$ is the function to select the index of top- $K$ similar embeddings and $N_{+}$ is their index set in memory bank. Compared to Equation (1), Equation (5) will leads to a more regular space by pulling close more high-confidence positive samples. Additionally, since we don't have any labels, a larger $K$ may harm the contrastive performance (see Section 4.3).
117
+
118
+ Cross-View Consistency Learning. Considering easily-obtained multi-view skeleton data, complementary information preserved in different views can assist the operation to mine positive pairs from similar negative samples in Figure 1. Then the size of hidden positive pairs can be boosted by cross-view knowledge communication, resulting in better-extracted skeleton features. To this end, we design the cross-view consistency learning which not only mines the high-confidence positive samples from complementary view but also lets the embedding context be consistent in multiple views. Its two-view case is illustrated in Figure 3 for example.
119
+
120
+ Specifically, samples $x^{u}$ and $x^{v}$ are generated from the same raw data $x$ by the view generation method in Section 3.3, where $u$ and $v$ indicate two types of data views. After single-view contrastive learning, two SkeletonCLR
121
+
122
+ ![](images/99a8d6f8bd5420dbd1a71480fadd0d597c7a792248b39ccbb9a786aca8bd7143.jpg)
123
+ (a)
124
+
125
+ ![](images/9308609a1612cbc7615603337339fac6dceee7b430cdee9e3ec79811d011f123.jpg)
126
+ (b)
127
+ Figure 3. (a) CrosSCLR. Given two samples $x^{u}$ , $x^{v}$ generated from the same raw data, e.g., joint and motion, SkeletonCLR models produce single-view embeddings while cross-view consistent knowledge mining (CVC-KM) exchanges multi-view complementary knowledge. (b) how $\mathcal{L}_{v\rightarrow u}$ works in embedding space. In step 1, we mine high-confidence knowledge $N_{+}^{v}$ from similarities $S^v$ to boost the positive set of view $u$ , i.e., $z^{u}$ shares $z^{v}$ 's neighbors; In step 2, we use the similarities $S^v$ to supervise the embedding distribution in view $u$ . $z^{u}$ , $z^{v}$ share similar relationships with others. Thus, two embedding spaces become similar under the constraint of $\mathcal{L}_{\mathrm{cross}}$ .
128
+
129
+ modules obtain the embeddings $z^u, z^v$ and corresponding memory bank $\mathbf{M}^u, \mathbf{M}^v$ respectively. We can mine the high-confidence knowledge from two views by $(S_{+}^{u}, N_{+}^{u}) = \operatorname{Topk}(S^{u})$ and $(S_{+}^{v}, N_{+}^{v}) = \operatorname{Topk}(S^{v})$ , where $S_{+}^{u}, S_{+}^{v}$ are the positive context of $z^u, z^v$ respectively.
130
+
131
+ CrossSCLR aims to learn the consistent embedding distribution in different views by encouraging the similarity of contrastive context, i.e., exchanging high-confidence knowledge across views. In Figure 3 (b), if we want to use the knowledge of view $v$ to guide view $u$ 's contrastive learning, it contains two aspects: 1) step 1: we select the most similar pairs (positive) in view $v$ as the positive sets in view $u$ , i.e., $S^u, N_+^v \to \mathcal{C}(S^u | N_+^v)$ . Thus the sample $z^u$ shares $z^v$ 's positive neighbors; 2) step 2: we use the embedding similarity $s_i^v = z^v \cdot m_i^v$ in view $v$ as the weight of corresponding embedding $m_i^u$ in view $u$ to provide the detailed relational information, i.e., $m_i^{v\rightarrow u} = s_i^v m_i^u$ . Then the similarity is computed by $z^u \cdot m^{v\rightarrow u} = s_i^v (z^u \cdot m_i^u) = s_i^u s_i^v$ and $z^u$ has embedding context $S^{v\rightarrow u} = \{z^u \cdot m_i^{v\rightarrow u}\}_{i\in N} = \{s_i^u s_i^v\}_{i\in N}$ . Finally, the overall loss is conducted as:
132
+
133
+ $$
134
+ \mathcal {L} _ {v \rightarrow u} = - \log \frac {\exp \left(z ^ {u} \cdot z ^ {\hat {u}} / \tau\right) + \sum_ {i \in N _ {+} ^ {v}} \exp \left(s _ {i} ^ {u} s _ {i} ^ {v}\right) / \tau)}{\exp \left(z ^ {u} \cdot z ^ {\hat {u}} / \tau\right) + \sum_ {i \in N} \exp \left(s _ {i} ^ {u} s _ {i} ^ {v}\right) / \tau}) \tag {6}
135
+ $$
136
+
137
+ $$
138
+ \mathcal {L} _ {\text {c r o s s}} = \mathcal {L} _ {u \rightarrow v} + \mathcal {L} _ {v \rightarrow u} \tag {7}
139
+ $$
140
+
141
+ where $\mathcal{L}_{v\rightarrow u}$ means we transfer the contrastive context of $z^v$ to that of $z^{u}$ . Since $s_i^u,s_i^v$ are the embedding context of $z_{i}^{u},z_{i}^{v}$ , we call Equation (7) as cross-view contrastive context learning, which constrains the similar distribution of two views (see Section 4.3, the results of t-SNE). Compared to Equation (5), Equation (6) considers the cross-view information, cooperatively using one view's high-confidence positive samples and its distribution to instruct the other view's contrastive learning, resulting in more regular space and better extracted skeleton features.
142
+
143
+ Learning CrosSCLR. For more views, CrosSCLR has fol
144
+
145
+ lowing objective:
146
+
147
+ $$
148
+ \mathcal {L} _ {\text {c r o s s}} = \sum_ {u} ^ {U} \sum_ {v} ^ {U} \mathcal {L} _ {u \rightarrow v} \tag {8}
149
+ $$
150
+
151
+ where $U$ is the number of views and $v\neq u$
152
+
153
+ In the early training process, the model is not stable and strong enough to provide reliable cross-view knowledge without the supervision of labels. As the unreliable information may lead astray, it is not encouraged to enable cross-view communication too early. We perform two-stage training for CrosSCLR: 1) each view of the model is individually trained with Equation (1) without cross-view communication. 2) then the model can supply high-confidence knowledge, so the loss function is replaced with Equation (8), starting cross-view knowledge mining.
154
+
155
+ # 3.3. Model Details
156
+
157
+ View Generation of 3D Skeleton. Generally, 3D human skeleton sequence has $T$ frames with $V$ joints, and each joint has $C = 3$ coordinate feature, which can be noted as $x \in \mathbb{R}^{C \times T \times V}$ . Different from videos, the views [41, 42] of skeleton, e.g., joint, motion, bone, motion of bone, can be easily obtained, which is a natural advantage for skeleton-based representation learning. Motion is represented as the temporal displacement between frames: $x_{:,t+1,:} - x_{:,t,:}$ , and bone is the distance between two neighboring joints in the same frame: $x_{:,v_2} - x_{:,v_1}$ . For simplicity, we use three views: joint, motion and bone in experiments.
158
+
159
+ Encoder $f$ . We adopt ST-GCN [57] as encoder, which is suitable for modeling graph-structure skeleton data by exploiting the spatial and temporal relations. After a series of ST-GCN blocks, the output feature $x_{out} \in \mathbb{R}^{c_{out} \times t_{out} \times V}$ is applied by an average pooling operation on spatial and temporal dimensions, obtaining final representation $h \in \mathbb{R}^{c_h}$ .
160
+
161
+ # 4. Experiments
162
+
163
+ # 4.1. Datasets
164
+
165
+ NTU-RGB+D 60. NTU-RGB+D 60 (NTU-60) dataset [40] is a large-scale dataset of 3D joint coordinate sequences for skeleton-based action recognition, containing 56,578 skeleton sequences in 60 action categories. Each skeleton graph contains $V = 25$ body joints as nodes, and their 3D coordinates are initial features. There are two protocols [40] recommended. 1) Cross-Subject (xsub): training data and validation data are collected from different subjects. 2) Cross-View (xview): training data and validation data are collected from different camera views.
166
+
167
+ NTU-RGB+D 120. NTU-RGB+D 120 (NTU-120) dataset [27] is an extended version of NTU-60, containing 113,945 skeleton sequences in 120 action categories. Two protocols [27] are recommended. 1) Cross-Subject (xsub): training data and validation data are collected from different subjects. 2) Cross-Setup (xset): training data and validation data are collected from different setup IDs.
168
+
169
+ NTU-RGB+D 61-120. NTU-RGB+D 61-120 (NTU-61-120) dataset is a subset of NTU-120 dataset, containing 57,367 skeleton sequences in the last 60 action categories in NTU-120. The categories in NTU-61-120 do not intersect with those in NTU-60. This dataset is used as external dataset to evaluate the transfer capability of our method.
170
+
171
+ # 4.2. Experimental Settings
172
+
173
+ All the experiments are conducted on the PyTorch [38] framework. For data pre-processing, we remove the invalid frames of each skeleton sequence and then resize them to the length of 50 frames by linear interpolation. For optimization, we use SGD with momentum (0.9) and weight decay (0.0001). The mini-batch size is set to 128.
174
+
175
+ Data Augmentation $\mathcal{T}$ . For skeleton sequence, we choose Shear [39] and Crop [43] as the augmentation strategy.
176
+
177
+ Shear is a linear transformation on the spatial dimension. The transformation matrix is defined as:
178
+
179
+ $$
180
+ \mathbf {A} = \left[ \begin{array}{c c c} 1 & a _ {1 2} & a _ {1 3} \\ a _ {2 1} & 1 & a _ {2 3} \\ a _ {3 1} & a _ {3 2} & 1 \end{array} \right] \tag {9}
181
+ $$
182
+
183
+ where $a_{12}, a_{13}, a_{21}, a_{23}, a_{31}, a_{32}$ are shear factors randomly sampled from $[- \beta, \beta]$ . $\beta$ is the shear amplitude. The sequence $x$ is multiplied by the transformation matrix $\mathbf{A}$ on the channel dimension. Then, the human pose in 3D coordinate is inclined at a random angle.
184
+
185
+ $Crop$ is an augmentation on the temporal dimension that symmetrically pads some frames to the sequence and then randomly crops it to the original length. The padding length is defined as $T / \gamma$ , $\gamma$ is noted as padding ratio. The padding operation uses the reflection of the original boundary.
186
+
187
+ <table><tr><td rowspan="2">Method</td><td rowspan="2">View</td><td colspan="2">NTU-60 (%)</td></tr><tr><td>xsub</td><td>xview</td></tr><tr><td>SkeletonCLR</td><td>Joint</td><td>68.3</td><td>76.4</td></tr><tr><td>SkeletonCLR</td><td>Motion</td><td>53.3</td><td>50.8</td></tr><tr><td>SkeletonCLR</td><td>Bone</td><td>69.4</td><td>67.4</td></tr><tr><td>2s-SkeletonCLR</td><td>Joint + Motion</td><td>70.5</td><td>77.9</td></tr><tr><td>3s-SkeletonCLR</td><td>Joint + Motion + Bone</td><td>75.0</td><td>79.8</td></tr><tr><td>CrosCLR</td><td>Joint</td><td>72.9</td><td>79.9</td></tr><tr><td>CrosCLR</td><td>Motion</td><td>72.7</td><td>77.6</td></tr><tr><td>CrosCLR</td><td>Bone</td><td>75.2</td><td>78.8</td></tr><tr><td>2s-CrosCLR</td><td>Joint + Motion</td><td>74.5</td><td>82.1</td></tr><tr><td>3s-CrosCLR</td><td>Joint + Motion + Bone</td><td>77.8</td><td>83.4</td></tr></table>
188
+
189
+ Table 1. Comparisons of SkeletonCLR and CrosSCLR on each view and their ensembles. SkeletonCLR models are trained independently and "+" means the ensemble model.
190
+
191
+ Unsupervised Pre-training. We generate three views of skeleton sequences, i.e., joint, motion and bone. For the encoder, we adopt ST-GCN [57], but the number of channels in each layer is reduced to $1/4$ of the original setting. For contrastive settings, we follow that in MOCOV2 [5] but reduce the size of memory bank $\mathbf{M}$ to $30k$ . For data augmentation, We set shear amplitude $\beta = 0.5$ and the padding ratio $\gamma = 6$ . The model is trained for 300 epochs with the learning rate 0.1 (multiplied by 0.1 at epoch 250). InfoNCE loss in Equation (1) is used in the first 150 epochs, and then replaced with $\mathcal{L}_{cross}$ in Equation (8) after 150-th epoch. We set $K = 1$ as the default in the knowledge mining mechanism.
192
+
193
+ Linear Evaluation Protocol. The models are verified by linear evaluation for action recognition task, i.e., attaching the frozen encoder to a linear classifier (a fully-connected layer followed by a softmax layer), and then training the classifier supervisedly. We train models for 100 epochs with learning rate 3.0 (multiplied by 0.1 at epoch 80).
194
+
195
+ Finetune Protocol. We append a linear classifier to the learnable encoder, and then train the whole model for the action recognition task, to compare it with fully-supervised methods. We train for 100 epochs with learning rate 0.1 (multiplied by 0.1 at epoch 80).
196
+
197
+ # 4.3. Ablation Study
198
+
199
+ All experiments in this section are conducted on NTU-60 dataset and follow the unsupervised pre-training and linear evaluation protocol in Section 4.2.
200
+
201
+ Effectiveness of CrosSCLR. In Table 1, we separately pretrain SkeletonCLR and jointly pre-train CrosSCLR models on different skeleton views, e.g., joint, motion and bone. We adopt linear evaluation on each view of the models. Table 1 reports that 1) CrosSCLR improves the capability of each single SkeletonCLR model, e.g., CrosSCLR-joint (79.88) v.s SkeletonCLR-joint (76.44) on xview protocol; 2)
202
+
203
+ ![](images/4d60a38fb5ffcd81a3742714c8b7a04af8a41e94ed61e405a2c5e67672f49195.jpg)
204
+ Figure 4. The t-SNE visualization of embeddings at different epochs during pre-training. Embeddings from 10 categories are sampled and visualized with different colors. For CrosSCLR, $\mathcal{L}_{\mathrm{cross}}$ starts to be available at epoch 150, so its distribution has no difference from that of SkeletonCLR before epoch 150, shown in red boxes. More visual results are shown in Appendix.
205
+
206
+ CrosSCLR bridges the performance gap of two views and jointly improves their accuracy, e.g., for SkeletonCLR, joint (76.44) $\nu.s$ motion (50.82) but for CrosSCLR, joint (79.88) $\nu.s$ motion (77.59); 3) CrosSCLR improves the multi-view ensemble results via cross-view training. In summary, the cross-view high-confidence knowledge does help the model extract more discriminating representations.
207
+
208
+ Qualitative Results. We apply t-SNE [30] with fix settings to show the embedding distribution of SkeletonCLR and CrosSCLR on 150, 200, 250, 300 epochs during pretraining in Figure 4. Note that cross-view loss, Equation (8), is available only after epoch 150. From the visual results, we can draw a similar conclusion to that in Table 1. Embeddings of CrosSCLR are clustered more closely than that of SkeletonCLR, which is more discriminating. For CrosSCLR, the distributions of joint and motion are distinct at 150-th epoch but look very similar at 300-th epoch, i.e., consistent distribution. Especially, they both build a more "regular" space than SkeletonCLR, proving the effectiveness of CrosSCLR.
209
+
210
+ Effects of Contrastive Setting top- $K$ . As hyper-parameter $K$ determines the number of mined samples, influencing the depth of knowledge exchange, we study how $K$ impacts the performance in cross-view learning. Table 2 shows that $K$ has a great influence on the performance and achieves the best result when $K = 1$ . However, a larger $K$ decreases the performance, because the not so confident information may lead the model astray in an unsupervised case.
211
+
212
+ Contrastive Setting $N_{+}$ and Embedding Context $\mathcal{S}$ . We develop following models in Table 4 for comparison: 1) SkeletonCLR + $\mathcal{L}_{\mathrm{KM}}$ is a model with single-view knowledge mining. 2) CrosSCLR w/o. embedding context (EC) is the model only using the contrastive setting $N_{+}$ for cross-view learning, which ignores the embedding context/distribution, i.e., $S_{i}^{v} = 1, \forall i \in N$ in Equation (6). The results of SkeletonCLR + $\mathcal{L}_{\mathrm{KM}}$ show that KM improves
213
+
214
+ <table><tr><td rowspan="2">top-K</td><td colspan="2">NTU-60 (%)</td></tr><tr><td>xsub</td><td>xview</td></tr><tr><td>0</td><td>70.5</td><td>77.4</td></tr><tr><td>1</td><td>74.5</td><td>82.1</td></tr><tr><td>3</td><td>73.7</td><td>79.9</td></tr><tr><td>5</td><td>72.4</td><td>79.2</td></tr><tr><td>7</td><td>73.0</td><td>78.6</td></tr><tr><td>10</td><td>64.4</td><td>69.9</td></tr></table>
215
+
216
+ Table 2. Results of pretraining 2s-CrosSCLR with various $K$ in knowledge miner $\Gamma$
217
+
218
+ <table><tr><td colspan="2">Augmentation</td><td colspan="2">NTU-60 (%)</td></tr><tr><td>Shear β</td><td>Crop γ</td><td>xsub</td><td>xview</td></tr><tr><td>0</td><td>0</td><td>33.3</td><td>26.2</td></tr><tr><td>0.2</td><td>0</td><td>62.7</td><td>67.7</td></tr><tr><td>0.5</td><td>0</td><td>66.3</td><td>68.8</td></tr><tr><td>1.0</td><td>0</td><td>62.0</td><td>66.8</td></tr><tr><td>0.5</td><td>4</td><td>67.6</td><td>76.3</td></tr><tr><td>0.5</td><td>6</td><td>68.3</td><td>76.4</td></tr><tr><td>0.5</td><td>8</td><td>69.1</td><td>74.7</td></tr></table>
219
+
220
+ Table 3. Ablation study on different data augmentations for Skeleton-CLR (joint).
221
+
222
+ <table><tr><td rowspan="2">Method</td><td rowspan="2">Views of Pre-training</td><td colspan="2">NTU-60 (%)</td></tr><tr><td>xsub</td><td>xview</td></tr><tr><td>SkeletonCLR</td><td>Joint</td><td>68.3</td><td>76.4</td></tr><tr><td>SkeletonCLR + LKM</td><td>Joint</td><td>69.3</td><td>77.4</td></tr><tr><td>CrossSCLR w/o. EC</td><td>Joint + Motion</td><td>71.4</td><td>78.5</td></tr><tr><td>CrossSCLR</td><td>Joint + Motion</td><td>72.9</td><td>79.9</td></tr></table>
223
+
224
+ Table 4. Ablation study on contrastive settings $N_{+}$ and embedding context (EC). The models are linear evaluated on only joint.
225
+
226
+ the representation capability of SkeletonCLR. Additionally, CrosSCLR achieves worse performance without using embedding context (EC), proving the significance of similarity/distribution among samples.
227
+
228
+ Effects of Augmentations. SkeletonCLR and CrosSCLR are based on contrastive learning, but the data augmentation strategy used on skeleton data is rarely explored, especially for the GCN encoder. We verify the effectiveness of data augmentation and the impact of different augmented intensities in skeleton-based contrastive learning by conducting experiments on SkeletonCLR, as shown in Table 3. It indicates the importance of data augmentation in SkeletonCLR. We choose $\beta = 0.5$ and $\gamma = 6$ as default settings according to the mean accuracy on xsub and xview protocols.
229
+
230
+ # 4.4. Comparison
231
+
232
+ We compare CrosSCLR with other methods under linear evaluation and finetune protocols. Since the backbone in many methods is an RNN-based model, e.g., GRU or LSTM, we additionally use LSTM (following the setting in [39]) as the encoder for a fair comparison, i.e., CrosSCLR (LSTM).
233
+
234
+ Unsupervised Results on NTU-60. In Table 5, LongT GAN [65] adversarially trains the model by skeleton inpainting pretext task, $\mathrm{MS}^2\mathrm{L}$ [26] trains the model by multitask scheme, i.e., prediction, jiasaw puzzle and instance discrimination, AS-CAL [39] uses momentum LSTM encoder for contrastive learning with single-view skeleton sequence, P&C [47] trains a stronger encoder by weakening decoder, and SeBiReNet [34] constructs a human-like GRU
235
+
236
+ <table><tr><td rowspan="2">Method</td><td rowspan="2">Encoder</td><td rowspan="2">Classifier</td><td colspan="2">NTU-60 (%)</td></tr><tr><td>xsub</td><td>xview</td></tr><tr><td>LongT GAN [65]</td><td>GRU</td><td>FC</td><td>39.1</td><td>48.1</td></tr><tr><td>MS2L [26]</td><td>GRU</td><td>GRU</td><td>52.6</td><td>-</td></tr><tr><td>AS-CAL [39]</td><td>LSTM</td><td>FC</td><td>58.5</td><td>64.8</td></tr><tr><td>P&amp;C [47]</td><td>GRU</td><td>KNN</td><td>50.7</td><td>76.3</td></tr><tr><td>SeBiReNet [34]</td><td>GRU</td><td>LSTM</td><td>-</td><td>79.7</td></tr><tr><td>3s-CrosSCLR (LSTM)</td><td>LSTM</td><td>FC</td><td>62.8</td><td>69.2</td></tr><tr><td>3s-CrosSCLR (LSTM)</td><td>LSTM</td><td>LSTM</td><td>70.4</td><td>79.9</td></tr><tr><td>3s-CrosSCLR‡</td><td>ST-GCN</td><td>FC</td><td>72.8</td><td>80.7</td></tr><tr><td>3s-CrosSCLR</td><td>ST-GCN</td><td>FC</td><td>77.8</td><td>83.4</td></tr></table>
237
+
238
+ Table 5. Unsupervised results on NTU-60. These methods are pretrained to learn encoder and then follow the linear evaluation protocol to learn the classifiers. “‡” indicates the model pre-trained on NTU-61-120.
239
+
240
+ <table><tr><td rowspan="2">Method</td><td rowspan="2">Supervision</td><td colspan="2">NTU-120 (%)</td></tr><tr><td>xsub</td><td>xset</td></tr><tr><td>Part-Aware LSTM [40]</td><td>Supervised</td><td>25.5</td><td>26.3</td></tr><tr><td>Soft RNN [15]</td><td>Supervised</td><td>36.3</td><td>44.9</td></tr><tr><td>TSRJI [2]</td><td>Supervised</td><td>67.9</td><td>62.8</td></tr><tr><td>ST-GCN [57]</td><td>Supervised</td><td>79.7</td><td>81.3</td></tr><tr><td>AS-CAL [39]</td><td>Unsupervised</td><td>48.6</td><td>49.2</td></tr><tr><td>3s-CrossCLR (LSTM)</td><td>Unsupervised</td><td>53.9</td><td>53.2</td></tr><tr><td>3s-CrossCLR</td><td>Unsupervised</td><td>67.9</td><td>66.7</td></tr></table>
241
+
242
+ network to utilize view-independent and pose-independent feature. Our CrosSCLR exploits the multi-view knowledge by cross-view consistent knowledge mining. Taking a fully-connected layer (FC) as the classifier, our model outperforms other methods with the same classifier. With LSTM classifier and LSTM encoder, our model outperforms the above methods on both xsub and xview protocols.
243
+
244
+ Results on NTU-120. As few unsupervised results are reported on NTU-120 dataset, we compare our method with unsupervised and supervised methods. As shown in Table 6, TSRJI [2] supervisedly utilizes attention LSTM, AS-CAL [39] adopts LSTM for skeleton modeling, and our method defeats the other unsupervised method and some of the supervised methods.
245
+
246
+ Linear Classification with Fewer Labels. We follow the same protocol as that of $\mathrm{MS}^2\mathrm{L}$ [26], i.e., pre-training with all training data and then finetuning the classifier with only $1\%$ and $10\%$ randomly-selected labeled data respectively. As shown in Table 7, CrosSCLR achieves higher performance than other methods.
247
+
248
+ Finetuned Results on NTU-60 and NTU-120. We first unsupervisedly pre-train our model and follow the finetune protocol for evaluation. For fair comparison, ST
249
+
250
+ Table 6. Unsupervised results on NTU-120. We show and compare our method with unsupervised and supervised methods.
251
+
252
+ <table><tr><td rowspan="2">Method</td><td rowspan="2">Label Fraction</td><td colspan="2">NTU-60 (%)</td></tr><tr><td>xsub</td><td>xview</td></tr><tr><td>LongT GAN [65]</td><td>1%</td><td>35.2</td><td>-</td></tr><tr><td>MS²L [26]</td><td>1%</td><td>33.1</td><td>-</td></tr><tr><td>3s-CrosCLR</td><td>1%</td><td>51.1</td><td>50.0</td></tr><tr><td>LongT GAN [65]</td><td>10%</td><td>62.0</td><td>-</td></tr><tr><td>MS²L [26]</td><td>10%</td><td>65.2</td><td>-</td></tr><tr><td>3s-CrosCLR</td><td>10%</td><td>74.4</td><td>77.8</td></tr></table>
253
+
254
+ Table 7. Linear classification with fewer labels on NTU-60.
255
+
256
+ <table><tr><td rowspan="2">Method</td><td colspan="2">NTU-60 (%)</td><td colspan="2">NTU-120 (%)</td></tr><tr><td>xsub</td><td>xview</td><td>xsub</td><td>xset</td></tr><tr><td>3s-ST-GCN* [57]</td><td>85.2</td><td>91.4</td><td>77.2</td><td>77.1</td></tr><tr><td>3s-CrossCLR‡ (FT)</td><td>85.6</td><td>92.0</td><td>-</td><td>-</td></tr><tr><td>3s-CrossCLR (FT)</td><td>86.2</td><td>92.5</td><td>80.5</td><td>80.4</td></tr></table>
257
+
258
+ Table 8. Finetuned results on NTU-60 and NTU-120. ST-GCN* is the method reproduced by released code. “‡” indicates the model pre-trained on NTU-61-120. “FT” means finetune protocol.
259
+
260
+ GCN* [57] in Table 8 has the same number of parameters as 3s-CrosSCLR (1/4 channel with three streams). It shows that the finetuned model, CrosSCLR (FT) outperforms the supervised ST-GCN on both NTU-60 and NTU-120 datasets, indicating the effectiveness of cross-view pretraining.
261
+
262
+ Transfer Ability. We first pre-train CrosSCLR on NTU-61-120, and then transfer it to NTU-60 for linear evaluation, noted as $\mathrm{CrosSCLR}^{\ddagger}$ . The model trained under xsub protocol is transferred to the xsub protocol of NTU-60; the model trained under xset protocol is transferred to the xview protocol of NTU-60. In Table 5, it achieves better results than the other unsupervised methods, and its supervisedly finetuning result is higher than ST-GCN as shown in Table 8.
263
+
264
+ # 5. Conclusion
265
+
266
+ In this work, we propose a Cross-view Contrastive Learning framework for unsupervised 3D skeleton-based action representation to exploit multi-view high-confidence knowledge as complementary supervision. It integrates single-view contrastive learning with cross-view consistent knowledge mining modules which convey the contrastive settings and embedding context among views by high-confidence sample mining. Experiments show remarkable results of CrosSCLR for action recognition on NTU datasets.
267
+
268
+ # Acknowledgement
269
+
270
+ This work was supported by National Science Foundation of China (U20B2072, 61976137). This work was also supported by NSFC (U19B2035), Shanghai Municipal Science and Technology Major Project (2021SHZDZX0102).
271
+
272
+ # References
273
+
274
+ [1] Amor Ben Tanfous, Hassen Drira, and Boulbaba Ben Amor. Coding kendall's shape trajectories for 3d action recognition. In CVPR, pages 2840-2849, 2018.
275
+ [2] Carlos Caetano, François Brémond, and William Robson Schwartz. Skeleton image representation for 3d action recognition based on tree structure and reference joints. In SIB-GRAPI, pages 16-23. IEEE, 2019.
276
+ [3] Zhe Cao, Gines Hidalgo, Tomas Simon, Shih-En Wei, and Yaser Sheikh. Openpose: realtime multi-person 2d pose estimation using part affinity fields. TPAMI, 43(1):172-186, 2019.
277
+ [4] Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations. arXiv:2002.05709, 2020.
278
+ [5] Xinlei Chen, Haoqi Fan, Ross Girshick, and Kaiming He. Improved baselines with momentum contrastive learning. arXiv:2003.04297, 2020.
279
+ [6] Yong Du, Wei Wang, and Liang Wang. Hierarchical recurrent neural network for skeleton based action recognition. In CVPR, pages 1110-1118, 2015.
280
+ [7] Basura Fernando, Hakan Bilen, Efstratios Gavves, and Stephen Gould. Self-supervised video representation learning with odd-one-out networks. In CVPR, pages 3636-3645, 2017.
281
+ [8] Spyros Gidaris, Praveer Singh, and Nikos Komodakis. Unsupervised representation learning by predicting image rotations. arXiv:1803.07728, 2018.
282
+ [9] Liang-Yan Gui, Yu-Xiong Wang, Xiaodan Liang, and José MF Moura. Adversarial geometry-aware human motion prediction. In ECCV, pages 786-803, 2018.
283
+ [10] Tengda Han, Weidi Xie, and Andrew Zisserman. Self-supervised co-training for video representation learning. NeurIPS, 33, 2020.
284
+ [11] Kaiming He, Haoqi Fan, Yuxin Wu, Saining Xie, and Ross Girshick. Momentum contrast for unsupervised visual representation learning. In CVPR, pages 9729-9738, 2020.
285
+ [12] Geoffrey Hinton, Oriol Vinyls, and Jeff Dean. Distilling the knowledge in a neural network. arXiv:1503.02531, 2015.
286
+ [13] Geoffrey E Hinton and Sam Roweis. Stochastic neighbor embedding. NIPS, 15:857-864, 2002.
287
+ [14] Sepp Hochreiter, Yoshua Bengio, Paolo Frasconi, Jürgen Schmidhuber, et al. Gradient flow in recurrent nets: the difficulty of learning long-term dependencies, 2001.
288
+ [15] Jian-Fang Hu, Wei-Shi Zheng, Lianyang Ma, Gang Wang, Jianhuang Lai, and Jianguo Zhang. Early action prediction by soft regression. TPAMI, 41(11):2568-2583, 2018.
289
+ [16] Will Kay, Joao Carreira, Karen Simonyan, Brian Zhang, Chloe Hillier, Sudheendra Vijayanarasimhan, Fabio Viola, Tim Green, Trevor Back, Paul Natev, et al. The kinetics human action video dataset. arXiv:1705.06950, 2017.
290
+ [17] Qiuhong Ke, Mohammed Bennamoun, Senjian An, Ferdous Sohel, and Farid Boussaid. A new representation of skeleton sequences for 3d action recognition. In CVPR, pages 3288-3297, 2017.
291
+
292
+ [18] Prannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna, Yonglong Tian, Phillip Isola, Aaron Maschinot, Ce Liu, and Dilip Krishnan. Supervised contrastive learning. arXiv:2004.11362, 2020.
293
+ [19] Dahun Kim, Donghyeon Cho, and In So Kweon. Self-supervised video representation learning with space-time cubic puzzles. In AAAI, volume 33, pages 8545-8552, 2019.
294
+ [20] Jogendra Nath Kundu, Maharshi Gor, Phani Krishna Uppala, and Venkatesh Babu Radhakrishnan. Unsupervised feature learning of human actions as trajectories in pose embedding manifold. In WACV, pages 1459-1467. IEEE, 2019.
295
+ [21] Hsin-Ying Lee, Jia-Bin Huang, Maneesh Singh, and Ming-Hsuan Yang. Unsupervised representation learning by sorting sequences. In ICCV, pages 667-676, 2017.
296
+ [22] Chao Li, Qiaoyong Zhong, Di Xie, and Shiliang Pu. Skeleton-based action recognition with convolutional neural networks. In ICME Workshops, pages 597-600. IEEE, 2017.
297
+ [23] Junnan Li, Yongkang Wong, Qi Zhao, and Mohan S Kankanhalli. Unsupervised learning of view-invariant action representations. In NeurIPS, pages 1254-1264, 2018.
298
+ [24] Maosen Li, Siheng Chen, Xu Chen, Ya Zhang, Yanfeng Wang, and Qi Tian. Actional-structural graph convolutional networks for skeleton-based action recognition. In CVPR, pages 3595–3603, 2019.
299
+ [25] Duohan Liang, Guoliang Fan, Guangfeng Lin, Wanjun Chen, Xiaorong Pan, and Hong Zhu. Three-stream convolutional neural network with multi-task and ensemble learning for 3d action recognition. In CVPR Workshops, 2019.
300
+ [26] Lilang Lin, Sijie Song, Wenhan Yang, and Jiaying Liu. Ms21: Multi-task self-supervised learning for skeleton based action recognition. In ACMMM, pages 2490-2498, 2020.
301
+ [27] Jun Liu, Amir Shahroudy, Mauricio Lisboa Perez, Gang Wang, Ling-Yu Duan, and Alex Kot Chichung. Ntu rgb+d 120: A large-scale benchmark for 3d human activity understanding. TPAMI, 2019.
302
+ [28] Ziyu Liu, Hongwen Zhang, Zhenghao Chen, Zhiyong Wang, and Wanli Ouyang. Disentangling and unifying graph convolutions for skeleton-based action recognition. In CVPR, pages 143-152, 2020.
303
+ [29] Zelun Luo, Boya Peng, De-An Huang, Alexandre Alahi, and Li Fei-Fei. Unsupervised learning of long-term motion dynamics for videos. In CVPR, pages 2203–2212, 2017.
304
+ [30] Laurens van der Maaten and Geoffrey Hinton. Visualizing data using t-sne. Journal of machine learning research, 9(Nov):2579-2605, 2008.
305
+ [31] Julieta Martinez, Michael J Black, and Javier Romero. On human motion prediction using recurrent neural networks. In CVPR, pages 2891-2900, 2017.
306
+ [32] Ishan Misra, C Lawrence Zitnick, and Martial Hebert. Shuffle and learn: unsupervised learning using temporal order verification. In ECCV, pages 527-544. Springer, 2016.
307
+ [33] Bingbing Ni, Gang Wang, and Pierre Moulin. Rgbd-hudaact: A color-depth video database for human daily activity recognition. In ICCV Workshops, pages 1147-1153. IEEE, 2011.
308
+ [34] Qiang Nie, Ziwei Liu, and Yunhui Liu. Unsupervised 3d human pose representation with viewpoint and pose disentanglement. ECCV, 2020.
309
+
310
+ [35] Mehdi Noroozi and Paolo Favaro. Unsupervised learning of visual representations by solving jigsaw puzzles. In ECCV, pages 69-84. Springer, 2016.
311
+ [36] Mehdi Noroozi, Ananth Vinjimoor, Paolo Favaro, and Hamed Pirsiavash. Boosting self-supervised learning via knowledge transfer. In CVPR, pages 9359-9367, 2018.
312
+ [37] Aaron van den Oord, Yazhe Li, and Oriol Vinyals. Representation learning with contrastive predictive coding. arXiv:1807.03748, 2018.
313
+ [38] 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. NeurIPS Workshops, 2017.
314
+ [39] Haocong Rao, Shihao Xu, Xiping Hu, Jun Cheng, and Bin Hu. Augmented skeleton based contrastive action learning with momentum lstm for unsupervised action recognition. arXiv:2008.00188, 2020.
315
+ [40] Amir Shahroudy, Jun Liu, Tian-Tsong Ng, and Gang Wang. Ntu rgb+ d: A large scale dataset for 3d human activity analysis. In CVPR, pages 1010-1019, 2016.
316
+ [41] Lei Shi, Yifan Zhang, Jian Cheng, and Hanqing Lu. Skeleton-based action recognition with directed graph neural networks. In CVPR, pages 7912-7921, 2019.
317
+ [42] Lei Shi, Yifan Zhang, Jian Cheng, and Hanqing Lu. Two-stream adaptive graph convolutional networks for skeleton-based action recognition. In CVPR, pages 12026-12035, 2019.
318
+ [43] Connor Shorten and Taghi M Khoshgoftaar. A survey on image data augmentation for deep learning. Journal of Big Data, 6(1):60, 2019.
319
+ [44] Chenyang Si, Wentao Chen, Wei Wang, Liang Wang, and Tieniu Tan. An attention enhanced graph convolutional LSTM network for skeleton-based action recognition. In CVPR, pages 1227-1236, 2019.
320
+ [45] Sijie Song, Cuiling Lan, Junliang Xing, Wenjun Zeng, and Jiaying Liu. Spatio-temporal attention-based LSTM networks for 3d action recognition and detection. TIP, 27(7):3459-3471, 2018.
321
+ [46] Nitish Srivastava, Elman Mansimov, and Ruslan Salakhudinov. Unsupervised learning of video representations using lstms. In ICML, pages 843-852, 2015.
322
+ [47] Kun Su, Xiulong Liu, and Eli Shlizerman. Predict & cluster: Unsupervised skeleton based action recognition. In CVPR, pages 9631-9640, 2020.
323
+ [48] Yonglong Tian, Dilip Krishnan, and Phillip Isola. Contrastive multiview coding. arXiv:1906.05849, 2019.
324
+ [49] Raviteja Vemulapalli, Felipe Arrate, and Rama Chellappa. Human action recognition by representing 3d skeletons as points in a lie group. In CVPR, pages 588-595, 2014.
325
+ [50] Raviteja Vemulapalli and Rama Chellapa. Rolling rotations for recognizing human actions from 3d skeletal data. In CVPR, pages 4471-4479, 2016.
326
+ [51] Jiangliu Wang, Jianbo Jiao, Linchao Bao, Shengfeng He, Yunhui Liu, and Wei Liu. Self-supervised spatio-temporal representation learning for videos by predicting motion and appearance statistics. In CVPR, pages 4006-4015, 2019.
327
+
328
+ [52] Jiang Wang, Zicheng Liu, Ying Wu, and Junsong Yuan. Mining actionlet ensemble for action recognition with depth cameras. In CVPR, pages 1290-1297. IEEE, 2012.
329
+ [53] Minsi Wang, Bingbing Ni, and Xiaokang Yang. Learning multi-view interactional skeleton graph for action recognition. TPAMI, 2020.
330
+ [54] Chen Wei, Lingxi Xie, Xutong Ren, Yingda Xia, Chi Su, Jiaying Liu, Qi Tian, and Alan L Yuille. Iterative reorganization with weak spatial constraints: Solving arbitrary jigsaw puzzles for unsupervised representation learning. In CVPR, pages 1910-1919, 2019.
331
+ [55] Zhirong Wu, Yuanjun Xiong, Stella X Yu, and Dahua Lin. Unsupervised feature learning via non-parametric instance discrimination. In CVPR, pages 3733-3742, 2018.
332
+ [56] Jingwei Xu, Zhenbo Yu, Bingbing Ni, Jiancheng Yang, Xiaokang Yang, and Wenjun Zhang. Deep kinematics analysis for monocular 3d human pose estimation. In CVPR, pages 899-908, 2020.
333
+ [57] Sijie Yan, Yuanjun Xiong, and Dahua Lin. Spatial temporal graph convolutional networks for skeleton-based action recognition. In AAAI, 2018.
334
+ [58] Mihai Zanfir, Marius Leordeanu, and Cristian Sminchisescu. The moving pose: An efficient 3d kinematics descriptor for low-latency action recognition and detection. In ICCV, pages 2752-2759, 2013.
335
+ [59] Xiaohua Zhai, Avital Oliver, Alexander Kolesnikov, and Lucas Beyer. S4l: Self-supervised semi-supervised learning. In ICCV, pages 1476-1485, 2019.
336
+ [60] Pengfei Zhang, Cuiling Lan, Junliang Xing, Wenjun Zeng, Jianru Xue, and Nanning Zheng. View adaptive recurrent neural networks for high performance human action recognition from skeleton data. In ICCV, pages 2117-2126, 2017.
337
+ [61] Pengfei Zhang, Cuiling Lan, Junliang Xing, Wenjun Zeng, Jianru Xue, and Nanning Zheng. View adaptive neural networks for high performance skeleton-based human action recognition. TPAMI, 41(8):1963-1978, 2019.
338
+ [62] Pengfei Zhang, Cuiling Lan, Wenjun Zeng, Junliang Xing, Jianru Xue, and Nanning Zheng. Semantics-guided neural networks for efficient skeleton-based human action recognition. In CVPR, pages 1112-1121, 2020.
339
+ [63] Richard Zhang, Phillip Isola, and Alexei A Efros. Colorful image colorization. In ECCV, pages 649-666. Springer, 2016.
340
+ [64] Xikun Zhang, Chang Xu, and Dacheng Tao. Context aware graph convolution for skeleton-based action recognition. In CVPR, pages 14333-14342, 2020.
341
+ [65] Nenggan Zheng, Jun Wen, Risheng Liu, Liangqu Long, Jianhua Dai, and Zhefeng Gong. Unsupervised representation learning with long-term dynamics for skeleton based action recognition. In AAAI, 2018.
3dhumanactionrepresentationlearningviacrossviewconsistencypursuit/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25f8c118d0a806055943022966757db0f5956956ddd6f9a01ace0aaa6d0239d0
3
+ size 415595
3dhumanactionrepresentationlearningviacrossviewconsistencypursuit/layout.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c4b234a1260e34e08cf03a41c3552e1f10a492d7314fadb7be248224ae1f457
3
+ size 483491
3dioumatchleveragingioupredictionforsemisupervised3dobjectdetection/e354cee2-b058-4f5f-835f-d1d8812e8a35_content_list.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:729fa6c52aef4369f04bd684ebbf6600b9038d9c160dd2d1aae2f710a476f7ec
3
+ size 75297
3dioumatchleveragingioupredictionforsemisupervised3dobjectdetection/e354cee2-b058-4f5f-835f-d1d8812e8a35_model.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7acc55c1a1a2a99d089e1df3e7d094aa9e18f818df372c4ec843f71badccdefb
3
+ size 88773
3dioumatchleveragingioupredictionforsemisupervised3dobjectdetection/e354cee2-b058-4f5f-835f-d1d8812e8a35_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74604c1cee34553dc79e716efb025b9d24a2b17c05892483d8d6750556792175
3
+ size 1839227
3dioumatchleveragingioupredictionforsemisupervised3dobjectdetection/full.md ADDED
@@ -0,0 +1,256 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 3DIOUMatch: Leveraging IoU Prediction for Semi-Supervised 3D Object Detection
2
+
3
+ He Wang $^{1*}$ Yezhen Cong $^{2*}$ Or Litany $^{3}$ Yue Gao $^{2}$ Leonidas J. Guibas $^{1}$ $^{1}$ Stanford University $^{2}$ Tsinghua University $^{3}$ NVIDIA
4
+
5
+ # Abstract
6
+
7
+ 3D object detection is an important yet demanding task that heavily relies on difficult to obtain 3D annotations. To reduce the required amount of supervision, we propose 3D IoUMatch, a novel semi-supervised method for 3D object detection applicable to both indoor and outdoor scenes. We leverage a teacher-student mutual learning framework to propagate information from the labeled to the unlabeled train set in the form of pseudo-labels. However, due to the high task complexity, we observe that the pseudo-labels suffer from significant noise and are thus not directly usable. To that end, we introduce a confidence-based filtering mechanism, inspired by FixMatch. We set confidence thresholds based upon the predicted objectness and class probability to filter low-quality pseudo-labels. While effective, we observe that these two measures do not sufficiently capture localization quality. We therefore propose to use the estimated 3D IoU as a localization metric and set category-aware self-adjusted thresholds to filter poorly localized proposals. We adopt VoteNet as our backbone detector on indoor datasets while we use PV-RCNN on the autonomous driving dataset, KITTI. Our method consistently improves state-of-the-art methods on both ScanNet and SUN-RGBD benchmarks by significant margins under all label ratios (including fully labeled setting). For example, when training using only $10\%$ labeled data on ScanNet, 3D IoUMatch achieves 7.7 absolute improvement on mAP@0.25 and 8.5 absolute improvement on mAP@0.5 upon the prior art. On KITTI, we are the first to demonstrate semi-supervised 3D object detection and our method surpasses a fully supervised baseline from $1.8\%$ to $7.6\%$ under different label ratio and categories.
8
+
9
+ # 1. Introduction
10
+
11
+ Object detection is a key task in 3D scene understanding. It provides a concise representation of raw sensor measurements in the form of semantically meaningful 3D bounding boxes. This low-dimensional representation can
12
+
13
+ already serve numerous applications in autonomous driving and AR/VR, as well as in robot navigation and manipulation. As a result, in recent years there has been a surge of interest in developing improved object detection pipelines and indeed current state-of-the-art methods show impressive performance. Yet, much of their success is attributed to the availability of large datasets of 3D scenes that are carefully annotated. While rapid advances in sensor technology facilitate the collection of 3D scenes at scale, annotating them remains the main bottleneck. This calls for detection methods that can leverage both labeled and unlabeled data at train time.
14
+
15
+ In this work, we aim to address this requirement by proposing a novel semi-supervised 3D object detection method which we dub 3DIoUMatch. As a generally applicable method, 3DIoUMatch can be applied to both indoor scene datasets, i.e. ScanNet[4] and SUN-RGBD[28], and outdoor datasets, i.e. KITTI[7]. We adopt popular point-based object detectors, VoteNet [18] and PV-RCNN [24], as our backbone object detection networks for the indoor and outdoor scenes, correspondingly. To provide supervision to the unlabeled scenes, we leverage a teacher-student mutual learning framework [29] and use the bounding box predictions from the teacher network as pseudo-labels to supervise the student network on unlabeled data. However, unlike most pseudo-label techniques that were designed for classification, in the highly complex (joint regression and classification) task of object detection, we observe that the pseudo-labels suffer from significant noise, and using them directly is suboptimal.
16
+
17
+ Inspired by FixMatch [26], the state-of-the-art semi-supervised learning (SSL) method for 2D image classification that proposed confidence-based filtering to improve pseudo-label quality, we adopt a pseudo-label filtering mechanism for 3D object detection by setting thresholds on predicted class probabilities (and objectness scores for VoteNet), so as to filter out teacher proposals with potentially erroneous semantic labels or ones not belong to foreground. While effective, these criteria alone are not sufficient to capture localization quality, and the pseudo-labels may still have large errors in the bounding box parameters.
18
+
19
+ To that end, we further propose to leverage estimated IoU (intersection over union) as a localization quality measure for pseudo-label filtering. IoU estimation was first proposed in the context of 2D object detection as a localization confidence in the pioneering work IoU-Net [12], where estimated IoU was proven successful in replacement of class confidence for test-time Non-Maximal Suppression (NMS). To the best of our knowledge, leveraging IoU estimation for pseudo-label filtering is a novel idea for SSL on both 2D and 3D object detection. Equipping the detectors with a 3D IoU estimation module, we are able to filter out poorly localized pseudo-labels and leverage estimated IoU for both train-time and test-time NMS.
20
+
21
+ A key challenge when filtering based on IoU estimation is how to properly set the threshold. Unlike objectness and class confidence for which high threshold values (e.g. 0.9) work well, 3D IoU is more sensitive to small errors. Setting the threshold too high would reduce the number of pseudo-labels to very few, from which little could be learned. To balance between quality and coverage, we propose a two-stage filtering process: first, using a relatively low IoU threshold; then, an IoU-guided class-aware Lower-Half Suppression (LHS) that removes only half of the highly-overlapping boxes with low predicted IoU. Our proposed LHS thus naturally sets a threshold that is both dynamic and class-aware. Our experiments show that LHS outperforms IoU-guided NMS, which suppresses all but the top one during semi-supervised training.
22
+
23
+ Our method consistently improves upon the previous state-of-the-art method, SESS [34], on both ScanNet and SUN-RGBD benchmarks by significant margins. When using only $10\%$ labeled data on ScanNet, 3DIoUMatch outperforms SESS by 7.7 absolute improvement on mAP@0.25 and by 8.5 absolute improvement on mAP@0.5. When using $5\%$ labeled data on SUN-RGBD, 3DIoUMatch outperforms SESS by 4.8 absolute improvement on mAP@0.25 and by 8.0 absolute improvement on mAP@0.5. On KITTI, we are the first to demonstrate semi-supervised 3D object detection work and surpass fully-supervised baseline by large margins under all label ratios.
24
+
25
+ Our main contributions can be summarized as follows:
26
+
27
+ 1. We propose a novel semi-supervised method for 3D object detection in point clouds based on pseudo-label propagation along with a carefully designed filtering mechanism.
28
+ 2. For the first time, we leverage predicted 3D IoU as a localization confidence score for pseudo-label filtering, and further propose IoU-guided Lower-Half Suppression for robust pseudo-label dedduplication. This idea is generally applicable and can be coupled to different 3D detectors on both indoor and outdoor scenes.
29
+ 3. We achieve markedly improved performance over the previous state-of-the-art semi-supervised 3D object
30
+
31
+ detection methods on the two major indoor object detection benchmarks, ScanNet and SUN-RGBD, under low label ratios and fully labeled setting. As the first semi-supervised 3D object detection work on KITTI, we also achieve significant improvements compared to fully supervised method.
32
+
33
+ # 2. Related Works
34
+
35
+ Semi-Supervised Learning (SSL) Many of the recent SSL methods [2, 31, 1] leverage consistency regularization, first proposed in [23, 13], which enforces the model to predict consistently across label-preserving data augmentation of different intensity. Borrowing the concept from Mean Teacher [29], the model with frozen weight can be viewed as the teacher model, otherwise student model. Some methods [2], following Mean Teacher, make the teacher model as the EMA of the student model for further regularization. Pseudo labeling [15] is another popular class of SSL method which can also be treated as a kind of consistency regularization, as one output of the unlabeled data is enforced to be consistent with the other (the pseudo-labels) by being supervised with the other. To improve the quality of pseudo-labels, FixMatch [26], a state-of-the-art SSL work on image classification, has shown that the student network can improve significantly by setting a classification confidence threshold $\tau_{cls}$ and filtering out low-confidence predictions from the teacher. With the filtered pseudo-labels, the student model only gets supervised on the unlabeled data whose pseudo-labels are kept. Another key factor to the success of these methods is strong data augmentation. It has been shown crucial to many SSL works [23, 13, 31]. Recent works [1, 26] proposed to adopt even more powerful augmentation such as RandAugment [3] and Cutout [5].
36
+
37
+ Semi-Supervised Object Detection Since the beginning of the deep learning era, tremendous progress has been made in 2D object detection, e.g. region-based detectors [9, 8, 22] and single-stage detectors [16, 21, 30]. Similarly in 3D object detection, a number of deep learning methods have been proposed for different 3D data modalities, e.g. RGBD-based detectors [19, 17], point-based detectors [33, 25, 14, 18], voxel-based detectors [35], point-voxel-based detectors [24], etc.
38
+
39
+ Despite the great progress in both 2D and 3D object detection, most works focused on a fully-supervised setting. A few works [10, 6] have proposed to leverage unlabeled data or weakly-annotated data for 2D object detection. Under a standard SSL setting as we follow, CSD [11] proposed a consistency regularization method to enforce the consistency between predictions from an image and its flipped version. STAC [27] adopts a two-stage scheme for training Faster R-CNN [22]: in the first stage it pre-trains a detector with labeled data only and then predicts the pseudo labels
40
+
41
+ ![](images/8e1fcfdd105e84af007918763abefe498a946b23172a6faf28842549e5efaa60.jpg)
42
+ Figure 1. 3D IoUMatch pipeline at semi-supervised training stage. We adopt as our backbone an extended version of VoteNet with an additional 3D IoU estimation module. For SSL, we utilize a teacher-student mutual learning framework, composed of a learnable student taking strongly augmented input data and an EMA teacher taking weakly augmented input samples. On labeled data, the student network is supervisedly trained. On unlabeled data, the student network takes pseudo-labels from its EMA teacher. To improve the quality of pseudo-label, we adopt a confidence-based filtering mechanism that filters out predictions that fail to pass all thresholds on class probability, objectness, and 3D IoU. We further use IoU-guided Lower-Half Suppression to remove the duplicated predictions. Using the filtered pseudo-labels, we selectively supervise the student predictions that are around the bounding boxes in the pseudo-labels.
43
+
44
+ for the unlabeled data; in the second stage, STAC leverages asymmetric data augmentation and the pseudo-label filtering mechanism to remove object proposals with low confidence. Note that the pseudo-labels are only generated once at the end of the first stage.
45
+
46
+ The only prior work on semi-supervised point-based 3D object detection, is SESS [34]. SESS is built upon VoteNet [18] and adopts a two-stage training scheme. It leverages a mutual learning framework composed of an EMA teacher and a student, uses asymmetric data augmentation, and enforces three kinds of consistency losses between the teacher and student outputs. Although SESS brings noticeable improvements upon a vanilla VoteNet when using only a small portion of labeled data, we find their consistency regularization suboptimal, as it is uniformly enforced on all the student and teacher predictions. In this work, we instead propose to apply confidence-based filtering to improve the quality of pseudo-labels from the teacher predictions and we are the first (in both 2D and 3D object detection) to introduce IoU estimation for localization filtering.
47
+
48
+ IoU Estimation IoU estimation was first proposed in a 2D object detection work IoU-Net [12], which proposed an IoU head that runs in parallel to bounding box refinement and is differentiable w.r.t. bounding box parameters. IoU-Net adds an IoU estimation head to several off-the-shelf 2D detectors and uses IoU estimation instead of classification confidence to guide NMS, which improves the performance consistently over different backbones. Thanks to its differentiability, IoU-Net can perform IoU optimization on bounding box parameters for iterative refinement, which
49
+
50
+ further brings noticeable performance improvement.
51
+
52
+ For 3D object detection, STD [32] follows IoU-Net to add a simple IoU estimation branch parallel with the box estimation branch and to guide NMS with IoU estimation. PV-RCNN [24] devises a similar 3D IoU estimation module and use it at IoU-guided NMS stage. These two modules, unfortunately, are not suitable for IoU optimization as the features fed to the IoU estimation branch are not differentiable w.r.t. the bounding box size. Since the original VoteNet is not equipped with an IoU module, we devise a differentiable point-cloud-based 3D IoU estimation module is simple yet effective that can support the IoU optimization.
53
+
54
+ # 3. Method
55
+
56
+ In this section, we describe our solution in detail. We first formulate our problem in 3.1 and then summarize the two object detection backbones, PV-RCNN and VoteNet, in 3.2. We use VoteNet as an example to illustrate our proposed 3D IoUMatch pipeline in 3.3. We further explain how we use the estimated 3D IoU for pseudo-label filtering and dedduplication in 3.4. Finally, we illustrate how we leverage the pseudo-labels for supervision in 3.5.
57
+
58
+ # 3.1. Problem Definition
59
+
60
+ Given a 3D point cloud representation of a scene $\pmb{x} \in \mathbb{R}^{N \times 3}$ containing a set of objects $O = \{o^{(j)}\}$ , we aim at detecting the amodal oriented 3D bounding boxes of all objects in $O$ , along with their semantic class labels. In particular, we are interested in accomplishing this task under challenging conditions of limited supervision where we have access to a (small) set of labeled scenes $\{\pmb{x}_i^l, \pmb{y}_i^l\}_{i=1}^{N_l}$ and
61
+
62
+ a set of unlabeled scenes $\{\pmb{x}_i^u\}_{i=1}^{N_u}$ , where $N_l$ and $N_u$ are the number of labeled and unlabeled scenes, respectively. For a labeled scene $\pmb{x}$ , the label $\pmb{y}$ comprises bounding box parameters $\{\pmb{b}^{(j)}\}$ and semantic class labels $\{q^{(j)}\}$ of all ground truth objects $\{o^{(j)}\}$ .
63
+
64
+ # 3.2. IoU-aware 3D Object Detection
65
+
66
+ We experiment our SSL method on two 3D detectors, VoteNet [18] and PV-RCNN [24]. VoteNet is a single-stage indoor point cloud detector while PV-RCNN is a two-stage outdoor point cloud detector. They both take point clouds only for inputs and output a list of bounding boxes after Non-Maximum Suppression (NMS) for each scene, which contain the prediction of center, size, orientation and semantic class. However, their architecture are very different partly due to the great discrepancy between indoor and outdoor scenes.
67
+
68
+ Indoor scene detector: VoteNet VoteNet [18] is built upon PointNet++ [20] backbone, and first processes the input point cloud $\{x_{i}\}_{i = 1}^{N}$ to generate a sub-sampled set of $M < N$ seed points enriched with high-dimensional features $\{[x_i;f_i]\in \mathbb{R}^{3 + C}\}_{i = 1}^M$ . Next, each seed point votes for the center of the object it belongs to, and the votes are grouped into $K$ clusters. Finally, each of the K vote clusters is aggregated to make a prediction of a 3D bounding box parameters $\pmb{b}^{(k)}$ , a corresponding objectness score $s_k = \mathrm{P}(\pmb{b}^{(k)}$ is an object), and a probability distribution $\{p_{cls}\}$ over $L$ possible semantic classes. The bounding box parameters $\pmb{b}$ are its center location $\mathbf{c}\in \mathbb{R}^3$ , scale $\mathbf{d}\in \mathbb{R}^3$ , and orientation $\theta$ around the upright axis.
69
+
70
+ At train time, VoteNet jointly minimizes a weighted combination of the following target losses: vote coordinate regression, objectness score binary classification, box center regression, bin classification and residual regression for heading angle, scale regression, and category classification. At test time, VoteNet applies Non-Maximum Suppression (NMS) based on objectness score to remove duplicated bounding boxes. Here, we instead rely on a 3D IoU estimation module designed for VoteNet. For more details, refer to the supplementary materials.
71
+
72
+ Outdoor scene detector: PV-RCNN PV-RCNN[24] is a high-performance and efficient LiDAR point cloud detector that deeply integrates both 3D voxel CNNs and PointNet++ style set abstraction to learn more discriminative point cloud features. Specifically, PV-RCNN first passes the 3D scene through a novel voxel set abstraction module based on sparse 3D CNN to get a set of keypoints with representative scene features. Then RoI grid pooling is then applied to the keypoints to abstract proposal-specific features into RoI grid points. The RoI grid points containing rich context information are finally used to accurately estimate bounding box parameters.
73
+
74
+ PV-RCNN itself incorporates an IoU-estimation module
75
+
76
+ which can predict the IoU of each bounding box and use it to guide the sorting of the boxes.
77
+
78
+ # 3.3. 3DIOUMatch for SSL on 3D object detection
79
+
80
+ We take VoteNet as our example and our method with PV-RCNN is similar. With the incorporation of 3D IoU module into VoteNet, we construct an IoU-aware VoteNet for SSL on 3D object detection. Our proposed solution is comprised of two training stages: a pre-training stage, where we train our IoU-aware VoteNet on the labeled data, followed by an SSL stage where the entire data is utilized by pseudo-labeling the unlabeled scenes.
81
+
82
+ Pre-training. We start by training our IoU-aware VoteNet in a supervised manner, using the labeled set $\{\pmb{x}_i^l,\pmb{y}_i^l\}_{i = 1}^{N_l}$ . The training loss is a sum over the original VoteNet losses $L_{\mathrm{votenet}}$ and 3D IoU loss $L_{\mathrm{IoU}}$ . Once converged, we clone the network to create a pair of student and teacher networks.
83
+
84
+ Semi-supervised training through a teacher-student framework. We follow a teacher-student mutual learning framework [29] and train our networks on both labeled $\{\pmb{x}_i^l,\pmb{y}_i^l\}_{i = 1}^{N_l}$ and unlabeled data $\{\pmb{x}_i^u\}_{i = 1}^{N_u}$ . Each training batch contains a mixture of $\{\pmb{x}_i^l\}_{i = 1}^{B_l}$ labeled samples and $\{\pmb{x}_i^u\}_{i = 1}^{B_u}$ unlabeled samples.
85
+
86
+ For labeled samples, we supervise the student network using ground truth supervisions (as done in the pre-training stage) whereas for unlabeled samples, the student networks is supervised using pseudo-labels $\{\tilde{\pmb{y}}_i^u\}_{i = 1}^{N_u}$ generated from the teacher network. The final loss is formed as:
87
+
88
+ $$
89
+ L = L _ {l} \left(\left\{\boldsymbol {x} _ {i} ^ {l} \right\} _ {i = 1} ^ {N _ {l}}, \left\{\boldsymbol {y} _ {i} ^ {l} \right\} _ {i = 1} ^ {N _ {l}}\right) + \lambda_ {u} L _ {u} \left(\left\{\boldsymbol {x} _ {i} ^ {u} \right\} _ {i = 1} ^ {N _ {u}}, \left\{\tilde {\boldsymbol {y}} _ {i} ^ {u} \right\} _ {i = 1} ^ {N _ {u}}\right)
90
+ $$
91
+
92
+ where $\lambda_{u}$ is the unsupervised loss weight.
93
+
94
+ To succeed in semi-supervised learning, it is crucial for the teacher network to generate high-quality pseudo-labels and maintain a reliable performance margin over the student network throughout the training. As commonly used in SSL literature, e.g. Mean Teacher [29] and SESS [34], we adopt an EMA teacher. We further leverage asymmetric data augmentation and pseudo-label filtering (see Sec.3.4).
95
+
96
+ To be in a position of advantage, the teacher network takes input data with weak augmentation only while the student network uses stronger data augmentation. We share the same data augmentation strategy with SESS. The input point clouds to our teacher network are augmented only by random sub-sampling while the inputs to the student network further undergo a set of stochastic transformation $\mathcal{T}$ , including random flip, random rotation around the upright axis, and a random uniform scaling.
97
+
98
+ # 3.4. Pseudo-Label Filtering and Dedduplication
99
+
100
+ In the teacher-student framework, the performance gap between the teacher and the student is usually quite
101
+
102
+ marginal given that these two models are just different by EMA on weight and data augmentation strength. Hence, it is not always true that the teacher prediction is more accurate than the student's on a specific training sample. On unlabeled data, the student model will only benefit from the pseudo-labels that are more accurate than its predictions. Therefore we should filter out low-quality predictions from the teacher model and only supervise the student model with the rest of the teacher model predictions.
103
+
104
+ Jointly filtering based on class, objectness, localization confidences For VoteNet, we propose to set an objectness threshold $\tau_{obj}$ and filter out bounding box predictions with objectness score $s < \tau_{obj}$ . We further propose to set a classification confidence threshold $\tau_{cls}$ for filtering out predictions that are likely to contain a wrong class label.
105
+
106
+ Note that none of these two confidence measures capture the accuracy of bounding box parameter predictions. We propose to predict a 3D IoU for each predicted bounding box, use the 3D IoU estimation as a localization confidence, and set a localization threshold $\tau_{\mathrm{IoU}}$ to filter out poorly localized predictions. Formally, we remove all the predictions that fail to satisfy all three confidence thresholds, i.e. $s > \tau_{obj}$ , $\max(p_{cls}) > \tau_{cls}$ , and $v > \tau_{\mathrm{IoU}}$ .
107
+
108
+ IoU-guided lower-half suppression for dedduplication After the confidence-based filtering, there is still a lot of duplicated bounding box predictions that may introduce harmful noise to our pseudo-labels. NMS is a standard process in object detection for duplicate removal before evaluation, which takes a set of highly overlapped bounding box predictions that share the same class prediction, ranks them according to a confidence score and removes all but the top-1 prediction. STAC [27] applies class confidence based NMS to teacher predictions during pseudo-label generation.
109
+
110
+ The default NMS used in VoteNet is based on objectness confidence. Given that objectness score doesn't capture the localization quality, a train-time IoU-guided NMS will naturally perform better (see Table.2), where we use the product of predicted IoU and predicted objectness as the ranking metric. However, using the top one selected by IoU-guided NMS can still be suboptimal, since the predicted IoU will inevitably carry some errors. We argue that different from the test time scenario, pseudo-labels do not need to be fully deduplicated. Imagine this situation: if a bounding box predicted by the student is $0.2m$ to the left of its corresponding ground truth, it is a foreground object and will get bounding box supervision in VoteNet. However, if unfortunately the pseudo-label survives after non-maximal suppression is to the right of the ground truth more than $0.1m$ , this predicted bounding box may lose supervision and be treated as a background box. This example shows that strict non-maximal suppression can lead to a smaller number of student model predictions that can receive super-
111
+
112
+ vision. Since we cannot know the best pseudo label among a bunch of highly-overlapped ones, it's fine to be less strict. To this end, we propose a novel Lower-Half Suppression, or in short, LHS, that only discards half of the proposals with lower predicted IoU. We argue that since LHS suppresses bounding boxes sharing the same class label, this suppression can be seen as a second-step class-aware self-adjusted filtering, which sets dynamic thresholds among the overlapping bounding boxes to keep the ones with higher confidence and hence find a better balance between pseudolabel quality and the amount of supervision. We also use the product of predicted IoU and predicted objectness as the confidence metric.
113
+
114
+ Final-step pseudo-label processing After the filtering and IoU-guided LHS, we now have high-quality predictions $\{\hat{y}_T^u\}_{k=1}^{K'}$ from the teacher network, where $K'$ is the number of bounding boxes remains. Given that the student model inputs go through a stronger augmentation including an additional geometric transformation $\mathcal{T}$ , in synchronize with the student model inputs, the bounding box parameters of the pseudo-labels need to go through the same transformation $\mathcal{T}$ , namely $\tilde{\boldsymbol{b}}^u = \mathcal{T}(\hat{\boldsymbol{b}}_T^u)$ . We further take convert the predicted class probability distribution $\hat{p}_T^u$ into semantic class label via $\tilde{q}^u = \max(\hat{p}_T^u)$ . Now we obtain the filtered pseudo-labels $\tilde{y} = \{\tilde{\boldsymbol{b}}^u, \tilde{q}^u\}_{k=1}^{K'}$ .
115
+
116
+ # 3.5. Selective Supervision using Pseudo-Labels
117
+
118
+ For our generated pseudo-labels, there is no guarantee that the labels can cover all the ground truth objects from $O$ due to the filtering and potentially inaccurate teacher predictions. Given the incompleteness of our filtered pseudolabels, we are relatively confident about the bounding boxes in this set but student predictions far away from all of our pseudo-labels are not necessarily negative. Our experiments show that supervising objectness on unlabeled data using the pseudo-labels seriously hurts the performance. For similar reasons, we do not supervise vote loss, which is a unique element in VoteNet and not shown in other detectors. For more analysis and experimental proof for this, we refer the readers to the supplementary materials. In this case, we will only supervise the bounding boxes in the vicinity of the pseudo bounding boxes and aim to improve their bounding box quality. More specifically, we stick to the way how VoteNet select foreground objects for bounding box parameter supervision: we supervise bounding box parameters and class for a prediction only if the vote that generates this prediction is within $0.3\mathrm{m}$ of any bounding box in the pseudo-labels. For this set of pseudo-foreground predictions, we adopt the same way that VoteNet establishes association and enforce original VoteNet losses except for objectness loss and vote loss.
119
+
120
+ <table><tr><td rowspan="2">Dataset</td><td rowspan="2">Model</td><td colspan="2">5%</td><td colspan="2">10%</td><td colspan="2">20%</td><td colspan="2">100%</td></tr><tr><td>mAP @0.25</td><td>mAP @0.5</td><td>mAP @0.25</td><td>mAP @0.5</td><td>mAP @0.25</td><td>mAP @0.5</td><td>mAP @0.25</td><td>mAP @0.5</td></tr><tr><td rowspan="5">ScanNet</td><td>VoteNet</td><td>27.9±0.5</td><td>10.8±0.6</td><td>36.9±1.6</td><td>18.2±1.0</td><td>46.9±1.9</td><td>27.5±1.2</td><td>57.8</td><td>36.0</td></tr><tr><td>SESS reported</td><td>\</td><td>\</td><td>39.7±0.9</td><td>18.6</td><td>47.9±0.4</td><td>26.9</td><td>62.1</td><td>38.8</td></tr><tr><td>SESS</td><td>32.0±0.7</td><td>14.4±0.7</td><td>39.5±1.8</td><td>19.8±1.3</td><td>49.6±1.1</td><td>29.0±1.0</td><td>61.3</td><td>39.0</td></tr><tr><td>Ours</td><td>40.0±0.9</td><td>22.5±0.5</td><td>47.2±0.4</td><td>28.3±1.5</td><td>52.8±1.2</td><td>35.2±1.1</td><td>62.9</td><td>42.1</td></tr><tr><td>Abs. improve.</td><td>+8.0</td><td>+8.1</td><td>+7.7</td><td>+8.5</td><td>+3.2</td><td>+6.2</td><td>+1.6</td><td>+3.1</td></tr><tr><td rowspan="5">SUN-RGBD</td><td>VoteNet</td><td>29.9±1.5</td><td>10.5±0.5</td><td>38.9±0.8</td><td>17.2±1.3</td><td>45.7±0.6</td><td>22.5±0.8</td><td>58.0</td><td>33.4</td></tr><tr><td>SESS reported</td><td>\</td><td>\</td><td>42.9±1.0</td><td>14.4</td><td>47.9±0.5</td><td>20.6</td><td>61.1</td><td>37.3</td></tr><tr><td>SESS</td><td>34.2±2.0</td><td>13.1±1.0</td><td>42.1±1.1</td><td>20.9±0.3</td><td>47.1±0.7</td><td>24.5±1.2</td><td>60.5</td><td>38.1</td></tr><tr><td>Ours</td><td>39.0±1.9</td><td>21.1±1.7</td><td>45.5±1.5</td><td>28.8±0.7</td><td>49.7±0.4</td><td>30.9±0.2</td><td>61.5</td><td>41.3</td></tr><tr><td>Abs. improve.</td><td>+4.8</td><td>+8.0</td><td>+3.4</td><td>+7.9</td><td>+2.6</td><td>+6.4</td><td>+1.0</td><td>+3.2</td></tr></table>
121
+
122
+ Table 1. Comparison with VoteNet and SESS on ScanNet val set and SUN RGB-D val set under different ratios of labeled data. We report the mAP@0.25 and mAP@0.5 as mean±standard deviation across 3 runs under different random data splits. Due to the randomness of the data splits and our better pre-training protocol, SESS results provided by us are higher than those reported in the paper on mAP@0.5, and the mAP@0.25 results differ a little (the only difference is the pre-trained weights and data splits). The final improvement is the absolute improvement of our method over SESS results provided by us. Following SESS, we also report the results with $100\%$ labeled data, where we simply make a copy of the full dataset as unlabeled data and train our method.
123
+
124
+ # 4. Experiments
125
+
126
+ # 4.1. Datasets and Evaluation Metrics
127
+
128
+ Indoor Datasets: ScanNet and SUNRGB-D We evaluate our VoteNet-based 3D IoUMatch on two major indoor datasets, ScanNet [4] and SUN RGB-D [28]. ScanNet is an indoor scene dataset consisting of 1513 reconstructed meshes, among which 1201 are training samples and the rest are validation samples. SUN RGB-D contains 10335 RGB-D images of indoor scenes which are split into 5285 training samples and 5050 validation samples. For both datasets, we follow [18, 34] for pre-processing data and labels to train our method and we report mAP@0.25 (mean average precision with 3D IoU threshold 0.25) and mAP@0.5 in the following experiments.
129
+
130
+ Outdoor Dataset: KITTI As for our PV-RCNN-based 3DIoUMatch, we use KITTI for evaluation. KITTI [7] is a very popular dataset for autonomous driving which consists of fine annotations for 3D detection. There are 7481 outdoor scenes for training and 7518 for testing, and the training samples are generally divided into a train split of 3712 samples and a validation split of 3769 samples. We follow [24] for data pre-processing and report the mAP with 40 recall positions, with a rotated IoU threshold 0.7, 0.5, 0.5 for the three classes, car, pedestrian, and cyclist, respectively.
131
+
132
+ # 4.2. Experiments on Indoor Scene Datasets
133
+
134
+ For experiments on indoor datasets, i.e., ScanNet and SUNRGB-D, we use IoU-aware VoteNet as our backbone detector.
135
+
136
+ # 4.2.1 Result Comparison
137
+
138
+ Table 1 shows the results of our method compared to SESS and VoteNet under different ratios of labeled data on ScanNet and SUN RGB-D, respectively. The results illustrate that, with our effective train-time filtering and test-time improvement leveraging IoU estimation, we are able to significantly outperform current state-of-the-art, SESS, under all labeled ratio settings. With $5\%$ labeled data, our method outperforms SESS by 8.1 and 8.0 on mAP@0.5 on ScanNet and SUN RGB-D, respectively. Note that our method gains more improvement on mAP@0.5, thanks to the high quality of pseudo labels and the IoU guidance for test-time NMS.
139
+
140
+ # 4.2.2 Ablation Study
141
+
142
+ Filtering and Dedduplication Mechanism. We study the effect of each component of the filtering and dedduplication mechanism. In Table 2, the second row shows the results of naive pseudo labeling, which takes all predictions from the teacher model for supervision. Expectedly the results are not satisfying, only a little higher than VoteNet. Simply applying the dual filtering of classification and objectness confidence gives significant improvement, as the filtering picks out the teacher model proposals that are very likely to be close to true objects and have the correct class. The conventional objectness-based NMS in VoteNet, however, fails to improve further, since the remaining proposals already have high objectness scores and the objectness-based NMS is not capable of picking the ones with higher localization accuracy.
143
+
144
+ As shown in the fifth and sixth row, after we introduce IoU during train time, IoU filtering and train-time IoU
145
+
146
+ <table><tr><td rowspan="2">Obj&amp;Cls Filter</td><td rowspan="2">IoU Filter</td><td rowspan="2">Train-time Suppression</td><td rowspan="2">Test-time Suppression</td><td rowspan="2">Test-time IoU opt.</td><td colspan="2">ScanNet 10%</td><td colspan="2">SUN-RGBD 5%</td></tr><tr><td>mAP@0.25</td><td>mAP@0.5</td><td>mAP@0.25</td><td>mAP@0.5</td></tr><tr><td></td><td></td><td></td><td>Obj-NMS</td><td></td><td>38.4</td><td>19.8</td><td>32.9</td><td>12.5</td></tr><tr><td>✓</td><td></td><td></td><td>Obj-NMS</td><td></td><td>44.5</td><td>24.7</td><td>36.9</td><td>17.5</td></tr><tr><td>✓</td><td></td><td>Obj-NMS</td><td>Obj-NMS</td><td></td><td>44.2</td><td>25.2</td><td>37.1</td><td>17.4</td></tr><tr><td>✓</td><td>✓</td><td>IoU-NMS</td><td>Obj-NMS</td><td></td><td>45.9</td><td>26.8</td><td>37.4</td><td>18.7</td></tr><tr><td>✓</td><td>✓</td><td>IoU-LHS</td><td>Obj-NMS</td><td></td><td>46.5</td><td>26.9</td><td>37.9</td><td>18.5</td></tr><tr><td>✓</td><td>✓</td><td>IoU-LHS</td><td>IoU-NMS</td><td></td><td>47.0</td><td>28.2</td><td>38.8</td><td>20.8</td></tr><tr><td>✓</td><td>✓</td><td>IoU-LHS</td><td>IoU-NMS</td><td>✓</td><td>47.2</td><td>28.3</td><td>39.0</td><td>21.1</td></tr></table>
147
+
148
+ Table 2. Effects of the different components, including train-time filtering and dedduplication, and test-time improvements.
149
+
150
+ guided NMS contribute to better performance under both settings. Our proposed IoU-guided LHS improves over IoU guided NMS on mAP@0.25, since LHS finds a better balance between quality and coverage. With better filtering and dedduplication leveraging IoU estimation during train time, we gain 2.3 and 1.7 absolute improvement over the without-IoU version on mAP@0.25 and mAP@0.5 respectively on ScanNet $10\%$ . This verifies that considering localization confidence is important for getting high-quality pseudo labels. With test-time improvements, our method gains in total 3.0 and 3.1 absolute improvement respectively.
151
+
152
+ We set 0.9 for both classification and objectness confidence threshold following STAC [27] and investigate the effect of different IoU thresholds on ScanNet $10\%$ , as shown in Figure 2. The performance (with test-time improvements) is higher than the without-IoU baseline by large margins when $\tau_{IoU} \leq 0.5$ . Note that the performance peaks at $\tau_{IoU} = 0.25$ for $\mathrm{mAP}@0.25$ while peaking at 0.5 for $\mathrm{mAP}@0.5$ , simply because $\mathrm{mAP}@0.5$ prefers a stronger filtering on localization quality. When $\tau_{IoU} > 0.5$ , further increasing $\tau_{IoU}$ may lead to a drastic drop in pseudo-label coverage and hence is detrimental to the performance.
153
+
154
+ Test-time IoU-guided NMS and IoU optimization. We then evaluate the improvement brought by using IoU estimations at test time. The last two rows in Table 2 shows that IoU-guided NMS and IoU optimization improves the performance further.
155
+
156
+ # 4.2.3 Result Analysis
157
+
158
+ In this section, we examine how our 3DIoUMatch works during training on ScanNet $10\%$ . The upper two curves in Figure 3 show that as the training goes, the performance on unlabeled data and test data increases conformably, which indicates the increasing quality of pseudo-labels. We also show how the coverage of the pseudo-labels changes on the unlabeled data over the training. Here coverage at a certain threshold simply means the class-agnostic recall, measuring the percentage of ground truth objects that can find a pseudo-label with an IoU larger than the threshold.
159
+
160
+ ![](images/19781b34a65f4636af3e3836441c2bb494aa3e154754d6602e7b2f433ac1b319.jpg)
161
+ Figure 2. 3DIOUMatch results with different IoU thresholds on ScanNet $10\%$ .
162
+
163
+ ![](images/33dcbdb6eb8bea8b718413319c9ed24420e8851b72c6595358cb64a086afe4f3.jpg)
164
+
165
+ ![](images/e997108eb4d3cff6edb1b3f81b950d240cdecaa8fee7f93a35467c486b2620e5.jpg)
166
+
167
+ ![](images/e9e7c0ee7e6f39f494190a21626c83e7b94761a3a9eb10fd5ccfa570bcea93bb.jpg)
168
+
169
+ ![](images/d7492784c31a3b7928a710a6fa9f67425611e4fb0cb0f7d6f4ce0a7241385b5e.jpg)
170
+ Figure 3. The performance improvements and pseudo-label coverage over the semi-supervised learning stage on ScanNet $10\%$ .
171
+
172
+ ![](images/2c7cf4c46185b6e1983bd6ee04e8d5f6c712b68ee7cfa321eacf6f9df401abbf.jpg)
173
+
174
+ As we can see from the lower two curves in Figure 3: at the beginning, the coverage of the pseudo-labels is relatively low due to the strict filtering mechanism; as the semi-supervised learning goes on, the improving detection performance leads to a higher passing rate of the filter and hence a higher coverage of the pseudo-labels, which in return fuels SSL; by the end of training, the coverage at 0.25 and at 0.5 both increase by about $10\%$ .
175
+
176
+ # 4.2.4 Implementation Details
177
+
178
+ Training For the pre-training stage, we train with a batch size of 8 and follow the same data augmentation of
179
+
180
+ SESS [34]. We then use those pre-trained weights to initialize the student and teacher networks. For the SSL stage, we construct each batch by taking 4 labeled samples and 8 unlabeled samples, with the same data augmentation. The weights of different loss terms are the same as VoteNet and we set $\lambda_{u} = 2$ . The student network is trained for 1000 epochs (the labeled data is traversed in one epoch), optimized by an ADAM optimizer with an initial learning rate of 0.002, and the learning rate is decayed by 0.3, 0.3, 0.1, 0.1 at the $400^{\mathrm{th}}$ , $600^{\mathrm{th}}$ , $800^{\mathrm{th}}$ and $900^{\mathrm{th}}$ epoch, respectively. The number of generated 3D proposals is 128. We use $k = 3$ , $D = 4$ for the IoU module. The three thresholds are set to be $\tau_{obj} = 0.9$ , $\tau_{cls} = 0.9$ , $\tau_{IoU} = 0.25$ . For more details, we refer the readers to the supplementary materials.
181
+
182
+ Inference We forward the input to the student network to generate proposals. We first apply IoU optimization to refine box parameters following IoU-Net [12], followed by an IoU-guided NMS with a 3D IoU threshold of 0.25.
183
+
184
+ # 4.3. Experiments on KITTI
185
+
186
+ For experiments on the KITTI dataset, we adopt PV-RCNN[24] as our backbone. PV-RCNN itself comes with a 3D IoU module, allowing to use it in our semi-supervised learning pipeline without modifying its architecture.
187
+
188
+ # 4.3.1 Results
189
+
190
+ We evaluate our method on KITTI validation set. Table 3 demonstrates significant and consistent improvement across all categories with $1\%$ , $2\%$ , and $100\%$ labeled data, compared to supervised training only. Similar to our experiments on indoor scene datasets, here the $100\%$ labeled data setting means making a copy of the full dataset as unlabeled data and train the network using our devised semi-supervised pipeline. With $1\%$ labeled data, our method outperforms the labeled-data-only baseline by $6.6 \mathrm{mAP} @ 0.5$ on pedestrian, which is the most challenging class.
191
+
192
+ # 4.3.2 Ablation Study
193
+
194
+ We conduct ablation studies on KITTI with $1\%$ labeled data. Table 4 shows our improvements compared with a pseudolabel baseline and filtering based on class confidence only. The results validate the effectiveness of our IoU-based localization confidence filtering.
195
+
196
+ # 4.3.3 Implementation Differences with VoteNet
197
+
198
+ In KITTI, we only care about three classes, car, pedestrian, and cyclist, which differ a lot in the difficulty to detect. Instead of using LHS, we follow PV-RCNN to set different IoU thresholds for each individual class, i.e., $\tau_{car} = 0.8$ , $\tau_{ped} = \tau_{cyc} = 0.4$ . We selectively supervise the predictions that meet the foreground bar in PV-RCNN according to our
199
+
200
+ <table><tr><td rowspan="2"></td><td colspan="3">1%</td><td colspan="3">2%</td><td colspan="3">100%</td></tr><tr><td>Car</td><td>Ped.</td><td>Cyc.</td><td>Car</td><td>Ped.</td><td>Cyc.</td><td>Car</td><td>Ped.</td><td>Cyc.</td></tr><tr><td>PVR.</td><td>77.3</td><td>47.8</td><td>62.9</td><td>80.4</td><td>47.1</td><td>63.5</td><td>83.0</td><td>57.9</td><td>73.1</td></tr><tr><td>Ours</td><td>80.7</td><td>54.4</td><td>67.3</td><td>82.0</td><td>54.6</td><td>69.5</td><td>84.8</td><td>60.2</td><td>74.9</td></tr></table>
201
+
202
+ Table 3. 3D detection results on KITTI val set with different labeled ratios. The results are for moderate difficulty level evaluated by the mAP with 40 recall positions, with a rotated IoU threshold 0.7, 0.5, 0.5 for the three classes, respectively.
203
+
204
+ <table><tr><td rowspan="2"></td><td colspan="3">Car</td><td colspan="3">Pedestrian</td><td colspan="3">Cyclist</td></tr><tr><td>Easy</td><td>Mod.</td><td>Hard</td><td>Easy</td><td>Mod.</td><td>Hard</td><td>Easy</td><td>Mod.</td><td>Hard</td></tr><tr><td>PVR.</td><td>89.6</td><td>77.3</td><td>74.1</td><td>54.9</td><td>47.8</td><td>42.3</td><td>80.4</td><td>62.9</td><td>58.7</td></tr><tr><td>naive psd.-lb.</td><td>91.1</td><td>78.8</td><td>76.1</td><td>58.9</td><td>51.3</td><td>45.4</td><td>82.6</td><td>65.5</td><td>60.8</td></tr><tr><td>cls. thres. only</td><td>90.8</td><td>79.7</td><td>76.8</td><td>63.2</td><td>55.0</td><td>49.7</td><td>84.9</td><td>65.0</td><td>61.2</td></tr><tr><td>Ours</td><td>91.6</td><td>80.7</td><td>78.1</td><td>63.3</td><td>54.4</td><td>49.5</td><td>86.5</td><td>67.3</td><td>62.8</td></tr></table>
205
+
206
+ Table 4. Ablation study on KITTI $1\%$ labeled data. Same evaluation metric as Table 1.
207
+
208
+ pseudo-labels. In contrast to VoteNet, PV-RCNN is a two-stage detector containing an RPN. Bounding box objectness (or foreground probability) has been predicted in the RPN and used to pick top 100 proposals to forward to the RoI head. We therefore only additionally filter according to classification confidence with the threshold $\tau_{cls} = 0.2$ . Due to the non-differentiability of the IoU module of PV-RCNN, we also do not apply IoU optimization.
209
+
210
+ We also adopt a two-stage training scheme for our PV-RCNN-based 3D IoUMatch. We use an unlabeled weight $\lambda_{u} = 2$ and only supervise anchor classification and bounding box regression in PV-RCNN on unlabeled data. Please refer to the supplementary materials for more details.
211
+
212
+ # 5. Conclusion
213
+
214
+ In this paper, we propose 3D IoUMatch, a novel semi-supervised 3D object detection method leveraging IoU estimation. Built upon a teacher-student mutual learning framework, we leverage asymmetric data augmentation and pseudo-label filtering and dedduplication to facilitate the student learning from the EMA teacher. With our IoU estimation module, we make filtering and dedduplication aware of localization confidence and apply test-time IoU-guided NMS and IoU optimization, leading to further improvement. Experiment results on the ScanNet, SUN-RGBD, and KITTI datasets validate the effectiveness of our method: we achieve significant gain over the previous state-of-the-art methods and baselines under all settings. Our idea of leveraging IoU estimation for semi-supervised learning is generally applicable to different kinds of 3D object detectors and can be extended to 2D detectors as future works.
215
+
216
+ Acknowledgement: This research is supported by a grant from the SAIL-Toyota Center for AI Research, NSF grant CHS-1528025, a Vannevar Bush Faculty fellowship, a TUM/IAS Hans Fischer Senior Fellowship, and gifts from the Adobe, Amazon AWS, and Snap corporations.
217
+
218
+ # References
219
+
220
+ [1] David Berthelot, Nicholas Carlini, Ekin D Cubuk, Alex Kurakin, Kihyuk Sohn, Han Zhang, and Colin Raffel. Remixmatch: Semi-supervised learning with distribution alignment and augmentation anchoring. arXiv preprint arXiv:1911.09785, 2019.
221
+ [2] David Berthelot, Nicholas Carlini, Ian Goodfellow, Nicolas Papernot, Avital Oliver, and Colin A Raffel. Mixmatch: A holistic approach to semi-supervised learning. In Advances in Neural Information Processing Systems, pages 5049-5059, 2019.
222
+ [3] Ekin D Cubuk, Barret Zoph, Jonathon Shlens, and Quoc V Le. Randaugment: Practical automated data augmentation with a reduced search space. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, pages 702-703, 2020.
223
+ [4] Angela Dai, Angel X Chang, Manolis Savva, Maciej Halber, Thomas Funkhouser, and Matthias Nießner. Scannet: Richly-annotated 3d reconstructions of indoor scenes. In CVPR, 2017.
224
+ [5] Terrance DeVries and Graham W Taylor. Improved regularization of convolutional neural networks with cutout. arXiv preprint arXiv:1708.04552, 2017.
225
+ [6] Jiyang Gao, Jiang Wang, Shengyang Dai, Li-Jia Li, and Ram Nevatia. Note-rcnn: Noise tolerant ensemble rcnn for semi-supervised object detection. In Proceedings of the IEEE international conference on computer vision, pages 9508–9517, 2019.
226
+ [7] Andreas Geiger, Philip Lenz, Christoph Stiller, and Raquel Urtasun. Vision meets robotics: The kitti dataset. The International Journal of Robotics Research, 32(11):1231-1237, 2013.
227
+ [8] Ross Girshick. Fast r-cnn. In Proceedings of the IEEE international conference on computer vision, pages 1440-1448, 2015.
228
+ [9] Ross Girshick, Jeff Donahue, Trevor Darrell, and Jitendra Malik. Rich feature hierarchies for accurate object detection and semantic segmentation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 580-587, 2014.
229
+ [10] Judy Hoffman, Sergio Guadarrama, Eric S Tzeng, Ronghang Hu, Jeff Donahue, Ross Girshick, Trevor Darrell, and Kate Saenko. Lsda: Large scale detection through adaptation. In Advances in Neural Information Processing Systems, pages 3536-3544, 2014.
230
+ [11] Jisoo Jeong, Seungeui Lee, Jeesoo Kim, and Nojun Kwak. Consistency-based semi-supervised learning for object detection. In Advances in neural information processing systems, pages 10759-10768, 2019.
231
+ [12] Borui Jiang, Ruixuan Luo, Jiayuan Mao, Tete Xiao, and Yun-ting Jiang. Acquisition of localization confidence for accurate object detection. In Proceedings of the European Conference on Computer Vision (ECCV), pages 784–799, 2018.
232
+ [13] Samuli Laine and Timo Aila. Temporal ensembling for semi-supervised learning. arXiv preprint arXiv:1610.02242, 2016.
233
+
234
+ [14] Alex H Lang, Sourabh Vora, Holger Caesar, Lubing Zhou, Jiong Yang, and Oscar Beijbom. Pointpillars: Fast encoders for object detection from point clouds. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 12697-12705, 2019.
235
+ [15] Dong-Hyun Lee. Pseudo-label: The simple and efficient semi-supervised learning method for deep neural networks. In Workshop on challenges in representation learning, ICML, volume 3, 2013.
236
+ [16] Wei Liu, Dragomir Anguelov, Dumitru Erhan, Christian Szegedy, Scott Reed, Cheng-Yang Fu, and Alexander C Berg. Ssd: Single shot multibox detector. In European conference on computer vision, pages 21-37. Springer, 2016.
237
+ [17] Charles R. Qi, Xinlei Chen, Or Litany, and Leonidas J. Guibas. Imvotenet: Boosting 3d object detection in point clouds with image votes, 2020.
238
+ [18] Charles R Qi, Or Litany, Kaiming He, and Leonidas J Guibas. Deep hough voting for 3d object detection in point clouds. In Proceedings of the IEEE International Conference on Computer Vision, pages 9277-9286, 2019.
239
+ [19] 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, pages 918-927, 2018.
240
+ [20] 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.
241
+ [21] Joseph Redmon, Santosh Divvala, Ross Girshick, and Ali Farhadi. You only look once: Unified, real-time object detection. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 779-788, 2016.
242
+ [22] 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.
243
+ [23] Mehdi Sajjadi, Mehran Javanmardi, and Tolga Tasdizen. Regularization with stochastic transformations and perturbations for deep semi-supervised learning. In Advances in neural information processing systems, pages 1163-1171, 2016.
244
+ [24] Shaoshuai Shi, Chaoxu Guo, Li Jiang, Zhe Wang, Jianping Shi, Xiaogang Wang, and Hongsheng Li. Pv-rcnn: Pointvoxel feature set abstraction for 3d object detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 10529–10538, 2020.
245
+ [25] Shaoshuai Shi, Xiaogang Wang, and Hongsheng Li. Poincaré: 3d object proposal generation and detection from point cloud. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 770-779, 2019.
246
+ [26] Kihyuk Sohn, David Berthelot, Chun-Liang Li, Zizhao Zhang, Nicholas Carlini, Ekin D Cubuk, Alex Kurakin, Han Zhang, and Colin Raffel. Fixmatch: Simplifying semi-supervised learning with consistency and confidence. arXiv preprint arXiv:2001.07685, 2020.
247
+ [27] Kihyuk Sohn, Zizhao Zhang, Chun-Liang Li, Han Zhang, Chen-Yu Lee, and Tomas Pfister. A simple semi-supervised learning framework for object detection. arXiv preprint arXiv:2005.04757, 2020.
248
+
249
+ [28] Shuran Song, Samuel P Lichtenberg, and Jianxiong Xiao. Sun rgb-d: A rgb-d scene understanding benchmark suite. In CVPR, 2015.
250
+ [29] Antti Tarvainen and Harri Valpola. Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results. In Advances in neural information processing systems, pages 1195–1204, 2017.
251
+ [30] Zhi Tian, Chunhua Shen, Hao Chen, and Tong He. Fcos: Fully convolutional one-stage object detection. In Proceedings of the IEEE international conference on computer vision, pages 9627-9636, 2019.
252
+ [31] Qizhe Xie, Zihang Dai, Eduard Hovy, Minh-Thang Luong, and Quoc V Le. Unsupervised data augmentation for consistency training. arXiv preprint arXiv:1904.12848, 2019.
253
+ [32] Zetong Yang, Yanan Sun, Shu Liu, Xiaoyong Shen, and Jiaya Jia. Std: Sparse-to-dense 3d object detector for point cloud. In Proceedings of the IEEE International Conference on Computer Vision, pages 1951-1960, 2019.
254
+ [33] Li Yi, Wang Zhao, He Wang, Minhyuk Sung, and Leonidas J Guibas. Gspn: Generative shape proposal network for 3d instance segmentation in point cloud. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 3947-3956, 2019.
255
+ [34] Na Zhao, Tat-Seng Chua, and Gim Hee Lee. Sess: Self-ensembling semi-supervised 3d object detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 11079–11087, 2020.
256
+ [35] Yin Zhou and Oncel Tuzel. Voxelnet: End-to-end learning for point cloud based 3d object detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 4490-4499, 2018.
3dioumatchleveragingioupredictionforsemisupervised3dobjectdetection/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:846c150b08159935d1c2b69c2c35dcd330f6304b2bda8984a6d18aeb36934018
3
+ size 331747
3dioumatchleveragingioupredictionforsemisupervised3dobjectdetection/layout.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae66fcc86fc12da582308ab9d0d1955ea9a97ac6626810318d92c868513f38d7
3
+ size 345701
3dman3dmultiframeattentionnetworkforobjectdetection/6eb610c4-f85e-4ad3-9ca3-e86f225d98c5_content_list.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:59587a97a993ab1d8a46eaba33600d2da3d083d47d4b6990b535ecb9e17cdaf2
3
+ size 72492
3dman3dmultiframeattentionnetworkforobjectdetection/6eb610c4-f85e-4ad3-9ca3-e86f225d98c5_model.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1210c5bcff1b21c05f8c0451e19a66a2fe11e56310eeb9c97b9543c84ee7484b
3
+ size 87200
3dman3dmultiframeattentionnetworkforobjectdetection/6eb610c4-f85e-4ad3-9ca3-e86f225d98c5_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af6479628d4f15f59827772a626dd6de973226edd136a34573a487557b42c1f6
3
+ size 1083872
3dman3dmultiframeattentionnetworkforobjectdetection/full.md ADDED
@@ -0,0 +1,268 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 3D-MAN: 3D Multi-frame Attention Network for Object Detection
2
+
3
+ Zetong Yang $^{1*}$ Yin Zhou $^{2}$ Zhifeng Chen $^{3}$ Jiquan Ngiam $^{3}$ $^{1}$ The Chinese University of Hong Kong $^{2}$ Waymo LLC $^{3}$ Google Research, Brain Team
4
+ tomztyang@gmail.com yinzhou@waymo.com {zhifengc, jngiam}@google.com
5
+
6
+ # Abstract
7
+
8
+ 3D object detection is an important module in autonomous driving and robotics. However, many existing methods focus on using single frames to perform 3D detection, and do not fully utilize information from multiple frames. In this paper, we present 3D-MAN: a 3D multi-frame attention network that effectively aggregates features from multiple perspectives and achieves state-of-the-art performance on Waymo Open Dataset. 3D-MAN first uses a novel fast single-frame detector to produce box proposals. The box proposals and their corresponding feature maps are then stored in a memory bank. We design a multi-view alignment and aggregation module, using attention networks, to extract and aggregate the temporal features stored in the memory bank. This effectively combines the features coming from different perspectives of the scene. We demonstrate the effectiveness of our approach on the large-scale complex Waymo Open Dataset, achieving state-of-the-art results compared to published single-frame and multi-frame methods.
9
+
10
+ # 1. Introduction
11
+
12
+ 3D object detection is an important problem in computer vision as it is widely used in applications, such as autonomous driving and robotics. Autonomous driving platforms require precise 3D detection to build an accurate representation of the world, which is in turn used in downstream models that make critical driving decisions.
13
+
14
+ LiDAR provides a high-resolution accurate 3D view of the world. However, at any point of time, the LiDAR sensor collects only a single perspective of the scene. It is often the case that the LiDAR points detected on an observed object correspond to only a partial view of it. Detecting these partially visible instances is an ill-posed problem because there exist multiple reasonable predictions (shown as red and blue boxes in the upper row of Figure 1). These potential ambiguous scenarios can be a bottleneck for single-frame 3D detectors (Table 1).
15
+
16
+ ![](images/9d178e82171fd84217b1cabd66f389a5dcc2f873b326ef194806c3b6fb9c081d.jpg)
17
+ Figure 1. Upper row: Potential detections given LiDAR from a single frame demonstrating ambiguity between many reasonable predictions. Lower row: After merging the points aligned across 4 frames, there is more certainty for the correct box prediction.
18
+
19
+ <table><tr><td>IoU threshold</td><td>0.3</td><td>0.5</td><td>0.7</td></tr><tr><td>AP (%)</td><td>94.72</td><td>88.97</td><td>63.27</td></tr></table>
20
+
21
+ Table 1. We vary the intersection-over-union (IoU) threshold for considering a predicted box correctly matched to a ground-truth box, and measure the performance of the PointPillars model on the Waymo Open Dataset's validation set. A lower IoU threshold corresponds to allowing less accurate boxes to match. This shows that improving the box localization could significantly improve model performance.
22
+
23
+ In the autonomous driving scenario, as the vehicle progresses, the sensors pick up multiple views of the world, making it possible to resolve the aforementioned localization ambiguity. Multiple frames across time can provide different perspectives of an observed object instance. An effective multi-frame detection method should be able to extract relevant features from each frame and aggregate them, so as to obtain a representation that combines multiple perspectives (Figure 1). Research in 3D multi-frame detection has been limited due to a lack of available datasets with well-calibrated multi-frame data. Fortunately, recently released large-scale 3D sequence datasets (NuScenes [2], Waymo Open Dataset [23]) have made such data available.
24
+
25
+ A straight-forward approach to fusing multi-frame point
26
+
27
+ <table><tr><td>Model</td><td>Stationary (%)</td><td>Slow (%)</td><td>Medium (%)</td><td>Fast (%)</td></tr><tr><td>1-frame</td><td>60.01</td><td>66.64</td><td>65.02</td><td>71.90</td></tr><tr><td>4-frames</td><td>62.4</td><td>67.39</td><td>66.68</td><td>77.99</td></tr><tr><td>8-frames</td><td>63.7</td><td>67.98</td><td>66.29</td><td>72.30</td></tr></table>
28
+
29
+ Table 2. Velocity breakdowns of vehicle AP metrics for PointPillars models using point concatenation. For the 8-frame model, we find that its benefits come from slow-moving vehicles. Fast-moving objects no longer benefit from a large number of frames since the LiDAR points are no longer aligned across the frames.
30
+
31
+ clouds is to use point concatenation, which simply combines points across different frames together [2]. The combined point cloud is then used as input to a single-frame detector. This approach works well for static and slow-moving objects since the limited movement implies that the LiDAR points will be mostly aligned across the frames. However, when objects are fast-moving or when longer time horizons are considered, this approach may not be as effective since the LiDAR points are no longer aligned (Table 2).
32
+
33
+ As an alternative to point concatenation, Fast-and-furious [14] attempts to fuse information across frames by concatenating at a feature map level. However, this still runs into the same challenge with misaligned feature maps for fast-moving objects and longer time horizons. Recent approaches [10, 34] propose using recurrent layers such as Conv-LSTM or Conv-GRU to aggregate the information across frames. It turns out that these recurrent approaches are often computationally expensive.
34
+
35
+ Our Approach. We propose 3D-MAN: a 3D multi-frame attention network that is able to extract relevant features from past frames and aggregate them effectively. 3D-MAN has three components: (i) a fast single-frame detector, (ii) a memory bank, and (iii) a multi-view alignment and aggregation module.
36
+
37
+ The fast single-frame detector (FSD) is an anchor-free one-stage detector with a novel learning strategy. We show that a max-pooling based non-maximum suppression (NMS) algorithm together with a novel Hungarian-matching based loss is an effective method to generate high-quality proposals at real-time speeds. These proposals and the last feature map from FSD are then fed into a memory bank. The memory bank stores both predicted proposals and feature maps in previous frames so as to maintain different perspectives for each instance across frames.
38
+
39
+ The stored proposals and features in the memory bank are finally fused together through the multi-view alignment and aggregation module (MVAA), which produces fused multi-view features for target proposals that are used to regress bounding boxes for final predictions. MVAA has two stages: a multi-view alignment stage followed by a multi-view aggregation stage. The alignment stage works on each stored frame independently; it uses target proposals as queries into a stored frame to extract relevant fea
40
+
41
+ tures. The aggregation stage then merges across frames for each target proposal independently. This can be viewed as a form of factorization over the attention across proposals and frames.
42
+
43
+ We evaluate our model on large-scale Waymo Open Dataset [23]. Experimental results demonstrate that our method outperforms published state-of-the-art single-frame methods and multi-frame methods. Our primary contributions are listed below.
44
+
45
+ # Key Contributions.
46
+
47
+ - We propose 3D-MAN: a 3D multi-frame attention network for object detection. We demonstrate that our method achieves state-of-the-art performance on the Waymo Open Dataset [23] and provide thorough ablation studies.
48
+ - We introduce a novel training strategy for a fast single-frame detector method that uses max-pooling to perform non-maximum suppression and a variant of Hungarian matching to compute a detection loss.
49
+ - We design an efficient multi-view alignment and aggregation module to extract and aggregate relevant features from multiple frames in a memory bank. This module produces features containing information from multiple perspectives that perform well for classification and bounding box regression.
50
+
51
+ # 2. Related Work
52
+
53
+ 3D Single-frame Object Detection. Current 3D object detectors can be categorized into three approaches: voxel-based methods, point-based methods, and their combination. First, voxel-based methods transform via voxelization a set of unordered points into a fixed-size 2D feature map, on which convolutional neural networks (CNN) can be applied to generate detection results. Traditional approaches for voxel feature extraction rely on hand-crafted statistical quantities or binary encoding [25, 29], while recent works show that machine-learned features demonstrate favorable performance [37, 12, 28, 36, 20, 26]. Second, point-based methods [32, 19, 31, 15, 33] address detection problems by directly extracting features based on the point cloud, without an explicit discretization step. Finally, recent works have combined methods from both voxel-based and point-based feature representations [18] by using the voxel-based methods to generate proposals and the point-based methods to refine them.
54
+
55
+ 2D Multi-frame Object Detection. 2D multi-frame object detection has been widely explored compared to 3D counterparts. 2D detection methods primarily focus on aligning objects in a target frame using motion and appearance
56
+
57
+ ![](images/14e7d0b2346760860f1f64d29ab47062330bb3455f3745e977da3ecd995b54c0.jpg)
58
+ Figure 2. Framework for 3D-MAN: 3D multi-frame attention network. Given the point cloud for a target frame $t$ , a fast single-frame detector first generates box proposals. These proposals (box parameters) with the feature map (last layer of the backbone network) are inserted into a memory bank that stores proposals and features for the last $n$ frames. We use a proposal feature generation module to extract proposal features for each stored frame. Each small rectangle box denotes a proposal and its associated features extracted in different frames. The multi-view alignment and aggregation module performs attention across proposal features from the memory bank, using the target frame as queries to extract features for classification and regression. "MP-NMS" and "CA" represent MaxPoolNMS and cross-attention respectively. During training, we use classification and regression losses applied to the FSD proposals ( $L_{fsd}$ ), the final outputs of the MVAA network ( $L_{mvaa}$ ), and the outputs of the alignment stage ( $L_{cv}$ , an auxiliary cross-view loss).
59
+
60
+ features from previous frames. Relational modules with self-attention layers [9] are prevalent among these methods [6, 4, 27, 5, 21]. They usually take as input a target frame and multiple reference frames, from which proposals are generated per frame. Relation modules are applied to aggregate temporal features for more robust object detection. Most approaches use self-attention across all proposals in all previous frames. In contrast, our method factorizes the attention layer to first operate independently across frames (alignment stage), and then independently across proposals (aggregation stage).
61
+
62
+ 3D Multi-frame Object Detection. A straight-forward approach to multi-frame detection is to concatenate the points from different frames together [2]. This has been demonstrated on the NuScenes dataset (improvement of $21.9\%$ to $28.8\%$ mAP [2]), and we also observe improvements in our experiments (Table 2). However, as we increase the number of frames concatenated, the improvement diminishes since the LiDAR points are less likely to be aligned across longer time horizons (Table 2). Fast-and-furious [14] side steps aligning the points by instead concatenating the intermediate features maps. However, this approach may still result in misalignment across the feature maps for fast-moving objects and longer time horizons. Recent approaches [10, 34] show further performance improvement by applying Conv-LSTM or Conv-GRU to fuse multi-frame information. However, the use of a single memory state that gets updated creates a potential bottleneck, and the high resolution of the feature maps make these methods computa
63
+
64
+ tionally expensive.
65
+
66
+ # 3. 3D-MAN Framework
67
+
68
+ The 3D-MAN framework (Figure 2) consists of 3 components: (i) a fast single-frame detector (FSD) for producing proposals given input point clouds, (ii) a memory bank to store features from different frames and (iii) a multi-view alignment and aggregation module (MVAA) for combining information across frames to generate final predictions.
69
+
70
+ # 3.1. Fast Single-frame Detector
71
+
72
+ Anchor-free Point Pillars. We base our single-frame detector on the PointPillars architecture [12] with dynamic voxelization [36]. We start by dividing the 3D space into equally distributed pillars which are voxels of infinite height. Each point in the point cloud is assigned to a single pillar. Each pillar is then featurized using a PointNet [17] producing a 2D feature representation for the entire scene, which is subsequently processed through a CNN backbone. Each location of the final layer of the network produces a prediction for a bounding box relative to the corresponding pillar center. We regress the location residuals, bounding box sizes, and orientation. A binning approach is used for predicting orientation which first classifies the orientation into one bin followed by regression of the residual from the corresponding bin center [16, 19].
73
+
74
+ Non-maximum suppression (NMS) is often used to postprocess the detections produced by the last layer of the net
75
+
76
+ work for redundancy removal. It first outputs the highest scoring box and then suppresses all overlapping boxes with that box, repeating this process until all boxes are processed. However, the sequential nature of this algorithm makes it slow to run in practice when there is a large number of predictions. We use a variant of NMS that leverages max-pooling to speed up this process. MaxPoolNMS [35] uses the max pooling operation to find local peaks on the objectness score map. The local peaks are kept as predictions, while all other locations are suppressed. This process is fast and highly parallelizable. We find that this approach can be up to $6 \times$ faster $^1$ than regular NMS when dealing with about 200k predictions.
77
+
78
+ Hungarian Matching. MaxPoolNMS is usually performed using the classification score as the ranking signal to indicate that one box is better than another. However, the classification score is a proxy metric: ideally, we want to have the highest scoring box to be the best localized box. The ideal score map should have a single peak which corresponds to the best localized box. We propose using the Hungarian matching algorithm [3, 22] to produce such a score map.
79
+
80
+ Given a set of bounding box predictions and a set of ground-truth boxes, we compute the IoU score for each pair of them. By applying the Hungarian matching algorithm to this matrix $^2$ of pair-wise scores, we can obtain a single match for each ground-truth box to a predicted box that maximizes the overall matching score. For each ground-truth box, we treat the matched predicted box as positive, and all unmatched boxes as negative. In this way, the model is encouraged to predict only one positive box per ground-truth box such that the box predicted corresponds to the highest IoU-scoring box.
81
+
82
+ It turns out that there are two challenges when using the Hungarian matching algorithm. First, the Hungarian matching algorithm is of order $O(n^{3})$ and can be slow if there are a large number of predictions. Therefore, we choose to perform the Hungarian matching based-loss only after the MaxPoolNMS step. This ensures that only a few predictions remain, and enables the matching algorithm to complete quickly.
83
+
84
+ Second, the model can end up in a bad local minima by only predicting boxes which are far away from any ground-truth box (e.g., predicting boxes in locations where there are no points in the input point clouds). Consequently, these ground-truth boxes do not overlap at all with their matched prediction boxes. As a result, the model does not get any meaningful learning signals from these matches and is not able to converge to a good solution. To address this issue,
85
+
86
+ ![](images/1383f68bb9a206b5652f1cacbbd75c5e060de50077cfd268d5c4f51ea50ff42c.jpg)
87
+ Figure 3. Illustration of rotated ROI feature extraction [13]. We first identify key points in each proposal box and then extract features using bilinear interpolation. Averaging pooling is further used to summarize each box into a single feature vector. Note that while the figure denotes key points over $3 \times 2$ locations, we use $7 \times 7$ for vehicles and $3 \times 3$ for pedestrians.
88
+
89
+ we post-process the matches to reassign ground-truth boxes that have no overlap with their matched prediction box. We assign them instead to their closest pillar in the feature map, which may not be one retained by MaxPoolNMS. This encourages the model to avoid invalid assignments and converge well.
90
+
91
+ # 3.2. Memory Bank
92
+
93
+ Memory Bank. We use a memory bank to store the proposals and feature maps extracted by the FSD for the last $n$ frames. When proposals and features from a new frame are added to the bank, those from the oldest frame are discarded.
94
+
95
+ Proposal Feature Generation. To obtain features from multiple perspectives, we propose to generate proposal features for each stored frame in the memory bank as well as the target frame. We find that it is useful to use all stored proposals regardless of which frame the proposal comes from to extract features from every stored frame. This allows the model to increase its recall since an object may be missed by FSD in a single frame because of occlusion or partial observation.
96
+
97
+ For each proposal, we extract its features using a rotated ROI feature extraction approach (Figure 3) [13]. Given a proposal, we identify $K \times K \times 1$ equally distributed key points with respect to the proposal box. For each key point, we compute a feature by bilinear interpolation of its value in the feature map. Finally, we use average pooling across all the $K \times K \times 1$ key points to obtain a single feature vector for the proposal. It is worth noting that this feature extraction method can be performed without correcting the entire LiDAR point cloud for ego-motion of the autonomous vehicle. This facilitates deployment in a production autonomous driving system.
98
+
99
+ ![](images/a5a1f4bc9bb650535de35495477ffee76f8a5e203497e28a897e0ebcd3bbf1b9.jpg)
100
+ Figure 4. Cross-attention network in the multi-view alignment module. $F_{s}$ and $B_{s}$ represent features and box parameters of proposals in a stored frame while $F_{t}$ and $B_{t}$ are those for the target frame. We use $s$ and $t$ to denote the indices of the stored frame and target frame respectively. $N$ and $C$ stand for the number of proposals and channels. "Box residuals" produces a pairwise $N \times N \times 7$ tensor that encodes the differences in all pairs of boxes, using the same approach that is used to compute residuals for ground-truth boxes from anchor boxes [12]. $V_{s}$ is the output of the cross-attention network, such that each input target box has one associated output feature vector with the corresponding stored frame.
101
+
102
+ The proposal features generated for the target frame will be used next in the MVAA module as the query features for the cross-attention networks, while proposal features for stored frames will be treated as keys and values.
103
+
104
+ # 3.3. Multi-view Alignment and Aggregation
105
+
106
+ These proposal features are then sent to the multi-view alignment and aggregation module (MVAA) to be extracted and aggregated. The alignment module is applied independently for each stored frame (attention is across boxes, performed separately for each frame), while the aggregation module is applied independently for each box (attention is across time). One can view this as a factorized form of attention.
107
+
108
+ Multi-view Alignment. Given a new frame's proposal, the multi-view alignment module is responsible for extracting its relevant information in each previous frame separately (Figure 2, MVAA-Alignment). To achieve this goal, the alignment stage has to figure out how to relate the identities of the proposals in the new frame to those in the stored frames. A naive approach could use nearest neighbor matching or maximum IoU overlap. However, when an instance is fast-moving or close to any other instance, there will often be ambiguity in the appropriate assignment. Furthermore, the naive approach does not learn interactions be
109
+
110
+ tween the new proposal and other objects in previous frames that could provide contextual information.
111
+
112
+ We propose using a cross-attention network (Figure 4) to learn how to relate the new frame proposals to those of stored frames. This network could potentially learn to align the proposal identities and also model interactions across objects. Specifically, we apply projection layers to encode the new frame proposal features $F_{t}$ as well as stored proposal features $F_{s}$ so as to compute projected queries $F_{q}$ , keys $F_{k}$ and values $F_{v}$ . These are used to compute an attention matrix. We further provide temporal and spatial information to the attention matrix through encoding the relative frame index and box residuals between all pairs of the query and stored boxes. The cross-attention network is applied between the target frame and each stored frame independently with shared parameters, generating a feature vector for each target proposal $(V_{s})$ from each stored frame.
113
+
114
+ Cross-view Loss. The alignment stage of MVAA is designed to extract features from each stored frame that are most relevant to each target proposal. To encourage the extracted features to be a relevant representation, we employ an auxiliary loss that encourages the extracted features to contain sufficient information to predict the corresponding ground-truth bounding box associated with the target proposal. Concretely, we add separate classification and regression heads that use each extracted feature vector of the alignment stage to predict the box residuals between target proposal and its corresponding ground-truth box.
115
+
116
+ Multi-view Aggregation. After the alignment module, each proposal in the target frame will have an associated feature for each stored frame. The multi-view aggregation layer (Figure 2, MVAA-Aggregation) is responsible for combining these features from different perspectives together to form a single feature for each proposal. Concretely, we use the new frame's proposal features as the attention query inputs, and its corresponding extracted features in previous frames as the keys and values.
117
+
118
+ We note that the aggregation module can enable the network to be robust to newly appearing objects. If an object appears for the first time in a new frame, the model can compute an attention matrix that will only focus on the new frame and ignore the past frames since they are not relevant.
119
+
120
+ Box Prediction Head. After MVAA, we have an updated feature for each proposal in the new frame. We regress objectness scores and box parameters from this feature representation. For the objectness score, we follow [18] and treat the IoU between proposals and their corresponding ground-truth bounding boxes as the classification target, with the sigmoid cross-entropy loss. The box parameter targets are encoded as residuals [12, 37] and trained with a smooth $L1$ loss. The same formulations are used for the cross-view
121
+
122
+ loss.
123
+
124
+ # 3.4. Losses
125
+
126
+ We minimize the total loss consisting of a fast single-frame detector (FSD) loss $L_{fsd}$ , a multi-view prediction loss $L_{mvaa}$ , and a cross-view loss $L_{cv}$ with equal loss weights.
127
+
128
+ $$
129
+ L _ {t o t a l} = L _ {f s d} + L _ {m v a a} + L _ {c v} \tag {1}
130
+ $$
131
+
132
+ The same formulation for detection loss $L_{det}$ is used in these three losses. This includes a objectness loss $L_{obj}$ and a regression loss $L_{reg}$ .
133
+
134
+ $$
135
+ L _ {d e t} = \frac {1}{| C |} \sum_ {i \in C} L _ {o b j} + \frac {1}{| R |} \sum_ {i \in R} L _ {r e g} \tag {2}
136
+ $$
137
+
138
+ $C$ represents the set of locations where we predict an objectness score. For $L_{fsd}$ , this corresponds to the remaining pillars after MaxPoolNMS, while for $L_{mvaa}$ and $L_{cv}$ , this corresponds to the proposals after FSD (specifically, those that remain after MaxPoolNMS). For the objectness loss in $L_{mvaa}$ and $L_{cv}$ , we use the IoU overlap between the proposal and its assigned ground-truth as the target. For $L_{fsd}$ , the output of the Hungarian matching is used to determine positive and negative assignments for the objectness loss.
139
+
140
+ $R$ represents the set of locations which are associated with a ground-truth box. For all losses $(L_{fsd}, L_{mvaa}$ , and $L_{cv})$ , these are the matched boxes from Hungarian matching. For the regression losses, we use a smooth- $L1$ loss as the supervision of regressing the x, y, z center location residuals, and their corresponding dimensions. For orientation, we use a binning orientation loss [16, 19]. The model is expected to predict an angle bin first, followed by a residual from the bin center. We use 12 bins for $L_{fsd}$ and 1 bin for $L_{mvaa}$ and $L_{cv}$ .
141
+
142
+ The cross-view identity loss $L_{cv}$ is computed across all the outputs of the multi-view alignment stage, and averaged across all instances.
143
+
144
+ # 4. Experiments
145
+
146
+ We evaluate our method on Waymo Open Dataset [23], a large scale 3D object detection dataset. There are a total of 1150 sequences divided into 798 training, 202 validation, and 150 testing examples. Each sequence consists of about 200 frames at a frame rate of $10\mathrm{Hz}$ , where each frame includes a LiDAR point cloud and labeled 3D bounding boxes for vehicles, pedestrians, cyclists and signs. We evaluate our model and compare it with other methods using average precision (AP) and Average Precision Weighted by Heading (APH).
147
+
148
+ # 4.1. Implementation Details
149
+
150
+ Hyperparameters. Given the input point cloud in a target frame, we first set the detection range as $[-76.8m, 76.8m]$ for x and y axes and $[-2m, 4m]$ for the z-axis. We equally split this 3D range into [512, 512] pillars among x and y axes respectively, following PointPillars [12]. For the MaxPoolNMS applied in FSD, we use a max-pooling kernel size of [7, 7] for vehicles and [3, 3] for pedestrians, with a stride of [1, 1]. After MaxPoolNMS, a set of 128 proposals per frame are passed to the memory bank.
151
+
152
+ Network Architectures. In our proposed FSD, we use the same backbone network illustrated in PointPillars [12]. The channel dimension $C$ of the last feature map and proposal features is 384. For encoding the frame index and relative box residuals, we apply a 2-layer perceptron (MLP) networks with $C$ output channels for the first layer, and 1 output for the second layer. These are used in the cross-attention layers of the MVAA module. In the prediction head, we first apply a 2-layer MLP network with $C$ output channels to embed the aggregated multi-view features. These embeddings are transformed with two prediction branches for classification and regression.
153
+
154
+ Training Parameters. Our network is trained end-to-end using the ADAM [11] optimizer for a total number of 50 epochs with an initial learning rate of 0.0016 and a batch size of 32. We apply exponential decay to anneal the learning rate, starting at 5 epochs until 45 epochs. During training, we apply random flip and random rotation as our only data augmentation methods.
155
+
156
+ Utilizing a large number of frames. We enable 3D-MAN to exploit a large number of frames by combining it with point concatenation. Our best model uses 16 frames split into 4 windows of 4 frames. The point clouds in each window are concatenated together and used as input to the FSD. Each window thus becomes an entry in the memory bank, and the model is expected to produce predictions for only the last frame. This utilizes point concatenation for when movement is small with nearby frames and MVAA for large movement across a longer time range. We provide further ablation studies with varying sizes of input frames in Section 4.3.
157
+
158
+ # 4.2. Main Results
159
+
160
+ Waymo Validation Set. We compare our method with published state-of-the-art single-frame and multi-frame methods on the Waymo validation set on class Vehicle (Table 3) and class Pedestrian (Table 4). We first compare the performance between our model with and without multiframe inputs (Table 3). When the model has access to 16 stored frames, the overall 3D AP (LEVEL_1) is improved by $5.50\%$ on vehicles labeled as LEVEL_1 difficulty, illus-
161
+
162
+ <table><tr><td rowspan="2">Difficulty</td><td rowspan="2">Method</td><td colspan="4">3D AP (IoU=0.7)</td><td colspan="4">3D APH (IoU=0.7)</td></tr><tr><td>Overall</td><td>0-30m</td><td>30-50m</td><td>50m-Inf</td><td>Overall</td><td>0-30m</td><td>30-50m</td><td>50m-Inf</td></tr><tr><td rowspan="10">LEVEL_1</td><td>StarNet [15]</td><td>55.11</td><td>80.48</td><td>48.61</td><td>27.74</td><td>54.64</td><td>79.92</td><td>48.10</td><td>27.29</td></tr><tr><td>PointPillars [12]</td><td>63.27</td><td>84.90</td><td>59.18</td><td>35.79</td><td>62.72</td><td>84.35</td><td>58.57</td><td>35.16</td></tr><tr><td>MVF [36]</td><td>62.93</td><td>86.30</td><td>60.02</td><td>36.02</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>AFDet [7]</td><td>63.69</td><td>87.38</td><td>62.19</td><td>29.27</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>RCD [1]</td><td>68.95</td><td>87.22</td><td>66.53</td><td>44.53</td><td>68.52</td><td>86.82</td><td>66.07</td><td>43.97</td></tr><tr><td>PV-RCNN [18]</td><td>70.30</td><td>91.92</td><td>69.21</td><td>42.17</td><td>69.49</td><td>91.34</td><td>68.53</td><td>41.31</td></tr><tr><td>3D-MAN (Ours)</td><td>69.03</td><td>87.99</td><td>66.55</td><td>43.15</td><td>68.52</td><td>87.57</td><td>65.92</td><td>42.37</td></tr><tr><td>PointPillars* [12]</td><td>65.41</td><td>85.58</td><td>61.51</td><td>39.51</td><td>64.88</td><td>85.02</td><td>60.95</td><td>38.91</td></tr><tr><td>ConvLSTM* [10]</td><td>63.6</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>3D-MAN* (Ours)</td><td>74.53</td><td>92.19</td><td>72.77</td><td>51.66</td><td>74.03</td><td>91.76</td><td>72.15</td><td>51.02</td></tr><tr><td rowspan="6">LEVEL_2</td><td>StarNet [15]</td><td>48.69</td><td>79.67</td><td>43.57</td><td>20.53</td><td>48.26</td><td>79.11</td><td>43.11</td><td>20.19</td></tr><tr><td>PointPillars [12]</td><td>55.18</td><td>83.61</td><td>53.01</td><td>26.73</td><td>54.69</td><td>83.08</td><td>52.46</td><td>26.24</td></tr><tr><td>PV-RCNN [18]</td><td>65.36</td><td>91.58</td><td>65.13</td><td>36.46</td><td>64.79</td><td>91.00</td><td>64.49</td><td>35.70</td></tr><tr><td>3D-MAN (Ours)</td><td>60.16</td><td>87.10</td><td>59.27</td><td>32.69</td><td>59.71</td><td>86.68</td><td>58.71</td><td>32.08</td></tr><tr><td>PointPillars* [12]</td><td>57.28</td><td>84.31</td><td>55.41</td><td>29.71</td><td>56.81</td><td>83.79</td><td>54.90</td><td>29.24</td></tr><tr><td>3D-MAN* (Ours)</td><td>67.61</td><td>92.00</td><td>67.20</td><td>41.38</td><td>67.14</td><td>91.57</td><td>66.62</td><td>40.84</td></tr></table>
163
+
164
+ Table 3. 3D AP and APH Results on Waymo Open Dataset validation set for class Vehicle. *Methods utilize multi-frame point clouds for detection. We report PointPillars [12] based on our own implementation, with and without point concatenation. Difficulty levels are defined in the original dataset[23].
165
+
166
+ <table><tr><td rowspan="2">Method</td><td colspan="2">LEVEL_1</td><td colspan="2">LEVEL_2</td></tr><tr><td>3D AP</td><td>3D APH</td><td>3D AP</td><td>3D APH</td></tr><tr><td>StarNet [15]</td><td>68.32</td><td>60.89</td><td>59.32</td><td>52.76</td></tr><tr><td>PointPillars [12]</td><td>68.88</td><td>56.57</td><td>59.98</td><td>49.14</td></tr><tr><td>MVF [36]</td><td>65.33</td><td>-</td><td>-</td><td>-</td></tr><tr><td>3D-MAN (Ours)</td><td>71.71</td><td>67.74</td><td>62.58</td><td>59.04</td></tr></table>
167
+
168
+ trating the effectiveness of our approach.
169
+
170
+ 3D-MAN outperforms the current best published method (PV-RCNN [18]) by $3.56\%$ (30-50m range) and $9.49\%$ ( $>50\mathrm{m}$ range) AP (LEVEL_1) on vehicles. At these further ranges, objects are often partially visible, where having more information from different perspectives could help. These improvements show that our model is able to effectively combine the information across multiple views to generate more accurate 3D predictions. Moreover, compared to existing multi-frame models, 3D-MAN also outperforms them by a large margin. Our method achieves a better 3D AP than the recently published Conv-LSTM method [10] by $10.93\%$ on vehicle detection. For pedestrian detection, 3D-MAN also achieves the best performance (Table 4).
171
+
172
+ Waymo Testing Set. We also evaluate our model on Waymo testing set through a test server submission. For vehicle detection (Table 5), 3D-MAN achieves $78.71\%$ AP and 78.28 APH, outperforming RCD [1] by $6.74\%$ and $6.69\%$ respectively, which is currently the best published method among results generated by a single model (not using any ensemble methods).
173
+
174
+ Table 4. 3D AP and APH Results on Waymo Open Dataset validation set for class Pedestrian.
175
+
176
+ <table><tr><td rowspan="2">Method</td><td colspan="2">Vehicle</td><td colspan="2">Pedestrians</td></tr><tr><td>3D AP</td><td>3D APH</td><td>3D AP</td><td>3D APH</td></tr><tr><td>SECOND [28]</td><td>50.11</td><td>49.63</td><td>-</td><td>-</td></tr><tr><td>StarNet [15]</td><td>63.51</td><td>63.03</td><td>67.78</td><td>60.10</td></tr><tr><td>PointPillars [12]</td><td>68.62</td><td>68.08</td><td>67.96</td><td>55.53</td></tr><tr><td>SA-SSD [8]</td><td>70.24</td><td>69.54</td><td>57.14</td><td>48.82</td></tr><tr><td>RCD [1]</td><td>71.97</td><td>71.59</td><td>-</td><td>-</td></tr><tr><td>3D-MAN (Ours)</td><td>78.71</td><td>78.28</td><td>69.97</td><td>65.98</td></tr></table>
177
+
178
+ Table 5. 3D AP and APH Results on Waymo Open Dataset testing set for class Vehicle and Pedestrain among LEVEL-1 difficulty objects. Metric breakdowns for our model is available on the Waymo challenge leaderboard.
179
+
180
+ <table><tr><td></td><td>Mask</td><td>Centeredness</td><td>Hungarian Matching</td></tr><tr><td>Ped. (%)</td><td>64.7</td><td>67.1</td><td>70.2</td></tr><tr><td>Veh. (%)</td><td>44.5</td><td>63.7</td><td>64.8</td></tr></table>
181
+
182
+ Table 6. Mini-validation AP comparison among different ground-truth assignment strategies using FSD for both Pedestrian and Vehicle classes.
183
+
184
+ # 4.3. Ablation Studies
185
+
186
+ We conduct all our ablation studies only for the vehicle class, and report LEVEL_1 difficulty results based on a subset of the full validation set. We created a mini-validation set by uniformly sampling $10\%$ of the full validation set. This results in a dataset that allows us to experiment significantly faster. We note that there is a negligible performance gap between the mini-validation and full validation set: for example, our best model obtains $74.3\%$ on the mini-validation set versus $74.5\%$ on the full validation set.
187
+
188
+ Hungarian Matching. We compare the performance of using different assignment strategies in FSD, including the mask strategy, centeredness strategy and Hungarian matching strategy (Table 6). The mask strategy [24, 30] as
189
+
190
+ <table><tr><td>Method</td><td>Baseline</td><td>Concat</td><td>Relation</td><td>MVAA</td></tr><tr><td>AP (%)</td><td>68.2</td><td>70.5</td><td>70.1</td><td>72.5</td></tr></table>
191
+
192
+ Table 7. Mini-validation AP comparison on class Vehicle among different multi-frame fusion approaches.
193
+
194
+ <table><tr><td>Supervision Method</td><td>None</td><td>Correspondence Loss</td><td>CV Loss</td></tr><tr><td>AP (%)</td><td>70.7</td><td>71.4</td><td>72.5</td></tr></table>
195
+
196
+ signs interior pillars of any valid object positive and all other pillars negative. However, this can lead to a discrepancy between classification score and localization accuracy. Our experiments show that this performs the least well. Centeredness strategy [31, 24, 35] encourages pillars with closer distance to the instance center to have a higher classification score. However, the pillar in the center may not always draw the best localization prediction in point clouds: the LiDAR points often are on the surface of the vehicle and not in the interior. We find centeredness to perform better than mask, but worse than our proposed Hungarian matching approach. FSD achieves the highest AP with the Hungarian matching strategy, which validates our approach.
197
+
198
+ Multi-frame Approaches. We compare our method to other multi-frame approaches (Table 7), including the point concatenation approach and a self-attention approach across all previously detected boxes. Multi-frame models in the comparison have 4 frames as input and are expected to predict bounding boxes for only the last frame. We also perform ego-motion pose correction to map points from the earlier frames to the pose of the last frame.
199
+
200
+ The Baseline model is our single-frame two-stage model, which applies FSD to generate proposals with features and deploys box prediction head with an MLP network to refine these proposals. It achieves $68.2\%$ AP on Vehicle and provides a baseline to compare the multi-frame models against.
201
+
202
+ In the Concat approach, points across all frames are combined together, and the merged point cloud is used as input to the Baseline model. This improves upon the baseline by $2.3\%$ AP. The Relation approach first extracts box proposals from multiple frames and then uses a self-attention network on all past proposals directly to produce a prediction. This performs better than the Baseline but worse than the Concat model.
203
+
204
+ Our approach (MVAA) performs the best, outperforming the Concat approach and Relation approach by $2.0\%$ and $2.4\%$ respectively.
205
+
206
+ Cross-view loss. We find it useful to have an auxiliary cross-view loss to encourage the model to propagate relevant features in the alignment stage of MVAA. To evaluate the effectiveness of the cross-view loss, we compare it to not having an auxiliary loss and also an alternative auxiliary
207
+
208
+ Table 8. Mini-validation AP comparison on class Vehicle using different auxiliary losses with the MVAA alignment stage.
209
+
210
+ <table><tr><td>Frames</td><td>1</td><td>4</td><td>7</td><td>10</td><td>13</td><td>16</td></tr><tr><td>AP (%)</td><td>68.2</td><td>72.5</td><td>73.4</td><td>73.5</td><td>73.8</td><td>74.3</td></tr></table>
211
+
212
+ Table 9. Mini-validation AP comparison for different number of input frames to the 3D-MAN model. All models are expected to predict only the last frame. Models with 7, 10, 13, and 16 frames use concatenated points (over windows of 4 frames) as input, with different amount of overlaps between adjacent windows.
213
+
214
+ <table><tr><td>Model</td><td>Stationary (%)</td><td>Slow (%)</td><td>Medium (%)</td><td>Fast (%)</td></tr><tr><td>4-frames</td><td>69.5</td><td>68.6</td><td>67.1</td><td>78.3</td></tr><tr><td>16-frames</td><td>73.2</td><td>70.4</td><td>68.9</td><td>79.2</td></tr></table>
215
+
216
+ Table 10. Velocity breakdowns of vehicle AP metrics for 3D-MAN with varying number of input frames.
217
+
218
+ correspondence loss. The correspondence loss encourages elements of the attention matrix (of the alignment stage in MVAA) to be close to 1 if the query proposal matches the instance of the corresponding stored proposal, and zero otherwise. We compare these approaches for the auxiliary loss (Table 8), and find that using the cross-view loss outperforms having no auxiliary loss by $1.8\%$ and using the correspondence loss by $1.1\%$ .
219
+
220
+ Varying number of input frames. We further compare our model's performance on different number of available frames (Table 9). In order to draw a fair comparison between models with 7 through 16 frames, we fix the computation by using point concatenation over windows of 4 frames, with different degrees of overlaps between windows (similar to strides in convolution windows). We find that our model steadily improves as it has access to more input frames corresponding to longer time horizons.
221
+
222
+ Velocity breakdowns. We also compare our model's performance across different velocity breakdowns. Recall that the baseline multi-frame PointPillars model performance degrades when using 8-frames versus 4-frames (Table 2). Conversely, our model demonstrates an improvement when we increase the number of frames from 4 to 16 (Table 10). This shows that our approach is able to benefit fast-moving vehicles.
223
+
224
+ # 5. Conclusion
225
+
226
+ In this paper, we present a novel 3D object detection method, 3D-MAN, which utilizes attention networks to extract and aggregate features across multiple frames. We introduce a fast single-frame detector that utilizes a Hungarian matching strategy to align the objectness score with the best localized box. We show how the outputs of the single-frame detector can be used with a memory bank and a novel multi-view alignment and aggregation module to fuse the information from multiple frames together. Our method is effective across long time horizons and obtains state-of-the-art performance on a challenging large scale dataset.
227
+
228
+ # References
229
+
230
+ [1] Alex Bewley, Pei Sun, Thomas Mensink, Dragomir Anguelov, and Cristian Sminchisescu. Range conditioned dilated convolutions for scale invariant 3d object detection. In CoRL, 2020. 7
231
+ [2] Holger Caesar, Varun Bankiti, Alex H. Lang, Sourabh Vora, Venice Erin Liong, Qiang Xu, Anush Krishnan, Yu Pan, Giancarlo Baldan, and Oscar Beijbom. nuscenes: A multimodal dataset for autonomous driving. CVPR, 2020. 1, 2, 3
232
+ [3] Nicolas Carion, Francisco Massa, Gabriel Synnaeve, Nicolas Usunier, Alexander Kirillov, and Sergey Zagoruyko. End-to-end object detection with transformers. In Andrea Vedaldi, Horst Bischof, Thomas Brox, and Jan-Michael Frahm, editors, ECCV, 2020. 4
233
+ [4] Yihong Chen, Yue Cao, Han Hu, and Liwei Wang. Memory enhanced global-local aggregation for video object detection. In CVPR, 2020. 3
234
+ [5] Hanming Deng, Yang Hua, Tao Song, Zongpu Zhang, Zhengui Xue, Ruhui Ma, Neil Martin Robertson, and Haibing Guan. Object guided external memory network for video object detection. In ICCV, 2019. 3
235
+ [6] Jiajun Deng, Yingwei Pan, Ting Yao, Wengang Zhou, Houqiang Li, and Tao Mei. Relation distillation networks for video object detection. In ICCV, 2019. 3
236
+ [7] Runzhou Ge, Zhuangzhuang Ding, Yihan Hu, Yu Wang, Sijia Chen, Li Huang, and Yuan Li. Afdet: Anchor free one stage 3d object detection. CoRR, 2020. 7
237
+ [8] Chenhang He, Hui Zeng, Jianqiang Huang, Xian-Sheng Hua, and Lei Zhang. Structure aware single-stage 3d object detection from point cloud. In CVPR, June 2020. 7
238
+ [9] Han Hu, Jiayuan Gu, Zheng Zhang, Jifeng Dai, and Yichen Wei. Relation networks for object detection. In CVPR, 2018. 3
239
+ [10] Rui Huang, Wanyue Zhang, Abhijit Kundu, Caroline Pantofaru, David A. Ross, Thomas A. Funkhouser, and Alireza Fathi. An LSTM approach to temporal 3d object detection in lidar point clouds. CoRR, 2020. 2, 3, 7
240
+ [11] Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. *ICLR*, 2015. 6
241
+ [12] Alex H Lang, Sourabh Vora, Holger Caesar, Lubing Zhou, Jiong Yang, and Oscar Beijbom. Pointpillars: Fast encoders for object detection from point clouds. CVPR, 2019. 2, 3, 5, 6, 7
242
+ [13] Ming Liang*, Bin Yang*, Yun Chen, Rui Hu, and Raquel Urtasun. Multi-task multi-sensor fusion for 3d object detection. In CVPR, 2019. 4
243
+ [14] 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 CVPR, 2018. 2, 3
244
+ [15] Jiquan Ngiam, Benjamin Caine, Wei Han, Brandon Yang, Yuning Chai, Pei Sun, Yin Zhou, Xi Yi, Ouais Alsharif, Patrick Nguyen, Zhifeng Chen, Jonathon Shlens, and Vijay Vasudevan. Starnet: Targeted computation for object detection in point clouds. CoRR, 2019. 2, 7
245
+
246
+ [16] Charles Ruizhongtai Qi, Wei Liu, Chenxia Wu, Hao Su, and Leonidas J. Guibas. Frustum pointnets for 3d object detection from RGB-D data. CVPR, 2018. 3, 6
247
+ [17] Charles Ruizhongtai Qi, Hao Su, Kaichun Mo, and Leonidas J. Guibas. Pointnet: Deep learning on point sets for 3d classification and segmentation. In CVPR, 2017. 3
248
+ [18] Shaoshuai Shi, Chaoxu Guo, Li Jiang, Zhe Wang, Jianping Shi, Xiaogang Wang, and Hongsheng Li. PV-RCNN: point-voxel feature set abstraction for 3d object detection. In CVPR, 2020. 2, 5, 7
249
+ [19] Shaoshuai Shi, Xiaogang Wang, and Hongsheng Li. Pointr-cnn: 3d object proposal generation and detection from point cloud. In CVPR, 2019. 2, 3, 6
250
+ [20] Shaoshuai Shi, Zhe Wang, Xiaogang Wang, and Hongsheng Li. Part-a $^2$ net: 3d part-aware and aggregation neural network for object detection from point cloud. arXiv preprint arXiv:1907.03670, 2019. 2
251
+ [21] Mykhailo Shvets, Wei Liu, and Alexander C. Berg. Leveraging long-range temporal relationships between proposals for video object detection. In ICCV, 2019. 3
252
+ [22] Russell Stewart, Mykhaylo Andriluka, and Andrew Y. Ng. End-to-end people detection in crowded scenes. In CVPR, 2016. 4
253
+ [23] Pei Sun, Henrik Kretzschmar, Xerxes Dotiwalla, Aurelien Chouard, Vijaysai Patnaik, Paul Tsui, James Guo, Yin Zhou, Yuning Chai, Benjamin Caine, Vijay Vasudevan, Wei Han, Jiquan Ngiam, Hang Zhao, Aleksei Timofeev, Scott Ettinger, Maxim Krivokon, Amy Gao, Aditya Joshi, Yu Zhang, Jonathon Shlens, Zhifeng Chen, and Dragomir Anguelov. Scalability in perception for autonomous driving: Waymo open dataset. In CVPR, 2020. 1, 2, 6, 7
254
+ [24] Zhi Tian, Chunhua Shen, Hao Chen, and Tong He. FCOS: fully convolutional one-stage object detection. ICCV, 2019. 7, 8
255
+ [25] Dominic Zeng Wang and Ingmar Posner. Voting for voting in online point cloud object detection. In Robotics: Science and Systems XI, 2015. 2
256
+ [26] Yue Wang, Alireza Fathi, Abhijit Kundu, David Ross, Caroline Pantofaru, Thomas Funkhouser, and Justin Solomon. Pillar-based object detection for autonomous driving. In ECCV, 2020. 2
257
+ [27] Haiping Wu, Yuntao Chen, Naiyan Wang, and Zhao-Xiang Zhang. Sequence level semantics aggregation for video object detection. In ICCV, 2019. 3
258
+ [28] Yan Yan, Yuxing Mao, and Bo Li. Second: Sparsely embedded convolutional detection. Sensors, 2018. 2, 7
259
+ [29] Bin Yang, Wenjie Luo, and Raquel Urtasun. **PIXOR: real-time 3d object detection from point clouds. In CVPR, 2018.** 2
260
+ [30] Ze Yang, Shaohui Liu, Han Hu, Liwei Wang, and Stephen Lin. Repoints: Point set representation for object detection. ICCV, 2019. 7
261
+ [31] Zetong Yang, Yanan Sun, Shu Liu, and Jiaya Jia. 3dssd: Point-based 3d single stage object detector, 2020. 2, 8
262
+ [32] Zetong Yang, Yanan Sun, Shu Liu, Xiaoyong Shen, and Jiaya Jia. IPOD: intensive point-based object detector for point cloud. CoRR, 2018. 2
263
+
264
+ [33] Zetong Yang, Yanan Sun, Shu Liu, Xiaoyong Shen, and Jiaya Jia. STD: sparse-to-dense 3d object detector for point cloud. ICCV, 2019. 2
265
+ [34] Junbo Yin, Jianbing Shen, Chenye Guan, Dingfu Zhou, and Ruigang Yang. Lidar-based online 3d video object detection with graph-based message passing and spatiotemporal transformer attention. In CVPR, 2020. 2, 3
266
+ [35] Xingyi Zhou, Dequan Wang, and Philipp Krahenbuhl. Objects as points. CoRR, 2019. 4, 8
267
+ [36] Yin Zhou, Pei Sun, Yu Zhang, Dragomir Anguelov, Jiyang Gao, Tom Ouyang, James Guo, Jiquan Ngiam, and Vijay Vasudevan. End-to-end multi-view fusion for 3d object detection in lidar point clouds. In CoRL, 2019. 2, 3, 7
268
+ [37] Yin Zhou and Oncel Tuzel. Voxelnet: End-to-end learning for point cloud based 3d object detection. CVPR, 2018. 2, 5
3dman3dmultiframeattentionnetworkforobjectdetection/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20d10050dfda40e744c242a748d1c0a5ed20ac01a707c49f3a398ac9fb15440d
3
+ size 396820
3dman3dmultiframeattentionnetworkforobjectdetection/layout.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73c411ff1709514e88977eeee86980a95b624599ce2a7b881a6e2cab07bf9150
3
+ size 342655
3dobjectdetectionwithpointformer/4783e11e-f6f7-408e-aeaf-e91762ff55cb_content_list.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa2dead074aafaa9f267dd6df4146b41fd25e421889ce73149bde9510595cabf
3
+ size 86245
3dobjectdetectionwithpointformer/4783e11e-f6f7-408e-aeaf-e91762ff55cb_model.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4fed620ca06f58da526251c9519406e0c4d62770f8064ece8be0cf03f6d0edeb
3
+ size 105894