Memorized Sparse Backpropagation
Zhiyuan Zhang, Pengcheng Yang, Xuancheng Ren, Qi Su, Xu Sun

TL;DR
This paper introduces a unified sparse backpropagation framework and a novel algorithm called memorized sparse backpropagation (MSBP), which preserves information and accelerates neural network training.
Contribution
It provides a theoretical analysis of sparse backpropagation and proposes MSBP to mitigate information loss while maintaining efficiency.
Findings
MSBP effectively reduces information loss in sparse backpropagation
MSBP achieves comparable acceleration to traditional methods
Theoretical analysis confirms convergence properties
Abstract
Neural network learning is usually time-consuming since backpropagation needs to compute full gradients and backpropagate them across multiple layers. Despite its success of existing works in accelerating propagation through sparseness, the relevant theoretical characteristics remain under-researched and empirical studies found that they suffer from the loss of information contained in unpropagated gradients. To tackle these problems, this paper presents a unified sparse backpropagation framework and provides a detailed analysis of its theoretical characteristics. Analysis reveals that when applied to a multilayer perceptron, our framework essentially performs gradient descent using an estimated gradient similar enough to the true gradient, resulting in convergence in probability under certain conditions. Furthermore, a simple yet effective algorithm named memorized sparse…
| Method | Time | Memory |
|---|---|---|
| Linear | ||
| + SBP | ||
| + MSBP |
| MNIST | BP (s) | Total (s) | Acc (%) |
| MLP (=500) | 67.2 (1.00) | 116.6 (1.00) | 97.86 (+0.00) |
| + SBP (=0.04) | 6.6 (10.18) | 54.5 (2.14) | 97.84 (-0.02) |
| + MSBP (=0.8) | 6.9 (9.74) | 55.4 (2.10) | 98.23 (+0.37) |
| Parsing | BP (s) | Total (s) | UAS (%) |
| MLP (=500) | 6447 (1.00) | 9016 (1.00) | 88.38 (+0.00) |
| + SBP (=0.04) | 682 (9.46) | 2886 (3.12) | 88.59 (+0.21) |
| + MSBP (=0.7) | 684 (9.43) | 2898 (3.11) | 89.03 (+0.65) |
| POS-Tag | BP (s) | Total (s) | Acc (%) |
| LSTM (=500) | 11965 (1.00) | 16052 (1.00) | 97.27 (+0.00) |
| + SBP (=0.04) | 1763 (6.79) | 5738 (2.80) | 97.34 (+0.07) |
| + MSBP (=0.8) | 1842 (6.50) | 5849 (2.74) | 97.50 (+0.23) |
| Subjectivity | Acc (%) |
|---|---|
| TextCNN | 93.66 (+0.00) |
| + SBP (=0.05) | 93.77 (+0.11) |
| + MSBP (=0.05, =0.6) | 93.80 (+0.14) |
| Polarity | Acc (%) |
| TextCNN | 80.89 (+0.00) |
| + SBP (=0.05) | 81.12 (+0.23) |
| + MSBP (=0.05, =0.3) | 81.48 (+0.58) |
| En-Vi | Dev BLEU | Test BLEU |
|---|---|---|
| Seq2seq (=512) | 25.87 | 28.45 (+0.00) |
| + SBP (=1/16) | 26.64 | 28.94 (+0.39) |
| + MSBP (=1/16, =0.05) | 26.53 | 29.10 (+0.65) |
| Chs-En | Dev BLEU | Test BLEU |
| Seq2seq (=512) | 38.54 | 35.86 (+0.00) |
| + SBP (=1/16) | 38.74 | 35.94 (+0.08) |
| + MSBP (=1/16, =0.05) | 38.28 | 35.98 (+0.12) |
| MNIST | BP (s) | Total (s) | Acc (%) |
| MLP(=5000) | 3667.5 (1.00) | 5744.1 (1.00) | 98.10(+0.00) |
| + SBP (=0.001) | 57.0 (64.34) | 2131.8 (2.71) | 96.19(-1.93) |
| + MSBP (=0.001, =0.8) | 58.8 (62.37) | 2139.0 (2.70) | 97.71(-0.39) |
| + SBP (=0.002) | 102.1 (35.92) | 2196.4 (2.63) | 96.22 (-1.90) |
| + MSBP (=0.002, =0.8) | 104.7 (35.03) | 2206.8 (2.62) | 98.16 (+0.06) |
| 1.9 | |||||||||
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Memorized Sparse Backpropagation
Zhiyuan Zhang
Pengcheng Yang
Xuancheng Ren
Qi Su
Xu Sun
MOE Key Laboratory of Computational Linguistics, School of EECS, Peking University, Beijing 100871, China.
School of Foreign Languages, Peking University, Beijing 100871, China.
Abstract
Neural network learning is usually time-consuming since backpropagation needs to compute full gradients and backpropagate them across multiple layers. Despite its success of existing works in accelerating propagation through sparseness, the relevant theoretical characteristics remain under-researched and empirical studies found that they suffer from the loss of information contained in unpropagated gradients. To tackle these problems, this paper presents a unified sparse backpropagation framework and provides a detailed analysis of its theoretical characteristics. Analysis reveals that when applied to a multilayer perceptron, our framework essentially performs gradient descent using an estimated gradient similar enough to the true gradient, resulting in convergence in probability under certain conditions. Furthermore, a simple yet effective algorithm named memorized sparse backpropagation (MSBP) is proposed to remedy the problem of information loss by storing unpropagated gradients in memory for learning in the next steps. Experimental results demonstrate that the proposed MSBP is effective to alleviate the information loss in traditional sparse backpropagation while achieving comparable acceleration.
keywords:
Neural Networks, Backpropagation, Sparse Gradient, Acceleration.
††journal: Neurocomputing
1 Introduction
Training neural networks tends to be time-consuming [1, 2, 3], especially for architectures with a large number of learnable model parameters. An important reason why neural network learning is typically slow is that backpropagation requires the calculation of full gradients and updates all parameters in each learning step [4]. As deep networks with massive parameters become more prevalent, more and more efforts are devoted to accelerating the process of backpropagation. Among existing efforts, a prominent research line is sparse backpropagation [4, 5, 6], which aims at sparsifying the full gradient vector to achieve significant savings on computational cost.
One effective solution for sparse backpropagation is top- sparseness, which only keeps elements with the largest magnitude in the gradient vector and backpropagates them across different layers. For instance, meProp [4] employs the top- sparseness to compute only a very small but critical portion of the gradient information and update corresponding model parameters for the linear transformation. Going a step further, [5] implements the top- sparseness for backpropagation on convolutional neural networks. Experimental results demonstrate that these methods can achieve a significant acceleration of the backpropagation process. However, despite its success in saving computational cost, the top- sparseness for backpropagation still suffers from some intractable drawbacks, elaborated on as follows.
On the theoretical side, the theoretical characteristics of sparse backpropagation, especially for top- sparseness [7, 4, 5], have not been fully explored. Most previous work focuses on illustrating empirical explanations, rather than providing theoretical guarantees. Towards filling this gap, we first present a unified sparse backpropagation framework, of which some existing work [4, 5] can prove to be special cases. Furthermore, we analyze the theoretical characteristics of the proposed framework, which provides theoretical explanations for some related works [7, 4, 5]. The relevant analysis illustrates that when applied to a multilayer perceptron, the proposed framework essentially employs an estimated gradient similar enough to the true gradient to perform gradient descent, which leads to convergence under certain conditions.
On the empirical side, we find that top- sparseness for backpropagation tends to cause information loss contained in unpropagated gradients. Although it can propagate the most crucial gradient information by keeping only elements with the largest magnitude in the gradient vector, the unpropagated gradient may also contain substantial useful information. Such information loss usually results in some adverse effects like poor stability in model performance. The model performance means task-specific evaluation scores, such as accuracy on classification tasks here. To remedy this, we propose memorized sparse backpropagation (MSBP), which stores unpropagated gradients in memory for the next step of learning while propagating a critical portion of the gradient information. Compared to the previous works [4, 5], the proposed MSBP is capable of alleviating the information loss with the memory mechanism, thus improving model performance significantly. To sum up, the main contributions of this work are two-fold:
We present a unified sparse backpropagation framework and prove that some existing methods [4, 5] are special cases under this framework. In addition, the theoretical characteristics of the proposed framework are analyzed in detail to provide theoretical accounts for related work. 2. 2.
We propose memorized sparse backpropagation, which aims at alleviating the information loss by storing unpropagated gradients in memory for the next step of learning. The experiments demonstrate that our approach is able to effectively alleviate information loss while achieving comparable acceleration.
2 Related Work
When training neural networks, the gradient to be backpropagated is not necessarily the true gradient. Synthetic gradients method [8] allows layers to be trained without waiting for the true error gradient backpropagated from the previous layer. The Direct Feedback Alignment method [9] suggests that the weights used for gradient calculation in backward propagation do not have to be symmetric with the weights used for forward calculation. Furthermore, by combining extremely sparse connections with feedback-alignment causes a small accuracy drop while reducing multiply-and-accumulate (MAC) operations and data transmission cost [10]. The calculation of the gradient also allows for the locality. Local Propagation [11] and Alternating Direction Method of Multipliers (ADMM) [12] calculate gradients locally to avoid long dependencies among variable gradients and enable the parallelization of the training computations over the neural units.
Since estimated gradients, rather than true gradients, can be used for backpropagation, a prominent research line to accelerate backpropagation is sparse backpropagation. It accelerates neural network training, which tends to be time-consuming [1, 2, 3], by sparsifying gradients in backpropagation. For instance, a hardware-oriented structural sparsifying method [6] is invented for LSTM, which enforces a fixed level of sparsity in the LSTM gate gradients, yielding block-based sparse gradient matrices. [4] proposes meProp for linear transformation, which employs top- sparseness to computes only a small but critical portion of gradients and updates corresponding model parameters. Furthermore, mePorp can also be extended to convolutional layers [5] and deep sequence-to-sequence models [7].
Besides sparse backpropagation, sparse gradient methods calculate the true gradients in backpropagation but sparsify gradients for parameter updates or communication in a distributed system. Many efforts are devoted to analyzing the convergence of sparse gradient method [13, 14, 15]. [13] proposes to equip sparse gradient methods with an error memory in a distributed system.
Sparse coding [16] is a kind of unsupervised methods to represent data or features efficiently and accelerate neural networks training, whose plausibility is tested in the literature biologically [17, 18, 19]. The sparse auto-encoder [2] learns sparse features with an energy-based model to represent them efficiently. In order to train outrageously large neural networks, [20] introduces Sparsely-Gated Mixture-of-Experts (MoE) layer. A gating network is utilized to select a sparse combination of the expert networks in MoE. Sparse representation has also been applied to computer vision problems, for example, [21] proposes a sparse temporal encoding method to get visual features for robust object recognition.
There are also many approaches that do not utilize sparsity to accelerate network learning. For example, [22] proposes an adaptive acceleration strategy for backpropagation while [23] performs local adaptation of parameter update based on error function. To speed up the computation of the softmax layer, [1] utilizes importance sampling to make the training more efficient. [24] presents dropout, which improves training speed and reduces overfitting by randomly dropping units from the neural network during training. From the perspective of distributed systems, [3] proposes a one-bit-quantizing mechanism to reduce the communication cost between multiple machines.
3 Preliminary
This section presents some preliminary preparations. Given the dataset , the training loss of an input instance is defined as \ell\big{(}\mathbf{w};(\mathbf{x},\mathbf{y})\big{)}, where denotes the learnable model parameters and is some loss function such as or logistic loss. Further, the training loss on the whole dataset is defined as:
[TABLE]
We represent the angle between the vector and the vector as:
[TABLE]
For -strongly convex111Suppose , is -strongly convex if and only if for any vectors , . and -smooth222Suppose , is -smooth if and only if for any vectors , . functions, often plays an important role in the convergence analysis [25, 26, 27]. [27] uses the condition number to characterize the performance of their methods. We define the convex-smooth angle to characterize the convergence of our method:
Definition 1** (Convex-smooth angle).**
If the training loss on the dataset is -strongly convex and -smooth for parameter vector , the convex-smooth angle of is defined as:
[TABLE]
Then we define the gradient estimation angle to measure estimation:
Definition 2** (Gradient estimation angle).**
For any vector and training loss on an instance or whole dataset, we use to represent an estimation of the true gradient . Then, the gradient estimation angle between the estimated gradient and the true gradient is defined as:
[TABLE]
The definition of sparsifying function is represented as:
Definition 3** (Sparsifying function).**
Given an integer , the function is defined as , where is the input vector, and is a binary vector consisting of ones and zeros determined by . If satisfies that :
[TABLE]
we call sparsifying function and define its sparse ratio as .
Definition 4** ().**
Given an integer , for vector where , the function is defined as:
[TABLE]
where the -th element of is . In other words, the function only preserves elements with the largest magnitude in the input vector.
It is straightforward that is a special sparsifying function (see Appendix B.3).
4 A Unified Sparse Backpropagation Framework
This section presents a unified framework for sparse backpropagation (SBP), which can be used to explain some existing representative approaches [4, 5]. We first define the estimated gradient descent (EGD) algorithm and then formally introduce the proposed framework.
4.1 Estimated Gradient Descent
Here we introduce the definition of the EGD algorithm, which serves as a base for analyzing the convergence of sparse backpropagation.
Definition 5** (EGD).**
Suppose is the training loss defined on the dataset and is the parameter vector to learn. The EGD algorithm adopts the following parameter update:
[TABLE]
where is the parameter at time-step , is the learning rate, and is an estimation of the true gradient for parameter updates.
Some existing optimizers can be regarded as special cases of EGD. For instance, when is defined as the true gradient , EGD is essentially the gradient descent (GD) algorithm. Several other works (e.g. Adam [28], AdaDelta [29]) can also be summarized as different expressions of EGD when is implemented as different estimates. More importantly, in essence, the sparse backpropagation employs the estimated gradient to approximate the true gradient for model training, which can also be regarded as a special case of EGD. This connection casts the cornerstone of subsequent theoretical analysis of sparse backpropagation.
In this work, we theoretically show that once the gradient estimation angle of the parameter satisfies certain conditions for each time-step , the EGD algorithm can converge to the global minima under some reasonable assumptions. This conclusion is demonstrated in Theorem 1. Readers can refer to Appendix C.1 for the detailed proofs.
Theorem 1** (Convergence of EGD).**
Suppose is the parameter vector of time-step , is the global minima, and training loss defined on the dataset is -strongly convex and smooth. When applying the EGD algorithm to minimize , if the gradient estimation angle of satisfies , then there exists a learning rate for each time-step such that
[TABLE]
Furthermore, converges to and the convergence speed is :
\forall\epsilon\in(0,\|\mathbf{w}_{0}-\mathbf{w}^{*}\|),\exists T(\epsilon)=\log\frac{\|\mathbf{w}_{0}-\mathbf{w}^{*}\|}{\epsilon}\big{/}\log{\frac{1}{\sin\theta}}* s.t. *
[TABLE]
where is the maximum iteration number required for convergence (depending on ).
For the given training loss , is a fixed value. Therefore, the Theorem 1 demonstrates that the EGD algorithm can converge to the global minima and the convergence speed is when the gradient estimation angle between the estimated gradient and the true gradient is small enough at each time-step.
The insights gained from Theorem 1 can be generalized to non-convex loss functions, as evidenced in [30]. Notice that, even for non-convex loss functions , there still exist neighbourhoods of every local minima , , where the loss function is restricted -strongly convex444 is restricted -strongly convex on if and only if for any vectors , . and restricted -smooth555 is restricted -smooth on if and only if for any vectors , .. While the theoretical assumption of the loss function being strongly convex and smooth is partially true on but not applicable to the entire in Theorem 1, our results can be generalized to non-convex loss functions: when the weights drop in , it can converge to the local minima in and the convergence speed is .
Since the sparse backpropagation employs the estimated gradient to approximate the true gradient for model training, which can also be seen as a special case of EGD, Theorem 1 implies that gradient estimation angle can indicate the convergence of the sparse backpropagation algorithm.
4.2 Proposed Unified Sparse Backpropagation
In this section, we present a unified sparse backpropagation framework via sparsifying function (Definition 3). The core idea is that when performing backpropagation, the gradients propagated from the next layer are sparsified to achieve acceleration. Algorithm 1 presents the pseudo-code of our unified sparse backpropagation framework, which is described in detail as follows.
Considering that a computation unit composed of one linear transformation and one activation function is the cornerstone of various neural networks, we elaborate on our unified sparse backpropagation framework based on such a computational unit:
[TABLE]
where is the input vector, is the parameter matrix, and denotes a pointwise activation function. In MLP, if represents the input of layer , can represent the output of layer , which is also the input of layer if layer is not the last layer. Besides linear layers in MLP, the computation unit can also be fully-connected layers in CNN, gate layers in LSTM, etc.
Then, the original backpropagation computes the gradient of the parameter matrix and the input vector as follows:
[TABLE]
In the proposed unified sparse backpropagation framework, the sparsifying function (Definition 3) is utilized to sparsify the gradient propagated from the next layer and propagates them through the gradient computation graph according to the chain rule. Note that is also an estimated gradient passed from the next layer. The gradient estimations are finally performed as follows:
[TABLE]
Since is a special sparsifying function (see Section 3), some existing approaches (e.g., meProp [4], meProp-CNN [5]) based on the top- sparseness can be regarded as special cases of our framework. Depending on the specific task, the sparsifying function can be defined as the different expressions to improve model performance.
However, an intractable challenge for sparse backpropagation is the lack of theoretical analysis. To remedy this, here we analyze the theoretical characteristics of the proposed framework. With the fact that sparse backpropagation is a special case of EGD (Section 4.1), we theoretically illustrate that when applied to a multi-layer perceptron (MLP), the proposed framework can converge to the global minima in probability under several reasonable conditions, which is formalized in Theorem 2.
Theorem 2** (Gradient estimation angle of SBP).**
Suppose:
(1) For the dataset dataset , , the size of dataset , is large enough and data instance obeys independent and identical distribution (i.i.d.).
(2) The neural network is an MLP model.666There are several trivial constraints on MLP. Please refer to Appendix B.5 for more details.
(3) We apply the unified sparse backpropagation to train the neural network and set the sparse ratio of every sparsifying function in SBP as .
Then we can get an estimation of the training loss and , the gradient estimation angle of parameter vector , satisfies:
, s.t.
[TABLE]
The crucial idea to prove Theorem 2 is illustrating that the angle between the sparse gradient and the true full gradient can be small enough for every single data instance, and then prove that the gradient estimation angle of the full dataset can be small enough with probability one. Readers can refer to Appendix C.2 for the detailed proofs.
Theorem 2 reveals that the gradient estimation angle of the parameter vector can be arbitrarily small with probability one when is large enough. It implies that the sparse backpropagation algorithm is likely to converge because the gradient estimation angle can be small enough.
Although Theorem 2 is constrained by several additional conditions such as the base architecture of MLP, it is able to provide a degree of theoretical account for the proposed unified sparse backpropagation framework. Our efforts in these theoretical analyses are valuable because they help explain the effectiveness of not only our framework but also some existing approaches [4, 5] on the theoretical side.
5 Memorized Sparse Backpropagation
Although traditional sparse backpropagation is able to achieve significant acceleration by keeping only part of elements in the full gradient, the unpropagated gradient may also contain a certain amount of useful information. Experimental results find that such information loss tends to bring negative effects (e.g., performance degradation in extremely sparse scenarios, poor stability in performance). To remedy this, this work proposes memorized sparse backpropagation (MSBP), which aims at alleviating the information loss by storing unpropagated gradients in memory for the next step of learning
5.1 Proposed Memory Sparse Backpropagation Method
The core component of the proposed MSBP is the memory mechanism, which enables MSBP to store unpropagated gradients for the next step of learning while propagating a critical portion of the gradient information. Formally, different from the unified sparse backpropagation in Section 4.2, we adopt the following gradient estimations:
[TABLE]
where is a given sparsifying function and is the memory storing unpropagated gradients from the last learning step. Then, the memory is updated by the information of unpropagated gradients at the current learning step. Formally,
[TABLE]
where is the memory ratio, a hyper-parameter controlling the ratio of memorizing unpropagated gradients. When is set to 0, the proposed MSBP degenerates to the unified sparse backpropagation that completely discard unpropagated gradients. Before the model training begins, we initialize memory to zero vector. Algorithm 2 presents the pseudo code of MSBP. Figure 1 presents the dataflow of the proposed MSBP.
Intuitively, by storing unpropagated gradients with the memory mechanism, the information loss in backpropagation due to sparseness can be alleviated. The experiments also illustrate that the proposed MSBP is more advantageous in various respects than approaches that completely discards unpropagated gradients. In fact, we find that for MSBP, the angle between the sparse gradient and true full gradient tends to be small. Furthermore, this angle is smaller than that in traditional sparse backpropagation. According to theoretical analysis in Section 4, a smaller gradient estimation angle is more conducive to model convergence. This observation explains the effectiveness of our MSBP to a certain extent on the theoretical side. Readers can refer to Section 7 for a more detailed analysis.
Comparison to sparsified SGD with memory. A work that looks similar to this paper is sparsified SGD with memory [31], which equips sparse gradients with memory. It calculates full gradients in backpropagation and sparsifies them to be communicated in a distributed system. However, the backpropagation process remains unchanged and cannot be accelerated. Different from sparsified SGD with memory, we sparsify gradients in backpropagation and both the communication and backpropagation process can be accelerated. Besides, sparsified SGD with memory is an optimization approach that can only be used in distributed systems, while our MSBP can be applied to both distributed and centralized systems.
5.2 Implementations
Following meProp [4], we adopt as the sparsifying function.
For simplicity, we use SBP to represent the traditional sparse backpropagation that completely discards unpropagated gradients with sparsifying function and MSBP to represent the proposed memorized sparse backpropagation with sparsifying function.
5.3 Discussion of Complexity Information
Table 1 presents a comparison of the time and memory complexity of traditional SBP and our proposed MSBP. In this section, we discuss the time complexity and memory complexity of traditional SBP and our proposed MSBP.
Time complexity. The backpropagation process of the linear layer focuses on calculating gradients of and , the time complexity of which is . The application of SBP consists of two steps: finding top- dimensions of the gradient of using a maximum heap with time complexity of and backpropagating only top- dimensions of gradients with time complexity of . The extra time cost of MSBP comes from adding the memory information into the gradient of and updating the memory. The time complexity of these two operations is , which is negligible compared to .
Memory complexity. The analysis of memory complexity is similar. The backpropagation of the linear layer requires storing gradients of and , whose memory complexity is . For traditional SBP, the memory complexity of finding top- dimensions of the gradient of with a maximum heap is , while the backpropagation of corresponding dimensions of gradients requires no additional memory overhead. The extra memory cost of MSBP is the memory vector, the memory complexities of which are both and negligible compared to .
6 Experiments
6.1 Experimental Settings
We evaluate the proposed MSBP on several typical benchmark tasks. The baselines used for comparison on each task are also introduced.
MNIST image recognition (MNIST). MNIST handwritten digit dataset [32] aims to recognize the numerical digit (0-9) of each image. The numbers of training, development, and test images are 55,000, 5000, and 10,000 respectively. The evaluation metric is classification accuracy. The base model is a 3-layer MLP.
Transition-based dependency parsing (Parsing). In this task, we use English Penn TreeBank (PTB) [33] for experiments. The numbers of training, development and test transitions are , and respectively. Each transition example contains a parsing context and its optimal transition action. The evaluation metric is the unlabeled attachment score (UAS). Following [34], the base model is an MLP-based parser. In training, gradients are clipped [35] to 5.
Part-of-speech tagging (POS-Tag). In this task, we use the standard benchmark dataset derived from Penn Treebank corpus [36]. The numbers of training and test examples are and respectively. The evaluation metric is per-word accuracy. Following [37], the base model is a -layer bi-directional LSTM (Bi-LSTM). In addition, we use -dim pre-trained GloVe [38] embeddings to initialize the word embeddings.
The epochs during training are set as , and on the three tasks of MNIST, Paring, and POS-Tag respectively. The dropout [24] probability is set to respectively. The Adam optimizer [28] with a learning rate of is used on all three tasks. The batch size is set to , and , respectively. The experiments of time cost are conducted on a computer with the configuration of Intel(R) Core(TM) i5-8400 CPU @ 2.80 GHz CPU.
Besides MNIST, Parsing, and POS Tagging tasks, we also conduct experiments on CNN and sequence-to-sequence models to illustrate the universality of our proposed method to a wide range of network architectures.
Polarity classification (Polarity) and subjectivity classification (Subjectivity). The dataset is constructed by [39]. Both tasks are designed to perform sentence classification, with accuracy as the evaluation metric. For these two tasks, every experiment is repeated for times and report the averaged accuracy on the test set. The base model is TextCNN [40]. The filter window sizes of TextCNN are , , and , with feature maps each. The optimizer is Adam and the learning rate is . The batch size is set to . We train models for epochs.
English-Vietnamese Translation (En-Vi). The translated TED talks of IWSLT 2015 Evaluation Campaign [41], containing training sentence pairs, are adopted as the training data. TED tst2012 and TED tst2013 are adopted as the development set and test set respectively.
Simplified Chinese-English Translation (Chs-En). Following [42], LDC simplified Chinese-English Translation dataset, containing sentence pairs with about Chinese words and about English words, is adopted as the training data. NIST 2002 and NIST 2003-2006 are adopted as the development set and the test set respectively. The test set is merged by NIST 2003-2006.
On En-Vi and Chs-En translation tasks, the evaluation metric is BLEU score [43]. The base model is LSTM-based sequence-to-sequence (seq-to-seq) model. The encoder is a -layer bidirectional LSTM encoder and the decoder is a -layer LSTM decoder. The dropout rate is and respectively. The embedding size and hidden size are both . The attention type is Luong-style [44] and the beam search size is [45]. The optimizer is Adam and the learning rate is . The mini-batch size is set to . The epochs during training are set as and epochs respectively on translation tasks. SBP and MSBP are applied to each hidden layer on base models.
6.2 Experimental Results
The experimental results on three tasks of MNIST, Parsing, and POS-Tag are shown in Table 2. An in-depth analysis of the results is provided from the following aspects.
Improving model performance. As shown in Table 2, the proposed MSBP achieves the best performance on all tasks. Considering that our ultimate goal is to accelerate neural network learning while achieving comparable model performance, such results are promising and gratifying. Compared to traditional SBP [4, 5], MSBP employs the memory mechanism to store unpropagated gradients. This reduces the information loss during backpropagation, leading to improvements in the model performance.
Accelerating backpropagation. In contrast to traditional SBP, our MSBP memorizes unpropagated gradients to alleviate information loss. However, a potential issue is that the introduction of memory containing unpropagated gradients may impair the acceleration of backpropagation. As shown in Table 2, either traditional SBP or our proposed MSBP is able to achieve great acceleration of backpropagation, and the latter shows an only negligible increase in computational cost compared to the former. This illustrates that our MBSP can achieve comparable acceleration while improving model performance.
Applying to CNNs and Deep Seq-to-seq Models. The SBP and MSBP methods are also applicable to convolution layers and deep sequence-to-sequence models. Following mePorop-CNN [5], The SBP method is implemented on CNNs, and then MSBP on CNNs, which is similar to the SBP method. Following alternating Top-k selection [7], the sequence-to-sequence version of SBP, the SBP, and MSBP methods are applied to the encoder and the decoder iteratively. As shown in Table 3 and 4, the proposed MSBP outperforms the baseline and the SBP method on TextCNN and deep deep sequence-to-sequence models.
6.3 Related Systems of Evaluation Tasks
This section presents evaluation scores of related systems on each task to illustrate the competitive performance of our approach. To testify the effectiveness of the proposed method, more advanced deep learning models are implemented, including the MLP, LSTM, CNN, and sequence-to-sequence models.
For MLP, the MLP based approaches can achieve around [46, 32] accuracy on MNIST, while our method achieves . For LSTM, the reported accuracy in existing approaches lies between to [47, 48, 49] on POS-Tag, whereas our method can achieve accuracy. As for CNN models, TextCNN [40] reports around and on polarity classification and subjectivity classification respectively, while our method achieves around and respectively.
7 Further In-Depth Analysis
7.1 Influence of different hyper-parameters.
In order to explore the influence of different hyper-parameters on model performance and stability, for experiments on MNIST dataset, we select the sparse ratio among and the memory ratio among . All experiments are repeated 20 times for each setup of and . The mean and standard deviation of the accuracy of repeated experiments are presented in Figure 3 and Figure 3, respectively. The influence of hyper-parameters on backpropagation time cost is also explored, the results are shown in Figure 5.
Model performance. As depicted in Figure 3, smaller tends to lead to a worse performance both for both SBP and MSBP because only a small amount of gradient information is propagated when is small and the backpropagation suffers from information loss. For the same , MSBP () performs better than traditional SBP () regardless of the choice of . The difference in accuracy between MSBP and traditional SBP ranges from 0.4% to 0.8%, while that between MSBP with different settings lies between 0.1% and 0.3%. This implies that the performance of MSBP is not very sensitive to compared to the improvement gained by the memory mechanism.
Model stability. Our proposed MSBP also has higher stability than SBP, indicating that it contributes to reducing the variance of the model performance in repeated experiments. Figure 3 shows that the traditional SBP () suffers from poor model stability in repeated experiments, whose standard deviation is nearly times of the base model (MLP). In contrast, all experiments conducted with MSBP () have higher stability than traditional SBP regardless of the choice of .
Backpropagation time cost. In experiments, the forward propagation time costs of the base model and our proposed SBP and MSBP models are nearly the same. Therefore, we analyze the backpropagation time cost. Figure 5 shows the backpropagation time cost with different settings (). In experiments, choices of do not influence the time cost of MSBP significantly. As analyzed in Section 5.3, the extra time cost of MSBP is negligible compared to SBP, which is also verified in Figure 5. In Figure 5, backpropagation time is approximately proportional to (or the sparse ratio ), which accords our analysis in Section 5.3. Higher tends to lead to better performance but less backpropagation acceleration. It means there exists a tradeoff between backpropagation acceleration and the performance of SBP and MSBP.
7.2 Further verification.
Analysis of run-time gradient estimation angles. We further verify whether our proposed MSBP can give a more accurate estimation of the true gradient. As analyzed in Section 4, for sparse backpropagation, a smaller gradient estimation angle can better guarantee the convergence of approach. Therefore, we calculate the gradient estimation angle of the average gradients on the whole dataset in the proposed MSBP and traditional SBP to empirically explain the effectiveness of our method (). As shown in Figure 5, higher results in smaller gradient estimation angles and for the same , the gradient estimation angles in MSBP are smaller than that in SBP. This illustrates that by employing the memory mechanism to store unpropagated gradients, the sparse gradient calculated by our approach gives a more accurate estimation of the true gradient, which is also consistent with results in Figure 3. In addition, the gap between the gradient estimation angles of SBP and MSBP tends to be bigger for lower because SBP suffers from the loss of unpropagated gradients more for lower , under which circumstances our proposal improves the performance to a larger extent.
Statistical test. Further, we conduct statistical tests to verify that: for MSBP and SBP with the same sparse ratio, 1) MSBP outperforms traditional SBP under different settings; and 2) MSBP has better stability than traditional SBP under different settings. The results show that for nearly all settings of and , MSBP has both better performance and stability than traditional SBP statistically significantly . Please refer to Appendix D for details.
7.3 Applicability to multiple scenarios
Applicability to extremely sparse scenarios. In sparse backpropagation, the sparse ratio controls the trade-off between acceleration and model performance. In pursuit of ultra-large acceleration, tends to be set extremely small values in real-life scenarios. However, we empirically find that traditional SBP usually results in a significant degradation in model performance in this case. Table 5 shows that traditional SBP brings a or reduction in accuracy on MNIST image classification for or , which is a notable gap and ruins the practicality of applying meProp in extremely sparse cases. The reason is that for small values, only a very small amount of gradient information is propagated. Therefore, there exists serious information loss during backpropagation, leading to a significant degradation in model performance. In contrast, results show that in these extremely sparse scenarios, the loss of the accuracy of MSBP compared to the baseline is tolerable when and our MSBP works as effectively as the base model when . With the memory mechanism, the current unpropagated gradient information is stored for the next step of learning, reducing the information loss caused by sparseness.
Applicability to different base network architectures. We compare traditional SBP and the proposed MSBP on the other base network architectures, which is the CNN-based model and deep sequence-to-sequence models, to verify the universality of our approach in Section 6.2. Experimental results in Table 3 and 4 show that the proposed MSBP improves the performance of the base model on both sentence classification and machine translation tasks. This demonstrates that our MSBP is universal, which applies to different types of base networks and tasks.
Applicability to large-scale datasets. Experiments are also conducted on simplified Chinese-English translation task, which requires a large-scale dataset containing sentence pairs. Experimental results in Table 4 demonstrate that the proposed MSBP can be also applied to the large-scale dataset.
8 Conclusion and Future Work
This work presents a unified sparse backpropagation (SBP) framework. Some previous representative approaches can be regarded as special cases under this framework. Besides, the theoretical characteristics of the proposed framework are analyzed in detail to provide theoretical accounts for the relevant methods. Analysis reveals that when applied to a multilayer perceptron, our framework essentially performs gradient descent using an estimated gradient similar enough to the true gradient, resulting in convergence in probability under certain conditions. Going a step further, we propose memorized sparse backpropagation (MSBP), which aims at alleviating the information loss in tradition sparse backpropagation by utilizing the memory mechanism to store unpropagated gradients. The experiments demonstrate that the proposed MSBP exhibits better performance while achieving comparable acceleration. Further analysis also shows that the performance of MSBP is not very sensitive to memory ratio compared to the improvement gained by the memory mechanism. The proposed MSBP method also has higher stability than the SBP method and the extra time cost of MSBP is negligible compared to the SBP method.
In this work, the memory ratio is set as an adjustable hyper-parameter. However, the structural characteristics of different samples show natural differences, which may make the optimal memory ratio vary. Therefore, we will study adaptive methods that can automatically control the ratio of memorizing unpropagated gradients in the future.
Appendix A Review of Definitions and Theorems in Paper
In this section, we review some important definitions and theorems introduced in the paper.
A.1 Definitions
Given the dataset , the training loss of an input instance is defined as \ell\big{(}\mathbf{w};(\mathbf{x},\mathbf{y})\big{)}, where denotes the learnable model parameters and is some loss function such as or logistic loss. Further, the training loss on the whole dataset is defined as:
[TABLE]
We represent the angle between the vector and the vector as:
[TABLE]
Definition 1** (Convex-smooth angle).**
If the training loss on the dataset is -strongly convex and -smooth for parameter vector , the convex-smooth angle of is defined as:
[TABLE]
Definition 2** (Gradient estimation angle).**
For any vector and training loss on an instance or whole dataset, we use to represent an estimation of the true gradient . Then, the gradient estimation angle between the estimated gradient and the true gradient is defined as:
[TABLE]
Definition 3** (Sparsifying function).**
Given an integer , the function is defined as , where is the input vector, and is a binary vector consisting of ones and zeros determined by . If satisfies that :
[TABLE]
we call sparsifying function and define its sparse ratio as .
Definition 4** ().**
Given an integer , for vector where , the function is defined as:
[TABLE]
where the -th element of is . In other words, the function only preserves elements with the largest magnitude in the input vector.
It is easy to verify that is a special sparsifying function (see Appendix.B.3.).
Definition 5** (EGD).**
Suppose is the training loss defined on the dataset and is the parameter vector to learn. The estimated gradient descent (EGD) algorithm adopts the following parameter update:
[TABLE]
where is the parameter at time-step , is the learning rate, and is an estimation of the true gradient for parameter updates.
A.2 Theorems
Theorem 1** (Convergence of EGD).**
Suppose is the parameter vector of time-step , is the global minima, and training loss defined on the dataset is -strongly convex and smooth. When applying the EGD algorithm to minimize , if the gradient estimation angle of satisfies , then there exists learning rate for each time-step such that
[TABLE]
Furthermore, converges to and the convergence speed is :
\forall\epsilon\in(0,\|\mathbf{w}_{0}-\mathbf{w}^{*}\|),\exists T(\epsilon)=\log\frac{\|\mathbf{w}_{0}-\mathbf{w}^{*}\|}{\epsilon}\big{/}\log{\frac{1}{\sin\theta}}* s.t. *
[TABLE]
where is the maximum iteration number required for convergence (depending on ).
Theorem 2** (Bounded gradient estimation angle of SBP).**
Suppose:
(1) For the dataset dataset , , the size of dataset , is large enough and data instance obeys independent and identical distribution (i.i.d.).
(2) The neural network is a MLP model.
(3) We apply the unified sparse backpropagation to train the neural network and set the sparse ratio of every sparsifying function in SBP as .
Then we can get an estimation of the training loss and , the gradient estimation angle of parameter vector , satisfies:
, s.t.
[TABLE]
Appendix B Preparation and Lemmas
Here we introduce some key definitions and lemmas throughout the appendix. All vectors and matrices are assumed to belong to the real number field. In Appendix, vectors (e.g. ) and matrices (e.g. ) are in bold formatting.
B.1 Vectors
We first introduce two vector-related lemmas.
Lemma 1**.**
For any vectors , and , we have
[TABLE]
Lemma 2**.**
For matrix (), suppose is a positive definite matrix, the eigenvalue decomposition of is , () and is an orthogonal matrix. We define and . If , for any -dimension vectors and , we have
[TABLE]
B.2 Loss Function
We define the loss function as -strongly convex if for , where denotes identity matrix. If the loss function is -strongly convex , for any vectors , we have
[TABLE]
We define the loss function as -smooth if for , where denotes identity matrix. If the loss function is -smooth, for any vectors , we have
[TABLE]
For the loss function , we define as its global minima. If is -smooth, for any , we have
[TABLE]
From Eq.(35) and Eq.(36), we can see,
[TABLE]
In other words, . When , we have . When we set and , , where it has a closed-form solution and is trival. Therefore, we assume in most cases, .
Back to the definition of convex-smooth angle, if the loss function is -strongly convex and -smooth (), we can see the convex-smooth angle of is .
B.3 Function
We will prove the function is a special sparsifying function.
Given an integer , for vector where , the function is defined as where the -th element of is . It is easy to verify that
[TABLE]
Therefore, the function is a special sparsifying function.
B.4 Linear Layer Trained with SBP
Consider a linear layer with one linear transformation and one increasing pointwise activation function
[TABLE]
where is the input sample, is the parameter matrix (), is the dimension of the input vector, is the dimension of the output vector and is an increasing pointwise activation function (e.g., , or ).
For matrix , we define flattening function to flatten it into a vector in as , where represents the -th column of and the semicolon denotes the concatenation of many column vectors to a long column vector. In other words, .
Assume and , then , when backpropagating
[TABLE]
Assume
and , then
[TABLE]
In the proposed unified sparse backpropagation framework, the sparsifying function (Definition 3) is utilized to sparsify the gradient propagated from the next layer and propagates them through the gradient computation graph according to the chain rule. Note that is also an estimated gradient passed from the next layer. The gradient estimations are finally performed as follows:
[TABLE]
in other words,
[TABLE]
We introduce a lemma:
Lemma 3**.**
For a linear layer trained with SBP, the sparse ratio of the sparsifying function in SBP is . Denote .If is the loss of MLP trained with SBP on this input instance and the input of this layer is which satisfies , we use SBP to estimate and . suppose is a positive definite matrix, the eigenvalue decomposition of is , () and is an orthogonal matrix. We define , and , . It is easy to verify that and because is a positive definite matrix and is increasing. If , , and , then we have
[TABLE]
and
[TABLE]
B.5 MLP Trained with SBP
Consider a MLP trained with SBP, it is a -layer multi-layer perception (MLP), every layer except the last layer is a linear layer with SBP. is the input of the MLP, is the output of the MLP. The -th layer of MLP is defined as
[TABLE]
where , and , is an increasing pointwise activation function of layer (). Note that the last layer is not a linear layer trained with SBP. Therefore, need not to be an increasing pointwise activation function. It can be softmax function, which is not a pointwise activation function.
Assume is the parameter vector of MLP defined as
[TABLE]
where .
We use the condition number to measure how sensitive the output is to perturbations in the input data and to roundoff errors made during the solution process. Define condition number of matrix as , when we adopts the spectral norm , then , where and are the maximum and minimum singular value of respectively.
If the condition number is small, we say the matrix is well-posed and otherwise ill-posed. If a matrix is singular, then its condition number is infinite, it is very ill-posed.
For a MLP trained with SBP, we assume that it is -well-posed if there exist , in any layer and any time step such that
[TABLE]
here for a -dim vector , we define .
We introduce a lemma here to ensure that the gradient estimation angle of the parameter vector can be arbitrarily small for an input instance with its label as input in MLP trained with SBP.
Lemma 4**.**
For a MLP trained with SBP, for any input instance with its label which satisfies . Assume is the parameter vector. If the MLP is -well-posed, then for any , there exsits such that if we set the sparse ratio of every sparsifying function in SBP as , we can get , an estimation of \nabla\ell\big{(}\mathbf{w};(\mathbf{x},\mathbf{y})\big{)} to make gradient estimation angle satisfy .
B.6 Review of the Term ”In Probability”
A sequence of random variables converges to a random variable in probability if for any
[TABLE]
We introduce a lemma here
Lemma 5**.**
For a sequence of random variables , when , if and , then converges to in probability.
Appendix C Proofs
C.1 Proofs of Theorem 1
Proof.
According to the Ineq.(34),
[TABLE]
According to Ineq.(39),
[TABLE]
Combining Ineq.(51) with Ineq.(52), we have
[TABLE]
in other words,
[TABLE]
we have
[TABLE]
According to Lemma 1
[TABLE]
Therefore
[TABLE]
By setting , we have
[TABLE]
Define , where . Then
[TABLE]
in other words,
[TABLE]
We have
[TABLE]
To ensure that , we just have to ensure that . In other words, we just have to ensure that . Therefore, \forall\epsilon\in(0,\|\mathbf{w}_{0}-\mathbf{w}^{*}\|),\exists T(\epsilon)=\log{\|\mathbf{w}_{0}-\mathbf{w}^{*}\|\over\epsilon}\big{/}\log{\frac{1}{\sin\theta}} s.t.
[TABLE]
∎
C.2 Proof of Theorem 2
Proof.
Suppose , where is the number of data instances. Define
[TABLE]
then
[TABLE]
We introduce a lemma here and we will prove it later. and in the lemma is defined above.
Lemma 6**.**
Dataset has independent and identically distributed (i.i.d.) data instances. Suppose for any and any we can find such that if we set the sparse ratio of every sparsifying function in SBP as , then and . Then for any , there exists such that when we set the sparse ratio of every sparsifying function in SBP as , then .
According to Lemma 4, for any and any we can find such that if we set the sparse ratio of every sparsifying function in SBP as , then and (Eq.(113)). We also have a large enough dataset , which has independent and identically distributed (i.i.d.) data instances. The condition of Lemma 6 is satisfied.
Therefore, for , there exists such that when and we set the sparse ratio of every sparsifying function in SBP as , . ∎
C.3 Proofs of Lemmas
Proof of Lemma 1.
Without loss of generality, we assume .
Define and . We have
[TABLE]
For , similarly . Therefore,
[TABLE]
In other words, . ∎
Proof of Lemma 2.
Without loss of generality, we assume .
where , according to singular value decomposition (SVD), we have , where and are orthogonal and .
We can see and for any vector
[TABLE]
We define and , we have
[TABLE]
and similarly
[TABLE]
we have
[TABLE]
similarly
[TABLE]
Then and . Consider
[TABLE]
According to Eq.(79), Eq.(80), Eq.(81), Eq.(82), Eq.(84), Eq.(85) and Eq.(86), we have
[TABLE]
and
[TABLE]
In other words,
[TABLE]
∎
Proof of Lemma 3.
First, let’s consider .
According to Lemma 2
[TABLE]
In other words,
[TABLE]
Then, let’s consider .
According to Lemma 1
[TABLE]
Define ,
then , according to Lemma 2
[TABLE]
In other words, \angle\langle\sigma^{\prime}(\mathbf{h})\odot\mathbf{g^{z}},\sigma^{\prime}(\mathbf{h})\odot\frac{\partial\ell}{\partial\mathbf{z}}\rangle\leq\arccos\big{(}\rho_{2}\cos\angle\langle\mathbf{g^{z}},\frac{\partial\ell}{\partial\mathbf{z}}\rangle+1-\rho_{2}\big{)}.
Combined with Ineq.(101), we have
[TABLE]
Finally, let’s consider .
Without loss of generality, we assume
[TABLE]
On one hand,
[TABLE]
On the other hand,
[TABLE]
Consider
[TABLE]
combined with Eq.(107) and Eq.(108)
[TABLE]
In other words, . ∎
Proof of Lemma 4.
For , if we define the estimated gradient as . We use to estimate \nabla\ell\big{(}\mathbf{w};(\mathbf{x},\mathbf{y})\big{)} and the estimated angle is
[TABLE]
We choose \lambda^{(i)}={\|\frac{\partial\ell}{\partial\mathbf{w}^{(i)}}\|}\big{/}{\|\mathbf{g}^{\mathbf{w}^{(i)}}\|}, then we have
[TABLE]
Suppose , then we have
[TABLE]
In other words, .
We will prove that there exists to ensure .
For a -well-posed -layer MLP trained with SBP, there exist satisfying
[TABLE]
therefore, denote and , if the eigenvalue decomposition of is (), and is an orthogonal matrix (, ) and , . (It is easy to verify that and because is a positive definite matrix and is increasing.) We have
[TABLE]
Note that satisfying the conditions in Lemma 3 for every linear layer with SBP and
Define , note that the last layer is not with SBP, therefore . For , if , we have
[TABLE]
which are conditions of Lemma 3 exactly, according to Lemma 3
[TABLE]
In other words,
[TABLE]
Define and for
[TABLE]
Assume first, then
[TABLE]
therefore .
Similarly if
[TABLE]
therefore . In other words, .
If , we have (because ), which is the condition for Ineq.(128). According to Ineq.(128) and Ineq.(129)
[TABLE]
In other words, . Note , therefore .
In order to ensure under the assumption
[TABLE]
we just need to ensure . According to Eq.(129)
[TABLE]
Denote , then
[TABLE]
Therefore, we just need to ensure
[TABLE]
Denote , where . To ensure , we just need to ensure . We have
[TABLE]
because is a continuous function of , therefore there exists such that .
∎
Proof of Lemma 5.
According to Chebyshev’s Ineq.
[TABLE]
In other words,
[TABLE]
Because in probability, we have the following in probability
[TABLE]
For event , we have
[TABLE]
combined with
[TABLE]
Therefore
[TABLE]
∎
Proof of Lemma 6.
For any , we can choose to let , we define such as . To ensure , we just need to ensure .
Define
[TABLE]
then
[TABLE]
According to Lemma 1, . Because can be arbitrarily small, can hold. Define
[TABLE]
According to Minkowski Ineq.
[TABLE]
Define, then,
[TABLE]
Combined with Eq.(156), then
[TABLE]
Consider
[TABLE]
In other words,
[TABLE]
Because can be arbitrarily small, can hold. Combined with Eq.(164), then
[TABLE]
We define , where .
Assume is i.i.d., and are finite, and . (It is reasonable because the data instances are i.i.d. and we may assume the gradients’ norm is bounded, and also if , the network already converges to the global minimum).
Note that if and are independent, . We have
[TABLE]
where represent the -th dim of the vector.
According to Lemma 5 and , when (here we consider convergence in probability),
[TABLE]
Note that we assume and are finite and . Therefore, there exists such that holds in every time step. Therefore when is large enough,
[TABLE]
When , we have
[TABLE]
To ensure , we just need to ensure , consider
[TABLE]
In other words, for any , there exists and such that if we set the sparse ratio then holds when . Therefore when is large enough,
[TABLE]
To conclude,
[TABLE]
∎
Appendix D Statistical test
In this section, statistical tests are conducted on MNIST dataset for MSBP and SBP under different settings of and . We may assume that the accuracies of SBP and MSBP obey two normal distributions and respectively. Repeating times of both SBP and MSBP are .
- First, to test whether MSBP improves the performance, Student t-tests are conducted: Null hypothesis , alternative hypothesis . -value when and the degree of freedom . Results for different settings are shown in Table 6.
For all settings of and , -values, that is, MSBP improves the performance of SBP statistically significantly ().
- Then, to test whether MSBP improves the stability, F-tests are conducted: Null hypothesis , alternative hypothesis . -value when and the degrees of freedom of numerator and denominator are both . Results for different settings are shown in Table 7.
For nearly all settings of and (except the setting where , which is bold in Table 7), -values, that is, MSBP improves the stability of SBP statistically significantly ().
To conclude, the proposed MSBP method improves both the performance and stability of traditional SBP statistically significantly () for nearly all settings of and .
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] S. Jean, K. Cho, R. Memisevic, Y. Bengio, On using very large target vocabulary for neural machine translation, in: Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing of the Asian Federation of Natural Language Processing, ACL 2015, July 26-31, 2015, Beijing, China, Volume 1: Long Papers, The Association for Computer Linguistics, 2015, pp. 1–10.
- 2[2] C. Poultney, S. Chopra, Y. L. Cun, et al., Efficient learning of sparse representations with an energy-based model, in: Advances in neural information processing systems, 2007, pp. 1137–1144.
- 3[3] F. Seide, H. Fu, J. Droppo, G. Li, D. Yu, 1-bit stochastic gradient descent and its application to data-parallel distributed training of speech dnns, in: Fifteenth Annual Conference of the International Speech Communication Association, 2014.
- 4[4] X. Sun, X. Ren, S. Ma, H. Wang, me Prop: Sparsified back propagation for accelerated deep learning with reduced overfitting, in: Proceedings of the 34th International Conference on Machine Learning, ICML 2017, Sydney, NSW, Australia, 6-11 August 2017, 2017, pp. 3299–3308.
- 5[5] B. Wei, X. Sun, X. Ren, J. Xu, Minimal effort back propagation for convolutional neural networks, ar Xiv preprint ar Xiv:1709.05804.
- 6[6] M. Zhu, J. Clemons, J. Pool, M. Rhu, S. W. Keckler, Y. Xie, Structurally sparsified backward propagation for faster long short-term memory training, Co RR abs/1806.00512.
- 7[7] X. Sun, X. Ren, S. Ma, B. Wei, W. Li, J. Xu, H. Wang, Y. Zhang, Training simplification and model simplification for deep learning: A minimal effort back propagation method, IEEE Transactions on Knowledge and Data Engineering (2018) 1–1.
- 8[8] W. M. Czarnecki, G. Swirszcz, M. Jaderberg, S. Osindero, O. Vinyals, K. Kavukcuoglu, Understanding synthetic gradients and decoupled neural interfaces, in: D. Precup, Y. W. Teh (Eds.), Proceedings of the 34th International Conference on Machine Learning, ICML 2017, Sydney, NSW, Australia, 6-11 August 2017, Vol. 70 of Proceedings of Machine Learning Research, PMLR, 2017, pp. 904–912.
