Abstract
Deep Convolutional Neural Networks (CNNs) have achieved remarkable success in image recognition, yet their internal representation of textures remains less understood. This paper investigates Bilinear CNNs (B-CNNs) as a robust framework for texture description. By leveraging orderless pooling, B-CNNs achieve inherent translational invariance. We demonstrate techniques for inverting these representations to visualize categorical features and introduce a hybrid synthesis method that combines neural gradients with image quilting for improved efficiency and quality.
Introduction
Traditional texture analysis has historically relied on hand-crafted features like SIFT or Fisher Vectors. While standard CNNs have superseded these in many tasks, they often act as "black boxes" regarding their internal logic. This research explores whether Bilinear CNNs—which compute the outer product of convolutional features—can serve as a unified, interpretable framework for recognizing, visualizing, and manipulating textures.
The Bilinear CNN Framework
The core of this approach is the Bilinear CNN (B-CNN). Unlike standard architectures that use spatial pooling, a B-CNN takes features from a convolutional layer and computes their location-wise outer product. These products are then averaged across the image to create a "Gram matrix" representation. This method effectively captures second-order statistics while discarding spatial information, making the descriptor translationally invariant by design. This architectural choice allows B-CNNs to outperform standard CNNs even when the latter are trained with extensive data augmentation.
Visualization and Synthesis
To understand what the model captures, the authors "invert" the representation. Starting from random noise, gradient descent is used to find an image that maximizes the activation for a specific texture category.
The visualizations reveal that while lower layers focus on color and fine strokes, higher layers capture complex, repetitive structures characteristic of specific categories, such as the shelves in a "bookstore" or the machines in a "laundromat."
To improve synthesis speed and quality, the authors propose a hybrid synthesis method. Purely gradient-based methods are often slow and prone to artifacts. By initializing the process with image quilting—a non-parametric technique that stitches real image patches—and then refining the result with CNN gradients, the authors achieve faster convergence and cleaner local structures, effectively removing the "seams" typical of patch-based methods.
Experimental Results
The B-CNN approach was evaluated on several benchmarks, including the Describable Texture Dataset (DTD), Flickr Material Dataset (FMD), and MIT Indoor scenes.
- Performance: B-CNNs consistently matched or outperformed the previous state-of-the-art Fisher Vector CNNs (FV-CNN) across all texture and scene datasets.
- Scene Recognition: On the MIT Indoor dataset, a fine-tuned B-CNN achieved 73.8% accuracy, demonstrating its utility for "orderless" scene categories that behave like textures.
- Efficiency: On ImageNet, a B-CNN achieved a 38.7% top-1 error with only simple flip augmentation, outperforming a standard VGG-M model (39.6%) that required much more extensive spatial jittering.
Conclusion
Bilinear CNNs provide a powerful and interpretable means of representing textures. Their inherent translational invariance and the ability to visualize their internal features bridge the gap between "black box" deep learning and classical texture theory. While the optimization process for inversion remains computationally intensive, the hybrid synthesis approach offers a promising path toward efficient, high-quality texture generation and semantic image editing.
Summary updated