Skip to main content
Computational Intelligence and Neuroscience logoLink to Computational Intelligence and Neuroscience
. 2008 Mar 25;2008:764206. doi: 10.1155/2008/764206

Theorems on Positive Data: On the Uniqueness of NMF

Hans Laurberg 1,*, Mads Græsbøll Christensen 1, Mark D Plumbley 2, Lars Kai Hansen 3, Søren Holdt Jensen 1
PMCID: PMC2386872  PMID: 18497868

Abstract

We investigate the conditions for which nonnegative matrix factorization (NMF) is unique and introduce several theorems which can determine whether the decomposition is in fact unique or not. The theorems are illustrated by several examples showing the use of the theorems and their limitations. We have shown that corruption of a unique NMF matrix by additive noise leads to a noisy estimation of the noise-free unique solution. Finally, we use a stochastic view of NMF to analyze which characterization of the underlying model will result in an NMF with small estimation errors.

1. Introduction

Large quantities of positive data occur in research areas such as music analysis, text analysis, image analysis, and probability theory. Before deductive science is applied to large quantities of data, it is often appropriate to reduce data by preprocessing, for example, by matrix rank reduction or by feature extraction. Principal component analysis is an example of such preprocessing. When the original data is nonnegative, it is often desirable to preserve this property in the preprocessing. For example, elements in a power spectrogram, probabilities, and pixel intensities should still be nonnegative after the processing to be meaningful. This has led to the construction of algorithms for rank reduction of matrices and feature extraction generating nonnegative output. Many of the algorithms are related to the nonnegative matrix factorization (NMF) algorithm proposed by Lee and Seung [1, 2]. NMF algorithms factorize a nonnegative matrix V ∈ ℝ+ n×m or R ∈ ℝ+ n×m into two nonnegative matrices W ∈ ℝ+ n×r and H ∈ ℝ+ r×m:

VR=WH. (1)

There are no closed-form solutions to the problem of finding W and H given a V, but Lee and Seung [1, 2] proposed two computationally efficient algorithms for minimizing the difference between V and WH for two different error functions. Later, numerous other algorithms have been proposed (see [3]).

An interesting question is whether the NMF of a particular matrix is unique. The importance of this question depends on the particular application of NMF. There can be two different viewpoints when using a model like NMF—either one can believe that the model describes nature and that the variables W and H have a physical meaning or one can believe that the model can capture the part of interest even though there is not a one-to-one mapping between the parameters and the model, and the physical system. When using NMF, one can wonder whether V is a disturbed version of some underlying WH or whether the data is constructed by another model or, in other words, a ground truth W and H does exist. These questions are important in evaluating whether or not it is a problem that there is another NMF solution, WH′, to the same data, that is,

VR=WH=WH. (2)

If NMF is used even though the data is not assumed to be generated by (1), it may not be a problem that there are several other solutions. On the other hand, if one assumes that a ground truth exists, it may be a problem if the model is not detectable, that is, if it is not possible to find W and H from the data matrix V.

The first articles on the subject was two correspondences between Berman and Thomas. In [4] Berman asked for what amounts to a simple characterization of the class of nonnegative matrices R for which an NMF exists. As we shall see, the answer by Thomas [5] can be transferred into an NMF uniqueness theorem.

The first article investigating the uniqueness of NMF is Donoho and Stodden [6]. They use convex duality to conclude that in some situations, where the column vectors of W “describe parts,” and for that reason are nonoverlapping and thereby orthogonal, the NMF solution is unique.

Simultaneously with the development of NMF, Plumbley [7] worked with nonnegative independent component analysis where one of the problems is to estimate a rotation matrix Q from observations on the form Qs, where s is a nonnegative vector. In this setup, Plumbley investigates a property for a nonnegative independent and identically distributed (i.i.d.) vector s such that Q can be estimated. He shows that if the elements in s are grounded and a sufficiently large set of observations is used, then Q can be estimated. The uniqueness constraint in [7] is a statistical condition of s.

The result in [7] is highly relevant to the NMF uniqueness due to the fact that in most cases new NMF solutions will have the forms WQ and Q −1 H as described in Section 3. By using Plumbley's result twice, a restricted uniqueness theorem for NMF can be constructed.

In this paper, we investigate the circumstances under which NMF of an observed nonnegative matrix is unique. We present novel necessary and sufficient conditions for the uniqueness. Several examples illustrating these conditions and their interpretations are given. Additionally, we show that NMF is robust to additive noise. More specifically, we show that it is possible to obtain accurate estimates of W and H from noisy data when the generating NMF is unique. Lastly, we consider the generating NMF as a stochastic process and show that particular classes of such processes almost surely result in unique NMFs.

This paper is structured as follows. Section 2 introduces the notation, some definitions, and basic results. A precise definition and two characterizations of a unique NMF are given in Section 3. The minimum constraints of W and H for a unique NMF are investigated in Section 4. Conditions and examples of a unique NMF are given in Section 5. In Section 6, it is shown that in situations where noise is added to a data matrix with a unique NMF, it is possible to bound the error of the estimates of W and H. A probabilistic view on the uniqueness is considered in Section 7. The implication of the theorems is discussed in Section 8, and Section 9 concludes the paper.

2. Fundamentals

We will here introduce convex duality that will be the framework of the paper, but first we shall define the notation to be used. Nonnegative real numbers are denoted as ℝ+, ||⋅||F denotes the Frobenius norm, and span(⋅) is the space spanned by the set of vectors. Each type of variables has its own font. For instance, a scalar is denoted x, a column vector is denoted x, a row vector is denoted by x¯, a matrix is denoted by X, a set is denoted by 𝒳, and a random variable is denoted by 𝒳. Moreover, x ij is the ith index of the vector x j. When a condition for a set is used to describe a matrix, it is referring to the set of column vectors in the matrix. The NMF is symmetric in W T and H, so the theorems for one matrix may also be used for the other.

In the paper, we make a geometric interpretation of the NMF similar to that used in both [5, 6]. For that, we need the following definitions.

Definition 1. —

The positive span is given by span+(b 1,…, b d) = {v = ∑i b i a ia ∈ ℝ+ d}.

In some literature, the positive span is called the conical hull.

Definition 2. —

A set 𝒜 is called a simplicial cone if there is a set such that 𝒜 = span+ (). The order of a simplicial cone 𝒜 is the minimum number of elements in .

Definition 3. —

The dual to a set 𝒜, denoted 𝒜*, is given by 𝒜* = {vv T a ≥ 0 for all a𝒜}.

The following lemma is easy to prove and will be used subsequently. For a more general introduction to convex duality, see [8].

Lemma 1. —

(a) If 𝒳 = span+(b 1 …,b d), then y𝒳* if and only if y T b n ≥ 0 for all n.

(b) If 𝒳 = span+(B T) and B T = [b 1,…, b d] is invertible, then 𝒳* = span+(B −1).

(c) If 𝒴𝒳, then 𝒳* ⊆ 𝒴*.

(d) If 𝒴 and 𝒳 are closed simplicial cones and 𝒴𝒳, then 𝒳* ⊂ 𝒴*.

3. Dual Space and the NMF

In this section, our definition of unique NMF and some general conditions for unique NMF are given. As a starting point, let us assume that both W and H have full rank, that is, r = rank(R).

Let W′ and H′ be any matrices that fulfil, R = WH = WH′. Then, span(W) = span(R) = span(W′). The column vectors of W and W′ are therefore both bases for the same space and as a result there exists a basis shift matrix Q ∈ ℝr×r such that W′ = WQ. It follows that H′ = Q −1 H. Therefore, all NMF solutions where r = rank(R), are of the form R = WQQ −1 H. In these situations, the ambiguity of the NMF is the Q matrix. Note that if r > rank(R) the above arguments are not valid because rank(W) can differ from rank(W′) and thereby span(W) ≠ span(W′).

Example 1. —

The following is an example of an ℝ+ 4×4 matrix of rank 3, where there are two NMF solutions but no Q matrix to connect the solutions

[1100101001010011]=R=RWIH=IWRH. (3)

We mention in passing that Thomas [5] uses this matrix to illustrate a related problem. This completes the example.

Lemma 2 (Minc [9, Lemma 1.1]). —

The inverse of a nonnegative matrix is nonnegative if and only if it is a scaled permutation.

Lemma 2 shows that all NMF solutions on the forms WQ and Q −1 H, where Q is a scaled permutation, are valid, and thereby that NMF only can be unique up to a permutation and scaling. This leads to the following definition of unique NMF in this paper.

Definition 4. —

A matrix R has a unique NMF if the ambiguity is a permutation and a scaling of the columns in W and rows in H.

The scaling and permutation ambiguity in the uniqueness definition is a well-known ambiguity that occurs in many blind source separation problems. With this definition of unique NMF, it is possible to make the following two characterizations of the unique NMF.

Theorem 1. —

If r = rank(R), an NMF is unique if and only if the positive orthant is the only r-order simplicial cone 𝒬 such that span+(W T) ⊆ 𝒬 ⊆ span+(H)*.

Proof. —

The proof follows the analysis of the Q matrix above in combination with Lemma 1(b). The theorem can also be proved by following the steps of the proof in [5].

Theorem 2 (see [6]). —

The NMF is unique if and only if there is only one r-order simplicial cone 𝒬 such that span+(R) ⊆ 𝒬𝒫, where 𝒫 is the positive orthant.

Proof. —

The proof follows directly from the definitions.

The first characterization is inspirited by [5] and the second characterization is implicit introduced in [6]. Note that the two characterizations of the unique NMF analyze the problem from two different viewpoints. Theorem 1 takes a known W and H pair as starting point and looks at the solution from the “inside,” that is, the r-dimensional space of row vectors in W and column vectors in H. Theorem 2 looks at the problem from the “outside,” that is, the n-dimensional column space of R.

4. Matrix Conditions

If R = WH is unique, then both W and H have to be unique, respectively, that is, there is only one NMF of W and one of H, namely, W = WI and H = IH. In this section, a necessary condition for W and H is given and a sufficient condition is shown.

The following definition will be shown to be a necessary condition for both the set of row vectors in W and column vectors in H.

Definition 5. —

A set 𝒮 of vectors in ℝ+ d is called boundary close if for all ji and k > 0 there is an element s𝒮 such that

sj<ksi. (4)

In the case of closed sets, the boundary close condition is that s j = 0 and s i ≠ 0. In this section, the sets will be finite (and therefore closed), but in Section 7 the general definition above is needed.

Theorem 3. —

The set of row vectors in W has to be boundary close for the corresponding NMF to be unique.

Proof. —

If the set of row vectors in W are not boundary close, there exist indexes ji and k > 0 such that the jth element is always more than k times larger than the ith element in the row vectors in W. Let 𝒬 = span+(q 1,…, q r), where

qn={ei+kejifn=i,enotherwise, (5)

and e n denotes the nth standard basis vector. This set fulfils the condition span+(WT) ⊆ 𝒬𝒫 and we therefore, using Theorem 1, conclude that the NMF cannot be unique.

That not only the row vectors of W with small elements determine the uniqueness can be seen from the following example.

Example 2. —

The following is an example where W¯ is not unique but W=[W¯311] is.

Let

W¯=[011101110]. (6)

Here W¯ is boundary close but not unique since W¯=W¯I=IW¯. The uniqueness of W=[W¯311] can be verified by plotting the matrix as shown in Figure 1, and observe that the conditions of Theorem 1 are fulfilled. This completes the example.

Figure 1.

Figure 1

A three-dimensional space is scaled such that the vectors are in the hyper plane: {p ∣ [1 1 1]p = 1}. By the mapping to the hyper plane, a plane in ℝ3 is mapped to a line and a simplicial cone is mapped to an area. In the figure, it can be observed that the dashed triangle (desired solution) is the only triangle (third-order simplicial cone) that contains the shaded area (positive span of W) while being within the solid border (the dual of H). The NMF can be concluded to be unique by Theorem 1.

In three dimensions, as in Example 2, it is easy to investigate whether a boundary close W is unique—if W = WH′, then H′ can only have two types of structure: either the trivial (desired) solution where H′ = I or a solution where only the diagonal of H′ is zero. In higher dimensions, the number of combinations of nontrivial solutions increases and it becomes more complicated to investigate all possible nontrivial structures. For example, if W¯ is the matrix from Example 2, then the matrix

W˜=[W¯00W¯] (7)

is boundary close and can be decomposed in several ways, for example,

W˜=[I00W¯][W¯00I]=[W¯00I][I00W¯]=[I00I][W¯00W¯]. (8)

Instead of seeking necessary and sufficient conditions for a unique W, a sufficient condition not much stronger than the necessary is given. In this sufficient condition, we only focus on the row vectors of W with a zero (or very small) element.

Definition 6. —

A set of vectors 𝒮 in ℝ+ d is called strongly boundary close if it is boundary close, and there exists a z > 0 and a numbering of the elements in the vectors such that for all k > 0 and n ∈ {1,…, d − 1} there are dn vectors from 𝒮, {s 1,…, s dn} that fulfil the following:

  1. s nj < ki>n s ij for all j; and

  2. κ 2([b 1,…, b dn]) ≤ z, where κ 2(⋅) is the “condition number” of the matrix defined as the ratio between the largest and smallest singular values [10, page 81], b j = P n s j and P n ∈ ℝdn×d is a projection matrix that picks the dn last element of a vector in ℝd.

Theorem 4. —

If span+(W T) is strongly boundary close, then W is unique.

The proof is quite technical and is therefore given in the Appendix. The most important thing to notice is that the necessary condition in Theorem 3 and the sufficient conditions in Theorem 4 are very similar. The first item in the strongly boundary close definition states that there have to be several vectors with small value. The second item ensures that the vectors with small value are linear independent in the last elements.

5. Uniqueness of R

In this section, a condition for unique V is analyzed. First, Example 3 is used to investigate when a strongly boundary close W and H pair is unique. The section ends with a constraint for W and H that results in a unique NMF.

Example 3. —

This is an investigation of uniqueness of R when W and H are given as

H=[α11α001α00α100α11α],W=HT, (9)

where 0 < α < 1. Both W and H are strongly boundary close and the z parameter can be calculated as

z=κ2([b1,,bdn])=κ2([α11α])=1+α1α. (10)

The equation above shows that small α will result in a z close to one and an α close to one results in a large z. In Figure 2, the matrix R = WH is plotted for α ∈ {0.1, 0.3, 0.5, 0.7}. The dashed line is the desired solution and is repeated in all figures. It is seen that the shaded area span+(W T) is decreasing when α increases, and that the solid border span+(H)* increases when α increases. For all α-values, both the shaded area and the solid border intersect with the dashed triangle. Therefore, it is not possible to get another solution by simply increasing/decreasing the desired solution. The figure shows that the NMF is unique for α ∈ {0.1, 0.3} and not unique for α ∈ {0.5, 0.7} where the alternative solution is shown by a dotted line. That the NMF is not unique for α ∈ {0.5, 0.7} can also be verified by selecting the Q to be the symmetric orthonormal matrix

Q=QT=Q1=13[122212221], (11)

and see that both WQ and Q −1 H are nonnegative. If α = 0.3, then the matrix R is given by

R=1100[109603093010060109100309303010010960309930601091003030930100109601003093060109]. (12)

This shows that R needs no zeros for the NMF to be unique. This completes the example.

Figure 2.

Figure 2

The figure shows data constructed as in Example 3 and plotted in the same manner as in Figure 1, that is, the dashed triangle is the desired solution, the solid line is the border of the dual of H, and the shaded area is the positive span of W. It can be seen that the NMF is unique when α equals 0.1 or 0.3 but not when α equals 0.5 or 0.7. In the cases where the NMF is not unique, an alternative solution is shown with a dotted line.

In the example above, W equals H T and thereby fulfils the same constraints. In many applications, the meaning of W and H differs, for example, in music analysis where the column vectors of W are spectra of notes and H is a note activity matrix [11].

Next, it is investigated how to make an asymmetric uniqueness constraint.

Definition 7. —

A set of vectors in ℝd is called sufficiently spread if for all j and k > 0, there is an element s𝒮 such that

sj>kijsi. (13)

Note that in the definition for sufficiently spread set the jth element is larger than the sum in contrast to the strongly boundary close definition where the jth element is smaller than the sum.

Lemma 3. —

The dual space of a sufficiently spread set is the positive orthant.

Proof. —

A sufficiently spread set is nonnegative and the positive orthant is therefore part of the dual set for any sufficiently spread set. Let b be a vector with a negative element in the jth element and select

k=ij|bi|bj. (14)

In any sufficiently spread set, an s exists, such that s j > kijsi and therefore

sTb=sjbj+ijsibisjbj+(ijsi)(ij|bi|)=bj(sj+kijsi)<0. (15)

The b is therefore not in the dual to any sufficiently spread set.

In the case of finite sets, the sufficiently spread condition is the same as the requirement for a scaled version of all the standard basis vectors to be part of the sufficiently spread set. It is easy to verify that a sufficiently spread set also is strongly boundary close and that the z parameter is one.

Theorem 5. —

If a pair [W T, H] is sufficiently spread and strongly boundary close, then the NMF of R = WH is unique.

Proof. —

Lemma 3 states that the dual set of a sufficiently spread set is the positive orthant,

span+(H)*=𝒫=span+(I)*. (16)

Theorem 4 states that WI is unique and by using (16) and Theorem 1 we conclude that R = WH is unique.

Theorem 5 is a stronger version of the results of Donoho and Stodden [6, Theorem 1]. Theorem 1 in [6] also assumes that H is sufficiently spread, but the condition for W T is stronger than the strongly boundary close assumption.

6. Perturbation Analysis

In the previous sections, we have analyzed situations with a unique solution. In this section, it is shown that in some situations the nonuniqueness can be seen as estimation noise on W and H. The error function that describes how close an estimated [W′,H]′ pair is to the true [W,H] pair is

J(W,H)(W,H)=minP,D(WW(DP)F+H(DP)1HF), (17)

where P is a permutation matrix and D is a diagonal matrix.

Theorem 6. —

Let R = WH be a unique NMF. Given some ϵ > 0, there exists a δ > 0 such that any nonnegative V = R + N, where ||N||F < δ fulfils

J(W,H)(W,H)<ϵ, (18)

where

[W,H]=arg minWR+n×r,HR+r×mVWHF. (19)

The proof is given in the appendix. The theorem states that if the observation is corrupted by additive noise, then it will result in noisy estimation of W and H. Moreover, Theorem 6 shows that if the noise is small, it will result in small estimation errors. In this section, the Frobenius norm is used in (17) and (19) to make Theorem 6 concrete. Theorem 6 is also valid with the same proof if any continuous metric is used instead of the Frobenius norm in those equations.

Example 4. —

This example investigates the connection between the additive noise in V and the estimation error on W and H. The column vectors in W are basis pictures of a man, a dog, and the sun as shown in Figures 3(a), 3(b), and 3(c). In Figure 3(d), the sum of the three basis pictures is shown. The matrix H is the set of all combinations of the pictures, that is,

H=[100011101010110011101]. (20)

Theorem 5 can be used to conclude that the NMF of R = WH is unique because both W T and H are sufficiently spread and thereby also strongly boundary close.

In the example, two different noise matrices, N N and N M, are used. The N N matrix models noisy observation and has elements that are random uniform i.i.d. The N M matrix contains elements that are minus one in the positions where R has elements that are two and zero elsewhere, that is, N M is minus one in the positions where the dog and the man are overlapping. In this case, the error matrix N M simulates a model mismatch that occurs in the following two types of real-world data. If the data set is composed of pictures, the basis pictures will be overlapping and a pixel in V will consist of one basis picture and not a mixture of the overlapping pictures. If the data is a set of amplitude spectra, the true model is an addition of complex values and not an addition of the amplitudes.

The estimation error of the factorization J (W,H)(W′,H′) is plotted in Figure 4 when the norm of the error matrix is μ, that is, V = WH + (N/||N||F) μ. An estimate of the [W′,H′] pair is calculated by using the iterative algorithm for Frobenius norm minimized by Lee and Seung [2]. The algorithm is run for 500 iterations and is started from 100 different positions. The decomposition that minimizes ||VWH′||F is chosen, and J (W,H)(W′,H′) is calculated numerically. Figure 4 shows that when the added error is small, it is possible to estimate the underlying parameters. When the norm of added noise matrix increases, the behavior of the two noise matrices, N N and N M, differ. For N N, the error of the estimate increases slowly with the norm of the added matrix while the estimation error for N M increases dramatically when the norm is larger than 2.5. In the simulation, we have made the following observation that can explain the difference in the performance of the two types of noise. When N N is used, the basis pictures remain noisy versions of the man, the dog, and the sun. When N M is used and the norm is larger than 2.5, the basis pictures are the man excluding the overlap, the dog excluding the overlap, and the overlap of man and dog. Another way to describe the difference is that the rank of N M is one and the disturbance is in one dimension, where N N is full rank and the disturbance is in many dimensions. This completes the example.

Corollary 1. —

Let R = WH be a unique NMF and V=W˜H˜, where W˜=W+NW and H˜=H+NH. Given R and ϵ > 0 there exists a δ > 0 such that if the largest absolute value of both N W and N H is smaller than δ, then

J(W˜,H˜)(W,H)<ϵ, (21)

where W′, Hare any NMF of V.

Proof. —

This follows directly from Theorem 6.

The corollary can be used in situations where there are small elements in W and H but no (or not enough) zero elements—as in the following example.

Figure 3.

Figure 3

The three basis pictures: (a) a dog, (b) a man, and (c) the sun from Example 4, individually and summed in (d).

Figure 4.

Figure 4

The graph shows the connection between the norm of the additive error ||N||F and the estimation error of the underlying model J (W,H)(W′,H′). The two noise matrices from Example 4, N N and N M, are plotted. In this example, the curves are aligned for small errors, and for larger errors, the model error N M results in much larger estimation errors.

Example 5. —

Let R = WH, where W, H is generated as in Example 3. Let all elements in both N W and N H be equal to η. In Figure 5, V is plotted when α = 0.3 and η = {0.01, 0.05, 0.10, 0.15}. In this example, neither the shaded area nor the solid border intersect with the desired solution. Therefore, it is possible to get other solutions by simply increasing/decreasing the desired solution. For η = {0.01, 0.05}, the corners of the solutions are close to the corners of the desired solution. When η = 0.1, the corners can be placed mostly on the solid border and still form a triangle that contains the shaded area. When η = 0.15, the corners can be anywhere on the solid border. This completes the example.

Figure 5.

Figure 5

Data constructed as in Example 5 and plotted in the same manner as in Figure 1, that is, the dashed triangle is the desired solution, the solid line is the border of the dual of H, and the shaded area is the positive span of W. In all the plots, α equals 0.3 and η equals 0.01, 0.05, 0.1, and 0.15.

7. Probability and Uniqueness

In this section, the row vectors of W and the column of H are seen as results of two random variables. Characteristics of the sample space (the possible outcome) of a random variable that lead to unique NMF will be investigated.

Theorem 7. —

Let the row vectors of W be generated by the random variable 𝒳 W and let the column vectors of H be generated by a random variable 𝒳 H. If the sample space of 𝒳 W is strongly boundary close and the sample space of 𝒳 H is sufficiently spread, then for all ϵ > 0 and k < 1, there exist Nϵ and Mϵ such that

p(minD,P(DPQIF)<ϵ)>k, (22)

where Q is any matrix such that WQ and Q −1 H are nonnegative and the data size R ∈ ℝ+ n×m is such that n > N ϵ and m > M ϵ.

Proof. —

If the data is scaled, D 1 RD 2, it does not change the nonuniqueness of the solutions when measured by the Q matrix. The proof is therefore done on the normalized versions of W and H. Let 𝒴W and 𝒴H be the normalized version of 𝒳W and 𝒳H. There exist finite sets W¯ and H¯ of vectors in the closure of 𝒴W and 𝒴H that are strongly boundary close and sufficiently spread. By Theorem 5, it is known that V¯=W¯H¯ is unique. By increasing the number of vectors sampled from 𝒴W and 𝒴H, for any ϵ′ > 0, there will be two subsets of the vectors, W′ and H′, that with a probability larger that any k < 1 will fulfil

ϵ>W¯WF+H¯HF. (23)

It is possible to use Corollary 1 on this subset. The fact that limiting minD,P(||DPQI||F) is equivalent to limiting (21) when the vectors are normalized concludes the proof.

Example 6. —

Let all the elements in H be exponential i.i.d. and therefore generated with a sufficiently spread sample space. Additionally, let each row in W be exponential i.i.d. plus a random vector with the sample space {(011),(101),(110)} and thereby strongly boundary close. In Figure 6, the above variables are shown for the following four matrix sizes R ∈ {ℝ10×10, ℝ40×40, ℝ100×100, ℝ500×500}. This completes the example.

Figure 6.

Figure 6

The figure shows data constructed as in Example 6 plotted in the same manner as the previous figure with the exception that each row vector of W is plotted instead of the positive span of the vectors. The size of R is shown under each plot.

8. Discussion

The approach in this paper is to investigate when nonnegativity leads to uniqueness in connection with NMF, VR = WH. Nonnegativity is the only assumption for the theorems, and the theorems therefore cannot be used as argument for an NMF to be nonunique if there is additional information about W or H. An example with stronger uniqueness results is the sparse NMF algorithm of Hoyer [12] built on the assumption that the row vectors in H have known ratios between the L 1 norm and the L 2 norm. Theis et al. [13] have investigated uniqueness in this situation and shown strong uniqueness results. Another example is data matrices with an added constant on each row. For this situation, the affine NMF algorithm [14] can make NMF unique even though the setup violates Theorem 3 in this paper.

As shown in Figure 4, the type of noise greatly influences on the error curves. In applications where noise is introduced because the additive model does not hold as, for example, when V is pictures or spectra, it is possible to influence the noise by making a nonlinear function on the elements of V. Such a nonlinear function is introduced in [15] and experiments show that it improves the results. A theoretical framework for finding good nonlinear functions will be interesting to investigate.

The sufficiently spread condition defined in Section 5 has an important role for unique NMF due to Lemma 3. The sufficiently spread assumption is seen indirectly in related areas where it also leads to unique solutions, for example, in [7] where the groundedness assumption leads to variables with a sufficiently spread sample space. If the matrix H is sufficiently spread, then the columns in W will occur (almost) alone as columns in V. Deville [16] uses the “occur alone” assumption, and thereby sufficiently spread assumption, to make blind source separation possible.

9. Conclusion

We have investigated the uniqueness of NMF from three different viewpoints as follows:

  1. uniqueness in noise free situations;

  2. the estimation error of the underlying model when a matrix with unique NMF is added with noise; and

  3. the random processes that lead to matrices where the underlying model can be estimated with small errors.

By doing this, we have shown that it is possible to make many novel and useful characterizations that can be used as theoretical underpinning for using the numerous NMF algorithms. Several open issues can be found in all the three viewpoints that, if addressed, will give a better understanding of nonnegative matrix factorization.

Acknowledgments

This research was supported by the Intelligent Sound project, Danish Technical Research Council Grant no. 26-02-0092. The work of M. G. Christensen is supported by the Parametric Audio Processing project, Danish Research Council for Technology, and Production Sciences Grant no. 274-06-0521. Part of this work was previously presented at a conference [18].

Appendix

Proof of Theorem 4. —

The theorem state that W = WI is a unique NMF. To proof this, it is shown that the condition for Theorem 1 is fulfilled. The positive orthant is self-dual (I = I −1) and thereby 𝒬𝒫, where 𝒬 is an r-order simplicial cone that contains span+(W T). Let the set of row vectors in W be denoted by 𝒲. An r-order simplicial cone, like 𝒬, is a closed set and it therefore needs to contain the closure of 𝒲 denoted by 𝒲¯. The two items in Definition 6 of strongly boundary close can be reformulated for 𝒲¯ that contains the border:

  1. s nj = 0 for all j,

  2. the vectors [b 1,…, b dn] are linearly independent.

The rest of the proof follows by induction. If r = 2, then 𝒲¯=𝒫 and is therefore unique. Let therefore r > 2. Then r − 1 linearly independent vectors in 𝒲¯ have zero as the first element, and r − 1 of the basis vectors therefore need to have zero in the first element. In other words, there is only one basis vector with a nonzero first element. Let us call this vector b 1. For all j > 1 there is a vector in 𝒲¯ which is nonnegative in the first element and zero in the jth element, so all the elements in b 1 except the first have to be zero. The proof is completed by seeing that if the first element is removed from the vectors in 𝒲¯, it is still strongly boundary close and the problem is therefore the r − 1 dimensional problem.

Proof of Theorem 6. —

Let 𝒢 be the open set of all W′, H′ pairs that are close to W and H,

𝒢={[W,H]J(W,H)(W,H)<ϵ}. (A.1)

Let 𝒢¯ be the set of all nonnegative W,H pairs that are not in 𝒢 and where max(W,H)1+max(R). The uniqueness of R ensures that

RWHF>0, (A.2)

for all [W,H]𝒢¯. The fact that the Frobenius norm is continuous, 𝒢¯ is a closed bounded set, and the statement above is positive ensures that

min[W,H]𝒢¯(RWHF)=δ>0, (A.3)

since a continuous function attains its limits on a closed bounded set [17, Theorem 4.28]. The W,H pairs that are not in 𝒢 and where max(W,H)>1+max(R) can either be transformed by a diagonal matrix into a matrix pair from 𝒢¯, [WD,D1H]𝒢¯, having the same product (WH) or it can be transformed into a pair where both W and H have large elements, that is,

max(WH)>1+max(R)2=1+max(R), (A.4)

and thereby RWHF>1.

Select δ to be δ = min(1,δ′)/2. The error of the desired solution R = WH can be bounded by ||VR||F = ||N||F < δ. Let V be any matrix constructed by a nonnegative matrix pair not from 𝒢. Because of the way δ is selected, VRF2δ. By the triangle inequality, we get

VVF+VRFVRFVVFVRFVRF>2δδ=δ>VRF. (A.5)

All solutions that are not in 𝒢 therefore have a larger error than WH and will not be the minimizer of the error.

References

  • 1.Lee DD, Seung HS. Learning the parts of objects by non-negative matrix factorization. Nature. 1999;401(6755):788–791. doi: 10.1038/44565. [DOI] [PubMed] [Google Scholar]
  • 2.Lee DD, Seung HS. Advances in Neural Information Processing Systems 13. Cambridge, Mass, USA: MIT Press; 2000. Algorithms for non-negative matrix factorization; pp. 556–562. [Google Scholar]
  • 3.Berry MW, Browne M, Langville AN, Pauca VP, Plemmons RJ. Algorithms and applications for approximate nonnegative matrix factorization. Computational Statistics & Data Analysis. 2007;52(1):155–173. [Google Scholar]
  • 4.Berman A. Problem 73-14, rank factorization of nonnegative matrices. SIAM Review. 1973;15(3):655. [Google Scholar]
  • 5.Thomas L. Solution to problem 73-14, rank factorizations of nonnegative matrices. SIAM Review. 1974;16(3):393–394. [Google Scholar]
  • 6.Donoho D, Stodden V. Advances in Neural Information Processing Systems 16. Cambridge, Mass, USA: MIT Press; 2004. When does non-negative matrix factorization give a correct decomposition into parts? pp. 1141–1148. [Google Scholar]
  • 7.Plumbley M. Conditions for nonnegative independent component analysis. IEEE Signal Processing Letters. 2002;9(6):177–180. [Google Scholar]
  • 8.Rockafellar RT. Convex Analysis. 1st edition. Princeton, NJ, USA: Princeton University Press; 1970. [Google Scholar]
  • 9.Minc H. Nonnegative Matrices. 1st edition. New York, NY, USA: John Wiley & Sons; 1988. [Google Scholar]
  • 10.Golub GH, Loan CFV. Matrix Computations. 3rd edition. Baltimore, Md, USA: Johns Hopkins University Press; 1996. [Google Scholar]
  • 11.Smaragdis P, Brown J. Non-negative matrix factorization for polyphonic music transcription. In: Proceedings of the IEEE Workshop on Applications of Signal Processing to Audio and Acoustics (WASPAA '03); October 2003; New Paltz, NY, USA. pp. 177–180. [Google Scholar]
  • 12.Hoyer PO. Non-negative matrix factorization with sparseness constraints. The Journal of Machine Learning Research. 2004;5:1457–1469. [Google Scholar]
  • 13.Theis F, Stadlthanner K, Tanaka T. First results on uniqueness of sparse non-negative matrix factorization. In: Proceedings of the 13th European Signal Processing Conference (EUSIPCO '05); September 2005; Antalya, Turkey. [Google Scholar]
  • 14.Laurberg H, Hansen LK. On affine non-negative matrix factorization. In: Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP '07), vol. 2; April 2007; Honolulu, Hawii, USA. pp. 653–656. [Google Scholar]
  • 15.Schmidt MN, Larsen J, Hsiao F-T. Wind noise reduction using non-negative sparse coding. In: Proceedings of the IEEE Workshop on Machine Learning for Signal Processing (MLSP '07); August 2007; Thessaloniki, Greece. pp. 431–436. [Google Scholar]
  • 16.Deville Y. Temporal and time-frequency correlation-based blind source separation methods. In: Proceedings of the 4th International Symposium on Independent Component Analysis and Blind Signal Separation (ICA '03); April 2003; Nara, Japan. pp. 1059–1064. [Google Scholar]
  • 17.Apostol TM. Mathematical Analysis. 2nd edition. Reading, Mass, USA: Addison-Wesley; 1974. [Google Scholar]
  • 18.Laurberg H. Uniqueness of non-negative matrix factorization. In: Proceedings of the 14th IEEE/SP Workshop on Statistical Signal Processing (SSP '07); August 2007; Madison, Wis, USA. pp. 44–48. [Google Scholar]

Articles from Computational Intelligence and Neuroscience are provided here courtesy of Wiley

RESOURCES