The problem
Recovering A from M is an instance of a problem studied independently of topic models: non-negative matrix factorization 57:17.
- Input: matrix
M ∈ R^{n×m}57:17. - Output:
A ∈ R^{n×k}andW ∈ R^{k×m}with non-negative entries such thatM = A·W58:07.
Why non-negativity is the binding constraint
- It is required because
Ais the topic matrix and its entries are probabilities; same forW58:07,59:09. - The normalization constraint (columns summing to 1) is without loss of generality — if
Mis normalized,AandWcan always be rescaled to match, so it is not the difficulty59:09,59:33. - Without non-negativity the problem is routine: factoring
Minto two smaller matrices is just rank decomposition — setk= rank(M), and find it via singular value decomposition (SVD)59:33,59:57. - SVD does not produce non-negative factors, and without non-negativity the parameters cannot be interpreted as probabilities
59:57,1:00:19.
The hardness result
NMF is NP-hard — a result attributed in the lecture to Vavasis 1:00:19.