Abstract
We propose a Deep Texture Encoding Network (Deep-TEN) with a novel Encoding Layer integrated on top of convolutional layers, which ports the entire dictionary learning and encoding pipeline into a single model. Current methods build from distinct components, using standard encoders with separate off-the-shelf features such as SIFT descriptors or pre-trained CNN features for material recognition. Our new approach provides an end-to-end learning framework, where the inherent visual vocabularies are learned directly from the loss function. The features, dictionaries, encoding representation and the classifier are all learned simultaneously. The representation is orderless and therefore is particularly useful for material and texture recognition. The Encoding Layer generalizes robust residual encoders such as VLAD and Fisher Vectors, and has the property of discarding domain specific information which makes the learned convolutional features easier to transfer. Additionally, joint training using multiple datasets of varied sizes and class labels is supported resulting in increased recognition performance. The experimental results show superior performance as compared to state-of-the-art methods using gold-standard databases such as MINC-2500, Flickr Material Database, KTH-TIPS-2b, and two recent databases 4D-Light-Field-Material and GTOS.
Introduction
Standard Convolutional Neural Networks (CNNs) excel at object recognition by leveraging the spatial arrangement of features. However, texture and material recognition present a unique challenge: they are inherently "orderless." A patch of granite or a brick wall is defined by the statistical distribution of patterns rather than a fixed global geometry.
Traditionally, this was addressed using modular pipelines involving manual feature extraction (e.g., SIFT), unsupervised dictionary learning (e.g., K-means), and separate encoding steps (e.g., VLAD or Fisher Vectors) before classification. The primary drawback of these "off-the-shelf" methods is the lack of integration; the dictionary and features are not optimized for the final classification task. Deep TEN bridges this gap by integrating the entire process into a single, end-to-end trainable network.
The Encoding Layer
The core innovation of Deep TEN is the Encoding Layer, which serves as a sophisticated pooling mechanism on top of convolutional features. Unlike standard global average pooling, this layer performs dictionary learning and residual encoding within the network.
Architecture and Mechanism
The layer treats codewords as learnable parameters updated via backpropagation. For each visual descriptor produced by the CNN, the layer calculates a "residual"—the difference between the descriptor and the nearest codewords. These residuals are weighted by an assignment strength and aggregated into a final representation.
Key technical aspects include:
- Soft-Assignment: To ensure differentiability, Deep TEN uses soft-assignment with learnable smoothing factors ($s_k$), allowing the model to handle codeword ambiguity.
- Backbone Integration: The authors typically utilize a ResNet-50 backbone, replacing the final pooling and fully connected layers with the Encoding Layer.
Experimental Results
Deep TEN was evaluated across multiple benchmarks, including MINC-2500, the Flickr Material Database (FMD), and Ground Terrain in Outdoor Scenes (GTOS).
Performance Benchmarks
The model established new state-of-the-art (SoA) results:
- MINC-2500: Achieved 81.3% accuracy, surpassing the previous SoA of 76.0%.
- KTH-TIPS-2b: Reached 84.5% accuracy.
- Joint Training: By training on CIFAR-10 and STL-10 simultaneously, the model achieved 87.11% on STL-10, a massive improvement over the previous 74.33%.
Efficiency and Flexibility
Despite its architectural complexity, Deep TEN is highly efficient, achieving inference speeds of 290 frames per second on a Titan X GPU. Furthermore, because the Encoding Layer is a pooling mechanism, it supports images of any resolution. The authors noted that multi-size training significantly accelerates convergence and improves final accuracy.
Conclusion
Deep TEN demonstrates that porting classic dictionary learning into an end-to-end deep learning framework significantly improves material and texture recognition. By discarding rigid spatial information in favor of robust residual encoding, the model learns features that are more discriminative and easier to transfer across domains. Future work may extend this orderless encoding to video analysis and domain adaptation tasks where local statistical patterns outweigh global structure.
Summary updated