Generalized rectifier wavelet covariance models for texture synthesis

Antoine Brochard, Sixin Zhang, Stéphane Mallat

This paper, presented at ICLR 2022, offers a compelling bridge between classical signal processing and modern deep learning for the task of texture synthesis. By revisiting the "rectifier" non-linearity through the lens of wavelet transforms, the authors provide a more interpretable and efficient way to generate high-quality natural textures.

TL;DR

The authors introduce a new family of texture models based on "generalized rectifier" wavelet statistics that bridge the gap between classical wavelet models and deep Convolutional Neural Networks (CNNs). Their approach achieves state-of-the-art visual quality with significantly fewer parameters and greater mathematical interpretability than standard deep learning models.

What Problem Does This Paper Address?

Texture synthesis is the art of taking a small sample image and generating a new, larger image that looks like it came from the same source. Historically, this has been approached using "maximum entropy models": you calculate a set of statistics from the original image and then try to create a new image that shares those exact statistics.

The field has faced a persistent divide:

  1. Classical Models (e.g., Portilla & Simoncelli - PS): These use wavelets to capture structures like edges at different scales. They are mathematically elegant and interpretable but often fail to reproduce complex, "curvy," or long-range geometric patterns found in nature.
  2. Modern CNN Models (e.g., Gatys et al. using VGG): These use the internal features of deep neural networks. They produce stunningly realistic results but are "black boxes"—it’s hard to know exactly which statistics are doing the heavy lifting—and they often rely on hundreds of thousands of parameters.
Comparison of classical (PS) and modern (VGG, RF) texture synthesis models.

The authors aim to find the "minimal set" of statistics that can capture natural geometry without the overhead or opacity of a deep pre-trained CNN.

Methods

The core innovation is the Generalized Rectifier Wavelet Covariance model (ALPHA).

  • The Representation: Instead of using a deep network, the authors use a single-layer "CNN" where the filters are pre-defined Morlet wavelets (which detect orientation and scale).
  • The Non-linearity: They apply a "generalized rectifier" to the wavelet coefficients: $\rho_\alpha(z) = \max(0, \text{Real}(e^{i\alpha}z))$. By varying the phase shift $\alpha$, they can capture complex phase dependencies between different scales and orientations.
  • The Statistics: The model calculates the covariance (correlations) between these rectified coefficients across different scales, orientations, and spatial shifts ($\tau$).
  • Synthesis: To generate a texture, they start with white noise and use the L-BFGS optimization algorithm to iteratively tweak the pixels until the image's statistics match those of the target observation.

The authors test three versions: ALPHA_S (small), ALPHA_I (intermediate), and ALPHA_L (large), to study the trade-off between visual quality and the risk of "memorizing" the original image.

Visual comparison of ALPHA_S, ALPHA_I, and ALPHA_L models.

Datasets

The authors evaluated their model on a diverse set of textures, including:

  • Natural Textures: Radishes, cherries, tree bark, and pebbles.
  • Structured Patterns: Bricks, honeycombs, and tiles.
  • Physical Simulations: A stationary turbulent field (vorticity) generated from Navier-Stokes equations.
  • Artistic/Non-stationary images: Van Gogh’s Starry Night and various logos.

Key Insights and Ideas

  • The Duality of Rectifiers: The authors show that the common ReLU (Rectified Linear Unit) used in CNNs is mathematically linked to "phase harmonics." This explains why CNNs are so good at capturing geometry: they are implicitly capturing the phase alignments that define edges and shapes.
  • Spatial Shifts are Crucial: A key reason classical models failed on patterns like "aligned tiles" was a lack of long-range spatial correlations. By introducing the shift parameter $\tau$, the ALPHA model captures these global structures effectively.
  • Interpretability vs. Performance: Because the model uses wavelets, we can pinpoint exactly which scales and orientations are contributing to the synthesis. This is a significant step up from VGG-based models where the "features" are learned and often uninterpretable.
  • The Memorization Trap: As seen in the figure above (red circles), if you use too many statistics (like in the ALPHA_L model), the optimization doesn't "learn" the texture; it simply "memorizes" and copies exact patches of the original image.

Key Results

  • Visual Parity: The intermediate model (ALPHA_I) produces syntheses that are visually indistinguishable from state-of-the-art VGG models for most textures.
  • Efficiency: For gray-scale images, the ALPHA_I model uses roughly 15 times fewer statistics than the "Random Filter" (RF) CNN models while achieving better results on complex flows like turbulence.
  • Color Compression: Their "Reduced ALPHA_C" model for color textures maintains high visual quality while using 3x fewer coefficients (~113k) than the full version.
  • Superiority over PS: It consistently outperforms the classical Portilla & Simoncelli (PS) model, especially in reproducing the "sharpness" and connectivity of geometric contours.

Limitations and Future Work

  • Object-Level Failure: Like most statistical texture models, ALPHA still struggles with "object-level" synthesis. For example, in an image of flowers, it might reproduce the colors and petal textures perfectly but fail to assemble them into a coherent, anatomically correct flower.
  • Deepening the Architecture: The authors suggest that adding a second layer of wavelet transforms (similar to a Scattering Transform) might be necessary to capture higher-level semantic structures.
  • The Perception Gap: The paper notes that standard quantitative metrics (like VGG loss) don't always align with human vision. Developing a truly robust, objective metric for "texture quality" remains an open challenge for the field.

Summary updated

BibTeX
@inproceedings{brochard2022generalized,
  author = {Antoine Brochard and Sixin Zhang and Stéphane Mallat},
  title = {{Generalized rectifier wavelet covariance models for texture synthesis}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=ziRLU3Y2PN_},
}
Figure