Sparse Image Representation with Epitomes

Louise Benoît, Julien Mairal, Francis R. Bach, Jean PonceCVPR 2011 · DOI

Abstract

Sparse coding, which is the decomposition of a vector using only a few basis elements, is widely used in machine learning and image processing. The basis set, also called dictionary, is learned to adapt to specific data. This approach has proven to be very effective in many image processing tasks. Traditionally, the dictionary is an unstructured “flat” set of atoms. In this paper, we study structured dictionaries which are obtained from an epitome, or a set of epitomes. The epitome is itself a small image, and the atoms are all the patches of a chosen size inside this image. This considerably reduces the number of parameters to learn and provides sparse image decompositions with shift-invariance properties. We propose a new formulation and an algorithm for learning the structured dictionaries associated with epitomes, and illustrate their use in image de-noising tasks.

Introduction

This paper bridges the gap between two powerful image processing concepts: sparse coding and epitomes. By learning a "structured dictionary" extracted from a small summary image (the epitome) rather than an unstructured set of patches, the authors create a more parameter-efficient representation that naturally handles shift invariance and improves image denoising performance.

The Problem: Unstructured Dictionaries

In classical sparse coding, an image patch is represented as a linear combination of a few "atoms" from a dictionary. Usually, this dictionary is "flat"—an unstructured collection of patches. While effective, this approach has two main drawbacks:

  1. High Parameter Count: Every pixel of every atom must be stored and learned independently.
  2. Lack of Spatial Context: Flat dictionaries do not inherently understand that a pattern shifted by one pixel is essentially the same thing.
Comparison of a traditional flat dictionary (left) and a structured epitomic dictionary (right).

To address these issues, the authors look toward epitomes—small images that contain all the "essential" patches of a larger image. The challenge was that previous epitome models were probabilistic and difficult to integrate into modern, convex-optimization-heavy sparse coding. This paper provides the mathematical framework to unify these two worlds.

Proposed Methods

The core contribution is a new optimization formulation that allows for learning dictionaries constrained to be "epitomic."

The Epitomic Constraint

Instead of letting the dictionary $D$ be arbitrary, it is defined as the output of a linear operator $\phi$ that extracts all overlapping patches from a small image $E$ (the epitome). To handle overlapping patches with different norms, the authors introduce a weighted $\ell_1$ penalty where weights depend on the norms of the dictionary atoms.

Optimization and Multi-Scale Learning

The authors employ a block-coordinate descent approach. First, they fix the dictionary and find sparse coefficients using the LARS algorithm. Then, they fix the coefficients and update the epitome using FISTA (Fast Iterative Shrinkage-Thresholding Algorithm).

The multi-scale learning algorithm for epitomes.

To avoid local minima, they implement a multi-scale learning strategy: starting on a downsampled image and upscaling the resulting epitome to initialize the next level. They also explore a multi-epitome extension, where a collection of smaller epitomes provides a middle ground between a single epitome and a traditional flat dictionary.

Key Insights

  • Shift Invariance: Because an epitome contains all overlapping patches, the dictionary automatically includes every possible pixel-shift of a pattern, making it robust to small translations.
  • Parameter Efficiency: A flat dictionary with 1,000 atoms ($10\times10$ pixels) requires 100,000 parameters. An equivalent epitome might only require a few thousand pixels.
  • Redundancy as Strength: Overlapping atoms within the epitome create a "continuity" between dictionary elements that flat dictionaries lack.
  • Multi-Epitome Flexibility: Using several small epitomes (e.g., 20 epitomes of $7\times7$ pixels) often outperforms one large epitome by better representing diverse textures.

Results and Performance

The method was evaluated on standard image processing benchmarks (House, Peppers, Cameraman, Lena, Boat, Barbara) for image denoising across noise levels ($\sigma = 10$ to $50$).

  • Competitive Performance: The "Improved Epitome" (IE) model consistently outperformed original epitome models and the Image Signature Dictionary (ISD).
  • PSNR Gains: On the Barbara image (noise level 20), the IE method achieved a PSNR of 30.69 dB, compared to 28.55 dB for traditional epitomes and 30.33 dB for a single large epitome.
  • State-of-the-Art Context: While competitive with K-SVD, it did not reach the performance of specialized tools like BM3D or LSSC. However, the goal was to provide a fundamental new representation rather than a specialized denoising tool.

Conclusion

While the multi-scale approach helps, the non-convex optimization remains sensitive to initialization. Additionally, the projection step adds some computational overhead. Future work could extend this framework to video (spatio-temporal epitomes) and high-level tasks like object recognition, where shift invariance is a significant advantage.

Summary updated

BibTeX
@inproceedings{benoit2011sparse,
  author = {Louise Benoît and Julien Mairal and Francis R. Bach and Jean Ponce},
  title = {{Sparse Image Representation with Epitomes}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2011},
  doi = {10.1109/cvpr.2011.5995636},
}
Figure