ZHANGYUXUAN-zR commited on
Commit
74b3d35
·
verified ·
1 Parent(s): 45b8649

Add files using upload-large-folder tool

Browse files
parse/train/9uFiX_HRsIL/9uFiX_HRsIL.md ADDED
@@ -0,0 +1,221 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # CLIPORT: What and Where Pathways for Robotic Manipulation
2
+
3
+ Mohit Shridhar 1,† Lucas Manuelli 2 Dieter Fox 1,2 1University of Washington 2NVIDIA mshr@cs.washington.edu lmanuelli@nvidia.com fox@cs.washington.edu
4
+
5
+ cliport.github.io
6
+
7
+ Abstract: How can we imbue robots with the ability to manipulate objects precisely but also to reason about them in terms of abstract concepts? Recent works in manipulation have shown that end-to-end networks can learn dexterous skills that require precise spatial reasoning, but these methods often fail to generalize to new goals or quickly learn transferable concepts across tasks. In parallel, there has been great progress in learning generalizable semantic representations for vision and language by training on large-scale internet data, however these representations lack the spatial understanding necessary for fine-grained manipulation. To this end, we propose a framework that combines the best of both worlds: a two-stream architecture with semantic and spatial pathways for vision-based manipulation. Specifically, we present CLIPORT, a language-conditioned imitationlearning agent that combines the broad semantic understanding (what) of CLIP [1] with the spatial precision (where) of Transporter [2]. Our end-to-end framework is capable of solving a variety of language-specified tabletop tasks from packing unseen objects to folding cloths, all without any explicit representations of object poses, instance segmentations, memory, symbolic states, or syntactic structures. Experiments in simulated and real-world settings show that our approach is data efficient in few-shot settings and generalizes effectively to seen and unseen semantic concepts. We even learn one multi-task policy for 10 simulated and 9 real-world tasks that is better or comparable to single-task policies.
8
+
9
+ # 1 Introduction
10
+
11
+ Ask a person to “get a scoop of coffee beans” or “fold the cloth in half” and they can naturally take concepts like scoop or fold and ground them in concrete physical actions within an accuracy of a few centimeters. We humans do this intuitively, without explicit geometric or kinematic models of coffee beans or cloths. Moreover, we can generalize to a broad range of tasks and concepts from a minimal set of examples on what needs to be achieved. How can we imbue robots with this ability to efficiently ground abstract semantic concepts in precise spatial reasoning?
12
+
13
+ Recently, a number of end-to-end frameworks have been proposed for vision-based manipulation [2, 3, 4, 5]. While these methods do not use any explicit representations of object poses, instance segmentations, or symbolic states, they can only replicate demonstrations with a narrow range of variability and have no notion of the semantics underlying the tasks. Switching from packing red pens to blue pens involves collecting a new training set [2], or if using goal-conditioned policies, involves the user providing a goal-image from the scene [5, 6]. In realistic human-robot interaction settings, collecting additional demonstrations or providing goal-images is often infeasible and unscalable. A natural solution to both these problems is to condition policies with natural language. Language provides an intuitive interface for specifying goals and also for implicitly transferring concepts across tasks. While language-grounding for manipulation has been explored in the past [7, 8, 9, 10], these pipelines are limited by object-centric representations that cannot handle granular or deformable objects and often do not reason about perception and action in an integrated manner. In parallel, there has been great progress in learning models for visual representations [11, 12] and aligning representations of vision and language [13, 14, 15] by training on large-scale internet data. However, these models lack a fine-grained understanding on how to manipulate objects, i.e. physical affordances.
14
+
15
+ ![](images/3828e046605da1a58cfd55488e88f64400dd6b7ebfa4e8931b729aba5012e158.jpg)
16
+ Figure 1. Language-Conditioned Manipulation Tasks: CLIPORT is a broad framework applicable to a wide range of language-conditioned manipulation tasks in tabletop settings. We conduct large-scale experiments in Ravens [2] on 10 simulated tasks (a-j) with 1000s of unique instances per task. See Appendix A for challenges pertaining to each task. CLIPORT can even learn one multi-task model for all 10 tasks that achieves better or comparable performance to single-task models. Similarly, we demonstrate our approach on a Franka Panda manipulator with one multi-task model for 9 real-world tasks (k-o; only 5 shown) trained with just 179 image-action pairs.
17
+
18
+ To this end, we propose the first framework that combines the best of both worlds: end-to-end learning for fine-grained manipulation with the multi-goal and multi-task generalization capabilities of vision-language grounding systems. We introduce a two-stream architecture for manipulation with semantic and spatial pathways broadly inspired by (or vaguely analogous to) the two-stream hypothesis in cognitive psychology [16, 17, 18]. Specifically, we present CLIPORT, a languageconditioned imitation-learning agent that integrates the semantic understanding (what) of CLIP [1] with the spatial precision (where) of Transporter [2]. Transporter has been applied to a wide range of rearragement tasks from industrial packing [2] to manipulating deformable objects [6]. The key insight of the approach is formulating tabletop manipulation as a series of pick-and-place affordance predictions, where the objective is to detect actions rather than detect objects and then learn a policy. This action-centric approach to perception [19] is data efficient and effective at circumventing the need for explicit “objectness” in learnt representations. However, Transporter is a tabula rasa system that learns all visual representations from scratch and so every new goal or task requires collecting a new set of demonstrations. To address this problem, we bake in a strong semantic prior while learning policies. We condition our semantic stream with visual and language-goal features from a pre-trained CLIP model [1]. Since CLIP is pre-trained to align image and language features from millions of image-caption pairs from the internet, it provides a powerful prior for grounding semantic concepts that are common across tasks like categories, parts, shapes, colors, texts, and other visual attributes, all without a top-down pipeline that requires bounding boxes or instance segmentations [13, 14, 15, 20]. This allows us to formulate tabletop rearrangement as a series of language-conditioned affordance predictions, a predominantly vision-based inference problem, and thus benefit from the strengths of data-driven paradigms like scale and generalization.
19
+
20
+ To study these benefits, we conduct large-scale experiments in the Ravens [2] framework with a simulated suction-gripper robot. We propose 10 language-conditioned tasks with 1000s of unique instances per task that require both semantic and spatial reasoning (see Figure $1 \ \mathrm { a - j }$ ). CLIPORT is not only effective at solving these tasks, but surprisingly, it can even learn a multi-task model for all 10 tasks that achieves better or comparable performance to single-task models. Further, our evaluations indicate that our multi-task model can effectively transfer attributes like “pink block” across tasks, having never seen pink blocks or the word ‘pink’ in the context of the evaluation task. We also demonstrate our approach on a Franka Panda manipulator with one multi-task model for 9 real-world tasks trained with just 179 image-action pairs (see Figure $1 \ k { - } 0$ ).
21
+
22
+ In summary, our contributions are as follows:
23
+
24
+ • An extended benchmark of language-grounding tasks for manipulation in Ravens [2].
25
+ • Two-stream architecture for using internet pre-trained vision-language models for conditioning precise manipulation policies with language goals.
26
+ • Empirical results on a broad range of manipulation tasks, including multi-task models, validated with real-robot experiments.
27
+
28
+ The benchmark, code, and pre-trained models are available at: cliport.github.io.
29
+
30
+ # 2 Related Work
31
+
32
+ Vision-based Manipulation. Traditionally, perception for manipulation has centered around object detectors, segmentors, and pose estimators [21, 22, 23, 24, 25, 26]. These methods cannot handle deformable objects, granular media, or generalize to unseen objects without object-specific training data. Alternatively, dense descriptors [27, 28, 29] and keypoint representations [30, 31, 32] forgo segmentation and pose representations, but do not reason about sequential actions and struggle to represent scenes with variable numbers of objects. On the other hand, end-to-end perception-toaction models can learn precise sequential policies [2, 4, 6, 33, 34, 35], but these methods have limited understanding of semantic concepts and rely on goal-images to condition policies. In contrast, Yen-Chen et. al [36] showed that pre-training on semantic tasks like classification and segmentation helps in improving efficiency and generalization of grasping predictions.
33
+
34
+ Semantic Models. With the advent of large-scale models [37, 38, 39], a number of methods for learning joint vision and language representations have been proposed [13, 14, 15, 20, 40]. However, these methods are restricted to bounding boxes or instance segmentations, which make them inapplicable for detecting things like piles of coffee beans or squares on a chessboard. Alternatively, works in contrastive learning forgo top-down object-detection and learn continuous representations by pre-training on unlabeled data [11, 12]. Recently, CLIP [1] applied a similar approach to align vision and language representations by training on millions of image-caption pairs from the internet.
35
+
36
+ Language Grounding for Robotics. Several works have proposed systems for instructing robots with natural language [7, 8, 9, 10, 41, 42, 43, 44, 45, 46, 47]. However, these methods use disentangled pipelines for perception and action with the language primarily being used to guide the perception. As such, these pipelines lack the spatial precision necessary for tasks like folding cloths. Recently, Lynch et. al [48] proposed an end-to-end system for grounding language in continuous control, but it requires several hours of human teleoperation data for a single simulated desk setting.
37
+
38
+ Two-Stream Architectures are prevalent in action-recognition networks [49, 50, 51] and audiorecognition systems [52, 53]. In robotics, Zeng et. al [54] and Jang et. al [55] have proposed twostream pipelines for affordance predictions of novel objects. The former requires goal-images and the latter is restricted to one-step grasps with single-category goals. In contrast, our framework provides a rich and intuitive interface with composable language commands for sequential tasks.
39
+
40
+ # 3 CLIPORT
41
+
42
+ CLIPORT is an imitation-learning agent based on four key principles: (1) Manipulation through a two-step primitive where each action involves a start and final end-effector pose. (2) Visual representations of actions that are equivariant to translations and rotations [56, 57]. (3) Two separate pathways for semantic and spatial information. (4) Language-conditioned policies for specifying goals and also transferring concepts across tasks. Combining (1) and (2) from Transporter with (3) and (4) allows us to achieve generalizable policies that go beyond just imitating demonstrations.
43
+
44
+ Section 3.1 describes the problem formulation, gives an overview of Transporter [2], and presents our language-conditioned model. Section 3.2 provides details on the training approach.
45
+
46
+ # 3.1 Language-Conditioned Manipulation
47
+
48
+ We consider the problem of learning a goal-conditioned policy $\pi$ that outputs actions $\mathbf { a } _ { t }$ given input $\gamma _ { t } = ( \mathbf { o } _ { t } , \mathbf { l } _ { t } )$ consisting of a visual observation $\mathbf { o } _ { t }$ and an English language instruction ${ \bf l } _ { t }$ :
49
+
50
+ $$
51
+ \pi ( \gamma _ { t } ) = \pi ( \mathbf { o } _ { t } , \mathbf { l } _ { t } ) \mathbf { a } _ { t } = ( { \mathcal { T } } _ { \mathrm { p i c k } } , { \mathcal { T } } _ { \mathrm { p l a c e } } ) \in \mathcal { A }
52
+ $$
53
+
54
+ ![](images/7096ec9751b6431d9d588d6f507c70933b7da146cf1131293568d69619c96f9b.jpg)
55
+ Figure 2. CLIPORT Two-Stream Architecture. An overview of the semantic and spatial streams. The semantic stream uses a frozen CLIP ResNet50 [1] to encode RGB input, and its decoder layers are conditioned with tiled language features from the CLIP sentence encoder. The spatial stream encodes RGB-D input, and its decoder layers are laterally fused with the semantic stream. The final output is a map of dense pixelwise features that is used for pick or place affordance predictions. This same two-stream architecture is used in all 3 FullyConvolutional-Networks $f _ { \mathrm { p i c k } }$ , $\Phi _ { \mathrm { q u e r y } }$ , and $\Phi _ { \mathrm { k e y } }$ with $f _ { \mathrm { p i c k } }$ is used to predict pick actions, and $\Phi _ { \mathrm { q u e r y } }$ and $\Phi _ { \mathrm { k e y } }$ are used to predict place actions. See Appendix C for the exact architecture.
56
+
57
+ The actions $\mathbf { a } = ( T _ { \mathrm { p i c k } } , T _ { \mathrm { p l a c e } } )$ specify the end-effector pose for picking and placing, respectively. We consider tabletop tasks where $\mathcal { T } _ { \mathrm { p i c k } } , \mathcal { T } _ { \mathrm { p l a c e } } \in \mathbf { S } \mathbf { E } ( 2 )$ . The visual observation $\mathbf { o } _ { t }$ is a top-down orthographic RGB-D reconstruction of the scene where each pixel corresponds to a point in 3D space. The language instruction ${ \bf l } _ { t }$ either specifies step-by-step instructions e.g. “pack the scissors” “pack the purple tape” etc., or a single goal description for the whole task e.g “pack all the blue and yellow boxes in the brown box”. See Figure 4 for specific examples.
58
+
59
+ We assume access to a dataset $\mathcal { D } = \{ \zeta _ { 1 } , \zeta _ { 2 } , \ldots , \zeta _ { n } \}$ of $n$ expert demonstrations with associated discrete-time input-action pairs $\zeta _ { i } = \{ ( \mathbf { o } _ { 1 } , \mathbf { l } _ { 1 } , \mathbf { a } _ { 1 } ) , ( \mathbf { o } _ { 2 } , \mathbf { l } _ { 2 } , \mathbf { a } _ { 2 } ) , . . . \}$ where $\mathbf { a } _ { t } = ( T _ { \mathrm { p i c k } } , T _ { \mathrm { p l a c e } } )$ corresponds to expert pick-and-place coordinates at timestep $t$ . These expert demonstrations are used to supervise the policy $\pi$ .
60
+
61
+ Transporter for Pick-and-Place. The policy $\pi$ is trained with Transporter [2] to perform spatial manipulation. The model first (i) attends to a local region to decide where to pick, then (ii) computes a placement location by finding the best match through cross-correlation of deep visual features.
62
+
63
+ Following Transporter [2, 6], the policy $\pi$ is composed of two action-value modules (Q-functions): The pick module $\mathcal { Q } _ { \mathrm { p i c k } }$ decides where to pick, and conditioned on this pick action the place module $\mathcal { Q } _ { \mathrm { p l a c e } }$ decides where to place. These modules are implemented as Fully-Convolutional-Networks (FCNs) that are translationally equivariant by design. As we will describe in more detail below, we extend these networks to two-stream architectures that can handle language input. The pick FCN $f _ { \mathrm { p i c k } }$ takes input $\gamma _ { t } = \left( \mathbf { o } _ { t } , \mathbf { l } _ { t } \right)$ and outputs a dense pixelwise prediction $\mathbf { \bar { \mathcal { Q } } _ { \mathrm { p i c k } } } ^ { } \in \mathbb { R } ^ { H \times \dot { W } }$ of action-values, where are used to predict the pick action $\tau _ { \mathrm { p i c k } }$ :
64
+
65
+ $$
66
+ \mathcal { T } _ { \mathrm { p i c k } } = \underset { ( u , v ) } { \mathrm { a r g m a x } } \ : \mathcal { Q } _ { \mathrm { p i c k } } ( ( u , v ) | \gamma _ { t } )
67
+ $$
68
+
69
+ Since $\mathbf { o } _ { t }$ is an orthographic heightmap, each pixel location $( u , v )$ can be mapped to a 3D picking location using the known camera calibration. $f _ { \mathrm { p i c k } }$ is trained in a supervised manner to predict the pick action $\mathcal { T } _ { \mathrm { p i c k } }$ that imitates the expert demonstration with the specified language instruction at timestep $t$ .
70
+
71
+ The second FCN $\Phi _ { \mathrm { q u e r y } }$ takes in $\gamma _ { t } [ \mathcal { T } _ { \mathrm { p i c k } } ]$ , which is a $c \times c$ crop of $\mathbf { o } _ { t }$ centered at $\tau _ { \mathrm { p i c k } }$ along with the language instruction ${ \bf l } _ { t }$ , and outputs a query feature embedding of shape $\mathbb { R } ^ { c \times c \times d }$ . The third FCN $\Phi _ { \mathrm { k e y } }$ consumes the full input $\gamma _ { t }$ and outputs a key feature embedding of shape $\mathbb { R } ^ { H \times W \times d }$ . The place action-values $\mathcal { Q } _ { \mathrm { p l a c e } }$ are then computed by cross-correlating the query and key features:
72
+
73
+ $$
74
+ \begin{array} { r } { \mathcal { Q } _ { \mathrm { p l a c e } } ( \Delta \tau | \gamma _ { t } , \mathcal { T } _ { \mathrm { p i c k } } ) = \left( \Phi _ { \mathrm { q u e r y } } ( \gamma _ { t } [ \mathcal { T } _ { \mathrm { p i c k } } ] ) * \Phi _ { \mathrm { k e y } } ( \gamma _ { t } ) \right) [ \Delta \tau ] } \end{array}
75
+ $$
76
+
77
+ where $ { \Delta \tau } \in S E ( 2 )$ represents a potential placement pose. Since $\mathbf { o } _ { t }$ is an orthographic heightmap, rotations in the placement pose $\Delta \tau$ can be captured by stacking $k$ discrete angle rotations of the crop before passing it through the query network $\Phi _ { \mathrm { q u e r y } }$ . Then $\begin{array} { r } { \mathcal { T } _ { \mathrm { p l a c e } } ^ { \mathrm { ~ \tiny ~ \bar { ~ } ~ } } = \arg \operatorname* { m a x } _ { \Delta \tau } \mathcal { Q } _ { \mathrm { p l a c e } } ( \Delta \tau | \gamma _ { t } , \mathcal { T } _ { \mathrm { p i c k } } ) , } \end{array}$ , where the place module is trained to imitate the placements in the expert demonstrations. For all models, we use $c = 6 4$ , $k = 3 6$ and $d = 3$ . As in Transporter [2, 6], our framework can be extended to handle any motion primitive like pushing, sliding, etc. that can be parameterized by two end-effector poses at each timestep. For more details, we refer the reader to the original paper [2].
78
+
79
+ Two-Stream Architecture. In CLIPORT, we extend the network architecture of all three FCNs $f _ { \mathrm { p i c k } }$ , $\Phi _ { \mathrm { q u e r y } }$ and $\Phi _ { \mathrm { k e y } }$ from Transporter [2] to allow for language input and reasoning about high-level semantic concepts. We extend the FCNs to two-pathways: semantic (ventral) and spatial (dorsal). The semantic stream is conditioned with language features at the bottleneck and fused with intermediate features from the spatial stream. See Figure 2 for an overview of the architecture.
80
+
81
+ The spatial stream is identical to the ResNet architecture in Transporter – a tabula rasa network that takes in RGB-D input $\mathbf { o } _ { t }$ and outputs dense features through an hourglass encoder-decoder model. The semantic stream uses a frozen pre-trained CLIP ResNet50 [1] to encode the RGB input2 $\tilde { \mathbf { o } } _ { t }$ up until the penultimate layer $\tilde { \mathbf { o } } _ { t } \mathbf { v } _ { t } ^ { ( 0 ) } : \mathbb { R } ^ { 7 \times 7 \times 2 0 4 8 }$ and then introduces decoding layers that ! t upsample the feature tensors to mimic the spatial stream $\mathbf { v } _ { t } ^ { ( l - 1 ) } \to \mathbf { v } _ { t } ^ { ( l ) } : \mathbb { R } ^ { h \times w \times C }$ at each layer $l$ .
82
+
83
+ The language instruction ${ \bf l } _ { t }$ is encoded with CLIP’s Transformer-based sentence encoder to produce a goal encoding $\mathbf { l } _ { t } \mathbf { g } _ { t } : \mathbb { R } ^ { 1 0 2 4 }$ . This goal encoding $\mathbf { g } _ { t }$ is downsampled with fully-connected layers to match the channel dimension $C$ and tiled to match the spatial dimensions of the decoder features such that $\mathbf { g } _ { t } \ \to \ \mathbf { g } _ { t } ^ { ( l ) } \ : \ \mathbb { R } ^ { h \times w \times C }$ . The decoder features are then conditioned with the tiled goal features through an element-wise product $\mathbf { v } _ { t } ^ { ( l ) } \odot \mathbf { g } _ { t } ^ { ( l ) }$ (Hadamard product). Since CLIP was trained with contrastive loss on the dot-product alignment between pooled image features and language encodings, the element-wise product allows us to use this alignment while the tiling preserves the spatial dimensions of the visual features. This language conditioning is repeated for three subsequent layers after the bottleneck inspired by LingUNet [58]. We also add skip connections to these layers from the CLIP ResNet50 encoder to utilize different levels of semantic information from shapes to parts to object-level concepts [59]. Finally, following existing two-stream architectures in videoaction recognition [51], we add lateral connections from the spatial stream to the semantic stream. These connections invothe channel dimension ng , w $1 \times 1$ uceare $[ \mathbf { v } _ { t } ^ { ( l ) } \odot \mathbf { g } _ { t } ^ { ( l ) } ; \mathbf { d } _ { t } ^ { ( l ) } ] : \mathbb { R } ^ { h \times w \times C _ { \mathbf { v } } + C _ { \mathbf { d } } } \mathbb { R } ^ { h \times w \times \check { C } _ { \mathbf { v } } }$ $\mathbf { v } _ { t } ^ { ( l ) }$ ) and d(l)t the semantic and spatial tensors at layer $l$ , respectively. For the final fusion of dense features, addition for $f _ { \mathrm { p i c k } }$ and $1 \times 1$ conv fusion for $\Phi _ { \mathrm { q u e r y } }$ and $\Phi _ { \mathrm { k e y } }$ worked the best empirically. See Appendix C for details on the exact architecture.
84
+
85
+ # 3.2 Implementation Details
86
+
87
+ Training from demonstrations. Similar to Transporter [2] we train CLIPORT through imitation learning from a set of expert demonstrations $\mathcal { D } = \{ \zeta _ { 1 } , \zeta _ { 2 } , . . . , \zeta _ { n } \}$ consisting of discrete-time inputaction pairs $\zeta _ { i } = \{ ( \mathbf { o } _ { 1 } , \mathbf { \bar { l } } _ { 1 } , \mathbf { a } _ { 1 } ) , ( \mathbf { o } _ { 2 } , \mathbf { l } _ { 2 } , \mathbf { a } _ { 2 } ) , \dots \}$ . During training, we randomly sample an inputaction pair from the dataset and supervise the model end-to-end with one-hot pixel encodings of demonstration actions $Y _ { \mathrm { p i c k } } : \mathbb { R } ^ { H \times \dot { W } \times k }$ and $Y _ { \mathrm { p l a c e } } : \mathbb { R } ^ { H \times W \times k }$ with $k$ discrete rotations. In simulated experiments with the suction-gripper, we use $k = 1$ for pick actions and $k = 3 6$ for place actions. The model is trained with cross-entropy loss: $\mathcal { L } = \dot { - } \mathbb { E } _ { Y _ { \mathrm { { p i c k } } } } [ \log \mathcal { V } _ { \mathrm { { p i c k } } } ] - \mathbb { E } _ { Y _ { \mathrm { { 0 i c e } } } } [ \log \mathcal { \bar { V } } _ { \mathrm { { p l a c e } } } ]$ where $\mathcal { V } _ { \mathrm { p i c k } } = \operatorname { s o f t m a x } \left( \mathcal { Q } _ { \mathrm { p i c k } } ( ( u , v ) | \gamma _ { t } ) \right)$ and $\mathcal { V } _ { \mathrm { p l a c e } } = \mathrm { s o f t m a x } ( \mathcal { Q } _ { \mathrm { p l a c e } } ( ( u ^ { \prime } , v ^ { \prime } , \omega ^ { \prime } ) | \gamma _ { t } , \dot { \mathcal { T } } _ { \mathrm { p i c k } } ) )$ . Compared to the original Transporter models that were trained for 40K iterations, we train our models for $2 0 0 \mathrm { K }$ iterations (with data augmentation; see Appendix E) to account for additional semantic variation in tasks – randomized colors, shapes, objects. All models are trained on a single commodity GPU for 2 days with a batch size of 1.
88
+
89
+ Training multi-task models. Multi-task training is nearly identical to single-task training except for the sampling of training data. First, we randomly sample a task, and then select a random inputaction pair from that task in the dataset. Using this strategy, all tasks are equally likely to be sampled but longer horizon tasks are less likely to reach full coverage of input-action pairs available in the dataset. To compensate for this, we train all multi-task models $3 \times$ longer for 600K iterations or 6 GPU days.
90
+
91
+ # 4 Results
92
+
93
+ We perform experiments both in simulation and hardware aimed at answering the following questions: 1) How effective is the language-conditioned two-stream architecture for fine-grained manipulation compared to one-stream alternatives and other simpler baselines? 2) Is it possible to train a multi-task model for all tasks, and how well does it perform and generalize? 3) How well do these models generalize to seen and unseen semantic attributes like colors, shapes, and object categories?
94
+
95
+ # 4.1 Simulation Setup
96
+
97
+ Environment. All simulated experiments are based on a Universal Robot UR5e with a suction gripper. The setup provides a systematic and reproducible environment for evaluation, especially for benchmarking the ability to ground semantic concepts like colors and object categories. The input observation is a top-down RGB-D reconstruction from 3 cameras positioned around a rectangular table: one in the front, one on the left shoulder, and one on the right shoulder, all pointing towards the center. Each camera has a resolution of $6 4 0 \times 4 8 0$ and is noiseless.
98
+
99
+ Language-Conditioned Manipulation Tasks. We extend the Ravens benchmark [2] set in PyBullet [60] with 10 language-conditioned manipulation tasks. See Figure 1 for examples and Table 3 for challenges associated with each task. Each task instance is constructed by sampling a set of objects and attributes: poses, colors, sizes, and object categories. 8 of the 10 tasks have two variants, denoted by seen and unseen, depending on whether the task has unseen attributes (e.g. color) at test time. For colors: $\mathbb { T } _ { \mathrm { s e e n c o l o r s } } = \{ \mathtt { y e l l o w }$ , brown, gray, cyan} and $\mathbb { T } _ { \mathrm { u n s e e n c o l o r s } } =$ {orange, purple, pink, white $\}$ with 3 overlapping colors $\mathbb { T } _ { \mathrm { a l l } } ~ = ~ \{ \mathrm { r e d }$ , green, blue} used in both the seen and unseen spilts. For packing objects, we use 56 tabletop objects from the Google Scanned Objects dataset [61] and split them into 37 seen and 19 unseen objects. The language instructions are constructed from templates for simulated experiments, and human-annotated for real-world experiments. For more details about individual tasks, see Appendix A.
100
+
101
+ Evaluation Metric. We adopt the 0 (fail) to 100 (success) scores proposed in the Ravens benchmark [2]. The score assigns partial credit based on the task, e.g. $3 / 5 \Rightarrow 6 0 . 0$ for packing 3 out of 5 objects specified in the instructions, or $3 0 / 5 6 \Rightarrow 5 3 . 6$ for pushing 30 out of 56 particles into the correct zone. See Appendix A for the specific evaluation metric used in each task. During an evaluation episode, an agent keeps interacting with the scene until an oracle indicates task-completion. We report scores on 100 evaluation runs for agents trained with $n = 1 , 1 0$ , 100, 1000 demonstrations.
102
+
103
+ # 4.2 Simulation Results
104
+
105
+ Table 1 presents results from our large-scale experiments in Ravens [2] and Figure 3 summarizes these results with average scores across seen and unseen splits.
106
+
107
+ ![](images/2c8d085ed4e3b8280f7fea75e44ca5edb6cbae04f83dfd2885faf862f02ac008.jpg)
108
+ Figure 3. Average scores across seen and unseen splits for all tasks in Table 1.
109
+
110
+ # Baseline Methods. To study
111
+
112
+ the effectiveness of our two-stream architecture, we broadly compare against two baselines: Transporter-only and CLIP-only. Transporter-only is the original Transporter [2], or equivalently, the spatial stream of CLIPORT with RGB-D input. Although Transporter-only does not receive any language goals, it shows what can be achieved through chance by exploiting the most likely actions seen during training. On the other hand, CLIP-only is just the semantic stream of CLIPORT with RGB and language input. CLIP-only shows what can be achieved by fine-tuning a pre-trained semantic model for manipulation without spatial information, particularly depth.
113
+
114
+ Two-Stream Performance. Figure 3 (seen) captures the essence of our main claims. The performance of Transporter-only saturates at $5 0 \%$ since it doesn’t use the language instruction to ground the desired goal. CLIP-only does have a goal, but lacks the spatial precision to go the last mile and thus saturates at $7 6 \%$ . Only CLIPORT (single) achieves more than $9 0 \%$ , which indicates that both the semantic and spatial streams are crucial for fine-grained manipulation. Further, CLIPORT (single) achieves $8 6 \%$ on most tasks with just 100 demonstrations, showcasing its efficiency.
115
+
116
+ In addition to these baselines, we present various ablations and alternative one-stream and twostream models in Appendix F. To briefly summarize these results, CLIP is essential for few-shot
117
+
118
+ <table><tr><td></td><td colspan="4">packing-box-pairs seen-colors</td><td colspan="4">packing-box-pairs unseen-colors</td><td colspan="4">packing-seen-google objects-seq</td><td colspan="4">packing-unseen-google objects-seq</td><td colspan="4">packing-seen-google objects-group</td><td colspan="4">packing-unseen-google objects-group</td></tr><tr><td>Method</td><td>1</td><td>10</td><td>100</td><td>1000</td><td>1 10</td><td>100</td><td>1000</td><td>1</td><td>10</td><td>100</td><td>1000</td><td>1</td><td>10</td><td>100</td><td>1000</td><td>1</td><td>10</td><td>100</td><td>1000</td><td>1</td><td>10</td><td>100</td><td>1000</td></tr><tr><td>Transporter-only [2]</td><td>44.2 55.2 54.2</td><td></td><td></td><td></td><td></td><td></td><td>54.1</td><td>26.2 39.7</td><td></td><td>45.4</td><td></td><td></td><td>19.9 29.8</td><td>28.7</td><td>37.3</td><td></td><td></td><td></td><td>59.9</td><td></td><td></td><td>46.2 54.7 49.8</td><td></td></tr><tr><td>CLIP-only</td><td></td><td></td><td></td><td>52.4</td><td>34.648.747.2</td><td></td><td></td><td></td><td></td><td></td><td>46.3</td><td></td><td></td><td></td><td></td><td></td><td>60.0 54.3 61.5</td><td></td><td></td><td></td><td></td><td></td><td>:52.0</td></tr><tr><td>RN50-BERT</td><td></td><td></td><td></td><td></td><td>38.6 69.7 88.5 87.1 33.0 65.5 68.8</td><td></td><td>61.2</td><td></td><td>29.1 67.9</td><td>)89.3</td><td>95.8</td><td></td><td></td><td></td><td>37.1 49.4 60.4 57.8</td><td></td><td>52.5 62.0 89.6 92.7</td><td></td><td></td><td></td><td></td><td></td><td>43.465.9 73.1 70.0</td></tr><tr><td>CLIPORT (single)</td><td></td><td></td><td></td><td></td><td>36.2 64.0 94.7 90.3 31.4 52.7 65.6</td><td></td><td>72.1</td><td></td><td>32.948.4 87.9 94.0</td><td></td><td></td><td></td><td></td><td></td><td>)29.348.548.356.1 71.9</td><td>52.7</td><td></td><td></td><td></td><td></td><td></td><td></td><td>46.452.9 76.586.4 43.2 52.0 66.3 73.7</td></tr><tr><td>CLIPORT (multi)</td><td colspan="4">51.6 82.9 92.7 66.888.694.196.659.0 69.776.271.441.678.485.084.4 40.751.165.870.371.384.689.68.368.4 69.678.480.3</td><td colspan="4">98.2 45.6 65.3 68.6 71.5</td><td colspan="4"></td><td colspan="4">14.8 59.5 86.8 96.2 27.2 50.0 65.5</td><td colspan="4">67.0 84.1</td><td colspan="4">94.061.5 66.2 78.4 81.5</td></tr><tr><td rowspan="4"> CLIPORT (multi-attr)</td><td colspan="4"></td><td colspan="4">46.2 72.0 86.2 80.3</td><td colspan="4"></td><td colspan="4">35.4 45.1 78.9 87.4</td><td colspan="4"></td><td colspan="4">48.6 69.3 84.8 89.1</td></tr><tr><td></td><td>stack-block-pyramid seq-seen-colors</td><td></td><td></td><td>stack-block-pyramid</td><td>seq-unseen-colors</td><td></td><td></td><td>separating-piles seen-colors</td><td></td><td></td><td></td><td>separating-piles unseen-colors</td><td></td><td></td><td></td><td>towers-of-hanoi</td><td></td><td></td><td></td><td></td><td>towers-of-hanoi</td><td></td></tr><tr><td>1</td><td>10</td><td>100</td><td>1000</td><td>1</td><td>10</td><td>100</td><td>1000 1</td><td>10</td><td>100</td><td>1000</td><td></td><td>10</td><td></td><td>1000</td><td>1</td><td>seq-seen-colors 10</td><td></td><td></td><td></td><td></td><td></td><td>seq-unseen-colors</td></tr><tr><td></td><td>4.5</td><td>2.3</td><td>5.2 4.5</td><td>3.0</td><td>4.0</td><td>2.3</td><td>5.8</td><td>42.7</td><td>52.3</td><td>42.0</td><td>48.4</td><td>1 41.2 49.2</td><td></td><td>100 44.7</td><td>52.3</td><td>67.9</td><td>98.0</td><td>100 1000 99.9</td><td></td><td>1</td><td>10 100 24.344.671.7 80.7</td><td>1000</td></tr><tr><td>Transporter-only [2] CLIP-only</td><td>6.328.7 55.7 54.8</td><td></td><td></td><td></td><td>2.012.2</td><td>18.3</td><td></td><td>19.543.5</td><td>55.0</td><td>84.9 90.25</td><td></td><td>59.949.6</td><td></td><td>73.0</td><td>71.0</td><td>25.4 9.4</td><td>52.6 88.645.3</td><td></td><td></td><td></td><td></td><td></td><td>24.747.067.0 58.0</td></tr><tr><td>RN50-BERT CLIPORT (single)</td><td>5.335.0 89.097.5 28.364.7 93.3 98.8</td><td></td><td></td><td></td><td>6.2 12.2 13.7 24.3</td><td>21.5 31.2</td><td>30.7 41.3</td><td>31.8 47.8 54.5 59.5</td><td></td><td>93.1</td><td>98.0</td><td>)47.2</td><td>46.546.533.444.4 51.0</td><td>41.3 76.6</td><td>44.9 75.2</td><td>59.4</td><td>28.0 66.1 92.9</td><td>91.392.1 97.4100</td><td></td><td>56.1</td><td></td><td></td><td>17.4 75.1 85.3 89.3 89.7 95.9 99.4</td></tr><tr><td>CLIPORT (multi)</td><td>33.5 75.3 96.8 96.5 23.3 26.831.7 22.2 48.9 72.4 90.3 89.0 56.6 62.6 64.9 62.8</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>49.9 51.8 48.2 59.8</td><td></td><td></td><td></td><td></td><td>61.6 96.3 98.7 98.1</td><td></td><td></td><td></td><td></td><td></td><td>60.1 65.6 76.7 68.7</td></tr><tr><td> CLIPORT (multi-attr)</td><td>一</td><td></td><td></td><td></td><td></td><td></td><td>15.5 51.5 59.3 79.8</td><td>assembling-kits-seq</td><td></td><td></td><td></td><td>assembling-kits-seq</td><td></td><td></td><td></td><td>put-blocks-in-bowls</td><td></td><td></td><td></td><td></td><td></td><td></td><td>56.7 78.0 88.3 96.9 put-blocks-in-bowls</td></tr><tr><td></td><td></td><td>align-rope</td><td></td><td></td><td> packing-unseen-shapes</td><td></td><td></td><td></td><td>seen-colors</td><td></td><td></td><td></td><td></td><td>unseen-colors</td><td></td><td></td><td>seen-colors</td><td></td><td></td><td></td><td></td><td>unseen-colors</td><td></td></tr><tr><td>Transporter-only [2]</td><td>1</td><td>10</td><td>100</td><td>1000</td><td>1</td><td>10 100</td><td>1000</td><td>1</td><td>10</td><td>100</td><td>1000</td><td>1</td><td>10</td><td>100</td><td>1000</td><td>1</td><td>10</td><td>100</td><td>1000</td><td>1</td><td>10</td><td>100</td><td>1000</td></tr><tr><td>CLIP-only</td><td>6.930.633.1</td><td></td><td></td><td>51.5</td><td></td><td>16.0 20.0 22.0</td><td>22.0</td><td>5.8</td><td>11.6</td><td></td><td>28.6 29.6</td><td>7.8</td><td>17.6</td><td>25.6</td><td>28.4</td><td>16.8 333.3 62.7</td><td></td><td></td><td>64.7</td><td>11.7</td><td></td><td>17.2 14.8</td><td>18.7 11.2 34.2 33.2 44.5</td></tr><tr><td>RN50-BERT CLIPORT (single)</td><td></td><td>3.125.063.8</td><td>13.4 48.7 70.4</td><td>70.7 57.1</td><td>19.0 25.0</td><td>13.0 28.0 44.0 32.0</td><td>50.0 44.0</td><td>0.8 2.2</td><td>9.2 5.6</td><td>19.8 11.6</td><td>23.0 21.8</td><td>2.0 1.6</td><td>4.6 6.4</td><td>10.8 10.4</td><td>19.8 18.4</td><td>23.5 60.2 93.5 13.8 44.581.2</td><td></td><td>91.8</td><td>97.7</td><td></td><td></td><td></td><td>223.030.323.8</td></tr><tr></table>
119
+
120
+ Table 1. Language-Conditioned Test Results. Task success scores (mean $\%$ ) from 100 evaluation instances vs. # of training demonstrations (1, 10, 100, or 1000). The challenges pertaining to each task are described in Appendix A. CLIPORT (single) models are trained on seen splits, and evaluated on both seen and unseen splits. CLIPORT (multi) models are trained on seen splits of all 10 tasks with 1T, 10T, 100T, and 1000T demonstrations where $\mathbb { T } = 1 0$ . CLIPORT (multi-attr) indicate CLIPORT (multi) models trained on seen-and-unseen splits from all tasks except for that one particular heldout task, for which it is trained only the seen split. See Figure 3 for an overview with average scores.
121
+
122
+ learning (i.e. $n \geq 1 0 .$ ) in lieu of semantic stream alternatives like ImageNet-trained ResNet50 [62] with BERT [38]. Image-goal models outperform CLIPORT (single) in packing Google objects, but this is only because they do not have to solve the language-grounding problem.
123
+
124
+ Multi-Task Performance. In realistic scenarios, we want the robot to be capable of any task, not just one task. We investigate this through CLIPORT (multi) in Table 1 with one multi-task model trained on all 10 tasks. CLIPORT (multi) models are trained only on seen-splits of tasks, so an unseen attribute like ‘pink’ is consistent throughout single and multi-task settings. Surprisingly, CLIPORT (multi) outperforms single-task CLIPORT (single) models in $4 1 / 7 2 = 5 7 \%$ of the evaluations in Table 1. This trend is also evident in Figure 3 (seen), especially in instances with 100 demonstrations or less. Although CLIPORT (multi) is trained on more diverse data from other tasks, both CLIPORT (multi) and CLIPORT (single) have access to the same amount of data per task. This supports our premise that language is a strong conditioning mechanism for reusing concepts from other tasks without learning them from scratch. It also validates a trait of data-driven approaches where training on lots of diverse data leads to more robust and generalizable representations [1, 63]. However, CLIPORT (multi) performs worse on longer-horizon tasks like align-rope. We hypothesize that this is because longer-horizon tasks get less coverage of input-action pairs in the dataset. Future works could use better sampling methods that balance tasks according to their average time horizon.
125
+
126
+ Generalizing to Unseen Attributes. Tasks that require generalizing to novel colors, shapes, and objects are more difficult and all our agents achieve relatively lower performance on these tasks, as shown in Figure 3 (unseen). However, CLIPORT (single) models do substantially better than chance, i.e., Transporter-only. The lower performances are due to the difficulty of grounding unseen attributes such as ‘pink’ and ‘orange’ in the language instruction “put the pink block on the orange bowl”, when the agent has never encountered words ‘orange’, ‘pink’ or their corresponding visual characteristics in the context of the physical environment. Although pre-trained CLIP has been exposed to the attribute ‘pink’, it could correspond to different concepts in the physical setting depending on factors like lighting condition, and thus requires at least few examples to condition the trainable semantic decoder layers. Additionally, we notice that CLIPORT (single) is also less prone to overfitting compared to Transporter-only. As evidenced in towers-of-hanoi-seq-unseen-colors task in Table 1, Transporter-only suffers from a performance drop because of rings with unseen colors despite the fact that Tower of Hanoi can be solved without attending to the colors and simply focusing on the ring size. We hypothesize that since CLIP was trained on diverse internet data, it enables our agent to focus on task-relevant concepts while ignoring irrelevant aspects of the task.
127
+
128
+ ![](images/2d3a3c5d8f1664e75fb4cd0744b2b47254beccd56c4e1c6aecb38ce7542f4319.jpg)
129
+ Figure 4. Affordance predictions from CLIPORT (multi) models in sim (left two) and real settings (right three). More examples in Appendix H.
130
+
131
+ Transferring Attributes across Tasks. One solution for dealing with unseen attributes is to explicitly learn these attributes from other tasks. We study this with CLIPORT (multi-attr) in Table 1 and Figure 3 (unseen). For these models, CLIPORT (multi) is trained on both seen-and-unseen splits from all tasks except for the task being evaluated on, for which it was only trained on the seen split. As such, this evaluation measures whether having seen pink blocks in put-blocks-in-bowl-unseen-colors helps solve “pack all the pink and cyan boxes” in packing-box-pairs-unseen-colors. Results indicate that such explicit transfers result in significant improvements. For instance, on the put-blocks-inbowls-unseen-colors task for $n = 1 0 0 0$ , CLIPORT (multi)’s performance increases from 45.8 to 75.7.
132
+
133
+ # 4.3 Real-Robot Experiments
134
+
135
+ We validated our results in hardware with a Franka Panda manipulator. See Appendix D for setup details. Table 2 reports success rates for a multi-task model trained and evaluated on 9 real-world tasks. Due to COVID restrictions, we could not conduct largescale user-studies, so we report on small train (5-10 demos) and test sets (5-10 runs) per task. Overall, CLIPORT (multi) is effective at few-shot learning with just 179 samples, and the performances roughly correspond to those in simulated experiments, with simple block manipulation tasks achieving $\sim 7 0 \%$ . We estimate that for more robust real-world performance at least 50 to 100 training demonstrations are necessary, as evident in Figure 3. Interestingly, we observed that the model sometimes exploits biases in the training data instead of learning to ground instructions. For instance, in Put Blocks in Bowl, the training set consisted of only one datapoint on “yellow blocks” being placed inside a “blue bowl”. This made it difficult to condition the model to place “yellow blocks” in non-blue bowls. But instances with just one or two examples where a colored block went to different colored bowls was sufficient to make the model pay attention to the language. In summary, unbiased datasets containing both a good coverage of expected skills and invariances, and a decent number of training demonstrations, are crucial for good real-world performance.
136
+
137
+ <table><tr><td>Task # Train (Samples) #Test Succ.%</td></tr><tr><td>Stack Blocks</td></tr><tr><td>5 (13) 10 70.0 5(10) 10 65.0</td></tr><tr><td>Put Blocks in Bowl Pack Objects 10 (31) 10 60.0</td></tr><tr><td>Move Rook 4(29) 10 70.0</td></tr><tr><td>Fold Cloth 9(9) 10 57.0</td></tr><tr><td>Read Text 2(26) 10 55.0</td></tr><tr><td>Loop Rope 4(12) 10 60.0</td></tr><tr><td>Sweep Beans 5 (23) 5 60.6</td></tr><tr><td>Pick Cherries 4(26) 5 75.0</td></tr></table>
138
+
139
+ Table 2. Success rates $( \% )$ of a multi-task model trained an evaluated 9 real-world tasks (see Figure 1). Samples indicate total image-action pairs, e.g 1 in Figure 9.
140
+
141
+ # 5 Conclusion
142
+
143
+ We introduced CLIPORT, an end-to-end framework for language-conditioned fine-grained manipulation. Our experiments, specifically with multi-task models, indicate that data-driven approaches to generalization have yet to be fully-exploited in robotics. Coupled with the right action abstraction and spatio-semantic priors, end-to-end methods can quickly learn new skills without requiring top-down pipelines that need task-specific engineering.
144
+
145
+ While CLIPORT can solve a range of tabletop tasks, extending it to dexterous 6-DOF manipulation that goes beyond the two-step primitive remains a challenge. As such, it cannot handle complex partially-observable scenes, or output continuous control for multi-fingered hands, or predict task-completion (see Appendix I for an extended discussion). But overall, we are excited by the confluence of data and structural priors for building scalable and generalizable robotic systems.
146
+
147
+ # Acknowledgments
148
+
149
+ All simulated experiments were facilitated through the Hyak computing cluster funded by the STF at the University of Washington. We thank Mohak Bhardwaj for help with the Franka setup at UW. We are also grateful to our colleagues Chris Xie, Jesse Thomason, and Valts Blukis for providing feedback on the initial draft. This work was funded in part by ONR under award #1140209-405780.
150
+
151
+ # References
152
+
153
+ [1] A. Radford, J. W. Kim, C. Hallacy, A. Ramesh, G. Goh, S. Agarwal, G. Sastry, A. Askell, P. Mishkin, J. Clark, G. Krueger, and I. Sutskever. Learning Transferable Visual Models From Natural Language Supervision. arXiv:2103.00020 [cs], Feb. 2021.
154
+ [2] A. Zeng, P. Florence, J. Tompson, S. Welker, J. Chien, M. Attarian, T. Armstrong, I. Krasin, D. Duong, V. Sindhwani, and J. Lee. Transporter networks: Rearranging the visual world for robotic manipulation. Conference on Robot Learning (CoRL), 2020.
155
+ [3] I. Akkaya, M. Andrychowicz, M. Chociej, M. Litwin, B. McGrew, A. Petron, A. Paino, M. Plappert, G. Powell, R. Ribas, et al. Solving rubik’s cube with a robot hand. arXiv preprint arXiv:1910.07113, 2019.
156
+ [4] D. Kalashnikov, A. Irpan, P. Pastor, J. Ibarz, A. Herzog, E. Jang, D. Quillen, E. Holly, M. Kalakrishnan, V. Vanhoucke, et al. Qt-opt: Scalable deep reinforcement learning for visionbased robotic manipulation. Conference on Robot Learning (CoRL), 2018.
157
+ [5] D. Kalashnikov, J. Varley, Y. Chebotar, B. Swanson, R. Jonschkowski, C. Finn, S. Levine, and K. Hausman. Mt-opt: Continuous multi-task robotic reinforcement learning at scale. arXiv preprint arXiv:2104.08212, 2021.
158
+ [6] D. Seita, P. Florence, J. Tompson, E. Coumans, V. Sindhwani, K. Goldberg, and A. Zeng. Learning to rearrange deformable cables, fabrics, and bags with goal-conditioned transporter networks. In IEEE International Conference on Robotics and Automation (ICRA), 2021.
159
+ [7] M. Shridhar and D. Hsu. Interactive visual grounding of referring expressions for human-robot interaction. In Proceedings of Robotics: Science and Systems (RSS), 2018.
160
+ [8] C. Matuszek, L. Bo, L. Zettlemoyer, and D. Fox. Learning from unscripted deictic gesture and language for human-robot interactions. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 28, 2014.
161
+ [9] M. Bollini, S. Tellex, T. Thompson, N. Roy, and D. Rus. Interpreting and executing recipes with a cooking robot. In Experimental Robotics, pages 481–495. Springer, 2013.
162
+ [10] D. K. Misra, J. Sung, K. Lee, and A. Saxena. Tell me dave: Context-sensitive grounding of natural language to manipulation instructions. The International Journal of Robotics Research (IJRR), 35(1-3):281–300, 2016.
163
+ [11] T. Chen, S. Kornblith, M. Norouzi, and G. Hinton. A simple framework for contrastive learning of visual representations. In International conference on machine learning, pages 1597–1607. PMLR, 2020.
164
+ [12] K. He, H. Fan, Y. Wu, S. Xie, and R. Girshick. Momentum contrast for unsupervised visual representation learning. In The IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 9729–9738, 2020.
165
+ [13] J. Lu, D. Batra, D. Parikh, and S. Lee. Vilbert: Pretraining task-agnostic visiolinguistic representations for vision-and-language tasks. In Advances in Neural Information Processing Systems (NeuRIPS), 2019.
166
+ [14] Y. C. Chen, L. Li, L. Yu, A. El Kholy, F. Ahmed, Z. Gan, Y. Cheng, and J. Liu. Uniter: Universal image-text representation learning. In European Conference on Computer Vision, pages 104–120. Springer, 2020.
167
+ [15] H. Tan and M. Bansal. Lxmert: Learning cross-modality encoder representations from transformers. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing (EMNLP), 2019.
168
+ [16] D. H. Hubel and T. N. Wiesel. Receptive fields and functional architecture in two nonstriate visual areas (18 and 19) of the cat. Journal of neurophysiology, 28(2):229–289, 1965.
169
+ [17] M. Livingstone and D. Hubel. Segregation of form, color, movement, and depth: anatomy, physiology, and perception. Science, 240(4853):740–749, 1988.
170
+ [18] A. Derrington and P. Lennie. Spatial and temporal contrast sensitivities of neurones in lateral geniculate nucleus of macaque. The Journal of physiology, 357(1):219–240, 1984.
171
+ [19] J. J. Gibson. The ecological approach to visual perception: classic edition. Psychology Press, 2014.
172
+ [20] A. Kamath, M. Singh, Y. LeCun, I. Misra, G. Synnaeve, and N. Carion. Mdetr–modulated detection for end-to-end multi-modal understanding. arXiv preprint arXiv:2104.12763, 2021.
173
+ [21] K. He, G. Gkioxari, P. Dollar, and R. Girshick. Mask r-cnn. In ´ The IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2017.
174
+ [22] Y. Xiang, T. Schmidt, V. Narayanan, and D. Fox. Posecnn: A convolutional neural network for 6d object pose estimation in cluttered scenes. In Proceedings of Robotics: Science and Systems (RSS), 2018.
175
+ [23] M. Zhu, K. G. Derpanis, Y. Yang, S. Brahmbhatt, M. Zhang, C. Phillips, M. Lecce, and K. Daniilidis. Single image 3d object detection and pose estimation for grasping. In 2014 IEEE International Conference on Robotics and Automation (ICRA), pages 3936–3943. IEEE, 2014.
176
+ [24] A. Zeng, K.-T. Yu, S. Song, D. Suo, E. Walker, A. Rodriguez, and J. Xiao. Multi-view selfsupervised deep learning for 6d pose estimation in the amazon picking challenge. In 2017 IEEE international conference on robotics and automation (ICRA), pages 1386–1383. IEEE, 2017.
177
+ [25] X. Deng, Y. Xiang, A. Mousavian, C. Eppner, T. Bretl, and D. Fox. Self-supervised 6d object pose estimation for robot manipulation. In 2020 IEEE International Conference on Robotics and Automation (ICRA), pages 3665–3671. IEEE, 2020.
178
+ [26] C. Xie, Y. Xiang, A. Mousavian, and D. Fox. The best of both modes: Separately leveraging rgb and depth for unseen object instance segmentation. In Conference on Robot Learning (CoRL), pages 1369–1378. PMLR, 2020.
179
+ [27] P. R. Florence, L. Manuelli, and R. Tedrake. Dense object nets: Learning dense visual object descriptors by and for robotic manipulation. In Conference on Robot Learning (CoRL), 2018.
180
+ [28] P. Florence, L. Manuelli, and R. Tedrake. Self-supervised correspondence in visuomotor policy learning. IEEE Robotics and Automation Letters, 5(2):492–499, 2019.
181
+ [29] P. Sundaresan, J. Grannen, B. Thananjeyan, A. Balakrishna, M. Laskey, K. Stone, J. E. Gonzalez, and K. Goldberg. Learning rope manipulation policies using dense object descriptors trained on synthetic depth data. In 2020 IEEE International Conference on Robotics and Automation (ICRA), pages 9411–9418. IEEE, 2020.
182
+ [30] L. Manuelli, W. Gao, P. Florence, and R. Tedrake. kpam: Keypoint affordances for categorylevel robotic manipulation. In International Symposium on Robotics Research (ISRR), 2019.
183
+ [31] T. D. Kulkarni, A. Gupta, C. Ionescu, S. Borgeaud, M. Reynolds, A. Zisserman, and V. Mnih. Unsupervised learning of object keypoints for perception and control. Advances in neural information processing systems (NeuRIPS), 32:10724–10734, 2019.
184
+ [32] X. Liu, R. Jonschkowski, A. Angelova, and K. Konolige. Keypose: Multi-view 3d labeling and keypoint estimation for transparent objects. In The IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 11602–11610, 2020.
185
+ [33] K. Zakka, A. Zeng, J. Lee, and S. Song. Form2fit: Learning shape priors for generalizable assembly from disassembly. In 2020 IEEE International Conference on Robotics and Automation (ICRA), pages 9404–9410. IEEE, 2020.
186
+ [34] S. Song, A. Zeng, J. Lee, and T. Funkhouser. Grasping in the wild: Learning 6dof closedloop grasping from low-cost demonstrations. IEEE Robotics and Automation Letters, 5(3): 4978–4985, 2020.
187
+ [35] Y. Wu, W. Yan, T. Kurutach, L. Pinto, and P. Abbeel. Learning to Manipulate Deformable Objects without Demonstrations. In Proceedings of Robotics: Science and Systems (RSS), 2020.
188
+ [36] L. Yen-Chen, A. Zeng, S. Song, P. Isola, and T.-Y. Lin. Learning to see before learning to act: Visual pre-training for manipulation. In IEEE International Conference on Robotics and Automation (ICRA), 2020.
189
+ [37] A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, L. Kaiser, and I. Polosukhin. Attention is all you need. In Advances in Neural Information Processing Systems (NeuRIPS), 2017.
190
+ [38] J. Devlin, M. W. Chang, K. Lee, and K. Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the Conference of the North American Chapter of the Association for Computational Linguistics (NAACL), 2018.
191
+ [39] A. Dosovitskiy, L. Beyer, A. Kolesnikov, D. Weissenborn, X. Zhai, T. Unterthiner, M. Dehghani, M. Minderer, G. Heigold, S. Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. In International Conference on Learning Representations, 2020.
192
+ [40] F. Yu, J. Tang, W. Yin, Y. Sun, H. Tian, H. Wu, and H. Wang. Ernie-vil: Knowledge enhanced vision-language representations through scene graph. arXiv preprint arXiv:2006.16934, 2020.
193
+ [41] Y. Bisk, D. Yuret, and D. Marcu. Natural language communication with robots. In Proceedings of the North American Chapter of the Association for Computational Linguistics (NAACL), pages 751–761, 2016.
194
+ [42] J. Thomason, S. Zhang, R. J. Mooney, and P. Stone. Learning to interpret natural language commands through human-robot dialog. In Twenty-Fourth International Joint Conference on Artificial Intelligence (IJCAI), 2015.
195
+ [43] J. Hatori, Y. Kikuchi, S. Kobayashi, K. Takahashi, Y. Tsuboi, Y. Unno, W. Ko, and J. Tan. Interactively picking real-world objects with unconstrained spoken language instructions. In Proceedings of International Conference on Robotics and Automation (ICRA), 2018.
196
+ [44] Y. Chen, R. Xu, Y. Lin, and P. A. Vela. A Joint Network for Grasp Detection Conditioned on Natural Language Commands. arXiv:2104.00492 [cs], Apr. 2021.
197
+ [45] V. Blukis, R. A. Knepper, and Y. Artzi. Few-shot object grounding for mapping natural language instructions to robot control. In Conference on Robot Learning (CoRL), 2020.
198
+ [46] C. Paxton, Y. Bisk, J. Thomason, A. Byravan, and D. Fox. Prospection: Interpretable plans from language by predicting the future. In International Conference on Robotics and Automation (ICRA), pages 6942–6948. IEEE, 2019.
199
+ [47] S. Tellex, T. Kollar, S. Dickerson, M. Walter, A. Banerjee, S. Teller, and N. Roy. Understanding natural language commands for robotic navigation and mobile manipulation. In Proceedings of the AAAI Conference on Artificial Intelligence (AAAI), 2011.
200
+ [48] C. Lynch and P. Sermanet. Grounding language in play. arXiv preprint arXiv:2005.07648, 2020.
201
+ [49] K. Simonyan and A. Zisserman. Two-stream convolutional networks for action recognition in videos. arXiv preprint arXiv:1406.2199, 2014.
202
+ [50] C. Feichtenhofer, A. Pinz, and A. Zisserman. Convolutional two-stream network fusion for video action recognition. In The IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 1933–1941, 2016.
203
+ [51] C. Feichtenhofer, H. Fan, J. Malik, and K. He. Slowfast networks for video recognition. In Proceedings of the IEEE/CVF International Conference on Computer Vision (CVPR), pages 6202–6211, 2019.
204
+ [52] E. Kazakos, A. Nagrani, A. Zisserman, and D. Damen. Slow-fast auditory streams for audio recognition. In ICASSP 2021-2021 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 855–859. IEEE, 2021.
205
+ [53] F. Xiao, Y. J. Lee, K. Grauman, J. Malik, and C. Feichtenhofer. Audiovisual slowfast networks for video recognition. arXiv preprint arXiv:2001.08740, 2020.
206
+ [54] A. Zeng, S. Song, K.-T. Yu, E. Donlon, F. R. Hogan, M. Bauza, D. Ma, O. Taylor, M. Liu, E. Romo, et al. Robotic pick-and-place of novel objects in clutter with multi-affordance grasping and cross-domain image matching. In 2018 IEEE international conference on robotics and automation (ICRA), pages 3750–3757. IEEE, 2018.
207
+ [55] E. Jang, S. Vijayanarasimhan, P. Pastor, J. Ibarz, and S. Levine. End-to-end learning of semantic grasping. In Conference on Robot Learning (CoRL), Proceedings of Machine Learning Research. PMLR, 2017.
208
+ [56] R. Kondor and S. Trivedi. On the generalization of equivariance and convolution in neural networks to the action of compact groups. In International Conference on Machine Learning (ICML), 2018.
209
+ [57] T. Cohen and M. Welling. Group equivariant convolutional networks. In International conference on machine learning (ICML), 2016.
210
+ [58] D. Misra, A. Bennett, V. Blukis, E. Niklasson, M. Shatkhin, and Y. Artzi. Mapping instructions to actions in 3d environments with visual goal prediction. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing (EMNLP), 2018.
211
+ [59] G. Goh, N. C. †, C. V. †, S. Carter, M. Petrov, L. Schubert, A. Radford, and C. Olah. Multimodal neurons in artificial neural networks. Distill, 2021. doi:10.23915/distill.00030. https://distill.pub/2021/multimodal-neurons.
212
+ [60] E. Coumans and Y. Bai. Pybullet, a python module for physics simulation for games, robotics and machine learning. 2016.
213
+ [61] Google scanned objects dataset, 2020. URL https://app.ignitionrobotics.org/ GoogleResearch/fuel/collections/Google%20Scanned%20Objects.
214
+ [62] K. He, X. Zhang, S. Ren, and J. Sun. Deep residual learning for image recognition. In The IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 770–778, 2016.
215
+ [63] J. Lu, V. Goswami, M. Rohrbach, D. Parikh, and S. Lee. 12-in-1: Multi-task vision and language representation learning. In The IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), June 2020.
216
+ [64] A. Paszke, S. Gross, F. Massa, A. Lerer, J. Bradbury, G. Chanan, T. Killeen, Z. Lin, N. Gimelshein, L. Antiga, et al. Pytorch: An imperative style, high-performance deep learning library. arXiv preprint arXiv:1912.01703, 2019.
217
+ [65] V. Sanh, L. Debut, J. Chaumond, and T. Wolf. Distilbert, a distilled version of bert: smaller, faster, cheaper and lighter. arXiv preprint arXiv:1910.01108, 2019.
218
+ [66] J. Deng, W. Dong, R. Socher, L.-J. Li, K. Li, and L. Fei-Fei. Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pages 248–255. Ieee, 2009.
219
+ [67] J. Mao, C. Gan, P. Kohli, J. B. Tenenbaum, and J. Wu. The neuro-symbolic concept learner: Interpreting scenes, words, and sentences from natural supervision. arXiv preprint arXiv:1904.12584, 2019.
220
+ [68] D. Ding, F. Hill, A. Santoro, and M. Botvinick. Object-based attention for spatio-temporal reasoning: Outperforming neuro-symbolic models with flexible distributed architectures. arXiv preprint arXiv:2012.08508, 2020.
221
+ [69] E. M. Bender, T. Gebru, A. McMillan-Major, and S. Shmitchell. On the dangers of stochastic parrots: Can language models be too big? In Proceedings of the 2021 ACM Conference on Fairness, Accountability, and Transparency, pages 610–623, 2021.
parse/train/9uFiX_HRsIL/9uFiX_HRsIL_content_list.json ADDED
@@ -0,0 +1,871 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "CLIPORT: What and Where Pathways for Robotic Manipulation ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 261,
8
+ 102,
9
+ 738,
10
+ 151
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Mohit Shridhar 1,† Lucas Manuelli 2 Dieter Fox 1,2 1University of Washington 2NVIDIA mshr@cs.washington.edu lmanuelli@nvidia.com fox@cs.washington.edu ",
17
+ "bbox": [
18
+ 235,
19
+ 176,
20
+ 761,
21
+ 219
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "cliport.github.io ",
28
+ "bbox": [
29
+ 413,
30
+ 232,
31
+ 584,
32
+ 247
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "Abstract: How can we imbue robots with the ability to manipulate objects precisely but also to reason about them in terms of abstract concepts? Recent works in manipulation have shown that end-to-end networks can learn dexterous skills that require precise spatial reasoning, but these methods often fail to generalize to new goals or quickly learn transferable concepts across tasks. In parallel, there has been great progress in learning generalizable semantic representations for vision and language by training on large-scale internet data, however these representations lack the spatial understanding necessary for fine-grained manipulation. To this end, we propose a framework that combines the best of both worlds: a two-stream architecture with semantic and spatial pathways for vision-based manipulation. Specifically, we present CLIPORT, a language-conditioned imitationlearning agent that combines the broad semantic understanding (what) of CLIP [1] with the spatial precision (where) of Transporter [2]. Our end-to-end framework is capable of solving a variety of language-specified tabletop tasks from packing unseen objects to folding cloths, all without any explicit representations of object poses, instance segmentations, memory, symbolic states, or syntactic structures. Experiments in simulated and real-world settings show that our approach is data efficient in few-shot settings and generalizes effectively to seen and unseen semantic concepts. We even learn one multi-task policy for 10 simulated and 9 real-world tasks that is better or comparable to single-task policies. ",
39
+ "bbox": [
40
+ 233,
41
+ 260,
42
+ 764,
43
+ 536
44
+ ],
45
+ "page_idx": 0
46
+ },
47
+ {
48
+ "type": "text",
49
+ "text": "1 Introduction ",
50
+ "text_level": 1,
51
+ "bbox": [
52
+ 174,
53
+ 549,
54
+ 310,
55
+ 565
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "Ask a person to “get a scoop of coffee beans” or “fold the cloth in half” and they can naturally take concepts like scoop or fold and ground them in concrete physical actions within an accuracy of a few centimeters. We humans do this intuitively, without explicit geometric or kinematic models of coffee beans or cloths. Moreover, we can generalize to a broad range of tasks and concepts from a minimal set of examples on what needs to be achieved. How can we imbue robots with this ability to efficiently ground abstract semantic concepts in precise spatial reasoning? ",
62
+ "bbox": [
63
+ 174,
64
+ 575,
65
+ 825,
66
+ 659
67
+ ],
68
+ "page_idx": 0
69
+ },
70
+ {
71
+ "type": "text",
72
+ "text": "Recently, a number of end-to-end frameworks have been proposed for vision-based manipulation [2, 3, 4, 5]. While these methods do not use any explicit representations of object poses, instance segmentations, or symbolic states, they can only replicate demonstrations with a narrow range of variability and have no notion of the semantics underlying the tasks. Switching from packing red pens to blue pens involves collecting a new training set [2], or if using goal-conditioned policies, involves the user providing a goal-image from the scene [5, 6]. In realistic human-robot interaction settings, collecting additional demonstrations or providing goal-images is often infeasible and unscalable. A natural solution to both these problems is to condition policies with natural language. Language provides an intuitive interface for specifying goals and also for implicitly transferring concepts across tasks. While language-grounding for manipulation has been explored in the past [7, 8, 9, 10], these pipelines are limited by object-centric representations that cannot handle granular or deformable objects and often do not reason about perception and action in an integrated manner. In parallel, there has been great progress in learning models for visual representations [11, 12] and aligning representations of vision and language [13, 14, 15] by training on large-scale internet data. However, these models lack a fine-grained understanding on how to manipulate objects, i.e. physical affordances. ",
73
+ "bbox": [
74
+ 174,
75
+ 665,
76
+ 825,
77
+ 871
78
+ ],
79
+ "page_idx": 0
80
+ },
81
+ {
82
+ "type": "image",
83
+ "img_path": "images/3828e046605da1a58cfd55488e88f64400dd6b7ebfa4e8931b729aba5012e158.jpg",
84
+ "image_caption": [
85
+ "Figure 1. Language-Conditioned Manipulation Tasks: CLIPORT is a broad framework applicable to a wide range of language-conditioned manipulation tasks in tabletop settings. We conduct large-scale experiments in Ravens [2] on 10 simulated tasks (a-j) with 1000s of unique instances per task. See Appendix A for challenges pertaining to each task. CLIPORT can even learn one multi-task model for all 10 tasks that achieves better or comparable performance to single-task models. Similarly, we demonstrate our approach on a Franka Panda manipulator with one multi-task model for 9 real-world tasks (k-o; only 5 shown) trained with just 179 image-action pairs. "
86
+ ],
87
+ "image_footnote": [],
88
+ "bbox": [
89
+ 122,
90
+ 46,
91
+ 882,
92
+ 405
93
+ ],
94
+ "page_idx": 1
95
+ },
96
+ {
97
+ "type": "text",
98
+ "text": "To this end, we propose the first framework that combines the best of both worlds: end-to-end learning for fine-grained manipulation with the multi-goal and multi-task generalization capabilities of vision-language grounding systems. We introduce a two-stream architecture for manipulation with semantic and spatial pathways broadly inspired by (or vaguely analogous to) the two-stream hypothesis in cognitive psychology [16, 17, 18]. Specifically, we present CLIPORT, a languageconditioned imitation-learning agent that integrates the semantic understanding (what) of CLIP [1] with the spatial precision (where) of Transporter [2]. Transporter has been applied to a wide range of rearragement tasks from industrial packing [2] to manipulating deformable objects [6]. The key insight of the approach is formulating tabletop manipulation as a series of pick-and-place affordance predictions, where the objective is to detect actions rather than detect objects and then learn a policy. This action-centric approach to perception [19] is data efficient and effective at circumventing the need for explicit “objectness” in learnt representations. However, Transporter is a tabula rasa system that learns all visual representations from scratch and so every new goal or task requires collecting a new set of demonstrations. To address this problem, we bake in a strong semantic prior while learning policies. We condition our semantic stream with visual and language-goal features from a pre-trained CLIP model [1]. Since CLIP is pre-trained to align image and language features from millions of image-caption pairs from the internet, it provides a powerful prior for grounding semantic concepts that are common across tasks like categories, parts, shapes, colors, texts, and other visual attributes, all without a top-down pipeline that requires bounding boxes or instance segmentations [13, 14, 15, 20]. This allows us to formulate tabletop rearrangement as a series of language-conditioned affordance predictions, a predominantly vision-based inference problem, and thus benefit from the strengths of data-driven paradigms like scale and generalization. ",
99
+ "bbox": [
100
+ 173,
101
+ 477,
102
+ 825,
103
+ 780
104
+ ],
105
+ "page_idx": 1
106
+ },
107
+ {
108
+ "type": "text",
109
+ "text": "To study these benefits, we conduct large-scale experiments in the Ravens [2] framework with a simulated suction-gripper robot. We propose 10 language-conditioned tasks with 1000s of unique instances per task that require both semantic and spatial reasoning (see Figure $1 \\ \\mathrm { a - j }$ ). CLIPORT is not only effective at solving these tasks, but surprisingly, it can even learn a multi-task model for all 10 tasks that achieves better or comparable performance to single-task models. Further, our evaluations indicate that our multi-task model can effectively transfer attributes like “pink block” across tasks, having never seen pink blocks or the word ‘pink’ in the context of the evaluation task. We also demonstrate our approach on a Franka Panda manipulator with one multi-task model for 9 real-world tasks trained with just 179 image-action pairs (see Figure $1 \\ k { - } 0$ ). ",
110
+ "bbox": [
111
+ 174,
112
+ 786,
113
+ 825,
114
+ 911
115
+ ],
116
+ "page_idx": 1
117
+ },
118
+ {
119
+ "type": "text",
120
+ "text": "In summary, our contributions are as follows: ",
121
+ "bbox": [
122
+ 174,
123
+ 92,
124
+ 470,
125
+ 106
126
+ ],
127
+ "page_idx": 2
128
+ },
129
+ {
130
+ "type": "text",
131
+ "text": "• An extended benchmark of language-grounding tasks for manipulation in Ravens [2]. \n• Two-stream architecture for using internet pre-trained vision-language models for conditioning precise manipulation policies with language goals. \n• Empirical results on a broad range of manipulation tasks, including multi-task models, validated with real-robot experiments. ",
132
+ "bbox": [
133
+ 218,
134
+ 111,
135
+ 825,
136
+ 193
137
+ ],
138
+ "page_idx": 2
139
+ },
140
+ {
141
+ "type": "text",
142
+ "text": "The benchmark, code, and pre-trained models are available at: cliport.github.io. ",
143
+ "bbox": [
144
+ 176,
145
+ 198,
146
+ 735,
147
+ 213
148
+ ],
149
+ "page_idx": 2
150
+ },
151
+ {
152
+ "type": "text",
153
+ "text": "2 Related Work ",
154
+ "text_level": 1,
155
+ "bbox": [
156
+ 174,
157
+ 226,
158
+ 323,
159
+ 243
160
+ ],
161
+ "page_idx": 2
162
+ },
163
+ {
164
+ "type": "text",
165
+ "text": "Vision-based Manipulation. Traditionally, perception for manipulation has centered around object detectors, segmentors, and pose estimators [21, 22, 23, 24, 25, 26]. These methods cannot handle deformable objects, granular media, or generalize to unseen objects without object-specific training data. Alternatively, dense descriptors [27, 28, 29] and keypoint representations [30, 31, 32] forgo segmentation and pose representations, but do not reason about sequential actions and struggle to represent scenes with variable numbers of objects. On the other hand, end-to-end perception-toaction models can learn precise sequential policies [2, 4, 6, 33, 34, 35], but these methods have limited understanding of semantic concepts and rely on goal-images to condition policies. In contrast, Yen-Chen et. al [36] showed that pre-training on semantic tasks like classification and segmentation helps in improving efficiency and generalization of grasping predictions. ",
166
+ "bbox": [
167
+ 173,
168
+ 251,
169
+ 825,
170
+ 391
171
+ ],
172
+ "page_idx": 2
173
+ },
174
+ {
175
+ "type": "text",
176
+ "text": "Semantic Models. With the advent of large-scale models [37, 38, 39], a number of methods for learning joint vision and language representations have been proposed [13, 14, 15, 20, 40]. However, these methods are restricted to bounding boxes or instance segmentations, which make them inapplicable for detecting things like piles of coffee beans or squares on a chessboard. Alternatively, works in contrastive learning forgo top-down object-detection and learn continuous representations by pre-training on unlabeled data [11, 12]. Recently, CLIP [1] applied a similar approach to align vision and language representations by training on millions of image-caption pairs from the internet. ",
177
+ "bbox": [
178
+ 173,
179
+ 396,
180
+ 825,
181
+ 494
182
+ ],
183
+ "page_idx": 2
184
+ },
185
+ {
186
+ "type": "text",
187
+ "text": "Language Grounding for Robotics. Several works have proposed systems for instructing robots with natural language [7, 8, 9, 10, 41, 42, 43, 44, 45, 46, 47]. However, these methods use disentangled pipelines for perception and action with the language primarily being used to guide the perception. As such, these pipelines lack the spatial precision necessary for tasks like folding cloths. Recently, Lynch et. al [48] proposed an end-to-end system for grounding language in continuous control, but it requires several hours of human teleoperation data for a single simulated desk setting. ",
188
+ "bbox": [
189
+ 173,
190
+ 500,
191
+ 825,
192
+ 584
193
+ ],
194
+ "page_idx": 2
195
+ },
196
+ {
197
+ "type": "text",
198
+ "text": "Two-Stream Architectures are prevalent in action-recognition networks [49, 50, 51] and audiorecognition systems [52, 53]. In robotics, Zeng et. al [54] and Jang et. al [55] have proposed twostream pipelines for affordance predictions of novel objects. The former requires goal-images and the latter is restricted to one-step grasps with single-category goals. In contrast, our framework provides a rich and intuitive interface with composable language commands for sequential tasks. ",
199
+ "bbox": [
200
+ 174,
201
+ 589,
202
+ 825,
203
+ 659
204
+ ],
205
+ "page_idx": 2
206
+ },
207
+ {
208
+ "type": "text",
209
+ "text": "3 CLIPORT ",
210
+ "text_level": 1,
211
+ "bbox": [
212
+ 174,
213
+ 672,
214
+ 292,
215
+ 689
216
+ ],
217
+ "page_idx": 2
218
+ },
219
+ {
220
+ "type": "text",
221
+ "text": "CLIPORT is an imitation-learning agent based on four key principles: (1) Manipulation through a two-step primitive where each action involves a start and final end-effector pose. (2) Visual representations of actions that are equivariant to translations and rotations [56, 57]. (3) Two separate pathways for semantic and spatial information. (4) Language-conditioned policies for specifying goals and also transferring concepts across tasks. Combining (1) and (2) from Transporter with (3) and (4) allows us to achieve generalizable policies that go beyond just imitating demonstrations. ",
222
+ "bbox": [
223
+ 173,
224
+ 698,
225
+ 825,
226
+ 784
227
+ ],
228
+ "page_idx": 2
229
+ },
230
+ {
231
+ "type": "text",
232
+ "text": "Section 3.1 describes the problem formulation, gives an overview of Transporter [2], and presents our language-conditioned model. Section 3.2 provides details on the training approach. ",
233
+ "bbox": [
234
+ 171,
235
+ 787,
236
+ 823,
237
+ 818
238
+ ],
239
+ "page_idx": 2
240
+ },
241
+ {
242
+ "type": "text",
243
+ "text": "3.1 Language-Conditioned Manipulation ",
244
+ "text_level": 1,
245
+ "bbox": [
246
+ 174,
247
+ 833,
248
+ 472,
249
+ 849
250
+ ],
251
+ "page_idx": 2
252
+ },
253
+ {
254
+ "type": "text",
255
+ "text": "We consider the problem of learning a goal-conditioned policy $\\pi$ that outputs actions $\\mathbf { a } _ { t }$ given input $\\gamma _ { t } = ( \\mathbf { o } _ { t } , \\mathbf { l } _ { t } )$ consisting of a visual observation $\\mathbf { o } _ { t }$ and an English language instruction ${ \\bf l } _ { t }$ : ",
256
+ "bbox": [
257
+ 173,
258
+ 859,
259
+ 825,
260
+ 888
261
+ ],
262
+ "page_idx": 2
263
+ },
264
+ {
265
+ "type": "equation",
266
+ "img_path": "images/e011623dcb5c5c8146678648509e1d77e47b4b598f446a4cd2479ce7abaae3aa.jpg",
267
+ "text": "$$\n\\pi ( \\gamma _ { t } ) = \\pi ( \\mathbf { o } _ { t } , \\mathbf { l } _ { t } ) \\mathbf { a } _ { t } = ( { \\mathcal { T } } _ { \\mathrm { p i c k } } , { \\mathcal { T } } _ { \\mathrm { p l a c e } } ) \\in \\mathcal { A }\n$$",
268
+ "text_format": "latex",
269
+ "bbox": [
270
+ 349,
271
+ 895,
272
+ 648,
273
+ 912
274
+ ],
275
+ "page_idx": 2
276
+ },
277
+ {
278
+ "type": "image",
279
+ "img_path": "images/7096ec9751b6431d9d588d6f507c70933b7da146cf1131293568d69619c96f9b.jpg",
280
+ "image_caption": [
281
+ "Figure 2. CLIPORT Two-Stream Architecture. An overview of the semantic and spatial streams. The semantic stream uses a frozen CLIP ResNet50 [1] to encode RGB input, and its decoder layers are conditioned with tiled language features from the CLIP sentence encoder. The spatial stream encodes RGB-D input, and its decoder layers are laterally fused with the semantic stream. The final output is a map of dense pixelwise features that is used for pick or place affordance predictions. This same two-stream architecture is used in all 3 FullyConvolutional-Networks $f _ { \\mathrm { p i c k } }$ , $\\Phi _ { \\mathrm { q u e r y } }$ , and $\\Phi _ { \\mathrm { k e y } }$ with $f _ { \\mathrm { p i c k } }$ is used to predict pick actions, and $\\Phi _ { \\mathrm { q u e r y } }$ and $\\Phi _ { \\mathrm { k e y } }$ are used to predict place actions. See Appendix C for the exact architecture. "
282
+ ],
283
+ "image_footnote": [],
284
+ "bbox": [
285
+ 98,
286
+ 85,
287
+ 880,
288
+ 359
289
+ ],
290
+ "page_idx": 3
291
+ },
292
+ {
293
+ "type": "text",
294
+ "text": "The actions $\\mathbf { a } = ( T _ { \\mathrm { p i c k } } , T _ { \\mathrm { p l a c e } } )$ specify the end-effector pose for picking and placing, respectively. We consider tabletop tasks where $\\mathcal { T } _ { \\mathrm { p i c k } } , \\mathcal { T } _ { \\mathrm { p l a c e } } \\in \\mathbf { S } \\mathbf { E } ( 2 )$ . The visual observation $\\mathbf { o } _ { t }$ is a top-down orthographic RGB-D reconstruction of the scene where each pixel corresponds to a point in 3D space. The language instruction ${ \\bf l } _ { t }$ either specifies step-by-step instructions e.g. “pack the scissors” “pack the purple tape” etc., or a single goal description for the whole task e.g “pack all the blue and yellow boxes in the brown box”. See Figure 4 for specific examples. ",
295
+ "bbox": [
296
+ 173,
297
+ 440,
298
+ 825,
299
+ 525
300
+ ],
301
+ "page_idx": 3
302
+ },
303
+ {
304
+ "type": "text",
305
+ "text": "We assume access to a dataset $\\mathcal { D } = \\{ \\zeta _ { 1 } , \\zeta _ { 2 } , \\ldots , \\zeta _ { n } \\}$ of $n$ expert demonstrations with associated discrete-time input-action pairs $\\zeta _ { i } = \\{ ( \\mathbf { o } _ { 1 } , \\mathbf { l } _ { 1 } , \\mathbf { a } _ { 1 } ) , ( \\mathbf { o } _ { 2 } , \\mathbf { l } _ { 2 } , \\mathbf { a } _ { 2 } ) , . . . \\}$ where $\\mathbf { a } _ { t } = ( T _ { \\mathrm { p i c k } } , T _ { \\mathrm { p l a c e } } )$ corresponds to expert pick-and-place coordinates at timestep $t$ . These expert demonstrations are used to supervise the policy $\\pi$ . ",
306
+ "bbox": [
307
+ 174,
308
+ 530,
309
+ 825,
310
+ 587
311
+ ],
312
+ "page_idx": 3
313
+ },
314
+ {
315
+ "type": "text",
316
+ "text": "Transporter for Pick-and-Place. The policy $\\pi$ is trained with Transporter [2] to perform spatial manipulation. The model first (i) attends to a local region to decide where to pick, then (ii) computes a placement location by finding the best match through cross-correlation of deep visual features. ",
317
+ "bbox": [
318
+ 174,
319
+ 592,
320
+ 823,
321
+ 635
322
+ ],
323
+ "page_idx": 3
324
+ },
325
+ {
326
+ "type": "text",
327
+ "text": "Following Transporter [2, 6], the policy $\\pi$ is composed of two action-value modules (Q-functions): The pick module $\\mathcal { Q } _ { \\mathrm { p i c k } }$ decides where to pick, and conditioned on this pick action the place module $\\mathcal { Q } _ { \\mathrm { p l a c e } }$ decides where to place. These modules are implemented as Fully-Convolutional-Networks (FCNs) that are translationally equivariant by design. As we will describe in more detail below, we extend these networks to two-stream architectures that can handle language input. The pick FCN $f _ { \\mathrm { p i c k } }$ takes input $\\gamma _ { t } = \\left( \\mathbf { o } _ { t } , \\mathbf { l } _ { t } \\right)$ and outputs a dense pixelwise prediction $\\mathbf { \\bar { \\mathcal { Q } } _ { \\mathrm { p i c k } } } ^ { } \\in \\mathbb { R } ^ { H \\times \\dot { W } }$ of action-values, where are used to predict the pick action $\\tau _ { \\mathrm { p i c k } }$ : ",
328
+ "bbox": [
329
+ 173,
330
+ 640,
331
+ 825,
332
+ 738
333
+ ],
334
+ "page_idx": 3
335
+ },
336
+ {
337
+ "type": "equation",
338
+ "img_path": "images/6b9544840e4983c86df667240465304222924a7efe8dd418f77513806d2c272d.jpg",
339
+ "text": "$$\n\\mathcal { T } _ { \\mathrm { p i c k } } = \\underset { ( u , v ) } { \\mathrm { a r g m a x } } \\ : \\mathcal { Q } _ { \\mathrm { p i c k } } ( ( u , v ) | \\gamma _ { t } )\n$$",
340
+ "text_format": "latex",
341
+ "bbox": [
342
+ 390,
343
+ 739,
344
+ 607,
345
+ 767
346
+ ],
347
+ "page_idx": 3
348
+ },
349
+ {
350
+ "type": "text",
351
+ "text": "Since $\\mathbf { o } _ { t }$ is an orthographic heightmap, each pixel location $( u , v )$ can be mapped to a 3D picking location using the known camera calibration. $f _ { \\mathrm { p i c k } }$ is trained in a supervised manner to predict the pick action $\\mathcal { T } _ { \\mathrm { p i c k } }$ that imitates the expert demonstration with the specified language instruction at timestep $t$ . ",
352
+ "bbox": [
353
+ 174,
354
+ 771,
355
+ 825,
356
+ 828
357
+ ],
358
+ "page_idx": 3
359
+ },
360
+ {
361
+ "type": "text",
362
+ "text": "The second FCN $\\Phi _ { \\mathrm { q u e r y } }$ takes in $\\gamma _ { t } [ \\mathcal { T } _ { \\mathrm { p i c k } } ]$ , which is a $c \\times c$ crop of $\\mathbf { o } _ { t }$ centered at $\\tau _ { \\mathrm { p i c k } }$ along with the language instruction ${ \\bf l } _ { t }$ , and outputs a query feature embedding of shape $\\mathbb { R } ^ { c \\times c \\times d }$ . The third FCN $\\Phi _ { \\mathrm { k e y } }$ consumes the full input $\\gamma _ { t }$ and outputs a key feature embedding of shape $\\mathbb { R } ^ { H \\times W \\times d }$ . The place action-values $\\mathcal { Q } _ { \\mathrm { p l a c e } }$ are then computed by cross-correlating the query and key features: ",
363
+ "bbox": [
364
+ 174,
365
+ 832,
366
+ 825,
367
+ 891
368
+ ],
369
+ "page_idx": 3
370
+ },
371
+ {
372
+ "type": "equation",
373
+ "img_path": "images/d908c4b9f0b5dc88e3dc065fd7cf75a0b7e317db1f2cd2d5b6d4d8814e164bab.jpg",
374
+ "text": "$$\n\\begin{array} { r } { \\mathcal { Q } _ { \\mathrm { p l a c e } } ( \\Delta \\tau | \\gamma _ { t } , \\mathcal { T } _ { \\mathrm { p i c k } } ) = \\left( \\Phi _ { \\mathrm { q u e r y } } ( \\gamma _ { t } [ \\mathcal { T } _ { \\mathrm { p i c k } } ] ) * \\Phi _ { \\mathrm { k e y } } ( \\gamma _ { t } ) \\right) [ \\Delta \\tau ] } \\end{array}\n$$",
375
+ "text_format": "latex",
376
+ "bbox": [
377
+ 310,
378
+ 895,
379
+ 687,
380
+ 914
381
+ ],
382
+ "page_idx": 3
383
+ },
384
+ {
385
+ "type": "text",
386
+ "text": "where $ { \\Delta \\tau } \\in S E ( 2 )$ represents a potential placement pose. Since $\\mathbf { o } _ { t }$ is an orthographic heightmap, rotations in the placement pose $\\Delta \\tau$ can be captured by stacking $k$ discrete angle rotations of the crop before passing it through the query network $\\Phi _ { \\mathrm { q u e r y } }$ . Then $\\begin{array} { r } { \\mathcal { T } _ { \\mathrm { p l a c e } } ^ { \\mathrm { ~ \\tiny ~ \\bar { ~ } ~ } } = \\arg \\operatorname* { m a x } _ { \\Delta \\tau } \\mathcal { Q } _ { \\mathrm { p l a c e } } ( \\Delta \\tau | \\gamma _ { t } , \\mathcal { T } _ { \\mathrm { p i c k } } ) , } \\end{array}$ , where the place module is trained to imitate the placements in the expert demonstrations. For all models, we use $c = 6 4$ , $k = 3 6$ and $d = 3$ . As in Transporter [2, 6], our framework can be extended to handle any motion primitive like pushing, sliding, etc. that can be parameterized by two end-effector poses at each timestep. For more details, we refer the reader to the original paper [2]. ",
387
+ "bbox": [
388
+ 174,
389
+ 92,
390
+ 825,
391
+ 188
392
+ ],
393
+ "page_idx": 4
394
+ },
395
+ {
396
+ "type": "text",
397
+ "text": "Two-Stream Architecture. In CLIPORT, we extend the network architecture of all three FCNs $f _ { \\mathrm { p i c k } }$ , $\\Phi _ { \\mathrm { q u e r y } }$ and $\\Phi _ { \\mathrm { k e y } }$ from Transporter [2] to allow for language input and reasoning about high-level semantic concepts. We extend the FCNs to two-pathways: semantic (ventral) and spatial (dorsal). The semantic stream is conditioned with language features at the bottleneck and fused with intermediate features from the spatial stream. See Figure 2 for an overview of the architecture. ",
398
+ "bbox": [
399
+ 174,
400
+ 194,
401
+ 823,
402
+ 263
403
+ ],
404
+ "page_idx": 4
405
+ },
406
+ {
407
+ "type": "text",
408
+ "text": "The spatial stream is identical to the ResNet architecture in Transporter – a tabula rasa network that takes in RGB-D input $\\mathbf { o } _ { t }$ and outputs dense features through an hourglass encoder-decoder model. The semantic stream uses a frozen pre-trained CLIP ResNet50 [1] to encode the RGB input2 $\\tilde { \\mathbf { o } } _ { t }$ up until the penultimate layer $\\tilde { \\mathbf { o } } _ { t } \\mathbf { v } _ { t } ^ { ( 0 ) } : \\mathbb { R } ^ { 7 \\times 7 \\times 2 0 4 8 }$ and then introduces decoding layers that ! t upsample the feature tensors to mimic the spatial stream $\\mathbf { v } _ { t } ^ { ( l - 1 ) } \\to \\mathbf { v } _ { t } ^ { ( l ) } : \\mathbb { R } ^ { h \\times w \\times C }$ at each layer $l$ . ",
409
+ "bbox": [
410
+ 174,
411
+ 270,
412
+ 825,
413
+ 340
414
+ ],
415
+ "page_idx": 4
416
+ },
417
+ {
418
+ "type": "text",
419
+ "text": "The language instruction ${ \\bf l } _ { t }$ is encoded with CLIP’s Transformer-based sentence encoder to produce a goal encoding $\\mathbf { l } _ { t } \\mathbf { g } _ { t } : \\mathbb { R } ^ { 1 0 2 4 }$ . This goal encoding $\\mathbf { g } _ { t }$ is downsampled with fully-connected layers to match the channel dimension $C$ and tiled to match the spatial dimensions of the decoder features such that $\\mathbf { g } _ { t } \\ \\to \\ \\mathbf { g } _ { t } ^ { ( l ) } \\ : \\ \\mathbb { R } ^ { h \\times w \\times C }$ . The decoder features are then conditioned with the tiled goal features through an element-wise product $\\mathbf { v } _ { t } ^ { ( l ) } \\odot \\mathbf { g } _ { t } ^ { ( l ) }$ (Hadamard product). Since CLIP was trained with contrastive loss on the dot-product alignment between pooled image features and language encodings, the element-wise product allows us to use this alignment while the tiling preserves the spatial dimensions of the visual features. This language conditioning is repeated for three subsequent layers after the bottleneck inspired by LingUNet [58]. We also add skip connections to these layers from the CLIP ResNet50 encoder to utilize different levels of semantic information from shapes to parts to object-level concepts [59]. Finally, following existing two-stream architectures in videoaction recognition [51], we add lateral connections from the spatial stream to the semantic stream. These connections invothe channel dimension ng , w $1 \\times 1$ uceare $[ \\mathbf { v } _ { t } ^ { ( l ) } \\odot \\mathbf { g } _ { t } ^ { ( l ) } ; \\mathbf { d } _ { t } ^ { ( l ) } ] : \\mathbb { R } ^ { h \\times w \\times C _ { \\mathbf { v } } + C _ { \\mathbf { d } } } \\mathbb { R } ^ { h \\times w \\times \\check { C } _ { \\mathbf { v } } }$ $\\mathbf { v } _ { t } ^ { ( l ) }$ ) and d(l)t the semantic and spatial tensors at layer $l$ , respectively. For the final fusion of dense features, addition for $f _ { \\mathrm { p i c k } }$ and $1 \\times 1$ conv fusion for $\\Phi _ { \\mathrm { q u e r y } }$ and $\\Phi _ { \\mathrm { k e y } }$ worked the best empirically. See Appendix C for details on the exact architecture. ",
420
+ "bbox": [
421
+ 174,
422
+ 345,
423
+ 825,
424
+ 580
425
+ ],
426
+ "page_idx": 4
427
+ },
428
+ {
429
+ "type": "text",
430
+ "text": "3.2 Implementation Details ",
431
+ "text_level": 1,
432
+ "bbox": [
433
+ 176,
434
+ 592,
435
+ 377,
436
+ 606
437
+ ],
438
+ "page_idx": 4
439
+ },
440
+ {
441
+ "type": "text",
442
+ "text": "Training from demonstrations. Similar to Transporter [2] we train CLIPORT through imitation learning from a set of expert demonstrations $\\mathcal { D } = \\{ \\zeta _ { 1 } , \\zeta _ { 2 } , . . . , \\zeta _ { n } \\}$ consisting of discrete-time inputaction pairs $\\zeta _ { i } = \\{ ( \\mathbf { o } _ { 1 } , \\mathbf { \\bar { l } } _ { 1 } , \\mathbf { a } _ { 1 } ) , ( \\mathbf { o } _ { 2 } , \\mathbf { l } _ { 2 } , \\mathbf { a } _ { 2 } ) , \\dots \\}$ . During training, we randomly sample an inputaction pair from the dataset and supervise the model end-to-end with one-hot pixel encodings of demonstration actions $Y _ { \\mathrm { p i c k } } : \\mathbb { R } ^ { H \\times \\dot { W } \\times k }$ and $Y _ { \\mathrm { p l a c e } } : \\mathbb { R } ^ { H \\times W \\times k }$ with $k$ discrete rotations. In simulated experiments with the suction-gripper, we use $k = 1$ for pick actions and $k = 3 6$ for place actions. The model is trained with cross-entropy loss: $\\mathcal { L } = \\dot { - } \\mathbb { E } _ { Y _ { \\mathrm { { p i c k } } } } [ \\log \\mathcal { V } _ { \\mathrm { { p i c k } } } ] - \\mathbb { E } _ { Y _ { \\mathrm { { 0 i c e } } } } [ \\log \\mathcal { \\bar { V } } _ { \\mathrm { { p l a c e } } } ]$ where $\\mathcal { V } _ { \\mathrm { p i c k } } = \\operatorname { s o f t m a x } \\left( \\mathcal { Q } _ { \\mathrm { p i c k } } ( ( u , v ) | \\gamma _ { t } ) \\right)$ and $\\mathcal { V } _ { \\mathrm { p l a c e } } = \\mathrm { s o f t m a x } ( \\mathcal { Q } _ { \\mathrm { p l a c e } } ( ( u ^ { \\prime } , v ^ { \\prime } , \\omega ^ { \\prime } ) | \\gamma _ { t } , \\dot { \\mathcal { T } } _ { \\mathrm { p i c k } } ) )$ . Compared to the original Transporter models that were trained for 40K iterations, we train our models for $2 0 0 \\mathrm { K }$ iterations (with data augmentation; see Appendix E) to account for additional semantic variation in tasks – randomized colors, shapes, objects. All models are trained on a single commodity GPU for 2 days with a batch size of 1. ",
443
+ "bbox": [
444
+ 173,
445
+ 617,
446
+ 825,
447
+ 784
448
+ ],
449
+ "page_idx": 4
450
+ },
451
+ {
452
+ "type": "text",
453
+ "text": "Training multi-task models. Multi-task training is nearly identical to single-task training except for the sampling of training data. First, we randomly sample a task, and then select a random inputaction pair from that task in the dataset. Using this strategy, all tasks are equally likely to be sampled but longer horizon tasks are less likely to reach full coverage of input-action pairs available in the dataset. To compensate for this, we train all multi-task models $3 \\times$ longer for 600K iterations or 6 GPU days. ",
454
+ "bbox": [
455
+ 174,
456
+ 790,
457
+ 825,
458
+ 873
459
+ ],
460
+ "page_idx": 4
461
+ },
462
+ {
463
+ "type": "text",
464
+ "text": "4 Results ",
465
+ "text_level": 1,
466
+ "bbox": [
467
+ 174,
468
+ 89,
469
+ 266,
470
+ 106
471
+ ],
472
+ "page_idx": 5
473
+ },
474
+ {
475
+ "type": "text",
476
+ "text": "We perform experiments both in simulation and hardware aimed at answering the following questions: 1) How effective is the language-conditioned two-stream architecture for fine-grained manipulation compared to one-stream alternatives and other simpler baselines? 2) Is it possible to train a multi-task model for all tasks, and how well does it perform and generalize? 3) How well do these models generalize to seen and unseen semantic attributes like colors, shapes, and object categories? ",
477
+ "bbox": [
478
+ 174,
479
+ 122,
480
+ 825,
481
+ 190
482
+ ],
483
+ "page_idx": 5
484
+ },
485
+ {
486
+ "type": "text",
487
+ "text": "4.1 Simulation Setup ",
488
+ "text_level": 1,
489
+ "bbox": [
490
+ 174,
491
+ 202,
492
+ 333,
493
+ 217
494
+ ],
495
+ "page_idx": 5
496
+ },
497
+ {
498
+ "type": "text",
499
+ "text": "Environment. All simulated experiments are based on a Universal Robot UR5e with a suction gripper. The setup provides a systematic and reproducible environment for evaluation, especially for benchmarking the ability to ground semantic concepts like colors and object categories. The input observation is a top-down RGB-D reconstruction from 3 cameras positioned around a rectangular table: one in the front, one on the left shoulder, and one on the right shoulder, all pointing towards the center. Each camera has a resolution of $6 4 0 \\times 4 8 0$ and is noiseless. ",
500
+ "bbox": [
501
+ 173,
502
+ 224,
503
+ 825,
504
+ 308
505
+ ],
506
+ "page_idx": 5
507
+ },
508
+ {
509
+ "type": "text",
510
+ "text": "Language-Conditioned Manipulation Tasks. We extend the Ravens benchmark [2] set in PyBullet [60] with 10 language-conditioned manipulation tasks. See Figure 1 for examples and Table 3 for challenges associated with each task. Each task instance is constructed by sampling a set of objects and attributes: poses, colors, sizes, and object categories. 8 of the 10 tasks have two variants, denoted by seen and unseen, depending on whether the task has unseen attributes (e.g. color) at test time. For colors: $\\mathbb { T } _ { \\mathrm { s e e n c o l o r s } } = \\{ \\mathtt { y e l l o w }$ , brown, gray, cyan} and $\\mathbb { T } _ { \\mathrm { u n s e e n c o l o r s } } =$ {orange, purple, pink, white $\\}$ with 3 overlapping colors $\\mathbb { T } _ { \\mathrm { a l l } } ~ = ~ \\{ \\mathrm { r e d }$ , green, blue} used in both the seen and unseen spilts. For packing objects, we use 56 tabletop objects from the Google Scanned Objects dataset [61] and split them into 37 seen and 19 unseen objects. The language instructions are constructed from templates for simulated experiments, and human-annotated for real-world experiments. For more details about individual tasks, see Appendix A. ",
511
+ "bbox": [
512
+ 173,
513
+ 314,
514
+ 825,
515
+ 465
516
+ ],
517
+ "page_idx": 5
518
+ },
519
+ {
520
+ "type": "text",
521
+ "text": "Evaluation Metric. We adopt the 0 (fail) to 100 (success) scores proposed in the Ravens benchmark [2]. The score assigns partial credit based on the task, e.g. $3 / 5 \\Rightarrow 6 0 . 0$ for packing 3 out of 5 objects specified in the instructions, or $3 0 / 5 6 \\Rightarrow 5 3 . 6$ for pushing 30 out of 56 particles into the correct zone. See Appendix A for the specific evaluation metric used in each task. During an evaluation episode, an agent keeps interacting with the scene until an oracle indicates task-completion. We report scores on 100 evaluation runs for agents trained with $n = 1 , 1 0$ , 100, 1000 demonstrations. ",
522
+ "bbox": [
523
+ 173,
524
+ 472,
525
+ 825,
526
+ 555
527
+ ],
528
+ "page_idx": 5
529
+ },
530
+ {
531
+ "type": "text",
532
+ "text": "4.2 Simulation Results ",
533
+ "text_level": 1,
534
+ "bbox": [
535
+ 174,
536
+ 565,
537
+ 343,
538
+ 580
539
+ ],
540
+ "page_idx": 5
541
+ },
542
+ {
543
+ "type": "text",
544
+ "text": "Table 1 presents results from our large-scale experiments in Ravens [2] and Figure 3 summarizes these results with average scores across seen and unseen splits. ",
545
+ "bbox": [
546
+ 173,
547
+ 587,
548
+ 387,
549
+ 670
550
+ ],
551
+ "page_idx": 5
552
+ },
553
+ {
554
+ "type": "image",
555
+ "img_path": "images/2c8d085ed4e3b8280f7fea75e44ca5edb6cbae04f83dfd2885faf862f02ac008.jpg",
556
+ "image_caption": [
557
+ "Figure 3. Average scores across seen and unseen splits for all tasks in Table 1. "
558
+ ],
559
+ "image_footnote": [],
560
+ "bbox": [
561
+ 406,
562
+ 560,
563
+ 820,
564
+ 672
565
+ ],
566
+ "page_idx": 5
567
+ },
568
+ {
569
+ "type": "text",
570
+ "text": "Baseline Methods. To study ",
571
+ "text_level": 1,
572
+ "bbox": [
573
+ 174,
574
+ 678,
575
+ 387,
576
+ 690
577
+ ],
578
+ "page_idx": 5
579
+ },
580
+ {
581
+ "type": "text",
582
+ "text": "the effectiveness of our two-stream architecture, we broadly compare against two baselines: Transporter-only and CLIP-only. Transporter-only is the original Transporter [2], or equivalently, the spatial stream of CLIPORT with RGB-D input. Although Transporter-only does not receive any language goals, it shows what can be achieved through chance by exploiting the most likely actions seen during training. On the other hand, CLIP-only is just the semantic stream of CLIPORT with RGB and language input. CLIP-only shows what can be achieved by fine-tuning a pre-trained semantic model for manipulation without spatial information, particularly depth. ",
583
+ "bbox": [
584
+ 173,
585
+ 690,
586
+ 825,
587
+ 787
588
+ ],
589
+ "page_idx": 5
590
+ },
591
+ {
592
+ "type": "text",
593
+ "text": "Two-Stream Performance. Figure 3 (seen) captures the essence of our main claims. The performance of Transporter-only saturates at $5 0 \\%$ since it doesn’t use the language instruction to ground the desired goal. CLIP-only does have a goal, but lacks the spatial precision to go the last mile and thus saturates at $7 6 \\%$ . Only CLIPORT (single) achieves more than $9 0 \\%$ , which indicates that both the semantic and spatial streams are crucial for fine-grained manipulation. Further, CLIPORT (single) achieves $8 6 \\%$ on most tasks with just 100 demonstrations, showcasing its efficiency. ",
594
+ "bbox": [
595
+ 174,
596
+ 794,
597
+ 825,
598
+ 877
599
+ ],
600
+ "page_idx": 5
601
+ },
602
+ {
603
+ "type": "text",
604
+ "text": "In addition to these baselines, we present various ablations and alternative one-stream and twostream models in Appendix F. To briefly summarize these results, CLIP is essential for few-shot ",
605
+ "bbox": [
606
+ 174,
607
+ 883,
608
+ 821,
609
+ 911
610
+ ],
611
+ "page_idx": 5
612
+ },
613
+ {
614
+ "type": "table",
615
+ "img_path": "images/e9189627928d3453b6e6a9b4c096c917ef1b617bf4768eccb992e241a5c360c8.jpg",
616
+ "table_caption": [],
617
+ "table_footnote": [],
618
+ "table_body": "<table><tr><td></td><td colspan=\"4\">packing-box-pairs seen-colors</td><td colspan=\"4\">packing-box-pairs unseen-colors</td><td colspan=\"4\">packing-seen-google objects-seq</td><td colspan=\"4\">packing-unseen-google objects-seq</td><td colspan=\"4\">packing-seen-google objects-group</td><td colspan=\"4\">packing-unseen-google objects-group</td></tr><tr><td>Method</td><td>1</td><td>10</td><td>100</td><td>1000</td><td>1 10</td><td>100</td><td>1000</td><td>1</td><td>10</td><td>100</td><td>1000</td><td>1</td><td>10</td><td>100</td><td>1000</td><td>1</td><td>10</td><td>100</td><td>1000</td><td>1</td><td>10</td><td>100</td><td>1000</td></tr><tr><td>Transporter-only [2]</td><td>44.2 55.2 54.2</td><td></td><td></td><td></td><td></td><td></td><td>54.1</td><td>26.2 39.7</td><td></td><td>45.4</td><td></td><td></td><td>19.9 29.8</td><td>28.7</td><td>37.3</td><td></td><td></td><td></td><td>59.9</td><td></td><td></td><td>46.2 54.7 49.8</td><td></td></tr><tr><td>CLIP-only</td><td></td><td></td><td></td><td>52.4</td><td>34.648.747.2</td><td></td><td></td><td></td><td></td><td></td><td>46.3</td><td></td><td></td><td></td><td></td><td></td><td>60.0 54.3 61.5</td><td></td><td></td><td></td><td></td><td></td><td>:52.0</td></tr><tr><td>RN50-BERT</td><td></td><td></td><td></td><td></td><td>38.6 69.7 88.5 87.1 33.0 65.5 68.8</td><td></td><td>61.2</td><td></td><td>29.1 67.9</td><td>)89.3</td><td>95.8</td><td></td><td></td><td></td><td>37.1 49.4 60.4 57.8</td><td></td><td>52.5 62.0 89.6 92.7</td><td></td><td></td><td></td><td></td><td></td><td>43.465.9 73.1 70.0</td></tr><tr><td>CLIPORT (single)</td><td></td><td></td><td></td><td></td><td>36.2 64.0 94.7 90.3 31.4 52.7 65.6</td><td></td><td>72.1</td><td></td><td>32.948.4 87.9 94.0</td><td></td><td></td><td></td><td></td><td></td><td>)29.348.548.356.1 71.9</td><td>52.7</td><td></td><td></td><td></td><td></td><td></td><td></td><td>46.452.9 76.586.4 43.2 52.0 66.3 73.7</td></tr><tr><td>CLIPORT (multi)</td><td colspan=\"4\">51.6 82.9 92.7 66.888.694.196.659.0 69.776.271.441.678.485.084.4 40.751.165.870.371.384.689.68.368.4 69.678.480.3</td><td colspan=\"4\">98.2 45.6 65.3 68.6 71.5</td><td colspan=\"4\"></td><td colspan=\"4\">14.8 59.5 86.8 96.2 27.2 50.0 65.5</td><td colspan=\"4\">67.0 84.1</td><td colspan=\"4\">94.061.5 66.2 78.4 81.5</td></tr><tr><td rowspan=\"4\"> CLIPORT (multi-attr)</td><td colspan=\"4\"></td><td colspan=\"4\">46.2 72.0 86.2 80.3</td><td colspan=\"4\"></td><td colspan=\"4\">35.4 45.1 78.9 87.4</td><td colspan=\"4\"></td><td colspan=\"4\">48.6 69.3 84.8 89.1</td></tr><tr><td></td><td>stack-block-pyramid seq-seen-colors</td><td></td><td></td><td>stack-block-pyramid</td><td>seq-unseen-colors</td><td></td><td></td><td>separating-piles seen-colors</td><td></td><td></td><td></td><td>separating-piles unseen-colors</td><td></td><td></td><td></td><td>towers-of-hanoi</td><td></td><td></td><td></td><td></td><td>towers-of-hanoi</td><td></td></tr><tr><td>1</td><td>10</td><td>100</td><td>1000</td><td>1</td><td>10</td><td>100</td><td>1000 1</td><td>10</td><td>100</td><td>1000</td><td></td><td>10</td><td></td><td>1000</td><td>1</td><td>seq-seen-colors 10</td><td></td><td></td><td></td><td></td><td></td><td>seq-unseen-colors</td></tr><tr><td></td><td>4.5</td><td>2.3</td><td>5.2 4.5</td><td>3.0</td><td>4.0</td><td>2.3</td><td>5.8</td><td>42.7</td><td>52.3</td><td>42.0</td><td>48.4</td><td>1 41.2 49.2</td><td></td><td>100 44.7</td><td>52.3</td><td>67.9</td><td>98.0</td><td>100 1000 99.9</td><td></td><td>1</td><td>10 100 24.344.671.7 80.7</td><td>1000</td></tr><tr><td>Transporter-only [2] CLIP-only</td><td>6.328.7 55.7 54.8</td><td></td><td></td><td></td><td>2.012.2</td><td>18.3</td><td></td><td>19.543.5</td><td>55.0</td><td>84.9 90.25</td><td></td><td>59.949.6</td><td></td><td>73.0</td><td>71.0</td><td>25.4 9.4</td><td>52.6 88.645.3</td><td></td><td></td><td></td><td></td><td></td><td>24.747.067.0 58.0</td></tr><tr><td>RN50-BERT CLIPORT (single)</td><td>5.335.0 89.097.5 28.364.7 93.3 98.8</td><td></td><td></td><td></td><td>6.2 12.2 13.7 24.3</td><td>21.5 31.2</td><td>30.7 41.3</td><td>31.8 47.8 54.5 59.5</td><td></td><td>93.1</td><td>98.0</td><td>)47.2</td><td>46.546.533.444.4 51.0</td><td>41.3 76.6</td><td>44.9 75.2</td><td>59.4</td><td>28.0 66.1 92.9</td><td>91.392.1 97.4100</td><td></td><td>56.1</td><td></td><td></td><td>17.4 75.1 85.3 89.3 89.7 95.9 99.4</td></tr><tr><td>CLIPORT (multi)</td><td>33.5 75.3 96.8 96.5 23.3 26.831.7 22.2 48.9 72.4 90.3 89.0 56.6 62.6 64.9 62.8</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>49.9 51.8 48.2 59.8</td><td></td><td></td><td></td><td></td><td>61.6 96.3 98.7 98.1</td><td></td><td></td><td></td><td></td><td></td><td>60.1 65.6 76.7 68.7</td></tr><tr><td> CLIPORT (multi-attr)</td><td>一</td><td></td><td></td><td></td><td></td><td></td><td>15.5 51.5 59.3 79.8</td><td>assembling-kits-seq</td><td></td><td></td><td></td><td>assembling-kits-seq</td><td></td><td></td><td></td><td>put-blocks-in-bowls</td><td></td><td></td><td></td><td></td><td></td><td></td><td>56.7 78.0 88.3 96.9 put-blocks-in-bowls</td></tr><tr><td></td><td></td><td>align-rope</td><td></td><td></td><td> packing-unseen-shapes</td><td></td><td></td><td></td><td>seen-colors</td><td></td><td></td><td></td><td></td><td>unseen-colors</td><td></td><td></td><td>seen-colors</td><td></td><td></td><td></td><td></td><td>unseen-colors</td><td></td></tr><tr><td>Transporter-only [2]</td><td>1</td><td>10</td><td>100</td><td>1000</td><td>1</td><td>10 100</td><td>1000</td><td>1</td><td>10</td><td>100</td><td>1000</td><td>1</td><td>10</td><td>100</td><td>1000</td><td>1</td><td>10</td><td>100</td><td>1000</td><td>1</td><td>10</td><td>100</td><td>1000</td></tr><tr><td>CLIP-only</td><td>6.930.633.1</td><td></td><td></td><td>51.5</td><td></td><td>16.0 20.0 22.0</td><td>22.0</td><td>5.8</td><td>11.6</td><td></td><td>28.6 29.6</td><td>7.8</td><td>17.6</td><td>25.6</td><td>28.4</td><td>16.8 333.3 62.7</td><td></td><td></td><td>64.7</td><td>11.7</td><td></td><td>17.2 14.8</td><td>18.7 11.2 34.2 33.2 44.5</td></tr><tr><td>RN50-BERT CLIPORT (single)</td><td></td><td>3.125.063.8</td><td>13.4 48.7 70.4</td><td>70.7 57.1</td><td>19.0 25.0</td><td>13.0 28.0 44.0 32.0</td><td>50.0 44.0</td><td>0.8 2.2</td><td>9.2 5.6</td><td>19.8 11.6</td><td>23.0 21.8</td><td>2.0 1.6</td><td>4.6 6.4</td><td>10.8 10.4</td><td>19.8 18.4</td><td>23.5 60.2 93.5 13.8 44.581.2</td><td></td><td>91.8</td><td>97.7</td><td></td><td></td><td></td><td>223.030.323.8</td></tr><tr></table>",
619
+ "bbox": [
620
+ 88,
621
+ 53,
622
+ 882,
623
+ 395
624
+ ],
625
+ "page_idx": 6
626
+ },
627
+ {
628
+ "type": "text",
629
+ "text": "Table 1. Language-Conditioned Test Results. Task success scores (mean $\\%$ ) from 100 evaluation instances vs. # of training demonstrations (1, 10, 100, or 1000). The challenges pertaining to each task are described in Appendix A. CLIPORT (single) models are trained on seen splits, and evaluated on both seen and unseen splits. CLIPORT (multi) models are trained on seen splits of all 10 tasks with 1T, 10T, 100T, and 1000T demonstrations where $\\mathbb { T } = 1 0$ . CLIPORT (multi-attr) indicate CLIPORT (multi) models trained on seen-and-unseen splits from all tasks except for that one particular heldout task, for which it is trained only the seen split. See Figure 3 for an overview with average scores. ",
630
+ "bbox": [
631
+ 174,
632
+ 398,
633
+ 825,
634
+ 450
635
+ ],
636
+ "page_idx": 6
637
+ },
638
+ {
639
+ "type": "text",
640
+ "text": "learning (i.e. $n \\geq 1 0 .$ ) in lieu of semantic stream alternatives like ImageNet-trained ResNet50 [62] with BERT [38]. Image-goal models outperform CLIPORT (single) in packing Google objects, but this is only because they do not have to solve the language-grounding problem. ",
641
+ "bbox": [
642
+ 174,
643
+ 455,
644
+ 825,
645
+ 498
646
+ ],
647
+ "page_idx": 6
648
+ },
649
+ {
650
+ "type": "text",
651
+ "text": "Multi-Task Performance. In realistic scenarios, we want the robot to be capable of any task, not just one task. We investigate this through CLIPORT (multi) in Table 1 with one multi-task model trained on all 10 tasks. CLIPORT (multi) models are trained only on seen-splits of tasks, so an unseen attribute like ‘pink’ is consistent throughout single and multi-task settings. Surprisingly, CLIPORT (multi) outperforms single-task CLIPORT (single) models in $4 1 / 7 2 = 5 7 \\%$ of the evaluations in Table 1. This trend is also evident in Figure 3 (seen), especially in instances with 100 demonstrations or less. Although CLIPORT (multi) is trained on more diverse data from other tasks, both CLIPORT (multi) and CLIPORT (single) have access to the same amount of data per task. This supports our premise that language is a strong conditioning mechanism for reusing concepts from other tasks without learning them from scratch. It also validates a trait of data-driven approaches where training on lots of diverse data leads to more robust and generalizable representations [1, 63]. However, CLIPORT (multi) performs worse on longer-horizon tasks like align-rope. We hypothesize that this is because longer-horizon tasks get less coverage of input-action pairs in the dataset. Future works could use better sampling methods that balance tasks according to their average time horizon. ",
652
+ "bbox": [
653
+ 174,
654
+ 505,
655
+ 825,
656
+ 698
657
+ ],
658
+ "page_idx": 6
659
+ },
660
+ {
661
+ "type": "text",
662
+ "text": "Generalizing to Unseen Attributes. Tasks that require generalizing to novel colors, shapes, and objects are more difficult and all our agents achieve relatively lower performance on these tasks, as shown in Figure 3 (unseen). However, CLIPORT (single) models do substantially better than chance, i.e., Transporter-only. The lower performances are due to the difficulty of grounding unseen attributes such as ‘pink’ and ‘orange’ in the language instruction “put the pink block on the orange bowl”, when the agent has never encountered words ‘orange’, ‘pink’ or their corresponding visual characteristics in the context of the physical environment. Although pre-trained CLIP has been exposed to the attribute ‘pink’, it could correspond to different concepts in the physical setting depending on factors like lighting condition, and thus requires at least few examples to condition the trainable semantic decoder layers. Additionally, we notice that CLIPORT (single) is also less prone to overfitting compared to Transporter-only. As evidenced in towers-of-hanoi-seq-unseen-colors task in Table 1, Transporter-only suffers from a performance drop because of rings with unseen colors despite the fact that Tower of Hanoi can be solved without attending to the colors and simply focusing on the ring size. We hypothesize that since CLIP was trained on diverse internet data, it enables our agent to focus on task-relevant concepts while ignoring irrelevant aspects of the task. ",
663
+ "bbox": [
664
+ 173,
665
+ 705,
666
+ 825,
667
+ 911
668
+ ],
669
+ "page_idx": 6
670
+ },
671
+ {
672
+ "type": "image",
673
+ "img_path": "images/2d3a3c5d8f1664e75fb4cd0744b2b47254beccd56c4e1c6aecb38ce7542f4319.jpg",
674
+ "image_caption": [
675
+ "Figure 4. Affordance predictions from CLIPORT (multi) models in sim (left two) and real settings (right three). More examples in Appendix H. "
676
+ ],
677
+ "image_footnote": [],
678
+ "bbox": [
679
+ 99,
680
+ 83,
681
+ 872,
682
+ 286
683
+ ],
684
+ "page_idx": 7
685
+ },
686
+ {
687
+ "type": "text",
688
+ "text": "Transferring Attributes across Tasks. One solution for dealing with unseen attributes is to explicitly learn these attributes from other tasks. We study this with CLIPORT (multi-attr) in Table 1 and Figure 3 (unseen). For these models, CLIPORT (multi) is trained on both seen-and-unseen splits from all tasks except for the task being evaluated on, for which it was only trained on the seen split. As such, this evaluation measures whether having seen pink blocks in put-blocks-in-bowl-unseen-colors helps solve “pack all the pink and cyan boxes” in packing-box-pairs-unseen-colors. Results indicate that such explicit transfers result in significant improvements. For instance, on the put-blocks-inbowls-unseen-colors task for $n = 1 0 0 0$ , CLIPORT (multi)’s performance increases from 45.8 to 75.7. ",
689
+ "bbox": [
690
+ 174,
691
+ 320,
692
+ 825,
693
+ 433
694
+ ],
695
+ "page_idx": 7
696
+ },
697
+ {
698
+ "type": "text",
699
+ "text": "4.3 Real-Robot Experiments ",
700
+ "text_level": 1,
701
+ "bbox": [
702
+ 174,
703
+ 443,
704
+ 385,
705
+ 458
706
+ ],
707
+ "page_idx": 7
708
+ },
709
+ {
710
+ "type": "text",
711
+ "text": "We validated our results in hardware with a Franka Panda manipulator. See Appendix D for setup details. Table 2 reports success rates for a multi-task model trained and evaluated on 9 real-world tasks. Due to COVID restrictions, we could not conduct largescale user-studies, so we report on small train (5-10 demos) and test sets (5-10 runs) per task. Overall, CLIPORT (multi) is effective at few-shot learning with just 179 samples, and the performances roughly correspond to those in simulated experiments, with simple block manipulation tasks achieving $\\sim 7 0 \\%$ . We estimate that for more robust real-world performance at least 50 to 100 training demonstrations are necessary, as evident in Figure 3. Interestingly, we observed that the model sometimes exploits biases in the training data instead of learning to ground instructions. For instance, in Put Blocks in Bowl, the training set consisted of only one datapoint on “yellow blocks” being placed inside a “blue bowl”. This made it difficult to condition the model to place “yellow blocks” in non-blue bowls. But instances with just one or two examples where a colored block went to different colored bowls was sufficient to make the model pay attention to the language. In summary, unbiased datasets containing both a good coverage of expected skills and invariances, and a decent number of training demonstrations, are crucial for good real-world performance. ",
712
+ "bbox": [
713
+ 174,
714
+ 468,
715
+ 542,
716
+ 606
717
+ ],
718
+ "page_idx": 7
719
+ },
720
+ {
721
+ "type": "table",
722
+ "img_path": "images/84514c0c502f9587d71db8113f983e9753c22e5a0288768c484c8b94f6bccfe3.jpg",
723
+ "table_caption": [],
724
+ "table_footnote": [
725
+ "Table 2. Success rates $( \\% )$ of a multi-task model trained an evaluated 9 real-world tasks (see Figure 1). Samples indicate total image-action pairs, e.g 1 in Figure 9. "
726
+ ],
727
+ "table_body": "<table><tr><td>Task # Train (Samples) #Test Succ.%</td></tr><tr><td>Stack Blocks</td></tr><tr><td>5 (13) 10 70.0 5(10) 10 65.0</td></tr><tr><td>Put Blocks in Bowl Pack Objects 10 (31) 10 60.0</td></tr><tr><td>Move Rook 4(29) 10 70.0</td></tr><tr><td>Fold Cloth 9(9) 10 57.0</td></tr><tr><td>Read Text 2(26) 10 55.0</td></tr><tr><td>Loop Rope 4(12) 10 60.0</td></tr><tr><td>Sweep Beans 5 (23) 5 60.6</td></tr><tr><td>Pick Cherries 4(26) 5 75.0</td></tr></table>",
728
+ "bbox": [
729
+ 555,
730
+ 454,
731
+ 823,
732
+ 569
733
+ ],
734
+ "page_idx": 7
735
+ },
736
+ {
737
+ "type": "text",
738
+ "text": "",
739
+ "bbox": [
740
+ 174,
741
+ 607,
742
+ 825,
743
+ 731
744
+ ],
745
+ "page_idx": 7
746
+ },
747
+ {
748
+ "type": "text",
749
+ "text": "5 Conclusion ",
750
+ "text_level": 1,
751
+ "bbox": [
752
+ 174,
753
+ 739,
754
+ 299,
755
+ 756
756
+ ],
757
+ "page_idx": 7
758
+ },
759
+ {
760
+ "type": "text",
761
+ "text": "We introduced CLIPORT, an end-to-end framework for language-conditioned fine-grained manipulation. Our experiments, specifically with multi-task models, indicate that data-driven approaches to generalization have yet to be fully-exploited in robotics. Coupled with the right action abstraction and spatio-semantic priors, end-to-end methods can quickly learn new skills without requiring top-down pipelines that need task-specific engineering. ",
762
+ "bbox": [
763
+ 174,
764
+ 766,
765
+ 823,
766
+ 835
767
+ ],
768
+ "page_idx": 7
769
+ },
770
+ {
771
+ "type": "text",
772
+ "text": "While CLIPORT can solve a range of tabletop tasks, extending it to dexterous 6-DOF manipulation that goes beyond the two-step primitive remains a challenge. As such, it cannot handle complex partially-observable scenes, or output continuous control for multi-fingered hands, or predict task-completion (see Appendix I for an extended discussion). But overall, we are excited by the confluence of data and structural priors for building scalable and generalizable robotic systems. ",
773
+ "bbox": [
774
+ 174,
775
+ 842,
776
+ 823,
777
+ 911
778
+ ],
779
+ "page_idx": 7
780
+ },
781
+ {
782
+ "type": "text",
783
+ "text": "Acknowledgments ",
784
+ "text_level": 1,
785
+ "bbox": [
786
+ 174,
787
+ 92,
788
+ 303,
789
+ 106
790
+ ],
791
+ "page_idx": 8
792
+ },
793
+ {
794
+ "type": "text",
795
+ "text": "All simulated experiments were facilitated through the Hyak computing cluster funded by the STF at the University of Washington. We thank Mohak Bhardwaj for help with the Franka setup at UW. We are also grateful to our colleagues Chris Xie, Jesse Thomason, and Valts Blukis for providing feedback on the initial draft. This work was funded in part by ONR under award #1140209-405780. ",
796
+ "bbox": [
797
+ 174,
798
+ 114,
799
+ 825,
800
+ 171
801
+ ],
802
+ "page_idx": 8
803
+ },
804
+ {
805
+ "type": "text",
806
+ "text": "References ",
807
+ "text_level": 1,
808
+ "bbox": [
809
+ 174,
810
+ 191,
811
+ 266,
812
+ 207
813
+ ],
814
+ "page_idx": 8
815
+ },
816
+ {
817
+ "type": "text",
818
+ "text": "[1] A. Radford, J. W. Kim, C. Hallacy, A. Ramesh, G. Goh, S. Agarwal, G. Sastry, A. Askell, P. Mishkin, J. Clark, G. Krueger, and I. Sutskever. Learning Transferable Visual Models From Natural Language Supervision. arXiv:2103.00020 [cs], Feb. 2021. \n[2] A. Zeng, P. Florence, J. Tompson, S. Welker, J. Chien, M. Attarian, T. Armstrong, I. Krasin, D. Duong, V. Sindhwani, and J. Lee. Transporter networks: Rearranging the visual world for robotic manipulation. Conference on Robot Learning (CoRL), 2020. \n[3] I. Akkaya, M. Andrychowicz, M. Chociej, M. Litwin, B. McGrew, A. Petron, A. Paino, M. Plappert, G. Powell, R. Ribas, et al. Solving rubik’s cube with a robot hand. arXiv preprint arXiv:1910.07113, 2019. \n[4] D. Kalashnikov, A. Irpan, P. Pastor, J. Ibarz, A. Herzog, E. Jang, D. Quillen, E. Holly, M. Kalakrishnan, V. Vanhoucke, et al. Qt-opt: Scalable deep reinforcement learning for visionbased robotic manipulation. Conference on Robot Learning (CoRL), 2018. \n[5] D. Kalashnikov, J. Varley, Y. Chebotar, B. Swanson, R. Jonschkowski, C. Finn, S. Levine, and K. Hausman. Mt-opt: Continuous multi-task robotic reinforcement learning at scale. arXiv preprint arXiv:2104.08212, 2021. \n[6] D. Seita, P. Florence, J. Tompson, E. Coumans, V. Sindhwani, K. Goldberg, and A. Zeng. Learning to rearrange deformable cables, fabrics, and bags with goal-conditioned transporter networks. In IEEE International Conference on Robotics and Automation (ICRA), 2021. \n[7] M. Shridhar and D. Hsu. Interactive visual grounding of referring expressions for human-robot interaction. In Proceedings of Robotics: Science and Systems (RSS), 2018. \n[8] C. Matuszek, L. Bo, L. Zettlemoyer, and D. Fox. Learning from unscripted deictic gesture and language for human-robot interactions. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 28, 2014. \n[9] M. Bollini, S. Tellex, T. Thompson, N. Roy, and D. Rus. Interpreting and executing recipes with a cooking robot. In Experimental Robotics, pages 481–495. Springer, 2013. \n[10] D. K. Misra, J. Sung, K. Lee, and A. Saxena. Tell me dave: Context-sensitive grounding of natural language to manipulation instructions. The International Journal of Robotics Research (IJRR), 35(1-3):281–300, 2016. \n[11] T. Chen, S. Kornblith, M. Norouzi, and G. Hinton. A simple framework for contrastive learning of visual representations. In International conference on machine learning, pages 1597–1607. PMLR, 2020. \n[12] K. He, H. Fan, Y. Wu, S. Xie, and R. Girshick. Momentum contrast for unsupervised visual representation learning. In The IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 9729–9738, 2020. \n[13] J. Lu, D. Batra, D. Parikh, and S. Lee. Vilbert: Pretraining task-agnostic visiolinguistic representations for vision-and-language tasks. In Advances in Neural Information Processing Systems (NeuRIPS), 2019. \n[14] Y. C. Chen, L. Li, L. Yu, A. El Kholy, F. Ahmed, Z. Gan, Y. Cheng, and J. Liu. Uniter: Universal image-text representation learning. In European Conference on Computer Vision, pages 104–120. Springer, 2020. \n[15] H. Tan and M. Bansal. Lxmert: Learning cross-modality encoder representations from transformers. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing (EMNLP), 2019. \n[16] D. H. Hubel and T. N. Wiesel. Receptive fields and functional architecture in two nonstriate visual areas (18 and 19) of the cat. Journal of neurophysiology, 28(2):229–289, 1965. \n[17] M. Livingstone and D. Hubel. Segregation of form, color, movement, and depth: anatomy, physiology, and perception. Science, 240(4853):740–749, 1988. \n[18] A. Derrington and P. Lennie. Spatial and temporal contrast sensitivities of neurones in lateral geniculate nucleus of macaque. The Journal of physiology, 357(1):219–240, 1984. \n[19] J. J. Gibson. The ecological approach to visual perception: classic edition. Psychology Press, 2014. \n[20] A. Kamath, M. Singh, Y. LeCun, I. Misra, G. Synnaeve, and N. Carion. Mdetr–modulated detection for end-to-end multi-modal understanding. arXiv preprint arXiv:2104.12763, 2021. \n[21] K. He, G. Gkioxari, P. Dollar, and R. Girshick. Mask r-cnn. In ´ The IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2017. \n[22] Y. Xiang, T. Schmidt, V. Narayanan, and D. Fox. Posecnn: A convolutional neural network for 6d object pose estimation in cluttered scenes. In Proceedings of Robotics: Science and Systems (RSS), 2018. \n[23] M. Zhu, K. G. Derpanis, Y. Yang, S. Brahmbhatt, M. Zhang, C. Phillips, M. Lecce, and K. Daniilidis. Single image 3d object detection and pose estimation for grasping. In 2014 IEEE International Conference on Robotics and Automation (ICRA), pages 3936–3943. IEEE, 2014. \n[24] A. Zeng, K.-T. Yu, S. Song, D. Suo, E. Walker, A. Rodriguez, and J. Xiao. Multi-view selfsupervised deep learning for 6d pose estimation in the amazon picking challenge. In 2017 IEEE international conference on robotics and automation (ICRA), pages 1386–1383. IEEE, 2017. \n[25] X. Deng, Y. Xiang, A. Mousavian, C. Eppner, T. Bretl, and D. Fox. Self-supervised 6d object pose estimation for robot manipulation. In 2020 IEEE International Conference on Robotics and Automation (ICRA), pages 3665–3671. IEEE, 2020. \n[26] C. Xie, Y. Xiang, A. Mousavian, and D. Fox. The best of both modes: Separately leveraging rgb and depth for unseen object instance segmentation. In Conference on Robot Learning (CoRL), pages 1369–1378. PMLR, 2020. \n[27] P. R. Florence, L. Manuelli, and R. Tedrake. Dense object nets: Learning dense visual object descriptors by and for robotic manipulation. In Conference on Robot Learning (CoRL), 2018. \n[28] P. Florence, L. Manuelli, and R. Tedrake. Self-supervised correspondence in visuomotor policy learning. IEEE Robotics and Automation Letters, 5(2):492–499, 2019. \n[29] P. Sundaresan, J. Grannen, B. Thananjeyan, A. Balakrishna, M. Laskey, K. Stone, J. E. Gonzalez, and K. Goldberg. Learning rope manipulation policies using dense object descriptors trained on synthetic depth data. In 2020 IEEE International Conference on Robotics and Automation (ICRA), pages 9411–9418. IEEE, 2020. \n[30] L. Manuelli, W. Gao, P. Florence, and R. Tedrake. kpam: Keypoint affordances for categorylevel robotic manipulation. In International Symposium on Robotics Research (ISRR), 2019. \n[31] T. D. Kulkarni, A. Gupta, C. Ionescu, S. Borgeaud, M. Reynolds, A. Zisserman, and V. Mnih. Unsupervised learning of object keypoints for perception and control. Advances in neural information processing systems (NeuRIPS), 32:10724–10734, 2019. \n[32] X. Liu, R. Jonschkowski, A. Angelova, and K. Konolige. Keypose: Multi-view 3d labeling and keypoint estimation for transparent objects. In The IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 11602–11610, 2020. \n[33] K. Zakka, A. Zeng, J. Lee, and S. Song. Form2fit: Learning shape priors for generalizable assembly from disassembly. In 2020 IEEE International Conference on Robotics and Automation (ICRA), pages 9404–9410. IEEE, 2020. \n[34] S. Song, A. Zeng, J. Lee, and T. Funkhouser. Grasping in the wild: Learning 6dof closedloop grasping from low-cost demonstrations. IEEE Robotics and Automation Letters, 5(3): 4978–4985, 2020. \n[35] Y. Wu, W. Yan, T. Kurutach, L. Pinto, and P. Abbeel. Learning to Manipulate Deformable Objects without Demonstrations. In Proceedings of Robotics: Science and Systems (RSS), 2020. \n[36] L. Yen-Chen, A. Zeng, S. Song, P. Isola, and T.-Y. Lin. Learning to see before learning to act: Visual pre-training for manipulation. In IEEE International Conference on Robotics and Automation (ICRA), 2020. \n[37] A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, L. Kaiser, and I. Polosukhin. Attention is all you need. In Advances in Neural Information Processing Systems (NeuRIPS), 2017. \n[38] J. Devlin, M. W. Chang, K. Lee, and K. Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the Conference of the North American Chapter of the Association for Computational Linguistics (NAACL), 2018. \n[39] A. Dosovitskiy, L. Beyer, A. Kolesnikov, D. Weissenborn, X. Zhai, T. Unterthiner, M. Dehghani, M. Minderer, G. Heigold, S. Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. In International Conference on Learning Representations, 2020. \n[40] F. Yu, J. Tang, W. Yin, Y. Sun, H. Tian, H. Wu, and H. Wang. Ernie-vil: Knowledge enhanced vision-language representations through scene graph. arXiv preprint arXiv:2006.16934, 2020. \n[41] Y. Bisk, D. Yuret, and D. Marcu. Natural language communication with robots. In Proceedings of the North American Chapter of the Association for Computational Linguistics (NAACL), pages 751–761, 2016. \n[42] J. Thomason, S. Zhang, R. J. Mooney, and P. Stone. Learning to interpret natural language commands through human-robot dialog. In Twenty-Fourth International Joint Conference on Artificial Intelligence (IJCAI), 2015. \n[43] J. Hatori, Y. Kikuchi, S. Kobayashi, K. Takahashi, Y. Tsuboi, Y. Unno, W. Ko, and J. Tan. Interactively picking real-world objects with unconstrained spoken language instructions. In Proceedings of International Conference on Robotics and Automation (ICRA), 2018. \n[44] Y. Chen, R. Xu, Y. Lin, and P. A. Vela. A Joint Network for Grasp Detection Conditioned on Natural Language Commands. arXiv:2104.00492 [cs], Apr. 2021. \n[45] V. Blukis, R. A. Knepper, and Y. Artzi. Few-shot object grounding for mapping natural language instructions to robot control. In Conference on Robot Learning (CoRL), 2020. \n[46] C. Paxton, Y. Bisk, J. Thomason, A. Byravan, and D. Fox. Prospection: Interpretable plans from language by predicting the future. In International Conference on Robotics and Automation (ICRA), pages 6942–6948. IEEE, 2019. \n[47] S. Tellex, T. Kollar, S. Dickerson, M. Walter, A. Banerjee, S. Teller, and N. Roy. Understanding natural language commands for robotic navigation and mobile manipulation. In Proceedings of the AAAI Conference on Artificial Intelligence (AAAI), 2011. \n[48] C. Lynch and P. Sermanet. Grounding language in play. arXiv preprint arXiv:2005.07648, 2020. \n[49] K. Simonyan and A. Zisserman. Two-stream convolutional networks for action recognition in videos. arXiv preprint arXiv:1406.2199, 2014. \n[50] C. Feichtenhofer, A. Pinz, and A. Zisserman. Convolutional two-stream network fusion for video action recognition. In The IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 1933–1941, 2016. \n[51] C. Feichtenhofer, H. Fan, J. Malik, and K. He. Slowfast networks for video recognition. In Proceedings of the IEEE/CVF International Conference on Computer Vision (CVPR), pages 6202–6211, 2019. \n[52] E. Kazakos, A. Nagrani, A. Zisserman, and D. Damen. Slow-fast auditory streams for audio recognition. In ICASSP 2021-2021 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 855–859. IEEE, 2021. \n[53] F. Xiao, Y. J. Lee, K. Grauman, J. Malik, and C. Feichtenhofer. Audiovisual slowfast networks for video recognition. arXiv preprint arXiv:2001.08740, 2020. \n[54] A. Zeng, S. Song, K.-T. Yu, E. Donlon, F. R. Hogan, M. Bauza, D. Ma, O. Taylor, M. Liu, E. Romo, et al. Robotic pick-and-place of novel objects in clutter with multi-affordance grasping and cross-domain image matching. In 2018 IEEE international conference on robotics and automation (ICRA), pages 3750–3757. IEEE, 2018. \n[55] E. Jang, S. Vijayanarasimhan, P. Pastor, J. Ibarz, and S. Levine. End-to-end learning of semantic grasping. In Conference on Robot Learning (CoRL), Proceedings of Machine Learning Research. PMLR, 2017. \n[56] R. Kondor and S. Trivedi. On the generalization of equivariance and convolution in neural networks to the action of compact groups. In International Conference on Machine Learning (ICML), 2018. \n[57] T. Cohen and M. Welling. Group equivariant convolutional networks. In International conference on machine learning (ICML), 2016. \n[58] D. Misra, A. Bennett, V. Blukis, E. Niklasson, M. Shatkhin, and Y. Artzi. Mapping instructions to actions in 3d environments with visual goal prediction. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing (EMNLP), 2018. \n[59] G. Goh, N. C. †, C. V. †, S. Carter, M. Petrov, L. Schubert, A. Radford, and C. Olah. Multimodal neurons in artificial neural networks. Distill, 2021. doi:10.23915/distill.00030. https://distill.pub/2021/multimodal-neurons. \n[60] E. Coumans and Y. Bai. Pybullet, a python module for physics simulation for games, robotics and machine learning. 2016. \n[61] Google scanned objects dataset, 2020. URL https://app.ignitionrobotics.org/ GoogleResearch/fuel/collections/Google%20Scanned%20Objects. \n[62] K. He, X. Zhang, S. Ren, and J. Sun. Deep residual learning for image recognition. In The IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 770–778, 2016. \n[63] J. Lu, V. Goswami, M. Rohrbach, D. Parikh, and S. Lee. 12-in-1: Multi-task vision and language representation learning. In The IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), June 2020. \n[64] A. Paszke, S. Gross, F. Massa, A. Lerer, J. Bradbury, G. Chanan, T. Killeen, Z. Lin, N. Gimelshein, L. Antiga, et al. Pytorch: An imperative style, high-performance deep learning library. arXiv preprint arXiv:1912.01703, 2019. \n[65] V. Sanh, L. Debut, J. Chaumond, and T. Wolf. Distilbert, a distilled version of bert: smaller, faster, cheaper and lighter. arXiv preprint arXiv:1910.01108, 2019. \n[66] J. Deng, W. Dong, R. Socher, L.-J. Li, K. Li, and L. Fei-Fei. Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pages 248–255. Ieee, 2009. \n[67] J. Mao, C. Gan, P. Kohli, J. B. Tenenbaum, and J. Wu. The neuro-symbolic concept learner: Interpreting scenes, words, and sentences from natural supervision. arXiv preprint arXiv:1904.12584, 2019. \n[68] D. Ding, F. Hill, A. Santoro, and M. Botvinick. Object-based attention for spatio-temporal reasoning: Outperforming neuro-symbolic models with flexible distributed architectures. arXiv preprint arXiv:2012.08508, 2020. \n[69] E. M. Bender, T. Gebru, A. McMillan-Major, and S. Shmitchell. On the dangers of stochastic parrots: Can language models be too big? In Proceedings of the 2021 ACM Conference on Fairness, Accountability, and Transparency, pages 610–623, 2021. ",
819
+ "bbox": [
820
+ 178,
821
+ 213,
822
+ 826,
823
+ 914
824
+ ],
825
+ "page_idx": 8
826
+ },
827
+ {
828
+ "type": "text",
829
+ "text": "",
830
+ "bbox": [
831
+ 169,
832
+ 75,
833
+ 828,
834
+ 917
835
+ ],
836
+ "page_idx": 9
837
+ },
838
+ {
839
+ "type": "text",
840
+ "text": "",
841
+ "bbox": [
842
+ 171,
843
+ 90,
844
+ 826,
845
+ 919
846
+ ],
847
+ "page_idx": 10
848
+ },
849
+ {
850
+ "type": "text",
851
+ "text": "",
852
+ "bbox": [
853
+ 169,
854
+ 42,
855
+ 828,
856
+ 915
857
+ ],
858
+ "page_idx": 11
859
+ },
860
+ {
861
+ "type": "text",
862
+ "text": "",
863
+ "bbox": [
864
+ 173,
865
+ 90,
866
+ 826,
867
+ 237
868
+ ],
869
+ "page_idx": 12
870
+ }
871
+ ]
parse/train/9uFiX_HRsIL/9uFiX_HRsIL_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/9uFiX_HRsIL/9uFiX_HRsIL_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/BJlgt2EYwr/BJlgt2EYwr.md ADDED
@@ -0,0 +1,266 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # STABILIZING DARTS WITH AMENDED GRADIENT ESTIMATION ON ARCHITECTURAL PARAMETERS
2
+
3
+ Anonymous authors Paper under double-blind review
4
+
5
+ # ABSTRACT
6
+
7
+ Differentiable neural architecture search has been a popular methodology of exploring architectures for deep learning. Despite the great advantage of search efficiency, it often suffers weak stability, which hinders it from being applied to a large search space or being flexibly adjusted to different scenarios. This paper investigates DARTS, the currently most popular differentiable search algorithm, and points out an important factor of instability, which lies in its approximation on the gradients of architectural parameters. In the current status, the optimization algorithm can converge to another point which results in dramatic inaccuracy in the re-training process. Based on this analysis, we propose an amending term for computing architectural gradients by making use of a direct property of the optimality of network parameter optimization. Our approach mathematically guarantees that gradient estimation follows a roughly correct direction, which leads the search stage to converge on reasonable architectures. In practice, our algorithm is easily implemented and added to DARTS-based approaches efficiently. Experiments on CIFAR and ImageNet demonstrate that our approach enjoys accuracy gain and, more importantly, enables DARTS-based approaches to explore much larger search spaces that have not been studied before.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ Neural architecture search (NAS) has been an important topic in the research area of automated machine learning (AutoML). The idea is to replace the manual way of designing neural network architectures with an automatic algorithm, by which deep learning methods become more flexible in fitting complex data distributions, e.g., large-scale image datasets. Early efforts of NAS involved using heuristic search methods such as reinforcement learning (Zoph & Le, 2017; Zoph et al., 2018) and evolutionary algorithms (Real et al., 2017; Xie & Yuille, 2017) to sample networks from a large search space, and optimizing each sampled network individually to evaluate its quality. Despite notable successes obtained by this methodology, it often requires a vast amount of computation, which obstacles its applications in the scenarios of limited resources. Inspired by the idea of reusing and sharing parameters among trained networks, DARTS (Liu et al., 2019b) was designed as a ‘one-shot’ solution of NAS. The major difference from the aforementioned methods is a differentiable formulation of architecture search and an end-to-end mechanism which optimizes model weights (such as convolution) and architectural weights simultaneously. Recently, improvements upon DARTS were made in various aspects (Chen et al., 2019; Xu et al., 2019; Liang et al., 2019), making it a reasonable tradeoff between search cost and performance.
12
+
13
+ Despite its broad applications, the current pipeline of DARTS (or, generally speaking, differentiable NAS approaches) suffers a critical weakness known as instability. Researchers reported (Liang et al., 2019) that DARTS-based algorithms can sometimes generate weird architectures that produce considerably worse accuracy than those generated in other individual runs, or even significantly worse than randomly generated architectures. There indeed exist tricks designed by human expertise (Chen et al., 2019; Nayman et al., 2019; Liang et al., 2019) to alleviate this issue, but we point out that these approaches violated the ideology of NAS, which is to maximally prevent human interventions. Moreover, even with such add-ons, a dramatic property of DARTS persists and has not been studied carefully in prior work. When DARTS, as well as its variants, gets trained for a longer time, e.g., from the default number of 50 epochs to 200 epochs, we surprisingly observe that all these approaches converge to very similar architectures, in which almost all edges are occupied by skip-connect (a.k.a., identity). These architectures, with fewer trainable parameters, are often far from producing high accuracy in particular on large datasets like ImageNet, but they somehow produce sufficiently high validation accuracy in the search stage. In other words, convergence in search often leads to bad performance in re-training. This is why some previous DARTS-based approaches advocated for early termination (Liang et al., 2019), a practical but non-essential solution. Also, we conjecture that early termination also contributes to the lack of stability and, more importantly, trustfulness, of DARTS-based approaches.
14
+
15
+ This paper delves deep into the inconsistency between convergence and performance. We show that the devil lies in optimizing the loss function of the super-network, $\mathcal { L } _ { \mathrm { v a l } } ( \bar { \omega } ^ { \star } ( \alpha ) , \alpha )$ ( $\omega$ and $_ { \pmb { \alpha } }$ denote network and architectural parameters, respectively, and $\omega ^ { \star } ( \alpha )$ is the global optimum of $\omega$ given $_ \alpha$ ), in which ω and α get updated alternately. Following the chain rule, ∇αLval(ω?(α) , α)|α=αt equals to $\nabla _ { \alpha } \mathcal { L } _ { \mathrm { v a l } } ( \omega , \alpha ) | _ { \omega = \omega ^ { \star } ( \alpha _ { t } ) , \alpha = \alpha _ { t } } + \left. \nabla _ { \alpha } \omega ^ { \star } ( \alpha ) \right| _ { \alpha = \alpha _ { t } }$ · $\nabla _ { \omega } \mathcal { L } _ { \mathrm { v a l } } ( \omega , \alpha ) | _ { \omega = \omega ^ { \star } ( \alpha _ { t } ) , \alpha = \alpha _ { t } }$ , in which the first term is easy to compute while the second term is not, mainly because $\omega ^ { \star } ( \alpha )$ is difficult to estimate, and so is the term of ∇αω?(α)|α=αt . DARTS-based approaches performed inaccurate approximation for this purpose, in which the first-order version of DARTS directly discarded the second term – but this term is often numerically significant, and the second-order version of DARTS applied an approximation to this term which is not mathematically guaranteed (see Section 3.4). Consequently, the accuracy of $\nabla _ { \alpha } \mathcal { L } _ { \mathrm { v a l } } \big ( \omega ^ { \star } ( \alpha ) , \alpha \big ) | _ { \alpha = \alpha _ { t } }$ cannot be guaranteed, and hence the update of $_ { \pmb { \alpha } }$ can be problematic. To the best of our knowledge, this issue is not studied by existing DARTS-based approaches.
16
+
17
+ To deal with this problem, we propose an alternative way of computing $\nabla _ { \alpha } \omega ^ { \star } ( \alpha ) | _ { \alpha = \alpha _ { t } }$ . We make use of an important property, i.e., $\nabla _ { \omega } \mathcal { L } _ { \mathrm { t r a i n } } ( \omega , \alpha ) | _ { \omega = \omega ^ { \star } ( \alpha ^ { \dagger } ) , \alpha = \alpha ^ { \dagger } } \ \equiv \ \mathbf { 0 }$ holds for any $\alpha ^ { \dagger }$ , which directly comes from the optimality of $\omega ^ { \star } ( \alpha )$ . Differentiating both sides with respect to $\alpha ^ { \dagger }$ , we obtain a new equality which enables computing derives $\nabla _ { \alpha } \omega ^ { \star } ( \alpha ) | _ { \alpha = \alpha _ { t } }$ with the inverse of the Hesse matrix, $\nabla _ { \omega } ^ { 2 } \mathcal { L } _ { \mathrm { t r a i n } } ( \omega , \alpha ) \big | _ { \omega = \omega ^ { \star } ( \alpha ) , \alpha = \alpha _ { t } }$ . This idea enables us to achieve a more accurate approximation on $\nabla _ { \alpha } \mathcal { L } _ { \mathrm { v a l } } \big ( \omega ^ { \star } ( \alpha ) , \alpha \big ) | _ { \alpha = \alpha _ { t } }$ when $\omega ^ { \star } ( \alpha )$ is not available. Mathematically, we prove that when we have $\omega ^ { \mathrm { e s t } } \approx \omega ^ { \star } ( \alpha _ { t } )$ , the inner angle between the second term and our approximate term is smaller than 90 degrees. Note that this property does not hold in existing DARTS-based algorithms. Our final solution involves using the amended second term of ∇αLval(ω?(α) , α)|α=αt meanwhile keeping the first term unchanged, which goes one step further in optimizing the supernetwork, which reflects in a higher validation accuracy in the search stage.
18
+
19
+ Our approach is very easily implemented. The overall computational overhead is comparable to the second-order version of DARTS. Experiments are performed on image classification, with popular datasets including CIFAR and ImageNet being used. In all experiments, we allow the search stage to come to a complete convergence and report competitive accuracy among current state-of-thearts. The stability of our approach also enables us to close the gap between hyper-parameters of search and evaluation, as well as explore more complex search spaces, which are believed to be correct directions of NAS but existing DARTS-based approaches would mostly fail. Therefore, we believe our algorithm can expand the application scenario of differentiable NAS methods in particular DARTS-based approaches.
20
+
21
+ The remainder of this paper is organized as follows. We briefly review related work in Section 2, and illustrate our approach of amending architectural gradients in Section 3. After experiments are shown in Section 4, we conclude this work in Section 5.
22
+
23
+ # 2 RELATED WORK
24
+
25
+ With the era of big data and powerful computational resources, deep learning (LeCun et al., 2015), in particular, deep neural networks (Krizhevsky et al., 2012), have rapidly grown up to be the standard tool for learning representations in a complicated feature space. Recent years have witnessed the trend of using deeper (He et al., 2016) and denser (Huang et al., 2017) networks to boost recognition performance, while there is no justification that whether these manually designed architectures are best for each specific task, e.g., image classification. To advance, researchers started considering the possibility of learning network architectures automatically from data, which led to the appearance of neural architecture search (NAS) (Zoph & Le, 2017), which is now popular and known as a sub research field in automated machine learning (AutoML).
26
+
27
+ The common pipeline of NAS starts with a pre-defined space of network operators. Since the search space is often large (e.g., containing $1 0 ^ { 1 0 }$ or even more possible architectures), it is unlikely that exhaustive search is tractable, and thus heuristic search methods are widely applied for speedup. Typical examples include reinforcement learning (Zoph & Le, 2017; Zoph et al., 2018; Liu et al., 2018a) and evolutionary algorithms (Real et al., 2017; Xie & Yuille, 2017; Real et al., 2019). These approaches followed a general pipeline that samples a set of architectures from a learnable distribution, evaluates them and learns from rewards by updating the distribution. In an early age, each sampled architecture underwent an individual training process from scratch and thus the overall computational overhead is large, e.g., hundreds of even thousands of GPU-days. To alleviate the burden, researchers started to share computation among training sampled architectures, with the key lying in reusing network weights trained previously (Cai et al., 2018) or starting from a well-trained super-network (Pham et al., 2018). These efforts shed light on the so-called one-shot architecture search methods, which required training the super-network only once and thus ran more efficiently, e.g., two or three orders of magnitude faster than conventional approaches.
28
+
29
+ Within the scope of one-shot architecture search, an elegant solution lies in jointly formulating architecture search and approximation, so that it is possible to apply end-to-end optimization for training network and architectural parameters simultaneously. This methodology is known today as differentiable NAS, and a typical example is DARTS (Liu et al., 2019b), which constructed a super-network with all possible operators contained and decoupled, and the goal is to determine the weights of these architectural parameters, followed by pruning and re-training stages. This kind of approach allowed more flexible search space to be constructed, unlike conventional approaches with either reinforcement or evolutionary learning, which suffer from the computational burden and thus must constrain search within a relatively small search space (Tan & Le, 2019).
30
+
31
+ Despite the inspirations brought by differentiable NAS, these approaches still suffer a few critical issues that narrow down their applications in practice. One significant drawback lies in the lack of stability, which reflects in the way that results of differentiable search can be impacted by very small perturbations, e.g., initialization of architectural weights, training hyper-parameters, and even randomness in the training process. Existing solutions include running search for several individual times and choosing the best one in validation (Liu et al., 2019b), or using other kinds of techniques such as decoupling modules (Cai et al., 2019; Guo et al., 2019), adjusting search space during optimization (Noy et al., 2019; Chen et al., 2019; Nayman et al., 2019), regularization $\mathrm { { X u } }$ et al., 2019), early termination (Liang et al., 2019), etc., however, these approaches seemed to develop heuristic remedies rather than analyze it from the mathematical fundamentals, e.g., how instability happens in mathematics.
32
+
33
+ In this paper, we investigate the stability issue in mathematics and show that the results produced by the current approaches are much less reliable than people used to think. Then, we fix this issue by amending optimization of the architectural parameters, so that each step of the update gets closer to the correct direction. We show great improvement on stability in a fundamental task, image classification, while we believe our approach can be applied to a wide range of tasks including object detection (Ghiasi et al., 2019), semantic segmentation (Liu et al., 2019a), hyper-parameter learning (Cubuk et al., 2019), etc.
34
+
35
+ # 3 STABILIZING DARTS WITH AMENDED GRADIENTS
36
+
37
+ In this section, we first show that DARTS can fail dramatically when it gets trained till convergence, and then we mathematically analyze how this problem is related to inaccurate approximation in optimization, following which we present our solution to amend this error and thus stabilize DARTS.
38
+
39
+ # 3.1 PRELIMINARIES: DIFFERENTIABLE NEURAL ARCHITECTURE SEARCH
40
+
41
+ Differentiable NAS approaches start with defining a super-network, which is constrained in a search space with a pre-defined number of layers and a limited set of neural operators. The core idea is to introduce a ‘soft’ way operator selection (i.e., using a weighted sum over the outputs of a few operators instead of taking the output of only one), so that optimization can be done in an end-toend manner. Mathematically, the super-network is a function $\mathbf { f } \left( \mathbf { x } ; \omega , \alpha \right)$ , with $\mathbf { x }$ being input, and parameterized by network parameters $\omega$ (e.g., convolutional kernels) and architectural parameters $_ { \pmb { \alpha } }$ (e.g., indicating the importance of each operator between each pair of layers). $\mathbf { f } \left( \mathbf { x } ; \omega , \alpha \right)$ is differentiable to both $\omega$ and $_ { \pmb { \alpha } }$ , so that gradient-based approaches can be applied for optimization.
42
+
43
+ ![](images/90b275c4f31ff6a8aab6e67e8f3f69367a7a1877308a6bb9227e7ab562343780.jpg)
44
+ Figure 1: Left: a typical search process of the first-order DARTS, in which 200 search epochs are used. Red, green and blue lines indicate the average weight of none, the ratio of dominant skipconnect operators (over 14 normal edges) and the re-training accuracy, with respect to the number of search epochs, respectively. Right: the normal cell obtained after 200 search epochs, in which all preserved operators are skip-connect. We executed both first-order and second-order DARTS for several times, and such failure consistently happens in each individual run.
45
+
46
+ In the example of DARTS, $\mathbf { f } \left( \mathbf { x } ; \omega , \alpha \right)$ is composed of a few cells, each of which contains $N$ nodes, and there is a pre-defined set, $\mathcal { E }$ , denoting which pairs of nodes are connected. For each connected node pair $( i , j ) , i < j$ , node $j$ takes the output of node $i$ , $\mathbf { x } _ { i }$ , as a part of its input, and propagate it through a pre-defined operator set, $\mathcal { O }$ , with all outputs summed up:
47
+
48
+ $$
49
+ \mathbf { y } ^ { ( i , j ) } \left( \mathbf { x } _ { i } \right) = \sum _ { o \in \mathcal { O } } \frac { \exp ( \alpha _ { o } ^ { ( i , j ) } ) } { \sum _ { o ^ { \prime } \in \mathcal { O } } \exp ( \alpha _ { o } ^ { ( i , j ) } ) } \cdot o ( \mathbf { x } _ { i } ) .
50
+ $$
51
+
52
+ Here, a softmax term is computed by architectural weights to normalize outputs. Within each unit of the search process, $\omega$ and $_ { \pmb { \alpha } }$ get optimized alternately. After search, the operator $o$ with the maximal value of $\alpha _ { o } ^ { ( i , j ) }$ is preserved for each edge $( i , j )$ . All network parameters $\omega$ are discarded and the obtained architecture is re-trained from scratch1.
53
+
54
+ # 3.2 DARTS FAILS: THE CONTRADICTORY BETWEEN CONVERGENCE AND PERFORMANCE
55
+
56
+ Our research is motivated by an observation that DARTS, at the end of a regular training process with, say, 50 epochs (Liu et al., 2019b), has not yet arrived at or even got close to convergence, yet the weight of the none (a.k.a., zero) operator is consistently the largest on each edge of the normal cell. To verify this, we increase the length of each training stage by 4 times, i.e., from 50 to 200 epochs. Two weird phenomena are observed, both of which are shown in the left part of Figure 1. First, the weight of the none operator monotonically goes up – at 200 epochs, the weight has achieved 0.97 on each edge of the normal cells, however, this operator is not considered in the final architecture. Second, almost all preserved operators are skip-connect (a.k.a., identity), a parameter-free operator that contributes little to feature learning – and surprisingly, it occupies $3 0 \%$ to $7 0 \%$ of the weight remained by none. Such a network has much fewer parameters than a well-designed one, and thus it usually reports unsatisfying performance at the re-training stage. This indicates that, in the context of DARTS, there exists a contradictory between search convergence and re-training accuracy.
57
+
58
+ We point out that this is a critical issue, which suggests that when using DARTS-based approaches, one does not hope the search process to achieve convergence as it implies bad performance. In other words, each ‘successful’ architecture comes from an early-terminated search process. Consequently, the initialization of parameters $\scriptstyle { \mathbf { \alpha } } _ { \alpha }$ and $\omega$ ), the hyper-parameters of search (e.g., learning rate) and the time of terminating search become important and thus need to be determined by experience (Liang et al., 2019). This weakens the stability as well as explainability of search and, more importantly, violates the fundamental ideology of AutoML, i.e., maximally reducing human interference and determining the best architecture by training data.
59
+
60
+ # 3.3 DELVING DEEP INTO MATHEMATICS: PROBLEM AND SOLUTION
61
+
62
+ We point out that the reason lies in inaccurate estimation of the gradient with respect to $_ { \pmb { \alpha } }$ , namely, $\nabla _ { \alpha } \bar { \mathcal { L } } _ { \mathrm { v a l } } \big ( \omega ^ { \star } ( \alpha ) , \alpha \big ) | _ { \alpha = \alpha _ { t } }$ . Following the chain rule of gradients, this quantity equals to
63
+
64
+ $$
65
+ \nabla _ { \alpha } \mathcal { L } _ { \mathrm { v a l } } ( \omega , \alpha ) | _ { \omega = \omega ^ { \star } ( \alpha _ { t } ) , \alpha = \alpha _ { t } } + \nabla _ { \alpha } \omega ^ { \star } ( \alpha ) | _ { \alpha = \alpha _ { t } } \cdot \nabla _ { \omega } \mathcal { L } _ { \mathrm { v a l } } ( \omega , \alpha ) | _ { \omega = \omega ^ { \star } ( \alpha _ { t } ) , \alpha = \alpha _ { t } } ,
66
+ $$
67
+
68
+ in which the first term is relatively easy to compute (as is done by the first-order version of DARTS), while the second term, in particular $\mathrm { \nabla } \nabla _ { \alpha } \omega ^ { \star } ( \bar { \alpha } ) | _ { \alpha = \alpha _ { t } }$ , is not. The first-order version of DARTS directly discarded this term, but it often has significant numerical values which are not negligible. The second-order version of DARTS indeed proposed an approximation to this term, but, as we shall see in the next subsection, can incur a large approximation error (the inner-product between the correct and estimated directions can be smaller than 0). Consequently, there can be a significant gap between the estimated and true values of $\nabla _ { \alpha } \mathcal { L } _ { \mathrm { v a l } } \big ( \omega ^ { \star } ( \alpha ) , \alpha \big ) | _ { \alpha = \alpha _ { t } }$ . Such inaccuracy accumulates with every update on $_ { \pmb { \alpha } }$ , and gradually causes $_ { \pmb { \alpha } }$ to converge to weird solutions that are far from optimum, e.g., the entire super-network is dominated by none and skip-connect operators. We name this phenomenon as the gradient trap during optimization.
69
+
70
+ To estimate $\nabla _ { \alpha } \omega ^ { \star } ( \alpha ) | _ { \alpha = \alpha _ { t } }$ , we first make a reasonable assumption that $\nabla _ { \alpha } \omega ^ { \star } ( \alpha ) | _ { \alpha = \alpha _ { t } }$ has finite values. Then, we make use of an important property, i.e., $\nabla _ { \omega } \mathcal { L } _ { \mathrm { t r a i n } } ( \omega , \alpha ) | _ { \omega = \omega ^ { \star } ( \alpha ^ { \dagger } ) , \alpha = \alpha ^ { \dagger } } \ \equiv \ \mathbf { 0 }$ holds for any $\alpha ^ { \dagger }$ . This is property directly comes from the optimality of $\omega ^ { \star } ( \alpha )$ , but it has never been used by existing approaches. Applying differentiation with respect to any $\alpha ^ { \dagger }$ to both sides of this equality, we have $\bar { \nabla _ { \alpha ^ { \dagger } } } \left( \nabla _ { \omega } \mathcal { L } _ { \mathrm { t r a i n } } ( \omega , \bar { \alpha } ) | _ { \omega = \omega ^ { \star } ( \alpha ^ { \dagger } ) , \alpha = \alpha ^ { \dagger } } \right) \equiv \mathbf { 0 }$ . When $ { \alpha } ^ { \dagger } = { \alpha } _ { t }$ , it becomes:
71
+
72
+ $$
73
+ \nabla _ { \alpha ^ { \dagger } } \left. \left( \nabla _ { \omega } \mathcal { L } _ { \mathrm { t r a i n } } ( \omega , \alpha ) \vert _ { \omega = \omega ^ { \star } ( \alpha ^ { \dagger } ) , \alpha = \alpha ^ { \dagger } } \right) \right. _ { \alpha ^ { \dagger } = \alpha _ { t } } = 0 .
74
+ $$
75
+
76
+ Again, applying the chain rule to the left-hand side gives:
77
+
78
+ $$
79
+ \nabla _ { \alpha , \omega } ^ { 2 } \mathcal { L } _ { \mathrm { t r a i n } } ( \omega , \alpha ) \big | _ { \omega = \omega ^ { * } ( \alpha _ { t } ) , \alpha = \alpha _ { t } } + \nabla _ { \alpha } \omega ^ { \star } ( \alpha ) \big | _ { \alpha = \alpha _ { t } } \cdot \left. \nabla _ { \omega } ^ { 2 } \mathcal { L } _ { \mathrm { t r a i n } } ( \omega , \alpha ) \right| _ { \omega = \omega ^ { * } ( \alpha _ { t } ) , \alpha = \alpha _ { t } } = \mathbf { 0 } ,
80
+ $$
81
+
82
+ where we use the notation $\nabla _ { { \boldsymbol { \alpha } } , \omega } ^ { 2 } ( \cdot ) ~ \equiv ~ \nabla _ { { \boldsymbol { \alpha } } } ( \nabla _ { \omega } ( \cdot ) )$ throughout the remaining part of this paper. Here, ∇2ωLtrain(ω, α) ω=ω?(α ),α=α is the Hesse matrix corresponding to the optimum $\omega ^ { \star } ( \alpha _ { t } )$ , which is symmetric and positive-definite, and thus invertible. This gives us an estimation that $\nabla _ { \alpha } \omega ^ { \star } ( \alpha ) | _ { \alpha = \alpha _ { t } } = - \left. \nabla _ { \alpha , \omega } ^ { 2 } \mathcal { L } _ { \mathrm { t r a i n } } ( \omega , \alpha ) \right| _ { \omega = \omega ^ { \star } ( \alpha _ { t } ) , \alpha = \alpha _ { t } } \cdot \mathbf { H } ^ { - 1 } .$ . Substituting it into Equation 2 gives:
83
+
84
+ $$
85
+ \begin{array} { r l r } & { } & { \nabla _ { \alpha } \mathcal { L } _ { \mathrm { v a l } } ( \omega ^ { \star } ( \alpha ) , \alpha ) | _ { \alpha = \alpha _ { t } } = \nabla _ { \alpha } \mathcal { L } _ { \mathrm { v a l } } ( \omega , \alpha ) | _ { \omega = \omega ^ { \star } ( \alpha _ { t } ) , \alpha = \alpha _ { t } } - } \\ & { } & { \nabla _ { \alpha , \omega } ^ { 2 } \mathcal { L } _ { \mathrm { t r a i n } } ( \omega , \alpha ) | _ { \omega = \omega ^ { \star } ( \alpha _ { t } ) , \alpha = \alpha _ { t } } \cdot \mathbf { H } ^ { - 1 } \cdot \nabla _ { \omega } \mathcal { L } _ { \mathrm { v a l } } ( \omega , \alpha ) | _ { \omega = \omega ^ { \star } ( \alpha _ { t } ) , \alpha = \alpha _ { t } } . } \end{array}
86
+ $$
87
+
88
+ Note that Equation 5 does not involve any approximation. The only issue comes from the term of ${ \bf H } ^ { - 1 }$ , which is computationally intractable due to the large dimensionality of $\mathbf { H }$ (it is related to the number of network parameters, which often exceeds one million in a typical super-network).
89
+
90
+ # 3.4 APPROXIMATIONS IN COMPUTING THE INVERSE HESSE MATRIX
91
+
92
+ Let us denote Equation 5 in an abbreviated form of $\mathbf { g } = \mathbf { g } _ { 1 } + \mathbf { g } _ { 2 }$ , in which $\mathbf { g } _ { 1 }$ , the first-order term of DARTS, is easily computed, while $\mathbf { g } _ { 2 }$ is not due to the computation of ${ \bf H } ^ { - 1 }$ . Here, we propose an alternative solution which constructs an approximation term $\mathbf { g } _ { 2 } ^ { \prime }$ :
93
+
94
+ $$
95
+ \begin{array} { r } { \mathbf { g } _ { 2 } ^ { \prime } = - \eta \cdot \left. \nabla _ { \alpha , \omega } ^ { 2 } \mathcal { L } _ { \mathrm { t r a i n } } ( \omega , \alpha ) \right| _ { \omega = \omega ^ { * } ( \alpha _ { t } ) , \alpha = \alpha _ { t } } \cdot \mathbf { H } \cdot \left. \nabla _ { \omega } \mathcal { L } _ { \mathrm { v a l } } ( \omega , \alpha ) \right| _ { \omega = \omega ^ { * } ( \alpha _ { t } ) , \alpha = \alpha _ { t } } , } \end{array}
96
+ $$
97
+
98
+ where $\eta > 0$ is named the amending coefficient. In what follows, we show that $\mathbf { g } _ { 2 } ^ { \prime }$ is indeed a reasonable approximation of $\mathbf { g } _ { 2 }$ . Since
99
+
100
+ $$
101
+ \begin{array} { r l } & { \langle \mathbf { g } _ { 2 } ^ { \prime } , \mathbf { g } _ { 2 } \rangle = \boldsymbol { \eta } \cdot \left. \nabla _ { \omega } \mathcal { L } _ { \mathrm { v a l } } ( \omega , \alpha ) \right| _ { \omega = \omega ^ { \star } ( \alpha _ { t } ) , \alpha = \alpha _ { t } } \boldsymbol { \mathsf { T } } \cdot \left. \mathbf { H } ^ { - 1 } \cdot \nabla _ { \omega , \alpha } ^ { 2 } \mathcal { L } _ { \mathrm { t r a i n } } ( \omega , \alpha ) \right| _ { \omega = \omega ^ { \star } ( \alpha _ { t } ) , \alpha = \alpha _ { t } } \cdot } \\ & { \qquad \nabla _ { \alpha , \omega } ^ { 2 } \mathcal { L } _ { \mathrm { t r a i n } } ( \omega , \alpha ) \big | _ { \omega = \omega ^ { \star } ( \alpha _ { t } ) , \alpha = \alpha _ { t } } \cdot \mathbf { H } \cdot \nabla _ { \omega } \mathcal { L } _ { \mathrm { v a l } } ( \omega , \alpha ) \big | _ { \omega = \omega ^ { \star } ( \alpha _ { t } ) , \alpha = \alpha _ { t } } , } \end{array}
102
+ $$
103
+
104
+ the product of the two terms between ${ \bf H } ^ { - 1 }$ and $\mathbf { H }$ is a semi-positive-definite matrix, and so is the matrix after similarity transformation, which directly gives $\left. \mathbf { g } _ { 2 } ^ { \prime } , \mathbf { g } _ { 2 } \right. \geqslant 0$ .
105
+
106
+ In summary, we decompose the gradient of architectural parameters into two terms, $\mathbf { g } _ { 1 }$ and $\mathbf { g } _ { 2 }$ , compute $\mathbf { g } _ { 1 }$ directly and use an approximation to $\mathbf { g } _ { 2 }$ so that the angle between the accurate and approximated terms is smaller than 90 degrees. In comparison, existing DARTS-based approaches either discarded $\mathbf { g } _ { 2 }$ entirely or used a mathematically non-explainable approximation $\mathbf { \bar { g } } _ { 2 } ^ { \prime \prime } = \mathbf { \bar { \nu } } \eta \cdot \nabla _ { \alpha , \omega } ^ { 2 } \mathcal { L } _ { \mathrm { t r a i n } } ( \omega , \mathbf { \bar { \alpha } } ) | _ { \omega = \omega ^ { * } ( \alpha _ { t } ) , \alpha = \alpha _ { t } } \cdot \mathbf { I } \cdot \nabla _ { \omega } \mathcal { L } _ { \mathrm { v a l } } ( \omega , \mathbf { \bar { \alpha } } ) | _ { \omega = \omega ^ { * } ( \alpha _ { t } ) , \alpha = \alpha _ { t } } .$ . None of them are reasonable because $\mathbf { g } _ { 2 }$ can be large, yet there is no guarantee that $\left. \mathbf { g } _ { 2 } ^ { \prime \prime } , \mathbf { g } _ { 2 } \right. \geqslant 0$ , i.e., the secondorder DARTS can lead the algorithm to a wrong direction.
107
+
108
+ The rationality of our approach is also verified by the validation process, i.e., in updating architectural parameters. The first-order DARTS, by directly discarding $\mathbf { g } _ { 2 }$ , reported an average validation accuracy of $9 0 . 5 \%$ in search space $S _ { 1 }$ (see Section 4.1.3) on the CIFAR10 dataset. The second-order DARTS added $\mathbf { g } _ { 2 } ^ { \prime \prime }$ , which has no guarantee that $\left. { { \bf { g } } _ { 2 } ^ { \prime \prime } , { \bf { g } } _ { 2 } } \right. \mathrm { ~ \ \ \geqslant ~ 0 ~ }$ , and thus resulted in a reduced validation accuracy. Our approach, by adding $\mathbf { g } _ { 2 } ^ { \prime }$ , achieves a validation accuracy of $9 1 . 5 \%$ , implying that our optimization works better than DARTS. This eventually results in the advantage of searched architectures, which will be verified in Section 4.1.2.
109
+
110
+ The remainder part of computing $\mathbf { g } _ { 2 } ^ { \prime }$ simply follows conventions, which we replace $\omega ^ { \star } ( \alpha )$ with the current $\omega ^ { \mathrm { e s t } }$ as the most accurate approximation we can get2. Computing ${ \bf g } _ { 2 } ^ { \bar { \prime } }$ with Equation 6 requires both ∇2α,ωLtrain(ω, α) ω=ω?(αt),α=αt and $\nabla _ { \omega } \mathcal { L } _ { \mathrm { v a l } } ( \omega , \alpha ) | _ { \omega = \omega ^ { \star } ( \alpha _ { t } ) , \alpha = \alpha _ { t } }$ , while DARTS needs the former one with $\omega ^ { \star } ( \alpha _ { t } )$ estimated in two steps. Therefore, computing Equation 6 requires similar computational overhead compared to the second-order version of DARTS. In experiments, each search epoch requires around 0.02 GPU-days on the standard 8-cell space on CIFAR10.
111
+
112
+ # 3.5 DISCUSSIONS AND RELATIONSHIP TO PRIOR WORK
113
+
114
+ The core benefit brought by our approach is the consistency between search and evaluation. This is indeed a fundamental idea of NAS, but it was ignored by existing approaches since they have been perplexed by a more significant error caused by inaccurate optimization. After the error, we point out a few prior conventions that need to be adjusted accordingly, including using different depths (e.g., DARTS used 8 cells in search and 20 cells in evaluation) and widths (e.g., DARTS used a basic channel number of 16 in search and 36 in evaluation) during search and evaluation, as well as using different training strategies (e.g., during re-training, a few regularization techniques including Cutout (DeVries & Taylor, 2017), Dropout (Srivastava et al., 2014) and auxiliary loss were used, but none of them appeared in search). More importantly, the search process was followed by edge removal (8 out of 14 connections were preserved) which caused a significant difference between the network architectures of search and evaluation. Our approach provides the opportunity to bridge the gap between search and evaluation, which we will show in Section 4.1.2 that unifying these hyper-parameters leads to better performance.
115
+
116
+ A few prior differentiable search approaches noticed the issue of instability, but they chose to solve it in different manners. For example, P-DARTS (Chen et al., 2019) fixed the number of preserved skip-connect operators, PC-DARTS (Xu et al., 2019) used edge normalization to eliminate the none operator, while XNAS (Nayman et al., 2019) and DARTS $^ { + }$ (Liang et al., 2019) introduced a few human expertise to stabilize search. However, we point out that (i) either P-DARTS or PC-DARTS, with carefully designed methods or tricks, can also fail in a sufficiently long search process (more than 200 epochs); and that (ii) XNAS and DART $\vdots +$ , by adding human expertise, somewhat violated the design nature of AutoML, in which one is expected to avoid introducing too many hand-designed rules.
117
+
118
+ Another line of NAS, besides differentiable methods, is to use either reinforcement learning or an evolutionary algorithm as a controller of heuristic search and train each sampled network to get some kind of rewards, e.g., validation accuracy. In the viewpoint of optimization, this pipeline mainly differs from the differentiable one in that optimizing $_ { \pmb { \alpha } }$ is decoupled from optimizing $\omega$ , so that it does not require $\omega$ to arrive at $\omega ^ { \ast }$ , but only need a reasonable approximation of $\omega ^ { \ast }$ to predict model performance – this is an important reason that such algorithms often produce stable results. Our approach sheds light on introducing a similar property, i.e., robustness to approximated $\omega ^ { \star }$ , which helps in stabilizing differentiable search approaches.
119
+
120
+ # 4 EXPERIMENTS
121
+
122
+ # 4.1 RESULTS ON CIFAR10
123
+
124
+ The CIFAR10 dataset (Krizhevsky & Hinton, 2009) has 50,000 training and 10,000 testing images, sized $3 2 \times 3 2$ , and equally distributed over 10 classes. We mainly use this dataset to evaluate the stability of our approach, as well as analyze the impacts of different search options and parameters.
125
+
126
+ # 4.1.1 IMPACT OF THE AMENDING COEFFICIENT
127
+
128
+ We first investigate how the amending coefficient, $\eta$ , defined in Equation 6, impacts architecture search. We search and re-train similarly as DARTS. During the search, all operators are assigned equal weights on each edge. We use a base channel number of 16, and a batch size of 96. An Adam optimizer is used to update architectural parameters, with a learning rate of 0.0003, a weight decay of 0.001 and a momentum of (0.5, 0.999). The number of epochs is to be discussed later. During re-training, the base channel number is increased to 36. An SGD optimizer is used with an initial learning rate of 0.025, decaying following the cosine annealing rule and arriving at 0 after 600 epochs. The weight decay is set to be 0.0003, and the momentum is 0.9.
129
+
130
+ To arrive at convergence, we run the search stage for 500 epochs. We evaluate different $\eta$ values from 0 to 1, and the architectures corresponding to $\eta = 0$ (equivalent to DARTS), $\eta = 0 . 1$ and $\eta = 1$ are summarized in Figure 2. We can see that $\eta = 0 . 1$ converges, after 500, into a reasonable architecture that achieves an error rate of $3 . 0 8 \%$ on CIFAR10. We emphasize that, even with more search epochs, this architecture is not likely to change, as the preserved operator on each edge has a weight not smaller than 0.5, and most of these weights are still growing gradually.
131
+
132
+ When $\eta$ is very small, e.g., $\eta = 0 . 0 0 1$ or $\eta = 0 . 0 1$ , the change brought by this amending term to architecture search is ignorable, and our approach shows almost the same behavior as the first-order version of DARTS, i.e., $\eta = 0$ . In addition, when $\eta$ grows up, e.g., from 0.001 to 0.01, although the search process eventually runs into an architecture with all skip-connect operators, the number of epochs needed for a complete failure is significantly postponed, which verifies that the amending term indeed pulls architecture search away from the gradient trap.
133
+
134
+ ![](images/06de76b891eab13d3496f86280dc133177d768ef6a253623c6e6097e0abcaa33.jpg)
135
+ Figure 2: Normal (left) and reduction (right) cells (the standard DARTS space) obtained by different amending coefficients, namely, $\eta = 0$ (top), $\eta = 0 . 1$ (middle) and $\eta = 1$ (bottom).
136
+
137
+ On the other hand, if we use a sufficiently large $\eta$ value, e.g., $\eta = 1$ , the amending term, $\mathbf { g } _ { 2 } ^ { \prime }$ , can dominate optimization, so that the first term, i.e., the gradient of architectural parameters, has limited effects in updating $_ \alpha$ . Note that the amending term is closely related to network regularization, therefore, in the scenarios of a large $\eta$ , the network significantly prefers avg-pooling to other operators, as avg-pooling can smooth feature maps and avoid over-fitting. However, avg-pooling is also a parameter-free operator, so the performance of such architectures is also below satisfaction.
138
+
139
+ Following these analyses, we simply use $\eta = 0 . 1$ for all later experiments. We do not tune $\eta$ very carefully, though it is possible to determine $\eta$ automatically using a held-out validation set. Besides, we find that the best architecture barely changes after 100 search epochs, which we fix the total length to be 100 epochs in all remaining experiments.
140
+
141
+ # 4.1.2 CONSISTENCY BETWEEN SEARCH AND EVALUATION
142
+
143
+ As discussed in Section 3.5, it is important to alleviate the difference between search and evaluation. We make the following modifications, listed from most to least important. First, to avoid edge removal, we fix the edges in each cell, so that each node $i$ is connected to node $i - 1$ and the least indexed node (denoted by $c _ { k - 2 }$ in most conventions), resulting in 8 edges in each cell. Note that our approach also works well with all 14 edges preserved, but we have used 8 edges to be computationally fair to DARTS. Second, we unify the width (the number of basic channels) as 36 for both search and evaluation. Third, we add normalization techniques, including Cutout (DeVries & Taylor, 2017), Dropout (Srivastava et al., 2014) and an auxiliary loss tower, into the search stage.
144
+
145
+ We use the amending coefficient $\eta = 0 . 1$ learned from previous experiments, i.e., without modification, the searched architecture, denoted by $\mathbb { A } _ { \mathrm { o r i g } }$ , is shown in the middle column of Figure 2. After modification, the obtained architecture, denoted by $\mathbb { A } _ { \mathrm { n e w } }$ , is shown in Figure 3. We re-train both networks on CIFAR10, with or without the option that stacking duplicate cells to make the network deeper (with 20 cells). With a standard re-training process, $\mathbb { A } _ { \mathrm { o r i g } }$ reports a $3 . 6 7 \%$ error with 8 cells, and a $3 . 0 8 \%$ error with 20 cells; and the corresponding numbers are $3 . 2 0 \%$ and $2 . 8 1 \%$ for $\mathbb { A } _ { \mathrm { n e w } }$ . We find that $\mathbb { A } _ { \mathrm { n e w } }$ is consistently better than $\mathbb { A } _ { \mathrm { o r i g } }$ , which suggests that alleviating the gap indeed helps. This also reminds us of the significant depth gap (Chen et al., 2019) between search and re-training (the network has 8 cells in search, but 20 cells in re-training), and this gap also obstructs our approach from achieving better performance. We will investigate this issue in the following part.
146
+
147
+ # 4.1.3 EXPLORING MORE COMPLEX SEARCH SPACES
148
+
149
+ We note tremendous efforts made by existing approaches to alleviate the depth gap, while our solution is a direct one, thanks to the stability of our approach which enables us to directly explore larger search spaces. Here, we denote the original search space used in DARTS as $S _ { 1 }$ , which has six normal cells and two reduction cells, and all normal cells share the same set of architectural parameters and so do the reduction cells. Note that we have fixed the edges in this space, resulting in the total number of possible architectures to reduce from $1 . 1 \times 1 0 ^ { 1 8 }$ to $3 . 3 \times 1 0 ^ { 1 \bar { 3 } }$ . We also explore a more complex search space, denoted by $S _ { 2 }$ , in which we relax the constraint that either normal cells or reduction cells should be the same, and also the number of cells increases from 8 to 20, to be applied in re-training. Here, limited by GPU memory, we cannot support all seven operators to be searched, so we only choose two, namely skip-connect and sep-conv- $3 x 3$ , which have very different properties. This setting allows a total of $1 . 5 \times 1 0 ^ { 4 8 }$ architectures to appear, much larger than $S _ { 1 }$ .
150
+
151
+ Results are listed in Table 1. In $S _ { 1 }$ , our approach achieves a moderate error rate of $2 . 8 1 \%$ , mainly because the assumption of consistency between search and re-training does not hold. In $S _ { 2 }$ , with directly searching in deep architectures, our result is significantly boosted (an error rate of $2 . 6 0 \%$ , the architecture is shown in the middle row of Figure 3). Again, we emphasize that we report retraining results based on an converged architecture, which stands out from existing DARTS-based approaches which required early termination.
152
+
153
+ In $S _ { 2 }$ , we compare our approach against both DARTS (no amending term) and random search. We observe that DARTS produces weird architectures (the bottom row of Figure 3), that high-layer cells are mostly occupied by skip-connect, which is not likely to fully utilize the ability of the supernetwork. Regarding random search, we follow DARTS by randomly sampling 20 valid architectures from each of $S _ { 1 }$ and $S _ { 2 }$ , and using a small validation dataset to choose the best two architectures for re-training. Given a fixed number of probes, it becomes more and more difficult to sufficiently explore a large space. The deficits of DARTS and random search on CIFAR10 are $0 . 2 5 \%$ and $0 . { \bar { 2 } } 9 \%$ , respectively, which do not seem to be very large arguably because CIFAR10 is relatively easy and our edge-fixed search space guarantees sufficient depth. However, when we transfer these architectures to ImageNet, the deficits become much larger, i.e., with $1 . 7 \%$ and $0 . 8 \%$ top-1 accuracy drops, respectively (DARTS produces inferior performance to random search). These results remind us of prior work (Xie et al., 2019) which claimed that random search works sufficiently well in large search spaces. Here, we leave a comment on this debate, demonstrating that a large space indeed raises challenges to architecture search, but a stabilized search algorithm still has the ability of to find more powerful architectures.
154
+
155
+ ![](images/c1a067dcdf9289c598f7f77055e3e2886cc4b81851cc2828c839c5d62aae3a70.jpg)
156
+ Figure 3: Top: normal and reduction cells found in $ { \boldsymbol { S } } _ { 1 }$ . Middle & Bottom: the overall architecture found in $S _ { 2 }$ by DARTS, with and without the amended term, in which red and blue edges indicate skip-connect and sep-conv- $. 3 x 3$ operators, respectively.
157
+
158
+ # 4.1.4 COMPARISON TO THE STATE-OF-THE-ARTS
159
+
160
+ Finally, we compare our approach with recent approaches, in particular, differentiable ones. Result are shown in Table 1. Our approach produces competitive results among state-of-the-arts, although it does not seem to beat others. We note that existing approaches often used additional tricks, e.g., PDARTS assumed a fixed number of skip-connect operators, which shrinks the search space (so as to guarantee stability). More importantly, all these differentiable search approaches must be terminated in an early stage, which makes them less convincing as search has not arrived at convergence. These tricks somewhat violate the ideology of neural architecture search; in comparison, our research, though not producing the best performance, seems going along a correct and promising direction.
161
+
162
+ <table><tr><td rowspan="2">Architecture</td><td>Test Err.</td><td>Params</td><td>Search Cost</td><td rowspan="2">Search Method</td></tr><tr><td>(%)</td><td>(M)</td><td>(GPU-days)</td></tr><tr><td>DenseNet-BC (Huang et al.,2017)</td><td>3.46</td><td>25.6</td><td>-</td><td>manual</td></tr><tr><td>ENAS (Pham et al.,2018) w/ Cutout</td><td>2.89</td><td>4.6</td><td>0.5</td><td>RL</td></tr><tr><td>NASNet-A (Zoph et al.,2018) w/Cutout</td><td>2.65</td><td>3.3</td><td>1800</td><td>RL</td></tr><tr><td>NAONet-WS (Luo et al.,2018)</td><td>3.53</td><td>3.1</td><td>0.4</td><td>NAO</td></tr><tr><td>Hireachical Evolution (Liu et al.,2018b)</td><td>3.75±0.12</td><td>15.7</td><td>300</td><td>evolution</td></tr><tr><td>AmoebaNet-B (Real et al.,2019) w/ Cutout</td><td>2.55±0.05</td><td>2.8</td><td>3150</td><td>evolution</td></tr><tr><td>PNAS (Liu et al., 2018a)</td><td>3.41±0.09</td><td>3.2</td><td>225</td><td>SMBO</td></tr><tr><td>DARTS (first-order) (Liu et al.,2019b) w/ Cutout</td><td>3.00±0.14</td><td>3.3</td><td>0.4</td><td>gradient-based</td></tr><tr><td>DARTS (second-order) (Liu et al.,20i9b) w/Cutout</td><td>2.76±0.09</td><td>3.3</td><td>1.0</td><td>gradient-based</td></tr><tr><td>SNAS (moderate) (Xie etal.,2018) w/ Cutout</td><td>2.85±0.02</td><td>2.8</td><td>1.5</td><td>gradient-based</td></tr><tr><td>ProxylessNAS (Cai et al.,2019) w/Cutout</td><td>2.08</td><td>-</td><td>4.0</td><td>gradient-based</td></tr><tr><td>P-DARTS (Chen et al.,2019) w/ Cutout</td><td>2.50</td><td>3.4</td><td>0.3</td><td>gradient-based</td></tr><tr><td>BayesNAS (Zhou et al.,2019) w/ Cutout</td><td>2.81±0.04</td><td>3.4</td><td>0.2</td><td>gradient-based</td></tr><tr><td>PC-DARTS (Xu et al.,2019) w/ Cutout</td><td>2.57±0.07</td><td>3.6</td><td>0.1</td><td>gradient-based</td></tr><tr><td>Amended-DARTS,S1,w/Cutout</td><td>2.81±0.21</td><td>3.5</td><td>1.0</td><td>gradient-based</td></tr><tr><td>Amended-DARTS,S2,w/Cutout</td><td>2.60±0.15</td><td>3.6</td><td>1.1</td><td>gradient-based</td></tr></table>
163
+
164
+ Table 1: Comparison with state-of-the-art network architectures on CIFAR10.
165
+
166
+ <table><tr><td rowspan="2">Architecture</td><td colspan="2">Test Err. (%)</td><td rowspan="2">Params (M)</td><td rowspan="2">×+ (M)</td><td rowspan="2">Search Cost (GPU-days)</td><td rowspan="2">Search Method</td></tr><tr><td>top-1</td><td>top-5</td></tr><tr><td>Inception-v1 (Szegedy et al.,2015)</td><td>30.2</td><td>10.1</td><td>6.6</td><td>1448</td><td>-</td><td>manual</td></tr><tr><td>MobileNet (Howard etal.,2017)</td><td>29.4</td><td>10.5</td><td>4.2</td><td>569</td><td></td><td>manual</td></tr><tr><td>ShuffleNet 2× (v1) (Zhang et al.,2018)</td><td>26.4</td><td>10.2</td><td>~5</td><td>524</td><td></td><td>manual</td></tr><tr><td>ShuffleNet 2× (v2) (Ma et al.,2018)</td><td>25.1</td><td>-</td><td>~5</td><td>591</td><td>-</td><td>manual</td></tr><tr><td>NASNet-A (Zoph et al., 2018)</td><td>26.0</td><td>8.4</td><td>5.3</td><td>564</td><td>1800</td><td>RL</td></tr><tr><td>MnasNet-92 (Tan et al.,2019)</td><td>25.2</td><td>8.0</td><td>4.4</td><td>388</td><td>-</td><td>RL</td></tr><tr><td>PNAS (Liu et al., 2018a)</td><td>25.8</td><td>8.1</td><td>5.1</td><td>588</td><td>225</td><td>SMBO</td></tr><tr><td>AmoebaNet-C (Real et al.,2019)</td><td>24.3</td><td>7.6</td><td>6.4</td><td>570</td><td>3150</td><td>evolution</td></tr><tr><td>DARTS (second-order) (Liu et al.,2019b)</td><td>26.7</td><td>8.7</td><td>4.7</td><td>574</td><td>4.0</td><td>gradient-based</td></tr><tr><td>SNAS (mild) (Xie et al., 2018)</td><td>27.3</td><td>9.2</td><td>4.3</td><td>522</td><td>1.5</td><td>gradient-based</td></tr><tr><td>BayesNAS (Zhou et al.,2019)</td><td>26.5</td><td>8.9</td><td>3.9</td><td>-</td><td>0.2</td><td>gradient-based</td></tr><tr><td>P-DARTS (CIFAR10) (Chen et al.,2019)</td><td>24.4</td><td>7.4</td><td>4.9</td><td>557</td><td>0.3</td><td>gradient-based</td></tr><tr><td>ProxylessNAS (GPU) (Cai et al., 2019)</td><td>24.9</td><td>7.5</td><td>7.1</td><td>465</td><td>8.3</td><td>gradient-based</td></tr><tr><td>PC-DARTS (Xu et al., 2019)‡</td><td>24.2</td><td>7.3</td><td>5.3</td><td>597</td><td>3.8</td><td>gradient-based</td></tr><tr><td>DARTS+ (Liang et al., 2019)‡</td><td>23.9</td><td>7.4</td><td>5.1</td><td>582</td><td>6.8</td><td>gradient-based</td></tr><tr><td>Amended-DARTS, S2</td><td>24.3</td><td>7.4</td><td>5.5</td><td>590</td><td>1.1</td><td>gradient-based</td></tr></table>
167
+
168
+ Table 2: Comparison with state-of-the-art architectures on ILSVRC2012. All searched architectures are fit into the mobile setting. ‡ indicates architectures searched on ImageNet.
169
+
170
+ # 4.2 RESULTS ON ILSVRC2012
171
+
172
+ ILSVRC2012 (Russakovsky et al., 2015) is the most commonly used subset of ImageNet (Deng et al., 2009). It contains 1.3M training images and 50K testing images, which are almost evenly distributed over all 1,000 categories. We directly use the $S _ { 2 }$ architecture obtained from CIFAR10 experiments and enlarge it with a basic number of channels of 42, so that the FLOPs of our model is 590M, i.e., fitting the mobile setting. During re-training, there are a total of 250 epochs. We use an SGD optimizer with an initial learning rate of 0.5 (decaying linearly after each epoch), a momentum of 0.9 and a weight decay of $3 \times 1 0 ^ { - 5 }$ . On NVIDIA Tesla V100 GPUs, the entire re-training process takes around 24 GPU-days.
173
+
174
+ The comparison of our approach to existing approaches is shown in Table 2. Our approach achieves a top-1 error rate of $2 4 . { \bar { 3 } } \bar { \% }$ without any common optimization tricks such as AutoAugment (Cubuk et al., 2019) and Squeeze-and-Excitation modules (Hu et al., 2018). This result is competitive among state-of-the-arts, and it is obtained after convergence is achieved in the search stage. On the other hand, without the amending term, DARTS converges to a solution that skip-connected and sep-conv$3 x 3$ are largely separated, on which the re-training performance is even inferior to random search.
175
+
176
+ # 5 CONCLUSIONS
177
+
178
+ In this paper, we present an effective approach for stabilizing differentiable neural architecture search. Our motivation comes from that DARTS-based approaches mostly generate all-skip-connect architectures when they are executed for a sufficient number of epochs. We analyze this weird phenomenon mathematically and find the reason to lie in the dramatic inaccuracy in estimating gradients of architectural parameters. With an alternative approximation based on the optimality of network parameters, we guarantee the update of architectural parameters to be in a correct direction. In DARTS-based search spaces on CIFAR10 and ImageNet, our approach shows improved stability, in particular in large search spaces, as well as improved performance in the re-training stage.
179
+
180
+ Our research sheds light on future research on NAS in several aspects. First, we reveal that previous differentiable approaches were mostly built upon a dangerous pipeline, and mostly introduced heavy human expertise to avoid failure. By fixing the ‘system error’ of this pipeline, we provide a platform that NAS approaches can compete in the ability of NAS. Second, our approach enables researchers to explore even bigger search spaces that have not been studied before (due to search instability).
181
+
182
+ REFERENCES
183
+ H. Cai, T. Chen, W. Zhang, Y. Yu, and J. Wang. Efficient architecture search by network transformation. In AAAI Conference on Artificial Intelligence, 2018.
184
+ H. Cai, L. Zhu, and S. Han. Proxylessnas: Direct neural architecture search on target task and hardware. 2019.
185
+ X. Chen, L. Xie, J. Wu, and Q. Tian. Progressive differentiable architecture search: Bridging the depth gap between search and evaluation. In International Conference on Computer Vision, 2019.
186
+ E. D. Cubuk, B. Zoph, D. Mane, V. Vasudevan, and Q. V. Le. Autoaugment: Learning augmentation policies from data. In Computer Vision and Pattern Recognition, 2019.
187
+ J. Deng, W. Dong, R. Socher, L. J. Li, K. Li, and L. Fei-Fei. Imagenet: A large-scale hierarchical image database. In Computer Vision and Pattern Recognition, 2009.
188
+ T. DeVries and G. W. Taylor. Improved regularization of convolutional neural networks with cutout. arXiv preprint arXiv:1708.04552, 2017.
189
+ G. Ghiasi, T. Y. Lin, and Q. V. Le. Nas-fpn: Learning scalable feature pyramid architecture for object detection. In Computer Vision and Pattern Recognition, 2019.
190
+ Z. Guo, X. Zhang, H. Mu, W. Heng, Z. Liu, Y. Wei, and J. Sun. Single path one-shot neural architecture search with uniform sampling. arXiv preprint arXiv:1904.00420, 2019.
191
+ K. He, X. Zhang, S. Ren, and J. Sun. Deep residual learning for image recognition. In Computer Vision and Pattern Recognition, 2016.
192
+ A. G. Howard, M. Zhu, B. Chen, D. Kalenichenko, W. Wang, T. Weyand, M. Andreetto, and H. Adam. Mobilenets: Efficient convolutional neural networks for mobile vision applications. arXiv preprint arXiv:1704.04861, 2017.
193
+ J. Hu, L. Shen, and G. Sun. Squeeze-and-excitation networks. In Computer Vision and Pattern Recognition, 2018.
194
+ G. Huang, Z. Liu, L. Van Der Maaten, and K. Q. Weinberger. Densely connected convolutional networks. In Computer Vision and Pattern Recognition, 2017.
195
+ A. Krizhevsky, I. Sutskever, and G. E. Hinton. Imagenet classification with deep convolutional neural networks. In Advances in Neural Information Processing Systems, 2012.
196
+ Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. Technical report, 2009.
197
+ Y. LeCun, Y. Bengio, and G. E. Hinton. Deep learning. Nature, 521(7553):436, 2015.
198
+ H. Liang, S. Zhang, J. Sun, X. He, W. Huang, K. Zhuang, and Z. Li. Darts+: Improved differentiable architecture search with early stopping. arXiv preprint arXiv:1909.06035, 2019.
199
+ C. Liu, B. Zoph, M. Neumann, J. Shlens, W. Hua, L. J. Li, L. Fei-Fei, A. L. Yuille, J. Huang, and K. Murphy. Progressive neural architecture search. In European Conference on Computer Vision, 2018a.
200
+ C. Liu, L. C. Chen, F. Schroff, H. Adam, W. Hua, A. L. Yuille, and L. Fei-Fei. Auto-deeplab: Hierarchical neural architecture search for semantic image segmentation. In Computer Vision and Pattern Recognition, 2019a.
201
+ H. Liu, K. Simonyan, O. Vinyals, C. Fernando, and K. Kavukcuoglu. Hierarchical representations for efficient architecture search. In International Conference on Learning Representations, 2018b.
202
+ H. Liu, K. Simonyan, and Y. Yang. Darts: Differentiable architecture search. In International Conference on Learning Representations, 2019b.
203
+ R. Luo, F. Tian, T. Qin, E. Chen, and T. Y. Liu. Neural architecture optimization. In Advances in Neural Information Processing Systems, 2018.
204
+ N. Ma, X. Zhang, H. T. Zheng, and J. Sun. Shufflenet v2: Practical guidelines for efficient cnn architecture design. In European Conference on Computer Vision, 2018.
205
+ N. Nayman, A. Noy, T. Ridnik, I. Friedman, R. Jin, and L. Zelnik-Manor. Xnas: Neural architecture search with expert advice. arXiv preprint arXiv:1906.08031, 2019.
206
+ A. Noy, N. Nayman, T. Ridnik, N. Zamir, S. Doveh, I. Friedman, R. Giryes, and L. Zelnik-Manor. Asap: Architecture search, anneal and prune. arXiv preprint arXiv:1904.04123, 2019.
207
+ H. Pham, M. Guan, B. Zoph, Q. V. Le, and J. Dean. Efficient neural architecture search via parameter sharing. In International Conference on Machine Learning, 2018.
208
+ E. Real, S. Moore, A. Selle, S. Saxena, Y. L. Suematsu, J. Tan, Q. V. Le, and A. Kurakin. Large-scale evolution of image classifiers. In International Conference on Machine Learning, 2017.
209
+ E. Real, A. Aggarwal, Y. Huang, and Q. V. Le. Regularized evolution for image classifier architecture search. In AAAI Conference on Artificial Intelligence, 2019.
210
+ O. Russakovsky, J. Deng, H. Su, J. Krause, S. Satheesh, S. Ma, Z. Huang, A. Karpathy, A. Khosla, M. Bernstein, et al. Imagenet large scale visual recognition challenge. International Journal of Computer Vision, 115(3):211–252, 2015.
211
+ N. Srivastava, G. E. Hinton, A. Krizhevsky, I. Sutskever, and R. Salakhutdinov. Dropout: a simple way to prevent neural networks from overfitting. Journal of Machine Learning Research, 15(1): 1929–1958, 2014.
212
+ C. Szegedy, W. Liu, Y. Jia, P. Sermanet, S. Reed, D. Anguelov, D. Erhan, V. Vanhoucke, and A. Rabinovich. Going deeper with convolutions. In Computer Vision and Pattern Recognition, 2015.
213
+ M. Tan and Q. V. Le. Efficientnet: Rethinking model scaling for convolutional neural networks. In International Conference on Machine Learning, 2019.
214
+ M. Tan, B. Chen, R. Pang, V. Vasudevan, M. Sandler, A. Howard, and Q. V. Le. Mnasnet: Platformaware neural architecture search for mobile. In Computer Vision and Pattern Recognition, 2019.
215
+ L. Xie and A. L. Yuille. Genetic CNN. In International Conference on Computer Vision, 2017.
216
+ S. Xie, H. Zheng, C. Liu, and L. Lin. SNAS: Stochastic neural architecture search. arXiv preprint arXiv:1812.09926, 2018.
217
+ S. Xie, A. Kirillov, R. Girshick, and K. He. Exploring randomly wired neural networks for image recognition. In International Conference on Computer Vision, 2019.
218
+ Y. Xu, L. Xie, X. Zhang, X. Chen, G. J. Qi, Q. Tian, and H. Xiong. Pc-darts: Partial channel connections for memory-efficient differentiable architecture search. arXiv preprint arXiv:1907.05737, 2019.
219
+ X. Zhang, X. Zhou, M. Lin, and J. Sun. Shufflenet: An extremely efficient convolutional neural network for mobile devices. In Computer Vision and Pattern Recognition, 2018.
220
+ H. Zhou, M. Yang, J. Wang, and W. Pan. Bayesnas: A bayesian approach for neural architecture search. arXiv preprint arXiv:1905.04919, 2019.
221
+ B. Zoph and Q. V. Le. Neural architecture search with reinforcement learning. In International Conference on Learning Representations, 2017.
222
+ B. Zoph, V. Vasudevan, J. Shlens, and Q. V. Le. Learning transferable architectures for scalable image recognition. In Computer Vision and Pattern Recognition, 2018.
223
+
224
+ # A APPENDIX
225
+
226
+ # A.1 A TOY EXAMPLE TO SHOW THE IMPORTANCE OF $\mathbf { g } _ { 2 }$
227
+
228
+ Let the loss function be $\begin{array} { l l l } { { \mathcal L } \left( \omega , \alpha ; x \right) } & { = } & { \left( \omega x - \alpha \right) ^ { 2 } } \end{array}$ . Then, the only difference between $\mathcal { L } _ { \mathrm { t r a i n } } \left( \omega , \alpha \right) = \mathcal { L } \left( \omega , \alpha ; x _ { \mathrm { t r a i n } } \right)$ and $\mathcal { L } _ { \mathrm { v a l i d } } \left( \omega , \alpha \right) = \mathcal { L } \left( \omega , \alpha ; x _ { \mathrm { v a l i d } } \right)$ lies in the input, $_ { \textbf { \em x } }$ . Assume the input of training data is ${ x } _ { \mathrm { t r a i n } } = 1$ and the input validation data is $\pmb { x } _ { \mathrm { v a l i d } } = 2$ . It is easy to derive that the local optimum of $\mathcal { L } _ { \mathrm { t r a i n } } \left( \omega , \alpha \right)$ is $\omega ^ { \ast } \left( \alpha \right) = \alpha$ . Substituting $\pmb { x } _ { \mathrm { v a l i d } } = 2$ into $\mathcal { L } _ { \mathrm { v a l i d } } \left( \omega , \alpha \right)$ yields ${ \mathcal { L } } _ { \mathrm { v a l i d } } \left( \omega , \alpha \right) = \left( 2 \omega - \alpha \right) ^ { 2 }$ . When $\mathbf { \alpha } _ { \alpha } = \mathbf { \alpha } _ { \mathbf { \alpha } _ { \mathbf { t } } }$ , $\omega$ arrives at $\omega ^ { \ast } \left( \alpha _ { \mathrm { t } } \right)$ , so $\mathbf { g } _ { 1 } = 2 \left( \alpha _ { \mathrm { t } } - 2 \alpha _ { \mathrm { t } } \right) = - 2 \alpha _ { \mathrm { t } }$ and $\mathbf { g } _ { 2 } = 4 \alpha _ { \mathrm { t } }$ . When $\omega$ arrives at ${ { \omega } ^ { * } } \left( \alpha \right) , { { \mathcal { L } } _ { v a l i d } } \left( { { \omega } ^ { * } } \left( \alpha \right) , \alpha \right) = { { \alpha } ^ { 2 } }$ , $\mathbf { g } \left( \alpha _ { \mathrm { t } } \right) = 2 \alpha _ { \mathrm { t } } = \mathbf { g } _ { 1 } + \mathbf { g } _ { 2 }$ . In summary, both $\mathbf { g } _ { 1 }$ and $\mathbf { g } _ { 2 }$ are important, but DARTS chose to ignore $\mathbf { g } _ { 2 }$ which can cause a dramatic error in approximation.
229
+
230
+ # A.2 THE COMPLEXITY OF $\mathbf { g } _ { 2 } ^ { ' }$ CAN BE SUBSTANTIALLY REDUCED USING THE FINITEDIFFERENCE APPROXIMATION
231
+
232
+ We use the finite difference approximation just like DARTS. Let $\epsilon$ be a small scalar, $\omega _ { 1 } \ = \ \omega + \epsilon \nabla _ { \omega } \mathcal { L } _ { \mathrm { v a l } } ( \omega , \alpha )$ , $\omega _ { 2 } ~ = ~ \omega - \epsilon \nabla _ { \omega } \mathcal { L } _ { \mathrm { v a l } } ( \omega , \alpha )$ . Then: $\begin{array} { r l } { \mathbf { H } \cdot \nabla _ { \omega } \mathcal { L } _ { \mathrm { v a l } } ( \omega , \alpha ) } & { = } \end{array}$ $\frac { \nabla _ { \omega } \mathcal { L } _ { \mathrm { t r a i n } } ( \omega _ { 1 } , \alpha ) - \nabla _ { \omega } \mathcal { L } _ { \mathrm { t r a i n } } ( \omega _ { 2 } , \alpha ) } { \mathrm { . } }$ . $\begin{array} { r l r } { \omega _ { 3 } } & { { } = } & { \omega \ + \ \frac { \nabla _ { \omega } \mathcal { L } _ { \mathrm { t r a i n } } ( \omega _ { 1 } , \alpha ) - \nabla _ { \omega } \mathcal { L } _ { \mathrm { t r a i n } } ( \omega _ { 2 } , \alpha ) } { 2 } } \end{array}$ , $\omega _ { 4 } = \omega - \frac { } { }$ 2 . Then: $\frac { \nabla _ { \omega } \mathcal { L } _ { \mathrm { t r a i n } } ( \omega _ { 1 } , \alpha ) ^ { - \infty } \nabla _ { \omega } \mathcal { L } _ { \mathrm { t r a i n } } ( \omega _ { 2 } , \alpha ) } { 2 }$ $\begin{array} { r } { \mathbf { g } _ { 2 } ^ { \prime } = - \pmb { \eta } \times \frac { \nabla _ { \omega } \mathcal { L } _ { \mathrm { v a l } } ( \omega _ { 3 } , \alpha ) - \bar { \nabla _ { \omega } } \mathcal { L } _ { \mathrm { v a l } } ( \omega _ { 4 } , \alpha ) } { 2 \epsilon } } \end{array}$
233
+
234
+ # A.3 A TOY EXAMPLE TO SHOW THE IMPORTANCE OF THE “GRADIENT TRAP”
235
+
236
+ We have a small toy case to show the influence of the “gradient trap”. We searched for a small super-network in the DARTS’s search space, which only has two cells(we searched for 600 epochs).
237
+
238
+ When we train the super-network in the “training sets in search phase” and validate in the “validation sets in search phase”, the test error using $\mathbf { g } _ { 2 } ^ { ' }$ is $1 0 . 5 \%$ while the test error without ${ \bf g } _ { 2 } ^ { ' }$ is $1 2 . 8 \%$ .
239
+
240
+ When we train the super-network in the training sets and validate in the validation sets, the test error using ${ \bf g } _ { 2 } ^ { ' }$ is $5 . 4 \%$ while the test error without $\mathbf { g } _ { 2 } ^ { ' }$ is $7 . 4 \%$ .
241
+
242
+ When we generalize and train the network in the training sets and validate in the validation sets, the test error using ${ \bf g } _ { 2 } ^ { ' }$ is $6 . 2 \%$ while the test error without $\mathbf { g } _ { 2 } ^ { \prime }$ is $7 . 4 \%$ .
243
+
244
+ In this case the “gradient trap” will cause a dramatic accuracy drop of the super-network.
245
+
246
+ # A.4 SEARCH WITH DIFFERENT SEEDS
247
+
248
+ We ran our search algorithms with different seeds for 5 times in $S _ { 2 }$ and evaluated each discovered architecture for 3 times. The lowest test error is $2 . 5 7 { \pm } 0 . 1 1 \%$ and the highest is $2 . 6 3 { \pm } 0 . 1 3 \%$ . We did the same thing on $S _ { 1 }$ and the lowest and the highest test errors are $2 . 7 1 \pm 0 . 1 5 \%$ and $2 . 9 2 \pm 0 . 0 9 \%$ , respectively.
249
+
250
+ As we expected, the results in $S _ { 1 }$ are less robust than those in $S _ { 2 }$ . The main reason is the difference between search and evaluation, including the different depths of search and evaluation networks and the the discretization stage of the standard DARTS method.
251
+
252
+ More importantly, our approach survives after 500 (and even more) epochs, while DARTS degenerates to an all-skip-connect architecture in all $( 1 0 + )$ individual runs.
253
+
254
+ A.5 THEORETICAL ANALYSIS OF SEMI-POSITIVE-DEFINITE MATRIX AFTER SIMILARITY TRANSFORMATION
255
+
256
+ $\mathbf { A } = \mathbf { C } ^ { T } \cdot \mathbf { C } .$ , A is a semi-positive-definite matrix. In this case, the number of different eigenvalues is far less than the dimension of A(hundreds compared to millions). $\mathbf { H }$ is a real symmetric positivedefinite matrix.
257
+
258
+ Let $\big \{ \alpha _ { \mathrm { i } } \big \}$ be a set of eigenvectors w.r.t $\mathbf { A } ( \alpha _ { \mathrm { i } } ^ { T } \cdot \alpha _ { \mathrm { i } } = 1 )$ ), then $\{ \mathbf { H } \cdot \mathbf { \boldsymbol { \alpha } } _ { \mathrm { i } } \}$ is a set of eigenvectors w.r.t $\mathbf { H } \cdot \dot { \mathbf { A } } \cdot \dot { \mathbf { H } } ^ { - 1 }$ , $\{ \mathbf { H } ^ { - 1 } \cdot \mathbf { \bar { \alpha } } _ { \mathrm { i } } \}$ is a set of eigenvectors w.r.t $\mathbf { H } ^ { - 1 } \cdot \mathbf { A } \cdot \mathbf { H }$ , and $\{ \lambda _ { \mathrm { i } } \}$ is a set of eigenvectors shared by them.
259
+
260
+ Let $\beta$ be an eigenvector $\begin{array} { r } { \mathbf { \operatorname { p f } } \mathbf { H } { \cdot } \mathbf { A } { \cdot } \mathbf { H } ^ { - 1 } + \mathbf { H } ^ { - 1 } { \cdot } \mathbf { A } { \cdot } \mathbf { H } , \beta = \sum _ { \mathrm { i } = 1 } ^ { \mathrm { n } } a _ { \mathrm { i } } \times \mathbf { H } \cdot \alpha _ { \mathrm { i } } = \sum _ { \mathrm { i } = 1 } ^ { \mathrm { n } } b _ { \mathrm { i } } \times \mathbf { H } ^ { - 1 } \cdot \alpha _ { \mathrm { i } } . } \end{array}$ $\begin{array} { r l } & { \qquad \mathrm { E } : = \dots \qquad \mathrm { A } : \mathrm { H } ^ { - 1 } + \mathrm { H } ^ { - 1 } \cdot \mathrm { A } \cdot \mathrm { H } \cdot \mathrm { \Lambda } \mathrm { H } \cdot \mathrm { \Lambda } \beta = \mathrm { \Lambda } \lambda \beta , \quad \mathrm { ~ a } : = 1 \times \mathrm { H } \cdot \mathrm { \Lambda } \alpha _ { \mathrm { i } } + \sum _ { \mathrm { i } = 1 } ^ { \mathrm { n } } b _ { \mathrm { i } } \lambda _ { \mathrm { i } } \times \mathrm { H } ^ { - 1 } \cdot \alpha _ { \mathrm { i } } = } \\ & { \underset { \mathrm { - i } = 1 } { \sum } a _ { \mathrm { i } } \lambda \times \mathrm { H } \cdot \alpha _ { \mathrm { i } } = \sum _ { \mathrm { i } = 1 } ^ { \mathrm { n } } b _ { \mathrm { i } } \lambda \times \mathrm { H } ^ { - 1 } \cdot \alpha _ { \mathrm { i } } . } \\ & { \underset { \mathrm { - i } = 1 } { \sum } \left( \lambda _ { \mathrm { i } } - \lambda \right) a _ { \mathrm { i } } b _ { \mathrm { i } } = - \sum _ { \mathrm { i } = 1 } ^ { \mathrm { n } } \left( \lambda _ { \mathrm { i } } - \lambda \right) b _ { \mathrm { i } } \alpha _ { \mathrm { i } } ^ { T } \cdot \mathrm { H } ^ { - 1 } \cdot \sum _ { \mathrm { i } = 1 } ^ { \mathrm { n } } \left( \lambda _ { \mathrm { i } } - \lambda \right) b _ { \mathrm { i } } \mathrm { H } ^ { - 1 } \cdot \alpha _ { \mathrm { i } } \le 0 } \end{array}$
261
+
262
+ A is a real symmetric matrix, so we have many sets of $\big \{ \alpha _ { \mathrm { i } } \big \}$ that is orthogonal to each other. $\beta ^ { T } \cdot \beta =$ $\textstyle \sum _ { \mathrm { i } = 1 } ^ { \mathrm { n } } a _ { \mathrm { i } } b _ { \mathrm { i } } \geq 0$ , For every eigenvalue, the dimension of the subspace will be very high in the case of neural architecture search, so we assume that we can choose a set of $\big \{ \alpha _ { \mathrm { i } } \big \}$ orthogonal to each other from the subspace satisfying Pni+1j=ni $\sum _ { \mathrm { j = n _ { i } } } ^ { \mathrm { n _ { i + 1 } - 1 } } a _ { \mathrm { j } } b _ { \mathrm { j } } \geq 0$ in most cases $\mathrm { { \acute { n } _ { i } } }$ is the id of the first eigenvector w.r.t $\lambda _ { \mathrm { i } }$ ).
263
+
264
+ $\begin{array} { r } { \sum _ { \mathrm { i = 1 } } ^ { \mathrm { n } } \left( \lambda _ { \mathrm { i } } - \lambda \right) a _ { \mathrm { i } } b _ { \mathrm { i } } = \sum _ { \mathrm { i = 1 } } ^ { \mathrm { n } } \left( \lambda _ { \mathrm { i } } - \lambda \right) \sum _ { \mathrm { j = n _ { i } } } ^ { \mathrm { n _ { i + 1 } - 1 } } a _ { \mathrm { j } } b _ { \mathrm { j } } \le 0 } \end{array}$ so $\boldsymbol { \lambda }$ cannot be smaller than zero.
265
+
266
+ All of the eigenvalues w.r.t real symmetric matrix $\mathbf { H } \cdot \mathbf { A } \cdot \mathbf { H } ^ { - 1 } + \mathbf { H } ^ { - 1 } \cdot \mathbf { A } \cdot \mathbf { H }$ is not smaller than zero, so it is semi-positive-definite. Then we get that $\mathbf { H } ^ { - 1 } \cdot \mathbf { A } \cdot \mathbf { H }$ is semi-positive-definite.
parse/train/BJlgt2EYwr/BJlgt2EYwr_content_list.json ADDED
@@ -0,0 +1,1282 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "STABILIZING DARTS WITH AMENDED GRADIENT ESTIMATION ON ARCHITECTURAL PARAMETERS ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 176,
8
+ 98,
9
+ 821,
10
+ 146
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Anonymous authors Paper under double-blind review ",
17
+ "bbox": [
18
+ 183,
19
+ 171,
20
+ 398,
21
+ 198
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "ABSTRACT ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 454,
31
+ 234,
32
+ 544,
33
+ 251
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "Differentiable neural architecture search has been a popular methodology of exploring architectures for deep learning. Despite the great advantage of search efficiency, it often suffers weak stability, which hinders it from being applied to a large search space or being flexibly adjusted to different scenarios. This paper investigates DARTS, the currently most popular differentiable search algorithm, and points out an important factor of instability, which lies in its approximation on the gradients of architectural parameters. In the current status, the optimization algorithm can converge to another point which results in dramatic inaccuracy in the re-training process. Based on this analysis, we propose an amending term for computing architectural gradients by making use of a direct property of the optimality of network parameter optimization. Our approach mathematically guarantees that gradient estimation follows a roughly correct direction, which leads the search stage to converge on reasonable architectures. In practice, our algorithm is easily implemented and added to DARTS-based approaches efficiently. Experiments on CIFAR and ImageNet demonstrate that our approach enjoys accuracy gain and, more importantly, enables DARTS-based approaches to explore much larger search spaces that have not been studied before. ",
40
+ "bbox": [
41
+ 233,
42
+ 265,
43
+ 764,
44
+ 501
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 INTRODUCTION ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 176,
54
+ 525,
55
+ 336,
56
+ 540
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Neural architecture search (NAS) has been an important topic in the research area of automated machine learning (AutoML). The idea is to replace the manual way of designing neural network architectures with an automatic algorithm, by which deep learning methods become more flexible in fitting complex data distributions, e.g., large-scale image datasets. Early efforts of NAS involved using heuristic search methods such as reinforcement learning (Zoph & Le, 2017; Zoph et al., 2018) and evolutionary algorithms (Real et al., 2017; Xie & Yuille, 2017) to sample networks from a large search space, and optimizing each sampled network individually to evaluate its quality. Despite notable successes obtained by this methodology, it often requires a vast amount of computation, which obstacles its applications in the scenarios of limited resources. Inspired by the idea of reusing and sharing parameters among trained networks, DARTS (Liu et al., 2019b) was designed as a ‘one-shot’ solution of NAS. The major difference from the aforementioned methods is a differentiable formulation of architecture search and an end-to-end mechanism which optimizes model weights (such as convolution) and architectural weights simultaneously. Recently, improvements upon DARTS were made in various aspects (Chen et al., 2019; Xu et al., 2019; Liang et al., 2019), making it a reasonable tradeoff between search cost and performance. ",
63
+ "bbox": [
64
+ 174,
65
+ 556,
66
+ 825,
67
+ 763
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Despite its broad applications, the current pipeline of DARTS (or, generally speaking, differentiable NAS approaches) suffers a critical weakness known as instability. Researchers reported (Liang et al., 2019) that DARTS-based algorithms can sometimes generate weird architectures that produce considerably worse accuracy than those generated in other individual runs, or even significantly worse than randomly generated architectures. There indeed exist tricks designed by human expertise (Chen et al., 2019; Nayman et al., 2019; Liang et al., 2019) to alleviate this issue, but we point out that these approaches violated the ideology of NAS, which is to maximally prevent human interventions. Moreover, even with such add-ons, a dramatic property of DARTS persists and has not been studied carefully in prior work. When DARTS, as well as its variants, gets trained for a longer time, e.g., from the default number of 50 epochs to 200 epochs, we surprisingly observe that all these approaches converge to very similar architectures, in which almost all edges are occupied by skip-connect (a.k.a., identity). These architectures, with fewer trainable parameters, are often far from producing high accuracy in particular on large datasets like ImageNet, but they somehow produce sufficiently high validation accuracy in the search stage. In other words, convergence in search often leads to bad performance in re-training. This is why some previous DARTS-based approaches advocated for early termination (Liang et al., 2019), a practical but non-essential solution. Also, we conjecture that early termination also contributes to the lack of stability and, more importantly, trustfulness, of DARTS-based approaches. ",
74
+ "bbox": [
75
+ 174,
76
+ 771,
77
+ 825,
78
+ 924
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "",
85
+ "bbox": [
86
+ 173,
87
+ 103,
88
+ 825,
89
+ 202
90
+ ],
91
+ "page_idx": 1
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "This paper delves deep into the inconsistency between convergence and performance. We show that the devil lies in optimizing the loss function of the super-network, $\\mathcal { L } _ { \\mathrm { v a l } } ( \\bar { \\omega } ^ { \\star } ( \\alpha ) , \\alpha )$ ( $\\omega$ and $_ { \\pmb { \\alpha } }$ denote network and architectural parameters, respectively, and $\\omega ^ { \\star } ( \\alpha )$ is the global optimum of $\\omega$ given $_ \\alpha$ ), in which ω and α get updated alternately. Following the chain rule, ∇αLval(ω?(α) , α)|α=αt equals to $\\nabla _ { \\alpha } \\mathcal { L } _ { \\mathrm { v a l } } ( \\omega , \\alpha ) | _ { \\omega = \\omega ^ { \\star } ( \\alpha _ { t } ) , \\alpha = \\alpha _ { t } } + \\left. \\nabla _ { \\alpha } \\omega ^ { \\star } ( \\alpha ) \\right| _ { \\alpha = \\alpha _ { t } }$ · $\\nabla _ { \\omega } \\mathcal { L } _ { \\mathrm { v a l } } ( \\omega , \\alpha ) | _ { \\omega = \\omega ^ { \\star } ( \\alpha _ { t } ) , \\alpha = \\alpha _ { t } }$ , in which the first term is easy to compute while the second term is not, mainly because $\\omega ^ { \\star } ( \\alpha )$ is difficult to estimate, and so is the term of ∇αω?(α)|α=αt . DARTS-based approaches performed inaccurate approximation for this purpose, in which the first-order version of DARTS directly discarded the second term – but this term is often numerically significant, and the second-order version of DARTS applied an approximation to this term which is not mathematically guaranteed (see Section 3.4). Consequently, the accuracy of $\\nabla _ { \\alpha } \\mathcal { L } _ { \\mathrm { v a l } } \\big ( \\omega ^ { \\star } ( \\alpha ) , \\alpha \\big ) | _ { \\alpha = \\alpha _ { t } }$ cannot be guaranteed, and hence the update of $_ { \\pmb { \\alpha } }$ can be problematic. To the best of our knowledge, this issue is not studied by existing DARTS-based approaches. ",
96
+ "bbox": [
97
+ 174,
98
+ 208,
99
+ 825,
100
+ 393
101
+ ],
102
+ "page_idx": 1
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "To deal with this problem, we propose an alternative way of computing $\\nabla _ { \\alpha } \\omega ^ { \\star } ( \\alpha ) | _ { \\alpha = \\alpha _ { t } }$ . We make use of an important property, i.e., $\\nabla _ { \\omega } \\mathcal { L } _ { \\mathrm { t r a i n } } ( \\omega , \\alpha ) | _ { \\omega = \\omega ^ { \\star } ( \\alpha ^ { \\dagger } ) , \\alpha = \\alpha ^ { \\dagger } } \\ \\equiv \\ \\mathbf { 0 }$ holds for any $\\alpha ^ { \\dagger }$ , which directly comes from the optimality of $\\omega ^ { \\star } ( \\alpha )$ . Differentiating both sides with respect to $\\alpha ^ { \\dagger }$ , we obtain a new equality which enables computing derives $\\nabla _ { \\alpha } \\omega ^ { \\star } ( \\alpha ) | _ { \\alpha = \\alpha _ { t } }$ with the inverse of the Hesse matrix, $\\nabla _ { \\omega } ^ { 2 } \\mathcal { L } _ { \\mathrm { t r a i n } } ( \\omega , \\alpha ) \\big | _ { \\omega = \\omega ^ { \\star } ( \\alpha ) , \\alpha = \\alpha _ { t } }$ . This idea enables us to achieve a more accurate approximation on $\\nabla _ { \\alpha } \\mathcal { L } _ { \\mathrm { v a l } } \\big ( \\omega ^ { \\star } ( \\alpha ) , \\alpha \\big ) | _ { \\alpha = \\alpha _ { t } }$ when $\\omega ^ { \\star } ( \\alpha )$ is not available. Mathematically, we prove that when we have $\\omega ^ { \\mathrm { e s t } } \\approx \\omega ^ { \\star } ( \\alpha _ { t } )$ , the inner angle between the second term and our approximate term is smaller than 90 degrees. Note that this property does not hold in existing DARTS-based algorithms. Our final solution involves using the amended second term of ∇αLval(ω?(α) , α)|α=αt meanwhile keeping the first term unchanged, which goes one step further in optimizing the supernetwork, which reflects in a higher validation accuracy in the search stage. ",
107
+ "bbox": [
108
+ 173,
109
+ 400,
110
+ 825,
111
+ 570
112
+ ],
113
+ "page_idx": 1
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "Our approach is very easily implemented. The overall computational overhead is comparable to the second-order version of DARTS. Experiments are performed on image classification, with popular datasets including CIFAR and ImageNet being used. In all experiments, we allow the search stage to come to a complete convergence and report competitive accuracy among current state-of-thearts. The stability of our approach also enables us to close the gap between hyper-parameters of search and evaluation, as well as explore more complex search spaces, which are believed to be correct directions of NAS but existing DARTS-based approaches would mostly fail. Therefore, we believe our algorithm can expand the application scenario of differentiable NAS methods in particular DARTS-based approaches. ",
118
+ "bbox": [
119
+ 174,
120
+ 577,
121
+ 825,
122
+ 702
123
+ ],
124
+ "page_idx": 1
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "The remainder of this paper is organized as follows. We briefly review related work in Section 2, and illustrate our approach of amending architectural gradients in Section 3. After experiments are shown in Section 4, we conclude this work in Section 5. ",
129
+ "bbox": [
130
+ 176,
131
+ 709,
132
+ 825,
133
+ 751
134
+ ],
135
+ "page_idx": 1
136
+ },
137
+ {
138
+ "type": "text",
139
+ "text": "2 RELATED WORK ",
140
+ "text_level": 1,
141
+ "bbox": [
142
+ 176,
143
+ 785,
144
+ 344,
145
+ 801
146
+ ],
147
+ "page_idx": 1
148
+ },
149
+ {
150
+ "type": "text",
151
+ "text": "With the era of big data and powerful computational resources, deep learning (LeCun et al., 2015), in particular, deep neural networks (Krizhevsky et al., 2012), have rapidly grown up to be the standard tool for learning representations in a complicated feature space. Recent years have witnessed the trend of using deeper (He et al., 2016) and denser (Huang et al., 2017) networks to boost recognition performance, while there is no justification that whether these manually designed architectures are best for each specific task, e.g., image classification. To advance, researchers started considering the possibility of learning network architectures automatically from data, which led to the appearance of neural architecture search (NAS) (Zoph & Le, 2017), which is now popular and known as a sub research field in automated machine learning (AutoML). ",
152
+ "bbox": [
153
+ 174,
154
+ 825,
155
+ 825,
156
+ 924
157
+ ],
158
+ "page_idx": 1
159
+ },
160
+ {
161
+ "type": "text",
162
+ "text": "",
163
+ "bbox": [
164
+ 173,
165
+ 103,
166
+ 823,
167
+ 132
168
+ ],
169
+ "page_idx": 2
170
+ },
171
+ {
172
+ "type": "text",
173
+ "text": "The common pipeline of NAS starts with a pre-defined space of network operators. Since the search space is often large (e.g., containing $1 0 ^ { 1 0 }$ or even more possible architectures), it is unlikely that exhaustive search is tractable, and thus heuristic search methods are widely applied for speedup. Typical examples include reinforcement learning (Zoph & Le, 2017; Zoph et al., 2018; Liu et al., 2018a) and evolutionary algorithms (Real et al., 2017; Xie & Yuille, 2017; Real et al., 2019). These approaches followed a general pipeline that samples a set of architectures from a learnable distribution, evaluates them and learns from rewards by updating the distribution. In an early age, each sampled architecture underwent an individual training process from scratch and thus the overall computational overhead is large, e.g., hundreds of even thousands of GPU-days. To alleviate the burden, researchers started to share computation among training sampled architectures, with the key lying in reusing network weights trained previously (Cai et al., 2018) or starting from a well-trained super-network (Pham et al., 2018). These efforts shed light on the so-called one-shot architecture search methods, which required training the super-network only once and thus ran more efficiently, e.g., two or three orders of magnitude faster than conventional approaches. ",
174
+ "bbox": [
175
+ 174,
176
+ 138,
177
+ 825,
178
+ 333
179
+ ],
180
+ "page_idx": 2
181
+ },
182
+ {
183
+ "type": "text",
184
+ "text": "Within the scope of one-shot architecture search, an elegant solution lies in jointly formulating architecture search and approximation, so that it is possible to apply end-to-end optimization for training network and architectural parameters simultaneously. This methodology is known today as differentiable NAS, and a typical example is DARTS (Liu et al., 2019b), which constructed a super-network with all possible operators contained and decoupled, and the goal is to determine the weights of these architectural parameters, followed by pruning and re-training stages. This kind of approach allowed more flexible search space to be constructed, unlike conventional approaches with either reinforcement or evolutionary learning, which suffer from the computational burden and thus must constrain search within a relatively small search space (Tan & Le, 2019). ",
185
+ "bbox": [
186
+ 174,
187
+ 340,
188
+ 825,
189
+ 465
190
+ ],
191
+ "page_idx": 2
192
+ },
193
+ {
194
+ "type": "text",
195
+ "text": "Despite the inspirations brought by differentiable NAS, these approaches still suffer a few critical issues that narrow down their applications in practice. One significant drawback lies in the lack of stability, which reflects in the way that results of differentiable search can be impacted by very small perturbations, e.g., initialization of architectural weights, training hyper-parameters, and even randomness in the training process. Existing solutions include running search for several individual times and choosing the best one in validation (Liu et al., 2019b), or using other kinds of techniques such as decoupling modules (Cai et al., 2019; Guo et al., 2019), adjusting search space during optimization (Noy et al., 2019; Chen et al., 2019; Nayman et al., 2019), regularization $\\mathrm { { X u } }$ et al., 2019), early termination (Liang et al., 2019), etc., however, these approaches seemed to develop heuristic remedies rather than analyze it from the mathematical fundamentals, e.g., how instability happens in mathematics. ",
196
+ "bbox": [
197
+ 174,
198
+ 472,
199
+ 825,
200
+ 625
201
+ ],
202
+ "page_idx": 2
203
+ },
204
+ {
205
+ "type": "text",
206
+ "text": "In this paper, we investigate the stability issue in mathematics and show that the results produced by the current approaches are much less reliable than people used to think. Then, we fix this issue by amending optimization of the architectural parameters, so that each step of the update gets closer to the correct direction. We show great improvement on stability in a fundamental task, image classification, while we believe our approach can be applied to a wide range of tasks including object detection (Ghiasi et al., 2019), semantic segmentation (Liu et al., 2019a), hyper-parameter learning (Cubuk et al., 2019), etc. ",
207
+ "bbox": [
208
+ 174,
209
+ 632,
210
+ 825,
211
+ 729
212
+ ],
213
+ "page_idx": 2
214
+ },
215
+ {
216
+ "type": "text",
217
+ "text": "3 STABILIZING DARTS WITH AMENDED GRADIENTS ",
218
+ "text_level": 1,
219
+ "bbox": [
220
+ 176,
221
+ 750,
222
+ 633,
223
+ 766
224
+ ],
225
+ "page_idx": 2
226
+ },
227
+ {
228
+ "type": "text",
229
+ "text": "In this section, we first show that DARTS can fail dramatically when it gets trained till convergence, and then we mathematically analyze how this problem is related to inaccurate approximation in optimization, following which we present our solution to amend this error and thus stabilize DARTS. ",
230
+ "bbox": [
231
+ 176,
232
+ 781,
233
+ 825,
234
+ 824
235
+ ],
236
+ "page_idx": 2
237
+ },
238
+ {
239
+ "type": "text",
240
+ "text": "3.1 PRELIMINARIES: DIFFERENTIABLE NEURAL ARCHITECTURE SEARCH ",
241
+ "text_level": 1,
242
+ "bbox": [
243
+ 173,
244
+ 842,
245
+ 699,
246
+ 856
247
+ ],
248
+ "page_idx": 2
249
+ },
250
+ {
251
+ "type": "text",
252
+ "text": "Differentiable NAS approaches start with defining a super-network, which is constrained in a search space with a pre-defined number of layers and a limited set of neural operators. The core idea is to introduce a ‘soft’ way operator selection (i.e., using a weighted sum over the outputs of a few operators instead of taking the output of only one), so that optimization can be done in an end-toend manner. Mathematically, the super-network is a function $\\mathbf { f } \\left( \\mathbf { x } ; \\omega , \\alpha \\right)$ , with $\\mathbf { x }$ being input, and parameterized by network parameters $\\omega$ (e.g., convolutional kernels) and architectural parameters $_ { \\pmb { \\alpha } }$ (e.g., indicating the importance of each operator between each pair of layers). $\\mathbf { f } \\left( \\mathbf { x } ; \\omega , \\alpha \\right)$ is differentiable to both $\\omega$ and $_ { \\pmb { \\alpha } }$ , so that gradient-based approaches can be applied for optimization. ",
253
+ "bbox": [
254
+ 176,
255
+ 867,
256
+ 823,
257
+ 924
258
+ ],
259
+ "page_idx": 2
260
+ },
261
+ {
262
+ "type": "image",
263
+ "img_path": "images/90b275c4f31ff6a8aab6e67e8f3f69367a7a1877308a6bb9227e7ab562343780.jpg",
264
+ "image_caption": [
265
+ "Figure 1: Left: a typical search process of the first-order DARTS, in which 200 search epochs are used. Red, green and blue lines indicate the average weight of none, the ratio of dominant skipconnect operators (over 14 normal edges) and the re-training accuracy, with respect to the number of search epochs, respectively. Right: the normal cell obtained after 200 search epochs, in which all preserved operators are skip-connect. We executed both first-order and second-order DARTS for several times, and such failure consistently happens in each individual run. "
266
+ ],
267
+ "image_footnote": [],
268
+ "bbox": [
269
+ 189,
270
+ 108,
271
+ 794,
272
+ 233
273
+ ],
274
+ "page_idx": 3
275
+ },
276
+ {
277
+ "type": "text",
278
+ "text": "",
279
+ "bbox": [
280
+ 174,
281
+ 358,
282
+ 825,
283
+ 415
284
+ ],
285
+ "page_idx": 3
286
+ },
287
+ {
288
+ "type": "text",
289
+ "text": "In the example of DARTS, $\\mathbf { f } \\left( \\mathbf { x } ; \\omega , \\alpha \\right)$ is composed of a few cells, each of which contains $N$ nodes, and there is a pre-defined set, $\\mathcal { E }$ , denoting which pairs of nodes are connected. For each connected node pair $( i , j ) , i < j$ , node $j$ takes the output of node $i$ , $\\mathbf { x } _ { i }$ , as a part of its input, and propagate it through a pre-defined operator set, $\\mathcal { O }$ , with all outputs summed up: ",
290
+ "bbox": [
291
+ 174,
292
+ 421,
293
+ 825,
294
+ 478
295
+ ],
296
+ "page_idx": 3
297
+ },
298
+ {
299
+ "type": "equation",
300
+ "img_path": "images/d9c9c9acf15499a89f5d6e581cc61c1399cba2a14516fda900fc3b41ec03ce5b.jpg",
301
+ "text": "$$\n\\mathbf { y } ^ { ( i , j ) } \\left( \\mathbf { x } _ { i } \\right) = \\sum _ { o \\in \\mathcal { O } } \\frac { \\exp ( \\alpha _ { o } ^ { ( i , j ) } ) } { \\sum _ { o ^ { \\prime } \\in \\mathcal { O } } \\exp ( \\alpha _ { o } ^ { ( i , j ) } ) } \\cdot o ( \\mathbf { x } _ { i } ) .\n$$",
302
+ "text_format": "latex",
303
+ "bbox": [
304
+ 348,
305
+ 484,
306
+ 650,
307
+ 529
308
+ ],
309
+ "page_idx": 3
310
+ },
311
+ {
312
+ "type": "text",
313
+ "text": "Here, a softmax term is computed by architectural weights to normalize outputs. Within each unit of the search process, $\\omega$ and $_ { \\pmb { \\alpha } }$ get optimized alternately. After search, the operator $o$ with the maximal value of $\\alpha _ { o } ^ { ( i , j ) }$ is preserved for each edge $( i , j )$ . All network parameters $\\omega$ are discarded and the obtained architecture is re-trained from scratch1. ",
314
+ "bbox": [
315
+ 174,
316
+ 535,
317
+ 825,
318
+ 594
319
+ ],
320
+ "page_idx": 3
321
+ },
322
+ {
323
+ "type": "text",
324
+ "text": "3.2 DARTS FAILS: THE CONTRADICTORY BETWEEN CONVERGENCE AND PERFORMANCE ",
325
+ "text_level": 1,
326
+ "bbox": [
327
+ 174,
328
+ 613,
329
+ 812,
330
+ 627
331
+ ],
332
+ "page_idx": 3
333
+ },
334
+ {
335
+ "type": "text",
336
+ "text": "Our research is motivated by an observation that DARTS, at the end of a regular training process with, say, 50 epochs (Liu et al., 2019b), has not yet arrived at or even got close to convergence, yet the weight of the none (a.k.a., zero) operator is consistently the largest on each edge of the normal cell. To verify this, we increase the length of each training stage by 4 times, i.e., from 50 to 200 epochs. Two weird phenomena are observed, both of which are shown in the left part of Figure 1. First, the weight of the none operator monotonically goes up – at 200 epochs, the weight has achieved 0.97 on each edge of the normal cells, however, this operator is not considered in the final architecture. Second, almost all preserved operators are skip-connect (a.k.a., identity), a parameter-free operator that contributes little to feature learning – and surprisingly, it occupies $3 0 \\%$ to $7 0 \\%$ of the weight remained by none. Such a network has much fewer parameters than a well-designed one, and thus it usually reports unsatisfying performance at the re-training stage. This indicates that, in the context of DARTS, there exists a contradictory between search convergence and re-training accuracy. ",
337
+ "bbox": [
338
+ 174,
339
+ 638,
340
+ 825,
341
+ 808
342
+ ],
343
+ "page_idx": 3
344
+ },
345
+ {
346
+ "type": "text",
347
+ "text": "We point out that this is a critical issue, which suggests that when using DARTS-based approaches, one does not hope the search process to achieve convergence as it implies bad performance. In other words, each ‘successful’ architecture comes from an early-terminated search process. Consequently, the initialization of parameters $\\scriptstyle { \\mathbf { \\alpha } } _ { \\alpha }$ and $\\omega$ ), the hyper-parameters of search (e.g., learning rate) and the time of terminating search become important and thus need to be determined by experience (Liang et al., 2019). This weakens the stability as well as explainability of search and, more importantly, violates the fundamental ideology of AutoML, i.e., maximally reducing human interference and determining the best architecture by training data. ",
348
+ "bbox": [
349
+ 174,
350
+ 813,
351
+ 825,
352
+ 897
353
+ ],
354
+ "page_idx": 3
355
+ },
356
+ {
357
+ "type": "text",
358
+ "text": "",
359
+ "bbox": [
360
+ 171,
361
+ 103,
362
+ 825,
363
+ 133
364
+ ],
365
+ "page_idx": 4
366
+ },
367
+ {
368
+ "type": "text",
369
+ "text": "3.3 DELVING DEEP INTO MATHEMATICS: PROBLEM AND SOLUTION ",
370
+ "text_level": 1,
371
+ "bbox": [
372
+ 176,
373
+ 147,
374
+ 660,
375
+ 164
376
+ ],
377
+ "page_idx": 4
378
+ },
379
+ {
380
+ "type": "text",
381
+ "text": "We point out that the reason lies in inaccurate estimation of the gradient with respect to $_ { \\pmb { \\alpha } }$ , namely, $\\nabla _ { \\alpha } \\bar { \\mathcal { L } } _ { \\mathrm { v a l } } \\big ( \\omega ^ { \\star } ( \\alpha ) , \\alpha \\big ) | _ { \\alpha = \\alpha _ { t } }$ . Following the chain rule of gradients, this quantity equals to ",
382
+ "bbox": [
383
+ 176,
384
+ 174,
385
+ 823,
386
+ 204
387
+ ],
388
+ "page_idx": 4
389
+ },
390
+ {
391
+ "type": "equation",
392
+ "img_path": "images/b2199ddb4ecbe5393fc3630854dc9a53e6bbda85391389ab2f2072a508966b88.jpg",
393
+ "text": "$$\n\\nabla _ { \\alpha } \\mathcal { L } _ { \\mathrm { v a l } } ( \\omega , \\alpha ) | _ { \\omega = \\omega ^ { \\star } ( \\alpha _ { t } ) , \\alpha = \\alpha _ { t } } + \\nabla _ { \\alpha } \\omega ^ { \\star } ( \\alpha ) | _ { \\alpha = \\alpha _ { t } } \\cdot \\nabla _ { \\omega } \\mathcal { L } _ { \\mathrm { v a l } } ( \\omega , \\alpha ) | _ { \\omega = \\omega ^ { \\star } ( \\alpha _ { t } ) , \\alpha = \\alpha _ { t } } ,\n$$",
394
+ "text_format": "latex",
395
+ "bbox": [
396
+ 218,
397
+ 208,
398
+ 781,
399
+ 228
400
+ ],
401
+ "page_idx": 4
402
+ },
403
+ {
404
+ "type": "text",
405
+ "text": "in which the first term is relatively easy to compute (as is done by the first-order version of DARTS), while the second term, in particular $\\mathrm { \\nabla } \\nabla _ { \\alpha } \\omega ^ { \\star } ( \\bar { \\alpha } ) | _ { \\alpha = \\alpha _ { t } }$ , is not. The first-order version of DARTS directly discarded this term, but it often has significant numerical values which are not negligible. The second-order version of DARTS indeed proposed an approximation to this term, but, as we shall see in the next subsection, can incur a large approximation error (the inner-product between the correct and estimated directions can be smaller than 0). Consequently, there can be a significant gap between the estimated and true values of $\\nabla _ { \\alpha } \\mathcal { L } _ { \\mathrm { v a l } } \\big ( \\omega ^ { \\star } ( \\alpha ) , \\alpha \\big ) | _ { \\alpha = \\alpha _ { t } }$ . Such inaccuracy accumulates with every update on $_ { \\pmb { \\alpha } }$ , and gradually causes $_ { \\pmb { \\alpha } }$ to converge to weird solutions that are far from optimum, e.g., the entire super-network is dominated by none and skip-connect operators. We name this phenomenon as the gradient trap during optimization. ",
406
+ "bbox": [
407
+ 173,
408
+ 231,
409
+ 825,
410
+ 372
411
+ ],
412
+ "page_idx": 4
413
+ },
414
+ {
415
+ "type": "text",
416
+ "text": "To estimate $\\nabla _ { \\alpha } \\omega ^ { \\star } ( \\alpha ) | _ { \\alpha = \\alpha _ { t } }$ , we first make a reasonable assumption that $\\nabla _ { \\alpha } \\omega ^ { \\star } ( \\alpha ) | _ { \\alpha = \\alpha _ { t } }$ has finite values. Then, we make use of an important property, i.e., $\\nabla _ { \\omega } \\mathcal { L } _ { \\mathrm { t r a i n } } ( \\omega , \\alpha ) | _ { \\omega = \\omega ^ { \\star } ( \\alpha ^ { \\dagger } ) , \\alpha = \\alpha ^ { \\dagger } } \\ \\equiv \\ \\mathbf { 0 }$ holds for any $\\alpha ^ { \\dagger }$ . This is property directly comes from the optimality of $\\omega ^ { \\star } ( \\alpha )$ , but it has never been used by existing approaches. Applying differentiation with respect to any $\\alpha ^ { \\dagger }$ to both sides of this equality, we have $\\bar { \\nabla _ { \\alpha ^ { \\dagger } } } \\left( \\nabla _ { \\omega } \\mathcal { L } _ { \\mathrm { t r a i n } } ( \\omega , \\bar { \\alpha } ) | _ { \\omega = \\omega ^ { \\star } ( \\alpha ^ { \\dagger } ) , \\alpha = \\alpha ^ { \\dagger } } \\right) \\equiv \\mathbf { 0 }$ . When $ { \\alpha } ^ { \\dagger } = { \\alpha } _ { t }$ , it becomes: ",
417
+ "bbox": [
418
+ 173,
419
+ 377,
420
+ 825,
421
+ 463
422
+ ],
423
+ "page_idx": 4
424
+ },
425
+ {
426
+ "type": "equation",
427
+ "img_path": "images/0215eec06eb37d6b585d42af7531d53b383ac213e0f07b9c7e8d794e68720b2b.jpg",
428
+ "text": "$$\n\\nabla _ { \\alpha ^ { \\dagger } } \\left. \\left( \\nabla _ { \\omega } \\mathcal { L } _ { \\mathrm { t r a i n } } ( \\omega , \\alpha ) \\vert _ { \\omega = \\omega ^ { \\star } ( \\alpha ^ { \\dagger } ) , \\alpha = \\alpha ^ { \\dagger } } \\right) \\right. _ { \\alpha ^ { \\dagger } = \\alpha _ { t } } = 0 .\n$$",
429
+ "text_format": "latex",
430
+ "bbox": [
431
+ 320,
432
+ 468,
433
+ 676,
434
+ 497
435
+ ],
436
+ "page_idx": 4
437
+ },
438
+ {
439
+ "type": "text",
440
+ "text": "Again, applying the chain rule to the left-hand side gives: ",
441
+ "bbox": [
442
+ 174,
443
+ 500,
444
+ 552,
445
+ 515
446
+ ],
447
+ "page_idx": 4
448
+ },
449
+ {
450
+ "type": "equation",
451
+ "img_path": "images/8f7e5f4bccb150aa52ff125b8f45e9e65e19e6c30fd7e309403a537d294d62ee.jpg",
452
+ "text": "$$\n\\nabla _ { \\alpha , \\omega } ^ { 2 } \\mathcal { L } _ { \\mathrm { t r a i n } } ( \\omega , \\alpha ) \\big | _ { \\omega = \\omega ^ { * } ( \\alpha _ { t } ) , \\alpha = \\alpha _ { t } } + \\nabla _ { \\alpha } \\omega ^ { \\star } ( \\alpha ) \\big | _ { \\alpha = \\alpha _ { t } } \\cdot \\left. \\nabla _ { \\omega } ^ { 2 } \\mathcal { L } _ { \\mathrm { t r a i n } } ( \\omega , \\alpha ) \\right| _ { \\omega = \\omega ^ { * } ( \\alpha _ { t } ) , \\alpha = \\alpha _ { t } } = \\mathbf { 0 } ,\n$$",
453
+ "text_format": "latex",
454
+ "bbox": [
455
+ 186,
456
+ 516,
457
+ 810,
458
+ 540
459
+ ],
460
+ "page_idx": 4
461
+ },
462
+ {
463
+ "type": "text",
464
+ "text": "where we use the notation $\\nabla _ { { \\boldsymbol { \\alpha } } , \\omega } ^ { 2 } ( \\cdot ) ~ \\equiv ~ \\nabla _ { { \\boldsymbol { \\alpha } } } ( \\nabla _ { \\omega } ( \\cdot ) )$ throughout the remaining part of this paper. Here, ∇2ωLtrain(ω, α)\f\fω=ω?(α ),α=α is the Hesse matrix corresponding to the optimum $\\omega ^ { \\star } ( \\alpha _ { t } )$ , which is symmetric and positive-definite, and thus invertible. This gives us an estimation that $\\nabla _ { \\alpha } \\omega ^ { \\star } ( \\alpha ) | _ { \\alpha = \\alpha _ { t } } = - \\left. \\nabla _ { \\alpha , \\omega } ^ { 2 } \\mathcal { L } _ { \\mathrm { t r a i n } } ( \\omega , \\alpha ) \\right| _ { \\omega = \\omega ^ { \\star } ( \\alpha _ { t } ) , \\alpha = \\alpha _ { t } } \\cdot \\mathbf { H } ^ { - 1 } .$ . Substituting it into Equation 2 gives: ",
465
+ "bbox": [
466
+ 173,
467
+ 549,
468
+ 825,
469
+ 633
470
+ ],
471
+ "page_idx": 4
472
+ },
473
+ {
474
+ "type": "equation",
475
+ "img_path": "images/70969b5eebc52e4aea260b1e957676600949026ba0a59758b8bd1c8432db03fc.jpg",
476
+ "text": "$$\n\\begin{array} { r l r } & { } & { \\nabla _ { \\alpha } \\mathcal { L } _ { \\mathrm { v a l } } ( \\omega ^ { \\star } ( \\alpha ) , \\alpha ) | _ { \\alpha = \\alpha _ { t } } = \\nabla _ { \\alpha } \\mathcal { L } _ { \\mathrm { v a l } } ( \\omega , \\alpha ) | _ { \\omega = \\omega ^ { \\star } ( \\alpha _ { t } ) , \\alpha = \\alpha _ { t } } - } \\\\ & { } & { \\nabla _ { \\alpha , \\omega } ^ { 2 } \\mathcal { L } _ { \\mathrm { t r a i n } } ( \\omega , \\alpha ) | _ { \\omega = \\omega ^ { \\star } ( \\alpha _ { t } ) , \\alpha = \\alpha _ { t } } \\cdot \\mathbf { H } ^ { - 1 } \\cdot \\nabla _ { \\omega } \\mathcal { L } _ { \\mathrm { v a l } } ( \\omega , \\alpha ) | _ { \\omega = \\omega ^ { \\star } ( \\alpha _ { t } ) , \\alpha = \\alpha _ { t } } . } \\end{array}\n$$",
477
+ "text_format": "latex",
478
+ "bbox": [
479
+ 233,
480
+ 633,
481
+ 733,
482
+ 681
483
+ ],
484
+ "page_idx": 4
485
+ },
486
+ {
487
+ "type": "text",
488
+ "text": "Note that Equation 5 does not involve any approximation. The only issue comes from the term of ${ \\bf H } ^ { - 1 }$ , which is computationally intractable due to the large dimensionality of $\\mathbf { H }$ (it is related to the number of network parameters, which often exceeds one million in a typical super-network). ",
489
+ "bbox": [
490
+ 171,
491
+ 690,
492
+ 826,
493
+ 733
494
+ ],
495
+ "page_idx": 4
496
+ },
497
+ {
498
+ "type": "text",
499
+ "text": "3.4 APPROXIMATIONS IN COMPUTING THE INVERSE HESSE MATRIX ",
500
+ "text_level": 1,
501
+ "bbox": [
502
+ 176,
503
+ 748,
504
+ 661,
505
+ 763
506
+ ],
507
+ "page_idx": 4
508
+ },
509
+ {
510
+ "type": "text",
511
+ "text": "Let us denote Equation 5 in an abbreviated form of $\\mathbf { g } = \\mathbf { g } _ { 1 } + \\mathbf { g } _ { 2 }$ , in which $\\mathbf { g } _ { 1 }$ , the first-order term of DARTS, is easily computed, while $\\mathbf { g } _ { 2 }$ is not due to the computation of ${ \\bf H } ^ { - 1 }$ . Here, we propose an alternative solution which constructs an approximation term $\\mathbf { g } _ { 2 } ^ { \\prime }$ : ",
512
+ "bbox": [
513
+ 173,
514
+ 775,
515
+ 826,
516
+ 818
517
+ ],
518
+ "page_idx": 4
519
+ },
520
+ {
521
+ "type": "equation",
522
+ "img_path": "images/b27b59c61b490e625079812721645a930a45d23a6eebaf0fbd4926af1777f3c0.jpg",
523
+ "text": "$$\n\\begin{array} { r } { \\mathbf { g } _ { 2 } ^ { \\prime } = - \\eta \\cdot \\left. \\nabla _ { \\alpha , \\omega } ^ { 2 } \\mathcal { L } _ { \\mathrm { t r a i n } } ( \\omega , \\alpha ) \\right| _ { \\omega = \\omega ^ { * } ( \\alpha _ { t } ) , \\alpha = \\alpha _ { t } } \\cdot \\mathbf { H } \\cdot \\left. \\nabla _ { \\omega } \\mathcal { L } _ { \\mathrm { v a l } } ( \\omega , \\alpha ) \\right| _ { \\omega = \\omega ^ { * } ( \\alpha _ { t } ) , \\alpha = \\alpha _ { t } } , } \\end{array}\n$$",
524
+ "text_format": "latex",
525
+ "bbox": [
526
+ 220,
527
+ 821,
528
+ 774,
529
+ 844
530
+ ],
531
+ "page_idx": 4
532
+ },
533
+ {
534
+ "type": "text",
535
+ "text": "where $\\eta > 0$ is named the amending coefficient. In what follows, we show that $\\mathbf { g } _ { 2 } ^ { \\prime }$ is indeed a reasonable approximation of $\\mathbf { g } _ { 2 }$ . Since ",
536
+ "bbox": [
537
+ 176,
538
+ 848,
539
+ 830,
540
+ 877
541
+ ],
542
+ "page_idx": 4
543
+ },
544
+ {
545
+ "type": "equation",
546
+ "img_path": "images/3345fee3bccca194eda3d7d4bdb8a53d6def562804357f0f0a991d6ccc033a07.jpg",
547
+ "text": "$$\n\\begin{array} { r l } & { \\langle \\mathbf { g } _ { 2 } ^ { \\prime } , \\mathbf { g } _ { 2 } \\rangle = \\boldsymbol { \\eta } \\cdot \\left. \\nabla _ { \\omega } \\mathcal { L } _ { \\mathrm { v a l } } ( \\omega , \\alpha ) \\right| _ { \\omega = \\omega ^ { \\star } ( \\alpha _ { t } ) , \\alpha = \\alpha _ { t } } \\boldsymbol { \\mathsf { T } } \\cdot \\left. \\mathbf { H } ^ { - 1 } \\cdot \\nabla _ { \\omega , \\alpha } ^ { 2 } \\mathcal { L } _ { \\mathrm { t r a i n } } ( \\omega , \\alpha ) \\right| _ { \\omega = \\omega ^ { \\star } ( \\alpha _ { t } ) , \\alpha = \\alpha _ { t } } \\cdot } \\\\ & { \\qquad \\nabla _ { \\alpha , \\omega } ^ { 2 } \\mathcal { L } _ { \\mathrm { t r a i n } } ( \\omega , \\alpha ) \\big | _ { \\omega = \\omega ^ { \\star } ( \\alpha _ { t } ) , \\alpha = \\alpha _ { t } } \\cdot \\mathbf { H } \\cdot \\nabla _ { \\omega } \\mathcal { L } _ { \\mathrm { v a l } } ( \\omega , \\alpha ) \\big | _ { \\omega = \\omega ^ { \\star } ( \\alpha _ { t } ) , \\alpha = \\alpha _ { t } } , } \\end{array}\n$$",
548
+ "text_format": "latex",
549
+ "bbox": [
550
+ 192,
551
+ 878,
552
+ 802,
553
+ 930
554
+ ],
555
+ "page_idx": 4
556
+ },
557
+ {
558
+ "type": "text",
559
+ "text": "the product of the two terms between ${ \\bf H } ^ { - 1 }$ and $\\mathbf { H }$ is a semi-positive-definite matrix, and so is the matrix after similarity transformation, which directly gives $\\left. \\mathbf { g } _ { 2 } ^ { \\prime } , \\mathbf { g } _ { 2 } \\right. \\geqslant 0$ . ",
560
+ "bbox": [
561
+ 171,
562
+ 103,
563
+ 823,
564
+ 132
565
+ ],
566
+ "page_idx": 5
567
+ },
568
+ {
569
+ "type": "text",
570
+ "text": "In summary, we decompose the gradient of architectural parameters into two terms, $\\mathbf { g } _ { 1 }$ and $\\mathbf { g } _ { 2 }$ , compute $\\mathbf { g } _ { 1 }$ directly and use an approximation to $\\mathbf { g } _ { 2 }$ so that the angle between the accurate and approximated terms is smaller than 90 degrees. In comparison, existing DARTS-based approaches either discarded $\\mathbf { g } _ { 2 }$ entirely or used a mathematically non-explainable approximation $\\mathbf { \\bar { g } } _ { 2 } ^ { \\prime \\prime } = \\mathbf { \\bar { \\nu } } \\eta \\cdot \\nabla _ { \\alpha , \\omega } ^ { 2 } \\mathcal { L } _ { \\mathrm { t r a i n } } ( \\omega , \\mathbf { \\bar { \\alpha } } ) | _ { \\omega = \\omega ^ { * } ( \\alpha _ { t } ) , \\alpha = \\alpha _ { t } } \\cdot \\mathbf { I } \\cdot \\nabla _ { \\omega } \\mathcal { L } _ { \\mathrm { v a l } } ( \\omega , \\mathbf { \\bar { \\alpha } } ) | _ { \\omega = \\omega ^ { * } ( \\alpha _ { t } ) , \\alpha = \\alpha _ { t } } .$ . None of them are reasonable because $\\mathbf { g } _ { 2 }$ can be large, yet there is no guarantee that $\\left. \\mathbf { g } _ { 2 } ^ { \\prime \\prime } , \\mathbf { g } _ { 2 } \\right. \\geqslant 0$ , i.e., the secondorder DARTS can lead the algorithm to a wrong direction. ",
571
+ "bbox": [
572
+ 173,
573
+ 138,
574
+ 825,
575
+ 241
576
+ ],
577
+ "page_idx": 5
578
+ },
579
+ {
580
+ "type": "text",
581
+ "text": "The rationality of our approach is also verified by the validation process, i.e., in updating architectural parameters. The first-order DARTS, by directly discarding $\\mathbf { g } _ { 2 }$ , reported an average validation accuracy of $9 0 . 5 \\%$ in search space $S _ { 1 }$ (see Section 4.1.3) on the CIFAR10 dataset. The second-order DARTS added $\\mathbf { g } _ { 2 } ^ { \\prime \\prime }$ , which has no guarantee that $\\left. { { \\bf { g } } _ { 2 } ^ { \\prime \\prime } , { \\bf { g } } _ { 2 } } \\right. \\mathrm { ~ \\ \\ \\geqslant ~ 0 ~ }$ , and thus resulted in a reduced validation accuracy. Our approach, by adding $\\mathbf { g } _ { 2 } ^ { \\prime }$ , achieves a validation accuracy of $9 1 . 5 \\%$ , implying that our optimization works better than DARTS. This eventually results in the advantage of searched architectures, which will be verified in Section 4.1.2. ",
582
+ "bbox": [
583
+ 173,
584
+ 247,
585
+ 825,
586
+ 344
587
+ ],
588
+ "page_idx": 5
589
+ },
590
+ {
591
+ "type": "text",
592
+ "text": "The remainder part of computing $\\mathbf { g } _ { 2 } ^ { \\prime }$ simply follows conventions, which we replace $\\omega ^ { \\star } ( \\alpha )$ with the current $\\omega ^ { \\mathrm { e s t } }$ as the most accurate approximation we can get2. Computing ${ \\bf g } _ { 2 } ^ { \\bar { \\prime } }$ with Equation 6 requires both ∇2α,ωLtrain(ω, α)\f\fω=ω?(αt),α=αt and $\\nabla _ { \\omega } \\mathcal { L } _ { \\mathrm { v a l } } ( \\omega , \\alpha ) | _ { \\omega = \\omega ^ { \\star } ( \\alpha _ { t } ) , \\alpha = \\alpha _ { t } }$ , while DARTS needs the former one with $\\omega ^ { \\star } ( \\alpha _ { t } )$ estimated in two steps. Therefore, computing Equation 6 requires similar computational overhead compared to the second-order version of DARTS. In experiments, each search epoch requires around 0.02 GPU-days on the standard 8-cell space on CIFAR10. ",
593
+ "bbox": [
594
+ 174,
595
+ 352,
596
+ 825,
597
+ 440
598
+ ],
599
+ "page_idx": 5
600
+ },
601
+ {
602
+ "type": "text",
603
+ "text": "3.5 DISCUSSIONS AND RELATIONSHIP TO PRIOR WORK ",
604
+ "text_level": 1,
605
+ "bbox": [
606
+ 174,
607
+ 458,
608
+ 573,
609
+ 473
610
+ ],
611
+ "page_idx": 5
612
+ },
613
+ {
614
+ "type": "text",
615
+ "text": "The core benefit brought by our approach is the consistency between search and evaluation. This is indeed a fundamental idea of NAS, but it was ignored by existing approaches since they have been perplexed by a more significant error caused by inaccurate optimization. After the error, we point out a few prior conventions that need to be adjusted accordingly, including using different depths (e.g., DARTS used 8 cells in search and 20 cells in evaluation) and widths (e.g., DARTS used a basic channel number of 16 in search and 36 in evaluation) during search and evaluation, as well as using different training strategies (e.g., during re-training, a few regularization techniques including Cutout (DeVries & Taylor, 2017), Dropout (Srivastava et al., 2014) and auxiliary loss were used, but none of them appeared in search). More importantly, the search process was followed by edge removal (8 out of 14 connections were preserved) which caused a significant difference between the network architectures of search and evaluation. Our approach provides the opportunity to bridge the gap between search and evaluation, which we will show in Section 4.1.2 that unifying these hyper-parameters leads to better performance. ",
616
+ "bbox": [
617
+ 173,
618
+ 484,
619
+ 825,
620
+ 665
621
+ ],
622
+ "page_idx": 5
623
+ },
624
+ {
625
+ "type": "text",
626
+ "text": "A few prior differentiable search approaches noticed the issue of instability, but they chose to solve it in different manners. For example, P-DARTS (Chen et al., 2019) fixed the number of preserved skip-connect operators, PC-DARTS (Xu et al., 2019) used edge normalization to eliminate the none operator, while XNAS (Nayman et al., 2019) and DARTS $^ { + }$ (Liang et al., 2019) introduced a few human expertise to stabilize search. However, we point out that (i) either P-DARTS or PC-DARTS, with carefully designed methods or tricks, can also fail in a sufficiently long search process (more than 200 epochs); and that (ii) XNAS and DART $\\vdots +$ , by adding human expertise, somewhat violated the design nature of AutoML, in which one is expected to avoid introducing too many hand-designed rules. ",
627
+ "bbox": [
628
+ 173,
629
+ 671,
630
+ 825,
631
+ 797
632
+ ],
633
+ "page_idx": 5
634
+ },
635
+ {
636
+ "type": "text",
637
+ "text": "Another line of NAS, besides differentiable methods, is to use either reinforcement learning or an evolutionary algorithm as a controller of heuristic search and train each sampled network to get some kind of rewards, e.g., validation accuracy. In the viewpoint of optimization, this pipeline mainly differs from the differentiable one in that optimizing $_ { \\pmb { \\alpha } }$ is decoupled from optimizing $\\omega$ , so that it does not require $\\omega$ to arrive at $\\omega ^ { \\ast }$ , but only need a reasonable approximation of $\\omega ^ { \\ast }$ to predict model performance – this is an important reason that such algorithms often produce stable results. Our approach sheds light on introducing a similar property, i.e., robustness to approximated $\\omega ^ { \\star }$ , which helps in stabilizing differentiable search approaches. ",
638
+ "bbox": [
639
+ 174,
640
+ 804,
641
+ 825,
642
+ 861
643
+ ],
644
+ "page_idx": 5
645
+ },
646
+ {
647
+ "type": "text",
648
+ "text": "",
649
+ "bbox": [
650
+ 174,
651
+ 103,
652
+ 825,
653
+ 160
654
+ ],
655
+ "page_idx": 6
656
+ },
657
+ {
658
+ "type": "text",
659
+ "text": "4 EXPERIMENTS ",
660
+ "text_level": 1,
661
+ "bbox": [
662
+ 176,
663
+ 183,
664
+ 326,
665
+ 199
666
+ ],
667
+ "page_idx": 6
668
+ },
669
+ {
670
+ "type": "text",
671
+ "text": "4.1 RESULTS ON CIFAR10 ",
672
+ "text_level": 1,
673
+ "bbox": [
674
+ 176,
675
+ 215,
676
+ 375,
677
+ 231
678
+ ],
679
+ "page_idx": 6
680
+ },
681
+ {
682
+ "type": "text",
683
+ "text": "The CIFAR10 dataset (Krizhevsky & Hinton, 2009) has 50,000 training and 10,000 testing images, sized $3 2 \\times 3 2$ , and equally distributed over 10 classes. We mainly use this dataset to evaluate the stability of our approach, as well as analyze the impacts of different search options and parameters. ",
684
+ "bbox": [
685
+ 174,
686
+ 243,
687
+ 825,
688
+ 285
689
+ ],
690
+ "page_idx": 6
691
+ },
692
+ {
693
+ "type": "text",
694
+ "text": "4.1.1 IMPACT OF THE AMENDING COEFFICIENT ",
695
+ "text_level": 1,
696
+ "bbox": [
697
+ 176,
698
+ 304,
699
+ 514,
700
+ 318
701
+ ],
702
+ "page_idx": 6
703
+ },
704
+ {
705
+ "type": "text",
706
+ "text": "We first investigate how the amending coefficient, $\\eta$ , defined in Equation 6, impacts architecture search. We search and re-train similarly as DARTS. During the search, all operators are assigned equal weights on each edge. We use a base channel number of 16, and a batch size of 96. An Adam optimizer is used to update architectural parameters, with a learning rate of 0.0003, a weight decay of 0.001 and a momentum of (0.5, 0.999). The number of epochs is to be discussed later. During re-training, the base channel number is increased to 36. An SGD optimizer is used with an initial learning rate of 0.025, decaying following the cosine annealing rule and arriving at 0 after 600 epochs. The weight decay is set to be 0.0003, and the momentum is 0.9. ",
707
+ "bbox": [
708
+ 173,
709
+ 329,
710
+ 825,
711
+ 440
712
+ ],
713
+ "page_idx": 6
714
+ },
715
+ {
716
+ "type": "text",
717
+ "text": "To arrive at convergence, we run the search stage for 500 epochs. We evaluate different $\\eta$ values from 0 to 1, and the architectures corresponding to $\\eta = 0$ (equivalent to DARTS), $\\eta = 0 . 1$ and $\\eta = 1$ are summarized in Figure 2. We can see that $\\eta = 0 . 1$ converges, after 500, into a reasonable architecture that achieves an error rate of $3 . 0 8 \\%$ on CIFAR10. We emphasize that, even with more search epochs, this architecture is not likely to change, as the preserved operator on each edge has a weight not smaller than 0.5, and most of these weights are still growing gradually. ",
718
+ "bbox": [
719
+ 174,
720
+ 446,
721
+ 825,
722
+ 531
723
+ ],
724
+ "page_idx": 6
725
+ },
726
+ {
727
+ "type": "text",
728
+ "text": "When $\\eta$ is very small, e.g., $\\eta = 0 . 0 0 1$ or $\\eta = 0 . 0 1$ , the change brought by this amending term to architecture search is ignorable, and our approach shows almost the same behavior as the first-order version of DARTS, i.e., $\\eta = 0$ . In addition, when $\\eta$ grows up, e.g., from 0.001 to 0.01, although the search process eventually runs into an architecture with all skip-connect operators, the number of epochs needed for a complete failure is significantly postponed, which verifies that the amending term indeed pulls architecture search away from the gradient trap. ",
729
+ "bbox": [
730
+ 173,
731
+ 537,
732
+ 825,
733
+ 622
734
+ ],
735
+ "page_idx": 6
736
+ },
737
+ {
738
+ "type": "image",
739
+ "img_path": "images/06de76b891eab13d3496f86280dc133177d768ef6a253623c6e6097e0abcaa33.jpg",
740
+ "image_caption": [
741
+ "Figure 2: Normal (left) and reduction (right) cells (the standard DARTS space) obtained by different amending coefficients, namely, $\\eta = 0$ (top), $\\eta = 0 . 1$ (middle) and $\\eta = 1$ (bottom). "
742
+ ],
743
+ "image_footnote": [],
744
+ "bbox": [
745
+ 183,
746
+ 645,
747
+ 813,
748
+ 876
749
+ ],
750
+ "page_idx": 6
751
+ },
752
+ {
753
+ "type": "text",
754
+ "text": "On the other hand, if we use a sufficiently large $\\eta$ value, e.g., $\\eta = 1$ , the amending term, $\\mathbf { g } _ { 2 } ^ { \\prime }$ , can dominate optimization, so that the first term, i.e., the gradient of architectural parameters, has limited effects in updating $_ \\alpha$ . Note that the amending term is closely related to network regularization, therefore, in the scenarios of a large $\\eta$ , the network significantly prefers avg-pooling to other operators, as avg-pooling can smooth feature maps and avoid over-fitting. However, avg-pooling is also a parameter-free operator, so the performance of such architectures is also below satisfaction. ",
755
+ "bbox": [
756
+ 174,
757
+ 103,
758
+ 823,
759
+ 188
760
+ ],
761
+ "page_idx": 7
762
+ },
763
+ {
764
+ "type": "text",
765
+ "text": "Following these analyses, we simply use $\\eta = 0 . 1$ for all later experiments. We do not tune $\\eta$ very carefully, though it is possible to determine $\\eta$ automatically using a held-out validation set. Besides, we find that the best architecture barely changes after 100 search epochs, which we fix the total length to be 100 epochs in all remaining experiments. ",
766
+ "bbox": [
767
+ 174,
768
+ 194,
769
+ 825,
770
+ 251
771
+ ],
772
+ "page_idx": 7
773
+ },
774
+ {
775
+ "type": "text",
776
+ "text": "4.1.2 CONSISTENCY BETWEEN SEARCH AND EVALUATION ",
777
+ "text_level": 1,
778
+ "bbox": [
779
+ 176,
780
+ 267,
781
+ 591,
782
+ 280
783
+ ],
784
+ "page_idx": 7
785
+ },
786
+ {
787
+ "type": "text",
788
+ "text": "As discussed in Section 3.5, it is important to alleviate the difference between search and evaluation. We make the following modifications, listed from most to least important. First, to avoid edge removal, we fix the edges in each cell, so that each node $i$ is connected to node $i - 1$ and the least indexed node (denoted by $c _ { k - 2 }$ in most conventions), resulting in 8 edges in each cell. Note that our approach also works well with all 14 edges preserved, but we have used 8 edges to be computationally fair to DARTS. Second, we unify the width (the number of basic channels) as 36 for both search and evaluation. Third, we add normalization techniques, including Cutout (DeVries & Taylor, 2017), Dropout (Srivastava et al., 2014) and an auxiliary loss tower, into the search stage. ",
789
+ "bbox": [
790
+ 174,
791
+ 291,
792
+ 825,
793
+ 402
794
+ ],
795
+ "page_idx": 7
796
+ },
797
+ {
798
+ "type": "text",
799
+ "text": "We use the amending coefficient $\\eta = 0 . 1$ learned from previous experiments, i.e., without modification, the searched architecture, denoted by $\\mathbb { A } _ { \\mathrm { o r i g } }$ , is shown in the middle column of Figure 2. After modification, the obtained architecture, denoted by $\\mathbb { A } _ { \\mathrm { n e w } }$ , is shown in Figure 3. We re-train both networks on CIFAR10, with or without the option that stacking duplicate cells to make the network deeper (with 20 cells). With a standard re-training process, $\\mathbb { A } _ { \\mathrm { o r i g } }$ reports a $3 . 6 7 \\%$ error with 8 cells, and a $3 . 0 8 \\%$ error with 20 cells; and the corresponding numbers are $3 . 2 0 \\%$ and $2 . 8 1 \\%$ for $\\mathbb { A } _ { \\mathrm { n e w } }$ . We find that $\\mathbb { A } _ { \\mathrm { n e w } }$ is consistently better than $\\mathbb { A } _ { \\mathrm { o r i g } }$ , which suggests that alleviating the gap indeed helps. This also reminds us of the significant depth gap (Chen et al., 2019) between search and re-training (the network has 8 cells in search, but 20 cells in re-training), and this gap also obstructs our approach from achieving better performance. We will investigate this issue in the following part. ",
800
+ "bbox": [
801
+ 174,
802
+ 410,
803
+ 825,
804
+ 549
805
+ ],
806
+ "page_idx": 7
807
+ },
808
+ {
809
+ "type": "text",
810
+ "text": "4.1.3 EXPLORING MORE COMPLEX SEARCH SPACES ",
811
+ "text_level": 1,
812
+ "bbox": [
813
+ 174,
814
+ 564,
815
+ 552,
816
+ 579
817
+ ],
818
+ "page_idx": 7
819
+ },
820
+ {
821
+ "type": "text",
822
+ "text": "We note tremendous efforts made by existing approaches to alleviate the depth gap, while our solution is a direct one, thanks to the stability of our approach which enables us to directly explore larger search spaces. Here, we denote the original search space used in DARTS as $S _ { 1 }$ , which has six normal cells and two reduction cells, and all normal cells share the same set of architectural parameters and so do the reduction cells. Note that we have fixed the edges in this space, resulting in the total number of possible architectures to reduce from $1 . 1 \\times 1 0 ^ { 1 8 }$ to $3 . 3 \\times 1 0 ^ { 1 \\bar { 3 } }$ . We also explore a more complex search space, denoted by $S _ { 2 }$ , in which we relax the constraint that either normal cells or reduction cells should be the same, and also the number of cells increases from 8 to 20, to be applied in re-training. Here, limited by GPU memory, we cannot support all seven operators to be searched, so we only choose two, namely skip-connect and sep-conv- $3 x 3$ , which have very different properties. This setting allows a total of $1 . 5 \\times 1 0 ^ { 4 8 }$ architectures to appear, much larger than $S _ { 1 }$ . ",
823
+ "bbox": [
824
+ 174,
825
+ 589,
826
+ 825,
827
+ 742
828
+ ],
829
+ "page_idx": 7
830
+ },
831
+ {
832
+ "type": "text",
833
+ "text": "Results are listed in Table 1. In $S _ { 1 }$ , our approach achieves a moderate error rate of $2 . 8 1 \\%$ , mainly because the assumption of consistency between search and re-training does not hold. In $S _ { 2 }$ , with directly searching in deep architectures, our result is significantly boosted (an error rate of $2 . 6 0 \\%$ , the architecture is shown in the middle row of Figure 3). Again, we emphasize that we report retraining results based on an converged architecture, which stands out from existing DARTS-based approaches which required early termination. ",
834
+ "bbox": [
835
+ 174,
836
+ 750,
837
+ 823,
838
+ 833
839
+ ],
840
+ "page_idx": 7
841
+ },
842
+ {
843
+ "type": "text",
844
+ "text": "In $S _ { 2 }$ , we compare our approach against both DARTS (no amending term) and random search. We observe that DARTS produces weird architectures (the bottom row of Figure 3), that high-layer cells are mostly occupied by skip-connect, which is not likely to fully utilize the ability of the supernetwork. Regarding random search, we follow DARTS by randomly sampling 20 valid architectures from each of $S _ { 1 }$ and $S _ { 2 }$ , and using a small validation dataset to choose the best two architectures for re-training. Given a fixed number of probes, it becomes more and more difficult to sufficiently explore a large space. The deficits of DARTS and random search on CIFAR10 are $0 . 2 5 \\%$ and $0 . { \\bar { 2 } } 9 \\%$ , respectively, which do not seem to be very large arguably because CIFAR10 is relatively easy and our edge-fixed search space guarantees sufficient depth. However, when we transfer these architectures to ImageNet, the deficits become much larger, i.e., with $1 . 7 \\%$ and $0 . 8 \\%$ top-1 accuracy drops, respectively (DARTS produces inferior performance to random search). These results remind us of prior work (Xie et al., 2019) which claimed that random search works sufficiently well in large search spaces. Here, we leave a comment on this debate, demonstrating that a large space indeed raises challenges to architecture search, but a stabilized search algorithm still has the ability of to find more powerful architectures. ",
845
+ "bbox": [
846
+ 174,
847
+ 840,
848
+ 823,
849
+ 922
850
+ ],
851
+ "page_idx": 7
852
+ },
853
+ {
854
+ "type": "image",
855
+ "img_path": "images/c1a067dcdf9289c598f7f77055e3e2886cc4b81851cc2828c839c5d62aae3a70.jpg",
856
+ "image_caption": [
857
+ "Figure 3: Top: normal and reduction cells found in $ { \\boldsymbol { S } } _ { 1 }$ . Middle & Bottom: the overall architecture found in $S _ { 2 }$ by DARTS, with and without the amended term, in which red and blue edges indicate skip-connect and sep-conv- $. 3 x 3$ operators, respectively. "
858
+ ],
859
+ "image_footnote": [],
860
+ "bbox": [
861
+ 189,
862
+ 104,
863
+ 808,
864
+ 316
865
+ ],
866
+ "page_idx": 8
867
+ },
868
+ {
869
+ "type": "text",
870
+ "text": "",
871
+ "bbox": [
872
+ 173,
873
+ 400,
874
+ 825,
875
+ 525
876
+ ],
877
+ "page_idx": 8
878
+ },
879
+ {
880
+ "type": "text",
881
+ "text": "4.1.4 COMPARISON TO THE STATE-OF-THE-ARTS ",
882
+ "text_level": 1,
883
+ "bbox": [
884
+ 174,
885
+ 544,
886
+ 529,
887
+ 558
888
+ ],
889
+ "page_idx": 8
890
+ },
891
+ {
892
+ "type": "text",
893
+ "text": "Finally, we compare our approach with recent approaches, in particular, differentiable ones. Result are shown in Table 1. Our approach produces competitive results among state-of-the-arts, although it does not seem to beat others. We note that existing approaches often used additional tricks, e.g., PDARTS assumed a fixed number of skip-connect operators, which shrinks the search space (so as to guarantee stability). More importantly, all these differentiable search approaches must be terminated in an early stage, which makes them less convincing as search has not arrived at convergence. These tricks somewhat violate the ideology of neural architecture search; in comparison, our research, though not producing the best performance, seems going along a correct and promising direction. ",
894
+ "bbox": [
895
+ 173,
896
+ 569,
897
+ 825,
898
+ 654
899
+ ],
900
+ "page_idx": 8
901
+ },
902
+ {
903
+ "type": "table",
904
+ "img_path": "images/9da2920e96717c754bc8e127acaa84773dbb849df6b1819533ac95ae91c6b7d8.jpg",
905
+ "table_caption": [],
906
+ "table_footnote": [
907
+ "Table 1: Comparison with state-of-the-art network architectures on CIFAR10. "
908
+ ],
909
+ "table_body": "<table><tr><td rowspan=\"2\">Architecture</td><td>Test Err.</td><td>Params</td><td>Search Cost</td><td rowspan=\"2\">Search Method</td></tr><tr><td>(%)</td><td>(M)</td><td>(GPU-days)</td></tr><tr><td>DenseNet-BC (Huang et al.,2017)</td><td>3.46</td><td>25.6</td><td>-</td><td>manual</td></tr><tr><td>ENAS (Pham et al.,2018) w/ Cutout</td><td>2.89</td><td>4.6</td><td>0.5</td><td>RL</td></tr><tr><td>NASNet-A (Zoph et al.,2018) w/Cutout</td><td>2.65</td><td>3.3</td><td>1800</td><td>RL</td></tr><tr><td>NAONet-WS (Luo et al.,2018)</td><td>3.53</td><td>3.1</td><td>0.4</td><td>NAO</td></tr><tr><td>Hireachical Evolution (Liu et al.,2018b)</td><td>3.75±0.12</td><td>15.7</td><td>300</td><td>evolution</td></tr><tr><td>AmoebaNet-B (Real et al.,2019) w/ Cutout</td><td>2.55±0.05</td><td>2.8</td><td>3150</td><td>evolution</td></tr><tr><td>PNAS (Liu et al., 2018a)</td><td>3.41±0.09</td><td>3.2</td><td>225</td><td>SMBO</td></tr><tr><td>DARTS (first-order) (Liu et al.,2019b) w/ Cutout</td><td>3.00±0.14</td><td>3.3</td><td>0.4</td><td>gradient-based</td></tr><tr><td>DARTS (second-order) (Liu et al.,20i9b) w/Cutout</td><td>2.76±0.09</td><td>3.3</td><td>1.0</td><td>gradient-based</td></tr><tr><td>SNAS (moderate) (Xie etal.,2018) w/ Cutout</td><td>2.85±0.02</td><td>2.8</td><td>1.5</td><td>gradient-based</td></tr><tr><td>ProxylessNAS (Cai et al.,2019) w/Cutout</td><td>2.08</td><td>-</td><td>4.0</td><td>gradient-based</td></tr><tr><td>P-DARTS (Chen et al.,2019) w/ Cutout</td><td>2.50</td><td>3.4</td><td>0.3</td><td>gradient-based</td></tr><tr><td>BayesNAS (Zhou et al.,2019) w/ Cutout</td><td>2.81±0.04</td><td>3.4</td><td>0.2</td><td>gradient-based</td></tr><tr><td>PC-DARTS (Xu et al.,2019) w/ Cutout</td><td>2.57±0.07</td><td>3.6</td><td>0.1</td><td>gradient-based</td></tr><tr><td>Amended-DARTS,S1,w/Cutout</td><td>2.81±0.21</td><td>3.5</td><td>1.0</td><td>gradient-based</td></tr><tr><td>Amended-DARTS,S2,w/Cutout</td><td>2.60±0.15</td><td>3.6</td><td>1.1</td><td>gradient-based</td></tr></table>",
910
+ "bbox": [
911
+ 174,
912
+ 680,
913
+ 825,
914
+ 902
915
+ ],
916
+ "page_idx": 8
917
+ },
918
+ {
919
+ "type": "table",
920
+ "img_path": "images/54c183ac7b064fe78932bb4c3b8cb451bd9e27ff7df634c5636a7e9da2377721.jpg",
921
+ "table_caption": [],
922
+ "table_footnote": [
923
+ "Table 2: Comparison with state-of-the-art architectures on ILSVRC2012. All searched architectures are fit into the mobile setting. ‡ indicates architectures searched on ImageNet. "
924
+ ],
925
+ "table_body": "<table><tr><td rowspan=\"2\">Architecture</td><td colspan=\"2\">Test Err. (%)</td><td rowspan=\"2\">Params (M)</td><td rowspan=\"2\">×+ (M)</td><td rowspan=\"2\">Search Cost (GPU-days)</td><td rowspan=\"2\">Search Method</td></tr><tr><td>top-1</td><td>top-5</td></tr><tr><td>Inception-v1 (Szegedy et al.,2015)</td><td>30.2</td><td>10.1</td><td>6.6</td><td>1448</td><td>-</td><td>manual</td></tr><tr><td>MobileNet (Howard etal.,2017)</td><td>29.4</td><td>10.5</td><td>4.2</td><td>569</td><td></td><td>manual</td></tr><tr><td>ShuffleNet 2× (v1) (Zhang et al.,2018)</td><td>26.4</td><td>10.2</td><td>~5</td><td>524</td><td></td><td>manual</td></tr><tr><td>ShuffleNet 2× (v2) (Ma et al.,2018)</td><td>25.1</td><td>-</td><td>~5</td><td>591</td><td>-</td><td>manual</td></tr><tr><td>NASNet-A (Zoph et al., 2018)</td><td>26.0</td><td>8.4</td><td>5.3</td><td>564</td><td>1800</td><td>RL</td></tr><tr><td>MnasNet-92 (Tan et al.,2019)</td><td>25.2</td><td>8.0</td><td>4.4</td><td>388</td><td>-</td><td>RL</td></tr><tr><td>PNAS (Liu et al., 2018a)</td><td>25.8</td><td>8.1</td><td>5.1</td><td>588</td><td>225</td><td>SMBO</td></tr><tr><td>AmoebaNet-C (Real et al.,2019)</td><td>24.3</td><td>7.6</td><td>6.4</td><td>570</td><td>3150</td><td>evolution</td></tr><tr><td>DARTS (second-order) (Liu et al.,2019b)</td><td>26.7</td><td>8.7</td><td>4.7</td><td>574</td><td>4.0</td><td>gradient-based</td></tr><tr><td>SNAS (mild) (Xie et al., 2018)</td><td>27.3</td><td>9.2</td><td>4.3</td><td>522</td><td>1.5</td><td>gradient-based</td></tr><tr><td>BayesNAS (Zhou et al.,2019)</td><td>26.5</td><td>8.9</td><td>3.9</td><td>-</td><td>0.2</td><td>gradient-based</td></tr><tr><td>P-DARTS (CIFAR10) (Chen et al.,2019)</td><td>24.4</td><td>7.4</td><td>4.9</td><td>557</td><td>0.3</td><td>gradient-based</td></tr><tr><td>ProxylessNAS (GPU) (Cai et al., 2019)</td><td>24.9</td><td>7.5</td><td>7.1</td><td>465</td><td>8.3</td><td>gradient-based</td></tr><tr><td>PC-DARTS (Xu et al., 2019)‡</td><td>24.2</td><td>7.3</td><td>5.3</td><td>597</td><td>3.8</td><td>gradient-based</td></tr><tr><td>DARTS+ (Liang et al., 2019)‡</td><td>23.9</td><td>7.4</td><td>5.1</td><td>582</td><td>6.8</td><td>gradient-based</td></tr><tr><td>Amended-DARTS, S2</td><td>24.3</td><td>7.4</td><td>5.5</td><td>590</td><td>1.1</td><td>gradient-based</td></tr></table>",
926
+ "bbox": [
927
+ 174,
928
+ 102,
929
+ 825,
930
+ 325
931
+ ],
932
+ "page_idx": 9
933
+ },
934
+ {
935
+ "type": "text",
936
+ "text": "",
937
+ "bbox": [
938
+ 174,
939
+ 390,
940
+ 823,
941
+ 419
942
+ ],
943
+ "page_idx": 9
944
+ },
945
+ {
946
+ "type": "text",
947
+ "text": "4.2 RESULTS ON ILSVRC2012 ",
948
+ "text_level": 1,
949
+ "bbox": [
950
+ 176,
951
+ 441,
952
+ 405,
953
+ 457
954
+ ],
955
+ "page_idx": 9
956
+ },
957
+ {
958
+ "type": "text",
959
+ "text": "ILSVRC2012 (Russakovsky et al., 2015) is the most commonly used subset of ImageNet (Deng et al., 2009). It contains 1.3M training images and 50K testing images, which are almost evenly distributed over all 1,000 categories. We directly use the $S _ { 2 }$ architecture obtained from CIFAR10 experiments and enlarge it with a basic number of channels of 42, so that the FLOPs of our model is 590M, i.e., fitting the mobile setting. During re-training, there are a total of 250 epochs. We use an SGD optimizer with an initial learning rate of 0.5 (decaying linearly after each epoch), a momentum of 0.9 and a weight decay of $3 \\times 1 0 ^ { - 5 }$ . On NVIDIA Tesla V100 GPUs, the entire re-training process takes around 24 GPU-days. ",
960
+ "bbox": [
961
+ 174,
962
+ 469,
963
+ 825,
964
+ 582
965
+ ],
966
+ "page_idx": 9
967
+ },
968
+ {
969
+ "type": "text",
970
+ "text": "The comparison of our approach to existing approaches is shown in Table 2. Our approach achieves a top-1 error rate of $2 4 . { \\bar { 3 } } \\bar { \\% }$ without any common optimization tricks such as AutoAugment (Cubuk et al., 2019) and Squeeze-and-Excitation modules (Hu et al., 2018). This result is competitive among state-of-the-arts, and it is obtained after convergence is achieved in the search stage. On the other hand, without the amending term, DARTS converges to a solution that skip-connected and sep-conv$3 x 3$ are largely separated, on which the re-training performance is even inferior to random search. ",
971
+ "bbox": [
972
+ 174,
973
+ 589,
974
+ 825,
975
+ 672
976
+ ],
977
+ "page_idx": 9
978
+ },
979
+ {
980
+ "type": "text",
981
+ "text": "5 CONCLUSIONS ",
982
+ "text_level": 1,
983
+ "bbox": [
984
+ 176,
985
+ 700,
986
+ 328,
987
+ 715
988
+ ],
989
+ "page_idx": 9
990
+ },
991
+ {
992
+ "type": "text",
993
+ "text": "In this paper, we present an effective approach for stabilizing differentiable neural architecture search. Our motivation comes from that DARTS-based approaches mostly generate all-skip-connect architectures when they are executed for a sufficient number of epochs. We analyze this weird phenomenon mathematically and find the reason to lie in the dramatic inaccuracy in estimating gradients of architectural parameters. With an alternative approximation based on the optimality of network parameters, we guarantee the update of architectural parameters to be in a correct direction. In DARTS-based search spaces on CIFAR10 and ImageNet, our approach shows improved stability, in particular in large search spaces, as well as improved performance in the re-training stage. ",
994
+ "bbox": [
995
+ 174,
996
+ 734,
997
+ 825,
998
+ 848
999
+ ],
1000
+ "page_idx": 9
1001
+ },
1002
+ {
1003
+ "type": "text",
1004
+ "text": "Our research sheds light on future research on NAS in several aspects. First, we reveal that previous differentiable approaches were mostly built upon a dangerous pipeline, and mostly introduced heavy human expertise to avoid failure. By fixing the ‘system error’ of this pipeline, we provide a platform that NAS approaches can compete in the ability of NAS. Second, our approach enables researchers to explore even bigger search spaces that have not been studied before (due to search instability). ",
1005
+ "bbox": [
1006
+ 174,
1007
+ 854,
1008
+ 823,
1009
+ 924
1010
+ ],
1011
+ "page_idx": 9
1012
+ },
1013
+ {
1014
+ "type": "text",
1015
+ "text": "REFERENCES \nH. Cai, T. Chen, W. Zhang, Y. Yu, and J. Wang. Efficient architecture search by network transformation. In AAAI Conference on Artificial Intelligence, 2018. \nH. Cai, L. Zhu, and S. Han. Proxylessnas: Direct neural architecture search on target task and hardware. 2019. \nX. Chen, L. Xie, J. Wu, and Q. Tian. Progressive differentiable architecture search: Bridging the depth gap between search and evaluation. In International Conference on Computer Vision, 2019. \nE. D. Cubuk, B. Zoph, D. Mane, V. Vasudevan, and Q. V. Le. Autoaugment: Learning augmentation policies from data. In Computer Vision and Pattern Recognition, 2019. \nJ. Deng, W. Dong, R. Socher, L. J. Li, K. Li, and L. Fei-Fei. Imagenet: A large-scale hierarchical image database. In Computer Vision and Pattern Recognition, 2009. \nT. DeVries and G. W. Taylor. Improved regularization of convolutional neural networks with cutout. arXiv preprint arXiv:1708.04552, 2017. \nG. Ghiasi, T. Y. Lin, and Q. V. Le. Nas-fpn: Learning scalable feature pyramid architecture for object detection. In Computer Vision and Pattern Recognition, 2019. \nZ. Guo, X. Zhang, H. Mu, W. Heng, Z. Liu, Y. Wei, and J. Sun. Single path one-shot neural architecture search with uniform sampling. arXiv preprint arXiv:1904.00420, 2019. \nK. He, X. Zhang, S. Ren, and J. Sun. Deep residual learning for image recognition. In Computer Vision and Pattern Recognition, 2016. \nA. G. Howard, M. Zhu, B. Chen, D. Kalenichenko, W. Wang, T. Weyand, M. Andreetto, and H. Adam. Mobilenets: Efficient convolutional neural networks for mobile vision applications. arXiv preprint arXiv:1704.04861, 2017. \nJ. Hu, L. Shen, and G. Sun. Squeeze-and-excitation networks. In Computer Vision and Pattern Recognition, 2018. \nG. Huang, Z. Liu, L. Van Der Maaten, and K. Q. Weinberger. Densely connected convolutional networks. In Computer Vision and Pattern Recognition, 2017. \nA. Krizhevsky, I. Sutskever, and G. E. Hinton. Imagenet classification with deep convolutional neural networks. In Advances in Neural Information Processing Systems, 2012. \nAlex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. Technical report, 2009. \nY. LeCun, Y. Bengio, and G. E. Hinton. Deep learning. Nature, 521(7553):436, 2015. \nH. Liang, S. Zhang, J. Sun, X. He, W. Huang, K. Zhuang, and Z. Li. Darts+: Improved differentiable architecture search with early stopping. arXiv preprint arXiv:1909.06035, 2019. \nC. Liu, B. Zoph, M. Neumann, J. Shlens, W. Hua, L. J. Li, L. Fei-Fei, A. L. Yuille, J. Huang, and K. Murphy. Progressive neural architecture search. In European Conference on Computer Vision, 2018a. \nC. Liu, L. C. Chen, F. Schroff, H. Adam, W. Hua, A. L. Yuille, and L. Fei-Fei. Auto-deeplab: Hierarchical neural architecture search for semantic image segmentation. In Computer Vision and Pattern Recognition, 2019a. \nH. Liu, K. Simonyan, O. Vinyals, C. Fernando, and K. Kavukcuoglu. Hierarchical representations for efficient architecture search. In International Conference on Learning Representations, 2018b. \nH. Liu, K. Simonyan, and Y. Yang. Darts: Differentiable architecture search. In International Conference on Learning Representations, 2019b. \nR. Luo, F. Tian, T. Qin, E. Chen, and T. Y. Liu. Neural architecture optimization. In Advances in Neural Information Processing Systems, 2018. \nN. Ma, X. Zhang, H. T. Zheng, and J. Sun. Shufflenet v2: Practical guidelines for efficient cnn architecture design. In European Conference on Computer Vision, 2018. \nN. Nayman, A. Noy, T. Ridnik, I. Friedman, R. Jin, and L. Zelnik-Manor. Xnas: Neural architecture search with expert advice. arXiv preprint arXiv:1906.08031, 2019. \nA. Noy, N. Nayman, T. Ridnik, N. Zamir, S. Doveh, I. Friedman, R. Giryes, and L. Zelnik-Manor. Asap: Architecture search, anneal and prune. arXiv preprint arXiv:1904.04123, 2019. \nH. Pham, M. Guan, B. Zoph, Q. V. Le, and J. Dean. Efficient neural architecture search via parameter sharing. In International Conference on Machine Learning, 2018. \nE. Real, S. Moore, A. Selle, S. Saxena, Y. L. Suematsu, J. Tan, Q. V. Le, and A. Kurakin. Large-scale evolution of image classifiers. In International Conference on Machine Learning, 2017. \nE. Real, A. Aggarwal, Y. Huang, and Q. V. Le. Regularized evolution for image classifier architecture search. In AAAI Conference on Artificial Intelligence, 2019. \nO. Russakovsky, J. Deng, H. Su, J. Krause, S. Satheesh, S. Ma, Z. Huang, A. Karpathy, A. Khosla, M. Bernstein, et al. Imagenet large scale visual recognition challenge. International Journal of Computer Vision, 115(3):211–252, 2015. \nN. Srivastava, G. E. Hinton, A. Krizhevsky, I. Sutskever, and R. Salakhutdinov. Dropout: a simple way to prevent neural networks from overfitting. Journal of Machine Learning Research, 15(1): 1929–1958, 2014. \nC. Szegedy, W. Liu, Y. Jia, P. Sermanet, S. Reed, D. Anguelov, D. Erhan, V. Vanhoucke, and A. Rabinovich. Going deeper with convolutions. In Computer Vision and Pattern Recognition, 2015. \nM. Tan and Q. V. Le. Efficientnet: Rethinking model scaling for convolutional neural networks. In International Conference on Machine Learning, 2019. \nM. Tan, B. Chen, R. Pang, V. Vasudevan, M. Sandler, A. Howard, and Q. V. Le. Mnasnet: Platformaware neural architecture search for mobile. In Computer Vision and Pattern Recognition, 2019. \nL. Xie and A. L. Yuille. Genetic CNN. In International Conference on Computer Vision, 2017. \nS. Xie, H. Zheng, C. Liu, and L. Lin. SNAS: Stochastic neural architecture search. arXiv preprint arXiv:1812.09926, 2018. \nS. Xie, A. Kirillov, R. Girshick, and K. He. Exploring randomly wired neural networks for image recognition. In International Conference on Computer Vision, 2019. \nY. Xu, L. Xie, X. Zhang, X. Chen, G. J. Qi, Q. Tian, and H. Xiong. Pc-darts: Partial channel connections for memory-efficient differentiable architecture search. arXiv preprint arXiv:1907.05737, 2019. \nX. Zhang, X. Zhou, M. Lin, and J. Sun. Shufflenet: An extremely efficient convolutional neural network for mobile devices. In Computer Vision and Pattern Recognition, 2018. \nH. Zhou, M. Yang, J. Wang, and W. Pan. Bayesnas: A bayesian approach for neural architecture search. arXiv preprint arXiv:1905.04919, 2019. \nB. Zoph and Q. V. Le. Neural architecture search with reinforcement learning. In International Conference on Learning Representations, 2017. \nB. Zoph, V. Vasudevan, J. Shlens, and Q. V. Le. Learning transferable architectures for scalable image recognition. In Computer Vision and Pattern Recognition, 2018. ",
1016
+ "bbox": [
1017
+ 171,
1018
+ 94,
1019
+ 826,
1020
+ 928
1021
+ ],
1022
+ "page_idx": 10
1023
+ },
1024
+ {
1025
+ "type": "text",
1026
+ "text": "",
1027
+ "bbox": [
1028
+ 169,
1029
+ 83,
1030
+ 828,
1031
+ 926
1032
+ ],
1033
+ "page_idx": 11
1034
+ },
1035
+ {
1036
+ "type": "text",
1037
+ "text": "A APPENDIX ",
1038
+ "text_level": 1,
1039
+ "bbox": [
1040
+ 176,
1041
+ 102,
1042
+ 297,
1043
+ 117
1044
+ ],
1045
+ "page_idx": 12
1046
+ },
1047
+ {
1048
+ "type": "text",
1049
+ "text": "A.1 A TOY EXAMPLE TO SHOW THE IMPORTANCE OF $\\mathbf { g } _ { 2 }$ ",
1050
+ "text_level": 1,
1051
+ "bbox": [
1052
+ 174,
1053
+ 137,
1054
+ 573,
1055
+ 151
1056
+ ],
1057
+ "page_idx": 12
1058
+ },
1059
+ {
1060
+ "type": "text",
1061
+ "text": "Let the loss function be $\\begin{array} { l l l } { { \\mathcal L } \\left( \\omega , \\alpha ; x \\right) } & { = } & { \\left( \\omega x - \\alpha \\right) ^ { 2 } } \\end{array}$ . Then, the only difference between $\\mathcal { L } _ { \\mathrm { t r a i n } } \\left( \\omega , \\alpha \\right) = \\mathcal { L } \\left( \\omega , \\alpha ; x _ { \\mathrm { t r a i n } } \\right)$ and $\\mathcal { L } _ { \\mathrm { v a l i d } } \\left( \\omega , \\alpha \\right) = \\mathcal { L } \\left( \\omega , \\alpha ; x _ { \\mathrm { v a l i d } } \\right)$ lies in the input, $_ { \\textbf { \\em x } }$ . Assume the input of training data is ${ x } _ { \\mathrm { t r a i n } } = 1$ and the input validation data is $\\pmb { x } _ { \\mathrm { v a l i d } } = 2$ . It is easy to derive that the local optimum of $\\mathcal { L } _ { \\mathrm { t r a i n } } \\left( \\omega , \\alpha \\right)$ is $\\omega ^ { \\ast } \\left( \\alpha \\right) = \\alpha$ . Substituting $\\pmb { x } _ { \\mathrm { v a l i d } } = 2$ into $\\mathcal { L } _ { \\mathrm { v a l i d } } \\left( \\omega , \\alpha \\right)$ yields ${ \\mathcal { L } } _ { \\mathrm { v a l i d } } \\left( \\omega , \\alpha \\right) = \\left( 2 \\omega - \\alpha \\right) ^ { 2 }$ . When $\\mathbf { \\alpha } _ { \\alpha } = \\mathbf { \\alpha } _ { \\mathbf { \\alpha } _ { \\mathbf { t } } }$ , $\\omega$ arrives at $\\omega ^ { \\ast } \\left( \\alpha _ { \\mathrm { t } } \\right)$ , so $\\mathbf { g } _ { 1 } = 2 \\left( \\alpha _ { \\mathrm { t } } - 2 \\alpha _ { \\mathrm { t } } \\right) = - 2 \\alpha _ { \\mathrm { t } }$ and $\\mathbf { g } _ { 2 } = 4 \\alpha _ { \\mathrm { t } }$ . When $\\omega$ arrives at ${ { \\omega } ^ { * } } \\left( \\alpha \\right) , { { \\mathcal { L } } _ { v a l i d } } \\left( { { \\omega } ^ { * } } \\left( \\alpha \\right) , \\alpha \\right) = { { \\alpha } ^ { 2 } }$ , $\\mathbf { g } \\left( \\alpha _ { \\mathrm { t } } \\right) = 2 \\alpha _ { \\mathrm { t } } = \\mathbf { g } _ { 1 } + \\mathbf { g } _ { 2 }$ . In summary, both $\\mathbf { g } _ { 1 }$ and $\\mathbf { g } _ { 2 }$ are important, but DARTS chose to ignore $\\mathbf { g } _ { 2 }$ which can cause a dramatic error in approximation. ",
1062
+ "bbox": [
1063
+ 173,
1064
+ 165,
1065
+ 826,
1066
+ 281
1067
+ ],
1068
+ "page_idx": 12
1069
+ },
1070
+ {
1071
+ "type": "text",
1072
+ "text": "A.2 THE COMPLEXITY OF $\\mathbf { g } _ { 2 } ^ { ' }$ CAN BE SUBSTANTIALLY REDUCED USING THE FINITEDIFFERENCE APPROXIMATION",
1073
+ "text_level": 1,
1074
+ "bbox": [
1075
+ 171,
1076
+ 304,
1077
+ 763,
1078
+ 334
1079
+ ],
1080
+ "page_idx": 12
1081
+ },
1082
+ {
1083
+ "type": "text",
1084
+ "text": "We use the finite difference approximation just like DARTS. Let $\\epsilon$ be a small scalar, $\\omega _ { 1 } \\ = \\ \\omega + \\epsilon \\nabla _ { \\omega } \\mathcal { L } _ { \\mathrm { v a l } } ( \\omega , \\alpha )$ , $\\omega _ { 2 } ~ = ~ \\omega - \\epsilon \\nabla _ { \\omega } \\mathcal { L } _ { \\mathrm { v a l } } ( \\omega , \\alpha )$ . Then: $\\begin{array} { r l } { \\mathbf { H } \\cdot \\nabla _ { \\omega } \\mathcal { L } _ { \\mathrm { v a l } } ( \\omega , \\alpha ) } & { = } \\end{array}$ $\\frac { \\nabla _ { \\omega } \\mathcal { L } _ { \\mathrm { t r a i n } } ( \\omega _ { 1 } , \\alpha ) - \\nabla _ { \\omega } \\mathcal { L } _ { \\mathrm { t r a i n } } ( \\omega _ { 2 } , \\alpha ) } { \\mathrm { . } }$ . $\\begin{array} { r l r } { \\omega _ { 3 } } & { { } = } & { \\omega \\ + \\ \\frac { \\nabla _ { \\omega } \\mathcal { L } _ { \\mathrm { t r a i n } } ( \\omega _ { 1 } , \\alpha ) - \\nabla _ { \\omega } \\mathcal { L } _ { \\mathrm { t r a i n } } ( \\omega _ { 2 } , \\alpha ) } { 2 } } \\end{array}$ , $\\omega _ { 4 } = \\omega - \\frac { } { }$ 2\u000f . Then: $\\frac { \\nabla _ { \\omega } \\mathcal { L } _ { \\mathrm { t r a i n } } ( \\omega _ { 1 } , \\alpha ) ^ { - \\infty } \\nabla _ { \\omega } \\mathcal { L } _ { \\mathrm { t r a i n } } ( \\omega _ { 2 } , \\alpha ) } { 2 }$ $\\begin{array} { r } { \\mathbf { g } _ { 2 } ^ { \\prime } = - \\pmb { \\eta } \\times \\frac { \\nabla _ { \\omega } \\mathcal { L } _ { \\mathrm { v a l } } ( \\omega _ { 3 } , \\alpha ) - \\bar { \\nabla _ { \\omega } } \\mathcal { L } _ { \\mathrm { v a l } } ( \\omega _ { 4 } , \\alpha ) } { 2 \\epsilon } } \\end{array}$ ",
1085
+ "bbox": [
1086
+ 174,
1087
+ 347,
1088
+ 825,
1089
+ 415
1090
+ ],
1091
+ "page_idx": 12
1092
+ },
1093
+ {
1094
+ "type": "text",
1095
+ "text": "A.3 A TOY EXAMPLE TO SHOW THE IMPORTANCE OF THE “GRADIENT TRAP” ",
1096
+ "text_level": 1,
1097
+ "bbox": [
1098
+ 176,
1099
+ 435,
1100
+ 717,
1101
+ 449
1102
+ ],
1103
+ "page_idx": 12
1104
+ },
1105
+ {
1106
+ "type": "text",
1107
+ "text": "We have a small toy case to show the influence of the “gradient trap”. We searched for a small super-network in the DARTS’s search space, which only has two cells(we searched for 600 epochs). ",
1108
+ "bbox": [
1109
+ 171,
1110
+ 463,
1111
+ 823,
1112
+ 492
1113
+ ],
1114
+ "page_idx": 12
1115
+ },
1116
+ {
1117
+ "type": "text",
1118
+ "text": "When we train the super-network in the “training sets in search phase” and validate in the “validation sets in search phase”, the test error using $\\mathbf { g } _ { 2 } ^ { ' }$ is $1 0 . 5 \\%$ while the test error without ${ \\bf g } _ { 2 } ^ { ' }$ is $1 2 . 8 \\%$ . ",
1119
+ "bbox": [
1120
+ 174,
1121
+ 498,
1122
+ 825,
1123
+ 530
1124
+ ],
1125
+ "page_idx": 12
1126
+ },
1127
+ {
1128
+ "type": "text",
1129
+ "text": "When we train the super-network in the training sets and validate in the validation sets, the test error using ${ \\bf g } _ { 2 } ^ { ' }$ is $5 . 4 \\%$ while the test error without $\\mathbf { g } _ { 2 } ^ { ' }$ is $7 . 4 \\%$ . ",
1130
+ "bbox": [
1131
+ 173,
1132
+ 535,
1133
+ 823,
1134
+ 568
1135
+ ],
1136
+ "page_idx": 12
1137
+ },
1138
+ {
1139
+ "type": "text",
1140
+ "text": "When we generalize and train the network in the training sets and validate in the validation sets, the test error using ${ \\bf g } _ { 2 } ^ { ' }$ is $6 . 2 \\%$ while the test error without $\\mathbf { g } _ { 2 } ^ { \\prime }$ is $7 . 4 \\%$ . ",
1141
+ "bbox": [
1142
+ 173,
1143
+ 573,
1144
+ 823,
1145
+ 604
1146
+ ],
1147
+ "page_idx": 12
1148
+ },
1149
+ {
1150
+ "type": "text",
1151
+ "text": "In this case the “gradient trap” will cause a dramatic accuracy drop of the super-network. ",
1152
+ "bbox": [
1153
+ 171,
1154
+ 609,
1155
+ 754,
1156
+ 626
1157
+ ],
1158
+ "page_idx": 12
1159
+ },
1160
+ {
1161
+ "type": "text",
1162
+ "text": "A.4 SEARCH WITH DIFFERENT SEEDS ",
1163
+ "text_level": 1,
1164
+ "bbox": [
1165
+ 176,
1166
+ 647,
1167
+ 446,
1168
+ 661
1169
+ ],
1170
+ "page_idx": 12
1171
+ },
1172
+ {
1173
+ "type": "text",
1174
+ "text": "We ran our search algorithms with different seeds for 5 times in $S _ { 2 }$ and evaluated each discovered architecture for 3 times. The lowest test error is $2 . 5 7 { \\pm } 0 . 1 1 \\%$ and the highest is $2 . 6 3 { \\pm } 0 . 1 3 \\%$ . We did the same thing on $S _ { 1 }$ and the lowest and the highest test errors are $2 . 7 1 \\pm 0 . 1 5 \\%$ and $2 . 9 2 \\pm 0 . 0 9 \\%$ , respectively. ",
1175
+ "bbox": [
1176
+ 173,
1177
+ 675,
1178
+ 825,
1179
+ 732
1180
+ ],
1181
+ "page_idx": 12
1182
+ },
1183
+ {
1184
+ "type": "text",
1185
+ "text": "As we expected, the results in $S _ { 1 }$ are less robust than those in $S _ { 2 }$ . The main reason is the difference between search and evaluation, including the different depths of search and evaluation networks and the the discretization stage of the standard DARTS method. ",
1186
+ "bbox": [
1187
+ 174,
1188
+ 738,
1189
+ 823,
1190
+ 781
1191
+ ],
1192
+ "page_idx": 12
1193
+ },
1194
+ {
1195
+ "type": "text",
1196
+ "text": "More importantly, our approach survives after 500 (and even more) epochs, while DARTS degenerates to an all-skip-connect architecture in all $( 1 0 + )$ individual runs. ",
1197
+ "bbox": [
1198
+ 173,
1199
+ 787,
1200
+ 823,
1201
+ 816
1202
+ ],
1203
+ "page_idx": 12
1204
+ },
1205
+ {
1206
+ "type": "text",
1207
+ "text": "A.5 THEORETICAL ANALYSIS OF SEMI-POSITIVE-DEFINITE MATRIX AFTER SIMILARITY TRANSFORMATION ",
1208
+ "bbox": [
1209
+ 173,
1210
+ 840,
1211
+ 787,
1212
+ 867
1213
+ ],
1214
+ "page_idx": 12
1215
+ },
1216
+ {
1217
+ "type": "text",
1218
+ "text": "$\\mathbf { A } = \\mathbf { C } ^ { T } \\cdot \\mathbf { C } .$ , A is a semi-positive-definite matrix. In this case, the number of different eigenvalues is far less than the dimension of A(hundreds compared to millions). $\\mathbf { H }$ is a real symmetric positivedefinite matrix. ",
1219
+ "bbox": [
1220
+ 176,
1221
+ 881,
1222
+ 823,
1223
+ 924
1224
+ ],
1225
+ "page_idx": 12
1226
+ },
1227
+ {
1228
+ "type": "text",
1229
+ "text": "Let $\\big \\{ \\alpha _ { \\mathrm { i } } \\big \\}$ be a set of eigenvectors w.r.t $\\mathbf { A } ( \\alpha _ { \\mathrm { i } } ^ { T } \\cdot \\alpha _ { \\mathrm { i } } = 1 )$ ), then $\\{ \\mathbf { H } \\cdot \\mathbf { \\boldsymbol { \\alpha } } _ { \\mathrm { i } } \\}$ is a set of eigenvectors w.r.t $\\mathbf { H } \\cdot \\dot { \\mathbf { A } } \\cdot \\dot { \\mathbf { H } } ^ { - 1 }$ , $\\{ \\mathbf { H } ^ { - 1 } \\cdot \\mathbf { \\bar { \\alpha } } _ { \\mathrm { i } } \\}$ is a set of eigenvectors w.r.t $\\mathbf { H } ^ { - 1 } \\cdot \\mathbf { A } \\cdot \\mathbf { H }$ , and $\\{ \\lambda _ { \\mathrm { i } } \\}$ is a set of eigenvectors shared by them. ",
1230
+ "bbox": [
1231
+ 173,
1232
+ 102,
1233
+ 825,
1234
+ 146
1235
+ ],
1236
+ "page_idx": 13
1237
+ },
1238
+ {
1239
+ "type": "text",
1240
+ "text": "Let $\\beta$ be an eigenvector $\\begin{array} { r } { \\mathbf { \\operatorname { p f } } \\mathbf { H } { \\cdot } \\mathbf { A } { \\cdot } \\mathbf { H } ^ { - 1 } + \\mathbf { H } ^ { - 1 } { \\cdot } \\mathbf { A } { \\cdot } \\mathbf { H } , \\beta = \\sum _ { \\mathrm { i } = 1 } ^ { \\mathrm { n } } a _ { \\mathrm { i } } \\times \\mathbf { H } \\cdot \\alpha _ { \\mathrm { i } } = \\sum _ { \\mathrm { i } = 1 } ^ { \\mathrm { n } } b _ { \\mathrm { i } } \\times \\mathbf { H } ^ { - 1 } \\cdot \\alpha _ { \\mathrm { i } } . } \\end{array}$ \u0000 $\\begin{array} { r l } & { \\qquad \\mathrm { E } : = \\dots \\qquad \\mathrm { A } : \\mathrm { H } ^ { - 1 } + \\mathrm { H } ^ { - 1 } \\cdot \\mathrm { A } \\cdot \\mathrm { H } \\cdot \\mathrm { \\Lambda } \\mathrm { H } \\cdot \\mathrm { \\Lambda } \\beta = \\mathrm { \\Lambda } \\lambda \\beta , \\quad \\mathrm { ~ a } : = 1 \\times \\mathrm { H } \\cdot \\mathrm { \\Lambda } \\alpha _ { \\mathrm { i } } + \\sum _ { \\mathrm { i } = 1 } ^ { \\mathrm { n } } b _ { \\mathrm { i } } \\lambda _ { \\mathrm { i } } \\times \\mathrm { H } ^ { - 1 } \\cdot \\alpha _ { \\mathrm { i } } = } \\\\ & { \\underset { \\mathrm { - i } = 1 } { \\sum } a _ { \\mathrm { i } } \\lambda \\times \\mathrm { H } \\cdot \\alpha _ { \\mathrm { i } } = \\sum _ { \\mathrm { i } = 1 } ^ { \\mathrm { n } } b _ { \\mathrm { i } } \\lambda \\times \\mathrm { H } ^ { - 1 } \\cdot \\alpha _ { \\mathrm { i } } . } \\\\ & { \\underset { \\mathrm { - i } = 1 } { \\sum } \\left( \\lambda _ { \\mathrm { i } } - \\lambda \\right) a _ { \\mathrm { i } } b _ { \\mathrm { i } } = - \\sum _ { \\mathrm { i } = 1 } ^ { \\mathrm { n } } \\left( \\lambda _ { \\mathrm { i } } - \\lambda \\right) b _ { \\mathrm { i } } \\alpha _ { \\mathrm { i } } ^ { T } \\cdot \\mathrm { H } ^ { - 1 } \\cdot \\sum _ { \\mathrm { i } = 1 } ^ { \\mathrm { n } } \\left( \\lambda _ { \\mathrm { i } } - \\lambda \\right) b _ { \\mathrm { i } } \\mathrm { H } ^ { - 1 } \\cdot \\alpha _ { \\mathrm { i } } \\le 0 } \\end{array}$ ",
1241
+ "bbox": [
1242
+ 173,
1243
+ 150,
1244
+ 830,
1245
+ 208
1246
+ ],
1247
+ "page_idx": 13
1248
+ },
1249
+ {
1250
+ "type": "text",
1251
+ "text": "A is a real symmetric matrix, so we have many sets of $\\big \\{ \\alpha _ { \\mathrm { i } } \\big \\}$ that is orthogonal to each other. $\\beta ^ { T } \\cdot \\beta =$ $\\textstyle \\sum _ { \\mathrm { i } = 1 } ^ { \\mathrm { n } } a _ { \\mathrm { i } } b _ { \\mathrm { i } } \\geq 0$ , For every eigenvalue, the dimension of the subspace will be very high in the case of neural architecture search, so we assume that we can choose a set of $\\big \\{ \\alpha _ { \\mathrm { i } } \\big \\}$ orthogonal to each other from the subspace satisfying Pni+1j=ni $\\sum _ { \\mathrm { j = n _ { i } } } ^ { \\mathrm { n _ { i + 1 } - 1 } } a _ { \\mathrm { j } } b _ { \\mathrm { j } } \\geq 0$ in most cases $\\mathrm { { \\acute { n } _ { i } } }$ is the id of the first eigenvector w.r.t $\\lambda _ { \\mathrm { i } }$ ). ",
1252
+ "bbox": [
1253
+ 173,
1254
+ 237,
1255
+ 826,
1256
+ 313
1257
+ ],
1258
+ "page_idx": 13
1259
+ },
1260
+ {
1261
+ "type": "text",
1262
+ "text": "$\\begin{array} { r } { \\sum _ { \\mathrm { i = 1 } } ^ { \\mathrm { n } } \\left( \\lambda _ { \\mathrm { i } } - \\lambda \\right) a _ { \\mathrm { i } } b _ { \\mathrm { i } } = \\sum _ { \\mathrm { i = 1 } } ^ { \\mathrm { n } } \\left( \\lambda _ { \\mathrm { i } } - \\lambda \\right) \\sum _ { \\mathrm { j = n _ { i } } } ^ { \\mathrm { n _ { i + 1 } - 1 } } a _ { \\mathrm { j } } b _ { \\mathrm { j } } \\le 0 } \\end{array}$ so $\\boldsymbol { \\lambda }$ cannot be smaller than zero. ",
1263
+ "bbox": [
1264
+ 169,
1265
+ 318,
1266
+ 776,
1267
+ 339
1268
+ ],
1269
+ "page_idx": 13
1270
+ },
1271
+ {
1272
+ "type": "text",
1273
+ "text": "All of the eigenvalues w.r.t real symmetric matrix $\\mathbf { H } \\cdot \\mathbf { A } \\cdot \\mathbf { H } ^ { - 1 } + \\mathbf { H } ^ { - 1 } \\cdot \\mathbf { A } \\cdot \\mathbf { H }$ is not smaller than zero, so it is semi-positive-definite. Then we get that $\\mathbf { H } ^ { - 1 } \\cdot \\mathbf { A } \\cdot \\mathbf { H }$ is semi-positive-definite. ",
1274
+ "bbox": [
1275
+ 173,
1276
+ 344,
1277
+ 823,
1278
+ 375
1279
+ ],
1280
+ "page_idx": 13
1281
+ }
1282
+ ]
parse/train/BJlgt2EYwr/BJlgt2EYwr_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/BJlgt2EYwr/BJlgt2EYwr_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/DktZb97_Fx/DktZb97_Fx.md ADDED
@@ -0,0 +1,634 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # SENSEI: SENSITIVE SET INVARIANCE FOR ENFORCING INDIVIDUAL FAIRNESS
2
+
3
+ # Yuekai Sun
4
+
5
+ Mikhail Yurochkin
6
+ IBM Research
7
+ MIT-IBM Watson AI Lab
8
+ mikhail.yurochkin@ibm.com
9
+
10
+ Department of Statistics University of Michigan yuekai@umich.edu
11
+
12
+ # ABSTRACT
13
+
14
+ In this paper, we cast fair machine learning as invariant machine learning. We first formulate a version of individual fairness that enforces invariance on certain sensitive sets. We then design a transport-based regularizer that enforces this version of individual fairness and develop an algorithm to minimize the regularizer efficiently. Our theoretical results guarantee the proposed approach trains certifiably fair ML models. Finally, in the experimental studies we demonstrate improved fairness metrics in comparison to several recent fair training procedures on three ML tasks that are susceptible to algorithmic bias.
15
+
16
+ # 1 INTRODUCTION
17
+
18
+ As machine learning (ML) models replace humans in high-stakes decision-making and decisionsupport roles, concern regarding the consequences of algorithmic bias is growing. For example, ML models are routinely used in criminal justice and welfare to supplement humans, but they may have racial, class, or geographic biases (Metz & Satariano, 2020). In response, researchers proposed many formal definitions of algorithmic fairness as a first step towards combating algorithmic bias.
19
+
20
+ Broadly speaking, there are two kinds of definitions of algorithmic fairness: group fairness and individual fairness. In this paper, we focus on enforcing individual fairness. At a high-level, the idea of individual fairness is the requirement that a fair algorithm should treat similar individuals similarly. Individual fairness was dismissed as impractical because there is no consensus on which users are similar for many ML tasks. Fortunately, there is a flurry of recent work that addresses this issue (Ilvento, 2019; Wang et al., 2019; Yurochkin et al., 2020; Mukherjee et al., 2020). In this paper, we assume there is a similarity metric for the ML task at hand and consider the task of enforcing individual fairness. Our main contributions are:
21
+
22
+ 1. we define distributional individual fairness, a variant of Dwork et al.’s original definition of individual fairness that is (i) more amenable to statistical analysis and (ii) easier to enforce by regularization;
23
+ 2. we develop a stochastic approximation algorithm to enforce distributional individual fairness when training smooth ML models;
24
+ 3. we show that the stochastic approximation algorithm converges and the trained ML model generalizes under standard conditions;
25
+ 4. we demonstrate the efficacy of the approach on three ML tasks that are susceptible to algorithmic bias: income-level classification, occupation prediction, and toxic comment detection.
26
+
27
+ # 2 ENFORCING INDIVIDUAL FAIRNESS WITH SENSITIVE SET INVARIANCE (SENSEI)
28
+
29
+ # 2.1 A TRANSPORT-BASED DEFINITION OF INDIVIDUAL FAIRNESS
30
+
31
+ Let $\mathcal { X }$ and $\mathcal { V }$ be the space of inputs and outputs respectively for the supervised learning task at hand. For example, in classification tasks, $\mathcal { V }$ may be the probability simplex. An ML model is a function $h : \mathcal { X } \mathcal { Y }$ in a space of functions $\mathcal { H }$ (e.g. the set of all neural nets with a certain architecture).
32
+
33
+ Dwork et al. (2011) define individual fairness as $L$ -Lipschitz continuity of an ML model $h$ with respect to appropriate metrics on $\mathcal { X }$ and $\mathcal { V }$ :
34
+
35
+ $$
36
+ d _ { \mathcal { V } } ( h ( x ) , h ( x ^ { \prime } ) ) \leq L d _ { \mathcal { X } } ( x , x ^ { \prime } )
37
+ $$
38
+
39
+ for all $x , x ^ { \prime } \in { \mathcal { X } }$ . The choice of $d _ { \mathcal { Y } }$ is often determined by the form of the output. For example, if the ML model outputs a vector of the logits, then we may pick the Euclidean norm as $d _ { \mathcal { Y } }$ (Kannan et al., 2018; Garg et al., 2018). The metric $d _ { \mathcal { X } }$ is the crux of (2.1) because it encodes our intuition of which inputs are similar for the ML task at hand. For example, in natural language processing tasks, $d _ { \mathcal { X } }$ may be a metric on word/sentence embeddings that ignores variation in certain sensitive directions. In light of the importance of the similarity metric in (2.1) to enforcing individual fairness, there is also a line of work on learning the similarity metric from data (Ilvento, 2019; Wang et al., 2019; Mukherjee et al., 2020). In our experiments, we adapt the methods from Yurochkin et al. (2020) to learn similarity metrics.
40
+
41
+ Although intuitive, individual fairness is statistically and computationally intractable. Statistically, it is generally impossible to detect violations of individual fairness on zero measure subset of the sample space. Computationally, individual fairness is a Lipschitz restriction, and such restrictions are hard to enforce. In this paper, we address both issues by lifting (2.1) to the space of probability distributions on $\mathcal { X }$ to obtain an “average case” version of individual fairness. This version (i) is more amenable to statistical analysis, (ii) is easy to enforce by minimizing a data-dependent regularizer, and (iii) preserves the intuition behind Dwork et al. (2011)’s original definition of individual fairness.
42
+
43
+ Definition 2.1 (distributional individual fairness (DIF)). Let , $\delta > 0$ be tolerance parameters and $\Delta ( { \mathcal { X } } \times { \mathcal { X } } )$ be the set of probability measures on $\mathcal { X } \times \mathcal { X }$ . Define
44
+
45
+ $$
46
+ R ( h ) \triangleq \left\{ \begin{array} { l l } { \operatorname* { s u p } _ { \Pi \in \Delta ( { \mathcal { X } } \times { \mathcal { X } } ) } } & { { \mathbf { E } } _ { \Pi } \big [ d _ { { \mathcal { Y } } } ( h ( X ) , h ( X ^ { \prime } ) ) \big ] } \\ { s u b j e c t t o } & { { \mathbf { E } } _ { \Pi } \big [ d _ { { \mathcal { X } } } ( X , X ^ { \prime } ) \big ] \leq \epsilon } \\ & { \Pi ( \cdot , { \mathcal { X } } ) = P _ { X } } \end{array} \right\} .
47
+ $$
48
+
49
+ where $P _ { X }$ is the (marginal) distribution of the inputs in the ML task at hand. An ML model $h$ is $( \epsilon , \delta )$ -distributionally individually fair $( D I F )$ iff $R ( h ) \leq \delta$ .
50
+
51
+ We remark that DIF only depends on $h$ and $P _ { X }$ . It does not depend on the (conditional) distribution of the labels $P _ { Y \mid X }$ , so it does not depend on the performance of the ML model. In other words, it is possible for a model to perform poorly and be perfectly DIF (e.g. the constant model $h ( x ) = 0$ ).
52
+
53
+ The optimization problem in (2.2) formalizes correspondence studies in the empirical literature (Bertrand & Duflo, 2016). Here is a prominent example.
54
+
55
+ Example 2.2. Bertrand & Mullainathan studied racial bias in the US labor market. The investigators responded to help-wanted ads in Boston and Chicago newspapers with fictitious resumes. To manipulate the perception of race, they randomly assigned African-American or white sounding names to the resumes. The investigators concluded there is discrimination against African-Americans because the resumes assigned white names received $50 \%$ more callbacks for interviews than the resumes.
56
+
57
+ We view Bertrand & Mullainathan’s investigation as evaluating the objective in (2.3) at a special $T$ . Let $\mathcal { X }$ be the space of resumes, and $h : \mathcal { X } \{ 0 , 1 \}$ be the decision rule that decides whether a resume receives a callback. Bertrand & Mullainathan implicitly pick the $T$ that reassigns the name on a resume from an African-American sounding name to a white one (or vice versa) and measures discrimination with the difference between callback rates before and after reassignment:
58
+
59
+ $$
60
+ \mathbf { E } _ { P } \left[ 1 \{ h ( X ) \neq h ( T ( X ) ) \} \right] = \mathbf { P } \{ h ( X ) \neq h ( T ( X ) ) \} .
61
+ $$
62
+
63
+ We consider distributional individual fairness a variant of Dwork et al.’s original definition. It is not a fundamentally new definition of algorithmic fairness because it encodes the same intuition as Dwork et al.’s original definition. Most importantly, it remains an individual notion of algorithmic fairness because it compares individuals to similar (close in $d _ { \mathcal { X } }$ ) individuals.
64
+
65
+ # 2.2 DIF VERSUS INDIVIDUAL FAIRNESS
66
+
67
+ It is hard to directly compare Dwork et al.’s original definition of individual fairness and DIF directly. First, they are parameterized differently: the original definition (2.1) is parameterized by a Lipschitz constant $L$ , while DIF is parameterized by an $( \epsilon , \delta )$ pair. Intuitively, (2.1) enforces (approximate) invariance at all scales (at any $\epsilon > 0$ ), while DIF only enforces invariance at one scale (determined by the input tolerance parameter). Second, (2.1) enforces invariance uniformly on $\mathcal { X }$ , while (2.2) enforces invariance on average. Although DIF seems a weaker notion of algorithmic fairness than (2.1) (average fairness vs uniform fairness), DIF is actually more stringent in some ways because the constraints in (2.2) are looser. This is evident in the Mongé version of the optimization problem in (2.2):
68
+
69
+ $$
70
+ \begin{array} { r l } { \operatorname* { s u p } _ { T : \mathcal { X } \to \mathcal { X } } } & { \mathbf { E } _ { P } \left[ d _ { \mathcal { Y } } ( h ( X ) , h ( T ( X ) ) ) \right] } \\ { \mathrm { s u b j e c t ~ t o ~ } } & { \mathbf { E } _ { P } \left[ d _ { \mathcal { X } } ( X , T ( X ) ) \right] \le \epsilon . } \end{array}
71
+ $$
72
+
73
+ The map corresponding to (2.1)
74
+
75
+ $$
76
+ \begin{array} { r } { T _ { \mathrm { I F } } ( x ) \triangleq \arg \operatorname* { m a x } _ { d _ { \mathcal { X } } ( x , x ^ { \prime } ) \leq \epsilon } d _ { \mathcal { Y } } ( h ( x ) , h ( x ^ { \prime } ) ) } \end{array}
77
+ $$
78
+
79
+ maps each $x$ to its worse-case counterpart $x ^ { \prime }$ in (2.1). It is not hard to see that $T _ { \mathrm { I F } }$ is a feasible map for (2.3), but it may not be optimal. This is because (2.3) only restricts $T$ to transport points by at most $\epsilon$ on average; the optimal $T$ may transport some points by more than $\epsilon$ .
80
+
81
+ To make the two definitions more comparable, we consider an $\epsilon { - } \delta$ version of individual fairness. A model $h : \mathcal { X } \to \mathcal { Y }$ satisfies $( \epsilon , \delta )$ -individual fairness at $x \in \mathcal { X }$ if and only if
82
+
83
+ $$
84
+ \begin{array} { r } { d _ { \mathcal { Y } } ( h ( x ) , h ( T _ { \mathrm { I F } } ( x ) ) ) = \operatorname* { s u p } _ { d _ { \mathcal { X } } ( x , x ^ { \prime } ) \leq \epsilon } d _ { \mathcal { Y } } ( h ( x ) , h ( x ^ { \prime } ) ) \leq \delta . } \end{array}
85
+ $$
86
+
87
+ To arrive at (2.4), we start by observing that (2.1) is equivalent to
88
+
89
+ $$
90
+ \begin{array} { r } { \operatorname* { s u p } _ { x \in \mathcal { X } } d _ { \mathcal { Y } } ( h ( x ) , h ( T _ { \mathrm { I F } } ( x ) ) ) \le L \epsilon \mathrm { f o r } \operatorname * { a n y } x \in \mathcal { X } \mathrm { ~ a n d ~ } \epsilon > } \end{array}
91
+ $$
92
+
93
+ We fix $x$ and $\epsilon$ and re-parameterize the right side with $\delta$ to obtain (2.4). It is possible to show that if $h$ is $( \epsilon , \delta )$ -DIF, then there exists $\delta ^ { \prime }$ such that it satisfies $( \epsilon , \delta ^ { \prime } )$ -individual fairness for “most” $x$ ’s. We formally state this result in a proposition.
94
+
95
+ Proposition 2.3. If $h : \mathcal { X } \to \mathcal { Y }$ is $( \epsilon , \delta )$ -DIF, then
96
+
97
+ $$
98
+ \begin{array} { r } { P _ { X } ( d _ { \mathcal { Y } } ( h ( X ) , h ( T _ { \mathrm { I F } } ( X ) ) ) \ge \tau ) \le \frac { \delta } { \tau } f o r a n y \tau > 0 . } \end{array}
99
+ $$
100
+
101
+ # 2.3 ENFORCING DIF
102
+
103
+ There are two general approaches to enforcing invariance conditions such as (2.2). The first is distributionally robust optimization (DRO):
104
+
105
+ $$
106
+ \begin{array} { r } { \operatorname* { m i n } _ { h \in \mathcal { H } } L _ { \mathrm { a d v } } ( h ) \triangleq \operatorname* { s u p } _ { P ^ { \prime } : W _ { d } ( P , P ^ { \prime } ) \leq \epsilon } { \bf E } _ { P ^ { \prime } } \big [ \ell ( Y ^ { \prime } , h ( X ^ { \prime } ) ) \big ] , } \end{array}
107
+ $$
108
+
109
+ where $\ell$ is a loss function and $W _ { d } ( P , Q )$ is the Wasserstein distance between distributions on $\mathcal { X } \times \mathcal { V }$ induced by the transport cost function $c ( ( x , y ) , ( x ^ { \prime } y ^ { \prime } ) ) \triangleq d _ { \mathcal { X } } ( x , x ^ { \prime } ) + \infty \cdot 1 \{ y \neq y ^ { \prime } \}$ . This approach is very similar to adversarial training, and it was considered by Yurochkin et al. (2020) for enforcing (their modification of) individual fairness. In this paper, we consider a regularization approach to enforcing (2.2):
110
+
111
+ $$
112
+ \begin{array} { r } { \operatorname* { m i n } _ { h \in \mathcal { H } } L ( h ) + \rho R ( h ) , \quad L ( h ) \triangleq \mathbf { E } \big [ \ell ( Y , h ( X ) ) \big ] , } \end{array}
113
+ $$
114
+
115
+ where $\rho > 0$ is a regularization parameter and the regularizer $R$ is defined in (2.2). An obvious advantage of the regularization approach is it allows the user to fine-tune the trade-off between goodness-of-fit and fairness by adjusting $\rho$ (see Figure 1; in Figure 3 of Appendix D we show the lack of such flexibility in the method of Yurochkin et al. (2020)). As we shall see, although the two approaches share many theoretical properties, we show in Section 4 that the regularization approach has superior empirical performance. We defer a more in-depth comparison between the two approaches to subsection 2.4.
116
+
117
+ At first blush, the regularized risk minimization problem (2.6) is not amenable to stochastic optimization because $R$ is not an expected value of a function of the training examples. Fortunately, by appealing to duality, it is possible to obtain a dual formulation of $R$ that is suitable for stochastic optimization.
118
+
119
+ Theorem 2.4 (dual form of $R$ ). If $d y ( h ( x ) , h ( x ^ { \prime } ) ) - \lambda d _ { \mathcal { X } } ( x , x ^ { \prime } )$ is continuous (in $( x , x ^ { \prime } )$ ) for any $\lambda \geq 0$ , then
120
+
121
+ $$
122
+ \begin{array} { r } { R ( h ) = \operatorname* { i n f } _ { \lambda \geq 0 } \{ \lambda \epsilon + { \bf E } _ { P x } \left[ r _ { \lambda } ( h , X ) \right] \} , r _ { \lambda } ( h , X ) \triangleq \operatorname* { s u p } _ { x ^ { \prime } \in \mathcal { X } } \{ d y ( h ( X ) , h ( x ^ { \prime } ) ) - \lambda d _ { \mathcal { X } } ( X , x ^ { \prime } ) \} . } \end{array}
123
+ $$
124
+
125
+ ![](images/eebc18d7d2044098b1c973923f671dada37fee4da7e8c75c7e311fd74b42c1a3.jpg)
126
+ Figure 1: The decision surface of a one hidden layer neural network trained with SenSeI as the fair regularization parameter $\rho$ varies. In this ML task, points on a horizontal line (points with identical $y$ -values) are similar, but the training data is biased because $P _ { Y \mid X }$ is not constant on horizontal lines. We see that fair regularization (eventually) corrects the bias in the data.
127
+
128
+ We defer the proof of this result to Appendix A. In light of the dual form of the fair regularizer, the regularized risk minimization problem is equivalently
129
+
130
+ $$
131
+ \begin{array} { r } { \operatorname* { m i n } _ { h \in \mathcal { H } } \operatorname* { i n f } _ { \lambda \ge 0 } { \bf E } _ { P } \big [ \ell ( Y , h ( X ) ) + \rho ( \lambda \epsilon + r _ { \lambda } ( h , X ) ) \big ] , } \end{array}
132
+ $$
133
+
134
+ where $r _ { \lambda }$ is defined in Theorem 2.4, which has the form of minimizing an expected value of a function of the training examples. To optimize with respect to $h$ , we parameterize the function space $\mathcal { H }$ with a parameter $\mathbf { \bar { \theta } } \in \Theta \mathsf { \bar { \Lambda } } \subset \mathbf { R } ^ { d }$ and consider a stochastic approximation approach to finding the best parameter. Let $w \triangleq ( \theta , \lambda )$ and $Z \triangleq ( X , Y )$ . The stochastic optimization problem we wish to solve is
135
+
136
+ $\begin{array} { r } { \operatorname* { m i n } _ { w \in \Theta \times { \bf R } _ { + } } F ( w ) \triangleq { \bf E } _ { P } \big [ f ( w , Z ) \big ] , \quad f ( w , Z ) \triangleq \ell ( Y , h _ { \theta } ( X ) ) + \rho ( \lambda \epsilon + r _ { \lambda } ( h _ { \theta } , X ) ) . } \end{array}$ (2.8) It is not hard to see that (2.8) is a stochastic optimization problem. We summarize Sensitive Set Invariance (SenSeI) for stochastic optimization of (2.8) in Algorithm 1.
137
+
138
+ # Algorithm 1 SenSeI: Sensitive Set Invariance
139
+
140
+ <table><tr><td>inputs: starting point (0o,Xo), step sizes (nt)</td></tr><tr><td>repeat</td></tr><tr><td>(Xt1,Yt1),...,(Xtb,YtB)~P &gt; sample mini-batch from P</td></tr><tr><td>xtb←argmax&#x27;∈x{dy(hθ(Xtb),h(x&#x27;))-Xtdx(Xtb,x&#x27;)},b∈[B] generate worst-case examples</td></tr><tr><td></td></tr><tr><td>λt+1←max{0,Xt-ntp(∈-B∑b=1dx(Xtb,xtb)},</td></tr><tr><td>0t+1←t-nt(∑-{e(Yth(t)))+p{dy(h(Xt),(x)))) until converged</td></tr></table>
141
+
142
+ # 2.4 ADVERSARIAL TRAINING VS FAIR REGULARIZATION
143
+
144
+ Adversarial training is a popular approach to training invariant ML models. It was originally developed to defend ML models against adversarial examples (Goodfellow et al., 2014; Madry et al., 2017). There are many versions of adversarial training; the Wasserstein distributionally robust optimization (DRO) version by Sinha et al. (2017) is most closely related to (2.5). The direct goal of adversarial training is training ML models whose risk is small on adversarial examples, and the robust risk that adversarial training seeks to minimize (2.5) is exactly the risk on adversarial examples.
145
+
146
+ An indirect consequence of adversarial training is invariance to imperceptible changes to the inputs. Recall an adversarial example is a training example with the same label as a non-adversarial training example whose inputs differ imperceptibly from those of a training example. Thus (successful) adversarial training leads to ML models that ignore such imperceptible changes and are thus invariant in “imperceptible neighborhoods” of the training examples.
147
+
148
+ Unlike adversarial training, which leads to invariance as an indirect consequence of adversarial robustness, fair regularization enforces fairness by explicitly minimizing a fair regularizer. A key benefit of invariance regularization is it permits practitioners to fine-tune the trade-off between goodness-of-fit and invariance by adjusting the regularization parameter (see Figure 1).
149
+
150
+ # 2.5 RELATED WORK
151
+
152
+ There are three lines of work on enforcing individual fairness. There is a line of work that enforces group fairness with respect to many (possibly overlapping) groups to avoid disparate treatment of individuals (Hébert-Johnson et al., 2017; Kearns et al., 2017; Kim et al., 2018a;b). At a high-level, these methods repeatedly find groups in which group fairness is violated and updates the ML model to correct violations. Compared to these methods that approximate individual fairness with group fairness, we directly enforce individual fairness.
153
+
154
+ There is another line of work on enforcing individual fairness without knowledge of the similarity metric. Gillen et al. (2018); Rothblum & Yona (2018); Jung et al. (2019) reduce the problem of enforcing individual fairness to a supervised learning problem by minimizing the number of violations. Instead of a similarity metric, these algorithms rely on an oracle that detects violations of individual fairness. Garg et al. (2018) enforce individual fairness by penalizing the expected difference in predictions between counterfactual inputs. Instead of a similarity metric, this algorithm relies a way of generating counterfactual inputs. Our approach complements these methods by relying on a similarity metric instead of such oracles. This allows us to take advantage of recent work on learning fair metrics (Ilvento, 2019; Wang et al., 2019; Yurochkin et al., 2020; Mukherjee et al., 2020).
155
+
156
+ Most similar to our work is SenSR (Yurochkin et al., 2020) that also assumes access to a similarity metric. SenSR is based on adversarial training, i.e. it enforces a risk-based notion of individual fairness that only requires the risk of the ML model to be similar on similar inputs. In contrast, our method is based on fair regularization, i.e. it enforces a notion of individual fairness that requires the outputs of the ML model to be similar. The latter is stronger (it implies the former) and is much closer to Dwork et al.’s original definition. In addition, the risk-based notion of SenSR ties accuracy to fairness. Our approach separates these two (usually conflicting) goals and allows practitioners to more easily adjust the trade-off between accuracy and fairness as demonstrated in our experimental studies.
157
+
158
+ Finally, there is a line of work that proposes pre-processing techniques to learn a fair representation of the individuals and training an ML model that accepts the fair representation as input (Zemel et al., 2013; Bower et al., 2018; Madras et al., 2018; Lahoti et al., 2019). These works are complimentary to ours as we propose an in-processing algorithm.
159
+
160
+ # 3 THEORETICAL PROPERTIES OF SENSEI
161
+
162
+ In this section, we describe some theoretical properties of SenSeI. We defer all proofs to Appendix A. First, Algorithm 1 is an instance of a stochastic gradient method, and its convergence properties are well-studied. Even if $f ( w , Z )$ is non-convex in $w$ , the algorithm converges (globally) to a stationary point (see Appendix A for a rigorous statement). Second, the fair regularizer is data-dependent, and it is unclear whether minimizing its empirical counterpart (3.1) enforces distributional fairness. We show that the fair regularizer generalizes under standard conditions. Consequently,
163
+
164
+ 1. it is possible for practitioners to certify that an ML model $h$ is DIF a posteriori by checking $\hat { R } ( h )$ (even if $h$ was trained by minimizing $\widehat { R } )$ ;
165
+ 2. fair regularization enforces distributional individual fairness (as long as the hypothesis class includes DIF ML models);
166
+
167
+ Notation Let $\{ ( X _ { i } , Y _ { i } ) \} _ { i = 1 } ^ { n }$ be the training set and ${ \widehat { P } } _ { X }$ be the empirical distribution of the inputs. Define $\widehat { L } : \mathcal H \to \mathbf { R }$ as the empirical risk and $\widehat { R } : \mathcal { H } \to \mathbf { R }$ as the empirical counterpart of the fair regularizer $R$ (2.2):
168
+
169
+ $$
170
+ \widehat { R } ( h ) \triangleq \left\{ \begin{array} { l l } { \operatorname* { m a x } _ { \Pi \in \Delta ( \mathcal { X } \times \mathcal { X } ) } } & { \mathbf { E } _ { \Pi } \big [ d y ( h ( X ) , h ( X ^ { \prime } ) ) \big ] } \\ { \mathrm { s u b j e c t ~ t o ~ } } & { \mathbf { E } _ { \Pi } \big [ d _ { \mathcal { X } } ( X , X ^ { \prime } ) \big ] \leq \epsilon } \\ & { \Pi ( \cdot , \mathcal { X } ) = \widehat { P } _ { X } , } \end{array} \right\} .
171
+ $$
172
+
173
+ Define the loss class $\mathcal { L }$ and its counterpart for the fair regularizer as
174
+
175
+ $$
176
+ \begin{array} { r l r } & { } & { \mathcal { L } \triangleq \{ \ell _ { h } : \mathcal { Z } \to { \bf R } \mid h \in \mathcal { H } \} , \quad \ell _ { h } ( z ) \triangleq \ell ( h ( x ) , y ) , } \\ & { } & { \mathcal { D } \triangleq \{ d _ { h } : \mathcal { X } \times \mathcal { X } \to { \bf R } _ { + } \mid h \in \mathcal { H } \} , \quad d _ { h } ( x , x ^ { \prime } ) \triangleq d _ { \mathcal { V } } ( h ( x ) , h ( x ^ { \prime } ) ) . } \end{array}
177
+ $$
178
+
179
+ We measure the complexity of $\mathcal { D }$ and $\mathcal { L }$ with their entropy integrals with respect to to the uniform metric: $\begin{array} { r } { J ( \mathcal { D } / \mathcal { L } ) \triangleq \int _ { 0 } ^ { \infty } \log N ( \mathcal { D } / \mathcal { L } , \| \cdot \| _ { \infty } , \epsilon ) ^ { \frac { 1 } { 2 } } d \epsilon } \end{array}$ , where $N ( \mathcal { D } , \| \cdot \| _ { \infty } , \epsilon )$ is the $\epsilon$ -covering number of $\mathcal { D }$ in the uniform metric. The main benefit of using entropy integrals instead of Rademacher or Gaussian complexities to measure the complexity of $\mathcal { D }$ and $\mathcal { L }$ is it does not depend on the distribution of the training examples. This allows us to obtain generalization error bounds for counterfactual training sets that are similar to the (observed) training set. Finally, define the diameter of $\mathcal { X }$ in the $d _ { \mathcal { X } }$ metric, that of $\mathcal { V }$ in the $d _ { \mathcal { Y } }$ metric as $\begin{array} { r } { D _ { \mathcal { X } } \triangleq \operatorname* { s u p } _ { x , x ^ { \prime } \in \mathcal { X } } d _ { \mathcal { X } } ( x , x ^ { \prime } ) } \end{array}$ , $\begin{array} { r } { D _ { \mathcal { Y } } \triangleq \operatorname* { s u p } _ { y , y ^ { \prime } \in \mathcal { Y } } d _ { \mathcal { Y } } ( y , y ^ { \prime } ) } \end{array}$ . The first result shows that the fair regularizer $R ( h )$ generalizes. We assume $D _ { \mathcal { X } }$ , $D _ { c Y } < \infty$ . This is a boundedness condition on $\mathcal { X } \times \mathcal { V }$ , and it is a common simplifying assumption in statistical learning theory. We also assume $J ( \mathcal { D } ) < \infty$ . This is a standard assumption that appears in many uniform convergence results.
180
+
181
+ Theorem 3.1. As long as $D _ { \mathcal { X } } , D _ { \mathcal { Y } }$ , and $J ( { \mathcal { G } } )$ are all finite, with probability at least $1 - t$ :
182
+
183
+ $$
184
+ \begin{array} { r } { \operatorname* { s u p } _ { h \in \mathcal { H } } | \widehat { R } ( h ) - R ( h ) | \leq \frac { 4 8 ( J ( \mathcal { D } ) + \frac { 1 } { \epsilon } D _ { \mathcal { X } } D _ { \mathcal { Y } } ) } { \sqrt { n } } + D _ { \mathcal { Y } } ( \frac { \log \frac { 2 } { t } } { 2 n } ) ^ { \frac { 1 } { 2 } } . } \end{array}
185
+ $$
186
+
187
+ Theorem 3.1 implies it is possible to certify that an ML model $h$ satisfies distributional individual fairness (modulo error terms that vanish in the large-sample limit) by inspecting $\widehat { R } ( h )$ . This is important because a practitioner may inspect $\widehat { R } ( h )$ after training to verify whether the trained ML model $h$ is fair enough. Theorem 3.1 assures the user that $\widehat { R } ( h )$ is close to $R ( h )$ .
188
+
189
+ # 4 COMPUTATIONAL EXPERIMENTS
190
+
191
+ In this section we present empirical evidence that SenSeI trains individually fair ML models in practice and study the trade-off between accuracy and fairness parametrized by $\rho$ (defined in (2.6)).
192
+
193
+ Baselines We compare SenSeI to empirical risk minimization (Baseline) and two recent approaches for training individually fair ML models: Sensitive Subspace Robustness (SenSR) (Yurochkin et al., 2020) that uses DRO to achieve robustness to perturbations in a fair metric, and Counterfactual Logit Pairing (CLP) (Garg et al., 2018) that penalizes the differences in the output of an ML model on training examples and hand-crafted counterfactuals. We provide implementation details of SenSeI and the baselines in Appendix B.
194
+
195
+ # 4.1 TOXIC COMMENT DETECTION
196
+
197
+ We consider the task of training a classifier to identify toxic comments, i.e. rude or disrespectful messages in online conversations. Identifying and moderating toxic comments is crucial for facilitating inclusive online conversations. Data is available through the “Toxic Comment Classification Challenge” Kaggle competition. We utilize the subset of the dataset that is labeled with a range of identity contexts (e.g. “muslim”, “white”, “black”, “homosexual gay or lesbian”). Many of the toxic comments in the train data also relate to these identities leading to a classifier with poor test performance on the sets of comments with some of the identity contexts (group fairness violation) and prediction rule utilizing words such as “gay” to flag a comment as toxic (individual fairness violation). To obtain good features we use last layer representation of BERT (base, uncased) (Devlin et al., 2018) fine tuned on a separate subset of $5 0 0 \mathrm { k }$ randomly selected comments without identity labels. We then train a 2000 hidden units neural network with these BERT features.
198
+
199
+ Counterfactuals and fair metric. CLP (Garg et al., 2018) requires defining a set of counterfactual tokens. The training proceeds by taking an input comment and if it contains a counterfactual token replacing it with another random counterfactual token. For example, if “gay” and “straight” are among the counterfactual tokens, comment “Some people are gay” may be modified to “Some people are straight”. Then difference in logit outputs of the classifier on the original and modified comments is used as a regularizer. For toxicity classification Garg et al. (2018) adopted a set of 50 counterfactual tokens from (Dixon et al., 2018). Counterfactuals allow for a simple fair metric learning procedure via factor analysis: since any variation in representation of a data point and its counterfactuals is considered undesired, Yurochkin et al. (2020); Mukherjee et al. (2020) proposed to use a Mahalanobis metric with the major directions of variation among counterfactuals projected out. We utilize this approach here to obtain fair metric for training SenSR (Yurochkin et al., 2020) and SenSeI. See Appendix B.1 for additional details regarding the fair metric construction in the experiments.
200
+
201
+ Table 1: Summary of Toxicity classification experiment over 10 restarts
202
+
203
+ <table><tr><td></td><td>BA</td><td>CTF score</td><td>PC</td><td>BA STD</td><td>ACC STD</td></tr><tr><td>Baseline</td><td>0.807±0.002</td><td>0.072±0.002</td><td>0.621±0.014</td><td>0.044±0.003</td><td>0.081±0.004</td></tr><tr><td>SenSeI</td><td>0.791±0.005</td><td>0.029±0.005</td><td>0.773±0.043</td><td>0.035±0.003</td><td>0.052±0.003</td></tr><tr><td>SenSR</td><td>0.794±0.003</td><td>0.043±0.005</td><td>0.729±0.044</td><td>0.036±0.002</td><td>0.059±0.004</td></tr><tr><td>CLP</td><td>0.795±0.006</td><td>0.032±0.006</td><td>0.763±0.048</td><td>0.038±0.003</td><td>0.056±0.004</td></tr></table>
204
+
205
+ Table 2: Summary of Bios classification experiment over 10 restarts
206
+
207
+ <table><tr><td></td><td>BA</td><td>CTF score</td><td>PC</td><td>Gap RMS</td><td>Gap ABS</td></tr><tr><td>Baseline</td><td>0.842±0.002</td><td>0.028±0.001</td><td>0.942±0.001</td><td>0.120±0.004</td><td>0.080±0.003</td></tr><tr><td>SenSeI</td><td>0.843±0.003</td><td>0.003±0.000</td><td>0.977±0.001</td><td>0.086±0.005</td><td>0.054±0.003</td></tr><tr><td>SenSR</td><td>0.842±0.003</td><td>0.004±0.000</td><td>0.976±0.001</td><td>0.087±0.004</td><td>0.054±0.003</td></tr><tr><td>CLP</td><td>0.841±0.003</td><td>0.005±0.000</td><td>0.974±0.001</td><td>0.087±0.005</td><td>0.056±0.004</td></tr></table>
208
+
209
+ Comparison metrics. To evaluate individual fairness of the classifiers we use test data and 50 counterfactuals to check if the classifier toxicity decision varies across counterfactuals. For example, is prediction for “Some people are gay” same as for “Some people are straight”? An intuitive fair metric should be 0 on a pair of such comments and prediction of the classifier should not change based on the Dwork et al.’s individual fairness definition. We report Counterfactual Token Fairness (CTF) score (Garg et al., 2018) that quantifies variance across counterfactuals of the predicted probability that a comment is toxic, and Prediction Consistency (PC) equal to the portion of test comments where prediction is the same across all 50 counterfactual variations.
210
+
211
+ For goodness-of-fit we use balanced accuracy due to class imbalance. To quantify group fairness we follow accuracy parity notion (Zafar et al., 2017; Zhao et al., 2019). Here protected groups correspond to the identity context labels available in the data and accuracy parity quantifies whether a classifier is equally accurate on, e.g., comments labeled to have “white” context and those labeled with “black”. There are 9 protected groups and we report standard deviation of the accuracies and balanced accuracies across them. We present mathematical expressions for each of the metrics in Appendix C for completeness.
212
+
213
+ Results. We repeat our experiment 10 times with random 70-30 train-test splits, every time utilizing a random subset of 25 counterfactuals during training. Results are summarized in Table 1. SenSeI on average outperforms other fair training methods on all individual and group fairness metrics at the cost of slightly lower balanced accuracy. SenSR has the lowest prediction consistency score suggesting that our fair regularization is more effective in enforcing individual fairness than adversarial training. This observation aligns with the empirical study by Yang et al. (2019) comparing various invariance enforcing techniques for spatial robustness in image recognition.
214
+
215
+ SenSeI also outperforms CLP: our approach uses optimization to find worst case perturbations of the data according to a fair metric induced by counterfactuals, while CLP chooses a random perturbation among the counterfactuals. SenSeI is searching for a perturbation on every data point that potentially allows to generalize to unseen counterfactuals, while CLP can only perturb comments that explicitly contain a counterfactual known during training time. In Figure 2 we verify that both SenSeI and CLP allow to “trade” fairness and accuracy by varying the regularization strength $\rho$ (in the table we used $\rho = 5$ for both). We also notice the effect of worst case optimization opposed to random sampling: SenSeI has higher prediction consistency at the cost of balanced accuracy.
216
+
217
+ # 4.2 OCCUPATION PREDICTION
218
+
219
+ Online professional presence via dedicated services or personal websites is the common practice in many industries. ML systems can be trained using data from these sources to identify person’s occupation and used by recruiters to assist in finding suitable candidates for the job openings. Gender imbalances in occupations may trigger biases in such ML systems exacerbating societal inequality. De-Arteaga et al. (2019) proposed Bias in Bios dataset to study fairness in occupation prediction from a person’s bio. The dataset consists of $4 0 0 \mathrm { k }$ textual bio descriptions and the goal is to predict one of the 28 occupations. We again use BERT fine-tuned on the train data to obtain bio representations and then train a 2000 hidden neurons neural networks using each of the fair training methods.
220
+
221
+ ![](images/0d76a6ff8dfba0eac66b56b66be62af0a8f7c540fe6e1cdc1a812ceb68ed49b5.jpg)
222
+ Figure 2: Balanced accuracy (BA) and prediction consistency (PC) trade-off.
223
+
224
+ Table 3: Adult experiment over 10 restarts. Prior methods are duplicated from Yurochkin et al. (2020)
225
+
226
+ <table><tr><td></td><td>BA,%</td><td>S-Con.</td><td>GR-Con.</td><td>GapG RMS</td><td>GapR RMS</td><td>GapG max</td><td>GapR max</td></tr><tr><td>SenSR</td><td>78.9</td><td>.934</td><td>.984</td><td>.068</td><td>.055</td><td>.087</td><td>.067</td></tr><tr><td>Baseline</td><td>82.9</td><td>.848</td><td>.865</td><td>.179</td><td>.089</td><td>.216</td><td>.105</td></tr><tr><td>Project</td><td>82.7</td><td>.868</td><td>1.00</td><td>.145</td><td>.064</td><td>.192</td><td>.086</td></tr><tr><td>Adv. debiasing</td><td>81.5</td><td>.807</td><td>.841</td><td>.082</td><td>.070</td><td>.110</td><td>.078</td></tr><tr><td>CoCL</td><td>79.0</td><td>1</td><td>1</td><td>.163</td><td>.080</td><td>.201</td><td>.109</td></tr><tr><td>SenSeI (p= 40)</td><td>76.8</td><td>.945</td><td>.963</td><td>.043</td><td>.054</td><td>.053</td><td>.064</td></tr></table>
227
+
228
+ Counterfactuals and fair metric. Counterfactuals definition for this problem is the gender analog of the Bertrand & Mullainathan (2004) investigation of the racial bias in the labor market. For each bio we create a counterfactual bio by replacing male pronouns with the corresponding female ones and vice a versa. For the fair metric we use same approach as in the Toxicity study.
229
+
230
+ Comparison metrics. We use the same individual fairness metrics. To compare group fairness we report root mean squared gap (Gap RMS) and mean absolute gap (Gap ABS) between male and female true positive rates for each of the occupations following prior studies of this dataset (Romanov et al., 2019; Prost et al., 2019). For performance we report balanced accuracy due to imbalance in occupation proportions in the data.
231
+
232
+ Results. We repeat the experiment 10 times with 70-30 train-test splits and summarize results in Table 2 (for SenSeI and CLP we set $\rho = 5$ ). Comparing to the Toxicity experiment, we note that individual fairness metrics are much better. In particular, attaining prediction consistency is easier because there is only one type of counterfactuals. Overall, fairness metrics are comparable across fair training methods with a slight SenSeI advantage. It is interesting to note mild accuracy improvement: learning a classifier invariant to gender can help to avoid spurious correlations between occupations and gender present in the data. We present fairness accuracy “trade-off” in Figure 2 — increasing regularization strength has clear upward trend in terms of the prediction consistency without decreasing accuracy. This experiments is an example where fairness can be improved without ”trading” performance.
233
+
234
+ We note two prior group fairness studies of the Bios dataset: Romanov et al. (2019) and Prost et al. (2019). Both reported worse classification results and fairness metrics. Better classification performance in our work is likely attributed to using BERT for obtaining bios feature vectors. For the group fairness, we note that relative to baseline improvement with SenSeI is more significant.
235
+
236
+ # 4.3 INCOME PREDICTION
237
+
238
+ The Adult dataset (Bache & Lichman, 2013) is a common benchmark in the group fairness literature. The task is to predict if a person earns more than $\$ 50\mathbf { k }$ per year using information about their education, gender, race, marital status, hours worked per week, etc. Yurochkin et al. (2020) studied individual fairness on Adult by considering prediction consistency with respect to demographic features: race and gender (GR-Con.) and marital status (S-Con., i.e. spouse consistency). To quantify group fairness they used RMS gaps and maximum gaps between true positive rates across genders $\bar { ( \mathrm { G a p } _ { G } ^ { \mathrm { R M S } } }$ and ${ \mathrm { G a p } } _ { G } ^ { \operatorname* { m a x } } ,$ ) and races ${ ( \mathrm { G a p } _ { R } ^ { \mathrm { R M S } } }$ and ${ \mathrm { G a p } } _ { R } ^ { \operatorname* { m a x } } .$ ). Due to class imbalance, performance is quantified with balanced accuracy (B-Acc). For the fair metric they used Mahalanobis distance with race, gender and a logistic regression vector predicting gender projected out. We note that CLP was proposed as a fair training method for text classification (Garg et al., 2018) and is not applicable on Adult because it is not clear how to define counterfactuals. We compare SenSeI to results reported in Yurochkin et al. (2020). In Table 3 we show that with sufficiently large regularization strength $\rho = 4 0$ SenSeI is able to further reduce all group fairness gaps and improve one of the individual fairness metrics, however trading off some accuracy.
239
+
240
+ # 5 SUMMARY AND DISCUSSION
241
+
242
+ In this paper, we studied a regularization approach to enforcing individual fairness. We defined distributional individual fairness, a variant of Dwork et al.’s original definition of individual fairness and a data-dependent regularizer that enforces this distributional fairness (see Definition 2.1). We also developed a stochastic approximation algorithm to solve regularized empirical risk minimization problems and showed that it trains ML models with distributional fairness guarantees. Finally, we showed that the algorithm mitigates algorithmic bias on three ML tasks that are susceptible to such biases: income-level classification, occupation prediction, and toxic comment detection.
243
+
244
+ # ACKNOWLEDGEMENTS
245
+
246
+ This paper is based upon work supported by the National Science Foundation (NSF) under grants no. 1830247 and 1916271. Any opinions, findings, and conclusions or recommendations expressed in this paper are those of the authors and do not necessarily reflect the views of the NSF.
247
+
248
+ # REFERENCES
249
+
250
+ K. Bache and M. Lichman. UCI machine learning repository. 2013.
251
+
252
+ Marianne Bertrand and Esther Duflo. Field Experiments on Discrimination. Technical Report w22014, National Bureau of Economic Research, Cambridge, MA, February 2016.
253
+
254
+ Marianne Bertrand and Sendhil Mullainathan. Are Emily and Greg More Employable Than Lakisha and Jamal? A Field Experiment on Labor Market Discrimination. American Economic Review, 94 (4):991–1013, September 2004. ISSN 0002-8282. doi: 10.1257/0002828042002561.
255
+
256
+ Jose Blanchet and Karthyek R. A. Murthy. Quantifying Distributional Model Risk via Optimal Transport. arXiv:1604.01446 [math, stat], April 2016.
257
+
258
+ Amanda Bower, Laura Niss, Yuekai Sun, and Alexander Vargo. Debiasing representations by removing unwanted variation due to protected attributes. arXiv:1807.00461 [cs], July 2018.
259
+
260
+ Maria De-Arteaga, Alexey Romanov, Hanna Wallach, Jennifer Chayes, Christian Borgs, Alexandra Chouldechova, Sahin Geyik, Krishnaram Kenthapadi, and Adam Tauman Kalai. Bias in Bios: A Case Study of Semantic Representation Bias in a High-Stakes Setting. Proceedings of the Conference on Fairness, Accountability, and Transparency - FAT\* ’19, pp. 120–128, 2019. doi: 10.1145/3287560.3287572.
261
+
262
+ Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. arXiv:1810.04805 [cs], October 2018.
263
+
264
+ Lucas Dixon, John Li, Jeffrey Sorensen, Nithum Thain, and Lucy Vasserman. Measuring and Mitigating Unintended Bias in Text Classification. In Proceedings of the 2018 AAAI/ACM Conference on AI, Ethics, and Society - AIES ’18, pp. 67–73, New Orleans, LA, USA, 2018. ACM Press. ISBN 978-1-4503-6012-8. doi: 10.1145/3278721.3278729.
265
+
266
+ Cynthia Dwork, Moritz Hardt, Toniann Pitassi, Omer Reingold, and Rich Zemel. Fairness Through Awareness. arXiv:1104.3913 [cs], April 2011.
267
+
268
+ Sahaj Garg, Vincent Perot, Nicole Limtiaco, Ankur Taly, Ed H. Chi, and Alex Beutel. Counterfactual Fairness in Text Classification through Robustness. arXiv:1809.10610 [cs, stat], September 2018.
269
+
270
+ Saeed Ghadimi and Guanghui Lan. Stochastic First- and Zeroth-order Methods for Nonconvex Stochastic Programming. arXiv:1309.5549 [cs, math, stat], September 2013.
271
+
272
+ Stephen Gillen, Christopher Jung, Michael Kearns, and Aaron Roth. Online Learning with an Unknown Fairness Metric. arXiv:1802.06936 [cs], February 2018.
273
+
274
+ Ian J. Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and Harnessing Adversarial Examples. December 2014.
275
+
276
+ Úrsula Hébert-Johnson, Michael P. Kim, Omer Reingold, and Guy N. Rothblum. Calibration for the (Computationally-Identifiable) Masses. arXiv:1711.08513 [cs, stat], November 2017.
277
+
278
+ Christina Ilvento. Metric Learning for Individual Fairness. arXiv:1906.00250 [cs, stat], June 2019.
279
+
280
+ Christopher Jung, Michael Kearns, Seth Neel, Aaron Roth, Logan Stapleton, and Zhiwei Steven Wu. Eliciting and Enforcing Subjective Individual Fairness. arXiv:1905.10660 [cs, stat], May 2019.
281
+
282
+ Harini Kannan, Alexey Kurakin, and Ian Goodfellow. Adversarial Logit Pairing. arXiv:1803.06373 [cs, stat], March 2018.
283
+
284
+ Michael Kearns, Seth Neel, Aaron Roth, and Zhiwei Steven Wu. Preventing Fairness Gerrymandering: Auditing and Learning for Subgroup Fairness. arXiv:1711.05144 [cs], November 2017.
285
+
286
+ Michael P. Kim, Amirata Ghorbani, and James Zou. Multiaccuracy: Black-Box Post-Processing for Fairness in Classification. arXiv:1805.12317 [cs, stat], May 2018a.
287
+
288
+ Michael P. Kim, Omer Reingold, and Guy N. Rothblum. Fairness Through Computationally-Bounded Awareness. arXiv:1803.03239 [cs], March 2018b.
289
+
290
+ Preethi Lahoti, Krishna P. Gummadi, and Gerhard Weikum. iFair: Learning Individually Fair Data Representations for Algorithmic Decision Making. arXiv:1806.01059 [cs, stat], February 2019.
291
+
292
+ Jaeho Lee and Maxim Raginsky. Minimax Statistical Learning with Wasserstein Distances. arXiv:1705.07815 [cs], May 2017.
293
+
294
+ David Luenberger. OPTIMIZATION BY VECTOR SPACE METHODS. John Wiley & Sons, 1968.
295
+
296
+ David Madras, Elliot Creager, Toniann Pitassi, and Richard Zemel. Learning Adversarially Fair and Transferable Representations. arXiv:1802.06309 [cs, stat], February 2018.
297
+
298
+ Aleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu. Towards Deep Learning Models Resistant to Adversarial Attacks. arXiv:1706.06083 [cs, stat], June 2017.
299
+
300
+ Cade Metz and Adam Satariano. An Algorithm That Grants Freedom, or Takes It Away. The New York Times, February 2020. ISSN 0362-4331.
301
+
302
+ Debarghya Mukherjee, Mikhail Yurochkin, Moulinath Banerjee, and Yuekai Sun. Two simple ways to learn individual fairness metrics from data. In International Conference on Machine Learning, July 2020.
303
+
304
+ Flavien Prost, Nithum Thain, and Tolga Bolukbasi. Debiasing Embeddings for Reduced Gender Bias in Text Classification. arXiv:1908.02810 [cs, stat], August 2019.
305
+
306
+ R. Tyrrell Rockafellar and Roger J.-B. Wets. Variational Analysis. Number 317 in Grundlehren Der Mathematischen Wissenschaften. Springer, Berlin, corr. 2nd print edition, 2004. ISBN 978-3-540-62772-2.
307
+
308
+ Alexey Romanov, Maria De-Arteaga, Hanna Wallach, Jennifer Chayes, Christian Borgs, Alexandra Chouldechova, Sahin Geyik, Krishnaram Kenthapadi, Anna Rumshisky, and Adam Tauman Kalai. What’s in a Name? Reducing Bias in Bios without Access to Protected Attributes. arXiv:1904.05233 [cs, stat], April 2019.
309
+
310
+ Guy N. Rothblum and Gal Yona. Probably Approximately Metric-Fair Learning. arXiv:1803.03242 [cs], March 2018.
311
+
312
+ Aman Sinha, Hongseok Namkoong, and John Duchi. Certifying Some Distributional Robustness with Principled Adversarial Training. arXiv:1710.10571 [cs, stat], October 2017.
313
+
314
+ Hanchen Wang, Nina Grgic-Hlaca, Preethi Lahoti, Krishna P. Gummadi, and Adrian Weller. An Empirical Study on Learning Fairness Metrics for COMPAS Data with Human Supervision. arXiv:1910.10255 [cs], October 2019.
315
+
316
+ Fanny Yang, Zuowen Wang, and Christina Heinze-Deml. Invariance-inducing regularization using worst-case transformations suffices to boost accuracy and spatial robustness. arXiv:1906.11235 [cs, stat], June 2019.
317
+
318
+ Mikhail Yurochkin, Amanda Bower, and Yuekai Sun. Training individually fair ML models with sensitive subspace robustness. In International Conference on Learning Representations, Addis Ababa, Ethiopia, 2020.
319
+
320
+ Muhammad Bilal Zafar, Isabel Valera, Manuel Gomez Rodriguez, and Krishna P. Gummadi. Fairness Beyond Disparate Treatment & Disparate Impact: Learning Classification without Disparate Mistreatment. Proceedings of the 26th International Conference on World Wide Web - WWW ’17, pp. 1171–1180, 2017. doi: 10.1145/3038912.3052660.
321
+
322
+ Rich Zemel, Yu Wu, Kevin Swersky, Toni Pitassi, and Cynthia Dwork. Learning Fair Representations. In International Conference on Machine Learning, pp. 325–333, February 2013.
323
+
324
+ Han Zhao, Amanda Coston, Tameem Adel, and Geoffrey J. Gordon. Conditional Learning of Fair Representations. In International Conference on Learning Representations, September 2019.
325
+
326
+ # A THEORETICAL PROPERTIES
327
+
328
+ We collect the proofs of all the theoretical results in the paper here. We restate the results before proving them for the reader’s convenience. We assume that $( \mathcal { X } , d _ { \mathcal { X } } )$ and $( \mathcal { V } , d _ { \mathcal { V } } )$ are complete and separable metric spaces (Polish spaces).
329
+
330
+ # A.1 DIF AND INDIVIDUAL FAIRNESS
331
+
332
+ Proposition A.1 (Proposition 2.3). If $h : \mathcal { X } \to \mathcal { Y }$ is $( \epsilon , \delta )$ -DIF, then
333
+
334
+ $$
335
+ \begin{array} { r } { P _ { X } ( \operatorname* { s u p } _ { d _ { \mathcal { X } } ( x , x ^ { \prime } ) \leq \epsilon } d y ( h ( x ) , h ( x ^ { \prime } ) ) \geq \tau ) \leq \frac { \delta } { \tau } . } \end{array}
336
+ $$
337
+
338
+ Proof. Recall
339
+
340
+ $$
341
+ \begin{array} { r } { T _ { \mathrm { I F } } \triangleq \arg \operatorname* { m a x } _ { d _ { \mathcal { X } } ( x , x ^ { \prime } ) \leq \epsilon } d _ { \mathcal { Y } } ( h ( x ) , h ( x ^ { \prime } ) ) . } \end{array}
342
+ $$
343
+
344
+ is feasible for (the Mongé version of) (2.2). Thus $R ( h ) \leq \delta$ implies ${ \bf E } _ { P x } \left[ d y ( X , T _ { \mathrm { I F } } ( X ) ) \right] \leq \delta$ Markov’s inequality implies $\begin{array} { r } { P _ { X } ( d _ { \mathcal { V } } ( X , T _ { \mathrm { I F } } ( X ) ) \ge \tau ) \le \frac { \delta } { \tau } } \end{array}$ for any $\tau > 0$ . □
345
+
346
+ # A.2 CONVERGENCE PROPERTIES OF SENSEI
347
+
348
+ Algorithm 1 is an instance of a stochastic gradient method, and its convergence properties are wellstudied. Even if $f ( w , Z )$ is non-convex in $w$ , the algorithm converges (globally) to a stationary point. This a well-known result in stochastic approximation, and we state it here for completeness.
349
+
350
+ Theorem A.2 (Ghadimi & Lan (2013)). Let
351
+
352
+ $$
353
+ \begin{array} { r } { \sigma ^ { 2 } \geq { \bf E } \big [ \| \frac { 1 } { B } \sum _ { b = 1 } ^ { B } \partial _ { w } f ( w , Z _ { b } ) - \partial F ( w ) \| _ { 2 } ^ { 2 } \big ] } \end{array}
354
+ $$
355
+
356
+ e an upper bound of the variance of the stochastic gradient. As long as $F$ is $L$ -strongly smooth,
357
+
358
+ $$
359
+ \begin{array} { r } { F ( w ^ { \prime } ) \leq F ( w ) + \langle \partial F ( w ) , w ^ { \prime } - w \rangle + \frac { L } { 2 } \| w - w ^ { \prime } \| _ { 2 } ^ { 2 } } \end{array}
360
+ $$
361
+
362
+ for any $w , w ^ { \prime } \in \Theta \times \mathbf { R } _ { + }$ , then Algorithm $\cdot$ with constant step sizes $\begin{array} { r } { \eta _ { t } = \big ( \frac { 2 B \epsilon _ { 0 } } { L \sigma ^ { 2 } T } \big ) ^ { \frac { 1 } { 2 } } } \end{array}$ satisfies
363
+
364
+ $$
365
+ \begin{array} { r } { \frac { 1 } { T } \sum _ { t = 1 } ^ { T } \mathbf { E } \big [ \| \partial F ( w _ { t } ) \| _ { 2 } ^ { 2 } \big ] \leq \sigma ( \frac { 8 L \epsilon _ { 0 } } { B T } ) , } \end{array}
366
+ $$
367
+
368
+ where $\epsilon _ { \mathrm { 0 } }$ is any upper bound of the suboptimality of $w _ { 0 }$
369
+
370
+ In other words, Algorithm 1 finds an $\epsilon$ -stationary point of (2.8) in at most $O ( \textstyle { \frac { 1 } { \epsilon ^ { 2 } } } )$ iterations. If $F$ has more structure (e.g. convexity), then Algorithm 1 may converge faster.
371
+
372
+ # A.3 PROOF OF DUALITY RESULTS IN SECTION 2
373
+
374
+ Theorem A.3 (Theorem 2.4). If $d y ( h ( x ) , h ( x ^ { \prime } ) ) - \lambda d _ { \mathcal { X } } ( x , x ^ { \prime } )$ is continuous (in $( x , x ^ { \prime } ) )$ for any $\lambda \geq 0$ , then
375
+
376
+ $$
377
+ \begin{array} { r l r } & { } & { R ( h ) = \operatorname* { i n f } _ { \lambda \ge 0 } \{ \lambda \epsilon + { \bf E } _ { P _ { X } } \left[ r _ { \lambda } ( h , X ) \right] \} , } \\ & { } & { r _ { \lambda } ( h , X ) \triangleq \operatorname* { s u p } _ { x ^ { \prime } \in \mathcal { X } } \{ d _ { \mathcal { V } } ( h ( X ) , h ( x ^ { \prime } ) ) - \lambda d _ { \mathcal { X } } ( X , x ^ { \prime } ) \} . } \end{array}
378
+ $$
379
+
380
+ Proof. We abuse notation and denote the function $d y ( h ( x ) , h ( x ^ { \prime } ) )$ as $d _ { \mathcal { Y } } \circ h$ . We recognize the optimization problem in (2.2) as an (infinite dimensional) linear optimization problem:
381
+
382
+ $$
383
+ R ( h ) \triangleq \left\{ \begin{array} { l l } { \operatorname* { s u p } _ { \Pi : \Delta ( \mathcal { X } \times \mathcal { X } ) } } & { \langle \Pi , d _ { \mathcal { Y } } \circ h \rangle = \mathbf { E } _ { \Pi } \big [ d _ { \mathcal { Y } } ( h ( X ) , h ( X ^ { \prime } ) ) \big ] } \\ { \mathrm { s u b j e c t ~ t o ~ } } & { \langle \Pi , d _ { \mathcal { X } } \rangle = \mathbf { E } _ { \Pi } \big [ d _ { \mathcal { X } } ( X , X ^ { \prime } ) \big ] \leq \epsilon } \\ & { \Pi ( \cdot , \mathcal { X } ) = P _ { \mathcal { X } } , } \end{array} \right.
384
+ $$
385
+
386
+ It is not hard check Slater’s condition: $d \Pi ( x , x ^ { \prime } ) = { \bf 1 } \{ x = x ^ { \prime } \} d P ( x )$ is strictly feasible. Thus we have strong duality (see Theorem 8.7.1 in (Luenberger, 1968)):
387
+
388
+ $$
389
+ \begin{array} { r l r } & { } & { R ( h ) = \operatorname* { s u p } _ { \Pi : \Pi ( \cdot , \mathcal { X } ) = P _ { X } } \operatorname* { i n f } _ { \lambda \geq 0 } \langle \Pi , d _ { \mathcal { Y } } \circ h \rangle + \lambda ( \epsilon - \langle \Pi , d _ { \mathcal { X } } \rangle ) } \\ & { } & { \quad = \operatorname* { s u p } _ { \Pi : \Pi ( \cdot , \mathcal { X } ) = P _ { X } } \operatorname* { i n f } _ { \lambda \geq 0 } \lambda \epsilon + \langle \Pi , d _ { \mathcal { Y } } \circ h - \lambda d _ { \mathcal { X } } \rangle \quad } \\ & { } & { \quad = \operatorname* { i n f } _ { \lambda \geq 0 } \{ \lambda \epsilon + \operatorname* { s u p } _ { \Pi : \Pi ( \cdot , \mathcal { X } ) = P _ { X } } \langle \Pi , d _ { \mathcal { Y } } \circ h - \lambda d _ { \mathcal { X } } \rangle \} , } \end{array}
390
+ $$
391
+
392
+ It remains to show
393
+
394
+ $$
395
+ \begin{array} { r } { \operatorname* { s u p } _ { \Pi : \Pi ( \cdot , x ) = P } \langle d _ { \mathcal { Y } } \circ h - \lambda d _ { \mathcal { X } } , \Pi \rangle = \mathbf { E } _ { P } \left[ \operatorname* { s u p } _ { x ^ { \prime } \in \mathcal { X } } \{ d _ { \mathcal { Y } } ( h ( X ) , h ( x ^ { \prime } ) ) - \lambda d _ { \mathcal { X } } ( X , x ^ { \prime } ) \} \right] . } \end{array}
396
+ $$
397
+
398
+ $\leq$ direction The integrands in (A.1) satisfy
399
+
400
+ ( $\begin{array} { r } { d _ { \mathcal { V } } \circ h - \lambda d _ { \mathcal { X } } ) ( x , x ^ { \prime } ) = d _ { \mathcal { V } } ( h ( x ) , h ( x ^ { \prime } ) ) - \lambda d _ { \mathcal { X } } ( x , x ^ { \prime } ) \leq \operatorname* { s u p } _ { x ^ { \prime } \in \mathcal { X } } \big \{ d _ { \mathcal { V } } ( h ( x ) , h ( x ^ { \prime } ) ) - \lambda d _ { \mathcal { X } } ( x , x ^ { \prime } ) \big \} , } \end{array}$ so the integrals satisfy the $\leq$ version of (A.1).
401
+
402
+ $\geq$ direction Let $\mathcal { Q }$ be the set of all Markov kernels from $\mathcal { X }$ to $\mathcal { X }$ . We have
403
+
404
+ $$
405
+ \begin{array} { r l r } { { \operatorname* { s u p } _ { \Pi : \Pi ( \cdot , \mathcal { X } ) = P } \langle d y \circ h - \lambda d _ { \mathcal { X } } , \Pi \rangle = \operatorname* { s u p } _ { Q \in \mathcal { Q } } \int _ { \mathcal { X } \times \mathcal { X } } d y ( h ( x ) , h ( x ^ { \prime } ) ) - \lambda d _ { \mathcal { X } } ( x , x ^ { \prime } ) d Q ( x ^ { \prime } \mid x ) d P ( x ) } } \\ & { } & { \ge \operatorname* { s u p } _ { T : \mathcal { X } \to \mathcal { X } } \int _ { \mathcal { X } } d y ( h ( x ) , h ( T ( x ) ) ) - \lambda d _ { \mathcal { X } } ( x , T ( x ) ) d P ( x ) , } \end{array}
406
+ $$
407
+
408
+ where we recalled $Q ( A \mid x ) = \mathbf { 1 } \{ T ( x ) \in A \}$ is a Markov kernel in the second step. (Technically, in the second step, we only sup over $T$ ’s that are decomposable (see Definition 14.59 in Rockafellar & Wets (2004)) with respect to $P$ , but we gloss over this detail here.) We appeal to the technology of integrands (Rockafellar & Wets, 2004) to interchange integration and maximization. We assumed $d _ { \mathscr { y } } \circ h - \lambda d _ { \mathscr { x } }$ is continuous, so it is a normal integrand (see Corollary 14.34 in Rockafellar & Wets (2004)). Thus it is OK to interchange integration and maximization (see Theorem 14.60 in Rockafellar & Wets (2004)):
409
+
410
+ $$
411
+ \operatorname* { s u p } _ { T : \mathcal { X } \to \mathcal { X } } \int _ { \mathcal { X } } d y ( h ( x ) , h ( T ( x ) ) ) - \lambda d _ { \mathcal { X } } ( x , T ( x ) ) d P ( x ) = \int _ { \mathcal { X } } \operatorname* { s u p } _ { x ^ { \prime } \in \mathcal { X } } \left\{ d y ( h ( x ) , h ( x ^ { \prime } ) ) - \lambda d _ { \mathcal { X } } ( x , x ^ { \prime } ) \right\} d P ( x ) .
412
+ $$
413
+
414
+ This shows the $\geq$ direction of (A.1).
415
+
416
+ We remark that it is not necessary to rely on the technology of normal integrands to interchange expectation and maximization in the proof of Theorem 2.4. For example, Blanchet & Murthy (2016) prove a similar strong duality result without resorting to normal integrands. We do so here to simplify the proof.
417
+
418
+ # A.4 PROOFS OF GENERALIZATION RESULTS IN SECTION 3
419
+
420
+ Theorem A.4 (Theorem 3.1). As long as $D _ { \mathcal { X } } , D _ { \mathcal { Y } } , J ( \mathcal { G } )$ are all finite,
421
+
422
+ $$
423
+ \begin{array} { r } { \operatorname* { s u p } _ { f \in \mathcal { F } } | \mathbf { E } _ { \widehat { P } } \big [ f ( Z ) \big ] - \mathbf { E } _ { P } \big [ f ( Z ) \big ] | \leq \frac { 4 8 ( J ( \mathcal { D } ) + \frac { 1 } { \epsilon } D x D y ) } { \sqrt { n } } + D y ( \frac { \log \frac { 2 } { t } } { 2 n } ) ^ { \frac { 1 } { 2 } } } \end{array}
424
+ $$
425
+
426
+ with probability at least $1 - t$ .
427
+
428
+ Proof. Let
429
+
430
+ $$
431
+ \widehat { R } ( h ) \triangleq \left\{ \begin{array} { l l } { \operatorname* { m a x } _ { \Pi \in \Delta ( \mathcal { X } \times \mathcal { X } ) } } & { \mathbf { E } _ { \Pi } \big [ d y ( h ( X ) , h ( X ^ { \prime } ) ) \big ] } \\ { \mathrm { s u b j e c t ~ t o ~ } } & { \mathbf { E } _ { \Pi } \big [ d _ { \mathcal { X } } ( X , X ^ { \prime } ) \big ] \leq \epsilon } \\ & { \Pi ( \cdot , \mathcal { X } ) = \widehat { P } _ { X } , } \end{array} \right\} .
432
+ $$
433
+
434
+ where ${ \widehat { P } } _ { X }$ is the empirical distribution of the inputs in the training set. By Theorem 2.4, we have
435
+
436
+ $$
437
+ \begin{array} { r l } & { \widehat { R } ( h ) - R ( h ) = \operatorname* { i n f } _ { \lambda \geq 0 } \{ \lambda \epsilon + \mathbf { E } _ { \widehat { P } _ { X } } \left[ r _ { \lambda } ( h , X ) \right] \} - \operatorname* { i n f } _ { \lambda \geq 0 } \{ \lambda \epsilon + \mathbf { E } _ { P _ { X } } \left[ r _ { \lambda } ( h , X ) \right] \} } \\ & { \qquad = \operatorname* { i n f } _ { \lambda \geq 0 } \{ \lambda \epsilon + \mathbf { E } _ { \widehat { P } _ { X } } \left[ r _ { \lambda } ( h , X ) \right] \} - \lambda _ { * } \epsilon - \mathbf { E } _ { \widehat { P } _ { X } } \left[ r _ { \lambda _ { * } } ( h , X ) \right] } \\ & { \qquad \leq \mathbf { E } _ { \widehat { P } _ { X } } \left[ r _ { \lambda _ { * } } ( h , X ) \right] \} - \mathbf { E } _ { P _ { X } } \left[ r _ { \lambda _ { * } } ( h , X ) \right] , } \end{array}
438
+ $$
439
+
440
+ where $\begin{array} { r } { \lambda _ { * } \in \arg \operatorname* { m i n } _ { \lambda \geq 0 } \lambda \epsilon + \mathbf { E } _ { P _ { X } } \left[ r _ { \lambda } ( h , X ) \right] } \end{array}$ . The infimum is attained because
441
+
442
+ $$
443
+ \begin{array} { r } { \operatorname* { i n f } _ { \lambda \ge 0 } \{ \lambda \epsilon + \mathbf { E } _ { P _ { X } } \left[ r _ { \lambda } ( h , X ) \right] \} } \end{array}
444
+ $$
445
+
446
+ is an strictly feasible (infinite-dimensional) linear optimization problem (see proof of Theorem 2.4). To bound $\lambda _ { * }$ , we observe that $r _ { \lambda } ( h , X ) \ge 0$ for any $h \in { \mathcal { H } } , \lambda \geq 0$ :
447
+
448
+ $$
449
+ \begin{array} { r l } & { r _ { \lambda } ( h , X ) = \operatorname* { s u p } _ { x ^ { \prime } \in { \mathcal { X } } } \{ d _ { { \mathcal { V } } } ( h ( X ) , h ( x ^ { \prime } ) ) - \lambda d _ { { \mathcal { X } } } ( X , x ^ { \prime } ) \} } \\ & { \qquad \geq d _ { { \mathcal { V } } } ( h ( X ) , h ( X ) ) - \lambda d _ { { \mathcal { X } } } ( X , X ) . } \end{array}
450
+ $$
451
+
452
+ This implies
453
+
454
+ $$
455
+ R ( h ) = \lambda _ { * } \epsilon + \mathbb { E } _ { P _ { X } } \left[ r _ { \lambda _ { * } } ( h , X ) \right] \geq \lambda _ { * } \epsilon .
456
+ $$
457
+
458
+ We rearrange to obtain a bound on $\lambda _ { * }$ :
459
+
460
+ $$
461
+ \lambda _ { * } \leq \frac { 1 } { \epsilon } R ( h ) \leq \frac { 1 } { \epsilon } D _ { \mathscr { y } } \triangleq \bar { \lambda } .
462
+ $$
463
+
464
+ This is admittedly a crude bound, but it is good enough here. Similarly,
465
+
466
+ $$
467
+ R ( h ) - \widehat { R } ( h ) \leq { \bf E } _ { P _ { X } } \left[ r _ { \widehat { \lambda } _ { * } } ( h , X ) \right] \} - { \bf E } _ { \widehat { P } _ { X } } \left[ r _ { \widehat { \lambda } _ { * } } ( h , X ) \right] ,
468
+ $$
469
+
470
+ where $\begin{array} { r } { \widehat { \lambda } _ { * } \in \arg \operatorname* { m i n } _ { \lambda \geq 0 } \lambda \epsilon + \mathbf { E } _ { \widehat { P } _ { X } } \left[ r _ { \lambda } ( h , X ) \right] } \end{array}$ , and $\widehat { \lambda } _ { * } \leq \bar { \lambda }$ . Combining (A.2) and (A.4), we obtain
471
+
472
+ $$
473
+ \begin{array} { r } { | \widehat { R } ( h ) - R ( h ) | \leq \operatorname* { s u p } _ { f \in \mathcal { F } } \big | \mathbf { E } _ { \widehat { P } } \big [ f ( Z ) \big ] - \mathbf { E } _ { P } \big [ f ( Z ) \big ] \big | , } \end{array}
474
+ $$
475
+
476
+ where $\mathcal { F } \triangleq \{ r _ { \lambda } ( h , \cdot ) \ | \ h \in \mathcal { H } , \lambda \in [ 0 , \bar { \lambda } ] \}$ . It is possible to bound $\begin{array} { r } { \operatorname* { s u p } _ { f \in \mathcal { F } } | \mathbf { E } _ { \widehat { P } } \big [ f ( Z ) \big ] - \mathbf { E } _ { P } \big [ f ( Z ) \big ] | } \end{array}$ bwith results from statistical learning theory. First, we observe that the functions in $\mathcal { F }$ are bounded:
477
+
478
+ $$
479
+ 0 \leq r _ { \lambda } ( h , X ) \leq \frac { 1 } { \epsilon } \operatorname* { s u p } _ { y , y ^ { \prime } \in \mathcal { V } } d _ { \mathcal { V } } ( y , y ^ { \prime } ) .
480
+ $$
481
+
482
+ Thus $\begin{array} { r } { \operatorname* { s u p } _ { f \in \mathcal { F } } \left| \mathbf { E } _ { \widehat { P } } \big [ f ( Z ) \big ] - \mathbf { E } _ { P } \left[ f ( Z ) \right] \right| } \end{array}$ has bounded differences inequality, so it concentrates sharply baround its expectation. By the bounded-differences inequality and a standard symmetrization argument,
483
+
484
+ $$
485
+ \begin{array} { r } { \operatorname* { s u p } _ { f \in \mathcal { F } } \big | \mathbf { E } _ { \widehat { P } } \big [ f ( Z ) \big ] - \mathbf { E } _ { P } \big [ f ( Z ) \big ] \big | \leq 2 \Re _ { n } ( \mathcal { F } ) + D _ { \mathcal { V } } ( \frac { \log \frac { 2 } { t } } { 2 n } ) ^ { \frac { 1 } { 2 } } } \end{array}
486
+ $$
487
+
488
+ with probability at least $1 - t$ , where $\Re _ { n } ( \mathcal { F } )$ is the Rademacher complexity of $\mathcal { F }$
489
+
490
+ $$
491
+ \begin{array} { r } { \mathfrak { R } _ { n } ( \mathcal { F } ) = \mathbf { E } \big [ \operatorname* { s u p } _ { f \in \mathcal { F } } \frac { 1 } { n } \sum _ { i = 1 } ^ { n } \sigma _ { i } f ( Z _ { i } ) \big ] . } \end{array}
492
+ $$
493
+
494
+ It remains to study $\textstyle { \frac { 1 } { n } } \sum _ { i = 1 } ^ { n } \sigma _ { i } f ( Z _ { i } )$ n is sub-Gaussian with respect to to the metric . First, we show that the -indexed Rademacher process $X _ { f }$ ,
495
+
496
+ $$
497
+ \begin{array} { r l } & { | \mathcal { F } \big ( ( h _ { 1 } , \lambda _ { 1 } ) , ( h _ { 2 } , \lambda _ { 2 } ) \big ) \triangleq \operatorname* { s u p } _ { x _ { 1 } , x _ { 2 } \in \mathcal { X } } \big | d y \big ( h _ { 1 } ( x _ { 1 } ) , h _ { 1 } ( x _ { 2 } ) \big ) - d y \big ( h _ { 2 } ( x _ { 1 } ) , h _ { 2 } ( x _ { 2 } ) \big ) \big | + D _ { \mathcal { X } } \big | \lambda _ { 1 } - \lambda _ { 1 } \big | : } \\ & { \mathrm { \Lambda } \mathrm { \Lambda } } \\ & { = \mathbf { E } \big [ \mathrm { e x p } ( t ( X _ { f _ { 1 } } - X _ { f _ { 2 } } ) \big ) \big ] } \\ & { \quad = \mathbf { E } \big [ \mathrm { e x p } \big ( \frac { t } { n } \sum _ { i = 1 } ^ { n } \sigma _ { i } ( r _ { \lambda _ { 1 } } ( h _ { 1 } , X _ { i } ) - r _ { \lambda _ { 2 } } ( h _ { 2 } , X _ { i } ) \big ) \big ) \big ] } \\ & { \quad = \mathbf { E } \big [ \mathrm { e x p } \big ( \frac { t } { n } \sigma ( r _ { \lambda _ { 1 } } ( h _ { 1 } , X _ { i } ) - r _ { \lambda _ { 2 } } ( h _ { 2 } , X _ { i } ) ) \big ) \big ) \big ] ^ { n } } \\ & { \quad = \mathbf { E } \big [ \mathrm { e x p } \Big ( \frac { t } { n } \sigma ( \operatorname* { s u p } _ { x _ { 1 } ^ { \prime } \in \mathcal { X } } \operatorname { i n f } _ { x _ { 2 } ^ { \prime } \in \mathcal { X } } d y \big ( h _ { 1 } ( X _ { i } ) , h _ { 1 } ( x _ { 1 } ^ { \prime } ) \big ) - \lambda _ { 1 } d _ { \mathcal { X } } ( x _ { 1 } , X ) - d _ { \mathcal { V } } ( h _ { 2 } ( X _ { i } ) , h _ { 2 } ( x _ { 2 } ^ { \prime } ) ) + \lambda _ { 2 } } \\ & \quad \leq \mathbf { E } \big [ \mathrm { e x p } \big ( \frac { t } { n } \sigma ( \operatorname* { s u p } _ { x _ { 1 } \in \mathcal { X } } d y \big ( h _ { 1 } ( X _ { i } ) , h _ { 1 } ( x _ { 1 } ^ { \prime } ) \big ) - d y \big ( h _ { 2 } ( X _ { i } ) , h _ { 2 } ( x \end{array}
498
+ $$
499
+
500
+ Let $N ( \mathcal { F } , d _ { \mathcal { F } } , \epsilon )$ be the $\epsilon$ -covering number of $\mathcal { F }$ in the $d _ { \mathcal { F } }$ metric. We observe
501
+
502
+ $$
503
+ \begin{array} { r } { N ( \mathcal { F } , d _ { \mathcal { F } } , \epsilon ) \leq N ( \mathcal { D } , \| \cdot \| _ { \infty } , \frac { \epsilon } { 2 } ) \cdot N ( [ 0 , \bar { \lambda } ] , | \cdot | , \frac { \epsilon } { 2 D _ { \mathcal { X } } } ) . } \end{array}
504
+ $$
505
+
506
+ By Dudley’s entropy integral,
507
+
508
+ $$
509
+ \begin{array} { l } { \displaystyle \mathfrak { R } _ { n } ( \mathcal { F } ) \leq \frac { 1 2 } { \sqrt { n } } \int _ { 0 } ^ { \infty } \log N ( \mathcal { F } , d _ { \mathcal { F } } , \epsilon ) ^ { \frac { 1 } { 2 } } d \epsilon } \\ { \displaystyle \quad \leq \frac { 1 2 } { \sqrt { n } } \int _ { 0 } ^ { \infty } \left( \log N ( \mathcal { D } , \| \cdot \| _ { \infty } , \frac { \epsilon } { 2 } ) + N \big ( [ 0 , \bar { \lambda } ] , | \cdot | , \frac { \epsilon } { 2 D x } \big ) \right) ^ { \frac { 1 } { 2 } } d \epsilon } \\ { \displaystyle \quad \leq \frac { 1 2 } { \sqrt { n } } \left( \int _ { 0 } ^ { \infty } \log N ( \mathcal { D } , \| \cdot \| _ { \infty } , \frac { \epsilon } { 2 } ) ^ { \frac { 1 } { 2 } } d \epsilon + \int _ { 0 } ^ { \infty } N \big ( [ 0 , \bar { \lambda } ] , | \cdot | , \frac { \epsilon } { 2 D x } \big ) ^ { \frac { 1 } { 2 } } d \epsilon \right) } \\ { \displaystyle \quad \leq \frac { 2 4 J ( \mathcal { D } ) } { \sqrt { n } } + \frac { 2 4 D _ { x } \bar { \lambda } } { \sqrt { n } } \int _ { 0 } ^ { \frac { 1 } { 2 } } \log ( \frac { 1 } { \epsilon } ) d \epsilon . } \end{array}
510
+ $$
511
+
512
+ We check that $\begin{array} { r } { \int _ { 0 } ^ { \frac { 1 } { 2 } } \log ( \frac { 1 } { \epsilon } ) d \epsilon < 1 } \end{array}$ to arrive at Theorem 3.1.
513
+
514
+ The chief technical novelty of this proof is the bound on $\lambda _ { * }$ in terms of the diameter of the output space. This bound allows us to restrict the relevant function class in a way that allows us to appeal to standard techniques from empirical process theory to obtain uniform convergence results. In prior work (e.g. Lee & Raginsky (2017)), this bound relies on smoothness properties of the loss, but this precludes non-smooth $d _ { \mathcal { Y } }$ in our problem setting.
515
+
516
+ Corollary A.5. Assume there is $h _ { 0 } \in \mathcal { H }$ such that $L ( h _ { 0 } ) + \rho R ( h _ { 0 } ) < \delta _ { 0 }$ . As long as $D _ { \mathcal { X } } , D _ { \mathcal { Y } } , J ( \mathcal { L } )$ , and $J ( { \mathcal { G } } )$ are all finite, any global minimizer $\begin{array} { r } { \widehat { h } \in \arg \operatorname* { m i n } _ { h \in \mathcal { H } } \widehat { L } ( h ) + \rho \widehat { R } ( h ) } \end{array}$ satisfies
517
+
518
+ $$
519
+ L ( \hat { h } ) + \rho R ( \hat { h } ) \leq \delta _ { 0 } + 2 \left( \frac { 2 4 J ( \mathcal { L } ) + 4 8 \rho ( J ( \mathcal { D } ) + \frac { 1 } { \epsilon } D x D y ) } { \sqrt { n } } + ( \bar { L } + \rho D y ) ( \frac { \log \frac { 2 } { t } } { 2 n } ) ^ { \frac { 1 } { 2 } } \right)
520
+ $$
521
+
522
+ with probability at least $1 - 2 t$ .
523
+
524
+ Proof. Let $F ( h ) \triangleq L ( h ) + \rho R ( h )$ and $\widehat F$ be its empirical counterpart. The optimality of $\hat { h }$ implies
525
+
526
+ $$
527
+ \begin{array} { r } { { \boldsymbol { \mathcal { F } } } ( \widehat { h } ) = F ( \widehat { h } ) - \widehat { F } ( \widehat { h } ) + \widehat { F } ( \widehat { h } ) - \widehat { F } ( h _ { 0 } ) + \widehat { F } ( h _ { 0 } ) - F ( h _ { 0 } ) + F ( h _ { 0 } ) \le \delta _ { 0 } + 2 \operatorname* { s u p } _ { h \in \mathcal { H } } \vert \widehat { F } ( h ) - F ( h ) \vert . } \end{array}
528
+ $$
529
+
530
+ We have
531
+
532
+ $$
533
+ \begin{array} { r } { \operatorname* { s u p } _ { h \in \mathcal { H } } | \widehat { F } ( h ) - F ( h ) | \leq \operatorname* { s u p } _ { h \in \mathcal { H } } | \widehat { L } ( h ) - L ( h ) | + \rho \operatorname* { s u p } _ { h \in \mathcal { H } } | \widehat { R } ( h ) - R ( h ) | . } \end{array}
534
+ $$
535
+
536
+ We assumed $\ell$ is bounded, so $\begin{array} { r } { \operatorname* { s u p } _ { h \in \mathcal { H } } | \widehat { L } ( h ) - L ( h ) | } \end{array}$ has bounded differences inequality, so it concentrates sharply around its expectation. By the bounded-differences inequality and a standard symmetrization argument,
537
+
538
+ $$
539
+ \operatorname* { s u p } _ { h \in \mathcal { H } } | \widehat { L } ( h ) - L ( h ) | \leq 2 \Re _ { n } ( \mathcal { L } ) + \bar { L } ( \frac { \log \frac { 2 } { t } } { 2 n } ) ^ { \frac { 1 } { 2 } }
540
+ $$
541
+
542
+ with probability at least $1 - t$ , where $\Re _ { n } ( \mathcal { L } )$ is the Rademacher complexity of $\mathcal { L }$ . By Dudley’s entropy integral,
543
+
544
+ $$
545
+ \Re _ { n } ( { \mathcal { L } } ) \leq { \frac { 1 2 } { \sqrt { n } } } \int _ { 0 } ^ { \infty } \log N ( { \mathcal { L } } , \| \cdot \| _ { \infty } , \epsilon ) ^ { \frac { 1 } { 2 } } d \epsilon ,
546
+ $$
547
+
548
+ so the first term on the right side of (A.6) is at most
549
+
550
+ $$
551
+ \operatorname* { s u p } _ { h \in \mathcal { H } } | \widehat { L } ( h ) - L ( h ) | \leq \frac { 2 4 J ( \mathcal { L } ) } { \sqrt { n } } + \bar { L } ( \frac { \log \frac { 2 } { t } } { 2 n } ) ^ { \frac { 1 } { 2 } }
552
+ $$
553
+
554
+ with probability at least $1 - t$ . Theorem 3.1 implies the second term on the right side of (A.6) is at most
555
+
556
+ $$
557
+ \operatorname* { s u p } _ { h \in \mathcal { H } } | \widehat { R } ( h ) - R ( h ) | \leq \frac { 4 8 ( J ( \mathcal { D } ) + \frac { 1 } { \epsilon } D _ { \mathcal { X } } D _ { \mathcal { Y } } ) } { \sqrt { n } } + D _ { \mathcal { Y } } ( \frac { \log \frac { 2 } { t } } { 2 n } ) ^ { \frac { 1 } { 2 } }
558
+ $$
559
+
560
+ with probability at least $1 - t$ . We combine the bounds to arrive at the stated result.
561
+
562
+ # B SENSEI AND BASELINES IMPLEMENTATION DETAILS
563
+
564
+ In this section we describe implementation details of all methods and hyperparameter selection to facilitate reproducibility of the experimental results reported in the main text.
565
+
566
+ Improving balanced accuracy All three datasets we consider have noticeable class imbalances: over $80 \%$ comments in toxicity classification are non-toxic; several occupations in the Bias in Bios dataset are scarcely present (see Figure 1 in De-Arteaga et al. (2019) for details); about $7 5 \%$ of individuals in the Adult dataset make below $\$ 50\mathrm { k }$ a year. Because of this class imbalance we choose to report balanced accuracy to quantify classification performance of different methods. Balanced accuracy is simply an average of true positive rates of all classes. To improve balanced accuracy for all methods we use balanced mini-batches following Yurochkin et al. (2020), i.e. when sampling a mini-batch we enforce that every class is equally represented.
567
+
568
+ Fair regularizer distance metric Recall that fair regularizer in Definition 2.1 of the main text requires selecting a distance metric on the classifier outputs $d y ( h ( x ) , h ( x ^ { \prime } ) )$ . This distance is also required for the implementation of Counterfactual Logit Pairing (CLP) (Garg et al., 2018). In a $K$ -class problem, let $h ( x ) \in \mathbf { R } ^ { K }$ denote a vector of $K$ logits of a classifier for an observation $x$ then for both SenSeI and CLP we define $\begin{array} { r } { d _ { \mathcal { V } } ( h ( x ) , h ( x ^ { \prime } ) ) \stackrel { = } { = } \frac { 1 } { K } \| h ( x ) - h ( x ^ { \prime } ) \| _ { 2 } ^ { 2 } } \end{array}$ , i.e. mean squared difference between logits of $x$ and $x ^ { \prime }$ . This is one of the choices empirically studied by Yang et al. (2019) for image classification. We defer exploring alternative fairness regularizer distance metrics for future work.
569
+
570
+ Data processing and classifier architecture Data processing and classifier are shared across all methods in all experiments. In Toxicity experiment we utilized BERT (Devlin et al., 2018) finetuned on a random $33 \%$ subset of the data. We downloaded the fine-tuned model from one of the Kaggle kernels.1 In the Bios experiment for each train-test split we fine-tuned BERT-Base, Uncased2 for 3 epochs with mini-batch size 32, learning rate 2e−5 and 128 maximum sequence length. In both Toxicity and Bios experiments we obtained 768-dimensional sentence representations by average-pooling token embeddings of the corresponding fined-tuned BERTs. Then we trained a fully connected neural network with one hidden layer consisting of 2000 neurons with ReLU activations using BERT sentence representations as inputs.
571
+
572
+ For Adult experiment we followed data processing and classifier choice (i.e. 100 hidden units neural network) as described in Yurochkin et al. (2020).
573
+
574
+ Hyperparameters selection In Table 4 for each hyperparameter we summarize its meaning, abbreviation, name in the code provided with the submission3 and methods where it is used.
575
+
576
+ To select hyperparameters for each experiment we performed a grid search on an independent train-test split. Then we fixed selected hyperparameters and ran 10 experiment repetitions with random train test splits (these results are reported in the main text). Hyperparameter choices for all experiments are summarized in Tables 5, 6, 7. For the Adult experiment we duplicated results for all prior methods from Yurochkin et al. (2020).
577
+
578
+ Table 4: Hyperparameter names and notations
579
+
580
+ <table><tr><td></td><td>notation</td><td>name in code</td><td>relevant methods</td></tr><tr><td>Number of optimization steps</td><td>E</td><td>epoch</td><td>All</td></tr><tr><td>Mini-batch size</td><td>B</td><td>batch_size</td><td>All</td></tr><tr><td>Parameter learning rate n</td><td>n</td><td>lr</td><td>All</td></tr><tr><td>Subspace attack step size</td><td>S</td><td>adv_step</td><td>SenSeI, SenSR</td></tr><tr><td>Number of subspace attack steps</td><td>se</td><td>adv_epoch</td><td>SenSeI, SenSR</td></tr><tr><td>Full attack step size</td><td>f</td><td>l2_attack</td><td>SenSeI, SenSR</td></tr><tr><td>Number of full attack steps</td><td>fe</td><td>adv_epoch_full</td><td>SenSeI, SenSR</td></tr><tr><td>Attack budget E</td><td>E</td><td>ro</td><td>SenSeI, SenSR</td></tr><tr><td>Fair regularization strength p</td><td>p</td><td>fair_reg</td><td>SenSeI, CLP</td></tr></table>
581
+
582
+ Table 5: Hyperparameter choices in Toxicity experiment
583
+
584
+ <table><tr><td></td><td>E</td><td>B</td><td>m</td><td>S</td><td>se</td><td>S</td><td>fe</td><td>E</td><td>p</td></tr><tr><td>Baseline</td><td>100k</td><td>256</td><td>1e-5</td><td>一</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>SenSR</td><td>100k</td><td>256</td><td>1e-5</td><td>0.1</td><td>10</td><td>0</td><td>0</td><td>0</td><td></td></tr><tr><td>SenSeI</td><td>100k</td><td>256</td><td>1e-5</td><td>0.1</td><td>10</td><td>0</td><td>0</td><td>0</td><td>5</td></tr><tr><td>CLP</td><td>100k</td><td>256</td><td>1e-5</td><td>一</td><td></td><td></td><td></td><td>一</td><td>5</td></tr></table>
585
+
586
+ Table 6: Hyperparameter choices in Bios experiment
587
+
588
+ <table><tr><td></td><td>E</td><td>B</td><td>n</td><td>S</td><td>se</td><td>S</td><td>fe</td><td>E</td><td>p</td></tr><tr><td>Baseline</td><td>100k</td><td>504</td><td>1e-6</td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>SenSR</td><td>100k</td><td>504</td><td>1e-5</td><td>0.1</td><td>50</td><td>0.01</td><td>10</td><td>0.1</td><td></td></tr><tr><td>SenSeI</td><td>100k</td><td>504</td><td>1e-5</td><td>0.1</td><td>50</td><td>0.01</td><td>10</td><td>0.1</td><td>5</td></tr><tr><td>CLP</td><td>100k</td><td>504</td><td>1e-5</td><td>一</td><td></td><td>一</td><td></td><td>一</td><td>5</td></tr></table>
589
+
590
+ Table 7: Hyperparameter choices in Adult experiment
591
+
592
+ <table><tr><td></td><td>E</td><td>B</td><td>n</td><td>S</td><td>se</td><td>f</td><td>fe</td><td>E</td><td>p</td></tr><tr><td>SenSeI</td><td>200k</td><td>1000</td><td>1e-5</td><td>5</td><td>50</td><td>0.001</td><td>50</td><td>0.01</td><td>40</td></tr></table>
593
+
594
+ # B.1 FAIR METRIC LEARNING DETAILS
595
+
596
+ Following Yurochkin et al. (2020); Mukherjee et al. (2020) we consider the fair metric of the form $d _ { \mathcal { X } } ( x , x ^ { \prime } ) \overset { } { = } ( x - x ^ { \prime } ) ^ { T } \Sigma ( x - x ^ { \prime } )$ . We utilize their sensitive subspace idea writing $\Sigma = I - P _ { r a n ( A ) }$ i.e. an orthogonal complement projector of the subspace spanned by the columns of $A \in \mathbb { R } ^ { d \times k }$ . Here $A$ encodes the $k$ directions of sensitive variations that should be ignored by the fair metric $d$ is the data dimension), such as differences in sentence embeddings due to gender pronouns in the Bios experiment or due to identity (counterfactual) tokens in the Toxicity experiment.
597
+
598
+ Synthetic experiment In the synthetic experiment in Figure 1 we consider a fair metric ignoring variation along the $x$ -axis coordinate, i.e. $\bar { A ^ { \mathbf { \alpha } } } = [ 1 \mathbf { \beta } 0 ] ^ { T }$ .
599
+
600
+ Toxicity experiment To compute $A$ we utilize FACE algorithm of Mukherjee et al. (2020) (see section 2.1 and Algorithm 1 in their paper). Here groups of comparable samples are the BERT embeddings of sentences from the train data and their modifications obtained using 25 counterfactuals known at the training time. For example, suppose we have a sentence “Some people are gay” in the train data and the list of known counterfactuals is “gay”, “straight” and “muslim”. Then we can obtain two comparable sentences: “Some people are straight” and “Some people are muslim”. BERT embeddings of the original and two created sentences constitute a group of comparable sentences. Embeddings of groups of comparable sentences are the inputs to Algorithm 1 of Mukherjee et al. (2020), which consists of a per-group centering step followed by a singular value decomposition. Taking the top $k = 2 5$ singular vectors gives us matrix of sensitive directions $A$ defining the fair metric.
601
+
602
+ Bios experiment We again utilize FACE algorithm of Mukherjee et al. (2020) to obtain the fair metric. Here the counterfactual modification is based on male and female gender pronouns. For example, sentence “He went to law school” is modified to “She went to law school”. As a result, each group of comparable samples consists of a pair of bios (original and modified). Let $\ b { X } \in \mathbb { R } ^ { n \times d }$ be the data matrix of BERT embeddings of the $n$ train bios, and let $X ^ { \prime } \in \mathbb { R } ^ { n \times d }$ be the corresponding modified bios. Here Algorithm 1 of Mukherjee et al. (2020) is equivalent to performing SVD on $X - X ^ { \prime }$ . We take the top $k = 2 5$ singular vectors to obtain sensitive directions $A$ and the corresponding fair metric.
603
+
604
+ Adult experiment In this experiment $A$ consists of three vectors: a vector of zeros with 1 in the gender coordinate; a vector of zeros with 1 in the race coordinate; and a vector of logistic regression coefficients trained to predict gender using the remaining features (and 0 in the gender coordinate). This sensitive subspace construction replicates the approach Yurochkin et al. (2020) utilized in their Adult experiment for obtaining the fair metric. Please see Appendix B.1 and Appendix $\mathrm { D }$ in their paper for additional details.
605
+
606
+ # C FAIRNESS EVALUATION METRICS DEFINITIONS
607
+
608
+ Individual fairness To compare individual fairness we used two metrics: prediction consistency and Counterfactual Token Fairness (CTF) score of Garg et al. (2018). The idea behind these metrics is to quantify changes in prediction when modifying original data in ways that intuitively should not change behavior of an individually fair classifier.
609
+
610
+ For Toxicity experiment an individually fair classifier should not change its prediction when a word “gay” in a comment is replaced with a word “straight”. For example, we expect toxicity predictions on “Some people are gay” and “Some people are straight” to be the same. Following prior work (Dixon et al., 2018; Garg et al., 2018) we considered a set of 50 tokens4 that should not affect the classifier when interchanged. For any comment that contains at least one of these 50 tokens we can create 49 versions of it via a simple word replacement and evaluate classifier prediction and probability of being toxic for each of the 50 variations (including the original). Prediction consistency is the proportion of comments (with at least one of the 50 tokens) where prediction is the same on all 50 variations. CTF score is the average (across all comments with at least one of the 50 tokens) standard deviation of the toxicity probability across 50 variations.
611
+
612
+ We use similar individual fairness metrics for the Bios experiment. We create a single variation of each bio by interchanging “he” and “she”; “his” and “her”; “him” and “hers”; “himself” and “herself”; “mr” and “ms” or “mrs”; original name with a random name from a different gender sampled among those present in the data. Prediction consistency is computed as before using 2 variations (including the original one) of each bio. Note that although there are fewer variations, there are significantly more classes in the Bios dataset. CTF score in the average (across all bios) squared Euclidean distance between the vectors of class probabilities for the 2 bio variations.
613
+
614
+ In the Adult experiment we compute same individual fairness metrics as in Yurochkin et al. (2020). S-Con. (spouse consistency) is the prediction consistency when creating data variations by altering marital status feature. GR-Con. (gender and race consistency) is the prediction consistency when creating data variations by altering race and gender features.
615
+
616
+ Group fairness In our experiments we observed that enforcing individual fairness also has positive effect on group fairness metrics.
617
+
618
+ In the Toxicity experiment we used accuracy parity (Zafar et al., 2017; Zhao et al., 2019) to quantify group fairness. There are multiple protected groups in the Toxicity dataset (e.g. “muslim”, “white”, “black”, “homosexual or lesbian”) that correspond to human annotated identity contexts (not necessarily mutually exclusive). To account for this when evaluating accuracy parity we computed accuracies for each of the protected groups and reported their standard deviation. Large standard deviation implies that classifier is significantly more accurate on some protected groups than on the others. Because of the class imbalance we also reported standard deviation of the corresponding balanced accuracies.
619
+
620
+ For the Bios experiment we used same group fairness metrics as in the prior works studying this dataset (Romanov et al., 2019; Prost et al., 2019). Here protected attribute is binary: male or female genders. Let $\mathrm { T P R } _ { 0 , k }$ and $\mathrm { T P R } _ { 1 , k }$ denote true positive rates for class $k$ for protected attributes 0 and 1. Then TPR gap for class $k$ is $\mathrm { G a p } _ { k } = | \mathrm { T P R } _ { 0 , k } - \mathrm { T P R } _ { 1 , k } |$ . The summary statistics we report are Gap $\begin{array} { r } { \mathrm { R M S } = \sqrt { \frac { 1 } { K } \sum _ { k } \mathrm { G a p } _ { k } ^ { 2 } } } \end{array}$ and $\begin{array} { r } { \mathrm { G a p \ A B S } = \frac { 1 } { K } \sum _ { k } \mathrm { G a p } _ { k } . } \end{array}$ .
621
+
622
+ For the Adult experiment we used same group fairness metrics as in Yurochkin et al. (2020), which correspond to Gap RMS described above and Gap $\mathbf { M A X } = \mathbf { m a x } _ { k } \mathbf { G a p } _ { k }$ , evaluated with respect to race and gender (both are binary protected attributes in the dataset).
623
+
624
+ # D ADDITIONAL FAIRNESS-ACCURACY TRADE-OFF RESULTS
625
+
626
+ Synthetic data experiment In Figure 1 we demonstrated how SenSeI allows to control fairnessaccuracy trade-off in simulations by plotting the decision boundary of the corresponding classifier for varying $\rho$ . In Figure 3 we show the lack of such flexibility in SenSR (Yurochkin et al., 2020): varying the radius of the DRO ball $\epsilon$ in their definition of individual fairness results in a horizontal decision boundary even for $\epsilon = 0$ . SenSR ties loss to fairness in its objective, and in this experiment loss can be increased significantly for anything but a horizontal decision boundary (fair metric allows free movement along the $\mathbf { X }$ -axis and a data-point can be perturbed in horizontal direction even for $\epsilon = 0$ ).
627
+
628
+ ![](images/9bf25b6bddd7b5fb4d54d10efe5717b46e7862a1e297f2fa3ad6a02acdd686fa.jpg)
629
+ Figure 3: The decision surface of a one hidden layer neural network trained with SenSR (Yurochkin et al., 2020) as the DRO radius $\epsilon$ varies. Problem setting is the same as in Figure 1. Even for $\epsilon = 0$ , SenSR prioritizes fairness over accuracy producing a horizontal decision surface. It is unable to achieve intermediate behaviors of SenSeI trading accuracy and fairness as in Figure 1 (a,b,c).
630
+
631
+ Toxicity and Bios experiments In Figure 2 we presented trade-offs between prediction consistency and balanced accuracy for SenSeI and CLP (Garg et al., 2018) for the Toxicity and Bios experiments. For completeness we also present corresponding CTF score and balanced accuracy trade-offs in Figure 4. As with the prediction consistency, we see that increasing fair regularization strength $\rho$ allows to train classifiers with better individual fairness properties. SenSeI outperforms CLP as it trains classifiers with lower CTF score across all values of $\rho$ .
632
+
633
+ ![](images/30174e1d6471b61767eebd3e9d4dcc1ef9d9b23c8978959da564ed30bcce120c.jpg)
634
+ Figure 4: Balanced accuracy (BA) and CTF score trade-off on Toxicity and Bios experiments
parse/train/DktZb97_Fx/DktZb97_Fx_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/DktZb97_Fx/DktZb97_Fx_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/DktZb97_Fx/DktZb97_Fx_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/SJICXeWAb/SJICXeWAb.md ADDED
@@ -0,0 +1,311 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # DEPTH SEPARATION AND WEIGHT-WIDTH TRADE-OFFSFOR SIGMOIDAL NEURAL NETWORKS
2
+
3
+ Anonymous authors Paper under double-blind review
4
+
5
+ # ABSTRACT
6
+
7
+ Some recent work has shown separation between the expressive power of depth-2 and depth-3 neural networks. These separation results are shown by constructing functions and input distributions, so that the function is well-approximable by a depth-3 neural network of polynomial size but it cannot be well-approximated under the chosen input distribution by any depth-2 neural network of polynomial size. These results are not robust and require carefully chosen functions as well as input distributions.
8
+
9
+ We show a similar separation between the expressive power of depth-2 and depth3 sigmoidal neural networks over a large class of input distributions, as long as the weights are polynomially bounded. While doing so, we also show that depth2 sigmoidal neural networks with small width and small weights can be wellapproximated by low-degree multivariate polynomials.
10
+
11
+ # 1 INTRODUCTION
12
+
13
+ Understanding the remarkable success of deep neural networks in many domains is an important problem at present (e.g., LeCun et al. (2015)). This problem has many facets such as understanding generalization, expressive power, optimization algorithms in deep learning. In this paper, we focus on the question of understanding the expressive power of neural networks. In other words, we study what functions can and cannot be represented and approximated by neural networks of bounded size, depth, width and weights.
14
+
15
+ The early results on the expressive power of neural networks showed that the depth-2 neural networks are universal approximators; that is to say, with only mild restrictions on the activation functions or neurons, the depth-2 neural networks are powerful enough to uniformly approximate arbitrary continuous functions on bounded domains in $\mathbb { R } ^ { d }$ , e.g., Cybenko (1989); Hornik et al. (1989); Barron (1994). However, the bounds that they provide on the size or width of these neural networks are quite general, and therefore, weak. Understanding what functions can be represented or wellapproximated by neural networks with bounded parameters is a general direction in the study of expressive power of neural networks. Here the parameters could mean the number of neurons, the width of hidden layers, the depth, and the magnitude of its weights etc.
16
+
17
+ Natural signals (images, speech etc.) tend to be representable as compositional hierarchies LeCun et al. (2015), and deeper networks can be thought of as representing deeper hierarchies. The power of depth has been a subject of investigation in deep learning, e.g., He et al. (2016). We are interested in understanding the effect of depth on the expressive power. In particular, one may ask whether having more depth allows representation of more functions if the size bound remains the same.
18
+
19
+ Eldan & Shamir (2016) show a separation between depth-2 and depth-3 neural networks. More precisely, they exhibit a function $\dot { g } : \mathbb { R } ^ { d } \mathbb { R }$ and a probability distribution $\mu$ on $\mathbb { R } ^ { d }$ such that $g$ is bounded and supported on a ball of radius $O ( { \sqrt { d } } )$ and expressible by a depth-3 network of size polynomially bounded in $d$ . But any depth-2 network approximating $g$ in $L _ { 2 }$ -norm (or squared error) within a small constant under the distribution $\mu$ must be of size exponentially large in $d$ . Their separation works for all reasonable activation functions including ReLUs (Rectified Linear Units) and sigmoids. The function and the input distribution in Eldan & Shamir (2016) are carefully constructed and their proof techniques seem to crucially rely on the specifics of these constructions. Building upon this result, Safran $\&$ Shamir (2017) show that while the indicator function of the
20
+
21
+ $L _ { 2 }$ -ball can be well-approximated by depth-3 networks of polynomial size, any good approximation to it by depth-2 networks must require exponential size. Here, the notion of approximation in the lower bound is the same as in Eldan & Shamir (2016) and a carefully constructed distribution that is arguably not quite natural.
22
+
23
+ Daniely (2017) (see also Martens et al. (2013)) also gave a separation between depth-2 and depth-3 networks by exhibiting a function $g : \mathbb { S } ^ { d - 1 } \times \mathbb { S } ^ { d - \bar { 1 } } \to R$ which can be well-approximated by a depth-3 ReLU neural network of polynomially bounded size and weights but cannot be approximated by any depth-2 (sigmoid, ReLU or more general) neural network of polynomial size with (exponentially) bounded weights. This separation holds under uniform distribution on $\mathbb { S } ^ { d - 1 } \times \mathbb { S } ^ { d - 1 }$ , which is more natural than the previous distributions. However, the proof technique crucially uses harmonic analysis on the unit sphere, and does not seems robust or applicable to other distributions.
24
+
25
+ Telgarsky (2016) shows a separation between depth- $\cdot 2 k ^ { 3 } + 8$ and depth- $k$ ReLU neural networks, for any positive integer $k$ , when the input is uniformly distributed over $[ - 1 , 1 ] ^ { d }$ . Liang & Srikant (2017) (see also Safran & Shamir (2017); Yarotsky (2016)) show that there are univariate functions on a bounded interval such that neural networks of constant depth require size at least $\Omega \left( \mathrm { p o l y } ( 1 / \epsilon ) \right)$ ) for a uniform $\epsilon$ -approximation over the interval, whereas deep networks (the depth can depend on $\epsilon$ ) can have size ${ \cal O } \left( \mathrm { p o l y l o g } ( 1 / \epsilon ) \right)$ .
26
+
27
+ The above separation results all fit the following template: certain carefully constructed functions can be well approximated by deep networks, but are hard to approximate by shallow networks using a notion of error that uses a carefully defined distribution. (Only Liang & Srikant (2017) is distribution-independent as it deals with uniform approximation everywhere in the domain). Thus these results do not tell us the extent to which deeper networks are more expressive than the shallow ones. We would like to understand whether there are large classes of functions and distributions that witness the separation between deep and shallow networks. An answer to this question is also more likely to shed light on practical applications of neural networks. Shamir (2016); Shalev-Shwartz et al. (2017); Song et al. (2017) show that even functions computed by a depth-2 neural network of polynomial size can be hard to learn using gradient descent type of algorithms for a wide class of distributions. These results address questions about learnability rather than the expressive power of deep neural networks.
28
+
29
+ Hanin (2017) shows that piecewise affine functions on $[ 0 , 1 ] ^ { d }$ with $N$ pieces can be exactly represented by a width $( d + 3 )$ network of depth at most $N$ . Lower bound of $\Omega ( ( N + d - 1 ) / ( d + 1 ) )$ on the depth is proven for functions of the above type when the network has width at most $( d + 1 )$ and very closely approximates the function.
30
+
31
+ Our depth separation results apply to neural networks with bounds on the magnitudes of the weights. While we would prefer to prove our results without any weight restrictions, we now argue that small weights are natural. In training neural networks, often weights are not allowed to be too large to avoid overfitting. Weight decay is a commonly used regularization heuristic in deep learning to control the weights. Early stopping can also achieve this effect. Another motivation to keep the weights low is to keep the Lipschitz constant of the function computed by the network (w.r.t. changes in the input, while keeping the network parameters fixed) small. Goodfellow et al. (2016) contains many of these references. One of the surprising discoveries about neural networks has been the existence of adversarial examples (Szegedy et al. (2013)). These are examples obtained by adding a tiny perturbation to input from class so that the resulting input is misclassified by the network. The perturbations are imperceptible to humans. Existence of such examples for a network suggests that the Lipschitz constant of the network is high as noted in Szegedy et al. (2013). This lead them to suggest regularizing training of neural nets by penalizing high Lipschitz constant to improve the generalization error and, in particular, eliminate adversarial examples. This is carried out in Cisse et al. (2017), who find a way to control the Lipschitz constant by enforcing an orthonormality´ constraint on the weight matrices along with other tricks. They report better resilience to adversarial examples. On the other hand, Neyshabur et al. (2017) suggest that Lipschitz constant cannot tell the full story about generalization.
32
+
33
+ # 2 OUR RESULTS
34
+
35
+ We exhibit a simple function (derived from Daniely (2017)) over the unit ball $\mathbb { B } ^ { d }$ in $d$ -dimensions can be well-approximated by a depth-3 sigmoidal neural network with size and weights polynomially bounded in $d$ . However, its any reasonable approximation using a depth-2 sigmoidal neural network with polynomially bounded weights must have size exponentially large in $d$ .
36
+
37
+ Our separation is robust and works for a general class of input distributions, as long as their density is at least $1 / \mathrm { p o l y } ( d )$ on some small ball of radius $1 / \mathrm { p o l y } ( \bar { d } )$ in $\mathbb { B } ^ { d }$ . The function we use can also be replaced by many other functions that are polynomially-Lipschitz but not close to any low-degree polynomial.
38
+
39
+ As a by-product of our argument, we also show that constant-depth sigmoidal neural networks are well-approximated by low-degree multivariate polynomials (with a degree bound that allows the depth separation mentioned above).
40
+
41
+ # 3 POLYNOMIAL APPROXIMATIONS TO SIGMOIDAL NEURAL NETWORKS
42
+
43
+ In this section, we show that a sigmoid neuron can be well-approximated by a low-degree polynomial. As a corollary, we show that depth-2 (and in genenral, small-depth) sigmoidal neural networks can be well-approximated by low-degree multivariate polynomials. The main idea is to use Chebyshev polynomial approximation as in Shalev-Shwartz et al. (2011), which closely approximates the minimax polynomial (or the polynomial that has the smallest maximum deviation) to a given function. For the simplicity of presentation and arguments, we drop the bias term $b$ in the activation function $\sigma ( \langle { \bf w } , { \bf x } \rangle { } ^ { - } + b )$ . This is without loss of generality, as explained at the end of the last section.
44
+
45
+ # 3.1 POLYNOMIAL APPROXIMATION TO A SIGMOID NEURON
46
+
47
+ The activation function of a sigmoid neuron $\sigma : \mathbb { R } \mathbb { R }$ is defined as
48
+
49
+ $$
50
+ \sigma ( t ) = \frac { 1 } { 1 + \exp ( - t ) } .
51
+ $$
52
+
53
+ Chebyshev polynomials of the first kind $\{ T _ { j } ( t ) \} _ { j \geq 0 }$ are defined recursively as $T _ { 0 } ( t ) = 1$ , $T _ { 1 } ( t ) = t$ , and $\dot { T } _ { j + 1 } ( t ) = 2 t \cdot T _ { j } ( t ) - T _ { j - 1 } ( t )$ . They form an orthonormal basis of polynomials over $[ - 1 , 1 ]$ with respect to the density $\textstyle \sum _ { j = 0 } ^ { \infty } c _ { j } T _ { j } ( t )$ over $[ - 1 , 1 ]$ is g iven b y $1 / \sqrt { 1 - t ^ { 2 } }$ . The coefficient $c _ { j }$ in the Chebyshev expansion of $\sigma ( w t ) =$
54
+
55
+ $$
56
+ c _ { j } = \frac { 1 + { \bf 1 } ( j > 0 ) } { \pi } \int _ { - 1 } ^ { 1 } \frac { \sigma ( w t ) T _ { j } ( t ) } { \sqrt { 1 - t ^ { 2 } } } d t .
57
+ $$
58
+
59
+ Proposition 1 (see Lemma B.1 in Shalev-Shwartz et al. (2011)) bounds the magnitude of coefficients $c _ { j }$ in the Chebyshev expansion of $\begin{array} { r } { \sigma ( w t ) = \sum _ { j = 0 } ^ { \infty } c _ { j } T _ { j } ( t ) } \end{array}$ .
60
+
61
+ Proposition 1. For any $j > 1$ , the coefficient $c _ { j }$ in the Chebyshev expansion of a sigmoid neuron $\sigma ( w t )$ is bounded by
62
+
63
+ $$
64
+ | c _ { j } | \le \left( \frac { 4 } { | w | } + \frac { 2 } { \pi } \right) \left( 1 + \frac { \pi } { | w | } \right) ^ { - j } .
65
+ $$
66
+
67
+ Proposition 1 implies low-degree polynomial approximation to sigmoid neurons as follows. This observation appeared in Shalev-Shwartz et al. (2011) (see equation (B.7) in their paper). For completeness, we give the proof in Appendix A.
68
+
69
+ Proposition 2. Given any $w ~ \in ~ \mathbb { R }$ with $| w | \ \leq \ B$ , there exists a polynomial $p$ of degree ${ \cal O } \left( B \log \left( B / \epsilon \right) \right)$ such that $| \sigma ( w t ) - p ( t ) | \leq \dot { \epsilon } ,$ for all $t \in [ - 1 , 1 ]$ .
70
+
71
+ We use this $O \left( \log ( 1 / \epsilon ) \right)$ dependence in the above bound crucially in some of our results, e.g., a weaker version of Daniely’s separation result for depth-2 and depth-3 neural networks. Notice that this logarithmic dependence does not hold for a ReLU neuron; it is $O ( 1 / \epsilon )$ instead.
72
+
73
+ A depth-2 sigmoidal neural network on input $t \in [ - 1 , 1 ]$ computes a linear combination of sigmoidal neurons $\sigma ( w _ { 1 } t ) , \sigma ( w _ { 2 } t ) , \ldots , \sigma ( w _ { n } \bar { t } )$ , for $w _ { 1 } , w _ { 2 } , \ldots , w _ { n } \in \mathbb { R }$ , and computes a function $f : [ - 1 , 1 ] \to \mathbb { R }$ given by
74
+
75
+ $$
76
+ f ( t ) = \sum _ { i = 1 } ^ { n } a _ { i } \sigma ( w _ { i } t )
77
+ $$
78
+
79
+ Here are a few propositions on polynomial approximations to small-depth neural networks. For completeness, their proofs are included in Appendix A.
80
+
81
+ Proposition 3 shows that a depth-2 sigmoidal neural network of bounded weights and width is close to a low-degree polynomial.
82
+
83
+ Proposition 3. Let $f : [ - 1 , 1 ] \to \mathbb { R }$ be a function computed by a depth-2 sigmoidal neural network of width n and weights bounded by $B$ . Then $f$ is $\delta$ -approximated (in $L _ { \infty }$ -norm) over $[ - 1 , 1 ]$ by $a$ polynomial of degree $O \left( B \log \left( n B ^ { 2 } / \delta \right) \right)$ .
84
+
85
+ Now consider a depth-2 sigmoidal neural network on input $\textbf { x } \in \mathbb { B } ^ { d }$ , where $\mathbb { B } ^ { d } = \{ \mathbf { x } \in \mathbb { R } ^ { d } \quad :$ $\| \mathbf { x } \| \leq 1 \}$ . It is given by a linear combination of sigmoidal activations applied to linear functions $\left. \mathbf { w } _ { 1 } , \mathbf { x } \right. , \left. \mathbf { w } _ { 2 } , \mathbf { x } \right. , \ldots , \left. \mathbf { w } _ { n } , \mathbf { x } \right.$ (or affine functions when we have biases), for $\mathbf { w } _ { 1 } , \mathbf { w } _ { 2 } , \ldots , \mathbf { w } _ { n } \in \mathbb { R } ^ { d }$ and it computes a function $F : \mathbb { B } ^ { d } \mathbb { R }$ given by
86
+
87
+ $$
88
+ F ( \mathbf { x } ) = \sum _ { i = 1 } ^ { n } a _ { i } \sigma ( \left. \mathbf { w } _ { i } , \mathbf { x } \right. )
89
+ $$
90
+
91
+ Proposition 4 below is a multivariate version of Proposition 3.
92
+
93
+ Proposition 4. Let $F : \mathbb { B } ^ { d } \mathbb { R }$ be a function computed by a depth-2 sigmoidal neural network with width $n$ and bounded weights, that is, $| a _ { i } | \le B$ and $\left\| \mathbf { w } _ { i } \right\| \leq B$ , for $1 \leq i \leq n$ . Then $F$ is $\delta$ - approximated (in $L _ { \infty }$ -norm) over $\mathbb { B } ^ { d }$ by a polynomial of degree $O \left( B \log \left( n B ^ { 2 } / \delta \right) \right)$ in $d$ variables given by the coordinates $\mathbf { x } = \left( x _ { 1 } , x _ { 2 } , \ldots , x _ { d } \right)$ .
94
+
95
+ Note that its proof crucially uses the fact that Proposition 2 guarantees a low-degree polynomial that approximates a sigmoid neuron everywhere in $[ - 1 , 1 ]$ .
96
+
97
+ A depth- $k$ sigmoidal neural network can be thought of as a composition – a depth-2 sigmoidal neural network on top, whose each input variable is a sigmoid applied to a depth- $\left( k - 2 \right)$ sigmoidal neural network. In other words, it computes a function $\bar { F } : \mathbb { B } ^ { d } \overset { \cdot \cdot } { } \mathbb { R }$ given by
98
+
99
+ $$
100
+ F ( \mathbf { x } ) = \sum _ { i = 1 } ^ { n } a _ { i } \sigma \left( \left. \mathbf { w } _ { i } , \mathbf { y } \right. \right) ,
101
+ $$
102
+
103
+ where $\mathbf { y } = ( y _ { 1 } , y _ { 2 } , \dots y _ { m } )$ has each coordinate $y _ { j } = \sigma ( F _ { j } ( \mathbf { x } ) )$ , for $1 \leq j \leq m$ , such that each $F _ { i } : \mathbb { B } ^ { d } \mathbb { R }$ is a function computed by a depth- $\left( k - 2 \right)$ sigmoidal neural network.
104
+
105
+ Now we show an interesting consequence, namely, any constant-depth sigmoidal neural network with polynomial width and polynomially bounded weights can be well-approximated by a lowdegree multivariate polynomial. The bounds presented in Proposition 5 are not optimal but the qualitative statement is interesting in contrast with the depth separation result. The growth of the degree of polynomial approximation is dependent on the widths of hidden layers and it is also the subtle reason why a depth separation result is still possible (when the weights are bounded).
106
+
107
+ Proposition 5. Let $F : \mathbb { B } ^ { d } \mathbb { R }$ be a function computed by a depth- $k$ sigmoidal neural network of width at most $n$ in each layer and weights bounded by $B$ , then $F ( \mathbf { x } )$ can be $\delta$ -approximated (in $L _ { \infty }$ -norm) over $\mathbb { B } ^ { d }$ by a $d$ -variate polynomial of degree $O \left( ( n B ) ^ { k } \log ^ { k } { ( n B / \delta ) } \right)$ in each coordinate variable of $\mathbf { x } = \left( x _ { 1 } , x _ { 2 } , \ldots , x _ { d } \right)$ .
108
+
109
+ Note that when $n$ and $B$ are polynomial in $d$ and the depth $k$ is constant, then this low-degree polynomial approximation also has degree polynomial in $d$ .
110
+
111
+ # 4 $L _ { \infty }$ -SEPARATION OF DEPTH-2 VS. DEPTH-3 SEPARATION FOR GENERAL INPUT DISTRIBUTIONS
112
+
113
+ Daniely shows that if $g : [ - 1 , 1 ] \to \mathbb { R }$ cannot be approximated by a polynomial of degree $O ( d ^ { 2 } )$ , then $\mathring { G ^ { \cdot } } \mathbb { S } ^ { d - 1 } \times \mathbb { S } ^ { d - 1 } \mathring { \mathbb { R } }$ defined as $G ( \mathbf { x } , \mathbf { y } ) = \bar { g ( \mathbf { \langle x , y \rangle } ) }$ cannot be approximated by any depth2 neural network of polynomial size and (exponentially) bounded weights. Daniely shows this lower bound for a general neuron or activation function that includes sigmoids and ReLUs. Daniely then uses $G ( \mathbf { x } , \mathbf { y } ) { \overset { \cdot } { = } } \ g ( \langle \mathbf { x } , \mathbf { y } \rangle ) = \sin ( \pi d ^ { 3 } \left. \mathbf { x } , \mathbf { y } \right. )$ which, on the other hand, is approximable by a depth-3 ReLU neural network with polynomial size and polynomially bounded weights. This gives a separation between depth-2 and depth-3 ReLU neural networks w.r.t. uniform distribution over $\mathbb { S } ^ { d - 1 } \times \mathbb { S } ^ { d - 1 }$ . Daniely’s proof uses harmonic analysis on the unit sphere, and requires the uniform distribution on $\mathbb { S } ^ { d - 1 } \dot { \times } \mathbb { S } ^ { \dot { d } - 1 }$ in a crucial way.
114
+
115
+ We show a simple proof of separation between depth-2 and depth-3 sigmoidal neural networks that compute functions $\mathbf { \dot { \boldsymbol { F } } } : \mathbb { B } ^ { d } \to \mathbf { \dot { \mathbb { R } } }$ . Our proof works for a large class of distributions on $\mathbb { B } ^ { d }$ but requires the weights to be polynomially bounded.
116
+
117
+ The following lemma appears in Debao (1993). Assumption 1 in Eldan & Shamir (2016) and their version of this lemma for ReLU networks was used by Daniely (2017) in the proof of separation between the expressive power of depth-2 and depth-3 ReLU networks.
118
+
119
+ Lemma 6. Let $f : [ - 1 , 1 ] \to \mathbb { R }$ be any $L$ -Lipschitz function. Then there exists a function $g :$ $[ - 1 , 1 ] \to \mathbb { R }$ computed by a depth-2 sigmoidal neural network such that
120
+
121
+ $$
122
+ g ( t ) = f ( 0 ) + \sum _ { i = 1 } ^ { n } a _ { i } \sigma ( w _ { i } t + b _ { i } ) ,
123
+ $$
124
+
125
+ the width $n$ as well as the weights are bounded by poly $( L , 1 / \epsilon )$ , and $| f ( t ) - g ( t ) | \leq \epsilon ,$ for all $t \in [ - 1 , 1 ]$ .
126
+
127
+ Now we are ready to show the separation between depth-2 and depth-3 sigmoidal neural networks. The main idea, similar to Daniely (2017), is to exhibit a function that is Lipschitz but far from any low-degree polynomial. The Lipschitz property helps in showing that our function can be wellapproximated by a depth-3 neural network of small size and small weights. However, being far from any low-degree polynomial, it cannot be approximated by any depth-2 neural network.
128
+
129
+ Theorem 7. Consider the function $G : \mathbb { B } ^ { d } \mathbb { R }$ given by $G ( \mathbf { x } ) = \sin ( \pi d ^ { 5 } \left\| \mathbf { x } \right\| ^ { 2 } )$ . Then $G$ can be $\delta$ -approximated (in $L _ { \infty }$ -norm) by a depth-3 sigmoidal neural network of width and weights polynomially bounded in $d$ . However, any function $\bar { F } : \mathbb { B } ^ { d } \mathbb { R }$ computed by a depth-2 sigmoidal neural network with weights $O ( d ^ { 2 } )$ cannot $\delta$ -approximate $G$ even when its width $n$ is $2 ^ { O ( d ) }$ .
130
+
131
+ By modifying the function to $G ( \mathbf { x } ) = \sin ( \pi N \left\| \mathbf { x } \right\| ^ { 2 } )$ , this lower bound with $L _ { \infty }$ -norm holds for any distribution over $\mathbf { \mathbb { B } } ^ { d }$ whose support contains a radial line segment of length at least $1 / p o l y ( d )$ , by making $N = p o l y ( d )$ , for a large enough polynomial.
132
+
133
+ Remark: Given any distribution $\mu$ over $\mathbb { B } ^ { d }$ whose probability density is at least $1 / p o l y ( d )$ on some small ball of radius $1 / p o l y ( d )$ , the lower bound or inapproximability by any depth-2 sigmoidal neural network can be made to work with $L _ { 2 }$ -norm (squared error), for a large enough $N = p o l y ( d )$ .
134
+
135
+ Proof. First, we will show that $G ( \mathbf { x } )$ can be well-approximated by a depth-3 sigmoidal neural network of polynomial size and weights. The idea is similar to Daniely’s construction for ReLU networks in Daniely (2017). By Lemma 6, there exists a function $f \ \stackrel { \cdot } { : } \ [ - 1 , 1 ] \ \ \mathbb { R }$ computed by a depth-2 sigmoidal neural network of size and weights bounded by $\mathrm { p o l y } ( d , 1 / \epsilon )$ such that $\left| t ^ { 2 } - f ( t ) \right| \le \epsilon / 1 0 d ^ { 6 }$ , for all $t \in [ - 1 , 1 ]$ . Thus, we can compute $x _ { i } ^ { 2 }$ for each coordinate of $\mathbf { x }$ and add them up to get an $\epsilon$ -approximation to $\left\| \mathbf { x } \right\| ^ { 2 }$ over $\mathbb { B } ^ { d }$ . That is, there exists a function $S : \mathbb { B } ^ { d } \mathbb { R }$ computed by a depth-2 sigmoidal neural network of size and weights bounded by poly $( d , 1 / \epsilon )$ such that $\left| S ( x ) - \left\| \mathbf { x } \right\| ^ { 2 } \right| \leq \epsilon / 1 0 d ^ { 5 }$ , for all $\mathbf { x } \in \mathbb { B } ^ { d }$ . Again, by Lemma 6, we can approximate $\sin ( \pi d ^ { 3 } t )$ over [0, 1] using $f : [ - 1 , 1 ] \to \mathbb { R }$ computed by another depth-2 sigmoidal neural network with size and weights bounded by $\mathrm { p o l y } ( d , 1 / \epsilon )$ such that $\left| \sin ( \pi d ^ { 3 } t ) - f ( t ) \right| \le \epsilon / 2$ , for all $t \in [ 0 , 1 ]$ . Note that the composition of these two depth-2 neural networks $f ( N ( \mathbf { x } ) )$ gives a depth-3 neural network as the output of the hidden layer of the bottom network can be fed into the top network as inputs.
136
+
137
+ $$
138
+ \begin{array} { r l } & { \left| G ( \mathbf { x } ) - f ( S ( \mathbf { x } ) ) \right| = \left| \sin ( \pi d ^ { 5 } \left\| \mathbf { x } \right\| ^ { 2 } ) - f ( S ( \mathbf { x } ) ) \right| } \\ & { \qquad \leq \left| \sin ( \pi d ^ { 5 } \left\| \mathbf { x } \right\| ^ { 2 } ) - f ( \left\| \mathbf { x } \right\| ^ { 2 } ) \right| + \left| f ( \left\| \mathbf { x } \right\| ^ { 2 } ) - f ( S ( \mathbf { x } ) ) \right| } \\ & { \qquad \leq \epsilon / 2 + 4 d ^ { 5 } \left| \left\| \mathbf { x } \right\| ^ { 2 } - S ( \mathbf { x } ) \right| } \end{array}
139
+ $$
140
+
141
+ $$
142
+ \leq \epsilon / 2 + 4 d ^ { 5 } \cdot \epsilon / 1 0 d ^ { 5 } \leq \epsilon .
143
+ $$
144
+
145
+ Now we will show the lower bound. Consider any function $F : \mathbb { B } ^ { d } \mathbb { R }$ computed by a depth-2 sigmoidal neural network whose weights are bounded by $B \ = \ O ( d ^ { 2 } )$ and width is $n$ . Proposition 4 shows that there exists a $d$ -variate polynomial $P ( \mathbf { x } )$ of degree $O \left( B \log ( n B ^ { 2 } / \delta ) \right) ~ =$ $O \left( d ^ { 2 } \log ( n / \delta ) + d ^ { 2 } \log d \right)$ in each variable such that $| F ( \mathbf { x } ) - P ( \mathbf { x } ) | \leq \delta$ , for all $\mathbf { x } \in \mathbb { B } ^ { d }$ . Let $\mu$ be any measure on $\mathbb { B } ^ { d }$ whose support contains some radial line segment of length at least $1 / \mathrm { p o l y } ( d )$ in $\mathbb { B } ^ { \bar { d } }$ . In other words, there exists a unit vector $\mathbf { u }$ such that the support of $\mu$ intersects the radial set $\{ \mathbf { x } ~ \in ~ \mathbb { B } ^ { d } \quad : \quad \mathbf { x } ~ = ~ t \mathbf { u } $ , for some $t \in [ - 1 , 1 ] \}$ in some line segment of length at least $1 / \mathrm { p o l y } ( d )$ . Then $P ( t \mathbf { u } )$ is a univariate polynomial of degree $O ( d ^ { 3 } \log ( \bar { n } / \delta ) + d ^ { 3 } \log \bar { d } )$ that $\delta$ - approximates $F ( t \mathbf { u } )$ , for all $t \in [ - 1 , 1 ]$ . By Lemma 8, using $\dot { D } = O \big ( d ^ { 3 } \log ( n / \delta ) + d ^ { 3 } \log d \big )$ , $l = 1 / \mathrm { p o l y } ( d )$ and $N = d ^ { 5 } / l$ , we get that if $n = 2 ^ { O ( d ) }$ , then there exists a $t _ { 0 } ~ \in ~ [ - 1 , 1 ]$ such that $\left| \sin ( \pi N t _ { 0 } ^ { 2 } ) - P ( t \mathbf { u } ) \right| \geq 1$ . Therefore, by triangle inequality, $\left| \sin ( \pi N \left\| t _ { 0 } \mathbf { u } \right\| ^ { 2 } ) - F ( t _ { 0 } \mathbf { u } ) \right| \geq$ $\left| \sin ( \pi N t _ { 0 } ^ { 2 } ) - P ( t _ { 0 } { \mathbf u } ) \right| - | P ( t _ { 0 } { \mathbf u } ) - F ( t _ { 0 } { \mathbf u } ) | \ge 1 - \delta > \delta _ { }$ , for $\delta < 1 / 2$ . This means that $G ( \mathbf { x } )$ cannot be well-approximated by any $F ( \mathbf { x } )$ computed by a depth-2 neural network with polynomially bounded weights even when it has width $2 ^ { O ( d ) }$ . □
146
+
147
+ Now we show that the candidate function proposed by Daniely $g ( t ) = \sin ( \pi N t )$ , for large enough $N$ , is far from any low-degree polynomial w.r.t. any measure $\mu$ on $[ - 1 , 1 ]$ with a reasonable support.
148
+
149
+ Lemma 8. Let $p$ be any polynomial of degree $D$ and $\mu$ be any measure on $[ - 1 , 1 ]$ whose support contains an interval of length at least $l$ . Then, for $N$ large enough to satisfy $N l > D + 3$ , there exists $t _ { 0 } \in [ - 1 , 1 ]$ such that $\mu ( t _ { 0 } ) > 0$ and $| \mathrm { s i n } ( \pi N t _ { 0 } ) - p ( t _ { 0 } ) | > 1 .$ . In other words, $\sin ( \pi N t )$ is 1-far (in $L _ { \infty }$ -norm) from any polynomial of degree $D$ over interval $[ - 1 , 1 ]$ with measure $\mu$ .
150
+
151
+ Proof. Let $\mu ( t ) > 0$ for some interval $[ a , a + l ] \subseteq [ - 1 , 1 ]$ . Consider $S = \{ t \in [ a , a + l ] \colon t =$ $- 1 + ( i + 1 / 2 ) / N$ , for some integer $i \}$ . Then $S$ contains at least $N l - 2$ points where $\sin ( \pi N t )$ alternates as $\pm 1$ . Any polynomial $p$ of degree $D$ cannot match the sign of $\sin ( \pi N t )$ on all the points in $S$ . Otherwise, by intermediate value theorem, $p$ must have at least $N l - 3$ roots between the points of $S$ , which means $D \geq N l - 3$ , a contradiction. Thus, there exists $t _ { 0 } \in S$ such that $p ( t _ { 0 } )$ and $\sin ( \pi N t _ { 0 } )$ have opposite signs. Since $\sin ( \pi N t ) = \pm 1$ , for any $t \in S$ , the sign mismatch implies $| \mathrm { s i n } ( \pi N t _ { 0 } ) - p ( t _ { 0 } ) | > 1$ . □
152
+
153
+ An important remark on biases: Even though we handled the case of sigmoid neurons without biases, the proof technique carries over to the sigmoid neurons with biases $\bar { \boldsymbol { \sigma } } ( \left. \mathbf { w } , \mathbf { x } \right. + b )$ . The idea is to consider a new $( d + 1 )$ -dimensional input $\mathbf { x } _ { \mathrm { n e w } } = \left( \mathbf { x } , x _ { d + 1 } \right) = \left( x _ { 1 } , x _ { 2 } , \ldots , x _ { d + 1 } \right)$ with $x _ { d + 1 } = 1$ , and consider the new weight vector $\mathbf { w } _ { \mathrm { n e w } } = ( \mathbf { w } , b )$ . Thus, $\left. \mathbf { w } _ { \mathrm { n e w } } , \mathbf { x } _ { \mathrm { n e w } } \right. = \left. \mathbf { w } , \mathbf { x } \right. + b$ . The new input lies on a $d$ -dimensional hyperplane slice of $\mathbb { B } ^ { d + 1 }$ , so we need to look at the restriction of the input distribution $\mu$ to this slice. Most of the ideas in our proofs generalize without any technical modifications. We defer the details to the full version.
154
+
155
+ # 5 $L _ { 2 }$ -SEPARATION OF DEPTH-2 VS. DEPTH-3 SEPARATION FOR GENERAL INPUT DISTRIBUTIONS
156
+
157
+ In this section we show lower bounds under the $L _ { 2 }$ -norm. The theorem below gives a technical condition on the class of densities $\mu$ on $\mathbb { B } ^ { d }$ for which our lower bound holds. Let’s give an example to illustrate that the condition on density is reasonable: Let $K \subset \mathbb { B } ^ { d }$ be a convex set such that every point in $K$ is at least $r$ away from the boundary of $\mathbb { B } ^ { d }$ (where $r = 1 / \mathrm { p o l y } ( d )$ is a parameter). Further assume that (1) the probability mass of $K$ is at least a constant and (2) for every point in $K$ the probability density is within a constant factor of the uniform density on $K$ . Then our lower bound applies to $\mu$ .
158
+
159
+ Theorem 9. Consider the function $G : \mathbb { B } ^ { d } \mathbb { R }$ given by $G ( \mathbf { x } ) = \sin ( \pi N \left\| \mathbf { x } \right\| ^ { 2 } )$ . Let $\mu$ be any probability density over $\mathbb { B } ^ { \dot { d } }$ such that there exists a subset $C \subseteq \mathbb { B } ^ { d }$ satisfying the following two conditions:
160
+
161
+ • The $r$ -interior of $C$ defined as $C ^ { \prime } = \{ \mathbf { x } \in C ~ : ~ \mathbb { B } ( \mathbf { x } , r ) \subseteq C \}$ contains at least $\gamma$ fraction of the total probability mass for some $\gamma > 0$ , i.e., $\begin{array} { r } { \int _ { C ^ { \prime } } \mu ( \mathbf { x } ) d \mathbf { x } \geq \gamma } \end{array}$ . • For any affine line $\ell$ , the induced probability density on every segment of length at least $r$ in the intersection $\ell \cap C$ is $( \alpha , \beta )$ -uniform, i.e., it is at least $\alpha$ times and at most $\beta$ times the uniform density on that segment.
162
+
163
+ Let $F : \mathbb { B } ^ { d } \mathbb { R }$ be any function computed by a depth-2 sigmoidal neural network with weights bounded by $B$ and width $n$ . Then for any $0 < \delta \ll \alpha \gamma / 3 \beta$ and $N \gg ( B / r ^ { 2 } ) \log ( n B ^ { 2 } / \delta )$ , the function $F$ cannot $\delta$ -approximate $G$ on $\mathbb { B } ^ { d }$ under $L _ { 2 }$ -norm (squared error) under the probability density $\mu$ .
164
+
165
+ In particular, if $\alpha , \beta , \gamma$ are constants, $B = p o l y ( d )$ , $n = 2 ^ { d }$ , and $r = 1 / p o l y ( d )$ , then it suffices to choose $N = p o l y ( d )$ for a sufficiently large degree polynomial.
166
+
167
+ Proof. We show a lower bound on $L _ { 2 }$ -error of approximating $G ( \mathbf { x } )$ with any multivariate polynomial $P : \mathbb { B } ^ { d } \mathbb { R }$ of degree $D$ under the distribution given by $\mu$ on $\mathbb { B } ^ { d }$ . For any fixed unit vector $\mathbf { v }$ , consider $\mathbf { u } \in \mathbb { B } ^ { d - 1 }$ orthogonal to $\mathbf { v }$ and let $\ell _ { \mathbf { u } }$ be the affine line going through $\mathbf { u }$ and parallel to the direction $\mathbf { v }$ given by $\ell _ { \mathbf { u } } = \{ \mathbf { x } = \mathbf { u } + t \mathbf { v } ~ : ~ t \in \mathbb { R } \}$ .
168
+
169
+ $$
170
+ \begin{array} { r l } { { \int ( G ( \mathbf { x } ) - P ( \mathbf { x } ) ) ^ { 2 } \mu ( \mathbf { x } ) d \mathbf { x } } } \\ & { \ \stackrel { \mathrm { B } ^ { d } } { \geq } } \\ & { \ \geq \int ( G ( \mathbf { x } ) - P ( \mathbf { x } ) ) ^ { 2 } \mu ( \mathbf { x } ) d \mathbf { x } } \\ & { \ = \displaystyle \int \int \int ( G ( \mathbf { u } + t \mathbf { v } ) - P ( \mathbf { u } + t \mathbf { v } ) ) ^ { 2 } \mu ( \mathbf { u } + t \mathbf { v } ) \mathbb { I } _ { C } ( \mathbf { u } , t ) d t d \mathbf { u } } \end{array}
171
+ $$
172
+
173
+ $$
174
+ \geq \int _ { \mathbb { R } ^ { d - 1 } } \int _ { \mathbb { R } } \left( G ( \mathbf { u } + t \mathbf { v } ) - P ( \mathbf { u } + t \mathbf { v } ) \right) ^ { 2 } \mu ( \mathbf { u } + t \mathbf { v } ) \mathbb { I } _ { \tilde { C } } ( \mathbf { u } , t ) d t d \mathbf { u }
175
+ $$
176
+
177
+ $$
178
+ \begin{array} { r l } & { = \frac { \int _ { \mathbb { R } ^ { d - 1 } } \int _ { \mathbb { R } } \big ( G ( \mathbf { u } + t \mathbf { v } ) - P ( \mathbf { u } + t \mathbf { v } ) \big ) ^ { 2 } \mu ( \mathbf { u } + t \mathbf { v } ) \mathbb { I } _ { \boldsymbol { \bar { C } } } ( \mathbf { u } , t ) \ d t d \mathbf { u } } { \int _ { \mathbb { R } ^ { d - 1 } } \int _ { \mathbb { R } } \mu ( \mathbf { u } + t \mathbf { v } ) \mathbb { I } _ { \boldsymbol { \bar { C } } } ( \mathbf { u } , t ) \ d t d \mathbf { u } } \cdot \displaystyle \int _ { \mathbb { R } ^ { d - 1 } } \int _ { \mathbb { R } } \mu ( \mathbf { u } + t \mathbf { v } ) \mathbb { I } _ { \boldsymbol { \bar { C } } } ( \mathbf { u } , t ) \ d t d \mathbf { u } } \\ & { = \frac { \int _ { \mathbb { R } ^ { d - 1 } } \int _ { \mathbb { R } } \big ( G \big ( \mathbf { u } + t \mathbf { v } \big ) - P \big ( \mathbf { u } + t \mathbf { v } \big ) \big ) ^ { 2 } \mu ( \mathbf { u } + t \mathbf { v } ) \mathbb { I } _ { \boldsymbol { \bar { C } } } ( \mathbf { u } , t ) \ d t d \mathbf { u } } { \int _ { \mathbb { R } ^ { d - 1 } } \int _ { \mathbb { R } } \mu ( \mathbf { u } + t \mathbf { v } ) \int _ { \mathbb { \bar { C } } } ( \mathbf { u } , t ) \ d t d \mathbf { u } } \cdot \displaystyle \int _ { \boldsymbol { C } ^ { \prime } } \mu ( \mathbf { x } ) d \mathbf { x } } \end{array}
179
+ $$
180
+
181
+ $$
182
+ \begin{array} { r l } & { \displaystyle \geq \operatorname* { m i n } _ { { \bf u } \in { \mathbb { R } } ^ { d - 1 } } \frac { \int _ { { \mathbb { R } } } \left( { \cal G } ( { \bf u } + t { \bf v } ) - P ( { \bf u } + t { \bf v } ) \right) ^ { 2 } \mu ( { \bf u } + t { \bf v } ) \mathbb { I } _ { { \widetilde { \cal C } } } ( { \bf u } , t ) d t } { \int _ { { \mathbb { R } } } \mu ( { \bf u } + t { \bf v } ) \mathbb { I } _ { { \widetilde { \cal C } } } ( { \bf u } , t ) d t } \cdot \displaystyle \int _ { { \cal C } ^ { \prime } } \mu ( { \bf x } ) d { \bf x } } \\ & { \displaystyle \geq \operatorname* { m i n } _ { { \bf u } \in { \mathbb { R } } ^ { d - 1 } } \frac { \alpha } { \beta } \cdot \frac { \int _ { { \mathbb { R } } } \left( { \cal G } ( { \bf u } + t { \bf v } ) - P ( { \bf u } + t { \bf v } ) \right) ^ { 2 } \mathbb { I } _ { { \widetilde { \cal C } } } ( { \bf u } , t ) d t } { \int _ { { \mathbb { R } } } \mathbb { I } _ { { \widetilde { \cal C } } } ( { \bf u } , t ) d t } \cdot \displaystyle \int _ { { \cal C } ^ { \prime } } \mu ( { \bf x } ) d { \bf x } } \end{array}
183
+ $$
184
+
185
+ because for any line $\ell$ , the distribution induced by $\mu ( \mathbf { x } )$ along any line segment of length at least $r$ in the intersection $\ell \cap C$ is $( \alpha , \beta )$ -uniform, for any line $\ell$ $\geq { \frac { \alpha } { \beta } } \cdot { \frac { \gamma } { 3 } } .$
186
+
187
+ The last inequality is using the condition $\begin{array} { r } { \int _ { C ^ { \prime } } \mu ( \mathbf { x } ) d \mathbf { x } \geq \gamma } \end{array}$ given in Theorem 9 and an adaptation of the following idea from Lemma 5 of Daniely (2017). For any fixed $\mathbf { u }$ and $\mathbf { v }$ , $G ( \mathbf { u } + t \mathbf { v } ) =$ $\sin ( \pi N ( \left. \lvert \mathbf { u } \right. \rvert ^ { 2 } + t ^ { 2 } ) )$ and $P ( \mathbf { u } + t \mathbf { v } )$ is a polynomial of degree at most $D$ in $t$ . The function $\sin ( \pi N ( \left. \lvert \mathbf { u } \right. \rvert ^ { 2 } + t ^ { 2 } ) )$ alternates its sign as $\left\| \mathbf { u } \right\| ^ { 2 } + t ^ { 2 }$ takes values that are successive integer multiples of $1 / N$ . Consider $\acute { s } = t ^ { 2 } \in [ 0 , 1 ]$ and divide $[ 0 , 1 ]$ into $N$ disjoint segments using integer grid of step size $1 / N$ . For any polynomial $p ( s )$ of degree at most $D$ and any interval $I \subseteq [ 0 , 1 ]$ of length $r \gg D / N$ , there exists at least $N r - D - 2$ segments of length $1 / N$ each on which $\sin ( \pi N s )$ and $p ( s )$ do not change signs and have opposite signs. Now using $( \sin ( \pi N s ) - p ( s ) ) ^ { 2 } \ge \sin ^ { 2 } ( \pi N s ) \nonumber$ , integrating we get that $\begin{array} { r } { \int _ { I } ( \sin ( \pi N s ) - p ( s ) ) ^ { 2 } \bar { d s } \ge r / 2 } \end{array}$ . Extending this proof to $t$ instead of $s = t ^ { 2 }$ , using $\sin ^ { 2 } ( \pi N t ^ { 2 } ) t \leq \sin ^ { 2 } ( \pi N t )$ for all $t \in [ 0 , 1 ]$ , and incorporating the shift $\pi N \left. \mathbf { u } \right. ^ { 2 }$ , we can similarly show that $\begin{array} { r } { \int _ { I } \sin ^ { 2 } ( \pi N ( \left\| \mathbf { u } \right\| ^ { 2 } + t ^ { 2 } ) ) - P ( \mathbf { u } + t \mathbf { v } ) ) ^ { 2 } d t \ge r / 3 } \end{array}$ . Summing up over multiple such intervals gives the final inequality. □
188
+
189
+ The $L _ { 2 }$ separation between depth-2 and depth-3 neural networks under probability density $\mu$ now follows by taking a small enough $\delta$ , and combining the following ingredients (i) Proposition 4 says that any depth-2 sigmoid neural networks of width $n = 2 ^ { d }$ and weights bounded by $B = { \mathfrak { p o l y } } ( d )$ can be $\delta$ -approximated in $L _ { \infty }$ (and hence, also $L _ { 2 }$ ) by a multivariate polynomials of degree $D = O ( B \mathbf { \bar { l o g } } ( n B ^ { 2 } / \delta ) ) = \mathrm { p o l y } ( d )$ , (ii) proof of Theorem 7 (initial part) says that $G ( \mathbf { x } )$ can be $\delta$ -approximated in $L _ { \infty }$ (and hence, also $L _ { 2 }$ ) by a depth-3 sigmoid neural network of width and size $\mathfrak { p o l y } ( d )$ , but (iii) Theorem 9 says that, for $N = { \mathrm { p o l y } } ( d )$ of large enough degree, $G ( \mathbf { x } )$ cannot be $3 \delta$ -approximated in $L _ { 2 }$ by any multivariate polynomial of degree $D$ , and (iv) triangle inequality.
190
+
191
+ # REFERENCES
192
+
193
+ Andrew R. Barron. Approximation and estimation bounds for artificial neural networks. Machine Learning, 14(1):115–133, Jan 1994. ISSN 1573-0565. doi: 10.1007/BF00993164. URL https: //doi.org/10.1007/BF00993164.
194
+
195
+ Moustapha Cisse, Piotr Bojanowski, Edouard Grave, Yann Dauphin, and Nicolas Usunier. Parseval ´ networks: Improving robustness to adversarial examples. In Proceedings of the 34th International Conference on Machine Learning, ICML 2017, Sydney, NSW, Australia, 6-11 August 2017, pp. 854–863, 2017. URL http://proceedings.mlr.press/v70/cisse17a.html.
196
+
197
+ G. Cybenko. Approximation by superpositions of a sigmoidal function. Mathematics of Control, Signals and Systems, 2(4):303–314, Dec 1989. ISSN 1435-568X. doi: 10.1007/BF02551274. URL https://doi.org/10.1007/BF02551274.
198
+
199
+ Amit Daniely. Depth separation for neural networks. In Proceedings of the 30th Conference on Learning Theory, COLT 2017, Amsterdam, The Netherlands, 7-10 July 2017, pp. 690–696, 2017. URL http://proceedings.mlr.press/v65/daniely17a.html.
200
+
201
+ Chen Debao. Degree of approximation by superpositions of a sigmoidal function. Approximation Theory and its Applications, 9(3):17–28, Sep 1993. ISSN 1573-8175. doi: 10.1007/BF02836480. URL https://doi.org/10.1007/BF02836480.
202
+
203
+ Ronen Eldan and Ohad Shamir. The power of depth for feedforward neural networks. In Proceedings of the 29th Conference on Learning Theory, COLT 2016, New York, USA, June 23-26, 2016, pp. 907–940, 2016. URL http://jmlr.org/proceedings/papers/v49/eldan16. html.
204
+
205
+ Ian Goodfellow, Yoshua Bengio, and Aaron Courville. Deep Learning. MIT Press, 2016. http: //www.deeplearningbook.org.
206
+
207
+ Boris Hanin. Universal function approximation by deep neural nets with bounded width and relu activations. CoRR, abs/1708.02691, 2017. URL http://arxiv.org/abs/1708.02691.
208
+
209
+ Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In 2016 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2016, Las Vegas, NV, USA, June 27-30, 2016, pp. 770–778, 2016. doi: 10.1109/CVPR.2016.90. URL https://doi.org/10.1109/CVPR.2016.90.
210
+
211
+ Kurt Hornik, Maxwell Stinchcombe, and Halbert White. Multilayer feedforward networks are universal approximators. Neural Networks, 2(5):359 – 366, 1989. ISSN 0893-6080. doi: https://doi.org/10.1016/0893-6080(89)90020-8. URL http://www.sciencedirect. com/science/article/pii/0893608089900208.
212
+
213
+ Yann LeCun, Yoshua Bengio, and Geoffrey E. Hinton. Deep learning. Nature, 521(7553):436–444, 2015. doi: 10.1038/nature14539. URL https://doi.org/10.1038/nature14539.
214
+
215
+ Shiyu Liang and R. Srikant. Why deep neural networks for function approximation? In ICLR, 2017.
216
+
217
+ James Martens, Arkadev Chattopadhya, Toni Pitassi, and Richard Zemel. On the representational efficiency of restricted boltzmann machines. In C. J. C. Burges, L. Bottou, M. Welling, Z. Ghahramani, and K. Q. Weinberger (eds.), Advances in Neural Information Processing Systems 26, pp. 2877–2885. Curran Associates, Inc., 2013. URL http://papers.nips.cc/paper/ 5020-on-the-representational-efficiency-of-restricted-boltzmann-machines. pdf.
218
+
219
+ Behnam Neyshabur, Srinadh Bhojanapalli, David McAllester, and Nathan Srebro. Exploring generalization in deep learning. CoRR, abs/1706.08947, 2017. URL http://arxiv.org/abs/ 1706.08947.
220
+
221
+ Itay Safran and Ohad Shamir. Depth-width tradeoffs in approximating natural functions with neural networks. In Proceedings of the 34th International Conference on Machine Learning, ICML 2017, Sydney, NSW, Australia, 6-11 August 2017, pp. 2979–2987, 2017. URL http://proceedings.mlr.press/v70/safran17a.html.
222
+
223
+ Shai Shalev-Shwartz, Ohad Shamir, and Karthik Sridharan. Learning kernel-based halfspaces with the 0-1 loss. SIAM J. Comput., 40(6):1623–1646, December 2011. ISSN 0097-5397. doi: 10. 1137/100806126. URL http://dx.doi.org/10.1137/100806126.
224
+
225
+ Shai Shalev-Shwartz, Ohad Shamir, and Shaked Shammah. Failures of gradient-based deep learning. In Proceedings of the 34th International Conference on Machine Learning, ICML 2017, Sydney, NSW, Australia, 6-11 August 2017, pp. 3067–3075, 2017. URL http://proceedings. mlr.press/v70/shalev-shwartz17a.html.
226
+
227
+ Ohad Shamir. Distribution-specific hardness of learning neural networks. CoRR, abs/1609.01037, 2016. URL http://arxiv.org/abs/1609.01037.
228
+
229
+ Le Song, Santosh Vempala, John Wilmes, and Bo Xie. On the complexity of learning neural networks. CoRR, abs/1707.04615, 2017. URL http://arxiv.org/abs/1707.04615.
230
+
231
+ Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian J. Goodfellow, and Rob Fergus. Intriguing properties of neural networks. CoRR, abs/1312.6199, 2013. URL http://arxiv.org/abs/1312.6199.
232
+
233
+ Matus Telgarsky. benefits of depth in neural networks. In Proceedings of the 29th Conference on Learning Theory, COLT 2016, New York, USA, June 23-26, 2016, pp. 1517–1539, 2016. URL http://jmlr.org/proceedings/papers/v49/telgarsky16.html.
234
+
235
+ Dmitry Yarotsky. Error bounds for approximations with deep relu networks. CoRR, abs/1610.01145, 2016. URL http://arxiv.org/abs/1610.01145.
236
+
237
+ # A PROOFS OF POLYNOMIAL APPROXIMATIONS TO NEURAL NETWORKS
238
+
239
+ # Proof of Proposition 2
240
+
241
+ Proof. Consider the degree- $D$ approximation to $\sigma ( w t )$ given by the first $D$ terms in its Chebyshev expansion. The error of this approximation for any $t \in [ - 1 , 1 ]$ is bounded by
242
+
243
+ $$
244
+ \begin{array} { r l } { { ( \sigma ( w t ) - p ( \ell ) | = | \sum _ { j \geq \ell } \varsigma _ { j } T _ { ( j ) } ( \ell ) | } } \\ & { \leq \sum _ { j \geq 0 } | \varsigma _ { j } | } \\ & { \leq ( \frac { 4 } { | w | } + \frac { 2 } { \pi } ) \sum _ { j > \ell } ( 1 + \frac { \pi } { | w | } ) ^ { - \beta } } \\ & { \leq ( \frac { 4 } { | w | } + \frac { 2 } { \pi } ) ( 1 + \frac { \pi } { | w | } ) ^ { - ( \beta + 1 ) } \sum _ { j = 0 } ^ { \infty } ( 1 + \frac { \pi } { | w | } ) ^ { - \beta } } \\ & { = ( \frac { 4 } { | w | } + \frac { 2 } { \pi } ) ( 1 + \frac { \pi } { | w | } ) ^ { - ( \beta + 1 ) } \cdot \frac { | w | } { \frac { \sqrt { w } } { 2 \pi } ( 1 + \frac { \pi } { | w | } ) ^ { - \beta } } } \\ & { = ( \frac { 4 } { | w | } + \frac { 2 } { \pi } ) ( 1 + \frac { \pi } { | w | } ) ^ { - ( \beta + 1 ) } \cdot \frac { | w | } { \pi } ( 1 + \frac { \pi } { | w | } ) } \\ & { \leq \epsilon _ { * } . } \end{array}
245
+ $$
246
+
247
+ using Proposition 1, $| w | \le B$ , and $D = O \left( B \log \left( B / \epsilon \right) \right)$ .
248
+
249
+ # Proof of Proposition 3
250
+
251
+ Proof. Let $f$ be computed by a depth-2 sigmoidal neural network given by $\begin{array} { r } { f ( t ) = \sum _ { i = 1 } ^ { n } a _ { i } \sigma ( w _ { i } t ) } \end{array}$ Define a parameter $\epsilon \ : = \ : \delta / n B$ . Proposition 2 guarantees polynomial $p _ { 1 } , p _ { 2 } , \ldots , p _ { n }$ of degree $O \left( B \log ( \mathbf { \bar { \boldsymbol { B } } } / \epsilon ) \right)$ such that $| \sigma ( w _ { i } t ) - \bar { p } _ { i } ( t ) | \ \leq \ \epsilon$ , for all $t ~ \in ~ [ - 1 , 1 ]$ . Thus, the polynomial $\begin{array} { r } { p ( t ) = \sum _ { i = 1 } ^ { n } a _ { i } p _ { i } ( t ) } \end{array}$ has degree $O \left( B \log ( B / \epsilon ) \right) = O \left( B \log ( n B ^ { 2 } / \delta ) \right)$ , and for any $t \in [ - 1 , 1 ]$ ,
252
+
253
+ $$
254
+ \begin{array} { r l } { \displaystyle \left. \sum _ { i = 1 } ^ { n } a _ { i } \sigma ( w _ { i } t ) - p ( t ) \right. = \displaystyle \left. \sum _ { i = 1 } ^ { n } a _ { i } \sigma ( w _ { i } t ) - \sum _ { i = 1 } ^ { n } a _ { i } p _ { i } ( t ) \right. } & { } \\ { \displaystyle \leq \sum _ { i = 1 } ^ { n } \lvert a _ { i } \rvert \lvert \sigma ( w _ { i } t ) - p _ { i } ( t ) \rvert } & { } \\ { \displaystyle \leq n B \epsilon } & { } \\ { \displaystyle = \delta } \end{array}
255
+ $$
256
+
257
+ # Proof of Proposition 4
258
+
259
+ Proof. Let $F$ be computed by a depth-2 neural network given by $\begin{array} { r } { F ( \mathbf { x } ) \ = \ \sum _ { i = 1 } ^ { n } { a _ { i } \sigma } ( \left. \mathbf { w } _ { i } , \mathbf { x } \right. ) } \end{array}$ where $| a _ { i } | \le B$ and $\left\| \mathbf { w } _ { i } \right\| \leq B$ , for $1 \leq i \leq n$ . Thus, $\begin{array} { r } { F ( \mathbf { x } ) \ = \ \sum _ { i = 1 } ^ { n } { a _ { i } \sigma ( \left\| \mathbf { w } _ { i } \right\| t _ { i } ) } } \end{array}$ , where $t _ { i } = \left. \mathbf { w } _ { i } / \left\| \mathbf { w } _ { i } \right\| , \mathbf { x } \right. \in [ - 1 , 1 ]$ because $\mathbf { w } _ { i } / \left\| \mathbf { w } _ { i } \right\| \in \mathbb { B } ^ { d }$ , for $1 \leq i \leq n$ , and $\mathbf { x } \in \mathbb { B } ^ { d }$ .
260
+
261
+ Define a parameter $\epsilon \ : = \ : \delta / n B$ . Proposition 2 guarantees polynomial $p _ { 1 } , p _ { 2 } , \ldots , p _ { n }$ of degree $O \left( B \log ( \mathbf { \bar { \boldsymbol { B } } } / \epsilon ) \right)$ such that $| \dot { \sigma } ( \| w _ { i } \| t ) - p _ { i } ( t ) | \ \leq \ \dot { \epsilon }$ , for all $t \in [ - 1 , 1 ]$ . Consider the following polynomial $\begin{array} { r } { P ( \mathbf { x } ) = P ( x _ { 1 } , x _ { 2 } , \ldots , x _ { d } ) = \sum _ { i = 1 } ^ { n } a _ { i } p _ { i } ( \langle \mathbf { w } _ { i } / \left\| \mathbf { w } _ { i } \right\| , \mathbf { x } \rangle ) } \end{array}$ . $P ( \mathbf { x } )$ is a $d$ -variate polynomial of degree $O \left( B \log ( B / \epsilon ) \right) = O \left( B \log ( n B ^ { 2 } / \delta ) \right)$ in each variable $x _ { 1 } , x _ { 2 } , \ldots , x _ { d }$ . For any $\mathbf { x } \in \mathbb { B } ^ { d }$ ,
262
+
263
+ $$
264
+ | F ( \mathbf { x } ) - P ( \mathbf { x } ) | = \left| \sum _ { i = 1 } ^ { n } a _ { i } \sigma ( \langle \mathbf { w } _ { i } , \mathbf { x } \rangle ) - \sum _ { i = 1 } ^ { n } a _ { i } p _ { i } ( \langle \mathbf { w } _ { i } / \| \mathbf { w } _ { i } \| , \mathbf { x } \rangle ) \right|
265
+ $$
266
+
267
+ $$
268
+ \begin{array} { r l } & { \leq \displaystyle \sum _ { i = 1 } ^ { n } a _ { i } \sigma ( \mathbf { w } _ { i } , \mathbf { x } ) - p _ { i } ( \mathbf { w } _ { i } / \mathbf { w } _ { i } , \mathbf { x } ) ) } \\ & { \leq B \displaystyle \sum _ { i = 1 } ^ { n } \sigma ( \mathbf { w } _ { i } t _ { i } ) - p _ { i } ( t _ { i } ) \qquad \mathrm { u s i n g ~ } t _ { i } = \mathbf { w } _ { i } / \mathbf { w } _ { i } , \mathbf { x } ; } \\ & { \leq \epsilon n B \qquad \mathrm { u s i n g ~ } \sigma ( w _ { i } t ) - p _ { i } ( t ) \leq \epsilon , \mathrm { f o r ~ a l l ~ } t \in [ - 1 , 1 ] } \\ & { = \delta . } \end{array}
269
+ $$
270
+
271
+ # Proof of Proposition 5
272
+
273
+ Proof. We prove this by induction on the depth $k$ . By induction hypothesis each $F _ { j } ( \mathbf { x } )$ can be $\epsilon _ { 1 }$ -approximated (in $L _ { \infty }$ -norm) by a $d$ -variate polynomial $Q _ { j } ( \mathbf { x } )$ of degree $O \left( ( n B ) ^ { k - 2 } \log ^ { ( k - 2 ) } ( n B / \epsilon _ { 1 } ) \right)$ in each variable. Thus, $| F _ { j } ( \mathbf { x } ) - Q _ { j } ( \mathbf { x } ) | = \epsilon _ { 1 }$ , for any $\mathbf { x } \in \mathbb { B } ^ { d }$ and $1 \leq j \leq m$ . Because a sigmoid neuron is Lipschitz,
274
+
275
+ $$
276
+ | y _ { j } - \sigma ( Q _ { j } ( \mathbf x ) ) | = | \sigma ( F _ { j } ( \mathbf x ) ) - \sigma ( Q _ { j } ( \mathbf x ) ) | \le | F _ { j } ( \mathbf x ) - Q _ { j } ( \mathbf x ) | \le \epsilon _ { 1 } ,
277
+ $$
278
+
279
+ for any $\mathbf { x } \in \mathbb { B } ^ { d }$ and $1 \leq j \leq m$ .
280
+
281
+ Since $F _ { j } ( \mathbf { x } )$ is the output of a depth- $\left( k - 2 \right)$ sigmoidal neural network of width at most $n$ and weights at most $B$ , we must have $| F _ { j } ( \mathbf { x } ) | \leq n B$ , for all $\mathbf { x } \in \mathbb { B } ^ { d }$ . Thus, $| Q _ { j } ( \mathbf { x } ) | \leq n B + \epsilon _ { 1 } \leq 2 n B$ . By Proposition 2, there exists a polynomial $q ( t )$ of degree at most $O \left( n B \log ( n B / \epsilon _ { 2 } ) \right)$ such that
282
+
283
+ $$
284
+ | \sigma ( Q _ { j } ( \mathbf x ) ) - q ( Q _ { j } ( \mathbf x ) ) | \le \epsilon _ { 2 } ,
285
+ $$
286
+
287
+ for all $\mathbf { x } \in \mathbb { B } ^ { d }$ and $1 \leq j \leq m$ .
288
+
289
+ Consider $\mathbf { q } \in \mathbb { R } ^ { m }$ as $\mathbf { q } = ( q ( Q _ { 1 } ( \mathbf { x } ) ) , q ( Q _ { 2 } ( \mathbf { x } ) ) , \dots , q ( Q _ { m } ( \mathbf { x } ) ) )$ . Then, for any $\mathbf { x } \in \mathbb { B } ^ { d }$ , we have
290
+
291
+ $$
292
+ \begin{array} { r l } & { \left| \left. \mathbf { w } _ { i } , \mathbf { y } \right. - \left. \mathbf { w } _ { i } , \mathbf { q } \right. \right| = \left| \left. \mathbf { w } _ { i } , \mathbf { y } - \mathbf { q } \right. \right| } \\ & { \qquad \leq \left\| \mathbf { w } _ { i } \right\| \left\| \mathbf { y } - \mathbf { q } \right\| } \\ & { \qquad \leq B \left( \displaystyle \sum _ { j = 1 } ^ { m } ( y _ { j } - q ( Q _ { j } ( \mathbf { x } ) ) ) ^ { 2 } \right) ^ { 1 / 2 } } \\ & { \qquad \leq B \sqrt { m } \left( \epsilon _ { 1 } + \epsilon _ { 2 } \right) } \\ & { \qquad \leq B \sqrt { n } \left( \epsilon _ { 1 } + \epsilon _ { 2 } \right) . } \end{array}
293
+ $$
294
+
295
+ Again by Proposition 2, there is a polynomial $p$ of degree at most $O \left( n B \log ( n B / \epsilon ) \right)$ such that $| \sigma ( \langle \mathbf { w } _ { i } , \mathbf { q } \rangle ) - p ( \langle \mathbf { w } _ { i } , \mathbf { q } \rangle ) | \leq \epsilon$ , for all $\dot { \mathbf { x } } \in \mathbb { B } ^ { d }$ and $1 \leq i \leq n$ . This is because $| \langle \mathbf { w } _ { i } , \mathbf { q } \rangle | = O ( n B )$ .
296
+
297
+ Let’s define $\begin{array} { r } { P ( \mathbf { x } ) = \sum _ { i = 1 } ^ { n } a _ { i } p ( \langle \mathbf { w } _ { i } , \mathbf { q } \rangle ) } \end{array}$ . Therefore, for any $\mathbf { x } \in \mathbb { B } ^ { d }$ ,
298
+
299
+ $$
300
+ \begin{array} { l } { \displaystyle | F ( \mathbf x ) - P ( \mathbf x ) | = \left| \displaystyle \sum _ { i = 1 } ^ { n } a _ { i } \sigma \big ( \langle \mathbf w _ { i } , \mathbf y \rangle \big ) - \displaystyle \sum _ { i = 1 } ^ { n } a _ { i } p \big ( \langle \mathbf w _ { i } , \mathbf q \rangle \big ) \right| } \\ { \displaystyle \leq \displaystyle \sum _ { i = 1 } ^ { n } \big | a _ { i } \big | | \sigma \big ( \langle \mathbf w _ { i } , \mathbf y \rangle \big ) - p \big ( \langle \mathbf w _ { i } , \mathbf q \rangle \big ) | } \\ { \displaystyle \leq \displaystyle \sum _ { i = 1 } ^ { n } \big | a _ { i } \big | \big ( | \sigma \big ( \langle \mathbf w _ { i } , \mathbf y \rangle \big ) - \sigma \big ( \langle \mathbf w _ { i } , \mathbf q \rangle \big ) \big | + | \sigma \big ( \langle \mathbf w _ { i } , \mathbf q \rangle \big ) - p \big ( \langle \mathbf w _ { i } , \mathbf q \rangle \big ) \big | \big ) } \\ { \displaystyle \leq \displaystyle \sum _ { i = 1 } ^ { n } a _ { i } \big | \big ( | \langle \mathbf w _ { i } , \mathbf y \rangle - \langle \mathbf w _ { i } , \mathbf q \rangle | + \epsilon \big ) } \\ { \displaystyle \leq n B \big ( B \sqrt { n } ( \epsilon _ { 1 } + \epsilon _ { 2 } ) + \epsilon \big ) } \\ { \displaystyle \leq \delta , } \end{array}
301
+ $$
302
+
303
+ if we use $\epsilon _ { 1 } = \epsilon _ { 2 } = \delta / 3 n ^ { 3 / 2 } B ^ { 2 }$ and $\epsilon = \delta / 3 n B$ .
304
+
305
+ $P ( \mathbf { x } )$ is a $d$ -variate polynomial of degree
306
+
307
+ $$
308
+ \deg ( P ) \leq \deg ( p ) \deg ( q ) \cdot \deg ( Q _ { j } ) = O \left( ( n B ) ^ { k } \log ^ { k } \left( n B / \delta \right) \right) ,
309
+ $$
310
+
311
+ in each variable.
parse/train/SJICXeWAb/SJICXeWAb_content_list.json ADDED
@@ -0,0 +1,1556 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "DEPTH SEPARATION AND WEIGHT-WIDTH TRADE-OFFSFOR SIGMOIDAL NEURAL NETWORKS",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 176,
8
+ 99,
9
+ 823,
10
+ 146
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Anonymous authors Paper under double-blind review ",
17
+ "bbox": [
18
+ 183,
19
+ 170,
20
+ 398,
21
+ 198
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "ABSTRACT ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 454,
31
+ 234,
32
+ 544,
33
+ 250
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "Some recent work has shown separation between the expressive power of depth-2 and depth-3 neural networks. These separation results are shown by constructing functions and input distributions, so that the function is well-approximable by a depth-3 neural network of polynomial size but it cannot be well-approximated under the chosen input distribution by any depth-2 neural network of polynomial size. These results are not robust and require carefully chosen functions as well as input distributions. ",
40
+ "bbox": [
41
+ 233,
42
+ 267,
43
+ 764,
44
+ 364
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "We show a similar separation between the expressive power of depth-2 and depth3 sigmoidal neural networks over a large class of input distributions, as long as the weights are polynomially bounded. While doing so, we also show that depth2 sigmoidal neural networks with small width and small weights can be wellapproximated by low-degree multivariate polynomials. ",
51
+ "bbox": [
52
+ 233,
53
+ 367,
54
+ 764,
55
+ 436
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "1 INTRODUCTION ",
62
+ "text_level": 1,
63
+ "bbox": [
64
+ 176,
65
+ 465,
66
+ 336,
67
+ 481
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Understanding the remarkable success of deep neural networks in many domains is an important problem at present (e.g., LeCun et al. (2015)). This problem has many facets such as understanding generalization, expressive power, optimization algorithms in deep learning. In this paper, we focus on the question of understanding the expressive power of neural networks. In other words, we study what functions can and cannot be represented and approximated by neural networks of bounded size, depth, width and weights. ",
74
+ "bbox": [
75
+ 174,
76
+ 497,
77
+ 825,
78
+ 580
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "The early results on the expressive power of neural networks showed that the depth-2 neural networks are universal approximators; that is to say, with only mild restrictions on the activation functions or neurons, the depth-2 neural networks are powerful enough to uniformly approximate arbitrary continuous functions on bounded domains in $\\mathbb { R } ^ { d }$ , e.g., Cybenko (1989); Hornik et al. (1989); Barron (1994). However, the bounds that they provide on the size or width of these neural networks are quite general, and therefore, weak. Understanding what functions can be represented or wellapproximated by neural networks with bounded parameters is a general direction in the study of expressive power of neural networks. Here the parameters could mean the number of neurons, the width of hidden layers, the depth, and the magnitude of its weights etc. ",
85
+ "bbox": [
86
+ 174,
87
+ 588,
88
+ 825,
89
+ 713
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "Natural signals (images, speech etc.) tend to be representable as compositional hierarchies LeCun et al. (2015), and deeper networks can be thought of as representing deeper hierarchies. The power of depth has been a subject of investigation in deep learning, e.g., He et al. (2016). We are interested in understanding the effect of depth on the expressive power. In particular, one may ask whether having more depth allows representation of more functions if the size bound remains the same. ",
96
+ "bbox": [
97
+ 174,
98
+ 719,
99
+ 823,
100
+ 790
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "Eldan & Shamir (2016) show a separation between depth-2 and depth-3 neural networks. More precisely, they exhibit a function $\\dot { g } : \\mathbb { R } ^ { d } \\mathbb { R }$ and a probability distribution $\\mu$ on $\\mathbb { R } ^ { d }$ such that $g$ is bounded and supported on a ball of radius $O ( { \\sqrt { d } } )$ and expressible by a depth-3 network of size polynomially bounded in $d$ . But any depth-2 network approximating $g$ in $L _ { 2 }$ -norm (or squared error) within a small constant under the distribution $\\mu$ must be of size exponentially large in $d$ . Their separation works for all reasonable activation functions including ReLUs (Rectified Linear Units) and sigmoids. The function and the input distribution in Eldan & Shamir (2016) are carefully constructed and their proof techniques seem to crucially rely on the specifics of these constructions. Building upon this result, Safran $\\&$ Shamir (2017) show that while the indicator function of the ",
107
+ "bbox": [
108
+ 174,
109
+ 796,
110
+ 825,
111
+ 924
112
+ ],
113
+ "page_idx": 0
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "$L _ { 2 }$ -ball can be well-approximated by depth-3 networks of polynomial size, any good approximation to it by depth-2 networks must require exponential size. Here, the notion of approximation in the lower bound is the same as in Eldan & Shamir (2016) and a carefully constructed distribution that is arguably not quite natural. ",
118
+ "bbox": [
119
+ 174,
120
+ 103,
121
+ 823,
122
+ 159
123
+ ],
124
+ "page_idx": 1
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "Daniely (2017) (see also Martens et al. (2013)) also gave a separation between depth-2 and depth-3 networks by exhibiting a function $g : \\mathbb { S } ^ { d - 1 } \\times \\mathbb { S } ^ { d - \\bar { 1 } } \\to R$ which can be well-approximated by a depth-3 ReLU neural network of polynomially bounded size and weights but cannot be approximated by any depth-2 (sigmoid, ReLU or more general) neural network of polynomial size with (exponentially) bounded weights. This separation holds under uniform distribution on $\\mathbb { S } ^ { d - 1 } \\times \\mathbb { S } ^ { d - 1 }$ , which is more natural than the previous distributions. However, the proof technique crucially uses harmonic analysis on the unit sphere, and does not seems robust or applicable to other distributions. ",
129
+ "bbox": [
130
+ 174,
131
+ 166,
132
+ 825,
133
+ 263
134
+ ],
135
+ "page_idx": 1
136
+ },
137
+ {
138
+ "type": "text",
139
+ "text": "Telgarsky (2016) shows a separation between depth- $\\cdot 2 k ^ { 3 } + 8$ and depth- $k$ ReLU neural networks, for any positive integer $k$ , when the input is uniformly distributed over $[ - 1 , 1 ] ^ { d }$ . Liang & Srikant (2017) (see also Safran & Shamir (2017); Yarotsky (2016)) show that there are univariate functions on a bounded interval such that neural networks of constant depth require size at least $\\Omega \\left( \\mathrm { p o l y } ( 1 / \\epsilon ) \\right)$ ) for a uniform $\\epsilon$ -approximation over the interval, whereas deep networks (the depth can depend on $\\epsilon$ ) can have size ${ \\cal O } \\left( \\mathrm { p o l y l o g } ( 1 / \\epsilon ) \\right)$ . ",
140
+ "bbox": [
141
+ 174,
142
+ 270,
143
+ 825,
144
+ 356
145
+ ],
146
+ "page_idx": 1
147
+ },
148
+ {
149
+ "type": "text",
150
+ "text": "The above separation results all fit the following template: certain carefully constructed functions can be well approximated by deep networks, but are hard to approximate by shallow networks using a notion of error that uses a carefully defined distribution. (Only Liang & Srikant (2017) is distribution-independent as it deals with uniform approximation everywhere in the domain). Thus these results do not tell us the extent to which deeper networks are more expressive than the shallow ones. We would like to understand whether there are large classes of functions and distributions that witness the separation between deep and shallow networks. An answer to this question is also more likely to shed light on practical applications of neural networks. Shamir (2016); Shalev-Shwartz et al. (2017); Song et al. (2017) show that even functions computed by a depth-2 neural network of polynomial size can be hard to learn using gradient descent type of algorithms for a wide class of distributions. These results address questions about learnability rather than the expressive power of deep neural networks. ",
151
+ "bbox": [
152
+ 174,
153
+ 361,
154
+ 825,
155
+ 527
156
+ ],
157
+ "page_idx": 1
158
+ },
159
+ {
160
+ "type": "text",
161
+ "text": "Hanin (2017) shows that piecewise affine functions on $[ 0 , 1 ] ^ { d }$ with $N$ pieces can be exactly represented by a width $( d + 3 )$ network of depth at most $N$ . Lower bound of $\\Omega ( ( N + d - 1 ) / ( d + 1 ) )$ on the depth is proven for functions of the above type when the network has width at most $( d + 1 )$ and very closely approximates the function. ",
162
+ "bbox": [
163
+ 174,
164
+ 535,
165
+ 825,
166
+ 590
167
+ ],
168
+ "page_idx": 1
169
+ },
170
+ {
171
+ "type": "text",
172
+ "text": "Our depth separation results apply to neural networks with bounds on the magnitudes of the weights. While we would prefer to prove our results without any weight restrictions, we now argue that small weights are natural. In training neural networks, often weights are not allowed to be too large to avoid overfitting. Weight decay is a commonly used regularization heuristic in deep learning to control the weights. Early stopping can also achieve this effect. Another motivation to keep the weights low is to keep the Lipschitz constant of the function computed by the network (w.r.t. changes in the input, while keeping the network parameters fixed) small. Goodfellow et al. (2016) contains many of these references. One of the surprising discoveries about neural networks has been the existence of adversarial examples (Szegedy et al. (2013)). These are examples obtained by adding a tiny perturbation to input from class so that the resulting input is misclassified by the network. The perturbations are imperceptible to humans. Existence of such examples for a network suggests that the Lipschitz constant of the network is high as noted in Szegedy et al. (2013). This lead them to suggest regularizing training of neural nets by penalizing high Lipschitz constant to improve the generalization error and, in particular, eliminate adversarial examples. This is carried out in Cisse et al. (2017), who find a way to control the Lipschitz constant by enforcing an orthonormality´ constraint on the weight matrices along with other tricks. They report better resilience to adversarial examples. On the other hand, Neyshabur et al. (2017) suggest that Lipschitz constant cannot tell the full story about generalization. ",
173
+ "bbox": [
174
+ 173,
175
+ 598,
176
+ 825,
177
+ 848
178
+ ],
179
+ "page_idx": 1
180
+ },
181
+ {
182
+ "type": "text",
183
+ "text": "2 OUR RESULTS ",
184
+ "text_level": 1,
185
+ "bbox": [
186
+ 174,
187
+ 102,
188
+ 323,
189
+ 118
190
+ ],
191
+ "page_idx": 2
192
+ },
193
+ {
194
+ "type": "text",
195
+ "text": "We exhibit a simple function (derived from Daniely (2017)) over the unit ball $\\mathbb { B } ^ { d }$ in $d$ -dimensions can be well-approximated by a depth-3 sigmoidal neural network with size and weights polynomially bounded in $d$ . However, its any reasonable approximation using a depth-2 sigmoidal neural network with polynomially bounded weights must have size exponentially large in $d$ . ",
196
+ "bbox": [
197
+ 174,
198
+ 133,
199
+ 823,
200
+ 190
201
+ ],
202
+ "page_idx": 2
203
+ },
204
+ {
205
+ "type": "text",
206
+ "text": "Our separation is robust and works for a general class of input distributions, as long as their density is at least $1 / \\mathrm { p o l y } ( d )$ on some small ball of radius $1 / \\mathrm { p o l y } ( \\bar { d } )$ in $\\mathbb { B } ^ { d }$ . The function we use can also be replaced by many other functions that are polynomially-Lipschitz but not close to any low-degree polynomial. ",
207
+ "bbox": [
208
+ 173,
209
+ 196,
210
+ 825,
211
+ 253
212
+ ],
213
+ "page_idx": 2
214
+ },
215
+ {
216
+ "type": "text",
217
+ "text": "As a by-product of our argument, we also show that constant-depth sigmoidal neural networks are well-approximated by low-degree multivariate polynomials (with a degree bound that allows the depth separation mentioned above). ",
218
+ "bbox": [
219
+ 174,
220
+ 258,
221
+ 825,
222
+ 301
223
+ ],
224
+ "page_idx": 2
225
+ },
226
+ {
227
+ "type": "text",
228
+ "text": "3 POLYNOMIAL APPROXIMATIONS TO SIGMOIDAL NEURAL NETWORKS",
229
+ "text_level": 1,
230
+ "bbox": [
231
+ 171,
232
+ 323,
233
+ 774,
234
+ 339
235
+ ],
236
+ "page_idx": 2
237
+ },
238
+ {
239
+ "type": "text",
240
+ "text": "In this section, we show that a sigmoid neuron can be well-approximated by a low-degree polynomial. As a corollary, we show that depth-2 (and in genenral, small-depth) sigmoidal neural networks can be well-approximated by low-degree multivariate polynomials. The main idea is to use Chebyshev polynomial approximation as in Shalev-Shwartz et al. (2011), which closely approximates the minimax polynomial (or the polynomial that has the smallest maximum deviation) to a given function. For the simplicity of presentation and arguments, we drop the bias term $b$ in the activation function $\\sigma ( \\langle { \\bf w } , { \\bf x } \\rangle { } ^ { - } + b )$ . This is without loss of generality, as explained at the end of the last section. ",
241
+ "bbox": [
242
+ 173,
243
+ 353,
244
+ 825,
245
+ 453
246
+ ],
247
+ "page_idx": 2
248
+ },
249
+ {
250
+ "type": "text",
251
+ "text": "3.1 POLYNOMIAL APPROXIMATION TO A SIGMOID NEURON ",
252
+ "text_level": 1,
253
+ "bbox": [
254
+ 174,
255
+ 470,
256
+ 596,
257
+ 484
258
+ ],
259
+ "page_idx": 2
260
+ },
261
+ {
262
+ "type": "text",
263
+ "text": "The activation function of a sigmoid neuron $\\sigma : \\mathbb { R } \\mathbb { R }$ is defined as ",
264
+ "bbox": [
265
+ 173,
266
+ 494,
267
+ 624,
268
+ 511
269
+ ],
270
+ "page_idx": 2
271
+ },
272
+ {
273
+ "type": "equation",
274
+ "img_path": "images/5b98b6eab3a683e4c1574632514f4f429cfe5fd2693f071725e7463eae8a2272.jpg",
275
+ "text": "$$\n\\sigma ( t ) = \\frac { 1 } { 1 + \\exp ( - t ) } .\n$$",
276
+ "text_format": "latex",
277
+ "bbox": [
278
+ 426,
279
+ 517,
280
+ 571,
281
+ 550
282
+ ],
283
+ "page_idx": 2
284
+ },
285
+ {
286
+ "type": "text",
287
+ "text": "Chebyshev polynomials of the first kind $\\{ T _ { j } ( t ) \\} _ { j \\geq 0 }$ are defined recursively as $T _ { 0 } ( t ) = 1$ , $T _ { 1 } ( t ) = t$ , and $\\dot { T } _ { j + 1 } ( t ) = 2 t \\cdot T _ { j } ( t ) - T _ { j - 1 } ( t )$ . They form an orthonormal basis of polynomials over $[ - 1 , 1 ]$ with respect to the density $\\textstyle \\sum _ { j = 0 } ^ { \\infty } c _ { j } T _ { j } ( t )$ over $[ - 1 , 1 ]$ is g iven b y $1 / \\sqrt { 1 - t ^ { 2 } }$ . The coefficient $c _ { j }$ in the Chebyshev expansion of $\\sigma ( w t ) =$ ",
288
+ "bbox": [
289
+ 173,
290
+ 564,
291
+ 825,
292
+ 625
293
+ ],
294
+ "page_idx": 2
295
+ },
296
+ {
297
+ "type": "equation",
298
+ "img_path": "images/9852c269bae9c6f495b567adab16af9e80926d06eb49c0bf4bae2e886610f91b.jpg",
299
+ "text": "$$\nc _ { j } = \\frac { 1 + { \\bf 1 } ( j > 0 ) } { \\pi } \\int _ { - 1 } ^ { 1 } \\frac { \\sigma ( w t ) T _ { j } ( t ) } { \\sqrt { 1 - t ^ { 2 } } } d t .\n$$",
300
+ "text_format": "latex",
301
+ "bbox": [
302
+ 366,
303
+ 633,
304
+ 632,
305
+ 671
306
+ ],
307
+ "page_idx": 2
308
+ },
309
+ {
310
+ "type": "text",
311
+ "text": "Proposition 1 (see Lemma B.1 in Shalev-Shwartz et al. (2011)) bounds the magnitude of coefficients $c _ { j }$ in the Chebyshev expansion of $\\begin{array} { r } { \\sigma ( w t ) = \\sum _ { j = 0 } ^ { \\infty } c _ { j } T _ { j } ( t ) } \\end{array}$ . ",
312
+ "bbox": [
313
+ 173,
314
+ 684,
315
+ 821,
316
+ 715
317
+ ],
318
+ "page_idx": 2
319
+ },
320
+ {
321
+ "type": "text",
322
+ "text": "Proposition 1. For any $j > 1$ , the coefficient $c _ { j }$ in the Chebyshev expansion of a sigmoid neuron $\\sigma ( w t )$ is bounded by ",
323
+ "bbox": [
324
+ 176,
325
+ 718,
326
+ 821,
327
+ 747
328
+ ],
329
+ "page_idx": 2
330
+ },
331
+ {
332
+ "type": "equation",
333
+ "img_path": "images/8451b801bcfb39f765b7d49a29a457a2e54e48561d4cd9436619a1b1220a8fcb.jpg",
334
+ "text": "$$\n| c _ { j } | \\le \\left( \\frac { 4 } { | w | } + \\frac { 2 } { \\pi } \\right) \\left( 1 + \\frac { \\pi } { | w | } \\right) ^ { - j } .\n$$",
335
+ "text_format": "latex",
336
+ "bbox": [
337
+ 380,
338
+ 746,
339
+ 617,
340
+ 784
341
+ ],
342
+ "page_idx": 2
343
+ },
344
+ {
345
+ "type": "text",
346
+ "text": "Proposition 1 implies low-degree polynomial approximation to sigmoid neurons as follows. This observation appeared in Shalev-Shwartz et al. (2011) (see equation (B.7) in their paper). For completeness, we give the proof in Appendix A. ",
347
+ "bbox": [
348
+ 174,
349
+ 794,
350
+ 825,
351
+ 837
352
+ ],
353
+ "page_idx": 2
354
+ },
355
+ {
356
+ "type": "text",
357
+ "text": "Proposition 2. Given any $w ~ \\in ~ \\mathbb { R }$ with $| w | \\ \\leq \\ B$ , there exists a polynomial $p$ of degree ${ \\cal O } \\left( B \\log \\left( B / \\epsilon \\right) \\right)$ such that $| \\sigma ( w t ) - p ( t ) | \\leq \\dot { \\epsilon } ,$ for all $t \\in [ - 1 , 1 ]$ . ",
358
+ "bbox": [
359
+ 173,
360
+ 840,
361
+ 823,
362
+ 871
363
+ ],
364
+ "page_idx": 2
365
+ },
366
+ {
367
+ "type": "text",
368
+ "text": "We use this $O \\left( \\log ( 1 / \\epsilon ) \\right)$ dependence in the above bound crucially in some of our results, e.g., a weaker version of Daniely’s separation result for depth-2 and depth-3 neural networks. Notice that this logarithmic dependence does not hold for a ReLU neuron; it is $O ( 1 / \\epsilon )$ instead. ",
369
+ "bbox": [
370
+ 174,
371
+ 881,
372
+ 825,
373
+ 924
374
+ ],
375
+ "page_idx": 2
376
+ },
377
+ {
378
+ "type": "text",
379
+ "text": "A depth-2 sigmoidal neural network on input $t \\in [ - 1 , 1 ]$ computes a linear combination of sigmoidal neurons $\\sigma ( w _ { 1 } t ) , \\sigma ( w _ { 2 } t ) , \\ldots , \\sigma ( w _ { n } \\bar { t } )$ , for $w _ { 1 } , w _ { 2 } , \\ldots , w _ { n } \\in \\mathbb { R }$ , and computes a function $f : [ - 1 , 1 ] \\to \\mathbb { R }$ given by ",
380
+ "bbox": [
381
+ 173,
382
+ 130,
383
+ 825,
384
+ 174
385
+ ],
386
+ "page_idx": 3
387
+ },
388
+ {
389
+ "type": "equation",
390
+ "img_path": "images/25f764f0ac5e279bbe4c9de07f6ca48533f367400ead6d5497ce55b690c78c34.jpg",
391
+ "text": "$$\nf ( t ) = \\sum _ { i = 1 } ^ { n } a _ { i } \\sigma ( w _ { i } t )\n$$",
392
+ "text_format": "latex",
393
+ "bbox": [
394
+ 429,
395
+ 175,
396
+ 568,
397
+ 217
398
+ ],
399
+ "page_idx": 3
400
+ },
401
+ {
402
+ "type": "text",
403
+ "text": "Here are a few propositions on polynomial approximations to small-depth neural networks. For completeness, their proofs are included in Appendix A. ",
404
+ "bbox": [
405
+ 174,
406
+ 223,
407
+ 823,
408
+ 252
409
+ ],
410
+ "page_idx": 3
411
+ },
412
+ {
413
+ "type": "text",
414
+ "text": "Proposition 3 shows that a depth-2 sigmoidal neural network of bounded weights and width is close to a low-degree polynomial. ",
415
+ "bbox": [
416
+ 173,
417
+ 257,
418
+ 821,
419
+ 286
420
+ ],
421
+ "page_idx": 3
422
+ },
423
+ {
424
+ "type": "text",
425
+ "text": "Proposition 3. Let $f : [ - 1 , 1 ] \\to \\mathbb { R }$ be a function computed by a depth-2 sigmoidal neural network of width n and weights bounded by $B$ . Then $f$ is $\\delta$ -approximated (in $L _ { \\infty }$ -norm) over $[ - 1 , 1 ]$ by $a$ polynomial of degree $O \\left( B \\log \\left( n B ^ { 2 } / \\delta \\right) \\right)$ . ",
426
+ "bbox": [
427
+ 173,
428
+ 291,
429
+ 825,
430
+ 337
431
+ ],
432
+ "page_idx": 3
433
+ },
434
+ {
435
+ "type": "text",
436
+ "text": "Now consider a depth-2 sigmoidal neural network on input $\\textbf { x } \\in \\mathbb { B } ^ { d }$ , where $\\mathbb { B } ^ { d } = \\{ \\mathbf { x } \\in \\mathbb { R } ^ { d } \\quad :$ $\\| \\mathbf { x } \\| \\leq 1 \\}$ . It is given by a linear combination of sigmoidal activations applied to linear functions $\\left. \\mathbf { w } _ { 1 } , \\mathbf { x } \\right. , \\left. \\mathbf { w } _ { 2 } , \\mathbf { x } \\right. , \\ldots , \\left. \\mathbf { w } _ { n } , \\mathbf { x } \\right.$ (or affine functions when we have biases), for $\\mathbf { w } _ { 1 } , \\mathbf { w } _ { 2 } , \\ldots , \\mathbf { w } _ { n } \\in \\mathbb { R } ^ { d }$ and it computes a function $F : \\mathbb { B } ^ { d } \\mathbb { R }$ given by ",
437
+ "bbox": [
438
+ 173,
439
+ 351,
440
+ 825,
441
+ 409
442
+ ],
443
+ "page_idx": 3
444
+ },
445
+ {
446
+ "type": "equation",
447
+ "img_path": "images/95c652068e3430424bc5108bdc5a8ca4eff919ba3d7eddc724905039e9ffcbd6.jpg",
448
+ "text": "$$\nF ( \\mathbf { x } ) = \\sum _ { i = 1 } ^ { n } a _ { i } \\sigma ( \\left. \\mathbf { w } _ { i } , \\mathbf { x } \\right. )\n$$",
449
+ "text_format": "latex",
450
+ "bbox": [
451
+ 413,
452
+ 416,
453
+ 584,
454
+ 458
455
+ ],
456
+ "page_idx": 3
457
+ },
458
+ {
459
+ "type": "text",
460
+ "text": "Proposition 4 below is a multivariate version of Proposition 3. ",
461
+ "bbox": [
462
+ 171,
463
+ 465,
464
+ 580,
465
+ 481
466
+ ],
467
+ "page_idx": 3
468
+ },
469
+ {
470
+ "type": "text",
471
+ "text": "Proposition 4. Let $F : \\mathbb { B } ^ { d } \\mathbb { R }$ be a function computed by a depth-2 sigmoidal neural network with width $n$ and bounded weights, that is, $| a _ { i } | \\le B$ and $\\left\\| \\mathbf { w } _ { i } \\right\\| \\leq B$ , for $1 \\leq i \\leq n$ . Then $F$ is $\\delta$ - approximated (in $L _ { \\infty }$ -norm) over $\\mathbb { B } ^ { d }$ by a polynomial of degree $O \\left( B \\log \\left( n B ^ { 2 } / \\delta \\right) \\right)$ in $d$ variables given by the coordinates $\\mathbf { x } = \\left( x _ { 1 } , x _ { 2 } , \\ldots , x _ { d } \\right)$ . ",
472
+ "bbox": [
473
+ 173,
474
+ 486,
475
+ 825,
476
+ 546
477
+ ],
478
+ "page_idx": 3
479
+ },
480
+ {
481
+ "type": "text",
482
+ "text": "Note that its proof crucially uses the fact that Proposition 2 guarantees a low-degree polynomial that approximates a sigmoid neuron everywhere in $[ - 1 , 1 ]$ . ",
483
+ "bbox": [
484
+ 174,
485
+ 558,
486
+ 821,
487
+ 588
488
+ ],
489
+ "page_idx": 3
490
+ },
491
+ {
492
+ "type": "text",
493
+ "text": "A depth- $k$ sigmoidal neural network can be thought of as a composition – a depth-2 sigmoidal neural network on top, whose each input variable is a sigmoid applied to a depth- $\\left( k - 2 \\right)$ sigmoidal neural network. In other words, it computes a function $\\bar { F } : \\mathbb { B } ^ { d } \\overset { \\cdot \\cdot } { } \\mathbb { R }$ given by ",
494
+ "bbox": [
495
+ 174,
496
+ 593,
497
+ 825,
498
+ 636
499
+ ],
500
+ "page_idx": 3
501
+ },
502
+ {
503
+ "type": "equation",
504
+ "img_path": "images/76512ff0331b38f0f2104227da71e9af179931eb7895a5ba7ed0f4dde320a760.jpg",
505
+ "text": "$$\nF ( \\mathbf { x } ) = \\sum _ { i = 1 } ^ { n } a _ { i } \\sigma \\left( \\left. \\mathbf { w } _ { i } , \\mathbf { y } \\right. \\right) ,\n$$",
506
+ "text_format": "latex",
507
+ "bbox": [
508
+ 406,
509
+ 645,
510
+ 589,
511
+ 686
512
+ ],
513
+ "page_idx": 3
514
+ },
515
+ {
516
+ "type": "text",
517
+ "text": "where $\\mathbf { y } = ( y _ { 1 } , y _ { 2 } , \\dots y _ { m } )$ has each coordinate $y _ { j } = \\sigma ( F _ { j } ( \\mathbf { x } ) )$ , for $1 \\leq j \\leq m$ , such that each $F _ { i } : \\mathbb { B } ^ { d } \\mathbb { R }$ is a function computed by a depth- $\\left( k - 2 \\right)$ sigmoidal neural network. ",
518
+ "bbox": [
519
+ 173,
520
+ 695,
521
+ 823,
522
+ 727
523
+ ],
524
+ "page_idx": 3
525
+ },
526
+ {
527
+ "type": "text",
528
+ "text": "Now we show an interesting consequence, namely, any constant-depth sigmoidal neural network with polynomial width and polynomially bounded weights can be well-approximated by a lowdegree multivariate polynomial. The bounds presented in Proposition 5 are not optimal but the qualitative statement is interesting in contrast with the depth separation result. The growth of the degree of polynomial approximation is dependent on the widths of hidden layers and it is also the subtle reason why a depth separation result is still possible (when the weights are bounded). ",
529
+ "bbox": [
530
+ 173,
531
+ 732,
532
+ 825,
533
+ 818
534
+ ],
535
+ "page_idx": 3
536
+ },
537
+ {
538
+ "type": "text",
539
+ "text": "Proposition 5. Let $F : \\mathbb { B } ^ { d } \\mathbb { R }$ be a function computed by a depth- $k$ sigmoidal neural network of width at most $n$ in each layer and weights bounded by $B$ , then $F ( \\mathbf { x } )$ can be $\\delta$ -approximated (in $L _ { \\infty }$ -norm) over $\\mathbb { B } ^ { d }$ by a $d$ -variate polynomial of degree $O \\left( ( n B ) ^ { k } \\log ^ { k } { ( n B / \\delta ) } \\right)$ in each coordinate variable of $\\mathbf { x } = \\left( x _ { 1 } , x _ { 2 } , \\ldots , x _ { d } \\right)$ . ",
540
+ "bbox": [
541
+ 173,
542
+ 821,
543
+ 825,
544
+ 890
545
+ ],
546
+ "page_idx": 3
547
+ },
548
+ {
549
+ "type": "text",
550
+ "text": "Note that when $n$ and $B$ are polynomial in $d$ and the depth $k$ is constant, then this low-degree polynomial approximation also has degree polynomial in $d$ . ",
551
+ "bbox": [
552
+ 173,
553
+ 895,
554
+ 823,
555
+ 924
556
+ ],
557
+ "page_idx": 3
558
+ },
559
+ {
560
+ "type": "text",
561
+ "text": "4 $L _ { \\infty }$ -SEPARATION OF DEPTH-2 VS. DEPTH-3 SEPARATION FOR GENERAL INPUT DISTRIBUTIONS ",
562
+ "text_level": 1,
563
+ "bbox": [
564
+ 171,
565
+ 102,
566
+ 790,
567
+ 136
568
+ ],
569
+ "page_idx": 4
570
+ },
571
+ {
572
+ "type": "text",
573
+ "text": "Daniely shows that if $g : [ - 1 , 1 ] \\to \\mathbb { R }$ cannot be approximated by a polynomial of degree $O ( d ^ { 2 } )$ , then $\\mathring { G ^ { \\cdot } } \\mathbb { S } ^ { d - 1 } \\times \\mathbb { S } ^ { d - 1 } \\mathring { \\mathbb { R } }$ defined as $G ( \\mathbf { x } , \\mathbf { y } ) = \\bar { g ( \\mathbf { \\langle x , y \\rangle } ) }$ cannot be approximated by any depth2 neural network of polynomial size and (exponentially) bounded weights. Daniely shows this lower bound for a general neuron or activation function that includes sigmoids and ReLUs. Daniely then uses $G ( \\mathbf { x } , \\mathbf { y } ) { \\overset { \\cdot } { = } } \\ g ( \\langle \\mathbf { x } , \\mathbf { y } \\rangle ) = \\sin ( \\pi d ^ { 3 } \\left. \\mathbf { x } , \\mathbf { y } \\right. )$ which, on the other hand, is approximable by a depth-3 ReLU neural network with polynomial size and polynomially bounded weights. This gives a separation between depth-2 and depth-3 ReLU neural networks w.r.t. uniform distribution over $\\mathbb { S } ^ { d - 1 } \\times \\mathbb { S } ^ { d - 1 }$ . Daniely’s proof uses harmonic analysis on the unit sphere, and requires the uniform distribution on $\\mathbb { S } ^ { d - 1 } \\dot { \\times } \\mathbb { S } ^ { \\dot { d } - 1 }$ in a crucial way. ",
574
+ "bbox": [
575
+ 173,
576
+ 150,
577
+ 825,
578
+ 276
579
+ ],
580
+ "page_idx": 4
581
+ },
582
+ {
583
+ "type": "text",
584
+ "text": "We show a simple proof of separation between depth-2 and depth-3 sigmoidal neural networks that compute functions $\\mathbf { \\dot { \\boldsymbol { F } } } : \\mathbb { B } ^ { d } \\to \\mathbf { \\dot { \\mathbb { R } } }$ . Our proof works for a large class of distributions on $\\mathbb { B } ^ { d }$ but requires the weights to be polynomially bounded. ",
585
+ "bbox": [
586
+ 174,
587
+ 284,
588
+ 825,
589
+ 325
590
+ ],
591
+ "page_idx": 4
592
+ },
593
+ {
594
+ "type": "text",
595
+ "text": "The following lemma appears in Debao (1993). Assumption 1 in Eldan & Shamir (2016) and their version of this lemma for ReLU networks was used by Daniely (2017) in the proof of separation between the expressive power of depth-2 and depth-3 ReLU networks. ",
596
+ "bbox": [
597
+ 174,
598
+ 332,
599
+ 825,
600
+ 375
601
+ ],
602
+ "page_idx": 4
603
+ },
604
+ {
605
+ "type": "text",
606
+ "text": "Lemma 6. Let $f : [ - 1 , 1 ] \\to \\mathbb { R }$ be any $L$ -Lipschitz function. Then there exists a function $g :$ $[ - 1 , 1 ] \\to \\mathbb { R }$ computed by a depth-2 sigmoidal neural network such that ",
607
+ "bbox": [
608
+ 169,
609
+ 378,
610
+ 821,
611
+ 409
612
+ ],
613
+ "page_idx": 4
614
+ },
615
+ {
616
+ "type": "equation",
617
+ "img_path": "images/11337402465ca73498005d0513c9839ccd518058a1e07229c508b1be90d9c994.jpg",
618
+ "text": "$$\ng ( t ) = f ( 0 ) + \\sum _ { i = 1 } ^ { n } a _ { i } \\sigma ( w _ { i } t + b _ { i } ) ,\n$$",
619
+ "text_format": "latex",
620
+ "bbox": [
621
+ 385,
622
+ 415,
623
+ 609,
624
+ 457
625
+ ],
626
+ "page_idx": 4
627
+ },
628
+ {
629
+ "type": "text",
630
+ "text": "the width $n$ as well as the weights are bounded by poly $( L , 1 / \\epsilon )$ , and $| f ( t ) - g ( t ) | \\leq \\epsilon ,$ for all $t \\in [ - 1 , 1 ]$ . ",
631
+ "bbox": [
632
+ 173,
633
+ 462,
634
+ 823,
635
+ 492
636
+ ],
637
+ "page_idx": 4
638
+ },
639
+ {
640
+ "type": "text",
641
+ "text": "Now we are ready to show the separation between depth-2 and depth-3 sigmoidal neural networks. The main idea, similar to Daniely (2017), is to exhibit a function that is Lipschitz but far from any low-degree polynomial. The Lipschitz property helps in showing that our function can be wellapproximated by a depth-3 neural network of small size and small weights. However, being far from any low-degree polynomial, it cannot be approximated by any depth-2 neural network. ",
642
+ "bbox": [
643
+ 174,
644
+ 502,
645
+ 825,
646
+ 574
647
+ ],
648
+ "page_idx": 4
649
+ },
650
+ {
651
+ "type": "text",
652
+ "text": "Theorem 7. Consider the function $G : \\mathbb { B } ^ { d } \\mathbb { R }$ given by $G ( \\mathbf { x } ) = \\sin ( \\pi d ^ { 5 } \\left\\| \\mathbf { x } \\right\\| ^ { 2 } )$ . Then $G$ can be $\\delta$ -approximated (in $L _ { \\infty }$ -norm) by a depth-3 sigmoidal neural network of width and weights polynomially bounded in $d$ . However, any function $\\bar { F } : \\mathbb { B } ^ { d } \\mathbb { R }$ computed by a depth-2 sigmoidal neural network with weights $O ( d ^ { 2 } )$ cannot $\\delta$ -approximate $G$ even when its width $n$ is $2 ^ { O ( d ) }$ . ",
653
+ "bbox": [
654
+ 174,
655
+ 578,
656
+ 823,
657
+ 636
658
+ ],
659
+ "page_idx": 4
660
+ },
661
+ {
662
+ "type": "text",
663
+ "text": "By modifying the function to $G ( \\mathbf { x } ) = \\sin ( \\pi N \\left\\| \\mathbf { x } \\right\\| ^ { 2 } )$ , this lower bound with $L _ { \\infty }$ -norm holds for any distribution over $\\mathbf { \\mathbb { B } } ^ { d }$ whose support contains a radial line segment of length at least $1 / p o l y ( d )$ , by making $N = p o l y ( d )$ , for a large enough polynomial. ",
664
+ "bbox": [
665
+ 174,
666
+ 643,
667
+ 825,
668
+ 688
669
+ ],
670
+ "page_idx": 4
671
+ },
672
+ {
673
+ "type": "text",
674
+ "text": "Remark: Given any distribution $\\mu$ over $\\mathbb { B } ^ { d }$ whose probability density is at least $1 / p o l y ( d )$ on some small ball of radius $1 / p o l y ( d )$ , the lower bound or inapproximability by any depth-2 sigmoidal neural network can be made to work with $L _ { 2 }$ -norm (squared error), for a large enough $N = p o l y ( d )$ . ",
675
+ "bbox": [
676
+ 174,
677
+ 694,
678
+ 825,
679
+ 737
680
+ ],
681
+ "page_idx": 4
682
+ },
683
+ {
684
+ "type": "text",
685
+ "text": "Proof. First, we will show that $G ( \\mathbf { x } )$ can be well-approximated by a depth-3 sigmoidal neural network of polynomial size and weights. The idea is similar to Daniely’s construction for ReLU networks in Daniely (2017). By Lemma 6, there exists a function $f \\ \\stackrel { \\cdot } { : } \\ [ - 1 , 1 ] \\ \\ \\mathbb { R }$ computed by a depth-2 sigmoidal neural network of size and weights bounded by $\\mathrm { p o l y } ( d , 1 / \\epsilon )$ such that $\\left| t ^ { 2 } - f ( t ) \\right| \\le \\epsilon / 1 0 d ^ { 6 }$ , for all $t \\in [ - 1 , 1 ]$ . Thus, we can compute $x _ { i } ^ { 2 }$ for each coordinate of $\\mathbf { x }$ and add them up to get an $\\epsilon$ -approximation to $\\left\\| \\mathbf { x } \\right\\| ^ { 2 }$ over $\\mathbb { B } ^ { d }$ . That is, there exists a function $S : \\mathbb { B } ^ { d } \\mathbb { R }$ computed by a depth-2 sigmoidal neural network of size and weights bounded by poly $( d , 1 / \\epsilon )$ such that $\\left| S ( x ) - \\left\\| \\mathbf { x } \\right\\| ^ { 2 } \\right| \\leq \\epsilon / 1 0 d ^ { 5 }$ , for all $\\mathbf { x } \\in \\mathbb { B } ^ { d }$ . Again, by Lemma 6, we can approximate $\\sin ( \\pi d ^ { 3 } t )$ over [0, 1] using $f : [ - 1 , 1 ] \\to \\mathbb { R }$ computed by another depth-2 sigmoidal neural network with size and weights bounded by $\\mathrm { p o l y } ( d , 1 / \\epsilon )$ such that $\\left| \\sin ( \\pi d ^ { 3 } t ) - f ( t ) \\right| \\le \\epsilon / 2$ , for all $t \\in [ 0 , 1 ]$ . Note that the composition of these two depth-2 neural networks $f ( N ( \\mathbf { x } ) )$ gives a depth-3 neural network as the output of the hidden layer of the bottom network can be fed into the top network as inputs. ",
686
+ "bbox": [
687
+ 173,
688
+ 752,
689
+ 826,
690
+ 924
691
+ ],
692
+ "page_idx": 4
693
+ },
694
+ {
695
+ "type": "text",
696
+ "text": "",
697
+ "bbox": [
698
+ 169,
699
+ 103,
700
+ 805,
701
+ 118
702
+ ],
703
+ "page_idx": 5
704
+ },
705
+ {
706
+ "type": "equation",
707
+ "img_path": "images/eb09e3ab7495de08e20ea81f27906b4e76daca3e9c3f06ab427e2e8931a4db19.jpg",
708
+ "text": "$$\n\\begin{array} { r l } & { \\left| G ( \\mathbf { x } ) - f ( S ( \\mathbf { x } ) ) \\right| = \\left| \\sin ( \\pi d ^ { 5 } \\left\\| \\mathbf { x } \\right\\| ^ { 2 } ) - f ( S ( \\mathbf { x } ) ) \\right| } \\\\ & { \\qquad \\leq \\left| \\sin ( \\pi d ^ { 5 } \\left\\| \\mathbf { x } \\right\\| ^ { 2 } ) - f ( \\left\\| \\mathbf { x } \\right\\| ^ { 2 } ) \\right| + \\left| f ( \\left\\| \\mathbf { x } \\right\\| ^ { 2 } ) - f ( S ( \\mathbf { x } ) ) \\right| } \\\\ & { \\qquad \\leq \\epsilon / 2 + 4 d ^ { 5 } \\left| \\left\\| \\mathbf { x } \\right\\| ^ { 2 } - S ( \\mathbf { x } ) \\right| } \\end{array}\n$$",
709
+ "text_format": "latex",
710
+ "bbox": [
711
+ 178,
712
+ 125,
713
+ 671,
714
+ 208
715
+ ],
716
+ "page_idx": 5
717
+ },
718
+ {
719
+ "type": "equation",
720
+ "img_path": "images/cc06c404ad7154a9f9b679aa5a7fcfdb30bd689ca605acd6003d74fc8421e87d.jpg",
721
+ "text": "$$\n\\leq \\epsilon / 2 + 4 d ^ { 5 } \\cdot \\epsilon / 1 0 d ^ { 5 } \\leq \\epsilon .\n$$",
722
+ "text_format": "latex",
723
+ "bbox": [
724
+ 303,
725
+ 228,
726
+ 483,
727
+ 247
728
+ ],
729
+ "page_idx": 5
730
+ },
731
+ {
732
+ "type": "text",
733
+ "text": "Now we will show the lower bound. Consider any function $F : \\mathbb { B } ^ { d } \\mathbb { R }$ computed by a depth-2 sigmoidal neural network whose weights are bounded by $B \\ = \\ O ( d ^ { 2 } )$ and width is $n$ . Proposition 4 shows that there exists a $d$ -variate polynomial $P ( \\mathbf { x } )$ of degree $O \\left( B \\log ( n B ^ { 2 } / \\delta ) \\right) ~ =$ $O \\left( d ^ { 2 } \\log ( n / \\delta ) + d ^ { 2 } \\log d \\right)$ in each variable such that $| F ( \\mathbf { x } ) - P ( \\mathbf { x } ) | \\leq \\delta$ , for all $\\mathbf { x } \\in \\mathbb { B } ^ { d }$ . Let $\\mu$ be any measure on $\\mathbb { B } ^ { d }$ whose support contains some radial line segment of length at least $1 / \\mathrm { p o l y } ( d )$ in $\\mathbb { B } ^ { \\bar { d } }$ . In other words, there exists a unit vector $\\mathbf { u }$ such that the support of $\\mu$ intersects the radial set $\\{ \\mathbf { x } ~ \\in ~ \\mathbb { B } ^ { d } \\quad : \\quad \\mathbf { x } ~ = ~ t \\mathbf { u } $ , for some $t \\in [ - 1 , 1 ] \\}$ in some line segment of length at least $1 / \\mathrm { p o l y } ( d )$ . Then $P ( t \\mathbf { u } )$ is a univariate polynomial of degree $O ( d ^ { 3 } \\log ( \\bar { n } / \\delta ) + d ^ { 3 } \\log \\bar { d } )$ that $\\delta$ - approximates $F ( t \\mathbf { u } )$ , for all $t \\in [ - 1 , 1 ]$ . By Lemma 8, using $\\dot { D } = O \\big ( d ^ { 3 } \\log ( n / \\delta ) + d ^ { 3 } \\log d \\big )$ , $l = 1 / \\mathrm { p o l y } ( d )$ and $N = d ^ { 5 } / l$ , we get that if $n = 2 ^ { O ( d ) }$ , then there exists a $t _ { 0 } ~ \\in ~ [ - 1 , 1 ]$ such that $\\left| \\sin ( \\pi N t _ { 0 } ^ { 2 } ) - P ( t \\mathbf { u } ) \\right| \\geq 1$ . Therefore, by triangle inequality, $\\left| \\sin ( \\pi N \\left\\| t _ { 0 } \\mathbf { u } \\right\\| ^ { 2 } ) - F ( t _ { 0 } \\mathbf { u } ) \\right| \\geq$ $\\left| \\sin ( \\pi N t _ { 0 } ^ { 2 } ) - P ( t _ { 0 } { \\mathbf u } ) \\right| - | P ( t _ { 0 } { \\mathbf u } ) - F ( t _ { 0 } { \\mathbf u } ) | \\ge 1 - \\delta > \\delta _ { }$ , for $\\delta < 1 / 2$ . This means that $G ( \\mathbf { x } )$ cannot be well-approximated by any $F ( \\mathbf { x } )$ computed by a depth-2 neural network with polynomially bounded weights even when it has width $2 ^ { O ( d ) }$ . □ ",
734
+ "bbox": [
735
+ 173,
736
+ 262,
737
+ 825,
738
+ 479
739
+ ],
740
+ "page_idx": 5
741
+ },
742
+ {
743
+ "type": "text",
744
+ "text": "Now we show that the candidate function proposed by Daniely $g ( t ) = \\sin ( \\pi N t )$ , for large enough $N$ , is far from any low-degree polynomial w.r.t. any measure $\\mu$ on $[ - 1 , 1 ]$ with a reasonable support. ",
745
+ "bbox": [
746
+ 176,
747
+ 496,
748
+ 823,
749
+ 525
750
+ ],
751
+ "page_idx": 5
752
+ },
753
+ {
754
+ "type": "text",
755
+ "text": "Lemma 8. Let $p$ be any polynomial of degree $D$ and $\\mu$ be any measure on $[ - 1 , 1 ]$ whose support contains an interval of length at least $l$ . Then, for $N$ large enough to satisfy $N l > D + 3$ , there exists $t _ { 0 } \\in [ - 1 , 1 ]$ such that $\\mu ( t _ { 0 } ) > 0$ and $| \\mathrm { s i n } ( \\pi N t _ { 0 } ) - p ( t _ { 0 } ) | > 1 .$ . In other words, $\\sin ( \\pi N t )$ is 1-far (in $L _ { \\infty }$ -norm) from any polynomial of degree $D$ over interval $[ - 1 , 1 ]$ with measure $\\mu$ . ",
756
+ "bbox": [
757
+ 174,
758
+ 529,
759
+ 825,
760
+ 585
761
+ ],
762
+ "page_idx": 5
763
+ },
764
+ {
765
+ "type": "text",
766
+ "text": "Proof. Let $\\mu ( t ) > 0$ for some interval $[ a , a + l ] \\subseteq [ - 1 , 1 ]$ . Consider $S = \\{ t \\in [ a , a + l ] \\colon t =$ $- 1 + ( i + 1 / 2 ) / N$ , for some integer $i \\}$ . Then $S$ contains at least $N l - 2$ points where $\\sin ( \\pi N t )$ alternates as $\\pm 1$ . Any polynomial $p$ of degree $D$ cannot match the sign of $\\sin ( \\pi N t )$ on all the points in $S$ . Otherwise, by intermediate value theorem, $p$ must have at least $N l - 3$ roots between the points of $S$ , which means $D \\geq N l - 3$ , a contradiction. Thus, there exists $t _ { 0 } \\in S$ such that $p ( t _ { 0 } )$ and $\\sin ( \\pi N t _ { 0 } )$ have opposite signs. Since $\\sin ( \\pi N t ) = \\pm 1$ , for any $t \\in S$ , the sign mismatch implies $| \\mathrm { s i n } ( \\pi N t _ { 0 } ) - p ( t _ { 0 } ) | > 1$ . □ ",
767
+ "bbox": [
768
+ 173,
769
+ 599,
770
+ 825,
771
+ 699
772
+ ],
773
+ "page_idx": 5
774
+ },
775
+ {
776
+ "type": "text",
777
+ "text": "An important remark on biases: Even though we handled the case of sigmoid neurons without biases, the proof technique carries over to the sigmoid neurons with biases $\\bar { \\boldsymbol { \\sigma } } ( \\left. \\mathbf { w } , \\mathbf { x } \\right. + b )$ . The idea is to consider a new $( d + 1 )$ -dimensional input $\\mathbf { x } _ { \\mathrm { n e w } } = \\left( \\mathbf { x } , x _ { d + 1 } \\right) = \\left( x _ { 1 } , x _ { 2 } , \\ldots , x _ { d + 1 } \\right)$ with $x _ { d + 1 } = 1$ , and consider the new weight vector $\\mathbf { w } _ { \\mathrm { n e w } } = ( \\mathbf { w } , b )$ . Thus, $\\left. \\mathbf { w } _ { \\mathrm { n e w } } , \\mathbf { x } _ { \\mathrm { n e w } } \\right. = \\left. \\mathbf { w } , \\mathbf { x } \\right. + b$ . The new input lies on a $d$ -dimensional hyperplane slice of $\\mathbb { B } ^ { d + 1 }$ , so we need to look at the restriction of the input distribution $\\mu$ to this slice. Most of the ideas in our proofs generalize without any technical modifications. We defer the details to the full version. ",
778
+ "bbox": [
779
+ 173,
780
+ 714,
781
+ 825,
782
+ 811
783
+ ],
784
+ "page_idx": 5
785
+ },
786
+ {
787
+ "type": "text",
788
+ "text": "5 $L _ { 2 }$ -SEPARATION OF DEPTH-2 VS. DEPTH-3 SEPARATION FOR GENERAL INPUT DISTRIBUTIONS ",
789
+ "text_level": 1,
790
+ "bbox": [
791
+ 176,
792
+ 832,
793
+ 782,
794
+ 866
795
+ ],
796
+ "page_idx": 5
797
+ },
798
+ {
799
+ "type": "text",
800
+ "text": "In this section we show lower bounds under the $L _ { 2 }$ -norm. The theorem below gives a technical condition on the class of densities $\\mu$ on $\\mathbb { B } ^ { d }$ for which our lower bound holds. Let’s give an example to illustrate that the condition on density is reasonable: Let $K \\subset \\mathbb { B } ^ { d }$ be a convex set such that every point in $K$ is at least $r$ away from the boundary of $\\mathbb { B } ^ { d }$ (where $r = 1 / \\mathrm { p o l y } ( d )$ is a parameter). Further assume that (1) the probability mass of $K$ is at least a constant and (2) for every point in $K$ the probability density is within a constant factor of the uniform density on $K$ . Then our lower bound applies to $\\mu$ . ",
801
+ "bbox": [
802
+ 174,
803
+ 882,
804
+ 823,
805
+ 924
806
+ ],
807
+ "page_idx": 5
808
+ },
809
+ {
810
+ "type": "text",
811
+ "text": "",
812
+ "bbox": [
813
+ 174,
814
+ 102,
815
+ 825,
816
+ 160
817
+ ],
818
+ "page_idx": 6
819
+ },
820
+ {
821
+ "type": "text",
822
+ "text": "Theorem 9. Consider the function $G : \\mathbb { B } ^ { d } \\mathbb { R }$ given by $G ( \\mathbf { x } ) = \\sin ( \\pi N \\left\\| \\mathbf { x } \\right\\| ^ { 2 } )$ . Let $\\mu$ be any probability density over $\\mathbb { B } ^ { \\dot { d } }$ such that there exists a subset $C \\subseteq \\mathbb { B } ^ { d }$ satisfying the following two conditions: ",
823
+ "bbox": [
824
+ 173,
825
+ 162,
826
+ 825,
827
+ 207
828
+ ],
829
+ "page_idx": 6
830
+ },
831
+ {
832
+ "type": "text",
833
+ "text": "• The $r$ -interior of $C$ defined as $C ^ { \\prime } = \\{ \\mathbf { x } \\in C ~ : ~ \\mathbb { B } ( \\mathbf { x } , r ) \\subseteq C \\}$ contains at least $\\gamma$ fraction of the total probability mass for some $\\gamma > 0$ , i.e., $\\begin{array} { r } { \\int _ { C ^ { \\prime } } \\mu ( \\mathbf { x } ) d \\mathbf { x } \\geq \\gamma } \\end{array}$ . • For any affine line $\\ell$ , the induced probability density on every segment of length at least $r$ in the intersection $\\ell \\cap C$ is $( \\alpha , \\beta )$ -uniform, i.e., it is at least $\\alpha$ times and at most $\\beta$ times the uniform density on that segment. ",
834
+ "bbox": [
835
+ 212,
836
+ 215,
837
+ 825,
838
+ 297
839
+ ],
840
+ "page_idx": 6
841
+ },
842
+ {
843
+ "type": "text",
844
+ "text": "Let $F : \\mathbb { B } ^ { d } \\mathbb { R }$ be any function computed by a depth-2 sigmoidal neural network with weights bounded by $B$ and width $n$ . Then for any $0 < \\delta \\ll \\alpha \\gamma / 3 \\beta$ and $N \\gg ( B / r ^ { 2 } ) \\log ( n B ^ { 2 } / \\delta )$ , the function $F$ cannot $\\delta$ -approximate $G$ on $\\mathbb { B } ^ { d }$ under $L _ { 2 }$ -norm (squared error) under the probability density $\\mu$ . ",
845
+ "bbox": [
846
+ 174,
847
+ 306,
848
+ 825,
849
+ 364
850
+ ],
851
+ "page_idx": 6
852
+ },
853
+ {
854
+ "type": "text",
855
+ "text": "In particular, if $\\alpha , \\beta , \\gamma$ are constants, $B = p o l y ( d )$ , $n = 2 ^ { d }$ , and $r = 1 / p o l y ( d )$ , then it suffices to choose $N = p o l y ( d )$ for a sufficiently large degree polynomial. ",
856
+ "bbox": [
857
+ 174,
858
+ 369,
859
+ 821,
860
+ 400
861
+ ],
862
+ "page_idx": 6
863
+ },
864
+ {
865
+ "type": "text",
866
+ "text": "Proof. We show a lower bound on $L _ { 2 }$ -error of approximating $G ( \\mathbf { x } )$ with any multivariate polynomial $P : \\mathbb { B } ^ { d } \\mathbb { R }$ of degree $D$ under the distribution given by $\\mu$ on $\\mathbb { B } ^ { d }$ . For any fixed unit vector $\\mathbf { v }$ , consider $\\mathbf { u } \\in \\mathbb { B } ^ { d - 1 }$ orthogonal to $\\mathbf { v }$ and let $\\ell _ { \\mathbf { u } }$ be the affine line going through $\\mathbf { u }$ and parallel to the direction $\\mathbf { v }$ given by $\\ell _ { \\mathbf { u } } = \\{ \\mathbf { x } = \\mathbf { u } + t \\mathbf { v } ~ : ~ t \\in \\mathbb { R } \\}$ . ",
867
+ "bbox": [
868
+ 173,
869
+ 414,
870
+ 825,
871
+ 470
872
+ ],
873
+ "page_idx": 6
874
+ },
875
+ {
876
+ "type": "equation",
877
+ "img_path": "images/ad3d8d5d69dbb8813fb87c3d8d1dea223ed8a76a19bb7395cc6c147b12e585c1.jpg",
878
+ "text": "$$\n\\begin{array} { r l } { { \\int ( G ( \\mathbf { x } ) - P ( \\mathbf { x } ) ) ^ { 2 } \\mu ( \\mathbf { x } ) d \\mathbf { x } } } \\\\ & { \\ \\stackrel { \\mathrm { B } ^ { d } } { \\geq } } \\\\ & { \\ \\geq \\int ( G ( \\mathbf { x } ) - P ( \\mathbf { x } ) ) ^ { 2 } \\mu ( \\mathbf { x } ) d \\mathbf { x } } \\\\ & { \\ = \\displaystyle \\int \\int \\int ( G ( \\mathbf { u } + t \\mathbf { v } ) - P ( \\mathbf { u } + t \\mathbf { v } ) ) ^ { 2 } \\mu ( \\mathbf { u } + t \\mathbf { v } ) \\mathbb { I } _ { C } ( \\mathbf { u } , t ) d t d \\mathbf { u } } \\end{array}\n$$",
879
+ "text_format": "latex",
880
+ "bbox": [
881
+ 171,
882
+ 478,
883
+ 607,
884
+ 602
885
+ ],
886
+ "page_idx": 6
887
+ },
888
+ {
889
+ "type": "equation",
890
+ "img_path": "images/e11033117d375e74a7653766bc08f28c42b1a44afff55d63b3ca04418e14aaaf.jpg",
891
+ "text": "$$\n\\geq \\int _ { \\mathbb { R } ^ { d - 1 } } \\int _ { \\mathbb { R } } \\left( G ( \\mathbf { u } + t \\mathbf { v } ) - P ( \\mathbf { u } + t \\mathbf { v } ) \\right) ^ { 2 } \\mu ( \\mathbf { u } + t \\mathbf { v } ) \\mathbb { I } _ { \\tilde { C } } ( \\mathbf { u } , t ) d t d \\mathbf { u }\n$$",
892
+ "text_format": "latex",
893
+ "bbox": [
894
+ 176,
895
+ 641,
896
+ 606,
897
+ 683
898
+ ],
899
+ "page_idx": 6
900
+ },
901
+ {
902
+ "type": "equation",
903
+ "img_path": "images/070758b48eb3af8b10768a56a811e14f394e9b39622955a7ced3f888ee230e27.jpg",
904
+ "text": "$$\n\\begin{array} { r l } & { = \\frac { \\int _ { \\mathbb { R } ^ { d - 1 } } \\int _ { \\mathbb { R } } \\big ( G ( \\mathbf { u } + t \\mathbf { v } ) - P ( \\mathbf { u } + t \\mathbf { v } ) \\big ) ^ { 2 } \\mu ( \\mathbf { u } + t \\mathbf { v } ) \\mathbb { I } _ { \\boldsymbol { \\bar { C } } } ( \\mathbf { u } , t ) \\ d t d \\mathbf { u } } { \\int _ { \\mathbb { R } ^ { d - 1 } } \\int _ { \\mathbb { R } } \\mu ( \\mathbf { u } + t \\mathbf { v } ) \\mathbb { I } _ { \\boldsymbol { \\bar { C } } } ( \\mathbf { u } , t ) \\ d t d \\mathbf { u } } \\cdot \\displaystyle \\int _ { \\mathbb { R } ^ { d - 1 } } \\int _ { \\mathbb { R } } \\mu ( \\mathbf { u } + t \\mathbf { v } ) \\mathbb { I } _ { \\boldsymbol { \\bar { C } } } ( \\mathbf { u } , t ) \\ d t d \\mathbf { u } } \\\\ & { = \\frac { \\int _ { \\mathbb { R } ^ { d - 1 } } \\int _ { \\mathbb { R } } \\big ( G \\big ( \\mathbf { u } + t \\mathbf { v } \\big ) - P \\big ( \\mathbf { u } + t \\mathbf { v } \\big ) \\big ) ^ { 2 } \\mu ( \\mathbf { u } + t \\mathbf { v } ) \\mathbb { I } _ { \\boldsymbol { \\bar { C } } } ( \\mathbf { u } , t ) \\ d t d \\mathbf { u } } { \\int _ { \\mathbb { R } ^ { d - 1 } } \\int _ { \\mathbb { R } } \\mu ( \\mathbf { u } + t \\mathbf { v } ) \\int _ { \\mathbb { \\bar { C } } } ( \\mathbf { u } , t ) \\ d t d \\mathbf { u } } \\cdot \\displaystyle \\int _ { \\boldsymbol { C } ^ { \\prime } } \\mu ( \\mathbf { x } ) d \\mathbf { x } } \\end{array}\n$$",
905
+ "text_format": "latex",
906
+ "bbox": [
907
+ 181,
908
+ 722,
909
+ 839,
910
+ 815
911
+ ],
912
+ "page_idx": 6
913
+ },
914
+ {
915
+ "type": "equation",
916
+ "img_path": "images/b5550bdfb5acac3fe1b13f7cb8ad300c36438893c75aaf9805e550791eb90d01.jpg",
917
+ "text": "$$\n\\begin{array} { r l } & { \\displaystyle \\geq \\operatorname* { m i n } _ { { \\bf u } \\in { \\mathbb { R } } ^ { d - 1 } } \\frac { \\int _ { { \\mathbb { R } } } \\left( { \\cal G } ( { \\bf u } + t { \\bf v } ) - P ( { \\bf u } + t { \\bf v } ) \\right) ^ { 2 } \\mu ( { \\bf u } + t { \\bf v } ) \\mathbb { I } _ { { \\widetilde { \\cal C } } } ( { \\bf u } , t ) d t } { \\int _ { { \\mathbb { R } } } \\mu ( { \\bf u } + t { \\bf v } ) \\mathbb { I } _ { { \\widetilde { \\cal C } } } ( { \\bf u } , t ) d t } \\cdot \\displaystyle \\int _ { { \\cal C } ^ { \\prime } } \\mu ( { \\bf x } ) d { \\bf x } } \\\\ & { \\displaystyle \\geq \\operatorname* { m i n } _ { { \\bf u } \\in { \\mathbb { R } } ^ { d - 1 } } \\frac { \\alpha } { \\beta } \\cdot \\frac { \\int _ { { \\mathbb { R } } } \\left( { \\cal G } ( { \\bf u } + t { \\bf v } ) - P ( { \\bf u } + t { \\bf v } ) \\right) ^ { 2 } \\mathbb { I } _ { { \\widetilde { \\cal C } } } ( { \\bf u } , t ) d t } { \\int _ { { \\mathbb { R } } } \\mathbb { I } _ { { \\widetilde { \\cal C } } } ( { \\bf u } , t ) d t } \\cdot \\displaystyle \\int _ { { \\cal C } ^ { \\prime } } \\mu ( { \\bf x } ) d { \\bf x } } \\end{array}\n$$",
918
+ "text_format": "latex",
919
+ "bbox": [
920
+ 174,
921
+ 835,
922
+ 691,
923
+ 929
924
+ ],
925
+ "page_idx": 6
926
+ },
927
+ {
928
+ "type": "text",
929
+ "text": "because for any line $\\ell$ , the distribution induced by $\\mu ( \\mathbf { x } )$ along any line segment of length at least $r$ in the intersection $\\ell \\cap C$ is $( \\alpha , \\beta )$ -uniform, for any line $\\ell$ $\\geq { \\frac { \\alpha } { \\beta } } \\cdot { \\frac { \\gamma } { 3 } } .$ ",
930
+ "bbox": [
931
+ 174,
932
+ 103,
933
+ 823,
934
+ 169
935
+ ],
936
+ "page_idx": 7
937
+ },
938
+ {
939
+ "type": "text",
940
+ "text": "The last inequality is using the condition $\\begin{array} { r } { \\int _ { C ^ { \\prime } } \\mu ( \\mathbf { x } ) d \\mathbf { x } \\geq \\gamma } \\end{array}$ given in Theorem 9 and an adaptation of the following idea from Lemma 5 of Daniely (2017). For any fixed $\\mathbf { u }$ and $\\mathbf { v }$ , $G ( \\mathbf { u } + t \\mathbf { v } ) =$ $\\sin ( \\pi N ( \\left. \\lvert \\mathbf { u } \\right. \\rvert ^ { 2 } + t ^ { 2 } ) )$ and $P ( \\mathbf { u } + t \\mathbf { v } )$ is a polynomial of degree at most $D$ in $t$ . The function $\\sin ( \\pi N ( \\left. \\lvert \\mathbf { u } \\right. \\rvert ^ { 2 } + t ^ { 2 } ) )$ alternates its sign as $\\left\\| \\mathbf { u } \\right\\| ^ { 2 } + t ^ { 2 }$ takes values that are successive integer multiples of $1 / N$ . Consider $\\acute { s } = t ^ { 2 } \\in [ 0 , 1 ]$ and divide $[ 0 , 1 ]$ into $N$ disjoint segments using integer grid of step size $1 / N$ . For any polynomial $p ( s )$ of degree at most $D$ and any interval $I \\subseteq [ 0 , 1 ]$ of length $r \\gg D / N$ , there exists at least $N r - D - 2$ segments of length $1 / N$ each on which $\\sin ( \\pi N s )$ and $p ( s )$ do not change signs and have opposite signs. Now using $( \\sin ( \\pi N s ) - p ( s ) ) ^ { 2 } \\ge \\sin ^ { 2 } ( \\pi N s ) \\nonumber$ , integrating we get that $\\begin{array} { r } { \\int _ { I } ( \\sin ( \\pi N s ) - p ( s ) ) ^ { 2 } \\bar { d s } \\ge r / 2 } \\end{array}$ . Extending this proof to $t$ instead of $s = t ^ { 2 }$ , using $\\sin ^ { 2 } ( \\pi N t ^ { 2 } ) t \\leq \\sin ^ { 2 } ( \\pi N t )$ for all $t \\in [ 0 , 1 ]$ , and incorporating the shift $\\pi N \\left. \\mathbf { u } \\right. ^ { 2 }$ , we can similarly show that $\\begin{array} { r } { \\int _ { I } \\sin ^ { 2 } ( \\pi N ( \\left\\| \\mathbf { u } \\right\\| ^ { 2 } + t ^ { 2 } ) ) - P ( \\mathbf { u } + t \\mathbf { v } ) ) ^ { 2 } d t \\ge r / 3 } \\end{array}$ . Summing up over multiple such intervals gives the final inequality. □ ",
941
+ "bbox": [
942
+ 173,
943
+ 172,
944
+ 826,
945
+ 354
946
+ ],
947
+ "page_idx": 7
948
+ },
949
+ {
950
+ "type": "text",
951
+ "text": "The $L _ { 2 }$ separation between depth-2 and depth-3 neural networks under probability density $\\mu$ now follows by taking a small enough $\\delta$ , and combining the following ingredients (i) Proposition 4 says that any depth-2 sigmoid neural networks of width $n = 2 ^ { d }$ and weights bounded by $B = { \\mathfrak { p o l y } } ( d )$ can be $\\delta$ -approximated in $L _ { \\infty }$ (and hence, also $L _ { 2 }$ ) by a multivariate polynomials of degree $D = O ( B \\mathbf { \\bar { l o g } } ( n B ^ { 2 } / \\delta ) ) = \\mathrm { p o l y } ( d )$ , (ii) proof of Theorem 7 (initial part) says that $G ( \\mathbf { x } )$ can be $\\delta$ -approximated in $L _ { \\infty }$ (and hence, also $L _ { 2 }$ ) by a depth-3 sigmoid neural network of width and size $\\mathfrak { p o l y } ( d )$ , but (iii) Theorem 9 says that, for $N = { \\mathrm { p o l y } } ( d )$ of large enough degree, $G ( \\mathbf { x } )$ cannot be $3 \\delta$ -approximated in $L _ { 2 }$ by any multivariate polynomial of degree $D$ , and (iv) triangle inequality. ",
952
+ "bbox": [
953
+ 173,
954
+ 369,
955
+ 825,
956
+ 482
957
+ ],
958
+ "page_idx": 7
959
+ },
960
+ {
961
+ "type": "text",
962
+ "text": "REFERENCES ",
963
+ "text_level": 1,
964
+ "bbox": [
965
+ 176,
966
+ 502,
967
+ 285,
968
+ 517
969
+ ],
970
+ "page_idx": 7
971
+ },
972
+ {
973
+ "type": "text",
974
+ "text": "Andrew R. Barron. Approximation and estimation bounds for artificial neural networks. Machine Learning, 14(1):115–133, Jan 1994. ISSN 1573-0565. doi: 10.1007/BF00993164. URL https: //doi.org/10.1007/BF00993164. ",
975
+ "bbox": [
976
+ 174,
977
+ 526,
978
+ 825,
979
+ 568
980
+ ],
981
+ "page_idx": 7
982
+ },
983
+ {
984
+ "type": "text",
985
+ "text": "Moustapha Cisse, Piotr Bojanowski, Edouard Grave, Yann Dauphin, and Nicolas Usunier. Parseval ´ networks: Improving robustness to adversarial examples. In Proceedings of the 34th International Conference on Machine Learning, ICML 2017, Sydney, NSW, Australia, 6-11 August 2017, pp. 854–863, 2017. URL http://proceedings.mlr.press/v70/cisse17a.html. ",
986
+ "bbox": [
987
+ 173,
988
+ 575,
989
+ 825,
990
+ 632
991
+ ],
992
+ "page_idx": 7
993
+ },
994
+ {
995
+ "type": "text",
996
+ "text": "G. Cybenko. Approximation by superpositions of a sigmoidal function. Mathematics of Control, Signals and Systems, 2(4):303–314, Dec 1989. ISSN 1435-568X. doi: 10.1007/BF02551274. URL https://doi.org/10.1007/BF02551274. ",
997
+ "bbox": [
998
+ 176,
999
+ 641,
1000
+ 823,
1001
+ 684
1002
+ ],
1003
+ "page_idx": 7
1004
+ },
1005
+ {
1006
+ "type": "text",
1007
+ "text": "Amit Daniely. Depth separation for neural networks. In Proceedings of the 30th Conference on Learning Theory, COLT 2017, Amsterdam, The Netherlands, 7-10 July 2017, pp. 690–696, 2017. URL http://proceedings.mlr.press/v65/daniely17a.html. ",
1008
+ "bbox": [
1009
+ 174,
1010
+ 691,
1011
+ 823,
1012
+ 734
1013
+ ],
1014
+ "page_idx": 7
1015
+ },
1016
+ {
1017
+ "type": "text",
1018
+ "text": "Chen Debao. Degree of approximation by superpositions of a sigmoidal function. Approximation Theory and its Applications, 9(3):17–28, Sep 1993. ISSN 1573-8175. doi: 10.1007/BF02836480. URL https://doi.org/10.1007/BF02836480. ",
1019
+ "bbox": [
1020
+ 176,
1021
+ 742,
1022
+ 821,
1023
+ 785
1024
+ ],
1025
+ "page_idx": 7
1026
+ },
1027
+ {
1028
+ "type": "text",
1029
+ "text": "Ronen Eldan and Ohad Shamir. The power of depth for feedforward neural networks. In Proceedings of the 29th Conference on Learning Theory, COLT 2016, New York, USA, June 23-26, 2016, pp. 907–940, 2016. URL http://jmlr.org/proceedings/papers/v49/eldan16. html. ",
1030
+ "bbox": [
1031
+ 173,
1032
+ 792,
1033
+ 825,
1034
+ 849
1035
+ ],
1036
+ "page_idx": 7
1037
+ },
1038
+ {
1039
+ "type": "text",
1040
+ "text": "Ian Goodfellow, Yoshua Bengio, and Aaron Courville. Deep Learning. MIT Press, 2016. http: //www.deeplearningbook.org. ",
1041
+ "bbox": [
1042
+ 174,
1043
+ 858,
1044
+ 818,
1045
+ 887
1046
+ ],
1047
+ "page_idx": 7
1048
+ },
1049
+ {
1050
+ "type": "text",
1051
+ "text": "Boris Hanin. Universal function approximation by deep neural nets with bounded width and relu activations. CoRR, abs/1708.02691, 2017. URL http://arxiv.org/abs/1708.02691. ",
1052
+ "bbox": [
1053
+ 176,
1054
+ 895,
1055
+ 820,
1056
+ 924
1057
+ ],
1058
+ "page_idx": 7
1059
+ },
1060
+ {
1061
+ "type": "text",
1062
+ "text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In 2016 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2016, Las Vegas, NV, USA, June 27-30, 2016, pp. 770–778, 2016. doi: 10.1109/CVPR.2016.90. URL https://doi.org/10.1109/CVPR.2016.90. ",
1063
+ "bbox": [
1064
+ 174,
1065
+ 103,
1066
+ 823,
1067
+ 160
1068
+ ],
1069
+ "page_idx": 8
1070
+ },
1071
+ {
1072
+ "type": "text",
1073
+ "text": "Kurt Hornik, Maxwell Stinchcombe, and Halbert White. Multilayer feedforward networks are universal approximators. Neural Networks, 2(5):359 – 366, 1989. ISSN 0893-6080. doi: https://doi.org/10.1016/0893-6080(89)90020-8. URL http://www.sciencedirect. com/science/article/pii/0893608089900208. ",
1074
+ "bbox": [
1075
+ 174,
1076
+ 175,
1077
+ 823,
1078
+ 232
1079
+ ],
1080
+ "page_idx": 8
1081
+ },
1082
+ {
1083
+ "type": "text",
1084
+ "text": "Yann LeCun, Yoshua Bengio, and Geoffrey E. Hinton. Deep learning. Nature, 521(7553):436–444, 2015. doi: 10.1038/nature14539. URL https://doi.org/10.1038/nature14539. ",
1085
+ "bbox": [
1086
+ 176,
1087
+ 247,
1088
+ 823,
1089
+ 276
1090
+ ],
1091
+ "page_idx": 8
1092
+ },
1093
+ {
1094
+ "type": "text",
1095
+ "text": "Shiyu Liang and R. Srikant. Why deep neural networks for function approximation? In ICLR, 2017. ",
1096
+ "bbox": [
1097
+ 174,
1098
+ 291,
1099
+ 823,
1100
+ 306
1101
+ ],
1102
+ "page_idx": 8
1103
+ },
1104
+ {
1105
+ "type": "text",
1106
+ "text": "James Martens, Arkadev Chattopadhya, Toni Pitassi, and Richard Zemel. On the representational efficiency of restricted boltzmann machines. In C. J. C. Burges, L. Bottou, M. Welling, Z. Ghahramani, and K. Q. Weinberger (eds.), Advances in Neural Information Processing Systems 26, pp. 2877–2885. Curran Associates, Inc., 2013. URL http://papers.nips.cc/paper/ 5020-on-the-representational-efficiency-of-restricted-boltzmann-machines. pdf. ",
1107
+ "bbox": [
1108
+ 173,
1109
+ 321,
1110
+ 908,
1111
+ 406
1112
+ ],
1113
+ "page_idx": 8
1114
+ },
1115
+ {
1116
+ "type": "text",
1117
+ "text": "Behnam Neyshabur, Srinadh Bhojanapalli, David McAllester, and Nathan Srebro. Exploring generalization in deep learning. CoRR, abs/1706.08947, 2017. URL http://arxiv.org/abs/ 1706.08947. ",
1118
+ "bbox": [
1119
+ 174,
1120
+ 421,
1121
+ 826,
1122
+ 463
1123
+ ],
1124
+ "page_idx": 8
1125
+ },
1126
+ {
1127
+ "type": "text",
1128
+ "text": "Itay Safran and Ohad Shamir. Depth-width tradeoffs in approximating natural functions with neural networks. In Proceedings of the 34th International Conference on Machine Learning, ICML 2017, Sydney, NSW, Australia, 6-11 August 2017, pp. 2979–2987, 2017. URL http://proceedings.mlr.press/v70/safran17a.html. ",
1129
+ "bbox": [
1130
+ 173,
1131
+ 479,
1132
+ 825,
1133
+ 536
1134
+ ],
1135
+ "page_idx": 8
1136
+ },
1137
+ {
1138
+ "type": "text",
1139
+ "text": "Shai Shalev-Shwartz, Ohad Shamir, and Karthik Sridharan. Learning kernel-based halfspaces with the 0-1 loss. SIAM J. Comput., 40(6):1623–1646, December 2011. ISSN 0097-5397. doi: 10. 1137/100806126. URL http://dx.doi.org/10.1137/100806126. ",
1140
+ "bbox": [
1141
+ 178,
1142
+ 551,
1143
+ 820,
1144
+ 594
1145
+ ],
1146
+ "page_idx": 8
1147
+ },
1148
+ {
1149
+ "type": "text",
1150
+ "text": "Shai Shalev-Shwartz, Ohad Shamir, and Shaked Shammah. Failures of gradient-based deep learning. In Proceedings of the 34th International Conference on Machine Learning, ICML 2017, Sydney, NSW, Australia, 6-11 August 2017, pp. 3067–3075, 2017. URL http://proceedings. mlr.press/v70/shalev-shwartz17a.html. ",
1151
+ "bbox": [
1152
+ 173,
1153
+ 609,
1154
+ 823,
1155
+ 666
1156
+ ],
1157
+ "page_idx": 8
1158
+ },
1159
+ {
1160
+ "type": "text",
1161
+ "text": "Ohad Shamir. Distribution-specific hardness of learning neural networks. CoRR, abs/1609.01037, 2016. URL http://arxiv.org/abs/1609.01037. ",
1162
+ "bbox": [
1163
+ 173,
1164
+ 681,
1165
+ 823,
1166
+ 710
1167
+ ],
1168
+ "page_idx": 8
1169
+ },
1170
+ {
1171
+ "type": "text",
1172
+ "text": "Le Song, Santosh Vempala, John Wilmes, and Bo Xie. On the complexity of learning neural networks. CoRR, abs/1707.04615, 2017. URL http://arxiv.org/abs/1707.04615. ",
1173
+ "bbox": [
1174
+ 173,
1175
+ 726,
1176
+ 823,
1177
+ 755
1178
+ ],
1179
+ "page_idx": 8
1180
+ },
1181
+ {
1182
+ "type": "text",
1183
+ "text": "Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian J. Goodfellow, and Rob Fergus. Intriguing properties of neural networks. CoRR, abs/1312.6199, 2013. URL http://arxiv.org/abs/1312.6199. ",
1184
+ "bbox": [
1185
+ 173,
1186
+ 770,
1187
+ 825,
1188
+ 813
1189
+ ],
1190
+ "page_idx": 8
1191
+ },
1192
+ {
1193
+ "type": "text",
1194
+ "text": "Matus Telgarsky. benefits of depth in neural networks. In Proceedings of the 29th Conference on Learning Theory, COLT 2016, New York, USA, June 23-26, 2016, pp. 1517–1539, 2016. URL http://jmlr.org/proceedings/papers/v49/telgarsky16.html. ",
1195
+ "bbox": [
1196
+ 174,
1197
+ 829,
1198
+ 823,
1199
+ 872
1200
+ ],
1201
+ "page_idx": 8
1202
+ },
1203
+ {
1204
+ "type": "text",
1205
+ "text": "Dmitry Yarotsky. Error bounds for approximations with deep relu networks. CoRR, abs/1610.01145, 2016. URL http://arxiv.org/abs/1610.01145. ",
1206
+ "bbox": [
1207
+ 176,
1208
+ 887,
1209
+ 823,
1210
+ 915
1211
+ ],
1212
+ "page_idx": 8
1213
+ },
1214
+ {
1215
+ "type": "text",
1216
+ "text": "A PROOFS OF POLYNOMIAL APPROXIMATIONS TO NEURAL NETWORKS ",
1217
+ "text_level": 1,
1218
+ "bbox": [
1219
+ 171,
1220
+ 103,
1221
+ 774,
1222
+ 118
1223
+ ],
1224
+ "page_idx": 9
1225
+ },
1226
+ {
1227
+ "type": "text",
1228
+ "text": "Proof of Proposition 2 ",
1229
+ "text_level": 1,
1230
+ "bbox": [
1231
+ 174,
1232
+ 133,
1233
+ 330,
1234
+ 148
1235
+ ],
1236
+ "page_idx": 9
1237
+ },
1238
+ {
1239
+ "type": "text",
1240
+ "text": "Proof. Consider the degree- $D$ approximation to $\\sigma ( w t )$ given by the first $D$ terms in its Chebyshev expansion. The error of this approximation for any $t \\in [ - 1 , 1 ]$ is bounded by ",
1241
+ "bbox": [
1242
+ 173,
1243
+ 162,
1244
+ 825,
1245
+ 194
1246
+ ],
1247
+ "page_idx": 9
1248
+ },
1249
+ {
1250
+ "type": "equation",
1251
+ "img_path": "images/ed2d0844e1613dc0991c7fc3e34b73021bd295c098bd05d2e45580e75287c654.jpg",
1252
+ "text": "$$\n\\begin{array} { r l } { { ( \\sigma ( w t ) - p ( \\ell ) | = | \\sum _ { j \\geq \\ell } \\varsigma _ { j } T _ { ( j ) } ( \\ell ) | } } \\\\ & { \\leq \\sum _ { j \\geq 0 } | \\varsigma _ { j } | } \\\\ & { \\leq ( \\frac { 4 } { | w | } + \\frac { 2 } { \\pi } ) \\sum _ { j > \\ell } ( 1 + \\frac { \\pi } { | w | } ) ^ { - \\beta } } \\\\ & { \\leq ( \\frac { 4 } { | w | } + \\frac { 2 } { \\pi } ) ( 1 + \\frac { \\pi } { | w | } ) ^ { - ( \\beta + 1 ) } \\sum _ { j = 0 } ^ { \\infty } ( 1 + \\frac { \\pi } { | w | } ) ^ { - \\beta } } \\\\ & { = ( \\frac { 4 } { | w | } + \\frac { 2 } { \\pi } ) ( 1 + \\frac { \\pi } { | w | } ) ^ { - ( \\beta + 1 ) } \\cdot \\frac { | w | } { \\frac { \\sqrt { w } } { 2 \\pi } ( 1 + \\frac { \\pi } { | w | } ) ^ { - \\beta } } } \\\\ & { = ( \\frac { 4 } { | w | } + \\frac { 2 } { \\pi } ) ( 1 + \\frac { \\pi } { | w | } ) ^ { - ( \\beta + 1 ) } \\cdot \\frac { | w | } { \\pi } ( 1 + \\frac { \\pi } { | w | } ) } \\\\ & { \\leq \\epsilon _ { * } . } \\end{array}\n$$",
1253
+ "text_format": "latex",
1254
+ "bbox": [
1255
+ 267,
1256
+ 200,
1257
+ 727,
1258
+ 433
1259
+ ],
1260
+ "page_idx": 9
1261
+ },
1262
+ {
1263
+ "type": "text",
1264
+ "text": "using Proposition 1, $| w | \\le B$ , and $D = O \\left( B \\log \\left( B / \\epsilon \\right) \\right)$ . ",
1265
+ "bbox": [
1266
+ 173,
1267
+ 436,
1268
+ 550,
1269
+ 454
1270
+ ],
1271
+ "page_idx": 9
1272
+ },
1273
+ {
1274
+ "type": "text",
1275
+ "text": "Proof of Proposition 3 ",
1276
+ "text_level": 1,
1277
+ "bbox": [
1278
+ 174,
1279
+ 468,
1280
+ 330,
1281
+ 483
1282
+ ],
1283
+ "page_idx": 9
1284
+ },
1285
+ {
1286
+ "type": "text",
1287
+ "text": "Proof. Let $f$ be computed by a depth-2 sigmoidal neural network given by $\\begin{array} { r } { f ( t ) = \\sum _ { i = 1 } ^ { n } a _ { i } \\sigma ( w _ { i } t ) } \\end{array}$ Define a parameter $\\epsilon \\ : = \\ : \\delta / n B$ . Proposition 2 guarantees polynomial $p _ { 1 } , p _ { 2 } , \\ldots , p _ { n }$ of degree $O \\left( B \\log ( \\mathbf { \\bar { \\boldsymbol { B } } } / \\epsilon ) \\right)$ such that $| \\sigma ( w _ { i } t ) - \\bar { p } _ { i } ( t ) | \\ \\leq \\ \\epsilon$ , for all $t ~ \\in ~ [ - 1 , 1 ]$ . Thus, the polynomial $\\begin{array} { r } { p ( t ) = \\sum _ { i = 1 } ^ { n } a _ { i } p _ { i } ( t ) } \\end{array}$ has degree $O \\left( B \\log ( B / \\epsilon ) \\right) = O \\left( B \\log ( n B ^ { 2 } / \\delta ) \\right)$ , and for any $t \\in [ - 1 , 1 ]$ , ",
1288
+ "bbox": [
1289
+ 173,
1290
+ 498,
1291
+ 825,
1292
+ 558
1293
+ ],
1294
+ "page_idx": 9
1295
+ },
1296
+ {
1297
+ "type": "equation",
1298
+ "img_path": "images/155f71629bf3d7473b4d41c935fd63ced36bca3e9071ab84652975893d7ae0c8.jpg",
1299
+ "text": "$$\n\\begin{array} { r l } { \\displaystyle \\left. \\sum _ { i = 1 } ^ { n } a _ { i } \\sigma ( w _ { i } t ) - p ( t ) \\right. = \\displaystyle \\left. \\sum _ { i = 1 } ^ { n } a _ { i } \\sigma ( w _ { i } t ) - \\sum _ { i = 1 } ^ { n } a _ { i } p _ { i } ( t ) \\right. } & { } \\\\ { \\displaystyle \\leq \\sum _ { i = 1 } ^ { n } \\lvert a _ { i } \\rvert \\lvert \\sigma ( w _ { i } t ) - p _ { i } ( t ) \\rvert } & { } \\\\ { \\displaystyle \\leq n B \\epsilon } & { } \\\\ { \\displaystyle = \\delta } \\end{array}\n$$",
1300
+ "text_format": "latex",
1301
+ "bbox": [
1302
+ 232,
1303
+ 565,
1304
+ 593,
1305
+ 685
1306
+ ],
1307
+ "page_idx": 9
1308
+ },
1309
+ {
1310
+ "type": "text",
1311
+ "text": "Proof of Proposition 4 ",
1312
+ "text_level": 1,
1313
+ "bbox": [
1314
+ 174,
1315
+ 722,
1316
+ 330,
1317
+ 737
1318
+ ],
1319
+ "page_idx": 9
1320
+ },
1321
+ {
1322
+ "type": "text",
1323
+ "text": "Proof. Let $F$ be computed by a depth-2 neural network given by $\\begin{array} { r } { F ( \\mathbf { x } ) \\ = \\ \\sum _ { i = 1 } ^ { n } { a _ { i } \\sigma } ( \\left. \\mathbf { w } _ { i } , \\mathbf { x } \\right. ) } \\end{array}$ where $| a _ { i } | \\le B$ and $\\left\\| \\mathbf { w } _ { i } \\right\\| \\leq B$ , for $1 \\leq i \\leq n$ . Thus, $\\begin{array} { r } { F ( \\mathbf { x } ) \\ = \\ \\sum _ { i = 1 } ^ { n } { a _ { i } \\sigma ( \\left\\| \\mathbf { w } _ { i } \\right\\| t _ { i } ) } } \\end{array}$ , where $t _ { i } = \\left. \\mathbf { w } _ { i } / \\left\\| \\mathbf { w } _ { i } \\right\\| , \\mathbf { x } \\right. \\in [ - 1 , 1 ]$ because $\\mathbf { w } _ { i } / \\left\\| \\mathbf { w } _ { i } \\right\\| \\in \\mathbb { B } ^ { d }$ , for $1 \\leq i \\leq n$ , and $\\mathbf { x } \\in \\mathbb { B } ^ { d }$ . ",
1324
+ "bbox": [
1325
+ 173,
1326
+ 752,
1327
+ 825,
1328
+ 800
1329
+ ],
1330
+ "page_idx": 9
1331
+ },
1332
+ {
1333
+ "type": "text",
1334
+ "text": "Define a parameter $\\epsilon \\ : = \\ : \\delta / n B$ . Proposition 2 guarantees polynomial $p _ { 1 } , p _ { 2 } , \\ldots , p _ { n }$ of degree $O \\left( B \\log ( \\mathbf { \\bar { \\boldsymbol { B } } } / \\epsilon ) \\right)$ such that $| \\dot { \\sigma } ( \\| w _ { i } \\| t ) - p _ { i } ( t ) | \\ \\leq \\ \\dot { \\epsilon }$ , for all $t \\in [ - 1 , 1 ]$ . Consider the following polynomial $\\begin{array} { r } { P ( \\mathbf { x } ) = P ( x _ { 1 } , x _ { 2 } , \\ldots , x _ { d } ) = \\sum _ { i = 1 } ^ { n } a _ { i } p _ { i } ( \\langle \\mathbf { w } _ { i } / \\left\\| \\mathbf { w } _ { i } \\right\\| , \\mathbf { x } \\rangle ) } \\end{array}$ . $P ( \\mathbf { x } )$ is a $d$ -variate polynomial of degree $O \\left( B \\log ( B / \\epsilon ) \\right) = O \\left( B \\log ( n B ^ { 2 } / \\delta ) \\right)$ in each variable $x _ { 1 } , x _ { 2 } , \\ldots , x _ { d }$ . For any $\\mathbf { x } \\in \\mathbb { B } ^ { d }$ , ",
1335
+ "bbox": [
1336
+ 173,
1337
+ 804,
1338
+ 825,
1339
+ 880
1340
+ ],
1341
+ "page_idx": 9
1342
+ },
1343
+ {
1344
+ "type": "equation",
1345
+ "img_path": "images/3079f0ed759454a3e11d2ec87f83be79632f44323b869efe554b29d17f2b5cba.jpg",
1346
+ "text": "$$\n| F ( \\mathbf { x } ) - P ( \\mathbf { x } ) | = \\left| \\sum _ { i = 1 } ^ { n } a _ { i } \\sigma ( \\langle \\mathbf { w } _ { i } , \\mathbf { x } \\rangle ) - \\sum _ { i = 1 } ^ { n } a _ { i } p _ { i } ( \\langle \\mathbf { w } _ { i } / \\| \\mathbf { w } _ { i } \\| , \\mathbf { x } \\rangle ) \\right|\n$$",
1347
+ "text_format": "latex",
1348
+ "bbox": [
1349
+ 181,
1350
+ 886,
1351
+ 614,
1352
+ 929
1353
+ ],
1354
+ "page_idx": 9
1355
+ },
1356
+ {
1357
+ "type": "equation",
1358
+ "img_path": "images/6da893eae7e2f4d1355d06c149f706808729f93e8be69a122e8d6fa3b90b596c.jpg",
1359
+ "text": "$$\n\\begin{array} { r l } & { \\leq \\displaystyle \\sum _ { i = 1 } ^ { n } a _ { i } \\sigma ( \\mathbf { w } _ { i } , \\mathbf { x } ) - p _ { i } ( \\mathbf { w } _ { i } / \\mathbf { w } _ { i } , \\mathbf { x } ) ) } \\\\ & { \\leq B \\displaystyle \\sum _ { i = 1 } ^ { n } \\sigma ( \\mathbf { w } _ { i } t _ { i } ) - p _ { i } ( t _ { i } ) \\qquad \\mathrm { u s i n g ~ } t _ { i } = \\mathbf { w } _ { i } / \\mathbf { w } _ { i } , \\mathbf { x } ; } \\\\ & { \\leq \\epsilon n B \\qquad \\mathrm { u s i n g ~ } \\sigma ( w _ { i } t ) - p _ { i } ( t ) \\leq \\epsilon , \\mathrm { f o r ~ a l l ~ } t \\in [ - 1 , 1 ] } \\\\ & { = \\delta . } \\end{array}\n$$",
1360
+ "text_format": "latex",
1361
+ "bbox": [
1362
+ 282,
1363
+ 99,
1364
+ 730,
1365
+ 218
1366
+ ],
1367
+ "page_idx": 10
1368
+ },
1369
+ {
1370
+ "type": "text",
1371
+ "text": "Proof of Proposition 5 ",
1372
+ "text_level": 1,
1373
+ "bbox": [
1374
+ 174,
1375
+ 252,
1376
+ 330,
1377
+ 268
1378
+ ],
1379
+ "page_idx": 10
1380
+ },
1381
+ {
1382
+ "type": "text",
1383
+ "text": "Proof. We prove this by induction on the depth $k$ . By induction hypothesis each $F _ { j } ( \\mathbf { x } )$ can be $\\epsilon _ { 1 }$ -approximated (in $L _ { \\infty }$ -norm) by a $d$ -variate polynomial $Q _ { j } ( \\mathbf { x } )$ of degree $O \\left( ( n B ) ^ { k - 2 } \\log ^ { ( k - 2 ) } ( n B / \\epsilon _ { 1 } ) \\right)$ in each variable. Thus, $| F _ { j } ( \\mathbf { x } ) - Q _ { j } ( \\mathbf { x } ) | = \\epsilon _ { 1 }$ , for any $\\mathbf { x } \\in \\mathbb { B } ^ { d }$ and $1 \\leq j \\leq m$ . Because a sigmoid neuron is Lipschitz, ",
1384
+ "bbox": [
1385
+ 173,
1386
+ 281,
1387
+ 825,
1388
+ 349
1389
+ ],
1390
+ "page_idx": 10
1391
+ },
1392
+ {
1393
+ "type": "equation",
1394
+ "img_path": "images/2e2567e1eb3564aed0171f0a25a07c0b1d93d9c4bba7476b54e36657761586a9.jpg",
1395
+ "text": "$$\n| y _ { j } - \\sigma ( Q _ { j } ( \\mathbf x ) ) | = | \\sigma ( F _ { j } ( \\mathbf x ) ) - \\sigma ( Q _ { j } ( \\mathbf x ) ) | \\le | F _ { j } ( \\mathbf x ) - Q _ { j } ( \\mathbf x ) | \\le \\epsilon _ { 1 } ,\n$$",
1396
+ "text_format": "latex",
1397
+ "bbox": [
1398
+ 266,
1399
+ 354,
1400
+ 730,
1401
+ 372
1402
+ ],
1403
+ "page_idx": 10
1404
+ },
1405
+ {
1406
+ "type": "text",
1407
+ "text": "for any $\\mathbf { x } \\in \\mathbb { B } ^ { d }$ and $1 \\leq j \\leq m$ . ",
1408
+ "bbox": [
1409
+ 173,
1410
+ 377,
1411
+ 385,
1412
+ 395
1413
+ ],
1414
+ "page_idx": 10
1415
+ },
1416
+ {
1417
+ "type": "text",
1418
+ "text": "Since $F _ { j } ( \\mathbf { x } )$ is the output of a depth- $\\left( k - 2 \\right)$ sigmoidal neural network of width at most $n$ and weights at most $B$ , we must have $| F _ { j } ( \\mathbf { x } ) | \\leq n B$ , for all $\\mathbf { x } \\in \\mathbb { B } ^ { d }$ . Thus, $| Q _ { j } ( \\mathbf { x } ) | \\leq n B + \\epsilon _ { 1 } \\leq 2 n B$ . By Proposition 2, there exists a polynomial $q ( t )$ of degree at most $O \\left( n B \\log ( n B / \\epsilon _ { 2 } ) \\right)$ such that ",
1419
+ "bbox": [
1420
+ 173,
1421
+ 400,
1422
+ 825,
1423
+ 445
1424
+ ],
1425
+ "page_idx": 10
1426
+ },
1427
+ {
1428
+ "type": "equation",
1429
+ "img_path": "images/56ee523f0ff544af8a162e17e1e23967e355a0c126d5927cc679a8efd5aebc09.jpg",
1430
+ "text": "$$\n| \\sigma ( Q _ { j } ( \\mathbf x ) ) - q ( Q _ { j } ( \\mathbf x ) ) | \\le \\epsilon _ { 2 } ,\n$$",
1431
+ "text_format": "latex",
1432
+ "bbox": [
1433
+ 398,
1434
+ 449,
1435
+ 598,
1436
+ 468
1437
+ ],
1438
+ "page_idx": 10
1439
+ },
1440
+ {
1441
+ "type": "text",
1442
+ "text": "for all $\\mathbf { x } \\in \\mathbb { B } ^ { d }$ and $1 \\leq j \\leq m$ . ",
1443
+ "bbox": [
1444
+ 173,
1445
+ 474,
1446
+ 379,
1447
+ 489
1448
+ ],
1449
+ "page_idx": 10
1450
+ },
1451
+ {
1452
+ "type": "text",
1453
+ "text": "Consider $\\mathbf { q } \\in \\mathbb { R } ^ { m }$ as $\\mathbf { q } = ( q ( Q _ { 1 } ( \\mathbf { x } ) ) , q ( Q _ { 2 } ( \\mathbf { x } ) ) , \\dots , q ( Q _ { m } ( \\mathbf { x } ) ) )$ . Then, for any $\\mathbf { x } \\in \\mathbb { B } ^ { d }$ , we have ",
1454
+ "bbox": [
1455
+ 171,
1456
+ 494,
1457
+ 808,
1458
+ 512
1459
+ ],
1460
+ "page_idx": 10
1461
+ },
1462
+ {
1463
+ "type": "equation",
1464
+ "img_path": "images/8816108c847aa3ee5768f000b1e46169d15ee3e4ac71b42e8c7a1d902598f189.jpg",
1465
+ "text": "$$\n\\begin{array} { r l } & { \\left| \\left. \\mathbf { w } _ { i } , \\mathbf { y } \\right. - \\left. \\mathbf { w } _ { i } , \\mathbf { q } \\right. \\right| = \\left| \\left. \\mathbf { w } _ { i } , \\mathbf { y } - \\mathbf { q } \\right. \\right| } \\\\ & { \\qquad \\leq \\left\\| \\mathbf { w } _ { i } \\right\\| \\left\\| \\mathbf { y } - \\mathbf { q } \\right\\| } \\\\ & { \\qquad \\leq B \\left( \\displaystyle \\sum _ { j = 1 } ^ { m } ( y _ { j } - q ( Q _ { j } ( \\mathbf { x } ) ) ) ^ { 2 } \\right) ^ { 1 / 2 } } \\\\ & { \\qquad \\leq B \\sqrt { m } \\left( \\epsilon _ { 1 } + \\epsilon _ { 2 } \\right) } \\\\ & { \\qquad \\leq B \\sqrt { n } \\left( \\epsilon _ { 1 } + \\epsilon _ { 2 } \\right) . } \\end{array}\n$$",
1466
+ "text_format": "latex",
1467
+ "bbox": [
1468
+ 316,
1469
+ 518,
1470
+ 679,
1471
+ 647
1472
+ ],
1473
+ "page_idx": 10
1474
+ },
1475
+ {
1476
+ "type": "text",
1477
+ "text": "Again by Proposition 2, there is a polynomial $p$ of degree at most $O \\left( n B \\log ( n B / \\epsilon ) \\right)$ such that $| \\sigma ( \\langle \\mathbf { w } _ { i } , \\mathbf { q } \\rangle ) - p ( \\langle \\mathbf { w } _ { i } , \\mathbf { q } \\rangle ) | \\leq \\epsilon$ , for all $\\dot { \\mathbf { x } } \\in \\mathbb { B } ^ { d }$ and $1 \\leq i \\leq n$ . This is because $| \\langle \\mathbf { w } _ { i } , \\mathbf { q } \\rangle | = O ( n B )$ . ",
1478
+ "bbox": [
1479
+ 173,
1480
+ 657,
1481
+ 823,
1482
+ 688
1483
+ ],
1484
+ "page_idx": 10
1485
+ },
1486
+ {
1487
+ "type": "text",
1488
+ "text": "Let’s define $\\begin{array} { r } { P ( \\mathbf { x } ) = \\sum _ { i = 1 } ^ { n } a _ { i } p ( \\langle \\mathbf { w } _ { i } , \\mathbf { q } \\rangle ) } \\end{array}$ . Therefore, for any $\\mathbf { x } \\in \\mathbb { B } ^ { d }$ , ",
1489
+ "bbox": [
1490
+ 173,
1491
+ 693,
1492
+ 625,
1493
+ 710
1494
+ ],
1495
+ "page_idx": 10
1496
+ },
1497
+ {
1498
+ "type": "equation",
1499
+ "img_path": "images/ff52643846bca2c0e4edf96511ae3bb06e3e4cc456175440cba192250768cc0b.jpg",
1500
+ "text": "$$\n\\begin{array} { l } { \\displaystyle | F ( \\mathbf x ) - P ( \\mathbf x ) | = \\left| \\displaystyle \\sum _ { i = 1 } ^ { n } a _ { i } \\sigma \\big ( \\langle \\mathbf w _ { i } , \\mathbf y \\rangle \\big ) - \\displaystyle \\sum _ { i = 1 } ^ { n } a _ { i } p \\big ( \\langle \\mathbf w _ { i } , \\mathbf q \\rangle \\big ) \\right| } \\\\ { \\displaystyle \\leq \\displaystyle \\sum _ { i = 1 } ^ { n } \\big | a _ { i } \\big | | \\sigma \\big ( \\langle \\mathbf w _ { i } , \\mathbf y \\rangle \\big ) - p \\big ( \\langle \\mathbf w _ { i } , \\mathbf q \\rangle \\big ) | } \\\\ { \\displaystyle \\leq \\displaystyle \\sum _ { i = 1 } ^ { n } \\big | a _ { i } \\big | \\big ( | \\sigma \\big ( \\langle \\mathbf w _ { i } , \\mathbf y \\rangle \\big ) - \\sigma \\big ( \\langle \\mathbf w _ { i } , \\mathbf q \\rangle \\big ) \\big | + | \\sigma \\big ( \\langle \\mathbf w _ { i } , \\mathbf q \\rangle \\big ) - p \\big ( \\langle \\mathbf w _ { i } , \\mathbf q \\rangle \\big ) \\big | \\big ) } \\\\ { \\displaystyle \\leq \\displaystyle \\sum _ { i = 1 } ^ { n } a _ { i } \\big | \\big ( | \\langle \\mathbf w _ { i } , \\mathbf y \\rangle - \\langle \\mathbf w _ { i } , \\mathbf q \\rangle | + \\epsilon \\big ) } \\\\ { \\displaystyle \\leq n B \\big ( B \\sqrt { n } ( \\epsilon _ { 1 } + \\epsilon _ { 2 } ) + \\epsilon \\big ) } \\\\ { \\displaystyle \\leq \\delta , } \\end{array}\n$$",
1501
+ "text_format": "latex",
1502
+ "bbox": [
1503
+ 222,
1504
+ 715,
1505
+ 776,
1506
+ 922
1507
+ ],
1508
+ "page_idx": 10
1509
+ },
1510
+ {
1511
+ "type": "text",
1512
+ "text": "if we use $\\epsilon _ { 1 } = \\epsilon _ { 2 } = \\delta / 3 n ^ { 3 / 2 } B ^ { 2 }$ and $\\epsilon = \\delta / 3 n B$ . ",
1513
+ "bbox": [
1514
+ 173,
1515
+ 102,
1516
+ 496,
1517
+ 119
1518
+ ],
1519
+ "page_idx": 11
1520
+ },
1521
+ {
1522
+ "type": "text",
1523
+ "text": "$P ( \\mathbf { x } )$ is a $d$ -variate polynomial of degree ",
1524
+ "bbox": [
1525
+ 176,
1526
+ 125,
1527
+ 442,
1528
+ 140
1529
+ ],
1530
+ "page_idx": 11
1531
+ },
1532
+ {
1533
+ "type": "equation",
1534
+ "img_path": "images/2e7db8d8eb2745762419b01c091412a3b13a17023ce59275535add681bc0561f.jpg",
1535
+ "text": "$$\n\\deg ( P ) \\leq \\deg ( p ) \\deg ( q ) \\cdot \\deg ( Q _ { j } ) = O \\left( ( n B ) ^ { k } \\log ^ { k } \\left( n B / \\delta \\right) \\right) ,\n$$",
1536
+ "text_format": "latex",
1537
+ "bbox": [
1538
+ 284,
1539
+ 147,
1540
+ 709,
1541
+ 174
1542
+ ],
1543
+ "page_idx": 11
1544
+ },
1545
+ {
1546
+ "type": "text",
1547
+ "text": "in each variable. ",
1548
+ "bbox": [
1549
+ 173,
1550
+ 179,
1551
+ 282,
1552
+ 194
1553
+ ],
1554
+ "page_idx": 11
1555
+ }
1556
+ ]
parse/train/SkxbDsR9Ym/SkxbDsR9Ym.md ADDED
@@ -0,0 +1,531 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # RELWALK – A LATENT VARIABLE MODEL APPROACH TO KNOWLEDGE GRAPH EMBEDDING
2
+
3
+ Anonymous authors Paper under double-blind review
4
+
5
+ # ABSTRACT
6
+
7
+ Knowledge Graph Embedding (KGE) is the task of jointly learning entity and relation embeddings for a given knowledge graph. Existing methods for learning KGEs can be seen as a two-stage process where (a) entities and relations in the knowledge graph are represented using some linear algebraic structures (embeddings), and (b) a scoring function is defined that evaluates the strength of a relation that holds between two entities using the corresponding relation and entity embeddings. Unfortunately, prior proposals for the scoring functions in the first step have been heuristically motivated, and it is unclear as to how the scoring functions in KGEs relate to the generation process of the underlying knowledge graph. To address this issue, we propose a generative account of the KGE learning task. Specifically, given a knowledge graph represented by a set of relational triples $( h , R , t )$ , where the semantic relation $R$ holds between the two entities $h$ (head) and $t$ (tail), we extend the random walk model (Arora et al., 2016a) of word embeddings to KGE. We derive a theoretical relationship between the joint probability $p ( h , R , t )$ and the embeddings of $h$ , $R$ and $t$ . Moreover, we show that marginal loss minimisation, a popular objective used by much prior work in KGE, follows naturally from the log-likelihood ratio maximisation under the probabilities estimated from the KGEs according to our theoretical relationship. We propose a learning objective motivated by the theoretical analysis to learn KGEs from a given knowledge graph. The KGEs learnt by our proposed method obtain state-of-the-art performance on FB15K237 and WN18RR benchmark datasets, providing empirical evidence in support of the theory.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ Knowledge graphs such as Freebase (Bollacker et al., 2008) organise information in the form of graphs, where entities are represented by vertices in the graph and the relation between two entities is represented by the edge that connects the corresponding two vertices. By embedding entities and relations that exist in a knowledge graph in some (possibly lower-dimensional and latent) space we can infer previously unseen relations between entities, thereby expanding a given knowledge graph (Nickel et al., 2016; Yang et al., 2015; Lin et al., 2015; Nickel et al., 2011; Trouillon et al., 2016; Wang et al., 2017; Bordes et al., 2011).
12
+
13
+ Existing KGE methods can be seen as involving two main steps. First, given a knowledge graph represented by a set of relational triples $( h , R , t )$ , where a semantic relation $R$ holds between a head entity $h$ and a tail entity $t$ , entities and relations are represented using some mathematical structures such as vectors, matrices or tensors. Second, a scoring function is proposed that evaluates the relational strength of a triple $( h , R , t )$ and entity and relation embeddings that optimise the defined scoring function are learnt using some optimisation method. Table 1 shows some of the scoring functions proposed in prior work in KGE learning.
14
+
15
+ Despite the wide applications of entity and relation embeddings created via KGE methods, the existing scoring functions are motivated heuristically to capture some geometric requirements of the embedding space. For example, TransE (Bordes et al., 2011) assumes that the entity and relation embeddings co-exist in the same (possibly lower dimensional) vector space and translating (shifting) the head entity embedding by the relation embedding must make it closer to the tail entity embedding, whereas ComplEx (Trouillon et al., 2016) models the asymmetry in relations using the component-wise multi-linear inner-product among entity and relation embeddings. Relational triples extracted from a given knowledge graph are used as positive training instances, whereas pseudo-negative (Bordes et al., 2011) instances are automatically generated by randomly corrupting positive instances. Finally, KGE are learnt such that the prediction loss computed over the positive and negative instances is minimised.
16
+
17
+ Table 1: Score functions proposed in selected prior work on KGE. Entity embeddings $h , t \in \mathbb { R } ^ { d }$ are vectors in all models, except in ComplEx where $\pmb { h } , \pmb { t } \in \mathbb { C } ^ { d }$ . Here, $\pmb { x } _ { \ell _ { 1 / 2 } }$ denotes either $\ell _ { 1 }$ or $\ell _ { 2 }$ norm of the vector $_ { \textbf { \em x } }$ . In ComplEx, $\bar { \mathbf { x } }$ is the elementwise complex conjugate, and $\langle \cdot , \cdot , \cdot \rangle$ denotes the component-wise multi-linear inner-product.
18
+
19
+ <table><tr><td>Model</td><td>Score function f(h, R,t)</td><td>Relation parameters</td></tr><tr><td>Unstructured (Bordes et al., 2011)</td><td>/h-tlle1/2</td><td>none</td></tr><tr><td>Structured embeddings (Bordes et al., 2011)</td><td>|R1h-R2tlle1,2</td><td>R1,R2 ∈Rd×d</td></tr><tr><td>TransE (Bordes et al., 2011)</td><td>|/h +R-tlle1/2</td><td>ReRd</td></tr><tr><td>DistMult (Yang et al., 2015)</td><td>(h,R,t)</td><td>ReRd</td></tr><tr><td>RESCAL (Nickel et al., 2011)</td><td>hRt</td><td>Rdxd</td></tr><tr><td>ComplEx (Trouillon et al., 2016)</td><td>(h,R,t)</td><td>Re Cd</td></tr></table>
20
+
21
+ Despite the good empirical performances of the existing KGE methods, theoretical understanding of KGE methods is comparatively under developed. For example, it is not clear how the heuristically defined KGE objectives relate to the generative process of a knowledge graph. In this paper, we attempt to fill this void by providing a theoretical analysis of KGE. Specifically, in section 2, we propose a generative process where we explain the formation of a relation $R$ between two entities $h$ and $t$ using the corresponding relation and entity embeddings. Following this generative story, we derive a relationship between the probability of $R$ holding between $h$ and $t$ , ${ \bar { p } } ( h , t \mid R )$ , and the embeddings of $R$ , $h$ and $t$ . Interestingly, the derived relationship is not covered by any of the previously proposed heuristically-motivated scoring functions, providing the first-ever KGE method with a provable generative explanation.
22
+
23
+ Next, in section 3, we show that the margin loss, which has been popularly used as a training objective in prior work on KGE, naturally arises as the log-likelihood ratio computed from $p ( h , t \mid { \bar { R } } )$ . Based on this result, we derive a training objective that we subsequently optimise for learning KGEs that satisfy our theoretical relationship. Using standard benchmark datasets proposed in prior work on KGE learning, we evaluate the learnt KGEs on a link prediction task and a triple classification task. Experimental results show that the learnt KGEs obtain state-of-the-art performance on FB15K237 and WN18RR benchmarks, thereby providing empirical evidence to support the theoretical analysis.
24
+
25
+ # 2 RELATIONAL WALK
26
+
27
+ Let us consider a knowledge graph $\mathcal { D }$ where the knowledge is represented by relational triples $( h , R , t ) \in \mathcal { D }$ . Here, $R$ is a relational predicate of two arguments, where $h$ (head) and $t$ (tail) entities respectively filling the first and second arguments. We assume relations to be asymmetric in general. In other words, if $( h , R , t ) \in \mathcal { D }$ then it does not necessarily follow that $( t , \dot { R _ { \ l } } h ) \in \mathcal { D }$ . The goal of KGE is to learn embeddings (representations) for the relations and entities in the knowledge graph such that the entities that participate in similar relations are embedded closely to each other in the entity embedding space, while at the same time relations that hold between similar entities are embedded closely to each other in the relational embedding space. We call the learnt entity and relation embeddings collectively as KGEs. Following prior work on KGE (Bordes et al., 2011; Trouillon et al., 2016; Yang et al., 2015), we assume that entities and relations are embedded in the same vector space, allowing us to perform linear algebraic operations using the embeddings in the same vector space.
28
+
29
+ Let us consider a random walk characterised by a time-dependent knowledge vector $c _ { k }$ , where $k$ is the current time step. The knowledge vector represents the knowledge we have about a particular group of entities and relations that express some facts about the world. For example, the knowledge that we have about people that are employed by companies can be expressed using entities of classes such as people and organisation, using relations such as CEO-of, employed-at, works-for, etc. We assume that entities $h$ and $t$ are represented by time-independent $d$ -dimensional vectors, respectively $h , t \in \mathbb { R } ^ { d }$ .
30
+
31
+ We assume the task of generating a relational triple $( h , R , t )$ in a given knowledge graph to be a two-step process as described next. First, given the current knowledge vector at time $k$ , $\boldsymbol { c } = \boldsymbol { c } _ { k }$ and the relation $R$ , we assume that the probability of an entity $h$ satisfying the first argument of $R$ to be given by (1).
32
+
33
+ $$
34
+ p ( h \mid R , c ) = { \frac { 1 } { Z _ { c } } } \exp \left( h ^ { \top } \mathbf { R } _ { 1 } c \right) .
35
+ $$
36
+
37
+ Here, $\mathbf { R } _ { 1 } \in \mathbb { R } ^ { d \times d }$ is a relation-specific orthogonal matrix that evaluates the appropriateness of $h$ for the first argument of $R$ . For example, if $R$ is the CEO-of relation, we would require a person as the first argument and a company as the second argument of $R$ . However, note that the role of $\mathbf { R } _ { 1 }$ extends beyond simply checking the types of the entities that can fill the first argument of a relation. For our example above, not all people are CEOs and $\mathbf { R } _ { 1 }$ evaluates the likelihood of a person to be selected as the first argument of the CEO-of relation. $Z _ { c }$ is a normalisation coefficient such that $\begin{array} { r } { \sum _ { h \in \mathcal { V } } p ( h \mid R , \pmb { c } ) = \mathrm { i } } \end{array}$ , where the vocabulary $\nu$ is the set of all entities in the knowledge graph.1
38
+
39
+ After generating $h$ , the state of our random walker changes to $\boldsymbol { c } ^ { \prime } = \boldsymbol { c } _ { k + 1 }$ , and we next generate the second argument of $R$ with the probability given by (2).
40
+
41
+ $$
42
+ p ( t \mid R , \pmb { c } ^ { \prime } ) = \frac { 1 } { Z _ { c ^ { \prime } } } \exp \left( \pmb { t } ^ { \top } \mathbf { R } _ { 2 } \pmb { c } ^ { \prime } \right) .
43
+ $$
44
+
45
+ Here, $\mathbf { R } _ { 2 } \in \mathbb { R } ^ { d \times d }$ is a relation-specific orthogonal matrix that evaluates the appropriateness of $t$ as the second argument of $R$ . $Z _ { c ^ { \prime } }$ is a normalisation coefficient such that $\begin{array} { r } { \sum _ { t \in \mathcal { V } } p ( \bar { t } \mid \bar { R } , { \pmb { c } } ) = 1 } \end{array}$ . Following our previous example of the CEO-of relation, $\mathbf { R } _ { 2 }$ evaluates the likelihood of an organisation to be a company with a CEO position. Importantly, $\mathbf { R } _ { 1 }$ and $\mathbf { R } _ { 2 }$ are representations of the relation $R$ and independent of the entities. Therefore, we consider $\mathbf { R } _ { 1 }$ and $\mathbf { R } _ { 2 }$ ) to collectively represent the embedding of $R$ . Orthogonality of ${ \bf R } _ { 1 } , { \bf R } _ { 2 }$ is a requirement for the mathematical proof and also act as a regularisation constraint to prevent overfitting by restricting the relational embedding space. We first perform our mathematical analysis for relational embeddings represented by orthogonal matrices and discuss later how this requirement can be relaxed.
46
+
47
+ We assume a slow random walk where the knowledge vectors do not change significantly between consecutive time steps $( c _ { k } \approx c _ { k + 1 } )$ ). More specifically, we assume that $\| \pmb { c } _ { k } - \pmb { c } _ { k + 1 } \| \le \epsilon _ { 2 }$ for some small $\epsilon _ { 2 } > 0$ . This is a realistic assumption for generating the two entity arguments in the same relational triple because, if the knowledge vectors were significantly different in the two generation steps, then it is likely that the corresponding relations are also different, which would not be coherent with the above-described generative process. Moreover, we assume that the knowledge vectors are distributed uniformly in the unit sphere and denote the distribution of knowledge vectors by $\mathcal { C }$ .
48
+
49
+ To learn KGEs, we must estimate the probability that $h$ and $t$ satisfy the relation $R$ , $p ( h , t \mid R )$ , which can be obtained by taking the expectation of $p ( h , t \mid R , c , c ^ { \prime } )$ w.r.t. $c , c ^ { \prime } \sim \mathcal { C }$ given by (3).
50
+
51
+ $$
52
+ \begin{array} { r l } & { p ( h , t \mid R ) = \mathbb { E } _ { c , c ^ { \prime } } \left[ p ( h , t \mid R , c , c ^ { \prime } ) \right] } \\ & { \quad \quad \quad = \mathbb { E } _ { c , c ^ { \prime } } \left[ p ( h \mid R , c ) p ( t \mid R , c ^ { \prime } ) \right] } \\ & { \quad \quad \quad = \mathbb { E } _ { c , c ^ { \prime } } \left[ \frac { \exp \big ( h ^ { \top } \mathbf { R } _ { 1 } c \big ) } { Z _ { c } } \frac { \exp \big ( t ^ { \top } \mathbf { R } _ { 2 } c ^ { \prime } \big ) } { Z _ { c ^ { \prime } } } \right] . } \end{array}
53
+ $$
54
+
55
+ Here, partition functions are given by $\begin{array} { r l r } { Z _ { c } } & { { } = } & { \sum _ { h \in \mathcal { V } } \sum _ { c \in \mathcal { C } } \exp \left( h ^ { \top } \mathbf { R } _ { 1 } c \right) } \end{array}$ and $\begin{array} { r l } { Z _ { c ^ { \prime } } } & { { } = } \end{array}$ $\begin{array} { r l } { ~ } & { { } \sum _ { t \in \mathcal { V } } \sum _ { c ^ { \prime } \in \mathcal { C } } \exp \left( t ^ { \top } \mathbf { R } _ { 2 } c ^ { \prime } \right) } \end{array}$ . (4) follows from our two-step generative process where the generation of $h$ and $t$ in each step is independent given the relation and the corresponding knowledge vectors.
56
+
57
+ Computing the expectation in (5) is generally difficult because of the two partition functions $Z _ { c }$ and $Z _ { c ^ { \prime } }$ . However, Lemma 1 shows that the partition functions are narrowly distributed around a constant value for all $c$ (or $c ^ { \prime }$ ) values with high probability.
58
+
59
+ Lemma 1 (Concentration Lemma). If the entity embedding vectors satisfy the Bayesian prior $\mathbf { \nabla } \mathbf { \boldsymbol { v } } = s \hat { \mathbf { \nabla } } $ , where $\hat { v }$ is from the spherical Gaussian distribution, and s is a scalar random variable, which is always bounded by a constant $\kappa$ , then the entire ensemble of entity embeddings satisfies that
60
+
61
+ $$
62
+ \operatorname* { P r } _ { c \sim \mathcal { C } } [ ( 1 - \epsilon _ { z } ) Z \le Z _ { c } \le ( 1 + \epsilon _ { z } ) Z ] \ge 1 - \delta ,
63
+ $$
64
+
65
+ for $\epsilon _ { z } = O ( 1 / \sqrt { n } )$ , and $\delta = \exp ( - \Omega ( \log ^ { 2 } n ) )$ , where $n \geq d$ is the number of words and $Z _ { c }$ is the partition function for $c$ given by $\begin{array} { r } { \sum _ { c \in \mathcal { V } } \exp \left( { \pmb { h } } ^ { \top } { \bf R } _ { 1 } { \pmb { c } } \right) } \end{array}$ .
66
+
67
+ proof: To prove the concentration lemma, we show that the mean $\mathbb { E } _ { h } [ Z _ { c } ]$ of $Z _ { c }$ is concentrated around a constant for all knowledge vectors $^ c$ and its variance is bounded. Recall that
68
+
69
+ $$
70
+ Z _ { c } = \sum _ { h \in \mathcal { V } } \exp \left( h ^ { \top } \mathbf { R } _ { 1 } c \right) .
71
+ $$
72
+
73
+ If $\mathbf { P }$ is an orthogonal matrix and $_ { \textbf { \em x } }$ is a vector, then $\| \mathbf { P } ^ { \top } \pmb { x } \| _ { 2 } ^ { 2 } = ( \mathbf { P } ^ { \top } \pmb { x } ) ^ { \top } ( \mathbf { P } ^ { \top } \pmb { x } ) = \pmb { x } ^ { \top } \mathbf { P } \mathbf { P } ^ { \top } \pmb { x } = \| \pmb { x } \| _ { 2 } ^ { 2 }$ , because $\mathbf { P } ^ { \top } \mathbf { P } \overset { = } \mathbf { I }$ . Therefore, from (7) and the orthogonality of the relational embeddings, we see that $\mathbf { R } _ { 1 } \boldsymbol { c }$ is a simple rotation of $^ c$ and does not alter the length of $^ c$ . We represent $\boldsymbol { h } = \boldsymbol { s } _ { h } \hat { \boldsymbol { h } }$ , where $s _ { h } = \left\| h \right\|$ and $\hat { h }$ is a unit vector (i.e. $\| \hat { h } \| _ { 2 } = 1 )$ distributed on the spherical Gaussian with zero mean and unit covariance matrix $\mathbf { I } _ { d } \in \mathbb { R } ^ { d \times d }$ . Let $s$ be a random variable that has the same distribution as $s _ { h }$ . Moreover, let us assume that $s$ is upper bounded by a constant $\kappa$ such that $s \leq \kappa$ . From the assumption of the knowledge vector $^ c$ , it is on the unit sphere as well, which is then rotated by $\mathbf { R } _ { 1 }$ .
74
+
75
+ We can write the partition function using the inner-product between two vectors $^ { h }$ and $\mathbf { R } _ { 1 } \boldsymbol { c }$ , $Z _ { c } = $ $\begin{array} { r } { \sum _ { h \in \mathcal { V } } \exp \big ( { h } ^ { \top } ( \dot { \mathbf { R } } _ { 1 } { c } ) \big ) } \end{array}$ . Arora et al. (2016a) showed that (Lemma 2.1 in their paper) the expectation of a partition function of this form can be approximated as follows:
76
+
77
+ $$
78
+ \begin{array} { r l } & { \mathbb { E } _ { \pmb { c } } [ Z _ { c } ] = n \mathbb { E } _ { \pmb { c } } [ \exp \left( \pmb { h } ^ { \top } \mathbf { R } _ { 1 } \pmb { c } \right) ] } \\ & { \qquad \geq n \mathbb { E } _ { \pmb { c } } [ 1 + \pmb { h } ^ { \top } \mathbf { R } _ { 1 } \pmb { c } ] = n . } \end{array}
79
+ $$
80
+
81
+ where $n = | \mathcal { V } |$ is the number of entities in the vocabulary. (8) follows from the expectation of a sum and the independence of $^ { h }$ and $\mathbf { R } _ { 1 }$ from $^ c$ . The inequality of (9) is obtained by applying the Taylor expansion of the exponential series and the final equality is due to the symmetry of the spherical Gaussian. From the law of total expectation, we can write
82
+
83
+ $$
84
+ \operatorname { \mathbb { E } } _ { c } [ Z _ { c } ] = n \operatorname { \mathbb { E } } _ { c } [ \exp \left( { h ^ { \top } \mathbf { R } _ { 1 } c } \right) ] = n \operatorname { \mathbb { E } } _ { s _ { h } } \left[ \operatorname { \mathbb { E } } _ { x | s _ { h } } \left[ \exp \left( { h ^ { \top } \mathbf { R } _ { 1 } c } \right) \mid s _ { h } \right] \right] .
85
+ $$
86
+
87
+ where, $\underline { { x } } = \pmb { h } ^ { \top } \mathbf { R } _ { 1 } \pmb { c }$ . Note that conditioned on $s _ { h } , h$ is a Gaussian random variable with variance $\sigma ^ { 2 } = \acute { s } _ { h } ^ { 2 }$ . Therefore, conditioned on $s _ { h }$ , $x$ is a random variable with variance $\sigma ^ { 2 } = \sigma _ { h } ^ { 2 }$ . Using this distribution, we can evaluate $\mathbb { E } _ { \boldsymbol { x } | \boldsymbol { s } _ { h } } \left[ \exp \left( \pmb { h } ^ { \top } \mathbf { R } _ { 1 } \boldsymbol { c } \right) \right]$ as follows:
88
+
89
+ $$
90
+ \begin{array} { l } { \displaystyle \mathbb { E } _ { x \mid s _ { h } } \left[ \exp \left( h ^ { \top } \mathbf { R } _ { 1 } c \right) \mid s _ { h } \right] = \int _ { x } \frac { 1 } { \sqrt { 2 \pi \sigma ^ { 2 } } } \exp \left( - \frac { x ^ { 2 } } { 2 \sigma ^ { 2 } } \right) \exp ( x ) d x } \\ { \displaystyle = \int _ { x } \frac { 1 } { \sqrt { 2 \pi \sigma ^ { 2 } } } \exp \left( - \frac { \left( x - \sigma ^ { 2 } \right) ^ { 2 } } { 2 \sigma ^ { 2 } } + \sigma ^ { 2 } / 2 \right) d x } \\ { \displaystyle = \exp ( \sigma ^ { 2 } / 2 ) . } \end{array}
91
+ $$
92
+
93
+ Therefore, it follows that
94
+
95
+ $$
96
+ \operatorname { \mathbb { E } } _ { c } [ Z _ { c } ] = n \operatorname { \mathbb { E } } _ { s _ { h } } [ \exp ( \sigma ^ { 2 } / 2 ) ] = n \operatorname { \mathbb { E } } _ { s _ { h } } [ \exp ( s _ { h } ^ { 2 } / 2 ) ] = n \exp ( s ^ { 2 } / 2 ) ,
97
+ $$
98
+
99
+ where $s$ is the variance of the $\ell _ { 2 }$ norms of the entity embeddings. Because the set of entities is given and fixed, both $n$ and $\sigma$ are constants, proving that $\mathbb { E } [ Z _ { c } ]$ does not depend on $c$ .
100
+
101
+ Next, we calculate the variance $\mathbb { V } _ { c } [ Z _ { c } ]$ as follows:
102
+
103
+ $$
104
+ \begin{array} { r l } & { \mathbb { V } _ { c } [ Z _ { c } ] = \displaystyle \sum _ { h } \mathbb { V } _ { c } [ \exp \left( h ^ { \top } \mathbf { R } _ { 1 } c \right) ] } \\ & { ~ \leq n \mathbb { E } _ { c } \left[ \exp \left( h ^ { \top } \mathbf { R } _ { 1 } c \right) \right] } \\ & { ~ = n \mathbb { E } _ { s _ { h } } \left[ \mathbb { E } _ { x \mid s _ { h } } \left[ \exp \left( 2 h ^ { \top } \mathbf { R } _ { 1 } t \right) \mid s _ { h } \right] \right] . } \end{array}
105
+ $$
106
+
107
+ Because $2 h ^ { \top } { \bf R } _ { 1 } t$ is a Gaussian random variable with variance $4 \sigma ^ { 2 } = 4 s _ { h } ^ { 2 }$ from a similar calculation as in (11) we obtain,
108
+
109
+ $$
110
+ \begin{array} { r } { \mathbb { E } _ { \boldsymbol { x } | s _ { h } } \left[ \exp \left( 2 \boldsymbol { h } ^ { \top } \mathbf { R } _ { 1 } t \right) \mid s _ { h } \right] = \exp ( 2 \sigma ^ { 2 } ) . } \end{array}
111
+ $$
112
+
113
+ By substituting (16) in (15) we have that
114
+
115
+ $$
116
+ \mathbb { V } _ { c } [ Z _ { c } ] \leq n \mathbb { E } _ { s _ { h } } \left[ \exp \left( 2 { \sigma } ^ { 2 } \right) \right] = n \mathbb { E } _ { s _ { h } } \left[ \exp ( 2 s ^ { 2 } ) \right] \leq \Lambda n
117
+ $$
118
+
119
+ for $\Lambda = \exp ( 8 \kappa ^ { 2 } )$ a constant bounding $s \leq \kappa$ as stated.
120
+
121
+ From above, we have bounded both the mean and variance of the partition function by constants that are independent of the knowledge vector. Note that neither exp $\left( \hat { h ^ { \mathrm { { T } } } } \mathbf { R } _ { 1 } c \right)$ nor exp $( t ^ { \dagger } { \mathbf { R } } _ { 2 } c ^ { \prime } )$ are subGaussian nor sub-exponential. Therefore, standard concentration bounds derived for sub-Gaussian or sub-exponential random variables cannot be used in our analysis. However, the argument given in Appendix A.1 in Arora et al. (2016b) for a partition function with bounded mean and variance can be directly applied to $Z _ { c }$ in our case, which completes the proof of the concentration lemma. □
122
+
123
+ From the symmetry between $h$ and $t$ , Lemma 1 also applies for the partition function $\begin{array} { r } { \sum _ { t \in \mathcal { V } } \left( { t ^ { { \top } } \mathbf { R } _ { 2 } c ^ { \prime } } \right) } \end{array}$ Under the conditions required to satisfy Lemma 1, the following main theorem of this paper holds:
124
+
125
+ Theorem 1. Suppose that the entity embeddings satisfy (1). Then, we have
126
+
127
+ $$
128
+ \log p ( h , t \mid R ) = { \frac { \| \mathbf { R } _ { 1 } ^ { \mathsf { T } } h + \mathbf { R } _ { 2 } ^ { \mathsf { T } } t \| _ { 2 } ^ { 2 } } { 2 d } } - 2 \log Z \pm \epsilon .
129
+ $$
130
+
131
+ for $\epsilon = { O } ( 1 / { \sqrt { n } } ) + \widetilde { O } ( 1 / d ) $ , where
132
+
133
+ $$
134
+ Z = Z _ { c } = Z _ { c ^ { \prime } } .
135
+ $$
136
+
137
+ The complete proof of Theorem 1 is given in Appendix A. Below we briefly sketch the main steps.
138
+
139
+ Proof sketch: Let $F$ be the event that both $c$ and $c ^ { \prime }$ are within $( 1 \pm \epsilon _ { z } ) Z$ . Then, from Lemma 1 and the union bound, event $F$ happens with probability at least $1 - 2 \exp ( - \Omega ( \log ^ { 2 } n ) )$ . The R.H.S. of (5) can be split into two parts $\dot { T } _ { 1 }$ and $T _ { 2 }$ according to whether $F$ happens or not.
140
+
141
+ $$
142
+ p ( h , t \mid R ) = \underbrace { \mathbb { E } _ { c , c ^ { \prime } } \left[ \frac { \exp \left( h ^ { \top } \mathbf { R } _ { 1 } c \right) } { Z _ { c } } \frac { \exp \left( h ^ { \top } \mathbf { R } _ { 2 } c ^ { \prime } \right) } { Z _ { c ^ { \prime } } } \mathbf { 1 } _ { F } \right] } _ { = T _ { 1 } } + \underbrace { \mathbb { E } _ { c , c ^ { \prime } } \left[ \frac { \exp \left( h ^ { \top } \mathbf { R } _ { 1 } c \right) } { Z _ { c } } \frac { \exp \left( h ^ { \top } \mathbf { R } _ { 2 } c ^ { \prime } \right) } { Z _ { c ^ { \prime } } } \mathbf { 1 } _ { F } \right] } _ { = T _ { 2 } } .
143
+ $$
144
+
145
+ $T _ { 1 }$ can be approximated as given by (21).
146
+
147
+ $$
148
+ T _ { 1 } = \frac { 1 \pm \mathcal { O } ( \epsilon _ { z } ) } { Z ^ { 2 } } \mathbb { E } _ { c , c ^ { \prime } } \left[ \exp \left( \pmb { h } ^ { \top } \mathbf { R } _ { 1 } c \right) \exp \left( \pmb { t } ^ { \top } \mathbf { R } _ { 2 } c ^ { \prime } \right) \right]
149
+ $$
150
+
151
+ On the other hand, $T _ { 2 }$ can be shown to be a constant, independent of $d$ , given by (22).
152
+
153
+ $$
154
+ | T _ { 2 } | = \exp ( - \Omega ( \log ^ { 1 . 8 } n ) )
155
+ $$
156
+
157
+ The vocabulary size $n$ of real-world knowledge graphs is typically over $1 0 ^ { 5 }$ , for which $T _ { 2 }$ becomes negligibly small. Therefore, it suffices to consider only $T _ { 1 }$ . Because of the slowness of the random walk we have $c \approx c ^ { \prime }$
158
+
159
+ Using the law of total expectation we can write $T _ { 1 }$ as follows:
160
+
161
+ $$
162
+ \begin{array} { l } { { \displaystyle { T _ { 1 } = \frac { 1 \pm \mathcal { O } ( \epsilon _ { z } ) } { Z ^ { 2 } } \mathbb { E } _ { c } \left[ \exp \left( { h ^ { \top } { \bf R } _ { 1 } c } \right) \mathbb { E } _ { c ^ { \prime } \mid c } \left[ \exp \left( { t ^ { \top } { \bf R } _ { 2 } c ^ { \prime } } \right) \right] \right]} } } \\ { { \displaystyle ~ = \frac { 1 \pm \mathcal { O } ( \epsilon _ { z } ) } { Z ^ { 2 } } \mathbb { E } _ { c } \left[ \exp \left( { h ^ { \top } { \bf R } _ { 1 } c } \right) A ( c ) \right] } } \end{array}
163
+ $$
164
+
165
+ where $A ( c ) : = \mathbb { E } _ { c ^ { \prime } \mid c } \left[ \exp \left( { t ^ { \top } \mathbf { R } _ { 2 } c ^ { \prime } } \right) \right]$ . Doing some further evaluations we show that
166
+
167
+ $$
168
+ A ( c ) = ( 1 \pm \epsilon _ { 2 } ) \exp \left( t ^ { \top } { \bf R } _ { 2 } c \right)
169
+ $$
170
+
171
+ Plugging (50) back in (23) provides the claim of the theorem.
172
+
173
+ The relationship given by (18) indicates that head and tail entity embeddings are first transformed respectively by $\bar { \mathbf { R } _ { 1 } } ^ { \top }$ and $\mathbf { R } _ { 2 } ^ { \phantom { \dagger } }$ , and the squared $\ell _ { 2 }$ norm of the sum of the transformed vectors is proportional to the probability $p ( h , t \mid R )$ .
174
+
175
+ # 3 LEARNING KNOWLEDGE GRAPH EMBEDDINGS
176
+
177
+ In this section, we derive a training objective from Theorem 1 that we can then optimise to learn KGE. The goal is to empirically validate the theoretical result by evaluating the learnt KGEs. Knowledge graphs represent information about relations between two entities in the form of relational triples. The joint probability $p ( h , R , t )$ given by Theorem 1 is useful for determining whether a relation $R$ exists between two given entities $h$ and $t$ . For example, if we know that with a high probability that $R$ holds between $h$ and $t$ , then we can append $( h , R , t )$ to the knowledge graph. The task of expanding knowledge graphs by predicting missing links between entities or relations is known as the link prediction problem (Trouillon et al., 2016). In particular, if we can automatically append such previously unknown knowledge to the knowledge graph, we can expand the knowledge graph and address the knowledge acquisition bottleneck.
178
+
179
+ To derive a criteria for determining whether a link must be predicted among entities and relations, let us consider a relational triple $( h , R , t ) \in \mathcal { D }$ that exists in a given knowledge graph $\mathcal { D }$ . We call such relational triples as positive triples because from the assumption it is known that $R$ holds between $h$ and $t$ . On the other hand, consider a negative relational triple $( h ^ { \prime } , R , t ^ { \prime } ) \in \mathcal { D }$ formed by, for example, randomly perturbing a positive triple. A popular technique for generating such (pseudo) negative triples is to replace $h$ or $t$ with a randomly selected different instance of the same entity type. As an alternative for random perturbation, Cai and Wang (2018) proposed a method for generating negative instances using adversarial learning. Here, we are not concerned about the actual method used for generating the negative triples but assume a set of negative triples, $\bar { \mathcal D }$ , generated using some method, to be given.
180
+
181
+ Given a positive triple $( h , R , t ) \in \mathcal { D }$ and a negative triple $( h ^ { \prime } , R , t ^ { \prime } ) \in \bar { \mathcal { D } }$ , we would like to learn KGEs such that a higher probability is assigned to $( h , R , t )$ than that assigned to $( h ^ { \prime } , R , t ^ { \prime } )$ . We can formalise this requirement using the likelihood ratio given by (25).
182
+
183
+ $$
184
+ \frac { p ( h , R , t ) } { p ( h ^ { \prime } , R , t ^ { \prime } ) } \geq \eta
185
+ $$
186
+
187
+ Here, $\eta > 1$ is a threshold that determines how higher we would like to set the probabilities for the positive triples compares to that of the negative triples.
188
+
189
+ By taking the logarithm of both sides in (25) we obtain
190
+
191
+ $$
192
+ \begin{array} { c } { \log p ( h , R , t ) - \log p ( h ^ { \prime } , R , t ^ { \prime } ) \geq \log { \eta } } \\ { \log \eta + \log p ( h ^ { \prime } , R , t ^ { \prime } ) - \log p ( h , R , t ) \geq 0 } \end{array}
193
+ $$
194
+
195
+ If a positive triple $( h , R , t )$ is correctly assigned a higher probability than a negative triple $p ( h ^ { \prime } , R , t ^ { \prime } )$ , then the left hand side of (26) will be negative, indicating that there is no loss incurred during this classification task. Therefore, we can re-write (26) to obtain the marginal loss Bordes et al. (2013; 2011), $L ( \mathcal { D } , \bar { \mathcal { D } } )$ , a popular choice as a learning objective in prior work in KGE, as shown in (27).
196
+
197
+ $$
198
+ \begin{array} { r l } & { L ( \mathcal { D } , \bar { \mathcal { D } } ) = \displaystyle \sum _ { ( h , R , t ) \in \mathcal { D } } \operatorname* { m a x } \left( 0 , \log \eta + \log p ( h ^ { \prime } , R , t ^ { \prime } ) - \log p ( h , R , t ) \right) } \\ & { \quad \quad \quad \quad ( h ^ { \prime } , R , t ^ { \prime } ) \in \bar { \mathcal { D } } } \\ & { \quad \quad \quad = \operatorname* { m a x } \left( 0 , 2 d \log \eta + \| \mathbf { R } _ { 1 } ^ { \top } h ^ { \prime } + \mathbf { R } _ { 2 } ^ { \top } t ^ { \prime } \| _ { 2 } ^ { 2 } - \| \mathbf { R } _ { 1 } ^ { \top } h + \mathbf { R } _ { 2 } ^ { \top } t \| _ { 2 } ^ { 2 } \right) } \end{array}
199
+ $$
200
+
201
+ We can assume $2 d \log \eta$ to be the margin for the constraint violation.
202
+
203
+ Theorem 1 requires $\mathbf { R } _ { 1 }$ and ${ \bf R } _ { 2 }$ to be orthogonal. To reflect this requirement, we add two $\ell _ { 2 }$ regularisation terms $\lVert \mathbf { R } _ { 1 } ^ { \top } \mathbf { R } _ { 1 } - \mathbf { I } \rVert _ { 2 } ^ { 2 }$ and $| | \mathbf { R } _ { 2 } ^ { \top } \mathbf { \widetilde { R } } _ { 2 } - \mathbf { I } | | _ { 2 } ^ { 2 }$ respectively with regularisation coefficients $\lambda _ { 1 }$ and $\lambda _ { 2 }$ to the objective function given by (27). In our experiments, we compute the gradients (27) w.r.t. each of the parameters $\mathbf { \Sigma } _ { h , \ t , \ R _ { 1 } }$ and $R _ { 2 }$ and use stochastic gradient descent (SGD) for optimisation. This approach can be easily extended to learn from multiple negative triples as shown in Appendix B.
204
+
205
+ # 4 RELATED WORK
206
+
207
+ At a high-level of abstraction, KGE methods can be seen as differing in their design choices for the following two main problems: (a) how to represent entities and relations, and (b) how to model the interaction between two entities and a relation that holds between them. Next, we briefly discuss prior proposals to those two problems (refer (Wang et al., 2017; Nickel et al., 2015; Nguyen, 2017) for an extended survey on KGE).
208
+
209
+ A popular choice for representing entities is to use vectors, whereas relations have been represented by vectors, matrices or tensors. For example, TransE (Bordes et al., 2011), TransH (Wang et al., 2014), TransD (Ji et al., 2015), TransG (Xiao et al., 2016), TransR (Lin et al., 2015), lppTransD (Yoon et al., 2016), DistMult (Yang et al., 2015), HolE (Nickel et al., 2016) and ComplEx (Trouillon et al., 2016) represent relations by vectors, whereas Structured Embeddings (Bordes et al., 2011), TranSparse (Ji et al., 2016), STransE (Nguyen et al., 2016), RESCAL (Nickel et al., 2011) use matrices and Neural Tensor Network (NTN) (Socher et al., 2013) uses 3D tensors. ComplEx (Trouillon et al., 2016) introduced complex vectors for KGEs to capture the asymmetry in semantic relations. (Ding et al., 2018) obtained state-of-the-art performance for KGE by imposing non-negativity and entailment constraints to ComplEx.
210
+
211
+ Given entity and relation embeddings, a scoring function is defined that evaluates the strength of a relation $R$ between two entities $h$ and $t$ in a triple $( h , R , t )$ . The scoring functions that encode various intuitions have been proposed such as the $\ell _ { 1 }$ or $\ell _ { 2 }$ norms of the vector formed by a translation of the head entity embedding by the relation embedding over the target embedding, or by first performing a projection from the entity embedding space to the relation embedding space (Yoon et al., 2016) As an alternative to using vector norms as scoring functions, DistMult and ComplEx use the component-wise multi-linear dot product.
212
+
213
+ Once a scoring function is defined, KGEs are learnt that assign better scores to relational triples in existing knowledge graphs (positive triples) over triples where the relation does not hold (negative triples) by minimising a loss function such as the logistic loss (RESCAL, DistMult, ComplEx) or marginal loss (TransE, TransH, TransD, TransD). Because knowledge graphs record only positive triples, a popular method to generate pseudo negative triples is to perturb a positive instance by replacing its head or tail entity by an entity selected uniformly at random from the vocabulary of the entities. However, uniformly sampled negative triples are likely to be obvious examples that do not provide much information to the learning process and can be detected by simply checking for the type of the entities in a triple. Cai and Wang (2018) proposed an adversarial learning approach where a generator assigns a probability to each relation triple and negative instances are sampled according to this probability distribution to train a discriminator that discriminates between positive and negative instances. (Xiao et al., 2016) proposed TransG, a generative model based on the Chinese restaurant process, to model multiple relations that exist between a pair of entities. However, their relation embeddings are designed to satisfy vector translation similar to TransE.
214
+
215
+ As an alternative to directly learning embeddings from a graph, several methods (Grover and Leskovec, 2016; Perozzi et al., 2014; Ristoski et al., 2018) have considered the vertices visited during truncated random walks over the graph as pseudo sentences, and have applied popular word embedding learning algorithms such as skip-gram with negative sampling or continuous bag-of-words model (Mikolov et al., 2013) to learn vertex embeddings. However, pseudo sentences generated this way are syntactically very different from sentences in natural languages.
216
+
217
+ On the other hand, our work extends the random walk analysis by Arora et al. (2016a) that derives a useful connection between the joint co-occurrence probability of two words and the $\ell _ { 2 }$ norm of the sum of the corresponding word embeddings. Specifically, they proposed a latent variable model where the words in a corpus are generated by a probabilistic model parametrised by a time-dependent discourse vector that performs a random walk. However, unlike in our work, they do not consider the relations between two co-occurring words in a corpus. Bollegala et al. (2018) extended the model proposed by Arora et al. (2016a) to capture co-occurrences involving more than two words. They defined the co-occurrence of $k$ unique words in a given context as a $k$ -way co-occurrence, where Arora et al. (2016a)’s result could be seen as a special case corersponding to $k = 2$ . Moreover, Bollegala et al. (2018) showed that it is possible to learn word embeddings that capture some types of semantic relations such as antonymy and collocation using 3-way co-occurrences more accurately than using 2-way co-occurrences. However, their model does not explicitly consider the relations between words/entities and uses only a corpus for learning the word embeddings.
218
+
219
+ Table 2: Triple classification.
220
+
221
+ <table><tr><td></td><td colspan="2">Accuracy</td></tr><tr><td>Method</td><td>WN11</td><td>FB13</td></tr><tr><td>SE</td><td>53.0</td><td>75.2</td></tr><tr><td>TransE</td><td>75.9</td><td>81.5</td></tr><tr><td>TransR</td><td>85.9</td><td>82.5</td></tr><tr><td>TransG</td><td>87.4</td><td>87.3</td></tr><tr><td>NTN</td><td>70.4</td><td>87.1</td></tr><tr><td>RelWalk</td><td>75.48</td><td>87.5</td></tr></table>
222
+
223
+ Table 3: Link prediction. Results marked with $[ \star ]$ are taken from Dettmers et al. (2017), $[ \bullet ]$ from Nguyen et al. (2017), [/] from and Cai and Wang (2018). All other results for the baselines are taken from their original papers.
224
+
225
+ <table><tr><td></td><td colspan="5">FB15K237</td><td colspan="5">WN18RR</td></tr><tr><td>Method</td><td>MRR</td><td>MR</td><td>H@1</td><td>H@3</td><td>H@10</td><td>MRR</td><td>MR</td><td>H@1</td><td>H@3</td><td>H@10</td></tr><tr><td>TransE</td><td>0.294</td><td>347</td><td>1</td><td>=</td><td>0.465</td><td>0.226</td><td>3384</td><td>=</td><td>=</td><td>0.50</td></tr><tr><td>TransD</td><td>0.28</td><td>-</td><td>1</td><td>1</td><td>0.453</td><td>1</td><td></td><td>1</td><td>1</td><td>0.43</td></tr><tr><td>DistMult*</td><td>0.241</td><td>254</td><td>0.155</td><td>0.263</td><td>0.419</td><td>0.43</td><td>5110</td><td>0.39</td><td>0.44</td><td>0.49</td></tr><tr><td>ComplEx*</td><td>0.247</td><td>339</td><td>0.158</td><td>0.275</td><td>0.428</td><td>0.44</td><td>5261</td><td>0.41</td><td>0.46</td><td>0.51</td></tr><tr><td>ConvE</td><td>0.316</td><td>246</td><td>0.239</td><td>0.35</td><td>0.491</td><td>0.46</td><td>5277</td><td>0.39</td><td>0.43</td><td>0.48</td></tr><tr><td>RelWalk</td><td>0.329</td><td>105</td><td>0.243</td><td>0.354</td><td>0.502</td><td>0.451</td><td>3232</td><td>0.42</td><td>0.47</td><td>0.51</td></tr></table>
226
+
227
+ # 5 EMPIRICAL VALIDATION
228
+
229
+ To empirically evaluate the theoretical result stated in Theorem 1, we learn KGEs (denoted by RelWalk) by minimising the marginal loss objective derived in section 3. We use the FB15k237, FB13 (subsets of Freebase) and WN11, WN18RR (subsets of WordNet) datasets, which are standard benchmarks for KGE. We use the standard training, validation and test splits as detailed in Table 4. We generate negative triples by replacing a head or a tail entity in a positive triple by a randomly selected different entity and learn KGEs. We train the model until convergence or at most 1000 epochs over the training data where each epoch is divided into $1 0 0 \mathrm { { m i n i } }$ -batches. The best model is selected by early stopping based on the performance of the learnt embeddings on the validation set (evaluated after each 20 epochs). The training details and hyperparameter settings are detailed in Appendix C. RelWalk is implemented in the open-source toolkit OpenKE (Han et al., 2018).2
230
+
231
+ We conduct two evaluation tasks: link prediction (predict the missing head or tail entity in a given triple $( h , R , ? )$ or $( ? , R , t ) )$ ) (Bordes et al., 2011) and triple classification (predict whether a relation $R$ holds between $h$ and $t$ in a given triple $( h , R , t ) )$ (Socher et al., 2013). We evaluate the performance in the link prediction task using mean reciprocal rank (MRR), mean rank (MR (the average of the rank assigned to the original head or tail entity in a corrupted triple) and hits at ranks 1, 3 and 10 $( \mathbf { H } @ \mathbf { 1 } , \mathbf { 3 } , \mathbf { 1 0 } )$ , whereas in the triple classification task we use accuracy (percentage of the correctly classified test triples). We only report scores under the filtered setting Bordes et al. (2013), which removes all triples appeared in training, validating and testing sets from candidate triples before obtaining the rank of the ground truth triple. In link prediction, we consider all entities that appear in the corresponding argument in the entire knowledge graph as candidates.
232
+
233
+ In Tables 2 and 3 we compare the KGEs learnt by RelWalk against prior work using the published results. For link prediction, RelWalk reports SoTA on both WN18RR and FB15K237 in all evaluation measures, except against ConvE in WN18RR measured by MRR. WN18RR excludes triples from WN18 that are simply inverted between train and test partitions (Toutanova and Chen, 2015; Dettmers et al., 2017). RelWalk’s consistently good performance on both versions of this dataset shows that it is considering the global structure in the knowledge graph when learning KGEs. For triple classification, RelWalk reports the best performance on FB13, whereas TransG reports the best performance on
234
+
235
+ WN11. Considering that both TransG and RelWalk are generative models, it would be interesting to further investigate generative approaches for KGE in the future. Overall, the experimental results support our theoretical claim and emphasise the importance of theoretically motivating the scoring function design process.
236
+
237
+ # 6 CONCLUSION
238
+
239
+ We proposed RelWalk, a generative model of KGE and derived a theoretical relationship between the probability of a triple and entity, relation embeddings. We then proposed a learning objective based on the theoretical relationship we derived. Experimental results on a link prediction and a triple classification tasks show that RelWalk obtains strong performances in multiple benchmark datasets.
240
+
241
+ # REFERENCES
242
+
243
+ Sanjeev Arora, Yuanzhi Li, Yingyu Liang, Tengyu Ma, and Andrej Risteski. A latent variable model approach to pmi-based word embeddings. Transactions of Association for Computational Linguistics, 4:385–399, 2016a.
244
+
245
+ Sanjeev Arora, Yuanzhi Li, Yingyu Liang, Tengyu Ma, and Andrej Risteski. Rand-walk: A latent variable model approach to word embeddings. arXiv, 2016b.
246
+
247
+ Kurt Bollacker, Colin Evans, Praveen Paritosh, Tim Sturge, and Jamie Taylor. Freebase: a collaboratively created graph database for structuring human knowledge. In Proc. of SIGMOD, pages 1247 – 1250, 2008.
248
+
249
+ Danushka Bollegala, Yuichi Yoshida, and Ken-ichi Kawarabayashi. Using $k$ -way Co-occurrences for Learning Word Embeddings. In Proc. of AAAI, 2018.
250
+
251
+ Antoine Bordes, Jason Weston, Ronan Collobert, and Yoshua Bengio. Learning structured embeddings of knowledge bases. In Proc. of AAAI, 2011.
252
+
253
+ Antoine Bordes, Nicolas Usunier, Alberto Garcia-Durán, Jason Weston, and Oksana Yakhenko. Translating embeddings for modeling multi-relational data. In Proc. of NIPS, 2013.
254
+
255
+ Liwei Cai and William Yang Wang. Kbgan: Adversarial learning for knowledge graph embeddings. In Proc. of NAACL, pages 1470–1480, 2018.
256
+
257
+ Tim Dettmers, Pasquale Minervini, Pontus Stenetorp, and Sebastian Riedel. Convolutional 2D Knowledge Graph Embeddings, 2017. URL http://arxiv.org/abs/1707.01476.
258
+
259
+ Boyang Ding, Quan Wang, Bin Wang, and Li Guo. Improving knowledge graph embedding using simple constraints. In Proc. of ACL, pages 110–121, 2018.
260
+
261
+ Aditya Grover and Jure Leskovec. node2vec: Scalable feature learning for networks. In Proc. of KDD, 2016.
262
+
263
+ Xu Han, Shulin Cao, Lv Xin, Yankai Lin, Zhiyuan Liu, Maosong Sun, and Juanzi Li. Openke: An open toolkit for knowledge embedding. In Proc. of EMNLP, 2018.
264
+
265
+ Guoliang Ji, Shizhu He, Liheng Xu, Kang Liu, and Jun Zhao. Knowledge graph embedding via dynamic mapping matrix. In Proc. of ACL, pages 687–696, 2015.
266
+
267
+ Guoliang Ji, Kang Liu, Shizhu He, and Jun Zhao. Knowledge graph completion with adaptive sparse transfer matrix. In Proc. of AAAI, pages 985–991, 2016.
268
+
269
+ Yankai Lin, Zhiyuan Liu, Maosong Sun, Yang Liu, and Xuan Zhu. Learning entity and relation embeddings for knowledge graph completion. In Proc. of AAAI, pages 2181–2187, 2015.
270
+
271
+ Tomas Mikolov, Kai Chen, and Jeffrey Dean. Efficient estimation of word representation in vector space. In Proc. of International Conference on Learning Representations, 2013.
272
+
273
+ Dai Quoc Nguyen, Tu Dinh Nguyen, Dat Quoc Nguyen, and Dinh Phung. A novel embedding model for knowledge base completion based on convolutional neural network. arXiv preprint arXiv:1712.02121, 2017.
274
+
275
+ Dat Quoc Nguyen. An overview of embedding models of entities and relationships for knowledge base completion. 03 2017. URL https://arxiv.org/abs/1703.08098.
276
+
277
+ Dat Quoc Nguyen, Kairit Sirts, Lizhen Qu, and Mark Johnson. Stranse: a novel embedding model of entities and relationships in knowledge bases. In Proc. of NAACL-HLT, pages 460–466, 2016.
278
+
279
+ Maximilian Nickel, Volker Tresp, and Hans-Peter Kriegel. A three-way model for collective learning on multi-relational data. In Proc. of ICML, pages 809–816, 2011.
280
+
281
+ Maximilian Nickel, Kevin Murphy, Volker Tresp, and Evgeniy Gabrilovich. A review of relational machine learning for knowledge graphs. Proceedings of the IEEE, 104(1):11–33, 2015.
282
+
283
+ Maximilian Nickel, Lorenzo Rosasco, and Tomaso Poggio. Holographic embeddings of knowledge graphs. In Proc. of AAAI, 2016.
284
+
285
+ Bryan Perozzi, Rami Al-Rfou, and Steven Skiena. Deepwalk: Online learning of social representations. In Proceedings of the 20th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD ’14, pages 701–710, New York, NY, USA, 2014. ACM. ISBN 978-1-4503-2956-9. doi: 10.1145/2623330.2623732. URL http://doi.acm.org/10.1145/ 2623330.2623732.
286
+
287
+ Petar Ristoski, Jessica Rosati, Tommaso Di Noia, Renato De Leone, and Heiko Paulheim. Rdf2vec: Rdf graph embeddings and their applications. Semantic Web, (Preprint):1–32, 2018.
288
+
289
+ Richard Socher, Danqi Chen, Christopher D. Manning, and Andrew Y. Ng. Reasoning with neural tensor networks for knowledge base completion. In Proc. of NIPS, 2013.
290
+
291
+ Kristina Toutanova and Danqi Chen. Observed versus latent features for knowledge base and text inference. In Proc. of 3rd Workshop on Continuous Vector Space Models and their Compositionality, pages 57–66, 2015.
292
+
293
+ Théo Trouillon, Johannes Welbl, Sebastian Riedel, Éric Gaussier, and Guillaume Bouchard. Complex embeddings for simple link prediction. In Proc. of ICML, 2016. URL http://arxiv.org/abs/ 1606.06357.
294
+
295
+ Q. Wang, Z. Mao, B. Wang, and L. Guo. Knowledge graph embedding: A survey of approaches and applications. IEEE Transactions on Knowledge and Data Engineering, 29(12):2724–2743, Dec 2017. ISSN 1041-4347. doi: 10.1109/TKDE.2017.2754499.
296
+
297
+ Zhen Wang, Jianwen Zhang, Jianlin Feng, and Zheng Chen. Knowledge graph embedding by translating on hyperplanes. In Proc. of AAAI, pages 1112 – 1119, 2014.
298
+
299
+ Han Xiao, Minlie Huang, and Xiaoyan Zhu. Transg : A generative model for knowledge graph embedding. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2316–2325, Berlin, Germany, August 2016. Association for Computational Linguistics. URL http://www.aclweb.org/anthology/P16-1219.
300
+
301
+ Bishan Yang, Wen-tau Yih, Xiadong He, Jianfeng Gao, and Li Deng. Embedding entities and relations for learning and inference in knowledge bases. In ICLR, 2015.
302
+
303
+ Hee-Geun Yoon, Hyun-Je Song, Seong-Bae Park, and Se-Young Park. A translation-based knowledge graph embedding preserving logical property of relations. In Proc. of NAACL, pages 907–916, 2016.
304
+
305
+ # APPENDIX
306
+
307
+ # A PROOF OF THEOREM 1
308
+
309
+ Let us consider the probabilistic event that $( 1 - \epsilon _ { z } ) Z \le Z _ { c } \le ( 1 + \epsilon _ { z } ) Z$ to be $F _ { c }$ and $( 1 - \epsilon _ { z } ) Z \le$ $Z _ { c ^ { \prime } } \leq ( 1 + \epsilon _ { z } ) Z$ to be $F _ { c ^ { \prime } }$ . From Lemma 1 we have $\mathrm { P r } _ { c } [ F _ { c } ] \ge 1 - \delta$ . Then from the union bound we have,
310
+
311
+ $$
312
+ \begin{array} { r l } & { \mathrm { P r } [ \bar { F } _ { c } \vee \bar { F } _ { c ^ { \prime } } ] \leq \mathrm { P r } [ \bar { F } _ { c } ] + \mathrm { P r } [ \bar { F } _ { c ^ { \prime } } ] } \\ & { \qquad = 1 - \mathrm { P r } [ F _ { c } ] + 1 - \mathrm { P r } [ F _ { c ^ { \prime } } ] } \\ & { \qquad = 2 \delta . } \end{array}
313
+ $$
314
+
315
+ Moreover, let $F$ be the probabilistic event that both $F _ { c }$ and $F _ { c ^ { \prime } }$ being True. Then from ${ \mathrm { P r } } [ F ] =$ $1 - \operatorname* { P r } [ \bar { F } _ { c } \vee \bar { F } _ { c ^ { \prime } } ]$ we have, $\mathrm { P r } [ F ] \ge 1 - 2 \delta$ . We can decompose the expectation in the R.H.S. in (5) into two terms $T _ { 1 }$ and $T _ { 2 }$ depending on whether respectively $F$ is True or False as follows:
316
+
317
+ $$
318
+ \begin{array} { r } { \mathbf { \rho } ( h , t \mid r ) = \underbrace { \mathbb { E } _ { c , c ^ { \prime } } \left[ \frac { \exp \big ( h ^ { \top } \mathbf { R } _ { 1 } c \big ) } { Z _ { c } } \frac { \exp \big ( h ^ { \top } \mathbf { R } _ { 2 } c ^ { \prime } \big ) } { Z _ { c ^ { \prime } } } \mathbf { 1 } _ { F } \right] } _ { = T _ { 1 } } + \underbrace { \mathbb { E } _ { c , c ^ { \prime } } \left[ \frac { \exp \big ( h ^ { \top } \mathbf { R } _ { 1 } c \big ) } { Z _ { c } } \frac { \exp \big ( h ^ { \top } \mathbf { R } _ { 2 } c ^ { \prime } \big ) } { Z _ { c ^ { \prime } } } \mathbf { 1 } _ { \bar { F } } \right] } _ { = T _ { 2 } } . } \end{array}
319
+ $$
320
+
321
+ Here, ${ \bf 1 } _ { F }$ and ${ \mathbf { 1 } } _ { \bar { F } }$ are indicator functions given by:
322
+
323
+ $$
324
+ \mathbf { 1 } _ { F } = { \left\{ \begin{array} { l l } { 1 } & { { \mathrm { i f ~ } } F { \mathrm { ~ i s ~ T r u e , } } } \\ { 0 } & { { \mathrm { o t h e r w i s e , } } } \end{array} \right. }
325
+ $$
326
+
327
+ and
328
+
329
+ $$
330
+ \mathbf { 1 } _ { \bar { F } } = \left\{ \begin{array} { l l } { 0 } & { \mathrm { i f ~ } F \mathrm { ~ i s ~ T r u e , } } \\ { 1 } & { \mathrm { o t h e r w i s e . } } \end{array} \right.
331
+ $$
332
+
333
+ Let us first show that $T _ { 2 }$ is negligibly small.
334
+
335
+ For two real integrable functions $\psi _ { 1 } ( x )$ and $\psi _ { 2 } ( x )$ in $[ a , b ]$ , the Cauchy-Schwarz’s inequality states that
336
+
337
+ $$
338
+ \left[ \int _ { a } ^ { b } \psi _ { 1 } ( x ) \psi _ { 2 } ( x ) d x \right] ^ { 2 } \leq \int _ { a } ^ { b } \left[ \psi _ { 1 } ( x ) \right] ^ { 2 } d x \int _ { a } ^ { b } \left[ \psi _ { 2 } ( x ) \right] ^ { 2 } d x .
339
+ $$
340
+
341
+ Applying (32) to $T _ { 2 }$ in (29) we have:
342
+
343
+ $$
344
+ \begin{array} { r l } & { \left( \mathbb { E } _ { c , c ^ { \prime } } \left[ \frac { 1 } { Z _ { c } Z _ { c ^ { \prime } } } \exp \left( h ^ { \top } \mathbf { R } _ { 1 } c \right) \exp \left( t ^ { \top } \mathbf { R } _ { 2 } c ^ { \prime } \right) \mathbf { 1 } _ { \bar { F } } \right] \right) ^ { 2 } } \\ & { \leq \left( \mathbb { E } _ { c , c ^ { \prime } } \left[ \frac { 1 } { Z _ { c } ^ { 2 } } \exp \left( h ^ { \top } \mathbf { R } _ { 1 } c \right) ^ { 2 } \mathbf { 1 } _ { \bar { F } } \right] \right) \left( \mathbb { E } _ { c , c ^ { \prime } } \left[ \frac { 1 } { Z _ { c ^ { \prime } } ^ { 2 } } \exp \left( t ^ { \top } \mathbf { R } _ { 2 } c ^ { \prime } \right) ^ { 2 } \mathbf { 1 } _ { \bar { F } } \right] \right) } \\ & { = \left( \mathbb { E } _ { c } \left[ \frac { 1 } { Z _ { c } ^ { 2 } } \exp \left( h ^ { \top } \mathbf { R } _ { 1 } c \right) ^ { 2 } \mathbb { E } _ { c ^ { \prime } \mid c } \left[ \mathbf { 1 } _ { \bar { F } } \right] \right] \right) \left( \mathbb { E } _ { c ^ { \prime } } \left[ \frac { 1 } { Z _ { c ^ { \prime } } ^ { 2 } } \exp \left( t ^ { \top } \mathbf { R } _ { 2 } c ^ { \prime } \right) ^ { 2 } \mathbb { E } _ { c \mid c ^ { \prime } } \left[ \mathbf { 1 } _ { \bar { F } } \right] \right] \right) } \end{array}
345
+ $$
346
+
347
+ Note that $Z _ { c } \geq 1$ because $Z _ { c }$ is the sum of positive numbers and if ${ \pmb h } ^ { \top } { \pmb R } _ { 1 } { \pmb c } \geq 0$ for at least one of the $h \in \mathcal V$ , then the total sum will be greater than 1. Therefore, by dropping $Z _ { c }$ term from the denominator we can further increase the first term in (33) as given by (34).
348
+
349
+ $$
350
+ \mathbb { E } _ { c } \left[ \frac { 1 } { Z _ { c } ^ { 2 } } \exp \left( \pmb { h } ^ { \top } \mathbf { R } _ { 1 } c \right) ^ { 2 } \mathbb { E } _ { c ^ { \prime } \mid c } \left[ \mathbf { 1 } _ { \bar { F } } \right] \right] \le \mathbb { E } _ { c } \left[ \exp \left( \pmb { h } ^ { \top } \mathbf { R } _ { 1 } c \right) ^ { 2 } \mathbb { E } _ { c ^ { \prime } \mid c } \left[ \mathbf { 1 } _ { \bar { F } } \right] \right]
351
+ $$
352
+
353
+ Let us split the expectation on the R.H.S. of (34) into two cases depending on whether ${ \pmb h } ^ { \top } { \pmb R } _ { 1 } { \pmb c } > 0$ or otherwise, indicated respectively by 1(h>R1c>0) and 1(h>R1c≤0).
354
+
355
+ $$
356
+ \begin{array} { r l } & { \mathbb { E } _ { c } \left[ \exp \left( \boldsymbol { h } ^ { \top } \mathbf { R } _ { 1 } c \right) ^ { 2 } \mathbb { E } _ { c ^ { \prime } \mid c } \left[ \mathbf { 1 } _ { \bar { F } } \right] \right] } \\ & { = \mathbb { E } _ { c } \left[ \exp \left( \boldsymbol { h } ^ { \top } \mathbf { R } _ { 1 } c \right) ^ { 2 } \mathbf { 1 } _ { \left( \boldsymbol { h } ^ { \top } \mathbf { R } _ { 1 } c > 0 \right) } \mathbb { E } _ { c ^ { \prime } \mid c } \left[ \mathbf { 1 } _ { \bar { F } } \right] \right] + \mathbb { E } _ { c } \left[ \exp \left( \boldsymbol { h } ^ { \top } \mathbf { R } _ { 1 } c \right) ^ { 2 } \mathbf { 1 } _ { \left( \boldsymbol { h } ^ { \top } \mathbf { R } _ { 1 } c \leq 0 \right) } \mathbb { E } _ { c ^ { \prime } \mid c } \left[ \mathbf { 1 } _ { \bar { F } } \right] \right] } \end{array}
357
+ $$
358
+
359
+ The second term of (35) is upper bounded by
360
+
361
+ $$
362
+ \mathbb { E } _ { c , c ^ { \prime } } \left[ \mathbf { 1 } _ { \bar { F } } \right] \leq \exp \left( - \Omega ( \log ^ { 2 } n ) \right)
363
+ $$
364
+
365
+ The first term of (35) can be bounded as follows:
366
+
367
+ $$
368
+ \begin{array} { r l } & { \mathbb { E } _ { c } \left[ \exp \left( h ^ { \top } \mathbf { R } _ { 1 } c \right) ^ { 2 } \mathbf { 1 } _ { ( h ^ { \top } \mathbf { R } _ { 1 } c > 0 ) } \mathbb { E } _ { c ^ { \prime } \mid c } \left[ \mathbf { 1 } _ { \bar { F } } \right] \right] \leq \mathbb { E } _ { c } \left[ \exp \left( \alpha h ^ { \top } \mathbf { R } _ { 1 } c \right) ^ { 2 } \mathbf { 1 } _ { ( h ^ { \top } \mathbf { R } _ { 1 } c > 0 ) } \mathbb { E } _ { c ^ { \prime } \mid c } \left[ \mathbf { 1 } _ { \bar { F } } \right] \right] } \\ & { \qquad \leq \mathbb { E } _ { c } \left[ \exp \left( \alpha h ^ { \top } \mathbf { R } _ { 1 } c \right) ^ { 2 } \mathbb { E } _ { c ^ { \prime } \mid c } \left[ \mathbf { 1 } _ { \bar { F } } \right] \right] } \end{array}
369
+ $$
370
+
371
+ where $\alpha > 1$ . Therefore, it is sufficient to bound $\mathbb { E } _ { c } \left[ \exp ( \alpha h ^ { \top } \mathbf { R } _ { 1 } c ) ^ { 2 } \mathbb { E } _ { c ^ { \prime } | c } \left[ \mathbf { 1 } _ { \bar { F } } \right] \right]$ when $\left\| h \right\| =$ $\Omega ( { \sqrt { d } } )$ .
372
+
373
+ Let us denote by $z$ the random variable $2 h ^ { \top } { \bf R } _ { 1 } c$ . Moreover, let $r ( z ) = \mathbb { E } _ { c ^ { \prime } | z } [ \mathbf { 1 } _ { \bar { F } } ]$ , which is a function of $z$ between $[ 0 , 1 ]$ . We wish to upper bound $\mathbb { E } _ { c } [ \exp ( z ) r ( z ) ]$ . The worst-case $r ( z )$ can be quantified using a continuous version of Abel’s inequality (proved as Lemma A.4 in Arora et al. (2016b)), we can upper bound $\mathbb { E } _ { c } \left[ \exp ( z ) r ( z ) \right]$ as follows:
374
+
375
+ $$
376
+ \mathbb { E } _ { c } \left[ \exp ( z ) r ( z ) \right] \leq \mathbb { E } \left[ \exp ( z ) \mathbf { 1 } _ { [ t , + \infty ] } ( z ) \right]
377
+ $$
378
+
379
+ where $t$ satisfies that $\begin{array} { r } { \mathbb { E } _ { c } [ \mathbf { 1 } _ { [ t , + \infty ] } ( z ) ] = \operatorname* { P r } [ z \geq t ] = \mathbb { E } _ { c } [ r ( z ) ] \leq \exp ( - \Omega ( \log ^ { 2 } n ) ) } \end{array}$ . Here, $\mathbf { 1 } _ { [ t , + \infty ] } ( z )$ is a function that takes the value 1 when $z \geq t$ and zero elsewhere. Then, we claim $\mathrm { P r } _ { c } [ z \ge t ] \le$ $\exp ( - \Omega ( \log ^ { 2 } n ) )$ implies that $t \geq \Omega ( \log ^ { . 9 } n )$ .
380
+
381
+ If $c$ was distributed as $\mathcal { N } ( 0 , \frac { 1 } { d } \mathbf { I } )$ , this would be a simple tail bound. However, as $c$ is distributed uniformly on the sphere, this requires special care, and the claim follows by applying the tail bound for the spherical distribution given by Lemma A.1 in (Arora et al., 2016a) instead. Finally, applying Corollary A.3 in (Arora et al., 2016a), we have:
382
+
383
+ $$
384
+ \mathbb { E } [ \exp ( z ) r ( z ) ] \leq \mathbb { E } [ \exp ( z ) \mathbf { 1 } _ { [ t , + \infty ] } ( z ) ] = \exp ( - \Omega ( \log ^ { 1 . 8 } n ) )
385
+ $$
386
+
387
+ From a similar argument as above we can obtain the same bound for $c ^ { \prime }$ as well. Therefore, $T _ { 2 }$ in (29) can be upper bounded as follows:
388
+
389
+ $$
390
+ \begin{array} { r l } & { \mathbb { E } _ { c , c ^ { \prime } } \left[ \frac { 1 } { Z _ { c } Z _ { c ^ { \prime } } } \exp \left( h ^ { \top } \mathbf { R } _ { 1 } c \right) \exp \left( t ^ { \top } \mathbf { R } _ { 2 } c ^ { \prime } \right) \mathbf { 1 } _ { \bar { F } } \right] } \\ & { = \left( \mathbb { E } _ { c } \left[ \frac { 1 } { Z _ { c } ^ { 2 } } \exp \left( h ^ { \top } \mathbf { R } _ { 1 } c \right) ^ { 2 } \mathbb { E } _ { c ^ { \prime } \mid c } \left[ \mathbf { 1 } _ { \bar { F } } \right] \right) \right) ^ { 1 / 2 } \left( \mathbb { E } _ { c ^ { \prime } } \left[ \frac { 1 } { Z _ { c ^ { \prime } } ^ { 2 } } \exp \left( t ^ { \top } \mathbf { R } _ { 2 } c ^ { \prime } \right) ^ { 2 } \mathbb { E } _ { c \mid c ^ { \prime } } \left[ \mathbf { 1 } _ { \bar { F } } \right] \right] \right) ^ { 1 / 2 } } \\ & { \leq \exp ( - \Omega ( \log ^ { 1 . 8 } n ) ) } \end{array}
391
+ $$
392
+
393
+ Because $n = | \mathcal { V } |$ , the size of the entity vocabulary, is large (ca. $n > 1 0 ^ { 5 }$ ) in most knowledge graphs, we can ignore the $T _ { 2 }$ term in (29). Combining this with (29) we obtain an upper bound for $p ( h , t \mid R )$ given by (41).
394
+
395
+ $$
396
+ \begin{array} { r l } & { p ( h , t \mid R ) \leq \left( 1 + \epsilon _ { z } \right) ^ { 2 } \frac { 1 } { Z ^ { 2 } } \mathbb { E } _ { c , c ^ { \prime } } \left[ \exp \left( h ^ { \top } \mathbf { R } _ { 1 } c \right) \exp \left( t ^ { \top } \mathbf { R } _ { 2 } c ^ { \prime } \right) \mathbf { 1 } _ { F } \right] + | \mathcal { D } | \exp \left( - \Omega ( \log ^ { 1 . 8 } n ) \right) } \\ & { \phantom { \left( 1 + \epsilon _ { z } \right) ^ { 2 } } = \left( 1 + \epsilon _ { z } \right) ^ { 2 } \frac { 1 } { Z ^ { 2 } } \mathbb { E } _ { c , c ^ { \prime } } \left[ \exp \left( h ^ { \top } \mathbf { R } _ { 1 } c \right) \exp \left( t ^ { \top } \mathbf { R } _ { 2 } c ^ { \prime } \right) \right] + \delta _ { 0 } \phantom { \left( 1 + \epsilon _ { z } \right) ^ { 2 } } ( \mathrm { a v e } ^ { 2 } + \mathrm { b } _ { 0 } ^ { 2 } ) , } \end{array}
397
+ $$
398
+
399
+ where $| \mathcal D |$ is the number of relational tuples $( h , R , t )$ in the KB $\mathcal { D }$ and $\delta _ { 0 } = | \mathcal { D } | \exp ( - \Omega ( \log ^ { 1 . 8 } n ) ) \leq$ $\exp ( - \Omega ( \log ^ { 1 . 8 } n ) )$ by the fact that $Z \le \exp ( 2 \kappa ) n = O ( n )$ , where $\kappa$ is the upper bound on $\mathbf { \Sigma } _ { h } \top \mathbf { R } _ { 1 } c$ and ${ \pmb t } ^ { \top } { \pmb R } _ { 2 } c ^ { \prime }$ , which is regarded as a constant.
400
+
401
+ On the other hand, we can lower bound $p ( h , t \mid R )$ as given by (42).
402
+
403
+ $$
404
+ \begin{array} { r l } & { p ( h , t \mid R ) \ge ( 1 - \epsilon _ { z } ) ^ { 2 } \frac { 1 } { Z ^ { 2 } } \mathbb { E } _ { c , c ^ { \prime } } \left[ \exp \left( h ^ { \top } \mathbf { R } _ { 1 } c \right) \exp \left( t ^ { \top } \mathbf { R } _ { 2 } c ^ { \prime } \right) \mathbf { 1 } _ { F } \right] } \\ & { \qquad \ge ( 1 - \epsilon _ { z } ) ^ { 2 } \frac { 1 } { Z ^ { 2 } } \mathbb { E } _ { c , c ^ { \prime } } \left[ \exp \left( h ^ { \top } \mathbf { R } _ { 1 } c \right) \exp \left( t ^ { \top } \mathbf { R } _ { 2 } c ^ { \prime } \right) \right] - | \mathcal { D } | \exp ( - \Omega ( \log ^ { 1 . 8 } n ) ) } \\ & { \qquad \ge ( 1 - \epsilon _ { z } ) ^ { 2 } \frac { 1 } { Z ^ { 2 } } \mathbb { E } _ { c , c ^ { \prime } } \left[ \exp \left( h ^ { \top } \mathbf { R } _ { 1 } c \right) \exp \left( t ^ { \top } \mathbf { R } _ { 2 } c ^ { \prime } \right) \right] - \delta _ { 0 } } \end{array}
405
+ $$
406
+
407
+ Taking the logarithm of both sides, from (41) and (42), the multiplicative error translates to an additive error given by (43).
408
+
409
+ $$
410
+ \begin{array} { r l r } { \log p ( h , t \mid R ) = \log \left( \mathbb { E } _ { c , c ^ { \prime } } \left[ \exp \left( h ^ { \top } \mathbf { R } _ { 1 } c \right) \exp \left( t ^ { \top } \mathbf { R } _ { 2 } c ^ { \prime } \right) \right] \pm \delta _ { 0 } \right) - 2 \log Z + 2 \log ( 1 \pm \epsilon _ { z } ) } & \\ { = \log \left( \mathbb { E } _ { c } \left[ \exp \left( h ^ { \top } \mathbf { R } _ { 1 } c \right) \mathbb { E } _ { c ^ { \prime } \mid c } \left[ \exp \left( t ^ { \top } \mathbf { R } _ { 2 } c ^ { \prime } \right) \right] \right] \pm \delta _ { 0 } \right) - 2 \log Z + 2 \log ( 1 \pm \epsilon _ { z } ) } & \\ { = \log \left( \mathbb { E } _ { c } \left[ \exp \left( h ^ { \top } \mathbf { R } _ { 1 } c \right) A ( c ) \pm \delta _ { 0 } \right] \right) - 2 \log Z + 2 \log ( 1 \pm \epsilon _ { z } ) } & { ( 4 3 \pi ) } & \end{array}
411
+ $$
412
+
413
+ where $A ( c ) : = \mathbb { E } _ { c ^ { \prime } \mid c } \left[ \exp \left( t ^ { \top } \mathbf { R } _ { 2 } c ^ { \prime } \right) \right]$ .
414
+
415
+ We assumed that $^ c$ and $c ^ { \prime }$ are on the unit sphere and $\mathbf { R } _ { 1 }$ and $\mathbf { R } _ { 2 }$ to be orthogonal matrices. Therefore, $\mathbf { R } _ { 1 } \boldsymbol { c }$ and $\mathbf { R } _ { 2 } { \pmb { c } } ^ { \prime }$ are also on the unit sphere. Moreover, if we let the upper bound of the $\ell _ { 2 }$ norm of the entity embeddings to be $\kappa ^ { \prime } \sqrt { d }$ , then we have $\| h \| \leq \kappa ^ { \prime } \sqrt { d }$ and $\| \pmb { t } \| \leq \kappa ^ { \prime } \sqrt { d }$ . Therefore, we have
416
+
417
+ $$
418
+ \langle R _ { 1 } h , c ^ { \prime } - c \rangle \leq \| h \| \| c - c ^ { \prime } \| \leq \kappa ^ { \prime } \sqrt { d } \| c - c ^ { \prime } \|
419
+ $$
420
+
421
+ Then we can lower bound $A ( c )$ as follows:
422
+
423
+ $$
424
+ \begin{array} { r l } & { A ( c ) = \exp \left( t ^ { \top } \mathbf { R } _ { 2 } c \right) \mathbb { E } _ { c ^ { \prime } \mid c } \left[ \exp \left( t ^ { \top } \mathbf { R } _ { 2 } ( c ^ { \prime } - c ) \right) \right] } \\ & { \qquad \leq \exp \left( t ^ { \top } \mathbf { R } _ { 2 } c \right) \mathbb { E } _ { c ^ { \prime } \mid c } \left[ \exp \left( \kappa ^ { \prime } \sqrt { d } \| c ^ { \prime } - c \| \right) \right] } \\ & { \qquad \leq \left( 1 + \epsilon _ { 2 } \right) \exp \left( t ^ { \top } \mathbf { R } _ { 2 } c \right) } \end{array}
425
+ $$
426
+
427
+ For some $\epsilon _ { 2 } > 0$ . The last inequality holds because
428
+
429
+ $$
430
+ \begin{array} { r l } & { \mathbb { E } _ { c | c ^ { \prime } } \left[ \exp \left( \kappa ^ { \prime } \sqrt { d } \| c ^ { \prime } - c \| \right) \right] = \displaystyle \int \exp \left( \kappa ^ { \prime } \sqrt { d } \| c ^ { \prime } - c \| \right) p ( c ^ { \prime } | c ) d c ^ { \prime } } \\ & { \quad \quad \quad = \underbrace { \exp ( \kappa ^ { \prime } \sqrt { d } ) } _ { \geq 1 } \underbrace { \int \exp ( \| c - c ^ { \prime } \| ) p ( c ^ { \prime } | c ) d c ^ { \prime } } _ { \geq 1 } } \\ & { \quad \quad = 1 + \epsilon _ { 2 } } \end{array}
431
+ $$
432
+
433
+ To obtain a lower bound on $A ( c )$ from the first-order Taylor approximation of $\exp ( x ) \geq 1 + x$ we observe that
434
+
435
+ $$
436
+ \mathbb { E } _ { c | c ^ { \prime } } \left[ \exp \left( \kappa ^ { \prime } \sqrt { d } \| c ^ { \prime } - c \| \right) \right] + \mathbb { E } _ { c | c ^ { \prime } } \left[ \exp \left( - \kappa ^ { \prime } \sqrt { d } \| c ^ { \prime } - c \| \right) \right] \geq 2 .
437
+ $$
438
+
439
+ Therefore, from our model assumptions we have
440
+
441
+ $$
442
+ \begin{array} { r } { \mathbb { E } _ { c | c ^ { \prime } } \left[ \exp \left( - \kappa ^ { \prime } \sqrt { d } \| c ^ { \prime } - c \| \right) \right] \geq 1 - \epsilon _ { 2 } } \end{array}
443
+ $$
444
+
445
+ Hence,
446
+
447
+ $$
448
+ \begin{array} { r l } & { A ( c ) = \exp \left( t ^ { \top } \mathbf { R } _ { 2 } c \right) \mathbb { E } _ { c ^ { \prime } \mid c } \left[ \exp \left( t ^ { \top } \mathbf { R } _ { 2 } ( c ^ { \prime } - c ) \right) \right] } \\ & { \qquad \geq \exp \left( t ^ { \top } \mathbf { R } _ { 2 } c \right) \mathbb { E } _ { c ^ { \prime } \mid c } \left[ \exp \left( - \kappa ^ { \prime } \sqrt { d } \| c ^ { \prime } - c \| \right) \right] } \\ & { \qquad \geq \left( 1 - \epsilon _ { 2 } \right) \exp \left( t ^ { \top } \mathbf { R } _ { 2 } c \right) } \end{array}
449
+ $$
450
+
451
+ Therefore, from (46) and (49) we have
452
+
453
+ $$
454
+ A ( c ) = ( 1 \pm \epsilon _ { 2 } ) \exp \left( t ^ { \top } { \bf R } _ { 2 } c \right)
455
+ $$
456
+
457
+ Plugging $A ( c )$ back in (43) we obtain
458
+
459
+ $$
460
+ \begin{array} { r l } & { \mathrm { o g } p ( h , t \mid R ) = \log \left( \mathbb { E } _ { c } \left[ \exp \left( h ^ { \top } \mathbf { R } _ { 1 } c \right) A ( c ) \pm \delta _ { 0 } \right] \right) - 2 \log Z + 2 \log ( 1 \pm \epsilon _ { z } ) } \\ & { \qquad = \log \left( \mathbb { E } _ { c } \left[ \exp \left( h ^ { \top } \mathbf { R } _ { 1 } c \right) \left( 1 \pm \epsilon _ { 2 } \right) \exp \left( t ^ { \top } \mathbf { R } _ { 2 } c \right) \pm \delta _ { 0 } \right] \right) - 2 \log Z + 2 \log ( 1 \pm \epsilon _ { z } ) } \\ & { \qquad = \log \left( \mathbb { E } _ { c } \left[ \exp \left( h ^ { \top } \mathbf { R } _ { 1 } c \right) \exp \left( t ^ { \top } \mathbf { R } _ { 2 } c \right) \pm \delta _ { 0 } \right] \right) - 2 \log Z + 2 \log ( 1 \pm \epsilon _ { z } ) + \log ( 1 \pm \epsilon _ { 2 } ) } \\ & { \qquad = \log \left( \mathbb { E } _ { c } \left[ \exp \left( h ^ { \top } \mathbf { R } _ { 1 } c + t ^ { \top } \mathbf { R } _ { 2 } c \right) \pm \delta _ { 0 } \right] \right) - 2 \log Z + 2 \log ( 1 \pm \epsilon _ { z } ) + \log ( 1 \pm \epsilon _ { 2 } ) } \\ & { \qquad = \log \left( \mathbb { E } _ { c } \left[ \exp \left( h ^ { \top } \mathbf { R } _ { 1 } c + t ^ { \top } \mathbf { R } _ { 2 } c \right) \pm \delta _ { 0 } \right] \right) - 2 \log Z + 2 \log ( 1 \pm \epsilon _ { z } ) + \log ( 1 \pm \epsilon _ { 2 } ) } \\ & { \qquad = \log \left( \mathbb { E } _ { c } \left[ \exp \left( \mathbf { R } _ { 1 } ^ { \top } h + \mathbf { R } _ { 2 } ^ { \top } t \right) ^ { \top } c \pm \delta _ { 0 } \right] \right) - 2 \log Z + 2 \log ( 1 \pm \epsilon _ { z } ) + \log ( 1 \pm \epsilon _ { 2 } ) } \end{array}
461
+ $$
462
+
463
+ Note that $^ c$ has a uniform distribution over the unit sphere. In this case, from Lemma A.5 in (Arora et al., 2016b), (52) holds approximately.
464
+
465
+ $$
466
+ \mathbb { E } _ { c } \left[ \exp \left( { \mathbf { R } _ { 1 } } ^ { \top } { \pmb { h } } + { \mathbf { R } _ { 2 } } ^ { \top } { \pmb { t } } \right) ^ { \top } { \pmb { c } } \right] = \left( 1 \pm \epsilon _ { 3 } \right) \exp \left( \frac { \| { \mathbf { R } _ { 1 } } ^ { \top } { \pmb { h } } + { \mathbf { R } _ { 2 } } ^ { \top } { \pmb { t } } \| ^ { 2 } } { 2 d } \right)
467
+ $$
468
+
469
+ where $\epsilon _ { 3 } = \tilde { O } ( 1 / d )$ . Plugging (52) in (51) we have that
470
+
471
+ $$
472
+ \log p ( h , t \mid R ) = \frac { \| \mathbf R _ { 1 } ^ { \top } h + \mathbf R _ { 2 } ^ { \top } t \| _ { 2 } ^ { 2 } } { 2 d } + O ( \epsilon _ { z } ) + O ( \epsilon _ { 2 } ) + O ( \epsilon _ { 3 } ) + O ( \delta _ { 0 } ^ { \prime } ) - 2 \log Z
473
+ $$
474
+
475
+ where $\delta _ { 0 } ^ { \prime } = \delta _ { 0 } \cdot \left( { \mathbb E } _ { c } \left[ \exp \left( ( { \mathbf R _ { 1 } } ^ { \top } { \pmb h } + { \mathbf R _ { 2 } } ^ { \top } { \pmb t } ) ^ { \top } { \pmb c } \right) \right] \right) ^ { - 1 } = \exp ( - \Omega ( \log ^ { 1 . 8 } n ) )$ . Therefore, $\delta _ { 0 } ^ { \prime }$ can be ignored. Note that $\epsilon _ { 3 } = \tilde { O } ( 1 / d )$ and $\epsilon _ { z } = { \tilde { O } } ( 1 / { \sqrt { n } } )$ by assumption. Therefore, we obtain that
476
+
477
+ $$
478
+ \log p ( h , t \mid \boldsymbol { R } ) = \frac { \| \mathbf { R } _ { 1 } ^ { \top } \boldsymbol { h } + \mathbf { R } _ { 2 } ^ { \top } \boldsymbol { t } \| _ { 2 } ^ { 2 } } { 2 d } + O ( \epsilon _ { z } ) + O ( \epsilon _ { 2 } ) + \tilde { O } ( 1 / d ) - 2 \log Z
479
+ $$
480
+
481
+ # B LEARNING WITH MULTIPLE NEGATIVE TRIPLES
482
+
483
+ In this section, we show how the margin loss-based learning objective derived in section 3 can be extended to learn from more than one negative triples per each positive triple. This formulation leads to rank-based loss objective used in prior work on KGE. Considering that negative triples are generated via random perturbation, it is important to consider multiple negative triples during training to better estimate the classification boundary.
484
+
485
+ Let us consider that we are given a positive triple, $( h , R , t )$ and a set of $K$ negative triples $\{ ( h _ { k } ^ { \prime } , R , t _ { k } ^ { \prime } ) \} _ { k = 1 } ^ { K }$ . We would like our model to assign a probability, $p ( h , t \mid R )$ , to the positive triple that is higher than that assigned to any of the negative triples. This requirement can be written as (55).
486
+
487
+ $$
488
+ p ( h , t | R ) \geq \operatorname* { m a x } _ { k = 1 , \ldots , K } p ( h _ { k } ^ { \prime } , t _ { k } ^ { \prime } \mid R )
489
+ $$
490
+
491
+ We could further require the ratio between the probability of the positive triple and maximum probability over all negative triples to be greater than a threshold $\eta \geq 1$ to make the requirement of (55) to be tighter.
492
+
493
+ $$
494
+ \frac { p ( h , t \mid R ) } { \underset { k = 1 , \dots , K } { \operatorname* { m a x } } p ( h _ { k } ^ { \prime } , t _ { k } ^ { \prime } \mid R ) } \geq \eta
495
+ $$
496
+
497
+ By taking the logarithm of (56) we obtain
498
+
499
+ $$
500
+ \log p ( h , t \mid R ) - \log \left( \operatorname* { m a x } _ { k = 1 , \ldots , K } p ( h _ { k } ^ { \prime } , t _ { k } ^ { \prime } \mid R ) \right) \geq \log ( \eta )
501
+ $$
502
+
503
+ Therefore, we can define the margin loss for a misclassification as follows:
504
+
505
+ $$
506
+ L \left( ( h , R , t ) , \{ ( h _ { k } ^ { \prime } , R , t _ { k } ^ { \prime } ) \} _ { k = 1 } ^ { K } \right) = \operatorname* { m a x } \left( 0 , \log \left( \operatorname* { m a x } _ { k = 1 , \ldots , K } p ( h _ { k } ^ { \prime } , t _ { k } ^ { \prime } \mid R ) \right) + \log ( \eta ) - \log p ( h , t \mid R ) \right)
507
+ $$
508
+
509
+ However, from the monotonicity of the logarithm we have $\forall x _ { 1 } , x _ { 2 } \ > \ 0$ , if $\log ( x _ { 1 } ) \geq \log ( x _ { 2 } )$ then $x _ { 1 } \geq x _ { 2 }$ . Therefore, the logarithm of the maximum can be replaced by the maximum of the logarithms in (58) as shown in (59).
510
+
511
+ $$
512
+ L \left( ( h , R , t ) , \{ ( h _ { k } ^ { \prime } , R , t _ { k } ^ { \prime } ) \} _ { k = 1 } ^ { K } \right) = \operatorname* { m a x } \left( 0 , \operatorname* { m a x } _ { k = 1 , \ldots , K } \log \left( p ( h _ { k } ^ { \prime } , t _ { k } ^ { \prime } \mid R ) \right) + \log ( \eta ) - \log p ( h , t \mid R ) \right)
513
+ $$
514
+
515
+ By substituting (18) for the probabilities in (59) we obtain the rank-based loss given by (60).
516
+
517
+ $$
518
+ \overset { : } { \underset { ( ( h , R , t ) , } { ( ( h , R , t ) , } \{ ( h _ { k } ^ { \prime } , R , t _ { k } ^ { \prime } ) \} _ { k = 1 } ^ { K } ) } = \operatorname* { m a x } ( 0 , 2 d \log ( \eta ) + \underset { k = 1 , \ldots , K } { \operatorname* { m a x } } \| \mathbf { R } _ { 1 } ^ { \top } h _ { k } ^ { \prime } + \mathbf { R } _ { 2 } ^ { \top } t _ { k } ^ { \prime } \| _ { 2 } ^ { 2 } - \| \mathbf { R } _ { 1 } ^ { \top } h + \mathbf { R } _ { 2 } ^ { \top } t \| _ { 2 } ^ { 2 } )
519
+ $$
520
+
521
+ In practice, we can use $p ( h _ { k } ^ { \prime } , t _ { k } ^ { \prime } \mid { \cal R } )$ to select the negative triple with the highest probability for training with the positive triple.
522
+
523
+ Table 4: Statistics of the datasets
524
+
525
+ <table><tr><td>Dataset</td><td>Relations</td><td>Entities</td><td>Train</td><td>Test</td><td>Validation</td></tr><tr><td>FB15K</td><td>1,345</td><td>14,951</td><td>483,142</td><td>59,071</td><td>50,000</td></tr><tr><td>FB15K237</td><td>237</td><td>14,541</td><td>272,115</td><td>17,535</td><td>20,466</td></tr><tr><td>WN18</td><td>18</td><td>40,943</td><td>141,442</td><td>5,000</td><td>5,000</td></tr><tr><td>WN18RR</td><td>11</td><td>40,943</td><td>86.835</td><td>3,134</td><td>3,034</td></tr><tr><td>WN11</td><td>11</td><td>38,588</td><td>112,581</td><td>10,544</td><td>2,609</td></tr><tr><td>FB13</td><td>13</td><td>75,043</td><td>316,232</td><td>23,733</td><td>5,908</td></tr></table>
526
+
527
+ # C TRAINING DETAILS
528
+
529
+ The statistics of the benchmark datasets are show in Table 4.
530
+
531
+ We selected the initial learning rate $( \alpha )$ for SGD in $\{ 0 . 0 1 , 0 . 0 0 1 \}$ , the regularisation coefficients $( \lambda _ { 1 } , \lambda _ { 2 } )$ for the orthogonality constraints of relation matrices in $\{ 0 , 1 , 1 0 , 1 0 0 \}$ . The number of randomly generated negative triples $n _ { \mathrm { n { e g } } }$ for each positive example is varied in $\{ 1 , 1 0 , 2 0 , 5 0 , 1 0 0 \}$ and $d \in \{ 5 0 , 1 0 0 \}$ . Optimal hyperparameter settings were: $\lambda _ { 1 } = \lambda _ { 2 } = 1 0$ , $n _ { \mathrm { n { e g } } } = 1 0 0$ for all the datasets, $\alpha = 0 . 0 0 1$ for FB15K, FB15K237 and FB13, $\alpha = 0 . 0 1$ for WN18, WN18RR and WN11. For FB15K237 and WN18RR $d = 1 0 0$ was the best, whereas for all other datasets $d = 5 0$ performed best.
parse/train/SkxbDsR9Ym/SkxbDsR9Ym_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/SkxbDsR9Ym/SkxbDsR9Ym_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/SkxbDsR9Ym/SkxbDsR9Ym_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/ebS5NUfoMKL/ebS5NUfoMKL_content_list.json ADDED
@@ -0,0 +1,1922 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "BOOST THEN CONVOLVE: GRADIENT BOOSTING MEETS GRAPH NEURAL NETWORKS ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 176,
8
+ 98,
9
+ 759,
10
+ 146
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Sergei Ivanov \nCriteo AI Lab; Skoltech \nParis, France \ns.ivanov@criteo.com ",
17
+ "bbox": [
18
+ 183,
19
+ 170,
20
+ 372,
21
+ 226
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Liudmila Prokhorenkova Yandex; HSE University; MIPT Moscow, Russia ostroumova-la@yandex-team.ru ",
28
+ "bbox": [
29
+ 464,
30
+ 170,
31
+ 740,
32
+ 227
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "ABSTRACT ",
39
+ "text_level": 1,
40
+ "bbox": [
41
+ 454,
42
+ 262,
43
+ 544,
44
+ 277
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "Graph neural networks (GNNs) are powerful models that have been successful in various graph representation learning tasks. Whereas gradient boosted decision trees (GBDT) often outperform other machine learning methods when faced with heterogeneous tabular data. But what approach should be used for graphs with tabular node features? Previous GNN models have mostly focused on networks with homogeneous sparse features and, as we show, are suboptimal in the heterogeneous setting. In this work, we propose a novel architecture that trains GBDT and GNN jointly to get the best of both worlds: the GBDT model deals with heterogeneous features, while GNN accounts for the graph structure. Our model benefits from endto-end optimization by allowing new trees to fit the gradient updates of GNN. With an extensive experimental comparison to the leading GBDT and GNN models, we demonstrate a significant increase in performance on a variety of graphs with tabular features. The code is available: https://github.com/nd7141/bgnn. ",
51
+ "bbox": [
52
+ 233,
53
+ 292,
54
+ 766,
55
+ 472
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "1 INTRODUCTION ",
62
+ "text_level": 1,
63
+ "bbox": [
64
+ 176,
65
+ 496,
66
+ 336,
67
+ 512
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Graph neural networks (GNNs) have shown great success in learning on graph-structured data with various applications in molecular design (Stokes et al., 2020), computer vision (Casas et al., 2019), combinatorial optimization (Mazyavkina et al., 2020), and recommender systems (Sun et al., 2020). The main driving force for progress is the existence of canonical GNN architecture that efficiently encodes the original input data into expressive representations, thereby achieving high-quality results on new datasets and tasks. ",
74
+ "bbox": [
75
+ 174,
76
+ 526,
77
+ 825,
78
+ 609
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "Recent research has mostly focused on GNNs with sparse data representing either homogeneous node embeddings (e.g., one-hot encoded graph statistics) or bag-of-words representations. Yet tabular data with detailed information and rich semantics among nodes in the graph are more natural for many situations and abundant in real-world AI (Xiao et al., 2019). For example, in a social network, each person has socio-demographic characteristics (e.g., age, gender, date of graduation), which largely vary in data type, scale, and missing values. GNNs for graphs with tabular data remain unexplored, with gradient boosted decision trees (GBDTs) largely dominating in applications with such heterogeneous data (Bentejac et al., 2020). ´ ",
85
+ "bbox": [
86
+ 174,
87
+ 617,
88
+ 825,
89
+ 728
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "GBDTs are so successful for tabular data because they possess certain properties: (i) they efficiently learn decision space with hyperplane-like boundaries that are common in tabular data; (ii) they are well-suited for working with variables of high cardinality, features with missing values, and of different scale; (iii) they provide qualitative interpretation for decision trees (e.g., by computing decrease in node impurity for every feature) or for ensembles via post-hoc analysis stage (Kaur et al., 2020); (iv) in practical applications, they mostly converge faster even for large amounts of data. ",
96
+ "bbox": [
97
+ 174,
98
+ 736,
99
+ 825,
100
+ 819
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "In contrast, a crucial feature of GNNs is that they take into account both the neighborhood information of the nodes and the node features to make a prediction, unlike GBDTs that require additional preprocessing analysis to provide the algorithm with graph summary (e.g., through unsupervised graph embeddings (Hu et al., 2020a)). Moreover, it has been shown theoretically that message-passing GNNs can compute any function on its graph input that is computable by a Turing machine, i.e., GNN is known to be the only learning architecture that possesses universality properties on graphs (approximation (Keriven & Peyre, 2019; Maron et al., 2019) and computability (Loukas, 2020)). ´ ",
107
+ "bbox": [
108
+ 174,
109
+ 825,
110
+ 825,
111
+ 924
112
+ ],
113
+ "page_idx": 0
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "Furthermore, gradient-based learning of neural networks can have numerous advantages over the treebased approach: (i) relational inductive bias imposed in GNNs alleviates the need to manually engineer features that capture the topology of the network (Battaglia et al., 2018); (ii) the end-to-end nature of training neural networks allows multi-stage (Fey et al., 2019) or multi-component (Wang et al., 2020) integration of GNNs in application-dependent solutions; (iii) pretraining representations with graph networks enriches transfer learning for many valuable tasks such as unsupervised domain adaptation (Wu et al., 2020), self-supervised learning (Hu et al., 2020b), and active learning regimes (Satorras & Estrach, 2018). ",
118
+ "bbox": [
119
+ 174,
120
+ 103,
121
+ 825,
122
+ 215
123
+ ],
124
+ "page_idx": 1
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "Undoubtedly, there are major benefits in both GBDT and GNN methods. Is it possible to get advantages of both worlds? All previous approaches (Arik & Pfister, 2020; Popov et al., 2019; Badirli et al., 2020) that attempt to combine gradient boosting and neural networks are computationally heavy, do not consider graph-structured data, and suffer from the lack of relational bias imposed in GNN architectures, see Appendix A for a more detailed comparison with related literature. To the best of our knowledge, the current work is the first to explore using GBDT models for graph-structured data. ",
129
+ "bbox": [
130
+ 174,
131
+ 222,
132
+ 825,
133
+ 305
134
+ ],
135
+ "page_idx": 1
136
+ },
137
+ {
138
+ "type": "text",
139
+ "text": "In this paper, we propose a novel learning architecture for graphs with tabular data, BGNN, that combines GBDT’s learning on tabular node features with GNN that refines the predictions utilizing the graph’s topology. This allows BGNN to inherit the advantages of gradient boosting methods (heterogeneous learning and interpretability) and graph networks (representation learning and end-toend training). Overall, our contributions are the following: ",
140
+ "bbox": [
141
+ 176,
142
+ 311,
143
+ 825,
144
+ 382
145
+ ],
146
+ "page_idx": 1
147
+ },
148
+ {
149
+ "type": "text",
150
+ "text": "(1) We design a novel generic architecture that combines GBDT and GNN into a unique pipeline. To the best of our knowledge, this is the first work that systematically studies the application of GBDT to graph-structured data. \n(2) We overcome the challenge of end-to-end training of GBDT by iteratively adding new trees that fit the gradient updates of GNN. This allows us to backpropagate the error signal from the topology of the network to GBDT. \n(3) We perform an extensive evaluation of our approach against strong baselines in node prediction tasks. Our results consistently demonstrate significant performance improvements on heterogeneous node regression and node classification tasks over a variety of real-world graphs with tabular data. \n(4) We show that our approach is also more efficient than the state-of-the-art GNN models due to much faster loss convergence during training. Furthermore, learned representations exhibit discernible structure in the latent space, which further demonstrates the expressivity of our approach. ",
151
+ "bbox": [
152
+ 205,
153
+ 395,
154
+ 825,
155
+ 606
156
+ ],
157
+ "page_idx": 1
158
+ },
159
+ {
160
+ "type": "text",
161
+ "text": "2 BACKGROUND ",
162
+ "text_level": 1,
163
+ "bbox": [
164
+ 174,
165
+ 625,
166
+ 326,
167
+ 642
168
+ ],
169
+ "page_idx": 1
170
+ },
171
+ {
172
+ "type": "text",
173
+ "text": "Let $G = ( V , E )$ be a graph with nodes having features and target labels. In node prediction tasks (classification or regression), some target labels are known, and the goal is to predict the remaining ones. Throughout the text, by lowercase variables $\\mathbf { x } _ { v }$ $w \\in V ,$ ) or $\\mathbf { x }$ we denote features of individual nodes, and $\\mathbf { X }$ represents the matrix of all features for $v \\in V$ . Individual target labels are denoted by $y _ { v }$ , while $Y$ is the vector of known labels. ",
174
+ "bbox": [
175
+ 173,
176
+ 656,
177
+ 825,
178
+ 727
179
+ ],
180
+ "page_idx": 1
181
+ },
182
+ {
183
+ "type": "text",
184
+ "text": "Graph Neural Networks (GNNs) use both the network’s connectivity and the node features to learn latent representations for all nodes $v \\in V$ . Many popular GNNs use a neighborhood aggregation approach, also called the message-passing mechanism, where the representation of a node $v$ is updated by applying a non-linear aggregation function of $v$ ’s neighbors representation (Fey & Lenssen, 2019). Formally, GNN is a differentiable, permutation-invariant function $g _ { \\boldsymbol { \\theta } } : ( G , \\mathbf { X } ) \\mapsto { \\widehat { Y } }$ , where $\\widehat { Y }$ is the vector of predicted labels. Similar to traditional neural networks, GNNs are composed of multiple layers, each representing a non-linear message-passing function: ",
185
+ "bbox": [
186
+ 173,
187
+ 734,
188
+ 825,
189
+ 834
190
+ ],
191
+ "page_idx": 1
192
+ },
193
+ {
194
+ "type": "equation",
195
+ "img_path": "images/e95f7e0062b74a444395f5b318a15dde0d827b1c5c2c4516caf8d3923bbd79fe.jpg",
196
+ "text": "$$\n\\mathbf { x } _ { v } ^ { t } = \\mathbf { C O M B I N E } ^ { t } \\left( \\mathbf { x } _ { v } ^ { t - 1 } , \\mathbf { A G G R E G A T E } ^ { t } \\left( \\left\\{ \\left( \\mathbf { x } _ { w } ^ { t - 1 } , \\mathbf { x } _ { v } ^ { t - 1 } \\right) : \\left( w , v \\right) \\in E \\right\\} \\right) \\right) ,\n$$",
197
+ "text_format": "latex",
198
+ "bbox": [
199
+ 248,
200
+ 839,
201
+ 746,
202
+ 859
203
+ ],
204
+ "page_idx": 1
205
+ },
206
+ {
207
+ "type": "text",
208
+ "text": "where $\\mathbf { x } _ { v } ^ { t }$ is the representation of node $v$ at layer $t$ , and COMBINEt and AGGREGATEt are (parametric) functions that aggregate representations from the local neighborhood of a node. Then, the GNN mapping $g _ { \\theta }$ includes multiple layers of aggregation (1). Parameters of GNN model $\\theta$ are optimized with gradient descent by minimizing an empirical loss function ${ \\cal L } _ { \\mathrm { G N N } } ( Y , g _ { \\theta } ( G , { \\bf X } ) )$ . ",
209
+ "bbox": [
210
+ 174,
211
+ 867,
212
+ 825,
213
+ 924
214
+ ],
215
+ "page_idx": 1
216
+ },
217
+ {
218
+ "type": "text",
219
+ "text": "Gradient Boosted Decision Trees (GBDT) is a well-known and widely used algorithm that is defined on non-graph tabular data (Friedman, 2001) and is particularly successful for tasks containing heterogeneous features and noisy data. ",
220
+ "bbox": [
221
+ 174,
222
+ 103,
223
+ 823,
224
+ 146
225
+ ],
226
+ "page_idx": 2
227
+ },
228
+ {
229
+ "type": "text",
230
+ "text": "The core idea of gradient boosting is to construct a strong model by iteratively adding weak ones (usually decision trees). Formally, at each iteration $t$ of the gradient boosting algorithm, the model $f ( \\mathbf { x } )$ is updated in an additive manner: ",
231
+ "bbox": [
232
+ 174,
233
+ 152,
234
+ 823,
235
+ 195
236
+ ],
237
+ "page_idx": 2
238
+ },
239
+ {
240
+ "type": "equation",
241
+ "img_path": "images/17610f16749cbcf09acb872f8b5d4107bf75dd55c40291419114a59025ed2d8a.jpg",
242
+ "text": "$$\nf ^ { t } ( { \\bf { x } } ) = f ^ { t - 1 } ( { \\bf { x } } ) + \\epsilon h ^ { t } ( { \\bf { x } } ) ,\n$$",
243
+ "text_format": "latex",
244
+ "bbox": [
245
+ 403,
246
+ 200,
247
+ 593,
248
+ 219
249
+ ],
250
+ "page_idx": 2
251
+ },
252
+ {
253
+ "type": "text",
254
+ "text": "where $f ^ { t - 1 }$ is a model constructed at the previous iteration, $h ^ { t }$ is a weak learner that is chosen from some family of functions $\\mathcal { H }$ , and $\\epsilon$ is a learning rate. The weak learner $h ^ { t } \\in \\mathcal { H }$ is chosen to approximate the negative gradient of a loss function $L$ w.r.t. the current model’s predictions: ",
255
+ "bbox": [
256
+ 173,
257
+ 224,
258
+ 826,
259
+ 267
260
+ ],
261
+ "page_idx": 2
262
+ },
263
+ {
264
+ "type": "equation",
265
+ "img_path": "images/f6ad4c0f43afa849c7685f973cf39b3e473e75a57c7c775999324d8d683f0da8.jpg",
266
+ "text": "$$\nh ^ { t } = \\underset { h \\in \\mathcal { H } } { \\arg \\operatorname* { m i n } } \\sum _ { i } \\left( - \\frac { \\partial L ( f ^ { t - 1 } ( \\mathbf { x } _ { i } ) , y _ { i } ) } { \\partial f ^ { t - 1 } ( \\mathbf { x } _ { i } ) } - h ( \\mathbf { x } _ { i } ) \\right) ^ { 2 } .\n$$",
267
+ "text_format": "latex",
268
+ "bbox": [
269
+ 323,
270
+ 272,
271
+ 673,
272
+ 314
273
+ ],
274
+ "page_idx": 2
275
+ },
276
+ {
277
+ "type": "text",
278
+ "text": "The gradient w.r.t. the current predictions indicates how one should change these predictions to improve the loss function. Informally, gradient boosting can be thought of as performing gradient descent in functional space. ",
279
+ "bbox": [
280
+ 174,
281
+ 319,
282
+ 825,
283
+ 361
284
+ ],
285
+ "page_idx": 2
286
+ },
287
+ {
288
+ "type": "text",
289
+ "text": "The set of weak learners $\\mathcal { H }$ is usually formed by shallow decision trees. Decision trees are built by a recursive partition of the feature space into disjoint regions called leaves. This partition is usually constructed greedily to minimize the loss function (3). Each leaf $R _ { j }$ of the tree is assigned to a value $a _ { j }$ , which estimates the response $y$ in the corresponding region. In our case, $a _ { j }$ is equal to the average negative gradient value in the leaf $R _ { j }$ . To sum up, we can write $\\begin{array} { r } { h ( x ) = \\sum _ { j } \\overset { \\cdot } { a } _ { j } 1 _ { \\{ x \\in R _ { j } \\} } } \\end{array}$ . ",
290
+ "bbox": [
291
+ 173,
292
+ 367,
293
+ 825,
294
+ 439
295
+ ],
296
+ "page_idx": 2
297
+ },
298
+ {
299
+ "type": "text",
300
+ "text": "3 GBDT MEETS GNN ",
301
+ "text_level": 1,
302
+ "bbox": [
303
+ 176,
304
+ 458,
305
+ 374,
306
+ 473
307
+ ],
308
+ "page_idx": 2
309
+ },
310
+ {
311
+ "type": "image",
312
+ "img_path": "images/1e72d21cce476df0095b8d7236f1fd696a8142e753ee8e141cecc0ce800b76d0.jpg",
313
+ "image_caption": [
314
+ "Figure 1: Training of BGNN, steps for one epoch are numbered. "
315
+ ],
316
+ "image_footnote": [],
317
+ "bbox": [
318
+ 212,
319
+ 491,
320
+ 436,
321
+ 731
322
+ ],
323
+ "page_idx": 2
324
+ },
325
+ {
326
+ "type": "table",
327
+ "img_path": "images/e1059c8aa28114a2b5b47dea05584029f6801898de3e9f24ab53042f5d49725d.jpg",
328
+ "table_caption": [],
329
+ "table_footnote": [],
330
+ "table_body": "<table><tr><td>Algorithm1TrainingofBGNN</td></tr><tr><td>Input: Graph G, node features X, targets Y Initialize GBDT targets V= Y for epoch i= 1 to N do # Train k trees of GBDT with eq. (2)-(3) fi← arg min LGBDT(fi(X),)) k fi f←f+fi # Train l steps of GNN on new node features</td></tr></table>",
331
+ "bbox": [
332
+ 483,
333
+ 511,
334
+ 808,
335
+ 760
336
+ ],
337
+ "page_idx": 2
338
+ },
339
+ {
340
+ "type": "text",
341
+ "text": "Gradient boosting approach is successful for learning on tabular data; however, there are challenges of applying GBDT on graph-structured data: (i) how to propagate relational signal, in addition to node features, to otherwise inherently tabular model; and (ii) how to train it together with GNN in an end-to-end fashion. Indeed, optimizations of GBDT and GNN follow different approaches: the parameters of GNN are optimized via gradient descent, while GBDT is constructed iteratively, and the decision trees remain fixed after being built (decision trees are based on hard splits of the feature space, which makes them non-differentiable). ",
342
+ "bbox": [
343
+ 173,
344
+ 776,
345
+ 825,
346
+ 875
347
+ ],
348
+ "page_idx": 2
349
+ },
350
+ {
351
+ "type": "text",
352
+ "text": "A straightforward approach would be to train the GBDT model only on the node features and then use the obtained predictions, jointly with the original input, as new node features for GNN. In this case, the graph-insensitive predictions of GBDT will further be refined by a graph neural network. ",
353
+ "bbox": [
354
+ 176,
355
+ 882,
356
+ 825,
357
+ 924
358
+ ],
359
+ "page_idx": 2
360
+ },
361
+ {
362
+ "type": "text",
363
+ "text": "This approach (which we call Res-GNN) can already boost the performance of GNN for some tasks. However, in this case, the GBDT model completely ignores the graph structure and may miss descriptive features of the graph, providing inaccurate input data to GNN. ",
364
+ "bbox": [
365
+ 174,
366
+ 103,
367
+ 823,
368
+ 146
369
+ ],
370
+ "page_idx": 3
371
+ },
372
+ {
373
+ "type": "text",
374
+ "text": "In contrast, we propose end-to-end training of GBDT and GNN called BGNN (for Boost-GNN). As before, we first apply GBDT and then GNN, but now we optimize both of them, taking into account the quality of final predictions. The training of BGNN is shown in Figure 1. Recall that one cannot tune already built decision trees due to their discrete structure, so we iteratively update the GBDT model by adding new trees that approximate the GNN loss function. ",
375
+ "bbox": [
376
+ 174,
377
+ 152,
378
+ 825,
379
+ 222
380
+ ],
381
+ "page_idx": 3
382
+ },
383
+ {
384
+ "type": "text",
385
+ "text": "In Algorithm 1, we present the training of BGNN that combines GBDT and GNN for any node-level prediction problem such as semi-supervised node regression or classification. In the first iteration, we build a GBDT model $f ^ { 1 } ( \\mathbf { x } )$ with $k$ decision trees by minimizing the loss function $L _ { \\mathrm { G B D T } } ( f ^ { 1 } ( \\mathbf { x } ) , y )$ (e.g., RMSE for regression or cross-entropy for classification) averaged over the train nodes, following the equations (2)-(3). Using all predictions $f ^ { 1 } ( { \\mathbf { X } } )$ , we update the node features to $\\mathbf { X } ^ { \\prime }$ that we pass to GNN. Possible update functions that we experiment with include concatenation with the original node features and their replacement by $f ^ { 1 } ( { \\mathbf { X } } )$ . Next, we train a graph neural network $g _ { \\boldsymbol { \\theta } }$ on a graph $G$ with node features $\\mathbf { X } ^ { \\prime }$ by minimizing $L _ { \\mathrm { G N N } } ( g _ { \\boldsymbol { \\theta } } ( G , \\mathbf { X } ^ { \\prime } ) , Y )$ with $l$ steps of gradient descent.1 Importantly, we optimize both the parameters $\\theta$ of GNN and the node features $\\mathbf { X } ^ { \\prime }$ . Then, we use the difference between the optimized node features $\\mathbf { X } _ { n e w } ^ { \\prime }$ and the input node features $\\mathbf { X } ^ { \\prime } = f ^ { 1 } ( \\mathbf { X } )$ as the target for the next decision trees built by GBDT. If $l = 1$ , the difference $\\mathbf { X } _ { n e w } ^ { \\prime } - \\mathbf { X } ^ { \\prime }$ exactly equals the negative gradient of the loss function w.r.t. the input features $\\mathbf { X } ^ { \\prime }$ multiplied by the learning rate $\\eta$ : ",
386
+ "bbox": [
387
+ 173,
388
+ 229,
389
+ 825,
390
+ 396
391
+ ],
392
+ "page_idx": 3
393
+ },
394
+ {
395
+ "type": "equation",
396
+ "img_path": "images/973cc899045eefd0aa3ffbd1dfdfadeba6f6efae42286d192688d934635f7cf9.jpg",
397
+ "text": "$$\n{ \\bf { X } } _ { n e w } ^ { \\prime } = { \\bf { X } } ^ { \\prime } - \\eta \\frac { { \\partial { L _ { \\mathrm { { G N N } } } } { \\left( { { g \\theta \\left( { G , { \\bf { X } } ^ { \\prime } } \\right) } , Y } \\right) } } } { { \\partial { \\bf { X } } ^ { \\prime } } } .\n$$",
398
+ "text_format": "latex",
399
+ "bbox": [
400
+ 362,
401
+ 400,
402
+ 635,
403
+ 433
404
+ ],
405
+ "page_idx": 3
406
+ },
407
+ {
408
+ "type": "text",
409
+ "text": "In the second iteration, we train a new GBDT model $f ^ { 2 }$ with the original input features $\\mathbf { X }$ but new target labels: $\\mathbf { X } _ { n e w } ^ { \\prime } - \\mathbf { X } ^ { \\prime }$ . Intuitively, $f ^ { 2 }$ fits the direction that would improve GNN prediction based on the first predictions $f ^ { 1 } ( { \\mathbf { X } } )$ . In other words, GBDT approximates the gradient steps made by GNN for the node features $\\mathbf { X } ^ { \\prime }$ . This is a regression problem, so here $L _ { \\mathrm { G B D T } }$ is the RMSE loss. ",
410
+ "bbox": [
411
+ 174,
412
+ 436,
413
+ 825,
414
+ 494
415
+ ],
416
+ "page_idx": 3
417
+ },
418
+ {
419
+ "type": "text",
420
+ "text": "After $f ^ { 2 }$ is trained, we combine the predictions $f ( \\mathbf { X } ) = f ^ { 1 } ( \\mathbf { X } ) + f ^ { 2 } ( \\mathbf { X } )$ and pass the obtained values $\\mathbf { X } ^ { \\prime }$ to GNN as node features. GNN model $g _ { \\theta }$ again does $l$ steps of backpropagation and passes the new difference $\\mathbf { X } _ { n e w } ^ { \\prime } - \\mathbf { X } ^ { \\prime }$ as a target to the next iteration of GBDT. In total, the model is trained for $N$ epochs and outputs a GBDT model $f : \\mathbf { X } \\mapsto Y$ and GNN model $g _ { \\boldsymbol { \\theta } } : ( G , \\mathbf { X } ) \\mapsto Y$ , which can be used for downstream tasks. ",
421
+ "bbox": [
422
+ 174,
423
+ 500,
424
+ 825,
425
+ 569
426
+ ],
427
+ "page_idx": 3
428
+ },
429
+ {
430
+ "type": "text",
431
+ "text": "Intuitively, BGNN model consists of two consecutive blocks, GBDT and GNN, which are trained end-to-end, and therefore can be interpreted from two angles: GBDT as an embedding layer for GNN or GNN as a parametric loss function for GBDT. In the former case, GBDT transforms the original input features $\\mathbf { X }$ to new node features $\\mathbf { X } ^ { \\prime }$ , which are then passed to GNN. In the latter case, one can see BGNN as a standard gradient boosted training where GNN acts as a complex loss function that depends on the graph topology. ",
432
+ "bbox": [
433
+ 174,
434
+ 577,
435
+ 825,
436
+ 661
437
+ ],
438
+ "page_idx": 3
439
+ },
440
+ {
441
+ "type": "text",
442
+ "text": "4 EXPERIMENTS ",
443
+ "text_level": 1,
444
+ "bbox": [
445
+ 176,
446
+ 681,
447
+ 326,
448
+ 696
449
+ ],
450
+ "page_idx": 3
451
+ },
452
+ {
453
+ "type": "text",
454
+ "text": "We have performed a comparative evaluation of BGNN and Res-GNN against a wide variety of strong baselines and previous approaches on heterogeneous node prediction problems, achieving significant improvement in performance across all of them. This section outlines our experimental setting, the results on node regression and classification problems, and extracted feature representations. ",
455
+ "bbox": [
456
+ 174,
457
+ 712,
458
+ 825,
459
+ 768
460
+ ],
461
+ "page_idx": 3
462
+ },
463
+ {
464
+ "type": "text",
465
+ "text": "In our first experiments, we want to answer two questions: ",
466
+ "bbox": [
467
+ 173,
468
+ 775,
469
+ 557,
470
+ 790
471
+ ],
472
+ "page_idx": 3
473
+ },
474
+ {
475
+ "type": "text",
476
+ "text": "Q1 Does combination of GBDT and GNN lead to better qualitative results in heterogeneous node regression and classification problems? \nQ2 Is the end-to-end training proposed in Algorithm 1 better than a combination of pretrained GBDT with GNN? ",
477
+ "bbox": [
478
+ 202,
479
+ 799,
480
+ 825,
481
+ 861
482
+ ],
483
+ "page_idx": 3
484
+ },
485
+ {
486
+ "type": "text",
487
+ "text": "To answer these questions, we consider several strong baselines among GBDTs, GNNs, and pure neural networks. CatBoost is a recent GBDT implementation (Prokhorenkova et al., 2018) that uses oblivious trees as weak learners. LightGBM is another GBDT model (Ke et al., 2017) that is used extensively in ML competitions. Among GNNs, we tested four state-of-the-art recent models that showed superior performance in node prediction tasks: GAT (Velickovi ˇ c et al., 2018), ´ GCN (Kipf & Welling, 2017), AGNN (Thekumparampil et al., 2018), APPNP (Klicpera et al., 2019). Additionally, we test the performance of fully-connected neural network FCNN and its end-to-end combination with GNNs, FCNN-GNN. ",
488
+ "bbox": [
489
+ 178,
490
+ 872,
491
+ 821,
492
+ 901
493
+ ],
494
+ "page_idx": 3
495
+ },
496
+ {
497
+ "type": "text",
498
+ "text": "",
499
+ "bbox": [
500
+ 174,
501
+ 103,
502
+ 825,
503
+ 186
504
+ ],
505
+ "page_idx": 4
506
+ },
507
+ {
508
+ "type": "text",
509
+ "text": "We compare these baselines against two proposed approaches: the end-to-end BGNN model and not end-to-end Res-GNN. The BGNN model follows Algorithm 1 and builds each tree approximating the GNN error in the previous iteration. In contrast, Res-GNN first trains a GBDT model on the training set of nodes and then either appends its predictions for all nodes to the original node features or replaces the original features with the GBDT predictions, after which GNN is trained on the updated features, and GNN’s predictions are used to calculate metrics. Hence, Res-GNN is a twostage approach where the training of GBDT is independent of GNN. On the other hand, BGNN trains GBDT and GNN simultaneously in an end-to-end fashion. In most of our experiments, the GNN-component of FCNN-GNN, Res-GNN, and BGNN is based on GAT, while in Section 4.3 we analyze consistency of improvements across different GNN models. ",
510
+ "bbox": [
511
+ 174,
512
+ 194,
513
+ 825,
514
+ 333
515
+ ],
516
+ "page_idx": 4
517
+ },
518
+ {
519
+ "type": "text",
520
+ "text": "We ensure that the comparison is done fairly by training each model until the convergence with a reasonable set of hyperparameters evaluated on the validation set. We run each hyperparameter setting three times and take the average of the results. Furthermore, we have five random splits of the data, and the final number represents the average performance of the model for all five random seeds. More details about hyperparameters can be found in Appendix B. ",
521
+ "bbox": [
522
+ 174,
523
+ 340,
524
+ 825,
525
+ 410
526
+ ],
527
+ "page_idx": 4
528
+ },
529
+ {
530
+ "type": "text",
531
+ "text": "4.1 NODE REGRESSION ",
532
+ "text_level": 1,
533
+ "bbox": [
534
+ 176,
535
+ 426,
536
+ 349,
537
+ 440
538
+ ],
539
+ "page_idx": 4
540
+ },
541
+ {
542
+ "type": "text",
543
+ "text": "4.1.1 DATASETS ",
544
+ "text_level": 1,
545
+ "bbox": [
546
+ 174,
547
+ 452,
548
+ 302,
549
+ 467
550
+ ],
551
+ "page_idx": 4
552
+ },
553
+ {
554
+ "type": "text",
555
+ "text": "We utilize five real-world node regression datasets with different properties outlined in Table 1. Four of these datasets are heterogeneous, i.e., the input features are of different types, scales, and meaning. For example, for the VK dataset, the node features are both numerical (e.g., last time seen on the platform) and categorical (e.g., country of living and university). On the other hand, Wiki dataset is homogeneous, i.e., the node features are interdependent and correspond to the bag-ofwords representations of Wikipedia articles. Additional details about the datasets can be found in Appendix C. ",
556
+ "bbox": [
557
+ 173,
558
+ 477,
559
+ 825,
560
+ 574
561
+ ],
562
+ "page_idx": 4
563
+ },
564
+ {
565
+ "type": "table",
566
+ "img_path": "images/1f520086c7d9e559470cff5e551e4e8e4be20fde1de94c6f2da907fe639333c5.jpg",
567
+ "table_caption": [
568
+ "Table 1: Summary of regression datasets. "
569
+ ],
570
+ "table_footnote": [],
571
+ "table_body": "<table><tr><td></td><td>House</td><td>County</td><td>VK</td><td>Avazu</td><td>Wiki</td></tr><tr><td>Setting</td><td>Heterogeneous</td><td>Heterogeneous</td><td>Heterogeneous</td><td>Heterogeneous</td><td>Homogeneous</td></tr><tr><td>#Nodes</td><td>20640</td><td>3217</td><td>54028</td><td>1297</td><td>5201</td></tr><tr><td>#Edges</td><td>182146</td><td>12684</td><td>213644</td><td>54364</td><td>198493</td></tr><tr><td>#Features/Node</td><td>6</td><td>7</td><td>14</td><td>9</td><td>3148</td></tr><tr><td>Mean Target</td><td>2.06</td><td>5.44</td><td>35.47</td><td>0.08</td><td>27923.86</td></tr><tr><td>Min Target</td><td>0.14</td><td>1.7</td><td>13.48</td><td>0</td><td>16</td></tr><tr><td>Max Target</td><td>5.00</td><td>24.1</td><td>118.39</td><td>1</td><td>849131</td></tr><tr><td>Median Target</td><td>1.79</td><td>5</td><td>33.83</td><td>0</td><td>9225</td></tr></table>",
572
+ "bbox": [
573
+ 173,
574
+ 619,
575
+ 831,
576
+ 753
577
+ ],
578
+ "page_idx": 4
579
+ },
580
+ {
581
+ "type": "text",
582
+ "text": "4.1.2 RESULTS ",
583
+ "text_level": 1,
584
+ "bbox": [
585
+ 174,
586
+ 780,
587
+ 292,
588
+ 795
589
+ ],
590
+ "page_idx": 4
591
+ },
592
+ {
593
+ "type": "text",
594
+ "text": "The results of our comparative evaluation for node regression are summarized in Table 2. We report the mean RMSE (with standard deviation) on the test set and the relative gap between RMSE of the GAT model (Velickovi ˇ c et al., 2018) and other methods, i.e., ´ ${ \\mathrm { g a p } } = ( r _ { m } - r _ { g n n } ) / r _ { g n n }$ , where $r _ { m }$ and $r _ { g n n }$ are RMSE of that model and of GAT, respectively. ",
595
+ "bbox": [
596
+ 174,
597
+ 805,
598
+ 823,
599
+ 861
600
+ ],
601
+ "page_idx": 4
602
+ },
603
+ {
604
+ "type": "text",
605
+ "text": "Our results demonstrate significant improvement of BGNN over the baselines. In particular, in the heterogeneous case, BGNN achieves $8 \\%$ , $14 \\%$ , $4 \\%$ , and $4 \\%$ reduction of the error for House, County, VK, and Avazu datasets, respectively. Res-GNN model that uses a pretrained CatBoost model for the input of GNN also decreases RMSE, although not as much as the end-to-end model ",
606
+ "bbox": [
607
+ 174,
608
+ 867,
609
+ 825,
610
+ 924
611
+ ],
612
+ "page_idx": 4
613
+ },
614
+ {
615
+ "type": "table",
616
+ "img_path": "images/c9c09465a3443da63a04eb156711c13ecf92ae1de68fe5b9b739b8938b05e206.jpg",
617
+ "table_caption": [
618
+ "Table 2: Summary of our results for node regression. Gap $\\%$ is relative difference w.r.t. GAT RMSE (the smaller the better). Top-2 results are highlighted in bold. "
619
+ ],
620
+ "table_footnote": [],
621
+ "table_body": "<table><tr><td colspan=\"2\"></td><td colspan=\"6\">Heterogeneous</td><td colspan=\"3\">Homogeneous</td></tr><tr><td colspan=\"2\"></td><td colspan=\"2\">House</td><td colspan=\"2\">County</td><td colspan=\"2\">VK Gap%</td><td colspan=\"2\">Avazu</td><td colspan=\"2\">Wiki Gap%</td></tr><tr><td>Method</td><td></td><td>RMSE</td><td>Gap%</td><td>RMSE</td><td>Gap %</td><td>RMSE</td><td></td><td>RMSE</td><td>Gap %</td><td>RMSE</td></tr><tr><td>GEPT</td><td>CatBoost LightGBM</td><td>0.63 ± 0.01</td><td>15.3</td><td>1.39 ± 0.07</td><td>-4.32</td><td>7.16 ± 0.20 7.2 ± 0.21</td><td>-0.82 -0.33</td><td>0.1172 ± 0.02</td><td>3.36 46359 ± 4508</td><td>0.97</td></tr><tr><td></td><td></td><td>0.63 ± 0.01</td><td>15.98</td><td>1.4 ± 0.07</td><td>-3.93</td><td></td><td>0.1171 ± 0.02</td><td>3.27</td><td>49915 ± 3643</td><td>8.71</td></tr><tr><td>GAT</td><td></td><td>0.54± 0.01</td><td>0</td><td>1.45 ± 0.06</td><td>0</td><td>7.22 ± 0.19</td><td>0 0.1134 ± 0.01</td><td>0</td><td>45916 ± 4527</td><td>0</td></tr><tr><td>NNO</td><td>GCN</td><td>0.63 ± 0.01</td><td>16.77</td><td>1.48 ± 0.08</td><td>2.06</td><td>7.25 ± 0.19</td><td>0.34 0.1141 ± 0.02</td><td>0.58</td><td>44936 ± 4083</td><td>-2.14</td></tr><tr><td></td><td>AGNN</td><td>0.59 ± 0.01</td><td>8.01</td><td>1.45 ± 0.08</td><td>-0.19 7.26 ± 0.20</td><td>0.54</td><td>0.1134 ± 0.02</td><td>-0.02</td><td>45982 ± 3058</td><td>0.14</td></tr><tr><td>APPNP</td><td></td><td>0.69 ± 0.01</td><td>27.11</td><td>1.5 ± 0.11</td><td>3.39 13.23 ± 0.12</td><td>83.19</td><td>0.1127 ± 0.01</td><td>-0.65</td><td>53426 ± 4159</td><td>16.36</td></tr><tr><td>M</td><td>FCNN</td><td>0.68 ±0.02</td><td>25.49</td><td>1.48 ± 0.07</td><td>1.56</td><td>7.29 ± 0.21</td><td>1.02 0.118 ± 0.02</td><td>4.07</td><td>51662± 2983</td><td>12.51</td></tr><tr><td></td><td>FCNN-GNN</td><td>0.53 ± 0.01</td><td>-2.48</td><td>1.39 ± 0.06</td><td>-4.68</td><td>7.22 ± 0.20</td><td>0.01 0.1114 ± 0.02</td><td>-1.82</td><td>48491± 7889</td><td>5.61</td></tr><tr><td></td><td>Res-GNN</td><td>0.51 ± 0.01</td><td>-6.39</td><td>1.33 ± 0.08</td><td>-8.35</td><td>7.07 ± 0.20 -2.04</td><td>0.1095 ± 0.01</td><td>-3.42</td><td>46747 ± 4639</td><td>1.81</td></tr><tr><td></td><td>BGNN</td><td>0.5 ± 0.01</td><td>-8.15</td><td>1.26 ± 0.08</td><td>-13.67</td><td>6.95 ± 0.21</td><td>-3.8 0.109 ± 0.01</td><td>-3.9</td><td>49222 ± 3743</td><td>7.2</td></tr></table>",
622
+ "bbox": [
623
+ 176,
624
+ 154,
625
+ 823,
626
+ 301
627
+ ],
628
+ "page_idx": 5
629
+ },
630
+ {
631
+ "type": "text",
632
+ "text": "BGNN. In the homogeneous dataset Wiki, CatBoost and, subsequently, Res-GNN and BGNN are outperformed by the GNN model. Intuitively, when the features are homogeneous, neural network approaches are sufficient to attain the best results. This shows that BGNN leads to better qualitative results and its end-to-end training outperforms other approaches in node prediction tasks for graphs with heterogeneous tabular data. ",
633
+ "bbox": [
634
+ 173,
635
+ 334,
636
+ 825,
637
+ 405
638
+ ],
639
+ "page_idx": 5
640
+ },
641
+ {
642
+ "type": "text",
643
+ "text": "We can also observe that the end-to-end combination FCNN-GNN often leads to better performance than pure GNN. However, its improvement is smaller than for BGNN which uses the advantages of GBDT models. Moreover, CatBoost and LightGBM can be effective on their own, but their performance is not stable across all datasets. Overall, these experiments demonstrate the superiority of BGNN against other strong models. ",
644
+ "bbox": [
645
+ 174,
646
+ 411,
647
+ 825,
648
+ 481
649
+ ],
650
+ "page_idx": 5
651
+ },
652
+ {
653
+ "type": "text",
654
+ "text": "4.2 NODE CLASSIFICATION ",
655
+ "text_level": 1,
656
+ "bbox": [
657
+ 176,
658
+ 500,
659
+ 375,
660
+ 513
661
+ ],
662
+ "page_idx": 5
663
+ },
664
+ {
665
+ "type": "text",
666
+ "text": "For node classification, we use five datasets with different properties. Due to the lack of publicly available datasets with heterogeneous node features, we adopt the datasets House class and VK class from the regression task by converting the target labels into several discrete classes. We additionally include two sparse node classification datasets SLAP and DBLP coming from heterogeneous information networks (HIN) with nodes having different types. We also include one homogeneous dataset OGB-ArXiv (Hu et al., 2020a). In this dataset, the node features correspond to a 128-dimensional feature vector obtained by averaging the embeddings of words in the title and abstract. Hence, the features are not heterogeneous, and therefore GBDT is not expected to outperform neural network approaches. More details about these datasets can be found in Appendix D. ",
667
+ "bbox": [
668
+ 173,
669
+ 525,
670
+ 825,
671
+ 651
672
+ ],
673
+ "page_idx": 5
674
+ },
675
+ {
676
+ "type": "table",
677
+ "img_path": "images/092c4a448a25cb39e5c87e996bc145bff52212a38fc5344054c7b0a129ce4383.jpg",
678
+ "table_caption": [
679
+ "Table 3: Summary of our results for node classification. Gap $\\%$ is the relative difference w.r.t. GAT accuracy (the higher the better). Top-2 results are highlighted in bold. "
680
+ ],
681
+ "table_footnote": [],
682
+ "table_body": "<table><tr><td colspan=\"2\"></td><td colspan=\"6\">Heterogeneous</td><td colspan=\"3\">Homogeneous</td></tr><tr><td colspan=\"2\">Method</td><td colspan=\"2\">House_class</td><td colspan=\"2\">VK_class</td><td colspan=\"2\">Slap Acc.</td><td colspan=\"2\">DBLP Acc.</td><td colspan=\"2\">OGB-ArXiv Acc. Gap%</td></tr><tr><td colspan=\"2\">CatBoost</td><td>Acc.</td><td>Gap %</td><td>Acc.</td><td>Gap % -1.26</td><td>0.922 ± 0.01</td><td>Gap % 15.12</td><td></td><td>Gap% -5.42</td><td></td><td>-36.35</td></tr><tr><td colspan=\"2\">GERI</td><td>0.52 ± 0.01 0.55 ± 0.00</td><td>-16.82 -11.98</td><td>0.57± 0.01 0.579 ± 0.01</td><td>0.26</td><td>0.963 ± 0.00</td><td>20.3</td><td>0.759 ± 0.03 0.913 ± 0.01</td><td>13.73</td><td>0.45 0.51</td><td>-26.97</td></tr><tr><td rowspan=\"4\">NNO</td><td>LightGBM</td><td></td><td></td><td></td><td></td><td></td><td></td><td>0.802 ± 0.01</td><td>0</td><td></td><td></td></tr><tr><td>GAT</td><td>0.625 ± 0.00</td><td>0</td><td>0.577 ± 0.00</td><td>0</td><td>0.801 ± 0.01</td><td>0</td><td></td><td></td><td>0.70</td><td>0</td></tr><tr><td>GCN</td><td>0.6±0.00</td><td>-3.98</td><td>0.574± 0.00</td><td>-0.6</td><td>0.878 ± 0.01</td><td>9.72</td><td>0.428 ± 0.04</td><td>-46.6</td><td>-</td><td>-</td></tr><tr><td>AGNN APPNP</td><td>0.614 ± 0.01 0.619 ± 0.00</td><td>-1.73</td><td>0.572 ± 0.00 0.573 ± 0.00</td><td>-0.79 -0.67</td><td>0.892 ± 0.01 0.895 ± 0.01</td><td>11.47 11.79</td><td>0.794 ± 0.01 0.83±0.02</td><td>-1.02 3.47</td><td>=</td><td>-</td></tr><tr><td rowspan=\"3\"></td><td></td><td></td><td>-0.89</td><td></td><td></td><td></td><td></td><td></td><td></td><td>-</td><td>-</td></tr><tr><td>FCNN</td><td>0.534 ± 0.01</td><td>-14.53</td><td>0.567 ± 0.01</td><td>-1.72</td><td>0.759 ±0.04</td><td>-5.24</td><td>0.623 ± 0.02</td><td>-22.3 0.94</td><td>0.50</td><td>-28.91</td></tr><tr><td>FCNN-GNN</td><td>0.64± 0.00</td><td>2.36</td><td>0.589 ± 0.00</td><td>2.13</td><td>0.89 ± 0.01</td><td>11.11</td><td>0.81 ± 0.01</td><td></td><td>0.71</td><td>0.54</td></tr><tr><td rowspan=\"2\"></td><td>Res-GNN</td><td>0.625 ± 0.01</td><td>-0.06</td><td>0.603 ± 0.00</td><td>4.45</td><td>0.905 ± 0.01</td><td>13.06</td><td>0.892 ± 0.01</td><td>11.11</td><td>0.70</td><td>-0.33</td></tr><tr><td>BGNN</td><td>0.682 ± 0.00</td><td>9.18</td><td>0.683 ± 0.00</td><td>18.3</td><td>0.95 ± 0.00</td><td>18.61</td><td>0.889 ± 0.01</td><td>10.77</td><td>0.67</td><td>-4.36</td></tr></table>",
683
+ "bbox": [
684
+ 176,
685
+ 718,
686
+ 823,
687
+ 875
688
+ ],
689
+ "page_idx": 5
690
+ },
691
+ {
692
+ "type": "text",
693
+ "text": "As can be seen from Table 3, on the datasets with heterogeneous tabular features (House class and VK class), BGNN outperforms other approaches with a significant margin. For example, for the ",
694
+ "bbox": [
695
+ 173,
696
+ 895,
697
+ 825,
698
+ 924
699
+ ],
700
+ "page_idx": 5
701
+ },
702
+ {
703
+ "type": "text",
704
+ "text": "VK class dataset BGNN achieves more than $18 \\%$ of relative increase in accuracy. This demonstrates that learned representations of GBDT together with GNN can be equally useful for node classification setting on data with heterogeneous features. ",
705
+ "bbox": [
706
+ 174,
707
+ 103,
708
+ 823,
709
+ 146
710
+ ],
711
+ "page_idx": 6
712
+ },
713
+ {
714
+ "type": "text",
715
+ "text": "The other two datasets, Slap and DBLP, have sparse bag-of-words features that are particularly challenging for the GNN model. On these two datasets, GBDT is the strongest baseline. Moreover, since FCNN outperforms GNN, we conclude that graph structure does not help, hence BGNN is not supposed to beat GBDT. This is indeed the case: the final accuracy of BGNN is slightly worse than that of GBDT. ",
716
+ "bbox": [
717
+ 174,
718
+ 152,
719
+ 825,
720
+ 222
721
+ ],
722
+ "page_idx": 6
723
+ },
724
+ {
725
+ "type": "text",
726
+ "text": "In the homogeneous OGB-ArXiv dataset, FCNN-GNN and GNN achieve the top performance followed by Res-GNN and BGNN models.2 In a nutshell, GBDT does not learn good predictions on the homogeneous input features and therefore reduces the discriminative power of GNN. Both cases, with sparse and with homogeneous features, show that the performance of BGNN is on par or higher than of GNN; however, lacking heterogeneous structure in the data may make the joint training of GBDT and GNN redundant. ",
727
+ "bbox": [
728
+ 174,
729
+ 229,
730
+ 825,
731
+ 313
732
+ ],
733
+ "page_idx": 6
734
+ },
735
+ {
736
+ "type": "text",
737
+ "text": "4.3 CONSISTENCY ACROSS DIFFERENT GNN MODELS ",
738
+ "text_level": 1,
739
+ "bbox": [
740
+ 174,
741
+ 330,
742
+ 560,
743
+ 344
744
+ ],
745
+ "page_idx": 6
746
+ },
747
+ {
748
+ "type": "text",
749
+ "text": "Seeing that our models perform significantly better than strong baselines on various datasets, we want to test whether the improvement is consistent if different GNN models are used. Thus, we ask: ",
750
+ "bbox": [
751
+ 174,
752
+ 357,
753
+ 825,
754
+ 385
755
+ ],
756
+ "page_idx": 6
757
+ },
758
+ {
759
+ "type": "text",
760
+ "text": "Q3 Do different GNN models benefit from our approach of combination with GBDT? ",
761
+ "bbox": [
762
+ 202,
763
+ 398,
764
+ 763,
765
+ 412
766
+ ],
767
+ "page_idx": 6
768
+ },
769
+ {
770
+ "type": "text",
771
+ "text": "To answer this question, we compare GNN models that include GAT (Velickovi ˇ c et al., 2018), ´ GCN (Kipf & Welling, 2017), AGNN (Thekumparampil et al., 2018), and APPNP (Klicpera et al., 2019). We substitute each of these models to Res-GNN and BGNN and measure the relative change in performance with respect to the original GNN’s performance. ",
772
+ "bbox": [
773
+ 173,
774
+ 426,
775
+ 826,
776
+ 483
777
+ ],
778
+ "page_idx": 6
779
+ },
780
+ {
781
+ "type": "image",
782
+ "img_path": "images/5fc0f16cd9b806d268431dd1a4b3419c1289ff5d104c3699c28a0fcf7e7385a0.jpg",
783
+ "image_caption": [
784
+ "Figure 2: Relative difference for Res-GNN (yellow, diagonal) and BGNN (red, squared) for different GNN architectures w.r.t. GNN RMSE (the smaller the better). "
785
+ ],
786
+ "image_footnote": [],
787
+ "bbox": [
788
+ 181,
789
+ 506,
790
+ 808,
791
+ 602
792
+ ],
793
+ "page_idx": 6
794
+ },
795
+ {
796
+ "type": "text",
797
+ "text": "In Figure 2 we report the relative RMSE gap between Res-GNN and BGNN for each of the GNN architectures, i.e., we compute $g a p = ( r _ { m } - r _ { g n n } ) / r _ { g n n }$ , where $r _ { m }$ and $r _ { g n n }$ are RMSE of that model and of GNN respectively. This experiment positively answers Q3 and shows that all tested GNN architectures significantly benefit from the proposed approach. For example, for House dataset the decrease in the mean squared error is $9 \\%$ , $18 \\%$ , $19 \\%$ , and $17 \\%$ for GAT, GCN, AGNN, and APPNP models respectively. Additionally, one can see that the end-to-end training of BGNN (red, squared) leads to larger improvements than a na¨ıve combination of CatBoost and GNN in Res-GNN (yellow, diagonal). Exact metrics and training time are in Appendix E. ",
798
+ "bbox": [
799
+ 173,
800
+ 660,
801
+ 825,
802
+ 773
803
+ ],
804
+ "page_idx": 6
805
+ },
806
+ {
807
+ "type": "text",
808
+ "text": "4.4 TRAINING TIME ",
809
+ "text_level": 1,
810
+ "bbox": [
811
+ 174,
812
+ 790,
813
+ 326,
814
+ 804
815
+ ],
816
+ "page_idx": 6
817
+ },
818
+ {
819
+ "type": "text",
820
+ "text": "As the previous experiments demonstrated superior quality across various datasets and GNN models, it is important to understand if the additional GBDT part can become a bottleneck in terms of efficiency for training this model on real-world datasets. Hence, we ask: ",
821
+ "bbox": [
822
+ 176,
823
+ 816,
824
+ 825,
825
+ 858
826
+ ],
827
+ "page_idx": 6
828
+ },
829
+ {
830
+ "type": "text",
831
+ "text": "To answer this question, we measure the clock time to train each model until convergence, considering early stopping. Table 4 presents training time for each model. We can see that both BGNN and Res-GNN run faster than GNN in most cases. In other words, BGNN and Res-GNN models do not incur an increase in training time but actually are more efficient than GNN. For example, for VK dataset BGNN and Res-GNN run $3 \\mathbf { x }$ and $2 \\mathbf { x }$ faster than GNN, respectively. Moreover, BGNN is consistently faster than another end-to-end implementation FCNN-GNN that uses FCNN instead of CatBoost to preprocess the original input features. ",
832
+ "bbox": [
833
+ 173,
834
+ 103,
835
+ 825,
836
+ 202
837
+ ],
838
+ "page_idx": 7
839
+ },
840
+ {
841
+ "type": "table",
842
+ "img_path": "images/27d7be8c02679fc2d67c201a6fab862b0464164a28d6e15a3e87b154ca006e9d.jpg",
843
+ "table_caption": [
844
+ "Table 4: Training time (s) in node regression task. "
845
+ ],
846
+ "table_footnote": [],
847
+ "table_body": "<table><tr><td>Method</td><td></td><td>House</td><td>County</td><td>VK</td><td>Wiki</td><td>Avazu</td></tr><tr><td rowspan=\"2\">GETT</td><td>CatBoost</td><td>4±1</td><td>2±1</td><td>24±4</td><td>10±1</td><td>2±2</td></tr><tr><td>LightGBM</td><td>3±0</td><td>1±0</td><td>5±3</td><td>3±2</td><td>0±0</td></tr><tr><td rowspan=\"4\"></td><td>GAT GCN</td><td>35±2</td><td>19±6</td><td>42±4</td><td>15±1</td><td>9±2</td></tr><tr><td></td><td>28±0</td><td>18±7</td><td>38±0</td><td>13±3</td><td>12±6</td></tr><tr><td>AGNN</td><td>38±5</td><td>28±3</td><td>48±3</td><td>19±5</td><td>14±8</td></tr><tr><td>APPNP</td><td>68±1</td><td>34±10</td><td>81±3</td><td>49± 26</td><td>24±15</td></tr><tr><td rowspan=\"2\">M</td><td>FCNN FCNN-GNN</td><td>16±5</td><td>2±1</td><td>109 ± 35</td><td>12±2</td><td>2±0</td></tr><tr><td></td><td>39±1</td><td>21±6</td><td>48±2</td><td>16±1</td><td>14±3</td></tr><tr><td rowspan=\"2\"></td><td>Res-GNN</td><td>36±7</td><td>7±3</td><td>41±7</td><td>31±9</td><td>7±2</td></tr><tr><td>BGNN</td><td>20±4</td><td>2±0</td><td>16±0</td><td>21±7</td><td>5±1</td></tr></table>",
848
+ "bbox": [
849
+ 263,
850
+ 253,
851
+ 736,
852
+ 431
853
+ ],
854
+ "page_idx": 7
855
+ },
856
+ {
857
+ "type": "text",
858
+ "text": "The reason for improved efficiency is that BGNN and Res-GNN converge with a much fewer number of iterations as demonstrated in Figure 3. We plot RMSE on the test set during training for all models (with winning hyperparameters). We can see that BGNN converges within the first ten iterations (for $k = 2 0$ ), leading to fast training. In contrast, Res-GNN is similar in terms of convergence to GNN for the first 100 epochs, but then it continues decreasing RMSE unlike GNN that requires much more epochs to converge. This behavior is similar for other datasets (see Appendix F). ",
859
+ "bbox": [
860
+ 173,
861
+ 453,
862
+ 825,
863
+ 537
864
+ ],
865
+ "page_idx": 7
866
+ },
867
+ {
868
+ "type": "image",
869
+ "img_path": "images/7ef28e9ae2b9d9bd8faaefc3a8f2316640e7de3eaa2425d1d307982ff73e20be.jpg",
870
+ "image_caption": [
871
+ "Figure 3: RMSE on the test set during training for two node regression datasets. "
872
+ ],
873
+ "image_footnote": [],
874
+ "bbox": [
875
+ 184,
876
+ 559,
877
+ 813,
878
+ 693
879
+ ],
880
+ "page_idx": 7
881
+ },
882
+ {
883
+ "type": "text",
884
+ "text": "4.5 VISUALIZING PREDICTIONS ",
885
+ "text_level": 1,
886
+ "bbox": [
887
+ 176,
888
+ 751,
889
+ 406,
890
+ 765
891
+ ],
892
+ "page_idx": 7
893
+ },
894
+ {
895
+ "type": "text",
896
+ "text": "To investigate the performance of BGNN, we plot the final predictions of trained models for observations in the training set. Our motivation is to scrutinize which points are correctly classified by different models. Figure 4 displays the predictions of GBDT, GNN, Res-GNN, and BGNN models as well as the true target value. To better understand the predictions of the BGNN model, in Figure 4(e) we show the values predicted by GBDT that was trained as a part of BGNN. This experiment is performed on House dataset, the plots for other datasets show similar trends and can be found in the supplementary materials. ",
897
+ "bbox": [
898
+ 173,
899
+ 776,
900
+ 825,
901
+ 875
902
+ ],
903
+ "page_idx": 7
904
+ },
905
+ {
906
+ "type": "text",
907
+ "text": "Several observations can be drawn from these figures. First, the true target values change quite smoothly within local neighborhoods; however, there are a few outliers: single red points among many blue points and conversely. These points can mislead the model during the training, predicting the wrong target value for many observations in the outliers’ local neighborhoods. Hence, it is important for a model to make smoothed predictions in the local neighborhoods. ",
908
+ "bbox": [
909
+ 176,
910
+ 882,
911
+ 825,
912
+ 924
913
+ ],
914
+ "page_idx": 7
915
+ },
916
+ {
917
+ "type": "image",
918
+ "img_path": "images/980e8813be0fdcd802b8124062d45cb066afd363c94898e2e2a61abe4138b9ae.jpg",
919
+ "image_caption": [
920
+ "Figure 4: House dataset. True labels and predictions by trained GBDT, GNN, Res-GNN, and BGNN models (training points only). Point coordinates correspond to BGNN learned representations in the first hidden layer. Color represents the final predictions made by each model. "
921
+ ],
922
+ "image_footnote": [],
923
+ "bbox": [
924
+ 209,
925
+ 107,
926
+ 800,
927
+ 342
928
+ ],
929
+ "page_idx": 8
930
+ },
931
+ {
932
+ "type": "text",
933
+ "text": "",
934
+ "bbox": [
935
+ 176,
936
+ 434,
937
+ 821,
938
+ 463
939
+ ],
940
+ "page_idx": 8
941
+ },
942
+ {
943
+ "type": "text",
944
+ "text": "Second, comparing the prediction spaces of GBDT, GNN, Res-GNN, and BGNN models we can observe that predictions for GBDT are much more grainy with large variations in the neighborhoods of the vertices (high quality images can be found in the supplementary materials). Intuitively, because the GBDT model does not have access to the graph structure, it cannot propagate its predictions in the nodes’ vicinity. Alternatively, GNN, Res-GNN, and BGNN can extrapolate the outputs among local neighbors, smoothing out the final predictions as seen in Figures 4(c), 4(d), 4(f). ",
945
+ "bbox": [
946
+ 174,
947
+ 469,
948
+ 825,
949
+ 554
950
+ ],
951
+ "page_idx": 8
952
+ },
953
+ {
954
+ "type": "text",
955
+ "text": "Third, focusing on the values of predictions (color bars on the right of each plot) of GBDT, GNN, and BGNN models we notice that the scale of final predictions for GBDT and BGNN models is closely aligned with the true predictions, while GNN’s predictions mismatch the true values by large margin. Our intuition is that the expressive power of GBDT to learn piecewise decision boundaries common in tabular datasets helps GBDT and BGNN to properly tune its final predictions with respect to the true range of values. In contrast, GNN relies solely on neural layers to learn complex decision rules. ",
956
+ "bbox": [
957
+ 174,
958
+ 560,
959
+ 825,
960
+ 643
961
+ ],
962
+ "page_idx": 8
963
+ },
964
+ {
965
+ "type": "text",
966
+ "text": "Another observation comes from looking at the values predicted by GBDT trained as a part of BGNN (see Figure 4(e)). While this GBDT model is initialized using the true target labels, it was not forced to predict the target during the training. Interestingly, this model shows the same trend and clearly captures the regions on high/low target values. On the other hand, GBDT trained as a part of BGNN is much more conservative: on all datasets, the range of predicted values is significantly smaller than the true one. We hypothesize that GBDT is trained to scale its predictions to make them more suitable for further improvements by GNN. ",
967
+ "bbox": [
968
+ 174,
969
+ 650,
970
+ 825,
971
+ 748
972
+ ],
973
+ "page_idx": 8
974
+ },
975
+ {
976
+ "type": "text",
977
+ "text": "5 CONCLUSION ",
978
+ "text_level": 1,
979
+ "bbox": [
980
+ 176,
981
+ 776,
982
+ 318,
983
+ 792
984
+ ],
985
+ "page_idx": 8
986
+ },
987
+ {
988
+ "type": "text",
989
+ "text": "We have presented BGNN, a novel architecture for learning on graphs with heterogeneous tabular node features. BGNN takes advantages of the GBDT model to build hyperplane decision boundaries that are common for heterogeneous data, and then utilizes GNN to refine the predictions using relational information. Our approach is end-to-end and can be incorporated with any message-passing neural network and gradient boosting method. Extensive experiments demonstrate that the proposed architecture is superior to strong existing competitors in terms of accuracy of predictions and training time. A possible direction for future research is to analyze whether this approach is profitable for graph-level predictions such as graph classification or subgraph detection. ",
990
+ "bbox": [
991
+ 174,
992
+ 811,
993
+ 825,
994
+ 924
995
+ ],
996
+ "page_idx": 8
997
+ },
998
+ {
999
+ "type": "text",
1000
+ "text": "ACKNOWLEDGMENTS ",
1001
+ "text_level": 1,
1002
+ "bbox": [
1003
+ 176,
1004
+ 104,
1005
+ 326,
1006
+ 117
1007
+ ],
1008
+ "page_idx": 9
1009
+ },
1010
+ {
1011
+ "type": "text",
1012
+ "text": "The authors thank the Anonymous Reviewers for their reviews and Anton Tsitsulin for kindly sharing VK data. Liudmila Prokhorenkova also acknowledge the financial support from the Ministry of Education and Science of the Russian Federation in the framework of MegaGrant 075-15-2019-1926 and from the Russian President grant supporting leading scientific schools of the Russian Federation NSh-2540.2020.1. ",
1013
+ "bbox": [
1014
+ 174,
1015
+ 128,
1016
+ 825,
1017
+ 198
1018
+ ],
1019
+ "page_idx": 9
1020
+ },
1021
+ {
1022
+ "type": "text",
1023
+ "text": "REFERENCES ",
1024
+ "text_level": 1,
1025
+ "bbox": [
1026
+ 174,
1027
+ 219,
1028
+ 285,
1029
+ 234
1030
+ ],
1031
+ "page_idx": 9
1032
+ },
1033
+ {
1034
+ "type": "text",
1035
+ "text": "Sercan O Arik and Tomas Pfister. Tabnet: Attentive interpretable tabular learning. arXiv preprint arXiv:1908.07442, 2020. ",
1036
+ "bbox": [
1037
+ 173,
1038
+ 243,
1039
+ 823,
1040
+ 271
1041
+ ],
1042
+ "page_idx": 9
1043
+ },
1044
+ {
1045
+ "type": "text",
1046
+ "text": "Sarkhan Badirli, Xuanqing Liu, Zhengming Xing, Avradeep Bhowmik, and Sathiya S Keerthi. Gradient boosting neural networks: Grownet. arXiv preprint arXiv:2002.07971, 2020. ",
1047
+ "bbox": [
1048
+ 173,
1049
+ 281,
1050
+ 825,
1051
+ 310
1052
+ ],
1053
+ "page_idx": 9
1054
+ },
1055
+ {
1056
+ "type": "text",
1057
+ "text": "Peter W Battaglia, Jessica B Hamrick, Victor Bapst, Alvaro Sanchez-Gonzalez, Vinicius Zambaldi, Mateusz Malinowski, Andrea Tacchetti, David Raposo, Adam Santoro, Ryan Faulkner, et al. Relational inductive biases, deep learning, and graph networks. arXiv preprint arXiv:1806.01261, 2018. ",
1058
+ "bbox": [
1059
+ 173,
1060
+ 319,
1061
+ 826,
1062
+ 376
1063
+ ],
1064
+ "page_idx": 9
1065
+ },
1066
+ {
1067
+ "type": "text",
1068
+ "text": "Candice Bentejac, Anna Cs ´ org ¨ o, and Gonzalo Mart ˝ ´ınez-Munoz. A comparative analysis of gradient ˜ boosting algorithms. Artificial Intelligence Review, pp. 1–31, 2020. ",
1069
+ "bbox": [
1070
+ 174,
1071
+ 386,
1072
+ 825,
1073
+ 415
1074
+ ],
1075
+ "page_idx": 9
1076
+ },
1077
+ {
1078
+ "type": "text",
1079
+ "text": "Sergio Casas, Cole Gulino, Renjie Liao, and Raquel Urtasun. Spatially-aware graph neural networks for relational behavior forecasting from sensor data. arXiv preprint arXiv:1910.08233, 2019. ",
1080
+ "bbox": [
1081
+ 173,
1082
+ 424,
1083
+ 825,
1084
+ 454
1085
+ ],
1086
+ "page_idx": 9
1087
+ },
1088
+ {
1089
+ "type": "text",
1090
+ "text": "Djork-Arne Clevert, Thomas Unterthiner, and Sepp Hochreiter. Fast and accurate deep network learning by exponential linear units (elus). In 4th International Conference on Learning Representations, 2016. ",
1091
+ "bbox": [
1092
+ 174,
1093
+ 463,
1094
+ 826,
1095
+ 506
1096
+ ],
1097
+ "page_idx": 9
1098
+ },
1099
+ {
1100
+ "type": "text",
1101
+ "text": "Ji Feng, Yang Yu, and Zhi-Hua Zhou. Multi-layered gradient boosting decision trees. In Advances in neural information processing systems, pp. 3551–3561, 2018. ",
1102
+ "bbox": [
1103
+ 171,
1104
+ 516,
1105
+ 825,
1106
+ 545
1107
+ ],
1108
+ "page_idx": 9
1109
+ },
1110
+ {
1111
+ "type": "text",
1112
+ "text": "Matthias Fey and Jan Eric Lenssen. Fast graph representation learning with pytorch geometric. arXiv preprint arXiv:1903.02428, 2019. ",
1113
+ "bbox": [
1114
+ 171,
1115
+ 555,
1116
+ 823,
1117
+ 583
1118
+ ],
1119
+ "page_idx": 9
1120
+ },
1121
+ {
1122
+ "type": "text",
1123
+ "text": "Matthias Fey, Jan E Lenssen, Christopher Morris, Jonathan Masci, and Nils M Kriege. Deep graph matching consensus. In International Conference on Learning Representations, 2019. ",
1124
+ "bbox": [
1125
+ 173,
1126
+ 593,
1127
+ 823,
1128
+ 623
1129
+ ],
1130
+ "page_idx": 9
1131
+ },
1132
+ {
1133
+ "type": "text",
1134
+ "text": "Jerome H Friedman. Greedy function approximation: a gradient boosting machine. Annals of statistics, pp. 1189–1232, 2001. ",
1135
+ "bbox": [
1136
+ 173,
1137
+ 632,
1138
+ 823,
1139
+ 661
1140
+ ],
1141
+ "page_idx": 9
1142
+ },
1143
+ {
1144
+ "type": "text",
1145
+ "text": "Hussein Hazimeh, Natalia Ponomareva, Petros Mol, Zhenyu Tan, and Rahul Mazumder. The tree ensemble layer: Differentiability meets conditional computation. In 37th International Conference on Machine Learning (ICML 2020), 2020. ",
1146
+ "bbox": [
1147
+ 174,
1148
+ 670,
1149
+ 826,
1150
+ 713
1151
+ ],
1152
+ "page_idx": 9
1153
+ },
1154
+ {
1155
+ "type": "text",
1156
+ "text": "Weihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong, Hongyu Ren, Bowen Liu, Michele Catasta, and Jure Leskovec. Open graph benchmark: Datasets for machine learning on graphs. In Conference on Neural Information Processing Systems, 2020a. ",
1157
+ "bbox": [
1158
+ 174,
1159
+ 723,
1160
+ 826,
1161
+ 767
1162
+ ],
1163
+ "page_idx": 9
1164
+ },
1165
+ {
1166
+ "type": "text",
1167
+ "text": "Weihua Hu, Bowen Liu, Joseph Gomes, Marinka Zitnik, Percy Liang, Vijay Pande, and Jure Leskovec. Strategies for pre-training graph neural networks. In International Conference on Learning Representations, 2020b. ",
1168
+ "bbox": [
1169
+ 176,
1170
+ 776,
1171
+ 823,
1172
+ 819
1173
+ ],
1174
+ "page_idx": 9
1175
+ },
1176
+ {
1177
+ "type": "text",
1178
+ "text": "Junteng Jia and Austin Benson. Outcome correlation in graph neural network regression. arXiv preprint arXiv:2002.08274, 2020. ",
1179
+ "bbox": [
1180
+ 168,
1181
+ 829,
1182
+ 823,
1183
+ 857
1184
+ ],
1185
+ "page_idx": 9
1186
+ },
1187
+ {
1188
+ "type": "text",
1189
+ "text": "Harmanpreet Kaur, Harsha Nori, Samuel Jenkins, Rich Caruana, Hanna Wallach, and Jennifer Wortman Vaughan. Interpreting interpretability: Understanding data scientists’ use of interpretability tools for machine learning. In Proceedings of the 2020 CHI Conference on Human Factors in Computing Systems, 2020. ",
1190
+ "bbox": [
1191
+ 174,
1192
+ 867,
1193
+ 825,
1194
+ 924
1195
+ ],
1196
+ "page_idx": 9
1197
+ },
1198
+ {
1199
+ "type": "text",
1200
+ "text": "Guolin Ke, Qi Meng, Thomas Finley, Taifeng Wang, Wei Chen, Weidong Ma, Qiwei Ye, and TieYan Liu. Lightgbm: A highly efficient gradient boosting decision tree. In Advances in Neural Information Processing Systems 30. 2017. ",
1201
+ "bbox": [
1202
+ 176,
1203
+ 103,
1204
+ 823,
1205
+ 146
1206
+ ],
1207
+ "page_idx": 10
1208
+ },
1209
+ {
1210
+ "type": "text",
1211
+ "text": "Nicolas Keriven and Gabriel Peyre. Universal invariant and equivariant graph neural networks. In ´ Advances in Neural Information Processing Systems, pp. 7092–7101, 2019. ",
1212
+ "bbox": [
1213
+ 169,
1214
+ 155,
1215
+ 823,
1216
+ 184
1217
+ ],
1218
+ "page_idx": 10
1219
+ },
1220
+ {
1221
+ "type": "text",
1222
+ "text": "Thomas N Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. In International Conference on Learning Representations, 2017. ",
1223
+ "bbox": [
1224
+ 171,
1225
+ 191,
1226
+ 825,
1227
+ 222
1228
+ ],
1229
+ "page_idx": 10
1230
+ },
1231
+ {
1232
+ "type": "text",
1233
+ "text": "Johannes Klicpera, Aleksandar Bojchevski, and Stephan Gunnemann. Predict then propagate: ¨ Graph neural networks meet personalized pagerank. In International Conference on Learning Representations, 2019. ",
1234
+ "bbox": [
1235
+ 174,
1236
+ 229,
1237
+ 823,
1238
+ 272
1239
+ ],
1240
+ "page_idx": 10
1241
+ },
1242
+ {
1243
+ "type": "text",
1244
+ "text": "Pan Li, Zhen Qin, Xuanhui Wang, and Donald Metzler. Combining decision trees and neural networks for learning-to-rank in personal search. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pp. 2032–2040, 2019. ",
1245
+ "bbox": [
1246
+ 173,
1247
+ 281,
1248
+ 825,
1249
+ 325
1250
+ ],
1251
+ "page_idx": 10
1252
+ },
1253
+ {
1254
+ "type": "text",
1255
+ "text": "Andreas Loukas. What graph neural networks cannot learn: depth vs width. In International Conference on Learning Representations, 2020. ",
1256
+ "bbox": [
1257
+ 173,
1258
+ 333,
1259
+ 823,
1260
+ 362
1261
+ ],
1262
+ "page_idx": 10
1263
+ },
1264
+ {
1265
+ "type": "text",
1266
+ "text": "Haggai Maron, Ethan Fetaya, Nimrod Segol, and Yaron Lipman. On the universality of invariant networks. In International conference on machine learning, pp. 4363–4371. PMLR, 2019. ",
1267
+ "bbox": [
1268
+ 173,
1269
+ 369,
1270
+ 823,
1271
+ 400
1272
+ ],
1273
+ "page_idx": 10
1274
+ },
1275
+ {
1276
+ "type": "text",
1277
+ "text": "Nina Mazyavkina, Sergey Sviridov, Sergei Ivanov, and Evgeny Burnaev. Reinforcement learning for combinatorial optimization: A survey. arXiv preprint arXiv:2003.03600, 2020. ",
1278
+ "bbox": [
1279
+ 174,
1280
+ 407,
1281
+ 821,
1282
+ 438
1283
+ ],
1284
+ "page_idx": 10
1285
+ },
1286
+ {
1287
+ "type": "text",
1288
+ "text": "R Kelley Pace and Ronald Barry. Sparse spatial autoregressions. Statistics & Probability Letters, 33 (3):291–297, 1997. ",
1289
+ "bbox": [
1290
+ 174,
1291
+ 445,
1292
+ 823,
1293
+ 474
1294
+ ],
1295
+ "page_idx": 10
1296
+ },
1297
+ {
1298
+ "type": "text",
1299
+ "text": "Ben Peters, Vlad Niculae, and Andre FT Martins. Sparse sequence-to-sequence models. In ´ Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pp. 1504–1519, 2019. ",
1300
+ "bbox": [
1301
+ 174,
1302
+ 483,
1303
+ 825,
1304
+ 525
1305
+ ],
1306
+ "page_idx": 10
1307
+ },
1308
+ {
1309
+ "type": "text",
1310
+ "text": "Sergei Popov, Stanislav Morozov, and Artem Babenko. Neural oblivious decision ensembles for deep learning on tabular data. In International Conference on Learning Representations, 2019. ",
1311
+ "bbox": [
1312
+ 173,
1313
+ 534,
1314
+ 823,
1315
+ 564
1316
+ ],
1317
+ "page_idx": 10
1318
+ },
1319
+ {
1320
+ "type": "text",
1321
+ "text": "Liudmila Prokhorenkova, Gleb Gusev, Aleksandr Vorobev, Anna Veronika Dorogush, and Andrey Gulin. Catboost: unbiased boosting with categorical features. In Advances in neural information processing systems, pp. 6638–6648, 2018. ",
1322
+ "bbox": [
1323
+ 173,
1324
+ 571,
1325
+ 825,
1326
+ 616
1327
+ ],
1328
+ "page_idx": 10
1329
+ },
1330
+ {
1331
+ "type": "text",
1332
+ "text": "Yuxiang Ren, Bo Liu, Chao Huang, Peng Dai, Liefeng Bo, and Jiawei Zhang. Heterogeneous deep graph infomax. arXiv preprint arXiv:1911.08538, 2019. ",
1333
+ "bbox": [
1334
+ 173,
1335
+ 623,
1336
+ 823,
1337
+ 654
1338
+ ],
1339
+ "page_idx": 10
1340
+ },
1341
+ {
1342
+ "type": "text",
1343
+ "text": "Benedek Rozemberczki, Carl Allen, and Rik Sarkar. Multi-scale attributed node embedding. arXiv preprint arXiv:1909.13021, 2019. ",
1344
+ "bbox": [
1345
+ 174,
1346
+ 661,
1347
+ 823,
1348
+ 690
1349
+ ],
1350
+ "page_idx": 10
1351
+ },
1352
+ {
1353
+ "type": "text",
1354
+ "text": "Victor Garcia Satorras and Joan Bruna Estrach. Few-shot learning with graph neural networks. In International Conference on Learning Representations, 2018. ",
1355
+ "bbox": [
1356
+ 173,
1357
+ 699,
1358
+ 823,
1359
+ 728
1360
+ ],
1361
+ "page_idx": 10
1362
+ },
1363
+ {
1364
+ "type": "text",
1365
+ "text": "Weiping Song, Chence Shi, Zhiping Xiao, Zhijian Duan, Yewen Xu, Ming Zhang, and Jian Tang. Autoint: Automatic feature interaction learning via self-attentive neural networks. In Proceedings of the 28th ACM International Conference on Information and Knowledge Management, pp. 1161–1170, 2019. ",
1366
+ "bbox": [
1367
+ 174,
1368
+ 736,
1369
+ 826,
1370
+ 792
1371
+ ],
1372
+ "page_idx": 10
1373
+ },
1374
+ {
1375
+ "type": "text",
1376
+ "text": "Jonathan M Stokes, Kevin Yang, Kyle Swanson, Wengong Jin, Andres Cubillos-Ruiz, Nina M Donghia, Craig R MacNair, Shawn French, Lindsey A Carfrae, Zohar Bloom-Ackerman, et al. A deep learning approach to antibiotic discovery. Cell, 180(4):688–702, 2020. ",
1377
+ "bbox": [
1378
+ 174,
1379
+ 801,
1380
+ 823,
1381
+ 844
1382
+ ],
1383
+ "page_idx": 10
1384
+ },
1385
+ {
1386
+ "type": "text",
1387
+ "text": "Jianing Sun, Wei Guo, Dengcheng Zhang, Yingxue Zhang, Florence Regol, Yaochen Hu, Huifeng Guo, Ruiming Tang, Han Yuan, Xiuqiang He, and Mark Coates. A framework for recommending accurate and diverse items using bayesian graph convolutional neural networks. In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pp. 2030–2039, 2020. ",
1388
+ "bbox": [
1389
+ 174,
1390
+ 853,
1391
+ 826,
1392
+ 922
1393
+ ],
1394
+ "page_idx": 10
1395
+ },
1396
+ {
1397
+ "type": "text",
1398
+ "text": "Ke Sun, Zhouchen Lin, and Zhanxing Zhu. Adagcn: Adaboosting graph convolutional networks into deep models. arXiv preprint arXiv:1908.05081, 2019. ",
1399
+ "bbox": [
1400
+ 173,
1401
+ 103,
1402
+ 825,
1403
+ 132
1404
+ ],
1405
+ "page_idx": 11
1406
+ },
1407
+ {
1408
+ "type": "text",
1409
+ "text": "Kiran K Thekumparampil, Chong Wang, Sewoong Oh, and Li-Jia Li. Attention-based graph neural network for semi-supervised learning. arXiv preprint arXiv:1803.03735, 2018. ",
1410
+ "bbox": [
1411
+ 173,
1412
+ 140,
1413
+ 823,
1414
+ 171
1415
+ ],
1416
+ "page_idx": 11
1417
+ },
1418
+ {
1419
+ "type": "text",
1420
+ "text": "Anton Tsitsulin, Davide Mottin, Panagiotis Karras, and Emmanuel Muller. Verse: Versatile graph ¨ embeddings from similarity measures. In Proceedings of the 2018 World Wide Web Conference, pp. 539–548, 2018. ",
1421
+ "bbox": [
1422
+ 174,
1423
+ 178,
1424
+ 823,
1425
+ 222
1426
+ ],
1427
+ "page_idx": 11
1428
+ },
1429
+ {
1430
+ "type": "text",
1431
+ "text": "Petar Velickovi ˇ c, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Li ´ o, and Yoshua \\` Bengio. Graph Attention Networks. International Conference on Learning Representations, 2018. ",
1432
+ "bbox": [
1433
+ 173,
1434
+ 229,
1435
+ 825,
1436
+ 260
1437
+ ],
1438
+ "page_idx": 11
1439
+ },
1440
+ {
1441
+ "type": "text",
1442
+ "text": "Duo Wang, Mateja Jamnik, and Pietro Lio. Abstract diagrammatic reasoning with multiplex graph networks. In International Conference on Learning Representations, 2020. ",
1443
+ "bbox": [
1444
+ 173,
1445
+ 267,
1446
+ 823,
1447
+ 297
1448
+ ],
1449
+ "page_idx": 11
1450
+ },
1451
+ {
1452
+ "type": "text",
1453
+ "text": "Man Wu, Shirui Pan, Chuan Zhou, Xiaojun Chang, and Xingquan Zhu. Unsupervised domain adaptive graph convolutional networks. In Proceedings of The Web Conference, 2020. ",
1454
+ "bbox": [
1455
+ 169,
1456
+ 305,
1457
+ 825,
1458
+ 335
1459
+ ],
1460
+ "page_idx": 11
1461
+ },
1462
+ {
1463
+ "type": "text",
1464
+ "text": "Yuxin Xiao, Zecheng Zhang, Carl Yang, and Chengxiang Zhai. Non-local attention learning on large heterogeneous information networks. In 2019 IEEE International Conference on Big Data (Big Data), pp. 978–987. IEEE, 2019. ",
1465
+ "bbox": [
1466
+ 174,
1467
+ 343,
1468
+ 823,
1469
+ 386
1470
+ ],
1471
+ "page_idx": 11
1472
+ },
1473
+ {
1474
+ "type": "text",
1475
+ "text": "Yongxin Yang, Irene Garcia Morillo, and Timothy M Hospedales. Deep neural decision trees. arXiv preprint arXiv:1806.06988, 2018. ",
1476
+ "bbox": [
1477
+ 173,
1478
+ 395,
1479
+ 825,
1480
+ 424
1481
+ ],
1482
+ "page_idx": 11
1483
+ },
1484
+ {
1485
+ "type": "text",
1486
+ "text": "Zhi-Hua Zhou and Ji Feng. Deep forest. National Science Review, 6(1):74–86, 2019. ",
1487
+ "bbox": [
1488
+ 173,
1489
+ 433,
1490
+ 730,
1491
+ 448
1492
+ ],
1493
+ "page_idx": 11
1494
+ },
1495
+ {
1496
+ "type": "text",
1497
+ "text": "A FURTHER RELATED WORK ",
1498
+ "text_level": 1,
1499
+ "bbox": [
1500
+ 178,
1501
+ 102,
1502
+ 426,
1503
+ 117
1504
+ ],
1505
+ "page_idx": 12
1506
+ },
1507
+ {
1508
+ "type": "text",
1509
+ "text": "To the best of our knowledge, there are no approaches combining the benefits of GBDT and GNN models for representation learning on graphs with tabular data. However, there are many attempts to adapt non-graph neural networks for tabular data or to combine them with gradient boosting in different ways. ",
1510
+ "bbox": [
1511
+ 174,
1512
+ 133,
1513
+ 825,
1514
+ 189
1515
+ ],
1516
+ "page_idx": 12
1517
+ },
1518
+ {
1519
+ "type": "text",
1520
+ "text": "Several works (Popov et al., 2019; Yang et al., 2018; Zhou & Feng, 2019; Feng et al., 2018; Hazimeh et al., 2020) attempt to mitigate the non-differentiable nature of decision trees. For example, Popov et al. (2019) proposed to replace hard choices for tree splitting features and splitting thresholds with their continuous counterparts, using $\\alpha$ -entmax transformation (Peters et al., 2019). While such an approach becomes suitable for a union of decision trees with GNN, the computational burden of training both end-to-end becomes a bottleneck for large graphs. ",
1521
+ "bbox": [
1522
+ 174,
1523
+ 195,
1524
+ 825,
1525
+ 280
1526
+ ],
1527
+ "page_idx": 12
1528
+ },
1529
+ {
1530
+ "type": "text",
1531
+ "text": "Another method (Badirli et al., 2020) uses neural networks as weak learners for the GBDT model. For graph representation problems such as node regression, one can replace standard neural networks with graph neural networks. However, training different GNN as weak classifiers at once would be exhaustive. Additionally, such a combination lacks some advantages of GBDT, like handling heterogeneous and categorical features and missing values. An approach called AdaGCN (Sun et al., 2019) incorporates AdaBoost ideas into the design of GNNs in order to construct deep models. Again, this method does not exploit the advantages of GBDT methods. ",
1532
+ "bbox": [
1533
+ 174,
1534
+ 286,
1535
+ 825,
1536
+ 385
1537
+ ],
1538
+ "page_idx": 12
1539
+ },
1540
+ {
1541
+ "type": "text",
1542
+ "text": "Finally, Li et al. (2019) investigated different ways of combining decision-tree-based models and neural networks. While the motivation is similar to ours — get the benefits of both types of models — the paper focuses specifically on learning-to-rank problems. Additionally, while some of their methods are similar in spirit to Res-GNN, they do not update GBDT in an end-to-end manner, which is a substantial contribution of the current research. ",
1543
+ "bbox": [
1544
+ 174,
1545
+ 391,
1546
+ 826,
1547
+ 462
1548
+ ],
1549
+ "page_idx": 12
1550
+ },
1551
+ {
1552
+ "type": "text",
1553
+ "text": "B HYPERPARAMETERS ",
1554
+ "text_level": 1,
1555
+ "bbox": [
1556
+ 176,
1557
+ 481,
1558
+ 380,
1559
+ 497
1560
+ ],
1561
+ "page_idx": 12
1562
+ },
1563
+ {
1564
+ "type": "text",
1565
+ "text": "Parameters in brackets $\\{ \\}$ are selected by hyperparameter search on the validation set. ",
1566
+ "bbox": [
1567
+ 174,
1568
+ 512,
1569
+ 735,
1570
+ 529
1571
+ ],
1572
+ "page_idx": 12
1573
+ },
1574
+ {
1575
+ "type": "text",
1576
+ "text": "LightGBM: number of leaves is $\\{ 1 5 , 6 3 \\}$ , $| | \\lambda | | _ { 2 } = 0$ , boosting type is gbdt, number of epochs is 1000, early stopping rounds is 100. ",
1577
+ "bbox": [
1578
+ 173,
1579
+ 534,
1580
+ 823,
1581
+ 563
1582
+ ],
1583
+ "page_idx": 12
1584
+ },
1585
+ {
1586
+ "type": "text",
1587
+ "text": "CatBoost: depth is $\\{ 4 , 6 \\} , \\lvert \\lvert \\lambda \\rvert \\rvert _ { 2 } = 0$ , number of epochs is 1000, early stopping rounds is 100. ",
1588
+ "bbox": [
1589
+ 173,
1590
+ 569,
1591
+ 792,
1592
+ 585
1593
+ ],
1594
+ "page_idx": 12
1595
+ },
1596
+ {
1597
+ "type": "text",
1598
+ "text": "FCNN: number of layers is $\\{ 2 , 3 \\}$ , dropout is $\\{ 0 . , 0 . 5 \\}$ , hidden dimension is 64, number of epochs is 5000, early stopping rounds is 2000. ",
1599
+ "bbox": [
1600
+ 171,
1601
+ 590,
1602
+ 823,
1603
+ 619
1604
+ ],
1605
+ "page_idx": 12
1606
+ },
1607
+ {
1608
+ "type": "text",
1609
+ "text": "GNN: dropout rate is $\\{ 0 . , 0 . 5 \\}$ , hidden dimension is 64, number of epochs is 2000, early stopping rounds is 200. GAT, GCN, and AGNN models have two convolutional layers with dropout and ELU activation function (Clevert et al., 2016). APPNP has a two-layer fully-connected neural network with dropout and ELU activation followed by a convolutional layer with $k = 1 0$ and $\\alpha = 0 . 1$ . We use eight heads with eight hidden neurons for GAT model. ",
1610
+ "bbox": [
1611
+ 174,
1612
+ 626,
1613
+ 825,
1614
+ 696
1615
+ ],
1616
+ "page_idx": 12
1617
+ },
1618
+ {
1619
+ "type": "text",
1620
+ "text": "Res-GNN: dropout rate is $\\{ 0 . , 0 . 5 \\}$ , hidden dimension is 64, number of epochs is 1000, early stopping rounds is 100. We also tune whether to use solely predictions of CatBoost model or append them to the input features. CatBoost model is trained for 1000 epochs. ",
1621
+ "bbox": [
1622
+ 174,
1623
+ 703,
1624
+ 823,
1625
+ 746
1626
+ ],
1627
+ "page_idx": 12
1628
+ },
1629
+ {
1630
+ "type": "text",
1631
+ "text": "BGNN: dropout rate is $\\{ 0 . , 0 . 5 \\}$ , hidden dimension is 64, number of epochs is 200, early stopping rounds is 10, number of trees and backward passes per epoch is $\\{ 1 0 , 2 0 \\}$ , depth of the tree is 6. We also tune whether to use solely predictions of CatBoost model or append them to the input features. ",
1632
+ "bbox": [
1633
+ 174,
1634
+ 752,
1635
+ 823,
1636
+ 795
1637
+ ],
1638
+ "page_idx": 12
1639
+ },
1640
+ {
1641
+ "type": "text",
1642
+ "text": "For all models, we also perform a hyperparameter search on learning rate in $\\{ 0 . 1 , 0 . 0 1 \\}$ . Every hyperparameter setting is evaluated three times and an average is taken. We use five random splits for train/validation/test with $0 . 6 / 0 . 2 / 0 . 2$ ratio. The average across five seeds is reported in the tables. ",
1643
+ "bbox": [
1644
+ 174,
1645
+ 801,
1646
+ 823,
1647
+ 843
1648
+ ],
1649
+ "page_idx": 12
1650
+ },
1651
+ {
1652
+ "type": "text",
1653
+ "text": "C REGRESSION DATASETS ",
1654
+ "text_level": 1,
1655
+ "bbox": [
1656
+ 176,
1657
+ 863,
1658
+ 406,
1659
+ 880
1660
+ ],
1661
+ "page_idx": 12
1662
+ },
1663
+ {
1664
+ "type": "text",
1665
+ "text": "In House dataset (Pace & Barry, 1997), nodes are the properties, edges connect the proximal nodes, and the target is the property’s price. We use the publicly available dataset (Pace & Barry, 1997) of all the block groups in California collected from the 1990 Census. We connect each block with at most five of its nearest neighbors if they lie within a ball of a certain radius, as measured by latitude and longitude. We keep the following node features: MedInc, HouseAge, AveRooms, AveBedrms, Population, AveOccup. ",
1666
+ "bbox": [
1667
+ 173,
1668
+ 895,
1669
+ 825,
1670
+ 924
1671
+ ],
1672
+ "page_idx": 12
1673
+ },
1674
+ {
1675
+ "type": "text",
1676
+ "text": "",
1677
+ "bbox": [
1678
+ 174,
1679
+ 103,
1680
+ 825,
1681
+ 160
1682
+ ],
1683
+ "page_idx": 13
1684
+ },
1685
+ {
1686
+ "type": "text",
1687
+ "text": "County dataset (Jia & Benson, 2020) is a county-level election map network. Each node is a county, and two nodes are connected if they share a border. We consider node features coming from the 2016 year. These features include DEM, GOP, MedianIncome, MigraRate, BirthRate, DeathRate, BachelorRate, UnemploymentRate. We follow the setup of the original paper and select UnemploymentRate as the target label. We filter out all nodes in the original data if they do not have features. ",
1688
+ "bbox": [
1689
+ 173,
1690
+ 166,
1691
+ 825,
1692
+ 250
1693
+ ],
1694
+ "page_idx": 13
1695
+ },
1696
+ {
1697
+ "type": "text",
1698
+ "text": "VK dataset (Tsitsulin et al., 2018) comes from a popular social network where people are mutually connected based on friendships, and the regression problem is to predict the age of a person. We use an open-access subsample of the VK social network of the first 1M users.3 Then, the dataset has been preprocessed to keep only the users who opt in to share their demographic information and preferences: country, city, has mobile, last seen platform, political, religion id, alcohol, smoking, relation, sex, university. ",
1699
+ "bbox": [
1700
+ 174,
1701
+ 257,
1702
+ 825,
1703
+ 340
1704
+ ],
1705
+ "page_idx": 13
1706
+ },
1707
+ {
1708
+ "type": "text",
1709
+ "text": "Wiki dataset (Rozemberczki et al., 2019) represents a page-page network on a specific topic (squirrels) with the task of predicting average monthly traffic. The features are bag-of-words for informative nouns (3148 in total) that appeared in the main text of the Wikipedia article. The target is the average monthly traffic between October 2017 and November 2018 for each article. ",
1710
+ "bbox": [
1711
+ 174,
1712
+ 348,
1713
+ 825,
1714
+ 404
1715
+ ],
1716
+ "page_idx": 13
1717
+ },
1718
+ {
1719
+ "type": "text",
1720
+ "text": "Avazu dataset (Song et al., 2019) represents a device-device network, with two devices being connected if they appear on the same site within the same application. For this dataset, the goal is to predict click-through-rate (CTR) for each device. We take the first 10M rows from the publicly available train log of user clicks.4 We compute CTR for each device id and filter those ids that do not have at least 10 ad displays. We connect two devices if they had ad displays on the same site id from the same application id. The node features are anonymized categories: C1, C14, C15, C16, C17, C18, C19, C20, C21. ",
1721
+ "bbox": [
1722
+ 174,
1723
+ 410,
1724
+ 825,
1725
+ 507
1726
+ ],
1727
+ "page_idx": 13
1728
+ },
1729
+ {
1730
+ "type": "text",
1731
+ "text": "D CLASSIFICATION DATASETS ",
1732
+ "text_level": 1,
1733
+ "bbox": [
1734
+ 176,
1735
+ 529,
1736
+ 439,
1737
+ 544
1738
+ ],
1739
+ "page_idx": 13
1740
+ },
1741
+ {
1742
+ "type": "text",
1743
+ "text": "For node classification, we consider three types of node features: heterogeneous (VK and House), sparse (Slap and DBLP), and homogeneous (OGB-ArXiv). ",
1744
+ "bbox": [
1745
+ 174,
1746
+ 559,
1747
+ 823,
1748
+ 588
1749
+ ],
1750
+ "page_idx": 13
1751
+ },
1752
+ {
1753
+ "type": "text",
1754
+ "text": "For House and VK, we transform the original numerical target value with respect to the bin it falls to. More specifically, for VK we consider the classes $< 2 0$ , $2 0 - 2 5 $ , $2 5 - 3 0 , \\dots , 4 5 - 5 0 , > 5 0$ for the age attribute. Similarly, for House dataset we replace the target value with the bin it falls to in the range [1, 1.5, 2, 2.5]. Hence, there are 7 and 5 classes for VK and House, respectively. ",
1755
+ "bbox": [
1756
+ 174,
1757
+ 594,
1758
+ 825,
1759
+ 650
1760
+ ],
1761
+ "page_idx": 13
1762
+ },
1763
+ {
1764
+ "type": "table",
1765
+ "img_path": "images/6cc1a4734307e4ef0fc51b1480f676e93a90b2d7368a472c2a5da9c7af52f6ae.jpg",
1766
+ "table_caption": [
1767
+ "Table 5: Summary of classification datasets. "
1768
+ ],
1769
+ "table_footnote": [],
1770
+ "table_body": "<table><tr><td></td><td>SLAP</td><td>DBLP</td><td>OGB-ArXiv</td></tr><tr><td># Nodes</td><td>20419</td><td>14475</td><td>169343</td></tr><tr><td>#Edges</td><td>172248</td><td>40269</td><td>1166243</td></tr><tr><td>#Features</td><td>2701</td><td>5002</td><td>128</td></tr><tr><td>Classes</td><td>15</td><td>4</td><td>40</td></tr><tr><td>Min Class</td><td>103</td><td>745</td><td>29</td></tr><tr><td>Max Class</td><td>534</td><td>1197</td><td>27321</td></tr></table>",
1771
+ "bbox": [
1772
+ 519,
1773
+ 695,
1774
+ 826,
1775
+ 803
1776
+ ],
1777
+ "page_idx": 13
1778
+ },
1779
+ {
1780
+ "type": "text",
1781
+ "text": "For datasets with sparse features, we consider two datasets coming from heterogeneous information networks (HIN), where nodes have a few different types. A common way to represent HIN is through meta-paths, i.e., a collection of all possible paths between nodes of a particular type. For example, for a citation network, one may specify paths of the type paper-author-paper (PAP) and the type papersubject-paper (PSP). Then the original graph is approximated as several adjacency matrices for different types. ",
1782
+ "bbox": [
1783
+ 174,
1784
+ 657,
1785
+ 508,
1786
+ 810
1787
+ ],
1788
+ "page_idx": 13
1789
+ },
1790
+ {
1791
+ "type": "text",
1792
+ "text": "DBLP dataset (Ren et al., 2019) is a network with three node types (authors, papers, conferences) and four target classes of the authors (database, data mining, information retrieval, and machine learning). To obtain a single graph, we use the adjacency matrix for the relation APA, which closely reflects the relationships between authors. Each author has a bag-of-words representation (300 words) of all the abstracts published by the author. Furthermore, for every node, we compute the degrees for all types of relations and append them as additional node features. Namely, we have two additional node features corresponding to degrees for paper nodes in APA and APCPA adjacency matrices. ",
1793
+ "bbox": [
1794
+ 174,
1795
+ 816,
1796
+ 825,
1797
+ 887
1798
+ ],
1799
+ "page_idx": 13
1800
+ },
1801
+ {
1802
+ "type": "text",
1803
+ "text": "",
1804
+ "bbox": [
1805
+ 173,
1806
+ 103,
1807
+ 823,
1808
+ 132
1809
+ ],
1810
+ "page_idx": 14
1811
+ },
1812
+ {
1813
+ "type": "text",
1814
+ "text": "SLAP dataset (Xiao et al., 2019) is a multiple-hub network in bioinformatics that contains node types such as chemical compound, gene, disease, pathway, etc. The goal is to predict one of 15 gene types. To obtain a single graph, we use the adjacency matrix for the relation GG between genes. Each gene has 3000 features that correspond to the extracted gene ontology terms (GO terms). As for DBLP, we compute the degrees for all types of relations and append them as additional node features. ",
1815
+ "bbox": [
1816
+ 174,
1817
+ 138,
1818
+ 825,
1819
+ 208
1820
+ ],
1821
+ "page_idx": 14
1822
+ },
1823
+ {
1824
+ "type": "text",
1825
+ "text": "As a dataset with homogeneous node features we consider OGB-ArXiv (Hu et al., 2020a). The node features correspond to a 128-dimensional feature vector obtained by averaging the embeddings of words in the title and abstract. Note that for this particular dataset we used the implementation of $\\mathrm { G A T } ^ { 5 }$ as a backbone architecture for GNN, Res-GNN, and BGNN models. This model scored the top place on the leaderboard.6 A summary of statistics for all datasets is outlined in Table 5. ",
1826
+ "bbox": [
1827
+ 174,
1828
+ 215,
1829
+ 825,
1830
+ 285
1831
+ ],
1832
+ "page_idx": 14
1833
+ },
1834
+ {
1835
+ "type": "text",
1836
+ "text": "E COMPARISON OF GNN MODELS ",
1837
+ "text_level": 1,
1838
+ "bbox": [
1839
+ 176,
1840
+ 305,
1841
+ 472,
1842
+ 321
1843
+ ],
1844
+ "page_idx": 14
1845
+ },
1846
+ {
1847
+ "type": "text",
1848
+ "text": "In this section, we show the exact RMSE values and time for all tested GNN models on all regression datasets. We consider several state-of-the-art GNN models that include GAT (Velickovi ˇ c et al., 2018), ´ GCN (Kipf & Welling, 2017), AGNN (Thekumparampil et al., 2018), and APPNP (Klicpera et al., 2019). ",
1849
+ "bbox": [
1850
+ 174,
1851
+ 337,
1852
+ 826,
1853
+ 392
1854
+ ],
1855
+ "page_idx": 14
1856
+ },
1857
+ {
1858
+ "type": "text",
1859
+ "text": "Table 6 demonstrates that for all considered models BGNN and Res-GNN achieve significant increase in performance compared to vanilla GNN. Additionally, end-to-end training of BGNN achieves typically better results than a straightforward implementation of Res-GNN. ",
1860
+ "bbox": [
1861
+ 174,
1862
+ 400,
1863
+ 825,
1864
+ 443
1865
+ ],
1866
+ "page_idx": 14
1867
+ },
1868
+ {
1869
+ "type": "table",
1870
+ "img_path": "images/7e9b4192111842530a605bbd517ccc308c5e3d25091046191974334d81b0a944.jpg",
1871
+ "table_caption": [
1872
+ "Table 6: Summary of our results for different GNN architectures for node regression. "
1873
+ ],
1874
+ "table_footnote": [],
1875
+ "table_body": "<table><tr><td rowspan=\"2\"></td><td rowspan=\"2\">Method</td><td colspan=\"2\">House</td><td colspan=\"2\">County</td><td colspan=\"2\">VK</td><td colspan=\"2\">Wiki</td><td colspan=\"2\">Avazu</td></tr><tr><td>RMSE</td><td>Time (s)</td><td>RMSE</td><td>Time (s)</td><td>RMSE</td><td>Time (s)</td><td>RMSE</td><td>Time (s)</td><td>RMSE</td><td>Time (s)</td></tr><tr><td rowspan=\"2\">5</td><td>GNN</td><td>0.54± 0.01</td><td>35±2</td><td>1.45 ± 0.06</td><td>19±6</td><td>7.22 ± 0.19</td><td>42±4</td><td>45916±4527</td><td>15±1</td><td>0.113 ± 0.01</td><td>9±2</td></tr><tr><td>Res-GNN</td><td>0.51 ± 0.01</td><td>36±7</td><td>1.33 ± 0.08</td><td>7±3</td><td>7.07 ± 0.20</td><td>41±7</td><td>46747 ± 4639</td><td>31±9</td><td>0.109 ± 0.01</td><td>7±2</td></tr><tr><td rowspan=\"3\"></td><td>BGNN</td><td>0.5±0.01</td><td>20±4</td><td>1.26 ± 0.08</td><td>2±0</td><td>6.95 ± 0.21</td><td>16±0</td><td>49222 ± 3743</td><td>21±7</td><td>0.109 ± 0.01</td><td>5±1</td></tr><tr><td>GNN</td><td>0.63 ± 0.01</td><td>28±0</td><td>1.48 ± 0.08</td><td>18±7</td><td>7.25 ± 0.19</td><td>38±0</td><td>44936 ± 4083</td><td>13±3</td><td>0.114 ± 0.02</td><td>12±6</td></tr><tr><td>Res-GNN</td><td>0.59 ± 0.01</td><td>25±2</td><td>1.35 ± 0.09</td><td>11 ±5</td><td>7.03±0.20</td><td>52±6</td><td>44876± 3777</td><td>21±5</td><td>0.111 ± 0.02</td><td>9±6</td></tr><tr><td rowspan=\"3\"></td><td>BGNN</td><td>0.54 ± 0.01</td><td>41 ±15</td><td>1.33 ± 0.13</td><td>12 ±8</td><td>7.12 ±0.21</td><td>76±6</td><td>47426 ± 4112</td><td>22±11</td><td>0.107 ± 0.01</td><td>4±1</td></tr><tr><td>GNN</td><td>0.59 ± 0.01</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Res-GNN</td><td>0.52 ±0.01</td><td>38±5 33±4</td><td>1.45 ± 0.08 1.3 ± 0.07</td><td>28±3 16±4</td><td>7.26±0.20 7.08±0.20</td><td>48±3 51±15</td><td>45982 ± 3058 46010 ± 2355</td><td>19±5 24±3</td><td>0.113 ± 0.02 0.111 ± 0.02</td><td>14±8 7±2</td></tr><tr><td rowspan=\"2\">ANNN</td><td>BGNN</td><td>0.49 ± 0.01</td><td>34±4</td><td>1.28 ± 0.08</td><td>3±1</td><td>6.89 ± 0.21</td><td>25±4</td><td>53080 ± 5117</td><td>47±37</td><td>0.108 ± 0.02</td><td>5±1</td></tr><tr><td>GNN</td><td>0.69 ± 0.01</td><td>68±1</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td rowspan=\"2\">JNPPA</td><td>Res-GNN</td><td>0.67 ± 0.01</td><td>58±12</td><td>1.5 ± 0.11 1.41 ± 0.12</td><td>34±10 19 ±10</td><td>13.23 ± 0.12</td><td>81±3 76±11</td><td>53426±4159</td><td>49±26</td><td>0.113 ± 0.01</td><td>24±15</td></tr><tr><td>BGNN</td><td>0.59 ± 0.01</td><td>21±7</td><td>1.33 ± 0.10</td><td>17±6</td><td>13.06 ± 0.17 12.36 ± 0.14</td><td>50±6</td><td>53206±4593 54359±4734</td><td>66±27 30±13</td><td>0.110 ± 0.01 0.108 ± 0.01</td><td>15±10 6±1</td></tr></table>",
1876
+ "bbox": [
1877
+ 176,
1878
+ 493,
1879
+ 821,
1880
+ 640
1881
+ ],
1882
+ "page_idx": 14
1883
+ },
1884
+ {
1885
+ "type": "text",
1886
+ "text": "F LOSS CONVERGENCE ",
1887
+ "text_level": 1,
1888
+ "bbox": [
1889
+ 174,
1890
+ 102,
1891
+ 383,
1892
+ 117
1893
+ ],
1894
+ "page_idx": 15
1895
+ },
1896
+ {
1897
+ "type": "text",
1898
+ "text": "In Figure 5, we plot RMSE on the test set during training for the remaining datasets — County, Wiki, and Avazu. These results confirm that BGNN converges to its optimal value within the first ten iterations (for $k = 2 0$ ). Note that on the Wiki dataset, similarly to Figure 3, Res-GNN convergence is similar to GNN for the first 100 iterations and then the loss of Res-GNN decreases faster than of GNN. ",
1899
+ "bbox": [
1900
+ 173,
1901
+ 133,
1902
+ 826,
1903
+ 203
1904
+ ],
1905
+ "page_idx": 15
1906
+ },
1907
+ {
1908
+ "type": "image",
1909
+ "img_path": "images/f8ae631dcb149f2fb9dfbce62e88ab9b50bef7c12b85b90c878ac590aa77b56a.jpg",
1910
+ "image_caption": [
1911
+ "Figure 5: Summary of RMSE of test set during training for node regression datasets. "
1912
+ ],
1913
+ "image_footnote": [],
1914
+ "bbox": [
1915
+ 181,
1916
+ 219,
1917
+ 816,
1918
+ 315
1919
+ ],
1920
+ "page_idx": 15
1921
+ }
1922
+ ]
parse/train/ebS5NUfoMKL/ebS5NUfoMKL_middle.json ADDED
The diff for this file is too large to render. See raw diff