Formally, the spark of a matrix is defined as follows:
Eq.1
where is a nonzero vector and denotes its number of nonzero coefficients[1] ( is also referred to as the size of the support of a vector). Equivalently, the spark of a matrix is the size of its smallest circuit (a subset of column indices such that has a nonzero solution, but every subset of it does not[1]).
If all the columns are linearly independent, is usually defined to be (if has m rows).[2][3][dubious – discuss]
By contrast, the rank of a matrix is the largest number such that some set of columns of is linearly independent.[4]
Example
Consider the following matrix .
The spark of this matrix equals 3 because:
There is no set of 1 column of which are linearly dependent.
There is no set of 2 columns of which are linearly dependent.
But there is a set of 3 columns of which are linearly dependent. The first three columns are linearly dependent because .
Properties
If , the following simple properties hold for the spark of a matrix :
(If the spark equals , then the matrix has full rank.)
The spark yields a simple criterion for uniqueness of sparse solutions of linear equation systems.[5]
Given a linear equation system . If this system has a solution that satisfies , then this solution is the sparsest possible solution. Here denotes the number of nonzero entries of the vector .
Lower bound in terms of dictionary coherence
If the columns of the matrix are normalized to unit norm, we can lower bound its spark in terms of its dictionary coherence:[6][2]
.
Here, the dictionary coherence is defined as the maximum correlation between any two columns:
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
^ abcTillmann, 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. arXiv:1205.2081. doi:10.1109/TIT.2013.2290112. S2CID2788088.