Towards Fast Computation of Certified Robustness for ReLU Networks
Tsui-Wei Weng, Huan Zhang, Hongge Chen, Zhao Song, Cho-Jui Hsieh, Duane Boning, Inderjit S. Dhillon, Luca Daniel
Introduction
Since the discovery of adversarial examples in deep neural network (DNN) image classifiers (Szegedy et al., 2013), researchers have successfully found adversarial examples in many machine learning tasks applied to different areas, including object detection (Xie et al., 2017), image captioning (Chen et al., 2018a), speech recognition (Cisse et al., 2017), malware detection (Wang et al., 2017) and reading comprehension (Jia & Liang, 2017). Moreover, black-box attacks have also been shown to be possible, where an attacker can find adversarial examples without knowing the architecture and parameters of the DNN (Chen et al., 2017; Papernot et al., 2017; Liu et al., 2017b).
The existence of adversarial examples poses a huge threat to the application of DNNs in mission-critical tasks including security cameras, self-driving cars and aircraft control systems. Many researchers have thus proposed defensive or detection methods in order to increase the robustness of DNNs. Notable examples are defensive distillation (Papernot et al., 2016), adversarial retraining/training (Kurakin et al., 2017; Madry et al., 2018) and model ensembles (Tramèr et al., 2018; Liu et al., 2017a). Despite many published contributions that aim at increasing the robustness of DNNs, theoretical results are rarely given and there is no guarantee that the proposed defensive methods can reliably improve the robustness. Indeed, many of these defensive mechanism have been shown to be ineffective when more advanced attacks are used (Carlini & Wagner, 2017c, a, b; He et al., 2017).
On the other hand, a lower bound of radius can be given, which guarantees that no examples within a ball of radius can ever change the network classification outcome. (Hein & Andriushchenko, 2017) is a pioneering work on giving such a lower bound for neural networks that are continuously differentiable, although only a 2-layer MLP network with differentiable activations is investigated. (Weng et al., 2018) has extended theoretical result to ReLU activation functions and proposed a robustness score, CLEVER, based on extreme value theory. Their approach is feasible for large state-of-the-art DNNs but CLEVER is an estimate of without certificates. Ideally, we would like to obtain a certified (which guarantees that ) and non-trivial (a trivial is 0) lower bound that is reasonably close to within reasonable amount of computational time.
In this paper, we develop two fast algorithms for obtaining a tight and certified lower bound on ReLU networks. In addition, we also provide a complementary theoretical result to (Katz et al., 2017; Sinha et al., 2018) by further showing there does not even exist a polynomial time algorithm that can approximately find the minimum adversarial distortion with a approximation ratio. Our contributions are:
We fully exploit the ReLU networks to give two computationally efficient methods of computing tighter and guaranteed robustness lower bounds via (1) linear approximation on the ReLU units (see Sec 3.3, Algorithm 1, Fast-Lin) and (2) bounding network local Lipschitz constant (see Sec 3.4, Algorithm LABEL:alg:fast-lip, Fast-Lip). Unlike the per-layer operator-norm-based lower bounds which are often very loose (close to 0, as verified in our experiments) for deep networks, our bounds are much closer to the upper bound given by the best adversarial examples, and thus can be used to evaluate the robustness of DNNs with theoretical guarantee.
We show that our proposed method is at least four orders of magnitude faster than finding the exact minimum distortion (with Reluplex), and also around two orders of magnitude (or more) faster than linear programming (LP) based methods. We can compute a reasonable robustness lower bound within a minute for a ReLU network with up to 7 layers or over ten thousands neurons, which is so far the best available result in the literature to our best knowledge.
Background and related work
2 Computing lower bounds of minimum distortion
3 Hardness and approximation algorithms
is the most important and popular assumption in computational complexity in the last several decades. It can be used to show that the decision of the exact case of a problem is hard. However, in several cases, solving one problem approximately is much easier than solving it exactly. For example, there is no polynomial time algorithm to solve the - problem, but there is a simple -approximation polynomial time algorithm. Previous works (Katz et al., 2017; Sinha et al., 2018) show that there is no polynomial time algorithm to find the minimum adversarial distortion exactly. A natural question to ask is: does there exist a polynomial time algorithm to solve the robustness problem approximately? In other words, can we give a lower bound of with a guaranteed approximation ratio?
From another perspective, only rules out the polynomial running time. Some problems might not even have a sub-exponential time algorithm. To rule out that, the most well-known assumption used is the “Exponential Time Hypothesis” (Impagliazzo et al., 1998). The hypothesis states that cannot be solved in sub-exponential time in the worst case. Another example is that while tensor rank calculation is NP-hard (Håstad, 1990), a recent work (Song et al., 2017b) proved that there is no time algorithm to give a constant approximation of the rank of the tensor. There are also some stronger versions of the hypothesis than ETH, e.g., Strong ETH (Impagliazzo & Paturi, 2001), Gap ETH (Dinur, 2016; Manurangsi & Raghavendra, 2017), and average case ETH (Feige, 2002; Razenshteyn et al., 2016).
Robustness guarantees for ReLU networks
1 Finding the minimum distortion with a 0.99lnnfragments0.99n0.99\ln n approximation ratio is hard
2 ReLU Networks and Their Activation Patterns
3 Approach 1 (Fast-Lin): Certified lower bounds via linear approximations
In this section, we propose a methodology to directly derive upper bounds and lower bounds of the output of an -layer feed-forward ReLU network. The central idea is to derive an explicit upper/lower bound based on the linear approximations for the neurons in category (iii) and the signs of the weights associated with the activations.
We start with a 2-layers network and then extend it to layers. The -th output of a 2-layer network is:
For neurons , we have ; for neurons , we have For the neurons in category (iii), we propose to use the following linear upper bound and a linear lower bound to replace the ReLU activation :
Let , we have
To obtain an upper bound and lower bound of with (1), set for , and we have
where . To obtain , we take the upper bound of for and its lower bound for . Both cases share a common term of , which is combined into the first summation term in (3) with . Similarly we get the bound for .
Now, we are ready to state our main theorem,
We first formally define the global upper bound and lower bound of , and then obtain Corollary 3.7.
where and are defined as
3.2 Computing pre-ReLU activation bounds
Theorem 3.5 and Corollary 3.7 give us a global lower bound and upper bound of the -th neuron at the -th layer if we know all the pre-ReLU activation bounds and , from layer to , as the construction of , and requires and (see Definition 3.3). Here, we show how this can be done easily and layer-by-layer. We start from where . Then, we can apply Corollary 3.7 to get the output bounds of each neuron and set them as and . Then, we can proceed to with and and compute the output bounds of second layer by Corollary 3.7 and set them as and . Repeating this procedure for all layers, we will get all the and needed to compute the output range of the -th layer.
Note that when computing and , the constructed can be saved and reused for bounding the next layer, which facilitates efficient implementations. Moreover, the time complexity of computing the output bounds of an -layer ReLU network with Theorem 3.5 and Corollary 3.7 is polynomial time in contrast to the approaches in (Katz et al., 2017) and (Lomuscio & Maganti, 2017) where SMT solvers and MIO solvers have exponential time complexity. The major computation cost is to form for the -th layer, which involves multiplications of layer weights in a similar cost of forward propagation. See the “ComputeTwoSideBounds” procedure in Algorithm 1 in Appendix D.
3.3 Deriving maximum certified lower bounds of minimum adversarial distortion
Suppose is the predicted class of the input data point and the class is . With Theorem 3.5, the maximum possible lower bound for the targeted attacks and un-targeted attacks are
Though it is hard to get analytic forms of and in terms of , fortunately, we can still obtain via a binary search. This is because Corollary 3.7 allows us to efficiently compute the numerical values of and given . It is worth noting that we can further improve the bound by considering at the last layer and apply the same procedure to compute the lower bound of (denoted as ); this can be done easily by redefining the last layer’s weights to be a row vector . The corresponding maximum possible lower bound for the targeted attacks is . We list our complete algorithm, Fast-Lin, in Appendix D.
3.4 Discussions
We have shown how to derive explicit output bounds of ReLU network (Theorem 3.5) with the proposed linear approximations and obtain analytical certified lower bounds (Corollary 3.7), which is the key of our proposed algorithm Fast-Lin. (Wong & Kolter, 2018) presents a similar algorithmic result on computing certified bounds, but our framework and theirs are entirely different – we use direct computation of layer-wise linear upper/lower bounds in Sec 3.3 with binary search on , while their results is achieved via the lens of dual LP formulation with Newton’s method. Interestingly, when we choose a special set of lower and upper bounds as in (2) and they choose a special dual LP variable in their equation (8), the two different frameworks coincidentally produce the same procedure for computing layer-wise bounds (the “ComputeTwoSideBounds” procedure in Fast-Lin and Algorithm 1 in (Wong & Kolter, 2018)). However, our choice of bounds (2) is due to computation efficiency, while (Wong & Kolter, 2018) gives a quite different justification. We encourage the readers to read Appendix A.3 in their paper on the justifications for this specific selection of dual variables and understand this robustness verification problem from different perspectives.
4 Approach 2 (Fast-Lip): Certified lower bounds via bounding the local Lipschitz constant
(Weng et al., 2018) shows a non-trivial lower bound of minimum adversarial distortion for an input example in targeted attacks is , where is the local Lipschitz constant of in , is the target class, is the original class, and . For un-targeted attacks, the lower bound can be presented in a similar form. (Weng et al., 2018) uses sampling techniques to estimate the local Lipschitz constant and compute an estimated lower bound without certificates.
Here, we propose a new algorithm to compute a certified lower bound of the minimum adversarial distortion by upper bounding the local Lipschitz constant. To start with, let us rewrite the relations of subsequent layers in the following form: , where is replaced by the diagonal activation pattern matrix that encodes the status of neurons in -th layer:
and . With a slight abuse of notation, let us define as a diagonal activation matrix for neurons in the -th layer who are always activated, i.e. the -th diagonal is if and otherwise, and as the diagonal activation matrix for -th layer neurons whose status are uncertain, i.e. the -th diagonal is or (to be determined) if , and otherwise. Therefore, we have . We can obtain for by applying Algorithm 1 and check the lower and upper bounds for each neuron in layer .
The central idea is to compute upper bounds of by exploiting the three categories of activation patterns in ReLU networks when the allowable inputs are in . can be defined as the maximum norm of directional derivative as shown in (Weng et al., 2018). For the ReLU network, the maximum directional derivative norm can be found by examining all the possible activation patterns and take the one (the worst-case) that results in the largest gradient norm. However, as all possible activation patterns grow exponentially with the number of the neurons, it is impossible to examine all of them in brute-force. Fortunately, computing the worst-case pattern on each element of (i.e. ) is much easier and more efficient. In addition, we apply a simple fact that the maximum norm of a vector (which is in our case) is upper bounded by the norm of the maximum value for each components. By computing the worst-case pattern on and its norm, we can obtain an upper bound of the local Lipschitz constant, which results in a certified lower bound of minimum distortion.
Below, we first show how to derive an upper bound of the Lipschitz constant by computing the worst-case activation pattern on for layers. Next, we will show how to apply it repeatedly for a general -layer network, and the algorithm is named Fast-Lip. Note that for simplicity, we will use to illustrate our derivation; however, it is easy to extend to as by simply replacing last layer weight vector by .
The first term is a constant and all we need to bound is the second term . Let and be the lower and upper bounds of the second term, we have
For 3 or more layers, we can apply the above 2-layer results recursively, layer-by-layer. For example, for a 3-layer ReLU network,
if we let , then is reduced to the following form that is similar to 2 layers:
To obtain the bound in (9), we first need to obtain a lower bound and upper bound of , where we can directly apply the 2-layer results to get an upper and an lower bound for each component as . Next, the first term in (10) can be lower bounded and upper bounded respectively by
whereas the second term in (10) is bounded by with lower/upper bound index sets and :
Let , and be the upper and lower bound of , we have
Thus, this technique can be used iteratively to solve for a general -layer network, and we can easily bound any norm of by the norm of the vector of maximum values. For example,
We list our full procedure, Fast-Lip, in Appendix D.
Note that in the 3-layer example, we compute the bounds from right to left, i.e. we first get the bound of , and then bound . Similarly, we can compute the bounds from left to right – get the bound of first, and then bound , where . Since the dimension of the output layer () is typically far less than the dimension of the input vector (), computing the bounds from left to right is more efficient as the matrix has a smaller dimension of rather than .
Experiments
In this section, we perform extensive experiments to evaluate the performance of our proposed two lower-bound based robustness certificates on networks with different sizes and with different defending techniques during training process. Specifically, we compare our proposed boundshttps://github.com/huanzhang12/CertifiedReLURobustness (Fast-Lin, Fast-Lip) with Linear Programming (LP) based methods (LP, LP-Full), formal verification methods (Reluplex), lower bound by global Lipschitz constant (Op-norm), estimated lower bounds (CLEVER) and attack algorithms (Attacks) for toy networks (2-3 layers with 20 neurons in each layer) and large networks (2-7 layers with 1024 or 2048 neurons in each layer) in Table 1. The evaluation on the effects of defending techniques is presented in Table 2. All bound numbers are the average of 100 random test images with random attack targets, and running time (per image) for all methods is measured on a single CPU core. We include detailed setup of experiments, descriptions of each method, additional experiments and discussions in Appendix LABEL:app:exp (See Tables LABEL:tb:smallnetwork and LABEL:tb:largenetwork_app). The results suggest that our proposed robustness certificates are of high qualities and are computationally efficient even in large networks up to 7 layers or more than 10,000 neurons. In particular, we show that:
Our certified lower bounds (Fast-Lin, Fast-Lip) are close to (gap is only 2-3X) the exact minimum distortion computed by Reluplex for small networks (Reluplex is only feasible for networks with less 100 neurons for MNIST), but our algorithm is more than 10,000 times faster than Reluplex. See Table 1(a) and Table LABEL:tb:smallnetwork.
Our certified lower bounds (Fast-Lin, Fast-Lip) give similar quality (the gap is within 35%, and usually around 10%; sometimes our bounds are even better) compared with the LP-based methods (LP, LP-Full); however, our algorithm is 33 - 14,000 times faster. The LP-based methods are infeasible for networks with more than 4,000 neurons. See Table 1(b) and Table LABEL:tb:largenetwork_app.
When the network goes larger and deeper, our proposed methods can still give non-trivial lower bounds comparing to the upper bounds founded by attack algorithms on large networks. See Table 1(b) and Table LABEL:tb:largenetwork_app.
For defended networks, especially for adversarial training (Madry et al., 2018), our methods give significantly larger bounds, validating the effectiveness of this defending method. Our algorithms can thus be used for evaluating defending techniques. See Table 2.
Conclusions
In this paper we have considered the problem of verifying the robustness property of ReLU networks. By exploiting the special properties of ReLU networks, we have here presented two computational efficient methods Fast-Lin and Fast-Lip for this problem. Our algorithms are two orders of magnitude (or more) faster than LP-based methods, while obtaining solutions with similar quality; meanwhile, our bounds qualities are much better than the previously proposed operator-norm based methods. Additionally, our methods are efficient and easy to implement: we compute the bounds layer-by-layer, and the computation cost for each layer is similar to the cost of matrix products in forward propagation; moreover, we do not need to solve any integer programming, linear programming problems or their duals. Future work could extend our algorithm to handle the structure of convolutional layers and apply our algorithm to evaluate the robustness property of large DNNs such as ResNet on the ImageNet dataset.
Acknowledgment
The authors sincerely thank Aviad Rubinstein for the suggestion of using set-cover to prove hardness. The authors sincerely thank Dana Moshkovitz for pointing out some references about the hardness result of set-cover. The authors would also like to thank Mika Göös, Rasmus Kyng, Zico Kolter, Jelani Nelson, Eric Price, Milan Rubinstein, Jacob Steinhardt, Zhengyu Wang, Eric Wong and David P. Woodruff for useful discussions. Luca Daniel and Tsui-Wei Weng acknowledge the partial support of MIT-Skoltech program and MIT-IBM Watson AI Lab. Huan Zhang and Cho-Jui Hsieh acknowledge the support of NSF via IIS-1719097 and the computing resources provided by Google Cloud and NVIDIA.
References
Appendix A Hardness
In this section we show that finding the minimum adversarial distortion with a certified approximation ratio is hard. We first introduce some basic definitions and theorems in Section A.1. We provide some backgrounds about in-approximability reduction in Section A.2. Section A.3 gives a warmup proof for boolean case and then Section A.4 provides the proof of our main hardness result (for network with real inputs).
We provide some basic definitions and theorems in this section. First, we define the classic problem.
Given variables and clauses in a conjunctive normal form formula with the size of each clause at most , the goal is to decide whether there exists an assignment to the Boolean variables to make the formula to be satisfied.
For the problem in Definition A.1, we introduce the Exponential Time Hypothesis (ETH), which is a common concept in complexity field.
There is a such that the problem defined in Definition A.1 cannot be solved in time.
ETH had been used in many different problems, e.g. clustering (Ailon et al., 2018; Cohen-Addad et al., 2018), low-rank approximation (Razenshteyn et al., 2016; Song et al., 2017a, b, 2018). For more details, we refer the readers to a survey (Lokshtanov et al., 2013).
Then we define another classical question in complexity theory, the - problem, which we will use in our proof. The exact - problem is one of Karp’s 21 NP-complete problems known to be NP-complete in 1972:
The inputs are ; is a universe, is the power set of , and is a family of subsets, . The goal is to give a YES/NO answer to the follow decision problem:
Does there exist a set-cover of size , i.e., , such that with ?
Alternatively, we can also state the problem as finding the minimum set cover size , via a binary search on using the answers of the decision problem in A.3. The Approximate - problem is defined as follows.
The inputs are ; is a universe, is the power set of , and is a family of subsets, . The goal is to distinguish between the following two cases: (\@slowromancapi@): There exists a small set-cover, i.e., , such that with . (\@slowromancapii@): Every set-cover is large, i.e., every with satisfies that , where .
An oracle that solves the Approximate - problem outputs an answer but using a binary search, where is an upper bound of with a guaranteed approximation ratio . For example, we can use a greedy (rather than exact) algorithm to solve the - problem, which cannot always find the smallest size of set cover , but the size given by the greedy algorithm is at most times as large as .
In our setting, we want to investigate the hardness of finding the lower bound with a guaranteed approximation ration, but an approximate algorithm for - gives us an upper bound of instead of an lower bound of . However, in the following proposition, we show that finding an lower bound with an approximation ratio of is as hard as finding an upper bound with an approximation ratio of .
Finding a lower bound for the size of the minimal set-cover (that has size ) with an approximation ratio is as hard as finding an upper bound with an approximation ratio .
If we find a lower bound with , by multiplying both sides by , we also find an upper bound which satisfies that . So finding an lower bound with an approximation ratio is at least as hard as finding an upper bound with an approximation ratio . The converse is also true. ∎
- is a well-studied problem in the literature. Here we introduce a theorem from (Raz & Safra, 1997; Alon et al., 2006; Dinur & Steurer, 2014) which implies the hardness of approximating -.
Unless , there is no polynomial time algorithm that gives a -approximation to - problem with universe size .
We now formally define our neural network robustness verification problems.
Does there exist a with such that ?
With an oracle of the decision problem available, we can figure out the smallest (defined as ) such that there exists a vector with and via a binary search.
Given an hidden nodes ReLU neural network where weights are all fixed, for a query input vector with . The goal is to give a YES/NO answer to the following decision problem:
Does there exist a with such that ?
Then, we define the approximate version of our neural network robustness verification problems.
Given an hidden nodes ReLU neural network where weights are all fixed, for a query input vector with . The goal is to distinguish the following two cases : (\@slowromancapi@): There exists a point such that and . (\@slowromancapii@): For all satisfies , the , where .
A.2 Background of the PCP theorem
The famous Probabilistically Checkable Proofs (PCP) theorem is the cornerstone of the theory of computational hardness of approximation, which investigates the inherent difficulty in designing efficient approximation algorithms for various optimization problems.https://en.wikipedia.org/wiki/PCP_theorem The formal definition can be stated as follows,
Given a formula of size we can in time polynomial in construct a set of tests satisfying the following: (\@slowromancapi@) : Each test queries a constant number of bits from a proof, and based on the outcome of the queries it either acceptes or reject . (\@slowromancapii@) : (Yes Case / Completeness) If is satisfiable, then there exists a proof so that all tests accept . (\@slowromancapiii@) : (No Case / Soundness) If is not satifiable, then no proof will cause more than tests to accept .
Note that PCP kind of reduction is slightly different from NP reduction, for more examples (e.g. maximum edge biclique, sparsest cut) about how to use PCP theorem to prove inapproximibility results, we refer the readers to (Ambühl et al., 2011).
A.3 Warm-up
Consider a set-cover instance, let denote a set of sets where .
For each set we create an input node . For each element , we create a hidden node . For each and , if , then we connect and . We also create an output node , for each , we connect node and node .
Since , can be implemented in this way using ReLU activations:
Note that , because indicates choosing set and otherwise.
For final output node , we define an activation function satisfies that
Since , can be implemented as
We use vector to denote vector and it is to easy to see that . Let denote a fixed parameter. Also, we have if and only if is a set-cover. According to our construction, we can have the following two claims,
If there exists a set-cover with and , then there exists a point such that and .
If for every with satisfies that , then for all satisfies that , holds.
Therefore, using Theorem A.11, Theorem A.6, Claim A.13 and Claim A.14 completes the proof. ∎
A.4 Main result
Consider a set-cover instance, let denote a set of sets where . For each set we create an input node . For each , we create a hidden node and connect and .
For each element , we create a hidden node . For each and , if , then we connect and . Finally, we create an output node and for each , we connect node and node .
Let . For each , we apply an activation function on such that
This can be implemented in the following way,
For the final output node , we define it as
We use vector to denote vector and it is to easy to see that . Let denote a fixed parameter.
According to our construction, we can have the following two claims.
If there exists a set-cover with and , then there exists a point such that and .
Without loss of generality, we let the set cover to be . Let and By the definition of , we have Since is a set-cover, we know that for all . Then Since we also have the adversarial point is found. ∎
If for every with satisfies that , then for all satisfies that , holds.
Proof by contradiction. We assume that there exists such that and . Since , we have for all , . Thus there exists such that . Let denote a mapping ( will be decided later). This means that for each , there exists , such that , and we let denote that .
Since , we have
where the first step follows by .
Because for all , , we have
So is a set-cover with size less than or equal to , which is a contradiction. ∎
Therefore, using Theorem A.11, Theorem A.6, Claim A.16 and Claim A.17 completes the proof. ∎
By making a stronger assumption of , we can have the following stronger result which excludes all time algorithms, where is some fixed constant:
Assuming Exponential Time Hypothesis (, see Hypothesis A.2), there is no time algorithm that gives a -approximation to - problem with hidden nodes, where is some fixed constant.
It follows by the construction in Theorem A.15 and (Moshkovitz, 2012a, b). ∎
Note that in (Moshkovitz, 2012a), an additional conjecture, Projection Games Conjecture () is required for the proof, but the result was improved in (Moshkovitz, 2012b) and is not a requirement any more.
Appendix B Proof of Theorem 3.5
For a -layer ReLU network, assume we know all the pre-ReLU activation bounds and , for a -layer ReLU network and we want to compute the bounds of the the th output at th layer.
For neurons belonging to category (i), i.e., ,
For neurons belonging to category (ii), i.e., ,
Finally, for neurons belonging to Category (iii), i.e., , we bound their outputs. If we adopt the linear upper and lower bounds in (1) and let , we have
The goal of this section is to prove Lemma B.1.
Notice that (18) can be used to construct an upper bound and lower bound of by considering the signs of the weights . Let be an upper bound of ; can be constructed by taking the right-hand-side (RHS) of (18) if and taking the left-hand-side (LHS) of (18) if :
where we set for and set for from (19) to (20) and collect the constant terms (independent of ) in the parenthesis from (20) to (21).
If we let , where is a diagonal matrix with diagonals being , then we can rewrite into the following:
From (21) to (22), we rewrite the summation terms in the parenthesis into matrix-vector multiplications and for each let
since , is equivalent to .
From (22) to (23), we simply write out the inner product into a summation form, and from (23) to (24), we exchange the summation order of and . From (24) to (25), we let
and now we have (25) in the same form as (15).
Indeed, in (15), the running index is and we are looking at the th layer, with weights , activation functions and bias term ; in (25), the running index is and we are looking at the th layer with equivalent weights , activation functions and equivalent bias . Thus, we can use the same technique from (15) to (25) and obtain an upper bound on the and repeat this procedure until obtaining , where
Let the final upper bound , and now we have
where ,
B.2 Lower bound
The goal of this section is to prove Lemma B.2.
Similar to deriving the upper bound of , we consider the signs of the weights to derive the lower bound. Let be a lower bound of ; can be constructed by taking the right-hand-side (RHS) of (18) if and taking the left-hand-side (LHS) of (18) if . Following the procedure in (19) to (25) (except that now the additional bias term is from the set ), the lower bound is similar to the upper bound we have derived but but replace by , where for each ,
It is because the linear upper and lower bounds in (1) has the same slope on both sides (i.e. is bounded by two lines with the same slope but different intercept), which gives the same matrix and matrix in computing the upper bound and lower bound of . This is the key to facilitate a faster computation under this linear approximation (1). Thus, the lower bound for is:
where ,
Appendix C Proof of Corollary 3.7
By Theorem 3.5, for , we have . Thus,
Since ,
From (30) to (31), we do a transformation of variable and therefore . By the definition of dual norm :
Again, from (33) to (34), we simply replace by . Thus, if we use to denote the common term , we have
Appendix D Algorithms
We present our full algorithms, Fast-Lin in Algorithm 1 and Fast-Lip in Algorithm LABEL:alg:fast-lip.