Introduction
Texture recognition is a fundamental task in computer vision, distinguishing materials like pebbles, fabric, or grass. While Convolutional Neural Networks (CNNs) have revolutionized object recognition, they often struggle with textures. Standard CNN architectures, particularly their fully-connected layers, are highly sensitive to the spatial coordinates of features. To mitigate this, researchers typically employ feature aggregation techniques like Global Average Pooling (GAP) to achieve spatial invariance. However, such simple averaging often discards the fine-grained discriminative details necessary to differentiate visually similar textures.
This research introduces CLASSNet, a novel approach that views the progression of features through a neural network as a dynamic process. By leveraging fractal geometry—specifically Statistical Self-Similarity (SSS)—the model captures how texture representations evolve across different network layers, creating a highly discriminative and rotation-invariant descriptor.
Methodology: The CLASS Module
The core innovation is the Cross-Layer Aggregation of Statistical Self-similarity (CLASS) module. Unlike traditional methods that analyze features within a single layer, CLASS exploits the relationship between features at multiple depths.
Architecture and DBC Pooling
The CLASS module operates in several stages:
- Cross-Layer Stacking: Feature maps from multiple Residual Blocks (RBs) are resized and stacked along the channel dimension to form a 3D tensor.
- Differential Box-Counting (DBC) Pooling: To quantify SSS, the authors adapt Differential Box-Counting from fractal geometry. The 3D feature tensor is treated as a "surface," and the module calculates the number of "boxes" required to cover this surface at varying scales. This captures the complexity and scaling properties of the texture as it is processed by the network.
- Soft Histograms: The resulting fractal dimensions are aggregated into a "soft histogram" using a learnable softmax-based approach, ensuring a fixed-size descriptor regardless of input resolution.
The implementation of DBC is optimized for modern hardware, utilizing standard 3D max/min pooling operations. This ensures the module is end-to-end trainable and computationally efficient on GPUs.
Datasets and Evaluation
The efficacy of CLASSNet was evaluated across six challenging texture benchmarks, representing a wide array of real-world materials and conditions.
The datasets included:
- GTOS & GTOS-Mobile: Outdoor ground terrain materials.
- MINC-2500: Materials in various contexts (e.g., wood, glass).
- DTD: The Describable Texture Dataset, focusing on human-centric attributes like "bumpy" or "zigzagged."
- KTH-TIPS2b: Material samples under diverse illumination and scales.
- FMD: The Flickr Material Dataset.
Key Results and Insights
CLASSNet achieves state-of-the-art (SOTA) performance across nearly all tested benchmarks. Notably, when integrated with a ResNet18 backbone, the model showed significant accuracy gains—over 3% on the KTH and GTOS datasets compared to previous leading methods. On the GTOS-Mobile dataset, which is characterized by severe real-world distortions, CLASSNet reached 85.25% accuracy.
A key finding is that the performance boost is most pronounced on "lighter" backbones like ResNet18. This suggests that the CLASS module is an exceptionally efficient way to enhance the representational power of smaller models without a massive increase in parameters (adding only ~0.04M parameters to ResNet18). Ablation studies further confirmed that cross-layer information is significantly more informative than in-layer aggregation alone.
Conclusion and Future Work
By bridging fractal geometry with deep learning, CLASSNet provides a robust framework for texture analysis. While highly effective, the authors noted diminishing returns when applying the module to much deeper networks like ResNet50, suggesting that the current fixed-channel stacking might not fully exploit extreme depth. Future research may explore the application of Cross-Layer SSS to other vision tasks, such as fine-grained object recognition or scene understanding, where multi-scale structural information is critical.
Summary updated