Dictionary-based LRA#
Reference
[Cohen and Gillis, 2018] J. E. Cohen, N. Gillis, “Dictionary-based Tensor Canonical Polyadic Decomposition”, IEEE Transactions on Signal Processing, vol.66 issue 7, pp. 1876-1889 2018. pdf
[Cohen and Gillis, 2018] J. E. Cohen, N. Gillis, “Spectral Unmixing with Multiple Dictionaries”, IEEE Geoscience and Remote Sensing Letters, vol.15 issue 2, pp. 187-191, 2018. pdf
[Cohen, 2022] J. E. Cohen, “Dictionary-based low-rank approximation and the mixed sparse coding problem”, Frontiers in Applied Mathematics and Statistics, 2022. frontiers arxiv codes
[Cohen, 2020] J. E. Cohen, “Computing the proximal operator of the l1 induced matrix norm”, arxiv 2005.06804, 2020
Note: the publication in the Frontiers journal was in a special issue with editors that I know and trust, with the intention to start a new journal dedicated to tensors. The review process was comparable to that of a medium-level publication venue. I would not repeat the experiment, and the editors have since stopped collaboration with Frontiers.
When decomposing matrices and tensors, a reasonable assumption is that the factor matrices, although unknown, are generated from a known set of templates. Let us provide two typical examples using a simple matrix factorization $Y = AB^T.
Factors contain smooth components, say the first factor matrix \(A\). A simple way to account for smoothness in a decomposition is to fix a set of smooth splines stored as columns of a dictionary matrix \(D\), and assume that each component writes as a parsimonious sum of these splines. Each column of factor \(A\) then writes \(A=DX\) with \(\|X[:,i]\|_0\leq k\) for each atom \(i\), where the integer \(k\) is the number of smooth splines that can add up to build each component.
The components are contained in a large dictionary \(D\), but it is not known which column of \(D\in\mathbb{R}^{m\times d}\) must be picked exactly. This can be challenging, in particular when the number of atoms \(d\) is much larger than the decomposition rank \(r\). Again in the case of factor matrix \(A\), this translates into a relationship \(A[:,i]=D[:,\sigma_i]\) for all column index \(i\), where \(\sigma\) is an injection of \([1,d]\) into \([1,r]\). Equivalently, one may write \(A=DX\) with \(\|X[:,i]\|_0=1\) for all atoms \(i\) and \(X\in\{0,1\}^{m\times d}\). This may happen in applications such as spectral unmixing, where the components in the spectral mode represent reflectance spectra that are typically known, whereas the components present in the data may be unknown. The decomposition problem is to unmix the sources and identify their components using the known spectral signatures stored in the dictionary.
An optimization problem that formalizes both these problems, using the Frobenius norm as a metric, writes
where \(k\) is the known sparsity level of columns of the matrix \(X\). The matrix \(B\) lives in a set \(\Omega_B\) that we may adapt so that the above problem covers both tensor decompositions and matrix decompositions. For instance, by imposing that \(B\) is the Khatri-Rao product of two factor matrices, in the case of order-three CP decomposition. Similarly, the constraint set \(\Omega_X\) is used to impose additional constraints on the matrix \(X\), such as elementwise nonnegativity. This problem is referred to as the Dictionary-based Low-Rank Approximation (DLRA) in the following.
One may observe that this minimization problem, in general, is difficult. It is a generalization of sparse coding, which is obtained when \(B\) is set to the identity and \(r=1\); therefore DLRA is NP-hard. Moreover, it generalizes matrix factorization problems such as NMF when \(D\) is the identity, \(k=m\), and the constraint sets are the nonnegative orthants. Even if we know the support of the solution \(X\), one still needs to estimate both the nonzeros in \(X\) and the right-hand-side matrix \(B\), which is challenging [Zheng et al., 2023].
Therefore, to better understand the nature of the solutions to DLRA and to design efficient heuristics to solve this problem, we have studied three particular cases in three different publications:
The special case of 1-sparse DLRA when \(k=1\) [Cohen and Gillis, 2018]
The subproblem of estimating factor matrix \(X\) with fixed \(B\) [Cohen, 2022], and its usage in solving the DLRA problem with alternating optimization.
A third contribution [Cohen and Gillis, 2018] has also been proposed in the context of spectral unmixing under the pure pixels assumption.
These first two problems are studied in the following subsections. Python packages for running experiments are located in two dedicated repositories: dlra and dlraos-essentials.