Spark (mathematics)

From HandWiki
Short description: Fewest dependent columns in a matrix

In mathematics, more specifically in linear algebra, the spark of a [math]\displaystyle{ m \times n }[/math] matrix [math]\displaystyle{ A }[/math] is the smallest integer [math]\displaystyle{ k }[/math] such that there exists a set of [math]\displaystyle{ k }[/math] columns in [math]\displaystyle{ A }[/math] which are linearly dependent. If all the columns are linearly independent, [math]\displaystyle{ \mathrm{spark}(A) }[/math] is usually defined to be 1 more than the number of rows. The concept of matrix spark finds applications in error-correction codes, compressive sensing, and matroid theory, and provides a simple criterion for maximal sparsity of solutions to a system of linear equations.

The spark of a matrix is NP-hard to compute.

Definition

Formally, the spark of a matrix [math]\displaystyle{ A }[/math] is defined as follows:

[math]\displaystyle{ \mathrm{spark}(A) = \min_{d \ne 0} \|d\|_0 \text{ s.t. } A d = 0 }[/math]

 

 

 

 

(Eq.1)

where [math]\displaystyle{ d }[/math] is a nonzero vector and [math]\displaystyle{ \|d\|_0 }[/math] denotes its number of nonzero coefficients[1] ([math]\displaystyle{ \|d\|_0 }[/math] is also referred to as the size of the support of a vector). Equivalently, the spark of a matrix [math]\displaystyle{ A }[/math] is the size of its smallest circuit [math]\displaystyle{ C }[/math] (a subset of column indices such that [math]\displaystyle{ A_C x = 0 }[/math] has a nonzero solution, but every subset of it does not[1]).

If all the columns are linearly independent, [math]\displaystyle{ \mathrm{spark}(A) }[/math] is usually defined to be [math]\displaystyle{ m+1 }[/math] (if [math]\displaystyle{ A }[/math] has m rows).[2][3]

By contrast, the rank of a matrix is the largest number [math]\displaystyle{ k }[/math] such that some set of [math]\displaystyle{ k }[/math] columns of [math]\displaystyle{ A }[/math] is linearly independent.[4]

Example

Consider the following matrix [math]\displaystyle{ A }[/math].

[math]\displaystyle{ A= \begin{bmatrix} 1 & 2 & 0 & 1 \\ 1 & 2 & 0 & 2 \\ 1 & 2 & 0 & 3 \\ 1 & 0 & -3 & 4 \end{bmatrix} }[/math]

The spark of this matrix equals 3 because:

  • There is no set of 1 column of [math]\displaystyle{ A }[/math] which are linearly dependent.
  • There is no set of 2 columns of [math]\displaystyle{ A }[/math] which are linearly dependent.
  • But there is a set of 3 columns of [math]\displaystyle{ A }[/math] which are linearly dependent. The first three columns are linearly dependent because [math]\displaystyle{ \begin{pmatrix}1\\1\\1\\1\end{pmatrix} - \frac{1}{2}\begin{pmatrix}2\\2\\2\\0\end{pmatrix} + \frac{1}{3}\begin{pmatrix}0\\0\\0\\-3\end{pmatrix} = \begin{pmatrix}0\\0\\0\\0\end{pmatrix} }[/math].

Properties

If [math]\displaystyle{ n\geq m }[/math], the following simple properties hold for the spark of a [math]\displaystyle{ m \times n }[/math] matrix [math]\displaystyle{ A }[/math]:

  • [math]\displaystyle{ \mathrm{spark}(A) = m+1 \Rightarrow \mathrm{rank}(A) = m }[/math] (If the spark equals [math]\displaystyle{ m+1 }[/math], then the matrix has full rank.)
  • [math]\displaystyle{ \mathrm{spark}(A) = 1 }[/math] if and only if the matrix has a zero column.
  • [math]\displaystyle{ \mathrm{spark}(A) \le \mathrm{rank}(A) + 1 }[/math].[4]

Criterion for uniqueness of sparse solutions

The spark yields a simple criterion for uniqueness of sparse solutions of linear equation systems.[5] Given a linear equation system [math]\displaystyle{ A\mathbf{x}=\mathbf{b} }[/math]. If this system has a solution [math]\displaystyle{ \mathbf{x} }[/math] that satisfies [math]\displaystyle{ \|\mathbf{x}\|_{0} \lt \frac{\mathrm{spark}(A)}{2} }[/math], then this solution is the sparsest possible solution. Here [math]\displaystyle{ \|\mathbf{x}\|_{0} }[/math] denotes the number of nonzero entries of the vector [math]\displaystyle{ \mathbf{x} }[/math].

Lower bound in terms of dictionary coherence

If the columns of the matrix [math]\displaystyle{ A }[/math] are normalized to unit norm, we can lower bound its spark in terms of its dictionary coherence:[6][2]

[math]\displaystyle{ \mathrm{spark}(A) \ge 1+\frac{1}{\mu(A)} }[/math]

Here, the dictionary coherence [math]\displaystyle{ \mu(A) }[/math] is defined as the maximum correlation between any two columns:

[math]\displaystyle{ \mu(A)=\max_{m \neq n} |\langle a_m,a_n \rangle| = \max_{m\neq n}\frac{|a_m^{\intercal} a_n|}{||a_m||_2||a_n||_2} }[/math].

Applications

The minimum distance of a linear code equals the spark of its parity-check matrix.

The concept of the spark is also of use in the theory of compressive sensing, where requirements on the spark of the measurement matrix are used to ensure stability and consistency of various estimation techniques.[4] It is also known in matroid theory as the girth of the vector matroid associated with the columns of the matrix. The spark of a matrix is NP-hard to compute.[1]

References

  1. 1.0 1.1 1.2 Tillmann, Andreas M.; Pfetsch, Marc E. (November 8, 2013). "The Computational Complexity of the Restricted Isometry Property, the Nullspace Property, and Related Concepts in Compressed Sensing". IEEE Transactions on Information Theory 60 (2): 1248–1259. doi:10.1109/TIT.2013.2290112. 
  2. 2.0 2.1 Higham, Nicholas J.; Dennis, Mark R.; Glendinning, Paul; Martin, Paul A.; Santosa, Fadil; Tanner, Jared (2015-09-15) (in en). The Princeton Companion to Applied Mathematics. Princeton University Press. ISBN 978-1-4008-7447-7. https://books.google.com/books?id=MvI8CgAAQBAJ&dq=%22spark%22+%22mathematics%22+%22matrix%22&pg=PA824. 
  3. Manchanda, Pammy; Lozi, René; Siddiqi, Abul Hasan (2017-10-18) (in en). Industrial Mathematics and Complex Systems: Emerging Mathematical Models, Methods and Algorithms. Springer. ISBN 978-981-10-3758-0. https://books.google.com/books?id=Cr06DwAAQBAJ&dq=%22spark%22+%22mathematics%22+%22matrix%22&pg=PA35. 
  4. 4.0 4.1 4.2 Donoho, David L.; Elad, Michael (March 4, 2003), "Optimally sparse representation in general (nonorthogonal) dictionaries via ℓ1 minimization", Proc. Natl. Acad. Sci. 100 (5): 2197–2202, doi:10.1073/pnas.0437847100, PMID 16576749, Bibcode2003PNAS..100.2197D 
  5. Elad, Michael (2010). Sparse and Redundant Representations From Theory to Applications in Signal and Image Processing. pp. 24. https://archive.org/details/sparseredundantr00elad_246. 
  6. Elad, Michael (2010). Sparse and Redundant Representations From Theory to Applications in Signal and Image Processing. pp. 26. https://archive.org/details/sparseredundantr00elad_246.