Attention Scheme Inspired Softmax Regression
Yichuan Deng, Zhihang Li, Zhao Song
Introduction
In the past few years, Large Language Models (LLMs) have experienced an explosive development. There is a series of results of LLMs, like Transformer , GPT-1 , BERT , GPT-2 , GPT-3 , PaLM , OPT . The success of a recent chatbot named ChatGPT by OpenAI has exemplified the use of LLMs in human-interaction tasks. Very recently, OpenAI released their new version of LLM, named GPT-4 , which has been tested to perform much better even than previous ChatGPT . These LLMs are trained on massive amounts of textual data to generate natural language text. They have already shown their power on various real-work tasks, including natural language translation , sentiment analysis , language modeling , and even creative writing .
In the construction of the LLMs, attention computation is a key component which is used to enhance the model’s ability to focus on relevant parts of the input text . The attention matrix is defined as a squared matrix consisted of rows and columns related to the words or tokens, and the entries in the matrix represent the correlations between the words/tokens in the input text. The attention mechanism allows the model to selectively focus on specific parts of the input text when generating the output, rather than treating all input tokens equally. The attention mechanism is based on the idea that different parts of the input sequence contribute differently to the output sequence, and the model should learn to weigh these contributions accordingly. In LLMs, attention computation is typically implemented as a soft attention mechanism, where the weights are computed using a softmax function over the input sequence. The Attention computation can be described as follows (see as an example).
Motivated by the exp function in attention computation, previous work has formally defined hyperbolic function (for example ) regression problems.
Here can be either of , and .
In this work, we move one more step forward and to consider the normalization factor, . We will focus on the exp in the rest of the paper. Inspired by the softmax formulation in each row of the above attention computation, we formally define the softmax regression problem,
It is natural in practice to consider regularization , then we consider the regularized version of softmax regression.
We define .
We use to denote the optimal solution of
Assume that . Here denotes the spectral norm of matrix .
Suppose that and . Here denotes a length- vector where all the entries are zeros.
Assume that for all . Here denotes the smallest singular value of matrix .
Let denote an starting/initial point such that .
Let be our accuracy parameter.
Let be our failure probability.
Let denote the exponent of matrix multiplication.
There is a randomized algorithm (Algorithm 1) that
runs iterations
We remark that, in previous work , they only assume . The reason is in their setting, they don’t consider the normalization parameter. It doesn’t make sense for them to assume that because they’re not trying to learn the distribution.
We organize the following paper as follows. In Section 2, we introduce some other projects that’s related to or that has inspired our work. In Section 3 we provide a sketch for the techniques used in our project. In Section 4 we define the notations used in our work and provide some useful tools for exact algebra, approximate algebra and differential computation. In Section 5 we provide detailed analysis of , including its gradient and hessian. In Section 6 we proved that is a convex function. In Section 7 we proved that the hessian of is Lipschitz. In Section 8 we provide an approximate version of newton method for solving convex optimization problem which is more efficient under certain assumptions. In Section 9 we state our result of this paper and provide the algorithm for tackling the softmax regression problem.
Related Work
Since the explosion of LLM, there have been a lot of theoretical works about the computation of attention . Locality sensitive hashing (LSH) techniques have been employed in research to approximate attention. . Based on it, proposed KDEformer, an efficient approximation algorithm for the dot-product attention mechanism, with provable spectral norm bounds and superior performance on various pre-trained models. Recent research has investigated both static and dynamic approaches to attention computation . Additionally, delved into regularized hyperbolic regression problems involving exponential, cosh, and sinh functions. proposed randomized and deterministic algorithms to sparsify the attention matrix in large language models, achieving high accuracy with significantly reduced feature dimension.
Convergence and Optimization.
There have been works trying to understanding attention computation on optimization and convergence perspective . In practical attention models, adaptive methods often performs better than SGD. To understand this, showed that heavy-tailed distribution of the noise is one of the reason of the bad performance of SGD compared to adaptive methods, and provided new upper and lower bounds for convergence of adaptive methods under heavy-tailed noise in attention models. This answered the question of why adaptive methods performs better in attention models. explained why models sometimes attend to salient words and how the attention mechanism evolves throughout training, using a model property they defined, named Knowledge to Translate Individual Words (KTIW), which is learned early on from word co-occurrence statistics and later used to attend to input words while predicting the output. Recently, studied the regression problem inspired by the neural network with exponential activation function, and showed the convergence of a two-layer NN with large width (over-parameterized), while focused on solving regularized exp, cosh and sinh regression problems inspired by Attention computation. explored how transformers learn the co-occurrence structure of words by examining attention-based network size, depth, and complexity through experiments and mathematical analysis, showing that the embedding and self-attention layers encode topical structure with higher average inner product and pairwise attention between same-topic words.
Privacy and Security.
With the fast development of LLMs, the potential negative impact of abusing LLM has also been considered. To overcome this, without influencing the quality of the generated text, proposed a novel method to add watermark in LLM-generated text. The method needs no access to the parameters or API of the LLM. introduced a formal definition of near access-freeness (NAF) and develops generative model learning algorithms to ensure that the model outputs do not resemble copyrighted data by more than -bits, with experiments on language (transformers) and image (diffusion) generative models demonstrating strong protection against sampling protected content.
2 Fast Linear Algebra
Let denote the target at one step of central (also mathematically called the complementarity gap). The can viewed as reality. In the ideal case, they hope . However, this is unlikely to happen. They are using the potential function to measure the difference between reality and target.
Sketching for Convex Optimization.
Sketching technique has been widely-used in optimization problems such as linear programming , empirical risk minimization , cutting plane method , computing John Ellipsoid , integral minimization problem , matrix completion , training over-parameterized neural tangent kernel regression , matrix sensing .
Technique Overview
Here in this section, we provide an overview of our techniques.
Recall the target function of our problem is in the form of
Calculating the Hessian of directly is too complicated. To simplify this, we define two terms of , . Then to get the final Hessian to the loss functions, we calculate the Hessian step by step. To be specific, we divide the Hessian calculation into the following items:
Hessian of and ;
After that, we notice a structured decomposition of Hessian of . We show that
where is only function with and has no relation with respect to and . In order to apply existing sparsification tool to boost the Hessian calculation (which is one of our main motivations), we construct specific decomposition to the two terms . We show that, can be viewed as sums of several rank- matrices and diagonal matrices.
Hessian is Positive Definite.
The key insight of this section lies in the analysis of volumetric barrier functions for solving semidefinite programming. . With the decomposition of the Hessian matrix for , the next step is to bound it. To be specific, by dividing in the way of low-rank parts and diagonal parts, we can lower and upper bound each segment of them. And by combining them, we can get the bound for ,
This allows us to apply sparsification tool on to approximate the Hessian.
Lipschitz property for Hessian.
The key insight of this section lies in the analysis of previous analysis for recurrent neural networks . By the above calculation of Hessian, we divide the Hessian matrix to different segments. Now with the decomposition (to be specific, we divide the Hessian into low-rank parts and diagonal parts), we show Lipschitz property for each term. We first show Lipschitz property for the basic terms:
;
;
; (Later we will also prove an upper bound for , see Lemma 8.9)
. (Here is a function of , see concrete definition in Lemma 7.2)
Then, following the decomposition of the Hessian matrix, we show the Lipschitz property for each of the divided terms (we use for to denote the terms) and combine them together to get the property of
for some small constant , which implies the Lipschitz property for the Hessian.
Approximated Newton Method with Sparsification Tool.
Newton method is a widely-used and traditional tool used in optimization questions. In many optimization applications, computing or is quite expensive. Therefore, a natural motivation is to approximately formulate its Hessian or inverse of Hessian. In our setting, we want a faster implementation of Newton method. By above steps, we show our Hessian can be approximated by a matrix in the form of , where is a diagonal matrix. This inspires us to implement a standard tool that can generate a sparse matrix such that
in near input-sparsity time of . By this tool, we can reduce the time for Hessian calculation of each iteration to the time of . Here denotes the number of non-zero entries in matrix . Let denote the exponent of matrix multiplication. Currently, .
Preliminary
In this section, we provide the preliminaries used in our paper. In Section 4.1 we introduce the notations we use. In Section 4.2 we provide some basic facts for exact computation. In Section 4.3 we provide some tools for finding the bound of norms based on vectors. In Section 4.4 we provide some tools for finding the bound of norms related to matrices. In Section 4.5, we provide basic inequalities for psd matrices. In Section 4.6, we state several basic rules for calculus. In Section 4.7 we provide the regularization term and compute and .
2 Basic Algebras
3 Basic Vector Norm Bounds
(Cauchy-Schwarz inequality)
Let be a scalar, then
For any , we have
For all the other facts we omit the details. We will only prove the last fact.
where the 1st step follows from definition of operation and , the 2nd step follows from , the 3rd step follows from for all .
4 Basic Matrix Norm Bounds
If , then
For any vector , we have .
5 Basic PSD
.
6 Basic Derivative Rules
Let denote a differentiable function.
7 Regularization
Softmax Regression Loss
In this section, we provide detailed computation for and . In Section 5.1, we define and to simplify the computation for and . In Section 5.2, we compute step by step. In Section 5.3, we define the gradient of Loss function and also prove the Lipschitz property for gradient. In Section 5.4-5.8, we compute step by step. To be specific, in Section 5.4, we compute ; in Section 5.5, we compute ; in Section 5.6, we compute ; in Section 5.7, we compute ; in Section 5.8, we compute . In Section 5.9, we provide some result to aid the computation in Section 5.10. In Section 5.10, we split into several low rank matrices and diagonal matrices.
We define function softmax as follows
For any vector ,
For any vector ,
.
.
The proofs are very straightforward, so we omitted the details here. ∎
For convenient, we define two helpful notations and
Then, we can rewrite (see Definition 5.1) and (see Definition 5.3) as follows
.
.
Then we can rewrite (see Definition 5.3) as follows
2 Gradient
Let be defined in Definition 5.4.
Let be defined in Definition 5.3.
Proof of Part 1. For each , we have
where the 1st step follows from simple algebra, the 2nd step follows from Fact 4.6, the 3rd step follows from simple algebra.
Proof of Part 2. It trivially follows from arguments in Part 1.
where the 1st step follows from Definition of , 2nd step follows from differential chain rule, the 3rd step follows from the result from Part 2 and Part 3, the forth step follows from definition of (see Definition 5.1).
where the 1st step follows from extracting , the 2nd step follows from result of Part 4, the 3rd step follows from simple algebra, the last step follows from simple algebra.
where the 1st step follows from extracting , the 2nd step follows from result of Part 4, the 3rd step follows from simple algebra, the 4th step follows from simple algebra, the last step follows from simple algebra.
3 Definition of Gradient
In this section, we use to denote the gradient of .
Let be defined as Definition 5.3.
Equivalently, for each , we define
Let be parameter such that
where the 1st step follows from the definition of , the 2nd step follows from adding some terms and (Fact 4.3).
where the 1st step follows from (Fact 4.3), the 2nd step follows from (Fact 4.3), the 3rd step follows from the definition of .
where the 1st step follows from (Fact 4.3), the 2nd step follows from (Fact 4.3), the 3rd step follows from the definition of .
the 2nd step follows from (Fact 4.3), the 3rd step follows from the definition of .
Combining three terms together, we complete the proof.
this step follows from adding terms .
Combining two terms together, then we complete the proof. ∎
It follows from combining Part 1 and Part 2.
4 Hessian Calculations: Step 1, Hessian of exp(Ax)\exp(Ax)
where the 1st step is an expansion of the Hessian, the 2nd step follows from the differential chain rule, the 3rd step extracts the matrix with constant entries out of the derivative, and the last step also follows from the chain rule.
where the 1st step is an expansion of the Hessian, the 2nd and 3rd steps follow from the differential chain rule, the 3rd step follows from simple algebra.
5 Hessian Calculations: Step 2, Hessian of α(x)\alpha(x)
Let be defined as Definition 5.4.
where the 1st step follows from the expansion of hessian, the 2nd step follows from Part 3 of Lemma 5.6, the 3rd step follows from simple algebra, and the last step follows from Fact 4.1.
where the 1st step follows from the expansion of hessian, the 2nd step follows from Part 2 of Lemma 5.6, the 3rd step follows from simple algebra, the last step follows from Fact 4.1.
6 Hessian Calculations: Step 3, Hessian of α(x)−1\alpha(x)^{-1}
Let be defined as Definition 5.4
where the 1st step follows from the expansion of hessian, the 2nd step follows from Part 3 of Lemma 5.6, the 3rd step follows from differential chain rule, the 4th step follows from simple algebra, the last step follows from Fact 4.1.
where the 1st step follows from the expansion of hessian, the 2nd step follows from Part 3 of Lemma 5.6, the 3rd step follows from differential chain rule, the 4th step follows from basic differential rule, the 5th step step follows from simple algebra, the last step follows from Fact 4.1. ∎
7 Hessian Calculations: Step 4, Hessian of f(x)f(x)
Let (see Definition 5.1).
where the 1st step follows from the expansion of hessian, the 2nd step follows from Part 4 of Lemma 5.6 and differential chain rule.
where the 1st step follows from the expansion of hessian, the 2nd step follows from Part 4 of Lemma 5.6, the 3rd step follows from differential chain rule.
8 Hessian Calculations: Step 5, Hessian of Lexp(x)L_{\exp}(x)
where the 1st step follows from the expansion of hessian, the 2nd step follows from differential chain rule.
where the 1st step follows from the expansion of hessian, the 2nd step follows from differential chain rule, the 3rd step is a simplification of step 2 by applying notations (Definition 5.4) and ( Definition 5.5 ).
9 Helpful Lemma
The goal of this section to prove Lemma 5.14. We remark that in this lemma, we can replace by any vector. However, for easy of presentation, we use .
where the 1st step follows from Fact 4.2, the 2nd step follows from Fact 4.2.
where the 1st step follows from (Fact 4.1), the 2nd step follows from (Fact 4.1).
where the 1st step follows from (Fact 4.1), the 2nd step follows from Fact 4.2, the 3rd step follows from (Fact 4.1), the last step follows from Fact 4.2.
where the 1st step follows from (Fact 4.1), the 2nd step follows from Fact 4.2, the 3rd step follows from (Fact 4.1) is a scalar.
where the 1st step follows from (Fact 4.1), the 2nd step follows from Fact 4.2, the 3rd step follows from (Fact 4.1), the last step follows from (Fact 4.1).
where the 1st step follows from Fact 4.2, the 2nd step follows from (Fact 4.1), the 3rd step follows from is a scalar (Fact 4.1).
where the 1st step follows from (Fact 4.1), the 2nd step follows from Fact 4.1, the 3rd step follows from (Fact 4.1), the 4th step follows from Fact 4.2, the last step follows from Fact 4.2.
where the 1st step follows from (Fact 4.1), the 2nd step follows from (Fact 4.1), the 3rd step follows from (Fact 4.1), the 4th step follows from is a scalar (Fact 4.1), the 5th step step follows from is a scalar (Fact 4.1), the last step follows from (Fact 4.1).
where the 1st step follows from (Fact 4.1), the 2nd step follows from Fact 4.1 , the 3rd step follows from (Fact 4.1), the 4th step follows from Fact 4.2, the last step follows from Fact 4.2. ∎
10 Decomposing B1(x)B_{1}(x), B2(x)B_{2}(x) and B(x)B(x) into Low Rank Plus Diagonal
where the 1st step follows from the definition of , the 2nd step follows from , the 3rd step follows from simple algebra, the last step follows from Lemma 5.14.
Thus, by extracting and , we have:
where the 1st step follows from definition of , the 2nd step follows from simple algebra, the 3rd step follows from simple algebra, the last step follows from Lemma 5.14.
By extracting and , we have
By combining all the above equations, we have
Hessian is Positive Definite
In this section, we prove that and thus is convex. In Section 6.1, we find the lower bound of . To be specific, we split into several terms and find their lower bounds separately. In Section 6.2, we use the result of Section 6.1 to prove that lower bound of and thus is convex.
Let , be defined as Definition 6.1.
Let , be defined as Definition 6.1.
Part 5. If and , then we have
Recall that in Definition 6.1, we split into four terms
where and are defined as
On one hand, we can lower bound the coefficient, we have
where the 1st step follows from Fact 4.5, , the last step follows from Fact 4.5.
where the 1st step follows from Fact 4.5 , the 2nd step follows from Fact 4.5 .
where the 1st step follows from simple algebra, the 2nd step follows from simple algebra, the last step follows from Fact 4.5.
Proof of . It trivially follows from
2 Lower bound on Hessian
The goal of this section is to prove Lemma 6.3.
Let be defined as Definition 5.3.
Let be defined as Definition 4.8.
Let denote the minimum singular value of .
Part 1. If all , , then
Part 2. If all , , then
By applying Lemma 5.13 and Lemma 5.15, we have
Thus, by applying Lemma 4.9, Eq. (4) can be written as
where the 3rd step follows from , the last step follows from simple algebra.
Since is positive definite, then we have
Thus, Hessian is positive definite forever and thus the function is convex. ∎
Hessian is Lipschitz
In this section, we find the upper bound of and thus proved that is lipschitz. In Section 7.2, we prove that some basic terms satisfy the property of Lipschitz. In Section 7.3, we provide a sketch of how we find the bound of , to be specific, we split into 8 terms and state that all these terms can be bound by using . In Section 7.4, we use to bound the first term. In Section 7.5, we use to bound the second term. In Section 7.6, we use to bound the third term. In Section 7.7, we use to bound the fourth term. In Section 7.8, we use to bound the fifth term. In Section 7.9, we use to bound the sixth term. In Section 7.10, we use to bound the seventh term. In Section 7.11, we use to bound the last term.
and
where the 1st step follows definition of and matrix spectral norm, the 2nd step follows from , the 3rd step follows from Lemma 7.3, the 4th step follows from Lemma 7.2, and the last step follows from simple algebra. ∎
2 A Core Tool: Lipschitz Property for Several Basic Functions
Let
Let be defined as Definition 5.4
Part 0.
Part 1.
Part 2.
Part 3.
Part 4.
Part 5.
Part 6.
where the first step follows from Fact 4.3, the second step follows from Fact 4.3, the third step follows from Fact 4.3, and the last step follows from and .
where the 1st step follows from and Fact 4.3, the 2nd step follows from Part 0, the 3rd step follows from Fact 4.3, the 4th step follows from Fact 4.4, the last step follows from .
where the 1st step follows from the definition of , the 2nd step follows from Cauchy-Schwarz inequality (Fact 4.3).
where the 1st step follows from simple algebra, the 2nd step follows from .
where the 1st step follows from the definition of and , the 2nd step follows from triangle inequality, the 3rd step follows from (Fact 4.4).
where the 1st step follows from , the 2nd step follows from Part 1.
For the second term in the above, we have
where the 1st step follows from the result of Part 3, the 2nd step follows from Part 0, the 3rd step follows from the result of Part 2, the 4th step follows from Part 1, and the last step follows from simple algebra.
Combining Eq. (7.2) and Eq. (7.2) together, we have
where the 1st step follows from the bound of the first term and the second term, the 2nd step follows from and trivially, the 3rd step follows from simple algebra.
the first step follows from the definition of , the last step follows from Part 4 and definition of . Proof of Part 6.
where the second step follows from .
3 Summary of Eight Steps
The proof directly follows from applying Lemma 7.4, Lemma 7.5, Lemma 7.6, Lemma 7.7, Lemma 7.8, Lemma 7.9, Lemma 7.10, Lemma 7.11. ∎
4 Lipschitz Calculations: Step 1. Lipschitz for Matrix Function ‖f(x)‖22f(x)f(x)⊤\|f(x)\|_{2}^{2}f(x)f(x)^{\top}
Let us only prove for , the others are similar,
where the 1st step follows from Fact 4.4, the 2nd step follows from (Fact 4.3), the 3rd step follows from (Fact 4.3), the last step follows from (Lemma 5.2).
It is obvious that for each , we have
where the last step follows from . ∎
Since are similar, we only have to bound :
where the 1st step follows from the definition of , the 2nd step follows from simple algebra, the 3rd step follows from Fact 4.4, the 4th step follows from (Fact 4.4), the 5th step follows from (Fact 4.3), the last step follows from .
6 Lipschitz Calculations: Step 3. Lipschitz for Matrix Function f(x)f(x)⊤diag(f(x))f(x)f(x)^{\top}\diag(f(x))
Since are similar, we only need to bound :
where the 1st step follows from the definition of , the 2nd step follows from simple algebra, the 3rd step follows from (Fact 4.4), (Fact 4.3), and (Fact 4.4), the 4th step follows from , the last step follows from (Fact 4.3).
where the 1st step follows from the definition of , the 2nd step follows from Fact 4.4, the last step follows from the bound of , and . ∎
7 Lipschitz Calculations: Step 4. Lipschitz for Matrix Function ⟨f(x),b⟩diag(f(x))\langle f(x),b\rangle\diag(f(x))
Since and are similar, we only need to bound :
where the 1st step follows from the definition of , the 2nd step follows from simple algebra, the 3rd step follows from (Fact 4.4) and , the 4th step follows from (Fact 4.3), the last step follows from (Fact 4.3).
where the 1st step follows from the definition of , the 2nd step follows from Fact 4.4, the last step follows from the bound of and . ∎
8 Lipschitz Calculations: Step 5. Lipschitz for Matrix Function diag(f(x)∘(f(x)−b))\diag(f(x)\circ(f(x)-b))
where the 1st step follows from the definition of , the 2nd step follows from Fact 4.2, the 3rd step follows from (Fact 4.4), the 4th step follows from (Fact 4.3), the last step follows from .
where the 1st step follows from the definition of , the 2nd step follows from Fact 4.2, the 3rd step follows from Fact 4.4, the 4th step follows from (Fact 4.3), the last step follows from .
where the 1st step follows from the definition of , the 2nd step follows from Fact 4.2, the 3rd step follows from the bound of and . ∎
9 Lipschitz Calculations: Step 6. Lipschitz for Matrix Function diag(f(x)∘f(x))\diag(f(x)\circ f(x))
Since, and are similar, we only need to bound :
where the 1st step follows from the definition of , the 2nd step follows from Fact 4.2, the 3rd step follows from (Fact 4.4) and (Fact 4.3), the last step follows from .
where the 1st step follows from the definition of , the 2nd step follows from Fact 4.4, the last step follows from the bound of and . ∎
10 Lipschitz Calculations: Step 7. Lipschitz for Matrix Function f(x)(f(x)∘b)⊤f(x)(f(x)\circ b)^{\top}
Since and are similar, we only need to bound :
where the 1st step follows from the definition of , the 2nd step follows from simple algebra, the 3rd step follows from (Fact 4.4) and , the last step follows from (Fact 4.3) and .
where the 1st step follows from the definition of , the 2nd step follows from Fact 4.4, the last step follows from the bound of and . ∎
11 Lipschitz Calculations: Step 8. Lipschitz for Matrix Function (f(x)∘b)f(x)⊤(f(x)\circ b)f(x)^{\top}
Since and are similar, we only need to bound :
where the 1st step follows from the definition of , the 2nd step follows from simple algebra, the 3rd step follows from (Fact 4.4), the 4th step follows from (Fact 4.3), the last step follows from (Lemma 5.2).
where the 1st step follows from the definition of , the 2nd step follows from Fact 4.4, the last step follows from the bound of and . ∎
Approximate Newton Method
In this section, we provide an approximate version of the newton method for convex optimization. In Section 8.1, we state some assumptions of the traditional newton method and the exact update rule of the traditional algorithm. In Section 8.2, we provide the approximate update rule of the approximate newton method, we also implement a tool for compute the approximation of and use some lemmas from to analyze the approximate newton method. In Section 8.3, we prove a lower bound on . In Section 8.4, we prove an upper bound on .
Here in this section, we focus on the local convergence of the Newton method. We consider the following target function
.
Hessian is -Lipschitz. If there exists a positive scalar such that
Good Initialization Point. Let denote the initialization point. If satisfies
We define gradient and Hessian as follows
2 Approximate of Hessian and Update Rule
In many real-world tasks, it is very hard and expensive to compute exact or . Thus, it is natural to consider the approximated computation of the gradient and Hessian. The computation is defined as
In order to get the approximated Hessian efficiently, here we state a standard tool (see Lemma 4.5 in ).
Note that, denotes the exponent of matrix multiplication, currently .
Following the standard of Approximate Newton Hessian literature , we consider the following.
Loss Function is -good (see Definition 8.1).
Let (see Definition 8.4).
Let denote the total number of iterations of the algorithm, to apply Lemma 8.7, we will need the following induction hypothesis lemma. This is very standard in the literature, see .
For each , we define . If the following condition hold
(see Definition 8.4 for )
, for all
, for all (see Definition 8.1 for )
3 Lower bound on β\beta
Let be lower bound on
4 Upper bound on MM
Let denote the hessian of loss function .
(Lemma 7.1)
Main Result
Define .
Define as the optimal solution of
It holds that , and .
It holds that for all
Let denote an initial point for which it holds that .
Here denote the exponent of matrix multiplication. Currently .
It follows from combining Lemma 6.3, Lemma 8.8, Lemma 8.5, Lemma 7.1 and Lemma 8.7.
Proof of Number of Iterations. After iterations, we have
By choice of , we get the desired bound. The failure probability is following from union bound over iterations. ∎