NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Texture Synthesis Using Shallow Convolutional Networks with Random Filters

Ivan Ustyuzhaninov, Wieland Brendel, Leon A. Gatys, Matthias BethgearXiv 2016

Abstract

This paper demonstrates that the feature space of random shallow convolutional neural networks (CNNs) provides a robust model for natural texture synthesis. Contrary to the prevailing belief that deep, pre-trained hierarchies (such as VGG-19) are necessary, we show that a single convolutional layer with random, multi-scale filters can capture complex spatial correlations. Our findings suggest that the statistical framework—specifically the Gram matrix of feature activations—is the primary driver of successful texture modeling, rather than learned hierarchical features.

Introduction

State-of-the-art parametric texture synthesis has largely relied on deep CNNs trained on large-scale datasets like ImageNet. The assumption was that the hierarchical representations developed for object recognition were essential for capturing the essence of natural textures. This study investigates whether such complexity is required by replacing deep, trained networks with shallow architectures utilizing random filters.

Methodology

The proposed model utilizes a single-layer CNN. To address the need for capturing structures at various scales, we introduce a Random-Multiscale approach. This layer incorporates filters of varying sizes, ranging from 3x3 to 55x55 pixels, allowing the network to simultaneously process local details and global patterns.

The synthesis process relies on matching the Gram matrix of a white noise image to that of a target texture. The Gram matrix represents the correlations between different feature activations across the spatial dimensions of the image. Optimization is performed using the L-BFGS-B algorithm, with specific attention paid to gradient scaling to ensure convergence.

Similarity matrix for the Random-Multiscale model across ten texture classes.

As shown in the similarity matrix above, the feature space generated by random multi-scale filters effectively discriminates between different texture classes, with high self-similarity observed along the diagonal (representing patches from the same texture).

Results and Discussion

The Random-Multiscale model produces textures that are often perceptually indistinguishable from those generated by deep VGG models. Quantitative analysis confirms that the random feature space clusters texture patches as effectively as trained networks.

Notably, for textures with regular geometric structures, such as brick walls, the shallow random model can even surpass the perceptual quality of deeper models by better preserving global regularity. This suggests that the depth of a network often serves as a proxy for the spatial scale of the filters, which can be directly addressed in a shallow network through multi-scale filter banks.

Example of a structured texture (brick wall) effectively modeled by the proposed architecture.

Conclusion

Our results indicate that deep, supervised learning is not a prerequisite for high-quality texture synthesis. A shallow network with random, multi-scale filters, coupled with a Gram-matrix-based statistical description, is sufficient to model a wide range of natural and man-made textures. This simplifies the conceptual requirements for texture modeling and highlights the importance of multi-scale spatial correlations over learned feature hierarchies.

Summary updated

BibTeX
@misc{ustyuzhaninov2016texture,
  author = {Ivan Ustyuzhaninov and Wieland Brendel and Leon A. Gatys and Matthias Bethge},
  title = {{Texture Synthesis Using Shallow Convolutional Networks with Random Filters}},
  year = {2016},
  eprint = {1606.00021},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1606.00021},
}
Figure