From "A Brief History of Linear Attention: From Imitation and Innovation to Feeding Back", we can see that the parallel form of DeltaNet involves an inverse matrix of the form
In this post, we will prove through two different approaches that this conclusion strictly holds.
Problem Formulation #
First, let us state the problem precisely. Let there be a matrix
Let
Since each
Mathematical Induction #
Since this inverse matrix arises in DeltaNet, it definitely has a clear model context. Leveraging this background might help us prove it more quickly, but we will leave that discussion to the next section. In this section, we will still approach it as a purely mathematical problem.
Diagonal Properties #
In "Efficient Inversion Method for 'Diagonal + Low-Rank' Triangular Matrices", we have already seen that lower triangular matrices have some excellent properties: first, they are closed under matrix multiplication; second, they satisfy the property that "the diagonal of the inverse matrix equals the inverse of the diagonal," which can also be extended to block lower triangular matrices, namely, "the diagonal blocks of the inverse matrix equal the inverses of the diagonal blocks."
From this, we have
Then, according to
Adjugate Matrix #
To prove
This is obtained from a lower triangular matrix by turning all superdiagonal elements into 1, so computing the determinant is slightly more complicated, but not overly so. Because the last column has only two non-zero elements, expanding the determinant along the last column turns it into the subtraction of two
Product Form #
We can try calculating the first few cases by hand:
From this, we can conjecture that
Readers are invited to prove this conjecture on their own using mathematical induction. Assuming that this conjecture has been proved, then according to the condition
This completes the proof of
Double Computation #
The direct proof in the previous section might seem rather "brute-force". Later, @zhxlin from the FLA group reminded me that we can return to the original context of this inverse matrix—DeltaNet—and compute DeltaNet in two different ways, obtaining an explicit expression for the inverse matrix by comparing the results, thereby completing a relatively concise proof.
Inverse Matrix Formulation #
As we know, the recurrent form of DeltaNet is
where
Therefore,
Defining
Recurrence Expansion #
Looking now at the first equality, expanding it step by step directly gives
Here,
Substituting the above equation into the definition of
Comparing Results #
Denoting again
Thus, we only need to prove that
Therefore, the desired conclusion holds.
Summary #
In this post, I have presented two proofs of the boundedness of the core inverse matrix in DeltaNet.