%matplotlib inline
from d2l import torch as d2l
import torch4.4 Numerical Stability and Initialization
Every model so far has required us to initialize its parameters from some chosen distribution, and we have taken those choices for granted. They are not innocuous. The initialization scheme interacts with the choice of activation function to determine whether gradients flow at a usable scale, or instead vanish (so learning stalls) or explode (so it diverges), and hence how fast optimization converges, or whether it converges at all. This section makes the failure modes concrete and develops the variance-preserving heuristics (Xavier and He initialization) that fix them.
%matplotlib inline
from d2l import tensorflow as d2l
import tensorflow as tf%matplotlib inline
from d2l import jax as d2l
import jax
from jax import numpy as jnp
from jax import grad, vmap%matplotlib inline
from d2l import mxnet as d2l
from mxnet import autograd, np, npx
npx.set_np()4.4.1 Vanishing and Exploding Gradients
Consider a deep network with \(L\) layers, input \(\mathbf{x}\) and output \(\mathbf{o}\). With each layer \(l\) defined by a transformation \(f_l\) parametrized by weights \(\mathbf{W}^{(l)}\), whose hidden layer output is \(\mathbf{h}^{(l)}\) (let \(\mathbf{h}^{(0)} = \mathbf{x}\)), our network can be expressed as:
\[\mathbf{h}^{(l)} = f_l (\mathbf{h}^{(l-1)}) \textrm{ and thus } \mathbf{o} = f_L \circ \cdots \circ f_1(\mathbf{x}). \tag{4.4.1}\]
If all the hidden layer output and the input are vectors, we can write the gradient of \(\mathbf{o}\) with respect to any set of parameters \(\mathbf{W}^{(l)}\) as follows:
\[\partial_{\mathbf{W}^{(l)}} \mathbf{o} = \underbrace{\partial_{\mathbf{h}^{(L-1)}} \mathbf{h}^{(L)}}_{ \mathbf{M}^{(L)} \stackrel{\textrm{def}}{=}} \cdots \underbrace{\partial_{\mathbf{h}^{(l)}} \mathbf{h}^{(l+1)}}_{ \mathbf{M}^{(l+1)} \stackrel{\textrm{def}}{=}} \underbrace{\partial_{\mathbf{W}^{(l)}} \mathbf{h}^{(l)}}_{ \mathbf{v}^{(l)} \stackrel{\textrm{def}}{=}}. \tag{4.4.2}\]
In other words, this gradient is the product of \(L-l\) matrices \(\mathbf{M}^{(L)} \cdots \mathbf{M}^{(l+1)}\) and the gradient operator \(\mathbf{v}^{(l)}\). Thus we are susceptible to the same problems of numerical underflow that often crop up when multiplying together too many probabilities. Products of probabilities can often be stabilized by switching to log-space, which represents multiplication as addition. Unfortunately, our problem above is more serious: each Jacobian \(\mathbf{M}^{(l)}\) can stretch or shrink the vectors it acts on by widely varying factors (its singular values: for the rectangular Jacobians that arise when layer widths differ, these are the right notion of “how much the matrix scales things”). A per-layer factor of \(\rho\) compounds to \(\rho^{\,L-l}\) across the product, so factors even modestly different from \(1\) make the overall gradient very large or very small geometrically fast; Section 24.2.5 develops the growth rate of such a product’s singular values.
The risks posed by unstable gradients go beyond numerical representation. Gradients of unpredictable magnitude also threaten the stability of our optimization algorithms. We may be facing parameter updates that are either (i) excessively large, destroying our model (the exploding gradient problem); or (ii) excessively small (the vanishing gradient problem), rendering learning impossible as parameters hardly move on each update.
4.4.1.1 Vanishing Gradients
One frequent culprit causing the vanishing gradient problem is the choice of the activation function \(\sigma\) that is appended following each layer’s linear operations. Historically, the sigmoid function \(1/(1 + \exp(-x))\) (introduced in Section 4.1) was popular because it resembles a thresholding function. Since early artificial neural networks were inspired by biological neural networks, the idea of neurons that fire either fully or not at all (like biological neurons) seemed appealing. Consider the sigmoid to see why it can cause vanishing gradients.
x = torch.arange(-8.0, 8.0, 0.1, requires_grad=True)
y = torch.sigmoid(x)
y.backward(torch.ones_like(x))
d2l.plot(x.detach().numpy(), [y.detach().numpy(), x.grad.numpy()],
legend=['sigmoid', 'gradient'], figsize=(4.5, 2.5))x = tf.Variable(tf.range(-8.0, 8.0, 0.1))
with tf.GradientTape() as t:
y = tf.nn.sigmoid(x)
d2l.plot(x.numpy(), [y.numpy(), t.gradient(y, x).numpy()],
legend=['sigmoid', 'gradient'], figsize=(4.5, 2.5))x = jnp.arange(-8.0, 8.0, 0.1)
y = jax.nn.sigmoid(x)
grad_sigmoid = vmap(grad(jax.nn.sigmoid))
d2l.plot(x, [y, grad_sigmoid(x)],
legend=['sigmoid', 'gradient'], figsize=(4.5, 2.5))x = np.arange(-8.0, 8.0, 0.1)
x.attach_grad()
with autograd.record():
y = npx.sigmoid(x)
y.backward()
d2l.plot(x, [y, x.grad], legend=['sigmoid', 'gradient'], figsize=(4.5, 2.5))[21:25:41] /home/smola/mxnet/src/base.cc:48: GPU context requested, but no GPUs found.
As you can see, the sigmoid’s gradient vanishes both when its inputs are large and when they are small. Moreover, the sigmoid’s derivative never exceeds \(0.25\) (its peak, attained at zero), so even in the Goldilocks zone, where the inputs to many of the sigmoids are close to zero, each layer attenuates the backward signal by at least a factor of four: after only ten sigmoid layers the gradient has shrunk by \(0.25^{10} \approx 10^{-6}\). Away from that zone the situation is far worse, and the gradients of the overall product vanish outright. When our network has many layers, unless we are careful, the gradient will likely be cut off at some layer. Indeed, this problem used to plague deep network training (Bengio et al. 1994). Consequently, ReLUs, which are more stable (but less neurally plausible), have emerged as the default choice for practitioners.
4.4.1.2 Exploding Gradients
The opposite problem, when gradients explode, can be similarly vexing. To illustrate this a bit better, we draw 100 Gaussian random matrices and multiply them with some initial matrix. For the scale that we picked (the choice of the variance \(\sigma^2=1\)), the matrix product explodes. When this happens because of the initialization of a deep network, we have no chance of getting a gradient descent optimizer to converge.
M = torch.normal(0, 1, size=(4, 4))
print('a single matrix \n',M)
for i in range(100):
M = M @ torch.normal(0, 1, size=(4, 4))
print('after multiplying 100 matrices\n', M)a single matrix
tensor([[ 1.0284, -1.3055, 1.1237, -0.5713],
[-1.6580, 0.1712, 0.8036, -0.0430],
[ 0.2606, 0.5971, -0.7985, -0.7436],
[ 1.0064, -0.7472, -0.8872, 0.4081]])
after multiplying 100 matrices
tensor([[-3.6839e+24, 1.6218e+26, 2.5680e+25, -5.4812e+25],
[ 1.8284e+24, -8.0495e+25, -1.2746e+25, 2.7205e+25],
[ 1.3880e+24, -6.1106e+25, -9.6755e+24, 2.0652e+25],
[-2.0169e+24, 8.8793e+25, 1.4059e+25, -3.0009e+25]])
M = tf.random.normal((4, 4))
print('a single matrix \n', M)
for i in range(100):
M = tf.matmul(M, tf.random.normal((4, 4)))
print('after multiplying 100 matrices\n', M.numpy())a single matrix
tf.Tensor(
[[-0.59070396 0.9687251 -0.73052424 -2.003917 ]
[-0.9226107 2.1944604 1.1117496 1.23807 ]
[-0.7788194 -2.0338671 1.1012768 -1.926618 ]
[ 0.0512848 -0.17999004 1.6577698 1.2487433 ]], shape=(4, 4), dtype=float32)
after multiplying 100 matrices
[[ 1.5241146e+25 1.0961446e+25 4.6288839e+25 2.2620239e+25]
[ 2.5871127e+26 1.8606541e+26 7.8573109e+26 3.8396787e+26]
[-8.6614931e+26 -6.2293555e+26 -2.6305795e+27 -1.2855011e+27]
[-7.3298276e+25 -5.2716174e+25 -2.2261396e+26 -1.0878608e+26]]
M = jax.random.normal(d2l.get_key(), (4, 4))
print('a single matrix \n', M)
for i in range(100):
M = jnp.matmul(M, jax.random.normal(d2l.get_key(), (4, 4)))
print('after multiplying 100 matrices\n', M)a single matrix
[[-2.4424558 -2.0356805 0.20554423 -0.3535502 ]
[-0.76197404 -1.1785518 -1.1482196 0.29716578]
[-1.3105359 2.1302025 -0.18957235 0.96401215]
[-1.3011001 -0.7486938 -0.3729984 0.4427907 ]]
after multiplying 100 matrices
[[ 3.35691989e+22 1.62960807e+23 1.05114213e+23 -1.30175178e+23]
[ 3.68540817e+22 1.78907297e+23 1.15400147e+23 -1.42913484e+23]
[ 2.58827815e+22 1.25647115e+23 8.10458151e+22 -1.00368401e+23]
[ 3.11850833e+22 1.51387186e+23 9.76488936e+22 -1.20930000e+23]]
M = np.random.normal(size=(4, 4))
print('a single matrix', M)
for i in range(100):
M = np.dot(M, np.random.normal(size=(4, 4)))
print('after multiplying 100 matrices', M)a single matrix [[ 0.37164146 -0.30565897 -0.69504017 -0.3054453 ]
[-0.32706088 1.5578545 0.259389 1.5199836 ]
[ 0.24389267 -0.2632121 -0.70784926 0.1288733 ]
[ 0.48671612 -2.5180435 0.35997918 0.8799593 ]]
after multiplying 100 matrices [[-9.3050529e+23 -6.2406279e+23 2.6926384e+24 1.1626600e+24]
[ 1.5333718e+24 1.0283879e+24 -4.4371761e+24 -1.9159378e+24]
[-5.9033706e+23 -3.9592189e+23 1.7082809e+24 7.3762217e+23]
[-2.3413825e+24 -1.5702974e+24 6.7753473e+24 2.9255421e+24]]
4.4.1.3 Breaking the Symmetry
Another problem in neural network design is the symmetry inherent in their parametrization. Assume that we have a simple MLP with one hidden layer and two units. In this case, we could permute the weights \(\mathbf{W}^{(1)}\) of the first layer and likewise permute the weights of the output layer to obtain the same function. There is nothing special differentiating the first and second hidden units. In other words, we have permutation symmetry among the hidden units of each layer.
This symmetry directly restricts learning. Consider the aforementioned one-hidden-layer MLP with two hidden units. For illustration, suppose that the output layer transforms the two hidden units into only one output unit. Suppose we initialized all the parameters of the hidden layer as \(\mathbf{W}^{(1)} = c\) for some constant \(c\). In this case, during forward propagation either hidden unit takes the same inputs and parameters producing the same activation which is fed to the output unit. During backpropagation, differentiating the output unit with respect to parameters \(\mathbf{W}^{(1)}\) gives a gradient all of whose elements take the same value. Thus, after gradient-based iteration (e.g., minibatch stochastic gradient descent), all the elements of \(\mathbf{W}^{(1)}\) still take the same value. Such iterations would never break the symmetry on their own and we might never be able to realize the network’s expressive power. The hidden layer would behave as if it had only a single unit. Note that while minibatch stochastic gradient descent would not break this symmetry, dropout regularization (Section 4.6) would!
4.4.2 Parameter Initialization
One way of addressing (or at least mitigating) the issues raised above is through careful initialization. As we will see later, additional care during optimization and suitable regularization can further enhance stability.
4.4.2.1 Default Initialization
In the previous sections, e.g., in Section 2.5, we initialized weights by drawing them from a normal distribution with a small, fixed standard deviation. If we do not specify an initialization method at all, the library falls back to its own default scheme. These defaults differ across libraries and layer types: some scale with fan-in, while others use a fixed range. They are conveniences rather than a portable mathematical guarantee. For an experiment whose initialization matters, choose a named initializer explicitly and record its parameters. Defaults often work well for moderately sized networks, but they become unreliable as depth grows. The variance analysis that follows explains why they work, where they break, and what to reach for instead.
4.4.2.2 Xavier Initialization
We inspect the scale distribution of an output \(o_{i}\) for some fully connected layer without nonlinearities. With \(n_\textrm{in}\) inputs \(x_j\) and their associated weights \(w_{ij}\) for this layer, an output is given by
\[o_{i} = \sum_{j=1}^{n_\textrm{in}} w_{ij} x_j. \tag{4.4.3}\]
The weights \(w_{ij}\) are all drawn independently from the same distribution. Furthermore, let’s assume that this distribution has zero mean and variance \(\sigma^2\). Note that this does not mean that the distribution has to be Gaussian, only that its mean and variance must exist. Assume also that the inputs to the layer \(x_j\) also have zero mean and variance \(\gamma^2\) and that they are independent of \(w_{ij}\) and independent of each other. In this case, we can compute the mean of \(o_i\):
\[ \begin{aligned} E[o_i] & = \sum_{j=1}^{n_\textrm{in}} E[w_{ij} x_j] \\&= \sum_{j=1}^{n_\textrm{in}} E[w_{ij}] E[x_j] \\&= 0, \end{aligned}\]
and the variance:
\[ \begin{aligned} \textrm{Var}[o_i] & = E[o_i^2] - (E[o_i])^2 \\ & = \sum_{j=1}^{n_\textrm{in}} E[w^2_{ij} x^2_j] - 0 \\ & = \sum_{j=1}^{n_\textrm{in}} E[w^2_{ij}] E[x^2_j] \\ & = n_\textrm{in} \sigma^2 \gamma^2. \end{aligned} \]
Here we used \(E[w_{ij}^2] = \textrm{Var}[w_{ij}] = \sigma^2\), which holds because the weights have zero mean (\(\textrm{Var}[w] = E[w^2] - E[w]^2 = E[w^2]\)), and likewise \(E[x_j^2] = \gamma^2\). In the second line, expanding the square of the sum also produces cross terms \(E[w_{ij} w_{ik} x_j x_k]\) for \(j \neq k\); these vanish because the weights are independent of each other (and of the inputs) and have zero mean.
One way to keep the variance fixed is to set \(n_\textrm{in} \sigma^2 = 1\). Next consider backpropagation. A gradient signal flowing back through this layer is multiplied by \(\mathbf{W}^\top\), so by the identical variance computation, now summing over the \(n_\textrm{out}\) outputs the layer feeds, its variance is scaled by \(n_\textrm{out} \sigma^2\). Keeping the backward signal’s variance fixed therefore requires \(n_\textrm{out} \sigma^2 = 1\), where \(n_\textrm{out}\) is the number of outputs of this layer. This leaves us in a dilemma: we cannot satisfy both conditions simultaneously unless \(n_\textrm{in}=n_\textrm{out}\). A compromise satisfies the averaged condition
\[ \begin{aligned} \frac{1}{2} (n_\textrm{in} + n_\textrm{out}) \sigma^2 = 1 \textrm{ or equivalently } \sigma = \sqrt{\frac{2}{n_\textrm{in} + n_\textrm{out}}}. \end{aligned} \]
This variance argument yields Xavier initialization, named after the first author of its creators (Glorot and Bengio 2010). Typically, the Xavier initialization samples weights from a Gaussian distribution with zero mean and variance \(\sigma^2 = \frac{2}{n_\textrm{in} + n_\textrm{out}}\). We can also adapt this to choose the variance when sampling weights from a uniform distribution. Note that the uniform distribution \(U(-a, a)\) has variance \(\frac{a^2}{3}\). Plugging \(\frac{a^2}{3}\) into our condition on \(\sigma^2\) prompts us to initialize according to
\[U\left(-\sqrt{\frac{6}{n_\textrm{in} + n_\textrm{out}}}, \sqrt{\frac{6}{n_\textrm{in} + n_\textrm{out}}}\right). \tag{4.4.4}\]
Though the assumption that there are no nonlinearities in the above mathematical reasoning can be easily violated in neural networks, Xavier initialization often works well in practice.
4.4.2.3 He Initialization
The Xavier analysis above assumed a layer without nonlinearities. The argument breaks in a specific, fixable way once we insert a ReLU. First, note what the variance computation above actually consumed. With independent zero-mean weights, \(E[o_i] = 0\), and \(E[o_i^2] = n_\textrm{in} \sigma^2 E[x_j^2]\) depends on the inputs only through their second moment \(E[x_j^2]\). So we must track the second moment through the nonlinearity. Recall that \(\textrm{ReLU}(z) = \max(0, z)\) zeroes every negative pre-activation and passes every positive one through unchanged. If the pre-activations are symmetric about zero, as they are when the weights have a symmetric distribution independent of the inputs, then \(\textrm{ReLU}(z)^2\) equals \(z^2\) on the positive half of the distribution and equals \(0\) on the negative half, so the rectifier halves the second moment: \(E[\textrm{ReLU}(z)^2] = \tfrac{1}{2}E[z^2]\). (Its effect on the variance is messier, because \(\textrm{ReLU}(z)\) is no longer zero-mean, as the exercises explore.)
Let \(q=E[h_j^2]\) be the second moment entering a linear layer. Its preactivation has second moment \(n_\textrm{in}\sigma^2q\), and the following ReLU produces \(q' = \tfrac{1}{2}n_\textrm{in}\sigma^2q\) under the symmetry and independence assumptions above. To keep this second moment fixed across layers we must compensate by doubling the weight variance:
\[\sigma^2 = \frac{2}{n_\textrm{in}}. \tag{4.4.5}\]
This is He (or Kaiming) initialization (He et al. 2015), and it is the standard choice for the ReLU-family activations this chapter uses throughout. Because Xavier and He differ only by this factor of two and by which fan size they key on, they are easy to confuse; the rule of thumb is Xavier for \(\tanh\) and sigmoid, He for ReLU. Most libraries ship both as named initializers, and we return to invoking them through the parameter-initialization API in Chapter 5.
4.4.2.4 Watching the Variance Propagate
The preceding matrix product demonstrated growth under an unsuitable scale. The following experiment compares three initialization regimes: push a unit-scale signal through \(50\) ReLU layers of width \(100\) and track the second moment \(E[(h^{(l)})^2]\) of the activations (the quantity the He argument preserves) layer by layer, under three weight scales: the naive \(\mathcal{N}(0,1)\), Xavier, and He. To avoid floating-point overflow along the way, we renormalize the activations after each layer and accumulate the per-layer gains instead; because ReLU is positively homogeneous (\(\operatorname{ReLU}(a\mathbf{x}) = a\operatorname{ReLU}(\mathbf{x})\) for \(a > 0\)), this rescaling is exact, not an approximation.
depth, width = 50, 100
scales = {'N(0, 1)': 1.0, 'Xavier': (2 / (width + width)) ** 0.5,
'He': (2 / width) ** 0.5}
curves = []
for scale in scales.values():
h, m, curve = torch.randn(1000, width), 1.0, []
for _ in range(depth):
h = torch.relu(h @ (scale * torch.randn(width, width)))
gain = float((h ** 2).mean()) # this layer's factor on E[h^2]
m *= gain
curve.append(m)
h = h / gain ** 0.5 # renormalize: exact, since ReLU is homogeneous
curves.append(curve)
d2l.plot(list(range(1, depth + 1)), curves, 'layer', 'second moment of h',
legend=list(scales), yscale='log')depth, width = 50, 100
scales = {'N(0, 1)': 1.0, 'Xavier': (2 / (width + width)) ** 0.5,
'He': (2 / width) ** 0.5}
curves = []
for scale in scales.values():
h, m, curve = tf.random.normal((1000, width)), 1.0, []
for _ in range(depth):
h = tf.nn.relu(tf.matmul(h, scale * tf.random.normal(
(width, width))))
gain = float(tf.reduce_mean(h ** 2)) # factor on E[h^2]
m *= gain
curve.append(m)
h = h / gain ** 0.5 # renormalize: exact, since ReLU is homogeneous
curves.append(curve)
d2l.plot(list(range(1, depth + 1)), curves, 'layer', 'second moment of h',
legend=list(scales), yscale='log')depth, width = 50, 100
scales = {'N(0, 1)': 1.0, 'Xavier': (2 / (width + width)) ** 0.5,
'He': (2 / width) ** 0.5}
curves = []
for scale in scales.values():
h, m, curve = jax.random.normal(d2l.get_key(), (1000, width)), 1.0, []
for _ in range(depth):
h = jax.nn.relu(h @ (scale * jax.random.normal(
d2l.get_key(), (width, width))))
gain = float((h ** 2).mean()) # this layer's factor on E[h^2]
m *= gain
curve.append(m)
h = h / gain ** 0.5 # renormalize: exact, since ReLU is homogeneous
curves.append(curve)
d2l.plot(list(range(1, depth + 1)), curves, 'layer', 'second moment of h',
legend=list(scales), yscale='log')depth, width = 50, 100
scales = {'N(0, 1)': 1.0, 'Xavier': (2 / (width + width)) ** 0.5,
'He': (2 / width) ** 0.5}
curves = []
for scale in scales.values():
h, m, curve = np.random.normal(size=(1000, width)), 1.0, []
for _ in range(depth):
h = npx.relu(np.dot(h, scale * np.random.normal(
size=(width, width))))
gain = float((h ** 2).mean()) # this layer's factor on E[h^2]
m *= gain
curve.append(m)
h = h / gain ** 0.5 # renormalize: exact, since ReLU is homogeneous
curves.append(curve)
d2l.plot(list(range(1, depth + 1)), curves, 'layer', 'second moment of h',
legend=list(scales), yscale='log')This finite-width realization displays the three regimes predicted by the second-moment calculation. Under \(\mathcal{N}(0,1)\) weights the expected gain is \(n_\textrm{in}/2=50\) per layer. For Xavier weights followed by ReLU it is \(1/2\), whereas for He weights it is \(1\). The plotted trajectories fluctuate around those expectation-level factors; repeated seeds would reveal their dispersion. A related backward calculation gives the same scaling under additional mean-field independence assumptions. Both are initialization-time approximations, not exact statements about gradients during training. The exercises repeat the sweep without ReLU, where Xavier has expected gain one.
4.4.2.5 Scope of the Initialization Rules
Xavier and He initialization assume independent weights and simple feedforward layers at initialization. Shared parameters, recurrent dynamics, attention, and very deep compositions violate parts of that analysis. Later chapters introduce normalization layers (Section 7.3) and residual connections (Section 7.4), which provide additional paths for controlling signal scale. Specialized initializers remain useful when those architectural assumptions differ.
4.4.3 Summary
Vanishing and exploding gradients are common issues in deep networks. Great care in parameter initialization is required to ensure that gradients and parameters remain well controlled. Initialization heuristics are needed to ensure that the initial gradients are neither too large nor too small. Random initialization is key to ensuring that symmetry is broken before optimization. Xavier initialization keeps the variance of activations and gradients roughly constant across layers by scaling weights according to the number of inputs and outputs. For ReLU networks, He initialization scales the weight variance to \(2/n_\textrm{in}\) to compensate for the rectifier halving the activations’ second moment. ReLU activation functions mitigate the vanishing gradient problem. This can accelerate convergence.
4.4.4 Exercises
- Can you design other cases where a neural network might exhibit symmetry that needs breaking, besides the permutation symmetry in an MLP’s layers?
- Can we initialize all weight parameters in linear regression or in softmax regression to the same value?
- The Xavier derivation assumed a linear layer. Repeat it for a layer followed by a ReLU: show that, for zero-mean symmetric pre-activations \(z\), \(E[\textrm{ReLU}(z)^2] = \tfrac{1}{2}E[z^2]\), and conclude that preserving forward variance requires \(\sigma^2 = 2/n_\textrm{in}\) (He initialization). Where does the factor of two come from intuitively? Why is the analogous statement for variances false? For \(z \sim \mathcal{N}(0, \tau^2)\), compute \(\textrm{Var}[\textrm{ReLU}(z)]\) explicitly and show that it equals \(\left(\tfrac{1}{2} - \tfrac{1}{2\pi}\right)\tau^2\), not \(\tfrac{1}{2}\tau^2\).
- Rerun this section’s depth-sweep experiment with the ReLU removed, i.e., for a purely linear stack of 50 layers of width 100 under the same three schemes. Which scheme keeps the signal’s scale flat now, and why does the winner change relative to the ReLU sweep? What does this predict for activations that are approximately linear around zero, such as tanh?
- Look up analytic bounds on the eigenvalues of the product of two matrices. What does this tell you about ensuring that gradients are well conditioned?
- If we know that some terms diverge, can we fix this after the fact? Look at the paper on layerwise adaptive rate scaling for inspiration (You et al. 2017).