[Paper Review] Random depthwise signed convolutional neural networks.
This paper proposes a random depthwise signed convolutional neural network that uses random convolutional blocks and global average pooling to generate a k-dimensional feature space for image classification and retrieval. It achieves high accuracy—near 90% top-2 on CIFAR10 and mini-ImageNet—comparable to trained networks, even with random weights and no backpropagation.
We propose a random convolutional neural network to generate a feature space in which we study image classification and retrieval performance. Put briefly we apply random convolutional blocks followed by global average pooling to generate a new feature, and we repeat this k times to produce a k-dimensional feature space. This can be interpreted as partitioning the space of image patches with random hyperplanes which we formalize as a random depthwise convolutional neural network. In the network's final layer we perform image classification and retrieval with the linear support vector machine and k-nearest neighbor classifiers and study other empirical properties. We show that the ratio of image pixel distribution similarity across classes to within classes is higher in our network's final layer compared to the input space. When we apply the linear support vector machine for image classification we see that the accuracy is higher than if we were to train just the final layer of VGG16, ResNet18, and DenseNet40 with random weights. In the same setting we compare it to an unsupervised feature learning method and find our accuracy to be comparable on CIFAR10 but higher on CIFAR100 and STL10. We see that the accuracy is not far behind that of trained networks, particularly in the top-k setting. For example the top-2 accuracy of our network is near 90% on both CIFAR10 and a 10-class mini ImageNet, and 85% on STL10. We find that k-nearest neighbor gives a comparable precision on the Corel Princeton Image Similarity Benchmark than if we were to use the final layer of trained networks. As with other networks we find that our network fails to a black box attack even though we lack a gradient and use the sign activation. We highlight sensitivity of our network to background as a potential pitfall and an advantage. Overall our work pushes the boundary of what can be achieved with random weights.
Motivation & Objective
- To explore whether random convolutional networks with signed activations can generate effective feature representations without training.
- To evaluate the performance of such a network on image classification and retrieval tasks using linear classifiers.
- To compare the proposed method against trained models and unsupervised feature learning methods on standard benchmarks.
- To analyze the robustness of the network to adversarial attacks despite the absence of gradients.
- To investigate the sensitivity of the network to image background as a potential advantage or limitation.
Proposed method
- The method applies random depthwise convolutional blocks followed by ReLU and sign activation to extract features from image patches.
- Global average pooling is applied to each random block's output to produce a single feature vector per block.
- This process is repeated k times to generate a k-dimensional feature space, effectively partitioning the image patch space with random hyperplanes.
- The final feature representation is used with linear support vector machines (SVM) for classification and k-nearest neighbor (k-NN) for retrieval.
- The network uses no backpropagation or learned weights; all layers are randomly initialized and fixed.
- The sign activation function is used to enforce sparsity and improve robustness, even though gradients are not available.
Experimental results
Research questions
- RQ1Can a random depthwise signed convolutional network generate discriminative feature representations without any training?
- RQ2How does the performance of this random network compare to fine-tuned models like VGG16, ResNet18, and DenseNet40 on image classification?
- RQ3Does the proposed method achieve competitive accuracy on both small-scale (CIFAR10) and larger-scale (mini-ImageNet) benchmarks?
- RQ4How does the network perform on image retrieval tasks compared to features from trained networks?
- RQ5Is the network robust to adversarial attacks despite the absence of gradients and use of sign activation?
Key findings
- The ratio of inter-class to intra-class image pixel distribution similarity is higher in the final layer than in the input space, indicating better class separation.
- The random network achieves top-2 accuracy of nearly 90% on both CIFAR10 and a 10-class mini-ImageNet, approaching performance of trained models.
- On STL10, the top-2 accuracy reaches 85%, demonstrating strong generalization on more complex data.
- The network's performance on the Corel Princeton Image Similarity Benchmark with k-NN is comparable to that of features extracted from the final layer of trained networks.
- Despite having no gradients and using sign activation, the network remains robust to black-box adversarial attacks.
- The network shows sensitivity to background, which may be a limitation but also a potential advantage depending on the application context.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.