Block Wiedemann algorithm
The block Wiedemann algorithm for computing kernel vectors of a matrix over a finite field is a generalization by Don Coppersmith of an algorithm due to Doug Wiedemann.[src]
The block Wiedemann algorithm for computing kernel vectors of a matrix over a finite field is a generalization by Don Coppersmith of an algorithm due to Doug Wiedemann.[src] Let M be an n\times n square matrix over some finite field F, let x_{\mathrm {base}} be a random vector of length n , and let x = M x_{\mathrm {base}} .[src] Consider the sequence of vectors S = \left[x, Mx, M^2x, \ldots\right] obtained by repeatedly multiplying the vector by the matrix M ; let y be any other vector of length n , and consider the sequence of finite-field elements S_y = \left[y \cdot x, y \cdot Mx, y \cdot M^2x \ldots\right] We know that the matrix M has a minimal polynomial; by the Cayley–Hamilton theorem we know that this polynomial is of degree (which we will call n_0 ) no more than n .[src] Say \sum_{r=0}^{n_0} p_rM^r = 0 .[src] Then \sum_{r=0}^{n_0} y \cdot (p_r (M^r x)) = 0 ; so the minimal polynomial of the matrix annihilates the sequence S and hence S_y .[src] But the Berlekamp–Massey algorithm allows us to calculate relatively efficiently some sequence q_0 \ldots q_L with \sum_{i=0}^L q_i S_y[{i+r}]=0 \;\forall \; r .[src] Our hope is that this sequence, which by construction annihilates y \cdot S , actually annihilates S ; so we have \sum_{i=0}^L q_i M^i x = 0 .[src] We then take advantage of the initial definition of x to say M \sum_{i=0}^L q_i M^i x_{\mathrm {base}} = 0 and so \sum_{i=0}^L q_i M^i x_{\mathrm {base}} is a hopefully non-zero kernel vector of M .[src] It turns out, by a generalization of the Berlekamp–Massey algorithm to provide a sequence of small matrices, that you can take the sequence produced for a large number of vectors and generate a kernel vector of the original large matrix.[src] You need to compute y_i \cdot M^t x_j for some i = 0 \ldots i_\max, j=0 \ldots j_\max, t = 0 \ldots t_\max where i_\max, j_\max, t_\max need to satisfy t_\max > \frac{d}{i_\max} + \frac{d}{j_\max} + O(1) and y_i are a series of vectors of length n; but in practice you can take y_i as a sequence of unit vectors and simply write out the first i_\max entries in your vectors at each time t.[src] The block Wiedemann algorithm can be used to calculate the leading invariant factors of the matrix, ie, the largest blocks of the Frobenius normal form.[src] Given M \in F_q^{n \times n} and U, V \in F_q^{b \times n} where F_q is a finite field of size q , the probability p that the leading k invariant factors of M are preserved in \sum_{i=0}^{2n-1}UM^iV^T x^i is p \geq \begin{cases} 1/64, & \text{if }b = k+1\text{ and } q=2 \\ \left( 1 - \frac{3}{2^{b-k}} \right)^2 \geq 1/16 & \text{if }b \geq k+2\text{ and } q=2 \\ \left( 1 - \frac{2}{q^{b-k}} \right)^2 \geq 1/9 & \text{if }b \geq k+1\text{ and }q > 2\end{cases} .[src] Thomé's paper 'Subquadratic computation of vector generating polynomials and improvement of the block Wiedemann algorithm' uses a more sophisticated FFT-based algorithm for computing the vector generating polynomials, and describes a practical implementation with i max = j max = 4 used to compute a kernel vector of a 484603×484603 matrix of entries modulo 2 607 −1, and hence to compute discrete logarithms in the field GF(2 607 ).[src]
14 sentences · 14 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Block Wiedemann algorithm." encyclopegia.org, 2026, https://encyclopegia.org/wiki/block-wiedemann-algorithm. Accessed 29 November 2026.
Chicago
"Block Wiedemann algorithm." encyclopegia.org. Accessed November 29, 2026. https://encyclopegia.org/wiki/block-wiedemann-algorithm.
APA
encyclopegia.org. (2026). Block Wiedemann algorithm. Retrieved November 29, 2026, from https://encyclopegia.org/wiki/block-wiedemann-algorithm
Accessed November 29, 2026 · CC BY-SA 4.0 · citation page · JSON