{'fraction_non_alphanumeric': 0.015530047265361242, 'fraction_numerical': 0.0, 'mean_word_length': 5.798165137614679, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Designing Convolutional Neural Network Architecture by the Firefly Algorithm

This paper presents firefly algorithm framework for designing convolutional neural network architecture. Convolutional neural networks can be classified as a special category of deep neural networks that in most cases consist of several convolution, fully connected (dense) and pooling layers. Wide set of image classification tasks and problems from the computer vision domain were successfully tackled by convolutional neural networks. One of the most challenging tasks from this domain is to find the convolutional neural network architecture that obtains the best performance for the specific application. The values of network's hyper-parameters have significant influence on the overall network performance. Research shown in this paper deals with convolutional neural network hyper-parameters optimization that define the network's architecture and structure. The hyper-parameters that were taken into account for this research include the number of convolutional and dense layers, the number of kernels per layer and the kernel size. We performed hyper-parameters optimization by the well-known firefly algorithm that belongs to the group of swarm intelligence metaheuristis. Solution's quality, robustness and performance of our proposed framework was tested against the MNIST dataset. Obtained empirical results showed that the proposed framework achieves promising performance in this domain.