Sparse Coding with Multi-Layer Decoders using Variance Regularization

Katrina Evtimova, Yann LeCun
12/16/2021
cs.CVcs.LG

Official code: kevtimova/deep-sparse (17 stars, Python, MIT, last commit 2022-01-13).

Abstract

Sparse representations of images are useful in many computer vision applications. Sparse coding with an $l_1$ penalty and a learned linear dictionary requires regularization of the dictionary to prevent a collapse in the $l_1$ norms of the codes.

Show full abstract

Typically, this regularization entails bounding the Euclidean norms of the dictionary's elements. In this work, we propose a novel sparse coding protocol which prevents a collapse in the codes without the need to regularize the decoder. Our method regularizes the codes directly so that each latent code component has variance greater than a fixed threshold over a set of sparse representations for a given set of inputs. Furthermore, we explore ways to effectively train sparse coding systems with multi-layer decoders since they can model more complex relationships than linear dictionaries. In our experiments with MNIST and natural image patches, we show that decoders learned with our approach have interpretable features both in the linear and multi-layer case. Moreover, we show that sparse autoencoders with multi-layer decoders trained using our variance regularization method produce higher quality reconstructions with sparser representations when compared to autoencoders with linear dictionaries. Additionally, sparse representations obtained with our variance regularization approach are useful in the downstream tasks of denoising and classification in the low-data regime.

View on arXivView PDF

Code Implementations(1)

MIT

We introduce a way to extend sparse dictionary learning to deep architectures.

176Python, ShellJan 12, 20224 years agoMIT
deep-learningdictionary-learningsparse-coding

Similar Papers

Cite this paper

@article{evtimova2021sparse,
  title  = {Sparse Coding with Multi-Layer Decoders using Variance Regularization},
  author = {Katrina Evtimova and Yann LeCun},
  year   = {2021},
  eprint = {2112.09214},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.09214}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2112.09214.svg)](https://codeofpaper.com/paper/2112.09214)

Discussion