1
$\begingroup$

Both are data adaptive (unlike something like DCT), both can sparsely approximate data (KLT by truncation, dictionary learning by L1 sparsity), yet they different pretty significantly in its implementation.

In (discrete) KLT, PCA + truncation is performed on the expected covariance matrix. In sparse dictionary learning, an alternating optimization scheme is used to approximately solve the problem. In encoding, KLT is just a linear transform but for dictionary learning you solve sparse coding.

What tradeoffs do I make by choosing to use one over the other? Are there types of problems where one is more suitable than the other? Thanks!

$\endgroup$
0

1 Answer 1

1
$\begingroup$

KLT is basically PCA in infinite-dimensions and PCA learns an "orthogonal dictionary". If the dimension of the space is $d$ (in the case of finite-dimensional PCA), then you can have at most $d$ orthogonal vectors, i.e., the size of the dictionary is at most $d$.

Dictionary learning dispenses with the orthogonality assumption in favor of obtaining sparser representations for most vectors/signals of interest. You usually work with an overcomplete dictionary, one whose number of elements is larger (or much larger) than the dimension $d$ of the space.

$\endgroup$
1
  • $\begingroup$ I’m still a bit confused because functionally both seem to be doing the same thing. In the end of the day, you have a compressed (sparse) representation with both- PCA gives a vector with dimensions < d and sparse dictionary gives you a vector with L0 norm hopefully < d. One difference I guess I see is that the sparsity in dictionary learning is adaptive, whereas it’s fixed in PCA. Does this mean dictionary learning is theoretically more optimal in terms of data compression? $\endgroup$
    – takikawa
    Commented Jul 10, 2021 at 19:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.