Datasets:
Add files using upload-large-folder tool
Browse files- parse/train/Bkg3g2R9FX/Bkg3g2R9FX.md +643 -0
- parse/train/Bkg3g2R9FX/Bkg3g2R9FX_middle.json +0 -0
- parse/train/Bkg3g2R9FX/Bkg3g2R9FX_model.json +0 -0
- parse/train/FrIDgjDOH1u/FrIDgjDOH1u.md +281 -0
- parse/train/FrIDgjDOH1u/FrIDgjDOH1u_middle.json +0 -0
- parse/train/FrIDgjDOH1u/FrIDgjDOH1u_model.json +0 -0
- parse/train/H1faSn0qY7/H1faSn0qY7.md +486 -0
- parse/train/H1faSn0qY7/H1faSn0qY7_content_list.json +0 -0
- parse/train/H1faSn0qY7/H1faSn0qY7_middle.json +0 -0
- parse/train/H1faSn0qY7/H1faSn0qY7_model.json +0 -0
- parse/train/KRODJAa6pzE/KRODJAa6pzE.md +325 -0
- parse/train/KRODJAa6pzE/KRODJAa6pzE_content_list.json +1129 -0
- parse/train/KRODJAa6pzE/KRODJAa6pzE_middle.json +0 -0
- parse/train/KRODJAa6pzE/KRODJAa6pzE_model.json +0 -0
- parse/train/Wj4ODo0uyCF/Wj4ODo0uyCF.md +325 -0
- parse/train/Wj4ODo0uyCF/Wj4ODo0uyCF_content_list.json +1736 -0
- parse/train/Wj4ODo0uyCF/Wj4ODo0uyCF_middle.json +0 -0
- parse/train/Wj4ODo0uyCF/Wj4ODo0uyCF_model.json +0 -0
- parse/train/ZKbZ4mebI9l/ZKbZ4mebI9l.md +340 -0
- parse/train/ZKbZ4mebI9l/ZKbZ4mebI9l_content_list.json +1273 -0
parse/train/Bkg3g2R9FX/Bkg3g2R9FX.md
ADDED
|
@@ -0,0 +1,643 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ADAPTIVE GRADIENT METHODS WITH DYNAMIC BOUND OF LEARNING RATE
|
| 2 |
+
|
| 3 |
+
Liangchen Luo†∗, Yuanhao Xiong‡∗, Yan Liu§, $\mathbf { X } \mathbf { u } \mathbf { S } \mathbf { u } \mathbf { n } ^ { \dag \mathparagraph }$ †MOE Key Lab of Computational Linguistics, School of EECS, Peking University ‡College of Information Science and Electronic Engineering, Zhejiang University §Department of Computer Science, University of Southern California ¶Center for Data Science, Beijing Institute of Big Data Research, Peking University †{luolc,xusun}@pku.edu.cn ‡xiongyh@zju.edu.cn §yanliu.cs@usc.edu
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Adaptive optimization methods such as ADAGRAD, RMSPROP and ADAM have been proposed to achieve a rapid training process with an element-wise scaling term on learning rates. Though prevailing, they are observed to generalize poorly compared with SGD or even fail to converge due to unstable and extreme learning rates. Recent work has put forward some algorithms such as AMSGRAD to tackle this issue but they failed to achieve considerable improvement over existing methods. In our paper, we demonstrate that extreme learning rates can lead to poor performance. We provide new variants of ADAM and AMSGRAD, called ADABOUND and AMSBOUND respectively, which employ dynamic bounds on learning rates to achieve a gradual and smooth transition from adaptive methods to SGD and give a theoretical proof of convergence. We further conduct experiments on various popular tasks and models, which is often insufficient in previous work. Experimental results show that new variants can eliminate the generalization gap between adaptive methods and SGD and maintain higher learning speed early in training at the same time. Moreover, they can bring significant improvement over their prototypes, especially on complex deep networks. The implementation of the algorithm can be found at https://github.com/Luolc/AdaBound.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
There has been tremendous progress in first-order optimization algorithms for training deep neural networks. One of the most dominant algorithms is stochastic gradient descent (SGD) (Robbins & Monro, 1951), which performs well across many applications in spite of its simplicity. However, there is a disadvantage of SGD that it scales the gradient uniformly in all directions. This may lead to poor performance as well as limited training speed when the training data are sparse. To address this problem, recent work has proposed a variety of adaptive methods that scale the gradient by square roots of some form of the average of the squared values of past gradients. Examples of such methods include ADAM (Kingma & Lei Ba, 2015), ADAGRAD (Duchi et al., 2011) and RMSPROP (Tieleman & Hinton, 2012). ADAM in particular has become the default algorithm leveraged across many deep learning frameworks due to its rapid training speed (Wilson et al., 2017).
|
| 12 |
+
|
| 13 |
+
Despite their popularity, the generalization ability and out-of-sample behavior of these adaptive methods are likely worse than their non-adaptive counterparts. Adaptive methods often display faster progress in the initial portion of the training, but their performance quickly plateaus on the unseen data (development/test set) (Wilson et al., 2017). Indeed, the optimizer is chosen as SGD (or with momentum) in several recent state-of-the-art works in natural language processing and computer vision (Luo et al., 2019; Wu & He, 2018), wherein these instances SGD does perform better than adaptive methods. Reddi et al. (2018) have recently proposed a variant of ADAM called AMSGRAD, hoping to solve this problem. The authors provide a theoretical guarantee of convergence but only illustrate its better performance on training data. However, the generalization ability of AMSGRAD on unseen data is found to be similar to that of ADAM while a considerable performance gap still exists between AMSGRAD and SGD (Keskar & Socher, 2017; Chen et al., 2018).
|
| 14 |
+
|
| 15 |
+
In this paper, we first conduct an empirical study on ADAM and illustrate that both extremely large and small learning rates exist by the end of training. The results correspond with the perspective pointed out by Wilson et al. (2017) that the lack of generalization performance of adaptive methods may stem from unstable and extreme learning rates. In fact, introducing non-increasing learning rates, the key point in AMSGRAD, may help abate the impact of huge learning rates, while it neglects possible effects of small ones. We further provide an example of a simple convex optimization problem to elucidate how tiny learning rates of adaptive methods can lead to undesirable non-convergence. In such settings, RMSPROP and ADAM provably do not converge to an optimal solution, and furthermore, however large the initial step size $\alpha$ is, it is impossible for ADAM to fight against the scale-down term.
|
| 16 |
+
|
| 17 |
+
Based on the above analysis, we propose new variants of ADAM and AMSGRAD, named ADABOUND and AMSBOUND, which do not suffer from the negative impact of extreme learning rates. We employ dynamic bounds on learning rates in these adaptive methods, where the lower and upper bound are initialized as zero and infinity respectively, and they both smoothly converge to a constant final step size. The new variants can be regarded as adaptive methods at the beginning of training, and they gradually and smoothly transform to SGD (or with momentum) as time step increases. In this framework, we can enjoy a rapid initial training process as well as good final generalization ability. We provide a convergence analysis for the new variants in the convex setting.
|
| 18 |
+
|
| 19 |
+
We finally turn to an empirical study of the proposed methods on various popular tasks and models in computer vision and natural language processing. Experimental results demonstrate that our methods have higher learning speed early in training and in the meantime guarantee strong generalization performance compared to several adaptive and non-adaptive methods. Moreover, they can bring considerable improvement over their prototypes especially on complex deep networks.
|
| 20 |
+
|
| 21 |
+
# 2 NOTATIONS AND PRELIMINARIES
|
| 22 |
+
|
| 23 |
+
Notations Given a vector $\boldsymbol { \theta } \in \mathbb { R } ^ { d }$ we denote its $i$ -th coordinate by $\theta _ { i }$ ; we use $\theta ^ { k }$ to denote elementwise power of $k$ and $\| \theta \|$ to denote its $\ell _ { 2 }$ -norm; for a vector $\theta _ { t }$ in the $t$ -th iteration, the $i$ -th coordinate of $\theta _ { t }$ is denoted as $\theta _ { t , i }$ by adding a subscript $i$ . Given two vectors $v , w \in \mathbb { R } ^ { d }$ , we use ${ \langle v , w \rangle }$ to denote their inner product, $v \odot w$ to denote element-wise product, $v / w$ to denote element-wise division, $\operatorname* { m a x } ( v , w )$ to denote element-wise maximum and $\operatorname* { m i n } ( v , w )$ to denote element-wise minimum. We use $S _ { + } ^ { d }$ to denote the set of all positive definite $d \times d$ matrices. For a vector $a \in \mathbb { R } ^ { d }$ and a positive definite matrix $M \in \mathbb { R } ^ { d \times d }$ , we use $a / M$ to denote $M ^ { - 1 } a$ and $\sqrt { M }$ to denote $M ^ { 1 / 2 }$ . The projection operation $\Pi _ { \mathcal { F } , M } ( y )$ for ${ \cal M } \in { \cal S } _ { + } ^ { d }$ is defined as ar $\begin{array} { r } { \operatorname { g m i n } _ { x \in \mathcal { F } } \| M ^ { 1 / 2 } ( x - y ) \| } \end{array}$ for $\boldsymbol { y } \in \mathbb { R } ^ { d }$ . We say $\mathcal { F }$ has bounded diameter $D _ { \infty }$ if $\| x - y \| _ { \infty } \leq D _ { \infty }$ for all $x , y \in { \mathcal { F } }$ .
|
| 24 |
+
|
| 25 |
+
Online convex programming A flexible framework to analyze iterative optimization methods is the online optimization problem. It can be formulated as a repeated game between a player (the algorithm) and an adversary. At step $t$ , the algorithm chooses an decision $x _ { t } \in \mathcal { F }$ , where $\mathcal { F } \subset \mathbb { R } ^ { d }$ is a convex feasible set. Then the adversary chooses a convex loss function $f _ { t }$ and the algorithm incurs loss $f _ { t } ( x _ { t } )$ . The difference between the total loss $\textstyle \sum _ { t = 1 } ^ { T } f _ { t } ( x _ { t } )$ and its minimum value for a fixed decision is known as the regret, which is represented by $\begin{array} { r } { \dot { R } _ { T } = \sum _ { t = 1 } ^ { T } f _ { t } ( x _ { t } ) - \operatorname* { m i n } _ { x \in \mathcal { F } } \sum _ { t = 1 } ^ { T } f _ { t } ( x ) } \end{array}$ $\mathcal { F }$ has bounded diameter and $\| \nabla f _ { t } ( x ) \| _ { \infty }$ is bounded for all $t \in [ T ]$ and $x \in { \mathcal { F } }$ . We are interested in algorithms with little regret. Formally speaking, our aim is to devise an algorithm that ensures $R _ { T } = o ( T )$ , which implies that on average, the model’s performance converges to the optimal one. It has been pointed out that an online optimization algorithm with vanishing average regret yields a corresponding stochastic optimization algorithm (Cesa-Bianchi et al., 2002). Thus, following Reddi et al. (2018), we use online gradient descent and stochastic gradient descent synonymously.
|
| 26 |
+
|
| 27 |
+
A generic overview of optimization methods We follow Reddi et al. (2018) to provide a generic framework of optimization methods in Algorithm 1 that encapsulates many popular adaptive and non-adaptive methods. This is useful for understanding the properties of different optimization methods. Note that the algorithm is still abstract since the functions $\phi _ { t } : \mathcal { F } ^ { t } \to \mathbb { R } ^ { \hat { d } }$ and √ $\psi _ { t } : $ $\mathcal { F } ^ { d } \mathcal { S } _ { + } ^ { d }$ have not been specified. In this paper, we refer to $\alpha$ as initial step size and $\alpha _ { t } / \sqrt { V _ { t } }$ as
|
| 28 |
+
|
| 29 |
+
# Algorithm 1 Generic framework of optimization methods
|
| 30 |
+
|
| 31 |
+
Input: $x _ { 1 } \in { \mathcal { F } }$ , initial step size $\alpha$ , sequence of functions $\{ \phi _ { t } , \psi _ { t } \} _ { t = 1 } ^ { T }$
|
| 32 |
+
|
| 33 |
+
1: for $t = 1$ to $T$ do
|
| 34 |
+
2: $g _ { t } = \nabla f _ { t } ( x _ { t } )$
|
| 35 |
+
3: $m _ { t } = \phi _ { t } ( g _ { 1 } , \cdot \cdot \cdot , g _ { t } )$ and $V _ { t } = \psi _ { t } ( g _ { 1 } , \cdot \cdot \cdot , g _ { t } )$
|
| 36 |
+
4: $\alpha _ { t } = \alpha / \sqrt { t }$
|
| 37 |
+
5: $\hat { x } _ { t + 1 } = x _ { t } - \alpha _ { t } m _ { t } / \sqrt { V _ { t } }$
|
| 38 |
+
6: $x _ { t + 1 } = \Pi _ { \mathcal { F } , \sqrt { V _ { t } } } ( \hat { x } _ { t + 1 } )$
|
| 39 |
+
7: end for
|
| 40 |
+
|
| 41 |
+
learning rate of the algorithm. Note that we employ a design of decreasing step size by $\alpha _ { t } = \alpha / \sqrt { t }$ for it is required for theoretical proof of convergence. However such an aggressive decay of step size typically translates into poor empirical performance, while a simple constant step size $\alpha _ { t } =$ $\alpha$ usually works well in practice. For the sake of clarity, we will use the decreasing scheme for theoretical analysis and the constant schemem for empirical study in the rest of the paper.
|
| 42 |
+
|
| 43 |
+
Under such a framework, we can summarize the popular optimization methods in Table 1.1 A few remarks are in order. We can see the scaling term $\psi _ { t }$ is I in SGD(M), while adaptive methods introduce different kinds of averaging of the squared values of past gradients. ADAM and RMSPROP can be seen as variants of ADAGRAD, where the former ones use an exponential moving average as function $\psi _ { t }$ instead of the simple average used in ADAGRAD. In particular, RMSPROP is essentially a special case of ADAM with $\beta _ { 1 } = 0$ . AMSGRAD is not listed in the table as it does not has a simple expression of $\psi _ { t }$ . It can be defined as $\psi _ { t } = \mathrm { d i a g } ( \hat { v } _ { t } )$ where $\hat { v } _ { t }$ is obtained by the following recursion: $v _ { t } = \beta _ { 2 } v _ { t - 1 } + ( 1 - \beta _ { 2 } ) g _ { t } ^ { 2 }$ and $\hat { v } _ { t } = \operatorname* { m a x } ( \hat { v } _ { t - 1 } , v _ { t } )$ with $\hat { v } _ { 0 } = v _ { 0 } = \mathbf { 0 }$ . The definition of $\phi _ { t }$ is same with that of ADAM. In the rest of the paper we will mainly focus on ADAM due to its generality but our arguments also apply to other similar adaptive methods such as RMSPROP and AMSGRAD.
|
| 44 |
+
|
| 45 |
+
Table 1: An overview of popular optimization methods using the generic framework.
|
| 46 |
+
|
| 47 |
+
<table><tr><td></td><td>SGD</td><td>SGDM</td><td>ADAGRAD</td><td>RMSPROP</td><td>ADAM</td></tr><tr><td>t</td><td>gt</td><td>t M</td><td>gt</td><td>gt</td><td>t (1-β1)∑ β -igi</td></tr><tr><td>t</td><td>I</td><td>i=1 I</td><td>t diag(M =1</td><td>(1-β2)diag(∑</td><td>i=1 t (1-β2)diag(∑ -g) =1</td></tr></table>
|
| 48 |
+
|
| 49 |
+
# 3 THE NON-CONVERGENCE CAUSED BY EXTREME LEARNING RATE
|
| 50 |
+
|
| 51 |
+
In this section, we elaborate the primary defect in current adaptive methods with a preliminary experiment and a rigorous proof. As mentioned above, adaptive methods like ADAM are observed to perform worse than SGD. Reddi et al. (2018) proposed AMSGRAD to solve this problem but recent work has pointed out AMSGRAD does not show evident improvement over ADAM (Keskar & Socher, 2017; Chen et al., 2018). Since AMSGRAD is claimed to have a smaller learning rate compared with ADAM, the authors only consider large learning rates as the cause for bad performance of ADAM. However, small ones might be a pitfall as well. Thus, we speculate both extremely large and small learning rates of ADAM are likely to account for its ordinary generalization ability.
|
| 52 |
+
|
| 53 |
+
For corroborating our speculation, we sample learning rates of several weights and biases of ResNet34 on CIFAR-10 using ADAM. Specifically, we randomly select nine $3 \times 3$ convolutional kernels from different layers and the biases in the last linear layer. As parameters of the same layer usually have similar properties, here we only demonstrate learning rates of nine weights sampled from nine kernels respectively and one bias from the last layer by the end of training, and employ a heatmap to visualize them. As shown in Figure 1, we can find that when the model is close to convergence, learning rates are composed of tiny ones less than 0.01 as well as huge ones greater than 1000.
|
| 54 |
+
|
| 55 |
+

|
| 56 |
+
Figure 1: Learning rates of sampled parameters. Each cell contains a value obtained by conducting a logarithmic operation on the learning rate. The lighter cell stands for the smaller learning rate.
|
| 57 |
+
|
| 58 |
+
The above analysis and observation show that there are indeed learning rates which are too large or too small in the final stage of the training process. AMSGRAD may help abate the impact of huge learning rates, but it neglects the other side of the coin. Insofar, we still have the following two doubts. First, does the tiny learning rate really do harm to the convergence of ADAM? Second, as the learning rate highly depends on the initial step size, can we use a relatively larger initial step size $\alpha$ to get rid of too small learning rates?
|
| 59 |
+
|
| 60 |
+
To answer these questions, we show that undesirable convergence behavior for ADAM and RMSPROP can be caused by extremely small learning rates, and furthermore, in some cases no matter how large the initial step size $\alpha$ is, ADAM will still fail to find the right path and converge to some highly suboptimal points. Consider the following sequence of linear functions for $\mathcal { F } = [ - 1 , 1 ]$ :
|
| 61 |
+
|
| 62 |
+
$$
|
| 63 |
+
f _ { t } ( x ) = { \left\{ \begin{array} { l l } { - x , } & { { \mathrm { f o r ~ } } t { \mathrm { ~ m o d ~ } } C = 1 ; } \\ { 2 x , } & { { \mathrm { f o r ~ } } t { \mathrm { ~ m o d ~ } } C = 2 ; } \\ { 0 , } & { { \mathrm { o t h e r w i s e } } } \end{array} \right. }
|
| 64 |
+
$$
|
| 65 |
+
|
| 66 |
+
where $C \in \mathbb { N }$ satisfies: $5 \beta _ { 2 } ^ { C - 2 } \leq ( 1 - \beta _ { 2 } ) / 2 ( 4 - \beta _ { 2 } )$ . For this function sequence, it is easy to see that the point $x = - 1$ provides the minimum regret. Supposing $\beta _ { 1 } = 0$ , we show that ADAM converges to a highly suboptimal solution of $x \geq 0$ for this setting. Intuitively, the reasoning is as follows. The algorithm obtains a gradient $- 1$ once every $C$ steps, which moves the algorithm in the wrong direction. Then, at the next step it observes a gradient 2. But the larger gradient 2 is unable to counteract the effect to wrong direction since the learning rate at this step is scaled down to a value much less than the previous one, and hence $x$ becomes larger and larger as the time step increases. We formalize this intuition in the result below.
|
| 67 |
+
|
| 68 |
+
Theorem 1. There is an online convex optimization problem where for any initial step size $\alpha$ , ADAM has non-zero average regret i.e., $R _ { T } / T \not \to 0$ as $T \to \infty$ .
|
| 69 |
+
|
| 70 |
+
We relegate all proofs to the appendix. Note that the above example also holds for constant step size $\alpha _ { t } = \alpha$ . Also note that vanilla SGD does not suffer from this problem. There is a wide range of valid choices of initial step size $\alpha$ where the average regret of SGD asymptotically goes to 0, in other words, converges to the optimal solution. This problem can be more obvious in the later stage of a training process in practice when the algorithm gets stuck in some suboptimal points. In such cases, gradients at most steps are close to 0 and the average of the second order momentum may be highly various due to the property of exponential moving average. Therefore, “correct” signals which appear with a relatively low frequency (i.e. gradient 2 every $C$ steps in the above example) may not be able to lead the algorithm to a right path, if they come after some “wrong” signals (i.e. gradient 1 in the example), even though the correct ones have larger absolute value of gradients.
|
| 71 |
+
|
| 72 |
+
One may wonder if using large $\beta _ { 1 }$ helps as we usually use $\beta _ { 1 }$ close to 1 in practice. However, the√ following result shows that for any constant $\beta _ { 1 }$ and $\beta _ { 2 }$ with $\beta _ { 1 } < \sqrt { \beta _ { 2 } }$ , there exists an example where ADAM has non-zero average regret asymptotically regardless of the initial step size $\alpha$ .
|
| 73 |
+
|
| 74 |
+
Theorem 2. For any constant $\beta _ { 1 } , \beta _ { 2 } ~ \in ~ [ 0 , 1 )$ such that $\beta _ { 1 } ~ < ~ \sqrt { \beta _ { 2 } }$ , there is an online convex optimization problem where for any initial step size $\alpha$ , ADAM has non-zero average regret i.e., $R _ { T } / T \not \to 0$ as $T \to \infty$ .
|
| 75 |
+
|
| 76 |
+
Furthermore, a stronger result stands in the easier stochastic optimization setting.
|
| 77 |
+
|
| 78 |
+
Theorem 3. For any constant $\beta _ { 1 } , \beta _ { 2 } \in [ 0 , 1 )$ such that $\beta _ { 1 } < \sqrt { \beta _ { 2 } }$ , there is a stochastic convex optimization problem where for any initial step size $\alpha$ , ADAM does not converge to the optimal solution.
|
| 79 |
+
|
| 80 |
+
Remark. The analysis of ADAM in Kingma & Lei Ba (2015) relies on decreasing $\beta _ { 1 }$ over time, while here we use constant $\beta _ { 1 }$ . Indeed, since the critical parameter is $\beta _ { 2 }$ rather than $\beta _ { 1 }$ in our analysis, it is quite easy to extend our examples to the case using decreasing scheme of $\beta _ { 1 }$ .
|
| 81 |
+
|
| 82 |
+
As mentioned by Reddi et al. (2018), the condition $\beta _ { 1 } < \sqrt { \beta _ { 2 } }$ is benign and is typically satisfied in the parameter settings used in practice. Such condition is also assumed in convergence proof of Kingma & Lei Ba (2015). The above results illustrate the potential bad impact of extreme learning rates and algorithms are unlikely to achieve good generalization ability without solving this problem.
|
| 83 |
+
|
| 84 |
+
# 4 ADAPTIVE MOMENT ESTIMATION WITH DYNAMIC BOUND
|
| 85 |
+
|
| 86 |
+
In this section we develop new variants of optimization methods and provide their convergence analysis. Our aim is to devise a strategy that combines the benefits of adaptive methods, viz. fast initial progress, and the good final generalization properties of SGD. Intuitively, we would like to construct an algorithm that behaves like adaptive methods early in training and like SGD at the end.
|
| 87 |
+
|
| 88 |
+
# Algorithm 2 ADABOUND
|
| 89 |
+
|
| 90 |
+
Input: $x _ { 1 } \in { \mathcal { F } }$ , initial step size $\alpha$ , $\{ \beta _ { 1 t } \} _ { t = 1 } ^ { T } , \beta _ { 2 }$ , lower bound function $\eta _ { l }$ , upper bound function $\eta _ { u }$
|
| 91 |
+
1: Set $m _ { 0 } = 0$ , $v _ { 0 } = 0$
|
| 92 |
+
2: for $t = 1$ to $T$ do
|
| 93 |
+
3: $g _ { t } = \nabla f _ { t } ( x _ { t } )$
|
| 94 |
+
4: $m _ { t } = \beta _ { 1 t } m _ { t - 1 } + ( 1 - \beta _ { 1 t } ) g _ { t }$
|
| 95 |
+
5: $v _ { t } = \beta _ { 2 } v _ { t - 1 } + ( 1 - \beta _ { 2 } ) g _ { t } ^ { 2 }$ and $V _ { t } = \mathrm { d i a g } ( v _ { t } )$
|
| 96 |
+
6: $\hat { \eta } _ { t } = \mathrm { C l i p } ( \alpha / \sqrt { V _ { t } } , \eta _ { l } ( t ) , \eta _ { u } ( t ) )$ and ηt = ˆηt/ t
|
| 97 |
+
7: $x _ { t + 1 } = \Pi _ { { \mathcal { F } } , \mathrm { d i a g } ( \eta _ { t } ^ { - 1 } ) } ( x _ { t } - \eta _ { t } \odot m _ { t } )$
|
| 98 |
+
8: end for
|
| 99 |
+
|
| 100 |
+
Inspired by gradient clipping, a popular technique used in practice that clips the gradients larger than a threshold to avoid gradient explosion, we employ clipping on learning rates in ADAM to propose ADABOUND in Algorithm 2. Consider applying the following operation in ADAM
|
| 101 |
+
|
| 102 |
+
$$
|
| 103 |
+
\mathrm { C l i p } ( \alpha / { \sqrt { V _ { t } } } , \eta _ { l } , \eta _ { u } ) ,
|
| 104 |
+
$$
|
| 105 |
+
|
| 106 |
+
which clips the learning rate element-wisely such that the output is constrained to be in $[ \eta _ { l } , \eta _ { u } ]$ . 2 It follows that $\operatorname { S G D } ( \mathbf { M } )$ with $\alpha = \alpha ^ { * }$ can be considered as the case where $\eta _ { l } = \eta _ { u } = \alpha ^ { * }$ . As for ADAM, $\eta _ { l } = 0$ and $\eta _ { u } = \infty$ . Now we can provide the new strategy with the following steps. We employ $\eta _ { l }$ and $\eta _ { u }$ as functions of $t$ instead of constant lower and upper bound, where $\eta _ { l } ( t )$ is a non-decreasing function that starts from 0 as $t = 0$ and converges to $\alpha ^ { * }$ asymptotically; and $\eta _ { u } ( t )$ is a non-increasing function that starts from $\infty$ as $t = 0$ and also converges to $\alpha ^ { * }$ asymptotically. In this setting, ADABOUND behaves just like ADAM at the beginning as the bounds have very little impact on learning rates, and it gradually transforms to SGD(M) as the bounds become more and more restricted. We prove the following key result for ADABOUND.
|
| 107 |
+
|
| 108 |
+
Theorem 4. Let $\{ x _ { t } \}$ and √ $\{ v _ { t } \}$ be the sequences obtained from Algorithm 2, $\beta _ { 1 } = \beta _ { 1 1 }$ , $\beta _ { 1 t } \le \beta _ { 1 }$ for all $t \in [ T ]$ and $\beta _ { 1 } / \sqrt { \beta _ { 2 } } < 1$ . Suppose $\eta _ { l } ( t + 1 ) \geq \eta _ { l } ( t ) > 0$ , $\eta _ { u } ( t + 1 ) \leq \eta _ { u } ( t )$ , $\eta _ { l } ( t ) \alpha ^ { * }$ as $t \to \infty$ , $\eta _ { u } ( t ) \to \alpha ^ { * }$ as $t \to \infty$ , $L _ { \infty } = \eta _ { l } ( 1 )$ and $R _ { \infty } = \eta _ { u } ( 1 )$ . Assume that $\| x - y \| _ { \infty } \leq D _ { \infty }$ for all $x , y \in { \mathcal { F } }$ and $\lVert \nabla f _ { t } ( x ) \rVert \leq G _ { 2 }$ for all $t \in [ T ]$ and $x \in { \mathcal { F } }$ . For $x _ { t }$ generated using the ADABOUND algorithm, we have the following bound on the regret
|
| 109 |
+
|
| 110 |
+
$$
|
| 111 |
+
R _ { T } \le \frac { D _ { \infty } ^ { 2 } \sqrt { T } } { 2 ( 1 - \beta _ { 1 } ) } \sum _ { i = 1 } ^ { d } \hat { \eta } _ { T , i } ^ { - 1 } + \frac { D _ { \infty } ^ { 2 } } { 2 ( 1 - \beta _ { 1 } ) } \sum _ { t = 1 } ^ { T } \sum _ { i = 1 } ^ { d } \beta _ { 1 t } \eta _ { t , i } ^ { - 1 } + ( 2 \sqrt { T } - 1 ) \frac { R _ { \infty } G _ { 2 } ^ { 2 } } { 1 - \beta _ { 1 } } .
|
| 112 |
+
$$
|
| 113 |
+
|
| 114 |
+
The following result falls as an immediate corollary of the above result.
|
| 115 |
+
|
| 116 |
+
Corollary 4.1. Suppose $\beta _ { 1 t } = \beta _ { 1 } \lambda ^ { t - 1 }$ in Theorem $^ { 4 }$ , we have
|
| 117 |
+
|
| 118 |
+
$$
|
| 119 |
+
R _ { T } \le \frac { D _ { \infty } ^ { 2 } \sqrt { T } } { 2 ( 1 - \beta _ { 1 } ) } \sum _ { i = 1 } ^ { d } \hat { \eta } _ { T , i } ^ { - 1 } + \frac { \beta _ { 1 } d D _ { \infty } ^ { 2 } } { 2 ( 1 - \beta _ { 1 } ) ( 1 - \lambda ) ^ { 2 } L _ { \infty } } + ( 2 \sqrt { T } - 1 ) \frac { R _ { \infty } G _ { 2 } ^ { 2 } } { 1 - \beta _ { 1 } } .
|
| 120 |
+
$$
|
| 121 |
+
|
| 122 |
+
It is easy to see that the regret of ADABOUND is upper bounded by $O ( \sqrt { T } )$ . Similar to Reddi et al. (2018), one can use a much more modest momentum decay of $\beta _ { 1 t } = \beta _ { 1 } / t$ and still ensure a regret of $O ( \sqrt { T } )$ . It should be mentioned that one can also incorporate the dynamic bound in AMSGRAD. The resulting algorithm, namely AMSBOUND, also holds a regret of $O ( \sqrt { T } )$ and the proof of convergence is almost same to Theorem 4 (see Appendix F for details). In next section we will see that AMSBOUND has similar performance to ADABOUND in several well-known tasks.
|
| 123 |
+
|
| 124 |
+
We end this section with a comparison to the previous work. For the idea of transforming ADAM to SGD, there is a similar work by Keskar & Socher (2017). The authors propose a measure that uses ADAM at first and switches the algorithm to SGD at some specific step. Compared with their approach, our methods have two advantages. First, whether there exists a fixed turning point to distinguish ADAM and SGD is uncertain. So we address this problem with a continuous transforming procedure rather than a “hard” switch. Second, they introduce an extra hyperparameter to decide the switching time, which is not very easy to fine-tune. As for our methods, the flexible parts introduced are two bound functions. We conduct an empirical study of the impact of different kinds of bound functions. The results are placed in Appendix G for we find that the convergence target $\alpha ^ { * }$ and convergence speed are not very important to the final results. For the sake of clarity, we will use ηl(t) = 0.1− 0.1(1−β2)t+1 and $\begin{array} { r } { \eta _ { u } \dot { ( t ) } = 0 . 1 + \frac { 0 . 1 } { ( 1 - \beta _ { 2 } ) t } } \end{array}$ in the rest of the paper unless otherwise specified.
|
| 125 |
+
|
| 126 |
+
# 5 EXPERIMENTS
|
| 127 |
+
|
| 128 |
+
In this section, we turn to an empirical study of different models to compare new variants with popular optimization methods including SGD(M), ADAGRAD, ADAM, and AMSGRAD. We focus on three tasks: the MNIST image classification task (Lecun et al., 1998), the CIFAR-10 image classification task (Krizhevsky & Hinton, 2009), and the language modeling task on Penn Treebank (Marcus et al., 1993). We choose them due to their broad importance and availability of their architectures for reproducibility. The setup for each task is detailed in Table 2. We run each experiment three times with the specified initialization method from random starting points. A fixed budget on the number of epochs is assigned for training and the decay strategy is introduced in following parts. We choose the settings that achieve the lowest training loss at the end.
|
| 129 |
+
|
| 130 |
+
Table 2: Summaries of the models utilized for our experiments.
|
| 131 |
+
|
| 132 |
+
<table><tr><td>Dataset</td><td>Network Type</td><td>Architecture</td></tr><tr><td>MNIST</td><td>Feedforward</td><td>1-Layer Perceptron</td></tr><tr><td>CIFAR-10</td><td>Deep Convolutional</td><td>DenseNet-121</td></tr><tr><td>CIFAR-10</td><td>Deep Convolutional</td><td>ResNet-34</td></tr><tr><td>Penn Treebank</td><td>Recurrent</td><td>1-Layer LSTM</td></tr><tr><td>Penn Treebank</td><td>Recurrent</td><td>2-Layer LSTM</td></tr><tr><td>Penn Treebank</td><td>Recurrent</td><td>3-Layer LSTM</td></tr></table>
|
| 133 |
+
|
| 134 |
+
# 5.1 HYPERPARAMETER TUNING
|
| 135 |
+
|
| 136 |
+
Optimization hyperparameters can exert great impact on ultimate solutions found by optimization algorithms so here we describe how we tune them. To tune the step size, we follow the method in Wilson et al. (2017). We implement a logarithmically-spaced grid of five step sizes. If the best performing parameter is at one of the extremes of the grid, we will try new grid points so that the best performing parameters are at one of the middle points in the grid. Specifically, we tune over hyperparameters in the following way.
|
| 137 |
+
|
| 138 |
+
SGD(M) For tuning the step size of SGD(M), we first coarsely tune the step size on a logarithmic scale from $\{ 1 0 0 , 1 0 , 1 , 0 . 1 , 0 . 0 1 \}$ and then fine-tune it. Whether the momentum is used depends on the specific model but we set the momentum parameter to default value 0.9 for all our experiments. We find this strategy effective given the vastly different scales of learning rates needed for different modalities. For instance, SGD with $\alpha = 1 0$ performs best for language modeling on PTB but for the ResNet-34 architecture on CIFAR-10, a learning rate of 0.1 for SGD is necessary.
|
| 139 |
+
|
| 140 |
+
ADAGRAD The initial set of step sizes used for ADAGRAD are: $\{ 5 \mathrm { e } { - } 2 , 1 \mathrm { e } { - } 2 , 5 \mathrm { e } { - } 3 , 1 \mathrm { e } { - } 3 , 5 \mathrm { e } { - } 4 \}$ .
|
| 141 |
+
For the initial accumulator value, we choose the recommended value as 0.
|
| 142 |
+
|
| 143 |
+
ADAM & AMSGRAD We employ the same hyperparameters for these two methods. The initial step sizes are chosen from: $\{ 1 \mathrm { e } { - } 2 , 5 \mathrm { e } { - } 3 , 1 \mathrm { e } { - } 3 , 5 \mathrm { e } { - } 4 , 1 \mathrm { e } { - } 4 \}$ . We turn over $\beta _ { 1 }$ values of $\{ 0 . 9 , 0 . 9 9 \}$ and $\beta _ { 2 }$ values of $\{ 0 . 9 9 , 0 . 9 9 9 \}$ . We use for the perturbation value $\epsilon = 1 \mathrm { e } { - } 8$ .
|
| 144 |
+
|
| 145 |
+
ADABOUND & AMSBOUND We directly apply the default hyperparameters for ADAM (a learning rate of 0.001, $\beta _ { 1 } = 0 . 9$ and $\beta _ { 2 } = 0 . 9 9 9 \rangle$ ) in our proposed methods.
|
| 146 |
+
|
| 147 |
+
Note that for other hyperparameters such as batch size, dropout probability, weight decay and so on, we choose them to match the recommendations of the respective base architectures.
|
| 148 |
+
|
| 149 |
+
# 5.2 FEEDFORWARD NEURAL NETWORK
|
| 150 |
+
|
| 151 |
+
We train a simple fully connected neural network with one hidden layer for the multiclass classification problem on MNIST dataset. We run 100 epochs and omit the decay scheme for this experiment.
|
| 152 |
+
|
| 153 |
+
Figure 2 shows the learning curve for each optimization method on both the training and test set. We find that for training, all algorithms can achieve the accuracy approaching $1 0 0 \%$ . For the test part, SGD performs slightly better than adaptive methods ADAM and AMSGRAD. Our two proposed methods, ADABOUND and AMSBOUND, display slight improvement, but compared with their prototypes there are still visible increases in test accuracy.
|
| 154 |
+
|
| 155 |
+

|
| 156 |
+
Figure 2: Training (left) and test accuracy (right) for feedforward neural network on MNIST.
|
| 157 |
+
|
| 158 |
+
# 5.3 CONVOLUTIONAL NEURAL NETWORK
|
| 159 |
+
|
| 160 |
+
Using DenseNet-121 (Huang et al., 2017) and ResNet-34 (He et al., 2016), we then consider the task of image classification on the standard CIFAR-10 dataset. In this experiment, we employ the fixed budget of 200 epochs and reduce the learning rates by 10 after 150 epochs.
|
| 161 |
+
|
| 162 |
+
DenseNet We first run a DenseNet-121 model on CIFAR-10 and our results are shown in Figure 3. We can see that adaptive methods such as ADAGRAD, ADAM and AMSGRAD appear to perform better than the non-adaptive ones early in training. But by epoch 150 when the learning rates are decayed, SGDM begins to outperform those adaptive methods. As for our methods, ADABOUND and AMSBOUND, they converge as fast as adaptive ones and achieve a bit higher accuracy than SGDM on the test set at the end of training. In addition, compared with their prototypes, their performances are enhanced evidently with approximately $2 \%$ improvement in the test accuracy.
|
| 163 |
+
|
| 164 |
+
ResNet Results for this experiment are reported in Figure 3. As is expected, the overall performance of each algorithm on ResNet-34 is similar to that on DenseNet-121. ADABOUND and AMSBOUND even surpass SGDM by $1 \%$ . Despite the relative bad generalization ability of adaptive methods, our proposed methods overcome this drawback by allocating bounds for their learning rates and obtain almost the best accuracy on the test set for both DenseNet and ResNet on CIFAR-10.
|
| 165 |
+
|
| 166 |
+
# 5.4 RECURRENT NEURAL NETWORK
|
| 167 |
+
|
| 168 |
+
Finally, we conduct an experiment on the language modeling task with Long Short-Term Memory (LSTM) network (Hochreiter & Schmidhuber, 1997). From two experiments above, we observe that our methods show much more improvement in deep convolutional neural networks than in perceptrons. Therefore, we suppose that the enhancement is related to the complexity of the architecture and run three models with (L1) 1-layer, (L2) 2-layer and (L3) 3-layer LSTM respectively. We train them on Penn Treebank, running for a fixed budget of 200 epochs. We use perplexity as the metric to evaluate the performance and report results in Figure 4.
|
| 169 |
+
|
| 170 |
+

|
| 171 |
+
Figure 3: Training and test accuracy for DenseNet-121 and ResNet-34 on CIFAR-10.
|
| 172 |
+
|
| 173 |
+

|
| 174 |
+
(c) L3: 3-Layer LSTM
|
| 175 |
+
Figure 4: Perplexity curves on the test set comparing SGD, ADAM, ADABOUND and AMSBOUND for the LSTM with different layers on Penn Treebank.
|
| 176 |
+
|
| 177 |
+
We find that in all models, ADAM has the fastest initial progress but stagnates in worse performance than SGD and our methods. Different from phenomena in previous experiments on the image classification tasks, ADABOUND and AMSBOUND does not display rapid speed at the early training stage but the curves are smoother than that of SGD.
|
| 178 |
+
|
| 179 |
+
Comparing L1, L2 and L3, we can easily notice a distinct difference of the improvement degree. In L1, the simplest model, our methods perform slightly $1 . 1 \%$ better than ADAM while in L3, the most complex model, they show evident improvement over $2 . 8 \%$ in terms of perplexity. It serves as evidence for the relationship between the model’s complexity and the improvement degree.
|
| 180 |
+
|
| 181 |
+
# 5.5 ANALYSIS
|
| 182 |
+
|
| 183 |
+
To investigate the efficacy of our proposed algorithms, we select popular tasks from computer vision and natural language processing. Based on results shown above, it is easy to find that ADAM and AMSGRAD usually perform similarly and the latter does not show much improvement for most cases. Their variants, ADABOUND and AMSBOUND, on the other hand, demonstrate a fast speed of convergence compared with SGD while they also exceed two original methods greatly with respect to test accuracy at the end of training. This phenomenon exactly confirms our view mentioned in Section 3 that both large and small learning rates can influence the convergence.
|
| 184 |
+
|
| 185 |
+
Besides, we implement our experiments on models with different complexities, consisting of a perceptron, two deep convolutional neural networks and a recurrent neural network. The perceptron used on the MNIST is the simplest and our methods perform slightly better than others. As for DenseNet and ResNet, obvious increases in test accuracy can be observed. We attribute this difference to the complexity of the model. Specifically, for deep CNN models, convolutional and fully connected layers play different parts in the task. Also, different convolutional layers are likely to be responsible for different roles (Lee et al., 2009), which may lead to a distinct variation of gradients of parameters. In other words, extreme learning rates (huge or tiny) may appear more frequently in complex models such as ResNet. As our algorithms are proposed to avoid them, the greater enhancement of performance in complex architectures can be explained intuitively. The higher improvement degree on LSTM with more layers on language modeling task also consists with the above analysis.
|
| 186 |
+
|
| 187 |
+
# 6 FUTURE WORK
|
| 188 |
+
|
| 189 |
+
Despite superior results of our methods, there still remain several problems to explore. For example, the improvement on simple models are not very inspiring, we can investigate how to achieve higher improvement on such models. Besides, we only discuss reasons for the weak generalization ability of adaptive methods, however, why SGD usually performs well across diverse applications of machine learning still remains uncertain. Last but not least, applying dynamic bounds on learning rates is only one particular way to conduct gradual transformation from adaptive methods to SGD. There might be other ways such as well-designed decay that can also work, which remains to explore.
|
| 190 |
+
|
| 191 |
+
# 7 CONCLUSION
|
| 192 |
+
|
| 193 |
+
We investigate existing adaptive algorithms and find that extremely large or small learning rates can result in the poor convergence behavior. A rigorous proof of non-convergence for ADAM is provided to demonstrate the above problem.
|
| 194 |
+
|
| 195 |
+
Motivated by the strong generalization ability of SGD, we design a strategy to constrain the learning rates of ADAM and AMSGRAD to avoid a violent oscillation. Our proposed algorithms, ADABOUND and AMSBOUND, which employ dynamic bounds on their learning rates, achieve a smooth transition to SGD. They show the great efficacy on several standard benchmarks while maintaining advantageous properties of adaptive methods such as rapid initial progress and hyperparameter insensitivity.
|
| 196 |
+
|
| 197 |
+
# ACKNOWLEDGMENTS
|
| 198 |
+
|
| 199 |
+
We thank all reviewers for providing the constructive suggestions. We also thank Junyang Lin and Ruixuan Luo for proofreading and doing auxiliary experiments. Xu Sun is the corresponding author of this paper.
|
| 200 |
+
|
| 201 |
+
# REFERENCES
|
| 202 |
+
|
| 203 |
+
Nico Cesa-Bianchi, Alex Conconi, and Claudio Gentile. On the generalization ability of on-line learning algorithms. In Advances in Neural Information Processing Systems 14 (NIPS), pp. 359– 366, 2002.
|
| 204 |
+
|
| 205 |
+
Xiangyi Chen, Sijia Liu, Ruoyu Sun, and Mingyi Hong. On the convergence of a class of Adam-type algorithms for non-convex optimization. CoRR, abs/1808.02941, 2018.
|
| 206 |
+
|
| 207 |
+
John Duchi, Elad Hazan, and Yoram Singer. Adaptive subgradient methods for online learning and stochastic optimization. Journal of Machine Learning Research (JMLR), 12:2121–2159, 2011.
|
| 208 |
+
|
| 209 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2016.
|
| 210 |
+
|
| 211 |
+
Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural Comput., 9(8):1735– 1780, 1997.
|
| 212 |
+
|
| 213 |
+
Gao Huang, Zhuang Liu, Laurens van der Maaten, and Kilian Q Weinberger. Densely connected convolutional networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2017.
|
| 214 |
+
|
| 215 |
+
Nitish Shirish Keskar and Richard Socher. Improving generalization performance by switching from Adam to SGD. CoRR, abs/1712.07628, 2017.
|
| 216 |
+
|
| 217 |
+
Diederik P Kingma and Jimmy Lei Ba. Adam: A method for stochastic optimization. In Proceedings of the 3rd International Conference on Learning Representations (ICLR), 2015.
|
| 218 |
+
|
| 219 |
+
Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. Technical report, 2009.
|
| 220 |
+
|
| 221 |
+
Yann Lecun, Leon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to document recognition. In Proceedings of the IEEE, pp. 2278–2324, 1998.
|
| 222 |
+
|
| 223 |
+
Honglak Lee, Roger Grosse, Rajesh Ranganath, and Andrew $\mathrm { ~ Y ~ N ~ g ~ } _ { }$ . Convolutional deep belief networks for scalable unsupervised learning of hierarchical representations. In Proceedings of the 26th Annual International Conference on Machine Learning (ICML), pp. 609–616, 2009.
|
| 224 |
+
|
| 225 |
+
Liangchen Luo, Wenhao Huang, Qi Zeng, Zaiqing Nie, and Xu Sun. Learning personalized end-toend goal-oriented dialog. In Proceedings of the 33rd AAAI Conference on Artificial Intelligence (AAAI), 2019.
|
| 226 |
+
|
| 227 |
+
Mitchell P. Marcus, Mary Ann Marcinkiewicz, and Beatrice Santorini. Building a large annotated corpus of english: The penn treebank. Comput. Linguist., 19(2):313–330, 1993.
|
| 228 |
+
|
| 229 |
+
H Brendan Mcmahan and Matthew Streeter. Adaptive bound optimization for online convex optimization. In Proceedings of the 23rd Annual Conference On Learning Theory (COLT), pp. 244–256, 2010.
|
| 230 |
+
|
| 231 |
+
Sashank J. Reddi, Stayen Kale, and Sanjiv Kumar. On the convergence of adam and beyond. In Proceedings of the 6th International Conference on Learning Representations (ICLR), 2018.
|
| 232 |
+
|
| 233 |
+
Herbert Robbins and Sutton Monro. A stochastic approximation method. The Annals of Mathematical Statistics, 22(3):400–407, 1951.
|
| 234 |
+
|
| 235 |
+
Tijmen Tieleman and Geoffrey Hinton. RMSprop: Divide the gradient by a running average of its recent magnitude. COURSERA: Neural networks for machine learning, 4(2):26–31, 2012.
|
| 236 |
+
|
| 237 |
+
Ashia C Wilson, Rebecca Roelofs, Mitchell Stern, Nati Srebro, and Benjamin Recht. The marginal value of adaptive gradient methods in machine learning. In Advances in Neural Information Processing Systems 30 (NIPS), pp. 4148–4158, 2017.
|
| 238 |
+
|
| 239 |
+
Yuxin Wu and Kaiming He. Group normalization. In Proceedings of the 15th European Conference on Computer Vision (ECCV), pp. 3–19, 2018.
|
| 240 |
+
|
| 241 |
+
# APPENDIX
|
| 242 |
+
|
| 243 |
+
A AUXILIARY LEMMAS
|
| 244 |
+
|
| 245 |
+
Lemma 1 (Mcmahan & Streeter (2010)). For any $Q \in { \mathcal { S } } _ { + } ^ { d }$ and convex feasible set $\mathcal { F } \subset \mathbb { R } ^ { d }$ , suppose $\begin{array} { r } { u _ { 1 } = \operatorname* { m i n } _ { x \in \mathcal { F } } \| Q ^ { 1 / 2 } ( x - z _ { 1 } ) \| } \end{array}$ and $\begin{array} { r } { u _ { 2 } = \operatorname* { m i n } _ { x \in \mathcal { F } } \| Q ^ { 1 / 2 } ( x - z _ { 2 } ) \| } \end{array}$ then we have $\lVert Q ^ { 1 / 2 } ( u _ { 1 } - u _ { 2 } ) \rVert \leq$ $\lVert Q ^ { 1 / 2 } ( z _ { 1 } - z _ { 2 } ) \rVert$ .
|
| 246 |
+
|
| 247 |
+
Proof. We provide the proof here for completeness. Since $u _ { 1 } = m i n _ { x \in \mathcal { F } } \| Q ^ { 1 / 2 } ( x - z _ { 1 } ) \|$ and $u _ { 2 } = m i n _ { x \in \mathcal { F } } \left| \left| Q ^ { 1 / 2 } ( x - z _ { 2 } ) \right| \right|$ and from the property of projection operator we have the following:
|
| 248 |
+
|
| 249 |
+
$$
|
| 250 |
+
\left. u _ { 1 } - z _ { 1 } , Q ( u _ { 2 } - u _ { 1 } ) \right. \geq 0 \mathrm { ~ a n d ~ } \left. u _ { 2 } - z _ { 2 } , Q ( u _ { 1 } - u _ { 2 } ) \right. \geq 0 .
|
| 251 |
+
$$
|
| 252 |
+
|
| 253 |
+
Combining the above inequalities, we have
|
| 254 |
+
|
| 255 |
+
$$
|
| 256 |
+
\langle z _ { 2 } - z _ { 1 } , Q ( u _ { 2 } - u _ { 1 } ) \rangle \geq \langle u _ { 2 } - u _ { 1 } , Q ( u _ { 2 } - u _ { 1 } ) \rangle .
|
| 257 |
+
$$
|
| 258 |
+
|
| 259 |
+
Also, observe the following:
|
| 260 |
+
|
| 261 |
+
$$
|
| 262 |
+
\langle z _ { 2 } - z _ { 1 } , Q ( u _ { 2 } - u _ { 1 } ) \rangle \leq \frac { 1 } { 2 } \left[ \langle u _ { 2 } - u _ { 1 } , Q ( u _ { 2 } - u _ { 1 } ) \rangle + \langle z _ { 2 } - z _ { 1 } , Q ( z _ { 2 } - z _ { 1 } ) \rangle \right] .
|
| 263 |
+
$$
|
| 264 |
+
|
| 265 |
+
The above inequality can be obtained from the fact that
|
| 266 |
+
|
| 267 |
+
$$
|
| 268 |
+
\langle ( u _ { 2 } - u _ { 1 } ) - ( z _ { 2 } - z _ { 1 } ) , Q ( ( u _ { 2 } - u _ { 1 } ) - ( z _ { 2 } - z _ { 1 } ) ) \rangle \geq 0 \mathrm { ~ a s ~ } Q \in \mathcal { S } _ { + } ^ { d }
|
| 269 |
+
$$
|
| 270 |
+
|
| 271 |
+
and rearranging the terms. Combining the above inequality with Equation (1), we have the required the result. □
|
| 272 |
+
|
| 273 |
+
Lemma 2. Suppose $m _ { t } = \beta _ { 1 } m _ { t - 1 } + ( 1 - \beta _ { 1 } ) g _ { t }$ with $m _ { 0 } = \mathbf { 0 }$ and $0 \leq \beta _ { 1 } < 1$ . We have
|
| 274 |
+
|
| 275 |
+
$$
|
| 276 |
+
\sum _ { t = 1 } ^ { T } \| m _ { t } \| ^ { 2 } \leq \sum _ { t = 1 } ^ { T } \| g _ { t } \| ^ { 2 } .
|
| 277 |
+
$$
|
| 278 |
+
|
| 279 |
+
Proof. If $\beta _ { 1 } = 0$ , the equality directly holds due to $m _ { t } = g _ { t }$ . Otherwise, $0 < \beta _ { 1 } < 1$ . For any $\theta > 0$ we have
|
| 280 |
+
|
| 281 |
+
$$
|
| 282 |
+
\begin{array} { r l } & { \| m _ { t } \| ^ { 2 } = \| \beta _ { 1 } m _ { t - 1 } \| ^ { 2 } + \| ( 1 - \beta _ { 1 } ) g _ { t } \| ^ { 2 } + 2 \langle \beta _ { 1 } m _ { t - 1 } , ( 1 - \beta _ { 1 } ) g _ { t } \rangle } \\ & { \qquad \leq \| \beta _ { 1 } m _ { t - 1 } \| ^ { 2 } + \| ( 1 - \beta _ { 1 } ) g _ { t } \| ^ { 2 } + \theta \| \beta _ { 1 } m _ { t - 1 } \| ^ { 2 } + 1 / \theta \| ( 1 - \beta _ { 1 } ) g _ { t } \| ^ { 2 } } \\ & { \qquad = ( 1 + \theta ) \| \beta _ { 1 } m _ { t - 1 } \| ^ { 2 } + ( 1 + 1 / \theta ) \| ( 1 - \beta _ { 1 } ) g _ { t } \| ^ { 2 } } \end{array}
|
| 283 |
+
$$
|
| 284 |
+
|
| 285 |
+
The inequality follows from Cauchy–Schwarz and Young’s inequality. In particular, let $\theta = 1 / \beta _ { 1 } -$ 1. Then we have
|
| 286 |
+
|
| 287 |
+
$$
|
| 288 |
+
\begin{array} { r } { \| m _ { t } \| ^ { 2 } \leq \beta _ { 1 } \| m _ { t - 1 } \| ^ { 2 } + ( 1 - \beta _ { 1 } ) \| g _ { t } \| ^ { 2 } . } \end{array}
|
| 289 |
+
$$
|
| 290 |
+
|
| 291 |
+
Dividing both sides by $\beta _ { 1 } ^ { t }$ , we get
|
| 292 |
+
|
| 293 |
+
$$
|
| 294 |
+
\frac { \| m _ { t } \| ^ { 2 } } { \beta _ { 1 } ^ { t } } \leq \frac { \| m _ { t - 1 } \| ^ { 2 } } { \beta _ { 1 } ^ { t - 1 } } + \frac { ( 1 - \beta _ { 1 } ) \| g _ { t } \| ^ { 2 } } { \beta _ { 1 } ^ { t } } .
|
| 295 |
+
$$
|
| 296 |
+
|
| 297 |
+
Note that $m _ { 0 } = \mathbf { 0 }$ . Hence,
|
| 298 |
+
|
| 299 |
+
$$
|
| 300 |
+
\frac { \| m _ { t } \| ^ { 2 } } { \beta _ { 1 } ^ { t } } \leq \left( 1 - \beta _ { 1 } \right) \sum _ { i = 1 } ^ { t } \| g _ { i } \| ^ { 2 } \beta _ { 1 } ^ { - i } .
|
| 301 |
+
$$
|
| 302 |
+
|
| 303 |
+
Then multiplying both sides by $\beta _ { 1 } ^ { t }$ we obtain
|
| 304 |
+
|
| 305 |
+
$$
|
| 306 |
+
\| m _ { t } \| ^ { 2 } \leq ( 1 - \beta _ { 1 } ) \sum _ { i = 1 } ^ { t } \| g _ { i } \| ^ { 2 } \beta _ { 1 } ^ { t - i } .
|
| 307 |
+
$$
|
| 308 |
+
|
| 309 |
+
Take the summation of above inequality over $t = 1 , 2 , \cdots , T$ , we have
|
| 310 |
+
|
| 311 |
+
$$
|
| 312 |
+
\begin{array} { l } { \displaystyle \sum _ { t = 1 } ^ { T } \| m _ { t } \| ^ { 2 } \leq ( 1 - \beta _ { 1 } ) \displaystyle \sum _ { t = 1 } ^ { T } \displaystyle \sum _ { i = 1 } ^ { t } \| g _ { i } \| ^ { 2 } \beta _ { 1 } ^ { t - i } } \\ { = ( 1 - \beta _ { 1 } ) \displaystyle \sum _ { i = 1 } ^ { T } \displaystyle \sum _ { t = i } ^ { T } \| g _ { i } \| ^ { 2 } \beta _ { 1 } ^ { t - i } } \\ { \leq \displaystyle \sum _ { t = 1 } ^ { T } \| g _ { t } \| ^ { 2 } . } \end{array}
|
| 313 |
+
$$
|
| 314 |
+
|
| 315 |
+
The second inequality is due to the following fact of geometric series
|
| 316 |
+
|
| 317 |
+
$$
|
| 318 |
+
\sum _ { i = 0 } ^ { N } \beta _ { 1 } ^ { i } \le \sum _ { i = 0 } ^ { \infty } \beta _ { 1 } ^ { i } = \frac { 1 } { 1 - \beta _ { 1 } } , \mathrm { ~ f o r ~ } 0 < \beta _ { 1 } < 1 .
|
| 319 |
+
$$
|
| 320 |
+
|
| 321 |
+
We complete the proof.
|
| 322 |
+
|
| 323 |
+
# B PROOF OF THEOREM 1
|
| 324 |
+
|
| 325 |
+
Proof. First, we rewrite the update of ADAM in Algorithm 1 in the following recursion form:
|
| 326 |
+
|
| 327 |
+
$$
|
| 328 |
+
m _ { t , i } = \beta _ { 1 } m _ { t - 1 , i } + ( 1 - \beta _ { 1 } ) g _ { t , i } \mathrm { ~ a n d ~ } v _ { t , i } = \beta _ { 2 } v _ { t - 1 , i } + ( 1 - \beta _ { 2 } ) g _ { t , i } ^ { 2 }
|
| 329 |
+
$$
|
| 330 |
+
|
| 331 |
+
where $m _ { 0 , i } = 0$ and $v _ { 0 , i } = 0$ for all $i \in [ d ]$ and $\psi _ { t } = \mathrm { d i a g } ( v _ { t } )$ . We consider the setting where $f _ { t }$ are linear functions and $\mathcal { F } = [ - 1 , 1 ]$ . In particular, we define the following function sequence:
|
| 332 |
+
|
| 333 |
+
$$
|
| 334 |
+
f _ { t } ( x ) = { \left\{ \begin{array} { l l } { - x , } & { { \mathrm { f o r ~ } } t { \mathrm { ~ m o d ~ } } C = 1 ; } \\ { 2 x , } & { { \mathrm { f o r ~ } } t { \mathrm { ~ m o d ~ } } C = 2 ; } \\ { 0 , } & { { \mathrm { o t h e r w i s e } } } \end{array} \right. }
|
| 335 |
+
$$
|
| 336 |
+
|
| 337 |
+
where $C \in \mathbb { N }$ satisfies the following:
|
| 338 |
+
|
| 339 |
+
$$
|
| 340 |
+
5 \beta _ { 2 } ^ { C - 2 } \leq \frac { 1 } { 2 } \cdot \frac { 1 - \beta _ { 2 } } { 4 - \beta _ { 2 } } .
|
| 341 |
+
$$
|
| 342 |
+
|
| 343 |
+
It is not hard to see that the condition hold for large constant $C$ that depends on $\beta _ { 2 }$ .
|
| 344 |
+
|
| 345 |
+
Since the problem is one-dimensional, we drop indices representing coordinates from all quantities in Algorithm 1. For this function sequence, it is easy to see that the point $x = - 1$ provides the minimum regret. Consider the execution of ADAM algorithm for this sequence of functions with $\beta _ { 1 } = 0$ . Note that since gradients of these functions are bounded, $\mathcal { F }$ has bounded $D _ { \infty }$ diameter and $\beta _ { 1 } ^ { 2 } / \beta _ { 2 } < 1$ as $\beta _ { 1 } = 0$ , the conditions on the parameters required for ADAM are satisfied (Kingma & Lei Ba, 2015). The gradients have the following form:
|
| 346 |
+
|
| 347 |
+
$$
|
| 348 |
+
\nabla f _ { i } ( x ) = { \left\{ \begin{array} { l l } { - 1 , } & { { \mathrm { f o r ~ } } i { \mathrm { ~ m o d ~ } } C = 1 ; } \\ { 2 , } & { { \mathrm { f o r ~ } } i { \mathrm { ~ m o d ~ } } C = 2 ; } \\ { 0 , } & { { \mathrm { o t h e r w i s e . } } } \end{array} \right. }
|
| 349 |
+
$$
|
| 350 |
+
|
| 351 |
+
Let $\tau \in \mathbb { N } , \tau > 1$ be such that
|
| 352 |
+
|
| 353 |
+
$$
|
| 354 |
+
\begin{array} { r } { \frac { \alpha } { \sqrt { C t + 1 } } \frac { 1 } { \sqrt { ( 1 - \beta _ { 2 } ) ( \beta _ { 2 } ^ { C } + 4 \beta _ { 2 } ^ { C - 1 } + 1 ) } } \le 1 , } \\ { \frac { \alpha } { \sqrt { C t + 2 } } \frac { 2 } { \sqrt { ( 1 - \beta _ { 2 } ) ( 4 + \beta _ { 2 } ) } } \le 1 , } \end{array}
|
| 355 |
+
$$
|
| 356 |
+
|
| 357 |
+
for all $t \geq \tau$ . We start with the following preliminary result.
|
| 358 |
+
|
| 359 |
+
Lemma 3. For the parameter settings and conditions assumed in Theorem 1, there is a $t ^ { \prime } \geq \tau$ such that $x _ { C t ^ { \prime } + 1 } \geq 0$ .
|
| 360 |
+
|
| 361 |
+
Proof by contradiction. Assume that $x _ { C t + 1 } < 0$ for all $t \geq \tau$ . Firstly, for $t \geq \tau$ , we observe the following inequalities:
|
| 362 |
+
|
| 363 |
+
$$
|
| 364 |
+
\begin{array} { l } { { v _ { C t + 1 } = \beta _ { 2 } v _ { C t } + ( 1 - \beta _ { 2 } ) } } \\ { { \ ~ } } \\ { { \displaystyle ~ = ( 1 - \beta _ { 2 } ) ( 1 + \sum _ { i = 1 } ^ { t } \beta _ { 2 } ^ { C i } + 4 \sum _ { i = 1 } ^ { t } \beta _ { 2 } ^ { C i - 1 } ) } } \\ { { \ ~ } } \\ { { \displaystyle ~ \geq ( 1 - \beta _ { 2 } ) ( \beta _ { 2 } ^ { C } + 4 \beta _ { 2 } ^ { C - 1 } + 1 ) , } } \end{array}
|
| 365 |
+
$$
|
| 366 |
+
|
| 367 |
+
$$
|
| 368 |
+
\begin{array} { l } { \displaystyle v _ { C t + 1 } = \beta _ { 2 } v _ { C t } + ( 1 - \beta _ { 2 } ) } \\ { \displaystyle \qquad = ( 1 - \beta _ { 2 } ) ( \sum _ { i = 1 } ^ { t } \beta _ { 2 } ^ { C i } + 4 \sum _ { i = 1 } ^ { t } \beta _ { 2 } ^ { C i - 1 } ) + ( 1 - \beta _ { 2 } ) } \\ { \displaystyle \qquad \le ( 1 - \beta _ { 2 } ) \frac { \beta _ { 2 } ^ { C } + 4 \beta _ { 2 } ^ { C - 1 } } { 1 - \beta _ { 2 } ^ { C } } + ( 1 - \beta _ { 2 } ) } \\ { \displaystyle \qquad \le 5 \beta _ { 2 } ^ { C - 1 } + ( 1 - \beta _ { 2 } ) < 9 , } \end{array}
|
| 369 |
+
$$
|
| 370 |
+
|
| 371 |
+
$$
|
| 372 |
+
\begin{array} { c l } { { v _ { C t + 2 } = ( 1 - \beta _ { 2 } ) ( \displaystyle \sum _ { i = 0 } ^ { t } \beta _ { 2 } ^ { C i + 1 } + 4 \displaystyle \sum _ { i = 0 } ^ { t } \beta _ { 2 } ^ { C i } ) } } \\ { { = ( 1 - \beta _ { 2 } ) ( 4 + \beta _ { 2 } ) \displaystyle \frac { 1 - \beta _ { 2 } ^ { C t } } { 1 - \beta _ { 2 } ^ { C } } } } \\ { { } } \\ { { \leq 4 + \beta _ { 2 } < 9 . } } \end{array}
|
| 373 |
+
$$
|
| 374 |
+
|
| 375 |
+
From the $( C \tau + 1 )$ -th update of ADAM in Equation (2), we obtain:
|
| 376 |
+
|
| 377 |
+
$$
|
| 378 |
+
\begin{array} { l } { \displaystyle \hat { x } _ { C \tau + 2 } = x _ { C \tau + 1 } + \frac { \alpha } { \sqrt { C \tau + 1 } } \frac { 1 } { \sqrt { v _ { C \tau + 1 } } } } \\ { \displaystyle < \frac { \alpha } { \sqrt { C \tau + 1 } } \frac { 1 } { \sqrt { ( 1 - \beta _ { 2 } ) ( \beta _ { 2 } ^ { C } + 4 \beta _ { 2 } ^ { C - 1 } + 1 ) } } \le 1 . } \end{array}
|
| 379 |
+
$$
|
| 380 |
+
|
| 381 |
+
The first inequality follows from $x _ { C t + 1 } < 0$ and Equation (6). The last inequality follows from Equation (4). Therefore, we have $- 1 \leq x _ { C \tau + 1 } < \hat { x } _ { C \tau + 2 } < 1$ and hence $x _ { C \tau + 2 } = \hat { x } _ { C \tau + 2 }$ . Then after the $( C \tau + 2 )$ -th update, we have:
|
| 382 |
+
|
| 383 |
+
$$
|
| 384 |
+
\begin{array} { r l } & { \hat { x } _ { G \tau + 3 } = x _ { G \tau + 2 } - \frac { \alpha } { \sqrt { C \tau + 2 } } \frac { 2 } { \sqrt { v G _ { \tau + 2 } } } } \\ & { = x _ { C \tau + 1 } + \frac { \alpha } { \sqrt { C \tau + 1 } } \frac { 1 } { \sqrt { v G _ { \tau + 1 } } } - \frac { \alpha } { \sqrt { C \tau + 2 } } \frac { 2 } { \sqrt { v G _ { \tau + 2 } } } } \\ & { \geq x _ { C \tau + 1 } + \frac { 1 } { \sqrt { C \tau + C } } \frac { \alpha \beta _ { 2 } ( v _ { C \tau + 1 } - 4 v _ { C \tau } ) } { \sqrt { v G _ { \tau + 1 } v G _ { \tau + 2 } } \left( \sqrt { v G _ { \tau + 2 } } + 2 \sqrt { v G _ { \tau + 1 } } \right) } } \\ & { \geq x _ { C \tau + 1 } + \frac { 1 } { \sqrt { \tau + 1 } } \frac { \alpha \beta _ { 2 } } { \sqrt { 1 6 } \sqrt { C } } ( v c _ { \tau + 1 } - 4 v _ { C \tau } ) } \\ & { \geq x _ { C \tau + 1 } + \frac { 1 } { \sqrt { \tau + 1 } } \frac { \alpha \beta _ { 2 } ( 1 - \beta _ { 2 } ) } { 1 6 2 \sqrt { C } } } \\ & { = x _ { C \tau + 1 } + \frac { \kappa } { \sqrt { \tau + 1 } } , } \end{array}
|
| 385 |
+
$$
|
| 386 |
+
|
| 387 |
+
where $\kappa = \alpha \beta _ { 2 } ( 1 - \beta _ { 2 } ) / 1 6 2 \sqrt { C }$ is a constant that depends on $\alpha$ , $\beta _ { 2 }$ and $C$ . The first inequality follows from Equation (2). The second inequality follows from Equations (7) and (8). The last
|
| 388 |
+
|
| 389 |
+
inequality is due to the following lower bound:
|
| 390 |
+
|
| 391 |
+
$$
|
| 392 |
+
\begin{array} { r l } { \boldsymbol { v } _ { C \ell + 1 } - 4 \boldsymbol { v } _ { C \xi } = \beta _ { 2 } \boldsymbol { v } _ { C \xi } + ( 1 - \beta _ { 2 } ) - 4 \boldsymbol { v } _ { C \ell } } \\ { = } & { ( 4 - \beta _ { 2 } ) \left[ \frac { 1 - \beta _ { 2 } } { 4 } - \mathcal { D } _ { C \ell } ^ { 2 } \right] } \\ & { = ( 4 - \beta _ { 2 } ) \Bigg [ \frac { 1 - \beta _ { 2 } } { 4 } - ( 1 - \beta _ { 2 } ) ( \sum _ { i = 1 } ^ { \ell } \beta _ { 2 } ^ { C \ell - 1 } + 4 \sum _ { i = 1 } ^ { \ell } \beta _ { 2 } ^ { C \ell - 2 } ) \Bigg ] } \\ & { \ge ( 4 - \beta _ { 2 } ) \Bigg [ \frac { 1 - \beta _ { 2 } } { 4 } - \beta _ { 2 } - ( 1 - \beta _ { 2 } ) ( \sum _ { i = 1 } ^ { \ell } \beta _ { 2 } ^ { C \ell - 1 } + 4 \frac { \beta _ { 2 } ^ { C \ell - 2 } } { 4 } ) \Bigg ] } \\ & { \ge ( 4 - \beta _ { 2 } ) \Bigg [ \frac { 1 - \beta _ { 2 } } { 4 } - \beta _ { 2 } - ( 1 - \beta _ { 2 } ) ( \frac { \beta _ { 2 } ^ { C \ell - 1 } } { 1 - \beta _ { 2 } ^ { C \ell } } + \frac { 4 \beta _ { 2 } ^ { C \ell - 2 } } { 1 - \beta _ { 2 } ^ { C \ell } } ) \Bigg ] } \\ & { \ge ( 4 - \beta _ { 2 } ) \Bigg [ \frac { 1 - \beta _ { 2 } } { 4 } - \beta _ { 2 } ^ { 2 } - 5 \beta _ { 2 } ^ { C \ell - 2 } \Bigg ] } \\ & { \ge ( 4 - \beta _ { 2 } ) \cdot \frac { 1 } { 2 } \cdot \frac { 1 - \beta _ { 2 } } { 4 } - \beta _ { 2 } } \\ & { = \frac { 1 - \beta _ { 2 } } { 2 } , } \end{array}
|
| 393 |
+
$$
|
| 394 |
+
|
| 395 |
+
where the last inequality follows from Equation (3). Therefore, we have $- 1 \le x _ { C \tau + 1 } < \hat { x } _ { C \tau + 3 } <$ $x _ { C \tau + 2 } < 1$ . Furthermore, since gradients $\nabla f _ { i } ( x ) = 0$ when $i$ mod $C \neq 1$ or 2, we have
|
| 396 |
+
|
| 397 |
+
$$
|
| 398 |
+
\begin{array} { c } { { x _ { C \tau + 4 } = \hat { x } _ { C \tau + 3 } = x _ { C \tau + 3 } , } } \\ { { x _ { C \tau + 5 } = \hat { x } _ { C \tau + 4 } = x _ { C \tau + 4 } , } } \\ { { . . . } } \\ { { x _ { C ( \tau + 1 ) + 1 } = \hat { x } _ { C ( \tau + 1 ) + 1 } = x _ { C ( \tau + 1 ) } . } } \end{array}
|
| 399 |
+
$$
|
| 400 |
+
|
| 401 |
+
Then, following Equation (9) we have
|
| 402 |
+
|
| 403 |
+
$$
|
| 404 |
+
x _ { C ( \tau + 1 ) + 1 } - x _ { C \tau + 1 } \geq \frac { \kappa } { \sqrt { \tau + 1 } } .
|
| 405 |
+
$$
|
| 406 |
+
|
| 407 |
+
Similarly, we can subsequently obtain
|
| 408 |
+
|
| 409 |
+
$$
|
| 410 |
+
x _ { C ( \tau + 2 ) + 1 } - x _ { C ( \tau + 1 ) + 1 } \geq \frac { \kappa } { \sqrt { \tau + 2 } } ,
|
| 411 |
+
$$
|
| 412 |
+
|
| 413 |
+
and generally
|
| 414 |
+
|
| 415 |
+
$$
|
| 416 |
+
x _ { C ( t + 1 ) + 1 } - x _ { C t + 1 } \geq \frac { \kappa } { \sqrt { t + 1 } }
|
| 417 |
+
$$
|
| 418 |
+
|
| 419 |
+
for all $t \geq \tau$ . Therefore,
|
| 420 |
+
|
| 421 |
+
$$
|
| 422 |
+
\begin{array} { l } { \displaystyle x _ { C t + 1 } \geq x _ { C \tau + 1 } + \frac \kappa { \sqrt { \tau + 1 } } + \frac \kappa { \sqrt { \tau + 2 } } + \cdot \cdot \cdot + \frac \kappa { \sqrt { t } } } \\ { \displaystyle \geq - 1 + \kappa \sum _ { n = \tau + 1 } ^ { t } \frac 1 { \sqrt { n } } } \\ { \displaystyle \geq - 1 + \kappa \int _ { \tau + 1 } ^ { t + 1 } \frac { \mathrm d x } { \sqrt { x } } } \\ { \displaystyle = - 1 + 2 \kappa ( \sqrt { t + 1 } - \sqrt { \tau + 1 } ) } \end{array}
|
| 423 |
+
$$
|
| 424 |
+
|
| 425 |
+
for $t \geq \tau$ . Let $t ^ { \prime }$ be such that $2 \kappa ( \sqrt { t ^ { \prime } + 1 } - \sqrt { \tau + 1 } ) \geq 1$ , then $x _ { C t ^ { \prime } + 1 } \geq 0$ . This contradicts the assumption that $x _ { C t + 1 } < 0$ for all $t \geq \tau$ . We complete the proof of this lemma.
|
| 426 |
+
|
| 427 |
+
We now return to the proof of Theorem 1. The following analysis focuses on iterations after $C t ^ { \prime } + 1$ such that $x _ { C t ^ { \prime } + 1 } \geq 0$ . Note that any regret before $C t ^ { \prime } + 1$ is just a constant since $t ^ { \prime }$ is independent of $T$ and thus, the average regret is negligible as $T \to \infty$ .
|
| 428 |
+
|
| 429 |
+
Our claim is that, $x _ { k } \geq 0$ for all $k \in \mathbb N$ , $k \geq C t ^ { \prime } + 1$ . To prove this, we resort to the principle of mathematical induction. Suppose for some $t \in \mathbb { N }$ , $t \geq t ^ { \prime }$ , we have $x _ { C t + 1 } \geq 0$ . Our aim is to prove that $x _ { i } \geq 0$ for all $i \in \mathbb { N } \cap [ C t + 2 , C ( t + 1 ) + 1 ]$ .
|
| 430 |
+
|
| 431 |
+
From the $( C t + 1 )$ -th update of ADAM in Equation (2), we obtain:
|
| 432 |
+
|
| 433 |
+
$$
|
| 434 |
+
\hat { x } _ { C t + 2 } = x _ { C t + 1 } + \frac { \alpha } { \sqrt { C t + 1 } } \frac { 1 } { \sqrt { v _ { C t + 1 } } } \geq 0 .
|
| 435 |
+
$$
|
| 436 |
+
|
| 437 |
+
We consider the following two cases:
|
| 438 |
+
|
| 439 |
+
1. Suppose $\hat { x } _ { C t + 2 } ~ > ~ 1$ , then $x _ { C t + 2 } = \Pi _ { \mathcal { F } } ( \hat { x } _ { C t + 2 } ) = \operatorname* { m i n } \{ \hat { x } _ { C t + 2 } , 1 \} = 1$ (note that in one-dimension, $\Pi _ { \mathcal { F } , \sqrt { V _ { t } } } = \Pi _ { \mathcal { F } }$ is the simple Euclidean projection). After the $( C t + 2 )$ -th update, we have:
|
| 440 |
+
|
| 441 |
+
$$
|
| 442 |
+
\begin{array} { l } { \hat { x } _ { C t + 3 } = x _ { C t + 2 } - \displaystyle \frac { \alpha } { \sqrt { C t + 2 } } \displaystyle \frac { 2 } { \sqrt { v _ { C t + 2 } } } } \\ { \geq 1 - \displaystyle \frac { \alpha } { \sqrt { C t + 2 } } \displaystyle \frac { 2 } { \sqrt { ( 1 - \beta _ { 2 } ) ( 4 + \beta _ { 2 } ) } } \geq 0 . } \end{array}
|
| 443 |
+
$$
|
| 444 |
+
|
| 445 |
+
The last inequality follows from Equation (5). The first inequality follows from
|
| 446 |
+
|
| 447 |
+
$$
|
| 448 |
+
v _ { C t + 2 } = ( 1 - \beta _ { 2 } ) ( \sum _ { i = 0 } ^ { t } \beta _ { 2 } ^ { C i + 1 } + 4 \sum _ { i = 0 } ^ { t } \beta _ { 2 } ^ { C i } ) \geq ( 1 - \beta _ { 2 } ) ( 4 + \beta _ { 2 } ) .
|
| 449 |
+
$$
|
| 450 |
+
|
| 451 |
+
2. Suppose $\hat { x } _ { C t + 2 } \leq 1$ , then after the $( C t + 2 )$ -th update, similar to Equation (9), we have:
|
| 452 |
+
|
| 453 |
+
$$
|
| 454 |
+
\hat { x } _ { C t + 3 } \geq x _ { C t + 1 } + \frac { \kappa } { \sqrt { t + 1 } } \geq 0 .
|
| 455 |
+
$$
|
| 456 |
+
|
| 457 |
+
In both cases, $\hat { x } _ { C t + 3 } \geq 0$ , which translates to $x _ { C t + 3 } = \hat { x } _ { C t + 3 } \geq 0$ . Furthermore, since gradients $\nabla f _ { i } ( x ) = 0$ when $i$ mod $C \neq 1$ or 2, we have
|
| 458 |
+
|
| 459 |
+
$$
|
| 460 |
+
\begin{array} { l } { x _ { C t + 4 } = \hat { x } _ { C t + 3 } = x _ { C t + 3 } \geq 0 , } \\ { x _ { C t + 5 } = \hat { x } _ { C t + 4 } = x _ { C t + 4 } \geq 0 , } \\ { ~ . ~ . ~ } \end{array}
|
| 461 |
+
$$
|
| 462 |
+
|
| 463 |
+
$$
|
| 464 |
+
x _ { C ( t + 1 ) + 1 } = \hat { x } _ { C ( t + 1 ) + 1 } = x _ { C ( t + 1 ) } \geq 0 .
|
| 465 |
+
$$
|
| 466 |
+
|
| 467 |
+
Therefore, given $x _ { C t ^ { \prime } + 1 } = 0$ , it holds for all $k \in \mathbb { N } , k \geq C t ^ { \prime } + 1$ by the principle of mathematical induction. Thus, we have
|
| 468 |
+
|
| 469 |
+
$$
|
| 470 |
+
\sum _ { i = 1 } ^ { C } f _ { k C + i } ( x _ { k C + i } ) - \sum _ { i = 1 } ^ { C } f _ { k C + i } ( - 1 ) \geq 0 - ( - 1 ) = 1 ,
|
| 471 |
+
$$
|
| 472 |
+
|
| 473 |
+
where $k \in \mathbb N$ , $k \geq t ^ { \prime }$ . Therefore, when $t \geq t ^ { \prime }$ , for every $C$ steps, ADAM suffers a regret of at least 1.
|
| 474 |
+
More specifically, $R _ { T } \geq ( T - t ^ { \prime } ) / C$ . Thus, $R _ { T } / T \not \to 0$ as $T \to \infty$ , which completes the proof.
|
| 475 |
+
|
| 476 |
+
# C PROOF OF THEOREM 2
|
| 477 |
+
|
| 478 |
+
Theorem 2 generalizes the optimization setting used in Theorem 1. We notice that the example proposed by Reddi et al. (2018) in their Appendix B already satisfies the constraints listed in Theorem 2. Here we provide the setting of the example for completeness.
|
| 479 |
+
|
| 480 |
+
Proof. Consider the setting where $f _ { t }$ are linear functions and $\mathcal { F } = [ - 1 , 1 ]$ . In particular, we define the following function sequence:
|
| 481 |
+
|
| 482 |
+
$$
|
| 483 |
+
f _ { t } ( x ) = { \left\{ \begin{array} { l l } { C x , { \mathrm { f o r ~ } } t { \mathrm { ~ m o d ~ } } C = 1 ; } \\ { - x , { \mathrm { ~ o t h e r w i s e , } } } \end{array} \right. }
|
| 484 |
+
$$
|
| 485 |
+
|
| 486 |
+
where $C \in \mathbb { N }$ , $C$ mod $2 = 0$ satisfies the following:
|
| 487 |
+
|
| 488 |
+
$$
|
| 489 |
+
\begin{array} { r l r } & { } & { \left( 1 - \beta _ { 1 } \right) \beta _ { 1 } ^ { C - 1 } C \le 1 - \beta _ { 1 } ^ { C - 1 } , } \\ & { } & { \beta _ { 2 } ^ { ( C - 2 ) / 2 } C ^ { 2 } \le 1 , } \\ & { } & { \displaystyle \frac { 3 \left( 1 - \beta _ { 1 } \right) } { 2 \sqrt { 1 - \beta _ { 2 } } } \left( 1 + \frac { \gamma \left( 1 - \gamma ^ { C - 1 } \right) } { 1 - \gamma } \right) + \frac { \beta _ { 1 } ^ { C / 2 - 1 } } { 1 - \beta _ { 1 } } < \frac { C } { 3 } , } \end{array}
|
| 490 |
+
$$
|
| 491 |
+
|
| 492 |
+
where $\gamma = \beta _ { 1 } / \sqrt { \beta _ { 2 } } < 1$ . It is not hard to see that these conditions hold for large constant $C$ that depends on $\beta _ { 1 }$ and $\beta _ { 2 }$ . According to the proof given by Reddi et al. (2018) in their Appendix B, in such a setting $R _ { T } / T \not \to 0$ as $T \to \infty$ , which completes the proof.
|
| 493 |
+
|
| 494 |
+
# D PROOF OF THEOREM 3
|
| 495 |
+
|
| 496 |
+
The example proposed by Reddi et al. (2018) in their Appendix C already satisfies the constraints listed in Theorem 3. Here we provide the setting of the example for completeness.
|
| 497 |
+
|
| 498 |
+
Proof. Let $\delta$ be an arbitrary small positive constant. Consider the following one dimensional stochastic optimization setting over the domain $[ - 1 , 1 ]$ . At each time step $t$ , the function $f _ { t } ( x )$ is chosen as follows:
|
| 499 |
+
|
| 500 |
+
$$
|
| 501 |
+
f _ { t } ( x ) = \left\{ \begin{array} { l l } { C x , \mathrm { w i t h } \mathrm { p r o b a b i l i t y } p : = \frac { 1 + \delta } { C + 1 } } \\ { - x , \mathrm { w i t h } \mathrm { p r o b a b i l i t y } 1 - p , } \end{array} \right.
|
| 502 |
+
$$
|
| 503 |
+
|
| 504 |
+
where $C$ is a large constant that depends on $\beta _ { 1 }$ , $\beta _ { 2 }$ and $\delta$ . The expected function is $F ( x ) = \delta x$ . Thus the optimal point over $[ - 1 , 1 ]$ is $x ^ { * } = - 1$ . The step taken by ADAM is
|
| 505 |
+
|
| 506 |
+
$$
|
| 507 |
+
\Delta _ { t } = \frac { - \alpha _ { t } \left( \beta _ { 1 } m _ { t - 1 } + \left( 1 - \beta _ { 1 } \right) g _ { t } \right) } { \sqrt { \beta _ { 2 } v _ { t - 1 } + \left( 1 - \beta _ { 2 } \right) g _ { t } ^ { 2 } } } .
|
| 508 |
+
$$
|
| 509 |
+
|
| 510 |
+
According to the proof given by Reddi et al. (2018) in their Appendix $\textrm { C }$ , there exists a large enough $C$ such that $\mathbb { E } [ \Delta _ { t } ] \geq 0$ , which then implies that the ADAM’s step keep drifting away from the optimal solution $x ^ { * } = - 1$ . Note that there is no limitation of the initial step size $\alpha$ by now. Therefore, we complete the proof.
|
| 511 |
+
|
| 512 |
+
# E PROOF OF THEOREM 4
|
| 513 |
+
|
| 514 |
+
Proof. Let $\begin{array} { r } { x ^ { * } = \arg \operatorname* { m i n } _ { x \in \mathcal { F } } \sum _ { t = 1 } ^ { T } f _ { t } ( x ) } \end{array}$ , which exists since $\mathcal { F }$ is closed and convex. We begin with the following observation:
|
| 515 |
+
|
| 516 |
+
$$
|
| 517 |
+
x _ { t + 1 } = \Pi _ { \mathcal { F } , \mathrm { d i a g } ( \eta _ { t } ^ { - 1 } ) } \big ( x _ { t } - \eta _ { t } \odot m _ { t } \big ) = \operatorname* { m i n } _ { x \in \mathcal { F } } \| \eta _ { t } ^ { - 1 / 2 } \odot \big ( x - \big ( x _ { t } - \eta _ { t } \odot m _ { t } \big ) \big ) \| .
|
| 518 |
+
$$
|
| 519 |
+
|
| 520 |
+
Using Lemma 1 with $u _ { 1 } = x _ { t + 1 }$ and $u _ { 2 } = x ^ { * }$ , we have the following:
|
| 521 |
+
|
| 522 |
+
$$
|
| 523 |
+
\begin{array} { r l } & { \| \eta _ { t } ^ { - 1 / 2 } \odot ( x _ { t + 1 } - x ^ { * } ) \| ^ { 2 } \le \| \eta _ { t } ^ { - 1 / 2 } \odot ( x _ { t } - \eta _ { t } \odot m _ { t } - x ^ { * } ) \| ^ { 2 } } \\ & { \qquad = \| \eta _ { t } ^ { - 1 / 2 } \odot ( x _ { t } - x ^ { * } ) \| ^ { 2 } + \| \eta _ { t } ^ { 1 / 2 } \odot m _ { t } \| ^ { 2 } - 2 \langle m _ { t } , x _ { t } - x ^ { * } \rangle } \\ & { \qquad = \| \eta _ { t } ^ { - 1 / 2 } \odot ( x _ { t } - x ^ { * } ) \| ^ { 2 } + \| \eta _ { t } ^ { 1 / 2 } \odot m _ { t } \| ^ { 2 } } \\ & { \qquad - 2 \langle \beta _ { 1 t } m _ { t - 1 } + ( 1 - \beta _ { 1 t } ) g _ { t } , x _ { t } - x ^ { * } \rangle . } \end{array}
|
| 524 |
+
$$
|
| 525 |
+
|
| 526 |
+
Rearranging the above inequality, we have
|
| 527 |
+
|
| 528 |
+
$$
|
| 529 |
+
\begin{array} { l } { \displaystyle \langle g _ { t } , x _ { t } - x ^ { * } \rangle \leq \frac { 1 } { 2 ( 1 - \beta _ { 1 t } ) } \bigg [ \| \eta _ { t } ^ { - 1 / 2 } \odot ( x _ { t } - x ^ { * } ) \| ^ { 2 } - \| \eta _ { t } ^ { - 1 / 2 } \odot ( x _ { t + 1 } - x ^ { * } ) \| ^ { 2 } \bigg ] } \\ { \displaystyle \qquad + \frac { 1 } { 2 ( 1 - \beta _ { 1 t } ) } \| \eta _ { t } ^ { 1 / 2 } \odot m _ { t } \| ^ { 2 } + \frac { \beta _ { 1 t } } { 1 - \beta _ { 1 t } } \langle m _ { t - 1 } , x _ { t } - x ^ { * } \rangle } \\ { \displaystyle \qquad \leq \frac { 1 } { 2 ( 1 - \beta _ { 1 t } ) } \bigg [ \| \eta _ { t } ^ { - 1 / 2 } \odot ( x _ { t } - x ^ { * } ) \| ^ { 2 } - \| \eta _ { t } ^ { - 1 / 2 } \odot ( x _ { t + 1 } - x ^ { * } ) \| ^ { 2 } \bigg ] } \\ { \displaystyle \qquad + \frac { 1 } { 2 ( 1 - \beta _ { 1 t } ) } \| \eta _ { t } ^ { 1 / 2 } \odot m _ { t } \| ^ { 2 } + \frac { \beta _ { 1 t } } { 2 ( 1 - \beta _ { 1 t } ) } \| \eta _ { t } ^ { 1 / 2 } \odot m _ { t - 1 } \| ^ { 2 } } \\ { \displaystyle \qquad + \frac { \beta _ { 1 t } } { 2 ( 1 - \beta _ { 1 t } ) } \| \eta _ { t } ^ { - 1 / 2 } \odot ( x _ { t } - x ^ { * } ) \| ^ { 2 } . } \end{array}
|
| 530 |
+
$$
|
| 531 |
+
|
| 532 |
+
The second inequality follows from simple application of Cauchy–Schwarz and Young’s inequality. We now use the standard approach of bounding the regret at each step using convexity of the functions $\{ f _ { t } \} _ { t = 1 } ^ { T }$ in the following manner:
|
| 533 |
+
|
| 534 |
+
$$
|
| 535 |
+
\begin{array} { r l } & { \displaystyle \sum _ { t = 1 } ^ { T } f _ { t } \left( x _ { t } \right) - f _ { t } \left( x ^ { * } \right) \leq \sum _ { t = 1 } ^ { T } \langle g _ { t } , x _ { t } - x ^ { * } \rangle } \\ & { \leq \displaystyle \sum _ { t = 1 } ^ { T } \left[ \frac { 1 } { 2 ( 1 - \beta _ { 1 t } ) } \left[ \| \eta _ { t } ^ { - 1 / 2 } \odot ( x _ { t } - x ^ { * } ) \| ^ { 2 } - \| \eta _ { t } ^ { - 1 / 2 } \odot ( x _ { t + 1 } - x ^ { * } ) \| ^ { 2 } \right] \right. } \\ & { \quad \quad + \left. \frac { 1 } { 2 ( 1 - \beta _ { 1 t } ) } \| \eta _ { t } ^ { 1 / 2 } \odot m _ { t } \| ^ { 2 } + \frac { \beta _ { 1 t } } { 2 ( 1 - \beta _ { 1 t } ) } \| \eta _ { t } ^ { 1 / 2 } \odot m _ { t - 1 } \| ^ { 2 } \right. } \\ & { \quad \quad \left. + \frac { \beta _ { 1 t } } { 2 ( 1 - \beta _ { 1 t } ) } \| \eta _ { t } ^ { - 1 / 2 } \odot ( x _ { t } - x ^ { * } ) \| ^ { 2 } \right] . } \end{array}
|
| 536 |
+
$$
|
| 537 |
+
|
| 538 |
+
The first inequality is due to the convexity of functions $\{ f _ { t } \} _ { t = 1 } ^ { T }$ . The second inequality follows from the bound in Equation (10). For further bounding this inequality, we need the following intermedia result.
|
| 539 |
+
|
| 540 |
+
Lemma 4. For the parameter settings and conditions assumed in Theorem 4, we have
|
| 541 |
+
|
| 542 |
+
$$
|
| 543 |
+
\sum _ { t = 1 } ^ { T } \bigg [ \frac { 1 } { 2 ( 1 - \beta _ { 1 t } ) } \| \eta _ { t } ^ { 1 / 2 } \odot m _ { t } \| ^ { 2 } + \frac { \beta _ { 1 t } } { 2 ( 1 - \beta _ { 1 t } ) } \| \eta _ { t } ^ { 1 / 2 } \odot m _ { t - 1 } \| ^ { 2 } \bigg ] \le ( 2 \sqrt { T } - 1 ) \frac { R _ { \infty } G _ { 2 } ^ { 2 } } { 1 - \beta _ { 1 } } .
|
| 544 |
+
$$
|
| 545 |
+
|
| 546 |
+
Proof. By definition of $\eta _ { t }$ , we have
|
| 547 |
+
|
| 548 |
+
$$
|
| 549 |
+
L _ { \infty } \leq \sqrt t \| \eta _ { t } \| _ { \infty } \leq R _ { \infty } .
|
| 550 |
+
$$
|
| 551 |
+
|
| 552 |
+
Hence,
|
| 553 |
+
|
| 554 |
+
$$
|
| 555 |
+
\begin{array} { r l } & { \frac { 1 } { \Delta x } = \frac { \sqrt { 2 } } { \frac { \pi } { 1 + \sqrt { 2 } \pi \sqrt { 3 } } } \left[ \frac { 1 } { \frac { \sqrt { 2 } } { \pi } \frac { \sqrt { 3 } } { 1 + \sqrt { 2 } \pi \sqrt { 3 } } } \frac { \sin 2 \pi \sqrt { 3 } } { \sin \pi } \frac { \sin 2 \pi \sqrt { 3 } } { \sin \pi } \frac { \sin 2 \pi \sqrt { 3 } } { \sin \pi } \right] } \\ & { \le \frac { \sqrt { 2 } } { \pi } \left[ \frac { \sqrt { 2 } } { 1 + \sqrt { 2 } \pi \sqrt { 3 } } \frac { \sin 2 \pi \sqrt { 3 } } { \sin \pi } \frac { \sin 2 \pi \sqrt { 3 } } { \sin \pi } \frac { \sin 2 \pi \sqrt { 3 } } { \sin \pi } \frac { \sin 2 \pi \sqrt { 3 } } { \sin \pi } \frac { \sin 2 \pi \sqrt { 3 } } { \sin \pi } \right] } \\ & { \le \frac { \sqrt { 2 } } { \pi } \left[ \frac { \sqrt { 2 } } { \pi } \frac { \sqrt { 3 } } { 1 + \sqrt { 2 } \pi \sqrt { 3 } } \frac { \sin 2 \pi \sqrt { 3 } } { \sin \pi } \frac { \sin 2 \pi \sqrt { 3 } } { \sin \pi } \frac { \sin 2 \pi \sqrt { 3 } } { \sin \pi } \frac { \sin 2 \pi \sqrt { 3 } } { \sin \pi } \frac { \sin 2 \pi \sqrt { 3 } } { \sin \pi } \right] } \\ & { - \frac { \sqrt { 2 } } { \pi } \frac { \sqrt { 3 } } { \pi } \left[ \frac { \sqrt { 2 } } { \pi } \frac { \sin 2 \pi \sqrt { 3 } } { 1 + \sqrt { 2 } \pi \sqrt { 3 } } \frac { \sin 2 \pi \sqrt { 3 } } { \sin \pi } \right] ^ { \frac { \sin 2 } { \pi } } } \\ & { \le \frac { \sqrt { 2 } } { \pi } \frac { \sqrt { 3 } } { 1 + \sqrt { 2 } \pi \sqrt { 3 } } \left[ \frac { \sqrt { 2 } } { \pi } \frac { \sin 2 \pi \sqrt { 3 } } { \sin \pi } \frac { \sin 2 \pi \sqrt { 3 } } { \pi } \right] } \\ & \le \frac { \sqrt { 2 } } { \pi } \frac { \sqrt { 3 } } { \pi } \frac { \sqrt { 3 } } { \pi } \frac { \sqrt { 2 } } { \pi } \frac { \sin 2 \pi \sqrt { 3 } } { \pi } \frac \sqrt { 2 } \end{array}
|
| 556 |
+
$$
|
| 557 |
+
|
| 558 |
+
The second inequality is due to $\beta _ { 1 t } \le \beta _ { 1 } < 1$ . The third inequality follows from Jensen inequality and the fourth inequality follows from Cauchy–Schwarz inequality. The fifth inequality follows from Lemma 2 and $m _ { 0 } = 0$ . The last inequality is due to the following upper bound:
|
| 559 |
+
|
| 560 |
+
$$
|
| 561 |
+
\sum _ { t = 1 } ^ { T } { \frac { 1 } { \sqrt { t } } } \leq 1 + \int _ { t = 1 } ^ { T } { \frac { \mathrm { d } t } { \sqrt { t } } } = 2 { \sqrt { T } } - 1 .
|
| 562 |
+
$$
|
| 563 |
+
|
| 564 |
+
We complete the proof of this lemma.
|
| 565 |
+
|
| 566 |
+
We now return to the proof of Theorem 4. Using the above lemma in Equation (11), we have
|
| 567 |
+
|
| 568 |
+
$$
|
| 569 |
+
\begin{array} { r l } & { \frac { \lambda } { \mu } \int _ { 0 } ^ { \infty } \hat { \rho } ( \mathbf { x } ) - \hat { \rho } ( \mathbf { x } ) e ^ { - \mathbf { x } } \hat { \rho } ( \mathbf { x } ) } \\ & { \quad + \frac { \lambda } { \mu } ( \sum _ { i = 1 } ^ { N } \frac { \hat { \rho } _ { i } } { \rho _ { i } } [ \frac { 1 } { 2 } \hat { \rho } _ { i } ( \hat { \rho } _ { i } ^ { - 1 } \otimes ^ { - 1 } ( \mathbf { x } - \mathbf { x } ^ { * } ) ) ^ { 2 } - | \mathbf { x } | ^ { 2 } ^ { - 1 } \otimes ^ { - 1 } \otimes ^ { - 1 } ( \rho ) \otimes ( \rho _ { i } \otimes \rho _ { i - 1 } - \mathbf { x } ^ { * } ) | \mathbf { x } | ] ) } \\ & { \quad - \frac { \lambda } { \mu } ( \sum _ { i = 1 } ^ { N } \frac { \hat { \rho } _ { i } } { \rho _ { i } } [ \frac { 1 } { 2 } \hat { \rho } _ { i } ( \hat { \rho } _ { i } ^ { - 1 } \otimes ^ { - 1 } ( \mathbf { x } - \mathbf { x } ^ { * } ) ) ^ { 2 } ] ) e ^ { - \mathbf { x } } ( \hat { \rho } _ { i } ^ { - 1 } \otimes ^ { - 1 } ( \rho ) \hat { \rho } _ { i } ( \mathbf { x } - \mathbf { x } ^ { * } ) ) } \\ & { \quad - \frac { \lambda } { \mu } ( \hat { \rho } _ { i } ^ { - 1 } \otimes ^ { - 1 } ( \rho ) \otimes ( \rho _ { i } \otimes \rho _ { i } - \rho _ { i } ^ { * } ) ) \mathbb { I } ) + \hat { \rho } ( \overline { { \mathbf { x } } } ^ { - 1 } ) \frac { \hat { \rho } _ { i } } { \rho _ { i } } [ \hat { \rho } _ { i } ^ { - 1 } \otimes ^ { - 1 } ( \rho ) \otimes ( \rho _ { i } - \rho _ { i } ^ { * } ) ] } \\ & \quad \leq \frac { \lambda } { 2 ( 1 - \delta ) } [ \mathbf { x } ^ { * } ] ^ { \rho } ( \mathbf { x } ^ { - 1 } \otimes ^ { - 1 } ( \mathbf { x } ^ { * } ) ^ { 2 } + \sum _ { i = 1 } ^ { N } [ \ \end{array}
|
| 570 |
+
$$
|
| 571 |
+
|
| 572 |
+
The second inequality use the fact that $\beta _ { 1 t } \le \beta _ { 1 } < 1$ . In order to further simplify the bound in Equation (12), we need to use telescopic sum. We observe that, by definition of $\eta _ { t }$ , we have
|
| 573 |
+
|
| 574 |
+
$$
|
| 575 |
+
\eta _ { t , i } ^ { - 1 } \geq \eta _ { t - 1 , i } ^ { - 1 } .
|
| 576 |
+
$$
|
| 577 |
+
|
| 578 |
+
Using the $D _ { \infty }$ bound on the feasible region and making use of the above property in Equation (12), we have
|
| 579 |
+
|
| 580 |
+
$$
|
| 581 |
+
\begin{array} { r l } & { \displaystyle \sum _ { t = 1 } ^ { T } f _ { t } \left( x _ { t } \right) - f _ { t } \left( x ^ { * } \right) } \\ & { \le \frac { D _ { \infty } ^ { 2 } } { 2 ( 1 - \beta _ { 1 } ) } \left[ \displaystyle \sum _ { i = 1 } ^ { d } \eta _ { 1 , i } ^ { - 1 } + \displaystyle \sum _ { t = 2 } ^ { T } \sum _ { i = 1 } ^ { d } \left[ \eta _ { t , i } ^ { - 1 } - \eta _ { t - 1 , i } ^ { - 1 } \right] + \displaystyle \sum _ { t = 1 } ^ { T } \sum _ { i = 1 } ^ { d } \beta _ { 1 t } \eta _ { t , i } ^ { - 1 } \right] + ( 2 \sqrt { T } - 1 ) \frac { R _ { \infty } G _ { 2 } ^ { 2 } } { 1 - \beta _ { 1 } } } \\ & { = \frac { D _ { \infty } ^ { 2 } \sqrt { T } } { 2 ( 1 - \beta _ { 1 } ) } \displaystyle \sum _ { i = 1 } ^ { d } \hat { \eta } _ { T , i } ^ { - 1 } + \frac { D _ { \infty } ^ { 2 } } { 2 ( 1 - \beta _ { 1 } ) } \displaystyle \sum _ { t = 1 } ^ { T } \sum _ { i = 1 } ^ { d } \beta _ { 1 t } \eta _ { t , i } ^ { - 1 } + ( 2 \sqrt { T } - 1 ) \frac { R _ { \infty } G _ { 2 } ^ { 2 } } { 1 - \beta _ { 1 } } . } \end{array}
|
| 582 |
+
$$
|
| 583 |
+
|
| 584 |
+
The equality follows from simple telescopic sum, which yields the desired result. It is easy to see√ that the regret of ADABOUND is upper bounded by $O ( \sqrt { T } )$ .
|
| 585 |
+
|
| 586 |
+
# F AMSBOUND
|
| 587 |
+
|
| 588 |
+
Theorem 5. Let $\{ x _ { t } \}$ and √ $\{ v _ { t } \}$ be the sequences obtained from Algorithm $^ 3$ , $\beta _ { 1 } = \beta _ { 1 1 }$ , $\beta _ { 1 t } \le \beta _ { 1 }$ for all $t \in [ T ]$ and $\beta _ { 1 } / \sqrt { \beta _ { 2 } } < 1$ . Suppose $\eta _ { l } ( t + 1 ) \geq \eta _ { l } ( t ) > 0$ , $\eta _ { u } ( t + 1 ) \leq \eta _ { u } ( t )$ , $\eta _ { l } ( t ) \alpha ^ { * }$ as $t \to \infty$ , $\mathsf { \bar { \eta } } _ { u } \mathsf { ( } t ) \to \mathsf { \bar { \alpha } } ^ { * }$ as $t \to \infty$ , $L _ { \infty } = \eta _ { l } ( 1 )$ and $R _ { \infty } = \eta _ { u } ( 1 )$ . Assume that $\| x - y \| _ { \infty } \leq D _ { \infty }$ for all $x , y \in { \mathcal { F } }$ and $\lVert \nabla f _ { t } ( x ) \rVert \leq G _ { 2 }$ for all $t \in [ T ]$ and $x \in { \mathcal { F } }$ . For $x _ { t }$ generated using the ADABOUND algorithm, we have the following bound on the regret
|
| 589 |
+
|
| 590 |
+
$$
|
| 591 |
+
R _ { T } \le \frac { D _ { \infty } ^ { 2 } \sqrt { T } } { 2 ( 1 - \beta _ { 1 } ) } \sum _ { i = 1 } ^ { d } \eta _ { T , i } ^ { - 1 } + \frac { D _ { \infty } ^ { 2 } } { 2 ( 1 - \beta _ { 1 } ) } \sum _ { t = 1 } ^ { T } \sum _ { i = 1 } ^ { d } \beta _ { 1 t } \eta _ { t , i } ^ { - 1 } + ( 2 \sqrt { T } - 1 ) \frac { R _ { \infty } G _ { 2 } ^ { 2 } } { 1 - \beta _ { 1 } } .
|
| 592 |
+
$$
|
| 593 |
+
|
| 594 |
+
# Algorithm 3 AMSBOUND
|
| 595 |
+
|
| 596 |
+
Input: $x _ { 1 } \in { \mathcal { F } }$ , initial step size $\alpha$ , $\{ \beta _ { 1 t } \} _ { t = 1 } ^ { T }$ , $\beta _ { 2 }$ , lower bound function $\eta _ { l }$ , upper bound function $\eta _ { u }$
|
| 597 |
+
1: Set $m _ { 0 } = 0$ , $v _ { 0 } = 0$ and $\hat { v } _ { 0 } = 0$
|
| 598 |
+
2: for $t = 1$ to $T$ do
|
| 599 |
+
3: $g _ { t } = \nabla f _ { t } ( x _ { t } )$
|
| 600 |
+
4: $m _ { t } = \beta _ { 1 t } m _ { t - 1 } + ( 1 - \beta _ { 1 t } ) g _ { t }$
|
| 601 |
+
5: $v _ { t } = \beta _ { 2 } v _ { t - 1 } + ( 1 - \beta _ { 2 } ) g _ { t } ^ { 2 }$
|
| 602 |
+
6: $\hat { v } _ { t } = \operatorname* { m a x } ( \hat { v } _ { t - 1 } , v _ { t } )$ and $\bar { V } _ { t } = \mathrm { d i a g } ( \hat { v } _ { t } )$
|
| 603 |
+
7: $\eta = \mathrm { C l i p } ( \alpha / \sqrt { V _ { t } } , \eta _ { l } ( t ) , \eta _ { u } ( t ) )$ and $\eta _ { t } = \eta / \sqrt { t }$
|
| 604 |
+
8: $x _ { t + 1 } = \Pi _ { { \mathcal { F } } , \mathrm { d i a g } ( \eta _ { t } ^ { - 1 } ) } ( x _ { t } - \eta _ { t } \odot m _ { t } )$
|
| 605 |
+
9: end for
|
| 606 |
+
|
| 607 |
+
The regret of AMSBOUND has the same upper bound with that of ADABOUND.3
|
| 608 |
+
|
| 609 |
+
# G EMPIRICAL STUDY ON BOUND FUNCTIONS
|
| 610 |
+
|
| 611 |
+
Here we provide an empirical study on different kinds of bound functions. We consider the following two key factors of the bound function: convergence speed and convergence target. The former one affects how “fast” our algorithms transform from adaptive methods to SGD(M), while the latter one reflects the final step size of SGD(M). In particular, we consider the following bound functions:
|
| 612 |
+
|
| 613 |
+
$$
|
| 614 |
+
\begin{array} { c } { \displaystyle \eta _ { l } ( t ) = ( 1 - \frac { 1 } { ( 1 - \beta ) t + 1 } ) \alpha ^ { * } , } \\ { \displaystyle \eta _ { u } ( t ) = ( 1 + \frac { 1 } { ( 1 - \beta ) t } ) \alpha ^ { * } , } \end{array}
|
| 615 |
+
$$
|
| 616 |
+
|
| 617 |
+
where the above functions will converge to $\alpha ^ { * }$ and the larger $\beta$ results in lower convergence speed.
|
| 618 |
+
|
| 619 |
+

|
| 620 |
+
Figure 5: Test accuracy of ADABOUND with different $\beta$ using ResNet-34 on CIFAR-10.
|
| 621 |
+
|
| 622 |
+
We first investigate the impact of convergence speed. We conduct an experiment of ADABOUND on CIFAR-10 dataset with the ResNet-34 model, where $\beta$ is chosen in $\{ 1 ^ { \dot { \mathbf { \theta } } } - \textstyle { \frac { 1 } { 1 0 } } , 1 - \textstyle { \frac { 1 } { 5 0 } } , 1 - \textstyle { \frac { 1 } { 1 0 0 } } , 1 -$ $\textstyle { \frac { 1 } { 5 0 0 } } , 1 - { \frac { 1 } { 1 0 0 0 } } \}$ and $\alpha ^ { * }$ is chosen from $\{ 1 , 0 . 1 \}$ . The results are shown in Figure 5. We can see that for a specific $\alpha ^ { * }$ , the performances with different $\beta$ are almost the same . It indicates that the convergence speed of bound functions does not affect the final result to some extent. We find a $\beta$ in $[ \beta _ { 1 } , \beta _ { 2 } ]$ usually contributes to a strong performance across all models.
|
| 623 |
+
|
| 624 |
+
Next, we investigate the impact of convergence target and the results are displayed in Figure 6. We test SGDM and ADABOUND with different $\alpha$ (or $\alpha ^ { * }$ ) with the ResNet-34 model, where $\alpha$ (or $\alpha ^ { * }$ ) is chosen in $\{ 1 , 0 . 1 , 0 . 0 3 , 0 . 0 1 , 0 . 0 0 3 , 0 . 0 0 1 \}$ and $\beta = 0 . 9 9$ . The results show that SGDM is very sensitive to the hyperparameter. The best value of the step size for SGDM is 0.1 and it has large performance gaps compared with other settings. In contrast, ADABOUND has stable performance in different final step sizes, which illustrates that it is not sensitive to the convergence target.
|
| 625 |
+
|
| 626 |
+

|
| 627 |
+
Figure 6: Test accuracy of SGDM/ADABOUND with different $\alpha / \alpha ^ { * }$ using ResNet-34 on CIFAR-10. The result of SGDM with $\alpha = 1$ is not shown above as its performance is too poor (lower than $7 0 \%$ to be plotted together with other results in a single figure.
|
| 628 |
+
|
| 629 |
+

|
| 630 |
+
Figure 7: Comparison of test accuracy between SGDM and ADABOUND with different $\alpha / \alpha ^ { * }$ .
|
| 631 |
+
|
| 632 |
+
We further directly compare the performance between SGDM and ADABOUND with each $\alpha$ (or $\alpha ^ { * }$ ). The results are shown in Figure 7. We can see that ADABOUND outperforms SGDM for all the step sizes. Since the form of bound functions has minor impact on the performance of ADABOUND, it is likely to beat SGDM even without carefully tuning the hyperparameters.
|
| 633 |
+
|
| 634 |
+
To summarize, the form of bound functions does not much influence the final performance of the methods. In other words, ADABOUND is not sensitive to its hyperparameters. Moreover, it can achieve a higher or similar performance to SGDM even if it is not carefully fine-tuned. Therefore, we can expect a better performance by using ADABOUND regardless of the choice of bound functions.
|
| 635 |
+
|
| 636 |
+
# H EMPIRICAL STUDY ON THE EVOLUTION OF LEARNING RATES OVER TIME
|
| 637 |
+
|
| 638 |
+
Here we provide an empirical study on the evolution of learning rates of ADABOUND over time. We conduct an experiment using ResNet-34 model on CIFAR-10 dataset with the same settings in Section 5. We randomly choose two layers in the network. For each layer, the learning rates of its parameters are recorded at each time step. We pick the min/median/max values of the learning rates in each layer and plot them against epochs in Figure 8.
|
| 639 |
+
|
| 640 |
+
We can see that the learning rates increase rapidly in the early stage of training, then after a few epochs its max/median values gradually decrease over time, and finally converge to the final step size. The increasing at the beginning is due to the property of the exponential moving average of $\phi _ { t }$ of ADAM, while the gradually decreasing indicates the transition from ADAM to SGD.
|
| 641 |
+
|
| 642 |
+

|
| 643 |
+
Figure 8: The evolution of learning rates over time in two randomly chosen layers.
|
parse/train/Bkg3g2R9FX/Bkg3g2R9FX_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Bkg3g2R9FX/Bkg3g2R9FX_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/FrIDgjDOH1u/FrIDgjDOH1u.md
ADDED
|
@@ -0,0 +1,281 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Scaling Vision with Sparse Mixture of Experts
|
| 2 |
+
|
| 3 |
+
Carlos Riquelme ∗ Google Brain
|
| 4 |
+
|
| 5 |
+
Joan Puigcerver \* Google Brain
|
| 6 |
+
|
| 7 |
+
Basil Mustafa \* Google Brain
|
| 8 |
+
|
| 9 |
+
Maxim Neumann Google Brain
|
| 10 |
+
|
| 11 |
+
Rodolphe Jenatton Google Brain
|
| 12 |
+
|
| 13 |
+
André Susano Pinto Google Brain
|
| 14 |
+
|
| 15 |
+
Daniel Keysers Google Brain
|
| 16 |
+
|
| 17 |
+
Neil Houlsby Google Brain
|
| 18 |
+
|
| 19 |
+
# Abstract
|
| 20 |
+
|
| 21 |
+
Sparsely-gated Mixture of Experts networks (MoEs) have demonstrated excellent scalability in Natural Language Processing. In Computer Vision, however, almost all performant networks are “dense”, that is, every input is processed by every parameter. We present a Vision MoE (V-MoE), a sparse version of the Vision Transformer, that is scalable and competitive with the largest dense networks. When applied to image recognition, V-MoE matches the performance of state-ofthe-art networks, while requiring as little as half of the compute at inference time. Further, we propose an extension to the routing algorithm that can prioritize subsets of each input across the entire batch, leading to adaptive per-image compute. This allows V-MoE to trade-off performance and compute smoothly at test-time. Finally, we demonstrate the potential of V-MoE to scale vision models, and train a 15B parameter model that attains $9 0 . 3 5 \%$ on ImageNet.
|
| 22 |
+
|
| 23 |
+
# 1 Introduction
|
| 24 |
+
|
| 25 |
+
Deep learning historically shows that increasing network capacity and dataset size generally improves performance. In computer vision, large models pre-trained on large datasets often achieve the state of the art [57, 50, 36, 20, 3]. This approach has had even more success in Natural Language Processing (NLP), where large pre-trained models are ubiquitous, and perform very well on many tasks [48, 18]. Text Transformers [61] are the largest models to date, some with over 100B parameters [9]. However, training and serving such models is expensive [56, 46]. This is partially because these deep networks are typically “dense”– every example is processed using every parameter –thus, scale comes at high computational cost. In contrast, conditional computation [5] aims to increase model capacity while keeping the training and inference cost roughly constant by applying only a subset of parameters to each example. In NLP, sparse Mixture of Experts (MoEs) are gaining popularity [54, 39, 22], enabling training and inference with fewer resources while unlocking trillion parameter models.
|
| 26 |
+
|
| 27 |
+
In this work, we explore conditional computation for vision at scale. We introduce the Vision MoE (V-MoE), a sparse variant of the recent Vision Transformer (ViT) architecture [20] for image classification. The V-MoE replaces a subset of the dense feedforward layers in ViT with sparse MoE layers, where each image patch is “routed” to a subset of “experts” (MLPs). Due to unique failure modes and non-differentiability, routing in deep sparse models is challenging. We explore various design choices, and present an effective recipe for the pre-training and transfer of V-MoE, notably outperforming their dense counterparts. We further show that V-MoE models are remarkably flexible. The performance vs. inference-cost trade-off of already trained models can be smoothly adjusted during inference by modulating the sparsity level with respect to the input and/or the model weights. Also, we open-source our implementation and a number of V-MoE models trained on ImageNet-21k.2
|
| 28 |
+
|
| 29 |
+

|
| 30 |
+
Figure 1: Overview of the architecture. V-MoE is composed of $L$ ViT blocks. In some, we replace the MLP with a sparsely activated mixture of MLPs. Each MLP (the expert) is stored on a separate device, and processes a fixed number of tokens. The communication of these tokens between devices = expert uses a capacity ratio C = 43 : the sparse MoE layer receives 12 tokens per device, but each is shown in this example, which depicts the case when $k = 1$ expert is selected per token. Here each expert has capacity for 16 ( $\textstyle \frac { 1 6 \cdot 1 } { 1 2 } = \frac { 4 } { 3 }$ ; see Section 2.4). Non-expert components of V-MoE such as routers, attention layers and normal MLP blocks are replicated identically across devices.
|
| 31 |
+
|
| 32 |
+
With V-MoE, we can scale to model sizes of 15B parameters, the largest vision models to date. We match the performance of state-of-the-art dense models, while requiring fewer time to train. Alternatively, V-MoE can match the cost of ViT while achieving better performance. To help control this tradeoff, we propose Batch Prioritized Routing, a routing algorithm that repurposes model sparsity to skip the computation of some patches, reducing compute on uninformative image regions.
|
| 33 |
+
|
| 34 |
+
We summarize our main contributions as follows:
|
| 35 |
+
|
| 36 |
+
Vision models at scale. We present the Vision Mixture of Experts, a distributed sparsely-activated Transformer model for vision. We train models with up to $2 4 \mathrm { M o E }$ layers, 32 experts per layer, and almost 15B parameters. We show that these models can be stably trained, seamlessly used for transfer, and successfully fine-tuned with as few as 1 000 datapoints. Moreover, our largest model achieves $9 0 . 3 5 \%$ test accuracy on ImageNet when fine-tuned.
|
| 37 |
+
|
| 38 |
+
Performance and inference. We show V-MoEs strongly outperform their dense counterparts on upstream, few-shot and full fine-tuning metrics in absolute terms. Moreover, at inference time, the V-MoE models can be adjusted to either (i) match the largest dense model’s performance while using as little as half the compute, or actual runtime, or (ii) significantly outperform it at the same cost.
|
| 39 |
+
|
| 40 |
+
Batch Prioritized Routing. We propose a new priority-based routing algorithm that allows V-MoEs to discard the least useful patches. Thus, we devote less compute to each image. In particular, we show V-MoEs match the performance of the dense models while saving $20 \%$ of the training FLOPs. Analysis. We provide some visualization of the routing decisions, revealing patterns and conclusions which helped motivate design decisions and may further improve understanding in the field.
|
| 41 |
+
|
| 42 |
+
# 2 The Vision Mixture of Experts
|
| 43 |
+
|
| 44 |
+
We first describe MoEs and sparse MoEs. We then present how we apply this methodology to vision, before explaining our design choices for the routing algorithm and the implementation of V-MoEs.
|
| 45 |
+
|
| 46 |
+
# 2.1 Conditional Computation with MoEs
|
| 47 |
+
|
| 48 |
+
Conditional computation aims at activating different subsets of a network for different inputs [5]. A mixture-of-experts model is a specific instantiation whereby different model “experts” are responsible for different regions of the input space [31].
|
| 49 |
+
|
| 50 |
+
We follow the setting of [54], who present for deep learning a mixture of experts layer with $E$ experts as $\begin{array} { r } { \mathrm { M o E } ( \mathbf { x } ) = \sum _ { i = 1 } ^ { E } g ( \mathbf { x } ) _ { i } e _ { i } ( \mathbf { x } ) } \end{array}$ where $\mathbf { x } \in \mathbb { R } ^ { D }$ is the input to the layer, $\boldsymbol { e } _ { i } : \mathbb { R } ^ { \boldsymbol { \bar { D } } } \mapsto \mathbb { R } ^ { D }$ the function computed by expert $i$ , and $g : \mathbb { R } ^ { D } \mapsto \mathbb { R } ^ { E }$ is the “routing” function which prescribes the input-conditioned weight for the experts. Both $e _ { i }$ and $g$ are parameterized by neural networks. As defined, this is still a dense network. However, if $g$ is sparse, i.e., restricted to assign only $k \ll E$ non-zero weights, then unused experts need not be computed. This unlocks super-linear scaling of the number of model parameters with respect to inference and training compute.
|
| 51 |
+
|
| 52 |
+
# 2.2 MoEs for Vision
|
| 53 |
+
|
| 54 |
+
We explore the application of sparsity to vision in the context of the Vision Transformer (ViT) [20]. ViT has been shown to scale well in the transfer learning setting, attaining better accuracies than CNNs with less pre-training compute. ViT processes images as a sequence of patches. An input image is first divided into a grid of equal-sized patches. These are linearly projected to the Transformer’s [61] hidden size. After adding positional embeddings, the patch embeddings (tokens) are processed by a Transformer, which consists predominately of alternating self-attention and MLP layers.
|
| 55 |
+
|
| 56 |
+
The MLPs have two layers and a GeLU [29] non-linearity: $\mathrm { M L P } ( \mathbf { x } ) = \mathbf { W } _ { \mathrm { 2 } } \ \sigma _ { \mathrm { g e l u } } ( \mathbf { W } _ { \mathrm { 1 } } \mathbf { x } )$ . For Vision MoE, we replace a subset of these with MoE layers, where each expert is an MLP; see Figure 1. The experts have the same architecture $e _ { i } ( { \bf x } ) = \mathrm { M L P } _ { \theta _ { i } } ( { \bf x } )$ but with different weights $\theta _ { i } = \left( \mathbf { W } _ { 1 } ^ { i } , \mathbf { W } _ { 2 } ^ { i } \right)$ . =This follows a similar design pattern as the M4 machine translation model [39].
|
| 57 |
+
|
| 58 |
+
# 2.3 Routing
|
| 59 |
+
|
| 60 |
+
For each MoE layer in V-MoE, we use the routing function $g ( \mathbf { x } ) \mathbf { \Psi } = \mathrm { T O P } _ { k }$ softmax $\left( \mathbf { W } \mathbf { x } + \epsilon \right)$ , where $\mathrm { T O P } _ { k }$ is an operation that sets all elements of the vector to zero except the elements with the largest $k$ values, and $\epsilon$ is sampled independently $\epsilon \sim \mathcal { N } ( 0 , \frac { 1 } { E ^ { 2 } } )$ entry-wise. In practice, we use $k = 1$ or $k = 2$ . In the context of the Vision Transformer, $\mathbf { x }$ =is a representation of an image token at some =layer of the network. Therefore, V-MoE routes patch representations, not entire images.
|
| 61 |
+
|
| 62 |
+
The difference between previous formulations [54] is that we apply $\mathrm { T O P } _ { k }$ after the softmax over experts weights [39], instead of before. This allows us to train with $k = 1$ (otherwise gradients with respect to routings are zero almost everywhere) and also performs better for $k > 1$ (see Appendix A).
|
| 63 |
+
|
| 64 |
+
Finally, we add a small amount of noise with standard deviation $\frac { 1 } { E }$ to the activations $\mathbf { W } \mathbf { x }$ . We empirically found this performed well but that the setup was robust to this parameter. The noise typically altered routing decisions ${ \sim } 1 5 \%$ of the time in earlier layers, and ${ \sim } 2 { - } 3 \%$ in deeper layers.
|
| 65 |
+
|
| 66 |
+
# 2.4 Expert’s Buffer Capacity
|
| 67 |
+
|
| 68 |
+
During training, sparse models may favor only a small set of experts [26, 52]. This common failure mode can cause two problems. First, statistical inefficiency: in the limit of collapse to a single expert, the model is no more powerful than a dense model. Second, computational inefficiency: imbalanced assignment of items to experts may lead to a poor hardware utilization.
|
| 69 |
+
|
| 70 |
+
To combat imbalance and simplify our implementation, we fix the buffer capacity of each expert (i.e. the number of tokens that each expert processes), and train our model with auxiliary losses that encourage load balancing. This is essentially the same approach as followed by [54, 39, 22]. In our case, we use slight variants of two of the auxiliary losses proposed in [54], as described in Appendix A.
|
| 71 |
+
|
| 72 |
+
We define the buffer capacity of an expert $( B _ { e } )$ as a function of the number of images in the batch number of experts $( N )$ , the number of tokens per image $( E )$ , and the capacity ratio $( P )$ , the number of selected experts per token $( C )$ : $B _ { e } =$ round $\textstyle \left( { \frac { k N P C } { E } } \right)$ . $( k )$ , the total
|
| 73 |
+
|
| 74 |
+
If the router assigns more than $B _ { e }$ tokens to a given expert, only $B _ { e }$ of them are processed. The remaining tokens are not entirely ‘lost’ as their information is preserved by residual connections (the top diagram of Figure 1). Also, if $k > 1$ , several experts try to process each token. Tokens are never >fully discarded. If an expert is assigned fewer than $B _ { e }$ tokens, the rest of its buffer is zero-padded.
|
| 75 |
+
|
| 76 |
+
We use the capacity ratio to adjust the capacity of the experts. With $C > 1$ , a slack capacity is added to account for a potential routing imbalance. This is typically useful for fine-tuning when the new data might come from a very different distribution than during upstream training. With $C < 1$ , the router is forced to ignore some assignments. In Section 4 we propose a new algorithm that takes advantage of setting $C \ll 1$ to discard the least useful tokens and save compute during inference.
|
| 77 |
+
|
| 78 |
+
# 3 Transfer Learning
|
| 79 |
+
|
| 80 |
+
In this section, we first present training different variants of V-MoE on a large dataset (Section 3.2) in order to be used for Transfer Learning afterwards. The ability to easily adapt our massive models to new tasks, using a small amount of data from the new task, is extremely valuable: it allows to amortize the cost of pre-training across multiple tasks. We consider two different approaches to Transfer Learning: linear few-shot learning on fixed representations and full fine-tuning of the model.
|
| 81 |
+
|
| 82 |
+
# 3.1 Models
|
| 83 |
+
|
| 84 |
+
We build V-MoE on different variants of ViT [20]: ViT-S(mall), ViT-B(ase), ViT-L(arge) and ViTH(uge), the hyperparameters of which are described in Appendix B.5. There are three additional major design decisions that affect the cost (and potentially the quality) of our model:
|
| 85 |
+
|
| 86 |
+
Number of MoE layers. Following [39], we place the MoEs on every other layer (we refer to these as V-MoE Every-2). In addition, we experimented with using fewer MoE layers, by placing them on the last- $\boldsymbol { n }$ even blocks (thus we dub these V-MoE Last-n). In Appendix E.1 we observe that, although using fewer MoE layers decreases the number of parameters of the model, it has typically little impact on quality and can speed-up the models significantly, since less communication overhead is incurred.
|
| 87 |
+
|
| 88 |
+
Number of selected experts $k$ : The cost of our model does not depend on the total number of experts but the number of selected ones per token. Concurrent works in NLP fix $k = 1$ [22] or $k = 2$ [54, 39]. In our case, we use by default $k = 2$ (see Figure 10 in Appendix B for the exploration of different values of $k$ ), while we found the total number of experts $E = 3 2$ to be the sweet spot in our setting.
|
| 89 |
+
|
| 90 |
+
Buffer capacity $C$ : As mentioned in Section 2.4, we use a fixed buffer capacity. While this is typically regarded as a downside or engineering difficulty to implement these models, we can adjust the capacity ratio to control different trade-offs. We can intentionally set it to a low ratio to save compute, using Batch Prioritized Routing (see Section 4). During upstream training, we set $C = 1 . 0 5$ by default to give a small amount of slack without increasing the cost noticeably.
|
| 91 |
+
|
| 92 |
+
Note that for a given trained model, the latter two— $k$ and $C$ —can be adjusted without further training, whereas the positioning and quantity of expert layers is effectively fixed to match pre-training.
|
| 93 |
+
|
| 94 |
+
# 3.2 Data
|
| 95 |
+
|
| 96 |
+
We pre-train our models on JFT-300M [57], a semi-automatically noisy-labeled dataset. It has $\sim 3 0 5 \mathrm { M }$ training and 50 000 validation images, organised in a hierarchy of 18 291 classes (average 1.89 labels per image). We deduplicate it with respect to all our validation/test sets as in previous efforts [36].3
|
| 97 |
+
|
| 98 |
+
Our few-shot experiments on ImageNet (i.e. ILSVRC2012) use only 1, 5, or 10 shots per class to adapt the upstream model, evaluating the resulting model on the validation set.
|
| 99 |
+
|
| 100 |
+
We also fine-tuned the pre-trained models on the full training set (ca. 1M images). We report performance in a similar regime for four other datasets in Appendix B.5. Lastly, we explore the ability to fine-tune our large models in the low-data regime by evaluating them on the Visual Task Adaptation Benchmark (VTAB) [69], a diverse suite of 19 tasks with only 1 000 data points per task. As well as natural image classification, VTAB includes specialized tasks (e.g. medical or satellite imagery) and structured tasks (e.g. counting or assessing rotation/distance).
|
| 101 |
+
|
| 102 |
+
# 3.3 Upstream results
|
| 103 |
+
|
| 104 |
+
JFT is a multilabel dataset, so we measure model performance via precision $@ 1$ (see Appendix B.6 for details). Note that as in previous works [20], hyperparameters were tuned for transfer performance, and JFT precision could be improved at the expense of downstream tasks e.g. by reducing weight decay. Figure 2a shows the quality of different V-MoE and ViT variants with respect to total training compute and time. It shows models that select $k = 2$ experts and place MoEs in the last $n$ even blocks $\hslash = 5$ for V-MoE-H, $n = 2$ otherwise), but the best results are achieved by V-MoE-H/14 Every-2 (see Table 2, 14 is the patch size). L/16’s are trained for 7 or 14 epochs. See Appendix B.5 for all results.
|
| 105 |
+
|
| 106 |
+

|
| 107 |
+
Figure 2: JFT-300M Precision $@ 1$ and ImageNet 5-shot accuracy. Colors represent different ViT variants, markers represent either standard ViT or V-MoEs on the last $n$ even blocks. The lines represent the Pareto frontier of ViT (dashed) and V-MoE (solid) variants.
|
| 108 |
+
|
| 109 |
+

|
| 110 |
+
Figure 3: ImageNet Fine-Tuning Accuracy. Colors represent different VIT variants, markers represent either standard ViT or V-MoEs on the last $n$ even blocks. Lines show the Pareto frontier of VIT (dashed) and V-MoE (solid).
|
| 111 |
+
|
| 112 |
+
Table 1: VTAB. Scores and $9 5 \%$ confidence intervals for ViT and V-MoE.
|
| 113 |
+
|
| 114 |
+
<table><tr><td>ViT</td><td>V-MoE</td></tr><tr><td>L/16 76.3±0.5</td><td>77.2±0.4</td></tr><tr><td>H/14 77.6±0.2</td><td>77.8±0.4</td></tr></table>
|
| 115 |
+
|
| 116 |
+
Expert models provide notable gains across all model sizes, for only a mild increase in FLOPs, establishing a new Pareto frontier (gray lines). Alternatively, we can match or improve performance of ViT models at lower cost (e.g. V-MoE-L/16 improves upon ViT-H/14). Similar conclusions hold for training time, which includes communication overhead of dispatching data across devices.
|
| 117 |
+
|
| 118 |
+
# 3.4 Linear few-shot results
|
| 119 |
+
|
| 120 |
+
We evaluate the quality of the representations learned using few-shot linear transfer. Given training examples from the new dataset $\{ ( X , Y ) _ { i } \}$ , we use the pre-trained model $\mathcal { M }$ to extract a fixed representation $\mathcal { M } ( x _ { i } )$ of each image. We fit a linear regression model mapping $\mathcal { M } ( x _ { i } )$ to the one-hot encoding of the target labels $Y _ { i }$ , following [20] (see [27, Chapter 5] for background).
|
| 121 |
+
|
| 122 |
+
Figure 2b shows that the upstream gains are preserved under 5-shot ImageNet evaluation, considering both compute and time; in other words, the quality of the representations learned by V-MoE also outperforms ViT models when looking at a new task. Table 2 further shows the results on $\{ 1 , 1 0 \}$ -shot for some selected models, and the full detailed results are available in Appendix B.5.
|
| 123 |
+
|
| 124 |
+
# 3.5 Full fine-tuning results
|
| 125 |
+
|
| 126 |
+
The typically most performant approach for Transfer Learning [19] consists of replacing the upstream classification head with a new task-specific one and fine-tuning the whole model. Though one may expect that massive models like V-MoEs require special handling for fine-tuning, we broadly follow the standard fine-tuning protocol for Vision Transformers. We use the auxiliary loss during fine-tuning as well, although we observe that it is often not needed in this step, as the router is already well trained. We explore the two sets of tasks considered therein:
|
| 127 |
+
|
| 128 |
+

|
| 129 |
+
Figure 4: White patches are discarded tokens in the first layer of experts, for different capacities, using Batch Prioritized Routing (Section 4.1) with a V-MoE-H/14. See Appendix D for more examples.
|
| 130 |
+
|
| 131 |
+
Full data. We follow the setup of [20], except that we apply a dropout rate of 0.1 on the expert MLPs (as done in [22]), and we halve the number of fine-tuning steps for all datasets other than ImageNet. Figure 3 shows the results on ImageNet (averaged over three runs). Here, V-MoE also performs better than dense counterparts, though we suspect the fine-tuning protocol could be further improved and tailored to the sparse models. See Table 8 for all details, including results on other datasets.
|
| 132 |
+
|
| 133 |
+
Low-data regime. On the VTAB benchmark, we use a similar setup and hyperparameter budget as [20] (but fine-tune with half the schedule length). Table 1 shows that, while performance is similar for V-MoE-H/14, experts provide significant gains at the ViT-L/16 level, indicating that despite the large size of these models, they can still be fine-tuned with small amounts of data and no further tricks.
|
| 134 |
+
|
| 135 |
+
# 3.6 Scaling up V-MoE
|
| 136 |
+
|
| 137 |
+
Finally, we test how well V-MoE can scale vision models to a very large number of parameters, while continuing to improve performance. For this, we increase the size of the model and use a larger pre-training dataset: JFT-3B is a larger version of JFT-300M, it contains almost 3B images and is noisily annotated with 30k classes. Inspired by [68], we apply the changes detailed in Appendix B.3, and train a 48-block V-MoE model, with every-2 expert placement (32 experts and $k = 2$ ), resulting in a model with 14.7B parameters, which we denote by V-MoE-15B.
|
| 138 |
+
|
| 139 |
+
We successfully train V-MoE-15B, which is, as far as we are aware, the largest vision model to date. It has an impressive $8 2 . 7 8 \%$ accuracy on 5-shot ImageNet and $9 0 . 3 5 \%$ when fully fine-tuned, as shown in Appendix B.5, which also includes more details about the model. Training this model required $1 6 . 8 \mathrm { k }$ TPUv3-core-days. To contextualize this result, the current state of the art on ImageNet is Meta Pseudo-Labelling (MPL) [49]. MPL trains an EfficientNet-based model on unlabelled JFT-300M using ImageNet pseudo-labelling, achieving $9 0 . 2 \%$ while requiring $2 2 . 5 \mathrm { k }$ TPUv3-core-days.
|
| 140 |
+
|
| 141 |
+
# 4 Skipping Tokens with Batch Prioritized Routing
|
| 142 |
+
|
| 143 |
+
We present a new routing algorithm that allows the model to prioritize important tokens (corresp. patches). By simultaneously reducing the capacity of each expert, we can discard the least useful tokens. Intuitively, not every patch is equally important to classify a given image, e.g., most background patches can be dropped to let the model only focus on the ones with the relevant entities.
|
| 144 |
+
|
| 145 |
+
# 4.1 From Vanilla Routing to Batch Prioritized Routing
|
| 146 |
+
|
| 147 |
+
With the notation from Section 2, the routing function $\mathbf { X } \in \mathbb { R } ^ { N \cdot P \times D }$ . A batch contains $N$ images composed of $P$ $g$ is applied row-wise to a batch of inputs tokens each; each row of $\mathbf { X }$ corresponds to the $D$ -dimensional representation of a particular token of an image. Accordingly, $g ( \mathbf { X } ) _ { t , i } \in \mathbb { R }$ denotes the routing weight for the $t$ -th token and the $i$ -th expert.
|
| 148 |
+
|
| 149 |
+

|
| 150 |
+
Figure 5: Reducing compute with priority routing. Performance vs. inference FLOPs for large models. V-MoEs with the original vanilla routing are represented by $\bullet$ , while $\mid$ shows V-MoEs where BPR and a mix of $C \in \{ 0 . 6 , 0 . 7 , 0 . 8 \}$ and $k \in \{ 1 , 2 \}$ are used to reduce compute. ViT models shown as $\mathbf { x }$ .
|
| 151 |
+
|
| 152 |
+

|
| 153 |
+
Figure 6: Priority routing works where vanilla fails. Performance vs. inference capacity ratio for a V-MoE-H/14 model with $k = 2$ . Even for large $C$ ’s BPR outperforms vanilla; at low $C$ the difference is stark. BPR is competitive with dense by processing only $1 5 { - } 3 0 \%$ of the tokens.
|
| 154 |
+
|
| 155 |
+
In all routing algorithms considered, for $i < j$ , every TOP- $i$ assignment has priority over any TOP- $j$ <assignment. The router first tries to dispatch all $i ^ { \mathrm { { t h } } }$ expert choices before assigning any $j ^ { \mathrm { t h } }$ choice4.
|
| 156 |
+
|
| 157 |
+
Given the TOP- $\cdot i$ position, the default—or vanilla—routing, as used in [54, 39, 22], assigns tokens to experts as follows. It sequentially goes over the rows of $g ( \mathbf { X } )$ and assigns each token to its TOP- $i$ expert when the expert’s buffer is not full. As a result, priority is given to tokens depending on the rank of their corresponding row. While images in a batch are randomly ordered, tokens within an image follow a pre-defined fixed order. The algorithm is detailed in Algorithm 1 of Appendix C.
|
| 158 |
+
|
| 159 |
+
Batch Prioritized Routing (BPR). To favour the “most important” tokens, we propose to compute a priority score $s ( \mathbf { x } )$ on each token, and sort $g ( \mathbf { X } )$ accordingly before proceeding with the allocation. We sort tokens based on their maximum routing weight, formally $s ( \mathbf { \bar { X } } ) _ { t } = \operatorname* { m a x } _ { i } g ( \mathbf { X } ) _ { t , i }$ . The sum of TOP- $k$ weights, i.e. $s ( \mathbf { X } ) _ { t } = \sum _ { i } g ( \mathbf { X } ) _ { t , i }$ =, worked equally well. These two simple approaches =outperformed other options we explored, e.g., directly parameterising and learning the function $s$ .
|
| 160 |
+
|
| 161 |
+
We reuse the router outputs as a proxy for the priority of allocation. Our experiments show this preserves the performant predictive behaviour of the model, even though the router outputs primarily encode how well tokens and experts can be paired, not the token’s “importance” for the final classification task. Figure 4 visualizes token prioritisation with Batch Prioritized Routing for increasingly small capacities. Since all tokens across all images in the batch $\mathbf { X }$ compete with each other, different images may receive different amounts of compute. We summarize BPR in Algorithm 2, in Appendix C.
|
| 162 |
+
|
| 163 |
+
# 4.2 Skip tokens with low capacity $C$
|
| 164 |
+
|
| 165 |
+
Batch Prioritized Routing opens the door to reducing the buffer size by smartly selecting which tokens to favor. This can have a dramatic impact in the computational cost of the overall sparse model. We discuss now inference and training results with $C$ defined in Section 2.4 in the regime $C \ll 1$ .
|
| 166 |
+
|
| 167 |
+
At inference time. Prioritized routing is agnostic to how the model was originally trained. Figure 6 shows the effect of reducing compute at inference time by using BPR versus vanilla routing, on a V-MoE-H/14 model trained using vanilla routing. The difference in performance between both methods is remarkable —especially for $C \leq 0 . 5$ , where the model truly starts fully dropping tokens, as $k = 2$ . Also, BPR allows the model to be competitive with the dense one even at quite low capacities. =As shown in Figure 5 for V-MoE-L/16 and V-MoE-H/14, Batch Prioritized Routing and low $C$ allow V-MoE to smoothly trade-off performance and FLOPS at inference time, quite a unique model feature. More concretely, Table 10 shows V-MoE models can beat the dense VIT-H performance by using less than half the FLOPs and less than $60 \%$ of the runtime. Conversely, we can match the inference FLOPs cost and preserve a one-point accuracy gain in ImageNet/5shot and almost three-point in JFT precision at one (Table 11). Dense models generally require less runtime for the same amount of FLOPs due to the data transfer involved in the V-MoE implementation.
|
| 168 |
+
|
| 169 |
+

|
| 170 |
+
Figure 7: Deeper routing decisions correlate with image classes. We show $4 ~ \mathrm { M o E }$ layers of a V-MoE-H/14. The $x$ -axis corresponds to the 32 experts in a layer. The $y$ -axis are the 1 000 ImageNet classes; orderings for both axes are different across plots. For each pair (expert $e$ , class $c$ ) we show the average routing weight for the tokens corresponding to all images with class $c$ for that particular expert $e$ . Figure 29 includes all the remaining layers; see Appendix E.2 for details.
|
| 171 |
+
|
| 172 |
+
At training time. Batch Prioritized Routing can also be leveraged during training. In Appendix C we show how expert models with max-weight routing can match the dense performance while saving around $20 \%$ of the total training FLOPs, and strongly outperform vanilla with a similar FLOP budget.
|
| 173 |
+
|
| 174 |
+
# 5 Model Analysis
|
| 175 |
+
|
| 176 |
+
Although large-scale sparse MoEs have led to strong performance [22, 39, 54], little is known and understood about how the internals of those complex models work. We argue that such exploratory experiments can inform the design of new algorithms. In this section, we provide the first such analysis at this scale, which guided the development of the algorithms presented in the paper.
|
| 177 |
+
|
| 178 |
+
Specialized experts. Intuitively, routers should learn to distribute images across experts based on their similarity. For instance, if the model had three experts, and the task mainly involved three categories—say animals, cars, and buildings—one would expect an expert to specialize in each of those. We test this intuition, with some obvious caveats: (a) experts are placed at several network depths, (b) $k$ experts are combined, and (c) routing happens at the token rather than the image level.
|
| 179 |
+
|
| 180 |
+
Figure 7 illustrates how many images of a given ImageNet class use each expert. The plots were produced by running a fine-tuned V-MoE-H Every-2 model. Interestingly, we saw similar patterns with the upstream model without fine-tuning. Experts specialize in discriminating between small sets of classes (those primarily routed through the expert). In earlier MoE layers we do not observe this. Experts may instead focus on aspects common to all classes (background, basic shapes, colours) - for example, Figure 30 (Appendix E) shows correlations with patch location in earlier layers.
|
| 181 |
+
|
| 182 |
+
The value of routers. After training a sparse MoE, it is natural to study the usefulness of the learned routers, in the light of several pitfalls. For example, the routers may just act as a load balancer if experts end up learning very similar functions, or the routers may simply choose poor assignments. In Appendix E.1, we replace, after training, one router at a time with a uniformly random router. The models are robust to early routing changes while more sensitive to the decisions in the last layers.
|
| 183 |
+
|
| 184 |
+
Routing weights distributions. We analyse the router outputs in Appendix E.3, and observe the distribution of selected weights varies wildly across different mixture of experts layers.
|
| 185 |
+
|
| 186 |
+
Changing $k$ at inference time. We have observed expert models are remarkably flexible. Somewhat surprisingly, sparse models are fairly robust to mismatches between their training and inference configurations. In Appendix E.4, we explore the effect of training with some original value of $k$ while applying the model at inference time with a different $\boldsymbol { k } ^ { \prime } \neq \boldsymbol { k }$ . This can be handy to control (decrease ≠or increase) the amount of FLOPs per input in a particular production system.
|
| 187 |
+
|
| 188 |
+
# 6 Related work
|
| 189 |
+
|
| 190 |
+
Conditional Computation. To grow the number of model parameters without proportionally increasing the computational cost, conditional computation [5, 15, 12] only activates some relevant parts of the model in an input-dependent fashion, like in decision trees [7]. In deep learning, the activation of portions of the model can use stochastic neurons [6] or reinforcement learning [4, 17, 53].
|
| 191 |
+
|
| 192 |
+
Mixture of Experts. MoEs [31, 34, 10, 66] combine the outputs of sub-models known as experts via a router in an input-dependent way. MoEs have successfully used this form of conditional computation in a range of applications [23, 30, 58, 55, 67]. An input can select either all experts [21] or only a sparse mixture thereof as in recent massive language models [54, 39, 22].
|
| 193 |
+
|
| 194 |
+
MoEs for Language. MoEs have recently scaled language models up to trillions of parameters. Our approach is inspired by [54] who proposed a top- $k$ gating in LSTMs, with auxiliary losses ensuring the expert balance [26]. [39] further scaled up this approach for transformers, showing strong gains for neural machine translation. With over one trillion parameters and one expert per input, [22] sped up pre-training compared to a dense baseline [50] while showing gains thanks to transfer and distillation. [40] alternatively enforced a balanced routing by solving a linear assignment problem.
|
| 195 |
+
|
| 196 |
+
MoEs for Vision. For computer vision, previous work on MoEs [21, 2, 25, 1, 63, 47, 64] focused on architectures whose scale is considerably smaller than that of both language models and our model. In DeepMoE [63], the “experts” are the channels of convolutional layers that are adaptively selected by a multi-headed sparse gate. This is similar to [64] where the kernels of convolutional layers are activated on a per-example basis. Other approaches use shallow MoEs, learning a single router, either disjointly [25] or jointly [2], together with CNNs playing the role of experts. [1] further have a cost-aware procedure to bias the assignments of inputs across the experts. Unlike shallow MoEs, we operate with up to several tens of routing decisions per token along the depth of the model. Scaling up routing depth was marked as a major challenge in [51], which we successfully tackle in our work.
|
| 197 |
+
|
| 198 |
+
# 7 Conclusions
|
| 199 |
+
|
| 200 |
+
We have employed sparse conditional computation to train some of the largest vision models to date, showing significant improvements in representation learning and transfer learning. Alongside V-MoE, we have proposed Batch Prioritized Routing, which allows successful repurposing of model sparsity to introduce sparsity with respect to the inputs. This can be done without further adapting the model, allowing the re-use of trained models with sparse conditional computation.
|
| 201 |
+
|
| 202 |
+
This has interesting connotations for recent work in NLP using sparse models; recent analysis shows model sparsity is the most promising way to reduce model $\mathrm { C O } _ { 2 }$ emissions [46] and that $90 \%$ of the footprint stems from inference costs — we present an algorithm which takes the most efficient models and makes them even more efficient without any further model adaptation.
|
| 203 |
+
|
| 204 |
+
This is just the beginning of conditional computation at scale for vision; extensions include scaling up the expert count, reducing dependency on data and improving transfer of the representations produced by sparse models. Directions relating to heterogeneous expert architectures and conditional variable-length routes should also be fruitful. We expect increasing importance of sparse model scaling, especially in data rich domains such as large scale multimodal or video modeling.
|
| 205 |
+
|
| 206 |
+
# Acknowledgments and Disclosure of Funding
|
| 207 |
+
|
| 208 |
+
We thank Alex Kolesnikov, Lucas Beyer and Xiaohua Zhai for providing continuous help and details about scaling ViT models; Alexey Dosovitskiy, who provided some of the pre-trained ViT models; Ilya Tolstikhin, who suggested placing experts only in the last layers; Josip Djolonga for his early review of the manuscript; Dmitry Lepikhin for providing details about the original GShard implementation; Barret Zoph and Liam Fedus for insightful comments and feedback; James Bradbury, Blake Hechtman and the rest of JAX and TPU team who helped us running our models efficiently, and many others from Google Brain for their support.
|
| 209 |
+
|
| 210 |
+
# References
|
| 211 |
+
|
| 212 |
+
[1] A. Abbas and Y. Andreopoulos. Biased mixtures of experts: Enabling computer vision inference under data transfer limitations. IEEE Trans. Image Processing, 29:7656–7667, 2020.
|
| 213 |
+
[2] K. Ahmed, M. H. Baig, and L. Torresani. Network of experts for large-scale image categorization. In ECCV, 2016.
|
| 214 |
+
[3] A. Arnab, M. Dehghani, G. Heigold, C. Sun, M. Luciˇ c, and C. Schmid. ViViT: A video vision ´ transformer. arXiv preprint arXiv:2103.15691, 2021.
|
| 215 |
+
[4] E. Bengio, P.-L. Bacon, J. Pineau, and D. Precup. Conditional computation in neural networks for faster models. arXiv preprint arXiv:1511.06297, 2015.
|
| 216 |
+
[5] Y. Bengio. Deep learning of representations: Looking forward. In International Conference on Statistical Language and Speech Processing, pages 1–37, 2013.
|
| 217 |
+
[6] Y. Bengio, N. Léonard, and A. Courville. Estimating or propagating gradients through stochastic neurons for conditional computation. arXiv preprint arXiv:1308.3432, 2013.
|
| 218 |
+
[7] L. Breiman, J. Friedman, C. J. Stone, and R. A. Olshen. Classification and regression trees. CRC press, 1984.
|
| 219 |
+
[8] A. Brock, S. De, S. L. Smith, and K. Simonyan. High-performance large-scale image recognition without normalization. arXiv preprint arXiv:2102.06171, 2021.
|
| 220 |
+
[9] T. B. Brown, B. Mann, N. Ryder, M. Subbiah, J. Kaplan, P. Dhariwal, A. Neelakantan, P. Shyam, G. Sastry, A. Askell, et al. Language models are few-shot learners. arXiv preprint arXiv:2005.14165, 2020.
|
| 221 |
+
[10] K. Chen, L. Xu, and H. Chi. Improved learning algorithms for mixture of experts in multiclass classification. Neural networks, 12(9):1229–1252, 1999.
|
| 222 |
+
[11] G. Cheng, J. Han, and X. Lu. Remote sensing image scene classification: Benchmark and state of the art. Proceedings of the IEEE, 105(10):1865–1883, Oct 2017.
|
| 223 |
+
[12] K. Cho and Y. Bengio. Exponentially increasing the capacity-to-computation ratio for conditional computation in deep learning. arXiv preprint arXiv:1406.7362, 2014.
|
| 224 |
+
[13] M. Cimpoi, S. Maji, I. Kokkinos, S. Mohamed, and A. Vedaldi. Describing textures in the wild. In Computer Vision and Pattern Recognition (CVPR), 2014.
|
| 225 |
+
[14] E. D. Cubuk, B. Zoph, J. Shlens, and Q. Le. Randaugment: Practical automated data augmentation with a reduced search space. In H. Larochelle, M. Ranzato, R. Hadsell, M. F. Balcan, and H. Lin, editors, Advances in Neural Information Processing Systems, 2020.
|
| 226 |
+
[15] A. Davis and I. Arel. Low-rank approximations for conditional feedforward computation in deep neural networks. arXiv preprint arXiv:1312.4461, 2013.
|
| 227 |
+
[16] J. Deng, W. Dong, R. Socher, L.-J. Li, K. Li, and L. Fei-Fei. ImageNet: A large-scale hierarchical image database. In CVPR, 2009.
|
| 228 |
+
[17] L. Denoyer and P. Gallinari. Deep sequential neural network. arXiv preprint arXiv:1410.0510, 2014.
|
| 229 |
+
[18] J. Devlin, M.-W. Chang, K. Lee, and K. Toutanova. BERT: Pre-training of deep bidirectional transformers for language understanding. In NAACL, 2019.
|
| 230 |
+
[19] G. S. Dhillon, P. Chaudhari, A. Ravichandran, and S. Soatto. A baseline for few-shot image classification. In ICLR, 2020.
|
| 231 |
+
[20] A. Dosovitskiy, L. Beyer, A. Kolesnikov, D. Weissenborn, X. Zhai, T. Unterthiner, M. Dehghani, M. Minderer, G. Heigold, S. Gelly, J. Uszkoreit, and N. Houlsby. An image is worth 16x16 words: Transformers for image recognition at scale. In ICLR, 2021.
|
| 232 |
+
[21] D. Eigen, M. Ranzato, and I. Sutskever. Learning factored representations in a deep mixture of experts. arXiv preprint arXiv:1312.4314, 2013.
|
| 233 |
+
[22] W. Fedus, B. Zoph, and N. Shazeer. Switch transformers: Scaling to trillion parameter models with simple and efficient sparsity. arXiv preprint arXiv:2101.03961, 2021.
|
| 234 |
+
[23] D. M. Gavrila and S. Munder. Multi-cue pedestrian detection and tracking from a moving vehicle. International journal of computer vision, 73(1):41–59, 2007.
|
| 235 |
+
[24] A. Geiger, P. Lenz, and R. Urtasun. Are we ready for autonomous driving? The KITTI vision benchmark suite. In Computer Vision and Pattern Recognition (CVPR), 2012.
|
| 236 |
+
[25] S. Gross, M. Ranzato, and A. Szlam. Hard mixtures of experts for large scale weakly supervised vision. In CVPR, 2017.
|
| 237 |
+
[26] J. V. Hansen. Combining predictors: comparison of five meta machine learning methods. Information Sciences, 119(1-2):91–105, 1999.
|
| 238 |
+
[27] T. Hastie, R. Tibshirani, and J. Friedman. The elements of statistical learning: data mining, inference, and prediction. Springer, 2017.
|
| 239 |
+
[28] P. Helber, B. Bischke, A. Dengel, and D. Borth. EuroSAT: A novel dataset and deep learning benchmark for land use and land cover classification. IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing, 12(7):2217–2226, 2019.
|
| 240 |
+
[29] D. Hendrycks and K. Gimpel. Gaussian error linear units (gelus). arXiv preprint arXiv:1606.08415, 2016.
|
| 241 |
+
[30] Y. H. Hu, S. Palreddy, and W. J. Tompkins. A patient-adaptable ECG beat classifier using a mixture of experts approach. IEEE Trans. Biomedical Engineering, 44(9):891–900, 1997.
|
| 242 |
+
[31] R. A. Jacobs, M. I. Jordan, S. J. Nowlan, and G. E. Hinton. Adaptive mixtures of local experts. Neural Computation, 3(1):79–87, 1991.
|
| 243 |
+
[32] Z. Jiang, Q. Hou, L. Yuan, D. Zhou, X. Jin, A. Wang, and J. Feng. Token labeling: Training a $8 5 . 5 \%$ top-1 accuracy vision transformer with 56m parameters on imagenet. arXiv preprint arXiv:2104.10858, 2021.
|
| 244 |
+
[33] J. Johnson, B. Hariharan, L. van der Maaten, F.-F. Li, C. Lawrence Zitnick, and R. Girshick. CLEVR: A diagnostic dataset for compositional language and elementary visual reasoning. In Computer Vision and Pattern Recognition (CVPR), 2017.
|
| 245 |
+
[34] M. I. Jordan and R. A. Jacobs. Hierarchical mixtures of experts and the EM algorithm. Neural computation, 6(2):181–214, 1994.
|
| 246 |
+
[35] Kaggle and EyePacs. Kaggle diabetic retinopathy detection, 2015.
|
| 247 |
+
[36] A. Kolesnikov, L. Beyer, X. Zhai, J. Puigcerver, J. Yung, S. Gelly, and N. Houlsby. Big transfer (BiT): General visual representation learning. In ECCV, 2020.
|
| 248 |
+
[37] A. Krizhevsky. Learning multiple layers of features from tiny images. Technical report, University of Toronto, 2009.
|
| 249 |
+
[38] Y. LeCun, F. J. Huang, and L. Bottou. Learning methods for generic object recognition with invariance to pose and lighting. In Computer Vision and Pattern Recognition (CVPR), 2004.
|
| 250 |
+
[39] D. Lepikhin, H. Lee, Y. Xu, D. Chen, O. Firat, Y. Huang, M. Krikun, N. Shazeer, and Z. Chen. GShard: Scaling giant models with conditional computation and automatic sharding. In ICLR, 2021.
|
| 251 |
+
[40] M. Lewis, S. Bhosale, T. Dettmers, N. Goyal, and L. Zettlemoyer. Base layers: Simplifying training of large, sparse models. arXiv preprint arXiv:2103.16716, 2021.
|
| 252 |
+
[41] F.-F. Li, R. Fergus, and P. Perona. Learning generative visual models from few training examples: An incremental Bayesian approach tested on 101 object categories. Computer Vision and Pattern Recognition Workshop, 2004.
|
| 253 |
+
[42] L. Matthey, I. Higgins, D. Hassabis, and A. Lerchner. dSprites: Disentanglement testing sprites dataset, 2017.
|
| 254 |
+
[43] Y. Netzer, T. Wang, A. Coates, A. Bissacco, and A. Y. Ng. Reading digits in natural images with unsupervised feature learning. In NIPS Workshop on Deep Learning and Unsupervised Feature Learning 2011, 2011.
|
| 255 |
+
[44] M.-E. Nilsback and A. Zisserman. Automated flower classification over a large number of classes. In Sixth Indian Conf. on Computer Vision, Graphics & Image Processing, 2008.
|
| 256 |
+
[45] O. M. Parkhi, A. Vedaldi, A. Zisserman, and C. Jawahar. Cats and dogs. In CVPR, 2012.
|
| 257 |
+
[46] D. Patterson, J. Gonzalez, Q. Le, C. Liang, L.-M. Munguia, D. Rothchild, D. So, M. Texier, and J. Dean. Carbon emissions and large neural network training. arXiv preprint arXiv:2104.10350, 2021.
|
| 258 |
+
[47] S. Pavlitskaya, C. Hubschneider, M. Weber, R. Moritz, F. Huger, P. Schlicht, and M. Zollner. Using mixture of expert models to gain insights into semantic segmentation. In CVPR Workshops, 2020.
|
| 259 |
+
[48] M. E. Peters, M. Neumann, M. Iyyer, M. Gardner, C. Clark, K. Lee, and L. Zettlemoyer. Deep contextualized word representations. In NAACL, 2018.
|
| 260 |
+
[49] H. Pham, Z. Dai, Q. Xie, M.-T. Luong, and Q. V. Le. Meta pseudo labels. arXiv preprint arXiv:2003.10580, 2020.
|
| 261 |
+
[50] C. Raffel, N. Shazeer, A. Roberts, K. Lee, S. Narang, M. Matena, Y. Zhou, W. Li, and P. J. Liu. Exploring the limits of transfer learning with a unified text-to-text transformer. arXiv preprint arXiv:1910.10683, 2019.
|
| 262 |
+
[51] P. Ramachandran and Q. V. Le. Diversity and depth in per-example routing models. In ICLR, 2018.
|
| 263 |
+
[52] C. Rosenbaum, I. Cases, M. Riemer, and T. Klinger. Routing networks and the challenges of modular and compositional computation. arXiv preprint arXiv:1904.12774, 2019.
|
| 264 |
+
[53] C. Rosenbaum, T. Klinger, and M. Riemer. Routing networks: Adaptive selection of non-linear functions for multi-task learning. arXiv preprint arXiv:1711.01239, 2017.
|
| 265 |
+
[54] N. Shazeer, A. Mirhoseini, K. Maziarz, A. Davis, Q. Le, G. Hinton, and J. Dean. Outrageously large neural networks: The sparsely-gated mixture-of-experts layer. In ICLR, 2017.
|
| 266 |
+
[55] C. Sminchisescu, A. Kanaujia, Z. Li, and D. Metaxas. Learning to reconstruct 3D human motion from Bayesian mixtures of experts. A probabilistic discriminative approach. Dept. Comput. Sci., Univ. Toronto, Tech. Rep. CSRG-502, 2004.
|
| 267 |
+
[56] E. Strubell, A. Ganesh, and A. McCallum. Energy and policy considerations for deep learning in NLP. arXiv preprint arXiv:1906.02243, 2019.
|
| 268 |
+
[57] C. Sun, A. Shrivastava, S. Singh, and A. Gupta. Revisiting unreasonable effectiveness of data in deep learning era. In ICCV, 2017.
|
| 269 |
+
[58] J. Tani and S. Nolfi. Learning to perceive the world as articulated: an approach for hierarchical learning in sensory-motor systems. Neural Networks, 12(7-8):1131–1141, 1999.
|
| 270 |
+
[59] H. Touvron, M. Cord, M. Douze, F. Massa, A. Sablayrolles, and H. Jégou. Training data-efficient image transformers & distillation through attention. arXiv preprint arXiv:2012.12877, 2020.
|
| 271 |
+
[60] H. Touvron, M. Cord, A. Sablayrolles, G. Synnaeve, and H. Jégou. Going deeper with image transformers. arXiv preprint arXiv:2103.17239, 2021.
|
| 272 |
+
[61] A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, L. Kaiser, and I. Polosukhin. Attention is all you need. In NeurIPS, 2017.
|
| 273 |
+
[62] B. S. Veeling, J. Linmans, J. Winkens, T. Cohen, and M. Welling. Rotation equivariant CNNs for digital pathology. In Medical Image Computing and Computer Assisted Intervention (MICCAI), 2018.
|
| 274 |
+
[63] X. Wang, F. Yu, L. Dunlap, Y.-A. Ma, R. Wang, A. Mirhoseini, T. Darrell, and J. E. Gonzalez. Deep mixture of experts via shallow embedding. In Uncertainty in Artificial Intelligence, 2020.
|
| 275 |
+
[64] B. Yang, G. Bender, Q. V. Le, and J. Ngiam. Condconv: Conditionally parameterized convolutions for efficient inference. arXiv preprint arXiv:1904.04971, 2019.
|
| 276 |
+
[65] L. Yuan, Y. Chen, T. Wang, W. Yu, Y. Shi, F. E. Tay, J. Feng, and S. Yan. Tokens-to-token vit: Training vision transformers from scratch on imagenet. arXiv preprint arXiv:2101.11986, 2021.
|
| 277 |
+
[66] S. E. Yuksel, J. N. Wilson, and P. D. Gader. Twenty years of mixture of experts. IEEE transactions on neural networks and learning systems, 23(8):1177–1193, 2012.
|
| 278 |
+
[67] A. J. Zeevi, R. Meir, and R. J. Adler. Time series prediction using mixtures of experts. In NeurIPS, 1997.
|
| 279 |
+
[68] X. Zhai, A. Kolesnikov, N. Houlsby, and L. Beyer. Scaling vision transformers, 2021.
|
| 280 |
+
[69] X. Zhai, J. Puigcerver, A. Kolesnikov, P. Ruyssen, C. Riquelme, M. Lucic, J. Djolonga, A. S. Pinto, M. Neumann, A. Dosovitskiy, L. Beyer, O. Bachem, M. Tschannen, M. Michalski, O. Bousquet, S. Gelly, and N. Houlsby. A large-scale study of representation learning with the visual task adaptation benchmark. arXiv preprint arXiv:1910.04867, 2019.
|
| 281 |
+
[70] X. Zhai, J. Puigcerver, A. Kolesnikov, P. Ruyssen, C. Riquelme, M. Lucic, J. Djolonga, A. S. Pinto, M. Neumann, A. Dosovitskiy, et al. A large-scale study of representation learning with the visual task adaptation benchmark. arXiv preprint arXiv:1910.04867, 2019.
|
parse/train/FrIDgjDOH1u/FrIDgjDOH1u_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/FrIDgjDOH1u/FrIDgjDOH1u_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/H1faSn0qY7/H1faSn0qY7.md
ADDED
|
@@ -0,0 +1,486 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# DL2: TRAINING AND QUERYING NEURAL NETWORKS WITH LOGIC
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
We present DL2, a system for training and querying neural networks with logical constraints. DL2 is more expressive than prior work and can capture a richer class of constraints on inputs, outputs and internals of models. Using DL2, one can declaratively specify domain knowledge to be enforced during training or pose queries on the model with the goal of finding inputs that satisfy a given constraint. DL2 works by translating logical constraints into a differentiable loss with desirable mathematical properties, then minimized with standard gradient-based methods. Our evaluation demonstrates that DL2 can express interesting constraints beyond the reach of prior work, leading to improved prediction accuracy.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
With the success of neural networks across a wide range of important application domains, a key challenge that has emerged is that of making neural networks more reliable. Promising directions to address this challenge are incorporating constraints during training (Madry et al., 2017; Minervini et al., 2017) and inspecting already trained networks by posing specific queries (Goodfellow et al., 2014b; Pei et al., 2017; Xu et al., 2018)). While useful, these approaches are described and hardcoded to particular kinds of constraints, making their application to other settings difficult.
|
| 12 |
+
|
| 13 |
+
Inspired by prior work (e.g., Cohen et al. (2017); Fu & Su (2016); Hu et al. (2016); Bach et al. (2017)), we introduce a new method and system, called DL2 (acronym for Deep Learning with Differentiable Logic), which can be used to: (i) query networks for inputs meeting constraints, and (ii) train networks to meet logical specifications, all in a declarative fashion. Our constraint language can express rich combinations of arithmetic comparisons over inputs, neurons and outputs of neural networks using negations, conjunctions, and disjunctions. Thanks to its expressiveness, DL2 enables users to enforce domain knowledge during training or interact with the network in order to learn about its behavior via querying.
|
| 14 |
+
|
| 15 |
+
DL2 works by translating logical constraints into non-negative loss functions with two key properties: (P1) a value where the loss is zero is guaranteed to satisfy the constraints, and (P2) the resulting loss is differentiable almost everywhere. Combined, these properties enable us to solve the problem of querying or training with constraints by minimizing a loss with off-the-shelf optimizers.
|
| 16 |
+
|
| 17 |
+
Training with DL2 To make optimization tractable, we exclude constraints on inputs that capture convex sets and include them as constraints to the optimization goal. We then optimize with projected gradient descent (PGD), shown successful for training with robustness constraints (Madry et al., 2017). The expressiveness of DL2 along with tractable optimization through PGD enables us to train with new, interesting constraints. For example, we can express constraints over probabilities which are not explicitly computed by the network. Consider the following:
|
| 18 |
+
|
| 19 |
+
$$
|
| 20 |
+
\forall x . p _ { p e o p l e } ^ { \theta } ( x ) < \epsilon \lor p _ { p e o p l e } ^ { \theta } ( x ) > 1 - \epsilon
|
| 21 |
+
$$
|
| 22 |
+
|
| 23 |
+
This constraint, in the context of CIFAR-100, says that for any network input $_ { \textbf { \em x } }$ (network is parameterized by $\theta$ ), the probability of people $( p _ { p e o p l e } )$ is either very small or very large. However, CIFAR-100 does not have the class people, and thus we define it as a function of other probabilities, in particular: $p _ { p e o p l e } = p _ { b a b y } + p _ { b o y } + p _ { g i r l } + p _ { m a n } + p _ { w o m a n }$ . We show that with a similar constraint (but with 20 classes), DL2 increases the prediction accuracy of CIFAR-100 networks in the semi-supervised setting, outperforming prior work whose expressiveness is more restricted.
|
| 24 |
+
|
| 25 |
+
DL2 can capture constraints arising in both, classification and regression tasks. For example, GalaxyGAN (Schawinski et al., 2017), a generator of galaxy images, requires the network to respect constraints imposed by the underlying physical systems, e.g., flux: the sum of input pixels should equal the sum of output pixels. Instead of hardcoding such a constraint into the network in an ad hoc way, with DL2, this can now be expressed declaratively: $s u m ( \pmb { x } ) = s u m ( \mathrm { G a l a x y G A N } ( \pmb { x } ) )$ .
|
| 26 |
+
|
| 27 |
+
Global training A prominent feature of DL2 is its ability to train with constraints that place restrictions on inputs outside the training set. Prior work on training with constraints (e.g., $\mathrm { X u }$ et al. (2018)) focus on the given training set to locally train the network to meet the constraints. With DL2, we can, for the first time, query for inputs which are outside the training set, and use them to globally train the network. Previous methods that trained on examples outside the training set were either tailored to a specific task (Madry et al., 2017) or types of networks (Minervini et al., 2017). Our approach splits the task of global training between: (i) the optimizer, which trains the network to meet the constraints for the given inputs, and (ii) the oracle, which provides the optimizer with new inputs that aim to violate the constraints. To illustrate, consider the following Lipshcitz condition:
|
| 28 |
+
|
| 29 |
+
$$
|
| 30 |
+
\forall z ^ { 1 } \in L _ { \infty } ( { \pmb x } ^ { 1 } , { \epsilon } ) , z ^ { 2 } \in L _ { \infty } ( { \pmb x } ^ { 2 } , { \epsilon } ) . | | p ^ { \theta } ( z ^ { 1 } ) - p ^ { \theta } ( z ^ { 2 } ) | | _ { 2 } < L | | z ^ { 1 } - z ^ { 2 } | | _ { 2 }
|
| 31 |
+
$$
|
| 32 |
+
|
| 33 |
+
Here, for two inputs from the training set $( \pmb { x } ^ { 1 } , \pmb { x } ^ { 2 } )$ , any point in their $\epsilon$ -neighborhood $( z ^ { 1 } , z ^ { 2 } )$ must satisfy the condition. This constraint is inspired by recent works (e.g., Gouk et al. (2018); Balan et al. (2017)) which showed that neural networks are more stable if satisfying the Lipschitz condition.
|
| 34 |
+
|
| 35 |
+
Querying with DL2 We also designed an SQL-like language which enables users to interact with the model by posing declarative queries. For example, consider the scenarios studied by a recent work (Song et al., 2018) where authors show how to generate adversarial examples with ACGANs (Odena et al., 2016). The generator is used to create images from a certain class (e.g., 1) which fools a classifier (to classify as, e.g., 7). With DL2, this can be phrased as:
|
| 36 |
+
|
| 37 |
+
fi n d n[100]
|
| 38 |
+
where n i n [-1, 1], c l a s s (M_NN1(M_ACGAN_G(n, 1))) = 7
|
| 39 |
+
r e t u r n M_ACGAN_G(n, 1)
|
| 40 |
+
|
| 41 |
+

|
| 42 |
+
|
| 43 |
+
This query aims to find an input $ { \mathbf { n } } \in \mathbb { R } ^ { 1 0 0 }$ to the generator satisfying two constraints: its entries are between $- 1$ and 1 (enforcing a domain constraint) and it results in the generator producing an image, which it believes to be classified as 1 (enforced by $\mathbb { M } \_ \mathbb { A } \mathbb { C } \mathbb { G } \mathbb { A } \mathbb { N } \_ \mathbb { G } \left( \mathrm { n } , \quad \mathrm { 1 } \right) ,$ ) but is classified by the network (M_NN1) as 7. DL2 automatically translates this query to a DL2 loss and optimizes it with an off-the-shelf optimizer (L-BFGS-B) to find solutions, in this case, the image to the right. Our language can naturally capture many prior works at the declarative level, including finding neurons responsible for a given prediction (Olah et al., 2018), inputs that differentiate two networks (Pei et al., 2017), and adversarial example generation (e.g., Szegedy et al. (2013)).
|
| 44 |
+
|
| 45 |
+
Main Contributions The DL2 system is based on the following contributions:
|
| 46 |
+
|
| 47 |
+
• An approach for training and querying neural networks with logical constraints based on translating these into a differentiable loss with desirable properties ((P1) and (P2)). • A training procedure which extracts constraints on inputs that capture convex sets and includes them as PGD constraints, making optimization tractable. • A declarative language for posing queries over neural network’s inputs, outputs, and internal neurons. Queries are compiled into a differentiable loss and optimized with L-BFGS-B. An extensive evaluation demonstrating the effectiveness of DL2 in querying and training neural networks. Among other experimental results, we show for the first time, the ability to successfully train networks with constraints on inputs not in the training set.
|
| 48 |
+
|
| 49 |
+
# 2 RELATED WORK
|
| 50 |
+
|
| 51 |
+
Adversarial example generation (Pei et al., 2017; Goodfellow et al., 2014b) can be seen as a fixed query to the network, while adversarial training (Madry et al., 2017) aims to enforce a specific constraint. Most works aiming to train networks with logic impose soft constraints, often through an additional loss (Pathak et al., 2015; Xu et al., 2018); (Marquez-Neila et al., 2017) shows that hard ´ constraints have no empirical advantage over soft constraints. Probabilistic Soft Logic (PSL) (Kimmig et al., 2012) translates logic into continuous functions over [0, 1]. As we show, PSL is not amenable to gradient-based optimization as gradients may easily become zero. Hu et al. (2016) builds on PSL and presents a teacher-student framework which distills rules into the training phase. The idea is to formulate rule satisfaction as a convex problem with a closed-form solution. However, this formulation is restricted to rules over random variables and cannot express rules over probability distributions. In contrast, DL2 can express such constraints, e.g., $p _ { 1 } > p _ { 2 }$ , which requires the network probability for class 1 is greater than for 2. Also, the convexity and the closed-form solution stem from the linearity of the rules in the network’s output, meaning that non-linear constraints (e.g., Lipschitz condition, expressible with DL2) are fundamentally beyond the reach of this method. The work of Xu et al. (2018) is also restricted to constraints over random variables and is intractable for complicated constraints. Fu & Su (2016) reduces the satisfiability of floating-point formulas into numerical optimization, however, their loss is not differentiable and they do not support constraints on distributions. Finally, unlike DL2, no prior work supports constraints for regression tasks.
|
| 52 |
+
|
| 53 |
+
# 3 FROM LOGIC TO A DIFFERENTIABLE LOSS
|
| 54 |
+
|
| 55 |
+
We now present our constraint language and show how to translate constraints into a differentiable loss. To simplify presentation, we treat all tensors as vectors with matching dimensions.
|
| 56 |
+
|
| 57 |
+
Logical Language Our language consists of quantifier-free constraints which can be formed with conjunction $( \wedge )$ , disjunction (∨) and negation $( \neg )$ . Atomic constraints (literals) are comparisons $\Join$ of terms (here $\bowtie \in \{ = , \neq , \leq , < , \geq , > \} )$ ). Comparisons are defined for scalars and applied elementwise on vectors. A term $\pmb { t }$ is: (i) A variable $_ z$ or a constant $^ c$ , representing real-valued vectors; constants can be samples from the dataset. (ii) An expression over terms, including arithmetic expressions or function applications $f \colon { \mathbb { R } } ^ { m } \ \to \ { \mathbb { R } } ^ { n }$ , for $m , n \in \mathbb { Z } ^ { + }$ . Functions can be defined overvariables, constants, and network parameters $\theta ^ { 1 } , \ldots , \theta ^ { l }$ . Functions can be the application of a network with parameters $\theta$ , the application of a specific neuron, or a computation over multiple networks. The only assumption on functions is that they are differentiable (almost everywhere) in the variables and network parameters. We write $\pmb { t } ( z ^ { 1 } , \cdot \cdot . . , z ^ { k } , c ^ { 1 } , \cdot \cdot . . , c ^ { j } , \theta ^ { 1 } , \cdot . . . \theta ^ { l } )$ to emphasize the variables, constants, and network parameters that $\pmb { t }$ can be defined over (that is, $\pmb { t }$ may refer to only a subset of these symbols). We sometimes omit the constants and network parameters (which are also constant) and abbreviate variables by $\bar { z }$ , i.e., we write $\pmb { t } ( \bar { z } )$ . Similarly, we write $\varphi ( \bar { z } )$ to denote a constraint defined over variables $\bar { z }$ . When variables are not important, we write $\varphi$ .
|
| 58 |
+
|
| 59 |
+
Translation into loss Given a formula $\varphi$ , we define the corresponding loss $\mathcal { L } ( \varphi )$ recursively on the structure of $\varphi$ . The obtained loss is non-negative: for any assignment $\bar { x }$ to the variables $\bar { z }$ , we have $\mathcal { L } ( \varphi ) ( \bar { x } ) \in \dot { \mathbb { R } } ^ { \geq 0 }$ . Further, the translation has two properties: (P1) any $\bar { x }$ for which the loss is zero $( \mathcal { L } ( \varphi ) ( \bar { x } ) = 0 )$ ) is a satisfying assignment to $\varphi$ (denoted by ${ \bar { x } } \models \varphi ,$ ) and (P2) the loss is differentiable almost everywhere. This construction avoids pitfalls of other approaches (see Appendix B). We next formally define the translation rules. Formula $\varphi$ is parametrized by $\xi > 0$ which denotes tolerance for strict inequality constraints. Since comparisons are applied element-wise (i.e., on scalars), atomic constraints are transformed into a conjunction of scalar comparisons:
|
| 60 |
+
|
| 61 |
+
$$
|
| 62 |
+
\begin{array} { l l l } { { { \mathcal L } ( t ^ { 1 } \bowtie t ^ { 2 } ) } } & { { : = } } & { { { \mathcal L } \left( \bigwedgesideset { } { ^ n } { ^ n } t _ { i } ^ { 1 } \bowtie t _ { i } ^ { 2 } \right) } } \end{array}
|
| 63 |
+
$$
|
| 64 |
+
|
| 65 |
+
The comparisons $=$ and $\leq$ are translated based on a function $d \colon \mathbb { R } \times \mathbb { R } \to \mathbb { R }$ which is a continuous, differentiable almost everywhere, distance function with $d ( x _ { 1 } , x _ { 2 } ) { \geq } 0$ and $d ( x _ { 1 } , x _ { 2 } ) { = } 0 x _ { 1 } { = } x _ { 2 }$ :
|
| 66 |
+
|
| 67 |
+
$$
|
| 68 |
+
{ \mathcal { L } } ( t ^ { 1 } = t ^ { 2 } ) \quad : = \quad d ( t ^ { 1 } , t ^ { 2 } ) ; \qquad { \mathcal { L } } ( t ^ { 1 } \leq t ^ { 2 } ) \quad : = \quad \mathbf { 1 _ { t ^ { 1 } > t ^ { 2 } } } \cdot d ( t ^ { 1 } , t ^ { 2 } )
|
| 69 |
+
$$
|
| 70 |
+
|
| 71 |
+
Here, $\mathbf { 1 } _ { \mathrm { t } ^ { 1 } > \mathrm { t } ^ { 2 } }$ is an indicator function: it is $1$ if $t ^ { 1 } > t ^ { 2 }$ , and 0 otherwise. The function $d$ is a parameter of the translation and in our implementation we use the absolute distance $| t ^ { 1 } - t ^ { 2 } |$ . For the other comparisons, we define the loss as follows: $\mathcal { L } ( t ^ { 1 } < t ^ { 2 } ) = \mathcal { L } ( t ^ { 1 } + \xi \le t ^ { 2 } )$ , $\mathcal { L } ( t ^ { 1 } \neq t ^ { 2 } ) = \mathcal { L } ( t ^ { 1 } <$ $t ^ { 2 } \vee t ^ { 2 } < t ^ { 1 } $ ), and $\mathcal { L } ( t ^ { 1 } > t ^ { 2 } )$ and ${ \mathcal { L } } ( t ^ { 1 } \geq t ^ { 2 } )$ are defined analogously.
|
| 72 |
+
|
| 73 |
+
Conjunctions and disjunctions of formulas $\varphi$ and $\psi$ are translated into loss as follows:
|
| 74 |
+
|
| 75 |
+
$$
|
| 76 |
+
{ \mathcal { L } } ( \varphi \wedge \psi ) \ : = \ { \mathcal { L } } ( \varphi ) + { \mathcal { L } } ( \psi ) ; \qquad { \mathcal { L } } ( \varphi \vee \psi ) \ : = \ { \mathcal { L } } ( \varphi ) \cdot { \mathcal { L } } ( \psi )
|
| 77 |
+
$$
|
| 78 |
+
|
| 79 |
+
Note that ${ \mathcal { L } } ( \varphi \wedge \psi ) = 0$ if and only if $\mathcal { L } ( \varphi ) = 0$ and ${ \mathcal { L } } ( \psi ) = 0$ , which by construction is true if $\varphi$ and $\psi$ are satisfied, and similarly ${ \mathcal { L } } ( \varphi \vee \psi ) = 0$ if and only if $\mathcal { L } ( \varphi ) = 0$ or $\mathcal { L } ( \psi ) = 0$ .
|
| 80 |
+
|
| 81 |
+
Translating negations Negations are handled by first eliminating them from the constraint through rewrite rules, and then computing the loss of their equivalent, negation-free constraint. Negations of atomic constraints are rewritten to an equivalent atomic constraint that has no negation (note that $\neq$ is not a negation). For example, the constraint $\neg ( t ^ { 1 } \leq t ^ { 2 } )$ is rewritten to $t ^ { 2 } < \bar { t } ^ { 1 }$ , while negations of conjunctions and disjunctions are rewritten by repeatedly applying De Morgan’s laws: $\neg ( \varphi \land \psi )$ is equivalent to $\neg \varphi \lor \neg \psi$ and $\lnot ( \varphi \lor \psi )$ is equivalent to $\neg \varphi \land \neg \psi$ .
|
| 82 |
+
|
| 83 |
+
With our construction, we get the following theorem:
|
| 84 |
+
|
| 85 |
+
Theorem 1 For all $\bar { x }$ , if ${ \mathcal { L } } ( \varphi ) ( { \bar { x } } ) = 0$ , then $\bar { x }$ satisfies $\varphi$ $( { \bar { x } } \Vdash \varphi )$ . Conversely, for any $\varphi$ , there is a $\delta ( \xi ) \geq 0$ with $\begin{array} { r } { \operatorname* { l i m } _ { \xi \to 0 } \delta ( \xi ) = 0 } \end{array}$ such that for all $\bar { x }$ , ${ \mathcal { L } } ( \varphi ) ( { \bar { x } } ) > \delta ( \xi )$ implies that $\bar { x }$ does not satisfy $\varphi ( { \bar { x } } \not \in \varphi )$ .
|
| 86 |
+
|
| 87 |
+
Essentially, as we make $\xi$ smaller (and $\delta$ approaches 0), we get closer to an if and only if theorem: if $\bar { x }$ makes the loss 0, then we have a satisfying assignment; otherwise, if $\bar { x }$ makes the loss $> \delta$ , then $\bar { x }$ is not a satisfying assignment. We provide the proof of the theorem in Appendix A.
|
| 88 |
+
|
| 89 |
+
# 4 CONSTRAINED NEURAL NETWORKS
|
| 90 |
+
|
| 91 |
+
In this section, we present our method for training neural networks with constraints. We first define the problem, then provide our min-max formulation, and finally, discuss how we solve the problem. We write $[ \varphi ]$ to denote the indicator function that is 1 if the predicate holds and 0 otherwise.
|
| 92 |
+
|
| 93 |
+
Training with constraints To train with a single constraint, we consider the following maximization problem over neural network weights $\theta$ :
|
| 94 |
+
|
| 95 |
+
$$
|
| 96 |
+
\underset { \theta } { \arg \operatorname* { m a x } } \mathbb { E } _ { S ^ { 1 } , \ldots , S ^ { m } \sim \mathcal { D } } \left[ \forall \bar { z } . \varphi ( \bar { z } , \bar { S } , \bar { c } , \theta ) \right] .
|
| 97 |
+
$$
|
| 98 |
+
|
| 99 |
+
Here, $S ^ { 1 } , \ldots , S ^ { m }$ (abbreviated by $\bar { S }$ ) are independently drawn from an underlying distribution $\mathcal { D }$ and $\varphi$ is a constraint over variables $\bar { z }$ , constants $\bar { S }$ and $\bar { c }$ , and network weights $\theta$ . This objective is bounded between 0 and 1, and attains 1 if and only if the probability the network satisfies the constraint $\varphi$ is 1. We extend this definition to multiple constraints, by forming a convex combination of their respective objectives: for $\pmb { w }$ with $\textstyle \sum _ { i = 1 } ^ { t } w _ { i } = 1$ and $w _ { i } > 0$ for all $i$ , we consider
|
| 100 |
+
|
| 101 |
+
$$
|
| 102 |
+
\underset { \theta } { \arg \operatorname* { m a x } } \sum _ { i = 1 } ^ { t } w _ { i } \cdot \mathbb { E } _ { S ^ { 1 } , \ldots , S ^ { m } \sim \mathcal { D } } \left[ \forall \bar { z } . \varphi _ { i } ( \bar { z } , \bar { S } , \bar { c } , \theta ) \right] .
|
| 103 |
+
$$
|
| 104 |
+
|
| 105 |
+
As standard, we train with the empirical objective where instead of the (unknown) distribution $\mathcal { D }$ we use the training set $\tau$ to draw samples.
|
| 106 |
+
|
| 107 |
+
To use our system, the user specifies the constraints $\varphi _ { 1 } , \ldots , \varphi _ { t }$ along with their weights $w _ { 1 } , \ldots , w _ { t }$ .
|
| 108 |
+
In the following, to simplify the presentation, we assume that there is only one constraint.
|
| 109 |
+
|
| 110 |
+
Formulation as min-max optimization We can rephrase training networks with constraints as minimizing the expectation of the maximal violation. The maximal violation is an assignment to the variables $\bar { z }$ which violates the constraint (if it exists). That is, it suffices to solve the problem arg $\begin{array} { r } { \operatorname* { m i n } _ { \theta } \mathbb { E } _ { S ^ { 1 } , . . . S ^ { m } \sim \mathcal { T } } \left( \operatorname* { m a x } _ { z ^ { 1 } , . . . , z ^ { k } } \neg \varphi ( \bar { z } , \bar { S } , \bar { c } , \theta ) \right) } \end{array}$ . Assume that one can compute, for a given $\bar { S }$ and $\theta$ , an optimal solution $\bar { x } _ { \bar { S } , \theta } ^ { * }$ for the inner maximization problem:
|
| 111 |
+
|
| 112 |
+
$$
|
| 113 |
+
\bar { x } _ { \bar { S } , \theta } ^ { * } = \underset { z ^ { 1 } , \ldots , z ^ { k } } { \arg \operatorname* { m a x } } [ \neg \varphi ( \bar { z } , \bar { S } , \bar { c } , \theta ) ] .
|
| 114 |
+
$$
|
| 115 |
+
|
| 116 |
+
Then, we can rephrase the optimization problem in terms of $\bar { x } _ { \bar { S } , \theta } ^ { * }$
|
| 117 |
+
|
| 118 |
+
$$
|
| 119 |
+
\underset { \theta } { \arg \operatorname* { m i n } } \mathbb { E } _ { S ^ { 1 } , \ldots S ^ { m } \sim \mathcal { T } } [ \neg \varphi ( \bar { x } _ { \bar { S } , \theta } ^ { * } , \bar { S } , \bar { c } , \theta ) ] .
|
| 120 |
+
$$
|
| 121 |
+
|
| 122 |
+
The advantage of this formulation is that it splits the problem into two sub-problems and the overall optimization can be seen as a game between an oracle (solving (2)) and an optimizer (solving (3)).
|
| 123 |
+
|
| 124 |
+
Solving the optimization problems We solve (2) and (3) by translating the logical constraints into differentiable loss (as shown in Sec. 3). Inspired by Theorem 1, for the oracle (Eq. (2)), we approximate the inner maximization by a minimization of the translated loss ${ \mathcal { L } } ( \neg \varphi )$ :
|
| 125 |
+
|
| 126 |
+
$$
|
| 127 |
+
\bar { x } _ { \bar { S } , \theta } ^ { * } = \underset { z ^ { 1 } , \ldots , z ^ { k } } { \arg \operatorname* { m i n } } \mathcal { L } ( \lnot \varphi ) ( \bar { z } , \bar { S } , \bar { c } , \theta ) .
|
| 128 |
+
$$
|
| 129 |
+
|
| 130 |
+
Given $\bar { x } _ { \bar { S } , \theta }$ from the oracle, we optimize the following loss using Adam (Kingma & Ba, 2014):
|
| 131 |
+
|
| 132 |
+
$$
|
| 133 |
+
\mathbb { E } _ { S ^ { 1 } , \dots , S ^ { m } \sim \mathcal { T } } \left( \mathcal { L } ( \varphi ) ( \bar { x } _ { \bar { S } , \theta } , \bar { S } , \bar { c } , \theta ) \right) .
|
| 134 |
+
$$
|
| 135 |
+
|
| 136 |
+
Constrained optimization In general, the loss in (4) can sometimes be difficult to optimize. To illustrate, assume that the random samples are input-label pairs $( { \pmb x } , y )$ and consider the constraint:
|
| 137 |
+
|
| 138 |
+
$$
|
| 139 |
+
\varphi ( z , ( \pmb { x } , y ) , \theta ) = | | \pmb { x } - z | | _ { \infty } \leq \epsilon \implies \mathrm { l o g i t } ^ { \theta } ( z ) _ { y } > \delta .
|
| 140 |
+
$$
|
| 141 |
+
|
| 142 |
+
Our translation of this constraint to a differentiable loss produces
|
| 143 |
+
|
| 144 |
+
$$
|
| 145 |
+
\mathcal { L } ( \neg \varphi ) ( z , ( \pmb { x } , y ) , \theta ) = \operatorname* { m a x } ( 0 , | | \pmb { x } - z | | _ { \infty } - \epsilon ) + \operatorname* { m a x } ( 0 , \log \mathrm { i } ^ { \theta } ( z ) _ { y } - \delta ) .
|
| 146 |
+
$$
|
| 147 |
+
|
| 148 |
+
This function is difficult to minimize because the magnitude of the two terms is different. This causes first-order methods to optimize only a single term in an overly greedy manner, as reported by Carlini & Wagner (2017). However, some constraints have a closed-form analytical solution, e.g., the minimization of $\operatorname* { m a x } ( 0 , | | x - z | | _ { \infty } - \epsilon )$ can be solved by projecting into the $L _ { \infty }$ ball. To leverage this, we identify logical constraints which restrict the variables $_ z$ to convex sets that have an efficient algorithm for projection, e.g., line segments, $L _ { 2 }$ , $L _ { \infty }$ or $L _ { 1 }$ balls (Duchi et al., 2008). Note that in general, projection to a convex set is a difficult problem. We exclude such constraints from $\varphi$ and add them as constraints of the optimization. We thus rewrite (4) as:
|
| 149 |
+
|
| 150 |
+
$$
|
| 151 |
+
\bar { x } _ { \bar { S } , \theta } ^ { * } = \underset { z ^ { 1 } \in D _ { 1 } ( \bar { S } ) , \ldots , z ^ { k } \in D _ { k } ( \bar { S } ) } { \arg \operatorname* { m i n } } \mathcal { L } ( \neg \varphi ) ( \bar { z } , \bar { S } , \bar { c } , \theta ) ,
|
| 152 |
+
$$
|
| 153 |
+
|
| 154 |
+
where the $D _ { i }$ denote functions which map random samples to a convex set. To solve (6), we employ Projected Gradient Descent (PGD) which was shown to have strong performance in the case of adversarial training with $L _ { \infty }$ balls (Madry et al., 2017).
|
| 155 |
+
|
| 156 |
+
Training procedure Algorithm 1 shows our training procedure. We first form a mini-batch of random samples from the training set $\tau$ . Then, the oracle finds a solution for (4) using the formulation in (6). This solution is given to the optimizer, which solves (5). Note that if $\varphi$ has no variables $k = 0 ,$ ), the oracle becomes trivial and the loss is computed directly.
|
| 157 |
+
|
| 158 |
+
# Algorithm 1: Training with constraints.
|
| 159 |
+
|
| 160 |
+
input : Training set $\tau$ , network parameters $\theta$ , and a constraint $\varphi ( \bar { z } , \bar { S } , \dot { \bar { c } } , \theta )$
|
| 161 |
+
for epoch $= I$ to nepochs do Sample mini-batch of $m$ -tuples $\bar { S } = \mathsf { \dot { S } } ^ { 1 } , \ldots , S ^ { m } \sim \mathcal { T }$ . Using PGD, compute $\bar { x } \approx \operatorname * { a r g m i n } _ { z ^ { 1 } \in { \cal D } _ { 1 } ( \bar { S } ) , \ldots , z ^ { k } \in { \cal D } _ { k } ( \bar { S } ) } \mathcal { L } ( \neg \varphi ) ( \bar { z } , \bar { S } , \bar { c } , \theta ) .$ . Perform Adam update with $\nabla _ { \theta } \mathcal { L } ( \varphi ) ( \bar { x } , \bar { S } , \bar { c } , \theta )$ .
|
| 162 |
+
|
| 163 |
+
# 5 QUERYING NETWORKS
|
| 164 |
+
|
| 165 |
+
We build on DL2 and design a declarative language for querying networks. Interestingly, the hardcoded questions investigated by prior work can now be phrased as DL2 queries: neurons responsible for a prediction (Olah et al., 2018), inputs that differentiate networks (Pei et al., 2017), and adversarial examples (e.g., Szegedy et al. (2013)). We support the following class of queries:
|
| 166 |
+
|
| 167 |
+
Here, find defines the variables and their shape in parentheses, where defines the constraint (over the fragment described in Sec. 3), init defines initial values for (part or all of) the variables, and return defines a target term to compute at the end of search; if missing, $z ^ { 1 } , \ldots , z ^ { k }$ are returned. Networks (loaded so to be used in the queries) and constants are defined outside the queries. We note that the user can specify tensors in our language (we do not assume these are simplified to vectors). In queries, we write comma $\left( , \right)$ for conjunction $( \wedge )$ ; in for box-constraints and class for constraining the target label, which is interpreted asconstraints over the labels’ probabilities.
|
| 168 |
+
|
| 169 |
+
Examples Fig. 1 shows few interesting queries. The first two are defined over networks trained for CIFAR-10, while the last is for MNIST. The goal of the first query is to find an adversarial example i of shape (32, 32, 3), classified as a truck (class 9) where the distance of i to a given deer image (deer) is between 6 and 24, with respect to the infinity norm. Fig. 1b is similar, but the goal is to find i classified as a deer where a specific neuron is deactivated. The last query’s goal is to find i classified differently by two networks where part of $\dot { \beth }$ is fixed to pixels of the image nine.
|
| 170 |
+
|
| 171 |
+
fi n d i[32, 32, 3] fi n d i[32, 32, 3] fi n d i[28, 28]
|
| 172 |
+
where i i n [0, 255], where i i n [0, 255], where i i n [0, 1], c l a s s ( $\begin{array} { r l r } { \mathrm { ' N N ( \frac { } { } i ) } } \end{array} ) & { { } = } & 9$ , ki - deerk∞ < 25, $\begin{array} { r } { \mathrm { ~ i ~ } [ 0 : 9 , : \mathrm { ~ ] ~ \ = ~ \ n i n e ~ [ ~ } 0 : 9 , : \mathrm { ~ ] ~ } , } \end{array}$ , $\| \dot { \boldsymbol { 1 } } - \mathsf { d e e r } \| _ { \infty } < 2 5 ,$ , NN(i) $\cdot 1 _ { 1 } [ 0 , \ 1 , \ 1 , \ 3 1 ] = 0 ,$ , c l a s s (NN1(i)) $\qquad = \ 8$ , ki - deerk∞ > 5 c l a s s $( \mathrm { N N } \left( \mathrm { i } \right) ) \quad = \quad 4$ c l a s s $( \mathbb { N } \mathbb { N } 2 \left( { \mathrm { ~ i ~ } } \right) \ ) = 9$ (a) Adversarial example. (b) Neuron deactivated. (c) Diffing networks.
|
| 173 |
+
|
| 174 |
+
Figure 1: DL2 queries enable to declaratively search for inputs satisfying constraints over networks.
|
| 175 |
+
|
| 176 |
+
Solving queries As with training, we compile the constraints to a loss, but unlike training, we optimize with L-BFGS-B. While training requires batches of inputs in PGD optimization, querying looks for one assignment, and thus there is more time to employ the more sophisticated, but slower, L-BFGS-B. We discuss further optimizations in Appendix C.
|
| 177 |
+
|
| 178 |
+
# 6 EXPERIMENTAL EVALUATION
|
| 179 |
+
|
| 180 |
+
We now present a thorough experimental evaluation on the effectiveness of DL2 for querying and training neural networks with logical constraints. Our system is implemented in PyTorch (Paszke et al., 2017) and evaluated on an Nvidia GTX 1080 Ti and Intel Core i7-7700K with $4 . 2 0 \mathrm { G H z }$ .
|
| 181 |
+
|
| 182 |
+
# 6.1 TRAINING WITH DL2
|
| 183 |
+
|
| 184 |
+
We evaluated DL2 on various tasks (supervised, semi-supervised and unsupervised learning) across four datasets: MNIST, FASHION (Xiao et al., 2017), CIFAR-10, and CIFAR-100 (Krizhevsky & Hinton, 2009). In all experiments, one of the constraints was cross-entropy (see Sec. 4), to optimize for high prediction accuracy. For each experiment, we describe additional logical constraints.
|
| 185 |
+
|
| 186 |
+
Supervised learning We consider two types of constraints for supervised learning: global constraints, which have ${ \boldsymbol { z } } \mathbf { - S }$ , and training set constraints, where the only variables are from the training set (no z-s). Note that none of prior work applies to global constraints in general. Furthermore, because of limitations of their encoding explained in Sec. 2, they are not able to handle complex training
|
| 187 |
+
|
| 188 |
+
Figure 2: Supervised learning, P/C is prediction/constraint accuracy.
|
| 189 |
+
|
| 190 |
+
<table><tr><td></td><td></td><td colspan="2">MNIST</td><td colspan="2">FASHION</td><td colspan="2">CIFAR-10</td></tr><tr><td></td><td></td><td>Baseline</td><td>DL2</td><td>Baseline</td><td>DL2</td><td>Baseline</td><td>DL2</td></tr><tr><td rowspan="2"></td><td>P</td><td>99.39</td><td>98.61</td><td>90.56</td><td>89.70</td><td>90.98</td><td>87.08</td></tr><tr><td>C</td><td>96.10</td><td>97.30</td><td>95.20</td><td>96.30</td><td>91.10</td><td>93.08</td></tr><tr><td rowspan="2">RobustnessG</td><td>P</td><td>99.38</td><td>99.45</td><td>91.45</td><td>89.41</td><td>90.59</td><td>78.86</td></tr><tr><td>C</td><td>35.02</td><td>92.18</td><td>00.00</td><td>80.20</td><td>07.16</td><td>21.00</td></tr><tr><td rowspan="2">LipschitzT</td><td>P</td><td>99.48</td><td>97.95</td><td>92.10</td><td>87.49</td><td>90.59</td><td>90.24</td></tr><tr><td>C</td><td>07.20</td><td>99.20</td><td>06.40</td><td>99.53</td><td>07.16</td><td>99.60</td></tr><tr><td rowspan="2">LipschitzG</td><td>P</td><td>99.44</td><td>99.24</td><td>92.22</td><td>82.27</td><td>90.51</td><td>87.32</td></tr><tr><td>C</td><td>00.00</td><td>99.90</td><td>00.00</td><td>89.38</td><td>00.00</td><td>99.55</td></tr><tr><td rowspan="2"></td><td>P</td><td>-</td><td>-</td><td>-</td><td>-</td><td>91.52</td><td>90.70</td></tr><tr><td>C</td><td></td><td></td><td></td><td>=</td><td>89.10</td><td>99.60</td></tr><tr><td rowspan="2">C-similarityG</td><td>P</td><td></td><td></td><td></td><td>=</td><td>91.06</td><td>90.30</td></tr><tr><td>C</td><td></td><td></td><td>=</td><td>=</td><td>49.74</td><td>57.31</td></tr><tr><td rowspan="2">Segment</td><td>P</td><td>98.16</td><td>97.44</td><td>88.13</td><td>87.18</td><td>1</td><td>1</td></tr><tr><td>C</td><td>18.97</td><td>37.70</td><td>21.80</td><td>48.18</td><td>-</td><td>-</td></tr></table>
|
| 191 |
+
|
| 192 |
+
set constraints considered in our experiments (e.g., constraints between probability distributions). To ease notation, we write random samples (the $S { \mathrm { - s } }$ ) as $\mathbf { x } ^ { i }$ and $y ^ { i }$ for inputs from the training set $( { \pmb x } ^ { i } )$ and their corresponding label $( y ^ { i } )$ .
|
| 193 |
+
|
| 194 |
+
For local robustness (Szegedy et al., 2013), the training set constraint says that if two inputs from the dataset are close (their distance is less than a given $\epsilon _ { 1 }$ , with respect to $L _ { 2 }$ norm), then the KL divergence of their output probabilities is smaller than $\epsilon _ { 2 }$ :
|
| 195 |
+
|
| 196 |
+
$$
|
| 197 |
+
| | x ^ { 1 } - x ^ { 2 } | | _ { 2 } < \epsilon _ { 1 } \implies K L ( p ^ { \theta } ( x ^ { 1 } ) | | p ^ { \theta } ( x ^ { 2 } ) ) < \epsilon _ { 2 }
|
| 198 |
+
$$
|
| 199 |
+
|
| 200 |
+
(RobustnessT)
|
| 201 |
+
|
| 202 |
+
Second, the global constraint requires that for any input $_ { \textbf { \em x } }$ , whose classification is $y$ , inputs in its $\epsilon$ neighborhood which are valid images (pixels are between 0 and 1), have a high probability for $y$ . For numerical stability, instead of the probability we check that the corresponding logit is larger than a given threshold $\delta$ :
|
| 203 |
+
|
| 204 |
+
$$
|
| 205 |
+
\forall z \in L _ { \infty } ( x , \epsilon ) \cap [ 0 , 1 ] ^ { d } . \log \operatorname { i t } ^ { \theta } ( z ) _ { y } > \delta
|
| 206 |
+
$$
|
| 207 |
+
|
| 208 |
+
Similarly, we have two definitions for the Lipschitz condition. The training set constraint requires that for every two inputs from the training set, the distance between their output probabilities is less than the Lipschitz constant $( L )$ times the distance between the inputs:
|
| 209 |
+
|
| 210 |
+
$$
|
| 211 |
+
| | p ^ { \theta } ( { \pmb x } ^ { 1 } ) - p ^ { \theta } ( { \pmb x } ^ { 2 } ) | | _ { 2 } < L | | { \pmb x } ^ { 1 } - { \pmb x } ^ { 2 } | | _ { 2 }
|
| 212 |
+
$$
|
| 213 |
+
|
| 214 |
+
The global constraint poses the same constraint for valid images in the neighborhood $\scriptstyle { \mathbf { { x } } } ^ { 1 }$ and $\scriptstyle { \pmb x } ^ { 2 }$
|
| 215 |
+
|
| 216 |
+
$$
|
| 217 |
+
\forall z ^ { 1 } \in L _ { \infty } ( { \pmb x } ^ { 1 } , \epsilon ) \cap [ 0 , 1 ] ^ { d } , z ^ { 2 } \in L _ { \infty } ( { \pmb x } ^ { 2 } , \epsilon ) \cap [ 0 , 1 ] ^ { d } . | | p ^ { \theta } ( z ^ { 1 } ) - p ^ { \theta } ( z ^ { 2 } ) | | _ { 2 } < L | | z ^ { 1 } - z ^ { 2 } | | _ { 2 } \cap [ 0 , 1 ] ^ { d } .
|
| 218 |
+
$$
|
| 219 |
+
|
| 220 |
+
(LipschitzG)
|
| 221 |
+
|
| 222 |
+
We also consider a training set constraint called $C$ -similarity, which imposes domain knowledge constraints for CIFAR-10 networks. The constraint requires that inputs classified as a car have a higher probability for the label truck than the probability for dog:
|
| 223 |
+
|
| 224 |
+
$$
|
| 225 |
+
y = \mathrm { c a r } \implies p ^ { \theta } ( { \pmb x } ) _ { \mathrm { t r u c k } } > p ^ { \theta } ( { \pmb x } ) _ { \mathrm { d o g } } + \delta
|
| 226 |
+
$$
|
| 227 |
+
|
| 228 |
+
The global constraint is similar but applied for valid images in the $\epsilon$ -neighborhood of $_ { \textbf { \em x } }$
|
| 229 |
+
|
| 230 |
+
$$
|
| 231 |
+
\forall z \in L _ { \infty } ( \mathbf { x } , \epsilon ) \cap [ 0 , 1 ] ^ { d } . y = \mathrm { c a r } \implies p ^ { \theta } ( z ) _ { \mathrm { t r u c k } } > p ^ { \theta } ( z ) _ { \mathrm { d o g } } + \delta
|
| 232 |
+
$$
|
| 233 |
+
|
| 234 |
+
Finally, we consider a Segment constraint which requires that if an input $_ z$ is on the line between two inputs $\scriptstyle { \boldsymbol { x } } ^ { 1 }$ and $\scriptstyle { \pmb x } ^ { 2 }$ in position $\lambda$ , then its output probabilities are on position $\lambda$ on the line between the output probabilities:
|
| 235 |
+
|
| 236 |
+
$$
|
| 237 |
+
\forall z . ~ z = \lambda \cdot x ^ { 1 } + ( 1 - \lambda ) \cdot x ^ { 2 } \implies - \lambda \cdot \log \mathfrak { i } ^ { \theta } ( z ) _ { y ^ { 1 } } - ( 1 - \lambda ) \cdot \log \mathfrak { i } \mathfrak { t } ^ { \theta } ( z ) _ { y ^ { 2 } } < \delta \quad ( \mathrm { S e g m e n t } ^ { 6 } ) < \delta
|
| 238 |
+
$$
|
| 239 |
+
|
| 240 |
+
Fig. 2 shows the prediction accuracy (P) and the constraint accuracy (C) when training with (i) crossed-entropy only (CE) and (ii) CE and the constraint. Results indicate that DL2 can significantly improve constraint accuracy ( $0 \%$ to $9 9 \%$ for LipschitzG), while prediction accuracy slightly decreases. The decrease is expected in light of a recent work (Tsipras et al. (2018)), which shows that adversarial robustness comes with decrease of prediction accuracy. Since adversarial robustness is a type of DL2 constraint, we suspect that we observe a similar phenomenon here.
|
| 241 |
+
|
| 242 |
+
Semi-supervised learning For semi-supervised learning, we focus on the CIFAR-100 dataset, and split the training set into labeled, unlabeled and validation set in ratio of 20/60/20. In the spirit of the experiments of $\mathrm { X u }$ et al. (2018), we consider the constraint which requires that the probabilities of groups of classes have either very high probability or very low probability. A group consists of classes of a similar type (e.g., the classes baby, boy, girl, man, and woman are part of the people group), and the group’s probability is the sum of ts classes’ probabilities. Formally, our constraint consists of 20 groups and its structure is:
|
| 243 |
+
|
| 244 |
+
<table><tr><td>Method</td><td>Accuracy (%)</td></tr><tr><td>Baseline</td><td>47.03</td></tr><tr><td>Semantic loss</td><td>51.82</td></tr><tr><td>Rule distillation</td><td>45.56</td></tr><tr><td>DL2</td><td>53.48</td></tr></table>
|
| 245 |
+
|
| 246 |
+
$$
|
| 247 |
+
( p _ { p e o p l e } < \epsilon \lor p _ { p e o p l e } > 1 - \epsilon ) \land . . . \land ( p _ { i n s e c t s } < \epsilon \lor p _ { i n s e c t s } > 1 - \epsilon )
|
| 248 |
+
$$
|
| 249 |
+
|
| 250 |
+
for a small $\epsilon$ . We use this constraint to compare the performance of several approaches. For all approaches, we use the Wide Residual Network (Zagoruyko & Komodakis (2016)) as the network architecture. As a baseline, we train in a purely-supervised fashion, without using the unlabeled data. We also compare to semantic loss (Xu et al., 2018) and rule distillation (Hu et al., 2016). Note that this constraint is restricting the probability distribution and not samples drawn from it which makes other methods inapplicable (as shown in Sec. 2). As these methods cannot encode our constraint, we replace them with a closest approximation (e.g., the exactly-one constraint from Xu et al. (2018) for semantic loss). Details are shown in Appendix D. Fig. 3 shows the prediction accuracy on the test set for all approaches. Results indicate that our approach outperforms all existing works.
|
| 251 |
+
|
| 252 |
+
Unsupervised learning We also consider a regression task in an unsupervised setting, namely training MLP (Multilayer perceptron) to predict the minimum distance from a source to every node in an unweighted graph, $G = ( V , E )$ . One can notice that minimum distance is a function with certain properties (e.g., triangle inequality) which form a logical constraint listed below. Source is denoted as 0.
|
| 253 |
+
|
| 254 |
+
<table><tr><td>Approach</td><td>MSE</td></tr><tr><td>Supervised (regression)</td><td>0.0516</td></tr><tr><td>Unsupervised (baseline)</td><td>0.4938</td></tr><tr><td>Unsupervised (with DL2)</td><td>0.0998</td></tr></table>
|
| 255 |
+
|
| 256 |
+
$$
|
| 257 |
+
\forall v \in G , d ( v ) \geq 0 \land \left( \lor _ { ( v , v ^ { \prime } ) \in E } ( d ( v ) = d ( v ^ { \prime } ) + 1 ) \right) \land \left( \land _ { ( v , v ^ { \prime } ) \in E } ( d ( v ) \leqslant d ( v ^ { \prime } ) + 1 ) \right)
|
| 258 |
+
$$
|
| 259 |
+
|
| 260 |
+
Table 1: Results for queries: $( \# \checkmark )$ number of completed instances (out of 10), $\textcircled { \div } \textcircled { \div }$ is the average running time in seconds, and $\textcircled{5}$ the average running time of successful runs (in seconds).
|
| 261 |
+
|
| 262 |
+
<table><tr><td rowspan="2">Nr.</td><td colspan="3">MNIST</td><td colspan="3">FASHION</td><td colspan="3">CIFAR-10</td><td colspan="3">GTSRB</td><td colspan="3">ImageNet</td></tr><tr><td>#</td><td>?</td><td>+</td><td>#</td><td>?</td><td>?</td><td>#</td><td>+</td><td>+</td><td>#</td><td>?</td><td>?</td><td>#</td><td>?</td><td>+</td></tr><tr><td>1</td><td>10</td><td>0.4</td><td>0.4</td><td>10</td><td>0.4</td><td>0.4</td><td>10</td><td>0.4</td><td>0.4</td><td>10</td><td>0.6</td><td>0.6</td><td>10</td><td>1.6</td><td>1.6</td></tr><tr><td>2</td><td>10</td><td>1.0</td><td>1.0</td><td>10</td><td>1.00</td><td>1.00</td><td>10</td><td>1.2</td><td>1.2</td><td>10</td><td>3.0</td><td>3.0</td><td>10</td><td>80.7</td><td>80.7</td></tr><tr><td>3</td><td>10</td><td>1.0</td><td>1.0</td><td>10</td><td>0.9</td><td>0.9</td><td>10</td><td>3.4</td><td>3.4</td><td>10</td><td>3.1</td><td>3.1</td><td>10</td><td>81.0</td><td>81.0</td></tr><tr><td>4</td><td>10</td><td>1.5</td><td>1.5</td><td>10</td><td>1.6</td><td>1.6</td><td>9</td><td>9.8</td><td>1.9</td><td>0</td><td>120.0</td><td>0.0</td><td>10</td><td>94.4</td><td>94.4</td></tr><tr><td>5</td><td>10</td><td>1.0</td><td>1.0</td><td>10</td><td>1.0</td><td>1.0</td><td>8</td><td>16.5</td><td>1.1</td><td>10</td><td>3.2</td><td>3.2</td><td>10</td><td>80.2</td><td>80.2</td></tr><tr><td>6</td><td>9</td><td>15.7</td><td>4.1</td><td>8</td><td>25.5</td><td>1.9</td><td>9</td><td>5.7</td><td>1.7</td><td>8</td><td>27.4</td><td>4.2</td><td>9</td><td>81.4</td><td>77.2</td></tr><tr><td>7</td><td>10</td><td>1.0</td><td>1.0</td><td>10</td><td>1.0</td><td>1.0</td><td>10</td><td>1.1</td><td>1.1</td><td>10</td><td>3.0</td><td>3.0</td><td>10</td><td>74.0</td><td>74.0</td></tr><tr><td>8</td><td>6</td><td>48.6</td><td>1.0</td><td>6</td><td>51.7</td><td>6.2</td><td>9</td><td>5.9</td><td>1.0</td><td>9</td><td>15.8</td><td>4.2</td><td>10</td><td>78.4</td><td>78.4</td></tr><tr><td>9</td><td>10</td><td>1.4</td><td>1.4</td><td>10</td><td>1.5</td><td>1.5</td><td>8</td><td>10.5</td><td>1.7</td><td>0</td><td>120.0</td><td>0.0</td><td>10</td><td>86.6</td><td>86.6</td></tr><tr><td>10</td><td>10</td><td>1.8</td><td>1.8</td><td>10</td><td>1.7</td><td>1.7</td><td>10</td><td>2.6</td><td>2.6</td><td>0</td><td>120.0</td><td>0.0</td><td>10</td><td>92.2</td><td>92.2</td></tr><tr><td>11</td><td>6</td><td>50.0</td><td>3.3</td><td>7</td><td>42.0</td><td>8.7</td><td>7</td><td>35.0</td><td>17.1</td><td>0</td><td>120.0</td><td>0.0</td><td>8</td><td>96.6</td><td>90.7</td></tr><tr><td>12</td><td>10</td><td>2.0</td><td>2.0</td><td>10</td><td>2.0</td><td>2.0</td><td>9</td><td>28.8</td><td>18.7</td><td>10</td><td>6.2</td><td>6.2</td><td>0</td><td>120.0</td><td>0.0</td></tr><tr><td>13</td><td>5</td><td>63.5</td><td>7.1</td><td>7</td><td>39.3</td><td>4.7</td><td>7</td><td>30.2</td><td>7.6</td><td>9</td><td>21.9</td><td>11.0</td><td>0</td><td>120.0</td><td>0.0</td></tr><tr><td>14</td><td>0</td><td>120.0</td><td>0.0</td><td>0</td><td>120.0</td><td>0.0</td><td>7</td><td>68.21</td><td>46.01</td><td>-</td><td>-</td><td>-</td><td>1</td><td></td><td>-</td></tr><tr><td>15</td><td>3</td><td>79.08</td><td>71.27</td><td>9</td><td>35.02</td><td>25.58</td><td>7</td><td>66.02</td><td>42.88</td><td>1</td><td>-</td><td>-</td><td>-</td><td></td><td>-</td></tr><tr><td>16</td><td>1</td><td>108.2</td><td>2.0</td><td>1</td><td>108.2</td><td>2.0</td><td>8</td><td>34.4</td><td>13.1</td><td>4</td><td>75.6</td><td>9.0</td><td>0</td><td>120.0</td><td>0.0</td></tr><tr><td>17</td><td>10</td><td>2.9</td><td>2.9</td><td>10</td><td>3.2</td><td>3.2</td><td>5</td><td>61.6</td><td>4.0</td><td>0</td><td>120.0</td><td>0.0</td><td>0</td><td>120.0</td><td>0.0</td></tr><tr><td>18</td><td>10</td><td>4.0</td><td>4.0</td><td>10</td><td>4.0</td><td>4.0</td><td>7</td><td>50.6</td><td>24.9</td><td>0</td><td>120.0</td><td>0.0</td><td>0</td><td>120.0</td><td>0.0</td></tr></table>
|
| 263 |
+
|
| 264 |
+
Additionally, we constrain $d ( 0 ) = 0$ . Next, we train the model in an unsupervised fashion with the DL2 loss. In each experiment, we generate random graphs with 15 vertices and split the graphs into training (300), validation (150) and test set (150). As an unsupervised baseline, we consider a model which always predicts $d ( v ) = 1$ . We also train a supervised model with the mean squared error (MSE) loss. Remarkably, our approach was able to obtain an error very close to supervised model, without using any labels at all. This confirms that loss generated by DL2 can be used to guide the network to satisfy even very complex constraints with many nested conjunctions and disjunctions.
|
| 265 |
+
|
| 266 |
+
# 6.2 QUERYING WITH DL2
|
| 267 |
+
|
| 268 |
+
We evaluated DL2 on the task of querying with constraints, implemented in TensorFlow. We considered five image datasets, and for each, we considered at least two classifiers; for some we also considered a generator and a discriminator (trained using GAN (Goodfellow et al., 2014a)). Table 3 (Appendix E) provides statistics on the networks. Our benchmark consists of 18 template queries (Appendix E), which are instantiated with the different networks, classes, and images. Table 1 shows the results (- denotes an inapplicable query). Queries ran with a timeout of 2 minutes. Results indicate that our system often finds solutions. It is unknown whether queries for which it did not find a solution even have a solution. We observe that the success of a query depends on the dataset. For example, queries 9-11 are successful for all datasets but GTSBR. This may be attributed to the robustness of GTSBR networks against the adversarial examples that these queries aim to find. Query 14, which leverages a discriminator to find adversarial examples, is only successful for the CIFAR dataset. A possible explanation can be that discriminators were trained against real images or images created by a generator, and thus the discriminator performs poorly in classifying arbitrary images. Query 15, which leverages the generators, succeeds in all tested datasets, but has only few successes in each. As for overall solving time, our results indicate that, successful executions terminate relatively quickly and that our system scales well to large networks (e.g., for ImageNet).
|
| 269 |
+
|
| 270 |
+
# 7 CONCLUSION
|
| 271 |
+
|
| 272 |
+
We presented DL2, a system for training and querying neural networks. DL2 supports an expressive logical fragment and provides translation rules into a differentiable (almost everywhere) loss, which is zero only for inputs satisfying the constraints. To make training tractable, we handle input constraints which capture convex sets through PGD. We also introduce a declarative language for querying networks which uses the logic and the translated loss. Experimental results indicate that DL2 is effective in both, training and querying neural networks.
|
| 273 |
+
|
| 274 |
+
REFERENCES
|
| 275 |
+
Stephen H. Bach, Matthias Broecheler, Bert Huang, and Lise Getoor. Hinge-loss markov random fields and probabilistic soft logic. Journal of Machine Learning Research, 18:109:1–109:67, 2017. URL http://jmlr.org/papers/v18/15-631.html.
|
| 276 |
+
Radu Balan, Maneesh Singh, and Dongmian Zou. Lipschitz properties for deep convolutional networks. CoRR, abs/1701.05217, 2017.
|
| 277 |
+
Nicholas Carlini and David Wagner. Towards evaluating the robustness of neural networks. In 2017 IEEE Symposium on Security and Privacy (SP), pp. 39–57. IEEE, 2017.
|
| 278 |
+
William W. Cohen, Fan Yang, and Kathryn Mazaitis. Tensorlog: Deep learning meets probabilistic dbs. CoRR, abs/1707.05390, 2017.
|
| 279 |
+
John Duchi, Shai Shalev-Shwartz, Yoram Singer, and Tushar Chandra. Efficient projections onto the l 1-ball for learning in high dimensions. In Proceedings of the 25th international conference on Machine learning, pp. 272–279. ACM, 2008.
|
| 280 |
+
Zhoulai Fu and Zhendong Su. Xsat: a fast floating-point satisfiability solver. In International Conference on Computer Aided Verification, pp. 187–209. Springer, 2016.
|
| 281 |
+
Ian J. Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron C. Courville, and Yoshua Bengio. Generative adversarial nets. In Advances in Neural Information Processing Systems 27: Annual Conference on Neural Information Processing Systems (NIPS), pp. 2672–2680, 2014a.
|
| 282 |
+
Ian J Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. arXiv preprint arXiv:1412.6572, 2014b.
|
| 283 |
+
Henry Gouk, Eibe Frank, Bernhard Pfahringer, and Michael J. Cree. Regularisation of neural networks by enforcing lipschitz continuity. CoRR, abs/1804.04368, 2018.
|
| 284 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. pp. 770–778, 2016. doi: 10.1109/CVPR.2016.90. URL https://doi.org/10. 1109/CVPR.2016.90.
|
| 285 |
+
Zhiting Hu, Xuezhe Ma, Zhengzhong Liu, Eduard Hovy, and Eric Xing. Harnessing deep neural networks with logic rules. arXiv preprint arXiv:1603.06318, 2016.
|
| 286 |
+
Angelika Kimmig, Stephen Bach, Matthias Broecheler, Bert Huang, and Lise Getoor. A short introduction to probabilistic soft logic. In Proceedings of the NIPS Workshop on Probabilistic Programming: Foundations and Applications, pp. 1–4, 2012.
|
| 287 |
+
Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
|
| 288 |
+
Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. 2009.
|
| 289 |
+
Aleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu. Towards deep learning models resistant to adversarial attacks. CoRR, abs/1706.06083, 2017.
|
| 290 |
+
Pablo Marquez-Neila, Mathieu Salzmann, and Pascal Fua. Imposing hard constraints on deep net- ´ works: Promises and limitations. arXiv preprint arXiv:1706.02025, 2017.
|
| 291 |
+
Pasquale Minervini, Thomas Demeester, Tim Rocktaschel, and Sebastian Riedel. Adversarial sets ¨ for regularising neural link predictors. CoRR, abs/1707.07596, 2017. URL http://arxiv. org/abs/1707.07596.
|
| 292 |
+
Augustus Odena, Christopher Olah, and Jonathon Shlens. Conditional image synthesis with auxiliary classifier gans. arXiv preprint arXiv:1610.09585, 2016.
|
| 293 |
+
Chris Olah, Arvind Satyanarayan, Ian Johnson, Shan Carter, Ludwig Schubert, Katherine Ye, and Alexander Mordvintsev. The building blocks of interpretability. Distill, 2018. doi: 10.23915/ distill.00010. https://distill.pub/2018/building-blocks.
|
| 294 |
+
|
| 295 |
+
Adam Paszke, Sam Gross, Soumith Chintala, Gregory Chanan, Edward Yang, Zachary DeVito, Zeming Lin, Alban Desmaison, Luca Antiga, and Adam Lerer. Automatic differentiation in pytorch. 2017.
|
| 296 |
+
|
| 297 |
+
Deepak Pathak, Philipp Krahenbuhl, and Trevor Darrell. Constrained convolutional neural networks for weakly supervised segmentation. In Proceedings of the IEEE international conference on computer vision, pp. 1796–1804, 2015.
|
| 298 |
+
|
| 299 |
+
Kexin Pei, Yinzhi Cao, Junfeng Yang, and Suman Jana. Deepxplore: Automated whitebox testing of deep learning systems. In Proceedings of the 26th Symposium on Operating Systems Principles, Shanghai, China, October 28-31, 2017, pp. 1–18, 2017. doi: 10.1145/3132747.3132785. URL http://doi.acm.org/10.1145/3132747.3132785.
|
| 300 |
+
|
| 301 |
+
Kevin Schawinski, Ce Zhang, Hantian Zhang, Lucas Fowler, and Gokula Krishnan Santhanam. Galaxygan: Generative adversarial networks for recovery of galaxy features. Astrophysics Source Code Library, 2017.
|
| 302 |
+
|
| 303 |
+
Yang Song, Rui Shu, Nate Kushman, and Stefano Ermon. Generative adversarial examples. CoRR, abs/1805.07894, 2018.
|
| 304 |
+
|
| 305 |
+
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.
|
| 306 |
+
|
| 307 |
+
Dimitris Tsipras, Shibani Santurkar, Logan Engstrom, Alexander Turner, and Aleksander Madry. There is no free lunch in adversarial robustness (but there are unexpected benefits). arXiv preprint arXiv:1805.12152, 2018.
|
| 308 |
+
|
| 309 |
+
Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms, 2017.
|
| 310 |
+
|
| 311 |
+
Jingyi Xu, Zilu Zhang, Tal Friedman, Yitao Liang, and Guy Van den Broeck. A semantic loss function for deep learning with symbolic knowledge. In Jennifer Dy and Andreas Krause (eds.), Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pp. 5502–5511, Stockholmsmssan, Stockholm Sweden, 10–15 Jul 2018. PMLR.
|
| 312 |
+
|
| 313 |
+
Sergey Zagoruyko and Nikos Komodakis. Wide residual networks. arXiv preprint arXiv:1605.07146, 2016.
|
| 314 |
+
|
| 315 |
+
# A PROOF OF THEOREM 1
|
| 316 |
+
|
| 317 |
+
A.1 $\mathcal { L } ( \varphi ) ( \bar { x } ) = 0$ IMPLIES SATISFACTION
|
| 318 |
+
|
| 319 |
+
We start by giving a proof for the if direction of the Theorem 1, i.e. if $\mathcal { L } ( \varphi ) ( \bar { x } ) = 0$ , then $\bar { x }$ satisfies $\varphi$ . The proof is by induction on the formula structure (we assume $\varphi$ is negation-free as negations can be eliminated as described in the text).
|
| 320 |
+
|
| 321 |
+
As a base case, we consider formulas consisting of a single atomic constraint.
|
| 322 |
+
|
| 323 |
+
• $\varphi = ( t ^ { 1 } ( \bar { x } ) = t ^ { 2 } ( \bar { x } ) )$ If $d ( t ^ { 1 } ( \bar { x } ) , t ^ { 2 } ( \bar { x } ) ) = 0$ , then by definition $t ^ { 1 } ( \bar { x } ) = t ^ { 2 } ( \bar { x } )$ , and $\varphi$ is satisfied.
|
| 324 |
+
• $\varphi = ( t ^ { 1 } ( \bar { x } ) \leq t ^ { 2 } ( \bar { x } ) )$ If $\mathbf { 1 } _ { \mathrm { t } ^ { 1 } ( \bar { \mathbf { x } } ) > \mathrm { t } ^ { 2 } ( \bar { \mathbf { x } } ) } \cdot d ( t ^ { 1 } ( \bar { x } ) , t ^ { 2 } ( \bar { x } ) ) = 0$ , then by definition $t ^ { 1 } ( \bar { x } ) - t ^ { 2 } ( \bar { x } ) \leq 0 .$ , and $\varphi$ is satisfied.
|
| 325 |
+
• $\varphi = ( t ^ { 1 } ( \bar { x } ) < t ^ { 2 } ( \bar { x } ) )$ If $\mathbf { 1 } _ { \mathrm { t } ^ { 1 } ( \bar { x } ) + \xi > \mathrm { t } ^ { 2 } ( \bar { x } ) } \cdot \dot { d } ( t ^ { 1 } ( \bar { x } ) + \xi , t ^ { 2 } ( \bar { x } ) ) = 0$ , then $t ^ { 1 } ( \bar { x } ) + \xi - t ^ { 2 } ( \bar { x } ) \le 0$ , and since $\xi > 0$ , we get $t ^ { 1 } ( \bar { x } ) < t ^ { 2 } ( \bar { x } )$ . Thus, $\varphi$ is satisfied.
|
| 326 |
+
|
| 327 |
+
As an induction step, we consider combination of formulas using single logical and or logical or operation.
|
| 328 |
+
|
| 329 |
+
• $\varphi \vee \psi$ If $\mathcal { L } ( \varphi ) \cdot \mathcal { L } ( \psi ) = 0$ , then either $\mathcal { L } ( \varphi ) = 0$ or $\mathcal { L } ( \psi ) = 0$ . By the induction hypothesis, either $\varphi$ is satisfied or $\psi$ is satisfied, implying that $\varphi \vee \psi$ is satisfied.
|
| 330 |
+
• $\varphi \wedge \psi$ If $\mathcal { L } ( \varphi ) + \mathcal { L } ( \psi ) = 0$ , then (because $\mathcal { L }$ is non-negative) both $\mathcal { L } ( \varphi ) = 0$ and ${ \mathcal { L } } ( \psi ) = 0$ . By the induction hypothesis, $\varphi$ and $\psi$ are satisfied, implying that $\varphi \wedge \psi$ is satisfied.
|
| 331 |
+
|
| 332 |
+
A.2 ${ \mathcal { L } } ( \varphi ) ( { \bar { x } } ) \geq \delta ( \xi )$ IMPLIES NON-SATISFACTION
|
| 333 |
+
|
| 334 |
+
As all variables come from a bounded set, it is easy to see that for every formula $\varphi$ there exists bound $T ( \varphi )$ such that $\mathcal { L } ( \varphi ) ( \bar { x } ) \leq T ( \varphi )$ . In other words, loss can not be arbitrarily large for a fixed formula $\varphi$ . Given formula $\varphi$ , we will define $N ( \varphi )$ such that the following statement holds:
|
| 335 |
+
|
| 336 |
+
Lemma 1 If $\mathcal { L } ( \varphi ) ( \bar { x } ) > N ( \varphi ) \cdot \xi$ then $\bar { x }$ does not satisfy $\varphi ( { \bar { x } } \not \in \varphi )$ .
|
| 337 |
+
|
| 338 |
+
We prove Lemma 1 by induction on the formula structure. Base case of the induction is logical formula consisting of one atomic expression. In this case it is easy to see that if ${ \mathcal { L } } ( \varphi ) ( { \bar { x } } ) > \xi$ then $\bar { x }$ does not satisfy the formula. This means we can set $N ( \varphi ) = 1$ for such formulas and statement of the theorem holds.
|
| 339 |
+
|
| 340 |
+
We distinguish between two cases:
|
| 341 |
+
|
| 342 |
+
• $\varphi = \varphi _ { 1 } \wedge \varphi _ { 2 }$ In this case we define:
|
| 343 |
+
|
| 344 |
+
$$
|
| 345 |
+
N ( \varphi ) = N ( \varphi _ { 1 } ) + N ( \varphi _ { 2 } )
|
| 346 |
+
$$
|
| 347 |
+
|
| 348 |
+
Let $\bar { x }$ be an assignment which satisfies the formula $\varphi$ . This implies that $\bar { x }$ satisfies both $\varphi _ { 1 }$ and $\varphi _ { 2 }$ . From the assumption of induction we know that $\mathcal { L } ( \varphi _ { 1 } ) ( \bar { x } ) < N ( \varphi _ { 1 } ) \xi$ and $\mathcal { L } ( \varphi _ { 2 } ) ( \bar { x } ) < N ( \varphi _ { 2 } ) \xi$ .
|
| 349 |
+
|
| 350 |
+
Adding these inequalities (and using definitions of $\mathcal { L }$ and $N$ ) we get:
|
| 351 |
+
|
| 352 |
+
$$
|
| 353 |
+
\mathcal { L } ( \varphi ) ( \bar { x } ) = \mathcal { L } ( \varphi _ { 1 } ) ( \bar { x } ) + \mathcal { L } ( \varphi _ { 2 } ) ( \bar { x } ) < N ( \varphi _ { 1 } ) \xi + N ( \varphi _ { 2 } ) \xi = N ( \varphi ) \xi
|
| 354 |
+
$$
|
| 355 |
+
|
| 356 |
+
• $\varphi = \varphi _ { 1 } \vee \varphi _ { 2 }$
|
| 357 |
+
|
| 358 |
+
In this case we define:
|
| 359 |
+
|
| 360 |
+
$$
|
| 361 |
+
N ( \varphi ) = \operatorname* { m a x } \{ N ( \varphi _ { 1 } ) T ( \varphi _ { 2 } ) , N ( \varphi _ { 2 } ) T ( \varphi _ { 1 } ) \}
|
| 362 |
+
$$
|
| 363 |
+
|
| 364 |
+
Let $\bar { x }$ be an assignment which satisfies the formula $\varphi$ . This implies that $\bar { x }$ satisfies one of $\varphi _ { 1 }$ and $\varphi _ { 2 }$ . We can assume (without loss of generality) that $\bar { x }$ satisfies $\varphi _ { 1 }$ . From the
|
| 365 |
+
|
| 366 |
+
assumption of induction we know that $\mathcal { L } ( \varphi _ { 1 } ) ( \bar { x } ) < N ( \varphi _ { 1 } ) \xi$ and also $\mathcal { L } ( \varphi _ { 2 } ) ( \bar { x } ) < T ( \varphi _ { 2 } )$ Multiplying these inequalities (and using definitions of $\mathcal { L }$ and $N$ ) we get:
|
| 367 |
+
|
| 368 |
+
$$
|
| 369 |
+
\mathcal { L } ( \varphi ) ( \bar { x } ) = \mathcal { L } ( \varphi _ { 1 } ) ( \bar { x } ) \cdot \mathcal { L } ( \varphi _ { 2 } ) ( \bar { x } ) < N ( \varphi _ { 1 } ) \xi \cdot T ( \varphi _ { 2 } ) < N ( \varphi ) \xi
|
| 370 |
+
$$
|
| 371 |
+
|
| 372 |
+
Thus, one can choose $\delta ( \xi ) ~ = ~ N ( \varphi ) \xi$ . Then, $\begin{array} { r } { \operatorname* { l i m } _ { \xi \to 0 } \delta ( \xi ) ~ = ~ 0 } \end{array}$ and for every assignment $\bar { x }$ , ${ \mathcal { L } } ( \varphi ) ( { \bar { x } } ) > \delta ( \xi )$ implies that $\bar { x }$ does not satisfy $\varphi ( \bar { x } \not \in \varphi )$ , thus proving the Theorem 1.
|
| 373 |
+
|
| 374 |
+
To illustrate this construction we provide an example formula $\varphi = x ^ { 1 } < 1 \land x ^ { 2 } < 2$ . The loss encoding for this formula is $\mathcal { L } ( \varphi ) = \mathrm { m a x } \{ x ^ { 1 } + \xi - 1 , 0 \} + \mathrm { m a x } \{ x ^ { 2 } + \xi - 2 , 0 \}$ , where $\xi$ is the precision used for strong inequalities. For the given example our inductive proof gives $\delta ( \xi ) = 2 \xi$ . It is not difficult to show that assignments with loss greater than this value do not satisfy the formula. For example, consider $x ^ { 1 } = 1 \overset { \mathbf { \tilde { \mathbf { \alpha } } } } { + } \xi$ and $x ^ { 2 } = 2 + \bar { 3 } \xi$ . In this case $\mathcal { L } ( \varphi ) ( \bar { x } ) = 6 \xi > \dot { \delta } ( \xi ) = 2 \xi$ and the assignment obviously does not satisfy $\varphi$ . But also consider the assignment $x ^ { 1 } = 1 - 0 . 5 \xi$ and $x ^ { 2 } = 2 - 0 . 5 \xi$ . In this case $\mathcal { L } ( \varphi ) ( \bar { x } ) > 0$ and ${ \mathcal { L } } ( \varphi ) ( { \bar { x } } ) = \xi < \delta ( \xi ) \ { \bar { = } } \ 2 \xi$ and the assignment is indeed satisfying.
|
| 375 |
+
|
| 376 |
+
# B COMPARISON OF DL2 WITH PRIOR APPROACHES
|
| 377 |
+
|
| 378 |
+
XSAT (Fu & Su, 2016) also translates logical constraints into numerical loss, but its atomic constraints are translated into non-differentiable loss, making the whole loss non-differentiable. Probabilistic soft logic (e.g., Cohen et al. (2017); Hu et al. (2016)) translates logical constraints into differentiable loss, which ranges between $[ 0 , 1 ]$ . However, using their loss to find satisfying assignments with gradient methods can be futile, as the gradient may be zero. To illustrate, consider the toy example of $\varphi ( z ) : = ( z = { \binom { 1 } { 1 } } )$ . PSL translates this formula into the loss $\mathcal { L } _ { \mathrm { P S L } } ( \varphi ) = \mathrm { m a x } \{ z _ { 0 } + z _ { 1 } - 1 , 0 \}$ (it assumes $z _ { 0 } , z _ { 1 } \in [ 0 , 1 ] \forall$ ). Assuming optimization starts from $\pmb { x } = \left( ^ { 0 . 2 } _ { 0 . 2 } \right)$ (or any pair of numbers such that $z _ { 0 } + z _ { 1 } - 1 \le 0 $ ), the gradient is $\nabla _ { z } \mathcal { L } _ { \mathrm { P S L } } ( \varphi ) ( { \pmb x } ) = ( { \bf \Phi } _ { 0 } ^ { 0 } )$ , which means that the optimization cannot continue from this point, even though $_ { \textbf { \em x } }$ is not a satisfying assignment to $\varphi$ . In contrast, with our translation, we obtain $\mathcal { L } ( \varphi ) ( z ) = | z _ { 0 } - 1 | + | z _ { 1 } - 1 |$ , for which the gradient for the same $_ { \textbf { \em x } }$ is $\nabla _ { z } { \mathcal { L } } ( \varphi ) ( { \pmb x } ) = \left( { \begin{array} { l } { - 1 } \\ { - 1 } \end{array} } \right)$ .
|
| 379 |
+
|
| 380 |
+
# C OPTIMIZATION FOR QUERYING NETWORKS
|
| 381 |
+
|
| 382 |
+
Here we discuss how the loss compilation can be optimized for L-BFGS-B. While our translation is defined for arbitrary large constraints, in general, it is hard to optimize for a loss with many terms. Thus, we mitigate the size of the loss by extracting box constraints out of the expression. The loss is then compiled from remaining constraints. Extracted box constraints are passed to the L-BFGS-B solver which is then used to find the minimum of the loss. This “shifting” enables us to exclude a dominant part of $\varphi$ from the loss, thereby making our loss amenable to optimization. To illustrate the benefit, consider the query in Fig. 1a. Its box constraint, i in [0,255], is a syntactic sugar to a conjunction with $2 \cdot 3 2 \cdot 3 2 \cdot 3 = 6 , 1 4 4$ atomic constraints (two for each variables, i.e., for every index $j$ , we have $i _ { j } \geq 0$ and $i _ { j } \leq 2 5 5 )$ . In contrast, the second constraint consists of 9 atomic constraints (one for each possible class different from 9, as we shortly explain), and the third and fourth constraints are already atomic. If we consider 6, 155 atomic constraints in the loss, finding a solution (with gradient descent) would be slow. For larger inputs (e.g., inputs for ImageNet, whose size is $2 2 4 \cdot 2 2 4 \cdot 3 > 1 5 0 , 0 0 0 )$ , it may not terminate in a reasonable time. By excluding the box constraints from the loss, the obtained loss consists of only 11 terms, making it amenable for gradient optimization. We note that while a solution is not found (and given enough timeout), we restart L-BFGS-B and initialize the variables using MCMC sampling.
|
| 383 |
+
|
| 384 |
+
# D EXPERIMENTS DETAILS
|
| 385 |
+
|
| 386 |
+
Table 2: Hyperparameters used for supervised learning experiment
|
| 387 |
+
|
| 388 |
+
<table><tr><td></td><td colspan="3">MNIST,FASHI</td><td colspan="3">CIFAR-10</td></tr><tr><td></td><td>入</td><td>PGD Iterations</td><td>Params</td><td>入</td><td>PGD Iterations</td><td>Params</td></tr><tr><td>RobustnessT</td><td>0.2</td><td>-</td><td>€1 = 7.8,∈2 = 2.9</td><td>0.04</td><td>1</td><td>€1 = 13.8,∈2 = 0.9</td></tr><tr><td>RobustnessG</td><td>0.2</td><td>50</td><td>€1 = 0.3,δ= 0.52</td><td>0.1</td><td>7</td><td>∈1 = 0.03,δ= 0.52</td></tr><tr><td>LipschitzT</td><td>0.1</td><td>-</td><td>L=0.1</td><td>0.1</td><td>-</td><td>L =1.0</td></tr><tr><td>LipschitzG</td><td>0.2</td><td>50</td><td>L=0.1</td><td>0.1</td><td>5</td><td>L=1.0</td></tr><tr><td>ClassesT</td><td>1</td><td>1</td><td>=</td><td>0.2</td><td>1</td><td>δ=0.01</td></tr><tr><td>ClassesG</td><td>1</td><td>1</td><td>1</td><td>0.2</td><td>10</td><td>δ=0.01</td></tr><tr><td>SegmentG</td><td>0.01</td><td>5</td><td>∈=100</td><td>-</td><td>-</td><td>-</td></tr></table>
|
| 389 |
+
|
| 390 |
+
Here we describe implementation details (including hyperaparameters) used during our experiments.
|
| 391 |
+
|
| 392 |
+
Supervised learning For our experiments with supervised learning we used batch size 128, Adam optimizer with learning rate 0.0001. All other parameters are listed in 2. Additionally, for CIFAR10 experiments we use data augmentation with random cropping and random horizontal flipping. Experiments with Segment constraints are done by first embedding images in 40-dimensional space using PCA. In lower dimensional space it is sensible to consider linear interpolation between images which is not the case otherwise. Note that this experiment is not performed for CIFAR-10 because we do not observe good prediction accuracy with baseline model using lower dimensional embeddings. This is likely because dimensionality of CIFAR-10 images is much higher than MNIST or FASHION.
|
| 393 |
+
|
| 394 |
+
We used ResNet-18 (He et al., 2016) for experiments on CIFAR-10 and convolutional neural network (CNN) with 6 convolutional and 2 linear layers for MNIST and FASHION (trained with batchnorm after each convolutional layer). The layer dimensions of CNN are (1, 32, 5x5) - (32, 32, 5x5) - (32, 64, 3x3) - (64, 64, 3x3) - (64, 128, 3x3) - (128, 128, 1x1) - $1 0 0 ~ \cdot ~ 1 0 ~ $ where (in, out, kernel-size) denotes a convolutional layer and a number denotes a linear layer with corresponding number of neurons.
|
| 395 |
+
|
| 396 |
+
Semi-supervised learning All methods use the same Wide Residual Network model. We use depth 28 and widening factor 10. Neural network is optimized using Adam with learning rate 0.001. We use $\lambda = 0 . 6$ as weighting factor for DL2 loss.
|
| 397 |
+
|
| 398 |
+
For semantic loss experiment we follow the encoding from $\mathrm { X u }$ et al. (2018). Please consult the original work to see how exactly-one constraint is encoded into semantic loss. Since rule distillation does not support our constraint, we use the following approximation (following notation from Hu et al. (2016)):
|
| 399 |
+
|
| 400 |
+
$$
|
| 401 |
+
r _ { l } ( X , Y ) = \sum _ { Y ^ { \prime } \in G ( Y ) } \sigma _ { \theta } ( Y ^ { \prime } )
|
| 402 |
+
$$
|
| 403 |
+
|
| 404 |
+
We denote $G ( Y )$ as set of labels sharing the same group as $Y$ . Note that rule is meant to encourage putting more probability mass into the groups which already have high probability mass. This should result in the entire probability mass collapsed in one group in the end, as we want. We use $\pi _ { t } = \operatorname* { m a x } ( 0 , 1 . 0 - 0 . 9 7 ^ { t } )$ as mixing factor. Other constants used are $C = 1$ and $\lambda = 1$ .
|
| 405 |
+
|
| 406 |
+
In this experiment, we used Wide Residual Networks (Zagoruyko & Komodakis, 2016) with $n { = } 2 8$ and $k { = } 1 0$ (i.e. 28 layers).
|
| 407 |
+
|
| 408 |
+
# Unsupervised learning
|
| 409 |
+
|
| 410 |
+
Our model is the multilayer perceptron with $N ^ { * } N$ input neurons, three hidden layers with 1000 neurons each and an output layer of $\mathbf { N }$ neurons. $N$ is the number of vertices in the graph, in our case 15. The input takes all vertices in the graph and the output is the distance for each node. The network uses ReLU activations and dropout of 0.3 after at each hidden layer. Network is optimized using Adam with learning rate 0.0001.
|
| 411 |
+
|
| 412 |
+
Table 3: The datasets and networks used to evaluate DL2. The reported accuracy is top-1 accuracy and it was either computed by the authors $( ^ { * } )$ , users that implemented the work $( ^ { \# } )$ , or by us (†). Note that for GTSRB the images have dimensions $3 2 \times 3 2 \times 3$ , but the Cs take inputs of $3 2 \times 3 2 ( \times 1 )$ , which are pre-processed grayscale versions.
|
| 413 |
+
|
| 414 |
+
<table><tr><td>Dataset</td><td>Type</td><td>Network</td><td>Architecture</td><td>Accuracy</td></tr><tr><td rowspan="6">MNIST</td><td>C</td><td>M_NN1: [0,1]28×28 ↓ [0,1]10</td><td>Tensorflow Tutorial</td><td>0.992+</td></tr><tr><td>C</td><td>M_NN2:[0,128×28 I [0,1j10</td><td>M_NN1 with an additional layer</td><td>0.990t</td></tr><tr><td>G</td><td>M-G:[-,10,</td><td>DC-GAN</td><td>-</td></tr><tr><td>D</td><td>28×28→[0,1] M_D: [0,1]²</td><td>DC-GAN</td><td>-</td></tr><tr><td>G</td><td>:[-110{,0 M_ACGAN_G:</td><td>AC-GAN</td><td>=</td></tr><tr><td>D</td><td>M_ACGAN[,8[,]</td><td>AC-GAN</td><td>1</td></tr><tr><td rowspan="4">Fashion MNIST</td><td>C</td><td>FM_NN1:[0,1]28×28 I [0,1]10</td><td>Tensorflow Tutorial</td><td>0.917†</td></tr><tr><td>C</td><td>FM_NN2:[0,128×28 I [0,1]10</td><td>FM_NN1 with an additional layer</td><td>0.910t</td></tr><tr><td>G</td><td>FM_G: [-1,1]100 I [0,1]28×28</td><td>DC-GAN</td><td>-</td></tr><tr><td>D</td><td>FMD:[0,128×28 →[0,1]</td><td>DC-GAN</td><td>-</td></tr><tr><td rowspan="5">CIFAR</td><td>C</td><td>C_NN1 : [0,255]32×32×3 →[0,1]10</td><td>4-layer-model</td><td>0.712#</td></tr><tr><td>C</td><td>C_NN2: [0,255] j32×32×3 →[0,1]10</td><td>6-layer-model</td><td>0.756#</td></tr><tr><td>C</td><td>C_VGG : [0,255] j32×32×3 →[0,1]10</td><td>VGG-16-based</td><td>0.935#</td></tr><tr><td>G</td><td>C_G:[-1,1]100 [0,255]32×32×3</td><td>DC-GAN</td><td>-</td></tr><tr><td>D</td><td>C_D :[0,255]32×32x3 →[0,1]</td><td>DC-GAN</td><td>-</td></tr><tr><td rowspan="2">GTSRB</td><td>C</td><td>G_LeNet : [0,1]32×32 →[0,1]43</td><td>based on LeNet</td><td>0.914t</td></tr><tr><td>C</td><td>G-VGG: [0,1]32×32 [0,1]43</td><td>based on VGG</td><td>0.973†</td></tr><tr><td rowspan="3">ImageNet</td><td>C</td><td>I_V16: :[0,255]224×224x3 →[0,1]1000</td><td>VGG-16 from Keras</td><td>0.715*</td></tr><tr><td>C</td><td>I-V19:[0,255] 224×224×3 →[0,1]1000</td><td>VGG-19 from Keras</td><td>0.727*</td></tr><tr><td>C</td><td>[0,25242 I_R50:</td><td>ResNet-50 from Keras</td><td>0.759*</td></tr></table>
|
| 415 |
+
|
| 416 |
+
# E ADDITIONAL DETAILS FOR SECTION 6.2
|
| 417 |
+
|
| 418 |
+
Here we provide statistics on the networks used in the experiments of Sec. 6.2, as well as the query templates.
|
| 419 |
+
|
| 420 |
+
Dataset and networks Our benchmark consists of five image datasets, each with different wellestablished neural networks’ architectures. For each dataset, we consider at least two classifiers, and for some we also consider a generator and a discriminator (trained using GAN Goodfellow et al. (2014a)). We trained most networks ourselves, except for the C_VGG and the ImageNet classifiers, for which the weights were available to download. Table 3 summarizes the networks that we used, their architecture, and accuracy. Each row shows the dataset, the type of the network (classifier, generator, or discriminator), the network signature, and the architecture of the network. For example, the first row describes a classifier that takes as input images of size $2 8 \times 2 8$ pixels, each ranging between 0–1, and returns a probability distribution over ten classes.
|
| 421 |
+
|
| 422 |
+
<table><tr><td colspan="2">Query</td><td></td></tr><tr><td>1</td><td>eval N(var)</td><td>2 find i[shape]</td></tr><tr><td></td><td>3 find i[shape]</td><td>where c(N(i))=C</td></tr><tr><td></td><td>pix_con</td><td>where c(N(i))=C,</td></tr><tr><td></td><td>4 find i[shape] pix_con</td><td>where c(N(i))=C, N(i).p[c]> 0.8,</td></tr><tr><td></td><td>init i=var</td><td>5 find i[shape] where c(N(i))=C</td></tr><tr><td></td><td>6 find i[shape] pix_con, init i=var</td><td>where c(N(i))=C, lli - var|lα < dist</td></tr><tr><td>7</td><td>pix_con init i=var</td><td>find i[shape] where c(N(i))=C,</td></tr><tr><td></td><td>i[nm]=var[nm] init i=var</td><td>8 find i[shape] where c(N(i))=C, i[mask] in range,</td></tr><tr><td></td><td>pix_con, init i=var</td><td>9 find i[shape] where c(N(i))=C, N(i).p[c] > 0.8</td></tr><tr><td>N(i).p[cu]< 0.1</td><td>pix_con,</td><td>10 find i[shape] where c(N(i))=C, N(i).p[c] > 0.8,</td></tr><tr><td></td><td>init i=var 11 find i[shape] pix_con, li-varl/α < dist init i=var</td><td>where c(N(i))=C, N(i).p[c]> 0.8, N(i).p[cu]<0.i,</td></tr></table>
|
| 423 |
+
|
| 424 |
+
<table><tr><td colspan="2">Query</td><td></td></tr><tr><td>12 find i[shape] c(Ni(i))=C1</td><td>where pix_con, C (N2(i))=C2, 13 find i[shape] where pix_con,</td><td></td></tr><tr><td></td><td>C(N2(i))=C, |i - var|lα < dist, c(Ni(i))=Cui init i=var 14 find i[shape]</td><td></td></tr><tr><td></td><td>where c(Ni(i))=C1, C (N2(i))=C2: N1(i).p[C1]> 0.5, N2(i).p[c1]< 0.1, N2(i).p[C2] > 0.5, N1(i).p[C2]<0.1, pix_con,D(i)< 0.1</td><td></td></tr><tr><td>15 find i[100]</td><td>where i in[-1,1], C(N1(G(i)))=C1, Ni(G(i)).p[c1]> 0.3, C(N2(G(i)))=C2, N2(G(i)).p[C2]> 0.3 16 find i[shape]</td><td></td></tr><tr><td></td><td>where c(Ni(i))=Cv c(N2(i))=C, i[mask] in range, i[nm]=var[nm] init i=var 17 find i[shape]</td><td></td></tr><tr><td>pix_con</td><td>where c(Ni(i))=C1, c(N2(i))=C2: Ni(i).p[c1]> 0.5, Ni(i).p[c2]< 0.1,</td><td></td></tr><tr><td>pix_con</td><td>18 find i[shape] where c(Ni(i))=C1, c(N2(i))=C2: N1(i).p[c1]> 0.6, Ni(i).p[c2]< 0.1, N2(i).p[C2] > 0.6, N2(i).p[c1]<0.1,</td><td></td></tr></table>
|
| 425 |
+
|
| 426 |
+
# F ADDITIONAL EXPERIMENTS
|
| 427 |
+
|
| 428 |
+
Here we provide further experiments to investigate scalability and run-time behavior of DL. For all experiments we use the same hyperparameters as in Section 6.2, but ran experiments I and II on a laptop CPU and experiment III on the same GPU setup as in Section 6.2 and increased the timeout to $3 0 0 \mathrm { s }$ .
|
| 429 |
+
|
| 430 |
+

|
| 431 |
+
|
| 432 |
+
(a) Run-time for experiment 1. Runs up to $2 ^ { 1 3 }$ vari- (b) Run-time for experiment 2. All runs up to $c =$ ables are between $0 . 1 - 0 . 2 \mathrm { ~ s ~ }$ and don’t show in- 5000 take around $0 . 1 5 \ : \mathrm { s }$ .
|
| 433 |
+
crease with number of variables. Afterwards growth
|
| 434 |
+
is linear.
|
| 435 |
+
|
| 436 |
+
Figure 6: Experimental results for Experiments 1 and 2. Results are average over 10 runs with different random seed. All runs succeed.
|
| 437 |
+
|
| 438 |
+
Experiment I: Number of variables To study the run-time behavior in the number of variables we consider a simple toy query
|
| 439 |
+
|
| 440 |
+
f i n d i[c]
|
| 441 |
+
w h e r e 1000 < sum(i), sum(i) < 1001
|
| 442 |
+
r e t u r n i
|
| 443 |
+
|
| 444 |
+
for different integers $c$ . We execute this query for a wide range of $c$ values, 10 times each and report the average run-time in Figure 6a. All runs succeeded and found a correct solution. We observe constant run-time behavior for up to $2 ^ { 1 3 }$ variables and linear run-time in the number of variables afterwards.
|
| 445 |
+
|
| 446 |
+
Experiment II: Opposing constrains To study the impact of (almost) opposing constraints we again consider a simple toy query
|
| 447 |
+
|
| 448 |
+
f i n d i[1]
|
| 449 |
+
w h e r e $\mathrm { ~ i ~ } [ 0 ] < - c \lor c < \mathrm { ~ i ~ } [ 0 ]$
|
| 450 |
+
r e t u r n i
|
| 451 |
+
|
| 452 |
+
for an integer $c$ . This query requires optimizing two opposing terms until one of them is fulfilled. The larger $c$ the more opposed the two objectives are and indeed for $c \to \infty$ we would obtain an unsatisfiable objective. Again all runs succeeded and found a correct solution. In Figure 6b we present the average run-time over 10 runs for different $c$ . Up to $c = 5 0 0 0$ the run-time is constant with roughly $0 . 1 5 \ : \mathrm { s }$ .
|
| 453 |
+
|
| 454 |
+
Experiment III: Scaling in the number of constraints To study the scaling of DL2 in the number of constraints consider the following query for an adversarial example:
|
| 455 |
+
|
| 456 |
+
For this experiment we consider the query:
|
| 457 |
+
|
| 458 |
+
FIND p[28, 28] WHERE c l a s s (M_NN1(clamp(p + M_nine, 0, 1))) = c RETURN i, clamp(p $^ +$ M_nine, 0, 1)
|
| 459 |
+
|
| 460 |
+
The query looks for an adversarial perturbation $p$ to a given image of a nine (M_nine) such that the resulting image gets classifies as class $c$ . The query returns the found perturbation and the resulting image. The clamp(I, a, b) operation takes an input I and cuts off all it’s values such that they are between $a$ and $b$ .
|
| 461 |
+
|
| 462 |
+
Additionally we impose constraints the rows and columns of the image. For a row $i$ we want to enforce that the values of the perturbation vector are increasing from left to right:
|
| 463 |
+
|
| 464 |
+
<table><tr><td colspan="8">Row constraints</td></tr><tr><td>k [s] #</td><td>0 1.01 9</td><td>1 2.63 9</td><td>3 5.77 9 Column</td><td>5 9.63 9 constraints</td><td>10 19.77 9</td><td>20 44.61 9</td><td>28 84.49 9</td></tr><tr><td>k [s] #</td><td>0 0.89 9</td><td>1 2.68 9 Row</td><td>3 5.73 9 & Column constraints</td><td>5 9.30 9</td><td>10 18.46 9</td><td>20 42.03 9</td><td>28 125.92 9</td></tr><tr><td>k [s] #√</td><td>0 0.87</td><td>1 4.19</td><td>3 11.04</td><td>5 17.74</td><td>10 44.04</td><td>20 163.57</td><td>28 243.72</td></tr></table>
|
| 465 |
+
|
| 466 |
+
Table 4: Run times for additional constraints on adversarial perturbation. #✓is the number of successful runs out of 9 and $\textcircled{2}$ s the average run time over the successful runs in seconds. $k$ row or column constraints corresponds to 27 individual constraints in DL2 each. So the right most column adds 756 constraints for the first two settings and 1512 for the last.
|
| 467 |
+
|
| 468 |
+
$$
|
| 469 |
+
\begin{array} { r } { \texttt { p } [ \texttt { i } , \texttt { 0 } ] \texttt { < p } [ \texttt { i } , \texttt { 1 } ] , \texttt { p } [ \texttt { i } , \texttt { 1 } ] \texttt { < p } [ \texttt { i } , \texttt { 2 } ] , \texttt { p } [ \texttt { i } , \texttt { 2 } ] \texttt { < p } [ \texttt { i } , \texttt { 3 } ] , \texttt { \ldots } [ \texttt { i } , \texttt { i } ] . } \end{array}
|
| 470 |
+
$$
|
| 471 |
+
|
| 472 |
+
For one row this yields 27 constraints. Further we consider a similar constraint for a column $j$ , where we want the values to increase from to to bottom:
|
| 473 |
+
|
| 474 |
+
$$
|
| 475 |
+
\begin{array} { r } { \texttt { p } [ 0 , \texttt { \textbf { j } } ] \ < \texttt { p } [ 1 , \texttt { \textbf { j } } ] , \texttt { p } [ 1 , \texttt { \textbf { j } } ] \ < \texttt { p } [ 2 , \texttt { \textbf { j } } ] , \texttt { p } [ 2 , \texttt { \textbf { j } } ] \ < \texttt { p } [ 3 , \texttt { \textbf { j } } ] \ \dots . } \end{array}
|
| 476 |
+
$$
|
| 477 |
+
|
| 478 |
+
We apply these constraints on the first $k$ rows and columns of the image independently and jointly. For different $k$ we execute the query over all possible target classes $\bar { c } \in \{ 0 , \bar { \ldots } , 8 \}$ and report the average time in Table 4. The run-time is mostly linear for $k$ up to 20 but then jumps as we increase it to 28. The reason for this is likely that with many more constraints the solution spare grows sparer and sparser and it becomes hard to find an assignment. We observe that all queries, but for 5 in the case with $k = 2 8$ row and column constraints, could be solved. These 5 queries hit the $3 0 0 \mathrm { ~ s ~ }$ timeout. Figure 7 shows a resulting image.
|
| 479 |
+
|
| 480 |
+

|
| 481 |
+
(b) The resulting image.
|
| 482 |
+
|
| 483 |
+

|
| 484 |
+
Figure 7: Found results for the full 28 row & column constraints and target class 6.
|
| 485 |
+
|
| 486 |
+
(a) The found perturbation $p$ , scaled such that $- 0 . 3$ corresponds to black and 0.3 to white.
|
parse/train/H1faSn0qY7/H1faSn0qY7_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/H1faSn0qY7/H1faSn0qY7_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/H1faSn0qY7/H1faSn0qY7_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/KRODJAa6pzE/KRODJAa6pzE.md
ADDED
|
@@ -0,0 +1,325 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# A Geometric Analysis of Neural Collapse with Unconstrained Features
|
| 2 |
+
|
| 3 |
+
Zhihui Zhu∗ University of Denver zhihui.zhu@du.edu
|
| 4 |
+
|
| 5 |
+
Tianyu Ding Johns Hopkins University tding1@jhu.edu
|
| 6 |
+
|
| 7 |
+
Jinxin Zhou University of Denver jinxin.zhou@du.edu
|
| 8 |
+
|
| 9 |
+
Xiao Li University of Michigan xlxiao@umich.edu
|
| 10 |
+
|
| 11 |
+
Chong You Google Research cyou@google.com
|
| 12 |
+
|
| 13 |
+
Jeremias Sulam Johns Hopkins University jsulam1@jhu.edu
|
| 14 |
+
|
| 15 |
+
Qing Qu University of Michigan qingqu@umich.edu
|
| 16 |
+
|
| 17 |
+
# Abstract
|
| 18 |
+
|
| 19 |
+
We provide the first global optimization landscape analysis of Neural Collapse— an intriguing empirical phenomenon that arises in the last-layer classifiers and features of neural networks during the terminal phase of training. As recently reported in [1], this phenomenon implies that $( i )$ the class means and the last-layer classifiers all collapse to the vertices of a Simplex Equiangular Tight Frame (ETF) up to scaling, and $( i i )$ cross-example within-class variability of last-layer activations collapses to zero. We study the problem based on a simplified unconstrained feature model, which isolates the topmost layers from the classifier of the neural network. In this context, we show that the classical cross-entropy loss with weight decay has a benign global landscape, in the sense that the only global minimizers are the Simplex ETFs while all other critical points are strict saddles whose Hessian exhibit negative curvature directions. Our analysis of the simplified model not only explains what kind of features are learned in the last layer, but also shows why they can be efficiently optimized, matching the empirical observations in practical deep network architectures. These findings provide important practical implications. As an example, our experiments demonstrate that one may set the feature dimension equal to the number of classes and fix the last-layer classifier to be a Simplex ETF for network training, which reduces memory cost by over $20 \%$ on ResNet18 without sacrificing the generalization performance. The source code is available at https://github.com/tding1/Neural-Collapse.
|
| 20 |
+
|
| 21 |
+
# 1 Introduction
|
| 22 |
+
|
| 23 |
+
In the past decade, the revival of deep neural networks (DNN) has led to dramatic success in numerous applications ranging from computer vision, to natural language processing, to scientific discovery and beyond [2–5]. Nevertheless, the practice of deep networks has been shrouded with mystery as our theoretical understanding for the success of deep learning remains elusive. There are many intriguing phenomena, such as implicit algorithmic bias in training [6–10], and good generalization of highly-overparameterized networks [7,11–15], that seem often contradictory to, or cannot be explained by, classical optimization and learning theory.
|
| 24 |
+
|
| 25 |
+

|
| 26 |
+
Figure 1: Illustration of Neural Collapse. Here $\phi _ { \pmb { \theta } } ( \cdot )$ denotes the feature mapping of the network, i.e. the output of the penultimate layer; see (1) for the formal definition.
|
| 27 |
+
|
| 28 |
+

|
| 29 |
+
Figure 2: Illustration of the unconstrained feature model, where the gray box is peeled off so that the representation $^ { h }$ is modeled by a simple decision variable for every training sample.
|
| 30 |
+
|
| 31 |
+
Towards demystifying DNN, recent seminal work [1, 16] empirically discovered an intriguing phenomenon that persists across a range of canonical classification problems during the terminal phase of training. As illustrated in Figure 1, it has been widely observed that last-layer features and classifiers of a trained DNN exhibit simple but elegant mathematical structures:
|
| 32 |
+
|
| 33 |
+
• Variability Collapse: cross-example within-class variability of last-layer features collapses to zero, as the individual features of each class themselves concentrate to their isolated class-means.
|
| 34 |
+
• Convergence to Simplex ETF: the class-means centered at their global mean are not only linearly separable, but are actually maximally distant and located on a sphere centered at the origin up to scaling (i.e., they form a Simplex Equiangular Tight Frame (ETF) – or Simplex ETF, which is formally defined in Definition C.1 in the Appendix).
|
| 35 |
+
• Convergence to Self-duality: the last-layer linear classifiers, living in the dual vector space to that of the class-means, are perfectly matched with their class-means.
|
| 36 |
+
• Simple Decision Rule: the last-layer classifier is behaviorally equivalent to a Nearest Class-Center decision rule.
|
| 37 |
+
|
| 38 |
+
These results suggest that deep networks are learning maximally separable features between classes, and a max-margin classifier in the last layer upon these learned features, touching the ceiling in terms of the performance. This phenomenon is referred to as Neural Collapse (N C) [1], and it persists across a range of canonical classification problems, on different neural network architectures (e.g., VGG [17], ResNet [18], and DenseNet [19]) and on a variety of standard datasets (such as MNIST [20], CIFAR [21], and ImageNet [22]).
|
| 39 |
+
|
| 40 |
+
Fully demystifying the $\mathcal { N C }$ phenomenon in theory can be very challenging. Perhaps the most difficult hurdle lies in the nonconvexity of the optimization problem for training neural networks, which, loosely speaking, stems from the nonlinear interaction across many different layers of neural networks. Towards this goal, a recent line of work [23–29] studied the properties of last-layer classifiers and features based on the assumption of the so-called unconstrained feature model [23] or layer-peeled model [26]. At a high level, the unconstrained feature model takes a top-down approach to the analysis of deep neural networks [23–26, 29–31], wherein the last-layer features are modeled as free optimization variables (hence we call them unconstrained features) along with the last-layer classifiers (see Figure 2 for an illustration); this is in contrast to the conventional bottomup approach that studies the problem starting from the input [32–42].2 The underlying reasoning is that modern deep networks are often highly overparameterized with the capacity of learning any representations [43–46], so that the last-layer features can approximate, or interpolate, any point in the feature space. In this way, the model simplifies the study of last-layer features, enabling us to analyze the interaction between them and the last-layer classifiers.
|
| 41 |
+
|
| 42 |
+
Nonetheless, the simplified unconstrained feature model still leaves us a highly nonconvex training loss to be dealt with. Despite the nonconvexity, recent work [23–28] studied the global minimizers, proving that Simplex ETFs (i.e., $\mathcal { N C } )$ ) are indeed global solutions to the nonconvex loss. In particular, the work [23, 47] studied the training problem with the least-squared loss, proving that the gradient flow converges to $\mathcal { N C }$ solutions with extra assumptions. Another line of work [24–27] considered the commonly used cross-entropy loss for classification, showing that the only global minimizers of the loss function are Simplex ETFs with different constraints on the weights and features.3 However, these results still suffer from several limitations: $( i )$ due to the nonconvex nature, only characterizing optimality conditions is not enough to explain the empirical convergence of iterative algorithms to $\bar { \mathcal { N C } }$ , such as stochastic gradient descent (SGD); (ii) the problem formulations differ from those typically used in practice, which deploy norm regularization (i.e., weight decay) on the weights, rather than enforcing constraints, for the ease of optimization.4
|
| 43 |
+
|
| 44 |
+
Table 1: Comparison of the setup and results under the unconstrained feature model with cross-entropy loss.
|
| 45 |
+
|
| 46 |
+
<table><tr><td></td><td colspan="2">Regularizer</td><td>Bias term</td><td colspan="2">Results</td></tr><tr><td></td><td>Constraint</td><td>Weight decay</td><td></td><td>Global minimizer</td><td>Landscape</td></tr><tr><td>[24-27]</td><td>√</td><td></td><td></td><td>√</td><td></td></tr><tr><td>This paper</td><td></td><td>√</td><td></td><td>√</td><td></td></tr></table>
|
| 47 |
+
|
| 48 |
+
Contributions of This Work. Inspired by these pioneering results [1, 23–26, 29], in this work we take a step further by characterizing the global optimization landscape of the network training loss based on the unconstrained feature model. Our contributions are summarized as follows.
|
| 49 |
+
|
| 50 |
+
• Benign Global Landscape. For the unconstrained feature model, we provide the first result showing that a commonly used, regularized cross-entropy loss is a strict saddle function [49–51]. In other words, every critical point is either a global solution (corresponding to Simplex ETFs) or a strict saddle point5 with negative curvature, so that there is no spurious local minimizer on the optimization landscape. As summarized in Table 1, this is in contrast to previous work [23–26] that only characterizes global minimizers.
|
| 51 |
+
• Efficient, Algorithmic Independent, Global Optimization. The benign global landscape implies that any method that can escape strict saddle points (e.g. stochastic gradient descent) converges to a global solution [52] that exhibits $\mathcal { N C }$ . This result supports our empirical observation, as shown in Section 4.1, that practical overparameterized networks always converge to Simplex ETF solutions with a diverse choice of optimization algorithms.
|
| 52 |
+
• Cost Reduction for Practical Network Training. Moreover, the universality of $\mathcal { N C }$ implies that there is no need of training the last-layer classifiers since the weights can be simply fixed as a Simplex ETF throughout the training process. On the other hand, since $\mathcal { N C }$ happens whenever $d \geq K$ , this implies that we can choose the feature dimension $d$ comparable to the number of classes $K$ , reducing the feature dimension for further computational benefits. In Section 4.3, our experiments demonstrate that such a strategy achieves on par performance with classical training methods, leading to substantial cost reductions on both memory and computation.
|
| 53 |
+
|
| 54 |
+
Our results shed new light on the question raised in the recent paper [53] on the role of the optimization strategy (e.g., stochastic gradient descent) for achieving $\mathcal { N C }$ in training practical deep networks. This question also relates to the recent highly influential work [7] on the implicit algorithmic bias. For multi-class classification problems with linearly separable data, this work [7] showed that linear predictors optimized by gradient descent converge to the max-margin classifiers even without adding any explicit regularization on the cross-entropy loss. Based on this result, a sequence of works [54–61] laid great emphasis on the notion of “inductive bias” of particular optimization algorithms as a reason for the surprising success in training deep learning models.6 In contrast, both our theoretical result on the global landscape for the unconstrained feature model and the empirical evidence on practical deep models demonstrate that $\mathcal { N C }$ in network training is facilitated not only by the choice of the optimization methods, but more importantly, by the choice of loss functions and the power of overparameterization in the network architecture.
|
| 55 |
+
|
| 56 |
+
# 2 The Problem Setup
|
| 57 |
+
|
| 58 |
+
A deep neural network is essentially a nonlinear mapping $\psi ( \cdot ) : \mathbb { R } ^ { D } \mapsto \mathbb { R } ^ { K }$ , which can be modeled by a composition of simple maps: $\psi ( \pmb { x } ) = \psi ^ { L } \circ \cdot \cdot \cdot \circ \psi ^ { 2 } \circ \psi ^ { 1 } ( \pmb { x } )$ for $\textbf { \em x } \in ~ \mathbb { R } ^ { D }$ , where $\psi ^ { \ell } ( \cdot )$ $( 1 \leq \ell \leq L$ ) are called “layers”. Each layer is composed of an affine transform, represented by
|
| 59 |
+
|
| 60 |
+
some weight matrix $W _ { \ell }$ , and bias $b _ { \ell }$ , followed by a simple nonlinear7 activation function $\sigma ( \cdot )$ More precisely, a vanilla $L$ -layer neural network can be written as
|
| 61 |
+
|
| 62 |
+
$$
|
| 63 |
+
\psi _ { \boldsymbol \Theta } ( { \pmb x } ) ~ = ~ { \cal W } _ { L } \underbrace { \sigma \left( { \pmb W } _ { L - 1 } \cdot \cdot \cdot \sigma \left( { \pmb W } _ { 1 } { \pmb x } + b _ { 1 } \right) + b _ { L - 1 } \right) } _ { \phi _ { \boldsymbol \theta } ( { \pmb x } ) } + b _ { L } .
|
| 64 |
+
$$
|
| 65 |
+
|
| 66 |
+
For convenience, we use $\boldsymbol { \Theta } = \left\{ \boldsymbol { W } _ { k } , \boldsymbol { b } _ { k } \right\} _ { k = 1 } ^ { L }$ to denote all the network parameters, and use $\theta =$ $\left\{ W _ { k } , b _ { k } \right\} _ { k = 1 } ^ { L - 1 }$ to denote the network parameters up to the last layer. The output of the penultimate layer, denoted by $\phi _ { \pmb { \theta } } ( \pmb { x } )$ , is usually referred to as the representation or feature of the input $_ { \textbf { \em x } }$ learned from the network. In this way, the function implemented by a neural network classifier can also be expressed as a linear classifier acting upon $\phi _ { \pmb { \theta } } ( \bar { \pmb { x } } )$ .
|
| 67 |
+
|
| 68 |
+
The goal of deep learning is to fit the parameters $\Theta$ so that the output of the model on an input samples $_ { \textbf { \em x } }$ approximates the corresponding output $\textbf { { y } }$ , i.e. so that $\psi _ { \Theta } ( { \pmb x } ) \approx { \pmb y }$ , in expectation over a distribution of input-output pairs, $\mathcal { D }$ . This can be achieved by optimizing an appropriate loss function $\mathcal { L } ( \psi _ { \Theta } ( { \pmb x } ) , { \pmb y } )$ which quantifies this approximation. In this work, we focus on multi-class classification tasks (say, with $K$ classes), where the class label of a sample $_ { \textbf { \em x } }$ is given by a one-hot vector $\boldsymbol { y } \in \mathbb { R } ^ { K }$ representing its membership to one of the $K$ classes. In this setting, cross-entropy is one of the most popular choices for the loss function. Naturally, the distribution $\mathcal { D }$ is unknown, but we have access to training samples that are drawn i.i.d. from $\mathcal { D }$ . In this way, one can minimize the empirical risk over these samples by optimizing the following problem
|
| 69 |
+
|
| 70 |
+
$$
|
| 71 |
+
\operatorname* { m i n } _ { \Theta } \sum _ { k = 1 } ^ { K } \sum _ { i = 1 } ^ { n _ { k } } \mathcal { L } _ { \mathrm { C E } } \left( \psi _ { \Theta } ( x _ { k , i } ) , y _ { k } \right) + \frac { \lambda } { 2 } \left. \Theta \right. _ { F } ^ { 2 } ,
|
| 72 |
+
$$
|
| 73 |
+
|
| 74 |
+
where $\boldsymbol { y } _ { k } \in \mathbb { R } ^ { K }$ is a one-hot vector with only the $k$ th entry equal to unity $( 1 \leq k \leq K )$ ), $\{ n _ { k } \} _ { k = 1 } ^ { K }$ are the numbers of training samples in each class, and $\lambda > 0$ is the regularization parameter (or weight decay penalty), and $\mathcal { L } _ { \mathrm { C E } } ( \cdot , \cdot )$ is the cross-entropy loss. As introduced in Section 1, recent work [1] showed that the features learned by minimizing the above objective showcase the $\mathcal { N C }$ phenomenon: their within-class variability vanishes, and the features converge to a Simplex ETF.
|
| 75 |
+
|
| 76 |
+
# 2.1 Problem Formulation Based on Unconstrained Feature Models
|
| 77 |
+
|
| 78 |
+
In deep network models, the nonlinearity and interaction between a large number of layers results in tremendous challenges for analyzing this learning problem. Since modern networks are often highly overparameterized to approximate any continuous function and the characterization of $\mathcal { N C }$ only involves the last-layer features $\phi _ { \pmb { \theta } } ( \pmb { x } )$ , a natural idea to simplify the analysis is to treat these features as free optimization variables $\pmb { h } = \phi _ { \pmb { \theta } } ( \pmb { x } ) \in \mathbb { R } ^ { d }$ , which motivates the name unconstrained feature model8 [23] (see Figure 2 for an illustration). In this way, we can rewrite the network output as $\psi _ { \Theta } ( { \pmb x } ) = W _ { L } { \pmb h } + b _ { L }$ .
|
| 79 |
+
|
| 80 |
+
For simplicity, we consider the setting where the number of training samples in each class is balanced (i.e., $n _ { k } ~ = ~ n$ for all $k \in [ K ] : = \mathbf { \check { \{ 1 , 2 , . . . , K \} } }$ . We also write $\dot { \pmb { W } } = \pmb { W } _ { L }$ and $b = b _ { L }$ for conciseness. Based on the unconstrained feature model, we consider a slight variant of (2), given by
|
| 81 |
+
|
| 82 |
+
$$
|
| 83 |
+
\operatorname* { m i n } _ { W , H , b } f ( W , H , b ) : = \frac { 1 } { K n } \sum _ { k = 1 } ^ { K } \sum _ { i = 1 } ^ { n } \mathcal { L } _ { \mathrm { C E } } \left( W h _ { k , i } + b , y _ { k } \right) + \frac { \lambda _ { W } } { 2 } \left\| W \right\| _ { F } ^ { 2 } + \frac { \lambda _ { H } } { 2 } \left\| H \right\| _ { F } ^ { 2 } + \frac { \lambda _ { b } } { 2 } \left\| b \right\| _ { 2 } ^ { 2 } ,
|
| 84 |
+
$$
|
| 85 |
+
|
| 86 |
+
with $W \in \mathbb { R } ^ { K \times d }$ , $H = [ h _ { 1 , 1 } \cdot \cdot \cdot h _ { K , n } ] \in \mathbb { R } ^ { d \times N }$ (here, we denote $N = n K$ ), $\pmb { b } \in \mathbb { R } ^ { K }$ , and $\lambda _ { W } , \lambda _ { H } , \lambda _ { b } > 0$ are the penalty parameters for the weight decay.
|
| 87 |
+
|
| 88 |
+
As summarized in Table 1, similar optimization problems have been considered in [24–26]. In contrast to these, our problem formulation here (3), with bias and weight decay, is closer to the loss used in practice for training neural networks; existing work [24–26] considered constrained9 variants of (3) and without the bias term, which can be implemented but seldom used in practice due to the difficulty of optimization. In the following, we briefly discuss the differences between our simplification and practical settings for training neural networks.
|
| 89 |
+
|
| 90 |
+
• Weight Decay on $W$ and $\pmb { H }$ . One simplification of our formulation is in the weight decay. In practice, weight decay is usually imposed on the network parameters $\Theta$ , while we enforce weight decay on the last layer’s classifier, $W$ , and features, $\pmb { H }$ . However, this idealization is reasonable since the energy of the features (i.e., $\| \pmb { H } \| _ { F } )$ can indeed be upper bounded by the energy of the weights at every layer if the inputs are bounded (which holds in practice), implying that the norm of $\pmb { H }$ is implicitly penalized by penalizing $\Theta$ . Our experiments in the Appendix demonstrate that both approaches exhibit similar $\scriptstyle { \bar { \mathcal { N C } } }$ phenomena and comparable performance in practice.
|
| 91 |
+
|
| 92 |
+
• Treating the Last-layer Features as Optimization Variables. One may question that “peeling off” the $L - 1$ layers might oversimplify the problem. Nonetheless, this simplification (which is also adopted in [23–26]) is based on the fact that neural networks with sufficient overparameterization can approximate any function – in Section 4.2, we numerically demonstrate that $\mathcal { N C }$ persists even when we train overparametrized networks on randomly generated labels. Moreover, as we shall see in the following sections, both our theory and experiments demonstrate that our simplification preserves the core properties of last-layer classifiers and features during training – the $\mathcal { N C }$ phenomenon. More specifically, in Section 3 we show that Simplex ETFs are the only global minimizers to our simplified loss function (3), and the loss function is a strict saddle function with no other spurious local minimizers so that it can be optimized efficiently to global optimality.
|
| 93 |
+
|
| 94 |
+
# 3 Main Theoretical Results
|
| 95 |
+
|
| 96 |
+
In this section, we present our study on global optimality conditions as well as the optimization landscape of the nonconvex loss in (3).
|
| 97 |
+
|
| 98 |
+
Theorem 3.1 (Global Optimality Conditions) Assume that the feature dimension $d$ is no smaller than the number of classes $K$ , i.e. $d \geq K - 1$ , and the number of training samples in each class is balanced, $n = n _ { 1 } = \cdot \cdot \cdot = n _ { K }$ . Then any global minimizer $( W ^ { \star } , H ^ { \star } , b ^ { \star } )$ of $f$ in (3) satisfies
|
| 99 |
+
|
| 100 |
+
$$
|
| 101 |
+
\begin{array} { r l } & { w ^ { \star } : = \big \| w ^ { \star 1 } \big \| _ { 2 } = \big \| w ^ { \star 2 } \big \| _ { 2 } = \cdots = \big \| w ^ { \star K } \big \| _ { 2 } , \quad a n d \quad b ^ { \star } = b ^ { \star } \mathbf { 1 } , } \\ & { h _ { k , i } ^ { \star } = \sqrt { \frac { \lambda _ { W } } { \lambda _ { H } n } } w ^ { \star k } , \quad \forall \ : k \in [ K ] , \ : i \in [ n ] , \quad a n d \quad \overline { { h } } _ { i } ^ { \star } : = \frac { 1 } { K } \displaystyle \sum _ { j = 1 } ^ { K } h _ { j , i } ^ { \star } = \mathbf { 0 } , \quad \forall \ : i \in [ n ] , } \end{array}
|
| 102 |
+
$$
|
| 103 |
+
|
| 104 |
+
where either $b ^ { \star } = 0$ or $\lambda _ { b } = 0$ , and the matrix $W ^ { \star \top } \in \mathbb { R } ^ { d \times K }$ forms a $K$ -Simplex ETF (defined in Definition C.1) up to some scaling, in the sense that the normalized matrix $\begin{array} { r } { M : = \frac { 1 } { w ^ { \star } } W ^ { \star \top } } \end{array}$ satisfies
|
| 105 |
+
|
| 106 |
+
$$
|
| 107 |
+
M ^ { \top } M = \frac { K } { K - 1 } \left( { \cal I } _ { K } - \frac { 1 } { K } { \bf 1 } _ { K } { \bf 1 } _ { K } ^ { \top } \right) .
|
| 108 |
+
$$
|
| 109 |
+
|
| 110 |
+
At a high level, our proof (in Appendix D) finds lower bounds for the loss in (3) and studies the conditions for the lower bounds to be achieved, similar to [24, 26]. As can be seen in this result, any global solution of the loss function (3) exhibits $\mathcal { N C }$ in the sense that the variability of output features $\bar { \{ h _ { k , i } ^ { \star } \} } _ { i = 1 } ^ { n }$ of each class $k$ $( 1 \leq k \leq K )$ collapses to zero, and any pair of features $( h _ { k _ { 1 } , i } ^ { \star } , h _ { k _ { 2 } , j } ^ { \star } )$ from different classes $\boldsymbol { k } _ { 1 } \neq \boldsymbol { k } _ { 2 }$ are maximally separated. Similar results have been obtained in [24–26], which considered different problem formulations, as we have discussed in Section 2.1.
|
| 111 |
+
|
| 112 |
+
• Relationship between Class Number $K$ and Feature Dimension $d$ . The requirement that $d \geq$ $K - 1$ is necessary for Theorem 3.1 to hold, simply because $K$ vectors in $\mathbb { R } ^ { d }$ cannot form a $K$ - Simplex ETF if $K > d + 1$ . However, the relationship $d \geq K$ is often true in practice. In general, and in overparameterized models in particular, the feature dimension, $d$ , is significantly larger than the number of classes, $K$ . For example, the dimension of the features of a ResNet [18] is typically set to $d = 5 1 2$ for CIFAR10 [21], a dataset with $K = 1 0$ classes. This dimension grows to $d = 2 0 4 8$ for ImageNet [22], a dataset with $K = 1 0 0 0$ classes.
|
| 113 |
+
|
| 114 |
+
• Interpretations on the Bias Term $b ^ { \star }$ . In contrast to previous works [24–26], we consider the bias term in the unconstrained feature model (3). Our result indicates that a collapsing phenomenon also exists in the bias term $b ^ { \star }$ , in the sense that all the elements of $b ^ { \star }$ are identical. When the features $\pmb { H }$ are completely unconstrained, our result implies that removing the bias term $^ { b }$ has no influence on the performance of the classifier. However, it should be noted that the ReLU unit is often applied at the end of the penultimate layer, so that $\pmb { H }$ should be constrained to be nonnegative, ${ \pmb { H } } \geq \mathbf { 0 }$ . In such cases, $\overline { { \pmb { h } } } _ { i } ^ { \star }$ will no longer be zero, and neither will $b ^ { \star }$ . Here, the bias term $b ^ { \star }$ will compensate for the global mean of the features, so that the globally-centered features still form a Simplex ETF [1].10
|
| 115 |
+
|
| 116 |
+
# 3.1 Characterizations of the Benign Global Landscape for (3)
|
| 117 |
+
|
| 118 |
+
The global optimality condition in Theorem 3.1 does not necessarily mean that we can achieve these global solutions efficiently, as the problem is still nonconvex. We now investigate the global optimization landscape of (3) by characterizing all of its critical points. Our next result implies that the training loss is a strict saddle function, and every critical point is either a global minimizer or a strict saddle point that can be escaped using negative curvatures. As a consequence, this implies that the global solutions of the training problem in (3) can be efficiently found from random initializations.
|
| 119 |
+
|
| 120 |
+
Theorem 3.2 (No Spurious Local Minima and Strict Saddle Property) Assume that the feature dimension is larger than the number of classes, $d > K$ , and the number of training samples in each class is balanced $n = n _ { 1 } = \cdot \cdot \cdot = n _ { K }$ . Then the function $f ( W , H , b )$ in (3) is a strict saddle function with no spurious local minimum, in the sense that
|
| 121 |
+
|
| 122 |
+
• Any local minimizer of (3) is a global minimizer of the form shown in Theorem 3.1.
|
| 123 |
+
|
| 124 |
+
• Any critical point $( W , H , b )$ of (3) that is not a local minimizer is a strict saddle with negative curvature, i.e. the Hessian $\nabla ^ { 2 } f ( W , H , b )$ , at this critical point, is non-degenerate and has at least one negative eigenvalue, i.e. $\exists i : \lambda _ { i } \left( \nabla ^ { 2 } f ( W , H , b ) \right) < 0 .$ .
|
| 125 |
+
|
| 126 |
+
In a nutshell, our proof relies on connecting the original nonconvex optimization problem (3) to its corresponding low-rank convex counterpart, so that we can obtain the global optimality conditions for (3) based on the latter. With this, we can then characterize the properties of all critical points based on the optimality conditions. We defer all details of this proof to Appendix D.
|
| 127 |
+
|
| 128 |
+
Existing results [24–26] have only studied the global minimizers of the original problem, which has limited implication for optimization. In contrast, Theorem 3.2 characterizes the properties for all critical points of the function in (3). As a consequence of this result, many first-order and secondorder optimization methods [69] optimizing $( W , H , b )$ are guaranteed to converge to a global solution of (3). In particular, the result in [49, 52] ensures that (stochastic) gradient descent with random initialization, the de facto optimization algorithm used in deep learning, almost surely escapes strict saddles and converges to a second-order critical point – which happens to be a global minimizer of form showed in Theorem 3.1 for our problem (3).
|
| 129 |
+
|
| 130 |
+
• Constructing the Negative Curvature Direction for Strict Saddles. One of the major difficulties in our proof is to construct the negative curvature direction for strict saddle points. Here, we exploit the fact that the feature dimension $d$ is larger than the number of classes $K$ , and construct the negative curvature direction within the null space of $W \in \mathbb { R } ^ { K \times d }$ . This is also the main reason for the requirement $d > K$ in Theorem 3.2, but we conjecture the results also hold for $d = K$ and could be proved with more sophisticated analysis, which is left as future work.
|
| 131 |
+
|
| 132 |
+
• Relationship to Low-Rank Matrix Recovery. As discussed in Appendix A, it has been recently shown that the strict saddle property holds for a wide range of nonconvex problems in machine learning [70–83], including low-rank matrix recovery [78, 80, 84–87]. As we know that $\Vert Z \Vert _ { * } =$ $\begin{array} { r } { \operatorname* { m i n } _ { Z = W H } \left. \frac { 1 } { 2 } ( \| W \| _ { F } ^ { 2 } + \| H \| _ { F } ^ { 2 } ) \right. } \end{array}$ (see [32] for a proof), our formulation in (3) is closely related to low-rank matrix problems [78,80,84–87] with the Burer-Moneirto factorization approach [88], by viewing $W$ and $\pmb { H }$ as two factors of a matrix $Z = W H$ . The differences lie in the loss functions and statistical properties of the problem.11 Thus, our result establishes a connection between the study of low-rank matrix factorization and neural networks under the unconstrained feature model.
|
| 133 |
+
|
| 134 |
+
• Comparison to Existing Landscape Analysis on Neural Network. Section 1 provided a comprehensive discussion on the relationship between our result and previous works on landscape analysis for deep neural networks. Although the unconstrained feature model can be viewed as a two-layer linear network with input being the columns of an identity matrix, as preluded in Section 1, our result has much broader implications than the previous results [33,34,37,38,40,41,89]. First, our problem formulation (3) is closer to practical settings for classification tasks, which considers the widely adopted cross-entropy loss while including weight decay and a bias term, while most existing results [33,34,37,38,40,41,89] either do not incorporate any regularization and bias, or focus on the squared loss for the regression problem. More importantly, our result characterizes the precise form of the global solutions (i.e., N C) for the last layer features and classifiers, and shows that they can be efficiently achieved. Moreover, convincing numerical results in [1] and the next section demonstrate that the global solutions do appear and can be achieved by practical networks on various standard image datasets. Our study of last-layer features could have profound implications for studying generalization and robustness of the deep networks.
|
| 135 |
+
|
| 136 |
+
# 4 Experiments
|
| 137 |
+
|
| 138 |
+
In this section, we run extensive experiments not only verifying our theoretical results on modern neural networks, but also demonstrating the potential practical benefits of understanding $\mathcal { N C }$ . More specifically, while Theorem 3.2 holds true for the simplified unconstrained feature model, in Section 4.1 we run experiments on practical network architectures and show that our analysis of simplified models captures the gist of $\mathcal { N C }$ . In particular, we demonstrate that this depends on the geometry of the problem rather than the algorithmic bias, by showing that different types of optimization algorithms all achieve $\mathcal { N C }$ during the terminal phase of training. In Section 4.2, we verify the validity of the simplification based on the unconstrained feature model. Moreover, the universality of $\Dot { \mathcal { N } } \mathcal { C }$ implies that there is no need for training the last-layer classifiers since the weights can be simply fixed as a Simplex ETF throughout the training process. In Section 4.3, we demonstrate that such a strategy achieves essentially the same generalization performance as classical training algorithms, while improving on memory and computation. We begin by describing the basic experimental setup, including the network architectures, evaluation datasets, training procedures, and metrics for measuring $\mathcal { N C }$ .
|
| 139 |
+
|
| 140 |
+
Setup of Network Architectures, Dataset, and Training. In Section 4.1 and Section 4.2, we train a ResNet18 architecture [18] on CIFAR10 [21] for image classification using the cross-entropy loss (2). Due to limited space, we present all the results on MNIST [90] in the Appendix. As is standard, images are normalized (channel-wise) by their mean and standard deviation. We include no data augmentation in this section, as our focus is to study the behavior associated with $\mathcal { N C }$ instead of obtaining state-of-the-art performance. We train the network for 200 epochs with three distinct optimizers: two first-order methods (SGD and Adam) and one second-order method (LBFGS [69]). In particular, we use SGD with momentum 0.9, Adam with $\beta _ { 1 } = 0 . 9 , \beta _ { 2 } = 0 . 9 9 9$ , and LBFGS with a memory size of 10. The initial learning rates for SGD and Adam are set to 0.05 and 0.001, respectively, and decreased by a factor of 10 for every 40 epochs. For LBFGS, we use an initial learning rate of 0.1 and employ a strong Wolfe line-search strategy for subsequent iterations. Except otherwise specified, the weight decay is set to $5 \times 1 0 ^ { - 4 }$ for all the experiments.
|
| 141 |
+
|
| 142 |
+
Metrics for Measuring $\mathcal { N C }$ During Network Training. We measure $\mathcal { N C }$ for the learned lastlayer classifiers and features based on the properties presented in Section 1. Some of the metrics are similar to those presented in [1]. We first measure the within-class variability collapse by measuring the magnitude of the between-class covariance $\pmb { \Sigma } _ { B } \in \mathbb { R } ^ { d \times d }$ compared to the within-class covariance $\pmb { \Sigma } _ { W } \in \mathbb { R } ^ { d \times d }$ of the learned features via $\begin{array} { r } { \mathcal { N C } _ { 1 } : = \frac { 1 } { K } \operatorname { t r a c e } ( \Sigma _ { W } \Sigma _ { B } ^ { \dag } ) } \end{array}$ , where $\Sigma _ { B } ^ { \dagger }$ denotes the pseudo inverse of $\Sigma _ { B }$ . For the learned classifier $W \in \mathbb { R } ^ { K \times d }$ , we quantify its closeness to a Simplex ETF up to scaling by $\begin{array} { r } { \mathcal { N C } _ { 2 } : = \left. \frac { W W ^ { \top } } { \Vert W W ^ { \top } \Vert _ { F } } - \frac { 1 } { \sqrt { K - 1 } } \left( I _ { K } - \frac { 1 } { K } \mathbf { 1 } _ { K } \mathbf { 1 } _ { K } ^ { \top } \right) \right. _ { F } } \end{array}$ , where we rescale the ETF in (5) so that $\begin{array} { r } { \frac { 1 } { \sqrt { K - 1 } } ( \pmb { I } _ { K } - \frac { 1 } { K } \pmb { 1 } _ { K } \pmb { 1 } _ { K } ^ { \top } ) } \end{array}$ has unit energy (in Frobenius norm). It should be noted that our metric $\mathcal { N C } _ { 2 }$ combines two metrics used in [1] to quantify to what extent the classifier approaches equiangularity and maximal-angle equiangularity. We then measure the duality between the classifiers $W$ and the centered class-means $\overline { { H } }$ by $\begin{array} { r } { \mathcal { N C } _ { 3 } : = \big \| \frac { W \overline { { H } } } { \| W \overline { { H } } \| _ { F } } - \frac { 1 } { \sqrt { K - 1 } } ( I _ { K } - \frac { 1 } { K } \mathbf { 1 } _ { K } \mathbf { 1 } _ { K } ^ { \top } ) \big \| _ { F } . } \end{array}$ .
|
| 143 |
+
|
| 144 |
+

|
| 145 |
+
|
| 146 |
+

|
| 147 |
+
Figure 3: Illustration of $\mathcal { N C }$ across different training algorithms with ResNet18 on CIFAR10. From the left to the right, the plots show the four metrics, $\mathcal { N C } _ { 1 } , \mathcal { N C } _ { 2 } , \mathcal { N C } _ { 3 }$ , and $\mathcal { N C } _ { 4 }$ , respectively.
|
| 148 |
+
Figure 4: Training results of ResNet18 with various feature width on CIFAR10 with completely random label. From the left to the right: $\mathcal { N C } _ { 1 }$ , $\mathcal { N C } _ { 2 }$ , $\mathcal { N C } _ { 3 }$ , and the misclassification percentage of training samples.
|
| 149 |
+
|
| 150 |
+
In many cases, the global mean $_ { h _ { G } }$ of the features might not be zero,12 and the bias term $^ { b }$ would compensate for the global mean $h _ { G }$ . Thus, we capture this collapsing phenomenon by measuring $\mathcal { N C } _ { 4 } : = \| b + W h _ { G } \| _ { 2 }$ . The detailed descriptions of the four metrics are given in Appendix B.
|
| 151 |
+
|
| 152 |
+
# 4.1 The Prevalence of $\mathcal { N C }$ Across Different Optimization Algorithms
|
| 153 |
+
|
| 154 |
+
We show different types of training methods (e.g., SGD, Adam, and LBFGS) all achieve $\mathcal { N C }$ during the terminal phase of training. Figure 3 shows the evolution of the four metrics $\mathcal { N C } _ { 1 } , \mathcal { N C } _ { 2 } , \mathcal { N C } _ { 3 }$ , and $\mathcal { N C } _ { 4 }$ , for measuring $\mathcal { N } \bar { \mathcal { C } }$ as training progresses. We consistently observe that all four metrics collapse to zero, trained by different types of algorithms. This implies that $\mathcal { N C }$ occurs regardless of the choice of training methods. The last-layer features learned by the network are always maximally linearly separable, and correspondingly the last-layer classifier is a perfect linear classifier for the features. See Appendix for the testing performance of the networks learned by different algorithms.
|
| 155 |
+
|
| 156 |
+
# 4.2 The Validity of (3) Based on Unconstrained Feature Models for N C
|
| 157 |
+
|
| 158 |
+
The premise of our global landscape analysis of (3) for studying $\mathcal { N C }$ in deep neural networks is based upon the unconstrained feature model introduced in Section 2.1, which simplifies the network by synthesizing the first $L - 1$ layers as a universal approximator that generates a simple decision variable for each training sample. Here, we demonstrate through experiments that such a simplification is reasonable for overparameterized networks, in the sense that they are sufficient for characterizing $\mathcal { N C }$ in practical network training. In particular, we demonstrate that overparameterization is crucial for $\bar { \mathcal { N } } \mathcal { C }$ phenomenon during network training, while the input plays minimal influence. To that goal, we modify the training dataset CIFAR10 by replacing all the correct label for each training sample with a random counterpart.13 We report the corresponding $\mathcal { N C }$ behaviors in Figure 4, which shows how training misclassification rate and $\mathcal { N C }$ evolve over epochs of training for networks with different widths14. As the network is sufficiently large, it has enough capacity to memorize the training data and achieves zero training error, which is consistent with the observations in [11]. Moreover, we find from Figure 4 that the training accuracy is highly correlated with $\mathcal { N C }$ in the sense that a larger network (i.e., larger width) tends to exhibit severe $\mathcal { \bar { N } } \mathcal { C }$ and achieves smaller training error. In other words, while the emerging consensus is that the network can interpolate any training data, our results show that such interpolation happens in a particular way – the features are maximally separated, followed by a max-margin linear classifier. In Appendix B, we also report experiments on weight decay imposed on the features $\pmb { H }$ , as in (3).
|
| 159 |
+
|
| 160 |
+

|
| 161 |
+
Figure 5: Comparison of the performances of ResNet 50 with learned vs. fixed last-layer classifiers on CIFAR10. From left to right): $\mathcal { N C } _ { 1 }$ , $\mathcal { N C } _ { 3 }$ , Training Accuracy, Testing Accuracy.
|
| 162 |
+
|
| 163 |
+
# 4.3 Insights from $\mathcal { N C }$ for Improving Network Designs
|
| 164 |
+
|
| 165 |
+
Finally, we conduct exploratory experiments to demonstrate the practical benefits of $\mathcal { N C }$ phenomenon. The universality of $\mathcal { N C }$ implies that the final classifier (i.e. the $L$ -th layer) of a neural network always converges to a Simplex ETF, which is fully determined up to an arbitrary rotation and happens when $K \leq d$ . Thus, based on these understandings, we show that we can substantially improve the computational cost by modifying the architecture without the sacrificing performance, by $( i )$ fixing the last-layer classifier as a Simplex $\mathrm { E T F ^ { 1 5 } }$ , and $( i i )$ reducing the feature dimension $d = K$ . Here, to demonstrate our method can achieve state-of-the-art performance, we do include data augmentation in the training of our ResNet50 model [91] on CIFAR10, achieving around $9 5 \%$ test accuracy. See Appendix B for the results on MNIST and CIFAR10 with ResNet18.
|
| 166 |
+
|
| 167 |
+
Fixing the Last-layer Classifier as a Simplex ETF. Figure 5 presents a comparison of learned and fixed classifiers in terms of within-class variation collapse $( \mathcal { N C } _ { 1 } )$ , self-duality $( \mathcal { N C } _ { 3 } )$ , training accuracy, and test accuracy. These results imply that the fixed classifier exhibits the same withinclass variation collapse for the features $\pmb { H }$ , and achieves the same classification accuracy as the fully-trained classifier. On the other hand, fixing the classifier can reduce the number of parameters and the computational complexity for training. The number of parameters in the classifier can be significant for tasks with a large number of classes and large feature dimensions. For example, for ImageNet, a dataset with $K = 1 0 0 0$ classes, fixing the classifier can reduce $8 . 0 1 \%$ , $1 1 . 7 6 \%$ , and $5 2 . 5 6 \%$ of total learning parameters for ResNet50, DenseNet169 [19], and ShuffleNet [92], respectively. We note that our result also provides a theoretical justification for the work in [93] that fixes the classifier as orthonormal matrices. Indeed, these are close to simplex ETFs, particularly when the number of classes is large.
|
| 168 |
+
|
| 169 |
+
Feature Dimension Reduction for $\pmb { H } \in \mathbb { R } ^ { d \times n K }$ by Choosing $d = K$ .16 In many classification problems, the practice of deep learning typically uses a feature dimension $d$ that is much larger than the number of classes $K$ . In contrast, $\mathcal { N C }$ implies that there is no need to choose a $d$ that is much larger than the number of classes $K$ . Reducing the dimension $d$ can lead to substantial reductions in memory and computation cost. As shown in Figure 5, we also train all the weights of ResNet50 on CIFAR10 using SGD with $d = K$ . The results demonstrate that $\mathcal { N C }$ persists even when we choose $d = K$ , and the network achieves on-par performance with networks of large $d$ , in terms of training and test accuracy. This implies that when the number of classes $K$ is small, we can choose a small feature dimension $d = K$ (or $d \gtrsim K )$ instead of using a large universal $d$ to reduce the computation and memory costs for training. By setting $d = K$ , this reduces the amount of parameters and hence the memory cost in ResNet18 and ResNet50 by $2 0 . 7 0 \%$ and $4 . 4 5 \%$ respectively.
|
| 170 |
+
|
| 171 |
+
# 5 Conclusion
|
| 172 |
+
|
| 173 |
+
In this work, we have provided an in-depth analysis to demystify the $\mathcal { N C }$ phenomenon, which appears during the terminal phase of training deep networks in classification problems. Based on the unconstrained feature model [24–26], we proved that Simplex ETFs are the only global minimizers of the cross-entropy training loss with weight decay and bias. Moreover, we showed that the loss function is a strict saddle function with respect to the last-layer features and classifiers, with no other spurious local minimizers. In contrast to existing landscape analyses for deep neural networks, which mostly focus on the optimization perspective, our simplified analysis not only characterizes the features that are learned in the last layer, but also explains why they can be efficiently optimized. This provides support for empirical observations in practical deep network architectures. Moreover, the study of last-layer features could have profound implications for optimization, generalization, and robustness of broad interests, which are the subjects of future work. It is also of interest to extend the current study to the case where $d < K$ , which is the case in contrastive learning [94, 95] and many applications, such as recommendation systems [96] and document retrieval [97].
|
| 174 |
+
|
| 175 |
+
# Acknowledgment
|
| 176 |
+
|
| 177 |
+
ZZ acknowledges support from NSF grant CCF 2008460. XL and QQ acknowledge support from NSF grant DMS 2009752. JS acknowledges support from NSF grant CCF 2007649. We would like to thank Qinqing Zheng (Facebook AI Research), Vardan Papyan (U. Toronto), and Felix Yu (Google Research) for timely pointing us to some important references and valuable feedback on the final draft. We thank Christina Baek (UC Berkeley) and Sam Buchanan (Columbia U.) for fruitful discussions during various stages of the work. We also thank Zhexin Wu (U. Michigan) for proofreading and pointing out several typos in the draft, and the four anonymous reviewers for their constructive comments.
|
| 178 |
+
|
| 179 |
+
# References
|
| 180 |
+
|
| 181 |
+
[1] Vardan Papyan, XY Han, and David L Donoho. Prevalence of neural collapse during the terminal phase of deep learning training. Proceedings of the National Academy of Sciences, 117(40):24652–24663, 2020.
|
| 182 |
+
[2] Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In Advances in neural information processing systems, pages 1097–1105, 2012.
|
| 183 |
+
[3] Yann LeCun, Yoshua Bengio, and Geoffrey Hinton. Deep learning. nature, 521(7553):436–444, 2015.
|
| 184 |
+
[4] Ian Goodfellow, Yoshua Bengio, Aaron Courville, and Yoshua Bengio. Deep learning, volume 1. MIT press Cambridge, 2016.
|
| 185 |
+
[5] Andrew W Senior, Richard Evans, John Jumper, James Kirkpatrick, Laurent Sifre, Tim Green, Chongli Qin, Augustin Zˇ ´ıdek, Alexander WR Nelson, Alex Bridgland, et al. Improved protein structure prediction using potentials from deep learning. Nature, 577(7792):706–710, 2020.
|
| 186 |
+
[6] Behnam Neyshabur, Ryota Tomioka, and Nathan Srebro. In search of the real inductive bias: On the role of implicit regularization in deep learning. arXiv preprint arXiv:1412.6614, 2014.
|
| 187 |
+
[7] Daniel Soudry, Elad Hoffer, Mor Shpigel Nacson, Suriya Gunasekar, and Nathan Srebro. The implicit bias of gradient descent on separable data. The Journal of Machine Learning Research, 19(1):2822– 2878, 2018.
|
| 188 |
+
[8] Sanjeev Arora, Nadav Cohen, Wei Hu, and Yuping Luo. Implicit regularization in deep matrix factorization. Advances in Neural Information Processing Systems, 32, 2019.
|
| 189 |
+
[9] Edward Moroshko, Blake E Woodworth, Suriya Gunasekar, Jason D Lee, Nati Srebro, and Daniel Soudry. Implicit bias in deep linear classification: Initialization scale vs training accuracy. Advances in Neural Information Processing Systems, 33, 2020.
|
| 190 |
+
[10] Noam Razin and Nadav Cohen. Implicit regularization in deep learning may not be explainable by norms. Advances in Neural Information Processing Systems, 33, 2020.
|
| 191 |
+
[11] Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning requires rethinking generalization. arXiv preprint arXiv:1611.03530, 2016.
|
| 192 |
+
[12] Mikhail Belkin, Daniel Hsu, Siyuan Ma, and Soumik Mandal. Reconciling modern machine-learning practice and the classical bias–variance trade-off. Proceedings of the National Academy of Sciences, 116(32):15849–15854, 2019.
|
| 193 |
+
[13] Song Mei and Andrea Montanari. The generalization error of random features regression: Precise asymptotics and double descent curve. arXiv preprint arXiv:1908.05355, 2019.
|
| 194 |
+
[14] Preetum Nakkiran, Gal Kaplun, Yamini Bansal, Tristan Yang, Boaz Barak, and Ilya Sutskever. Deep double descent: Where bigger models and more data hurt. arXiv preprint arXiv:1912.02292, 2019.
|
| 195 |
+
[15] Zitong Yang, Yaodong Yu, Chong You, Jacob Steinhardt, and Yi Ma. Rethinking bias-variance tradeoff for generalization of neural networks. In International Conference on Machine Learning, pages 10767–10777. PMLR, 2020.
|
| 196 |
+
[16] Vardan Papyan. Traces of class/cross-class structure pervade deep learning spectra. Journal of Machine Learning Research, 21(252):1–64, 2020.
|
| 197 |
+
[17] Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556, 2014.
|
| 198 |
+
[18] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 770–778, 2016.
|
| 199 |
+
[19] Gao Huang, Zhuang Liu, Laurens Van Der Maaten, and Kilian Q Weinberger. Densely connected convolutional networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 4700–4708, 2017.
|
| 200 |
+
[20] Yann LeCun, Corinna Cortes, and CJ Burges. Mnist handwritten digit database. at&t labs, 2010.
|
| 201 |
+
[21] Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. 2009.
|
| 202 |
+
[22] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pages 248–255. Ieee, 2009.
|
| 203 |
+
[23] Dustin G Mixon, Hans Parshall, and Jianzong Pi. Neural collapse with unconstrained features. arXiv preprint arXiv:2011.11619, 2020.
|
| 204 |
+
[24] Jianfeng Lu and Stefan Steinerberger. Neural collapse with cross-entropy loss. arXiv preprint arXiv:2012.08465, 2020.
|
| 205 |
+
[25] E Weinan and Stephan Wojtowytsch. On the emergence of tetrahedral symmetry in the final and penultimate layers of neural network classifiers. arXiv preprint arXiv:2012.05420, 2020.
|
| 206 |
+
[26] Cong Fang, Hangfeng He, Qi Long, and Weijie J Su. Layer-peeled model: Toward understanding welltrained deep neural networks. arXiv preprint arXiv:2101.12699, 2021.
|
| 207 |
+
[27] Florian Graf, Christoph Hofer, Marc Niethammer, and Roland Kwitt. Dissecting supervised constrastive learning. In International Conference on Machine Learning, pages 3821–3830. PMLR, 2021.
|
| 208 |
+
[28] Tolga Ergen and Mert Pilanci. Revealing the structure of deep neural networks via convex duality. In International Conference on Machine Learning, pages 3004–3014. PMLR, 2021.
|
| 209 |
+
[29] John Zarka, Florentin Guth, and Stephane Mallat. Separation and concentration in deep networks. ´ arXiv preprint arXiv:2012.10424, 2020.
|
| 210 |
+
[30] Yaodong Yu, Kwan Ho Ryan Chan, Chong You, Chaobing Song, and Yi Ma. Learning diverse and discriminative representations via the principle of maximal coding rate reduction. arXiv preprint arXiv:2006.08558, 2020.
|
| 211 |
+
[31] Kwan Ho Ryan Chan, Yaodong Yu, Chong You, Haozhi Qi, John Wright, and Yi Ma. Deep networks from the principle of rate reduction. arXiv preprint arXiv:2010.14765, 2020.
|
| 212 |
+
[32] Benjamin D Haeffele and Rene Vidal. Global optimality in tensor factorization, deep learning, and ´ beyond. arXiv preprint arXiv:1506.07540, 2015.
|
| 213 |
+
[33] Pierre Baldi and Kurt Hornik. Neural networks and principal component analysis: Learning from examples without local minima. Neural networks, 2(1):53–58, 1989.
|
| 214 |
+
[34] Kenji Kawaguchi. Deep learning without poor local minima. Advances in neural information processing systems, 29:586–594, 2016.
|
| 215 |
+
[35] Itay Safran and Ohad Shamir. Spurious local minima are common in two-layer relu neural networks. In International Conference on Machine Learning, pages 4433–4441. PMLR, 2018.
|
| 216 |
+
[36] Chulhee Yun, Suvrit Sra, and Ali Jadbabaie. Small nonlinearities in activation functions create bad local minima in neural networks. In International Conference on Learning Representations, 2018.
|
| 217 |
+
[37] Thomas Laurent and James Brecht. Deep linear networks with arbitrary loss: All local minima are global. In International conference on machine learning, pages 2902–2907. PMLR, 2018.
|
| 218 |
+
[38] Maher Nouiehed and Meisam Razaviyayn. Learning deep models: Critical points and local openness. arXiv preprint arXiv:1803.02968, 2018.
|
| 219 |
+
[39] Shiyu Liang, Ruoyu Sun, Jason D Lee, and R Srikant. Adding one neuron can eliminate all bad local minima. Advances in Neural Information Processing Systems, 2018:4350–4360, 2018.
|
| 220 |
+
[40] Zhihui Zhu, Daniel Soudry, Yonina C Eldar, and Michael B Wakin. The global optimization geometry of shallow linear neural networks. Journal of Mathematical Imaging and Vision, pages 1–14, 2019.
|
| 221 |
+
[41] Chulhee Yun, Suvrit Sra, and Ali Jadbabaie. Global optimality conditions for deep neural networks. In International Conference on Learning Representations, 2018.
|
| 222 |
+
[42] Mo Zhou, Rong Ge, and Chi Jin. A local convergence theory for mildly over-parameterized two-layer neural network. arXiv preprint arXiv:2102.02410, 2021.
|
| 223 |
+
[43] G Cybenko. Approximation by superposition of sigmoidal functions. Mathematics of Control, Signals and Systems, 2(4):303–314, 1989.
|
| 224 |
+
[44] Kurt Hornik. Approximation capabilities of multilayer feedforward networks. Neural networks, 4(2):251–257, 1991.
|
| 225 |
+
[45] Zhou Lu, Hongming Pu, Feicheng Wang, Zhiqiang Hu, and Liwei Wang. The expressive power of neural networks: a view from the width. In Proceedings of the 31st International Conference on Neural Information Processing Systems, pages 6232–6240, 2017.
|
| 226 |
+
[46] Uri Shaham, Alexander Cloninger, and Ronald R Coifman. Provable approximation properties for deep neural networks. Applied and Computational Harmonic Analysis, 44(3):537–557, 2018.
|
| 227 |
+
[47] XY Han, Vardan Papyan, and David L Donoho. Neural collapse under mse loss: Proximity to and dynamics on the central path. arXiv preprint arXiv:2106.02073, 2021.
|
| 228 |
+
[48] Wenlong Ji, Yiping Lu, Yiliang Zhang, Zhun Deng, and Weijie J Su. An unconstrained layer-peeled perspective on neural collapse. arXiv preprint arXiv:2110.02796, 2021.
|
| 229 |
+
[49] Rong Ge, Furong Huang, Chi Jin, and Yang Yuan. Escaping from saddle points—online stochastic gradient for tensor decomposition. In Proceedings of The 28th Conference on Learning Theory, pages 797–842, 2015.
|
| 230 |
+
[50] Ju Sun, Qing Qu, and John Wright. When are nonconvex problems not scary? arXiv preprint arXiv:1510.06096, 2015.
|
| 231 |
+
[51] Yuqian Zhang, Qing Qu, and John Wright. From symmetry to geometry: Tractable nonconvex problems. arXiv preprint arXiv:2007.06753, 2020.
|
| 232 |
+
[52] Jason D Lee, Max Simchowitz, Michael I Jordan, and Benjamin Recht. Gradient descent only converges to minimizers. In Conference on learning theory, pages 1246–1257. PMLR, 2016.
|
| 233 |
+
[53] Michael Elad, Dror Simon, and Aviad Aberdam. Another step toward demystifying deep neural networks. Proceedings of the National Academy of Sciences, 117(44):27070–27072, 2020.
|
| 234 |
+
[54] Suriya Gunasekar, Jason Lee, Daniel Soudry, and Nathan Srebro. Implicit bias of gradient descent on linear convolutional networks. In Advances in Neural Information Processing Systems, 2018.
|
| 235 |
+
[55] Gauthier Gidel, Francis Bach, and Simon Lacoste-Julien. Implicit regularization of discrete gradient dynamics in linear neural networks. In H. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alche-Buc, ´ E. Fox, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 32, 2019.
|
| 236 |
+
[56] Mor Shpigel Nacson, Jason Lee, Suriya Gunasekar, Pedro Henrique Pamplona Savarese, Nathan Srebro, and Daniel Soudry. Convergence of gradient descent on separable data. In The 22nd International Conference on Artificial Intelligence and Statistics, pages 3420–3428. PMLR, 2019.
|
| 237 |
+
[57] Ziwei Ji, Miroslav Dud´ık, Robert E Schapire, and Matus Telgarsky. Gradient descent follows the regularization path for general losses. In Conference on Learning Theory, pages 2109–2136. PMLR, 2020.
|
| 238 |
+
[58] Kaifeng Lyu and Jian Li. Gradient descent maximizes the margin of homogeneous neural networks. In International Conference on Learning Representations, 2019.
|
| 239 |
+
[59] Ohad Shamir. Gradient methods never overfit on separable data. Journal of Machine Learning Research, 22(85):1–20, 2021.
|
| 240 |
+
[60] Meena Jagadeesan, Ilya Razenshteyn, and Suriya Gunasekar. Inductive bias of multi-channel linear convolutional networks with bounded weight norm. arXiv preprint arXiv:2102.12238, 2021.
|
| 241 |
+
[61] Chong You, Zhihui Zhu, Qing Qu, and Yi Ma. Robust recovery via implicit bias of discrepant learning rates for double over-parameterization. In H. Larochelle, M. Ranzato, R. Hadsell, M. F. Balcan, and H. Lin, editors, Advances in Neural Information Processing Systems, volume 33, pages 17733–17744. Curran Associates, Inc., 2020.
|
| 242 |
+
[62] John Duchi, Elad Hazan, and Yoram Singer. Adaptive subgradient methods for online learning and stochastic optimization. Journal of machine learning research, 12(7), 2011.
|
| 243 |
+
[63] Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
|
| 244 |
+
[64] Mor Shpigel Nacson, Nathan Srebro, and Daniel Soudry. Stochastic gradient descent on separable data: Exact convergence with a fixed learning rate. In The 22nd International Conference on Artificial Intelligence and Statistics, pages 3051–3059. PMLR, 2019.
|
| 245 |
+
[65] Qian Qian and Xiaoyuan Qian. The implicit bias of adagrad on separable data. arXiv preprint arXiv:1906.03559, 2019.
|
| 246 |
+
[66] Suriya Gunasekar, Jason Lee, Daniel Soudry, and Nathan Srebro. Characterizing implicit bias in terms of optimization geometry. In International Conference on Machine Learning, pages 1832–1841. PMLR, 2018.
|
| 247 |
+
[67] Vinod Nair and Geoffrey Hinton. Rectified linear units improve restricted boltzmann machines. volume 27, pages 807–814, 2010.
|
| 248 |
+
[68] Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In ICML, pages 448–456, 2015.
|
| 249 |
+
[69] Leon Bottou, Frank E Curtis, and Jorge Nocedal. Optimization methods for large-scale machine learning. ´ Siam Review, 60(2):223–311, 2018.
|
| 250 |
+
[70] Qing Qu, Ju Sun, and John Wright. Finding a sparse vector in a subspace: Linear sparsity using alternating directions. In Advances in Neural Information Processing Systems, pages 3401–3409, 2014.
|
| 251 |
+
[71] Tuo Zhao, Zhaoran Wang, and Han Liu. A nonconvex optimization framework for low rank matrix estimation. In Advances in Neural Information Processing Systems, pages 559–567, 2015.
|
| 252 |
+
[72] Ju Sun, Qing Qu, and John Wright. Complete dictionary recovery over the sphere I: Overview and the geometric picture. IEEE Transactions on Information Theory, 63(2):853–884, 2016.
|
| 253 |
+
[73] Ju Sun, Qing Qu, and John Wright. Complete dictionary recovery over the sphere II: Recovery by Riemannian trust−region method. IEEE Transactions on Information Theory, 63(2):853–884, 2017.
|
| 254 |
+
[74] Qiuwei Li, Zhihui Zhu, and Gongguo Tang. The non-convex geometry of low-rank matrix optimization. Information and Inference: A Journal of the IMA, 8(1):51–96, 2018.
|
| 255 |
+
[75] Qing Qu, Yuqian Zhang, Yonina Eldar, and John Wright. Convolutional phase retrieval. In Advances in Neural Information Processing Systems, pages 6086–6096, 2017.
|
| 256 |
+
[76] Ju Sun, Qing Qu, and John Wright. A geometric analysis of phase retrieval. Foundations of Computational Mathematics, 18(5):1131–1198, 2018.
|
| 257 |
+
[77] Zhihui Zhu, Qiuwei Li, Gongguo Tang, and Michael B Wakin. Global optimality in low-rank matrix optimization. IEEE Transactions on Signal Processing, 66(13):3614–3628, 2018.
|
| 258 |
+
[78] Xingguo Li, Junwei Lu, Raman Arora, Jarvis Haupt, Han Liu, Zhaoran Wang, and Tuo Zhao. Symmetry, saddle points, and global optimization landscape of nonconvex matrix factorization. IEEE Transactions on Information Theory, 65(6):3489–3514, 2019.
|
| 259 |
+
[79] Zhihui Zhu, Qiuwei Li, Xinshuo Yang, Gongguo Tang, and Michael B Wakin. Distributed low-rank matrix factorization with exact consensus. In Advances in Neural Information Processing Systems, pages 8422–8432, 2019.
|
| 260 |
+
[80] Yuejie Chi, Yue M Lu, and Yuxin Chen. Nonconvex optimization meets low-rank matrix factorization: An overview. IEEE Transactions on Signal Processing, 67(20):5239–5269, 2019.
|
| 261 |
+
[81] Qing Qu, Yuexiang Zhai, Xiao Li, Yuqian Zhang, and Zhihui Zhu. Geometric analysis of nonconvex optimization landscapes for overcomplete learning. In International Conference on Learning Representations, 2020.
|
| 262 |
+
[82] Qing Qu, Zhihui Zhu, Xiao Li, Manolis C. Tsakiris, John Wright, and Rene Vidal. Finding the sparsest ´ vectors in a subspace: Theory, algorithms, and applications. arXiv preprint arXiv:2001.06970, 2020.
|
| 263 |
+
[83] Qing Qu, Xiao Li, and Zhihui Zhu. Exact recovery of multichannel sparse blind deconvolution via gradient descent. SIAM Journal on Imaging Sciences, 13(3):1630–1652, 2020.
|
| 264 |
+
[84] Rong Ge, Jason D Lee, and Tengyu Ma. Matrix completion has no spurious local minimum. arXiv preprint arXiv:1605.07272, 2016.
|
| 265 |
+
[85] Srinadh Bhojanapalli, Behnam Neyshabur, and Nathan Srebro. Global optimality of local search for low rank matrix recovery. In Proceedings of the 30th International Conference on Neural Information Processing Systems, pages 3880–3888, 2016.
|
| 266 |
+
[86] Rong Ge, Chi Jin, and Yi Zheng. No spurious local minima in nonconvex low rank problems: A unified geometric analysis. In International Conference on Machine Learning, pages 1233–1242. PMLR, 2017.
|
| 267 |
+
[87] Qiuwei Li, Zhihui Zhu, and Gongguo Tang. The non-convex geometry of low-rank matrix optimization. Information and Inference: A Journal of the IMA, 8(1):51–96, 2019.
|
| 268 |
+
[88] Samuel Burer and Renato DC Monteiro. A nonlinear programming algorithm for solving semidefinite programs via low-rank factorization. Mathematical Programming, 95(2):329–357, 2003.
|
| 269 |
+
[89] Daniel Kunin, Jonathan Bloom, Aleksandrina Goeva, and Cotton Seed. Loss landscapes of regularized linear autoencoders. In International Conference on Machine Learning, pages 3560–3569. PMLR, 2019.
|
| 270 |
+
[90] Yann LeCun. The mnist database of handwritten digits. http://yann. lecun. com/exdb/mnist/, 1998.
|
| 271 |
+
[91] kuang Liu, Wei Yang, Yang Peiwen, and Felipe Ducau. Train cifar10 with pytorch. https://github.com/kuangliu/pytorch-cifar/blob/master/models/resnet.py.
|
| 272 |
+
[92] Xiangyu Zhang, Xinyu Zhou, Mengxiao Lin, and Jian Sun. Shufflenet: An extremely efficient convolutional neural network for mobile devices. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 6848–6856, 2018. [93] Elad Hoffer, Itay Hubara, and Daniel Soudry. Fix your classifier: the marginal value of training the last weight layer. In International Conference on Learning Representations, 2018. [94] Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations. arXiv preprint arXiv:2002.05709, 2020. [95] Kaiming He, Haoqi Fan, Yuxin Wu, Saining Xie, and Ross Girshick. Momentum contrast for unsupervised visual representation learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 9729–9738, 2020. [96] Paul Covington, Jay Adams, and Emre Sargin. Deep neural networks for youtube recommendations. In Proceedings of the 10th ACM conference on recommender systems, pages 191–198, 2016. [97] Wei-Cheng Chang, X Yu Felix, Yin-Wen Chang, Yiming Yang, and Sanjiv Kumar. Pre-training tasks for embedding-based large-scale retrieval. In International Conference on Learning Representations, 2019. [98] Ruo-Yu Sun. Optimization for deep learning: An overview. Journal of the Operations Research Society of China, 8(2):249–294, 2020. [99] Ruoyu Sun, Dawei Li, Shiyu Liang, Tian Ding, and Rayadurgam Srikant. The global landscape of neural networks: An overview. IEEE Signal Processing Magazine, 37(5):95–108, 2020.
|
| 273 |
+
[100] Zeyuan Allen-Zhu, Yuanzhi Li, and Zhao Song. A convergence theory for deep learning via overparameterization. In International Conference on Machine Learning, pages 242–252, 2019.
|
| 274 |
+
[101] Simon Du, Jason Lee, Haochuan Li, Liwei Wang, and Xiyu Zhai. Gradient descent finds global minima of deep neural networks. In International Conference on Machine Learning, pages 1675–1685, 2019.
|
| 275 |
+
[102] Arthur Jacot, Clement Hongler, and Franck Gabriel. Neural tangent kernel: Convergence and general- ´ ization in neural networks. In NeurIPS, 2018.
|
| 276 |
+
[103] Difan Zou, Yuan Cao, Dongruo Zhou, and Quanquan Gu. Gradient descent optimizes overparameterized deep relu networks. Machine Learning, 109(3):467–492, 2020.
|
| 277 |
+
[104] Andrea Montanari and Yiqiao Zhong. The interpolation phase transition in neural networks: Memorization and generalization under lazy training. arXiv preprint arXiv:2007.12826, 2020.
|
| 278 |
+
[105] Sam Buchanan, Dar Gilboa, and John Wright. Deep networks and the multiple manifold problem. arXiv preprint arXiv:2008.11245, 2020.
|
| 279 |
+
[106] Lena ´ ¨ıc Chizat, Edouard Oyallon, and Francis Bach. On lazy training in differentiable programming. Advances in Neural Information Processing Systems, 32:2937–2947, 2019.
|
| 280 |
+
[107] Marina Danilova, Pavel Dvurechensky, Alexander Gasnikov, Eduard Gorbunov, Sergey Guminov, Dmitry Kamzolov, and Innokentiy Shibaev. Recent theoretical advances in non-convex optimization. arXiv preprint arXiv:2012.06188, 2020.
|
| 281 |
+
[108] Chi Jin, Praneeth Netrapalli, Rong Ge, Sham M. Kakade, and Michael I. Jordan. On nonconvex optimization for machine learning: Gradients, stochasticity, and saddle points. J. ACM, 68(2), February 2021.
|
| 282 |
+
[109] Yenson Lau, Qing Qu, Han-Wen Kuo, Pengcheng Zhou, Yuqian Zhang, and John Wright. Short and sparse deconvolution — a geometric approach. In International Conference on Learning Representations, 2020.
|
| 283 |
+
[110] Han-Wen Kuo, Yenson Lau, Yuqian Zhang, and John Wright. Geometry and symmetry in short-andsparse deconvolution. In International Conference on Machine Learning, pages 3570–3580. PMLR, 2019.
|
| 284 |
+
[111] Yuqian Zhang, Han-Wen Kuo, and John Wright. Structured local optima in sparse blind deconvolution. IEEE Transactions on Information Theory, 66(1):419–452, 2019.
|
| 285 |
+
[112] Raghu Bollapragada, Jorge Nocedal, Dheevatsa Mudigere, Hao-Jun Shi, and Ping Tak Peter Tang. A progressive batching l-bfgs method for machine learning. In International Conference on Machine Learning, pages 620–629. PMLR, 2018.
|
| 286 |
+
[113] Yi Ren and Donald Goldfarb. Kronecker-factored quasi-newton methods for convolutional neural networks. arXiv preprint arXiv:2102.06737, 2021.
|
| 287 |
+
[114] Roger A Horn and Charles R Johnson. Matrix analysis. Cambridge University Press, 2012.
|
| 288 |
+
[115] Carlo Ciliberto, Dimitris Stamos, and Massimiliano Pontil. Reexamining low rank matrix factorization for trace norm regularization. arXiv preprint arXiv:1706.08934, 2017.
|
| 289 |
+
[116] G Alistair Watson. Characterization of the subdifferential of some matrix norms. Linear algebra and its applications, 170:33–45, 1992.
|
| 290 |
+
[117] Benjamin Recht, Maryam Fazel, and Pablo A Parrilo. Guaranteed minimum-rank solutions of linear matrix equations via nuclear norm minimization. SIAM Review, 52(3):471–501, 2010.
|
| 291 |
+
|
| 292 |
+
# Checklist
|
| 293 |
+
|
| 294 |
+
1. For all authors...
|
| 295 |
+
|
| 296 |
+
(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes]
|
| 297 |
+
(b) Did you describe the limitations of your work? [Yes] In the abstract, introduction, main results, and conclusion, we explicitly stat that our results are about unconstrained feature model.
|
| 298 |
+
(c) Did you discuss any potential negative societal impacts of your work? [N/A] This paper mainly focuses on understanding the neural collapse phenomena observed in practical neural networks. Based on this understanding, we propose to fix the last layer classifier as a Simplex ETF. So no potential negative societal impact is expected of this work.
|
| 299 |
+
(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes]
|
| 300 |
+
|
| 301 |
+
2. If you are including theoretical results...
|
| 302 |
+
|
| 303 |
+
(a) Did you state the full set of assumptions of all theoretical results? [Yes] We explicitly mention the assumptions in Theorem 3.1 and Theorem 3.2.
|
| 304 |
+
(b) Did you include complete proofs of all theoretical results? [Yes] We include all the proofs in the Appendix.
|
| 305 |
+
|
| 306 |
+
3. If you ran experiments...
|
| 307 |
+
|
| 308 |
+
(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] See Section 4 and Appendix.
|
| 309 |
+
(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] See Section 4 and Appendix.
|
| 310 |
+
(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [No] All the results are reported in terms of learning curves and each figure includes many plots, so error bars are not reported. Bud we do run the experiments multiple times, and observe very similar performance in terms of $\mathcal { N C }$ , testing accuracy, etc.
|
| 311 |
+
(d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] See Appendix B.
|
| 312 |
+
|
| 313 |
+
. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets...
|
| 314 |
+
|
| 315 |
+
(a) If your work uses existing assets, did you cite the creators? [Yes] We cite them in Section 4.
|
| 316 |
+
(b) Did you mention the license of the assets? [Yes] This is mentioned in Appendix B.
|
| 317 |
+
(c) Did you include any new assets either in the supplemental material or as a URL? [N/A]
|
| 318 |
+
(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [Yes] This is discussed in Appendix B.
|
| 319 |
+
(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [N/A]
|
| 320 |
+
|
| 321 |
+
5. If you used crowdsourcing or conducted research with human subjects...
|
| 322 |
+
|
| 323 |
+
(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A]
|
| 324 |
+
(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A]
|
| 325 |
+
(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A]
|
parse/train/KRODJAa6pzE/KRODJAa6pzE_content_list.json
ADDED
|
@@ -0,0 +1,1129 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "A Geometric Analysis of Neural Collapse with Unconstrained Features ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
222,
|
| 8 |
+
122,
|
| 9 |
+
777,
|
| 10 |
+
171
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Zhihui Zhu∗ University of Denver zhihui.zhu@du.edu ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
215,
|
| 19 |
+
222,
|
| 20 |
+
361,
|
| 21 |
+
262
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Tianyu Ding Johns Hopkins University tding1@jhu.edu ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
408,
|
| 30 |
+
222,
|
| 31 |
+
580,
|
| 32 |
+
263
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Jinxin Zhou University of Denver jinxin.zhou@du.edu ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
629,
|
| 41 |
+
222,
|
| 42 |
+
782,
|
| 43 |
+
263
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Xiao Li University of Michigan xlxiao@umich.edu ",
|
| 50 |
+
"bbox": [
|
| 51 |
+
218,
|
| 52 |
+
285,
|
| 53 |
+
372,
|
| 54 |
+
327
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "Chong You Google Research cyou@google.com ",
|
| 61 |
+
"bbox": [
|
| 62 |
+
424,
|
| 63 |
+
285,
|
| 64 |
+
557,
|
| 65 |
+
327
|
| 66 |
+
],
|
| 67 |
+
"page_idx": 0
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"text": "Jeremias Sulam Johns Hopkins University jsulam1@jhu.edu ",
|
| 72 |
+
"bbox": [
|
| 73 |
+
607,
|
| 74 |
+
285,
|
| 75 |
+
779,
|
| 76 |
+
327
|
| 77 |
+
],
|
| 78 |
+
"page_idx": 0
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"type": "text",
|
| 82 |
+
"text": "Qing Qu University of Michigan qingqu@umich.edu ",
|
| 83 |
+
"bbox": [
|
| 84 |
+
421,
|
| 85 |
+
348,
|
| 86 |
+
576,
|
| 87 |
+
390
|
| 88 |
+
],
|
| 89 |
+
"page_idx": 0
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"type": "text",
|
| 93 |
+
"text": "Abstract ",
|
| 94 |
+
"text_level": 1,
|
| 95 |
+
"bbox": [
|
| 96 |
+
462,
|
| 97 |
+
426,
|
| 98 |
+
535,
|
| 99 |
+
443
|
| 100 |
+
],
|
| 101 |
+
"page_idx": 0
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"type": "text",
|
| 105 |
+
"text": "We provide the first global optimization landscape analysis of Neural Collapse— an intriguing empirical phenomenon that arises in the last-layer classifiers and features of neural networks during the terminal phase of training. As recently reported in [1], this phenomenon implies that $( i )$ the class means and the last-layer classifiers all collapse to the vertices of a Simplex Equiangular Tight Frame (ETF) up to scaling, and $( i i )$ cross-example within-class variability of last-layer activations collapses to zero. We study the problem based on a simplified unconstrained feature model, which isolates the topmost layers from the classifier of the neural network. In this context, we show that the classical cross-entropy loss with weight decay has a benign global landscape, in the sense that the only global minimizers are the Simplex ETFs while all other critical points are strict saddles whose Hessian exhibit negative curvature directions. Our analysis of the simplified model not only explains what kind of features are learned in the last layer, but also shows why they can be efficiently optimized, matching the empirical observations in practical deep network architectures. These findings provide important practical implications. As an example, our experiments demonstrate that one may set the feature dimension equal to the number of classes and fix the last-layer classifier to be a Simplex ETF for network training, which reduces memory cost by over $20 \\%$ on ResNet18 without sacrificing the generalization performance. The source code is available at https://github.com/tding1/Neural-Collapse. ",
|
| 106 |
+
"bbox": [
|
| 107 |
+
232,
|
| 108 |
+
455,
|
| 109 |
+
764,
|
| 110 |
+
731
|
| 111 |
+
],
|
| 112 |
+
"page_idx": 0
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"type": "text",
|
| 116 |
+
"text": "1 Introduction ",
|
| 117 |
+
"text_level": 1,
|
| 118 |
+
"bbox": [
|
| 119 |
+
174,
|
| 120 |
+
755,
|
| 121 |
+
310,
|
| 122 |
+
772
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "In the past decade, the revival of deep neural networks (DNN) has led to dramatic success in numerous applications ranging from computer vision, to natural language processing, to scientific discovery and beyond [2–5]. Nevertheless, the practice of deep networks has been shrouded with mystery as our theoretical understanding for the success of deep learning remains elusive. There are many intriguing phenomena, such as implicit algorithmic bias in training [6–10], and good generalization of highly-overparameterized networks [7,11–15], that seem often contradictory to, or cannot be explained by, classical optimization and learning theory. ",
|
| 129 |
+
"bbox": [
|
| 130 |
+
174,
|
| 131 |
+
785,
|
| 132 |
+
825,
|
| 133 |
+
882
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 0
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "image",
|
| 139 |
+
"img_path": "images/58d568516c938ce8b7e39a43a12ebe1ba0a322effb45155b0063448f37e756c1.jpg",
|
| 140 |
+
"image_caption": [
|
| 141 |
+
"Figure 1: Illustration of Neural Collapse. Here $\\phi _ { \\pmb { \\theta } } ( \\cdot )$ denotes the feature mapping of the network, i.e. the output of the penultimate layer; see (1) for the formal definition. "
|
| 142 |
+
],
|
| 143 |
+
"image_footnote": [],
|
| 144 |
+
"bbox": [
|
| 145 |
+
173,
|
| 146 |
+
97,
|
| 147 |
+
504,
|
| 148 |
+
180
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "image",
|
| 154 |
+
"img_path": "images/5aa337300e21642a50d1bed597247a157936f08ef2cc673f4c352f65a43b4ac1.jpg",
|
| 155 |
+
"image_caption": [
|
| 156 |
+
"Figure 2: Illustration of the unconstrained feature model, where the gray box is peeled off so that the representation $^ { h }$ is modeled by a simple decision variable for every training sample. "
|
| 157 |
+
],
|
| 158 |
+
"image_footnote": [],
|
| 159 |
+
"bbox": [
|
| 160 |
+
517,
|
| 161 |
+
88,
|
| 162 |
+
813,
|
| 163 |
+
188
|
| 164 |
+
],
|
| 165 |
+
"page_idx": 1
|
| 166 |
+
},
|
| 167 |
+
{
|
| 168 |
+
"type": "text",
|
| 169 |
+
"text": "Towards demystifying DNN, recent seminal work [1, 16] empirically discovered an intriguing phenomenon that persists across a range of canonical classification problems during the terminal phase of training. As illustrated in Figure 1, it has been widely observed that last-layer features and classifiers of a trained DNN exhibit simple but elegant mathematical structures: ",
|
| 170 |
+
"bbox": [
|
| 171 |
+
173,
|
| 172 |
+
248,
|
| 173 |
+
825,
|
| 174 |
+
304
|
| 175 |
+
],
|
| 176 |
+
"page_idx": 1
|
| 177 |
+
},
|
| 178 |
+
{
|
| 179 |
+
"type": "text",
|
| 180 |
+
"text": "• Variability Collapse: cross-example within-class variability of last-layer features collapses to zero, as the individual features of each class themselves concentrate to their isolated class-means. \n• Convergence to Simplex ETF: the class-means centered at their global mean are not only linearly separable, but are actually maximally distant and located on a sphere centered at the origin up to scaling (i.e., they form a Simplex Equiangular Tight Frame (ETF) – or Simplex ETF, which is formally defined in Definition C.1 in the Appendix). \n• Convergence to Self-duality: the last-layer linear classifiers, living in the dual vector space to that of the class-means, are perfectly matched with their class-means. \n• Simple Decision Rule: the last-layer classifier is behaviorally equivalent to a Nearest Class-Center decision rule. ",
|
| 181 |
+
"bbox": [
|
| 182 |
+
173,
|
| 183 |
+
308,
|
| 184 |
+
825,
|
| 185 |
+
445
|
| 186 |
+
],
|
| 187 |
+
"page_idx": 1
|
| 188 |
+
},
|
| 189 |
+
{
|
| 190 |
+
"type": "text",
|
| 191 |
+
"text": "These results suggest that deep networks are learning maximally separable features between classes, and a max-margin classifier in the last layer upon these learned features, touching the ceiling in terms of the performance. This phenomenon is referred to as Neural Collapse (N C) [1], and it persists across a range of canonical classification problems, on different neural network architectures (e.g., VGG [17], ResNet [18], and DenseNet [19]) and on a variety of standard datasets (such as MNIST [20], CIFAR [21], and ImageNet [22]). ",
|
| 192 |
+
"bbox": [
|
| 193 |
+
173,
|
| 194 |
+
449,
|
| 195 |
+
825,
|
| 196 |
+
532
|
| 197 |
+
],
|
| 198 |
+
"page_idx": 1
|
| 199 |
+
},
|
| 200 |
+
{
|
| 201 |
+
"type": "text",
|
| 202 |
+
"text": "Fully demystifying the $\\mathcal { N C }$ phenomenon in theory can be very challenging. Perhaps the most difficult hurdle lies in the nonconvexity of the optimization problem for training neural networks, which, loosely speaking, stems from the nonlinear interaction across many different layers of neural networks. Towards this goal, a recent line of work [23–29] studied the properties of last-layer classifiers and features based on the assumption of the so-called unconstrained feature model [23] or layer-peeled model [26]. At a high level, the unconstrained feature model takes a top-down approach to the analysis of deep neural networks [23–26, 29–31], wherein the last-layer features are modeled as free optimization variables (hence we call them unconstrained features) along with the last-layer classifiers (see Figure 2 for an illustration); this is in contrast to the conventional bottomup approach that studies the problem starting from the input [32–42].2 The underlying reasoning is that modern deep networks are often highly overparameterized with the capacity of learning any representations [43–46], so that the last-layer features can approximate, or interpolate, any point in the feature space. In this way, the model simplifies the study of last-layer features, enabling us to analyze the interaction between them and the last-layer classifiers. ",
|
| 203 |
+
"bbox": [
|
| 204 |
+
174,
|
| 205 |
+
539,
|
| 206 |
+
825,
|
| 207 |
+
731
|
| 208 |
+
],
|
| 209 |
+
"page_idx": 1
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"type": "text",
|
| 213 |
+
"text": "Nonetheless, the simplified unconstrained feature model still leaves us a highly nonconvex training loss to be dealt with. Despite the nonconvexity, recent work [23–28] studied the global minimizers, proving that Simplex ETFs (i.e., $\\mathcal { N C } )$ ) are indeed global solutions to the nonconvex loss. In particular, the work [23, 47] studied the training problem with the least-squared loss, proving that the gradient flow converges to $\\mathcal { N C }$ solutions with extra assumptions. Another line of work [24–27] considered the commonly used cross-entropy loss for classification, showing that the only global minimizers of the loss function are Simplex ETFs with different constraints on the weights and features.3 However, these results still suffer from several limitations: $( i )$ due to the nonconvex nature, only characterizing optimality conditions is not enough to explain the empirical convergence of iterative algorithms to $\\bar { \\mathcal { N C } }$ , such as stochastic gradient descent (SGD); (ii) the problem formulations differ from those typically used in practice, which deploy norm regularization (i.e., weight decay) on the weights, rather than enforcing constraints, for the ease of optimization.4 ",
|
| 214 |
+
"bbox": [
|
| 215 |
+
174,
|
| 216 |
+
738,
|
| 217 |
+
825,
|
| 218 |
+
835
|
| 219 |
+
],
|
| 220 |
+
"page_idx": 1
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"type": "table",
|
| 224 |
+
"img_path": "images/114c5197a2d645588ebb1aa7004f8cb1a798cdaa58b64c34d7fb64c633dfd75f.jpg",
|
| 225 |
+
"table_caption": [
|
| 226 |
+
"Table 1: Comparison of the setup and results under the unconstrained feature model with cross-entropy loss. "
|
| 227 |
+
],
|
| 228 |
+
"table_footnote": [],
|
| 229 |
+
"table_body": "<table><tr><td></td><td colspan=\"2\">Regularizer</td><td>Bias term</td><td colspan=\"2\">Results</td></tr><tr><td></td><td>Constraint</td><td>Weight decay</td><td></td><td>Global minimizer</td><td>Landscape</td></tr><tr><td>[24-27]</td><td>√</td><td></td><td></td><td>√</td><td></td></tr><tr><td>This paper</td><td></td><td>√</td><td></td><td>√</td><td></td></tr></table>",
|
| 230 |
+
"bbox": [
|
| 231 |
+
228,
|
| 232 |
+
101,
|
| 233 |
+
761,
|
| 234 |
+
154
|
| 235 |
+
],
|
| 236 |
+
"page_idx": 2
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"type": "text",
|
| 240 |
+
"text": "",
|
| 241 |
+
"bbox": [
|
| 242 |
+
174,
|
| 243 |
+
164,
|
| 244 |
+
825,
|
| 245 |
+
233
|
| 246 |
+
],
|
| 247 |
+
"page_idx": 2
|
| 248 |
+
},
|
| 249 |
+
{
|
| 250 |
+
"type": "text",
|
| 251 |
+
"text": "Contributions of This Work. Inspired by these pioneering results [1, 23–26, 29], in this work we take a step further by characterizing the global optimization landscape of the network training loss based on the unconstrained feature model. Our contributions are summarized as follows. ",
|
| 252 |
+
"bbox": [
|
| 253 |
+
173,
|
| 254 |
+
247,
|
| 255 |
+
825,
|
| 256 |
+
287
|
| 257 |
+
],
|
| 258 |
+
"page_idx": 2
|
| 259 |
+
},
|
| 260 |
+
{
|
| 261 |
+
"type": "text",
|
| 262 |
+
"text": "• Benign Global Landscape. For the unconstrained feature model, we provide the first result showing that a commonly used, regularized cross-entropy loss is a strict saddle function [49–51]. In other words, every critical point is either a global solution (corresponding to Simplex ETFs) or a strict saddle point5 with negative curvature, so that there is no spurious local minimizer on the optimization landscape. As summarized in Table 1, this is in contrast to previous work [23–26] that only characterizes global minimizers. \n• Efficient, Algorithmic Independent, Global Optimization. The benign global landscape implies that any method that can escape strict saddle points (e.g. stochastic gradient descent) converges to a global solution [52] that exhibits $\\mathcal { N C }$ . This result supports our empirical observation, as shown in Section 4.1, that practical overparameterized networks always converge to Simplex ETF solutions with a diverse choice of optimization algorithms. \n• Cost Reduction for Practical Network Training. Moreover, the universality of $\\mathcal { N C }$ implies that there is no need of training the last-layer classifiers since the weights can be simply fixed as a Simplex ETF throughout the training process. On the other hand, since $\\mathcal { N C }$ happens whenever $d \\geq K$ , this implies that we can choose the feature dimension $d$ comparable to the number of classes $K$ , reducing the feature dimension for further computational benefits. In Section 4.3, our experiments demonstrate that such a strategy achieves on par performance with classical training methods, leading to substantial cost reductions on both memory and computation. ",
|
| 263 |
+
"bbox": [
|
| 264 |
+
171,
|
| 265 |
+
291,
|
| 266 |
+
825,
|
| 267 |
+
540
|
| 268 |
+
],
|
| 269 |
+
"page_idx": 2
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"type": "text",
|
| 273 |
+
"text": "Our results shed new light on the question raised in the recent paper [53] on the role of the optimization strategy (e.g., stochastic gradient descent) for achieving $\\mathcal { N C }$ in training practical deep networks. This question also relates to the recent highly influential work [7] on the implicit algorithmic bias. For multi-class classification problems with linearly separable data, this work [7] showed that linear predictors optimized by gradient descent converge to the max-margin classifiers even without adding any explicit regularization on the cross-entropy loss. Based on this result, a sequence of works [54–61] laid great emphasis on the notion of “inductive bias” of particular optimization algorithms as a reason for the surprising success in training deep learning models.6 In contrast, both our theoretical result on the global landscape for the unconstrained feature model and the empirical evidence on practical deep models demonstrate that $\\mathcal { N C }$ in network training is facilitated not only by the choice of the optimization methods, but more importantly, by the choice of loss functions and the power of overparameterization in the network architecture. ",
|
| 274 |
+
"bbox": [
|
| 275 |
+
173,
|
| 276 |
+
545,
|
| 277 |
+
825,
|
| 278 |
+
710
|
| 279 |
+
],
|
| 280 |
+
"page_idx": 2
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"type": "text",
|
| 284 |
+
"text": "2 The Problem Setup ",
|
| 285 |
+
"text_level": 1,
|
| 286 |
+
"bbox": [
|
| 287 |
+
174,
|
| 288 |
+
723,
|
| 289 |
+
367,
|
| 290 |
+
741
|
| 291 |
+
],
|
| 292 |
+
"page_idx": 2
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"type": "text",
|
| 296 |
+
"text": "A deep neural network is essentially a nonlinear mapping $\\psi ( \\cdot ) : \\mathbb { R } ^ { D } \\mapsto \\mathbb { R } ^ { K }$ , which can be modeled by a composition of simple maps: $\\psi ( \\pmb { x } ) = \\psi ^ { L } \\circ \\cdot \\cdot \\cdot \\circ \\psi ^ { 2 } \\circ \\psi ^ { 1 } ( \\pmb { x } )$ for $\\textbf { \\em x } \\in ~ \\mathbb { R } ^ { D }$ , where $\\psi ^ { \\ell } ( \\cdot )$ $( 1 \\leq \\ell \\leq L$ ) are called “layers”. Each layer is composed of an affine transform, represented by ",
|
| 297 |
+
"bbox": [
|
| 298 |
+
174,
|
| 299 |
+
747,
|
| 300 |
+
825,
|
| 301 |
+
791
|
| 302 |
+
],
|
| 303 |
+
"page_idx": 2
|
| 304 |
+
},
|
| 305 |
+
{
|
| 306 |
+
"type": "text",
|
| 307 |
+
"text": "some weight matrix $W _ { \\ell }$ , and bias $b _ { \\ell }$ , followed by a simple nonlinear7 activation function $\\sigma ( \\cdot )$ More precisely, a vanilla $L$ -layer neural network can be written as ",
|
| 308 |
+
"bbox": [
|
| 309 |
+
173,
|
| 310 |
+
90,
|
| 311 |
+
821,
|
| 312 |
+
119
|
| 313 |
+
],
|
| 314 |
+
"page_idx": 3
|
| 315 |
+
},
|
| 316 |
+
{
|
| 317 |
+
"type": "equation",
|
| 318 |
+
"img_path": "images/391edb9737319f42d4db2e9ec814c169ec9a8e4c77bd194eddb881b41dfa4a4a.jpg",
|
| 319 |
+
"text": "$$\n\\psi _ { \\boldsymbol \\Theta } ( { \\pmb x } ) ~ = ~ { \\cal W } _ { L } \\underbrace { \\sigma \\left( { \\pmb W } _ { L - 1 } \\cdot \\cdot \\cdot \\sigma \\left( { \\pmb W } _ { 1 } { \\pmb x } + b _ { 1 } \\right) + b _ { L - 1 } \\right) } _ { \\phi _ { \\boldsymbol \\theta } ( { \\pmb x } ) } + b _ { L } .\n$$",
|
| 320 |
+
"text_format": "latex",
|
| 321 |
+
"bbox": [
|
| 322 |
+
300,
|
| 323 |
+
122,
|
| 324 |
+
696,
|
| 325 |
+
161
|
| 326 |
+
],
|
| 327 |
+
"page_idx": 3
|
| 328 |
+
},
|
| 329 |
+
{
|
| 330 |
+
"type": "text",
|
| 331 |
+
"text": "For convenience, we use $\\boldsymbol { \\Theta } = \\left\\{ \\boldsymbol { W } _ { k } , \\boldsymbol { b } _ { k } \\right\\} _ { k = 1 } ^ { L }$ to denote all the network parameters, and use $\\theta =$ $\\left\\{ W _ { k } , b _ { k } \\right\\} _ { k = 1 } ^ { L - 1 }$ to denote the network parameters up to the last layer. The output of the penultimate layer, denoted by $\\phi _ { \\pmb { \\theta } } ( \\pmb { x } )$ , is usually referred to as the representation or feature of the input $_ { \\textbf { \\em x } }$ learned from the network. In this way, the function implemented by a neural network classifier can also be expressed as a linear classifier acting upon $\\phi _ { \\pmb { \\theta } } ( \\bar { \\pmb { x } } )$ . ",
|
| 332 |
+
"bbox": [
|
| 333 |
+
173,
|
| 334 |
+
171,
|
| 335 |
+
825,
|
| 336 |
+
248
|
| 337 |
+
],
|
| 338 |
+
"page_idx": 3
|
| 339 |
+
},
|
| 340 |
+
{
|
| 341 |
+
"type": "text",
|
| 342 |
+
"text": "The goal of deep learning is to fit the parameters $\\Theta$ so that the output of the model on an input samples $_ { \\textbf { \\em x } }$ approximates the corresponding output $\\textbf { { y } }$ , i.e. so that $\\psi _ { \\Theta } ( { \\pmb x } ) \\approx { \\pmb y }$ , in expectation over a distribution of input-output pairs, $\\mathcal { D }$ . This can be achieved by optimizing an appropriate loss function $\\mathcal { L } ( \\psi _ { \\Theta } ( { \\pmb x } ) , { \\pmb y } )$ which quantifies this approximation. In this work, we focus on multi-class classification tasks (say, with $K$ classes), where the class label of a sample $_ { \\textbf { \\em x } }$ is given by a one-hot vector $\\boldsymbol { y } \\in \\mathbb { R } ^ { K }$ representing its membership to one of the $K$ classes. In this setting, cross-entropy is one of the most popular choices for the loss function. Naturally, the distribution $\\mathcal { D }$ is unknown, but we have access to training samples that are drawn i.i.d. from $\\mathcal { D }$ . In this way, one can minimize the empirical risk over these samples by optimizing the following problem ",
|
| 343 |
+
"bbox": [
|
| 344 |
+
173,
|
| 345 |
+
253,
|
| 346 |
+
825,
|
| 347 |
+
378
|
| 348 |
+
],
|
| 349 |
+
"page_idx": 3
|
| 350 |
+
},
|
| 351 |
+
{
|
| 352 |
+
"type": "equation",
|
| 353 |
+
"img_path": "images/5d783f7007783d8bf0016e7eeba751ecbd3ae51b75886d5f3dc7a0922b0d235e.jpg",
|
| 354 |
+
"text": "$$\n\\operatorname* { m i n } _ { \\Theta } \\sum _ { k = 1 } ^ { K } \\sum _ { i = 1 } ^ { n _ { k } } \\mathcal { L } _ { \\mathrm { C E } } \\left( \\psi _ { \\Theta } ( x _ { k , i } ) , y _ { k } \\right) + \\frac { \\lambda } { 2 } \\left. \\Theta \\right. _ { F } ^ { 2 } ,\n$$",
|
| 355 |
+
"text_format": "latex",
|
| 356 |
+
"bbox": [
|
| 357 |
+
338,
|
| 358 |
+
381,
|
| 359 |
+
656,
|
| 360 |
+
425
|
| 361 |
+
],
|
| 362 |
+
"page_idx": 3
|
| 363 |
+
},
|
| 364 |
+
{
|
| 365 |
+
"type": "text",
|
| 366 |
+
"text": "where $\\boldsymbol { y } _ { k } \\in \\mathbb { R } ^ { K }$ is a one-hot vector with only the $k$ th entry equal to unity $( 1 \\leq k \\leq K )$ ), $\\{ n _ { k } \\} _ { k = 1 } ^ { K }$ are the numbers of training samples in each class, and $\\lambda > 0$ is the regularization parameter (or weight decay penalty), and $\\mathcal { L } _ { \\mathrm { C E } } ( \\cdot , \\cdot )$ is the cross-entropy loss. As introduced in Section 1, recent work [1] showed that the features learned by minimizing the above objective showcase the $\\mathcal { N C }$ phenomenon: their within-class variability vanishes, and the features converge to a Simplex ETF. ",
|
| 367 |
+
"bbox": [
|
| 368 |
+
173,
|
| 369 |
+
430,
|
| 370 |
+
825,
|
| 371 |
+
501
|
| 372 |
+
],
|
| 373 |
+
"page_idx": 3
|
| 374 |
+
},
|
| 375 |
+
{
|
| 376 |
+
"type": "text",
|
| 377 |
+
"text": "2.1 Problem Formulation Based on Unconstrained Feature Models ",
|
| 378 |
+
"text_level": 1,
|
| 379 |
+
"bbox": [
|
| 380 |
+
174,
|
| 381 |
+
507,
|
| 382 |
+
650,
|
| 383 |
+
522
|
| 384 |
+
],
|
| 385 |
+
"page_idx": 3
|
| 386 |
+
},
|
| 387 |
+
{
|
| 388 |
+
"type": "text",
|
| 389 |
+
"text": "In deep network models, the nonlinearity and interaction between a large number of layers results in tremendous challenges for analyzing this learning problem. Since modern networks are often highly overparameterized to approximate any continuous function and the characterization of $\\mathcal { N C }$ only involves the last-layer features $\\phi _ { \\pmb { \\theta } } ( \\pmb { x } )$ , a natural idea to simplify the analysis is to treat these features as free optimization variables $\\pmb { h } = \\phi _ { \\pmb { \\theta } } ( \\pmb { x } ) \\in \\mathbb { R } ^ { d }$ , which motivates the name unconstrained feature model8 [23] (see Figure 2 for an illustration). In this way, we can rewrite the network output as $\\psi _ { \\Theta } ( { \\pmb x } ) = W _ { L } { \\pmb h } + b _ { L }$ . ",
|
| 390 |
+
"bbox": [
|
| 391 |
+
173,
|
| 392 |
+
531,
|
| 393 |
+
825,
|
| 394 |
+
632
|
| 395 |
+
],
|
| 396 |
+
"page_idx": 3
|
| 397 |
+
},
|
| 398 |
+
{
|
| 399 |
+
"type": "text",
|
| 400 |
+
"text": "For simplicity, we consider the setting where the number of training samples in each class is balanced (i.e., $n _ { k } ~ = ~ n$ for all $k \\in [ K ] : = \\mathbf { \\check { \\{ 1 , 2 , . . . , K \\} } }$ . We also write $\\dot { \\pmb { W } } = \\pmb { W } _ { L }$ and $b = b _ { L }$ for conciseness. Based on the unconstrained feature model, we consider a slight variant of (2), given by ",
|
| 401 |
+
"bbox": [
|
| 402 |
+
174,
|
| 403 |
+
636,
|
| 404 |
+
825,
|
| 405 |
+
676
|
| 406 |
+
],
|
| 407 |
+
"page_idx": 3
|
| 408 |
+
},
|
| 409 |
+
{
|
| 410 |
+
"type": "equation",
|
| 411 |
+
"img_path": "images/364b3a609cf239d1a19b9a48c7e27d49bb9190a04c6c4d9052eb217e0be7f4c8.jpg",
|
| 412 |
+
"text": "$$\n\\operatorname* { m i n } _ { W , H , b } f ( W , H , b ) : = \\frac { 1 } { K n } \\sum _ { k = 1 } ^ { K } \\sum _ { i = 1 } ^ { n } \\mathcal { L } _ { \\mathrm { C E } } \\left( W h _ { k , i } + b , y _ { k } \\right) + \\frac { \\lambda _ { W } } { 2 } \\left\\| W \\right\\| _ { F } ^ { 2 } + \\frac { \\lambda _ { H } } { 2 } \\left\\| H \\right\\| _ { F } ^ { 2 } + \\frac { \\lambda _ { b } } { 2 } \\left\\| b \\right\\| _ { 2 } ^ { 2 } ,\n$$",
|
| 413 |
+
"text_format": "latex",
|
| 414 |
+
"bbox": [
|
| 415 |
+
178,
|
| 416 |
+
679,
|
| 417 |
+
800,
|
| 418 |
+
718
|
| 419 |
+
],
|
| 420 |
+
"page_idx": 3
|
| 421 |
+
},
|
| 422 |
+
{
|
| 423 |
+
"type": "text",
|
| 424 |
+
"text": "with $W \\in \\mathbb { R } ^ { K \\times d }$ , $H = [ h _ { 1 , 1 } \\cdot \\cdot \\cdot h _ { K , n } ] \\in \\mathbb { R } ^ { d \\times N }$ (here, we denote $N = n K$ ), $\\pmb { b } \\in \\mathbb { R } ^ { K }$ , and $\\lambda _ { W } , \\lambda _ { H } , \\lambda _ { b } > 0$ are the penalty parameters for the weight decay. ",
|
| 425 |
+
"bbox": [
|
| 426 |
+
176,
|
| 427 |
+
722,
|
| 428 |
+
826,
|
| 429 |
+
752
|
| 430 |
+
],
|
| 431 |
+
"page_idx": 3
|
| 432 |
+
},
|
| 433 |
+
{
|
| 434 |
+
"type": "text",
|
| 435 |
+
"text": "As summarized in Table 1, similar optimization problems have been considered in [24–26]. In contrast to these, our problem formulation here (3), with bias and weight decay, is closer to the loss used in practice for training neural networks; existing work [24–26] considered constrained9 variants of (3) and without the bias term, which can be implemented but seldom used in practice due to the difficulty of optimization. In the following, we briefly discuss the differences between our simplification and practical settings for training neural networks. ",
|
| 436 |
+
"bbox": [
|
| 437 |
+
173,
|
| 438 |
+
757,
|
| 439 |
+
825,
|
| 440 |
+
840
|
| 441 |
+
],
|
| 442 |
+
"page_idx": 3
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"type": "text",
|
| 446 |
+
"text": "• Weight Decay on $W$ and $\\pmb { H }$ . One simplification of our formulation is in the weight decay. In practice, weight decay is usually imposed on the network parameters $\\Theta$ , while we enforce weight decay on the last layer’s classifier, $W$ , and features, $\\pmb { H }$ . However, this idealization is reasonable since the energy of the features (i.e., $\\| \\pmb { H } \\| _ { F } )$ can indeed be upper bounded by the energy of the weights at every layer if the inputs are bounded (which holds in practice), implying that the norm of $\\pmb { H }$ is implicitly penalized by penalizing $\\Theta$ . Our experiments in the Appendix demonstrate that both approaches exhibit similar $\\scriptstyle { \\bar { \\mathcal { N C } } }$ phenomena and comparable performance in practice. ",
|
| 447 |
+
"bbox": [
|
| 448 |
+
174,
|
| 449 |
+
90,
|
| 450 |
+
825,
|
| 451 |
+
188
|
| 452 |
+
],
|
| 453 |
+
"page_idx": 4
|
| 454 |
+
},
|
| 455 |
+
{
|
| 456 |
+
"type": "text",
|
| 457 |
+
"text": "• Treating the Last-layer Features as Optimization Variables. One may question that “peeling off” the $L - 1$ layers might oversimplify the problem. Nonetheless, this simplification (which is also adopted in [23–26]) is based on the fact that neural networks with sufficient overparameterization can approximate any function – in Section 4.2, we numerically demonstrate that $\\mathcal { N C }$ persists even when we train overparametrized networks on randomly generated labels. Moreover, as we shall see in the following sections, both our theory and experiments demonstrate that our simplification preserves the core properties of last-layer classifiers and features during training – the $\\mathcal { N C }$ phenomenon. More specifically, in Section 3 we show that Simplex ETFs are the only global minimizers to our simplified loss function (3), and the loss function is a strict saddle function with no other spurious local minimizers so that it can be optimized efficiently to global optimality. ",
|
| 458 |
+
"bbox": [
|
| 459 |
+
173,
|
| 460 |
+
188,
|
| 461 |
+
825,
|
| 462 |
+
327
|
| 463 |
+
],
|
| 464 |
+
"page_idx": 4
|
| 465 |
+
},
|
| 466 |
+
{
|
| 467 |
+
"type": "text",
|
| 468 |
+
"text": "3 Main Theoretical Results ",
|
| 469 |
+
"text_level": 1,
|
| 470 |
+
"bbox": [
|
| 471 |
+
174,
|
| 472 |
+
338,
|
| 473 |
+
416,
|
| 474 |
+
356
|
| 475 |
+
],
|
| 476 |
+
"page_idx": 4
|
| 477 |
+
},
|
| 478 |
+
{
|
| 479 |
+
"type": "text",
|
| 480 |
+
"text": "In this section, we present our study on global optimality conditions as well as the optimization landscape of the nonconvex loss in (3). ",
|
| 481 |
+
"bbox": [
|
| 482 |
+
173,
|
| 483 |
+
371,
|
| 484 |
+
823,
|
| 485 |
+
400
|
| 486 |
+
],
|
| 487 |
+
"page_idx": 4
|
| 488 |
+
},
|
| 489 |
+
{
|
| 490 |
+
"type": "text",
|
| 491 |
+
"text": "Theorem 3.1 (Global Optimality Conditions) Assume that the feature dimension $d$ is no smaller than the number of classes $K$ , i.e. $d \\geq K - 1$ , and the number of training samples in each class is balanced, $n = n _ { 1 } = \\cdot \\cdot \\cdot = n _ { K }$ . Then any global minimizer $( W ^ { \\star } , H ^ { \\star } , b ^ { \\star } )$ of $f$ in (3) satisfies ",
|
| 492 |
+
"bbox": [
|
| 493 |
+
173,
|
| 494 |
+
411,
|
| 495 |
+
825,
|
| 496 |
+
455
|
| 497 |
+
],
|
| 498 |
+
"page_idx": 4
|
| 499 |
+
},
|
| 500 |
+
{
|
| 501 |
+
"type": "equation",
|
| 502 |
+
"img_path": "images/6986f6a7f7abb615f9fb952e57476446d5eb90e45fa1e95b49a0e7ca82f18533.jpg",
|
| 503 |
+
"text": "$$\n\\begin{array} { r l } & { w ^ { \\star } : = \\big \\| w ^ { \\star 1 } \\big \\| _ { 2 } = \\big \\| w ^ { \\star 2 } \\big \\| _ { 2 } = \\cdots = \\big \\| w ^ { \\star K } \\big \\| _ { 2 } , \\quad a n d \\quad b ^ { \\star } = b ^ { \\star } \\mathbf { 1 } , } \\\\ & { h _ { k , i } ^ { \\star } = \\sqrt { \\frac { \\lambda _ { W } } { \\lambda _ { H } n } } w ^ { \\star k } , \\quad \\forall \\ : k \\in [ K ] , \\ : i \\in [ n ] , \\quad a n d \\quad \\overline { { h } } _ { i } ^ { \\star } : = \\frac { 1 } { K } \\displaystyle \\sum _ { j = 1 } ^ { K } h _ { j , i } ^ { \\star } = \\mathbf { 0 } , \\quad \\forall \\ : i \\in [ n ] , } \\end{array}\n$$",
|
| 504 |
+
"text_format": "latex",
|
| 505 |
+
"bbox": [
|
| 506 |
+
184,
|
| 507 |
+
460,
|
| 508 |
+
790,
|
| 509 |
+
529
|
| 510 |
+
],
|
| 511 |
+
"page_idx": 4
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"type": "text",
|
| 515 |
+
"text": "where either $b ^ { \\star } = 0$ or $\\lambda _ { b } = 0$ , and the matrix $W ^ { \\star \\top } \\in \\mathbb { R } ^ { d \\times K }$ forms a $K$ -Simplex ETF (defined in Definition C.1) up to some scaling, in the sense that the normalized matrix $\\begin{array} { r } { M : = \\frac { 1 } { w ^ { \\star } } W ^ { \\star \\top } } \\end{array}$ satisfies ",
|
| 516 |
+
"bbox": [
|
| 517 |
+
171,
|
| 518 |
+
529,
|
| 519 |
+
823,
|
| 520 |
+
559
|
| 521 |
+
],
|
| 522 |
+
"page_idx": 4
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"type": "equation",
|
| 526 |
+
"img_path": "images/c8ee6a519b44df7ed260bbda01c75a8f71b18ab5b9bac7c6f690dd9a1eaeefd7.jpg",
|
| 527 |
+
"text": "$$\nM ^ { \\top } M = \\frac { K } { K - 1 } \\left( { \\cal I } _ { K } - \\frac { 1 } { K } { \\bf 1 } _ { K } { \\bf 1 } _ { K } ^ { \\top } \\right) .\n$$",
|
| 528 |
+
"text_format": "latex",
|
| 529 |
+
"bbox": [
|
| 530 |
+
362,
|
| 531 |
+
566,
|
| 532 |
+
635,
|
| 533 |
+
602
|
| 534 |
+
],
|
| 535 |
+
"page_idx": 4
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"type": "text",
|
| 539 |
+
"text": "At a high level, our proof (in Appendix D) finds lower bounds for the loss in (3) and studies the conditions for the lower bounds to be achieved, similar to [24, 26]. As can be seen in this result, any global solution of the loss function (3) exhibits $\\mathcal { N C }$ in the sense that the variability of output features $\\bar { \\{ h _ { k , i } ^ { \\star } \\} } _ { i = 1 } ^ { n }$ of each class $k$ $( 1 \\leq k \\leq K )$ collapses to zero, and any pair of features $( h _ { k _ { 1 } , i } ^ { \\star } , h _ { k _ { 2 } , j } ^ { \\star } )$ from different classes $\\boldsymbol { k } _ { 1 } \\neq \\boldsymbol { k } _ { 2 }$ are maximally separated. Similar results have been obtained in [24–26], which considered different problem formulations, as we have discussed in Section 2.1. ",
|
| 540 |
+
"bbox": [
|
| 541 |
+
173,
|
| 542 |
+
614,
|
| 543 |
+
825,
|
| 544 |
+
700
|
| 545 |
+
],
|
| 546 |
+
"page_idx": 4
|
| 547 |
+
},
|
| 548 |
+
{
|
| 549 |
+
"type": "text",
|
| 550 |
+
"text": "• Relationship between Class Number $K$ and Feature Dimension $d$ . The requirement that $d \\geq$ $K - 1$ is necessary for Theorem 3.1 to hold, simply because $K$ vectors in $\\mathbb { R } ^ { d }$ cannot form a $K$ - Simplex ETF if $K > d + 1$ . However, the relationship $d \\geq K$ is often true in practice. In general, and in overparameterized models in particular, the feature dimension, $d$ , is significantly larger than the number of classes, $K$ . For example, the dimension of the features of a ResNet [18] is typically set to $d = 5 1 2$ for CIFAR10 [21], a dataset with $K = 1 0$ classes. This dimension grows to $d = 2 0 4 8$ for ImageNet [22], a dataset with $K = 1 0 0 0$ classes. ",
|
| 551 |
+
"bbox": [
|
| 552 |
+
173,
|
| 553 |
+
708,
|
| 554 |
+
825,
|
| 555 |
+
806
|
| 556 |
+
],
|
| 557 |
+
"page_idx": 4
|
| 558 |
+
},
|
| 559 |
+
{
|
| 560 |
+
"type": "text",
|
| 561 |
+
"text": "• Interpretations on the Bias Term $b ^ { \\star }$ . In contrast to previous works [24–26], we consider the bias term in the unconstrained feature model (3). Our result indicates that a collapsing phenomenon also exists in the bias term $b ^ { \\star }$ , in the sense that all the elements of $b ^ { \\star }$ are identical. When the features $\\pmb { H }$ are completely unconstrained, our result implies that removing the bias term $^ { b }$ has no influence on the performance of the classifier. However, it should be noted that the ReLU unit is often applied at the end of the penultimate layer, so that $\\pmb { H }$ should be constrained to be nonnegative, ${ \\pmb { H } } \\geq \\mathbf { 0 }$ . In such cases, $\\overline { { \\pmb { h } } } _ { i } ^ { \\star }$ will no longer be zero, and neither will $b ^ { \\star }$ . Here, the bias term $b ^ { \\star }$ will compensate for the global mean of the features, so that the globally-centered features still form a Simplex ETF [1].10 ",
|
| 562 |
+
"bbox": [
|
| 563 |
+
174,
|
| 564 |
+
811,
|
| 565 |
+
825,
|
| 566 |
+
912
|
| 567 |
+
],
|
| 568 |
+
"page_idx": 4
|
| 569 |
+
},
|
| 570 |
+
{
|
| 571 |
+
"type": "text",
|
| 572 |
+
"text": "",
|
| 573 |
+
"bbox": [
|
| 574 |
+
183,
|
| 575 |
+
92,
|
| 576 |
+
823,
|
| 577 |
+
119
|
| 578 |
+
],
|
| 579 |
+
"page_idx": 5
|
| 580 |
+
},
|
| 581 |
+
{
|
| 582 |
+
"type": "text",
|
| 583 |
+
"text": "3.1 Characterizations of the Benign Global Landscape for (3) ",
|
| 584 |
+
"text_level": 1,
|
| 585 |
+
"bbox": [
|
| 586 |
+
174,
|
| 587 |
+
133,
|
| 588 |
+
611,
|
| 589 |
+
150
|
| 590 |
+
],
|
| 591 |
+
"page_idx": 5
|
| 592 |
+
},
|
| 593 |
+
{
|
| 594 |
+
"type": "text",
|
| 595 |
+
"text": "The global optimality condition in Theorem 3.1 does not necessarily mean that we can achieve these global solutions efficiently, as the problem is still nonconvex. We now investigate the global optimization landscape of (3) by characterizing all of its critical points. Our next result implies that the training loss is a strict saddle function, and every critical point is either a global minimizer or a strict saddle point that can be escaped using negative curvatures. As a consequence, this implies that the global solutions of the training problem in (3) can be efficiently found from random initializations. ",
|
| 596 |
+
"bbox": [
|
| 597 |
+
174,
|
| 598 |
+
160,
|
| 599 |
+
825,
|
| 600 |
+
244
|
| 601 |
+
],
|
| 602 |
+
"page_idx": 5
|
| 603 |
+
},
|
| 604 |
+
{
|
| 605 |
+
"type": "text",
|
| 606 |
+
"text": "Theorem 3.2 (No Spurious Local Minima and Strict Saddle Property) Assume that the feature dimension is larger than the number of classes, $d > K$ , and the number of training samples in each class is balanced $n = n _ { 1 } = \\cdot \\cdot \\cdot = n _ { K }$ . Then the function $f ( W , H , b )$ in (3) is a strict saddle function with no spurious local minimum, in the sense that ",
|
| 607 |
+
"bbox": [
|
| 608 |
+
174,
|
| 609 |
+
252,
|
| 610 |
+
825,
|
| 611 |
+
309
|
| 612 |
+
],
|
| 613 |
+
"page_idx": 5
|
| 614 |
+
},
|
| 615 |
+
{
|
| 616 |
+
"type": "text",
|
| 617 |
+
"text": "• Any local minimizer of (3) is a global minimizer of the form shown in Theorem 3.1. ",
|
| 618 |
+
"bbox": [
|
| 619 |
+
174,
|
| 620 |
+
318,
|
| 621 |
+
730,
|
| 622 |
+
333
|
| 623 |
+
],
|
| 624 |
+
"page_idx": 5
|
| 625 |
+
},
|
| 626 |
+
{
|
| 627 |
+
"type": "text",
|
| 628 |
+
"text": "• Any critical point $( W , H , b )$ of (3) that is not a local minimizer is a strict saddle with negative curvature, i.e. the Hessian $\\nabla ^ { 2 } f ( W , H , b )$ , at this critical point, is non-degenerate and has at least one negative eigenvalue, i.e. $\\exists i : \\lambda _ { i } \\left( \\nabla ^ { 2 } f ( W , H , b ) \\right) < 0 .$ . ",
|
| 629 |
+
"bbox": [
|
| 630 |
+
173,
|
| 631 |
+
340,
|
| 632 |
+
825,
|
| 633 |
+
386
|
| 634 |
+
],
|
| 635 |
+
"page_idx": 5
|
| 636 |
+
},
|
| 637 |
+
{
|
| 638 |
+
"type": "text",
|
| 639 |
+
"text": "In a nutshell, our proof relies on connecting the original nonconvex optimization problem (3) to its corresponding low-rank convex counterpart, so that we can obtain the global optimality conditions for (3) based on the latter. With this, we can then characterize the properties of all critical points based on the optimality conditions. We defer all details of this proof to Appendix D. ",
|
| 640 |
+
"bbox": [
|
| 641 |
+
173,
|
| 642 |
+
393,
|
| 643 |
+
825,
|
| 644 |
+
450
|
| 645 |
+
],
|
| 646 |
+
"page_idx": 5
|
| 647 |
+
},
|
| 648 |
+
{
|
| 649 |
+
"type": "text",
|
| 650 |
+
"text": "Existing results [24–26] have only studied the global minimizers of the original problem, which has limited implication for optimization. In contrast, Theorem 3.2 characterizes the properties for all critical points of the function in (3). As a consequence of this result, many first-order and secondorder optimization methods [69] optimizing $( W , H , b )$ are guaranteed to converge to a global solution of (3). In particular, the result in [49, 52] ensures that (stochastic) gradient descent with random initialization, the de facto optimization algorithm used in deep learning, almost surely escapes strict saddles and converges to a second-order critical point – which happens to be a global minimizer of form showed in Theorem 3.1 for our problem (3). ",
|
| 651 |
+
"bbox": [
|
| 652 |
+
173,
|
| 653 |
+
455,
|
| 654 |
+
825,
|
| 655 |
+
566
|
| 656 |
+
],
|
| 657 |
+
"page_idx": 5
|
| 658 |
+
},
|
| 659 |
+
{
|
| 660 |
+
"type": "text",
|
| 661 |
+
"text": "• Constructing the Negative Curvature Direction for Strict Saddles. One of the major difficulties in our proof is to construct the negative curvature direction for strict saddle points. Here, we exploit the fact that the feature dimension $d$ is larger than the number of classes $K$ , and construct the negative curvature direction within the null space of $W \\in \\mathbb { R } ^ { K \\times d }$ . This is also the main reason for the requirement $d > K$ in Theorem 3.2, but we conjecture the results also hold for $d = K$ and could be proved with more sophisticated analysis, which is left as future work. ",
|
| 662 |
+
"bbox": [
|
| 663 |
+
173,
|
| 664 |
+
568,
|
| 665 |
+
825,
|
| 666 |
+
651
|
| 667 |
+
],
|
| 668 |
+
"page_idx": 5
|
| 669 |
+
},
|
| 670 |
+
{
|
| 671 |
+
"type": "text",
|
| 672 |
+
"text": "• Relationship to Low-Rank Matrix Recovery. As discussed in Appendix A, it has been recently shown that the strict saddle property holds for a wide range of nonconvex problems in machine learning [70–83], including low-rank matrix recovery [78, 80, 84–87]. As we know that $\\Vert Z \\Vert _ { * } =$ $\\begin{array} { r } { \\operatorname* { m i n } _ { Z = W H } \\left. \\frac { 1 } { 2 } ( \\| W \\| _ { F } ^ { 2 } + \\| H \\| _ { F } ^ { 2 } ) \\right. } \\end{array}$ (see [32] for a proof), our formulation in (3) is closely related to low-rank matrix problems [78,80,84–87] with the Burer-Moneirto factorization approach [88], by viewing $W$ and $\\pmb { H }$ as two factors of a matrix $Z = W H$ . The differences lie in the loss functions and statistical properties of the problem.11 Thus, our result establishes a connection between the study of low-rank matrix factorization and neural networks under the unconstrained feature model. ",
|
| 673 |
+
"bbox": [
|
| 674 |
+
174,
|
| 675 |
+
654,
|
| 676 |
+
825,
|
| 677 |
+
768
|
| 678 |
+
],
|
| 679 |
+
"page_idx": 5
|
| 680 |
+
},
|
| 681 |
+
{
|
| 682 |
+
"type": "text",
|
| 683 |
+
"text": "• Comparison to Existing Landscape Analysis on Neural Network. Section 1 provided a comprehensive discussion on the relationship between our result and previous works on landscape analysis for deep neural networks. Although the unconstrained feature model can be viewed as a two-layer linear network with input being the columns of an identity matrix, as preluded in Section 1, our result has much broader implications than the previous results [33,34,37,38,40,41,89]. First, our problem formulation (3) is closer to practical settings for classification tasks, which considers the widely adopted cross-entropy loss while including weight decay and a bias term, while most existing results [33,34,37,38,40,41,89] either do not incorporate any regularization and bias, or focus on the squared loss for the regression problem. More importantly, our result characterizes the precise form of the global solutions (i.e., N C) for the last layer features and classifiers, and shows that they can be efficiently achieved. Moreover, convincing numerical results in [1] and the next section demonstrate that the global solutions do appear and can be achieved by practical networks on various standard image datasets. Our study of last-layer features could have profound implications for studying generalization and robustness of the deep networks. ",
|
| 684 |
+
"bbox": [
|
| 685 |
+
174,
|
| 686 |
+
92,
|
| 687 |
+
825,
|
| 688 |
+
285
|
| 689 |
+
],
|
| 690 |
+
"page_idx": 6
|
| 691 |
+
},
|
| 692 |
+
{
|
| 693 |
+
"type": "text",
|
| 694 |
+
"text": "4 Experiments ",
|
| 695 |
+
"text_level": 1,
|
| 696 |
+
"bbox": [
|
| 697 |
+
174,
|
| 698 |
+
311,
|
| 699 |
+
312,
|
| 700 |
+
329
|
| 701 |
+
],
|
| 702 |
+
"page_idx": 6
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"type": "text",
|
| 706 |
+
"text": "In this section, we run extensive experiments not only verifying our theoretical results on modern neural networks, but also demonstrating the potential practical benefits of understanding $\\mathcal { N C }$ . More specifically, while Theorem 3.2 holds true for the simplified unconstrained feature model, in Section 4.1 we run experiments on practical network architectures and show that our analysis of simplified models captures the gist of $\\mathcal { N C }$ . In particular, we demonstrate that this depends on the geometry of the problem rather than the algorithmic bias, by showing that different types of optimization algorithms all achieve $\\mathcal { N C }$ during the terminal phase of training. In Section 4.2, we verify the validity of the simplification based on the unconstrained feature model. Moreover, the universality of $\\Dot { \\mathcal { N } } \\mathcal { C }$ implies that there is no need for training the last-layer classifiers since the weights can be simply fixed as a Simplex ETF throughout the training process. In Section 4.3, we demonstrate that such a strategy achieves essentially the same generalization performance as classical training algorithms, while improving on memory and computation. We begin by describing the basic experimental setup, including the network architectures, evaluation datasets, training procedures, and metrics for measuring $\\mathcal { N C }$ . ",
|
| 707 |
+
"bbox": [
|
| 708 |
+
174,
|
| 709 |
+
348,
|
| 710 |
+
825,
|
| 711 |
+
542
|
| 712 |
+
],
|
| 713 |
+
"page_idx": 6
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"type": "text",
|
| 717 |
+
"text": "Setup of Network Architectures, Dataset, and Training. In Section 4.1 and Section 4.2, we train a ResNet18 architecture [18] on CIFAR10 [21] for image classification using the cross-entropy loss (2). Due to limited space, we present all the results on MNIST [90] in the Appendix. As is standard, images are normalized (channel-wise) by their mean and standard deviation. We include no data augmentation in this section, as our focus is to study the behavior associated with $\\mathcal { N C }$ instead of obtaining state-of-the-art performance. We train the network for 200 epochs with three distinct optimizers: two first-order methods (SGD and Adam) and one second-order method (LBFGS [69]). In particular, we use SGD with momentum 0.9, Adam with $\\beta _ { 1 } = 0 . 9 , \\beta _ { 2 } = 0 . 9 9 9$ , and LBFGS with a memory size of 10. The initial learning rates for SGD and Adam are set to 0.05 and 0.001, respectively, and decreased by a factor of 10 for every 40 epochs. For LBFGS, we use an initial learning rate of 0.1 and employ a strong Wolfe line-search strategy for subsequent iterations. Except otherwise specified, the weight decay is set to $5 \\times 1 0 ^ { - 4 }$ for all the experiments. ",
|
| 718 |
+
"bbox": [
|
| 719 |
+
173,
|
| 720 |
+
556,
|
| 721 |
+
825,
|
| 722 |
+
723
|
| 723 |
+
],
|
| 724 |
+
"page_idx": 6
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"type": "text",
|
| 728 |
+
"text": "Metrics for Measuring $\\mathcal { N C }$ During Network Training. We measure $\\mathcal { N C }$ for the learned lastlayer classifiers and features based on the properties presented in Section 1. Some of the metrics are similar to those presented in [1]. We first measure the within-class variability collapse by measuring the magnitude of the between-class covariance $\\pmb { \\Sigma } _ { B } \\in \\mathbb { R } ^ { d \\times d }$ compared to the within-class covariance $\\pmb { \\Sigma } _ { W } \\in \\mathbb { R } ^ { d \\times d }$ of the learned features via $\\begin{array} { r } { \\mathcal { N C } _ { 1 } : = \\frac { 1 } { K } \\operatorname { t r a c e } ( \\Sigma _ { W } \\Sigma _ { B } ^ { \\dag } ) } \\end{array}$ , where $\\Sigma _ { B } ^ { \\dagger }$ denotes the pseudo inverse of $\\Sigma _ { B }$ . For the learned classifier $W \\in \\mathbb { R } ^ { K \\times d }$ , we quantify its closeness to a Simplex ETF up to scaling by $\\begin{array} { r } { \\mathcal { N C } _ { 2 } : = \\left. \\frac { W W ^ { \\top } } { \\Vert W W ^ { \\top } \\Vert _ { F } } - \\frac { 1 } { \\sqrt { K - 1 } } \\left( I _ { K } - \\frac { 1 } { K } \\mathbf { 1 } _ { K } \\mathbf { 1 } _ { K } ^ { \\top } \\right) \\right. _ { F } } \\end{array}$ , where we rescale the ETF in (5) so that $\\begin{array} { r } { \\frac { 1 } { \\sqrt { K - 1 } } ( \\pmb { I } _ { K } - \\frac { 1 } { K } \\pmb { 1 } _ { K } \\pmb { 1 } _ { K } ^ { \\top } ) } \\end{array}$ has unit energy (in Frobenius norm). It should be noted that our metric $\\mathcal { N C } _ { 2 }$ combines two metrics used in [1] to quantify to what extent the classifier approaches equiangularity and maximal-angle equiangularity. We then measure the duality between the classifiers $W$ and the centered class-means $\\overline { { H } }$ by $\\begin{array} { r } { \\mathcal { N C } _ { 3 } : = \\big \\| \\frac { W \\overline { { H } } } { \\| W \\overline { { H } } \\| _ { F } } - \\frac { 1 } { \\sqrt { K - 1 } } ( I _ { K } - \\frac { 1 } { K } \\mathbf { 1 } _ { K } \\mathbf { 1 } _ { K } ^ { \\top } ) \\big \\| _ { F } . } \\end{array}$ . ",
|
| 729 |
+
"bbox": [
|
| 730 |
+
173,
|
| 731 |
+
737,
|
| 732 |
+
825,
|
| 733 |
+
915
|
| 734 |
+
],
|
| 735 |
+
"page_idx": 6
|
| 736 |
+
},
|
| 737 |
+
{
|
| 738 |
+
"type": "image",
|
| 739 |
+
"img_path": "images/630bf6511fd24ab12df2433e156883b20280cf2acf2c512a7f943e46ced34386.jpg",
|
| 740 |
+
"image_caption": [],
|
| 741 |
+
"image_footnote": [],
|
| 742 |
+
"bbox": [
|
| 743 |
+
174,
|
| 744 |
+
89,
|
| 745 |
+
821,
|
| 746 |
+
188
|
| 747 |
+
],
|
| 748 |
+
"page_idx": 7
|
| 749 |
+
},
|
| 750 |
+
{
|
| 751 |
+
"type": "image",
|
| 752 |
+
"img_path": "images/6a5d001916f9c8e92702ad655b9577e484f940f20979e26d06f276fbcf317998.jpg",
|
| 753 |
+
"image_caption": [
|
| 754 |
+
"Figure 3: Illustration of $\\mathcal { N C }$ across different training algorithms with ResNet18 on CIFAR10. From the left to the right, the plots show the four metrics, $\\mathcal { N C } _ { 1 } , \\mathcal { N C } _ { 2 } , \\mathcal { N C } _ { 3 }$ , and $\\mathcal { N C } _ { 4 }$ , respectively. ",
|
| 755 |
+
"Figure 4: Training results of ResNet18 with various feature width on CIFAR10 with completely random label. From the left to the right: $\\mathcal { N C } _ { 1 }$ , $\\mathcal { N C } _ { 2 }$ , $\\mathcal { N C } _ { 3 }$ , and the misclassification percentage of training samples. "
|
| 756 |
+
],
|
| 757 |
+
"image_footnote": [],
|
| 758 |
+
"bbox": [
|
| 759 |
+
174,
|
| 760 |
+
222,
|
| 761 |
+
821,
|
| 762 |
+
314
|
| 763 |
+
],
|
| 764 |
+
"page_idx": 7
|
| 765 |
+
},
|
| 766 |
+
{
|
| 767 |
+
"type": "text",
|
| 768 |
+
"text": "In many cases, the global mean $_ { h _ { G } }$ of the features might not be zero,12 and the bias term $^ { b }$ would compensate for the global mean $h _ { G }$ . Thus, we capture this collapsing phenomenon by measuring $\\mathcal { N C } _ { 4 } : = \\| b + W h _ { G } \\| _ { 2 }$ . The detailed descriptions of the four metrics are given in Appendix B. ",
|
| 769 |
+
"bbox": [
|
| 770 |
+
174,
|
| 771 |
+
366,
|
| 772 |
+
823,
|
| 773 |
+
409
|
| 774 |
+
],
|
| 775 |
+
"page_idx": 7
|
| 776 |
+
},
|
| 777 |
+
{
|
| 778 |
+
"type": "text",
|
| 779 |
+
"text": "4.1 The Prevalence of $\\mathcal { N C }$ Across Different Optimization Algorithms ",
|
| 780 |
+
"text_level": 1,
|
| 781 |
+
"bbox": [
|
| 782 |
+
174,
|
| 783 |
+
425,
|
| 784 |
+
663,
|
| 785 |
+
440
|
| 786 |
+
],
|
| 787 |
+
"page_idx": 7
|
| 788 |
+
},
|
| 789 |
+
{
|
| 790 |
+
"type": "text",
|
| 791 |
+
"text": "We show different types of training methods (e.g., SGD, Adam, and LBFGS) all achieve $\\mathcal { N C }$ during the terminal phase of training. Figure 3 shows the evolution of the four metrics $\\mathcal { N C } _ { 1 } , \\mathcal { N C } _ { 2 } , \\mathcal { N C } _ { 3 }$ , and $\\mathcal { N C } _ { 4 }$ , for measuring $\\mathcal { N } \\bar { \\mathcal { C } }$ as training progresses. We consistently observe that all four metrics collapse to zero, trained by different types of algorithms. This implies that $\\mathcal { N C }$ occurs regardless of the choice of training methods. The last-layer features learned by the network are always maximally linearly separable, and correspondingly the last-layer classifier is a perfect linear classifier for the features. See Appendix for the testing performance of the networks learned by different algorithms. ",
|
| 792 |
+
"bbox": [
|
| 793 |
+
173,
|
| 794 |
+
452,
|
| 795 |
+
825,
|
| 796 |
+
549
|
| 797 |
+
],
|
| 798 |
+
"page_idx": 7
|
| 799 |
+
},
|
| 800 |
+
{
|
| 801 |
+
"type": "text",
|
| 802 |
+
"text": "4.2 The Validity of (3) Based on Unconstrained Feature Models for N C ",
|
| 803 |
+
"text_level": 1,
|
| 804 |
+
"bbox": [
|
| 805 |
+
176,
|
| 806 |
+
558,
|
| 807 |
+
678,
|
| 808 |
+
571
|
| 809 |
+
],
|
| 810 |
+
"page_idx": 7
|
| 811 |
+
},
|
| 812 |
+
{
|
| 813 |
+
"type": "text",
|
| 814 |
+
"text": "The premise of our global landscape analysis of (3) for studying $\\mathcal { N C }$ in deep neural networks is based upon the unconstrained feature model introduced in Section 2.1, which simplifies the network by synthesizing the first $L - 1$ layers as a universal approximator that generates a simple decision variable for each training sample. Here, we demonstrate through experiments that such a simplification is reasonable for overparameterized networks, in the sense that they are sufficient for characterizing $\\mathcal { N C }$ in practical network training. In particular, we demonstrate that overparameterization is crucial for $\\bar { \\mathcal { N } } \\mathcal { C }$ phenomenon during network training, while the input plays minimal influence. To that goal, we modify the training dataset CIFAR10 by replacing all the correct label for each training sample with a random counterpart.13 We report the corresponding $\\mathcal { N C }$ behaviors in Figure 4, which shows how training misclassification rate and $\\mathcal { N C }$ evolve over epochs of training for networks with different widths14. As the network is sufficiently large, it has enough capacity to memorize the training data and achieves zero training error, which is consistent with the observations in [11]. Moreover, we find from Figure 4 that the training accuracy is highly correlated with $\\mathcal { N C }$ in the sense that a larger network (i.e., larger width) tends to exhibit severe $\\mathcal { \\bar { N } } \\mathcal { C }$ and achieves smaller training error. In other words, while the emerging consensus is that the network can interpolate any training data, our results show that such interpolation happens in a particular way – the features are maximally separated, followed by a max-margin linear classifier. In Appendix B, we also report experiments on weight decay imposed on the features $\\pmb { H }$ , as in (3). ",
|
| 815 |
+
"bbox": [
|
| 816 |
+
173,
|
| 817 |
+
584,
|
| 818 |
+
825,
|
| 819 |
+
832
|
| 820 |
+
],
|
| 821 |
+
"page_idx": 7
|
| 822 |
+
},
|
| 823 |
+
{
|
| 824 |
+
"type": "image",
|
| 825 |
+
"img_path": "images/613c8c9c91329940b5b69f3a33df39c3a2009834008eee4b12582e2af9c26d6b.jpg",
|
| 826 |
+
"image_caption": [
|
| 827 |
+
"Figure 5: Comparison of the performances of ResNet 50 with learned vs. fixed last-layer classifiers on CIFAR10. From left to right): $\\mathcal { N C } _ { 1 }$ , $\\mathcal { N C } _ { 3 }$ , Training Accuracy, Testing Accuracy. "
|
| 828 |
+
],
|
| 829 |
+
"image_footnote": [],
|
| 830 |
+
"bbox": [
|
| 831 |
+
176,
|
| 832 |
+
90,
|
| 833 |
+
820,
|
| 834 |
+
185
|
| 835 |
+
],
|
| 836 |
+
"page_idx": 8
|
| 837 |
+
},
|
| 838 |
+
{
|
| 839 |
+
"type": "text",
|
| 840 |
+
"text": "4.3 Insights from $\\mathcal { N C }$ for Improving Network Designs ",
|
| 841 |
+
"text_level": 1,
|
| 842 |
+
"bbox": [
|
| 843 |
+
173,
|
| 844 |
+
227,
|
| 845 |
+
560,
|
| 846 |
+
243
|
| 847 |
+
],
|
| 848 |
+
"page_idx": 8
|
| 849 |
+
},
|
| 850 |
+
{
|
| 851 |
+
"type": "text",
|
| 852 |
+
"text": "Finally, we conduct exploratory experiments to demonstrate the practical benefits of $\\mathcal { N C }$ phenomenon. The universality of $\\mathcal { N C }$ implies that the final classifier (i.e. the $L$ -th layer) of a neural network always converges to a Simplex ETF, which is fully determined up to an arbitrary rotation and happens when $K \\leq d$ . Thus, based on these understandings, we show that we can substantially improve the computational cost by modifying the architecture without the sacrificing performance, by $( i )$ fixing the last-layer classifier as a Simplex $\\mathrm { E T F ^ { 1 5 } }$ , and $( i i )$ reducing the feature dimension $d = K$ . Here, to demonstrate our method can achieve state-of-the-art performance, we do include data augmentation in the training of our ResNet50 model [91] on CIFAR10, achieving around $9 5 \\%$ test accuracy. See Appendix B for the results on MNIST and CIFAR10 with ResNet18. ",
|
| 853 |
+
"bbox": [
|
| 854 |
+
173,
|
| 855 |
+
253,
|
| 856 |
+
825,
|
| 857 |
+
377
|
| 858 |
+
],
|
| 859 |
+
"page_idx": 8
|
| 860 |
+
},
|
| 861 |
+
{
|
| 862 |
+
"type": "text",
|
| 863 |
+
"text": "Fixing the Last-layer Classifier as a Simplex ETF. Figure 5 presents a comparison of learned and fixed classifiers in terms of within-class variation collapse $( \\mathcal { N C } _ { 1 } )$ , self-duality $( \\mathcal { N C } _ { 3 } )$ , training accuracy, and test accuracy. These results imply that the fixed classifier exhibits the same withinclass variation collapse for the features $\\pmb { H }$ , and achieves the same classification accuracy as the fully-trained classifier. On the other hand, fixing the classifier can reduce the number of parameters and the computational complexity for training. The number of parameters in the classifier can be significant for tasks with a large number of classes and large feature dimensions. For example, for ImageNet, a dataset with $K = 1 0 0 0$ classes, fixing the classifier can reduce $8 . 0 1 \\%$ , $1 1 . 7 6 \\%$ , and $5 2 . 5 6 \\%$ of total learning parameters for ResNet50, DenseNet169 [19], and ShuffleNet [92], respectively. We note that our result also provides a theoretical justification for the work in [93] that fixes the classifier as orthonormal matrices. Indeed, these are close to simplex ETFs, particularly when the number of classes is large. ",
|
| 864 |
+
"bbox": [
|
| 865 |
+
173,
|
| 866 |
+
383,
|
| 867 |
+
825,
|
| 868 |
+
550
|
| 869 |
+
],
|
| 870 |
+
"page_idx": 8
|
| 871 |
+
},
|
| 872 |
+
{
|
| 873 |
+
"type": "text",
|
| 874 |
+
"text": "Feature Dimension Reduction for $\\pmb { H } \\in \\mathbb { R } ^ { d \\times n K }$ by Choosing $d = K$ .16 In many classification problems, the practice of deep learning typically uses a feature dimension $d$ that is much larger than the number of classes $K$ . In contrast, $\\mathcal { N C }$ implies that there is no need to choose a $d$ that is much larger than the number of classes $K$ . Reducing the dimension $d$ can lead to substantial reductions in memory and computation cost. As shown in Figure 5, we also train all the weights of ResNet50 on CIFAR10 using SGD with $d = K$ . The results demonstrate that $\\mathcal { N C }$ persists even when we choose $d = K$ , and the network achieves on-par performance with networks of large $d$ , in terms of training and test accuracy. This implies that when the number of classes $K$ is small, we can choose a small feature dimension $d = K$ (or $d \\gtrsim K )$ instead of using a large universal $d$ to reduce the computation and memory costs for training. By setting $d = K$ , this reduces the amount of parameters and hence the memory cost in ResNet18 and ResNet50 by $2 0 . 7 0 \\%$ and $4 . 4 5 \\%$ respectively. ",
|
| 875 |
+
"bbox": [
|
| 876 |
+
173,
|
| 877 |
+
555,
|
| 878 |
+
825,
|
| 879 |
+
708
|
| 880 |
+
],
|
| 881 |
+
"page_idx": 8
|
| 882 |
+
},
|
| 883 |
+
{
|
| 884 |
+
"type": "text",
|
| 885 |
+
"text": "5 Conclusion ",
|
| 886 |
+
"text_level": 1,
|
| 887 |
+
"bbox": [
|
| 888 |
+
174,
|
| 889 |
+
719,
|
| 890 |
+
299,
|
| 891 |
+
736
|
| 892 |
+
],
|
| 893 |
+
"page_idx": 8
|
| 894 |
+
},
|
| 895 |
+
{
|
| 896 |
+
"type": "text",
|
| 897 |
+
"text": "In this work, we have provided an in-depth analysis to demystify the $\\mathcal { N C }$ phenomenon, which appears during the terminal phase of training deep networks in classification problems. Based on the unconstrained feature model [24–26], we proved that Simplex ETFs are the only global minimizers of the cross-entropy training loss with weight decay and bias. Moreover, we showed that the loss function is a strict saddle function with respect to the last-layer features and classifiers, with no other spurious local minimizers. In contrast to existing landscape analyses for deep neural networks, which mostly focus on the optimization perspective, our simplified analysis not only characterizes the features that are learned in the last layer, but also explains why they can be efficiently optimized. This provides support for empirical observations in practical deep network architectures. Moreover, the study of last-layer features could have profound implications for optimization, generalization, and robustness of broad interests, which are the subjects of future work. It is also of interest to extend the current study to the case where $d < K$ , which is the case in contrastive learning [94, 95] and many applications, such as recommendation systems [96] and document retrieval [97]. ",
|
| 898 |
+
"bbox": [
|
| 899 |
+
173,
|
| 900 |
+
742,
|
| 901 |
+
825,
|
| 902 |
+
839
|
| 903 |
+
],
|
| 904 |
+
"page_idx": 8
|
| 905 |
+
},
|
| 906 |
+
{
|
| 907 |
+
"type": "text",
|
| 908 |
+
"text": "",
|
| 909 |
+
"bbox": [
|
| 910 |
+
174,
|
| 911 |
+
92,
|
| 912 |
+
825,
|
| 913 |
+
174
|
| 914 |
+
],
|
| 915 |
+
"page_idx": 9
|
| 916 |
+
},
|
| 917 |
+
{
|
| 918 |
+
"type": "text",
|
| 919 |
+
"text": "Acknowledgment ",
|
| 920 |
+
"text_level": 1,
|
| 921 |
+
"bbox": [
|
| 922 |
+
174,
|
| 923 |
+
194,
|
| 924 |
+
320,
|
| 925 |
+
210
|
| 926 |
+
],
|
| 927 |
+
"page_idx": 9
|
| 928 |
+
},
|
| 929 |
+
{
|
| 930 |
+
"type": "text",
|
| 931 |
+
"text": "ZZ acknowledges support from NSF grant CCF 2008460. XL and QQ acknowledge support from NSF grant DMS 2009752. JS acknowledges support from NSF grant CCF 2007649. We would like to thank Qinqing Zheng (Facebook AI Research), Vardan Papyan (U. Toronto), and Felix Yu (Google Research) for timely pointing us to some important references and valuable feedback on the final draft. We thank Christina Baek (UC Berkeley) and Sam Buchanan (Columbia U.) for fruitful discussions during various stages of the work. We also thank Zhexin Wu (U. Michigan) for proofreading and pointing out several typos in the draft, and the four anonymous reviewers for their constructive comments. ",
|
| 932 |
+
"bbox": [
|
| 933 |
+
174,
|
| 934 |
+
223,
|
| 935 |
+
825,
|
| 936 |
+
334
|
| 937 |
+
],
|
| 938 |
+
"page_idx": 9
|
| 939 |
+
},
|
| 940 |
+
{
|
| 941 |
+
"type": "text",
|
| 942 |
+
"text": "References ",
|
| 943 |
+
"text_level": 1,
|
| 944 |
+
"bbox": [
|
| 945 |
+
174,
|
| 946 |
+
353,
|
| 947 |
+
266,
|
| 948 |
+
369
|
| 949 |
+
],
|
| 950 |
+
"page_idx": 9
|
| 951 |
+
},
|
| 952 |
+
{
|
| 953 |
+
"type": "text",
|
| 954 |
+
"text": "[1] Vardan Papyan, XY Han, and David L Donoho. Prevalence of neural collapse during the terminal phase of deep learning training. Proceedings of the National Academy of Sciences, 117(40):24652–24663, 2020. \n[2] Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In Advances in neural information processing systems, pages 1097–1105, 2012. \n[3] Yann LeCun, Yoshua Bengio, and Geoffrey Hinton. Deep learning. nature, 521(7553):436–444, 2015. \n[4] Ian Goodfellow, Yoshua Bengio, Aaron Courville, and Yoshua Bengio. Deep learning, volume 1. MIT press Cambridge, 2016. \n[5] Andrew W Senior, Richard Evans, John Jumper, James Kirkpatrick, Laurent Sifre, Tim Green, Chongli Qin, Augustin Zˇ ´ıdek, Alexander WR Nelson, Alex Bridgland, et al. Improved protein structure prediction using potentials from deep learning. Nature, 577(7792):706–710, 2020. \n[6] Behnam Neyshabur, Ryota Tomioka, and Nathan Srebro. In search of the real inductive bias: On the role of implicit regularization in deep learning. arXiv preprint arXiv:1412.6614, 2014. \n[7] Daniel Soudry, Elad Hoffer, Mor Shpigel Nacson, Suriya Gunasekar, and Nathan Srebro. The implicit bias of gradient descent on separable data. The Journal of Machine Learning Research, 19(1):2822– 2878, 2018. \n[8] Sanjeev Arora, Nadav Cohen, Wei Hu, and Yuping Luo. Implicit regularization in deep matrix factorization. Advances in Neural Information Processing Systems, 32, 2019. \n[9] Edward Moroshko, Blake E Woodworth, Suriya Gunasekar, Jason D Lee, Nati Srebro, and Daniel Soudry. Implicit bias in deep linear classification: Initialization scale vs training accuracy. Advances in Neural Information Processing Systems, 33, 2020. \n[10] Noam Razin and Nadav Cohen. Implicit regularization in deep learning may not be explainable by norms. Advances in Neural Information Processing Systems, 33, 2020. \n[11] Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning requires rethinking generalization. arXiv preprint arXiv:1611.03530, 2016. \n[12] Mikhail Belkin, Daniel Hsu, Siyuan Ma, and Soumik Mandal. Reconciling modern machine-learning practice and the classical bias–variance trade-off. Proceedings of the National Academy of Sciences, 116(32):15849–15854, 2019. \n[13] Song Mei and Andrea Montanari. The generalization error of random features regression: Precise asymptotics and double descent curve. arXiv preprint arXiv:1908.05355, 2019. \n[14] Preetum Nakkiran, Gal Kaplun, Yamini Bansal, Tristan Yang, Boaz Barak, and Ilya Sutskever. Deep double descent: Where bigger models and more data hurt. arXiv preprint arXiv:1912.02292, 2019. \n[15] Zitong Yang, Yaodong Yu, Chong You, Jacob Steinhardt, and Yi Ma. Rethinking bias-variance tradeoff for generalization of neural networks. In International Conference on Machine Learning, pages 10767–10777. PMLR, 2020. \n[16] Vardan Papyan. Traces of class/cross-class structure pervade deep learning spectra. Journal of Machine Learning Research, 21(252):1–64, 2020. \n[17] Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556, 2014. \n[18] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 770–778, 2016. \n[19] Gao Huang, Zhuang Liu, Laurens Van Der Maaten, and Kilian Q Weinberger. Densely connected convolutional networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 4700–4708, 2017. \n[20] Yann LeCun, Corinna Cortes, and CJ Burges. Mnist handwritten digit database. at&t labs, 2010. \n[21] Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. 2009. \n[22] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pages 248–255. Ieee, 2009. \n[23] Dustin G Mixon, Hans Parshall, and Jianzong Pi. Neural collapse with unconstrained features. arXiv preprint arXiv:2011.11619, 2020. \n[24] Jianfeng Lu and Stefan Steinerberger. Neural collapse with cross-entropy loss. arXiv preprint arXiv:2012.08465, 2020. \n[25] E Weinan and Stephan Wojtowytsch. On the emergence of tetrahedral symmetry in the final and penultimate layers of neural network classifiers. arXiv preprint arXiv:2012.05420, 2020. \n[26] Cong Fang, Hangfeng He, Qi Long, and Weijie J Su. Layer-peeled model: Toward understanding welltrained deep neural networks. arXiv preprint arXiv:2101.12699, 2021. \n[27] Florian Graf, Christoph Hofer, Marc Niethammer, and Roland Kwitt. Dissecting supervised constrastive learning. In International Conference on Machine Learning, pages 3821–3830. PMLR, 2021. \n[28] Tolga Ergen and Mert Pilanci. Revealing the structure of deep neural networks via convex duality. In International Conference on Machine Learning, pages 3004–3014. PMLR, 2021. \n[29] John Zarka, Florentin Guth, and Stephane Mallat. Separation and concentration in deep networks. ´ arXiv preprint arXiv:2012.10424, 2020. \n[30] Yaodong Yu, Kwan Ho Ryan Chan, Chong You, Chaobing Song, and Yi Ma. Learning diverse and discriminative representations via the principle of maximal coding rate reduction. arXiv preprint arXiv:2006.08558, 2020. \n[31] Kwan Ho Ryan Chan, Yaodong Yu, Chong You, Haozhi Qi, John Wright, and Yi Ma. Deep networks from the principle of rate reduction. arXiv preprint arXiv:2010.14765, 2020. \n[32] Benjamin D Haeffele and Rene Vidal. Global optimality in tensor factorization, deep learning, and ´ beyond. arXiv preprint arXiv:1506.07540, 2015. \n[33] Pierre Baldi and Kurt Hornik. Neural networks and principal component analysis: Learning from examples without local minima. Neural networks, 2(1):53–58, 1989. \n[34] Kenji Kawaguchi. Deep learning without poor local minima. Advances in neural information processing systems, 29:586–594, 2016. \n[35] Itay Safran and Ohad Shamir. Spurious local minima are common in two-layer relu neural networks. In International Conference on Machine Learning, pages 4433–4441. PMLR, 2018. \n[36] Chulhee Yun, Suvrit Sra, and Ali Jadbabaie. Small nonlinearities in activation functions create bad local minima in neural networks. In International Conference on Learning Representations, 2018. \n[37] Thomas Laurent and James Brecht. Deep linear networks with arbitrary loss: All local minima are global. In International conference on machine learning, pages 2902–2907. PMLR, 2018. \n[38] Maher Nouiehed and Meisam Razaviyayn. Learning deep models: Critical points and local openness. arXiv preprint arXiv:1803.02968, 2018. \n[39] Shiyu Liang, Ruoyu Sun, Jason D Lee, and R Srikant. Adding one neuron can eliminate all bad local minima. Advances in Neural Information Processing Systems, 2018:4350–4360, 2018. \n[40] Zhihui Zhu, Daniel Soudry, Yonina C Eldar, and Michael B Wakin. The global optimization geometry of shallow linear neural networks. Journal of Mathematical Imaging and Vision, pages 1–14, 2019. \n[41] Chulhee Yun, Suvrit Sra, and Ali Jadbabaie. Global optimality conditions for deep neural networks. In International Conference on Learning Representations, 2018. \n[42] Mo Zhou, Rong Ge, and Chi Jin. A local convergence theory for mildly over-parameterized two-layer neural network. arXiv preprint arXiv:2102.02410, 2021. \n[43] G Cybenko. Approximation by superposition of sigmoidal functions. Mathematics of Control, Signals and Systems, 2(4):303–314, 1989. \n[44] Kurt Hornik. Approximation capabilities of multilayer feedforward networks. Neural networks, 4(2):251–257, 1991. \n[45] Zhou Lu, Hongming Pu, Feicheng Wang, Zhiqiang Hu, and Liwei Wang. The expressive power of neural networks: a view from the width. In Proceedings of the 31st International Conference on Neural Information Processing Systems, pages 6232–6240, 2017. \n[46] Uri Shaham, Alexander Cloninger, and Ronald R Coifman. Provable approximation properties for deep neural networks. Applied and Computational Harmonic Analysis, 44(3):537–557, 2018. \n[47] XY Han, Vardan Papyan, and David L Donoho. Neural collapse under mse loss: Proximity to and dynamics on the central path. arXiv preprint arXiv:2106.02073, 2021. \n[48] Wenlong Ji, Yiping Lu, Yiliang Zhang, Zhun Deng, and Weijie J Su. An unconstrained layer-peeled perspective on neural collapse. arXiv preprint arXiv:2110.02796, 2021. \n[49] Rong Ge, Furong Huang, Chi Jin, and Yang Yuan. Escaping from saddle points—online stochastic gradient for tensor decomposition. In Proceedings of The 28th Conference on Learning Theory, pages 797–842, 2015. \n[50] Ju Sun, Qing Qu, and John Wright. When are nonconvex problems not scary? arXiv preprint arXiv:1510.06096, 2015. \n[51] Yuqian Zhang, Qing Qu, and John Wright. From symmetry to geometry: Tractable nonconvex problems. arXiv preprint arXiv:2007.06753, 2020. \n[52] Jason D Lee, Max Simchowitz, Michael I Jordan, and Benjamin Recht. Gradient descent only converges to minimizers. In Conference on learning theory, pages 1246–1257. PMLR, 2016. \n[53] Michael Elad, Dror Simon, and Aviad Aberdam. Another step toward demystifying deep neural networks. Proceedings of the National Academy of Sciences, 117(44):27070–27072, 2020. \n[54] Suriya Gunasekar, Jason Lee, Daniel Soudry, and Nathan Srebro. Implicit bias of gradient descent on linear convolutional networks. In Advances in Neural Information Processing Systems, 2018. \n[55] Gauthier Gidel, Francis Bach, and Simon Lacoste-Julien. Implicit regularization of discrete gradient dynamics in linear neural networks. In H. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alche-Buc, ´ E. Fox, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 32, 2019. \n[56] Mor Shpigel Nacson, Jason Lee, Suriya Gunasekar, Pedro Henrique Pamplona Savarese, Nathan Srebro, and Daniel Soudry. Convergence of gradient descent on separable data. In The 22nd International Conference on Artificial Intelligence and Statistics, pages 3420–3428. PMLR, 2019. \n[57] Ziwei Ji, Miroslav Dud´ık, Robert E Schapire, and Matus Telgarsky. Gradient descent follows the regularization path for general losses. In Conference on Learning Theory, pages 2109–2136. PMLR, 2020. \n[58] Kaifeng Lyu and Jian Li. Gradient descent maximizes the margin of homogeneous neural networks. In International Conference on Learning Representations, 2019. \n[59] Ohad Shamir. Gradient methods never overfit on separable data. Journal of Machine Learning Research, 22(85):1–20, 2021. \n[60] Meena Jagadeesan, Ilya Razenshteyn, and Suriya Gunasekar. Inductive bias of multi-channel linear convolutional networks with bounded weight norm. arXiv preprint arXiv:2102.12238, 2021. \n[61] Chong You, Zhihui Zhu, Qing Qu, and Yi Ma. Robust recovery via implicit bias of discrepant learning rates for double over-parameterization. In H. Larochelle, M. Ranzato, R. Hadsell, M. F. Balcan, and H. Lin, editors, Advances in Neural Information Processing Systems, volume 33, pages 17733–17744. Curran Associates, Inc., 2020. \n[62] John Duchi, Elad Hazan, and Yoram Singer. Adaptive subgradient methods for online learning and stochastic optimization. Journal of machine learning research, 12(7), 2011. \n[63] Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. \n[64] Mor Shpigel Nacson, Nathan Srebro, and Daniel Soudry. Stochastic gradient descent on separable data: Exact convergence with a fixed learning rate. In The 22nd International Conference on Artificial Intelligence and Statistics, pages 3051–3059. PMLR, 2019. \n[65] Qian Qian and Xiaoyuan Qian. The implicit bias of adagrad on separable data. arXiv preprint arXiv:1906.03559, 2019. \n[66] Suriya Gunasekar, Jason Lee, Daniel Soudry, and Nathan Srebro. Characterizing implicit bias in terms of optimization geometry. In International Conference on Machine Learning, pages 1832–1841. PMLR, 2018. \n[67] Vinod Nair and Geoffrey Hinton. Rectified linear units improve restricted boltzmann machines. volume 27, pages 807–814, 2010. \n[68] Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In ICML, pages 448–456, 2015. \n[69] Leon Bottou, Frank E Curtis, and Jorge Nocedal. Optimization methods for large-scale machine learning. ´ Siam Review, 60(2):223–311, 2018. \n[70] Qing Qu, Ju Sun, and John Wright. Finding a sparse vector in a subspace: Linear sparsity using alternating directions. In Advances in Neural Information Processing Systems, pages 3401–3409, 2014. \n[71] Tuo Zhao, Zhaoran Wang, and Han Liu. A nonconvex optimization framework for low rank matrix estimation. In Advances in Neural Information Processing Systems, pages 559–567, 2015. \n[72] Ju Sun, Qing Qu, and John Wright. Complete dictionary recovery over the sphere I: Overview and the geometric picture. IEEE Transactions on Information Theory, 63(2):853–884, 2016. \n[73] Ju Sun, Qing Qu, and John Wright. Complete dictionary recovery over the sphere II: Recovery by Riemannian trust−region method. IEEE Transactions on Information Theory, 63(2):853–884, 2017. \n[74] Qiuwei Li, Zhihui Zhu, and Gongguo Tang. The non-convex geometry of low-rank matrix optimization. Information and Inference: A Journal of the IMA, 8(1):51–96, 2018. \n[75] Qing Qu, Yuqian Zhang, Yonina Eldar, and John Wright. Convolutional phase retrieval. In Advances in Neural Information Processing Systems, pages 6086–6096, 2017. \n[76] Ju Sun, Qing Qu, and John Wright. A geometric analysis of phase retrieval. Foundations of Computational Mathematics, 18(5):1131–1198, 2018. \n[77] Zhihui Zhu, Qiuwei Li, Gongguo Tang, and Michael B Wakin. Global optimality in low-rank matrix optimization. IEEE Transactions on Signal Processing, 66(13):3614–3628, 2018. \n[78] Xingguo Li, Junwei Lu, Raman Arora, Jarvis Haupt, Han Liu, Zhaoran Wang, and Tuo Zhao. Symmetry, saddle points, and global optimization landscape of nonconvex matrix factorization. IEEE Transactions on Information Theory, 65(6):3489–3514, 2019. \n[79] Zhihui Zhu, Qiuwei Li, Xinshuo Yang, Gongguo Tang, and Michael B Wakin. Distributed low-rank matrix factorization with exact consensus. In Advances in Neural Information Processing Systems, pages 8422–8432, 2019. \n[80] Yuejie Chi, Yue M Lu, and Yuxin Chen. Nonconvex optimization meets low-rank matrix factorization: An overview. IEEE Transactions on Signal Processing, 67(20):5239–5269, 2019. \n[81] Qing Qu, Yuexiang Zhai, Xiao Li, Yuqian Zhang, and Zhihui Zhu. Geometric analysis of nonconvex optimization landscapes for overcomplete learning. In International Conference on Learning Representations, 2020. \n[82] Qing Qu, Zhihui Zhu, Xiao Li, Manolis C. Tsakiris, John Wright, and Rene Vidal. Finding the sparsest ´ vectors in a subspace: Theory, algorithms, and applications. arXiv preprint arXiv:2001.06970, 2020. \n[83] Qing Qu, Xiao Li, and Zhihui Zhu. Exact recovery of multichannel sparse blind deconvolution via gradient descent. SIAM Journal on Imaging Sciences, 13(3):1630–1652, 2020. \n[84] Rong Ge, Jason D Lee, and Tengyu Ma. Matrix completion has no spurious local minimum. arXiv preprint arXiv:1605.07272, 2016. \n[85] Srinadh Bhojanapalli, Behnam Neyshabur, and Nathan Srebro. Global optimality of local search for low rank matrix recovery. In Proceedings of the 30th International Conference on Neural Information Processing Systems, pages 3880–3888, 2016. \n[86] Rong Ge, Chi Jin, and Yi Zheng. No spurious local minima in nonconvex low rank problems: A unified geometric analysis. In International Conference on Machine Learning, pages 1233–1242. PMLR, 2017. \n[87] Qiuwei Li, Zhihui Zhu, and Gongguo Tang. The non-convex geometry of low-rank matrix optimization. Information and Inference: A Journal of the IMA, 8(1):51–96, 2019. \n[88] Samuel Burer and Renato DC Monteiro. A nonlinear programming algorithm for solving semidefinite programs via low-rank factorization. Mathematical Programming, 95(2):329–357, 2003. \n[89] Daniel Kunin, Jonathan Bloom, Aleksandrina Goeva, and Cotton Seed. Loss landscapes of regularized linear autoencoders. In International Conference on Machine Learning, pages 3560–3569. PMLR, 2019. \n[90] Yann LeCun. The mnist database of handwritten digits. http://yann. lecun. com/exdb/mnist/, 1998. \n[91] kuang Liu, Wei Yang, Yang Peiwen, and Felipe Ducau. Train cifar10 with pytorch. https://github.com/kuangliu/pytorch-cifar/blob/master/models/resnet.py. \n[92] Xiangyu Zhang, Xinyu Zhou, Mengxiao Lin, and Jian Sun. Shufflenet: An extremely efficient convolutional neural network for mobile devices. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 6848–6856, 2018. [93] Elad Hoffer, Itay Hubara, and Daniel Soudry. Fix your classifier: the marginal value of training the last weight layer. In International Conference on Learning Representations, 2018. [94] Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations. arXiv preprint arXiv:2002.05709, 2020. [95] Kaiming He, Haoqi Fan, Yuxin Wu, Saining Xie, and Ross Girshick. Momentum contrast for unsupervised visual representation learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 9729–9738, 2020. [96] Paul Covington, Jay Adams, and Emre Sargin. Deep neural networks for youtube recommendations. In Proceedings of the 10th ACM conference on recommender systems, pages 191–198, 2016. [97] Wei-Cheng Chang, X Yu Felix, Yin-Wen Chang, Yiming Yang, and Sanjiv Kumar. Pre-training tasks for embedding-based large-scale retrieval. In International Conference on Learning Representations, 2019. [98] Ruo-Yu Sun. Optimization for deep learning: An overview. Journal of the Operations Research Society of China, 8(2):249–294, 2020. [99] Ruoyu Sun, Dawei Li, Shiyu Liang, Tian Ding, and Rayadurgam Srikant. The global landscape of neural networks: An overview. IEEE Signal Processing Magazine, 37(5):95–108, 2020. \n[100] Zeyuan Allen-Zhu, Yuanzhi Li, and Zhao Song. A convergence theory for deep learning via overparameterization. In International Conference on Machine Learning, pages 242–252, 2019. \n[101] Simon Du, Jason Lee, Haochuan Li, Liwei Wang, and Xiyu Zhai. Gradient descent finds global minima of deep neural networks. In International Conference on Machine Learning, pages 1675–1685, 2019. \n[102] Arthur Jacot, Clement Hongler, and Franck Gabriel. Neural tangent kernel: Convergence and general- ´ ization in neural networks. In NeurIPS, 2018. \n[103] Difan Zou, Yuan Cao, Dongruo Zhou, and Quanquan Gu. Gradient descent optimizes overparameterized deep relu networks. Machine Learning, 109(3):467–492, 2020. \n[104] Andrea Montanari and Yiqiao Zhong. The interpolation phase transition in neural networks: Memorization and generalization under lazy training. arXiv preprint arXiv:2007.12826, 2020. \n[105] Sam Buchanan, Dar Gilboa, and John Wright. Deep networks and the multiple manifold problem. arXiv preprint arXiv:2008.11245, 2020. \n[106] Lena ´ ¨ıc Chizat, Edouard Oyallon, and Francis Bach. On lazy training in differentiable programming. Advances in Neural Information Processing Systems, 32:2937–2947, 2019. \n[107] Marina Danilova, Pavel Dvurechensky, Alexander Gasnikov, Eduard Gorbunov, Sergey Guminov, Dmitry Kamzolov, and Innokentiy Shibaev. Recent theoretical advances in non-convex optimization. arXiv preprint arXiv:2012.06188, 2020. \n[108] Chi Jin, Praneeth Netrapalli, Rong Ge, Sham M. Kakade, and Michael I. Jordan. On nonconvex optimization for machine learning: Gradients, stochasticity, and saddle points. J. ACM, 68(2), February 2021. \n[109] Yenson Lau, Qing Qu, Han-Wen Kuo, Pengcheng Zhou, Yuqian Zhang, and John Wright. Short and sparse deconvolution — a geometric approach. In International Conference on Learning Representations, 2020. \n[110] Han-Wen Kuo, Yenson Lau, Yuqian Zhang, and John Wright. Geometry and symmetry in short-andsparse deconvolution. In International Conference on Machine Learning, pages 3570–3580. PMLR, 2019. \n[111] Yuqian Zhang, Han-Wen Kuo, and John Wright. Structured local optima in sparse blind deconvolution. IEEE Transactions on Information Theory, 66(1):419–452, 2019. \n[112] Raghu Bollapragada, Jorge Nocedal, Dheevatsa Mudigere, Hao-Jun Shi, and Ping Tak Peter Tang. A progressive batching l-bfgs method for machine learning. In International Conference on Machine Learning, pages 620–629. PMLR, 2018. \n[113] Yi Ren and Donald Goldfarb. Kronecker-factored quasi-newton methods for convolutional neural networks. arXiv preprint arXiv:2102.06737, 2021. \n[114] Roger A Horn and Charles R Johnson. Matrix analysis. Cambridge University Press, 2012. \n[115] Carlo Ciliberto, Dimitris Stamos, and Massimiliano Pontil. Reexamining low rank matrix factorization for trace norm regularization. arXiv preprint arXiv:1706.08934, 2017. \n[116] G Alistair Watson. Characterization of the subdifferential of some matrix norms. Linear algebra and its applications, 170:33–45, 1992. \n[117] Benjamin Recht, Maryam Fazel, and Pablo A Parrilo. Guaranteed minimum-rank solutions of linear matrix equations via nuclear norm minimization. SIAM Review, 52(3):471–501, 2010. ",
|
| 955 |
+
"bbox": [
|
| 956 |
+
183,
|
| 957 |
+
373,
|
| 958 |
+
826,
|
| 959 |
+
916
|
| 960 |
+
],
|
| 961 |
+
"page_idx": 9
|
| 962 |
+
},
|
| 963 |
+
{
|
| 964 |
+
"type": "text",
|
| 965 |
+
"text": "",
|
| 966 |
+
"bbox": [
|
| 967 |
+
176,
|
| 968 |
+
92,
|
| 969 |
+
826,
|
| 970 |
+
917
|
| 971 |
+
],
|
| 972 |
+
"page_idx": 10
|
| 973 |
+
},
|
| 974 |
+
{
|
| 975 |
+
"type": "text",
|
| 976 |
+
"text": "",
|
| 977 |
+
"bbox": [
|
| 978 |
+
178,
|
| 979 |
+
65,
|
| 980 |
+
828,
|
| 981 |
+
914
|
| 982 |
+
],
|
| 983 |
+
"page_idx": 11
|
| 984 |
+
},
|
| 985 |
+
{
|
| 986 |
+
"type": "text",
|
| 987 |
+
"text": "",
|
| 988 |
+
"bbox": [
|
| 989 |
+
178,
|
| 990 |
+
83,
|
| 991 |
+
826,
|
| 992 |
+
911
|
| 993 |
+
],
|
| 994 |
+
"page_idx": 12
|
| 995 |
+
},
|
| 996 |
+
{
|
| 997 |
+
"type": "text",
|
| 998 |
+
"text": "",
|
| 999 |
+
"bbox": [
|
| 1000 |
+
169,
|
| 1001 |
+
63,
|
| 1002 |
+
826,
|
| 1003 |
+
919
|
| 1004 |
+
],
|
| 1005 |
+
"page_idx": 13
|
| 1006 |
+
},
|
| 1007 |
+
{
|
| 1008 |
+
"type": "text",
|
| 1009 |
+
"text": "Checklist ",
|
| 1010 |
+
"text_level": 1,
|
| 1011 |
+
"bbox": [
|
| 1012 |
+
174,
|
| 1013 |
+
89,
|
| 1014 |
+
254,
|
| 1015 |
+
106
|
| 1016 |
+
],
|
| 1017 |
+
"page_idx": 14
|
| 1018 |
+
},
|
| 1019 |
+
{
|
| 1020 |
+
"type": "text",
|
| 1021 |
+
"text": "1. For all authors... ",
|
| 1022 |
+
"bbox": [
|
| 1023 |
+
214,
|
| 1024 |
+
116,
|
| 1025 |
+
339,
|
| 1026 |
+
130
|
| 1027 |
+
],
|
| 1028 |
+
"page_idx": 14
|
| 1029 |
+
},
|
| 1030 |
+
{
|
| 1031 |
+
"type": "text",
|
| 1032 |
+
"text": "(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] \n(b) Did you describe the limitations of your work? [Yes] In the abstract, introduction, main results, and conclusion, we explicitly stat that our results are about unconstrained feature model. \n(c) Did you discuss any potential negative societal impacts of your work? [N/A] This paper mainly focuses on understanding the neural collapse phenomena observed in practical neural networks. Based on this understanding, we propose to fix the last layer classifier as a Simplex ETF. So no potential negative societal impact is expected of this work. \n(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes] ",
|
| 1033 |
+
"bbox": [
|
| 1034 |
+
238,
|
| 1035 |
+
136,
|
| 1036 |
+
825,
|
| 1037 |
+
309
|
| 1038 |
+
],
|
| 1039 |
+
"page_idx": 14
|
| 1040 |
+
},
|
| 1041 |
+
{
|
| 1042 |
+
"type": "text",
|
| 1043 |
+
"text": "2. If you are including theoretical results... ",
|
| 1044 |
+
"bbox": [
|
| 1045 |
+
215,
|
| 1046 |
+
313,
|
| 1047 |
+
493,
|
| 1048 |
+
328
|
| 1049 |
+
],
|
| 1050 |
+
"page_idx": 14
|
| 1051 |
+
},
|
| 1052 |
+
{
|
| 1053 |
+
"type": "text",
|
| 1054 |
+
"text": "(a) Did you state the full set of assumptions of all theoretical results? [Yes] We explicitly mention the assumptions in Theorem 3.1 and Theorem 3.2. \n(b) Did you include complete proofs of all theoretical results? [Yes] We include all the proofs in the Appendix. ",
|
| 1055 |
+
"bbox": [
|
| 1056 |
+
238,
|
| 1057 |
+
332,
|
| 1058 |
+
825,
|
| 1059 |
+
390
|
| 1060 |
+
],
|
| 1061 |
+
"page_idx": 14
|
| 1062 |
+
},
|
| 1063 |
+
{
|
| 1064 |
+
"type": "text",
|
| 1065 |
+
"text": "3. If you ran experiments... ",
|
| 1066 |
+
"bbox": [
|
| 1067 |
+
214,
|
| 1068 |
+
395,
|
| 1069 |
+
393,
|
| 1070 |
+
409
|
| 1071 |
+
],
|
| 1072 |
+
"page_idx": 14
|
| 1073 |
+
},
|
| 1074 |
+
{
|
| 1075 |
+
"type": "text",
|
| 1076 |
+
"text": "(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] See Section 4 and Appendix. \n(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] See Section 4 and Appendix. \n(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [No] All the results are reported in terms of learning curves and each figure includes many plots, so error bars are not reported. Bud we do run the experiments multiple times, and observe very similar performance in terms of $\\mathcal { N C }$ , testing accuracy, etc. \n(d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] See Appendix B. ",
|
| 1077 |
+
"bbox": [
|
| 1078 |
+
238,
|
| 1079 |
+
412,
|
| 1080 |
+
825,
|
| 1081 |
+
587
|
| 1082 |
+
],
|
| 1083 |
+
"page_idx": 14
|
| 1084 |
+
},
|
| 1085 |
+
{
|
| 1086 |
+
"type": "text",
|
| 1087 |
+
"text": ". If you are using existing assets (e.g., code, data, models) or curating/releasing new assets... ",
|
| 1088 |
+
"bbox": [
|
| 1089 |
+
223,
|
| 1090 |
+
590,
|
| 1091 |
+
823,
|
| 1092 |
+
606
|
| 1093 |
+
],
|
| 1094 |
+
"page_idx": 14
|
| 1095 |
+
},
|
| 1096 |
+
{
|
| 1097 |
+
"type": "text",
|
| 1098 |
+
"text": "(a) If your work uses existing assets, did you cite the creators? [Yes] We cite them in Section 4. \n(b) Did you mention the license of the assets? [Yes] This is mentioned in Appendix B. \n(c) Did you include any new assets either in the supplemental material or as a URL? [N/A] \n(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [Yes] This is discussed in Appendix B. \n(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [N/A] ",
|
| 1099 |
+
"bbox": [
|
| 1100 |
+
238,
|
| 1101 |
+
609,
|
| 1102 |
+
825,
|
| 1103 |
+
744
|
| 1104 |
+
],
|
| 1105 |
+
"page_idx": 14
|
| 1106 |
+
},
|
| 1107 |
+
{
|
| 1108 |
+
"type": "text",
|
| 1109 |
+
"text": "5. If you used crowdsourcing or conducted research with human subjects... ",
|
| 1110 |
+
"bbox": [
|
| 1111 |
+
214,
|
| 1112 |
+
748,
|
| 1113 |
+
705,
|
| 1114 |
+
763
|
| 1115 |
+
],
|
| 1116 |
+
"page_idx": 14
|
| 1117 |
+
},
|
| 1118 |
+
{
|
| 1119 |
+
"type": "text",
|
| 1120 |
+
"text": "(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A] \n(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A] \n(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A] ",
|
| 1121 |
+
"bbox": [
|
| 1122 |
+
238,
|
| 1123 |
+
767,
|
| 1124 |
+
825,
|
| 1125 |
+
857
|
| 1126 |
+
],
|
| 1127 |
+
"page_idx": 14
|
| 1128 |
+
}
|
| 1129 |
+
]
|
parse/train/KRODJAa6pzE/KRODJAa6pzE_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/KRODJAa6pzE/KRODJAa6pzE_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Wj4ODo0uyCF/Wj4ODo0uyCF.md
ADDED
|
@@ -0,0 +1,325 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SHARE OR NOT?LEARNING TO SCHEDULE LANGUAGE-SPECIFIC CA-PACITY FOR MULTILINGUAL TRANSLATION
|
| 2 |
+
|
| 3 |
+
Biao Zhang1∗, Ankur Bapna2, Rico Sennrich $^ { 3 , 1 }$ , Orhan Firat2
|
| 4 |
+
|
| 5 |
+
1 School of Informatics, University of Edinburgh
|
| 6 |
+
2 Google Research
|
| 7 |
+
3 Department of Computational Linguistics, University of Zurich
|
| 8 |
+
b.zhang@ed.ac.uk,ankurbpn@google.com,sennrich@cl.uzh.ch,orhanf@google.com
|
| 9 |
+
|
| 10 |
+
# ABSTRACT
|
| 11 |
+
|
| 12 |
+
Using a mix of shared and language-specific (LS) parameters has shown promise in multilingual neural machine translation (MNMT), but the question of when and where LS capacity matters most is still under-studied. We offer such a study by proposing conditional language-specific routing (CLSR). CLSR employs hard binary gates conditioned on token representations to dynamically select LS or shared paths. By manipulating these gates, it can schedule LS capacity across sub-layers in MNMT subject to the guidance of translation signals and budget constraints. Moreover, CLSR can easily scale up to massively multilingual settings. Experiments with Transformer on OPUS-100 and WMT datasets show that: 1) MNMT is sensitive to both the amount and the position of LS modeling: distributing $10 \% { - } 3 0 \%$ LS computation to the top and/or bottom encoder/decoder layers delivers the best performance; and 2) one-to-many translation benefits more from CLSR compared to many-to-one translation, particularly with unbalanced training data. Our study further verifies the trade-off between the shared capacity and LS capacity for multilingual translation. We corroborate our analysis by confirming the soundness of our findings as foundation of our improved multilingual Transformers. Source code and models are available at https://github.com/bzhangGo/zero/tree/iclr2021_clsr.
|
| 13 |
+
|
| 14 |
+
# 1 INTRODUCTION
|
| 15 |
+
|
| 16 |
+
Model architecture design injects inductive biases to neural network layouts, allowing a learning algorithm to favor certain representations over others, independent of the observed data (Mitchell, 1980). In multilingual neural machine translation (MNMT), where the learning objective is commonly cast as a multi-task learning problem (Firat et al., 2016a; Ha et al., 2016; Johnson et al., 2017), the inductive bias researchers usually study is deciding on which components of the neural network to share between tasks (languages), and which components to leave specific to the task or language. These components can be entire layer stacks, individual layers or even some sub-layers (Sachan & Neubig, 2018; Blackwood et al., 2018; Wang et al., 2019; Zhu et al., 2020). Noticeably, the search space of which parameters to share and at which granularity grows rapidly, as we make neural networks large or increase the number of tasks (languages). This rapid expansion of the search space prevents us from exhaustively exploring the choice of sharing patterns in MNMT.
|
| 17 |
+
|
| 18 |
+
The incapability of full-space exploration motivates methods relying on heuristics (Sachan & Neubig, 2018), that lack flexibility when more languages are covered, or meta-learning (Platanios et al., 2018), that are often hard to scale. These limitations hinder their generalization to large-scale multilingual models, which is the very focus of our study. In large scale multilingual models, also known as massively multilingual models (Aharoni et al., 2019; Arivazhagan et al., 2019; Zhang et al., 2020b), hundreds of languages with varying amounts of training data, difficulty and linguistic properties are jointly trained together in a multi-task setup. While the joint training enables positive transfer across languages, it also introduces task-interference between dissimilar languages (Arivazhagan et al., 2019; Wang et al., 2020a;b) and a capacity bottleneck emerges due to the increased number of languages and data (Huang et al., 2019; Zhang et al., 2020b).
|
| 19 |
+
|
| 20 |
+

|
| 21 |
+
Figure 1: The model architecture used for our experiments. We introduce a CLSR layer after every transformer sub-layer in the encoder and the decoder. The gating layer learns to route every input through either the LS projection layer, or a shared projection layer. We analyze the outputs of the gating layers to develop a MNMT architecture with LS projections.
|
| 22 |
+
|
| 23 |
+
In this paper we adopt an end-to-end data driven approach (conditional language-specific routing, or CLSR) which permits directly probing a large section of the search space. We let the network learn the sharing structure from the data itself, by learning to route between language-specific (LS) or shared pathways. These two routes determine the mode of operation for the network: when the LS branch is selected, the model is given access to a set of LS layers (implemented as simple projections per language) and when the shared branch is chosen, the computation is routed to a layer that is used by all languages. By guiding the (gating) decision process with token level activation information, the network flexibly learns to alternate between the two modes and naturally lends itself to a conditional computation approach for multilingual processing (Bengio et al., 2013; Davis & Arel, 2013; Bapna et al., 2020). The gate states are optimized towards maximizing translation quality, but regularized with a budget constraint to control the amount of LS capacity1. Reducing the available budget results in fewer gates routing through the LS paths, enforcing CLSR to identify the most crucial sub-layers which allows us to observe and study the importance of each sub-layer for multilingual processing. Our approach is visually depicted in Figure 1.
|
| 24 |
+
|
| 25 |
+
We verify our proposal on WMT and the massively multilingual OPUS-100 dataset, with models building on the Transformer architecture (Vaswani et al., 2017). We explore target-specific and source-specific modeling for one-to-many2 and many-to-one translation, respectively. To measure the degree of each sub-layer’s tendency to be language-specific, we propose LSScore metric. Our results show that CLSR successfully navigates the trade-offs in LS modeling, outperforming several strong baselines. Our main findings are summarized below:
|
| 26 |
+
|
| 27 |
+
• Both the amount and the position of LS layers matter for MNMT. The best performance is achieved by distributing $10 \% { - } 3 0 \%$ LS computation to the top and/or bottom encoder/decoder layers. Feed-forward sub-layers utilize more LS capacity compared to other sub-layers on one-tomany translation. One-to-many translation benefits more from CLSR (with target LS parameters) compared to many-to-one translation (with source LS parameters), particularly when the training data is imbalanced.
|
| 28 |
+
• The induced sharing pattern learned by CLSR is highly similar across languages.
|
| 29 |
+
|
| 30 |
+
• We can use the learned patterns to hard-code better parameter sharing strategies for multilingual Transformers.
|
| 31 |
+
|
| 32 |
+
# 2 RELATED WORK
|
| 33 |
+
|
| 34 |
+
Our work closely relates to language-specific (LS) modeling for multilingual NMT and conditional computation for sequential data which we will recap both here. Early research on MNMT focused on improving shared capacity for separate bilingual models to enhance cross-lingual transfer. These efforts included sharing encoders for one-to-many translation (Dong et al., 2015), sharing decoders for many-to-one translation (Zoph & Knight, 2016; Lee et al., 2017) and sharing sub-layers (attention) for many-to-many translation (Firat et al., 2016a;b). These studies corroborated the feasibility of accommodating multiple languages with shared NMT sub-components, motivating researchers to explore universal MNMT. Ha et al. (2016) and Johnson et al. (2017) proposed such an implementation that performs multilingual translation with a single monolithic NMT model where the entire network is shared across languages, thanks to a target language token informing the model which language to translate into. Although this paradigm shows great scalability (Aharoni et al., 2019), the language token alone affords little flexibility in handling language diversity with a rigid share-all layout. Follow-up studies thus resort to LS modeling in an attempt to seek a better trade-off between sharing and not sharing. Methods in this category involve specializing neural attentions (Blackwood et al., 2018; Sachan & Neubig, 2018; Wang et al., 2019), broadening encoder outputs and normalizations (Zhang et al., 2020b), decoupling multilingual encoders and/or decoders (Vázquez et al., 2019; Escolano et al., 2020), using a fixed mix of LS and shared parameters (Wang et al., 2018), inserting lightweight adapters (Bapna & Firat, 2019) and separately modeling languages for different clusters (Tan et al., 2019), to name a few. Nevertheless, these methods heavily depend on heuristics, providing little evidence about how to optimally distribute LS capacity across the model.
|
| 35 |
+
|
| 36 |
+
By contrast, our proposed CLSR forces the model to learn LS behaviour. It can be treated as a simplified differentiable neural architecture search (NAS) model (Liu et al., 2019) with a search space defined by the presence/absence of LS projections after every transformer sub-layer. However, in contrast with NAS, we utilize conditional computation (Bengio et al., 2013) to make the choice of executing the shared or LS path conditional on the input representations. This allows us to compare and contrast the choice of LS vs shared paths on different inputs and languages. Conditional computation has previously been successfully applied to adapt the amount of computation to the input in recurrent models (Graves, 2016) and transformers (Dehghani et al., 2019; Elbayad et al., 2020), or to significantly scale up model capacity by utilizing sparsely-gated Mixture-of-Experts layers (Shazeer et al., 2017; Lepikhin et al., 2020). Zhang et al. (2020a) applied conditional computation to sparsify encoder outputs in sequence-to-sequence models in order to reduce attention costs, while Bapna et al. (2020) introduced conditional execution of Transformer sub-layers to control the amount of computation expended by the model at inference. Sukhbaatar et al. (2019) learn parameters that limit the attention spans, in order to make the attention operation more efficient, while Fan et al. (2020) utilize structured dropout to prune transformer layers at inference. Ruder et al. (2019) propose the sluice network that learns the inter-task (shared) sub-spaces on top of task-specific models. By contrast, CLSR starts with a totally shared model, and learns how to inject task-specific projections into it, which scales more easily to massively multilingual settings. Different from previous studies, we explore conditional computation as an analysis tool to understand the ideal arrangement of LS capacity for MNMT. Utilizing conditional computation to search for better LS sharing patterns in multilingual translation, to the best of our knowledge, has never been investigated before.
|
| 37 |
+
|
| 38 |
+
# 3 BACKGROUND: MNMT
|
| 39 |
+
|
| 40 |
+
Given a source sentence $X ^ { \prime } = \{ x _ { 1 } , x _ { 2 } , \ldots , x _ { I } \}$ and its target translation $Y = \{ y _ { 1 } , y _ { 2 } , \dots , y _ { J } \}$ , we follow Johnson et al. (2017) to reuse standard bilingual NMT models for multilingual translation by altering the source input with a language token lang, i.e. changing $X ^ { \prime }$ to $\begin{array} { r l } { X } & { { } = } \end{array}$ $\{ l a n g , x _ { 1 } , x _ { 2 } , \ldots , x _ { I } \}$ . Note that lang denotes the target language in one-to-many translation but source language in many-to-one translation.
|
| 41 |
+
|
| 42 |
+
We model translation from $X$ to $Y$ with Transformer (Vaswani et al., 2017). Transformer relies on the following residual-normalization structure (He et al., 2015; Ba et al., 2016) to smooth information flow and avoid gradient vanishing and explosion:
|
| 43 |
+
|
| 44 |
+
$$
|
| 45 |
+
\begin{array} { r } { { \bf z } ^ { l + 1 } = \mathrm { L N } \left( { \bf z } ^ { l } + f \left( { \bf z } ^ { l } \right) \right) , } \end{array}
|
| 46 |
+
$$
|
| 47 |
+
|
| 48 |
+
where $l$ denotes layer depth and $\mathrm { L N } ( \cdot )$ is layer normalization (Ba et al., 2016). Function $f ( \cdot )$ represents the basic building block in Transformer, such as attention network or feed-forward network. The encoder in Transformer is a stack of $L$ identical layers, with each layer involving a self-attention sub-layer (SAN) and a feed-forward sub-layer (FFN). The decoder uses a similar structure except for an extra cross-attention sub-layer (CAN) inserted in-between the above two sub-layers.
|
| 49 |
+
|
| 50 |
+
# 4 CONDITIONAL LANGUAGE-SPECIFIC ROUTING (CLSR)
|
| 51 |
+
|
| 52 |
+
The success of MNMT comes at the cost of expressivity and model’s ability to capture languagespecific characteristics. It has been empirically shown that the language signals from language indicator tokens alone are not sufficient (Arivazhagan et al., 2019), making architectures dedicated to LS modeling a necessity (Blackwood et al., 2018; Sachan & Neubig, 2018; Zhang et al., 2020b). Nevertheless, the question when and where LS modeling matters most in MNMT still remains to be answered. To this end, we propose conditional language-specific routing (CLSR) which specializes $f ( \cdot )$ and changes the formulation in Equation 1 as follows:
|
| 53 |
+
|
| 54 |
+
$$
|
| 55 |
+
\begin{array} { r } { \mathbf { z } ^ { l + 1 } = \mathrm { L N } \left( \mathbf { z } ^ { l } + \mathrm { C L S R } \left( f \left( \mathbf { z } ^ { l } \right) \right) \right) . } \end{array}
|
| 56 |
+
$$
|
| 57 |
+
|
| 58 |
+
CLSR learns a hard binary (scalar-valued) gate $g ( \cdot )$ for each input token based on its hidden representation $\mathbf { z } ^ { l } \in \mathbb { R } ^ { d }$ . These gates endow each sub-layer in Transformer with the capability of routing information selectively through either LS path $\mathbf { h } ^ { l a \bar { n } g }$ or shared path $\mathbf { h } ^ { s h a r e d }$ :
|
| 59 |
+
|
| 60 |
+
$$
|
| 61 |
+
\begin{array} { r l r } & { } & { \mathrm { C L S R } \left( f \left( \mathbf { z } ^ { l } \right) \right) = g ( \mathbf { z } ^ { l } ) \mathbf { h } ^ { l a n g } + ( 1 - g ( \mathbf { z } ^ { l } ) ) \mathbf { h } ^ { s h a r e d } , } \\ & { } & { \mathrm { w i t h } \quad \mathbf { h } ^ { l a n g } = f \left( \mathbf { z } ^ { l } \right) \mathbf { W } ^ { l a n g } , \quad \mathbf { h } ^ { s h a r e d } = f \left( \mathbf { z } ^ { l } \right) \mathbf { W } ^ { s h a r e d } , } \end{array}
|
| 62 |
+
$$
|
| 63 |
+
|
| 64 |
+
where ${ \bf W } ^ { s h a r e d }$ is a weight matrix shared across languages, while parameter ${ \bf W } ^ { l a n g }$ is only used for modeling language lang which endows NMT with source or target LS modeling capacity.3 Intuitively, a closed gate, corresponding to shared capacity, encourages maximal cross-lingual information transfer; an open gate, corresponding to LS capacity instead, improves language awareness for translation albeit it blocks knowledge transfer. CLSR balances between the two modes as controlled by the gates.
|
| 65 |
+
|
| 66 |
+
Following Bapna et al. (2020), we parameterize the gate $g ( \cdot )$ with a two-layer feed-forward network $G ( \cdot )$ , and inject zero-mean Gaussian noise during training to discretize it (Chiu & Raffel, 2018) :
|
| 67 |
+
|
| 68 |
+
$$
|
| 69 |
+
g ( \mathbf { z } ^ { l } ) = \sigma \left( G ( \mathbf { z } ^ { l } ) + \alpha ( t ) \mathcal { N } ( 0 , 1 ) \right) , \quad G ( \mathbf { z } ^ { l } ) = \mathrm { R e l u } \left( \mathbf { z } ^ { l } \mathbf { W } _ { 1 } + \mathbf { b } \right) \mathbf { w } _ { 2 } ,
|
| 70 |
+
$$
|
| 71 |
+
|
| 72 |
+
where $\sigma ( \cdot )$ is the logistic-sigmoid function, $d _ { g }$ is the gating feed-forward hidden dimension, and $\mathbf { W } _ { 1 } \in \mathbb { R } ^ { d \times d _ { g } }$ , $\mathbf { w } _ { 2 } \in \mathbb { R } ^ { d _ { g } }$ are trainable parameters. $\alpha$ is linearly increased along with training steps $t$ . In this way, the gating parameters can be optimized with accurate gradients when $\alpha$ is small at the beginning so as to measure the degree to which each position in each sub-layer benefits from LS modeling. As training progresses, $\alpha$ grows larger, forcing the gating network to emit hard outputs. At inference time, we discretize the gate based on a simple decision rule: $g ( \mathbf { z } ^ { l } ) = \delta \left( G ( \mathbf { z } ^ { l } ) \dot { \geq } 0 \right)$ , where $\delta ( \cdot )$ is a Dirac measure.
|
| 73 |
+
|
| 74 |
+
We train the gates based on the standard maximum likelihood objective, along with an additional budget regularization term that enables control over the amount of LS capacity used for translation. Let the set of all CLSR layers in the encoder be $\mathcal { M } _ { e n c }$ and the decoder be $\mathcal { M } _ { d e c }$ . Then the amount of LS computation utilized by a sentence pair $( X , Y )$ is given by $\begin{array} { r } { G _ { ( X , Y ) } = \sum _ { x \in X } \sum _ { m \in \mathcal { M } _ { e n c } } g _ { m } ( x ) + } \end{array}$ $\begin{array} { r } { \sum _ { y \in Y } \sum _ { m \in \mathcal { M } _ { d e c } } g _ { m } ( y ) } \end{array}$ . Given a budget constraint $p \in [ 0 , 1 ]$ and a batch of sentence pairs, $\boldsymbol { B }$ , the training loss function of CLSR is formulated below:
|
| 75 |
+
|
| 76 |
+
$$
|
| 77 |
+
\mathcal { L } \left( \mathcal { B } \right) = \sum _ { \left( X , Y \right) \in \mathcal { B } } \mathrm { M L E } \left( X , Y \right) + \left| \frac { \sum _ { \left( X , Y \right) \in \mathcal { B } } G _ { \left( X , Y \right) } } { \sum _ { \left( X , Y \right) \in \mathcal { B } } \left( \left| X \right| \left| \mathcal { M } _ { e n c } \right| + \left| Y \right| \left| \mathcal { M } _ { d e c } \right| \right) } - p \right| ,
|
| 78 |
+
$$
|
| 79 |
+
|
| 80 |
+
Intuitively, the budget constraint tries to regulate the amount of LS computation available to all tokens in the batch as a fraction $p$ of the total LS computation in the model. Given that we make a binary decision for every input for every CLSR layer, this corresponds to a search space of $\mathcal { O } ( 2 ^ { | \boldsymbol { X } | | \mathcal { M } _ { e n c } | + | \boldsymbol { Y } | | \mathcal { M } _ { d e c } | } )$ . This gating space not only grows with respect to the model depth and sub-layer types, but also is highly input dependent. This dependency makes it difficult to search the entire space using heuristic methods (Blackwood et al., 2018).
|
| 81 |
+
|
| 82 |
+
The constraint in Equation 6 is imposed upon the aggregated gates. As a consequence, the model can learn to trade-off LS capacity for certain layers and inputs for others. Decreasing the budget encourages gate closure, such that the LS path is chosen only in the critical sub-layers. Thus, a properly learned gating function reveals the activations of LS paths and helps gain insights into the model behavior.
|
| 83 |
+
|
| 84 |
+
# 5 EXPERIMENTS
|
| 85 |
+
|
| 86 |
+
Data and Evaluation We report results on two benchmarks: OPUS-100 (Zhang et al., 2020b) and WMT-14 (Barrault et al., 2019). OPUS-100 is a massively multilingual dataset collected from OPUS (Tiedemann, 2012), including 100 languages in total with 99 languages to-and-from English.4 It consists of 55M training sentence pairs with up to 1M samples per language pair, and covers 94 dev/test language pairs, each with 2000 samples at most. WMT-14 is another multilingual Englishcentric dataset composed of 13 widely-used WMT benchmarks following Siddhant et al. (2020) but excluding Kazakh and Gujarati due to their poor parallel resource. Compared to OPUS-100, WMT14 involves much fewer languages but its training data distribution is highly skewed across diverse language pairs, ranging from 0.2M (En-Tr) to 60M (En-Cs) training examples, thus posing severe challenges. We show more details about the train, dev and test data for WMT-14 in Appendix A.
|
| 87 |
+
|
| 88 |
+
We apply byte pair encoding (BPE) algorithm (Sennrich et al., 2016) using SentencePiece (Kudo & Richardson, 2018) to preprocess multilingual sentences with a vocabulary size of 64K. We use BLEU (Papineni et al., 2002), offered by SacreBLEU (Post, 2018)5, for translation evaluation. Following Zhang et al. (2020b), we split the 94 test language pairs in OPUS-100 into three groups based on their training data size to ease model evaluation: high resource $( { > } 0 . 9 \mathrm { M }$ , 45 languages), low resource $\mathrm { \check { \ z o } } . 1 \mathrm { { M } }$ , 26 languages) and medium resource (others, 28 languages). Similarly, we split the 13 test language pairs in WMT-14 as follows: High $\mathrm { ^ { \circ } } > 1 0 \mathrm { M } ,$ 5), Low $( < 1 \mathbf { M } , 5 )$ and Med (others, 3).
|
| 89 |
+
|
| 90 |
+
We perform experiments for one-to-many translation (O2M) and many-to-one translation (M2O). In addition to using the original training data as is, we also report results with a temperature-based strategy to balance the training data distribution by over-sampling low-resource languages with a temperature of $T = 5$ (Arivazhagan et al., 2019).
|
| 91 |
+
|
| 92 |
+
We report average BLEU, and also show win ratio (Zhang et al., 2020b, WR), informing the proportion of language pairs on which our method beats our baseline. To evaluate how often each sub-layer is LS, we introduce a new metric, LSScore, formulated as follows:
|
| 93 |
+
|
| 94 |
+
$$
|
| 95 |
+
\mathrm { L S S c o r e } _ { f } ( l , p ) = \frac { 1 } { | \mathcal { P } | } \sum _ { p \in \mathcal { P } } \tilde { g } _ { l , f } ^ { p } - p ,
|
| 96 |
+
$$
|
| 97 |
+
|
| 98 |
+
where $\tilde { g } _ { l , f } ^ { p }$ denotes the gating value averaged over all test tokens for the $l$ -th sub-layer $f ( \cdot )$ trained under a budget of $p$ . Recall that we pose the budget constraint to the summed gate value instead of each individual gate, as in Equation 6. This gives CLSR the freedom to close more gates in some language-insensitive sub-layers (i.e. $\tilde { g } _ { l , f } ^ { p } < p )$ ) while preserve more for the others (i.e. $\tilde { g } _ { l , f } ^ { p } > p \}$ ). A larger LSScore, $> 0$ in particular, indicates that this sub-layer utilizes more LS modeling.
|
| 99 |
+
|
| 100 |
+
Model Settings We adapt Transformer base for our experiments: $L = 6$ , $d = 5 1 2$ , 8 attention heads with FFN middle size of 2048. Dropout of rate 0.1 is applied to residual connections and attention weights. We optimize parameters using Adam (Kingma & Ba, 2015) $( \beta _ { 1 } = 0 . 9 , \beta _ { 2 } = 0 . 9 8 )$ with label smoothing of 0.1. Learning rate is scheduled according to the inverse square root of running steps with a warmup step of 4K (Vaswani et al., 2017). We limit training sequence length to 100, and train all models with a batch size of 1920. We set the maximum running step to 500K and 600K for OPUS-100 and WMT-14, respectively. We perform beam search decoding with beam size of 4 and length penalty of 0.6. We average the last 5 checkpoints for evaluation. For CLSR, we set $d _ { g }$ to 128, and linearly increase $\alpha$ from 0 to 5 along training steps (Bapna et al., 2020).6 We vary the budget $p$ in the range of $\mathcal { P } = \{ 0 . 0 , 0 . 1 , 0 . 3 , 0 . 5 , 0 . 7 , 0 . 9 , 1 . 0 \}$ to study its impact on model performance.
|
| 101 |
+
|
| 102 |
+
# 5.1 RESULTS ON OPUS-100
|
| 103 |
+
|
| 104 |
+

|
| 105 |
+
Figure 2: Average BLEU 2(a),2(b) and win ratio 2(c),2(d) over all test language pairs for O2M and M2O on OPUS-100 when varying the budget $p$ . Baseline: multilingual baseline on the original training data; Oversample: oversampling low-resource data with a temperature of 5.
|
| 106 |
+
|
| 107 |
+
On the trade-off between shared and language-specific capacity. Using more LS modeling fails to deliver increasingly better translation performance, as shown in Figure 2(a) and 2(b) when $p$ approaches 1.0. At the point of full LS capacity for Transformer, i.e. $p = 1 . 0$ , CLSR even underperforms its corresponding multilingual baseline by a large margin of 1.0-2.0 BLEU on M2O, Figure 2(b). Similarly, sharing all model parameters across language pairs, $p 0 . 0$ , also yields suboptimal performance with either original or oversampled training data. CLSR achieves its best translation quality at $p = 0 . 3$ $( + 2 . 0 / 3 . 0 $ BLEU) and $p = 0 . 1$ $\left( + 0 . 5 / 1 . 5 \right)$ BLEU) for O2M and M2O, respectively. The win ratio curves in Figure 2(c) and 2(d) further confirm the robustness of these quality improvements, where properly scheduling LS capacity outperforms the baselines on $> \sim \bar { 8 0 \% }$ language pairs. These results clearly show the trade-off between these two kinds of capacity.
|
| 108 |
+
|
| 109 |
+
When does language-specific capacity matter for multilingual translation? Results in Figure 2 show that O2M favors more LS modeling and benefits more from it compared to M2O $p = 0 . 3$ vs. $p = 0 . 1$ , and $+ 3 . 0$ vs. $+ 1 . 5$ BLEU on the original training data). We conjecture that translations on M2O share the same target language (English), so information can be easily transferred through shared modeling; by contrast, MNMT has to handle languages of diverse typological features for O2M, demanding stronger capacity delivered to each translation direction. Results in Figure 2 also show that CLSR yields more aggressive improvements on the original training data, compared to the oversampled counterpart $( + 3 . 0$ vs. $+ 2 . 0$ BLEU on O2M and $+ 1 . 5$ vs. $+ 0 . 5$ BLEU on M2O). Finegrained analysis on each resource group, as shown in Figure 7 (Appendix B), reveals that CLSR yields more improvements for low-resource translation where the oversampling strategy partially offsets these improvements.
|
| 110 |
+
|
| 111 |
+
Where should we add language-specific capacity in multilingual Transformer? Figure 2 suggests that CLSR uses $10 { - } 3 0 \%$ LS capacity to reach its best performance. We next study how CLSR schedules this capacity across all Transformer sub-layers, in order to determine the ideal arrangement of LS layers for translation. Figure 3 shows the results. Regardless of layer types, CLSR schedules more LS capacity to the top and/or bottom encoder/decoder layers rather than the middle ones. We find that more LS capacity is allocated to feed-forward sub-layers for O2M (both encoder Figure 3(a) and decoder Figure 3(b)), while the cross-attention sub-layers use more LS capacity for M2O (decoder, Figure 3(d)). Regarding the encoder for M2O, we observe no significant LSScore
|
| 112 |
+
|
| 113 |
+

|
| 114 |
+
|
| 115 |
+
Figure 3: LSScore of encoder and decoder sub-layers for O2M 3(a), 3(b) and M2O 3(c), 3(d) on OPUS-100. The solid lines correspond to models trained on the original data, while the dashed lines are on the oversampled data. We also include a red, dotted line to indicate the LSScore of 0.
|
| 116 |
+
|
| 117 |
+
<table><tr><td rowspan="2">Data Setting</td><td rowspan="2">Model</td><td colspan="5">02M</td><td colspan="5">M20</td></tr><tr><td>High</td><td>Med</td><td>Low</td><td>All</td><td>WR</td><td>High</td><td>Med</td><td>Low</td><td>All</td><td>WR</td></tr><tr><td rowspan="8">Original</td><td>Baseline</td><td>21.39</td><td>22.36</td><td>18.02</td><td>20.93</td><td>1</td><td>28.55</td><td>30.10</td><td>29.71</td><td>29.27</td><td>-</td></tr><tr><td>LS</td><td>+0.75</td><td>+1.83</td><td>+3.96</td><td>+1.79</td><td>94.68</td><td>-0.54</td><td>-0.16</td><td>-0.46</td><td>-0.41</td><td>32.98</td></tr><tr><td>CLSR-S</td><td>+0.06</td><td>-0.09</td><td>-0.34</td><td>-0.08</td><td>41.49</td><td>-0.14</td><td>-0.06</td><td>+0.02</td><td>-0.08</td><td>37.23</td></tr><tr><td>CLSR-L</td><td>+0.39</td><td>+1.54</td><td>+4.37</td><td>+1.62</td><td>84.04</td><td>-1.13</td><td>-0.47</td><td>-0.46</td><td>-0.78</td><td>21.28</td></tr><tr><td>CLSR*</td><td>+1.45</td><td>+2.83</td><td>+6.40</td><td>+2.97</td><td>95.74</td><td>+0.65</td><td>+1.52</td><td>+3.79</td><td>+1.61</td><td>96.81</td></tr><tr><td>Top-Bottom</td><td>+1.27</td><td>+2.71</td><td>+6.60</td><td>+2.89</td><td>96.81</td><td>+0.38</td><td>+1.16</td><td>+3.06</td><td>+1.21</td><td>78.72</td></tr><tr><td>Dedicated</td><td>+1.35</td><td>+2.75</td><td>+6.46</td><td>+2.90</td><td>97.87</td><td>+0.61</td><td>+1.50</td><td>+2.85</td><td>+1.38</td><td>89.36</td></tr><tr><td>Baseline</td><td>19.95</td><td>24.22</td><td>25.27</td><td>22.41</td><td></td><td>26.98</td><td>30.69</td><td>34.26</td><td></td><td></td></tr><tr><td rowspan="7">Over Sample</td><td></td><td></td><td></td><td></td><td></td><td>- 90.43</td><td></td><td></td><td></td><td>29.71</td><td>- 12.77</td></tr><tr><td>LS CLSR-S</td><td>+0.99 +0.02</td><td>+1.30 +0.13</td><td>+0.94</td><td>+1.07</td><td></td><td>-0.55</td><td>-0.61</td><td>-3.96</td><td>-1.33</td><td></td></tr><tr><td></td><td></td><td></td><td>+0.30</td><td>+0.11</td><td>44.68</td><td>-0.04</td><td>+0.06</td><td>-0.84</td><td>-0.19</td><td>35.11</td></tr><tr><td>CLSR-L CLSR*</td><td>+0.62 +1.76</td><td>+0.60 +2.04</td><td>+0.34</td><td>+0.55</td><td>69.15</td><td>-1.02 +0.82</td><td>-1.11 +0.84</td><td>-4.56</td><td>-1.84</td><td>7.45</td></tr><tr><td></td><td></td><td></td><td>+1.94</td><td>+1.89</td><td>93.62</td><td></td><td></td><td>-0.13</td><td>+0.62</td><td>76.60</td></tr><tr><td>Top-Bottom</td><td>+1.73</td><td>+1.91</td><td>+1.83</td><td>+1.81</td><td>96.81</td><td>+0.83</td><td>+1.05</td><td>-1.36</td><td>+0.41</td><td>73.40</td></tr><tr><td>Dedicated</td><td>+1.79</td><td>+2.03</td><td>+2.07</td><td>+1.92</td><td>94.68</td><td>+0.99</td><td>+0.92</td><td>-0.88</td><td>+0.55</td><td>77.66</td></tr></table>
|
| 118 |
+
|
| 119 |
+
Table 1: Translation quality for O2M and M2O on OPUS-100 with the original and oversampled training data. We list average $\mathrm { B L E U \uparrow }$ for High, Med, Low and All language groups, as well as $\mathrm { W R \uparrow }$ over all language pairs. Baseline: the vanilla multilingual baseline; $L S ^ { \circ }$ : the LS model proposed by Zhang et al. (2020b); CLSR-S: CLSR but always using shared modeling, i.e. $g ( \mathbf { z } ^ { l } ) = 0$ for all inputs; CLSR- $L i$ CLSR but always using LS modeling, i.e. $g ( \mathbf { z } ^ { l } ) = 1$ for all inputs; $C L S R ^ { \star }$ : the best CLSR model; Top-Bottom: applying LS modeling only to the top and bottom Transformer layers; Dedicated: dedicated model that allocates LS modeling based on LSScore distribution. Best results are highlighted in bold.
|
| 120 |
+
|
| 121 |
+
difference among different sub-layers as in Figure 3(c). Overall, CLSR tends to make the “M” side more LS, i.e. the encoder side of M2O (Figure 3(c)) and the decoder side of O2M (Figure 3(b)).
|
| 122 |
+
|
| 123 |
+
Does CLSR schedule language-specific capacity based on linguistic similarity? It is intriguing to explore how the capacity scheduled by CLSR is actualized, especially whether CLSR learns to organize LS capacity according to linguistic characteristics or not. The heatmap in Figure 6, Appendix B shows that the LSScore distribution over different sub-layers (y-axis) has only subtle difference across different language pairs $\mathbf { \dot { x } }$ -axis). This suggests that the capacity schedule has little to do with linguistic characteristics. More results in other settings are given in Figure 6, Appendix B, which reflect similar observation. In short, CLSR allocates LS capacity to specific sub-layers rather than specific languages. This could be ascribed to the design of CLSR. CLSR shares the gating parameters and the budget, $p$ , across all languages, which might impose some inductive bias discouraging its LS behavior. Besides, the structure of the gating in CLSR (Eq. 5) might fail to offer enough flexibility for controlling the gates in different ways across languages and layers. We leave further study of LS gating to future work.
|
| 124 |
+
|
| 125 |
+
On detailed results and comparison to other baselines. Table 1 summarizes our results.7 Although $\mathbf { L } \mathbf { S } ^ { \circ }$ (Zhang et al., 2020b) improves O2M, it fails to surpass the vanilla Baseline on M2O, indicating that the position of its LS layer, i.e. on top of the encoder outputs, is sub-optimal for many-to-one translation. Compared to $\mathrm { L } S ^ { \circ }$ , CLSR-S uses no LS modeling while CLSR-L injects LS projection into each sub-layer, both of which delivers inferior performance on O2M (against $\mathrm { L } S ^ { \circ }$ and Baseline) and M2O (against Baseline), echoing our findings from Figure 2. By contrast, $\mathrm { C L S R ^ { \star } }$ , which uses an optimized budget p, yields promising results, beating Baseline on O2M and M2O, underlining the importance of seeking balances between sharing and not sharing.
|
| 126 |
+
|
| 127 |
+
Can we use these insights to improve multilingual Transformer? We answer this question by transferring our findings from Figure 3 into the following two Transformer variants: one enhances the top and bottom encoder/decoder layers with LS projections (Top-Bottom), while the other makes high-LSScore sub-layers LS (Dedicated).8 Results of these experiments, in Table 1, demonstrate that incorporating our findings into Transformer helps to improve translation performance. The dedicated model in particular recovers and even surpasses the performance of $\mathrm { C L S R ^ { \star } }$ .
|
| 128 |
+
|
| 129 |
+
# 5.2 RESULTS ON WMT-14
|
| 130 |
+
|
| 131 |
+

|
| 132 |
+
Figure 4: Average BLEU 4(a),4(b) and win ratio 4(c),4(d) over all test language pairs for O2M and M2O on WMT-14 when varying the budget $p$ .
|
| 133 |
+
|
| 134 |
+
<table><tr><td rowspan="2">Data Setting</td><td rowspan="2">Model</td><td colspan="5">02M</td><td colspan="5">M20</td></tr><tr><td>High</td><td>Med</td><td>Low</td><td>All</td><td>WR</td><td>High</td><td>Med</td><td>Low</td><td>All</td><td>WR</td></tr><tr><td rowspan="8">Original</td><td>Baseline</td><td>27.24</td><td>16.27</td><td>8.72</td><td>17.58</td><td>1</td><td>30.64</td><td>24.37</td><td>18.66</td><td>24.58</td><td>1</td></tr><tr><td>LS</td><td>+0.06</td><td>+0.66</td><td>+1.68</td><td>+0.83</td><td>84.62</td><td>-0.06</td><td>-0.37</td><td>-0.92</td><td>-0.46</td><td>23.08</td></tr><tr><td>CLSR-S</td><td>+0.00</td><td>+0.16</td><td>+0.20</td><td>+0.12</td><td>53.85</td><td>+0.04</td><td>+0.16</td><td>+0.28</td><td>+0.17</td><td>69.23</td></tr><tr><td>CLSR-L</td><td>-0.52</td><td>+0.43</td><td>+2.06</td><td>+0.70</td><td>61.54</td><td>-0.82</td><td>-0.50</td><td>+0.00</td><td>-0.43</td><td>15.38</td></tr><tr><td>CLSR*</td><td>+0.46</td><td>+1.46</td><td>+3.10</td><td>+1.71</td><td>100.0</td><td>+0.12</td><td>+0.73</td><td>+1.52</td><td>+0.80</td><td>84.62</td></tr><tr><td>Top-Bottom</td><td>+0.10</td><td>+0.96</td><td>+2.78</td><td>+1.34</td><td>84.62</td><td>-0.08</td><td>+0.70</td><td>+1.26</td><td>+0.62</td><td>61.54</td></tr><tr><td>Dedicated</td><td>+0.26</td><td>+1.00</td><td>+2.98</td><td>+1.48</td><td>92.31</td><td>+0.04</td><td>+0.86</td><td>+1.90</td><td>+0.95</td><td>84.62</td></tr><tr><td>Baseline</td><td>26.10</td><td>19.00</td><td>15.52</td><td>20.39</td><td></td><td>29.96</td><td>26.33</td><td>23.56</td><td>26.66</td><td></td></tr><tr><td rowspan="7">Over Sample</td><td>LS</td><td>+0.30</td><td></td><td></td><td></td><td>1</td><td></td><td></td><td></td><td></td><td>- 00.00</td></tr><tr><td>CLSR-S</td><td>-0.12</td><td>+0.60</td><td>+0.26</td><td>+0.36</td><td>84.62</td><td>-0.44</td><td>-0.56</td><td>-0.80</td><td>-0.61</td><td></td></tr><tr><td>CLSR-L</td><td>-0.56</td><td>+0.03</td><td>+0.04</td><td>-0.02</td><td>46.15</td><td>+0.06</td><td>+0.04</td><td>-0.26</td><td>-0.07</td><td>46.15</td></tr><tr><td>CLSR*</td><td>+0.50</td><td>-0.10 +0.67</td><td>-0.32 +0.64</td><td>-0.36 +0.59</td><td>7.69 100.0</td><td>-0.90 +0.26</td><td>-1.00 +0.30</td><td>-1.24 +0.50</td><td>-1.05 +0.36</td><td>00.00</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>100.0</td></tr><tr><td>Top-Bottom</td><td>+0.12</td><td>+0.40</td><td>+0.56</td><td>+0.36</td><td>84.62</td><td>-0.08</td><td>+0.00</td><td>-0.50</td><td>-0.22</td><td>30.77</td></tr><tr><td>Dedicated</td><td>+0.46</td><td>+0.57</td><td>+0.66</td><td>+0.56</td><td>100.0</td><td>+0.16</td><td>+0.17</td><td>+0.22</td><td>+0.19</td><td>84.62</td></tr></table>
|
| 135 |
+
|
| 136 |
+
Table 2: Translation quality for O2M and M2O on WMT-14 with the original and oversampled training data.
|
| 137 |
+
|
| 138 |
+
Figure 4 shows the capacity trade-off on WMT-14, reconfirming the ability of CLSR. One noticeable difference is that the relative improvements become smaller. We ascribe this to the smaller number of language pairs in WMT-14, where the effect of introducing LS capacity into the model is smaller compared to the massively multilingual setting (Arivazhagan et al., 2019). Table 2 shows similar results as Table 1, where $\mathrm { C L S R ^ { \star } }$ outperforms both fully-shared (CLSR-S) and fully-LS (CLSRL) baselines, and both Top-Bottom and Dedicated improve multilingual translation compared to Baseline (except for M2O with oversampling). More results are given in Appendix C. Our results demonstrate that the CLSR approach generalizes to different datasets, with varying number of languages and resource sizes. We provide additional experiments ablating different elements on CLSR in Table 7, Appendix E.
|
| 139 |
+
|
| 140 |
+
# 6 CONCLUSION AND FUTURE WORK
|
| 141 |
+
|
| 142 |
+
Share or not? This is an open question when developing MNMT models. In this paper, we attempt to answer this question by proposing conditional language-specific routing (CLSR). Our empirical results demonstrate that CLSR learns to balance between shared and LS paths across all NMT sublayers, improving the quality of multilingual translation. Our analysis on OPUS-100 and WMT-14 suggest that both the position and the amount of LS capacity greatly affects MNMT. Scheduling $10 \% { - } 3 0 \%$ LS layers to the top and/or bottom encoder/decoder layers reaches CLSR’s peak performance. We also demonstrate how our findings can be leveraged to design a multilingual Transformer with an optimal sharing pattern. We believe that our work improves our understanding on the tradeoff between sharing and not sharing, paving the way for better multilingual models.
|
| 143 |
+
|
| 144 |
+
In the future, we plan to extend our study to many-to-many translation as well as larger-capacity models. We also plan to adapt CLSR to other multilingual multi-task learning settings to better handle knowledge transfer among different tasks, especially for cross-lingual downstream transfer.
|
| 145 |
+
|
| 146 |
+
# ACKNOWLEDGEMENTS
|
| 147 |
+
|
| 148 |
+
We would like to thank Yuan Cao for his valuable feedback. We would also like to thank the Google Translate team for their constructive discussions and comments. We thank the reviewers for their insightful comments. Rico Sennrich has received funding from the Swiss National Science Foundation (project no. 176727).
|
| 149 |
+
|
| 150 |
+
# REFERENCES
|
| 151 |
+
|
| 152 |
+
Roee Aharoni, Melvin Johnson, and Orhan Firat. Massively multilingual neural machine translation. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 3874–3884, Minneapolis, Minnesota, June 2019. Association for Computational Linguistics. doi: 10.18653/v1/N19-1388. URL https://www.aclweb.org/anthology/ N19-1388.
|
| 153 |
+
|
| 154 |
+
Naveen Arivazhagan, Ankur Bapna, Orhan Firat, Dmitry Lepikhin, Melvin Johnson, Maxim Krikun, Mia Xu Chen, Yuan Cao, George Foster, Colin Cherry, Wolfgang Macherey, Zhifeng Chen, and Yonghui Wu. Massively multilingual neural machine translation in the wild: Findings and challenges. CoRR, abs/1907.05019, 2019. URL http://arxiv.org/abs/1907.05019.
|
| 155 |
+
|
| 156 |
+
Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E Hinton. Layer normalization. arXiv preprint arXiv:1607.06450, 2016.
|
| 157 |
+
|
| 158 |
+
Ankur Bapna and Orhan Firat. Simple, scalable adaptation for neural machine translation. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pp. 1538–1548, Hong Kong, China, November 2019. Association for Computational Linguistics. doi: 10.18653/v1/D19-1165. URL https://www.aclweb.org/anthology/D19-1165.
|
| 159 |
+
|
| 160 |
+
Ankur Bapna, Naveen Arivazhagan, and Orhan Firat. Controlling computation versus quality for neural sequence models. arXiv preprint arXiv:2002.07106, 2020.
|
| 161 |
+
|
| 162 |
+
Loïc Barrault, Ondˇrej Bojar, Marta R. Costa-jussà, Christian Federmann, Mark Fishel, Yvette Graham, Barry Haddow, Matthias Huck, Philipp Koehn, Shervin Malmasi, Christof Monz, Mathias Müller, Santanu Pal, Matt Post, and Marcos Zampieri. Findings of the 2019 conference on machine translation (WMT19). In Proceedings of the Fourth Conference on Machine Translation (Volume 2: Shared Task Papers, Day 1), pp. 1–61, Florence, Italy, August 2019. Association for Computational Linguistics. doi: 10.18653/v1/W19-5301. URL https://www.aclweb.org/anthology/W19-5301.
|
| 163 |
+
|
| 164 |
+
Yoshua Bengio, Nicholas Léonard, and Aaron Courville. Estimating or propagating gradients through stochastic neurons for conditional computation. arXiv preprint arXiv:1308.3432, 2013.
|
| 165 |
+
|
| 166 |
+
Graeme Blackwood, Miguel Ballesteros, and Todd Ward. Multilingual neural machine translation with task-specific attention. In Proceedings of the 27th International Conference on Computational Linguistics, pp. 3112–3122, Santa Fe, New Mexico, USA, August 2018. Association for Computational Linguistics. URL https://www.aclweb.org/anthology/C18-1263.
|
| 167 |
+
|
| 168 |
+
Chung-Cheng Chiu and Colin Raffel. Monotonic chunkwise attention. In International Conference on Learning Representations, 2018. URL https://openreview.net/forum?id= Hko85plCW.
|
| 169 |
+
|
| 170 |
+
Andrew Davis and Itamar Arel. Low-rank approximations for conditional feedforward computation in deep neural networks, 2013.
|
| 171 |
+
|
| 172 |
+
Mostafa Dehghani, Stephan Gouws, Oriol Vinyals, Jakob Uszkoreit, and Lukasz Kaiser. Universal transformers. In International Conference on Learning Representations, 2019. URL https: //openreview.net/forum?id $=$ HyzdRiR9Y7.
|
| 173 |
+
|
| 174 |
+
Daxiang Dong, Hua Wu, Wei He, Dianhai Yu, and Haifeng Wang. Multi-task learning for multiple language translation. In Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pp. 1723–1732, Beijing, China, July 2015. Association for Computational Linguistics. doi: 10.3115/v1/P15-1166. URL https://www.aclweb.org/ anthology/P15-1166.
|
| 175 |
+
|
| 176 |
+
Maha Elbayad, Jiatao Gu, Edouard Grave, and Michael Auli. Depth-adaptive transformer. In International Conference on Learning Representations, 2020. URL https://openreview. net/forum?id ${ . } = { }$ SJg7KhVKPH.
|
| 177 |
+
|
| 178 |
+
Carlos Escolano, Marta R Costa-jussà, José AR Fonollosa, and Mikel Artetxe. Multilingual machine translation: Closing the gap between shared and language-specific encoder-decoders. arXiv preprint arXiv:2004.06575, 2020.
|
| 179 |
+
|
| 180 |
+
Angela Fan, Edouard Grave, and Armand Joulin. Reducing transformer depth on demand with structured dropout. In International Conference on Learning Representations, 2020. URL https://openreview.net/forum?id $\underline { { \underline { { \mathbf { \Pi } } } } } =$ SylO2yStDr.
|
| 181 |
+
|
| 182 |
+
Orhan Firat, Kyunghyun Cho, and Yoshua Bengio. Multi-way, multilingual neural machine translation with a shared attention mechanism. In Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pp. 866–875, San Diego, California, June 2016a. Association for Computational Linguistics. doi: 10.18653/v1/N16-1101. URL https://www.aclweb.org/anthology/ N16-1101.
|
| 183 |
+
|
| 184 |
+
Orhan Firat, Baskaran Sankaran, Yaser Al-onaizan, Fatos T. Yarman Vural, and Kyunghyun Cho. Zero-resource translation with multi-lingual neural machine translation. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, pp. 268–277, Austin, Texas, November 2016b. Association for Computational Linguistics. doi: 10.18653/ v1/D16-1026. URL https://www.aclweb.org/anthology/D16-1026.
|
| 185 |
+
|
| 186 |
+
Alex Graves. Adaptive computation time for recurrent neural networks. arXiv preprint arXiv:1603.08983, 2016.
|
| 187 |
+
|
| 188 |
+
Thanh-Le Ha, Jan Niehues, and Alexander Waibel. Toward multilingual neural machine translation with universal encoder and decoder. In Proceedings of the 13th International Workshop on Spoken Language Translation (IWSLT), Seattle, USA, December 8-9 2016.
|
| 189 |
+
|
| 190 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. CoRR, abs/1512.03385, 2015. URL http://arxiv.org/abs/1512.03385.
|
| 191 |
+
|
| 192 |
+
Yanping Huang, Youlong Cheng, Ankur Bapna, Orhan Firat, Dehao Chen, Mia Chen, HyoukJoong Lee, Jiquan Ngiam, Quoc V Le, Yonghui Wu, et al. Gpipe: Efficient training of giant neural networks using pipeline parallelism. In Advances in neural information processing systems, pp. 103–112, 2019.
|
| 193 |
+
|
| 194 |
+
Melvin Johnson, Mike Schuster, Quoc V. Le, Maxim Krikun, Yonghui Wu, Zhifeng Chen, Nikhil Thorat, Fernanda Viégas, Martin Wattenberg, Greg Corrado, Macduff Hughes, and Jeffrey Dean. Google’s multilingual neural machine translation system: Enabling zero-shot translation. Transactions of the Association for Computational Linguistics, 5:339–351, 2017. doi: 10.1162/tacl_a_00065. URL https://www.aclweb.org/anthology/Q17-1024.
|
| 195 |
+
|
| 196 |
+
Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In International Conference on Learning Representations, 2015.
|
| 197 |
+
|
| 198 |
+
Taku Kudo and John Richardson. SentencePiece: A simple and language independent subword tokenizer and detokenizer for neural text processing. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pp. 66–71, Brussels, Belgium, November 2018. Association for Computational Linguistics. doi: 10.18653/v1/D18-2012. URL https://www.aclweb.org/anthology/D18-2012.
|
| 199 |
+
|
| 200 |
+
Jason Lee, Kyunghyun Cho, and Thomas Hofmann. Fully character-level neural machine translation without explicit segmentation. Transactions of the Association for Computational Linguistics, 5:365–378, 2017. doi: 10.1162/tacl_a_00067. URL https://www.aclweb.org/ anthology/Q17-1026.
|
| 201 |
+
|
| 202 |
+
Dmitry Lepikhin, HyoukJoong Lee, Yuanzhong Xu, Dehao Chen, Orhan Firat, Yanping Huang, Maxim Krikun, Noam Shazeer, and Zhifeng Chen. Gshard: Scaling giant models with conditional computation and automatic sharding. arXiv preprint arXiv:2006.16668, 2020.
|
| 203 |
+
|
| 204 |
+
Hanxiao Liu, Karen Simonyan, and Yiming Yang. DARTS: Differentiable architecture search. In International Conference on Learning Representations, 2019. URL https://openreview. net/forum?id ${ . } = { }$ S1eYHoC5FX.
|
| 205 |
+
|
| 206 |
+
Tom M Mitchell. The need for biases in learning generalizations. Department of Computer Science, Laboratory for Computer Science Research . . . , 1980.
|
| 207 |
+
|
| 208 |
+
Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. Bleu: a method for automatic evaluation of machine translation. In Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics, pp. 311–318, Philadelphia, Pennsylvania, USA, July 2002. Association for Computational Linguistics. doi: 10.3115/1073083.1073135. URL https: //www.aclweb.org/anthology/P02-1040.
|
| 209 |
+
|
| 210 |
+
Emmanouil Antonios Platanios, Mrinmaya Sachan, Graham Neubig, and Tom Mitchell. Contextual parameter generation for universal neural machine translation. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 425–435, Brussels, Belgium, October-November 2018. Association for Computational Linguistics. doi: 10.18653/v1/ D18-1039. URL https://www.aclweb.org/anthology/D18-1039.
|
| 211 |
+
|
| 212 |
+
Matt Post. A call for clarity in reporting BLEU scores. In Proceedings of the Third Conference on Machine Translation: Research Papers, pp. 186–191, Belgium, Brussels, October 2018. Association for Computational Linguistics. URL https://www.aclweb.org/anthology/ W18-6319.
|
| 213 |
+
|
| 214 |
+
Sebastian Ruder, Joachim Bingel, Isabelle Augenstein, and Anders Søgaard. Latent multi-task architecture learning. Proceedings of the AAAI Conference on Artificial Intelligence, 33(01): 4822–4829, Jul. 2019. doi: 10.1609/aaai.v33i01.33014822. URL https://ojs.aaai.org/ index.php/AAAI/article/view/4410.
|
| 215 |
+
|
| 216 |
+
Devendra Sachan and Graham Neubig. Parameter sharing methods for multilingual self-attentional translation models. In Proceedings of the Third Conference on Machine Translation: Research Papers, pp. 261–271, Brussels, Belgium, October 2018. Association for Computational Linguistics. doi: 10.18653/v1/W18-6327. URL https://www.aclweb.org/anthology/ W18-6327.
|
| 217 |
+
|
| 218 |
+
Rico Sennrich, Barry Haddow, and Alexandra Birch. Neural machine translation of rare words with subword units. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1715–1725, Berlin, Germany, August 2016. Association for Computational Linguistics. doi: 10.18653/v1/P16-1162. URL https://www.aclweb. org/anthology/P16-1162.
|
| 219 |
+
|
| 220 |
+
Noam Shazeer, Azalia Mirhoseini, Krzysztof Maziarz, Andy Davis, Quoc Le, Geoffrey Hinton, and Jeff Dean. Outrageously large neural networks: The sparsely-gated mixture-of-experts layer. arXiv preprint arXiv:1701.06538, 2017.
|
| 221 |
+
|
| 222 |
+
Aditya Siddhant, Ankur Bapna, Yuan Cao, Orhan Firat, Mia Chen, Sneha Kudugunta, Naveen Arivazhagan, and Yonghui Wu. Leveraging monolingual data with self-supervision for multilingual neural machine translation. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pp. 2827–2835, Online, July 2020. Association for Computational Linguistics. doi: 10.18653/v1/2020.acl-main.252. URL https://www.aclweb.org/ anthology/2020.acl-main.252.
|
| 223 |
+
|
| 224 |
+
Sainbayar Sukhbaatar, Edouard Grave, Piotr Bojanowski, and Armand Joulin. Adaptive attention span in transformers. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pp. 331–335, Florence, Italy, July 2019. Association for Computational Linguistics. doi: 10.18653/v1/P19-1032. URL https://www.aclweb.org/anthology/ P19-1032.
|
| 225 |
+
|
| 226 |
+
Xu Tan, Jiale Chen, Di He, Yingce Xia, Tao QIN, and Tie-Yan Liu. Multilingual neural machine translation with language clustering. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pp. 963–973, Hong Kong, China, November 2019. Association for Computational Linguistics. doi: 10.18653/v1/D19-1089. URL https://www.aclweb.org/anthology/D19-1089.
|
| 227 |
+
|
| 228 |
+
Jörg Tiedemann. Parallel data, tools and interfaces in opus. In Nicoletta Calzolari (Conference Chair), Khalid Choukri, Thierry Declerck, Mehmet Ugur Dogan, Bente Maegaard, Joseph Mariani, Jan Odijk, and Stelios Piperidis (eds.), Proceedings of the Eight International Conference on Language Resources and Evaluation (LREC’12), Istanbul, Turkey, may 2012. European Language Resources Association (ELRA). ISBN 978-2-9517408-7-7.
|
| 229 |
+
|
| 230 |
+
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Ł ukasz Kaiser, and Illia Polosukhin. Attention is all you need. In I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett (eds.), Advances in Neural Information Processing Systems 30, pp. 5998–6008. Curran Associates, Inc., 2017. URL http://papers.nips.cc/paper/7181-attention-is-all-you-need.pdf.
|
| 231 |
+
|
| 232 |
+
Raúl Vázquez, Alessandro Raganato, Jörg Tiedemann, and Mathias Creutz. Multilingual NMT with a language-independent attention bridge. In Proceedings of the 4th Workshop on Representation Learning for NLP (RepL4NLP-2019), pp. 33–39, Florence, Italy, August 2019. Association for Computational Linguistics. doi: 10.18653/v1/W19-4305. URL https://www.aclweb. org/anthology/W19-4305.
|
| 233 |
+
|
| 234 |
+
Xinyi Wang, Yulia Tsvetkov, and Graham Neubig. Balancing training for multilingual neural machine translation. arXiv preprint arXiv:2004.06748, 2020a.
|
| 235 |
+
|
| 236 |
+
Yining Wang, Jiajun Zhang, Feifei Zhai, Jingfang Xu, and Chengqing Zong. Three strategies to improve one-to-many multilingual translation. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 2955–2960, Brussels, Belgium, OctoberNovember 2018. Association for Computational Linguistics. doi: 10.18653/v1/D18-1326. URL https://www.aclweb.org/anthology/D18-1326.
|
| 237 |
+
|
| 238 |
+
Yining Wang, Long Zhou, Jiajun Zhang, Feifei Zhai, Jingfang Xu, and Chengqing Zong. A compact and language-sensitive multilingual translation method. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pp. 1213–1223, Florence, Italy, July 2019. Association for Computational Linguistics. doi: 10.18653/v1/P19-1117. URL https://www.aclweb.org/anthology/P19-1117.
|
| 239 |
+
|
| 240 |
+
Zirui Wang, Zachary C. Lipton, and Yulia Tsvetkov. On negative interference in multilingual models: Findings and a meta-learning treatment. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 4438–4450, Online, November 2020b. Association for Computational Linguistics. doi: 10.18653/v1/2020.emnlp-main.359. URL https://www.aclweb.org/anthology/2020.emnlp-main.359.
|
| 241 |
+
|
| 242 |
+
Biao Zhang, Ivan Titov, and Rico Sennrich. On sparsifying encoder outputs in sequence-to-sequence models. arXiv preprint arXiv:2004.11854, 2020a.
|
| 243 |
+
|
| 244 |
+
Biao Zhang, Philip Williams, Ivan Titov, and Rico Sennrich. Improving massively multilingual neural machine translation and zero-shot translation. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pp. 1628–1639, Online, July 2020b. Association for Computational Linguistics. doi: 10.18653/v1/2020.acl-main.148. URL https://www. aclweb.org/anthology/2020.acl-main.148.
|
| 245 |
+
|
| 246 |
+
Changfeng Zhu, Heng Yu, Shanbo Cheng, and Weihua Luo. Language-aware interlingua for multilingual neural machine translation. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pp. 1650–1655, Online, July 2020. Association for Computational Linguistics. doi: 10.18653/v1/2020.acl-main.150. URL https://www.aclweb.org/ anthology/2020.acl-main.150.
|
| 247 |
+
|
| 248 |
+
Barret Zoph and Kevin Knight. Multi-source neural translation. In Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pp. 30–34, San Diego, California, June 2016. Association for Computational Linguistics. doi: 10.18653/v1/N16-1004. URL https://www.aclweb.org/ anthology/N16-1004.
|
| 249 |
+
|
| 250 |
+
# A DATASET DETAILS
|
| 251 |
+
|
| 252 |
+
Table 3: Statistics of train, dev and test data for WMT-14.
|
| 253 |
+
|
| 254 |
+
<table><tr><td rowspan="2">Language Pair</td><td colspan="3">Data Sources</td><td colspan="3"># Samples</td></tr><tr><td>Train</td><td>Dev</td><td>Test</td><td>Train</td><td>Dev</td><td>Test</td></tr><tr><td>En-Cs</td><td>WMT19</td><td>WMT17</td><td>WMT18</td><td>64336053</td><td>3005</td><td>2983</td></tr><tr><td>En-Fr</td><td>WMT15</td><td>WMT13</td><td>WMT14</td><td>40449146</td><td>3000</td><td>3003</td></tr><tr><td>En-Ru</td><td>WMT19</td><td>WMT18</td><td>WMT19</td><td>38492126</td><td>3000</td><td>2000</td></tr><tr><td>En-Zh</td><td>WMT19</td><td>WMT18</td><td>WMT19</td><td>25986436</td><td>3981</td><td>2000</td></tr><tr><td>En-Es</td><td>WMT13</td><td>WMT13</td><td>WMT13</td><td>15182374</td><td>3004</td><td>3000</td></tr><tr><td>En-Fi</td><td>WMT19</td><td>WMT18</td><td>WMT19</td><td>6587448</td><td>3000</td><td>1996</td></tr><tr><td>En-De</td><td>WMT14</td><td>WMT13</td><td>WMT14</td><td>4508785</td><td>3000</td><td>3003</td></tr><tr><td>En-Et</td><td>WMT18</td><td>WMT18</td><td>WMT18</td><td>2175873</td><td>2000</td><td>2000</td></tr><tr><td>En-Lv</td><td>WMT17</td><td>WMT17</td><td>WMT17</td><td>637599</td><td>2003</td><td>2001</td></tr><tr><td>En-Lt</td><td>WMT19</td><td>WMT19</td><td>WMT19</td><td>635146</td><td>2000</td><td>1000</td></tr><tr><td>En-Ro</td><td>WMT16</td><td>WMT16</td><td>WMT16</td><td>610320</td><td>1999</td><td>1999</td></tr><tr><td>En-Hi</td><td>WMT14</td><td>WMT14</td><td>WMT14</td><td>313748</td><td>520</td><td>2507</td></tr><tr><td>En-Tr</td><td>WMT18</td><td>WMT17</td><td>WMT18</td><td>205756</td><td>3007</td><td>3000</td></tr></table>
|
| 255 |
+
|
| 256 |
+

|
| 257 |
+
Figure 5: Training data distribution over language pairs for OPUS-100 and WMT-14.
|
| 258 |
+
Table 3 lists the statistics for WMT-14. We collect these datasets following Siddhant et al. (2020). Figure 5 shows the training data distribution. Training data in WMT-14 is more imbalanced across different language pairs compared to OPUS-100.
|
| 259 |
+
|
| 260 |
+
# B MORE RESULTS ON OPUS-100
|
| 261 |
+
|
| 262 |
+
Table 4: Selected sub-layers by Dedicated on OPUS-100. SAN/CAN: self-/cross-attention; FFN: feed-forward.
|
| 263 |
+
Figure 7 shows the translation performance of CLSR on each resource group when varying the budget $p$ . We find that LS modeling greatly improves translation on low-resource settings, although
|
| 264 |
+
|
| 265 |
+
<table><tr><td rowspan="3">Data Setting</td><td colspan="4">Encoder</td><td colspan="6">Decoder</td></tr><tr><td colspan="2">Bottom</td><td colspan="2">Top</td><td colspan="3">Bottom</td><td colspan="3">Top</td></tr><tr><td>SAN</td><td>FFN</td><td>SAN</td><td>FFN</td><td>SAN</td><td>CAN</td><td>FFN</td><td>SAN</td><td>CAN</td><td>FFN</td></tr><tr><td>Original, O2M</td><td>:</td><td>√</td><td></td><td>√</td><td>√</td><td></td><td>√</td><td>√</td><td>·</td><td>√</td></tr><tr><td>Original, M20</td><td></td><td>√</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>√</td></tr><tr><td>Oversample, O2M</td><td></td><td></td><td></td><td>√</td><td>√</td><td></td><td></td><td>√</td><td>√</td><td>√</td></tr><tr><td>Oversample, M20</td><td>√</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr></table>
|
| 266 |
+
|
| 267 |
+
Figure 6: Heatmap of LSScore distribution on OPUS-100 trained w/ and w/o oversampling. X-axis denotes language pairs ranked by training data size, and y-axis denotes encoder (enc) and decoder (dec) sub-layers with a format of “enc/dec.layer types.layer index”. Darker color indicates a larger LSScore.
|
| 268 |
+
|
| 269 |
+

|
| 270 |
+
|
| 271 |
+
(a) Oversample, M2O
|
| 272 |
+
|
| 273 |
+

|
| 274 |
+
|
| 275 |
+

|
| 276 |
+
|
| 277 |
+
(d) Original, M2O
|
| 278 |
+
|
| 279 |
+
this improvement is partially offset by the oversampling strategy. We observe that the success of oversampling is built on top of sacrificing quality on high-resource languages, where CLSR largely narrows or even closes the performance gap against the multilingual baseline trained on the original
|
| 280 |
+
|
| 281 |
+

|
| 282 |
+
Figure 7: Impact of the budget $p$ on average test BLEU for High/Med/Low-resource languages on OPUS-100.
|
| 283 |
+
|
| 284 |
+
data. In addition, we find no significant difference in term of the trade-off curve across resource groups compared to Figure 2.
|
| 285 |
+
|
| 286 |
+
Figure 6 shows the heatmaps for LSScore distribution. Regardless of translation directions (O2M or M2O) and data settings (Original or Oversample), there is no clear linguistic pattern behind these heatmaps. The learning of CLSR is not linguistic driven.
|
| 287 |
+
|
| 288 |
+
# C MORE RESULTS ON WMT-14
|
| 289 |
+
|
| 290 |
+
Table 5: Selected sub-layers by Dedicated on WMT-14.
|
| 291 |
+
|
| 292 |
+
<table><tr><td rowspan="3">Data Setting</td><td colspan="4">Encoder</td><td colspan="6">Decoder</td></tr><tr><td colspan="2">Bottom</td><td colspan="2">Top</td><td colspan="3">Bottom</td><td colspan="3">Top</td></tr><tr><td>SAN</td><td>FFN</td><td>SAN</td><td>FFN</td><td>SAN</td><td>CAN</td><td>FFN</td><td>SAN</td><td>CAN</td><td>FFN</td></tr><tr><td>Original, O2M Original, M20</td><td></td><td>·</td><td></td><td>√</td><td>·</td><td></td><td>√</td><td>·</td><td>√</td><td>√</td></tr><tr><td></td><td>√</td><td></td><td></td><td></td><td></td><td>√</td><td></td><td></td><td></td><td>√</td></tr><tr><td>Oversample, O2M</td><td></td><td>√</td><td></td><td>1</td><td>√</td><td>·</td><td></td><td>、</td><td>专</td><td>·</td></tr><tr><td>Oversample, M20</td><td>√</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr></table>
|
| 293 |
+
|
| 294 |
+
We show more results on WMT-14 here. Both heatmaps in Figure 9 and fine-grained trade-off curves in Figure 8 show a very similar story to the one on OPUS-100. In terms of LSScore distribution in Figure 10(d), we also have similar observation except that the cross-attention sub-layer in the decoder on M2O shows no clear LS preference.
|
| 295 |
+
|
| 296 |
+
These results suggest the high generalization of CLSR to different data settings.
|
| 297 |
+
|
| 298 |
+

|
| 299 |
+
Figure 8: Impact of the budget $p$ on average test BLEU for High/Med/Low-resource languages on WMT-14.
|
| 300 |
+
|
| 301 |
+

|
| 302 |
+
Figure 9: Heatmap of LSScore distribution on WMT-14.
|
| 303 |
+
|
| 304 |
+

|
| 305 |
+
Figure 10: LSScore of encoder and decoder sub-layers for O2M 10(a), 10(b) and M2O 10(c), 10(d) on WMT14.
|
| 306 |
+
|
| 307 |
+
Table 6: Number of parameters for each model on OPUS-100 and WMT-14.
|
| 308 |
+
|
| 309 |
+
<table><tr><td rowspan="2">Model</td><td colspan="2">OPUS-100</td><td colspan="2">WMT-14</td></tr><tr><td>02M</td><td>M20</td><td>02M</td><td>M20</td></tr><tr><td>Baseline</td><td colspan="2">99M</td><td colspan="2">106M</td></tr><tr><td>LS</td><td colspan="2">129M</td><td colspan="2">111M</td></tr><tr><td>CLSR-S</td><td colspan="2">102M</td><td colspan="2">109M</td></tr><tr><td>CLSR-L</td><td colspan="2">148M</td><td colspan="2">111M</td></tr><tr><td>CLSR*</td><td colspan="2">157M</td><td colspan="2">121M</td></tr><tr><td></td><td colspan="2">153M</td><td colspan="2"></td></tr><tr><td>Top-Bottom Dedicated (Original)</td><td>153M</td><td>154M</td><td>116M 117M</td><td>117M</td></tr><tr><td>Dedicated (Oversample)</td><td>154M</td><td>155M</td><td>117M</td><td>117M</td></tr></table>
|
| 310 |
+
|
| 311 |
+
# D MODEL PARAMETERS
|
| 312 |
+
|
| 313 |
+
We list model parameters in Table 6. Note that the source/target vocabulary for O2M is the same as the target/source vocabulary for M2O, thus models for O2M and M2O have the same number of trainable parameters except for Dedicated where the network structure differs.
|
| 314 |
+
|
| 315 |
+
# E ABLATION STUDY
|
| 316 |
+
|
| 317 |
+
We provide two variants of CLSR for ablation. The first one examines whether CLSR could induce an optimal budget automatically by eschewing the budget constraint in Eq. 6 (CLSR w/o $p$ ); the second one further replaces the hard gating network with a vanilla soft gating network (CLSR-Gate).
|
| 318 |
+
|
| 319 |
+
Table 7 summarizes the translation results. Without the regularization term, CLSR w/o $p$ yields an average gating value of 0.37/0.16 and 0.39/0.19 for O2M/M2O on OPUS-100 and WMT-14, respectively9, resonating with our finding that O2M requires more LS capacity compared to M2O. Compared to $\mathrm { C L S R ^ { \star } }$ , CLSR w/o $p$ produces more open gates, achieving comparable but overall worse performance in all data settings. This highlights the importance of the added regularization term, where without such regularization the model is likely spending extra learning cycles to automatically optimize for the budget as with CLSR w/o $p$ . This in return hints at the importance of optimization routines (learning) which we held constant in this study.
|
| 320 |
+
|
| 321 |
+
By contrast, switching to soft gating network, CLSR-Gate gains translation quality in most settings, although the quality gains are mostly less than 0.1 compared to $\mathrm { C L S R ^ { \star } }$ . Note that, CLSR-Gate relies on continuous gates, indicating a much higher flexibility in balancing parameter sharing patterns. However, we also notice that CLSR-Gate performs worse on M2O, even fails to beat the vanilla Baseline (All) on the oversampled WMT-14. Unlike CLSR-Gate, $\mathrm { C L S R ^ { \star } }$ uses hard binary gates which eases capacity analysis and achieves consistent improvements across data settings.
|
| 322 |
+
|
| 323 |
+
Table 7: Translation quality for O2M and M2O on OPUS-100 and WMT-14 with the original and oversampled training data. CLSR-Gate: CLSR with $g ( \mathbf { z } ^ { l } )$ a normal soft gating network; CLSR w/o $p$ : CLSR trained without budget constraint.
|
| 324 |
+
|
| 325 |
+
<table><tr><td rowspan="2">Data Setting</td><td rowspan="2">Model</td><td rowspan="2">#Param</td><td colspan="5">02M</td><td colspan="5">M20</td></tr><tr><td>High</td><td>Med</td><td>Low</td><td>All</td><td>WR</td><td>High</td><td>Med</td><td>Low</td><td>All</td><td>WR</td></tr><tr><td colspan="10">OPUS-100</td><td></td><td></td><td></td></tr><tr><td rowspan="4">Original</td><td>Baseline CLSR*</td><td>99M 157M</td><td>21.39 +1.45</td><td>22.36 +2.83</td><td>18.02 +6.40</td><td>20.93 +2.97</td><td>- 95.74</td><td>28.55 +0.65</td><td>30.10 +1.52</td><td>29.71 +3.79</td><td>29.27 +1.61</td><td>- 96.81</td></tr><tr><td>CLSR w/o p</td><td>157M</td><td>+1.37</td><td>+2.77</td><td>+6.28</td><td>+2.88</td><td>96.81</td><td>+0.53</td><td>+1.27</td><td>+3.17</td><td>+1.34</td><td>90.43</td></tr><tr><td>CLSR-Gate Baseline</td><td>157M</td><td>+1.55</td><td>+3.13</td><td>+6.21</td><td>+3.06</td><td>97.87</td><td>+0.74</td><td>+1.62</td><td>+2.87</td><td>+1.48</td><td>93.62</td></tr><tr><td>CLSR* CLSR w/o p</td><td>99M 157M 157M</td><td>19.95 +1.76 +1.72</td><td>24.22 +2.04 +1.92</td><td>25.27 +1.94 +2.06</td><td>22.41 +1.89 +1.86</td><td>- 93.62 97.87</td><td>26.98 +0.82 +0.73</td><td>30.69 +0.84 +0.56</td><td>34.26 -0.13 -1.10</td><td>29.71 +0.62 +0.27</td><td>- 76.60 71.28</td></tr><tr><td>WMT-14</td><td>CLSR-Gate</td><td>157M</td><td>+2.00</td><td>+2.24</td><td>+2.35</td><td>+2.15</td><td>97.87</td><td>+1.12</td><td>+1.28</td><td>-1.04</td><td>+0.68</td><td>79.79</td></tr><tr><td rowspan="4">Original</td><td>Baseline</td><td>106M</td><td>27.24</td><td>16.27</td><td>8.72</td><td>17.58</td><td></td><td>30.64</td><td>24.37</td><td>18.66</td><td>24.58</td><td></td></tr><tr><td>CLSR*</td><td>121M</td><td>+0.46</td><td>+1.46</td><td>+3.10</td><td>+1.71</td><td>100.0</td><td>+0.12</td><td>+0.73</td><td>+1.52</td><td>+0.80</td><td>84.62</td></tr><tr><td>CLSR w/o p CLSR-Gate</td><td>121M</td><td>+0.32</td><td>+1.23</td><td>+3.00</td><td>+1.57</td><td>100.0</td><td>-0.04</td><td>+0.56</td><td>+1.72</td><td>+0.78</td><td>76.92</td></tr><tr><td>Baseline</td><td>121M</td><td>+0.46</td><td>+1.43</td><td>+3.14</td><td>+1.72</td><td>100.0</td><td>+0.02</td><td>+0.73</td><td>+1.68</td><td>+0.83</td><td>84.62</td></tr><tr><td rowspan="4">Over Sample</td><td>CLSR*</td><td>106M 121M</td><td>26.10 +0.50</td><td>19.00 +0.67</td><td>15.52 +0.64</td><td>20.39</td><td>=</td><td>29.96 +0.26</td><td>26.33</td><td>23.56 +0.50</td><td>26.66 +0.36</td><td>-</td></tr><tr><td>CLSR w/o p</td><td></td><td></td><td></td><td></td><td>+0.59</td><td>100.0</td><td></td><td>+0.30</td><td></td><td></td><td>100.0</td></tr><tr><td>CLSR-Gate</td><td>121M</td><td>+0.48</td><td>+0.63</td><td>+0.66</td><td>+0.59</td><td>100.0</td><td>+0.02</td><td>+0.24</td><td>-0.12</td><td>+0.02</td><td>38.46</td></tr><tr><td></td><td>121M</td><td>+0.52</td><td>+0.77</td><td>+0.78</td><td>+0.68</td><td>100.0</td><td>+0.14</td><td>+0.30</td><td>-0.64</td><td>-0.12</td><td>61.54</td></tr></table>
|
parse/train/Wj4ODo0uyCF/Wj4ODo0uyCF_content_list.json
ADDED
|
@@ -0,0 +1,1736 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "SHARE OR NOT?LEARNING TO SCHEDULE LANGUAGE-SPECIFIC CA-PACITY FOR MULTILINGUAL TRANSLATION",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
174,
|
| 8 |
+
98,
|
| 9 |
+
821,
|
| 10 |
+
171
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Biao Zhang1∗, Ankur Bapna2, Rico Sennrich $^ { 3 , 1 }$ , Orhan Firat2 ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
194,
|
| 20 |
+
609,
|
| 21 |
+
209
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "1 School of Informatics, University of Edinburgh \n2 Google Research \n3 Department of Computational Linguistics, University of Zurich \nb.zhang@ed.ac.uk,ankurbpn@google.com,sennrich@cl.uzh.ch,orhanf@google.com ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
184,
|
| 30 |
+
210,
|
| 31 |
+
833,
|
| 32 |
+
266
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "ABSTRACT ",
|
| 39 |
+
"text_level": 1,
|
| 40 |
+
"bbox": [
|
| 41 |
+
454,
|
| 42 |
+
303,
|
| 43 |
+
544,
|
| 44 |
+
318
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "Using a mix of shared and language-specific (LS) parameters has shown promise in multilingual neural machine translation (MNMT), but the question of when and where LS capacity matters most is still under-studied. We offer such a study by proposing conditional language-specific routing (CLSR). CLSR employs hard binary gates conditioned on token representations to dynamically select LS or shared paths. By manipulating these gates, it can schedule LS capacity across sub-layers in MNMT subject to the guidance of translation signals and budget constraints. Moreover, CLSR can easily scale up to massively multilingual settings. Experiments with Transformer on OPUS-100 and WMT datasets show that: 1) MNMT is sensitive to both the amount and the position of LS modeling: distributing $10 \\% { - } 3 0 \\%$ LS computation to the top and/or bottom encoder/decoder layers delivers the best performance; and 2) one-to-many translation benefits more from CLSR compared to many-to-one translation, particularly with unbalanced training data. Our study further verifies the trade-off between the shared capacity and LS capacity for multilingual translation. We corroborate our analysis by confirming the soundness of our findings as foundation of our improved multilingual Transformers. Source code and models are available at https://github.com/bzhangGo/zero/tree/iclr2021_clsr. ",
|
| 51 |
+
"bbox": [
|
| 52 |
+
233,
|
| 53 |
+
334,
|
| 54 |
+
764,
|
| 55 |
+
584
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 INTRODUCTION ",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
176,
|
| 65 |
+
612,
|
| 66 |
+
334,
|
| 67 |
+
627
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Model architecture design injects inductive biases to neural network layouts, allowing a learning algorithm to favor certain representations over others, independent of the observed data (Mitchell, 1980). In multilingual neural machine translation (MNMT), where the learning objective is commonly cast as a multi-task learning problem (Firat et al., 2016a; Ha et al., 2016; Johnson et al., 2017), the inductive bias researchers usually study is deciding on which components of the neural network to share between tasks (languages), and which components to leave specific to the task or language. These components can be entire layer stacks, individual layers or even some sub-layers (Sachan & Neubig, 2018; Blackwood et al., 2018; Wang et al., 2019; Zhu et al., 2020). Noticeably, the search space of which parameters to share and at which granularity grows rapidly, as we make neural networks large or increase the number of tasks (languages). This rapid expansion of the search space prevents us from exhaustively exploring the choice of sharing patterns in MNMT. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
643,
|
| 77 |
+
825,
|
| 78 |
+
796
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "The incapability of full-space exploration motivates methods relying on heuristics (Sachan & Neubig, 2018), that lack flexibility when more languages are covered, or meta-learning (Platanios et al., 2018), that are often hard to scale. These limitations hinder their generalization to large-scale multilingual models, which is the very focus of our study. In large scale multilingual models, also known as massively multilingual models (Aharoni et al., 2019; Arivazhagan et al., 2019; Zhang et al., 2020b), hundreds of languages with varying amounts of training data, difficulty and linguistic properties are jointly trained together in a multi-task setup. While the joint training enables positive transfer across languages, it also introduces task-interference between dissimilar languages (Arivazhagan et al., 2019; Wang et al., 2020a;b) and a capacity bottleneck emerges due to the increased number of languages and data (Huang et al., 2019; Zhang et al., 2020b). ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
803,
|
| 88 |
+
825,
|
| 89 |
+
901
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "image",
|
| 95 |
+
"img_path": "images/48ef0216307472aad4ef89de009a63daf40bfa38ac633ea254cc9598b31449cc.jpg",
|
| 96 |
+
"image_caption": [
|
| 97 |
+
"Figure 1: The model architecture used for our experiments. We introduce a CLSR layer after every transformer sub-layer in the encoder and the decoder. The gating layer learns to route every input through either the LS projection layer, or a shared projection layer. We analyze the outputs of the gating layers to develop a MNMT architecture with LS projections. "
|
| 98 |
+
],
|
| 99 |
+
"image_footnote": [],
|
| 100 |
+
"bbox": [
|
| 101 |
+
214,
|
| 102 |
+
98,
|
| 103 |
+
784,
|
| 104 |
+
290
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 1
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "text",
|
| 110 |
+
"text": "",
|
| 111 |
+
"bbox": [
|
| 112 |
+
174,
|
| 113 |
+
361,
|
| 114 |
+
825,
|
| 115 |
+
402
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "In this paper we adopt an end-to-end data driven approach (conditional language-specific routing, or CLSR) which permits directly probing a large section of the search space. We let the network learn the sharing structure from the data itself, by learning to route between language-specific (LS) or shared pathways. These two routes determine the mode of operation for the network: when the LS branch is selected, the model is given access to a set of LS layers (implemented as simple projections per language) and when the shared branch is chosen, the computation is routed to a layer that is used by all languages. By guiding the (gating) decision process with token level activation information, the network flexibly learns to alternate between the two modes and naturally lends itself to a conditional computation approach for multilingual processing (Bengio et al., 2013; Davis & Arel, 2013; Bapna et al., 2020). The gate states are optimized towards maximizing translation quality, but regularized with a budget constraint to control the amount of LS capacity1. Reducing the available budget results in fewer gates routing through the LS paths, enforcing CLSR to identify the most crucial sub-layers which allows us to observe and study the importance of each sub-layer for multilingual processing. Our approach is visually depicted in Figure 1. ",
|
| 122 |
+
"bbox": [
|
| 123 |
+
174,
|
| 124 |
+
410,
|
| 125 |
+
825,
|
| 126 |
+
603
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "We verify our proposal on WMT and the massively multilingual OPUS-100 dataset, with models building on the Transformer architecture (Vaswani et al., 2017). We explore target-specific and source-specific modeling for one-to-many2 and many-to-one translation, respectively. To measure the degree of each sub-layer’s tendency to be language-specific, we propose LSScore metric. Our results show that CLSR successfully navigates the trade-offs in LS modeling, outperforming several strong baselines. Our main findings are summarized below: ",
|
| 133 |
+
"bbox": [
|
| 134 |
+
174,
|
| 135 |
+
611,
|
| 136 |
+
825,
|
| 137 |
+
694
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "• Both the amount and the position of LS layers matter for MNMT. The best performance is achieved by distributing $10 \\% { - } 3 0 \\%$ LS computation to the top and/or bottom encoder/decoder layers. Feed-forward sub-layers utilize more LS capacity compared to other sub-layers on one-tomany translation. One-to-many translation benefits more from CLSR (with target LS parameters) compared to many-to-one translation (with source LS parameters), particularly when the training data is imbalanced. \n• The induced sharing pattern learned by CLSR is highly similar across languages. ",
|
| 144 |
+
"bbox": [
|
| 145 |
+
215,
|
| 146 |
+
707,
|
| 147 |
+
825,
|
| 148 |
+
848
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "• We can use the learned patterns to hard-code better parameter sharing strategies for multilingual Transformers. ",
|
| 155 |
+
"bbox": [
|
| 156 |
+
209,
|
| 157 |
+
103,
|
| 158 |
+
821,
|
| 159 |
+
132
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 2
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "text",
|
| 165 |
+
"text": "2 RELATED WORK ",
|
| 166 |
+
"text_level": 1,
|
| 167 |
+
"bbox": [
|
| 168 |
+
176,
|
| 169 |
+
154,
|
| 170 |
+
344,
|
| 171 |
+
171
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 2
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "Our work closely relates to language-specific (LS) modeling for multilingual NMT and conditional computation for sequential data which we will recap both here. Early research on MNMT focused on improving shared capacity for separate bilingual models to enhance cross-lingual transfer. These efforts included sharing encoders for one-to-many translation (Dong et al., 2015), sharing decoders for many-to-one translation (Zoph & Knight, 2016; Lee et al., 2017) and sharing sub-layers (attention) for many-to-many translation (Firat et al., 2016a;b). These studies corroborated the feasibility of accommodating multiple languages with shared NMT sub-components, motivating researchers to explore universal MNMT. Ha et al. (2016) and Johnson et al. (2017) proposed such an implementation that performs multilingual translation with a single monolithic NMT model where the entire network is shared across languages, thanks to a target language token informing the model which language to translate into. Although this paradigm shows great scalability (Aharoni et al., 2019), the language token alone affords little flexibility in handling language diversity with a rigid share-all layout. Follow-up studies thus resort to LS modeling in an attempt to seek a better trade-off between sharing and not sharing. Methods in this category involve specializing neural attentions (Blackwood et al., 2018; Sachan & Neubig, 2018; Wang et al., 2019), broadening encoder outputs and normalizations (Zhang et al., 2020b), decoupling multilingual encoders and/or decoders (Vázquez et al., 2019; Escolano et al., 2020), using a fixed mix of LS and shared parameters (Wang et al., 2018), inserting lightweight adapters (Bapna & Firat, 2019) and separately modeling languages for different clusters (Tan et al., 2019), to name a few. Nevertheless, these methods heavily depend on heuristics, providing little evidence about how to optimally distribute LS capacity across the model. ",
|
| 178 |
+
"bbox": [
|
| 179 |
+
174,
|
| 180 |
+
186,
|
| 181 |
+
825,
|
| 182 |
+
465
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 2
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "text",
|
| 188 |
+
"text": "By contrast, our proposed CLSR forces the model to learn LS behaviour. It can be treated as a simplified differentiable neural architecture search (NAS) model (Liu et al., 2019) with a search space defined by the presence/absence of LS projections after every transformer sub-layer. However, in contrast with NAS, we utilize conditional computation (Bengio et al., 2013) to make the choice of executing the shared or LS path conditional on the input representations. This allows us to compare and contrast the choice of LS vs shared paths on different inputs and languages. Conditional computation has previously been successfully applied to adapt the amount of computation to the input in recurrent models (Graves, 2016) and transformers (Dehghani et al., 2019; Elbayad et al., 2020), or to significantly scale up model capacity by utilizing sparsely-gated Mixture-of-Experts layers (Shazeer et al., 2017; Lepikhin et al., 2020). Zhang et al. (2020a) applied conditional computation to sparsify encoder outputs in sequence-to-sequence models in order to reduce attention costs, while Bapna et al. (2020) introduced conditional execution of Transformer sub-layers to control the amount of computation expended by the model at inference. Sukhbaatar et al. (2019) learn parameters that limit the attention spans, in order to make the attention operation more efficient, while Fan et al. (2020) utilize structured dropout to prune transformer layers at inference. Ruder et al. (2019) propose the sluice network that learns the inter-task (shared) sub-spaces on top of task-specific models. By contrast, CLSR starts with a totally shared model, and learns how to inject task-specific projections into it, which scales more easily to massively multilingual settings. Different from previous studies, we explore conditional computation as an analysis tool to understand the ideal arrangement of LS capacity for MNMT. Utilizing conditional computation to search for better LS sharing patterns in multilingual translation, to the best of our knowledge, has never been investigated before. ",
|
| 189 |
+
"bbox": [
|
| 190 |
+
174,
|
| 191 |
+
472,
|
| 192 |
+
825,
|
| 193 |
+
762
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 2
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "text",
|
| 199 |
+
"text": "3 BACKGROUND: MNMT ",
|
| 200 |
+
"text_level": 1,
|
| 201 |
+
"bbox": [
|
| 202 |
+
176,
|
| 203 |
+
785,
|
| 204 |
+
401,
|
| 205 |
+
801
|
| 206 |
+
],
|
| 207 |
+
"page_idx": 2
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"type": "text",
|
| 211 |
+
"text": "Given a source sentence $X ^ { \\prime } = \\{ x _ { 1 } , x _ { 2 } , \\ldots , x _ { I } \\}$ and its target translation $Y = \\{ y _ { 1 } , y _ { 2 } , \\dots , y _ { J } \\}$ , we follow Johnson et al. (2017) to reuse standard bilingual NMT models for multilingual translation by altering the source input with a language token lang, i.e. changing $X ^ { \\prime }$ to $\\begin{array} { r l } { X } & { { } = } \\end{array}$ $\\{ l a n g , x _ { 1 } , x _ { 2 } , \\ldots , x _ { I } \\}$ . Note that lang denotes the target language in one-to-many translation but source language in many-to-one translation. ",
|
| 212 |
+
"bbox": [
|
| 213 |
+
174,
|
| 214 |
+
818,
|
| 215 |
+
823,
|
| 216 |
+
888
|
| 217 |
+
],
|
| 218 |
+
"page_idx": 2
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"type": "text",
|
| 222 |
+
"text": "We model translation from $X$ to $Y$ with Transformer (Vaswani et al., 2017). Transformer relies on the following residual-normalization structure (He et al., 2015; Ba et al., 2016) to smooth information flow and avoid gradient vanishing and explosion: ",
|
| 223 |
+
"bbox": [
|
| 224 |
+
173,
|
| 225 |
+
895,
|
| 226 |
+
821,
|
| 227 |
+
924
|
| 228 |
+
],
|
| 229 |
+
"page_idx": 2
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"type": "text",
|
| 233 |
+
"text": "",
|
| 234 |
+
"bbox": [
|
| 235 |
+
173,
|
| 236 |
+
103,
|
| 237 |
+
526,
|
| 238 |
+
118
|
| 239 |
+
],
|
| 240 |
+
"page_idx": 3
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"type": "equation",
|
| 244 |
+
"img_path": "images/bdc3ef37dba7d09f815e1586f97f8f551ba350fc209ab9bb0a0f22f9509b8b79.jpg",
|
| 245 |
+
"text": "$$\n\\begin{array} { r } { { \\bf z } ^ { l + 1 } = \\mathrm { L N } \\left( { \\bf z } ^ { l } + f \\left( { \\bf z } ^ { l } \\right) \\right) , } \\end{array}\n$$",
|
| 246 |
+
"text_format": "latex",
|
| 247 |
+
"bbox": [
|
| 248 |
+
410,
|
| 249 |
+
122,
|
| 250 |
+
586,
|
| 251 |
+
142
|
| 252 |
+
],
|
| 253 |
+
"page_idx": 3
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"type": "text",
|
| 257 |
+
"text": "where $l$ denotes layer depth and $\\mathrm { L N } ( \\cdot )$ is layer normalization (Ba et al., 2016). Function $f ( \\cdot )$ represents the basic building block in Transformer, such as attention network or feed-forward network. The encoder in Transformer is a stack of $L$ identical layers, with each layer involving a self-attention sub-layer (SAN) and a feed-forward sub-layer (FFN). The decoder uses a similar structure except for an extra cross-attention sub-layer (CAN) inserted in-between the above two sub-layers. ",
|
| 258 |
+
"bbox": [
|
| 259 |
+
173,
|
| 260 |
+
145,
|
| 261 |
+
825,
|
| 262 |
+
217
|
| 263 |
+
],
|
| 264 |
+
"page_idx": 3
|
| 265 |
+
},
|
| 266 |
+
{
|
| 267 |
+
"type": "text",
|
| 268 |
+
"text": "4 CONDITIONAL LANGUAGE-SPECIFIC ROUTING (CLSR) ",
|
| 269 |
+
"text_level": 1,
|
| 270 |
+
"bbox": [
|
| 271 |
+
176,
|
| 272 |
+
234,
|
| 273 |
+
668,
|
| 274 |
+
252
|
| 275 |
+
],
|
| 276 |
+
"page_idx": 3
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"type": "text",
|
| 280 |
+
"text": "The success of MNMT comes at the cost of expressivity and model’s ability to capture languagespecific characteristics. It has been empirically shown that the language signals from language indicator tokens alone are not sufficient (Arivazhagan et al., 2019), making architectures dedicated to LS modeling a necessity (Blackwood et al., 2018; Sachan & Neubig, 2018; Zhang et al., 2020b). Nevertheless, the question when and where LS modeling matters most in MNMT still remains to be answered. To this end, we propose conditional language-specific routing (CLSR) which specializes $f ( \\cdot )$ and changes the formulation in Equation 1 as follows: ",
|
| 281 |
+
"bbox": [
|
| 282 |
+
173,
|
| 283 |
+
265,
|
| 284 |
+
825,
|
| 285 |
+
364
|
| 286 |
+
],
|
| 287 |
+
"page_idx": 3
|
| 288 |
+
},
|
| 289 |
+
{
|
| 290 |
+
"type": "equation",
|
| 291 |
+
"img_path": "images/597857e88ab3eb4800b8b7d58277940f9f944229f1c43a762c29dce78cb5a761.jpg",
|
| 292 |
+
"text": "$$\n\\begin{array} { r } { \\mathbf { z } ^ { l + 1 } = \\mathrm { L N } \\left( \\mathbf { z } ^ { l } + \\mathrm { C L S R } \\left( f \\left( \\mathbf { z } ^ { l } \\right) \\right) \\right) . } \\end{array}\n$$",
|
| 293 |
+
"text_format": "latex",
|
| 294 |
+
"bbox": [
|
| 295 |
+
380,
|
| 296 |
+
367,
|
| 297 |
+
617,
|
| 298 |
+
388
|
| 299 |
+
],
|
| 300 |
+
"page_idx": 3
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"type": "text",
|
| 304 |
+
"text": "CLSR learns a hard binary (scalar-valued) gate $g ( \\cdot )$ for each input token based on its hidden representation $\\mathbf { z } ^ { l } \\in \\mathbb { R } ^ { d }$ . These gates endow each sub-layer in Transformer with the capability of routing information selectively through either LS path $\\mathbf { h } ^ { l a \\bar { n } g }$ or shared path $\\mathbf { h } ^ { s h a r e d }$ : ",
|
| 305 |
+
"bbox": [
|
| 306 |
+
174,
|
| 307 |
+
392,
|
| 308 |
+
826,
|
| 309 |
+
434
|
| 310 |
+
],
|
| 311 |
+
"page_idx": 3
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"type": "equation",
|
| 315 |
+
"img_path": "images/15f41a991c566c847777bf627ed4c28b999e2c999f5ce9483d276996df453790.jpg",
|
| 316 |
+
"text": "$$\n\\begin{array} { r l r } & { } & { \\mathrm { C L S R } \\left( f \\left( \\mathbf { z } ^ { l } \\right) \\right) = g ( \\mathbf { z } ^ { l } ) \\mathbf { h } ^ { l a n g } + ( 1 - g ( \\mathbf { z } ^ { l } ) ) \\mathbf { h } ^ { s h a r e d } , } \\\\ & { } & { \\mathrm { w i t h } \\quad \\mathbf { h } ^ { l a n g } = f \\left( \\mathbf { z } ^ { l } \\right) \\mathbf { W } ^ { l a n g } , \\quad \\mathbf { h } ^ { s h a r e d } = f \\left( \\mathbf { z } ^ { l } \\right) \\mathbf { W } ^ { s h a r e d } , } \\end{array}\n$$",
|
| 317 |
+
"text_format": "latex",
|
| 318 |
+
"bbox": [
|
| 319 |
+
295,
|
| 320 |
+
438,
|
| 321 |
+
700,
|
| 322 |
+
481
|
| 323 |
+
],
|
| 324 |
+
"page_idx": 3
|
| 325 |
+
},
|
| 326 |
+
{
|
| 327 |
+
"type": "text",
|
| 328 |
+
"text": "where ${ \\bf W } ^ { s h a r e d }$ is a weight matrix shared across languages, while parameter ${ \\bf W } ^ { l a n g }$ is only used for modeling language lang which endows NMT with source or target LS modeling capacity.3 Intuitively, a closed gate, corresponding to shared capacity, encourages maximal cross-lingual information transfer; an open gate, corresponding to LS capacity instead, improves language awareness for translation albeit it blocks knowledge transfer. CLSR balances between the two modes as controlled by the gates. ",
|
| 329 |
+
"bbox": [
|
| 330 |
+
173,
|
| 331 |
+
483,
|
| 332 |
+
825,
|
| 333 |
+
568
|
| 334 |
+
],
|
| 335 |
+
"page_idx": 3
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"type": "text",
|
| 339 |
+
"text": "Following Bapna et al. (2020), we parameterize the gate $g ( \\cdot )$ with a two-layer feed-forward network $G ( \\cdot )$ , and inject zero-mean Gaussian noise during training to discretize it (Chiu & Raffel, 2018) : ",
|
| 340 |
+
"bbox": [
|
| 341 |
+
174,
|
| 342 |
+
574,
|
| 343 |
+
823,
|
| 344 |
+
603
|
| 345 |
+
],
|
| 346 |
+
"page_idx": 3
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"type": "equation",
|
| 350 |
+
"img_path": "images/44ca2bb360ba512d0f531f9e04d4813a8d91d17914ee83e13c1ff4330a3196b1.jpg",
|
| 351 |
+
"text": "$$\ng ( \\mathbf { z } ^ { l } ) = \\sigma \\left( G ( \\mathbf { z } ^ { l } ) + \\alpha ( t ) \\mathcal { N } ( 0 , 1 ) \\right) , \\quad G ( \\mathbf { z } ^ { l } ) = \\mathrm { R e l u } \\left( \\mathbf { z } ^ { l } \\mathbf { W } _ { 1 } + \\mathbf { b } \\right) \\mathbf { w } _ { 2 } ,\n$$",
|
| 352 |
+
"text_format": "latex",
|
| 353 |
+
"bbox": [
|
| 354 |
+
266,
|
| 355 |
+
607,
|
| 356 |
+
728,
|
| 357 |
+
627
|
| 358 |
+
],
|
| 359 |
+
"page_idx": 3
|
| 360 |
+
},
|
| 361 |
+
{
|
| 362 |
+
"type": "text",
|
| 363 |
+
"text": "where $\\sigma ( \\cdot )$ is the logistic-sigmoid function, $d _ { g }$ is the gating feed-forward hidden dimension, and $\\mathbf { W } _ { 1 } \\in \\mathbb { R } ^ { d \\times d _ { g } }$ , $\\mathbf { w } _ { 2 } \\in \\mathbb { R } ^ { d _ { g } }$ are trainable parameters. $\\alpha$ is linearly increased along with training steps $t$ . In this way, the gating parameters can be optimized with accurate gradients when $\\alpha$ is small at the beginning so as to measure the degree to which each position in each sub-layer benefits from LS modeling. As training progresses, $\\alpha$ grows larger, forcing the gating network to emit hard outputs. At inference time, we discretize the gate based on a simple decision rule: $g ( \\mathbf { z } ^ { l } ) = \\delta \\left( G ( \\mathbf { z } ^ { l } ) \\dot { \\geq } 0 \\right)$ , where $\\delta ( \\cdot )$ is a Dirac measure. ",
|
| 364 |
+
"bbox": [
|
| 365 |
+
173,
|
| 366 |
+
631,
|
| 367 |
+
825,
|
| 368 |
+
732
|
| 369 |
+
],
|
| 370 |
+
"page_idx": 3
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"type": "text",
|
| 374 |
+
"text": "We train the gates based on the standard maximum likelihood objective, along with an additional budget regularization term that enables control over the amount of LS capacity used for translation. Let the set of all CLSR layers in the encoder be $\\mathcal { M } _ { e n c }$ and the decoder be $\\mathcal { M } _ { d e c }$ . Then the amount of LS computation utilized by a sentence pair $( X , Y )$ is given by $\\begin{array} { r } { G _ { ( X , Y ) } = \\sum _ { x \\in X } \\sum _ { m \\in \\mathcal { M } _ { e n c } } g _ { m } ( x ) + } \\end{array}$ $\\begin{array} { r } { \\sum _ { y \\in Y } \\sum _ { m \\in \\mathcal { M } _ { d e c } } g _ { m } ( y ) } \\end{array}$ . Given a budget constraint $p \\in [ 0 , 1 ]$ and a batch of sentence pairs, $\\boldsymbol { B }$ , the training loss function of CLSR is formulated below: ",
|
| 375 |
+
"bbox": [
|
| 376 |
+
173,
|
| 377 |
+
738,
|
| 378 |
+
825,
|
| 379 |
+
827
|
| 380 |
+
],
|
| 381 |
+
"page_idx": 3
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"type": "equation",
|
| 385 |
+
"img_path": "images/dd4d00f06c9666402a9c78441b7ea236e97dce13dc72acd7cfcb0a6026e793e5.jpg",
|
| 386 |
+
"text": "$$\n\\mathcal { L } \\left( \\mathcal { B } \\right) = \\sum _ { \\left( X , Y \\right) \\in \\mathcal { B } } \\mathrm { M L E } \\left( X , Y \\right) + \\left| \\frac { \\sum _ { \\left( X , Y \\right) \\in \\mathcal { B } } G _ { \\left( X , Y \\right) } } { \\sum _ { \\left( X , Y \\right) \\in \\mathcal { B } } \\left( \\left| X \\right| \\left| \\mathcal { M } _ { e n c } \\right| + \\left| Y \\right| \\left| \\mathcal { M } _ { d e c } \\right| \\right) } - p \\right| ,\n$$",
|
| 387 |
+
"text_format": "latex",
|
| 388 |
+
"bbox": [
|
| 389 |
+
238,
|
| 390 |
+
829,
|
| 391 |
+
758,
|
| 392 |
+
875
|
| 393 |
+
],
|
| 394 |
+
"page_idx": 3
|
| 395 |
+
},
|
| 396 |
+
{
|
| 397 |
+
"type": "text",
|
| 398 |
+
"text": "Intuitively, the budget constraint tries to regulate the amount of LS computation available to all tokens in the batch as a fraction $p$ of the total LS computation in the model. Given that we make a binary decision for every input for every CLSR layer, this corresponds to a search space of $\\mathcal { O } ( 2 ^ { | \\boldsymbol { X } | | \\mathcal { M } _ { e n c } | + | \\boldsymbol { Y } | | \\mathcal { M } _ { d e c } | } )$ . This gating space not only grows with respect to the model depth and sub-layer types, but also is highly input dependent. This dependency makes it difficult to search the entire space using heuristic methods (Blackwood et al., 2018). ",
|
| 399 |
+
"bbox": [
|
| 400 |
+
174,
|
| 401 |
+
103,
|
| 402 |
+
825,
|
| 403 |
+
189
|
| 404 |
+
],
|
| 405 |
+
"page_idx": 4
|
| 406 |
+
},
|
| 407 |
+
{
|
| 408 |
+
"type": "text",
|
| 409 |
+
"text": "The constraint in Equation 6 is imposed upon the aggregated gates. As a consequence, the model can learn to trade-off LS capacity for certain layers and inputs for others. Decreasing the budget encourages gate closure, such that the LS path is chosen only in the critical sub-layers. Thus, a properly learned gating function reveals the activations of LS paths and helps gain insights into the model behavior. ",
|
| 410 |
+
"bbox": [
|
| 411 |
+
174,
|
| 412 |
+
195,
|
| 413 |
+
825,
|
| 414 |
+
265
|
| 415 |
+
],
|
| 416 |
+
"page_idx": 4
|
| 417 |
+
},
|
| 418 |
+
{
|
| 419 |
+
"type": "text",
|
| 420 |
+
"text": "5 EXPERIMENTS ",
|
| 421 |
+
"text_level": 1,
|
| 422 |
+
"bbox": [
|
| 423 |
+
176,
|
| 424 |
+
286,
|
| 425 |
+
326,
|
| 426 |
+
301
|
| 427 |
+
],
|
| 428 |
+
"page_idx": 4
|
| 429 |
+
},
|
| 430 |
+
{
|
| 431 |
+
"type": "text",
|
| 432 |
+
"text": "Data and Evaluation We report results on two benchmarks: OPUS-100 (Zhang et al., 2020b) and WMT-14 (Barrault et al., 2019). OPUS-100 is a massively multilingual dataset collected from OPUS (Tiedemann, 2012), including 100 languages in total with 99 languages to-and-from English.4 It consists of 55M training sentence pairs with up to 1M samples per language pair, and covers 94 dev/test language pairs, each with 2000 samples at most. WMT-14 is another multilingual Englishcentric dataset composed of 13 widely-used WMT benchmarks following Siddhant et al. (2020) but excluding Kazakh and Gujarati due to their poor parallel resource. Compared to OPUS-100, WMT14 involves much fewer languages but its training data distribution is highly skewed across diverse language pairs, ranging from 0.2M (En-Tr) to 60M (En-Cs) training examples, thus posing severe challenges. We show more details about the train, dev and test data for WMT-14 in Appendix A. ",
|
| 433 |
+
"bbox": [
|
| 434 |
+
173,
|
| 435 |
+
310,
|
| 436 |
+
825,
|
| 437 |
+
450
|
| 438 |
+
],
|
| 439 |
+
"page_idx": 4
|
| 440 |
+
},
|
| 441 |
+
{
|
| 442 |
+
"type": "text",
|
| 443 |
+
"text": "We apply byte pair encoding (BPE) algorithm (Sennrich et al., 2016) using SentencePiece (Kudo & Richardson, 2018) to preprocess multilingual sentences with a vocabulary size of 64K. We use BLEU (Papineni et al., 2002), offered by SacreBLEU (Post, 2018)5, for translation evaluation. Following Zhang et al. (2020b), we split the 94 test language pairs in OPUS-100 into three groups based on their training data size to ease model evaluation: high resource $( { > } 0 . 9 \\mathrm { M }$ , 45 languages), low resource $\\mathrm { \\check { \\ z o } } . 1 \\mathrm { { M } }$ , 26 languages) and medium resource (others, 28 languages). Similarly, we split the 13 test language pairs in WMT-14 as follows: High $\\mathrm { ^ { \\circ } } > 1 0 \\mathrm { M } ,$ 5), Low $( < 1 \\mathbf { M } , 5 )$ and Med (others, 3). ",
|
| 444 |
+
"bbox": [
|
| 445 |
+
174,
|
| 446 |
+
457,
|
| 447 |
+
825,
|
| 448 |
+
569
|
| 449 |
+
],
|
| 450 |
+
"page_idx": 4
|
| 451 |
+
},
|
| 452 |
+
{
|
| 453 |
+
"type": "text",
|
| 454 |
+
"text": "We perform experiments for one-to-many translation (O2M) and many-to-one translation (M2O). In addition to using the original training data as is, we also report results with a temperature-based strategy to balance the training data distribution by over-sampling low-resource languages with a temperature of $T = 5$ (Arivazhagan et al., 2019). ",
|
| 455 |
+
"bbox": [
|
| 456 |
+
174,
|
| 457 |
+
575,
|
| 458 |
+
825,
|
| 459 |
+
632
|
| 460 |
+
],
|
| 461 |
+
"page_idx": 4
|
| 462 |
+
},
|
| 463 |
+
{
|
| 464 |
+
"type": "text",
|
| 465 |
+
"text": "We report average BLEU, and also show win ratio (Zhang et al., 2020b, WR), informing the proportion of language pairs on which our method beats our baseline. To evaluate how often each sub-layer is LS, we introduce a new metric, LSScore, formulated as follows: ",
|
| 466 |
+
"bbox": [
|
| 467 |
+
174,
|
| 468 |
+
638,
|
| 469 |
+
823,
|
| 470 |
+
681
|
| 471 |
+
],
|
| 472 |
+
"page_idx": 4
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"type": "equation",
|
| 476 |
+
"img_path": "images/1538bc11921de420707e5bc9a64f514e849ee4d59af32f10e2d26765d2d4b716.jpg",
|
| 477 |
+
"text": "$$\n\\mathrm { L S S c o r e } _ { f } ( l , p ) = \\frac { 1 } { | \\mathcal { P } | } \\sum _ { p \\in \\mathcal { P } } \\tilde { g } _ { l , f } ^ { p } - p ,\n$$",
|
| 478 |
+
"text_format": "latex",
|
| 479 |
+
"bbox": [
|
| 480 |
+
379,
|
| 481 |
+
686,
|
| 482 |
+
617,
|
| 483 |
+
726
|
| 484 |
+
],
|
| 485 |
+
"page_idx": 4
|
| 486 |
+
},
|
| 487 |
+
{
|
| 488 |
+
"type": "text",
|
| 489 |
+
"text": "where $\\tilde { g } _ { l , f } ^ { p }$ denotes the gating value averaged over all test tokens for the $l$ -th sub-layer $f ( \\cdot )$ trained under a budget of $p$ . Recall that we pose the budget constraint to the summed gate value instead of each individual gate, as in Equation 6. This gives CLSR the freedom to close more gates in some language-insensitive sub-layers (i.e. $\\tilde { g } _ { l , f } ^ { p } < p )$ ) while preserve more for the others (i.e. $\\tilde { g } _ { l , f } ^ { p } > p \\}$ ). A larger LSScore, $> 0$ in particular, indicates that this sub-layer utilizes more LS modeling. ",
|
| 490 |
+
"bbox": [
|
| 491 |
+
174,
|
| 492 |
+
732,
|
| 493 |
+
825,
|
| 494 |
+
806
|
| 495 |
+
],
|
| 496 |
+
"page_idx": 4
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"type": "text",
|
| 500 |
+
"text": "Model Settings We adapt Transformer base for our experiments: $L = 6$ , $d = 5 1 2$ , 8 attention heads with FFN middle size of 2048. Dropout of rate 0.1 is applied to residual connections and attention weights. We optimize parameters using Adam (Kingma & Ba, 2015) $( \\beta _ { 1 } = 0 . 9 , \\beta _ { 2 } = 0 . 9 8 )$ with label smoothing of 0.1. Learning rate is scheduled according to the inverse square root of running steps with a warmup step of 4K (Vaswani et al., 2017). We limit training sequence length to 100, and train all models with a batch size of 1920. We set the maximum running step to 500K and 600K for OPUS-100 and WMT-14, respectively. We perform beam search decoding with beam size of 4 and length penalty of 0.6. We average the last 5 checkpoints for evaluation. For CLSR, we set $d _ { g }$ to 128, and linearly increase $\\alpha$ from 0 to 5 along training steps (Bapna et al., 2020).6 We vary the budget $p$ in the range of $\\mathcal { P } = \\{ 0 . 0 , 0 . 1 , 0 . 3 , 0 . 5 , 0 . 7 , 0 . 9 , 1 . 0 \\}$ to study its impact on model performance. ",
|
| 501 |
+
"bbox": [
|
| 502 |
+
174,
|
| 503 |
+
815,
|
| 504 |
+
823,
|
| 505 |
+
886
|
| 506 |
+
],
|
| 507 |
+
"page_idx": 4
|
| 508 |
+
},
|
| 509 |
+
{
|
| 510 |
+
"type": "text",
|
| 511 |
+
"text": "",
|
| 512 |
+
"bbox": [
|
| 513 |
+
174,
|
| 514 |
+
103,
|
| 515 |
+
825,
|
| 516 |
+
188
|
| 517 |
+
],
|
| 518 |
+
"page_idx": 5
|
| 519 |
+
},
|
| 520 |
+
{
|
| 521 |
+
"type": "text",
|
| 522 |
+
"text": "5.1 RESULTS ON OPUS-100 ",
|
| 523 |
+
"text_level": 1,
|
| 524 |
+
"bbox": [
|
| 525 |
+
174,
|
| 526 |
+
205,
|
| 527 |
+
385,
|
| 528 |
+
219
|
| 529 |
+
],
|
| 530 |
+
"page_idx": 5
|
| 531 |
+
},
|
| 532 |
+
{
|
| 533 |
+
"type": "image",
|
| 534 |
+
"img_path": "images/d2a4a0cfc5c5e4d57097054b4a1cf00373ea5cd2e06a37c43c6992dfe4d9f2ad.jpg",
|
| 535 |
+
"image_caption": [
|
| 536 |
+
"Figure 2: Average BLEU 2(a),2(b) and win ratio 2(c),2(d) over all test language pairs for O2M and M2O on OPUS-100 when varying the budget $p$ . Baseline: multilingual baseline on the original training data; Oversample: oversampling low-resource data with a temperature of 5. "
|
| 537 |
+
],
|
| 538 |
+
"image_footnote": [],
|
| 539 |
+
"bbox": [
|
| 540 |
+
179,
|
| 541 |
+
244,
|
| 542 |
+
828,
|
| 543 |
+
373
|
| 544 |
+
],
|
| 545 |
+
"page_idx": 5
|
| 546 |
+
},
|
| 547 |
+
{
|
| 548 |
+
"type": "text",
|
| 549 |
+
"text": "On the trade-off between shared and language-specific capacity. Using more LS modeling fails to deliver increasingly better translation performance, as shown in Figure 2(a) and 2(b) when $p$ approaches 1.0. At the point of full LS capacity for Transformer, i.e. $p = 1 . 0$ , CLSR even underperforms its corresponding multilingual baseline by a large margin of 1.0-2.0 BLEU on M2O, Figure 2(b). Similarly, sharing all model parameters across language pairs, $p 0 . 0$ , also yields suboptimal performance with either original or oversampled training data. CLSR achieves its best translation quality at $p = 0 . 3$ $( + 2 . 0 / 3 . 0 $ BLEU) and $p = 0 . 1$ $\\left( + 0 . 5 / 1 . 5 \\right)$ BLEU) for O2M and M2O, respectively. The win ratio curves in Figure 2(c) and 2(d) further confirm the robustness of these quality improvements, where properly scheduling LS capacity outperforms the baselines on $> \\sim \\bar { 8 0 \\% }$ language pairs. These results clearly show the trade-off between these two kinds of capacity. ",
|
| 550 |
+
"bbox": [
|
| 551 |
+
173,
|
| 552 |
+
440,
|
| 553 |
+
825,
|
| 554 |
+
579
|
| 555 |
+
],
|
| 556 |
+
"page_idx": 5
|
| 557 |
+
},
|
| 558 |
+
{
|
| 559 |
+
"type": "text",
|
| 560 |
+
"text": "When does language-specific capacity matter for multilingual translation? Results in Figure 2 show that O2M favors more LS modeling and benefits more from it compared to M2O $p = 0 . 3$ vs. $p = 0 . 1$ , and $+ 3 . 0$ vs. $+ 1 . 5$ BLEU on the original training data). We conjecture that translations on M2O share the same target language (English), so information can be easily transferred through shared modeling; by contrast, MNMT has to handle languages of diverse typological features for O2M, demanding stronger capacity delivered to each translation direction. Results in Figure 2 also show that CLSR yields more aggressive improvements on the original training data, compared to the oversampled counterpart $( + 3 . 0$ vs. $+ 2 . 0$ BLEU on O2M and $+ 1 . 5$ vs. $+ 0 . 5$ BLEU on M2O). Finegrained analysis on each resource group, as shown in Figure 7 (Appendix B), reveals that CLSR yields more improvements for low-resource translation where the oversampling strategy partially offsets these improvements. ",
|
| 561 |
+
"bbox": [
|
| 562 |
+
173,
|
| 563 |
+
590,
|
| 564 |
+
825,
|
| 565 |
+
742
|
| 566 |
+
],
|
| 567 |
+
"page_idx": 5
|
| 568 |
+
},
|
| 569 |
+
{
|
| 570 |
+
"type": "text",
|
| 571 |
+
"text": "Where should we add language-specific capacity in multilingual Transformer? Figure 2 suggests that CLSR uses $10 { - } 3 0 \\%$ LS capacity to reach its best performance. We next study how CLSR schedules this capacity across all Transformer sub-layers, in order to determine the ideal arrangement of LS layers for translation. Figure 3 shows the results. Regardless of layer types, CLSR schedules more LS capacity to the top and/or bottom encoder/decoder layers rather than the middle ones. We find that more LS capacity is allocated to feed-forward sub-layers for O2M (both encoder Figure 3(a) and decoder Figure 3(b)), while the cross-attention sub-layers use more LS capacity for M2O (decoder, Figure 3(d)). Regarding the encoder for M2O, we observe no significant LSScore ",
|
| 572 |
+
"bbox": [
|
| 573 |
+
173,
|
| 574 |
+
761,
|
| 575 |
+
825,
|
| 576 |
+
872
|
| 577 |
+
],
|
| 578 |
+
"page_idx": 5
|
| 579 |
+
},
|
| 580 |
+
{
|
| 581 |
+
"type": "image",
|
| 582 |
+
"img_path": "images/8b0b70c0ddb0fbf187da80d96add82990d9931ea1f8f63b23db107417a5f2bf4.jpg",
|
| 583 |
+
"image_caption": [],
|
| 584 |
+
"image_footnote": [],
|
| 585 |
+
"bbox": [
|
| 586 |
+
181,
|
| 587 |
+
109,
|
| 588 |
+
830,
|
| 589 |
+
236
|
| 590 |
+
],
|
| 591 |
+
"page_idx": 6
|
| 592 |
+
},
|
| 593 |
+
{
|
| 594 |
+
"type": "table",
|
| 595 |
+
"img_path": "images/139f8a516fad578368ebba66d83c2915ef9e0d399ddfc98aa337dde2da2dee17.jpg",
|
| 596 |
+
"table_caption": [
|
| 597 |
+
"Figure 3: LSScore of encoder and decoder sub-layers for O2M 3(a), 3(b) and M2O 3(c), 3(d) on OPUS-100. The solid lines correspond to models trained on the original data, while the dashed lines are on the oversampled data. We also include a red, dotted line to indicate the LSScore of 0. "
|
| 598 |
+
],
|
| 599 |
+
"table_footnote": [],
|
| 600 |
+
"table_body": "<table><tr><td rowspan=\"2\">Data Setting</td><td rowspan=\"2\">Model</td><td colspan=\"5\">02M</td><td colspan=\"5\">M20</td></tr><tr><td>High</td><td>Med</td><td>Low</td><td>All</td><td>WR</td><td>High</td><td>Med</td><td>Low</td><td>All</td><td>WR</td></tr><tr><td rowspan=\"8\">Original</td><td>Baseline</td><td>21.39</td><td>22.36</td><td>18.02</td><td>20.93</td><td>1</td><td>28.55</td><td>30.10</td><td>29.71</td><td>29.27</td><td>-</td></tr><tr><td>LS</td><td>+0.75</td><td>+1.83</td><td>+3.96</td><td>+1.79</td><td>94.68</td><td>-0.54</td><td>-0.16</td><td>-0.46</td><td>-0.41</td><td>32.98</td></tr><tr><td>CLSR-S</td><td>+0.06</td><td>-0.09</td><td>-0.34</td><td>-0.08</td><td>41.49</td><td>-0.14</td><td>-0.06</td><td>+0.02</td><td>-0.08</td><td>37.23</td></tr><tr><td>CLSR-L</td><td>+0.39</td><td>+1.54</td><td>+4.37</td><td>+1.62</td><td>84.04</td><td>-1.13</td><td>-0.47</td><td>-0.46</td><td>-0.78</td><td>21.28</td></tr><tr><td>CLSR*</td><td>+1.45</td><td>+2.83</td><td>+6.40</td><td>+2.97</td><td>95.74</td><td>+0.65</td><td>+1.52</td><td>+3.79</td><td>+1.61</td><td>96.81</td></tr><tr><td>Top-Bottom</td><td>+1.27</td><td>+2.71</td><td>+6.60</td><td>+2.89</td><td>96.81</td><td>+0.38</td><td>+1.16</td><td>+3.06</td><td>+1.21</td><td>78.72</td></tr><tr><td>Dedicated</td><td>+1.35</td><td>+2.75</td><td>+6.46</td><td>+2.90</td><td>97.87</td><td>+0.61</td><td>+1.50</td><td>+2.85</td><td>+1.38</td><td>89.36</td></tr><tr><td>Baseline</td><td>19.95</td><td>24.22</td><td>25.27</td><td>22.41</td><td></td><td>26.98</td><td>30.69</td><td>34.26</td><td></td><td></td></tr><tr><td rowspan=\"7\">Over Sample</td><td></td><td></td><td></td><td></td><td></td><td>- 90.43</td><td></td><td></td><td></td><td>29.71</td><td>- 12.77</td></tr><tr><td>LS CLSR-S</td><td>+0.99 +0.02</td><td>+1.30 +0.13</td><td>+0.94</td><td>+1.07</td><td></td><td>-0.55</td><td>-0.61</td><td>-3.96</td><td>-1.33</td><td></td></tr><tr><td></td><td></td><td></td><td>+0.30</td><td>+0.11</td><td>44.68</td><td>-0.04</td><td>+0.06</td><td>-0.84</td><td>-0.19</td><td>35.11</td></tr><tr><td>CLSR-L CLSR*</td><td>+0.62 +1.76</td><td>+0.60 +2.04</td><td>+0.34</td><td>+0.55</td><td>69.15</td><td>-1.02 +0.82</td><td>-1.11 +0.84</td><td>-4.56</td><td>-1.84</td><td>7.45</td></tr><tr><td></td><td></td><td></td><td>+1.94</td><td>+1.89</td><td>93.62</td><td></td><td></td><td>-0.13</td><td>+0.62</td><td>76.60</td></tr><tr><td>Top-Bottom</td><td>+1.73</td><td>+1.91</td><td>+1.83</td><td>+1.81</td><td>96.81</td><td>+0.83</td><td>+1.05</td><td>-1.36</td><td>+0.41</td><td>73.40</td></tr><tr><td>Dedicated</td><td>+1.79</td><td>+2.03</td><td>+2.07</td><td>+1.92</td><td>94.68</td><td>+0.99</td><td>+0.92</td><td>-0.88</td><td>+0.55</td><td>77.66</td></tr></table>",
|
| 601 |
+
"bbox": [
|
| 602 |
+
176,
|
| 603 |
+
296,
|
| 604 |
+
825,
|
| 605 |
+
526
|
| 606 |
+
],
|
| 607 |
+
"page_idx": 6
|
| 608 |
+
},
|
| 609 |
+
{
|
| 610 |
+
"type": "text",
|
| 611 |
+
"text": "Table 1: Translation quality for O2M and M2O on OPUS-100 with the original and oversampled training data. We list average $\\mathrm { B L E U \\uparrow }$ for High, Med, Low and All language groups, as well as $\\mathrm { W R \\uparrow }$ over all language pairs. Baseline: the vanilla multilingual baseline; $L S ^ { \\circ }$ : the LS model proposed by Zhang et al. (2020b); CLSR-S: CLSR but always using shared modeling, i.e. $g ( \\mathbf { z } ^ { l } ) = 0$ for all inputs; CLSR- $L i$ CLSR but always using LS modeling, i.e. $g ( \\mathbf { z } ^ { l } ) = 1$ for all inputs; $C L S R ^ { \\star }$ : the best CLSR model; Top-Bottom: applying LS modeling only to the top and bottom Transformer layers; Dedicated: dedicated model that allocates LS modeling based on LSScore distribution. Best results are highlighted in bold. ",
|
| 612 |
+
"bbox": [
|
| 613 |
+
173,
|
| 614 |
+
536,
|
| 615 |
+
825,
|
| 616 |
+
627
|
| 617 |
+
],
|
| 618 |
+
"page_idx": 6
|
| 619 |
+
},
|
| 620 |
+
{
|
| 621 |
+
"type": "text",
|
| 622 |
+
"text": "difference among different sub-layers as in Figure 3(c). Overall, CLSR tends to make the “M” side more LS, i.e. the encoder side of M2O (Figure 3(c)) and the decoder side of O2M (Figure 3(b)). ",
|
| 623 |
+
"bbox": [
|
| 624 |
+
173,
|
| 625 |
+
638,
|
| 626 |
+
823,
|
| 627 |
+
667
|
| 628 |
+
],
|
| 629 |
+
"page_idx": 6
|
| 630 |
+
},
|
| 631 |
+
{
|
| 632 |
+
"type": "text",
|
| 633 |
+
"text": "Does CLSR schedule language-specific capacity based on linguistic similarity? It is intriguing to explore how the capacity scheduled by CLSR is actualized, especially whether CLSR learns to organize LS capacity according to linguistic characteristics or not. The heatmap in Figure 6, Appendix B shows that the LSScore distribution over different sub-layers (y-axis) has only subtle difference across different language pairs $\\mathbf { \\dot { x } }$ -axis). This suggests that the capacity schedule has little to do with linguistic characteristics. More results in other settings are given in Figure 6, Appendix B, which reflect similar observation. In short, CLSR allocates LS capacity to specific sub-layers rather than specific languages. This could be ascribed to the design of CLSR. CLSR shares the gating parameters and the budget, $p$ , across all languages, which might impose some inductive bias discouraging its LS behavior. Besides, the structure of the gating in CLSR (Eq. 5) might fail to offer enough flexibility for controlling the gates in different ways across languages and layers. We leave further study of LS gating to future work. ",
|
| 634 |
+
"bbox": [
|
| 635 |
+
173,
|
| 636 |
+
678,
|
| 637 |
+
825,
|
| 638 |
+
844
|
| 639 |
+
],
|
| 640 |
+
"page_idx": 6
|
| 641 |
+
},
|
| 642 |
+
{
|
| 643 |
+
"type": "text",
|
| 644 |
+
"text": "On detailed results and comparison to other baselines. Table 1 summarizes our results.7 Although $\\mathbf { L } \\mathbf { S } ^ { \\circ }$ (Zhang et al., 2020b) improves O2M, it fails to surpass the vanilla Baseline on M2O, indicating that the position of its LS layer, i.e. on top of the encoder outputs, is sub-optimal for many-to-one translation. Compared to $\\mathrm { L } S ^ { \\circ }$ , CLSR-S uses no LS modeling while CLSR-L injects LS projection into each sub-layer, both of which delivers inferior performance on O2M (against $\\mathrm { L } S ^ { \\circ }$ and Baseline) and M2O (against Baseline), echoing our findings from Figure 2. By contrast, $\\mathrm { C L S R ^ { \\star } }$ , which uses an optimized budget p, yields promising results, beating Baseline on O2M and M2O, underlining the importance of seeking balances between sharing and not sharing. ",
|
| 645 |
+
"bbox": [
|
| 646 |
+
176,
|
| 647 |
+
856,
|
| 648 |
+
823,
|
| 649 |
+
897
|
| 650 |
+
],
|
| 651 |
+
"page_idx": 6
|
| 652 |
+
},
|
| 653 |
+
{
|
| 654 |
+
"type": "text",
|
| 655 |
+
"text": "",
|
| 656 |
+
"bbox": [
|
| 657 |
+
173,
|
| 658 |
+
103,
|
| 659 |
+
825,
|
| 660 |
+
174
|
| 661 |
+
],
|
| 662 |
+
"page_idx": 7
|
| 663 |
+
},
|
| 664 |
+
{
|
| 665 |
+
"type": "text",
|
| 666 |
+
"text": "Can we use these insights to improve multilingual Transformer? We answer this question by transferring our findings from Figure 3 into the following two Transformer variants: one enhances the top and bottom encoder/decoder layers with LS projections (Top-Bottom), while the other makes high-LSScore sub-layers LS (Dedicated).8 Results of these experiments, in Table 1, demonstrate that incorporating our findings into Transformer helps to improve translation performance. The dedicated model in particular recovers and even surpasses the performance of $\\mathrm { C L S R ^ { \\star } }$ . ",
|
| 667 |
+
"bbox": [
|
| 668 |
+
174,
|
| 669 |
+
184,
|
| 670 |
+
825,
|
| 671 |
+
267
|
| 672 |
+
],
|
| 673 |
+
"page_idx": 7
|
| 674 |
+
},
|
| 675 |
+
{
|
| 676 |
+
"type": "text",
|
| 677 |
+
"text": "5.2 RESULTS ON WMT-14 ",
|
| 678 |
+
"text_level": 1,
|
| 679 |
+
"bbox": [
|
| 680 |
+
174,
|
| 681 |
+
286,
|
| 682 |
+
370,
|
| 683 |
+
300
|
| 684 |
+
],
|
| 685 |
+
"page_idx": 7
|
| 686 |
+
},
|
| 687 |
+
{
|
| 688 |
+
"type": "image",
|
| 689 |
+
"img_path": "images/675732851a77b0dc34442686e981ca028adc66a962216572267a459a1c0ce30b.jpg",
|
| 690 |
+
"image_caption": [
|
| 691 |
+
"Figure 4: Average BLEU 4(a),4(b) and win ratio 4(c),4(d) over all test language pairs for O2M and M2O on WMT-14 when varying the budget $p$ . "
|
| 692 |
+
],
|
| 693 |
+
"image_footnote": [],
|
| 694 |
+
"bbox": [
|
| 695 |
+
179,
|
| 696 |
+
324,
|
| 697 |
+
828,
|
| 698 |
+
454
|
| 699 |
+
],
|
| 700 |
+
"page_idx": 7
|
| 701 |
+
},
|
| 702 |
+
{
|
| 703 |
+
"type": "table",
|
| 704 |
+
"img_path": "images/f3896b17d8d538d9e62a59fa56addd7839db53291bbba2056334b48d85084078.jpg",
|
| 705 |
+
"table_caption": [],
|
| 706 |
+
"table_footnote": [
|
| 707 |
+
"Table 2: Translation quality for O2M and M2O on WMT-14 with the original and oversampled training data. "
|
| 708 |
+
],
|
| 709 |
+
"table_body": "<table><tr><td rowspan=\"2\">Data Setting</td><td rowspan=\"2\">Model</td><td colspan=\"5\">02M</td><td colspan=\"5\">M20</td></tr><tr><td>High</td><td>Med</td><td>Low</td><td>All</td><td>WR</td><td>High</td><td>Med</td><td>Low</td><td>All</td><td>WR</td></tr><tr><td rowspan=\"8\">Original</td><td>Baseline</td><td>27.24</td><td>16.27</td><td>8.72</td><td>17.58</td><td>1</td><td>30.64</td><td>24.37</td><td>18.66</td><td>24.58</td><td>1</td></tr><tr><td>LS</td><td>+0.06</td><td>+0.66</td><td>+1.68</td><td>+0.83</td><td>84.62</td><td>-0.06</td><td>-0.37</td><td>-0.92</td><td>-0.46</td><td>23.08</td></tr><tr><td>CLSR-S</td><td>+0.00</td><td>+0.16</td><td>+0.20</td><td>+0.12</td><td>53.85</td><td>+0.04</td><td>+0.16</td><td>+0.28</td><td>+0.17</td><td>69.23</td></tr><tr><td>CLSR-L</td><td>-0.52</td><td>+0.43</td><td>+2.06</td><td>+0.70</td><td>61.54</td><td>-0.82</td><td>-0.50</td><td>+0.00</td><td>-0.43</td><td>15.38</td></tr><tr><td>CLSR*</td><td>+0.46</td><td>+1.46</td><td>+3.10</td><td>+1.71</td><td>100.0</td><td>+0.12</td><td>+0.73</td><td>+1.52</td><td>+0.80</td><td>84.62</td></tr><tr><td>Top-Bottom</td><td>+0.10</td><td>+0.96</td><td>+2.78</td><td>+1.34</td><td>84.62</td><td>-0.08</td><td>+0.70</td><td>+1.26</td><td>+0.62</td><td>61.54</td></tr><tr><td>Dedicated</td><td>+0.26</td><td>+1.00</td><td>+2.98</td><td>+1.48</td><td>92.31</td><td>+0.04</td><td>+0.86</td><td>+1.90</td><td>+0.95</td><td>84.62</td></tr><tr><td>Baseline</td><td>26.10</td><td>19.00</td><td>15.52</td><td>20.39</td><td></td><td>29.96</td><td>26.33</td><td>23.56</td><td>26.66</td><td></td></tr><tr><td rowspan=\"7\">Over Sample</td><td>LS</td><td>+0.30</td><td></td><td></td><td></td><td>1</td><td></td><td></td><td></td><td></td><td>- 00.00</td></tr><tr><td>CLSR-S</td><td>-0.12</td><td>+0.60</td><td>+0.26</td><td>+0.36</td><td>84.62</td><td>-0.44</td><td>-0.56</td><td>-0.80</td><td>-0.61</td><td></td></tr><tr><td>CLSR-L</td><td>-0.56</td><td>+0.03</td><td>+0.04</td><td>-0.02</td><td>46.15</td><td>+0.06</td><td>+0.04</td><td>-0.26</td><td>-0.07</td><td>46.15</td></tr><tr><td>CLSR*</td><td>+0.50</td><td>-0.10 +0.67</td><td>-0.32 +0.64</td><td>-0.36 +0.59</td><td>7.69 100.0</td><td>-0.90 +0.26</td><td>-1.00 +0.30</td><td>-1.24 +0.50</td><td>-1.05 +0.36</td><td>00.00</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>100.0</td></tr><tr><td>Top-Bottom</td><td>+0.12</td><td>+0.40</td><td>+0.56</td><td>+0.36</td><td>84.62</td><td>-0.08</td><td>+0.00</td><td>-0.50</td><td>-0.22</td><td>30.77</td></tr><tr><td>Dedicated</td><td>+0.46</td><td>+0.57</td><td>+0.66</td><td>+0.56</td><td>100.0</td><td>+0.16</td><td>+0.17</td><td>+0.22</td><td>+0.19</td><td>84.62</td></tr></table>",
|
| 710 |
+
"bbox": [
|
| 711 |
+
176,
|
| 712 |
+
512,
|
| 713 |
+
825,
|
| 714 |
+
743
|
| 715 |
+
],
|
| 716 |
+
"page_idx": 7
|
| 717 |
+
},
|
| 718 |
+
{
|
| 719 |
+
"type": "text",
|
| 720 |
+
"text": "Figure 4 shows the capacity trade-off on WMT-14, reconfirming the ability of CLSR. One noticeable difference is that the relative improvements become smaller. We ascribe this to the smaller number of language pairs in WMT-14, where the effect of introducing LS capacity into the model is smaller compared to the massively multilingual setting (Arivazhagan et al., 2019). Table 2 shows similar results as Table 1, where $\\mathrm { C L S R ^ { \\star } }$ outperforms both fully-shared (CLSR-S) and fully-LS (CLSRL) baselines, and both Top-Bottom and Dedicated improve multilingual translation compared to Baseline (except for M2O with oversampling). More results are given in Appendix C. Our results demonstrate that the CLSR approach generalizes to different datasets, with varying number of languages and resource sizes. We provide additional experiments ablating different elements on CLSR in Table 7, Appendix E. ",
|
| 721 |
+
"bbox": [
|
| 722 |
+
173,
|
| 723 |
+
785,
|
| 724 |
+
825,
|
| 725 |
+
897
|
| 726 |
+
],
|
| 727 |
+
"page_idx": 7
|
| 728 |
+
},
|
| 729 |
+
{
|
| 730 |
+
"type": "text",
|
| 731 |
+
"text": "",
|
| 732 |
+
"bbox": [
|
| 733 |
+
173,
|
| 734 |
+
103,
|
| 735 |
+
823,
|
| 736 |
+
132
|
| 737 |
+
],
|
| 738 |
+
"page_idx": 8
|
| 739 |
+
},
|
| 740 |
+
{
|
| 741 |
+
"type": "text",
|
| 742 |
+
"text": "6 CONCLUSION AND FUTURE WORK ",
|
| 743 |
+
"text_level": 1,
|
| 744 |
+
"bbox": [
|
| 745 |
+
176,
|
| 746 |
+
152,
|
| 747 |
+
493,
|
| 748 |
+
167
|
| 749 |
+
],
|
| 750 |
+
"page_idx": 8
|
| 751 |
+
},
|
| 752 |
+
{
|
| 753 |
+
"type": "text",
|
| 754 |
+
"text": "Share or not? This is an open question when developing MNMT models. In this paper, we attempt to answer this question by proposing conditional language-specific routing (CLSR). Our empirical results demonstrate that CLSR learns to balance between shared and LS paths across all NMT sublayers, improving the quality of multilingual translation. Our analysis on OPUS-100 and WMT-14 suggest that both the position and the amount of LS capacity greatly affects MNMT. Scheduling $10 \\% { - } 3 0 \\%$ LS layers to the top and/or bottom encoder/decoder layers reaches CLSR’s peak performance. We also demonstrate how our findings can be leveraged to design a multilingual Transformer with an optimal sharing pattern. We believe that our work improves our understanding on the tradeoff between sharing and not sharing, paving the way for better multilingual models. ",
|
| 755 |
+
"bbox": [
|
| 756 |
+
174,
|
| 757 |
+
184,
|
| 758 |
+
825,
|
| 759 |
+
309
|
| 760 |
+
],
|
| 761 |
+
"page_idx": 8
|
| 762 |
+
},
|
| 763 |
+
{
|
| 764 |
+
"type": "text",
|
| 765 |
+
"text": "In the future, we plan to extend our study to many-to-many translation as well as larger-capacity models. We also plan to adapt CLSR to other multilingual multi-task learning settings to better handle knowledge transfer among different tasks, especially for cross-lingual downstream transfer. ",
|
| 766 |
+
"bbox": [
|
| 767 |
+
174,
|
| 768 |
+
316,
|
| 769 |
+
823,
|
| 770 |
+
358
|
| 771 |
+
],
|
| 772 |
+
"page_idx": 8
|
| 773 |
+
},
|
| 774 |
+
{
|
| 775 |
+
"type": "text",
|
| 776 |
+
"text": "ACKNOWLEDGEMENTS ",
|
| 777 |
+
"text_level": 1,
|
| 778 |
+
"bbox": [
|
| 779 |
+
176,
|
| 780 |
+
380,
|
| 781 |
+
367,
|
| 782 |
+
395
|
| 783 |
+
],
|
| 784 |
+
"page_idx": 8
|
| 785 |
+
},
|
| 786 |
+
{
|
| 787 |
+
"type": "text",
|
| 788 |
+
"text": "We would like to thank Yuan Cao for his valuable feedback. We would also like to thank the Google Translate team for their constructive discussions and comments. We thank the reviewers for their insightful comments. Rico Sennrich has received funding from the Swiss National Science Foundation (project no. 176727). ",
|
| 789 |
+
"bbox": [
|
| 790 |
+
174,
|
| 791 |
+
410,
|
| 792 |
+
823,
|
| 793 |
+
467
|
| 794 |
+
],
|
| 795 |
+
"page_idx": 8
|
| 796 |
+
},
|
| 797 |
+
{
|
| 798 |
+
"type": "text",
|
| 799 |
+
"text": "REFERENCES ",
|
| 800 |
+
"text_level": 1,
|
| 801 |
+
"bbox": [
|
| 802 |
+
176,
|
| 803 |
+
487,
|
| 804 |
+
285,
|
| 805 |
+
502
|
| 806 |
+
],
|
| 807 |
+
"page_idx": 8
|
| 808 |
+
},
|
| 809 |
+
{
|
| 810 |
+
"type": "text",
|
| 811 |
+
"text": "Roee Aharoni, Melvin Johnson, and Orhan Firat. Massively multilingual neural machine translation. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 3874–3884, Minneapolis, Minnesota, June 2019. Association for Computational Linguistics. doi: 10.18653/v1/N19-1388. URL https://www.aclweb.org/anthology/ N19-1388. ",
|
| 812 |
+
"bbox": [
|
| 813 |
+
174,
|
| 814 |
+
511,
|
| 815 |
+
825,
|
| 816 |
+
594
|
| 817 |
+
],
|
| 818 |
+
"page_idx": 8
|
| 819 |
+
},
|
| 820 |
+
{
|
| 821 |
+
"type": "text",
|
| 822 |
+
"text": "Naveen Arivazhagan, Ankur Bapna, Orhan Firat, Dmitry Lepikhin, Melvin Johnson, Maxim Krikun, Mia Xu Chen, Yuan Cao, George Foster, Colin Cherry, Wolfgang Macherey, Zhifeng Chen, and Yonghui Wu. Massively multilingual neural machine translation in the wild: Findings and challenges. CoRR, abs/1907.05019, 2019. URL http://arxiv.org/abs/1907.05019. ",
|
| 823 |
+
"bbox": [
|
| 824 |
+
174,
|
| 825 |
+
604,
|
| 826 |
+
825,
|
| 827 |
+
661
|
| 828 |
+
],
|
| 829 |
+
"page_idx": 8
|
| 830 |
+
},
|
| 831 |
+
{
|
| 832 |
+
"type": "text",
|
| 833 |
+
"text": "Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E Hinton. Layer normalization. arXiv preprint arXiv:1607.06450, 2016. ",
|
| 834 |
+
"bbox": [
|
| 835 |
+
173,
|
| 836 |
+
670,
|
| 837 |
+
823,
|
| 838 |
+
698
|
| 839 |
+
],
|
| 840 |
+
"page_idx": 8
|
| 841 |
+
},
|
| 842 |
+
{
|
| 843 |
+
"type": "text",
|
| 844 |
+
"text": "Ankur Bapna and Orhan Firat. Simple, scalable adaptation for neural machine translation. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pp. 1538–1548, Hong Kong, China, November 2019. Association for Computational Linguistics. doi: 10.18653/v1/D19-1165. URL https://www.aclweb.org/anthology/D19-1165. ",
|
| 845 |
+
"bbox": [
|
| 846 |
+
174,
|
| 847 |
+
708,
|
| 848 |
+
825,
|
| 849 |
+
779
|
| 850 |
+
],
|
| 851 |
+
"page_idx": 8
|
| 852 |
+
},
|
| 853 |
+
{
|
| 854 |
+
"type": "text",
|
| 855 |
+
"text": "Ankur Bapna, Naveen Arivazhagan, and Orhan Firat. Controlling computation versus quality for neural sequence models. arXiv preprint arXiv:2002.07106, 2020. ",
|
| 856 |
+
"bbox": [
|
| 857 |
+
174,
|
| 858 |
+
787,
|
| 859 |
+
823,
|
| 860 |
+
816
|
| 861 |
+
],
|
| 862 |
+
"page_idx": 8
|
| 863 |
+
},
|
| 864 |
+
{
|
| 865 |
+
"type": "text",
|
| 866 |
+
"text": "Loïc Barrault, Ondˇrej Bojar, Marta R. Costa-jussà, Christian Federmann, Mark Fishel, Yvette Graham, Barry Haddow, Matthias Huck, Philipp Koehn, Shervin Malmasi, Christof Monz, Mathias Müller, Santanu Pal, Matt Post, and Marcos Zampieri. Findings of the 2019 conference on machine translation (WMT19). In Proceedings of the Fourth Conference on Machine Translation (Volume 2: Shared Task Papers, Day 1), pp. 1–61, Florence, Italy, August 2019. Association for Computational Linguistics. doi: 10.18653/v1/W19-5301. URL https://www.aclweb.org/anthology/W19-5301. ",
|
| 867 |
+
"bbox": [
|
| 868 |
+
174,
|
| 869 |
+
827,
|
| 870 |
+
825,
|
| 871 |
+
922
|
| 872 |
+
],
|
| 873 |
+
"page_idx": 8
|
| 874 |
+
},
|
| 875 |
+
{
|
| 876 |
+
"type": "text",
|
| 877 |
+
"text": "Yoshua Bengio, Nicholas Léonard, and Aaron Courville. Estimating or propagating gradients through stochastic neurons for conditional computation. arXiv preprint arXiv:1308.3432, 2013. ",
|
| 878 |
+
"bbox": [
|
| 879 |
+
173,
|
| 880 |
+
103,
|
| 881 |
+
823,
|
| 882 |
+
132
|
| 883 |
+
],
|
| 884 |
+
"page_idx": 9
|
| 885 |
+
},
|
| 886 |
+
{
|
| 887 |
+
"type": "text",
|
| 888 |
+
"text": "Graeme Blackwood, Miguel Ballesteros, and Todd Ward. Multilingual neural machine translation with task-specific attention. In Proceedings of the 27th International Conference on Computational Linguistics, pp. 3112–3122, Santa Fe, New Mexico, USA, August 2018. Association for Computational Linguistics. URL https://www.aclweb.org/anthology/C18-1263. ",
|
| 889 |
+
"bbox": [
|
| 890 |
+
174,
|
| 891 |
+
143,
|
| 892 |
+
825,
|
| 893 |
+
200
|
| 894 |
+
],
|
| 895 |
+
"page_idx": 9
|
| 896 |
+
},
|
| 897 |
+
{
|
| 898 |
+
"type": "text",
|
| 899 |
+
"text": "Chung-Cheng Chiu and Colin Raffel. Monotonic chunkwise attention. In International Conference on Learning Representations, 2018. URL https://openreview.net/forum?id= Hko85plCW. ",
|
| 900 |
+
"bbox": [
|
| 901 |
+
173,
|
| 902 |
+
212,
|
| 903 |
+
825,
|
| 904 |
+
255
|
| 905 |
+
],
|
| 906 |
+
"page_idx": 9
|
| 907 |
+
},
|
| 908 |
+
{
|
| 909 |
+
"type": "text",
|
| 910 |
+
"text": "Andrew Davis and Itamar Arel. Low-rank approximations for conditional feedforward computation in deep neural networks, 2013. ",
|
| 911 |
+
"bbox": [
|
| 912 |
+
171,
|
| 913 |
+
267,
|
| 914 |
+
823,
|
| 915 |
+
296
|
| 916 |
+
],
|
| 917 |
+
"page_idx": 9
|
| 918 |
+
},
|
| 919 |
+
{
|
| 920 |
+
"type": "text",
|
| 921 |
+
"text": "Mostafa Dehghani, Stephan Gouws, Oriol Vinyals, Jakob Uszkoreit, and Lukasz Kaiser. Universal transformers. In International Conference on Learning Representations, 2019. URL https: //openreview.net/forum?id $=$ HyzdRiR9Y7. ",
|
| 922 |
+
"bbox": [
|
| 923 |
+
173,
|
| 924 |
+
308,
|
| 925 |
+
825,
|
| 926 |
+
351
|
| 927 |
+
],
|
| 928 |
+
"page_idx": 9
|
| 929 |
+
},
|
| 930 |
+
{
|
| 931 |
+
"type": "text",
|
| 932 |
+
"text": "Daxiang Dong, Hua Wu, Wei He, Dianhai Yu, and Haifeng Wang. Multi-task learning for multiple language translation. In Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pp. 1723–1732, Beijing, China, July 2015. Association for Computational Linguistics. doi: 10.3115/v1/P15-1166. URL https://www.aclweb.org/ anthology/P15-1166. ",
|
| 933 |
+
"bbox": [
|
| 934 |
+
173,
|
| 935 |
+
361,
|
| 936 |
+
825,
|
| 937 |
+
446
|
| 938 |
+
],
|
| 939 |
+
"page_idx": 9
|
| 940 |
+
},
|
| 941 |
+
{
|
| 942 |
+
"type": "text",
|
| 943 |
+
"text": "Maha Elbayad, Jiatao Gu, Edouard Grave, and Michael Auli. Depth-adaptive transformer. In International Conference on Learning Representations, 2020. URL https://openreview. net/forum?id ${ . } = { }$ SJg7KhVKPH. ",
|
| 944 |
+
"bbox": [
|
| 945 |
+
173,
|
| 946 |
+
458,
|
| 947 |
+
825,
|
| 948 |
+
501
|
| 949 |
+
],
|
| 950 |
+
"page_idx": 9
|
| 951 |
+
},
|
| 952 |
+
{
|
| 953 |
+
"type": "text",
|
| 954 |
+
"text": "Carlos Escolano, Marta R Costa-jussà, José AR Fonollosa, and Mikel Artetxe. Multilingual machine translation: Closing the gap between shared and language-specific encoder-decoders. arXiv preprint arXiv:2004.06575, 2020. ",
|
| 955 |
+
"bbox": [
|
| 956 |
+
173,
|
| 957 |
+
512,
|
| 958 |
+
825,
|
| 959 |
+
555
|
| 960 |
+
],
|
| 961 |
+
"page_idx": 9
|
| 962 |
+
},
|
| 963 |
+
{
|
| 964 |
+
"type": "text",
|
| 965 |
+
"text": "Angela Fan, Edouard Grave, and Armand Joulin. Reducing transformer depth on demand with structured dropout. In International Conference on Learning Representations, 2020. URL https://openreview.net/forum?id $\\underline { { \\underline { { \\mathbf { \\Pi } } } } } =$ SylO2yStDr. ",
|
| 966 |
+
"bbox": [
|
| 967 |
+
174,
|
| 968 |
+
568,
|
| 969 |
+
823,
|
| 970 |
+
609
|
| 971 |
+
],
|
| 972 |
+
"page_idx": 9
|
| 973 |
+
},
|
| 974 |
+
{
|
| 975 |
+
"type": "text",
|
| 976 |
+
"text": "Orhan Firat, Kyunghyun Cho, and Yoshua Bengio. Multi-way, multilingual neural machine translation with a shared attention mechanism. In Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pp. 866–875, San Diego, California, June 2016a. Association for Computational Linguistics. doi: 10.18653/v1/N16-1101. URL https://www.aclweb.org/anthology/ N16-1101. ",
|
| 977 |
+
"bbox": [
|
| 978 |
+
173,
|
| 979 |
+
621,
|
| 980 |
+
825,
|
| 981 |
+
705
|
| 982 |
+
],
|
| 983 |
+
"page_idx": 9
|
| 984 |
+
},
|
| 985 |
+
{
|
| 986 |
+
"type": "text",
|
| 987 |
+
"text": "Orhan Firat, Baskaran Sankaran, Yaser Al-onaizan, Fatos T. Yarman Vural, and Kyunghyun Cho. Zero-resource translation with multi-lingual neural machine translation. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, pp. 268–277, Austin, Texas, November 2016b. Association for Computational Linguistics. doi: 10.18653/ v1/D16-1026. URL https://www.aclweb.org/anthology/D16-1026. ",
|
| 988 |
+
"bbox": [
|
| 989 |
+
173,
|
| 990 |
+
718,
|
| 991 |
+
826,
|
| 992 |
+
787
|
| 993 |
+
],
|
| 994 |
+
"page_idx": 9
|
| 995 |
+
},
|
| 996 |
+
{
|
| 997 |
+
"type": "text",
|
| 998 |
+
"text": "Alex Graves. Adaptive computation time for recurrent neural networks. arXiv preprint arXiv:1603.08983, 2016. ",
|
| 999 |
+
"bbox": [
|
| 1000 |
+
171,
|
| 1001 |
+
800,
|
| 1002 |
+
825,
|
| 1003 |
+
829
|
| 1004 |
+
],
|
| 1005 |
+
"page_idx": 9
|
| 1006 |
+
},
|
| 1007 |
+
{
|
| 1008 |
+
"type": "text",
|
| 1009 |
+
"text": "Thanh-Le Ha, Jan Niehues, and Alexander Waibel. Toward multilingual neural machine translation with universal encoder and decoder. In Proceedings of the 13th International Workshop on Spoken Language Translation (IWSLT), Seattle, USA, December 8-9 2016. ",
|
| 1010 |
+
"bbox": [
|
| 1011 |
+
171,
|
| 1012 |
+
840,
|
| 1013 |
+
823,
|
| 1014 |
+
883
|
| 1015 |
+
],
|
| 1016 |
+
"page_idx": 9
|
| 1017 |
+
},
|
| 1018 |
+
{
|
| 1019 |
+
"type": "text",
|
| 1020 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. CoRR, abs/1512.03385, 2015. URL http://arxiv.org/abs/1512.03385. ",
|
| 1021 |
+
"bbox": [
|
| 1022 |
+
173,
|
| 1023 |
+
895,
|
| 1024 |
+
820,
|
| 1025 |
+
924
|
| 1026 |
+
],
|
| 1027 |
+
"page_idx": 9
|
| 1028 |
+
},
|
| 1029 |
+
{
|
| 1030 |
+
"type": "text",
|
| 1031 |
+
"text": "Yanping Huang, Youlong Cheng, Ankur Bapna, Orhan Firat, Dehao Chen, Mia Chen, HyoukJoong Lee, Jiquan Ngiam, Quoc V Le, Yonghui Wu, et al. Gpipe: Efficient training of giant neural networks using pipeline parallelism. In Advances in neural information processing systems, pp. 103–112, 2019. ",
|
| 1032 |
+
"bbox": [
|
| 1033 |
+
174,
|
| 1034 |
+
103,
|
| 1035 |
+
825,
|
| 1036 |
+
159
|
| 1037 |
+
],
|
| 1038 |
+
"page_idx": 10
|
| 1039 |
+
},
|
| 1040 |
+
{
|
| 1041 |
+
"type": "text",
|
| 1042 |
+
"text": "Melvin Johnson, Mike Schuster, Quoc V. Le, Maxim Krikun, Yonghui Wu, Zhifeng Chen, Nikhil Thorat, Fernanda Viégas, Martin Wattenberg, Greg Corrado, Macduff Hughes, and Jeffrey Dean. Google’s multilingual neural machine translation system: Enabling zero-shot translation. Transactions of the Association for Computational Linguistics, 5:339–351, 2017. doi: 10.1162/tacl_a_00065. URL https://www.aclweb.org/anthology/Q17-1024. ",
|
| 1043 |
+
"bbox": [
|
| 1044 |
+
174,
|
| 1045 |
+
167,
|
| 1046 |
+
825,
|
| 1047 |
+
238
|
| 1048 |
+
],
|
| 1049 |
+
"page_idx": 10
|
| 1050 |
+
},
|
| 1051 |
+
{
|
| 1052 |
+
"type": "text",
|
| 1053 |
+
"text": "Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In International Conference on Learning Representations, 2015. ",
|
| 1054 |
+
"bbox": [
|
| 1055 |
+
176,
|
| 1056 |
+
247,
|
| 1057 |
+
823,
|
| 1058 |
+
276
|
| 1059 |
+
],
|
| 1060 |
+
"page_idx": 10
|
| 1061 |
+
},
|
| 1062 |
+
{
|
| 1063 |
+
"type": "text",
|
| 1064 |
+
"text": "Taku Kudo and John Richardson. SentencePiece: A simple and language independent subword tokenizer and detokenizer for neural text processing. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pp. 66–71, Brussels, Belgium, November 2018. Association for Computational Linguistics. doi: 10.18653/v1/D18-2012. URL https://www.aclweb.org/anthology/D18-2012. ",
|
| 1065 |
+
"bbox": [
|
| 1066 |
+
174,
|
| 1067 |
+
284,
|
| 1068 |
+
825,
|
| 1069 |
+
354
|
| 1070 |
+
],
|
| 1071 |
+
"page_idx": 10
|
| 1072 |
+
},
|
| 1073 |
+
{
|
| 1074 |
+
"type": "text",
|
| 1075 |
+
"text": "Jason Lee, Kyunghyun Cho, and Thomas Hofmann. Fully character-level neural machine translation without explicit segmentation. Transactions of the Association for Computational Linguistics, 5:365–378, 2017. doi: 10.1162/tacl_a_00067. URL https://www.aclweb.org/ anthology/Q17-1026. ",
|
| 1076 |
+
"bbox": [
|
| 1077 |
+
174,
|
| 1078 |
+
363,
|
| 1079 |
+
825,
|
| 1080 |
+
419
|
| 1081 |
+
],
|
| 1082 |
+
"page_idx": 10
|
| 1083 |
+
},
|
| 1084 |
+
{
|
| 1085 |
+
"type": "text",
|
| 1086 |
+
"text": "Dmitry Lepikhin, HyoukJoong Lee, Yuanzhong Xu, Dehao Chen, Orhan Firat, Yanping Huang, Maxim Krikun, Noam Shazeer, and Zhifeng Chen. Gshard: Scaling giant models with conditional computation and automatic sharding. arXiv preprint arXiv:2006.16668, 2020. ",
|
| 1087 |
+
"bbox": [
|
| 1088 |
+
174,
|
| 1089 |
+
428,
|
| 1090 |
+
821,
|
| 1091 |
+
470
|
| 1092 |
+
],
|
| 1093 |
+
"page_idx": 10
|
| 1094 |
+
},
|
| 1095 |
+
{
|
| 1096 |
+
"type": "text",
|
| 1097 |
+
"text": "Hanxiao Liu, Karen Simonyan, and Yiming Yang. DARTS: Differentiable architecture search. In International Conference on Learning Representations, 2019. URL https://openreview. net/forum?id ${ . } = { }$ S1eYHoC5FX. ",
|
| 1098 |
+
"bbox": [
|
| 1099 |
+
173,
|
| 1100 |
+
478,
|
| 1101 |
+
821,
|
| 1102 |
+
521
|
| 1103 |
+
],
|
| 1104 |
+
"page_idx": 10
|
| 1105 |
+
},
|
| 1106 |
+
{
|
| 1107 |
+
"type": "text",
|
| 1108 |
+
"text": "Tom M Mitchell. The need for biases in learning generalizations. Department of Computer Science, Laboratory for Computer Science Research . . . , 1980. ",
|
| 1109 |
+
"bbox": [
|
| 1110 |
+
169,
|
| 1111 |
+
530,
|
| 1112 |
+
823,
|
| 1113 |
+
559
|
| 1114 |
+
],
|
| 1115 |
+
"page_idx": 10
|
| 1116 |
+
},
|
| 1117 |
+
{
|
| 1118 |
+
"type": "text",
|
| 1119 |
+
"text": "Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. Bleu: a method for automatic evaluation of machine translation. In Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics, pp. 311–318, Philadelphia, Pennsylvania, USA, July 2002. Association for Computational Linguistics. doi: 10.3115/1073083.1073135. URL https: //www.aclweb.org/anthology/P02-1040. ",
|
| 1120 |
+
"bbox": [
|
| 1121 |
+
174,
|
| 1122 |
+
566,
|
| 1123 |
+
825,
|
| 1124 |
+
637
|
| 1125 |
+
],
|
| 1126 |
+
"page_idx": 10
|
| 1127 |
+
},
|
| 1128 |
+
{
|
| 1129 |
+
"type": "text",
|
| 1130 |
+
"text": "Emmanouil Antonios Platanios, Mrinmaya Sachan, Graham Neubig, and Tom Mitchell. Contextual parameter generation for universal neural machine translation. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 425–435, Brussels, Belgium, October-November 2018. Association for Computational Linguistics. doi: 10.18653/v1/ D18-1039. URL https://www.aclweb.org/anthology/D18-1039. ",
|
| 1131 |
+
"bbox": [
|
| 1132 |
+
173,
|
| 1133 |
+
645,
|
| 1134 |
+
825,
|
| 1135 |
+
715
|
| 1136 |
+
],
|
| 1137 |
+
"page_idx": 10
|
| 1138 |
+
},
|
| 1139 |
+
{
|
| 1140 |
+
"type": "text",
|
| 1141 |
+
"text": "Matt Post. A call for clarity in reporting BLEU scores. In Proceedings of the Third Conference on Machine Translation: Research Papers, pp. 186–191, Belgium, Brussels, October 2018. Association for Computational Linguistics. URL https://www.aclweb.org/anthology/ W18-6319. ",
|
| 1142 |
+
"bbox": [
|
| 1143 |
+
173,
|
| 1144 |
+
723,
|
| 1145 |
+
825,
|
| 1146 |
+
780
|
| 1147 |
+
],
|
| 1148 |
+
"page_idx": 10
|
| 1149 |
+
},
|
| 1150 |
+
{
|
| 1151 |
+
"type": "text",
|
| 1152 |
+
"text": "Sebastian Ruder, Joachim Bingel, Isabelle Augenstein, and Anders Søgaard. Latent multi-task architecture learning. Proceedings of the AAAI Conference on Artificial Intelligence, 33(01): 4822–4829, Jul. 2019. doi: 10.1609/aaai.v33i01.33014822. URL https://ojs.aaai.org/ index.php/AAAI/article/view/4410. ",
|
| 1153 |
+
"bbox": [
|
| 1154 |
+
174,
|
| 1155 |
+
789,
|
| 1156 |
+
825,
|
| 1157 |
+
844
|
| 1158 |
+
],
|
| 1159 |
+
"page_idx": 10
|
| 1160 |
+
},
|
| 1161 |
+
{
|
| 1162 |
+
"type": "text",
|
| 1163 |
+
"text": "Devendra Sachan and Graham Neubig. Parameter sharing methods for multilingual self-attentional translation models. In Proceedings of the Third Conference on Machine Translation: Research Papers, pp. 261–271, Brussels, Belgium, October 2018. Association for Computational Linguistics. doi: 10.18653/v1/W18-6327. URL https://www.aclweb.org/anthology/ W18-6327. ",
|
| 1164 |
+
"bbox": [
|
| 1165 |
+
174,
|
| 1166 |
+
854,
|
| 1167 |
+
825,
|
| 1168 |
+
922
|
| 1169 |
+
],
|
| 1170 |
+
"page_idx": 10
|
| 1171 |
+
},
|
| 1172 |
+
{
|
| 1173 |
+
"type": "text",
|
| 1174 |
+
"text": "Rico Sennrich, Barry Haddow, and Alexandra Birch. Neural machine translation of rare words with subword units. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1715–1725, Berlin, Germany, August 2016. Association for Computational Linguistics. doi: 10.18653/v1/P16-1162. URL https://www.aclweb. org/anthology/P16-1162. ",
|
| 1175 |
+
"bbox": [
|
| 1176 |
+
174,
|
| 1177 |
+
103,
|
| 1178 |
+
825,
|
| 1179 |
+
174
|
| 1180 |
+
],
|
| 1181 |
+
"page_idx": 11
|
| 1182 |
+
},
|
| 1183 |
+
{
|
| 1184 |
+
"type": "text",
|
| 1185 |
+
"text": "Noam Shazeer, Azalia Mirhoseini, Krzysztof Maziarz, Andy Davis, Quoc Le, Geoffrey Hinton, and Jeff Dean. Outrageously large neural networks: The sparsely-gated mixture-of-experts layer. arXiv preprint arXiv:1701.06538, 2017. ",
|
| 1186 |
+
"bbox": [
|
| 1187 |
+
174,
|
| 1188 |
+
183,
|
| 1189 |
+
825,
|
| 1190 |
+
224
|
| 1191 |
+
],
|
| 1192 |
+
"page_idx": 11
|
| 1193 |
+
},
|
| 1194 |
+
{
|
| 1195 |
+
"type": "text",
|
| 1196 |
+
"text": "Aditya Siddhant, Ankur Bapna, Yuan Cao, Orhan Firat, Mia Chen, Sneha Kudugunta, Naveen Arivazhagan, and Yonghui Wu. Leveraging monolingual data with self-supervision for multilingual neural machine translation. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pp. 2827–2835, Online, July 2020. Association for Computational Linguistics. doi: 10.18653/v1/2020.acl-main.252. URL https://www.aclweb.org/ anthology/2020.acl-main.252. ",
|
| 1197 |
+
"bbox": [
|
| 1198 |
+
174,
|
| 1199 |
+
234,
|
| 1200 |
+
825,
|
| 1201 |
+
318
|
| 1202 |
+
],
|
| 1203 |
+
"page_idx": 11
|
| 1204 |
+
},
|
| 1205 |
+
{
|
| 1206 |
+
"type": "text",
|
| 1207 |
+
"text": "Sainbayar Sukhbaatar, Edouard Grave, Piotr Bojanowski, and Armand Joulin. Adaptive attention span in transformers. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pp. 331–335, Florence, Italy, July 2019. Association for Computational Linguistics. doi: 10.18653/v1/P19-1032. URL https://www.aclweb.org/anthology/ P19-1032. ",
|
| 1208 |
+
"bbox": [
|
| 1209 |
+
174,
|
| 1210 |
+
327,
|
| 1211 |
+
825,
|
| 1212 |
+
397
|
| 1213 |
+
],
|
| 1214 |
+
"page_idx": 11
|
| 1215 |
+
},
|
| 1216 |
+
{
|
| 1217 |
+
"type": "text",
|
| 1218 |
+
"text": "Xu Tan, Jiale Chen, Di He, Yingce Xia, Tao QIN, and Tie-Yan Liu. Multilingual neural machine translation with language clustering. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pp. 963–973, Hong Kong, China, November 2019. Association for Computational Linguistics. doi: 10.18653/v1/D19-1089. URL https://www.aclweb.org/anthology/D19-1089. ",
|
| 1219 |
+
"bbox": [
|
| 1220 |
+
174,
|
| 1221 |
+
406,
|
| 1222 |
+
825,
|
| 1223 |
+
491
|
| 1224 |
+
],
|
| 1225 |
+
"page_idx": 11
|
| 1226 |
+
},
|
| 1227 |
+
{
|
| 1228 |
+
"type": "text",
|
| 1229 |
+
"text": "Jörg Tiedemann. Parallel data, tools and interfaces in opus. In Nicoletta Calzolari (Conference Chair), Khalid Choukri, Thierry Declerck, Mehmet Ugur Dogan, Bente Maegaard, Joseph Mariani, Jan Odijk, and Stelios Piperidis (eds.), Proceedings of the Eight International Conference on Language Resources and Evaluation (LREC’12), Istanbul, Turkey, may 2012. European Language Resources Association (ELRA). ISBN 978-2-9517408-7-7. ",
|
| 1230 |
+
"bbox": [
|
| 1231 |
+
173,
|
| 1232 |
+
500,
|
| 1233 |
+
825,
|
| 1234 |
+
569
|
| 1235 |
+
],
|
| 1236 |
+
"page_idx": 11
|
| 1237 |
+
},
|
| 1238 |
+
{
|
| 1239 |
+
"type": "text",
|
| 1240 |
+
"text": "Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Ł ukasz Kaiser, and Illia Polosukhin. Attention is all you need. In I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett (eds.), Advances in Neural Information Processing Systems 30, pp. 5998–6008. Curran Associates, Inc., 2017. URL http://papers.nips.cc/paper/7181-attention-is-all-you-need.pdf. ",
|
| 1241 |
+
"bbox": [
|
| 1242 |
+
176,
|
| 1243 |
+
578,
|
| 1244 |
+
825,
|
| 1245 |
+
648
|
| 1246 |
+
],
|
| 1247 |
+
"page_idx": 11
|
| 1248 |
+
},
|
| 1249 |
+
{
|
| 1250 |
+
"type": "text",
|
| 1251 |
+
"text": "Raúl Vázquez, Alessandro Raganato, Jörg Tiedemann, and Mathias Creutz. Multilingual NMT with a language-independent attention bridge. In Proceedings of the 4th Workshop on Representation Learning for NLP (RepL4NLP-2019), pp. 33–39, Florence, Italy, August 2019. Association for Computational Linguistics. doi: 10.18653/v1/W19-4305. URL https://www.aclweb. org/anthology/W19-4305. ",
|
| 1252 |
+
"bbox": [
|
| 1253 |
+
173,
|
| 1254 |
+
657,
|
| 1255 |
+
825,
|
| 1256 |
+
728
|
| 1257 |
+
],
|
| 1258 |
+
"page_idx": 11
|
| 1259 |
+
},
|
| 1260 |
+
{
|
| 1261 |
+
"type": "text",
|
| 1262 |
+
"text": "Xinyi Wang, Yulia Tsvetkov, and Graham Neubig. Balancing training for multilingual neural machine translation. arXiv preprint arXiv:2004.06748, 2020a. ",
|
| 1263 |
+
"bbox": [
|
| 1264 |
+
173,
|
| 1265 |
+
737,
|
| 1266 |
+
821,
|
| 1267 |
+
766
|
| 1268 |
+
],
|
| 1269 |
+
"page_idx": 11
|
| 1270 |
+
},
|
| 1271 |
+
{
|
| 1272 |
+
"type": "text",
|
| 1273 |
+
"text": "Yining Wang, Jiajun Zhang, Feifei Zhai, Jingfang Xu, and Chengqing Zong. Three strategies to improve one-to-many multilingual translation. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 2955–2960, Brussels, Belgium, OctoberNovember 2018. Association for Computational Linguistics. doi: 10.18653/v1/D18-1326. URL https://www.aclweb.org/anthology/D18-1326. ",
|
| 1274 |
+
"bbox": [
|
| 1275 |
+
174,
|
| 1276 |
+
775,
|
| 1277 |
+
825,
|
| 1278 |
+
844
|
| 1279 |
+
],
|
| 1280 |
+
"page_idx": 11
|
| 1281 |
+
},
|
| 1282 |
+
{
|
| 1283 |
+
"type": "text",
|
| 1284 |
+
"text": "Yining Wang, Long Zhou, Jiajun Zhang, Feifei Zhai, Jingfang Xu, and Chengqing Zong. A compact and language-sensitive multilingual translation method. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pp. 1213–1223, Florence, Italy, July 2019. Association for Computational Linguistics. doi: 10.18653/v1/P19-1117. URL https://www.aclweb.org/anthology/P19-1117. ",
|
| 1285 |
+
"bbox": [
|
| 1286 |
+
176,
|
| 1287 |
+
854,
|
| 1288 |
+
825,
|
| 1289 |
+
924
|
| 1290 |
+
],
|
| 1291 |
+
"page_idx": 11
|
| 1292 |
+
},
|
| 1293 |
+
{
|
| 1294 |
+
"type": "text",
|
| 1295 |
+
"text": "Zirui Wang, Zachary C. Lipton, and Yulia Tsvetkov. On negative interference in multilingual models: Findings and a meta-learning treatment. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 4438–4450, Online, November 2020b. Association for Computational Linguistics. doi: 10.18653/v1/2020.emnlp-main.359. URL https://www.aclweb.org/anthology/2020.emnlp-main.359. ",
|
| 1296 |
+
"bbox": [
|
| 1297 |
+
174,
|
| 1298 |
+
103,
|
| 1299 |
+
825,
|
| 1300 |
+
174
|
| 1301 |
+
],
|
| 1302 |
+
"page_idx": 12
|
| 1303 |
+
},
|
| 1304 |
+
{
|
| 1305 |
+
"type": "text",
|
| 1306 |
+
"text": "Biao Zhang, Ivan Titov, and Rico Sennrich. On sparsifying encoder outputs in sequence-to-sequence models. arXiv preprint arXiv:2004.11854, 2020a. ",
|
| 1307 |
+
"bbox": [
|
| 1308 |
+
174,
|
| 1309 |
+
183,
|
| 1310 |
+
823,
|
| 1311 |
+
212
|
| 1312 |
+
],
|
| 1313 |
+
"page_idx": 12
|
| 1314 |
+
},
|
| 1315 |
+
{
|
| 1316 |
+
"type": "text",
|
| 1317 |
+
"text": "Biao Zhang, Philip Williams, Ivan Titov, and Rico Sennrich. Improving massively multilingual neural machine translation and zero-shot translation. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pp. 1628–1639, Online, July 2020b. Association for Computational Linguistics. doi: 10.18653/v1/2020.acl-main.148. URL https://www. aclweb.org/anthology/2020.acl-main.148. ",
|
| 1318 |
+
"bbox": [
|
| 1319 |
+
173,
|
| 1320 |
+
220,
|
| 1321 |
+
825,
|
| 1322 |
+
290
|
| 1323 |
+
],
|
| 1324 |
+
"page_idx": 12
|
| 1325 |
+
},
|
| 1326 |
+
{
|
| 1327 |
+
"type": "text",
|
| 1328 |
+
"text": "Changfeng Zhu, Heng Yu, Shanbo Cheng, and Weihua Luo. Language-aware interlingua for multilingual neural machine translation. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pp. 1650–1655, Online, July 2020. Association for Computational Linguistics. doi: 10.18653/v1/2020.acl-main.150. URL https://www.aclweb.org/ anthology/2020.acl-main.150. ",
|
| 1329 |
+
"bbox": [
|
| 1330 |
+
173,
|
| 1331 |
+
299,
|
| 1332 |
+
823,
|
| 1333 |
+
369
|
| 1334 |
+
],
|
| 1335 |
+
"page_idx": 12
|
| 1336 |
+
},
|
| 1337 |
+
{
|
| 1338 |
+
"type": "text",
|
| 1339 |
+
"text": "Barret Zoph and Kevin Knight. Multi-source neural translation. In Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pp. 30–34, San Diego, California, June 2016. Association for Computational Linguistics. doi: 10.18653/v1/N16-1004. URL https://www.aclweb.org/ anthology/N16-1004. ",
|
| 1340 |
+
"bbox": [
|
| 1341 |
+
174,
|
| 1342 |
+
378,
|
| 1343 |
+
825,
|
| 1344 |
+
449
|
| 1345 |
+
],
|
| 1346 |
+
"page_idx": 12
|
| 1347 |
+
},
|
| 1348 |
+
{
|
| 1349 |
+
"type": "text",
|
| 1350 |
+
"text": "A DATASET DETAILS ",
|
| 1351 |
+
"text_level": 1,
|
| 1352 |
+
"bbox": [
|
| 1353 |
+
176,
|
| 1354 |
+
102,
|
| 1355 |
+
366,
|
| 1356 |
+
118
|
| 1357 |
+
],
|
| 1358 |
+
"page_idx": 13
|
| 1359 |
+
},
|
| 1360 |
+
{
|
| 1361 |
+
"type": "table",
|
| 1362 |
+
"img_path": "images/c648727e9c5047373eb4a35bc975a2ff28551cfc68c395c1bf70024322e002da.jpg",
|
| 1363 |
+
"table_caption": [
|
| 1364 |
+
"Table 3: Statistics of train, dev and test data for WMT-14. "
|
| 1365 |
+
],
|
| 1366 |
+
"table_footnote": [],
|
| 1367 |
+
"table_body": "<table><tr><td rowspan=\"2\">Language Pair</td><td colspan=\"3\">Data Sources</td><td colspan=\"3\"># Samples</td></tr><tr><td>Train</td><td>Dev</td><td>Test</td><td>Train</td><td>Dev</td><td>Test</td></tr><tr><td>En-Cs</td><td>WMT19</td><td>WMT17</td><td>WMT18</td><td>64336053</td><td>3005</td><td>2983</td></tr><tr><td>En-Fr</td><td>WMT15</td><td>WMT13</td><td>WMT14</td><td>40449146</td><td>3000</td><td>3003</td></tr><tr><td>En-Ru</td><td>WMT19</td><td>WMT18</td><td>WMT19</td><td>38492126</td><td>3000</td><td>2000</td></tr><tr><td>En-Zh</td><td>WMT19</td><td>WMT18</td><td>WMT19</td><td>25986436</td><td>3981</td><td>2000</td></tr><tr><td>En-Es</td><td>WMT13</td><td>WMT13</td><td>WMT13</td><td>15182374</td><td>3004</td><td>3000</td></tr><tr><td>En-Fi</td><td>WMT19</td><td>WMT18</td><td>WMT19</td><td>6587448</td><td>3000</td><td>1996</td></tr><tr><td>En-De</td><td>WMT14</td><td>WMT13</td><td>WMT14</td><td>4508785</td><td>3000</td><td>3003</td></tr><tr><td>En-Et</td><td>WMT18</td><td>WMT18</td><td>WMT18</td><td>2175873</td><td>2000</td><td>2000</td></tr><tr><td>En-Lv</td><td>WMT17</td><td>WMT17</td><td>WMT17</td><td>637599</td><td>2003</td><td>2001</td></tr><tr><td>En-Lt</td><td>WMT19</td><td>WMT19</td><td>WMT19</td><td>635146</td><td>2000</td><td>1000</td></tr><tr><td>En-Ro</td><td>WMT16</td><td>WMT16</td><td>WMT16</td><td>610320</td><td>1999</td><td>1999</td></tr><tr><td>En-Hi</td><td>WMT14</td><td>WMT14</td><td>WMT14</td><td>313748</td><td>520</td><td>2507</td></tr><tr><td>En-Tr</td><td>WMT18</td><td>WMT17</td><td>WMT18</td><td>205756</td><td>3007</td><td>3000</td></tr></table>",
|
| 1368 |
+
"bbox": [
|
| 1369 |
+
246,
|
| 1370 |
+
162,
|
| 1371 |
+
751,
|
| 1372 |
+
393
|
| 1373 |
+
],
|
| 1374 |
+
"page_idx": 13
|
| 1375 |
+
},
|
| 1376 |
+
{
|
| 1377 |
+
"type": "image",
|
| 1378 |
+
"img_path": "images/1924802c247d32926e0bb3d29dcea2def3fda6a46aa4f485e39ebc92d2d84eb9.jpg",
|
| 1379 |
+
"image_caption": [
|
| 1380 |
+
"Figure 5: Training data distribution over language pairs for OPUS-100 and WMT-14. ",
|
| 1381 |
+
"Table 3 lists the statistics for WMT-14. We collect these datasets following Siddhant et al. (2020). Figure 5 shows the training data distribution. Training data in WMT-14 is more imbalanced across different language pairs compared to OPUS-100. "
|
| 1382 |
+
],
|
| 1383 |
+
"image_footnote": [],
|
| 1384 |
+
"bbox": [
|
| 1385 |
+
240,
|
| 1386 |
+
444,
|
| 1387 |
+
751,
|
| 1388 |
+
608
|
| 1389 |
+
],
|
| 1390 |
+
"page_idx": 13
|
| 1391 |
+
},
|
| 1392 |
+
{
|
| 1393 |
+
"type": "text",
|
| 1394 |
+
"text": "B MORE RESULTS ON OPUS-100 ",
|
| 1395 |
+
"text_level": 1,
|
| 1396 |
+
"bbox": [
|
| 1397 |
+
176,
|
| 1398 |
+
686,
|
| 1399 |
+
470,
|
| 1400 |
+
703
|
| 1401 |
+
],
|
| 1402 |
+
"page_idx": 13
|
| 1403 |
+
},
|
| 1404 |
+
{
|
| 1405 |
+
"type": "table",
|
| 1406 |
+
"img_path": "images/e8a92245b3ba12875a092666d78fb12efdae65fad72808b1e7f60c4db441c12f.jpg",
|
| 1407 |
+
"table_caption": [
|
| 1408 |
+
"Table 4: Selected sub-layers by Dedicated on OPUS-100. SAN/CAN: self-/cross-attention; FFN: feed-forward. ",
|
| 1409 |
+
"Figure 7 shows the translation performance of CLSR on each resource group when varying the budget $p$ . We find that LS modeling greatly improves translation on low-resource settings, although "
|
| 1410 |
+
],
|
| 1411 |
+
"table_footnote": [],
|
| 1412 |
+
"table_body": "<table><tr><td rowspan=\"3\">Data Setting</td><td colspan=\"4\">Encoder</td><td colspan=\"6\">Decoder</td></tr><tr><td colspan=\"2\">Bottom</td><td colspan=\"2\">Top</td><td colspan=\"3\">Bottom</td><td colspan=\"3\">Top</td></tr><tr><td>SAN</td><td>FFN</td><td>SAN</td><td>FFN</td><td>SAN</td><td>CAN</td><td>FFN</td><td>SAN</td><td>CAN</td><td>FFN</td></tr><tr><td>Original, O2M</td><td>:</td><td>√</td><td></td><td>√</td><td>√</td><td></td><td>√</td><td>√</td><td>·</td><td>√</td></tr><tr><td>Original, M20</td><td></td><td>√</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>√</td></tr><tr><td>Oversample, O2M</td><td></td><td></td><td></td><td>√</td><td>√</td><td></td><td></td><td>√</td><td>√</td><td>√</td></tr><tr><td>Oversample, M20</td><td>√</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr></table>",
|
| 1413 |
+
"bbox": [
|
| 1414 |
+
176,
|
| 1415 |
+
747,
|
| 1416 |
+
825,
|
| 1417 |
+
878
|
| 1418 |
+
],
|
| 1419 |
+
"page_idx": 13
|
| 1420 |
+
},
|
| 1421 |
+
{
|
| 1422 |
+
"type": "text",
|
| 1423 |
+
"text": "Figure 6: Heatmap of LSScore distribution on OPUS-100 trained w/ and w/o oversampling. X-axis denotes language pairs ranked by training data size, and y-axis denotes encoder (enc) and decoder (dec) sub-layers with a format of “enc/dec.layer types.layer index”. Darker color indicates a larger LSScore. ",
|
| 1424 |
+
"bbox": [
|
| 1425 |
+
173,
|
| 1426 |
+
101,
|
| 1427 |
+
825,
|
| 1428 |
+
140
|
| 1429 |
+
],
|
| 1430 |
+
"page_idx": 14
|
| 1431 |
+
},
|
| 1432 |
+
{
|
| 1433 |
+
"type": "image",
|
| 1434 |
+
"img_path": "images/f5bc27a61534262293534ce0ea0ceb3fdba9cf1e259ae5d8951506f9d373cba1.jpg",
|
| 1435 |
+
"image_caption": [],
|
| 1436 |
+
"image_footnote": [],
|
| 1437 |
+
"bbox": [
|
| 1438 |
+
210,
|
| 1439 |
+
161,
|
| 1440 |
+
794,
|
| 1441 |
+
306
|
| 1442 |
+
],
|
| 1443 |
+
"page_idx": 14
|
| 1444 |
+
},
|
| 1445 |
+
{
|
| 1446 |
+
"type": "text",
|
| 1447 |
+
"text": "(a) Oversample, M2O ",
|
| 1448 |
+
"bbox": [
|
| 1449 |
+
433,
|
| 1450 |
+
311,
|
| 1451 |
+
568,
|
| 1452 |
+
324
|
| 1453 |
+
],
|
| 1454 |
+
"page_idx": 14
|
| 1455 |
+
},
|
| 1456 |
+
{
|
| 1457 |
+
"type": "image",
|
| 1458 |
+
"img_path": "images/56b461988efebfb43d69da3cf9a8bb7985b251d4d5bdc048d2db115b72d1ed0c.jpg",
|
| 1459 |
+
"image_caption": [],
|
| 1460 |
+
"image_footnote": [],
|
| 1461 |
+
"bbox": [
|
| 1462 |
+
214,
|
| 1463 |
+
338,
|
| 1464 |
+
792,
|
| 1465 |
+
482
|
| 1466 |
+
],
|
| 1467 |
+
"page_idx": 14
|
| 1468 |
+
},
|
| 1469 |
+
{
|
| 1470 |
+
"type": "image",
|
| 1471 |
+
"img_path": "images/37d295ce4354b2b675d759b163c651d4bc55b55ed62f7cf47deada87defa8c83.jpg",
|
| 1472 |
+
"image_caption": [],
|
| 1473 |
+
"image_footnote": [],
|
| 1474 |
+
"bbox": [
|
| 1475 |
+
214,
|
| 1476 |
+
517,
|
| 1477 |
+
792,
|
| 1478 |
+
662
|
| 1479 |
+
],
|
| 1480 |
+
"page_idx": 14
|
| 1481 |
+
},
|
| 1482 |
+
{
|
| 1483 |
+
"type": "text",
|
| 1484 |
+
"text": "(d) Original, M2O ",
|
| 1485 |
+
"bbox": [
|
| 1486 |
+
444,
|
| 1487 |
+
849,
|
| 1488 |
+
557,
|
| 1489 |
+
862
|
| 1490 |
+
],
|
| 1491 |
+
"page_idx": 14
|
| 1492 |
+
},
|
| 1493 |
+
{
|
| 1494 |
+
"type": "text",
|
| 1495 |
+
"text": "this improvement is partially offset by the oversampling strategy. We observe that the success of oversampling is built on top of sacrificing quality on high-resource languages, where CLSR largely narrows or even closes the performance gap against the multilingual baseline trained on the original ",
|
| 1496 |
+
"bbox": [
|
| 1497 |
+
176,
|
| 1498 |
+
882,
|
| 1499 |
+
825,
|
| 1500 |
+
924
|
| 1501 |
+
],
|
| 1502 |
+
"page_idx": 14
|
| 1503 |
+
},
|
| 1504 |
+
{
|
| 1505 |
+
"type": "image",
|
| 1506 |
+
"img_path": "images/cccc314c3a7e3af4ea3b308028ce66780034863340fd07ae1f616c8f1721e83b.jpg",
|
| 1507 |
+
"image_caption": [
|
| 1508 |
+
"Figure 7: Impact of the budget $p$ on average test BLEU for High/Med/Low-resource languages on OPUS-100. "
|
| 1509 |
+
],
|
| 1510 |
+
"image_footnote": [],
|
| 1511 |
+
"bbox": [
|
| 1512 |
+
186,
|
| 1513 |
+
133,
|
| 1514 |
+
818,
|
| 1515 |
+
455
|
| 1516 |
+
],
|
| 1517 |
+
"page_idx": 15
|
| 1518 |
+
},
|
| 1519 |
+
{
|
| 1520 |
+
"type": "text",
|
| 1521 |
+
"text": "data. In addition, we find no significant difference in term of the trade-off curve across resource groups compared to Figure 2. ",
|
| 1522 |
+
"bbox": [
|
| 1523 |
+
173,
|
| 1524 |
+
493,
|
| 1525 |
+
823,
|
| 1526 |
+
522
|
| 1527 |
+
],
|
| 1528 |
+
"page_idx": 15
|
| 1529 |
+
},
|
| 1530 |
+
{
|
| 1531 |
+
"type": "text",
|
| 1532 |
+
"text": "Figure 6 shows the heatmaps for LSScore distribution. Regardless of translation directions (O2M or M2O) and data settings (Original or Oversample), there is no clear linguistic pattern behind these heatmaps. The learning of CLSR is not linguistic driven. ",
|
| 1533 |
+
"bbox": [
|
| 1534 |
+
173,
|
| 1535 |
+
529,
|
| 1536 |
+
825,
|
| 1537 |
+
571
|
| 1538 |
+
],
|
| 1539 |
+
"page_idx": 15
|
| 1540 |
+
},
|
| 1541 |
+
{
|
| 1542 |
+
"type": "text",
|
| 1543 |
+
"text": "C MORE RESULTS ON WMT-14 ",
|
| 1544 |
+
"text_level": 1,
|
| 1545 |
+
"bbox": [
|
| 1546 |
+
176,
|
| 1547 |
+
606,
|
| 1548 |
+
454,
|
| 1549 |
+
622
|
| 1550 |
+
],
|
| 1551 |
+
"page_idx": 15
|
| 1552 |
+
},
|
| 1553 |
+
{
|
| 1554 |
+
"type": "table",
|
| 1555 |
+
"img_path": "images/2735b2ba80e203199f938d5109429871fcbb04cc2eeb7e122d93e90d2a6d8fb9.jpg",
|
| 1556 |
+
"table_caption": [
|
| 1557 |
+
"Table 5: Selected sub-layers by Dedicated on WMT-14. "
|
| 1558 |
+
],
|
| 1559 |
+
"table_footnote": [],
|
| 1560 |
+
"table_body": "<table><tr><td rowspan=\"3\">Data Setting</td><td colspan=\"4\">Encoder</td><td colspan=\"6\">Decoder</td></tr><tr><td colspan=\"2\">Bottom</td><td colspan=\"2\">Top</td><td colspan=\"3\">Bottom</td><td colspan=\"3\">Top</td></tr><tr><td>SAN</td><td>FFN</td><td>SAN</td><td>FFN</td><td>SAN</td><td>CAN</td><td>FFN</td><td>SAN</td><td>CAN</td><td>FFN</td></tr><tr><td>Original, O2M Original, M20</td><td></td><td>·</td><td></td><td>√</td><td>·</td><td></td><td>√</td><td>·</td><td>√</td><td>√</td></tr><tr><td></td><td>√</td><td></td><td></td><td></td><td></td><td>√</td><td></td><td></td><td></td><td>√</td></tr><tr><td>Oversample, O2M</td><td></td><td>√</td><td></td><td>1</td><td>√</td><td>·</td><td></td><td>、</td><td>专</td><td>·</td></tr><tr><td>Oversample, M20</td><td>√</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr></table>",
|
| 1561 |
+
"bbox": [
|
| 1562 |
+
176,
|
| 1563 |
+
686,
|
| 1564 |
+
825,
|
| 1565 |
+
818
|
| 1566 |
+
],
|
| 1567 |
+
"page_idx": 15
|
| 1568 |
+
},
|
| 1569 |
+
{
|
| 1570 |
+
"type": "text",
|
| 1571 |
+
"text": "We show more results on WMT-14 here. Both heatmaps in Figure 9 and fine-grained trade-off curves in Figure 8 show a very similar story to the one on OPUS-100. In terms of LSScore distribution in Figure 10(d), we also have similar observation except that the cross-attention sub-layer in the decoder on M2O shows no clear LS preference. ",
|
| 1572 |
+
"bbox": [
|
| 1573 |
+
174,
|
| 1574 |
+
845,
|
| 1575 |
+
825,
|
| 1576 |
+
902
|
| 1577 |
+
],
|
| 1578 |
+
"page_idx": 15
|
| 1579 |
+
},
|
| 1580 |
+
{
|
| 1581 |
+
"type": "text",
|
| 1582 |
+
"text": "These results suggest the high generalization of CLSR to different data settings. ",
|
| 1583 |
+
"bbox": [
|
| 1584 |
+
173,
|
| 1585 |
+
909,
|
| 1586 |
+
696,
|
| 1587 |
+
924
|
| 1588 |
+
],
|
| 1589 |
+
"page_idx": 15
|
| 1590 |
+
},
|
| 1591 |
+
{
|
| 1592 |
+
"type": "image",
|
| 1593 |
+
"img_path": "images/20911aad6951714ef7b7028b56356b7fe989778ac2495d8320106b9f442884d5.jpg",
|
| 1594 |
+
"image_caption": [
|
| 1595 |
+
"Figure 8: Impact of the budget $p$ on average test BLEU for High/Med/Low-resource languages on WMT-14. "
|
| 1596 |
+
],
|
| 1597 |
+
"image_footnote": [],
|
| 1598 |
+
"bbox": [
|
| 1599 |
+
186,
|
| 1600 |
+
133,
|
| 1601 |
+
818,
|
| 1602 |
+
457
|
| 1603 |
+
],
|
| 1604 |
+
"page_idx": 16
|
| 1605 |
+
},
|
| 1606 |
+
{
|
| 1607 |
+
"type": "image",
|
| 1608 |
+
"img_path": "images/229ecac8453e228c87d02ddf975425331c98d3f2ced9da2fc0d79aeedcec6f98.jpg",
|
| 1609 |
+
"image_caption": [
|
| 1610 |
+
"Figure 9: Heatmap of LSScore distribution on WMT-14. "
|
| 1611 |
+
],
|
| 1612 |
+
"image_footnote": [],
|
| 1613 |
+
"bbox": [
|
| 1614 |
+
209,
|
| 1615 |
+
523,
|
| 1616 |
+
789,
|
| 1617 |
+
872
|
| 1618 |
+
],
|
| 1619 |
+
"page_idx": 16
|
| 1620 |
+
},
|
| 1621 |
+
{
|
| 1622 |
+
"type": "image",
|
| 1623 |
+
"img_path": "images/ee3f70090470dcd42c99f6aefa855e6eeb9975441070c96a09f8855f4538bd14.jpg",
|
| 1624 |
+
"image_caption": [
|
| 1625 |
+
"Figure 10: LSScore of encoder and decoder sub-layers for O2M 10(a), 10(b) and M2O 10(c), 10(d) on WMT14. "
|
| 1626 |
+
],
|
| 1627 |
+
"image_footnote": [],
|
| 1628 |
+
"bbox": [
|
| 1629 |
+
181,
|
| 1630 |
+
109,
|
| 1631 |
+
830,
|
| 1632 |
+
237
|
| 1633 |
+
],
|
| 1634 |
+
"page_idx": 17
|
| 1635 |
+
},
|
| 1636 |
+
{
|
| 1637 |
+
"type": "table",
|
| 1638 |
+
"img_path": "images/62a480692d68c125aa0a96b90baf788ba3d6a792080fc5e803457c004430f945.jpg",
|
| 1639 |
+
"table_caption": [
|
| 1640 |
+
"Table 6: Number of parameters for each model on OPUS-100 and WMT-14. "
|
| 1641 |
+
],
|
| 1642 |
+
"table_footnote": [],
|
| 1643 |
+
"table_body": "<table><tr><td rowspan=\"2\">Model</td><td colspan=\"2\">OPUS-100</td><td colspan=\"2\">WMT-14</td></tr><tr><td>02M</td><td>M20</td><td>02M</td><td>M20</td></tr><tr><td>Baseline</td><td colspan=\"2\">99M</td><td colspan=\"2\">106M</td></tr><tr><td>LS</td><td colspan=\"2\">129M</td><td colspan=\"2\">111M</td></tr><tr><td>CLSR-S</td><td colspan=\"2\">102M</td><td colspan=\"2\">109M</td></tr><tr><td>CLSR-L</td><td colspan=\"2\">148M</td><td colspan=\"2\">111M</td></tr><tr><td>CLSR*</td><td colspan=\"2\">157M</td><td colspan=\"2\">121M</td></tr><tr><td></td><td colspan=\"2\">153M</td><td colspan=\"2\"></td></tr><tr><td>Top-Bottom Dedicated (Original)</td><td>153M</td><td>154M</td><td>116M 117M</td><td>117M</td></tr><tr><td>Dedicated (Oversample)</td><td>154M</td><td>155M</td><td>117M</td><td>117M</td></tr></table>",
|
| 1644 |
+
"bbox": [
|
| 1645 |
+
289,
|
| 1646 |
+
310,
|
| 1647 |
+
707,
|
| 1648 |
+
478
|
| 1649 |
+
],
|
| 1650 |
+
"page_idx": 17
|
| 1651 |
+
},
|
| 1652 |
+
{
|
| 1653 |
+
"type": "text",
|
| 1654 |
+
"text": "D MODEL PARAMETERS ",
|
| 1655 |
+
"text_level": 1,
|
| 1656 |
+
"bbox": [
|
| 1657 |
+
174,
|
| 1658 |
+
502,
|
| 1659 |
+
393,
|
| 1660 |
+
518
|
| 1661 |
+
],
|
| 1662 |
+
"page_idx": 17
|
| 1663 |
+
},
|
| 1664 |
+
{
|
| 1665 |
+
"type": "text",
|
| 1666 |
+
"text": "We list model parameters in Table 6. Note that the source/target vocabulary for O2M is the same as the target/source vocabulary for M2O, thus models for O2M and M2O have the same number of trainable parameters except for Dedicated where the network structure differs. ",
|
| 1667 |
+
"bbox": [
|
| 1668 |
+
174,
|
| 1669 |
+
534,
|
| 1670 |
+
825,
|
| 1671 |
+
575
|
| 1672 |
+
],
|
| 1673 |
+
"page_idx": 17
|
| 1674 |
+
},
|
| 1675 |
+
{
|
| 1676 |
+
"type": "text",
|
| 1677 |
+
"text": "E ABLATION STUDY ",
|
| 1678 |
+
"text_level": 1,
|
| 1679 |
+
"bbox": [
|
| 1680 |
+
176,
|
| 1681 |
+
595,
|
| 1682 |
+
357,
|
| 1683 |
+
613
|
| 1684 |
+
],
|
| 1685 |
+
"page_idx": 17
|
| 1686 |
+
},
|
| 1687 |
+
{
|
| 1688 |
+
"type": "text",
|
| 1689 |
+
"text": "We provide two variants of CLSR for ablation. The first one examines whether CLSR could induce an optimal budget automatically by eschewing the budget constraint in Eq. 6 (CLSR w/o $p$ ); the second one further replaces the hard gating network with a vanilla soft gating network (CLSR-Gate). ",
|
| 1690 |
+
"bbox": [
|
| 1691 |
+
176,
|
| 1692 |
+
627,
|
| 1693 |
+
823,
|
| 1694 |
+
670
|
| 1695 |
+
],
|
| 1696 |
+
"page_idx": 17
|
| 1697 |
+
},
|
| 1698 |
+
{
|
| 1699 |
+
"type": "text",
|
| 1700 |
+
"text": "Table 7 summarizes the translation results. Without the regularization term, CLSR w/o $p$ yields an average gating value of 0.37/0.16 and 0.39/0.19 for O2M/M2O on OPUS-100 and WMT-14, respectively9, resonating with our finding that O2M requires more LS capacity compared to M2O. Compared to $\\mathrm { C L S R ^ { \\star } }$ , CLSR w/o $p$ produces more open gates, achieving comparable but overall worse performance in all data settings. This highlights the importance of the added regularization term, where without such regularization the model is likely spending extra learning cycles to automatically optimize for the budget as with CLSR w/o $p$ . This in return hints at the importance of optimization routines (learning) which we held constant in this study. ",
|
| 1701 |
+
"bbox": [
|
| 1702 |
+
174,
|
| 1703 |
+
676,
|
| 1704 |
+
825,
|
| 1705 |
+
787
|
| 1706 |
+
],
|
| 1707 |
+
"page_idx": 17
|
| 1708 |
+
},
|
| 1709 |
+
{
|
| 1710 |
+
"type": "text",
|
| 1711 |
+
"text": "By contrast, switching to soft gating network, CLSR-Gate gains translation quality in most settings, although the quality gains are mostly less than 0.1 compared to $\\mathrm { C L S R ^ { \\star } }$ . Note that, CLSR-Gate relies on continuous gates, indicating a much higher flexibility in balancing parameter sharing patterns. However, we also notice that CLSR-Gate performs worse on M2O, even fails to beat the vanilla Baseline (All) on the oversampled WMT-14. Unlike CLSR-Gate, $\\mathrm { C L S R ^ { \\star } }$ uses hard binary gates which eases capacity analysis and achieves consistent improvements across data settings. ",
|
| 1712 |
+
"bbox": [
|
| 1713 |
+
174,
|
| 1714 |
+
795,
|
| 1715 |
+
825,
|
| 1716 |
+
878
|
| 1717 |
+
],
|
| 1718 |
+
"page_idx": 17
|
| 1719 |
+
},
|
| 1720 |
+
{
|
| 1721 |
+
"type": "table",
|
| 1722 |
+
"img_path": "images/64d059cfab045f96131d2aee3610b07b2c3ab1a616e75f3e2ce49deecac2f5fd.jpg",
|
| 1723 |
+
"table_caption": [
|
| 1724 |
+
"Table 7: Translation quality for O2M and M2O on OPUS-100 and WMT-14 with the original and oversampled training data. CLSR-Gate: CLSR with $g ( \\mathbf { z } ^ { l } )$ a normal soft gating network; CLSR w/o $p$ : CLSR trained without budget constraint. "
|
| 1725 |
+
],
|
| 1726 |
+
"table_footnote": [],
|
| 1727 |
+
"table_body": "<table><tr><td rowspan=\"2\">Data Setting</td><td rowspan=\"2\">Model</td><td rowspan=\"2\">#Param</td><td colspan=\"5\">02M</td><td colspan=\"5\">M20</td></tr><tr><td>High</td><td>Med</td><td>Low</td><td>All</td><td>WR</td><td>High</td><td>Med</td><td>Low</td><td>All</td><td>WR</td></tr><tr><td colspan=\"10\">OPUS-100</td><td></td><td></td><td></td></tr><tr><td rowspan=\"4\">Original</td><td>Baseline CLSR*</td><td>99M 157M</td><td>21.39 +1.45</td><td>22.36 +2.83</td><td>18.02 +6.40</td><td>20.93 +2.97</td><td>- 95.74</td><td>28.55 +0.65</td><td>30.10 +1.52</td><td>29.71 +3.79</td><td>29.27 +1.61</td><td>- 96.81</td></tr><tr><td>CLSR w/o p</td><td>157M</td><td>+1.37</td><td>+2.77</td><td>+6.28</td><td>+2.88</td><td>96.81</td><td>+0.53</td><td>+1.27</td><td>+3.17</td><td>+1.34</td><td>90.43</td></tr><tr><td>CLSR-Gate Baseline</td><td>157M</td><td>+1.55</td><td>+3.13</td><td>+6.21</td><td>+3.06</td><td>97.87</td><td>+0.74</td><td>+1.62</td><td>+2.87</td><td>+1.48</td><td>93.62</td></tr><tr><td>CLSR* CLSR w/o p</td><td>99M 157M 157M</td><td>19.95 +1.76 +1.72</td><td>24.22 +2.04 +1.92</td><td>25.27 +1.94 +2.06</td><td>22.41 +1.89 +1.86</td><td>- 93.62 97.87</td><td>26.98 +0.82 +0.73</td><td>30.69 +0.84 +0.56</td><td>34.26 -0.13 -1.10</td><td>29.71 +0.62 +0.27</td><td>- 76.60 71.28</td></tr><tr><td>WMT-14</td><td>CLSR-Gate</td><td>157M</td><td>+2.00</td><td>+2.24</td><td>+2.35</td><td>+2.15</td><td>97.87</td><td>+1.12</td><td>+1.28</td><td>-1.04</td><td>+0.68</td><td>79.79</td></tr><tr><td rowspan=\"4\">Original</td><td>Baseline</td><td>106M</td><td>27.24</td><td>16.27</td><td>8.72</td><td>17.58</td><td></td><td>30.64</td><td>24.37</td><td>18.66</td><td>24.58</td><td></td></tr><tr><td>CLSR*</td><td>121M</td><td>+0.46</td><td>+1.46</td><td>+3.10</td><td>+1.71</td><td>100.0</td><td>+0.12</td><td>+0.73</td><td>+1.52</td><td>+0.80</td><td>84.62</td></tr><tr><td>CLSR w/o p CLSR-Gate</td><td>121M</td><td>+0.32</td><td>+1.23</td><td>+3.00</td><td>+1.57</td><td>100.0</td><td>-0.04</td><td>+0.56</td><td>+1.72</td><td>+0.78</td><td>76.92</td></tr><tr><td>Baseline</td><td>121M</td><td>+0.46</td><td>+1.43</td><td>+3.14</td><td>+1.72</td><td>100.0</td><td>+0.02</td><td>+0.73</td><td>+1.68</td><td>+0.83</td><td>84.62</td></tr><tr><td rowspan=\"4\">Over Sample</td><td>CLSR*</td><td>106M 121M</td><td>26.10 +0.50</td><td>19.00 +0.67</td><td>15.52 +0.64</td><td>20.39</td><td>=</td><td>29.96 +0.26</td><td>26.33</td><td>23.56 +0.50</td><td>26.66 +0.36</td><td>-</td></tr><tr><td>CLSR w/o p</td><td></td><td></td><td></td><td></td><td>+0.59</td><td>100.0</td><td></td><td>+0.30</td><td></td><td></td><td>100.0</td></tr><tr><td>CLSR-Gate</td><td>121M</td><td>+0.48</td><td>+0.63</td><td>+0.66</td><td>+0.59</td><td>100.0</td><td>+0.02</td><td>+0.24</td><td>-0.12</td><td>+0.02</td><td>38.46</td></tr><tr><td></td><td>121M</td><td>+0.52</td><td>+0.77</td><td>+0.78</td><td>+0.68</td><td>100.0</td><td>+0.14</td><td>+0.30</td><td>-0.64</td><td>-0.12</td><td>61.54</td></tr></table>",
|
| 1728 |
+
"bbox": [
|
| 1729 |
+
174,
|
| 1730 |
+
356,
|
| 1731 |
+
825,
|
| 1732 |
+
632
|
| 1733 |
+
],
|
| 1734 |
+
"page_idx": 18
|
| 1735 |
+
}
|
| 1736 |
+
]
|
parse/train/Wj4ODo0uyCF/Wj4ODo0uyCF_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Wj4ODo0uyCF/Wj4ODo0uyCF_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/ZKbZ4mebI9l/ZKbZ4mebI9l.md
ADDED
|
@@ -0,0 +1,340 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Reconstruction for Powerful Graph Representations
|
| 2 |
+
|
| 3 |
+
Leonardo Cotta Purdue University cotta@purdue.edu
|
| 4 |
+
|
| 5 |
+
Christopher Morris Mila – Quebec AI Institute, McGill University chris@christophermorris.info
|
| 6 |
+
|
| 7 |
+
Bruno Ribeiro Purdue University ribeiro@cs.purdue.edu
|
| 8 |
+
|
| 9 |
+
# Abstract
|
| 10 |
+
|
| 11 |
+
Graph neural networks (GNNs) have limited expressive power, failing to represent many graph classes correctly. While more expressive graph representation learning (GRL) alternatives can distinguish some of these classes, they are significantly harder to implement, may not scale well, and have not been shown to outperform well-tuned GNNs in real-world tasks. Thus, devising simple, scalable, and expressive GRL architectures that also achieve real-world improvements remains an open challenge. In this work, we show the extent to which graph reconstruction—reconstructing a graph from its subgraphs—can mitigate the theoretical and practical problems currently faced by GRL architectures. First, we leverage graph reconstruction to build two new classes of expressive graph representations. Secondly, we show how graph reconstruction boosts the expressive power of any GNN architecture while being a (provably) powerful inductive bias for invariances to vertex removals. Empirically, we show how reconstruction can boost GNN’s expressive power—while maintaining its invariance to permutations of the vertices—by solving seven graph property tasks not solvable by the original GNN. Further, we demonstrate how it boosts state-of-the-art GNN’s performance across nine real-world benchmark datasets.
|
| 12 |
+
|
| 13 |
+
# 1 Introduction
|
| 14 |
+
|
| 15 |
+
Supervised machine learning for graph-structured data, i.e., graph classification and regression, is ubiquitous across application domains ranging from chemistry and bioinformatics [8, 94] to image [89], and social network analysis [33]. Consequently, machine learning on graphs is an active research area with numerous proposed approaches—notably GNNs [21, 42, 45] being the most representative case of GRL methods.
|
| 16 |
+
|
| 17 |
+
Arguably, GRL’s most interesting results arise from a cross-over between graph theory and representation learning. For instance, the representational limits of GNNs are upper-bounded by a simple heuristic for the graph isomorphism problem [78, 105], the 1-dimensional Weisfeiler-Leman algorithm (1- WL) [44, 73, 75, 101, 102], which might miss crucial structural information in the data [5]. Further works show how GNNs cannot approximate graph properties such as diameter, radius, girth, and subgraph counts [25, 38], inspiring architectures [6, 66, 77, 78] based on the more powerful $\kappa$ -dimensional Weisfeiler-Leman algorithm ( $\kappa$ -WL) [44].1 On the other hand, despite the limited expressiveness of GNNs, they still can overfit the training data, offering limited generalization performance [105]. Hence, devising GRL architectures that are simultaneously sufficiently expressive and avoid overfitting remains an open problem.
|
| 18 |
+
|
| 19 |
+
An under-explored connection between graph theory and GRL is graph reconstruction, which studies graphs and graph properties uniquely determined by their subgraphs. In this direction, both the pioneering work of Shawe-Taylor [88] and the more recent work of Bouritsas et al. [18], show that assuming the reconstruction conjecture (see Conjecture 1) holds, their models are most-expressive representations (universal approximators) of graphs. Unfortunately, Shawe-Taylor’s computational graph grows exponentially with the number of vertices, and Bouritsas et al.’s full representation power requires performing multiple graph isomorphism tests on potentially large graphs (with $n - 1$ vertices). Moreover, these methods were not inspired by the more general subject of graph reconstruction; instead, they rely on the reconstruction conjecture to prove their architecture’s expressive powers.
|
| 20 |
+
|
| 21 |
+
Contributions. In this work, we directly connect graph reconstruction to GRL. We first show how the $k$ -reconstruction of graphs—reconstruction from induced $k$ -vertex subgraphs—induces a natural class of expressive GRL architectures for supervised learning with graphs, denoted $k$ -Reconstruction Neural Networks. We then show how several existing works have their expressive power limited by $k$ -reconstruction. Further, we show how the reconstruction conjecture’s insights lead to a provably most expressive representation of graphs. Unlike Shawe-Taylor [88] and Bouritsas et al. [18], which, for graph tasks, require fixed-size unattributed graphs and multiple (large) graph isomorphism tests, respectively, our method represents bounded-size graphs with vertex attributes and does not rely on isomorphism tests.
|
| 22 |
+
|
| 23 |
+
To make our models scalable, we propose $k$ -Reconstruction GNNs, a general tool for boosting the expressive power and performance of GNNs with graph reconstruction. Theoretically, we characterize their expressive power showing that $k$ -Reconstruction GNNs can distinguish graph classes that the 1-WL and 2-WL cannot, such as cycle graphs and strongly regular graphs, respectively. Further, to explain gains in real-world tasks, we show how reconstruction can act as a lower-variance risk estimator when the graph-generating distribution is invariant to vertex removals. Empirically, we show that reconstruction enhances GNNs’ expressive power, making them solve multiple synthetic graph property tasks in the literature not solvable by the original GNN. On real-world datasets, we show that the increase in expressive power coupled with the lower-variance risk estimator boosts GNNs’ performance up to $2 5 \%$ . Our combined theoretical and empirical results make another important connection between graph theory and GRL.
|
| 24 |
+
|
| 25 |
+
# 1.1 Related work
|
| 26 |
+
|
| 27 |
+
We review related work from GNNs, their limitations, data augmentation, and the reconstruction conjecture in the following. See Appendix A for a more detailed discussion.
|
| 28 |
+
|
| 29 |
+
GNNs. Notable instances of this architecture include, e.g., [31, 47, 97], and the spectral approaches proposed in, e.g., [19, 30, 56, 72]—all of which descend from early work in [10, 57, 69, 70, 71, 87, 90]. Aligned with the field’s recent rise in popularity, there exists a plethora of surveys on recent advances in GNN methods. Some of the most recent ones include [21, 104, 114].
|
| 30 |
+
|
| 31 |
+
Limits of GNNs. Recently, connections to Weisfeiler-Leman type algorithms have been shown [9, 27, 39, 40, 64, 66, 77, 78, 105]. Specifically, the authors of [78, 105] show how the 1-WL limits the expressive power of any possible GNN architecture. Morris et al. [78] introduce $\kappa$ -dimensional GNNs which rely on a more expressive message-passing scheme between subgraphs of cardinality $\kappa$ . Later, this was refined in [6, 66] and in [76] by deriving models equivalent to the more powerful $\kappa$ -dimensional Weisfeiler-Leman algorithm. Chen et al. [27] connect the theory of universal approximation of permutation-invariant functions and graph isomorphism testing, further introducing a variation of the 2- WL. Recently, a large body of work propose enhancements to GNNs, e.g., see [3, 11, 14, 18, 80, 98, 109], making them more powerful than the 1-WL; see [75] for a survey and see Appendix A for a in-depth discussion. For clarity, throughout this work, we will use the term GNNs to denote the class of message-passing architectures limited by the 1-WL algorithm, where the class of distinguishable graphs is well understood [5].
|
| 32 |
+
|
| 33 |
+
Data augmentation, generalization and subgraph-based inductive biases. There exist few works proposing data augmentation for GNNs for graph classification. Kong et al. [59] introduces a simple feature perturbation framework to achieve this, while Rong et al. [85], Feng et al. [34] focus on vertex-level tasks. Garg et al. [38] study the generalization abilities of GNNs showing bounds on the Rademacher complexity, while Liao et al. [62] offer a refined analysis within the PAC-Bayes framework. Recently, Bouritsas et al. [18] proposed to use subgraph counts as vertex and edge features in GNNs.
|
| 34 |
+
|
| 35 |
+

|
| 36 |
+
Figure 1: A graph $G$ and its deck ${ \mathcal { D } } _ { n - 1 } ( G )$ , faded out vertices are not part of each card in the deck.
|
| 37 |
+
|
| 38 |
+
Although the authors show an increase in expressiveness, the extent, e.g., which graph classes their model can distinguish, is still mostly unclear. Moreover, Yehudai et al. [107] investigate GNNs’ ability to generalize to larger graphs. Concurrently, Bevilacqua et al. [12] show how subgraph densities can be used to build size-invariant graph representations. However, the performance of such models in in-distribution tasks, their expressiveness, and scalability remain unclear. Finally, Yuan et al. [111] show how GNNs’ decisions can be explained by (often large) subgraphs, further motivating our use of graph reconstruction as a powerful inductive bias for GRL.
|
| 39 |
+
|
| 40 |
+
Reconstruction conjecture. The reconstruction conjecture is a longstanding open problem in graph theory, which has been solved in many particular settings. Such results come in two flavors. Either proving that graphs from a specific class are reconstructible or determining which graph functions are reconstructible. Known results of the former are, for instance, that regular graphs, disconnected graphs, and trees are reconstructible [16, 53]. In particular, we highlight that outerplanar graphs, which account for most molecule graphs, are known to be reconstructible [41]. For a comprehensive review of graph reconstruction results, see Bondy [16].
|
| 41 |
+
|
| 42 |
+
# 2 Preliminaries
|
| 43 |
+
|
| 44 |
+
Here, we introduce notation and give an overview of the main results in graph reconstruction theory [16, 43], including the reconstruction conjecture [96], which forms the basis of the models in this work.
|
| 45 |
+
|
| 46 |
+
Notation and definitions. As usual, let $[ n ] = \left\{ 1 , \dots , n \right\} \subset \mathbb { N }$ for $n \geq 1$ , and let $\mathbb { f } \dots \mathbb { Y }$ denote a multiset. In an abuse of notation, for a set $X$ with $x$ in $X$ , we denote by $X - x$ the set $X { \bar { \backslash } } \left\{ x \right\}$ . We also assume elementary definitions from graph theory, such as graphs, directed graphs, vertices, edges, neighbors, trees, isomorphism, et cetera; see Appendix B. The vertex and the edge set of a graph $G$ are denoted by $V ( G )$ and $E ( G )$ , respectively. The size of a graph $G$ is equal to its number of vertices. Unless indicated otherwise, we use $n : = | V ( G ) |$ . If not otherwise stated, we assume that vertices and edges are annoted with attributes, i.e., real-valued vectors.
|
| 47 |
+
|
| 48 |
+
We denote the set of all finite and simple graphs by $\mathcal { G }$ . The subset of $\mathcal { G }$ without edge attributes (or edge directions) is denoted ${ \mathfrak { G } } \subset { \mathcal { G } }$ . We write $G \simeq H$ if the graphs $G$ and $H$ are isomorphic. Further, we denote the isomorphism type, i.e., the equivalence class of the isomorphism relation, of a graph $G$ a s ${ \mathcal { T } } ( G )$ . Let $S \subseteq V ( G )$ , then $G [ S ]$ is the induced subgraph with edge set $E ( G ) [ S ] = \{ S ^ { \tilde { 2 } } \cap ^ { } E ( G ) \}$ We will refer to induced subgraphs simply as subgraphs in this work.
|
| 49 |
+
|
| 50 |
+
Let $\Re$ be a family of graph representations, such that for $d \ge 1$ , $r$ in $\Re$ , $r \colon \mathcal { G } \mathbb { R } ^ { d }$ , assigns a $d$ -dimensional representation vector $r ( G )$ for a graph $G$ in $\mathcal { G }$ . We say $\Re$ can distinguish a graph $G$ if there exists $r$ in $\Re$ that assigns a unique representation to the isomorphism type of $G$ , i.e., $r ( G ) = r ( H )$ if and only if $G \simeq H$ . Further, we say $\Re$ distinguishes a pair of non-isomorphic graphs $G$ and $H$ if there exists some $r$ in $\Re$ such that $r ( G ) \neq r ( H )$ . Moreover, we write $\Re _ { 1 } \preceq \Re _ { 2 }$ if $\Re _ { 2 }$ distinguishes between all graphs $\Re _ { 1 }$ does, and $\Re _ { 1 } \equiv \Re _ { 2 }$ if both directions hold. The corresponding strict relation is denoted by $\prec$ . Finally, we say $\Re$ is a most-expressive representation of a class of graphs if it distinguishes all non-isomorphic graphs in that class.
|
| 51 |
+
|
| 52 |
+
Graph reconstruction. Intuitively, the reconstruction conjecture states that an undirected edgeunattributed graph can be fully recovered up to its isomorphism type given the multiset of its vertexdeleted subgraphs’ isomorphism types. This multiset of subgraphs is usually referred to as the deck of the graph, see Figure 1 for an illustration. Formally, for a graph $G$ , we define its deck as ${ \mathcal { D } } _ { n - 1 } ( G ) = \left\{ \left\{ { G } [ V ( G ) - v ] ) \colon v \in V ( G ) \right\} \right\}$ . We often call an element in ${ \mathcal { D } } _ { n - 1 } ( G )$ a card. We define the graph reconstruction problem as follows.
|
| 53 |
+
|
| 54 |
+
Definition 1. Let $G$ and $H$ be graphs, then $H$ is a reconstruction of $G$ if $H$ and $G$ have the same deck, denoted $H \sim G$ . $A$ graph $G$ is reconstructible if every reconstruction of $G$ is isomorphic to $G _ { : }$ , i.e., $H \sim G$ implies $H \simeq G$ .
|
| 55 |
+
|
| 56 |
+
Similarly, we define function reconstruction, which relates functions that map two graphs to the same value if they have the same deck.
|
| 57 |
+
|
| 58 |
+
Definition 2. Let $f \colon { \mathcal { G } } { \mathcal { V } }$ be a function, then $f$ is reconstructible if $f ( G ) = f ( H )$ for all graphs in $\{ ( H , G ) \in \mathcal { G } ^ { 2 } : H \sim G \}$ , i.e., $G \sim H$ implies ${ \dot { f } } ( G ) = f ( H )$ .
|
| 59 |
+
|
| 60 |
+
We can now state the reconstruction conjecture, which in short says that every $G$ in $\mathfrak { G }$ with $| V | \geq 3$ is reconstructible.
|
| 61 |
+
|
| 62 |
+
Conjecture 1 (Kelly [52], Ulam [96]). Let $H$ and $G$ in $\mathfrak { G }$ be two finite, undirected, simple graphs with at least three vertices. If $H$ is a reconstruction of $G$ , then $H$ and $G$ are isomorphic.
|
| 63 |
+
|
| 64 |
+
We note here that the reconstruction conjecture does not hold for directed graphs, hypergraphs, and infinite graphs [16, 92, 93]. In particular, edge directions can be seen as edge attributes. Thus, the reconstruction conjecture does not hold for the class $\mathcal { G }$ . In contrast, the conjecture has been proved for practical-relevant graph classes, such as disconnected graphs, regular graphs, trees, and outerplanar graphs [16]. Further, computational searches show that graphs with up to eleven vertices are reconstructible [68]. Finally, many graph properties are known to be reconstructible, such as every size subgraph count, degree sequence, number of edges, and the characteristic polynomial [16].
|
| 65 |
+
|
| 66 |
+
Graph $k$ -reconstruction. Kelly et al. [53] generalized graph reconstruction, considering the multiset of subgraphs of size $k$ instead of $n - 1$ , which we denote ${ \mathcal { D } } _ { k } ( G ) = \{ \{ { \mathcal { T } } ( H ) \colon H \in S ^ { ( k ) } ( G ) \} \}$ , where $\mathcal { S } ^ { ( k ) }$ is the set of all $\binom { n } { k }$ $k$ -size subsets of $V$ . We often call an element in $\mathcal { D } _ { k } ( G )$ a $k$ -card. From the $k$ -deck definition, it is easy to extend the concept of graph and function reconstruction, cf. Definitions 1 and 2, to graph and function $k$ -reconstruction.
|
| 67 |
+
|
| 68 |
+
Definition 3. Let $G$ and $H$ be graphs, then $H$ is a $k$ -reconstruction of $G$ if $H$ and $G$ have the same $k$ -deck, denoted $H \sim _ { k } G .$ . A graph $G$ is $k$ -reconstructible if every $k$ -reconstruction of $G$ is isomorphic to $G$ , i.e., $H \sim _ { k } G$ implies $H \simeq G$ .
|
| 69 |
+
|
| 70 |
+
Accordingly, we define $k$ -function reconstruction as follows.
|
| 71 |
+
|
| 72 |
+
Definition 4. Let $f \colon { \mathcal { G } } { \mathcal { V } }$ be a function, then $f$ is $k$ -reconstructible if $f ( G ) = f ( H )$ for all graphs in $\{ ( H , G ) \in \mathcal { G } ^ { 2 } : H \sim _ { k } G \}$ , i.e., $G \sim _ { k } H$ implies $f ( G ) = f ( H )$ .
|
| 73 |
+
|
| 74 |
+
Results for $k$ -reconstruction usually state the least $k$ as a function of $n$ such that all graphs $G$ in $\mathcal { G }$ (or some subset) are $k$ -reconstructible [84]. There exist extensive partial results in this direction, mostly describing $k$ -reconstructibility (as a function of $n$ ) for a particular family of graphs, such as trees, disconnected graphs, complete multipartite graphs, and paths, see [84, 60]. More concretely, Nydl \` [83], Spinoza and West [91] showed graphs with $2 k$ vertices that are not $k$ -reconstructible. In practice, these results imply that for some fixed $k$ there will be graphs with not many more vertices than $k$ that are not $k$ -reconstructible. Further, $k$ -reconstructible graph functions such as degree sequence and connectedness have been studied in [65, 91] depending on the size of $k$ . In Appendix C, we discuss further such results.
|
| 75 |
+
|
| 76 |
+
# 3 Reconstruction Neural Networks
|
| 77 |
+
|
| 78 |
+
Building on the previous section, we propose two neural architectures based on graph $k$ -reconstruction and graph reconstruction. First, we look at $k$ -Reconstruction Neural Networks, the most natural way to use graph $k$ -reconstruction. Secondly, we look at Full Reconstruction Neural Networks, where we leverage the Reconstruction Conjecture to build a most-expressive representation for the class of graphs of bounded size and unattributed edges.
|
| 79 |
+
|
| 80 |
+
$k$ -Reconstruction Neural Networks. Intuitively, the key idea of $k$ -Reconstruction Neural Networks is that of learning a joint representation based on subgraphs induced by $k$ vertices. Formally, let $f _ { \mathbf { W } } \colon \cup _ { m = 1 } ^ { \infty } \mathbb { R } ^ { m \times \breve { d } } \overline { { \mathbb { R } } } ^ { t }$ be a (row-wise) permutation-invariant function and $\mathcal { G } _ { k } = \{ G \in \mathcal { G } \colon | V ( \dot { G } ) | =$ $k \}$ be the set of graphs with exactly $k$ vertices. Further, let $h ^ { ( k ) }$ : $\mathcal { G } _ { k } \mathbb { R } ^ { 1 \times d }$ be a graph representation function such that two graphs $G$ and $H$ on $k$ vertices are mapped to the same vectorial representation if and only if they are isomorphic, i.e., $h ^ { ( k ) } ( G ) = h ^ { ( k ) } ( H ) \ \stackrel { \quad \cdot \cdot } { \longleftrightarrow } \ G \simeq H$ for all $G$ and $H$ in $\mathcal { G } _ { k }$ . We define $k$ -Reconstruction Neural Networks over $\mathcal { G }$ as a function with parameters $\mathbf { W }$ in the form
|
| 81 |
+
|
| 82 |
+
$$
|
| 83 |
+
r _ { \mathbf { W } } ^ { ( k ) } ( G ) = f _ { \mathbf { W } } \Big ( \mathrm { C o n c A T } \big ( \{ h ^ { ( k ) } ( G [ S ] ) \colon S \in \mathcal { S } ^ { ( k ) } \} \big ) \Big ) ,
|
| 84 |
+
$$
|
| 85 |
+
|
| 86 |
+
where $\mathcal { S } ^ { ( k ) }$ is the set of all $k$ -size subsets of $V ( G )$ for some $3 \leq k \leq n$ , and CONCAT denotes row-wise concatenation of a multi-set of vectors in some arbitrary order. Note that $h ^ { ( k ) }$ might also be a function with learnable parameters. In that case, we require it to be most-expressive for $\mathcal { G } _ { k }$ . The following results characterize the expressive power of the above architecture.
|
| 87 |
+
|
| 88 |
+
Proposition 1. Let fW be a universal approximator of multisets [112, 100, 79]. Then, $r _ { \mathbf { W } } ^ { ( k ) }$ can approximate a function if and only if the function is -reconstructible.
|
| 89 |
+
|
| 90 |
+
Moreover, we can observe the following.
|
| 91 |
+
|
| 92 |
+
Observation 1 (Nydl [84], Kostochka and West [60]) \` . For any graph $G$ in $\mathcal { G }$ , its $k$ -deck $\mathcal { D } _ { k } ( G )$ determines its $\left( k - 1 \right)$ -deck ${ \mathcal { D } } _ { k - 1 } ( G )$ .
|
| 93 |
+
|
| 94 |
+
From Observation 1, we can derive a hierarchy in the expressive power of $k$ -Reconstruction Neural Networks with respect to the subgraph size $k$ . That is, $r _ { \mathbf { W } } ^ { ( 3 ) } \preceq r _ { \mathbf { W } } ^ { ( 4 ) } \preceq \cdots \preceq r _ { \mathbf { W } } ^ { ( n - 2 ) } \preceq r _ { \mathbf { W } } ^ { ( n - 1 ) }$
|
| 95 |
+
|
| 96 |
+
In Appendix D, we show how many existing architectures have their expressive power limited by $k$ -reconstruction. We also refer to Appendix $\mathrm { D }$ for the proofs, a discussion on the model’s computational complexity, approximation methods, and relation to existing work.
|
| 97 |
+
|
| 98 |
+
Full Reconstruction Neural Networks. Here, we propose a recursive scheme based on the reconstruction conjecture to build a most-expressive representation for graphs. Intuitively, Full Reconstruction Neural Networks recursively compute subgraph representations based on smaller subgraph representations. Formally, let ${ \mathfrak { G } } _ { \leq n ^ { * } } ^ { \dagger } : = \{ G \in { \mathfrak { G } } \colon | V ( G ) | \leq n ^ { * } \}$ be the class of undirected graphs with unattributed edges and maximum size $n ^ { * }$ . Further, let $f _ { \mathbf { W } } ^ { ( k ) } \colon \cup _ { m = 1 } ^ { \infty } \mathbb { R } ^ { m \times d } \mathbb { R } ^ { t }$ be a (row-wise) permutation invariant function and let $h _ { \{ i , j \} }$ be a most-expressive representation of the two-vertex subgraph induced by vertices $i$ and $j$ . We can now define the representation $r ( G [ V ( G ) ] )$ of a graph $G$ in ${ \mathfrak { G } } _ { \leq n ^ { * } } ^ { \dagger }$ in a recursive fashion as
|
| 99 |
+
|
| 100 |
+
$$
|
| 101 |
+
r ( G [ S ] ) = \left\{ \begin{array} { l l } { f _ { \mathbf { W } } ^ { ( | S | ) } \left( \mathbf { C o n c a r } ( \left\{ \left\{ r ( G [ S - v ] ) \colon v \in S \right\} \right\} ) \right) , \mathrm { ~ i f ~ } 3 \leq | S | \leq n } \\ { h _ { S } ( G [ S ] ) , \quad \quad \quad \quad \quad \quad \mathrm { i f ~ } | S | = 2 . } \end{array} \right.
|
| 102 |
+
$$
|
| 103 |
+
|
| 104 |
+
Again, CONCAT is row-wise concatenation in some arbitrary order. Note that in practice, it is easier to build the subgraph representations in a bottom-up fashion. First, use two-vertex subgraph representations to compute all three-vertex subgraph representations. Then, perform this inductively until we arrive at a single whole-graph representation. In Appendix E, we prove the expressive power of Full Reconstruction Neural Networks, i.e., we show how if the reconstruction conjecture holds, it is a most-expressive representation of undirected edge-unattributed graphs. Finally, we show its quadratic number of parameters, exponential computational complexity, and relation to existing work.
|
| 105 |
+
|
| 106 |
+
# 4 Reconstruction Graph Neural Networks
|
| 107 |
+
|
| 108 |
+
Although Full Reconstruction Neural Networks provide a most-expressive representation for undirected, unattributed-edge graphs, they are impractical due to their computational cost. Similarly, $k$ -Reconstruction Neural Networks are not scalable since increasing their expressive power requires computing most-expressive representations of larger $k$ -size subgraphs. Hence, to circumvent the computational cost, we replace the most-expressive representations of subgraphs from $k$ -Reconstruction Neural Networks with GNN representations, resulting in what we name $k$ -Reconstruction GNNs. This change allows for scaling the model to larger subgraph sizes, such as $n - 1 , n - 2 , . . .$ , et cetera.
|
| 109 |
+
|
| 110 |
+
Since, in the general case, graph reconstruction assumes most-expressive representations of subgraphs, it cannot capture $k$ -Reconstruction GNNs’ expressive power directly. Hence, we provide a theoretical characterization of the expressive power of $k$ -Reconstruction GNNs by coupling graph reconstruction and the GNN expressive power characterization based on the 1-WL algorithm. Nevertheless, in Appendix F.2, we devise conditions under which $k$ -Reconstruction GNNs have the same power as $k$ -Reconstruction Neural Networks. Finally, we show how graph reconstruction can act as a (provably) powerful inductive bias for invariances to vertex removals, which boosts the performance of GNNs even in tasks where all graphs are already distinguishable by them (see Appendix G). We refer to Appendix F for a discussion on the model’s relation to existing work.
|
| 111 |
+
|
| 112 |
+
Formally, let $f _ { \mathbf { W } } \colon \cup _ { m = 1 } ^ { \infty } \mathbb { R } ^ { m \times d } \to \mathbb { R } ^ { t }$ be a (row-wise) permutation invariant function and $h _ { \mathbf { W } } ^ { \mathrm { G N N } } \colon \mathcal { G } \to$ $\mathbb { R } ^ { 1 \times d }$ a GNN representation. Then, for $3 \leq k < | V ( G ) |$ , a $k$ -Reconstruction GNN takes the form
|
| 113 |
+
|
| 114 |
+
$$
|
| 115 |
+
r _ { \mathbf { W } } ^ { ( k , \mathrm { G N N } ) } ( G ) = f _ { \mathbf { W } _ { 1 } } \Big ( \mathrm { C O N C A T } \big ( \{ \{ h _ { \mathbf { W } _ { 2 } } ^ { \mathrm { G N N } } ( G [ S ] ) : S \in \mathcal { S } ^ { ( k ) } \} \} \big ) \Big ) ,
|
| 116 |
+
$$
|
| 117 |
+
|
| 118 |
+
with parameters $\mathbf { W } = \{ \mathbf { W } _ { 1 } , \mathbf { W } _ { 2 } \}$ , where $\mathcal { S } ^ { ( k ) }$ is the set of all $k$ -size subsets of $V ( G )$ , and CONCAT is row-wise concatenation in some arbitrary order.
|
| 119 |
+
|
| 120 |
+
Approximating r(k,GNN)W . By design, k-Reconstruction GNNs require computing GNN representations for all -vertex subgraphs, which might not be feasible for large graphs or datasets. To address this, we discuss a direction to circumvent computing all subgraphs, i.e., approximating $r _ { \mathbf { W } } ^ { ( k , \mathrm { G N N } ) }$ by sampling. One possible choice for $f _ { \mathbf { W } }$ is Deep Sets [112], which we use for the experiments in Section 5, where the representation is a sum decomposition taking the form $r _ { \mathbf { W } } ^ { ( k , \mathrm { G N N } ) } ( G ) =$ $\begin{array} { r } { \rho _ { \mathbf { W } _ { 1 } } \bigg ( \sum _ { S \in { \cal S } ^ { ( k ) } } \phi _ { \mathbf { W } _ { 2 } } \Big ( h _ { \mathbf { W } _ { 3 } } ^ { \mathrm { G N N } } ( G [ S ] ) \Big ) \bigg ) } \end{array}$ , where $\rho _ { \mathbf { W } _ { 1 } }$ and $\phi \mathbf { w } _ { 2 }$ are permutation sensitive functions, such as feed-forward networks. We can learn the $k$ -Reconstruction GNN model over a training dataset ${ \mathcal D } ^ { ( \mathrm { t r } ) } : = \{ ( G _ { i } , y _ { i } ) \} _ { i = 1 } ^ { N ^ { ( \mathrm { t r } ) } }$ and a loss function $l$ by minimizing the empirical risk
|
| 121 |
+
|
| 122 |
+
$$
|
| 123 |
+
\widehat { \mathcal { R } } _ { k } ( \mathcal { D } ^ { ( \mathrm { t r } ) } ; \mathbf { W } _ { 1 } , \mathbf { W } _ { 2 } , \mathbf { W } _ { 3 } ) = \frac { 1 } { N ^ { \mathrm { t r } } } \sum _ { i = 1 } ^ { N ^ { \mathrm { t r } } } l \big ( r _ { \mathbf { W } } ^ { ( k , \mathrm { G N N } ) } ( G _ { i } ) , y _ { i } \big ) .
|
| 124 |
+
$$
|
| 125 |
+
|
| 126 |
+
Equation (1) is impractical for all but the smallest graphs, since $r _ { \mathbf { W } } ^ { ( k , \mathrm { G N N } ) }$ s a sum overusing a samall k-vertex induced subgraphs S(k) of G. Hence, we approximate r(k,GW $r _ { \mathbf { W } } ^ { ( k , \mathrm { G N N } ) }$ S (k)B ${ \mathcal S } _ { B } ^ { ( k ) } ~ \subset ~ { \mathcal S } ^ { ( k ) }$ at every gradient step, i.e.. Due to non-linearities in $\widehat { r } _ { \mathbf { W } } ^ { ( k , \mathrm { G N N } ) } ( G ) \ =$ $\begin{array} { r } { \rho _ { \mathbf { W } _ { 1 } } \Big ( | S ^ { ( k ) } | / | S _ { B } ^ { ( k ) } | \sum _ { S \in S _ { B } ^ { ( k ) } } \phi _ { \mathbf { W } _ { 2 } } \big ( h _ { \mathbf { W } _ { 3 } } ^ { \mathrm { ( G N N ) } } ( G [ S ] ) \big ) \Big ) } \end{array}$ $\rho _ { \mathbf { W } _ { 1 } }$ $l$ ging $\widehat { r } _ { \mathbf { W } } ^ { ( k , \mathrm { G N N } ) }$ B into Equatio (1) does not provide us with an unbiased estimate of $\widehat { \mathcal { R } } _ { k }$ . However, if i. $l ( \rho _ { \mathbf { W } _ { 1 } } ( a ) , y )$ $a$ per upper bound of our loss,. In practice, many models e., 1/N tr PN tri=1 l $\begin{array} { r } { 1 / N ^ { \mathrm { t r } } \sum _ { i = 1 } ^ { N ^ { \mathrm { t r } } } l \big ( r _ { \mathbf { W } } ^ { ( k , \mathrm { G N N } ) } ( G _ { i } ) , y _ { i } \big ) \leq 1 / N ^ { \mathrm { t r } } \sum _ { i = 1 } ^ { N ^ { \mathrm { t r } } } l \big ( \widehat { r } _ { \mathbf { W } } ^ { ( k , \mathrm { G N N } ) } ( G _ { i } ) , y _ { i } \big ) . } \end{array}$ tr1 l r (k,GNN)W (Gi), yi brely on this approximation and provide scalable and reliable training procedures, cf. [48, 79, 80, 112].
|
| 127 |
+
|
| 128 |
+
# 4.1 Expressive power
|
| 129 |
+
|
| 130 |
+
Now, we analyze the expressive power of $k$ -Reconstruction GNNs. It is clear that $k$ -Reconstruction GNNs $\preceq k$ -Reconstruction Neural Networks, however the relationship between $k$ -Reconstruction GNNs and GNNs is not that straightforward. At first, one expects that there exists a well-defined hierarchy—such as the one in $k$ -Reconstruction Neural Networks (see Observation 1)—between GNNs, $( n - 1 )$ -Reconstruction GNNs, $( n - 2 )$ -Reconstruction GNNs, and so on. However, there is no such hierarchy, as we see next.
|
| 131 |
+
|
| 132 |
+
Are GNNs more expressive than $k$ -Reconstruction GNNs? It is well-known that GNNs cannot distinguish regular graphs [5, 78]. By leveraging the fact that regular graphs are reconstructible [53], we show that cycles and circular skip link (CSL) graphs—two classes of regular graphs—can indeed be distinguished by $k$ -Reconstruction GNNs, implying that $k$ -Reconstruction GNNs are not less expressive than GNNs. We start by showing that $k$ -Reconstruction GNNs can distinguish the class of cycle graphs.
|
| 133 |
+
|
| 134 |
+
Theorem 1 ( $k$ -Reconstruction GNNs can distinguish cycles). Let $G \in \mathfrak { G }$ be a cycle graph with $n$ vertices and $k : = n - \ell .$ . An $( n - \ell )$ -Reconstruction GNN assigns a unique representation to $G$ if $\begin{array} { r } { i ) \ell < ( 1 + o ( 1 ) ) \left( \frac { 2 \log n } { \log \log n } \right) ^ { 1 / 2 } } \end{array}$ 2 and ii) $\begin{array} { r } { \begin{array} { r } { n \geq ( \ell - \log \ell + 1 ) \biggl ( \frac { e + e \log \ell + e + 1 } { ( \ell - 1 ) \log \ell - 1 } \biggr ) + 1 h o l d . } \end{array} } \end{array}$
|
| 135 |
+
|
| 136 |
+
The following results shows that $k$ -Reconstruction GNNs can distinguish the class of CSL graphs.
|
| 137 |
+
|
| 138 |
+
Theorem 2 $k$ -Reconstruction GNNs can distinguish CSL graphs). Let $G , H \in \mathfrak { S }$ be two nonisomorphic circular skip link (CSL) graphs (a class of 4-regular graphs, cf. [23, 80]). Then, $( n - 1 )$ Reconstruction GNNs can distinguish $G$ and $H$ .
|
| 139 |
+
|
| 140 |
+
Hence, if the conditions in Theorem 1 hold, GNNs $\not \simeq ( n - \ell )$ -Reconstruction GNNs. Figure 2 (cf. Appendix F) depicts how $k$ -Reconstruction GNNs can distinguish a graph that GNNs cannot. The process essentially breaks the local symmetries that make GNNs struggle by removing one (or a few) vertices from the graph. By doing so, we arrive at distinguishable subgraphs. Since we can reconstruct the original graph with its unique subgraph representations, we can identify it. See Appendix F for the complete proofs of Theorems 1 and 2.
|
| 141 |
+
|
| 142 |
+
Are GNNs less expressive than $k$ -Reconstruction GNNs? We now show that GNNs can distinguish graphs that $k$ -Reconstruction GNNs with small $k$ cannot. We start with Proposition 2 stating that there exist some graphs that GNNs can distinguish which $k$ -Reconstruction GNNs with small $k$ cannot.
|
| 143 |
+
|
| 144 |
+
Proposition 2. $G N N s \Zt k$ -Reconstruction GNNs for $k \leq \lceil n / 2 \rceil$ .
|
| 145 |
+
|
| 146 |
+
On the other hand, the analysis is more interesting for larger subgraph sizes, e.g., $n - 1$ , where there are no known examples of (undirected, edge-unattributed) non-reconstructible graphs. There are graphs distinguishable by GNNs with at least one subgraph not distinguishable by them; see Appendix F. However, the analysis is whether the multiset of all subgraphs’ representations can distinguish the original graph. Since we could not find any counter-examples, we conjecture that every graph distinguishable by a GNN is also distinguishable by a $k$ -Reconstruction GNN with $k = n - 1$ or possibly more generally with any $k$ close enough to $n$ . In Appendix F, we state and discuss the conjecture, which we name WL reconstruction conjecture. If true, the conjecture implies GNNs $\prec$ $( n - 1 )$ -Reconstruction GNNs. Moreover, if we use the original GNN representation together with $k$ -Reconstruction GNNs, Theorems 1 and 2 imply that the resulting model is strictly more powerful than the original GNN.
|
| 147 |
+
|
| 148 |
+
# Are $k$ -Reconstruction GNNs less expressive than higher-order ( $\kappa$ -WL) GNNs?
|
| 149 |
+
|
| 150 |
+
Recently a line of work, e.g., [6, 67, 76], explored higher-order GNNs aligning with the $\kappa$ -WL hierarchy. Such architectures have, in principle, the same power as the $\kappa$ -WL algorithm in distinguishing nonisomorphic graphs. Hence, one might wonder how $k$ -Reconstruction GNNs stack up to $\kappa$ -WL-based algorithms. The following result shows that pairs of non-isomorphic graphs exist that a $( n - 2 )$ - Reconstruction GNN can distinguish but the 2-WL cannot.
|
| 151 |
+
|
| 152 |
+
Proposition 3. Let 2-GNNs be neural architectures with the same expressiveness as the 2-WL algorithm.
|
| 153 |
+
Then, $( n - 2 )$ -Reconstruction $G N N \ne 2 \ – G N N s \equiv 2 \ – W L .$ .
|
| 154 |
+
|
| 155 |
+
As a result of Proposition 3, using a $( n - 2 )$ -Reconstruction GNN representation together with a 2-GNN increases the original 2-GNN’s expressive power.
|
| 156 |
+
|
| 157 |
+
# 4.2 Reconstruction as a powerful extra invariance for general graphs
|
| 158 |
+
|
| 159 |
+
An essential feature of modern machine learning models is capturing invariances of the problem of interest [63]. It reduces degrees of freedom while allowing for better generalization [13, 63]. GRL is predicated on invariance to vertex permutations, i.e., assigning the same representation to isomorphic graphs. But are there other invariances that could improve the generalization error?
|
| 160 |
+
|
| 161 |
+
$k$ -reconstruction is an extra invariance. Let $P ( G , Y )$ be the joint probability of observing a graph $G$ with label $Y$ . Any $k$ -reconstruction-based model, such as $k$ -Reconstruction Neural Networks and $k$ -Reconstruction GNNs, by definition assumes $P ( G , Y )$ to be invariant to the $k$ -deck, i.e., $P ( G , Y ) = P ( H , Y )$ if ${ \mathcal { D } } _ { k } ( G ) { \dot { } } = { \mathcal { D } } _ { k } ( H )$ . Hence, our neural architectures for $k$ -Reconstruction Neural Networks and $k$ -Reconstruction GNNs directly define this extra invariance beyond permutation invariance. How we do know it is an extra invariance and not a consequence of permutation invariance? It does not hold on directed graphs [93], where permutation invariance still holds.
|
| 162 |
+
|
| 163 |
+
Hereditary property variance reduction. We now show that the invariance imposed by $k$ - reconstruction helps in tasks based on hereditary properties [17]. A graph property $\mu ( G )$ is called hereditary if it is invariant to vertex removals, i.e. $\mu ( G ) = \mu ( G [ V ( G ) - v ] )$ for every $v \in V ( G )$ and $G \in { \mathcal { G } }$ . By induction the property is invariant to every size subgraph, i.e., ${ \dot { \mu } } ( G ) = \mu ( G [ S ] )$ for every $S \in { \mathcal { S } } ^ { ( k ) } , k \in [ n ]$ where $\mathcal { S } ^ { ( k ) }$ is the set of all $k$ -size subsets of $V ( G )$ . Here, the property is invariant to any given subgraph. For example, every subgraph of a planar graph is also planar, every subgraph of an acyclic graph is also acyclic, any subgraph of a $j$ -colorable graph is also $j$ -colorable. A more practically interesting (weaker) invariance would be invariance to a few vertex removals. Next we define $\delta$ -hereditary properties (a special case of a $\preceq$ -hereditary property). In short, a property is $\delta$ -hereditary if it is a hereditary property for graphs with more than $\delta$ vertices.
|
| 164 |
+
|
| 165 |
+
Definition 5 $\delta$ -hereditary property). $A$ graph property $\mu \colon \mathcal G \ \ \mathcal { y }$ is said to be $\delta$ -hereditary $i f$ $\mu ( G ) = \mu ( G [ V ( G ) - v ] )$ , $\forall v \in V ( G ) , G \in \{ H \in { \mathcal { G } } : | V ( H ) | > \delta \}$ . That is, $\mu$ is uniform in $G$ and all subgraphs of $G$ with more than $\delta$ vertices.
|
| 166 |
+
|
| 167 |
+
Consider the task of predicting $Y | G : = \mu ( G )$ . Theorem 3 shows that $k$ -Reconstruction GNNs is an invariance that reduces the variance of the empirical risk associated with $\delta$ -hereditary property tasks. See Appendix $\mathrm { F }$ for the proof.
|
| 168 |
+
|
| 169 |
+
Theorem 3 ( $k$ -Reconstruction GNNs for variance reduction of $\delta$ -hereditary tasks). Let $P ( G , Y )$ be a $\delta$ -hereditary distribution, i.e., $Y : = \mu ( G )$ where $\mu$ is a $\delta$ -hereditary property. Further, let $P ( G , Y ) = 0$ for all $G \in { \mathcal { G } }$ with $| V ( G ) | \ge \delta + \ell , \ell > 0$ . Then, for $k$ -Reconstruction GNNs taking the form $\begin{array} { r } { \rho _ { \mathbf { W } _ { 1 } } \biggl ( 1 / | \mathcal { S } ^ { ( k ) } | \sum _ { S \in \mathcal { S } ^ { ( k ) } } \phi _ { \mathbf { W } _ { 2 } } \Bigl ( h _ { \mathbf { W } _ { 3 } } ^ { G N N } ( G [ S ] ) \Bigr ) \biggr ) } \end{array}$ , i $f l ( \rho \mathbf { w } _ { 1 } ( a ) , y )$ is convex in $a$ , we have
|
| 170 |
+
|
| 171 |
+
$$
|
| 172 |
+
\begin{array} { r } { V a r [ \widehat { \mathcal { R } } _ { k } ] \leq V a r [ \widehat { \mathcal { R } } _ { G N N } ] , } \end{array}
|
| 173 |
+
$$
|
| 174 |
+
|
| 175 |
+
where $\widehat { \mathcal { R } } _ { k }$ is the empirical risk of $k$ -Reconstruction GNNs with $k : = n - \ell$ (cf. Equation (1)) and $\widehat { \mathcal { R } } _ { G N N }$ is the empirical risk of GNNs.
|
| 176 |
+
|
| 177 |
+
# 5 Experimental Evaluation
|
| 178 |
+
|
| 179 |
+
In this section, we investigate the benefits of $k$ -Reconstruction GNNs against GNN baselines on both synthetic and real-world tasks. Concretely, we address the following questions:
|
| 180 |
+
|
| 181 |
+
Q1. Does the increase in expressive power from reconstruction (cf. Section 4.1) make $k$ -Reconstruction GNNs solve graph property tasks not originally solvable by GNNs?
|
| 182 |
+
|
| 183 |
+
Q2. Can reconstruction boost the original GNNs performance on real-world tasks? If so, why
|
| 184 |
+
|
| 185 |
+
Q3. What is the influence of the subgraph size in both graph property and real-world tasks?
|
| 186 |
+
|
| 187 |
+
Synthetic graph property datasets. For Q1 and Q3, we chose the synthetic graph property tasks in Table 1, for which GNNs are provably incapable to solve due to their limited expressive power [38, 81]. The tasks are CSL [32], where we classify CSL graphs, the cycle detection tasks 4 CYCLES, 6 CYCLES and 8 CYCLES [98] and the multi-task regression from Corso et al. [28], where we want to determine whether a graph is connected, its diameter, and its spectral radius. See Appendix H for datasets statistics.
|
| 188 |
+
|
| 189 |
+
Real-world datasets. To address Q2 and Q3, we evaluated $k$ -Reconstruction GNNs on a diverse set of large-scale, standard benchmark instances [49, 74]. Specifically, we used the ZINC (10K) [32], ALCHEMY (10K) [23], OGBG-MOLFREESOLV, OGBG-MOLESOL, and OGBG-MOLLIPO [49] regression datasets. For the case of graph classification, we used OGBG-MOLHIV, OGBG-MOLPCBA, OGBG-TOX21, and OGBG-TOXCAST [49]. See Appendix $_ \mathrm { H }$ for datasets statistics.
|
| 190 |
+
|
| 191 |
+
Neural architectures. We used the GIN [106], GCN [56], and the PNA [28] architectures as GNN baselines. We always replicated the exact architectures from the original paper, building on the respective PyTorch Geometric implementation [35]. For the OGBG regression datasets, we noticed how using a jumping knowledge layer yields better validation and test results for GIN and GCN. Thus we made this small change. For each of these three architectures, we implemented $k$ -Reconstruction GNNs for $k$ in $\{ n - 1 , \bar { n } - 2 , n - 3 , \lceil n / 2 \rceil \}$ using a Deep Sets function [112] over the exact same original GNN architecture. For more details, see Appendix G.
|
| 192 |
+
|
| 193 |
+
Experimental setup. To establish fair comparisons, we retain all hyperparameters and training procedures from the original GNNs to train the corresponding $k$ -Reconstruction GNNs. Tables 1 and 2 and Table 6 in Appendix I present results with the same number of runs as previous work [28, 32, 49, 77, 98], i.e., five for all datasets execpt the OGBG datasets, where we use ten runs. For more details, such as the number of subgraphs sampled for each $k$ -Reconstruction GNN and each dataset, see Appendix G.
|
| 194 |
+
|
| 195 |
+
Non-GNN baselines. For the graph property tasks, original work used vertex identifiers or Laplacian embeddings to make GNNs solve them. This trick is effective for the tasks but violates an important premise of graph representations, invariance to vertex permutations. To illustrate this line of work, we compare against Positional GIN, which uses Laplacian embeddings [32] for the CSL task and vertex identifiers for the others [98, 28]. To compare against other methods that like $k$ -Reconstruction GNNs are invariant to vertex permutations and increase the expressive power of GNNs, we compare against Ring-GNNs [27] and (3-WL) PPGNs [66]. For real-world tasks, Table 6 in Appendix I shows the results from GRL alternatives that incorporate higher-order representations in different ways, LRP [27], GSN [18], $\delta$ -2-LGNN [77], and SMP [98].
|
| 196 |
+
|
| 197 |
+
All results are fully reproducible from the source and are available at https://github.com/ PurdueMINDS/reconstruction-gnns.
|
| 198 |
+
|
| 199 |
+
# Results and discussion.
|
| 200 |
+
|
| 201 |
+
A1 (Graph property tasks). Table 1 confirms Theorem 2, where the increase in expressive power from reconstruction allows $k$ -Reconstruction GNNs to distinguish CSL graphs, a task that GNNs cannot solve. Here, $k$ -Reconstruction GNNs boost the accuracy of standard GNNs between $1 0 \times$ and $2 0 \times$ Theorem 2 only guarantees GNN expressiveness boosting for $( n - 1 )$ -Reconstruction, but our empirical results also show benefits for $k$ -Reconstruction with $k \leq n - 2$ . Table 1 also confirms Theorem 1, where $k$ -Reconstruction GNNs provide significant accuracy boosts on all cycle detection tasks (4 CYCLES, 6 CYCLES and 8 CYCLES). See Appendix J.1, for a detailed discussion on results for CONNECTIVITY, DIAMETER, and SPECTRAL RADIUS, which also show boostings.
|
| 202 |
+
|
| 203 |
+
Table 1: Synthetic graph property tasks. We highlight in green $k$ -Reconstruction GNNs boosting the original GNN architecture. †: Std. not reported in original work. +: Laplacian embeddings used as positional features. ∗: Vertex identifiers used as positional features.
|
| 204 |
+
|
| 205 |
+
<table><tr><td></td><td>CSL</td><td>4 CYCLES</td><td>6 CYCLES</td><td>CONNECTIVITY</td><td colspan="4">Multi-task</td><td rowspan="2">Invariant to vertex permutations?</td></tr><tr><td></td><td></td><td>(Accuracy %%)↑</td><td>(Accuracy % %) ↑</td><td>(Accuracy %)↑</td><td>8 CYCLES (Accuracy %)↑</td><td>(logMSE)↓</td><td>DIAMETER (logMSE)↓</td><td>SPECTRAL RADIUS (logMSE)↓</td></tr><tr><td>(n-1)</td><td>GIN (orig.)</td><td>4.66 ± 4.00</td><td>93.0t</td><td>92.7t</td><td>92.5t</td><td>-3.419 ± 0.320</td><td>0.588 ± 0.354</td><td>-2.130 ± 1.396</td><td></td></tr><tr><td></td><td></td><td>88.66 ± 22.66</td><td>95.17 ± 4.91</td><td>97.35 ± 0.74</td><td>94.69 ± 2.34</td><td>-3.575 ± 0.395</td><td>-0.195 ± 0.714</td><td>-2.732 ± 0.793</td><td></td></tr><tr><td>Reeooor</td><td>(n-2)</td><td>78.66 ± 22.17</td><td>94.06±5.10</td><td>97.50±0.72</td><td>95.04 ± 2.69</td><td>-3.799 ± 0.187</td><td>-0.207 ± 0.381</td><td>-2.344 ± 0.569</td><td></td></tr><tr><td></td><td>(n-3)</td><td>73.33 ± 16.19</td><td>96.61 ± 1.40</td><td>97.84 ± 1.37</td><td>94.48 ± 2.13</td><td>-3.779 ± 0.064</td><td>0.105 ±0.225</td><td>-1.908 ± 0.860</td><td><<<<</td></tr><tr><td>[n/2]</td><td></td><td>40.66 ± 9.04</td><td>75.13 ± 0.26</td><td>63.28 ± 0.59</td><td>63.53 ± 1.14</td><td>-3.765 ± 0.083</td><td>0.564 ± 0.025</td><td>-2.130 ± 0.166</td><td></td></tr><tr><td></td><td>GCN(orig.)</td><td>6.66 ± 2.10</td><td>98.336 ± 0.24</td><td>95.73 ± 2.72</td><td>87.14 ± 12.73</td><td>-3.781 ± 0.075</td><td>0.087 ± 0.186</td><td>-2.204 ± 0.362</td><td></td></tr><tr><td></td><td>(n-1)</td><td>100.00 ±0.00</td><td>99.00 ±0.10</td><td>97.63 ± 0.19</td><td>94.99 ± 2.31</td><td>-4.039 ± 0.101</td><td>-1.175 ± 0.425</td><td>-3.625 ± 0.536</td><td></td></tr><tr><td></td><td>(n-2)</td><td>100.00±0.00</td><td>98.77 ±0.61</td><td>97.89 ± 0.69</td><td>97.82 ± 1.10</td><td>-3.970 ± 0.059</td><td>-0.577 ± 0.135</td><td>-3.397 ± 0.273</td><td></td></tr><tr><td>Reeeoss</td><td>(n-3)</td><td>96.00 ±6.46</td><td>99.11 ± 0.19</td><td>98.31 ± 0.52</td><td>97.18 ± 0.58</td><td>-3.995 ± 0.031</td><td>-0.333 ± 0.117</td><td>-3.105 ± 0.286</td><td></td></tr><tr><td>[n/2]</td><td></td><td>49.33 ± 7.42</td><td>75.19 ± 0.19</td><td>66.04 ± 0.59</td><td>63.66 ± 0.51</td><td>-3.693 ± 0.063</td><td>0.8518 ± 0.016</td><td>-1.838 ± 0.054</td><td></td></tr><tr><td>PNA (orig.)</td><td></td><td>10.00 ± 2.98</td><td>81.59 ± 19.86</td><td>95.57 ± 0.36</td><td>84.81 ± 16.48</td><td>-3.794 ± 0.155</td><td>-0.605 ± 0.097</td><td>-3.610 ± 0.137</td><td></td></tr><tr><td>(n-1)</td><td></td><td>100.00 ±0.00</td><td>97.88 ± 2.19</td><td>99.18 ±0.20</td><td>98.92 ± 0.72</td><td>-3.904 ± 0.001</td><td>-0.765 ± 0.032</td><td>-3.954 ±0.118</td><td></td></tr><tr><td>Rreeoor (n-2)</td><td></td><td>95.33 ± 7.77</td><td>99.12 ± 0.28</td><td>99.10 ± 0.57</td><td>99.22 ± 0.27</td><td>-3.781 ± 0.085</td><td>-0.090 ± 0.135</td><td>-3.478 ± 0.206</td><td></td></tr><tr><td>(n-3)</td><td></td><td>95.33 ± 5.81</td><td>89.36 ± 0.22 75.34 ±0.18</td><td>99.34 ± 0.26</td><td>93.92 ± 8.15 64.01 ± 0.30</td><td>-3.710 ± 0.209 -2.977 ± 0.065</td><td>0.042 ± 0.047</td><td>-3.311 ± 0.067</td><td>√</td></tr><tr><td>[n/2]</td><td></td><td>42.66 ± 11.03</td><td></td><td>65.58 ± 0.95</td><td></td><td></td><td>1.445 ± 0.037</td><td>-1.073 ± 0.075</td><td></td></tr><tr><td>Positional GIN Ring-GNN</td><td></td><td>99.33+ ± 1.33</td><td>88.3†</td><td>96.1†</td><td>95.3t</td><td>-1.61t</td><td>-2.17</td><td>-2.66t</td><td>x<ν</td></tr><tr><td></td><td></td><td>10.00 ± 0.00</td><td>99.9†</td><td>100.0†</td><td>71.4</td><td></td><td></td><td>二</td><td></td></tr><tr><td></td><td>PPGN (3-WL)</td><td>97.80 ± 10.91</td><td>99.8†</td><td>87.1†</td><td>76.5†</td><td>二</td><td>二</td><td></td><td></td></tr></table>
|
| 206 |
+
|
| 207 |
+
Table 2: OGBG molecule graph classification and regression tasks. We highlight in green $k$ -Reconstruction GNNs boosting the original GNN architecture.
|
| 208 |
+
|
| 209 |
+
<table><tr><td rowspan=1 colspan=12>OGBG-MOLTOX21 OGBG-MOLTOXCAST OGBG-MOLFREESOLV OGBG-MOLESOL 0GBG-MOLLIPO OGBG-MOLPCBA(ROC-AUC %)↑ (ROC-AUC %) ↑ (RSMSE)↓ (RSMSE)↓ (RSMSE)↓ (AP%)↑</td></tr><tr><td></td><td rowspan=1 colspan=1>GIN (orig.)</td><td rowspan=1 colspan=1>74.91 ± 0.51</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>63.41 ± 0.74</td><td rowspan=1 colspan=7>2.411 ± 0.123 1.111 ± 0.038 0.754 ± 0.010 21.16 ± 0.28</td></tr><tr><td></td><td rowspan=1 colspan=1>(n-1)</td><td rowspan=1 colspan=1>75.15 ± 1.40</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>63.95 ± 0.53</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>2.283 ± 0.279</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>1.026 ± 0.033</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>0.716± 0.020</td><td rowspan=1 colspan=1>23.60 ± 0.02</td></tr><tr><td></td><td rowspan=1 colspan=1>(n-2)</td><td rowspan=1 colspan=1>76.84 ± 0.62</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>65.36 ± 0.49</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>2.117 ± 0.181</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>1.006 ± 0.030</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>0.736± 0.025</td><td rowspan=1 colspan=1>23.25 ± 0.00</td></tr><tr><td></td><td rowspan=1 colspan=1>(n-3)</td><td rowspan=1 colspan=1>76.78 ± 0.64</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>64.84 ± 0.71</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>2.370 ± 0.326</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>1.055 ± 0.031</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>0.738 ± 0.018</td><td rowspan=1 colspan=1>23.33 ± 0.09</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>[n/2]</td><td rowspan=1 colspan=1>74.40 ± 0.75</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>62.29 ± 0.28</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>2.531 ± 0.206</td><td rowspan=1 colspan=2>1.343 ± 0.053</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>0.842 ± 0.020</td><td rowspan=1 colspan=1>13.50 ± 0.32</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>GCN (orig.)</td><td rowspan=1 colspan=1>75.29 ± 0.69</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>63.54 ± 0.42</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>2.417 ± 0.178</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=2>1.106 ± 0.036</td><td rowspan=1 colspan=1>0.793 ± 0.040</td><td rowspan=1 colspan=1>20.20 ± 0.24</td></tr><tr><td rowspan=1 colspan=1>上</td><td rowspan=1 colspan=1>(n-1)</td><td rowspan=1 colspan=1>76.46 ± 0.77</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>64.51 ± 0.60</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>2.524 ± 0.300</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>1.096 ± 0.045</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>0.760 ± 0.015</td><td rowspan=1 colspan=1>21.25 ± 0.25</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>(n-2)</td><td rowspan=1 colspan=1>75.58 ± 0.99</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>64.38 ± 0.39</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>2.467 ± 0.231</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>1.086 ± 0.048</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>0.766 ± 0.025</td><td rowspan=1 colspan=1>20.10 ± 0.08</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>(n-3)</td><td rowspan=1 colspan=1>75.88 ± 0.73</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>64.70 ±0.81</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>2.345 ± 0.261</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>1.114 ± 0.047</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>0.754 ± 0.021</td><td rowspan=1 colspan=1>19.04 ± 0.03</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>[n/2]</td><td rowspan=1 colspan=1>74.03 ± 0.63</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>62.80 ± 0.77</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>2.599 ± 0.161</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=2>1.372 ± 0.048</td><td rowspan=1 colspan=1>0.835± 0.020</td><td rowspan=1 colspan=1>11.69 ± 1.41</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>PNA (orig.)</td><td rowspan=1 colspan=1>74.28 ± 0.52</td><td rowspan=1 colspan=2>62.69 ± 0.63</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>2.192 ± 0.125</td><td rowspan=1 colspan=3>1.140 ± 0.032</td><td rowspan=1 colspan=1>0.759 ± 0.017</td><td rowspan=1 colspan=1>25.45 ± 0.04</td></tr><tr><td></td><td rowspan=1 colspan=1>(n-1)</td><td rowspan=1 colspan=1>73.64 ± 0.74</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>64.14 ±0.76</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>2.341 ± 0.070</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>1.723 ± 0.145</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>0.743 ± 0.015</td><td rowspan=1 colspan=1>23.11 ± 0.05</td></tr><tr><td></td><td rowspan=1 colspan=1>(n-2)</td><td rowspan=1 colspan=1>74.89 ± 0.29</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>65.22 ± 0.47</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>2.298 ± 0.115</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>1.392 ± 0.272</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>0.794 ± 0.065</td><td rowspan=1 colspan=1>22.10±0.03</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>(n-3)</td><td rowspan=1 colspan=1>75.10 ± 0.73</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>65.03 ± 0.58</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>2.133 ± 0.086</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>1.360 ± 0.163</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>0.785 ± 0.041</td><td rowspan=1 colspan=1>20.05 ± 0.15</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>[n/2]</td><td rowspan=1 colspan=1>73.71 ± 0.61</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>61.25 ± 0.49</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>2.185 ± 0.231</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>1.157 ± 0.056</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>0.843 ± 0.018</td><td rowspan=1 colspan=1>12.33 ± 1.20</td></tr></table>
|
| 210 |
+
|
| 211 |
+
A2 (Real-world tasks). Table 2 and Table 6 in Appendix I show that applying $k$ -reconstruction to GNNs significantly boosts their performance across all eight real-world tasks. In particular, in Table 2, we see a boost of up to $5 \%$ while achieving the best results in five out of six datasets. The $( n - 2 )$ -reconstruction applied to GIN gives the best results in the OGBG tasks, with the exception of OGBG-MOLLIPO and OGBG-MOLPCBA where $( n - 1 )$ -reconstruction performs better. The only settings where we did not get any boost were PNA for OGBG-MOLESOL and OGBG-MOLPCBA. Table 6 in Appendix I also shows consistent boost in GNNs’ performance of up to $2 5 \%$ in other datasets. On ZINC, $k$ -Reconstruction yields better results than the higher-order alternatives LRP and $\delta$ -2-LGNN. While GSN gives the best ZINC results, we note that GSN requires application-specific features. In OGBG-MOLHIV, $k$ -reconstruction is able to boost both GIN and GCN. The results in Appendix G show that nearly $1 0 0 \%$ of the graphs in our real-world datasets are distinguishable by the 1-WL algorithm, thus we can conclude that traditional GNNs are expressive enough for all our real-world tasks. Hence, real-world boosts of reconstruction over GNNs can be attributed to the gains from invariances to vertex removals (cf. Section 4.2) rather than the boost in expressive power (cf. Section 4.1).
|
| 212 |
+
|
| 213 |
+
A3 (Subgraph sizes). Overall we observe that removing one vertex $k = n - 1 )$ ) is enough to improve the performance of GNNs in most experiments. At the other extreme end of vertex removals, $k = \lceil n / 2 \rceil$ , there is a significant loss in expressiveness compared to the original GNN. In most real-world tasks, Table 2 and Table 6 in Appendix I show a variety of performance boosts also with $k \in \{ n { - } 2 , n { - } 3 \}$ For GCN and PNA in OGBG-MOLESOL, specifically, we only see $k$ -Reconstruction boosts over smaller subgraphs such as $n - 3$ , which might be due to the task’s need of more invariance to vertex removals (cf.
|
| 214 |
+
|
| 215 |
+
Section 4.2). In the graph property tasks (Table 1), we see significant boosts also for $k \in \{ n { - } 2 , n { - } 3 \}$ in all models across most tasks, except PNA. However, as in real-world tasks the extreme case of small subgraphs $k = \lceil n / 2 \rceil$ significantly harms the ability to solve tasks with $k$ -Reconstruction GNNs.
|
| 216 |
+
|
| 217 |
+
# 6 Conclusions
|
| 218 |
+
|
| 219 |
+
Our work connected graph $( k - )$ reconstruction and modern GRL. We first showed how such connection results in two natural expressive graph representation classes. To make our models practical, we combined insights from graph reconstruction and GNNs, resulting in $k$ -Reconstruction GNNs. Our theory shows that reconstruction boosts the expressiveness of GNNs and has a lower-variance risk estimator in distributions invariant to vertex removals. Empirically, we showed how the theoretical gains of $k$ -Reconstruction GNNs translate into practice, solving graph property tasks not originally solvable by GNNs and boosting their performance on real-world tasks.
|
| 220 |
+
|
| 221 |
+
# Acknowledgements
|
| 222 |
+
|
| 223 |
+
This work was funded in part by the National Science Foundation (NSF) awards CAREER IIS-1943364 and CCF-1918483. Any opinions, findings and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the sponsors. Christopher Morris is funded by the German Academic Exchange Service (DAAD) through a DAAD IFI postdoctoral scholarship (57515245). We want to thank our reviewers, who gave excellent suggestions to improve the paper.
|
| 224 |
+
|
| 225 |
+
# References
|
| 226 |
+
|
| 227 |
+
[1] Abboud, R., Ceylan, ˙I. ˙I., Grohe, M., and Lukasiewicz, T. (2020). The surprising power of graph neural networks with random node initialization. CoRR, abs/2010.01179.
|
| 228 |
+
[2] Abu-El-Haija, S., Perozzi, B., Kapoor, A., Alipourfard, N., Lerman, K., Harutyunyan, H., Steeg, G. V., and Galstyan, A. (2019). Mixhop: Higher-order graph convolutional architectures via sparsified neighborhood mixing. In International Conference on Machine Learning, pages 21–29.
|
| 229 |
+
[3] Albooyeh, M., Bertolini, D., and Ravanbakhsh, S. (2019). Incidence networks for geometric deep learning. CoRR, abs/1905.11460.
|
| 230 |
+
[4] Anderson, B. M., Hy, T., and Kondor, R. (2019). Cormorant: Covariant molecular neural networks. In Advances in Neural Information Processing Systems, pages 14510–14519.
|
| 231 |
+
[5] Arvind, V., Köbler, J., Rattan, G., and Verbitsky, O. (2015). On the power of color refinement. In International Symposium on Fundamentals of Computation Theory, pages 339–350.
|
| 232 |
+
[6] Azizian, W. and Lelarge, M. (2020). Characterizing the expressive power of invariant and equivariant graph neural networks. arXiv preprint arXiv:2006.15646.
|
| 233 |
+
[7] Babai, L. (2016). Graph isomorphism in quasipolynomial time. In ACM SIGACT Symposium on Theory of Computing, pages 684–697.
|
| 234 |
+
[8] Barabasi, A.-L. and Oltvai, Z. N. (2004). Network biology: Understanding the cell’s functional organization. Nature Reviews Genetics, 5(2):101–113.
|
| 235 |
+
[9] Barceló, P., Kostylev, E. V., Monet, M., Pérez, J., Reutter, J. L., and Silva, J. P. (2020). The logical expressiveness of graph neural networks. In International Conference on Learning Representations.
|
| 236 |
+
[10] Baskin, I. I., Palyulin, V. A., and Zefirov, N. S. (1997). A neural device for searching direct correlations between structures and properties of chemical compounds. Journal of Chemical Information and Computer Sciences, 37(4):715–721.
|
| 237 |
+
[11] Beaini, D., Passaro, S., Létourneau, V., Hamilton, W. L., Corso, G., and Liò, P. (2020). Directional graph networks. CoRR, abs/2010.02863.
|
| 238 |
+
[12] Bevilacqua, B., Zhou, Y., and Ribeiro, B. (2021). Size-invariant graph representations for graph classification extrapolations. arXiv preprint arXiv:2103.05045.
|
| 239 |
+
[13] Bloem-Reddy, B. and Teh, Y. W. (2020). Probabilistic symmetries and invariant neural networks. Journal of Machine Learning Research, 21(90):1–61.
|
| 240 |
+
[14] Bodnar, C., Frasca, F., Wang, Y. G., Otter, N., Montúfar, G., Lio, P., and Bronstein, M. (2021). Weisfeiler and lehman go topological: Message passing simplicial networks. arXiv preprint arXiv:2103.03212.
|
| 241 |
+
[15] Bollobás, B. (1990). Almost every graph has reconstruction number three. Journal of Graph Theory, 14(1):1–4.
|
| 242 |
+
[16] Bondy, J. A. (1991). A graph reconstructor’s manual. Surveys in combinatorics, 166:221–252.
|
| 243 |
+
[17] Borowiecki, M., Broere, I., Frick, M., Mihok, P., and Semanišin, G. (1997). A survey of hereditary properties of graphs. Discussiones Mathematicae Graph Theory, 17(1):5–50.
|
| 244 |
+
[18] Bouritsas, G., Frasca, F., Zafeiriou, S., and Bronstein, M. M. (2020). Improving graph neural network expressivity via subgraph isomorphism counting. CoRR, abs/2006.09252.
|
| 245 |
+
[19] Bruna, J., Zaremba, W., Szlam, A., and LeCun, Y. (2014). Spectral networks and deep locally connected networks on graphs. In International Conference on Learning Representation.
|
| 246 |
+
[20] Cangea, C., Velickovic, P., Jovanovic, N., Kipf, T., and Liò, P. (2018). Towards sparse hierarchical graph classifiers. CoRR, abs/1811.01287.
|
| 247 |
+
[21] Chami, I., Abu-El-Haija, S., Perozzi, B., Ré, C., and Murphy, K. (2020). Machine learning on graphs: A model and comprehensive taxonomy. CoRR, abs/2005.03675.
|
| 248 |
+
[22] Chami, I., Ying, Z., Ré, C., and Leskovec, J. (2019). Hyperbolic graph convolutional neural networks. In Advances in Neural Information Processing Systems, pages 4869–4880.
|
| 249 |
+
[23] Chen, G., Chen, P., Hsieh, C., Lee, C., Liao, B., Liao, R., Liu, W., Qiu, J., Sun, Q., Tang, J., Zemel, R. S., and Zhang, S. (2019a). Alchemy: A quantum chemistry dataset for benchmarking AI models. CoRR, abs/1906.09427.
|
| 250 |
+
[24] Chen, S., Dobriban, E., and Lee, J. H. (2019b). Invariance reduces variance: Understanding data augmentation in deep learning and beyond. arXiv preprint arXiv:1907.10905.
|
| 251 |
+
[25] Chen, Z., Chen, L., Villar, S., and Bruna, J. (2020a). Can graph neural networks count substructures? In Advances in Neural Information Processing Systems.
|
| 252 |
+
[26] Chen, Z., Chen, L., Villar, S., and Bruna, J. (2020b). Can graph neural networks count substructures? CoRR, abs/2002.04025.
|
| 253 |
+
[27] Chen, Z., Villar, S., Chen, L., and Bruna, J. (2019c). On the equivalence between graph isomorphism testing and function approximation with GNNs. In Advances in Neural Information Processing Systems, pages 15868–15876.
|
| 254 |
+
[28] Corso, G., Cavalleri, L., Beaini, D., Liò, P., and Velickovic, P. (2020). Principal neighbourhood aggregation for graph nets. In Advances in Neural Information Processing Systems.
|
| 255 |
+
[29] Dasoulas, G., Santos, L. D., Scaman, K., and Virmaux, A. (2020). Coloring graph neural networks for node disambiguation. In International Joint Conference on Artificial Intelligence, pages 2126–2132.
|
| 256 |
+
[30] Defferrard, M., X., B., and Vandergheynst, P. (2016). Convolutional neural networks on graphs with fast localized spectral filtering. In Advances in Neural Information Processing Systems, pages 3844–3852.
|
| 257 |
+
[31] Duvenaud, D. K., Maclaurin, D., Iparraguirre, J., Bombarell, R., Hirzel, T., Aspuru-Guzik, A., and Adams, R. P. (2015). Convolutional networks on graphs for learning molecular fingerprints. In Advances in Neural Information Processing Systems, pages 2224–2232.
|
| 258 |
+
[32] Dwivedi, V. P., Joshi, C. K., Laurent, T., Bengio, Y., and Bresson, X. (2020). Benchmarking graph neural networks. CoRR, abs/2003.00982.
|
| 259 |
+
[33] Easley, D. and Kleinberg, J. (2010). Networks, Crowds, and Markets: Reasoning About a Highly Connected World. Cambridge University Press.
|
| 260 |
+
[34] Feng, W., Zhang, J., Dong, Y., Han, Y., Luan, H., Xu, Q., Yang, Q., Kharlamov, E., and Tang, J. (2020). Graph random neural networks for semi-supervised learning on graphs. In Advances in Neural Information Processing Systems.
|
| 261 |
+
[35] Fey, M. and Lenssen, J. E. (2019). Fast graph representation learning with PyTorch Geometric. CoRR, abs/1903.02428.
|
| 262 |
+
[36] Flam-Shepherd, D., Wu, T., Friederich, P., and Aspuru-Guzik, A. (2020). Neural message passing on high order paths. CoRR, abs/2002.10413.
|
| 263 |
+
[37] Gao, H. and Ji, S. (2019). Graph U-Nets. In International Conference on Machine Learning, pages 2083–2092.
|
| 264 |
+
[38] Garg, V. K., Jegelka, S., and Jaakkola, T. S. (2020). Generalization and representational limits of graph neural networks. In International Conference on Machine Learning, pages 3419–3430.
|
| 265 |
+
[39] Geerts, F. (2020). The expressive power of kth-order invariant graph networks. CoRR, abs/2007.12035.
|
| 266 |
+
[40] Geerts, F., Mazowiecki, F., and Pérez, G. A. (2020). Let’s agree to degree: Comparing graph convolutional networks in the message-passing framework. CoRR, abs/2004.02593.
|
| 267 |
+
[41] Giles, W. B. (1974). The reconstruction of outerplanar graphs. Journal of Combinatorial Theory, Series B, 16(3):215 – 226.
|
| 268 |
+
[42] Gilmer, J., Schoenholz, S. S., Riley, P. F., Vinyals, O., and Dahl, G. E. (2017). Neural message passing for quantum chemistry. In International Conference on Machine Learning.
|
| 269 |
+
[43] Godsil, C. (1993). Algebraic combinatorics, volume 6. CRC Press.
|
| 270 |
+
[44] Grohe, M. (2017). Descriptive Complexity, Canonisation, and Definable Graph Structure Theory. Lecture Notes in Logic. Cambridge University Press.
|
| 271 |
+
[45] Grohe, M. (2020). Word2vec, Node2vec, Graph2vec, X2vec: Towards a theory of vector embeddings of structured data. CoRR, abs/2003.12590.
|
| 272 |
+
[46] Grohe, M. and Neuen, D. (2020). Recent advances on the graph isomorphism problem. CoRR, abs/2011.01366.
|
| 273 |
+
[47] Hamilton, W. L., Ying, R., and Leskovec, J. (2017). Inductive representation learning on large graphs. In Advances in Neural Information Processing Systems, pages 1025–1035.
|
| 274 |
+
[48] Hinton, G. E., Srivastava, N., Krizhevsky, A., Sutskever, I., and Salakhutdinov, R. R. (2012). Improving neural networks by preventing co-adaptation of feature detectors. CoRR, abs/1207.0580.
|
| 275 |
+
[49] Hu, W., Fey, M., Zitnik, M., Dong, Y., Ren, H., Liu, B., Catasta, M., and Leskovec, J. (2020). Open graph benchmark: Datasets for machine learning on graphs. In Advances in Neural Information Processing Systems.
|
| 276 |
+
[50] Jin, Y., Song, G., and Shi, C. (2019). GraLSP: Graph neural networks with local structural patterns. CoRR, abs/1911.07675.
|
| 277 |
+
[51] Junttila, T. and Kaski, P. (2007). Engineering an efficient canonical labeling tool for large and sparse graphs. In Workshop on Algorithm Engineering and Experiments, pages 135–149.
|
| 278 |
+
[52] Kelly, P. J. (1942). On isometric transformations. PhD thesis, University of Wisconsin-Madison.
|
| 279 |
+
[53] Kelly, P. J. et al. (1957). A congruence theorem for trees. Pacific Journal of Mathematics, 7(1):961–968.
|
| 280 |
+
[54] Keriven, N. and Peyré, G. (2019). Universal invariant and equivariant graph neural networks. In Advances in Neural Information Processing Systems, pages 7090–7099.
|
| 281 |
+
[55] Kiefer, S., Schweitzer, P., and Selman, E. (2015). Graphs identified by logics with counting. In International Symposium on Mathematical Foundations of Computer Science, pages 319–330.
|
| 282 |
+
[56] Kipf, T. N. and Welling, M. (2017). Semi-supervised classification with graph convolutional networks. In International Conference on Learning Representation.
|
| 283 |
+
[57] Kireev, D. B. (1995). Chemnet: A novel neural network based method for graph/property mapping. Journal of Chemical Information and Computer Sciences, 35(2):175–180.
|
| 284 |
+
[58] Klicpera, J., Groß, J., and Günnemann, S. (2020). Directional message passing for molecular graphs. In International Conference on Learning Representations.
|
| 285 |
+
[59] Kong, K., Li, G., Ding, M., Wu, Z., Zhu, C., Ghanem, B., Taylor, G., and Goldstein, T. (2020). FLAG: adversarial data augmentation for graph neural networks. CoRR, abs/2010.09891.
|
| 286 |
+
[60] Kostochka, A. V. and West, D. B. (2020). On reconstruction of n-vertex graphs from the multiset of (n-\`)-vertex induced subgraphs. IEEE Transactions on Information Theory, PP:1–1.
|
| 287 |
+
[61] Li, P., Wang, Y., Wang, H., and Leskovec, J. (2020). Distance encoding: Design provably more powerful neural networks for graph representation learning. Advances in Neural Information Processing Systems.
|
| 288 |
+
[62] Liao, R., Urtasun, R., and Zemel, R. S. (2020). A PAC-bayesian approach to generalization bounds for graph neural networks. CoRR, abs/2012.07690.
|
| 289 |
+
[63] Lyle, C., van der Wilk, M., Kwiatkowska, M., Gal, Y., and Bloem-Reddy, B. (2020). On the benefits of invariance in neural networks. arXiv preprint arXiv:2005.00178.
|
| 290 |
+
[64] Maehara, T. and NT, H. (2019). A simple proof of the universality of invariant/equivariant graph neural networks. CoRR, abs/1910.03802.
|
| 291 |
+
[65] Manvel, B. (1974). Some basic observations on kelly’s conjecture for graphs. Discrete Mathematics, 8(2):181–185.
|
| 292 |
+
[66] Maron, H., Ben-Hamu, H., Serviansky, H., and Lipman, Y. (2019a). Provably powerful graph networks. In Advances in Neural Information Processing Systems, pages 2153–2164.
|
| 293 |
+
[67] Maron, H., Fetaya, E., Segol, N., and Lipman, Y. (2019b). On the universality of invariant networks. In International Conference on Machine Learning, volume 97, pages 4363–4371. PMLR.
|
| 294 |
+
[68] McKay, B. D. (1997). Small graphs are reconstructible. Australasian Journal of Combinatorics, 15:123–126.
|
| 295 |
+
[69] Merkwirth, C. and Lengauer, T. (2005). Automatic generation of complementary descriptors with molecular graph networks. Journal of Chemical Information and Modeling, 45(5):1159–1168.
|
| 296 |
+
[70] Micheli, A. (2009). Neural network for graphs: A contextual constructive approach. IEEE Transactions on Neural Networks, 20(3):498–511.
|
| 297 |
+
[71] Micheli, A. and Sestito, A. S. (2005). A new neural network model for contextual processing of graphs. In Italian Workshop on Neural Nets Neural Nets and International Workshop on Natural and Artificial Immune Systems, volume 3931 of Lecture Notes in Computer Science, pages 10–17. Springer.
|
| 298 |
+
[72] Monti, F., Boscaini, D., Masci, J., Rodolà, E., Svoboda, J., and Bronstein, M. M. (2017). Geometric deep learning on graphs and manifolds using mixture model CNNs. In IEEE Conference on Computer Vision and Pattern Recognition, pages 5425–5434.
|
| 299 |
+
[73] Morris, C. (2021). The power of the weisfeiler-leman algorithm for machine learning with graphs. In International Joint Conference on Artificial Intelligence, page TBD.
|
| 300 |
+
[74] Morris, C., Kriege, N. M., Bause, F., Kersting, K., Mutzel, P., and Neumann, M. (2020a). TUDataset: A collection of benchmark datasets for learning with graphs. CoRR, abs/2007.08663.
|
| 301 |
+
[75] Morris, C., L., Y., Maron, H., Rieck, B., Kriege, N. M., Grohe, M., Fey, M., and Borgwardt, K. (2021). Weisfeiler and leman learning: The story so far. CoRR, abs/2112.09992.
|
| 302 |
+
[76] Morris, C. and Mutzel, P. (2019). Towards a practical $k$ -dimensional Weisfeiler-Leman algorithm. CoRR, abs/1904.01543.
|
| 303 |
+
[77] Morris, C., Rattan, G., and Mutzel, P. (2020b). Weisfeiler and leman go sparse: Towards higher-order graph embeddings. In Advances in Neural Information Processing Systems.
|
| 304 |
+
[78] Morris, C., Ritzert, M., Fey, M., Hamilton, W. L., Lenssen, J. E., Rattan, G., and Grohe, M. (2019). Weisfeiler and Leman go neural: Higher-order graph neural networks. In AAAI Conference on Artificial Intelligence, pages 4602–4609.
|
| 305 |
+
[79] Murphy, R. L., Srinivasan, B., Rao, V., and Ribeiro, B. (2019a). Janossy pooling: Learning deep permutationinvariant functions for variable-size inputs. International Conference on Learning Representations.
|
| 306 |
+
[80] Murphy, R. L., Srinivasan, B., Rao, V., and Ribeiro, B. (2019b). Relational pooling for graph representations. In International Conference on Machine Learning, pages 4663–4673.
|
| 307 |
+
[81] Murphy, R. L., Srinivasan, B., Rao, V. A., and Ribeiro, B. (2019c). Relational pooling for graph representations. In International Conference on Machine Learning, pages 4663–4673.
|
| 308 |
+
[82] Niepert, M., Ahmed, M., and Kutzkov, K. (2016). Learning convolutional neural networks for graphs. In International Conference on Machine Learning, pages 2014–2023.
|
| 309 |
+
[83] Nydl, V. (1981). Finite graphs and digraphs which are not reconstructible from their cardinality restricted \` subgraphs. Commentationes Mathematicae Universitatis Carolinae, 22(2):281–287.
|
| 310 |
+
[84] Nydl, V. (2001). Graph reconstruction from subgraphs. \` Discrete Mathematics, 235(1-3):335–341.
|
| 311 |
+
[85] Rong, Y., Huang, W., Xu, T., and Huang, J. (2020). DropEdge: Towards deep graph convolutional networks on node classification. In International Conference on Learning Representations.
|
| 312 |
+
[86] Sato, R., Yamada, M., and Kashima, H. (2020). Random features strengthen graph neural networks. CoRR, abs/2002.03155.
|
| 313 |
+
[87] Scarselli, F., Gori, M., Tsoi, A. C., Hagenbuchner, M., and Monfardini, G. (2009). The graph neural network model. IEEE Transactions on Neural Networks, 20(1):61–80.
|
| 314 |
+
[88] Shawe-Taylor, J. (1993). Symmetries and discriminability in feedforward network architectures. IEEE Transactions on Neural Networks, 4(5):816–826.
|
| 315 |
+
[89] Simonovsky, M. and Komodakis, N. (2017). Dynamic edge-conditioned filters in convolutional neural networks on graphs. In IEEE Conference on Computer Vision and Pattern Recognition, pages 29–38.
|
| 316 |
+
[90] Sperduti, A. and Starita, A. (1997). Supervised neural networks for the classification of structures. IEEE Transactions on Neural Networks, 8(2):714–35.
|
| 317 |
+
[91] Spinoza, H. and West, D. B. (2019). Reconstruction from the deck of-vertex induced subgraphs. Journal of Graph Theory, 90(4):497–522.
|
| 318 |
+
[92] Stockmeyer, P. K. (1977). The falsity of the reconstruction conjecture for tournaments. Journal of Graph Theory, 1(1):19–25.
|
| 319 |
+
[93] Stockmeyer, P. K. (1981). A census of non-reconstructable digraphs, i: Six related families. Journal of Combinatorial Theory, Series B, 31(2):232–239.
|
| 320 |
+
[94] Stokes, J., Yang, K., Swanson, K., Jin, W., Cubillos-Ruiz, A., Donghia, N., MacNair, C., French, S., Carfrae, L., Bloom-Ackerman, Z., Tran, V., Chiappino-Pepe, A., Badran, A., Andrews, I., Chory, E., Church, G., Brown, E., Jaakkola, T., Barzilay, R., and Collins, J. (2020). A deep learning approach to antibiotic discovery. Cell, 180:688–702.e13.
|
| 321 |
+
[95] Taylor, R. (1990). Reconstructing degree sequences from k-vertex-deleted subgraphs. Discrete mathematics, 79(2):207–213.
|
| 322 |
+
[96] Ulam, S. M. (1960). A collection of mathematical problems, volume 8. Interscience Publishers.
|
| 323 |
+
[97] Velickovic, P., Cucurull, G., Casanova, A., Romero, A., Liò, P., and Bengio, Y. (2018). Graph attention networks. In International Conference on Learning Representations.
|
| 324 |
+
[98] Vignac, C., Loukas, A., and Frossard, P. (2020). Building powerful and equivariant graph neural networks with structural message-passing. In Advances in Neural Information Processing Systems.
|
| 325 |
+
[99] Vinyals, O., Bengio, S., and Kudlur, M. (2015). Order matters: Sequence to sequence for sets. arXiv preprint arXiv:1511.06391.
|
| 326 |
+
[100] Wagstaff, E., Fuchs, F., Engelcke, M., Posner, I., and Osborne, M. A. (2019). On the limitations of representing functions on sets. International Conference on Machine Learning, pages 6487–6494.
|
| 327 |
+
[101] Weisfeiler, B. (1976). On Construction and Identification of Graphs. Lecture Notes in Mathematics, Vol. 558. Springer.
|
| 328 |
+
[102] Weisfeiler, B. and Leman., A. (1968). The reduction of a graph to canonical form and the algebra which appears therein. Nauchno-Technicheskaya Informatsia, 2(9):12–16. English translation by G. Ryabov is available at https://www.iti.zcu.cz/wl2018/pdf/wl_paper_translation.pdf.
|
| 329 |
+
[103] Wu, Z., Pan, S., Chen, F., Long, G., Zhang, C., and Yu, P. S. (2019). A comprehensive survey on graph neural networks. CoRR, abs/1901.00596.
|
| 330 |
+
[104] Wu, Z., Ramsundar, B., Feinberg, E. N., Gomes, J., Geniesse, C., Pappu, A. S., Leswing, K., and Pande, V. (2018). MoleculeNet: A benchmark for molecular machine learning. Chemical Science, 9:513–530.
|
| 331 |
+
[105] Xu, K., Hu, W., Leskovec, J., and Jegelka, S. (2019). How powerful are graph neural networks? In International Conference on Learning Representations.
|
| 332 |
+
[106] Xu, K., Li, C., Tian, Y., Sonobe, T., Kawarabayashi, K., and Jegelka, S. (2018). Representation learning on graphs with jumping knowledge networks. In International Conference on Machine Learning, pages 5453–5462.
|
| 333 |
+
[107] Yehudai, G., Fetaya, E., Meirom, E. A., Chechik, G., and Maron, H. (2020). On size generalization in graph neural networks. CoRR, abs/2010.08853.
|
| 334 |
+
[108] Ying, R., You, J., Morris, C., Ren, X., Hamilton, W. L., and Leskovec, J. (2018). Hierarchical graph representation learning with differentiable pooling. In Advances in Neural Information Processing Systems, pages 4800–4810.
|
| 335 |
+
[109] You, J., Gomes-Selman, J., Ying, R., and Leskovec, J. (2021). Identity-aware graph neural networks. arXiv preprint arXiv:2101.10320.
|
| 336 |
+
[110] You, J., Ying, R., and Leskovec, J. (2019). Position-aware graph neural networks. In International Conference on Machine Learning, pages 7134–7143.
|
| 337 |
+
[111] Yuan, H., Yu, H., Wang, J., Li, K., and Ji, S. (2021). On explainability of graph neural networks via subgraph explorations. arXiv preprint arXiv:2102.05152.
|
| 338 |
+
[112] Zaheer, M., Kottur, S., Ravanbakhsh, S., Poczos, B., Salakhutdinov, R. R., and Smola, A. J. (2017). Deep sets. In Advances in neural information processing systems, pages 3391–3401.
|
| 339 |
+
[113] Zhang, M., Cui, Z., Neumann, M., and Yixin, C. (2018). An end-to-end deep learning architecture for graph classification. In AAAI Conference on Artificial Intelligence, pages 4428–4435.
|
| 340 |
+
[114] Zhou, J., Cui, G., Zhang, Z., Yang, C., Liu, Z., Wang, L., Li, C., and Sun, M. (2018). Graph neural networks: A review of methods and applications. CoRR, abs/1812.08434.
|
parse/train/ZKbZ4mebI9l/ZKbZ4mebI9l_content_list.json
ADDED
|
@@ -0,0 +1,1273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Reconstruction for Powerful Graph Representations ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
183,
|
| 8 |
+
122,
|
| 9 |
+
815,
|
| 10 |
+
148
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Leonardo Cotta Purdue University cotta@purdue.edu ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
240,
|
| 19 |
+
200,
|
| 20 |
+
379,
|
| 21 |
+
242
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Christopher Morris Mila – Quebec AI Institute, McGill University chris@christophermorris.info ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
450,
|
| 30 |
+
200,
|
| 31 |
+
758,
|
| 32 |
+
242
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Bruno Ribeiro Purdue University ribeiro@cs.purdue.edu ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
406,
|
| 41 |
+
263,
|
| 42 |
+
589,
|
| 43 |
+
305
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Abstract ",
|
| 50 |
+
"text_level": 1,
|
| 51 |
+
"bbox": [
|
| 52 |
+
462,
|
| 53 |
+
342,
|
| 54 |
+
535,
|
| 55 |
+
358
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "Graph neural networks (GNNs) have limited expressive power, failing to represent many graph classes correctly. While more expressive graph representation learning (GRL) alternatives can distinguish some of these classes, they are significantly harder to implement, may not scale well, and have not been shown to outperform well-tuned GNNs in real-world tasks. Thus, devising simple, scalable, and expressive GRL architectures that also achieve real-world improvements remains an open challenge. In this work, we show the extent to which graph reconstruction—reconstructing a graph from its subgraphs—can mitigate the theoretical and practical problems currently faced by GRL architectures. First, we leverage graph reconstruction to build two new classes of expressive graph representations. Secondly, we show how graph reconstruction boosts the expressive power of any GNN architecture while being a (provably) powerful inductive bias for invariances to vertex removals. Empirically, we show how reconstruction can boost GNN’s expressive power—while maintaining its invariance to permutations of the vertices—by solving seven graph property tasks not solvable by the original GNN. Further, we demonstrate how it boosts state-of-the-art GNN’s performance across nine real-world benchmark datasets. ",
|
| 62 |
+
"bbox": [
|
| 63 |
+
233,
|
| 64 |
+
372,
|
| 65 |
+
766,
|
| 66 |
+
593
|
| 67 |
+
],
|
| 68 |
+
"page_idx": 0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"type": "text",
|
| 72 |
+
"text": "1 Introduction ",
|
| 73 |
+
"text_level": 1,
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
618,
|
| 77 |
+
312,
|
| 78 |
+
636
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Supervised machine learning for graph-structured data, i.e., graph classification and regression, is ubiquitous across application domains ranging from chemistry and bioinformatics [8, 94] to image [89], and social network analysis [33]. Consequently, machine learning on graphs is an active research area with numerous proposed approaches—notably GNNs [21, 42, 45] being the most representative case of GRL methods. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
650,
|
| 88 |
+
825,
|
| 89 |
+
718
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "Arguably, GRL’s most interesting results arise from a cross-over between graph theory and representation learning. For instance, the representational limits of GNNs are upper-bounded by a simple heuristic for the graph isomorphism problem [78, 105], the 1-dimensional Weisfeiler-Leman algorithm (1- WL) [44, 73, 75, 101, 102], which might miss crucial structural information in the data [5]. Further works show how GNNs cannot approximate graph properties such as diameter, radius, girth, and subgraph counts [25, 38], inspiring architectures [6, 66, 77, 78] based on the more powerful $\\kappa$ -dimensional Weisfeiler-Leman algorithm ( $\\kappa$ -WL) [44].1 On the other hand, despite the limited expressiveness of GNNs, they still can overfit the training data, offering limited generalization performance [105]. Hence, devising GRL architectures that are simultaneously sufficiently expressive and avoid overfitting remains an open problem. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
726,
|
| 99 |
+
825,
|
| 100 |
+
863
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "An under-explored connection between graph theory and GRL is graph reconstruction, which studies graphs and graph properties uniquely determined by their subgraphs. In this direction, both the pioneering work of Shawe-Taylor [88] and the more recent work of Bouritsas et al. [18], show that assuming the reconstruction conjecture (see Conjecture 1) holds, their models are most-expressive representations (universal approximators) of graphs. Unfortunately, Shawe-Taylor’s computational graph grows exponentially with the number of vertices, and Bouritsas et al.’s full representation power requires performing multiple graph isomorphism tests on potentially large graphs (with $n - 1$ vertices). Moreover, these methods were not inspired by the more general subject of graph reconstruction; instead, they rely on the reconstruction conjecture to prove their architecture’s expressive powers. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
90,
|
| 110 |
+
825,
|
| 111 |
+
215
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "Contributions. In this work, we directly connect graph reconstruction to GRL. We first show how the $k$ -reconstruction of graphs—reconstruction from induced $k$ -vertex subgraphs—induces a natural class of expressive GRL architectures for supervised learning with graphs, denoted $k$ -Reconstruction Neural Networks. We then show how several existing works have their expressive power limited by $k$ -reconstruction. Further, we show how the reconstruction conjecture’s insights lead to a provably most expressive representation of graphs. Unlike Shawe-Taylor [88] and Bouritsas et al. [18], which, for graph tasks, require fixed-size unattributed graphs and multiple (large) graph isomorphism tests, respectively, our method represents bounded-size graphs with vertex attributes and does not rely on isomorphism tests. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
174,
|
| 120 |
+
222,
|
| 121 |
+
825,
|
| 122 |
+
347
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "To make our models scalable, we propose $k$ -Reconstruction GNNs, a general tool for boosting the expressive power and performance of GNNs with graph reconstruction. Theoretically, we characterize their expressive power showing that $k$ -Reconstruction GNNs can distinguish graph classes that the 1-WL and 2-WL cannot, such as cycle graphs and strongly regular graphs, respectively. Further, to explain gains in real-world tasks, we show how reconstruction can act as a lower-variance risk estimator when the graph-generating distribution is invariant to vertex removals. Empirically, we show that reconstruction enhances GNNs’ expressive power, making them solve multiple synthetic graph property tasks in the literature not solvable by the original GNN. On real-world datasets, we show that the increase in expressive power coupled with the lower-variance risk estimator boosts GNNs’ performance up to $2 5 \\%$ . Our combined theoretical and empirical results make another important connection between graph theory and GRL. ",
|
| 129 |
+
"bbox": [
|
| 130 |
+
174,
|
| 131 |
+
353,
|
| 132 |
+
825,
|
| 133 |
+
505
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 1
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "1.1 Related work ",
|
| 140 |
+
"text_level": 1,
|
| 141 |
+
"bbox": [
|
| 142 |
+
174,
|
| 143 |
+
530,
|
| 144 |
+
305,
|
| 145 |
+
545
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 1
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "text",
|
| 151 |
+
"text": "We review related work from GNNs, their limitations, data augmentation, and the reconstruction conjecture in the following. See Appendix A for a more detailed discussion. ",
|
| 152 |
+
"bbox": [
|
| 153 |
+
174,
|
| 154 |
+
559,
|
| 155 |
+
823,
|
| 156 |
+
588
|
| 157 |
+
],
|
| 158 |
+
"page_idx": 1
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"type": "text",
|
| 162 |
+
"text": "GNNs. Notable instances of this architecture include, e.g., [31, 47, 97], and the spectral approaches proposed in, e.g., [19, 30, 56, 72]—all of which descend from early work in [10, 57, 69, 70, 71, 87, 90]. Aligned with the field’s recent rise in popularity, there exists a plethora of surveys on recent advances in GNN methods. Some of the most recent ones include [21, 104, 114]. ",
|
| 163 |
+
"bbox": [
|
| 164 |
+
174,
|
| 165 |
+
593,
|
| 166 |
+
825,
|
| 167 |
+
648
|
| 168 |
+
],
|
| 169 |
+
"page_idx": 1
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"type": "text",
|
| 173 |
+
"text": "Limits of GNNs. Recently, connections to Weisfeiler-Leman type algorithms have been shown [9, 27, 39, 40, 64, 66, 77, 78, 105]. Specifically, the authors of [78, 105] show how the 1-WL limits the expressive power of any possible GNN architecture. Morris et al. [78] introduce $\\kappa$ -dimensional GNNs which rely on a more expressive message-passing scheme between subgraphs of cardinality $\\kappa$ . Later, this was refined in [6, 66] and in [76] by deriving models equivalent to the more powerful $\\kappa$ -dimensional Weisfeiler-Leman algorithm. Chen et al. [27] connect the theory of universal approximation of permutation-invariant functions and graph isomorphism testing, further introducing a variation of the 2- WL. Recently, a large body of work propose enhancements to GNNs, e.g., see [3, 11, 14, 18, 80, 98, 109], making them more powerful than the 1-WL; see [75] for a survey and see Appendix A for a in-depth discussion. For clarity, throughout this work, we will use the term GNNs to denote the class of message-passing architectures limited by the 1-WL algorithm, where the class of distinguishable graphs is well understood [5]. ",
|
| 174 |
+
"bbox": [
|
| 175 |
+
173,
|
| 176 |
+
656,
|
| 177 |
+
825,
|
| 178 |
+
821
|
| 179 |
+
],
|
| 180 |
+
"page_idx": 1
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"type": "text",
|
| 184 |
+
"text": "Data augmentation, generalization and subgraph-based inductive biases. There exist few works proposing data augmentation for GNNs for graph classification. Kong et al. [59] introduces a simple feature perturbation framework to achieve this, while Rong et al. [85], Feng et al. [34] focus on vertex-level tasks. Garg et al. [38] study the generalization abilities of GNNs showing bounds on the Rademacher complexity, while Liao et al. [62] offer a refined analysis within the PAC-Bayes framework. Recently, Bouritsas et al. [18] proposed to use subgraph counts as vertex and edge features in GNNs. ",
|
| 185 |
+
"bbox": [
|
| 186 |
+
174,
|
| 187 |
+
828,
|
| 188 |
+
825,
|
| 189 |
+
911
|
| 190 |
+
],
|
| 191 |
+
"page_idx": 1
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"type": "image",
|
| 195 |
+
"img_path": "images/dca081efcdea705c93b7b98b692adfc66ee28516f8f4a81b121c6c24cf78495d.jpg",
|
| 196 |
+
"image_caption": [
|
| 197 |
+
"Figure 1: A graph $G$ and its deck ${ \\mathcal { D } } _ { n - 1 } ( G )$ , faded out vertices are not part of each card in the deck. "
|
| 198 |
+
],
|
| 199 |
+
"image_footnote": [],
|
| 200 |
+
"bbox": [
|
| 201 |
+
285,
|
| 202 |
+
0,
|
| 203 |
+
710,
|
| 204 |
+
154
|
| 205 |
+
],
|
| 206 |
+
"page_idx": 2
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"type": "text",
|
| 210 |
+
"text": "Although the authors show an increase in expressiveness, the extent, e.g., which graph classes their model can distinguish, is still mostly unclear. Moreover, Yehudai et al. [107] investigate GNNs’ ability to generalize to larger graphs. Concurrently, Bevilacqua et al. [12] show how subgraph densities can be used to build size-invariant graph representations. However, the performance of such models in in-distribution tasks, their expressiveness, and scalability remain unclear. Finally, Yuan et al. [111] show how GNNs’ decisions can be explained by (often large) subgraphs, further motivating our use of graph reconstruction as a powerful inductive bias for GRL. ",
|
| 211 |
+
"bbox": [
|
| 212 |
+
173,
|
| 213 |
+
195,
|
| 214 |
+
825,
|
| 215 |
+
292
|
| 216 |
+
],
|
| 217 |
+
"page_idx": 2
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"type": "text",
|
| 221 |
+
"text": "Reconstruction conjecture. The reconstruction conjecture is a longstanding open problem in graph theory, which has been solved in many particular settings. Such results come in two flavors. Either proving that graphs from a specific class are reconstructible or determining which graph functions are reconstructible. Known results of the former are, for instance, that regular graphs, disconnected graphs, and trees are reconstructible [16, 53]. In particular, we highlight that outerplanar graphs, which account for most molecule graphs, are known to be reconstructible [41]. For a comprehensive review of graph reconstruction results, see Bondy [16]. ",
|
| 222 |
+
"bbox": [
|
| 223 |
+
173,
|
| 224 |
+
299,
|
| 225 |
+
825,
|
| 226 |
+
397
|
| 227 |
+
],
|
| 228 |
+
"page_idx": 2
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"type": "text",
|
| 232 |
+
"text": "2 Preliminaries ",
|
| 233 |
+
"text_level": 1,
|
| 234 |
+
"bbox": [
|
| 235 |
+
174,
|
| 236 |
+
417,
|
| 237 |
+
318,
|
| 238 |
+
434
|
| 239 |
+
],
|
| 240 |
+
"page_idx": 2
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"type": "text",
|
| 244 |
+
"text": "Here, we introduce notation and give an overview of the main results in graph reconstruction theory [16, 43], including the reconstruction conjecture [96], which forms the basis of the models in this work. ",
|
| 245 |
+
"bbox": [
|
| 246 |
+
174,
|
| 247 |
+
450,
|
| 248 |
+
825,
|
| 249 |
+
478
|
| 250 |
+
],
|
| 251 |
+
"page_idx": 2
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"type": "text",
|
| 255 |
+
"text": "Notation and definitions. As usual, let $[ n ] = \\left\\{ 1 , \\dots , n \\right\\} \\subset \\mathbb { N }$ for $n \\geq 1$ , and let $\\mathbb { f } \\dots \\mathbb { Y }$ denote a multiset. In an abuse of notation, for a set $X$ with $x$ in $X$ , we denote by $X - x$ the set $X { \\bar { \\backslash } } \\left\\{ x \\right\\}$ . We also assume elementary definitions from graph theory, such as graphs, directed graphs, vertices, edges, neighbors, trees, isomorphism, et cetera; see Appendix B. The vertex and the edge set of a graph $G$ are denoted by $V ( G )$ and $E ( G )$ , respectively. The size of a graph $G$ is equal to its number of vertices. Unless indicated otherwise, we use $n : = | V ( G ) |$ . If not otherwise stated, we assume that vertices and edges are annoted with attributes, i.e., real-valued vectors. ",
|
| 256 |
+
"bbox": [
|
| 257 |
+
174,
|
| 258 |
+
483,
|
| 259 |
+
826,
|
| 260 |
+
582
|
| 261 |
+
],
|
| 262 |
+
"page_idx": 2
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"type": "text",
|
| 266 |
+
"text": "We denote the set of all finite and simple graphs by $\\mathcal { G }$ . The subset of $\\mathcal { G }$ without edge attributes (or edge directions) is denoted ${ \\mathfrak { G } } \\subset { \\mathcal { G } }$ . We write $G \\simeq H$ if the graphs $G$ and $H$ are isomorphic. Further, we denote the isomorphism type, i.e., the equivalence class of the isomorphism relation, of a graph $G$ a s ${ \\mathcal { T } } ( G )$ . Let $S \\subseteq V ( G )$ , then $G [ S ]$ is the induced subgraph with edge set $E ( G ) [ S ] = \\{ S ^ { \\tilde { 2 } } \\cap ^ { } E ( G ) \\}$ We will refer to induced subgraphs simply as subgraphs in this work. ",
|
| 267 |
+
"bbox": [
|
| 268 |
+
174,
|
| 269 |
+
587,
|
| 270 |
+
825,
|
| 271 |
+
659
|
| 272 |
+
],
|
| 273 |
+
"page_idx": 2
|
| 274 |
+
},
|
| 275 |
+
{
|
| 276 |
+
"type": "text",
|
| 277 |
+
"text": "Let $\\Re$ be a family of graph representations, such that for $d \\ge 1$ , $r$ in $\\Re$ , $r \\colon \\mathcal { G } \\mathbb { R } ^ { d }$ , assigns a $d$ -dimensional representation vector $r ( G )$ for a graph $G$ in $\\mathcal { G }$ . We say $\\Re$ can distinguish a graph $G$ if there exists $r$ in $\\Re$ that assigns a unique representation to the isomorphism type of $G$ , i.e., $r ( G ) = r ( H )$ if and only if $G \\simeq H$ . Further, we say $\\Re$ distinguishes a pair of non-isomorphic graphs $G$ and $H$ if there exists some $r$ in $\\Re$ such that $r ( G ) \\neq r ( H )$ . Moreover, we write $\\Re _ { 1 } \\preceq \\Re _ { 2 }$ if $\\Re _ { 2 }$ distinguishes between all graphs $\\Re _ { 1 }$ does, and $\\Re _ { 1 } \\equiv \\Re _ { 2 }$ if both directions hold. The corresponding strict relation is denoted by $\\prec$ . Finally, we say $\\Re$ is a most-expressive representation of a class of graphs if it distinguishes all non-isomorphic graphs in that class. ",
|
| 278 |
+
"bbox": [
|
| 279 |
+
173,
|
| 280 |
+
662,
|
| 281 |
+
825,
|
| 282 |
+
775
|
| 283 |
+
],
|
| 284 |
+
"page_idx": 2
|
| 285 |
+
},
|
| 286 |
+
{
|
| 287 |
+
"type": "text",
|
| 288 |
+
"text": "Graph reconstruction. Intuitively, the reconstruction conjecture states that an undirected edgeunattributed graph can be fully recovered up to its isomorphism type given the multiset of its vertexdeleted subgraphs’ isomorphism types. This multiset of subgraphs is usually referred to as the deck of the graph, see Figure 1 for an illustration. Formally, for a graph $G$ , we define its deck as ${ \\mathcal { D } } _ { n - 1 } ( G ) = \\left\\{ \\left\\{ { G } [ V ( G ) - v ] ) \\colon v \\in V ( G ) \\right\\} \\right\\}$ . We often call an element in ${ \\mathcal { D } } _ { n - 1 } ( G )$ a card. We define the graph reconstruction problem as follows. ",
|
| 289 |
+
"bbox": [
|
| 290 |
+
174,
|
| 291 |
+
780,
|
| 292 |
+
825,
|
| 293 |
+
864
|
| 294 |
+
],
|
| 295 |
+
"page_idx": 2
|
| 296 |
+
},
|
| 297 |
+
{
|
| 298 |
+
"type": "text",
|
| 299 |
+
"text": "Definition 1. Let $G$ and $H$ be graphs, then $H$ is a reconstruction of $G$ if $H$ and $G$ have the same deck, denoted $H \\sim G$ . $A$ graph $G$ is reconstructible if every reconstruction of $G$ is isomorphic to $G _ { : }$ , i.e., $H \\sim G$ implies $H \\simeq G$ . ",
|
| 300 |
+
"bbox": [
|
| 301 |
+
174,
|
| 302 |
+
868,
|
| 303 |
+
825,
|
| 304 |
+
911
|
| 305 |
+
],
|
| 306 |
+
"page_idx": 2
|
| 307 |
+
},
|
| 308 |
+
{
|
| 309 |
+
"type": "text",
|
| 310 |
+
"text": "Similarly, we define function reconstruction, which relates functions that map two graphs to the same value if they have the same deck. ",
|
| 311 |
+
"bbox": [
|
| 312 |
+
173,
|
| 313 |
+
92,
|
| 314 |
+
823,
|
| 315 |
+
119
|
| 316 |
+
],
|
| 317 |
+
"page_idx": 3
|
| 318 |
+
},
|
| 319 |
+
{
|
| 320 |
+
"type": "text",
|
| 321 |
+
"text": "Definition 2. Let $f \\colon { \\mathcal { G } } { \\mathcal { V } }$ be a function, then $f$ is reconstructible if $f ( G ) = f ( H )$ for all graphs in $\\{ ( H , G ) \\in \\mathcal { G } ^ { 2 } : H \\sim G \\}$ , i.e., $G \\sim H$ implies ${ \\dot { f } } ( G ) = f ( H )$ . ",
|
| 322 |
+
"bbox": [
|
| 323 |
+
176,
|
| 324 |
+
122,
|
| 325 |
+
823,
|
| 326 |
+
151
|
| 327 |
+
],
|
| 328 |
+
"page_idx": 3
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"type": "text",
|
| 332 |
+
"text": "We can now state the reconstruction conjecture, which in short says that every $G$ in $\\mathfrak { G }$ with $| V | \\geq 3$ is reconstructible. ",
|
| 333 |
+
"bbox": [
|
| 334 |
+
173,
|
| 335 |
+
155,
|
| 336 |
+
823,
|
| 337 |
+
183
|
| 338 |
+
],
|
| 339 |
+
"page_idx": 3
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"type": "text",
|
| 343 |
+
"text": "Conjecture 1 (Kelly [52], Ulam [96]). Let $H$ and $G$ in $\\mathfrak { G }$ be two finite, undirected, simple graphs with at least three vertices. If $H$ is a reconstruction of $G$ , then $H$ and $G$ are isomorphic. ",
|
| 344 |
+
"bbox": [
|
| 345 |
+
174,
|
| 346 |
+
185,
|
| 347 |
+
823,
|
| 348 |
+
215
|
| 349 |
+
],
|
| 350 |
+
"page_idx": 3
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"type": "text",
|
| 354 |
+
"text": "We note here that the reconstruction conjecture does not hold for directed graphs, hypergraphs, and infinite graphs [16, 92, 93]. In particular, edge directions can be seen as edge attributes. Thus, the reconstruction conjecture does not hold for the class $\\mathcal { G }$ . In contrast, the conjecture has been proved for practical-relevant graph classes, such as disconnected graphs, regular graphs, trees, and outerplanar graphs [16]. Further, computational searches show that graphs with up to eleven vertices are reconstructible [68]. Finally, many graph properties are known to be reconstructible, such as every size subgraph count, degree sequence, number of edges, and the characteristic polynomial [16]. ",
|
| 355 |
+
"bbox": [
|
| 356 |
+
173,
|
| 357 |
+
218,
|
| 358 |
+
825,
|
| 359 |
+
316
|
| 360 |
+
],
|
| 361 |
+
"page_idx": 3
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"type": "text",
|
| 365 |
+
"text": "Graph $k$ -reconstruction. Kelly et al. [53] generalized graph reconstruction, considering the multiset of subgraphs of size $k$ instead of $n - 1$ , which we denote ${ \\mathcal { D } } _ { k } ( G ) = \\{ \\{ { \\mathcal { T } } ( H ) \\colon H \\in S ^ { ( k ) } ( G ) \\} \\}$ , where $\\mathcal { S } ^ { ( k ) }$ is the set of all $\\binom { n } { k }$ $k$ -size subsets of $V$ . We often call an element in $\\mathcal { D } _ { k } ( G )$ a $k$ -card. From the $k$ -deck definition, it is easy to extend the concept of graph and function reconstruction, cf. Definitions 1 and 2, to graph and function $k$ -reconstruction. ",
|
| 366 |
+
"bbox": [
|
| 367 |
+
173,
|
| 368 |
+
321,
|
| 369 |
+
825,
|
| 370 |
+
395
|
| 371 |
+
],
|
| 372 |
+
"page_idx": 3
|
| 373 |
+
},
|
| 374 |
+
{
|
| 375 |
+
"type": "text",
|
| 376 |
+
"text": "Definition 3. Let $G$ and $H$ be graphs, then $H$ is a $k$ -reconstruction of $G$ if $H$ and $G$ have the same $k$ -deck, denoted $H \\sim _ { k } G .$ . A graph $G$ is $k$ -reconstructible if every $k$ -reconstruction of $G$ is isomorphic to $G$ , i.e., $H \\sim _ { k } G$ implies $H \\simeq G$ . ",
|
| 377 |
+
"bbox": [
|
| 378 |
+
173,
|
| 379 |
+
397,
|
| 380 |
+
825,
|
| 381 |
+
440
|
| 382 |
+
],
|
| 383 |
+
"page_idx": 3
|
| 384 |
+
},
|
| 385 |
+
{
|
| 386 |
+
"type": "text",
|
| 387 |
+
"text": "Accordingly, we define $k$ -function reconstruction as follows. ",
|
| 388 |
+
"bbox": [
|
| 389 |
+
174,
|
| 390 |
+
444,
|
| 391 |
+
571,
|
| 392 |
+
458
|
| 393 |
+
],
|
| 394 |
+
"page_idx": 3
|
| 395 |
+
},
|
| 396 |
+
{
|
| 397 |
+
"type": "text",
|
| 398 |
+
"text": "Definition 4. Let $f \\colon { \\mathcal { G } } { \\mathcal { V } }$ be a function, then $f$ is $k$ -reconstructible if $f ( G ) = f ( H )$ for all graphs in $\\{ ( H , G ) \\in \\mathcal { G } ^ { 2 } : H \\sim _ { k } G \\}$ , i.e., $G \\sim _ { k } H$ implies $f ( G ) = f ( H )$ . ",
|
| 399 |
+
"bbox": [
|
| 400 |
+
176,
|
| 401 |
+
462,
|
| 402 |
+
821,
|
| 403 |
+
491
|
| 404 |
+
],
|
| 405 |
+
"page_idx": 3
|
| 406 |
+
},
|
| 407 |
+
{
|
| 408 |
+
"type": "text",
|
| 409 |
+
"text": "Results for $k$ -reconstruction usually state the least $k$ as a function of $n$ such that all graphs $G$ in $\\mathcal { G }$ (or some subset) are $k$ -reconstructible [84]. There exist extensive partial results in this direction, mostly describing $k$ -reconstructibility (as a function of $n$ ) for a particular family of graphs, such as trees, disconnected graphs, complete multipartite graphs, and paths, see [84, 60]. More concretely, Nydl \\` [83], Spinoza and West [91] showed graphs with $2 k$ vertices that are not $k$ -reconstructible. In practice, these results imply that for some fixed $k$ there will be graphs with not many more vertices than $k$ that are not $k$ -reconstructible. Further, $k$ -reconstructible graph functions such as degree sequence and connectedness have been studied in [65, 91] depending on the size of $k$ . In Appendix C, we discuss further such results. ",
|
| 410 |
+
"bbox": [
|
| 411 |
+
173,
|
| 412 |
+
493,
|
| 413 |
+
826,
|
| 414 |
+
618
|
| 415 |
+
],
|
| 416 |
+
"page_idx": 3
|
| 417 |
+
},
|
| 418 |
+
{
|
| 419 |
+
"type": "text",
|
| 420 |
+
"text": "3 Reconstruction Neural Networks ",
|
| 421 |
+
"text_level": 1,
|
| 422 |
+
"bbox": [
|
| 423 |
+
174,
|
| 424 |
+
637,
|
| 425 |
+
480,
|
| 426 |
+
655
|
| 427 |
+
],
|
| 428 |
+
"page_idx": 3
|
| 429 |
+
},
|
| 430 |
+
{
|
| 431 |
+
"type": "text",
|
| 432 |
+
"text": "Building on the previous section, we propose two neural architectures based on graph $k$ -reconstruction and graph reconstruction. First, we look at $k$ -Reconstruction Neural Networks, the most natural way to use graph $k$ -reconstruction. Secondly, we look at Full Reconstruction Neural Networks, where we leverage the Reconstruction Conjecture to build a most-expressive representation for the class of graphs of bounded size and unattributed edges. ",
|
| 433 |
+
"bbox": [
|
| 434 |
+
173,
|
| 435 |
+
667,
|
| 436 |
+
825,
|
| 437 |
+
738
|
| 438 |
+
],
|
| 439 |
+
"page_idx": 3
|
| 440 |
+
},
|
| 441 |
+
{
|
| 442 |
+
"type": "text",
|
| 443 |
+
"text": "$k$ -Reconstruction Neural Networks. Intuitively, the key idea of $k$ -Reconstruction Neural Networks is that of learning a joint representation based on subgraphs induced by $k$ vertices. Formally, let $f _ { \\mathbf { W } } \\colon \\cup _ { m = 1 } ^ { \\infty } \\mathbb { R } ^ { m \\times \\breve { d } } \\overline { { \\mathbb { R } } } ^ { t }$ be a (row-wise) permutation-invariant function and $\\mathcal { G } _ { k } = \\{ G \\in \\mathcal { G } \\colon | V ( \\dot { G } ) | =$ $k \\}$ be the set of graphs with exactly $k$ vertices. Further, let $h ^ { ( k ) }$ : $\\mathcal { G } _ { k } \\mathbb { R } ^ { 1 \\times d }$ be a graph representation function such that two graphs $G$ and $H$ on $k$ vertices are mapped to the same vectorial representation if and only if they are isomorphic, i.e., $h ^ { ( k ) } ( G ) = h ^ { ( k ) } ( H ) \\ \\stackrel { \\quad \\cdot \\cdot } { \\longleftrightarrow } \\ G \\simeq H$ for all $G$ and $H$ in $\\mathcal { G } _ { k }$ . We define $k$ -Reconstruction Neural Networks over $\\mathcal { G }$ as a function with parameters $\\mathbf { W }$ in the form ",
|
| 444 |
+
"bbox": [
|
| 445 |
+
173,
|
| 446 |
+
743,
|
| 447 |
+
825,
|
| 448 |
+
844
|
| 449 |
+
],
|
| 450 |
+
"page_idx": 3
|
| 451 |
+
},
|
| 452 |
+
{
|
| 453 |
+
"type": "equation",
|
| 454 |
+
"img_path": "images/142cb31d0f6790ef31244c91247818d6eda23df15fe1019b07d4a7c03a51f57d.jpg",
|
| 455 |
+
"text": "$$\nr _ { \\mathbf { W } } ^ { ( k ) } ( G ) = f _ { \\mathbf { W } } \\Big ( \\mathrm { C o n c A T } \\big ( \\{ h ^ { ( k ) } ( G [ S ] ) \\colon S \\in \\mathcal { S } ^ { ( k ) } \\} \\big ) \\Big ) ,\n$$",
|
| 456 |
+
"text_format": "latex",
|
| 457 |
+
"bbox": [
|
| 458 |
+
313,
|
| 459 |
+
848,
|
| 460 |
+
681,
|
| 461 |
+
876
|
| 462 |
+
],
|
| 463 |
+
"page_idx": 3
|
| 464 |
+
},
|
| 465 |
+
{
|
| 466 |
+
"type": "text",
|
| 467 |
+
"text": "where $\\mathcal { S } ^ { ( k ) }$ is the set of all $k$ -size subsets of $V ( G )$ for some $3 \\leq k \\leq n$ , and CONCAT denotes row-wise concatenation of a multi-set of vectors in some arbitrary order. Note that $h ^ { ( k ) }$ might also be a function with learnable parameters. In that case, we require it to be most-expressive for $\\mathcal { G } _ { k }$ . The following results characterize the expressive power of the above architecture. ",
|
| 468 |
+
"bbox": [
|
| 469 |
+
176,
|
| 470 |
+
881,
|
| 471 |
+
821,
|
| 472 |
+
911
|
| 473 |
+
],
|
| 474 |
+
"page_idx": 3
|
| 475 |
+
},
|
| 476 |
+
{
|
| 477 |
+
"type": "text",
|
| 478 |
+
"text": "",
|
| 479 |
+
"bbox": [
|
| 480 |
+
173,
|
| 481 |
+
90,
|
| 482 |
+
823,
|
| 483 |
+
119
|
| 484 |
+
],
|
| 485 |
+
"page_idx": 4
|
| 486 |
+
},
|
| 487 |
+
{
|
| 488 |
+
"type": "text",
|
| 489 |
+
"text": "Proposition 1. Let fW be a universal approximator of multisets [112, 100, 79]. Then, $r _ { \\mathbf { W } } ^ { ( k ) }$ can approximate a function if and only if the function is -reconstructible. ",
|
| 490 |
+
"bbox": [
|
| 491 |
+
173,
|
| 492 |
+
125,
|
| 493 |
+
823,
|
| 494 |
+
154
|
| 495 |
+
],
|
| 496 |
+
"page_idx": 4
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"type": "text",
|
| 500 |
+
"text": "Moreover, we can observe the following. ",
|
| 501 |
+
"bbox": [
|
| 502 |
+
176,
|
| 503 |
+
161,
|
| 504 |
+
442,
|
| 505 |
+
176
|
| 506 |
+
],
|
| 507 |
+
"page_idx": 4
|
| 508 |
+
},
|
| 509 |
+
{
|
| 510 |
+
"type": "text",
|
| 511 |
+
"text": "Observation 1 (Nydl [84], Kostochka and West [60]) \\` . For any graph $G$ in $\\mathcal { G }$ , its $k$ -deck $\\mathcal { D } _ { k } ( G )$ determines its $\\left( k - 1 \\right)$ -deck ${ \\mathcal { D } } _ { k - 1 } ( G )$ . ",
|
| 512 |
+
"bbox": [
|
| 513 |
+
171,
|
| 514 |
+
179,
|
| 515 |
+
820,
|
| 516 |
+
208
|
| 517 |
+
],
|
| 518 |
+
"page_idx": 4
|
| 519 |
+
},
|
| 520 |
+
{
|
| 521 |
+
"type": "text",
|
| 522 |
+
"text": "From Observation 1, we can derive a hierarchy in the expressive power of $k$ -Reconstruction Neural Networks with respect to the subgraph size $k$ . That is, $r _ { \\mathbf { W } } ^ { ( 3 ) } \\preceq r _ { \\mathbf { W } } ^ { ( 4 ) } \\preceq \\cdots \\preceq r _ { \\mathbf { W } } ^ { ( n - 2 ) } \\preceq r _ { \\mathbf { W } } ^ { ( n - 1 ) }$ ",
|
| 523 |
+
"bbox": [
|
| 524 |
+
176,
|
| 525 |
+
215,
|
| 526 |
+
825,
|
| 527 |
+
248
|
| 528 |
+
],
|
| 529 |
+
"page_idx": 4
|
| 530 |
+
},
|
| 531 |
+
{
|
| 532 |
+
"type": "text",
|
| 533 |
+
"text": "In Appendix D, we show how many existing architectures have their expressive power limited by $k$ -reconstruction. We also refer to Appendix $\\mathrm { D }$ for the proofs, a discussion on the model’s computational complexity, approximation methods, and relation to existing work. ",
|
| 534 |
+
"bbox": [
|
| 535 |
+
174,
|
| 536 |
+
253,
|
| 537 |
+
823,
|
| 538 |
+
296
|
| 539 |
+
],
|
| 540 |
+
"page_idx": 4
|
| 541 |
+
},
|
| 542 |
+
{
|
| 543 |
+
"type": "text",
|
| 544 |
+
"text": "Full Reconstruction Neural Networks. Here, we propose a recursive scheme based on the reconstruction conjecture to build a most-expressive representation for graphs. Intuitively, Full Reconstruction Neural Networks recursively compute subgraph representations based on smaller subgraph representations. Formally, let ${ \\mathfrak { G } } _ { \\leq n ^ { * } } ^ { \\dagger } : = \\{ G \\in { \\mathfrak { G } } \\colon | V ( G ) | \\leq n ^ { * } \\}$ be the class of undirected graphs with unattributed edges and maximum size $n ^ { * }$ . Further, let $f _ { \\mathbf { W } } ^ { ( k ) } \\colon \\cup _ { m = 1 } ^ { \\infty } \\mathbb { R } ^ { m \\times d } \\mathbb { R } ^ { t }$ be a (row-wise) permutation invariant function and let $h _ { \\{ i , j \\} }$ be a most-expressive representation of the two-vertex subgraph induced by vertices $i$ and $j$ . We can now define the representation $r ( G [ V ( G ) ] )$ of a graph $G$ in ${ \\mathfrak { G } } _ { \\leq n ^ { * } } ^ { \\dagger }$ in a recursive fashion as ",
|
| 545 |
+
"bbox": [
|
| 546 |
+
173,
|
| 547 |
+
301,
|
| 548 |
+
826,
|
| 549 |
+
425
|
| 550 |
+
],
|
| 551 |
+
"page_idx": 4
|
| 552 |
+
},
|
| 553 |
+
{
|
| 554 |
+
"type": "equation",
|
| 555 |
+
"img_path": "images/27c86e83bd6536eb4af812cf7d1031575a91752d0842bf6464337c0eb590f199.jpg",
|
| 556 |
+
"text": "$$\nr ( G [ S ] ) = \\left\\{ \\begin{array} { l l } { f _ { \\mathbf { W } } ^ { ( | S | ) } \\left( \\mathbf { C o n c a r } ( \\left\\{ \\left\\{ r ( G [ S - v ] ) \\colon v \\in S \\right\\} \\right\\} ) \\right) , \\mathrm { ~ i f ~ } 3 \\leq | S | \\leq n } \\\\ { h _ { S } ( G [ S ] ) , \\quad \\quad \\quad \\quad \\quad \\quad \\mathrm { i f ~ } | S | = 2 . } \\end{array} \\right.\n$$",
|
| 557 |
+
"text_format": "latex",
|
| 558 |
+
"bbox": [
|
| 559 |
+
248,
|
| 560 |
+
428,
|
| 561 |
+
733,
|
| 562 |
+
472
|
| 563 |
+
],
|
| 564 |
+
"page_idx": 4
|
| 565 |
+
},
|
| 566 |
+
{
|
| 567 |
+
"type": "text",
|
| 568 |
+
"text": "Again, CONCAT is row-wise concatenation in some arbitrary order. Note that in practice, it is easier to build the subgraph representations in a bottom-up fashion. First, use two-vertex subgraph representations to compute all three-vertex subgraph representations. Then, perform this inductively until we arrive at a single whole-graph representation. In Appendix E, we prove the expressive power of Full Reconstruction Neural Networks, i.e., we show how if the reconstruction conjecture holds, it is a most-expressive representation of undirected edge-unattributed graphs. Finally, we show its quadratic number of parameters, exponential computational complexity, and relation to existing work. ",
|
| 569 |
+
"bbox": [
|
| 570 |
+
173,
|
| 571 |
+
477,
|
| 572 |
+
825,
|
| 573 |
+
575
|
| 574 |
+
],
|
| 575 |
+
"page_idx": 4
|
| 576 |
+
},
|
| 577 |
+
{
|
| 578 |
+
"type": "text",
|
| 579 |
+
"text": "4 Reconstruction Graph Neural Networks ",
|
| 580 |
+
"text_level": 1,
|
| 581 |
+
"bbox": [
|
| 582 |
+
174,
|
| 583 |
+
592,
|
| 584 |
+
540,
|
| 585 |
+
611
|
| 586 |
+
],
|
| 587 |
+
"page_idx": 4
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"type": "text",
|
| 591 |
+
"text": "Although Full Reconstruction Neural Networks provide a most-expressive representation for undirected, unattributed-edge graphs, they are impractical due to their computational cost. Similarly, $k$ -Reconstruction Neural Networks are not scalable since increasing their expressive power requires computing most-expressive representations of larger $k$ -size subgraphs. Hence, to circumvent the computational cost, we replace the most-expressive representations of subgraphs from $k$ -Reconstruction Neural Networks with GNN representations, resulting in what we name $k$ -Reconstruction GNNs. This change allows for scaling the model to larger subgraph sizes, such as $n - 1 , n - 2 , . . .$ , et cetera. ",
|
| 592 |
+
"bbox": [
|
| 593 |
+
173,
|
| 594 |
+
622,
|
| 595 |
+
826,
|
| 596 |
+
720
|
| 597 |
+
],
|
| 598 |
+
"page_idx": 4
|
| 599 |
+
},
|
| 600 |
+
{
|
| 601 |
+
"type": "text",
|
| 602 |
+
"text": "Since, in the general case, graph reconstruction assumes most-expressive representations of subgraphs, it cannot capture $k$ -Reconstruction GNNs’ expressive power directly. Hence, we provide a theoretical characterization of the expressive power of $k$ -Reconstruction GNNs by coupling graph reconstruction and the GNN expressive power characterization based on the 1-WL algorithm. Nevertheless, in Appendix F.2, we devise conditions under which $k$ -Reconstruction GNNs have the same power as $k$ -Reconstruction Neural Networks. Finally, we show how graph reconstruction can act as a (provably) powerful inductive bias for invariances to vertex removals, which boosts the performance of GNNs even in tasks where all graphs are already distinguishable by them (see Appendix G). We refer to Appendix F for a discussion on the model’s relation to existing work. ",
|
| 603 |
+
"bbox": [
|
| 604 |
+
173,
|
| 605 |
+
727,
|
| 606 |
+
825,
|
| 607 |
+
852
|
| 608 |
+
],
|
| 609 |
+
"page_idx": 4
|
| 610 |
+
},
|
| 611 |
+
{
|
| 612 |
+
"type": "text",
|
| 613 |
+
"text": "Formally, let $f _ { \\mathbf { W } } \\colon \\cup _ { m = 1 } ^ { \\infty } \\mathbb { R } ^ { m \\times d } \\to \\mathbb { R } ^ { t }$ be a (row-wise) permutation invariant function and $h _ { \\mathbf { W } } ^ { \\mathrm { G N N } } \\colon \\mathcal { G } \\to$ $\\mathbb { R } ^ { 1 \\times d }$ a GNN representation. Then, for $3 \\leq k < | V ( G ) |$ , a $k$ -Reconstruction GNN takes the form ",
|
| 614 |
+
"bbox": [
|
| 615 |
+
171,
|
| 616 |
+
856,
|
| 617 |
+
823,
|
| 618 |
+
888
|
| 619 |
+
],
|
| 620 |
+
"page_idx": 4
|
| 621 |
+
},
|
| 622 |
+
{
|
| 623 |
+
"type": "equation",
|
| 624 |
+
"img_path": "images/df13df724914f8373072dc4d5c6a2f5f95c40596dc04cb840689962de1e4a423.jpg",
|
| 625 |
+
"text": "$$\nr _ { \\mathbf { W } } ^ { ( k , \\mathrm { G N N } ) } ( G ) = f _ { \\mathbf { W } _ { 1 } } \\Big ( \\mathrm { C O N C A T } \\big ( \\{ \\{ h _ { \\mathbf { W } _ { 2 } } ^ { \\mathrm { G N N } } ( G [ S ] ) : S \\in \\mathcal { S } ^ { ( k ) } \\} \\} \\big ) \\Big ) ,\n$$",
|
| 626 |
+
"text_format": "latex",
|
| 627 |
+
"bbox": [
|
| 628 |
+
297,
|
| 629 |
+
890,
|
| 630 |
+
696,
|
| 631 |
+
915
|
| 632 |
+
],
|
| 633 |
+
"page_idx": 4
|
| 634 |
+
},
|
| 635 |
+
{
|
| 636 |
+
"type": "text",
|
| 637 |
+
"text": "with parameters $\\mathbf { W } = \\{ \\mathbf { W } _ { 1 } , \\mathbf { W } _ { 2 } \\}$ , where $\\mathcal { S } ^ { ( k ) }$ is the set of all $k$ -size subsets of $V ( G )$ , and CONCAT is row-wise concatenation in some arbitrary order. ",
|
| 638 |
+
"bbox": [
|
| 639 |
+
171,
|
| 640 |
+
90,
|
| 641 |
+
825,
|
| 642 |
+
119
|
| 643 |
+
],
|
| 644 |
+
"page_idx": 5
|
| 645 |
+
},
|
| 646 |
+
{
|
| 647 |
+
"type": "text",
|
| 648 |
+
"text": "Approximating r(k,GNN)W . By design, k-Reconstruction GNNs require computing GNN representations for all -vertex subgraphs, which might not be feasible for large graphs or datasets. To address this, we discuss a direction to circumvent computing all subgraphs, i.e., approximating $r _ { \\mathbf { W } } ^ { ( k , \\mathrm { G N N } ) }$ by sampling. One possible choice for $f _ { \\mathbf { W } }$ is Deep Sets [112], which we use for the experiments in Section 5, where the representation is a sum decomposition taking the form $r _ { \\mathbf { W } } ^ { ( k , \\mathrm { G N N } ) } ( G ) =$ $\\begin{array} { r } { \\rho _ { \\mathbf { W } _ { 1 } } \\bigg ( \\sum _ { S \\in { \\cal S } ^ { ( k ) } } \\phi _ { \\mathbf { W } _ { 2 } } \\Big ( h _ { \\mathbf { W } _ { 3 } } ^ { \\mathrm { G N N } } ( G [ S ] ) \\Big ) \\bigg ) } \\end{array}$ , where $\\rho _ { \\mathbf { W } _ { 1 } }$ and $\\phi \\mathbf { w } _ { 2 }$ are permutation sensitive functions, such as feed-forward networks. We can learn the $k$ -Reconstruction GNN model over a training dataset ${ \\mathcal D } ^ { ( \\mathrm { t r } ) } : = \\{ ( G _ { i } , y _ { i } ) \\} _ { i = 1 } ^ { N ^ { ( \\mathrm { t r } ) } }$ and a loss function $l$ by minimizing the empirical risk ",
|
| 649 |
+
"bbox": [
|
| 650 |
+
173,
|
| 651 |
+
123,
|
| 652 |
+
826,
|
| 653 |
+
276
|
| 654 |
+
],
|
| 655 |
+
"page_idx": 5
|
| 656 |
+
},
|
| 657 |
+
{
|
| 658 |
+
"type": "equation",
|
| 659 |
+
"img_path": "images/64f4cd4cbddf745c31a3d3d079e8cdf7ea8534bda5b8f2269411aa16e6d6840a.jpg",
|
| 660 |
+
"text": "$$\n\\widehat { \\mathcal { R } } _ { k } ( \\mathcal { D } ^ { ( \\mathrm { t r } ) } ; \\mathbf { W } _ { 1 } , \\mathbf { W } _ { 2 } , \\mathbf { W } _ { 3 } ) = \\frac { 1 } { N ^ { \\mathrm { t r } } } \\sum _ { i = 1 } ^ { N ^ { \\mathrm { t r } } } l \\big ( r _ { \\mathbf { W } } ^ { ( k , \\mathrm { G N N } ) } ( G _ { i } ) , y _ { i } \\big ) .\n$$",
|
| 661 |
+
"text_format": "latex",
|
| 662 |
+
"bbox": [
|
| 663 |
+
308,
|
| 664 |
+
285,
|
| 665 |
+
689,
|
| 666 |
+
330
|
| 667 |
+
],
|
| 668 |
+
"page_idx": 5
|
| 669 |
+
},
|
| 670 |
+
{
|
| 671 |
+
"type": "text",
|
| 672 |
+
"text": "Equation (1) is impractical for all but the smallest graphs, since $r _ { \\mathbf { W } } ^ { ( k , \\mathrm { G N N } ) }$ s a sum overusing a samall k-vertex induced subgraphs S(k) of G. Hence, we approximate r(k,GW $r _ { \\mathbf { W } } ^ { ( k , \\mathrm { G N N } ) }$ S (k)B ${ \\mathcal S } _ { B } ^ { ( k ) } ~ \\subset ~ { \\mathcal S } ^ { ( k ) }$ at every gradient step, i.e.. Due to non-linearities in $\\widehat { r } _ { \\mathbf { W } } ^ { ( k , \\mathrm { G N N } ) } ( G ) \\ =$ $\\begin{array} { r } { \\rho _ { \\mathbf { W } _ { 1 } } \\Big ( | S ^ { ( k ) } | / | S _ { B } ^ { ( k ) } | \\sum _ { S \\in S _ { B } ^ { ( k ) } } \\phi _ { \\mathbf { W } _ { 2 } } \\big ( h _ { \\mathbf { W } _ { 3 } } ^ { \\mathrm { ( G N N ) } } ( G [ S ] ) \\big ) \\Big ) } \\end{array}$ $\\rho _ { \\mathbf { W } _ { 1 } }$ $l$ ging $\\widehat { r } _ { \\mathbf { W } } ^ { ( k , \\mathrm { G N N } ) }$ B into Equatio (1) does not provide us with an unbiased estimate of $\\widehat { \\mathcal { R } } _ { k }$ . However, if i. $l ( \\rho _ { \\mathbf { W } _ { 1 } } ( a ) , y )$ $a$ per upper bound of our loss,. In practice, many models e., 1/N tr PN tri=1 l $\\begin{array} { r } { 1 / N ^ { \\mathrm { t r } } \\sum _ { i = 1 } ^ { N ^ { \\mathrm { t r } } } l \\big ( r _ { \\mathbf { W } } ^ { ( k , \\mathrm { G N N } ) } ( G _ { i } ) , y _ { i } \\big ) \\leq 1 / N ^ { \\mathrm { t r } } \\sum _ { i = 1 } ^ { N ^ { \\mathrm { t r } } } l \\big ( \\widehat { r } _ { \\mathbf { W } } ^ { ( k , \\mathrm { G N N } ) } ( G _ { i } ) , y _ { i } \\big ) . } \\end{array}$ tr1 l\u0000r (k,GNN)W (Gi), yi\u0001 brely on this approximation and provide scalable and reliable training procedures, cf. [48, 79, 80, 112]. ",
|
| 673 |
+
"bbox": [
|
| 674 |
+
173,
|
| 675 |
+
338,
|
| 676 |
+
826,
|
| 677 |
+
483
|
| 678 |
+
],
|
| 679 |
+
"page_idx": 5
|
| 680 |
+
},
|
| 681 |
+
{
|
| 682 |
+
"type": "text",
|
| 683 |
+
"text": "4.1 Expressive power ",
|
| 684 |
+
"text_level": 1,
|
| 685 |
+
"bbox": [
|
| 686 |
+
174,
|
| 687 |
+
500,
|
| 688 |
+
334,
|
| 689 |
+
515
|
| 690 |
+
],
|
| 691 |
+
"page_idx": 5
|
| 692 |
+
},
|
| 693 |
+
{
|
| 694 |
+
"type": "text",
|
| 695 |
+
"text": "Now, we analyze the expressive power of $k$ -Reconstruction GNNs. It is clear that $k$ -Reconstruction GNNs $\\preceq k$ -Reconstruction Neural Networks, however the relationship between $k$ -Reconstruction GNNs and GNNs is not that straightforward. At first, one expects that there exists a well-defined hierarchy—such as the one in $k$ -Reconstruction Neural Networks (see Observation 1)—between GNNs, $( n - 1 )$ -Reconstruction GNNs, $( n - 2 )$ -Reconstruction GNNs, and so on. However, there is no such hierarchy, as we see next. ",
|
| 696 |
+
"bbox": [
|
| 697 |
+
173,
|
| 698 |
+
526,
|
| 699 |
+
826,
|
| 700 |
+
611
|
| 701 |
+
],
|
| 702 |
+
"page_idx": 5
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"type": "text",
|
| 706 |
+
"text": "Are GNNs more expressive than $k$ -Reconstruction GNNs? It is well-known that GNNs cannot distinguish regular graphs [5, 78]. By leveraging the fact that regular graphs are reconstructible [53], we show that cycles and circular skip link (CSL) graphs—two classes of regular graphs—can indeed be distinguished by $k$ -Reconstruction GNNs, implying that $k$ -Reconstruction GNNs are not less expressive than GNNs. We start by showing that $k$ -Reconstruction GNNs can distinguish the class of cycle graphs. ",
|
| 707 |
+
"bbox": [
|
| 708 |
+
173,
|
| 709 |
+
616,
|
| 710 |
+
825,
|
| 711 |
+
686
|
| 712 |
+
],
|
| 713 |
+
"page_idx": 5
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"type": "text",
|
| 717 |
+
"text": "Theorem 1 ( $k$ -Reconstruction GNNs can distinguish cycles). Let $G \\in \\mathfrak { G }$ be a cycle graph with $n$ vertices and $k : = n - \\ell .$ . An $( n - \\ell )$ -Reconstruction GNN assigns a unique representation to $G$ if $\\begin{array} { r } { i ) \\ell < ( 1 + o ( 1 ) ) \\left( \\frac { 2 \\log n } { \\log \\log n } \\right) ^ { 1 / 2 } } \\end{array}$ 2 and ii) $\\begin{array} { r } { \\begin{array} { r } { n \\geq ( \\ell - \\log \\ell + 1 ) \\biggl ( \\frac { e + e \\log \\ell + e + 1 } { ( \\ell - 1 ) \\log \\ell - 1 } \\biggr ) + 1 h o l d . } \\end{array} } \\end{array}$ ",
|
| 718 |
+
"bbox": [
|
| 719 |
+
173,
|
| 720 |
+
690,
|
| 721 |
+
825,
|
| 722 |
+
750
|
| 723 |
+
],
|
| 724 |
+
"page_idx": 5
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"type": "text",
|
| 728 |
+
"text": "The following results shows that $k$ -Reconstruction GNNs can distinguish the class of CSL graphs. ",
|
| 729 |
+
"bbox": [
|
| 730 |
+
171,
|
| 731 |
+
758,
|
| 732 |
+
815,
|
| 733 |
+
775
|
| 734 |
+
],
|
| 735 |
+
"page_idx": 5
|
| 736 |
+
},
|
| 737 |
+
{
|
| 738 |
+
"type": "text",
|
| 739 |
+
"text": "Theorem 2 $k$ -Reconstruction GNNs can distinguish CSL graphs). Let $G , H \\in \\mathfrak { S }$ be two nonisomorphic circular skip link (CSL) graphs (a class of 4-regular graphs, cf. [23, 80]). Then, $( n - 1 )$ Reconstruction GNNs can distinguish $G$ and $H$ . ",
|
| 740 |
+
"bbox": [
|
| 741 |
+
173,
|
| 742 |
+
779,
|
| 743 |
+
823,
|
| 744 |
+
821
|
| 745 |
+
],
|
| 746 |
+
"page_idx": 5
|
| 747 |
+
},
|
| 748 |
+
{
|
| 749 |
+
"type": "text",
|
| 750 |
+
"text": "Hence, if the conditions in Theorem 1 hold, GNNs $\\not \\simeq ( n - \\ell )$ -Reconstruction GNNs. Figure 2 (cf. Appendix F) depicts how $k$ -Reconstruction GNNs can distinguish a graph that GNNs cannot. The process essentially breaks the local symmetries that make GNNs struggle by removing one (or a few) vertices from the graph. By doing so, we arrive at distinguishable subgraphs. Since we can reconstruct the original graph with its unique subgraph representations, we can identify it. See Appendix F for the complete proofs of Theorems 1 and 2. ",
|
| 751 |
+
"bbox": [
|
| 752 |
+
174,
|
| 753 |
+
827,
|
| 754 |
+
825,
|
| 755 |
+
911
|
| 756 |
+
],
|
| 757 |
+
"page_idx": 5
|
| 758 |
+
},
|
| 759 |
+
{
|
| 760 |
+
"type": "text",
|
| 761 |
+
"text": "Are GNNs less expressive than $k$ -Reconstruction GNNs? We now show that GNNs can distinguish graphs that $k$ -Reconstruction GNNs with small $k$ cannot. We start with Proposition 2 stating that there exist some graphs that GNNs can distinguish which $k$ -Reconstruction GNNs with small $k$ cannot. ",
|
| 762 |
+
"bbox": [
|
| 763 |
+
174,
|
| 764 |
+
90,
|
| 765 |
+
823,
|
| 766 |
+
132
|
| 767 |
+
],
|
| 768 |
+
"page_idx": 6
|
| 769 |
+
},
|
| 770 |
+
{
|
| 771 |
+
"type": "text",
|
| 772 |
+
"text": "Proposition 2. $G N N s \\Zt k$ -Reconstruction GNNs for $k \\leq \\lceil n / 2 \\rceil$ . ",
|
| 773 |
+
"bbox": [
|
| 774 |
+
174,
|
| 775 |
+
137,
|
| 776 |
+
601,
|
| 777 |
+
152
|
| 778 |
+
],
|
| 779 |
+
"page_idx": 6
|
| 780 |
+
},
|
| 781 |
+
{
|
| 782 |
+
"type": "text",
|
| 783 |
+
"text": "On the other hand, the analysis is more interesting for larger subgraph sizes, e.g., $n - 1$ , where there are no known examples of (undirected, edge-unattributed) non-reconstructible graphs. There are graphs distinguishable by GNNs with at least one subgraph not distinguishable by them; see Appendix F. However, the analysis is whether the multiset of all subgraphs’ representations can distinguish the original graph. Since we could not find any counter-examples, we conjecture that every graph distinguishable by a GNN is also distinguishable by a $k$ -Reconstruction GNN with $k = n - 1$ or possibly more generally with any $k$ close enough to $n$ . In Appendix F, we state and discuss the conjecture, which we name WL reconstruction conjecture. If true, the conjecture implies GNNs $\\prec$ $( n - 1 )$ -Reconstruction GNNs. Moreover, if we use the original GNN representation together with $k$ -Reconstruction GNNs, Theorems 1 and 2 imply that the resulting model is strictly more powerful than the original GNN. ",
|
| 784 |
+
"bbox": [
|
| 785 |
+
173,
|
| 786 |
+
156,
|
| 787 |
+
825,
|
| 788 |
+
309
|
| 789 |
+
],
|
| 790 |
+
"page_idx": 6
|
| 791 |
+
},
|
| 792 |
+
{
|
| 793 |
+
"type": "text",
|
| 794 |
+
"text": "Are $k$ -Reconstruction GNNs less expressive than higher-order ( $\\kappa$ -WL) GNNs? ",
|
| 795 |
+
"text_level": 1,
|
| 796 |
+
"bbox": [
|
| 797 |
+
176,
|
| 798 |
+
314,
|
| 799 |
+
715,
|
| 800 |
+
329
|
| 801 |
+
],
|
| 802 |
+
"page_idx": 6
|
| 803 |
+
},
|
| 804 |
+
{
|
| 805 |
+
"type": "text",
|
| 806 |
+
"text": "Recently a line of work, e.g., [6, 67, 76], explored higher-order GNNs aligning with the $\\kappa$ -WL hierarchy. Such architectures have, in principle, the same power as the $\\kappa$ -WL algorithm in distinguishing nonisomorphic graphs. Hence, one might wonder how $k$ -Reconstruction GNNs stack up to $\\kappa$ -WL-based algorithms. The following result shows that pairs of non-isomorphic graphs exist that a $( n - 2 )$ - Reconstruction GNN can distinguish but the 2-WL cannot. ",
|
| 807 |
+
"bbox": [
|
| 808 |
+
174,
|
| 809 |
+
335,
|
| 810 |
+
826,
|
| 811 |
+
405
|
| 812 |
+
],
|
| 813 |
+
"page_idx": 6
|
| 814 |
+
},
|
| 815 |
+
{
|
| 816 |
+
"type": "text",
|
| 817 |
+
"text": "Proposition 3. Let 2-GNNs be neural architectures with the same expressiveness as the 2-WL algorithm. \nThen, $( n - 2 )$ -Reconstruction $G N N \\ne 2 \\ – G N N s \\equiv 2 \\ – W L .$ . ",
|
| 818 |
+
"bbox": [
|
| 819 |
+
173,
|
| 820 |
+
410,
|
| 821 |
+
823,
|
| 822 |
+
438
|
| 823 |
+
],
|
| 824 |
+
"page_idx": 6
|
| 825 |
+
},
|
| 826 |
+
{
|
| 827 |
+
"type": "text",
|
| 828 |
+
"text": "As a result of Proposition 3, using a $( n - 2 )$ -Reconstruction GNN representation together with a 2-GNN increases the original 2-GNN’s expressive power. ",
|
| 829 |
+
"bbox": [
|
| 830 |
+
174,
|
| 831 |
+
443,
|
| 832 |
+
823,
|
| 833 |
+
472
|
| 834 |
+
],
|
| 835 |
+
"page_idx": 6
|
| 836 |
+
},
|
| 837 |
+
{
|
| 838 |
+
"type": "text",
|
| 839 |
+
"text": "4.2 Reconstruction as a powerful extra invariance for general graphs ",
|
| 840 |
+
"text_level": 1,
|
| 841 |
+
"bbox": [
|
| 842 |
+
174,
|
| 843 |
+
487,
|
| 844 |
+
665,
|
| 845 |
+
502
|
| 846 |
+
],
|
| 847 |
+
"page_idx": 6
|
| 848 |
+
},
|
| 849 |
+
{
|
| 850 |
+
"type": "text",
|
| 851 |
+
"text": "An essential feature of modern machine learning models is capturing invariances of the problem of interest [63]. It reduces degrees of freedom while allowing for better generalization [13, 63]. GRL is predicated on invariance to vertex permutations, i.e., assigning the same representation to isomorphic graphs. But are there other invariances that could improve the generalization error? ",
|
| 852 |
+
"bbox": [
|
| 853 |
+
174,
|
| 854 |
+
512,
|
| 855 |
+
826,
|
| 856 |
+
568
|
| 857 |
+
],
|
| 858 |
+
"page_idx": 6
|
| 859 |
+
},
|
| 860 |
+
{
|
| 861 |
+
"type": "text",
|
| 862 |
+
"text": "$k$ -reconstruction is an extra invariance. Let $P ( G , Y )$ be the joint probability of observing a graph $G$ with label $Y$ . Any $k$ -reconstruction-based model, such as $k$ -Reconstruction Neural Networks and $k$ -Reconstruction GNNs, by definition assumes $P ( G , Y )$ to be invariant to the $k$ -deck, i.e., $P ( G , Y ) = P ( H , Y )$ if ${ \\mathcal { D } } _ { k } ( G ) { \\dot { } } = { \\mathcal { D } } _ { k } ( H )$ . Hence, our neural architectures for $k$ -Reconstruction Neural Networks and $k$ -Reconstruction GNNs directly define this extra invariance beyond permutation invariance. How we do know it is an extra invariance and not a consequence of permutation invariance? It does not hold on directed graphs [93], where permutation invariance still holds. ",
|
| 863 |
+
"bbox": [
|
| 864 |
+
174,
|
| 865 |
+
574,
|
| 866 |
+
825,
|
| 867 |
+
671
|
| 868 |
+
],
|
| 869 |
+
"page_idx": 6
|
| 870 |
+
},
|
| 871 |
+
{
|
| 872 |
+
"type": "text",
|
| 873 |
+
"text": "Hereditary property variance reduction. We now show that the invariance imposed by $k$ - reconstruction helps in tasks based on hereditary properties [17]. A graph property $\\mu ( G )$ is called hereditary if it is invariant to vertex removals, i.e. $\\mu ( G ) = \\mu ( G [ V ( G ) - v ] )$ for every $v \\in V ( G )$ and $G \\in { \\mathcal { G } }$ . By induction the property is invariant to every size subgraph, i.e., ${ \\dot { \\mu } } ( G ) = \\mu ( G [ S ] )$ for every $S \\in { \\mathcal { S } } ^ { ( k ) } , k \\in [ n ]$ where $\\mathcal { S } ^ { ( k ) }$ is the set of all $k$ -size subsets of $V ( G )$ . Here, the property is invariant to any given subgraph. For example, every subgraph of a planar graph is also planar, every subgraph of an acyclic graph is also acyclic, any subgraph of a $j$ -colorable graph is also $j$ -colorable. A more practically interesting (weaker) invariance would be invariance to a few vertex removals. Next we define $\\delta$ -hereditary properties (a special case of a $\\preceq$ -hereditary property). In short, a property is $\\delta$ -hereditary if it is a hereditary property for graphs with more than $\\delta$ vertices. ",
|
| 874 |
+
"bbox": [
|
| 875 |
+
173,
|
| 876 |
+
678,
|
| 877 |
+
825,
|
| 878 |
+
818
|
| 879 |
+
],
|
| 880 |
+
"page_idx": 6
|
| 881 |
+
},
|
| 882 |
+
{
|
| 883 |
+
"type": "text",
|
| 884 |
+
"text": "Definition 5 $\\delta$ -hereditary property). $A$ graph property $\\mu \\colon \\mathcal G \\ \\ \\mathcal { y }$ is said to be $\\delta$ -hereditary $i f$ $\\mu ( G ) = \\mu ( G [ V ( G ) - v ] )$ , $\\forall v \\in V ( G ) , G \\in \\{ H \\in { \\mathcal { G } } : | V ( H ) | > \\delta \\}$ . That is, $\\mu$ is uniform in $G$ and all subgraphs of $G$ with more than $\\delta$ vertices. ",
|
| 885 |
+
"bbox": [
|
| 886 |
+
174,
|
| 887 |
+
821,
|
| 888 |
+
825,
|
| 889 |
+
864
|
| 890 |
+
],
|
| 891 |
+
"page_idx": 6
|
| 892 |
+
},
|
| 893 |
+
{
|
| 894 |
+
"type": "text",
|
| 895 |
+
"text": "Consider the task of predicting $Y | G : = \\mu ( G )$ . Theorem 3 shows that $k$ -Reconstruction GNNs is an invariance that reduces the variance of the empirical risk associated with $\\delta$ -hereditary property tasks. See Appendix $\\mathrm { F }$ for the proof. ",
|
| 896 |
+
"bbox": [
|
| 897 |
+
176,
|
| 898 |
+
868,
|
| 899 |
+
825,
|
| 900 |
+
911
|
| 901 |
+
],
|
| 902 |
+
"page_idx": 6
|
| 903 |
+
},
|
| 904 |
+
{
|
| 905 |
+
"type": "text",
|
| 906 |
+
"text": "Theorem 3 ( $k$ -Reconstruction GNNs for variance reduction of $\\delta$ -hereditary tasks). Let $P ( G , Y )$ be a $\\delta$ -hereditary distribution, i.e., $Y : = \\mu ( G )$ where $\\mu$ is a $\\delta$ -hereditary property. Further, let $P ( G , Y ) = 0$ for all $G \\in { \\mathcal { G } }$ with $| V ( G ) | \\ge \\delta + \\ell , \\ell > 0$ . Then, for $k$ -Reconstruction GNNs taking the form $\\begin{array} { r } { \\rho _ { \\mathbf { W } _ { 1 } } \\biggl ( 1 / | \\mathcal { S } ^ { ( k ) } | \\sum _ { S \\in \\mathcal { S } ^ { ( k ) } } \\phi _ { \\mathbf { W } _ { 2 } } \\Bigl ( h _ { \\mathbf { W } _ { 3 } } ^ { G N N } ( G [ S ] ) \\Bigr ) \\biggr ) } \\end{array}$ , i $f l ( \\rho \\mathbf { w } _ { 1 } ( a ) , y )$ is convex in $a$ , we have ",
|
| 907 |
+
"bbox": [
|
| 908 |
+
173,
|
| 909 |
+
90,
|
| 910 |
+
826,
|
| 911 |
+
165
|
| 912 |
+
],
|
| 913 |
+
"page_idx": 7
|
| 914 |
+
},
|
| 915 |
+
{
|
| 916 |
+
"type": "equation",
|
| 917 |
+
"img_path": "images/0dc34df1e7ce8281140598189fcc23f67ef38d6684f58f28fb27581541d7ff72.jpg",
|
| 918 |
+
"text": "$$\n\\begin{array} { r } { V a r [ \\widehat { \\mathcal { R } } _ { k } ] \\leq V a r [ \\widehat { \\mathcal { R } } _ { G N N } ] , } \\end{array}\n$$",
|
| 919 |
+
"text_format": "latex",
|
| 920 |
+
"bbox": [
|
| 921 |
+
423,
|
| 922 |
+
170,
|
| 923 |
+
573,
|
| 924 |
+
190
|
| 925 |
+
],
|
| 926 |
+
"page_idx": 7
|
| 927 |
+
},
|
| 928 |
+
{
|
| 929 |
+
"type": "text",
|
| 930 |
+
"text": "where $\\widehat { \\mathcal { R } } _ { k }$ is the empirical risk of $k$ -Reconstruction GNNs with $k : = n - \\ell$ (cf. Equation (1)) and $\\widehat { \\mathcal { R } } _ { G N N }$ is the empirical risk of GNNs. ",
|
| 931 |
+
"bbox": [
|
| 932 |
+
173,
|
| 933 |
+
198,
|
| 934 |
+
825,
|
| 935 |
+
227
|
| 936 |
+
],
|
| 937 |
+
"page_idx": 7
|
| 938 |
+
},
|
| 939 |
+
{
|
| 940 |
+
"type": "text",
|
| 941 |
+
"text": "5 Experimental Evaluation ",
|
| 942 |
+
"text_level": 1,
|
| 943 |
+
"bbox": [
|
| 944 |
+
174,
|
| 945 |
+
238,
|
| 946 |
+
415,
|
| 947 |
+
256
|
| 948 |
+
],
|
| 949 |
+
"page_idx": 7
|
| 950 |
+
},
|
| 951 |
+
{
|
| 952 |
+
"type": "text",
|
| 953 |
+
"text": "In this section, we investigate the benefits of $k$ -Reconstruction GNNs against GNN baselines on both synthetic and real-world tasks. Concretely, we address the following questions: ",
|
| 954 |
+
"bbox": [
|
| 955 |
+
173,
|
| 956 |
+
263,
|
| 957 |
+
823,
|
| 958 |
+
291
|
| 959 |
+
],
|
| 960 |
+
"page_idx": 7
|
| 961 |
+
},
|
| 962 |
+
{
|
| 963 |
+
"type": "text",
|
| 964 |
+
"text": "Q1. Does the increase in expressive power from reconstruction (cf. Section 4.1) make $k$ -Reconstruction GNNs solve graph property tasks not originally solvable by GNNs? ",
|
| 965 |
+
"bbox": [
|
| 966 |
+
169,
|
| 967 |
+
291,
|
| 968 |
+
823,
|
| 969 |
+
319
|
| 970 |
+
],
|
| 971 |
+
"page_idx": 7
|
| 972 |
+
},
|
| 973 |
+
{
|
| 974 |
+
"type": "text",
|
| 975 |
+
"text": "Q2. Can reconstruction boost the original GNNs performance on real-world tasks? If so, why ",
|
| 976 |
+
"bbox": [
|
| 977 |
+
179,
|
| 978 |
+
319,
|
| 979 |
+
779,
|
| 980 |
+
332
|
| 981 |
+
],
|
| 982 |
+
"page_idx": 7
|
| 983 |
+
},
|
| 984 |
+
{
|
| 985 |
+
"type": "text",
|
| 986 |
+
"text": "Q3. What is the influence of the subgraph size in both graph property and real-world tasks? ",
|
| 987 |
+
"bbox": [
|
| 988 |
+
178,
|
| 989 |
+
333,
|
| 990 |
+
789,
|
| 991 |
+
347
|
| 992 |
+
],
|
| 993 |
+
"page_idx": 7
|
| 994 |
+
},
|
| 995 |
+
{
|
| 996 |
+
"type": "text",
|
| 997 |
+
"text": "Synthetic graph property datasets. For Q1 and Q3, we chose the synthetic graph property tasks in Table 1, for which GNNs are provably incapable to solve due to their limited expressive power [38, 81]. The tasks are CSL [32], where we classify CSL graphs, the cycle detection tasks 4 CYCLES, 6 CYCLES and 8 CYCLES [98] and the multi-task regression from Corso et al. [28], where we want to determine whether a graph is connected, its diameter, and its spectral radius. See Appendix H for datasets statistics. ",
|
| 998 |
+
"bbox": [
|
| 999 |
+
174,
|
| 1000 |
+
353,
|
| 1001 |
+
825,
|
| 1002 |
+
421
|
| 1003 |
+
],
|
| 1004 |
+
"page_idx": 7
|
| 1005 |
+
},
|
| 1006 |
+
{
|
| 1007 |
+
"type": "text",
|
| 1008 |
+
"text": "Real-world datasets. To address Q2 and Q3, we evaluated $k$ -Reconstruction GNNs on a diverse set of large-scale, standard benchmark instances [49, 74]. Specifically, we used the ZINC (10K) [32], ALCHEMY (10K) [23], OGBG-MOLFREESOLV, OGBG-MOLESOL, and OGBG-MOLLIPO [49] regression datasets. For the case of graph classification, we used OGBG-MOLHIV, OGBG-MOLPCBA, OGBG-TOX21, and OGBG-TOXCAST [49]. See Appendix $_ \\mathrm { H }$ for datasets statistics. ",
|
| 1009 |
+
"bbox": [
|
| 1010 |
+
174,
|
| 1011 |
+
422,
|
| 1012 |
+
825,
|
| 1013 |
+
491
|
| 1014 |
+
],
|
| 1015 |
+
"page_idx": 7
|
| 1016 |
+
},
|
| 1017 |
+
{
|
| 1018 |
+
"type": "text",
|
| 1019 |
+
"text": "Neural architectures. We used the GIN [106], GCN [56], and the PNA [28] architectures as GNN baselines. We always replicated the exact architectures from the original paper, building on the respective PyTorch Geometric implementation [35]. For the OGBG regression datasets, we noticed how using a jumping knowledge layer yields better validation and test results for GIN and GCN. Thus we made this small change. For each of these three architectures, we implemented $k$ -Reconstruction GNNs for $k$ in $\\{ n - 1 , \\bar { n } - 2 , n - 3 , \\lceil n / 2 \\rceil \\}$ using a Deep Sets function [112] over the exact same original GNN architecture. For more details, see Appendix G. ",
|
| 1020 |
+
"bbox": [
|
| 1021 |
+
174,
|
| 1022 |
+
491,
|
| 1023 |
+
825,
|
| 1024 |
+
588
|
| 1025 |
+
],
|
| 1026 |
+
"page_idx": 7
|
| 1027 |
+
},
|
| 1028 |
+
{
|
| 1029 |
+
"type": "text",
|
| 1030 |
+
"text": "Experimental setup. To establish fair comparisons, we retain all hyperparameters and training procedures from the original GNNs to train the corresponding $k$ -Reconstruction GNNs. Tables 1 and 2 and Table 6 in Appendix I present results with the same number of runs as previous work [28, 32, 49, 77, 98], i.e., five for all datasets execpt the OGBG datasets, where we use ten runs. For more details, such as the number of subgraphs sampled for each $k$ -Reconstruction GNN and each dataset, see Appendix G. ",
|
| 1031 |
+
"bbox": [
|
| 1032 |
+
174,
|
| 1033 |
+
588,
|
| 1034 |
+
825,
|
| 1035 |
+
656
|
| 1036 |
+
],
|
| 1037 |
+
"page_idx": 7
|
| 1038 |
+
},
|
| 1039 |
+
{
|
| 1040 |
+
"type": "text",
|
| 1041 |
+
"text": "Non-GNN baselines. For the graph property tasks, original work used vertex identifiers or Laplacian embeddings to make GNNs solve them. This trick is effective for the tasks but violates an important premise of graph representations, invariance to vertex permutations. To illustrate this line of work, we compare against Positional GIN, which uses Laplacian embeddings [32] for the CSL task and vertex identifiers for the others [98, 28]. To compare against other methods that like $k$ -Reconstruction GNNs are invariant to vertex permutations and increase the expressive power of GNNs, we compare against Ring-GNNs [27] and (3-WL) PPGNs [66]. For real-world tasks, Table 6 in Appendix I shows the results from GRL alternatives that incorporate higher-order representations in different ways, LRP [27], GSN [18], $\\delta$ -2-LGNN [77], and SMP [98]. ",
|
| 1042 |
+
"bbox": [
|
| 1043 |
+
174,
|
| 1044 |
+
656,
|
| 1045 |
+
825,
|
| 1046 |
+
781
|
| 1047 |
+
],
|
| 1048 |
+
"page_idx": 7
|
| 1049 |
+
},
|
| 1050 |
+
{
|
| 1051 |
+
"type": "text",
|
| 1052 |
+
"text": "All results are fully reproducible from the source and are available at https://github.com/ PurdueMINDS/reconstruction-gnns. ",
|
| 1053 |
+
"bbox": [
|
| 1054 |
+
174,
|
| 1055 |
+
786,
|
| 1056 |
+
823,
|
| 1057 |
+
815
|
| 1058 |
+
],
|
| 1059 |
+
"page_idx": 7
|
| 1060 |
+
},
|
| 1061 |
+
{
|
| 1062 |
+
"type": "text",
|
| 1063 |
+
"text": "Results and discussion. ",
|
| 1064 |
+
"text_level": 1,
|
| 1065 |
+
"bbox": [
|
| 1066 |
+
176,
|
| 1067 |
+
820,
|
| 1068 |
+
334,
|
| 1069 |
+
835
|
| 1070 |
+
],
|
| 1071 |
+
"page_idx": 7
|
| 1072 |
+
},
|
| 1073 |
+
{
|
| 1074 |
+
"type": "text",
|
| 1075 |
+
"text": "A1 (Graph property tasks). Table 1 confirms Theorem 2, where the increase in expressive power from reconstruction allows $k$ -Reconstruction GNNs to distinguish CSL graphs, a task that GNNs cannot solve. Here, $k$ -Reconstruction GNNs boost the accuracy of standard GNNs between $1 0 \\times$ and $2 0 \\times$ Theorem 2 only guarantees GNN expressiveness boosting for $( n - 1 )$ -Reconstruction, but our empirical results also show benefits for $k$ -Reconstruction with $k \\leq n - 2$ . Table 1 also confirms Theorem 1, where $k$ -Reconstruction GNNs provide significant accuracy boosts on all cycle detection tasks (4 CYCLES, 6 CYCLES and 8 CYCLES). See Appendix J.1, for a detailed discussion on results for CONNECTIVITY, DIAMETER, and SPECTRAL RADIUS, which also show boostings. ",
|
| 1076 |
+
"bbox": [
|
| 1077 |
+
174,
|
| 1078 |
+
842,
|
| 1079 |
+
825,
|
| 1080 |
+
911
|
| 1081 |
+
],
|
| 1082 |
+
"page_idx": 7
|
| 1083 |
+
},
|
| 1084 |
+
{
|
| 1085 |
+
"type": "table",
|
| 1086 |
+
"img_path": "images/d68badde38efbaf2fe7a58a42f87410f099d0046185ed419cbfb629368c0c773.jpg",
|
| 1087 |
+
"table_caption": [
|
| 1088 |
+
"Table 1: Synthetic graph property tasks. We highlight in green $k$ -Reconstruction GNNs boosting the original GNN architecture. †: Std. not reported in original work. +: Laplacian embeddings used as positional features. ∗: Vertex identifiers used as positional features. "
|
| 1089 |
+
],
|
| 1090 |
+
"table_footnote": [],
|
| 1091 |
+
"table_body": "<table><tr><td></td><td>CSL</td><td>4 CYCLES</td><td>6 CYCLES</td><td>CONNECTIVITY</td><td colspan=\"4\">Multi-task</td><td rowspan=\"2\">Invariant to vertex permutations?</td></tr><tr><td></td><td></td><td>(Accuracy %%)↑</td><td>(Accuracy % %) ↑</td><td>(Accuracy %)↑</td><td>8 CYCLES (Accuracy %)↑</td><td>(logMSE)↓</td><td>DIAMETER (logMSE)↓</td><td>SPECTRAL RADIUS (logMSE)↓</td></tr><tr><td>(n-1)</td><td>GIN (orig.)</td><td>4.66 ± 4.00</td><td>93.0t</td><td>92.7t</td><td>92.5t</td><td>-3.419 ± 0.320</td><td>0.588 ± 0.354</td><td>-2.130 ± 1.396</td><td></td></tr><tr><td></td><td></td><td>88.66 ± 22.66</td><td>95.17 ± 4.91</td><td>97.35 ± 0.74</td><td>94.69 ± 2.34</td><td>-3.575 ± 0.395</td><td>-0.195 ± 0.714</td><td>-2.732 ± 0.793</td><td></td></tr><tr><td>Reeooor</td><td>(n-2)</td><td>78.66 ± 22.17</td><td>94.06±5.10</td><td>97.50±0.72</td><td>95.04 ± 2.69</td><td>-3.799 ± 0.187</td><td>-0.207 ± 0.381</td><td>-2.344 ± 0.569</td><td></td></tr><tr><td></td><td>(n-3)</td><td>73.33 ± 16.19</td><td>96.61 ± 1.40</td><td>97.84 ± 1.37</td><td>94.48 ± 2.13</td><td>-3.779 ± 0.064</td><td>0.105 ±0.225</td><td>-1.908 ± 0.860</td><td><<<<</td></tr><tr><td>[n/2]</td><td></td><td>40.66 ± 9.04</td><td>75.13 ± 0.26</td><td>63.28 ± 0.59</td><td>63.53 ± 1.14</td><td>-3.765 ± 0.083</td><td>0.564 ± 0.025</td><td>-2.130 ± 0.166</td><td></td></tr><tr><td></td><td>GCN(orig.)</td><td>6.66 ± 2.10</td><td>98.336 ± 0.24</td><td>95.73 ± 2.72</td><td>87.14 ± 12.73</td><td>-3.781 ± 0.075</td><td>0.087 ± 0.186</td><td>-2.204 ± 0.362</td><td></td></tr><tr><td></td><td>(n-1)</td><td>100.00 ±0.00</td><td>99.00 ±0.10</td><td>97.63 ± 0.19</td><td>94.99 ± 2.31</td><td>-4.039 ± 0.101</td><td>-1.175 ± 0.425</td><td>-3.625 ± 0.536</td><td></td></tr><tr><td></td><td>(n-2)</td><td>100.00±0.00</td><td>98.77 ±0.61</td><td>97.89 ± 0.69</td><td>97.82 ± 1.10</td><td>-3.970 ± 0.059</td><td>-0.577 ± 0.135</td><td>-3.397 ± 0.273</td><td></td></tr><tr><td>Reeeoss</td><td>(n-3)</td><td>96.00 ±6.46</td><td>99.11 ± 0.19</td><td>98.31 ± 0.52</td><td>97.18 ± 0.58</td><td>-3.995 ± 0.031</td><td>-0.333 ± 0.117</td><td>-3.105 ± 0.286</td><td></td></tr><tr><td>[n/2]</td><td></td><td>49.33 ± 7.42</td><td>75.19 ± 0.19</td><td>66.04 ± 0.59</td><td>63.66 ± 0.51</td><td>-3.693 ± 0.063</td><td>0.8518 ± 0.016</td><td>-1.838 ± 0.054</td><td></td></tr><tr><td>PNA (orig.)</td><td></td><td>10.00 ± 2.98</td><td>81.59 ± 19.86</td><td>95.57 ± 0.36</td><td>84.81 ± 16.48</td><td>-3.794 ± 0.155</td><td>-0.605 ± 0.097</td><td>-3.610 ± 0.137</td><td></td></tr><tr><td>(n-1)</td><td></td><td>100.00 ±0.00</td><td>97.88 ± 2.19</td><td>99.18 ±0.20</td><td>98.92 ± 0.72</td><td>-3.904 ± 0.001</td><td>-0.765 ± 0.032</td><td>-3.954 ±0.118</td><td></td></tr><tr><td>Rreeoor (n-2)</td><td></td><td>95.33 ± 7.77</td><td>99.12 ± 0.28</td><td>99.10 ± 0.57</td><td>99.22 ± 0.27</td><td>-3.781 ± 0.085</td><td>-0.090 ± 0.135</td><td>-3.478 ± 0.206</td><td></td></tr><tr><td>(n-3)</td><td></td><td>95.33 ± 5.81</td><td>89.36 ± 0.22 75.34 ±0.18</td><td>99.34 ± 0.26</td><td>93.92 ± 8.15 64.01 ± 0.30</td><td>-3.710 ± 0.209 -2.977 ± 0.065</td><td>0.042 ± 0.047</td><td>-3.311 ± 0.067</td><td>√</td></tr><tr><td>[n/2]</td><td></td><td>42.66 ± 11.03</td><td></td><td>65.58 ± 0.95</td><td></td><td></td><td>1.445 ± 0.037</td><td>-1.073 ± 0.075</td><td></td></tr><tr><td>Positional GIN Ring-GNN</td><td></td><td>99.33+ ± 1.33</td><td>88.3†</td><td>96.1†</td><td>95.3t</td><td>-1.61t</td><td>-2.17</td><td>-2.66t</td><td>x<ν</td></tr><tr><td></td><td></td><td>10.00 ± 0.00</td><td>99.9†</td><td>100.0†</td><td>71.4</td><td></td><td></td><td>二</td><td></td></tr><tr><td></td><td>PPGN (3-WL)</td><td>97.80 ± 10.91</td><td>99.8†</td><td>87.1†</td><td>76.5†</td><td>二</td><td>二</td><td></td><td></td></tr></table>",
|
| 1092 |
+
"bbox": [
|
| 1093 |
+
174,
|
| 1094 |
+
128,
|
| 1095 |
+
823,
|
| 1096 |
+
333
|
| 1097 |
+
],
|
| 1098 |
+
"page_idx": 8
|
| 1099 |
+
},
|
| 1100 |
+
{
|
| 1101 |
+
"type": "table",
|
| 1102 |
+
"img_path": "images/4d4f3c5e7fb71d0c07c2cc26fcbccd42cf2e5fa4b09f86dd14e507907bdc0c67.jpg",
|
| 1103 |
+
"table_caption": [
|
| 1104 |
+
"Table 2: OGBG molecule graph classification and regression tasks. We highlight in green $k$ -Reconstruction GNNs boosting the original GNN architecture. "
|
| 1105 |
+
],
|
| 1106 |
+
"table_footnote": [],
|
| 1107 |
+
"table_body": "<table><tr><td rowspan=1 colspan=12>OGBG-MOLTOX21 OGBG-MOLTOXCAST OGBG-MOLFREESOLV OGBG-MOLESOL 0GBG-MOLLIPO OGBG-MOLPCBA(ROC-AUC %)↑ (ROC-AUC %) ↑ (RSMSE)↓ (RSMSE)↓ (RSMSE)↓ (AP%)↑</td></tr><tr><td></td><td rowspan=1 colspan=1>GIN (orig.)</td><td rowspan=1 colspan=1>74.91 ± 0.51</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>63.41 ± 0.74</td><td rowspan=1 colspan=7>2.411 ± 0.123 1.111 ± 0.038 0.754 ± 0.010 21.16 ± 0.28</td></tr><tr><td></td><td rowspan=1 colspan=1>(n-1)</td><td rowspan=1 colspan=1>75.15 ± 1.40</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>63.95 ± 0.53</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>2.283 ± 0.279</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>1.026 ± 0.033</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>0.716± 0.020</td><td rowspan=1 colspan=1>23.60 ± 0.02</td></tr><tr><td></td><td rowspan=1 colspan=1>(n-2)</td><td rowspan=1 colspan=1>76.84 ± 0.62</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>65.36 ± 0.49</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>2.117 ± 0.181</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>1.006 ± 0.030</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>0.736± 0.025</td><td rowspan=1 colspan=1>23.25 ± 0.00</td></tr><tr><td></td><td rowspan=1 colspan=1>(n-3)</td><td rowspan=1 colspan=1>76.78 ± 0.64</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>64.84 ± 0.71</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>2.370 ± 0.326</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>1.055 ± 0.031</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>0.738 ± 0.018</td><td rowspan=1 colspan=1>23.33 ± 0.09</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>[n/2]</td><td rowspan=1 colspan=1>74.40 ± 0.75</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>62.29 ± 0.28</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>2.531 ± 0.206</td><td rowspan=1 colspan=2>1.343 ± 0.053</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>0.842 ± 0.020</td><td rowspan=1 colspan=1>13.50 ± 0.32</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>GCN (orig.)</td><td rowspan=1 colspan=1>75.29 ± 0.69</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>63.54 ± 0.42</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>2.417 ± 0.178</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=2>1.106 ± 0.036</td><td rowspan=1 colspan=1>0.793 ± 0.040</td><td rowspan=1 colspan=1>20.20 ± 0.24</td></tr><tr><td rowspan=1 colspan=1>上</td><td rowspan=1 colspan=1>(n-1)</td><td rowspan=1 colspan=1>76.46 ± 0.77</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>64.51 ± 0.60</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>2.524 ± 0.300</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>1.096 ± 0.045</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>0.760 ± 0.015</td><td rowspan=1 colspan=1>21.25 ± 0.25</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>(n-2)</td><td rowspan=1 colspan=1>75.58 ± 0.99</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>64.38 ± 0.39</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>2.467 ± 0.231</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>1.086 ± 0.048</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>0.766 ± 0.025</td><td rowspan=1 colspan=1>20.10 ± 0.08</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>(n-3)</td><td rowspan=1 colspan=1>75.88 ± 0.73</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>64.70 ±0.81</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>2.345 ± 0.261</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>1.114 ± 0.047</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>0.754 ± 0.021</td><td rowspan=1 colspan=1>19.04 ± 0.03</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>[n/2]</td><td rowspan=1 colspan=1>74.03 ± 0.63</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>62.80 ± 0.77</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>2.599 ± 0.161</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=2>1.372 ± 0.048</td><td rowspan=1 colspan=1>0.835± 0.020</td><td rowspan=1 colspan=1>11.69 ± 1.41</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>PNA (orig.)</td><td rowspan=1 colspan=1>74.28 ± 0.52</td><td rowspan=1 colspan=2>62.69 ± 0.63</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>2.192 ± 0.125</td><td rowspan=1 colspan=3>1.140 ± 0.032</td><td rowspan=1 colspan=1>0.759 ± 0.017</td><td rowspan=1 colspan=1>25.45 ± 0.04</td></tr><tr><td></td><td rowspan=1 colspan=1>(n-1)</td><td rowspan=1 colspan=1>73.64 ± 0.74</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>64.14 ±0.76</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>2.341 ± 0.070</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>1.723 ± 0.145</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>0.743 ± 0.015</td><td rowspan=1 colspan=1>23.11 ± 0.05</td></tr><tr><td></td><td rowspan=1 colspan=1>(n-2)</td><td rowspan=1 colspan=1>74.89 ± 0.29</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>65.22 ± 0.47</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>2.298 ± 0.115</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>1.392 ± 0.272</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>0.794 ± 0.065</td><td rowspan=1 colspan=1>22.10±0.03</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>(n-3)</td><td rowspan=1 colspan=1>75.10 ± 0.73</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>65.03 ± 0.58</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>2.133 ± 0.086</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>1.360 ± 0.163</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>0.785 ± 0.041</td><td rowspan=1 colspan=1>20.05 ± 0.15</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>[n/2]</td><td rowspan=1 colspan=1>73.71 ± 0.61</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>61.25 ± 0.49</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>2.185 ± 0.231</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>1.157 ± 0.056</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>0.843 ± 0.018</td><td rowspan=1 colspan=1>12.33 ± 1.20</td></tr></table>",
|
| 1108 |
+
"bbox": [
|
| 1109 |
+
207,
|
| 1110 |
+
387,
|
| 1111 |
+
789,
|
| 1112 |
+
558
|
| 1113 |
+
],
|
| 1114 |
+
"page_idx": 8
|
| 1115 |
+
},
|
| 1116 |
+
{
|
| 1117 |
+
"type": "text",
|
| 1118 |
+
"text": "",
|
| 1119 |
+
"bbox": [
|
| 1120 |
+
176,
|
| 1121 |
+
587,
|
| 1122 |
+
825,
|
| 1123 |
+
628
|
| 1124 |
+
],
|
| 1125 |
+
"page_idx": 8
|
| 1126 |
+
},
|
| 1127 |
+
{
|
| 1128 |
+
"type": "text",
|
| 1129 |
+
"text": "A2 (Real-world tasks). Table 2 and Table 6 in Appendix I show that applying $k$ -reconstruction to GNNs significantly boosts their performance across all eight real-world tasks. In particular, in Table 2, we see a boost of up to $5 \\%$ while achieving the best results in five out of six datasets. The $( n - 2 )$ -reconstruction applied to GIN gives the best results in the OGBG tasks, with the exception of OGBG-MOLLIPO and OGBG-MOLPCBA where $( n - 1 )$ -reconstruction performs better. The only settings where we did not get any boost were PNA for OGBG-MOLESOL and OGBG-MOLPCBA. Table 6 in Appendix I also shows consistent boost in GNNs’ performance of up to $2 5 \\%$ in other datasets. On ZINC, $k$ -Reconstruction yields better results than the higher-order alternatives LRP and $\\delta$ -2-LGNN. While GSN gives the best ZINC results, we note that GSN requires application-specific features. In OGBG-MOLHIV, $k$ -reconstruction is able to boost both GIN and GCN. The results in Appendix G show that nearly $1 0 0 \\%$ of the graphs in our real-world datasets are distinguishable by the 1-WL algorithm, thus we can conclude that traditional GNNs are expressive enough for all our real-world tasks. Hence, real-world boosts of reconstruction over GNNs can be attributed to the gains from invariances to vertex removals (cf. Section 4.2) rather than the boost in expressive power (cf. Section 4.1). ",
|
| 1130 |
+
"bbox": [
|
| 1131 |
+
173,
|
| 1132 |
+
628,
|
| 1133 |
+
825,
|
| 1134 |
+
821
|
| 1135 |
+
],
|
| 1136 |
+
"page_idx": 8
|
| 1137 |
+
},
|
| 1138 |
+
{
|
| 1139 |
+
"type": "text",
|
| 1140 |
+
"text": "A3 (Subgraph sizes). Overall we observe that removing one vertex $k = n - 1 )$ ) is enough to improve the performance of GNNs in most experiments. At the other extreme end of vertex removals, $k = \\lceil n / 2 \\rceil$ , there is a significant loss in expressiveness compared to the original GNN. In most real-world tasks, Table 2 and Table 6 in Appendix I show a variety of performance boosts also with $k \\in \\{ n { - } 2 , n { - } 3 \\}$ For GCN and PNA in OGBG-MOLESOL, specifically, we only see $k$ -Reconstruction boosts over smaller subgraphs such as $n - 3$ , which might be due to the task’s need of more invariance to vertex removals (cf. ",
|
| 1141 |
+
"bbox": [
|
| 1142 |
+
174,
|
| 1143 |
+
828,
|
| 1144 |
+
825,
|
| 1145 |
+
911
|
| 1146 |
+
],
|
| 1147 |
+
"page_idx": 8
|
| 1148 |
+
},
|
| 1149 |
+
{
|
| 1150 |
+
"type": "text",
|
| 1151 |
+
"text": "Section 4.2). In the graph property tasks (Table 1), we see significant boosts also for $k \\in \\{ n { - } 2 , n { - } 3 \\}$ in all models across most tasks, except PNA. However, as in real-world tasks the extreme case of small subgraphs $k = \\lceil n / 2 \\rceil$ significantly harms the ability to solve tasks with $k$ -Reconstruction GNNs. ",
|
| 1152 |
+
"bbox": [
|
| 1153 |
+
173,
|
| 1154 |
+
90,
|
| 1155 |
+
825,
|
| 1156 |
+
133
|
| 1157 |
+
],
|
| 1158 |
+
"page_idx": 9
|
| 1159 |
+
},
|
| 1160 |
+
{
|
| 1161 |
+
"type": "text",
|
| 1162 |
+
"text": "6 Conclusions ",
|
| 1163 |
+
"text_level": 1,
|
| 1164 |
+
"bbox": [
|
| 1165 |
+
174,
|
| 1166 |
+
140,
|
| 1167 |
+
307,
|
| 1168 |
+
156
|
| 1169 |
+
],
|
| 1170 |
+
"page_idx": 9
|
| 1171 |
+
},
|
| 1172 |
+
{
|
| 1173 |
+
"type": "text",
|
| 1174 |
+
"text": "Our work connected graph $( k - )$ reconstruction and modern GRL. We first showed how such connection results in two natural expressive graph representation classes. To make our models practical, we combined insights from graph reconstruction and GNNs, resulting in $k$ -Reconstruction GNNs. Our theory shows that reconstruction boosts the expressiveness of GNNs and has a lower-variance risk estimator in distributions invariant to vertex removals. Empirically, we showed how the theoretical gains of $k$ -Reconstruction GNNs translate into practice, solving graph property tasks not originally solvable by GNNs and boosting their performance on real-world tasks. ",
|
| 1175 |
+
"bbox": [
|
| 1176 |
+
174,
|
| 1177 |
+
165,
|
| 1178 |
+
825,
|
| 1179 |
+
262
|
| 1180 |
+
],
|
| 1181 |
+
"page_idx": 9
|
| 1182 |
+
},
|
| 1183 |
+
{
|
| 1184 |
+
"type": "text",
|
| 1185 |
+
"text": "Acknowledgements ",
|
| 1186 |
+
"text_level": 1,
|
| 1187 |
+
"bbox": [
|
| 1188 |
+
176,
|
| 1189 |
+
281,
|
| 1190 |
+
338,
|
| 1191 |
+
299
|
| 1192 |
+
],
|
| 1193 |
+
"page_idx": 9
|
| 1194 |
+
},
|
| 1195 |
+
{
|
| 1196 |
+
"type": "text",
|
| 1197 |
+
"text": "This work was funded in part by the National Science Foundation (NSF) awards CAREER IIS-1943364 and CCF-1918483. Any opinions, findings and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the sponsors. Christopher Morris is funded by the German Academic Exchange Service (DAAD) through a DAAD IFI postdoctoral scholarship (57515245). We want to thank our reviewers, who gave excellent suggestions to improve the paper. ",
|
| 1198 |
+
"bbox": [
|
| 1199 |
+
173,
|
| 1200 |
+
313,
|
| 1201 |
+
825,
|
| 1202 |
+
396
|
| 1203 |
+
],
|
| 1204 |
+
"page_idx": 9
|
| 1205 |
+
},
|
| 1206 |
+
{
|
| 1207 |
+
"type": "text",
|
| 1208 |
+
"text": "References ",
|
| 1209 |
+
"text_level": 1,
|
| 1210 |
+
"bbox": [
|
| 1211 |
+
174,
|
| 1212 |
+
415,
|
| 1213 |
+
266,
|
| 1214 |
+
431
|
| 1215 |
+
],
|
| 1216 |
+
"page_idx": 9
|
| 1217 |
+
},
|
| 1218 |
+
{
|
| 1219 |
+
"type": "text",
|
| 1220 |
+
"text": "[1] Abboud, R., Ceylan, ˙I. ˙I., Grohe, M., and Lukasiewicz, T. (2020). The surprising power of graph neural networks with random node initialization. CoRR, abs/2010.01179. \n[2] Abu-El-Haija, S., Perozzi, B., Kapoor, A., Alipourfard, N., Lerman, K., Harutyunyan, H., Steeg, G. V., and Galstyan, A. (2019). Mixhop: Higher-order graph convolutional architectures via sparsified neighborhood mixing. In International Conference on Machine Learning, pages 21–29. \n[3] Albooyeh, M., Bertolini, D., and Ravanbakhsh, S. (2019). Incidence networks for geometric deep learning. CoRR, abs/1905.11460. \n[4] Anderson, B. M., Hy, T., and Kondor, R. (2019). Cormorant: Covariant molecular neural networks. In Advances in Neural Information Processing Systems, pages 14510–14519. \n[5] Arvind, V., Köbler, J., Rattan, G., and Verbitsky, O. (2015). On the power of color refinement. In International Symposium on Fundamentals of Computation Theory, pages 339–350. \n[6] Azizian, W. and Lelarge, M. (2020). Characterizing the expressive power of invariant and equivariant graph neural networks. arXiv preprint arXiv:2006.15646. \n[7] Babai, L. (2016). Graph isomorphism in quasipolynomial time. In ACM SIGACT Symposium on Theory of Computing, pages 684–697. \n[8] Barabasi, A.-L. and Oltvai, Z. N. (2004). Network biology: Understanding the cell’s functional organization. Nature Reviews Genetics, 5(2):101–113. \n[9] Barceló, P., Kostylev, E. V., Monet, M., Pérez, J., Reutter, J. L., and Silva, J. P. (2020). The logical expressiveness of graph neural networks. In International Conference on Learning Representations. \n[10] Baskin, I. I., Palyulin, V. A., and Zefirov, N. S. (1997). A neural device for searching direct correlations between structures and properties of chemical compounds. Journal of Chemical Information and Computer Sciences, 37(4):715–721. \n[11] Beaini, D., Passaro, S., Létourneau, V., Hamilton, W. L., Corso, G., and Liò, P. (2020). Directional graph networks. CoRR, abs/2010.02863. \n[12] Bevilacqua, B., Zhou, Y., and Ribeiro, B. (2021). Size-invariant graph representations for graph classification extrapolations. arXiv preprint arXiv:2103.05045. \n[13] Bloem-Reddy, B. and Teh, Y. W. (2020). Probabilistic symmetries and invariant neural networks. Journal of Machine Learning Research, 21(90):1–61. \n[14] Bodnar, C., Frasca, F., Wang, Y. G., Otter, N., Montúfar, G., Lio, P., and Bronstein, M. (2021). Weisfeiler and lehman go topological: Message passing simplicial networks. arXiv preprint arXiv:2103.03212. \n[15] Bollobás, B. (1990). Almost every graph has reconstruction number three. Journal of Graph Theory, 14(1):1–4. \n[16] Bondy, J. A. (1991). A graph reconstructor’s manual. Surveys in combinatorics, 166:221–252. \n[17] Borowiecki, M., Broere, I., Frick, M., Mihok, P., and Semanišin, G. (1997). A survey of hereditary properties of graphs. Discussiones Mathematicae Graph Theory, 17(1):5–50. \n[18] Bouritsas, G., Frasca, F., Zafeiriou, S., and Bronstein, M. M. (2020). Improving graph neural network expressivity via subgraph isomorphism counting. CoRR, abs/2006.09252. \n[19] Bruna, J., Zaremba, W., Szlam, A., and LeCun, Y. (2014). Spectral networks and deep locally connected networks on graphs. In International Conference on Learning Representation. \n[20] Cangea, C., Velickovic, P., Jovanovic, N., Kipf, T., and Liò, P. (2018). Towards sparse hierarchical graph classifiers. CoRR, abs/1811.01287. \n[21] Chami, I., Abu-El-Haija, S., Perozzi, B., Ré, C., and Murphy, K. (2020). Machine learning on graphs: A model and comprehensive taxonomy. CoRR, abs/2005.03675. \n[22] Chami, I., Ying, Z., Ré, C., and Leskovec, J. (2019). Hyperbolic graph convolutional neural networks. In Advances in Neural Information Processing Systems, pages 4869–4880. \n[23] Chen, G., Chen, P., Hsieh, C., Lee, C., Liao, B., Liao, R., Liu, W., Qiu, J., Sun, Q., Tang, J., Zemel, R. S., and Zhang, S. (2019a). Alchemy: A quantum chemistry dataset for benchmarking AI models. CoRR, abs/1906.09427. \n[24] Chen, S., Dobriban, E., and Lee, J. H. (2019b). Invariance reduces variance: Understanding data augmentation in deep learning and beyond. arXiv preprint arXiv:1907.10905. \n[25] Chen, Z., Chen, L., Villar, S., and Bruna, J. (2020a). Can graph neural networks count substructures? In Advances in Neural Information Processing Systems. \n[26] Chen, Z., Chen, L., Villar, S., and Bruna, J. (2020b). Can graph neural networks count substructures? CoRR, abs/2002.04025. \n[27] Chen, Z., Villar, S., Chen, L., and Bruna, J. (2019c). On the equivalence between graph isomorphism testing and function approximation with GNNs. In Advances in Neural Information Processing Systems, pages 15868–15876. \n[28] Corso, G., Cavalleri, L., Beaini, D., Liò, P., and Velickovic, P. (2020). Principal neighbourhood aggregation for graph nets. In Advances in Neural Information Processing Systems. \n[29] Dasoulas, G., Santos, L. D., Scaman, K., and Virmaux, A. (2020). Coloring graph neural networks for node disambiguation. In International Joint Conference on Artificial Intelligence, pages 2126–2132. \n[30] Defferrard, M., X., B., and Vandergheynst, P. (2016). Convolutional neural networks on graphs with fast localized spectral filtering. In Advances in Neural Information Processing Systems, pages 3844–3852. \n[31] Duvenaud, D. K., Maclaurin, D., Iparraguirre, J., Bombarell, R., Hirzel, T., Aspuru-Guzik, A., and Adams, R. P. (2015). Convolutional networks on graphs for learning molecular fingerprints. In Advances in Neural Information Processing Systems, pages 2224–2232. \n[32] Dwivedi, V. P., Joshi, C. K., Laurent, T., Bengio, Y., and Bresson, X. (2020). Benchmarking graph neural networks. CoRR, abs/2003.00982. \n[33] Easley, D. and Kleinberg, J. (2010). Networks, Crowds, and Markets: Reasoning About a Highly Connected World. Cambridge University Press. \n[34] Feng, W., Zhang, J., Dong, Y., Han, Y., Luan, H., Xu, Q., Yang, Q., Kharlamov, E., and Tang, J. (2020). Graph random neural networks for semi-supervised learning on graphs. In Advances in Neural Information Processing Systems. \n[35] Fey, M. and Lenssen, J. E. (2019). Fast graph representation learning with PyTorch Geometric. CoRR, abs/1903.02428. \n[36] Flam-Shepherd, D., Wu, T., Friederich, P., and Aspuru-Guzik, A. (2020). Neural message passing on high order paths. CoRR, abs/2002.10413. \n[37] Gao, H. and Ji, S. (2019). Graph U-Nets. In International Conference on Machine Learning, pages 2083–2092. \n[38] Garg, V. K., Jegelka, S., and Jaakkola, T. S. (2020). Generalization and representational limits of graph neural networks. In International Conference on Machine Learning, pages 3419–3430. \n[39] Geerts, F. (2020). The expressive power of kth-order invariant graph networks. CoRR, abs/2007.12035. \n[40] Geerts, F., Mazowiecki, F., and Pérez, G. A. (2020). Let’s agree to degree: Comparing graph convolutional networks in the message-passing framework. CoRR, abs/2004.02593. \n[41] Giles, W. B. (1974). The reconstruction of outerplanar graphs. Journal of Combinatorial Theory, Series B, 16(3):215 – 226. \n[42] Gilmer, J., Schoenholz, S. S., Riley, P. F., Vinyals, O., and Dahl, G. E. (2017). Neural message passing for quantum chemistry. In International Conference on Machine Learning. \n[43] Godsil, C. (1993). Algebraic combinatorics, volume 6. CRC Press. \n[44] Grohe, M. (2017). Descriptive Complexity, Canonisation, and Definable Graph Structure Theory. Lecture Notes in Logic. Cambridge University Press. \n[45] Grohe, M. (2020). Word2vec, Node2vec, Graph2vec, X2vec: Towards a theory of vector embeddings of structured data. CoRR, abs/2003.12590. \n[46] Grohe, M. and Neuen, D. (2020). Recent advances on the graph isomorphism problem. CoRR, abs/2011.01366. \n[47] Hamilton, W. L., Ying, R., and Leskovec, J. (2017). Inductive representation learning on large graphs. In Advances in Neural Information Processing Systems, pages 1025–1035. \n[48] Hinton, G. E., Srivastava, N., Krizhevsky, A., Sutskever, I., and Salakhutdinov, R. R. (2012). Improving neural networks by preventing co-adaptation of feature detectors. CoRR, abs/1207.0580. \n[49] Hu, W., Fey, M., Zitnik, M., Dong, Y., Ren, H., Liu, B., Catasta, M., and Leskovec, J. (2020). Open graph benchmark: Datasets for machine learning on graphs. In Advances in Neural Information Processing Systems. \n[50] Jin, Y., Song, G., and Shi, C. (2019). GraLSP: Graph neural networks with local structural patterns. CoRR, abs/1911.07675. \n[51] Junttila, T. and Kaski, P. (2007). Engineering an efficient canonical labeling tool for large and sparse graphs. In Workshop on Algorithm Engineering and Experiments, pages 135–149. \n[52] Kelly, P. J. (1942). On isometric transformations. PhD thesis, University of Wisconsin-Madison. \n[53] Kelly, P. J. et al. (1957). A congruence theorem for trees. Pacific Journal of Mathematics, 7(1):961–968. \n[54] Keriven, N. and Peyré, G. (2019). Universal invariant and equivariant graph neural networks. In Advances in Neural Information Processing Systems, pages 7090–7099. \n[55] Kiefer, S., Schweitzer, P., and Selman, E. (2015). Graphs identified by logics with counting. In International Symposium on Mathematical Foundations of Computer Science, pages 319–330. \n[56] Kipf, T. N. and Welling, M. (2017). Semi-supervised classification with graph convolutional networks. In International Conference on Learning Representation. \n[57] Kireev, D. B. (1995). Chemnet: A novel neural network based method for graph/property mapping. Journal of Chemical Information and Computer Sciences, 35(2):175–180. \n[58] Klicpera, J., Groß, J., and Günnemann, S. (2020). Directional message passing for molecular graphs. In International Conference on Learning Representations. \n[59] Kong, K., Li, G., Ding, M., Wu, Z., Zhu, C., Ghanem, B., Taylor, G., and Goldstein, T. (2020). FLAG: adversarial data augmentation for graph neural networks. CoRR, abs/2010.09891. \n[60] Kostochka, A. V. and West, D. B. (2020). On reconstruction of n-vertex graphs from the multiset of (n-\\`)-vertex induced subgraphs. IEEE Transactions on Information Theory, PP:1–1. \n[61] Li, P., Wang, Y., Wang, H., and Leskovec, J. (2020). Distance encoding: Design provably more powerful neural networks for graph representation learning. Advances in Neural Information Processing Systems. \n[62] Liao, R., Urtasun, R., and Zemel, R. S. (2020). A PAC-bayesian approach to generalization bounds for graph neural networks. CoRR, abs/2012.07690. \n[63] Lyle, C., van der Wilk, M., Kwiatkowska, M., Gal, Y., and Bloem-Reddy, B. (2020). On the benefits of invariance in neural networks. arXiv preprint arXiv:2005.00178. \n[64] Maehara, T. and NT, H. (2019). A simple proof of the universality of invariant/equivariant graph neural networks. CoRR, abs/1910.03802. \n[65] Manvel, B. (1974). Some basic observations on kelly’s conjecture for graphs. Discrete Mathematics, 8(2):181–185. \n[66] Maron, H., Ben-Hamu, H., Serviansky, H., and Lipman, Y. (2019a). Provably powerful graph networks. In Advances in Neural Information Processing Systems, pages 2153–2164. \n[67] Maron, H., Fetaya, E., Segol, N., and Lipman, Y. (2019b). On the universality of invariant networks. In International Conference on Machine Learning, volume 97, pages 4363–4371. PMLR. \n[68] McKay, B. D. (1997). Small graphs are reconstructible. Australasian Journal of Combinatorics, 15:123–126. \n[69] Merkwirth, C. and Lengauer, T. (2005). Automatic generation of complementary descriptors with molecular graph networks. Journal of Chemical Information and Modeling, 45(5):1159–1168. \n[70] Micheli, A. (2009). Neural network for graphs: A contextual constructive approach. IEEE Transactions on Neural Networks, 20(3):498–511. \n[71] Micheli, A. and Sestito, A. S. (2005). A new neural network model for contextual processing of graphs. In Italian Workshop on Neural Nets Neural Nets and International Workshop on Natural and Artificial Immune Systems, volume 3931 of Lecture Notes in Computer Science, pages 10–17. Springer. \n[72] Monti, F., Boscaini, D., Masci, J., Rodolà, E., Svoboda, J., and Bronstein, M. M. (2017). Geometric deep learning on graphs and manifolds using mixture model CNNs. In IEEE Conference on Computer Vision and Pattern Recognition, pages 5425–5434. \n[73] Morris, C. (2021). The power of the weisfeiler-leman algorithm for machine learning with graphs. In International Joint Conference on Artificial Intelligence, page TBD. \n[74] Morris, C., Kriege, N. M., Bause, F., Kersting, K., Mutzel, P., and Neumann, M. (2020a). TUDataset: A collection of benchmark datasets for learning with graphs. CoRR, abs/2007.08663. \n[75] Morris, C., L., Y., Maron, H., Rieck, B., Kriege, N. M., Grohe, M., Fey, M., and Borgwardt, K. (2021). Weisfeiler and leman learning: The story so far. CoRR, abs/2112.09992. \n[76] Morris, C. and Mutzel, P. (2019). Towards a practical $k$ -dimensional Weisfeiler-Leman algorithm. CoRR, abs/1904.01543. \n[77] Morris, C., Rattan, G., and Mutzel, P. (2020b). Weisfeiler and leman go sparse: Towards higher-order graph embeddings. In Advances in Neural Information Processing Systems. \n[78] Morris, C., Ritzert, M., Fey, M., Hamilton, W. L., Lenssen, J. E., Rattan, G., and Grohe, M. (2019). Weisfeiler and Leman go neural: Higher-order graph neural networks. In AAAI Conference on Artificial Intelligence, pages 4602–4609. \n[79] Murphy, R. L., Srinivasan, B., Rao, V., and Ribeiro, B. (2019a). Janossy pooling: Learning deep permutationinvariant functions for variable-size inputs. International Conference on Learning Representations. \n[80] Murphy, R. L., Srinivasan, B., Rao, V., and Ribeiro, B. (2019b). Relational pooling for graph representations. In International Conference on Machine Learning, pages 4663–4673. \n[81] Murphy, R. L., Srinivasan, B., Rao, V. A., and Ribeiro, B. (2019c). Relational pooling for graph representations. In International Conference on Machine Learning, pages 4663–4673. \n[82] Niepert, M., Ahmed, M., and Kutzkov, K. (2016). Learning convolutional neural networks for graphs. In International Conference on Machine Learning, pages 2014–2023. \n[83] Nydl, V. (1981). Finite graphs and digraphs which are not reconstructible from their cardinality restricted \\` subgraphs. Commentationes Mathematicae Universitatis Carolinae, 22(2):281–287. \n[84] Nydl, V. (2001). Graph reconstruction from subgraphs. \\` Discrete Mathematics, 235(1-3):335–341. \n[85] Rong, Y., Huang, W., Xu, T., and Huang, J. (2020). DropEdge: Towards deep graph convolutional networks on node classification. In International Conference on Learning Representations. \n[86] Sato, R., Yamada, M., and Kashima, H. (2020). Random features strengthen graph neural networks. CoRR, abs/2002.03155. \n[87] Scarselli, F., Gori, M., Tsoi, A. C., Hagenbuchner, M., and Monfardini, G. (2009). The graph neural network model. IEEE Transactions on Neural Networks, 20(1):61–80. \n[88] Shawe-Taylor, J. (1993). Symmetries and discriminability in feedforward network architectures. IEEE Transactions on Neural Networks, 4(5):816–826. \n[89] Simonovsky, M. and Komodakis, N. (2017). Dynamic edge-conditioned filters in convolutional neural networks on graphs. In IEEE Conference on Computer Vision and Pattern Recognition, pages 29–38. \n[90] Sperduti, A. and Starita, A. (1997). Supervised neural networks for the classification of structures. IEEE Transactions on Neural Networks, 8(2):714–35. \n[91] Spinoza, H. and West, D. B. (2019). Reconstruction from the deck of-vertex induced subgraphs. Journal of Graph Theory, 90(4):497–522. \n[92] Stockmeyer, P. K. (1977). The falsity of the reconstruction conjecture for tournaments. Journal of Graph Theory, 1(1):19–25. \n[93] Stockmeyer, P. K. (1981). A census of non-reconstructable digraphs, i: Six related families. Journal of Combinatorial Theory, Series B, 31(2):232–239. \n[94] Stokes, J., Yang, K., Swanson, K., Jin, W., Cubillos-Ruiz, A., Donghia, N., MacNair, C., French, S., Carfrae, L., Bloom-Ackerman, Z., Tran, V., Chiappino-Pepe, A., Badran, A., Andrews, I., Chory, E., Church, G., Brown, E., Jaakkola, T., Barzilay, R., and Collins, J. (2020). A deep learning approach to antibiotic discovery. Cell, 180:688–702.e13. \n[95] Taylor, R. (1990). Reconstructing degree sequences from k-vertex-deleted subgraphs. Discrete mathematics, 79(2):207–213. \n[96] Ulam, S. M. (1960). A collection of mathematical problems, volume 8. Interscience Publishers. \n[97] Velickovic, P., Cucurull, G., Casanova, A., Romero, A., Liò, P., and Bengio, Y. (2018). Graph attention networks. In International Conference on Learning Representations. \n[98] Vignac, C., Loukas, A., and Frossard, P. (2020). Building powerful and equivariant graph neural networks with structural message-passing. In Advances in Neural Information Processing Systems. \n[99] Vinyals, O., Bengio, S., and Kudlur, M. (2015). Order matters: Sequence to sequence for sets. arXiv preprint arXiv:1511.06391. \n[100] Wagstaff, E., Fuchs, F., Engelcke, M., Posner, I., and Osborne, M. A. (2019). On the limitations of representing functions on sets. International Conference on Machine Learning, pages 6487–6494. \n[101] Weisfeiler, B. (1976). On Construction and Identification of Graphs. Lecture Notes in Mathematics, Vol. 558. Springer. \n[102] Weisfeiler, B. and Leman., A. (1968). The reduction of a graph to canonical form and the algebra which appears therein. Nauchno-Technicheskaya Informatsia, 2(9):12–16. English translation by G. Ryabov is available at https://www.iti.zcu.cz/wl2018/pdf/wl_paper_translation.pdf. \n[103] Wu, Z., Pan, S., Chen, F., Long, G., Zhang, C., and Yu, P. S. (2019). A comprehensive survey on graph neural networks. CoRR, abs/1901.00596. \n[104] Wu, Z., Ramsundar, B., Feinberg, E. N., Gomes, J., Geniesse, C., Pappu, A. S., Leswing, K., and Pande, V. (2018). MoleculeNet: A benchmark for molecular machine learning. Chemical Science, 9:513–530. \n[105] Xu, K., Hu, W., Leskovec, J., and Jegelka, S. (2019). How powerful are graph neural networks? In International Conference on Learning Representations. \n[106] Xu, K., Li, C., Tian, Y., Sonobe, T., Kawarabayashi, K., and Jegelka, S. (2018). Representation learning on graphs with jumping knowledge networks. In International Conference on Machine Learning, pages 5453–5462. \n[107] Yehudai, G., Fetaya, E., Meirom, E. A., Chechik, G., and Maron, H. (2020). On size generalization in graph neural networks. CoRR, abs/2010.08853. \n[108] Ying, R., You, J., Morris, C., Ren, X., Hamilton, W. L., and Leskovec, J. (2018). Hierarchical graph representation learning with differentiable pooling. In Advances in Neural Information Processing Systems, pages 4800–4810. \n[109] You, J., Gomes-Selman, J., Ying, R., and Leskovec, J. (2021). Identity-aware graph neural networks. arXiv preprint arXiv:2101.10320. \n[110] You, J., Ying, R., and Leskovec, J. (2019). Position-aware graph neural networks. In International Conference on Machine Learning, pages 7134–7143. \n[111] Yuan, H., Yu, H., Wang, J., Li, K., and Ji, S. (2021). On explainability of graph neural networks via subgraph explorations. arXiv preprint arXiv:2102.05152. \n[112] Zaheer, M., Kottur, S., Ravanbakhsh, S., Poczos, B., Salakhutdinov, R. R., and Smola, A. J. (2017). Deep sets. In Advances in neural information processing systems, pages 3391–3401. \n[113] Zhang, M., Cui, Z., Neumann, M., and Yixin, C. (2018). An end-to-end deep learning architecture for graph classification. In AAAI Conference on Artificial Intelligence, pages 4428–4435. \n[114] Zhou, J., Cui, G., Zhang, Z., Yang, C., Liu, Z., Wang, L., Li, C., and Sun, M. (2018). Graph neural networks: A review of methods and applications. CoRR, abs/1812.08434. ",
|
| 1221 |
+
"bbox": [
|
| 1222 |
+
171,
|
| 1223 |
+
429,
|
| 1224 |
+
828,
|
| 1225 |
+
912
|
| 1226 |
+
],
|
| 1227 |
+
"page_idx": 9
|
| 1228 |
+
},
|
| 1229 |
+
{
|
| 1230 |
+
"type": "text",
|
| 1231 |
+
"text": "",
|
| 1232 |
+
"bbox": [
|
| 1233 |
+
171,
|
| 1234 |
+
75,
|
| 1235 |
+
830,
|
| 1236 |
+
916
|
| 1237 |
+
],
|
| 1238 |
+
"page_idx": 10
|
| 1239 |
+
},
|
| 1240 |
+
{
|
| 1241 |
+
"type": "text",
|
| 1242 |
+
"text": "",
|
| 1243 |
+
"bbox": [
|
| 1244 |
+
171,
|
| 1245 |
+
85,
|
| 1246 |
+
828,
|
| 1247 |
+
914
|
| 1248 |
+
],
|
| 1249 |
+
"page_idx": 11
|
| 1250 |
+
},
|
| 1251 |
+
{
|
| 1252 |
+
"type": "text",
|
| 1253 |
+
"text": "",
|
| 1254 |
+
"bbox": [
|
| 1255 |
+
171,
|
| 1256 |
+
80,
|
| 1257 |
+
828,
|
| 1258 |
+
919
|
| 1259 |
+
],
|
| 1260 |
+
"page_idx": 12
|
| 1261 |
+
},
|
| 1262 |
+
{
|
| 1263 |
+
"type": "text",
|
| 1264 |
+
"text": "",
|
| 1265 |
+
"bbox": [
|
| 1266 |
+
169,
|
| 1267 |
+
92,
|
| 1268 |
+
826,
|
| 1269 |
+
632
|
| 1270 |
+
],
|
| 1271 |
+
"page_idx": 13
|
| 1272 |
+
}
|
| 1273 |
+
]
|