Abstract
Texture recognition remains a challenging task in computer vision due to the need to capture repetitive, stochastic microstructures while maintaining statistical consistency. We present the Chebyshev Attention Depth Permutation Texture Network (CAPTN), an architecture designed to address information loss and inter-class confusion in texture analysis. CAPTN integrates a novel Stochastic Local Texture Masking (SLTM) strategy, learnable Chebyshev polynomials (LCP), and a multi-objective Latent Texture Attribute (LTA) loss. Our approach achieves state-of-the-art performance on major benchmarks, including GTOS-Mobile and DTD, even with frozen backbones, demonstrating superior parameter efficiency and discriminative power.
Introduction
Recognizing visual textures—such as "cracked mud" or "woven fabric"—differs fundamentally from object recognition. While objects are often defined by global shape, textures are characterized by repetitive microstructures. Traditional deep learning models often struggle with texture recognition due to three primary factors: the loss of fine-grained cues during successive pooling, high inter-class similarity, and a lack of spatial coherence in feature representations.
Methodology
The CAPTN framework introduces several architectural innovations to overcome these hurdles.
Stochastic Local Texture Masking (SLTM)
SLTM is a regularization technique applied during training where small patches of the input image are randomly masked. This forces the network to move beyond local pixel-level dependencies and learn broader spatial and contextual relationships within the texture.
The CAPTN Architecture
The core architecture consists of three specialized modules integrated into a pre-trained backbone.
- Texture Frequency Attention (TFA): This module identifies discriminative regions across multiple frequency scales, allowing the model to distinguish between subtle variations in contrast and edge density.
- Dual Depth Permutation (D2P): By shuffling feature channels, D2P exposes new spatial relationships and acts as an implicit regularizer, preventing the model from over-fitting to fixed feature layouts.
- Learnable Chebyshev Polynomials (LCP): CAPTN replaces standard linear layers or Radial Basis Functions (RBFs) with recursive Chebyshev polynomials. These provide a highly expressive, non-linear basis for modeling texture attributes with significantly fewer parameters.
Latent Texture Attribute (LTA) Loss
To ensure internal feature representations remain statistically aligned with the input, we employ a multi-objective LTA loss. This loss function optimizes for both classification accuracy and the spatial fidelity of "latent attributes," promoting better generalization.
Experiments and Results
CAPTN was evaluated on five major texture benchmarks: the Describable Texture Dataset (DTD), Flickr Material Dataset (FMD), KTH-TIPS2-b, and the Ground Terrain Outdoor Scene (GTOS/GTOS-Mobile) datasets.
Performance Highlights
- State-of-the-Art Accuracy: CAPTN consistently outperformed previous leaders like RADAM and GTN. On GTOS-Mobile, it achieved 95.1% accuracy, a substantial improvement over the previous ~90-93% range.
- Efficiency: The LCP-based model is highly efficient. On GTOS-M, it utilized only 9.60M parameters, compared to 14.22M for an RBF-based variant, while delivering superior performance.
- Robustness: The model maintains high accuracy even when using frozen backbones (e.g., ConvNeXt), indicating that the CAPTN modules are exceptionally effective at refining existing features for texture-specific tasks.
Discussion and Conclusion
A key insight from this work is the superiority of Chebyshev polynomials over RBFs for texture modeling. Their ability to capture "oscillatory" patterns common in textures provides a more robust global basis for feature transformation. Furthermore, the TFA module enhances interpretability by generating heat maps that highlight relevant texture curves while ignoring irrelevant backgrounds.
While highly effective, future work could address the potential inference latency introduced by these complex modules and explore the generalizability of LCP and TFA to non-texture tasks like general object detection. In conclusion, CAPTN represents a significant step forward in fine-grained texture recognition through its innovative use of polynomial modeling and spatial regularization.
Summary updated