On The Potential of The Fractal Geometry and The CNNs Ability to Encode it

Julia El Zini,Bassel Musharrafieh,Mariette Awad
2024-01-07
Abstract:The fractal dimension provides a statistical index of object complexity by studying how the pattern changes with the measuring scale. Although useful in several classification tasks, the fractal dimension is under-explored in deep learning applications. In this work, we investigate the features that are learned by deep models and we study whether these deep networks are able to encode features as complex and high-level as the fractal dimensions. Specifically, we conduct a correlation analysis experiment to show that deep networks are not able to extract such a feature in none of their layers. We combine our analytical study with a human evaluation to investigate the differences between deep learning networks and models that operate on the fractal feature solely. Moreover, we show the effectiveness of fractal features in applications where the object structure is crucial for the classification task. We empirically show that training a shallow network on fractal features achieves performance comparable, even superior in specific cases, to that of deep networks trained on raw data while requiring less computational resources. Fractals improved the accuracy of the classification by 30% on average while requiring up to 84% less time to train. We couple our empirical study with a complexity analysis of the computational cost of extracting the proposed fractal features, and we study its limitation.
Machine Learning,Artificial Intelligence
What problem does this paper attempt to address?
The core problem that this paper attempts to solve is to explore whether deep - learning models (especially convolutional neural networks, CNNs) can encode fractal geometric features. Specifically, the author studies this problem in the following aspects: 1. **Extraction of Fractal Dimensions and Correlation Analysis**: - The author proposes a method for extracting fractal features from digital images and uses classic correlation analysis methods (such as CCA and CKA) to evaluate the similarity between these fractal features and the hidden - layer representations of deep - learning models. - Formula representation: \[ \text{Fractal Dimension (FD)}=\frac{\ln(N)}{\ln(1 / r)} \] where \( N \) is the number of self - similar segments and \( r \) is the magnification factor. 2. **Experimental Verification**: - The author conducts experiments on multiple datasets, including steel defect detection, potato and tomato disease detection, etc., to verify whether deep - learning models can encode fractal features at different levels. - The experimental results show that the fractal feature encoding ability of deep - learning models at all levels is very limited, indicating that these models are difficult to capture the complexity of fractal geometry. 3. **Comparison between Shallow Models and Deep - Learning Models**: - The author further trains a shallow neural network (ZFrac + NN) based on fractal features and compares it with deep - learning models. - The results show that in some specific tasks, the shallow model based on fractal features can not only be comparable to deep - learning models in performance, but even outperform the latter in some cases, while requiring fewer computational resources. 4. **Human Evaluation**: - To further verify the effectiveness of fractal features, the author also conducts human evaluation experiments and finds that the model based on fractal features behaves more reasonably in some mispredictions, which indicates that fractal features have unique advantages in some tasks. In conclusion, this paper aims to reveal the limitations of deep - learning models in encoding fractal geometric features and explore the potential of fractal features in specific classification tasks.