HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

SpinalNet: Deep Neural Network with Gradual Input

H M Dipu Kabir; Moloud Abdar; Seyed Mohammad Jafar Jalali; Abbas Khosravi; Amir F Atiya; Saeid Nahavandi; Dipti Srinivasan

SpinalNet: Deep Neural Network with Gradual Input

Abstract

Deep neural networks (DNNs) have achieved the state of the art performance in numerous fields. However, DNNs need high computation times, and people always expect better performance in a lower computation. Therefore, we study the human somatosensory system and design a neural network (SpinalNet) to achieve higher accuracy with fewer computations. Hidden layers in traditional NNs receive inputs in the previous layer, apply activation function, and then transfer the outcomes to the next layer. In the proposed SpinalNet, each layer is split into three splits: 1) input split, 2) intermediate split, and 3) output split. Input split of each layer receives a part of the inputs. The intermediate split of each layer receives outputs of the intermediate split of the previous layer and outputs of the input split of the current layer. The number of incoming weights becomes significantly lower than traditional DNNs. The SpinalNet can also be used as the fully connected or classification layer of DNN and supports both traditional learning and transfer learning. We observe significant error reductions with lower computational costs in most of the DNNs. Traditional learning on the VGG-5 network with SpinalNet classification layers provided the state-of-the-art (SOTA) performance on QMNIST, Kuzushiji-MNIST, EMNIST (Letters, Digits, and Balanced) datasets. Traditional learning with ImageNet pre-trained initial weights and SpinalNet classification layers provided the SOTA performance on STL-10, Fruits 360, Bird225, and Caltech-101 datasets. The scripts of the proposed SpinalNet are available at the following link: https://github.com/dipuk0506/SpinalNet

Code Repositories

Mechachleopteryx/SpinalNet
pytorch
Mentioned in GitHub
dipuk0506/SpinalNet
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
fine-grained-image-classification-on-bird-225VGG-19bn (Spinal FC)
Accuracy: 99.02
fine-grained-image-classification-on-bird-225VGG-19bn
Accuracy: 98.67
fine-grained-image-classification-on-caltechWide-ResNet-101 (Spinal FC)
Accuracy: 97.32
Top-1 Error Rate: 2.68%
fine-grained-image-classification-on-caltechWide-ResNet-101
Top-1 Error Rate: 2.89%
fine-grained-image-classification-on-caltechVGG-19bn (Spinal FC)
Top-1 Error Rate: 6.84%
fine-grained-image-classification-on-fruitsVGG-19bn
Accuracy (%): 99.90
fine-grained-image-classification-on-oxfordWide-ResNet-101 (Spinal FC)
Accuracy: 99.30%
image-classification-on-emnist-balancedCNN(Spinal FC)
Accuracy: 83.21
Trainable Parameters: 16050
image-classification-on-emnist-balancedCNN
Accuracy: 79.61
Trainable Parameters: 21840
image-classification-on-emnist-balancedVGG-5
Accuracy: 91.04
Trainable Parameters: 3646000
image-classification-on-emnist-balancedCNN(Spinal FC)
Accuracy: 82.77
Trainable Parameters: 13820
image-classification-on-emnist-balancedVGG-5(Spinal FC)
Accuracy: 91.05
Trainable Parameters: 3630000
image-classification-on-emnist-digitsVGG-5(Spinal FC)
Accuracy (%): 99.75
image-classification-on-emnist-lettersVGG-5
Accuracy: 95.86
image-classification-on-emnist-lettersVGG-5(Spinal FC)
Accuracy: 95.88
image-classification-on-flowers-102Wide-ResNet-101 (Spinal FC)
Accuracy: 99.30
image-classification-on-kuzushiji-mnistVGG-5 (Spinal FC)
Accuracy: 99.15
Error: 0.85
image-classification-on-mnistVGG-5 (Spinal FC)
Accuracy: 99.72
Percentage error: 0.28
image-classification-on-stl-10Wide-ResNet-101 (Spinal FC)
Percentage correct: 98.66
image-classification-on-stl-10VGG-19bn
Percentage correct: 95.44

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
SpinalNet: Deep Neural Network with Gradual Input | Papers | HyperAI