Examining Convolutional Feature Extraction Using Maximum Entropy (ME) and Signal-To-Noise Ratio (SNR) for Image Classification

Examining Convolutional Feature Extraction Using Maximum Entropy (ME) and Signal-To-Noise Ratio (SNR) for Image Classification

Full citation: Gowdra, N., Sinha, R., & MacDonell, S.G. (2020) Examining convolutional feature extraction using Maximum Entropy (ME) and Signal-to-Noise Ratio (SNR) for image classification, in Proceedings of the 46th Annual Conference of the IEEE Industrial Electronics Society (IECON2020). IEEE Computer Society Press, pp.471-476. doi: 10.1109/IECON43393.2020.9254346 Examining convolutional feature extraction using Maximum Entropy (ME) and Signal-to-Noise Ratio (SNR) for image classification Nidhi Gowdra, Roopak Sinha and Stephen MacDonell School of Engineering, Computer and Mathematical Sciences Auckland University of Technology (AUT) Auckland, New Zealand [email protected], [email protected], [email protected] HyperParameters (HPs), improper HP configurations can Abstract lead to suboptimal classification performance [3]. Some of Convolutional Neural Networks (CNNs) specialize in the HPs in CNNs are learning rate, momentum, weight feature extraction rather than function mapping. In doing decay, batch-size and so on [3]. The number of tunable so they form complex internal hierarchical feature hyper-parameters vary with different CNN architectures, a representations, the complexity of which gradually typical CNN has around fifty unique HPs [1]. The increases with a corresponding increment in neural permutations and combinations of these with respect to the network depth. In this paper, we examine the feature number of hidden layers in any NN model amount to the extraction capabilities of CNNs using Maximum Entropy order of millions. (ME) and Signal-to-Noise Ratio (SNR) to validate the idea Suboptimal configurations of HPs can lead to overfitting, that, CNN models should be tailored for a given task and where the CNN models internal representations are finely complexity of the input data. SNR and ME measures are tuned to the input data causing performance degradation used as they can accurately determine in the input dataset, when new information is presented [4]. One of the reasons the relative amount of signal information to the random for overfitting is due to the fact that initialization of weights noise and the maximum amount of information and their normalizations become too specialized for the respectively. We use two well known benchmarking input data [5]. In this paper, we present evidence to support datasets, MNIST and CIFAR-10 to examine the information the use of Signal-to-Noise Ratio (SNR) and Maximum extraction and abstraction capabilities of CNNs. Through Entropy (ME) measures to reduce the number of tunable our experiments, we examine convolutional feature HPs and mitigate overfitting by suggesting the use of extraction and abstraction capabilities in CNNs and show shallower or deeper networks. that the classification accuracy or performance of CNNs is greatly dependent on the amount, complexity and quality of Our approach is based on the amount, complexity and the signal information present in the input data. quality of the signal information present in the input data Furthermore, we show the effect of information overflow measures through the use of ME and SNR values. ME and and underflow on CNN classification accuracies. Our SNR measures are commonly used in digital image hypothesis is that the feature extraction and abstraction processing [6], [7] to precisely determine quantitative capabilities of convolutional layers are limited and measurements for signal information present in the input therefore, CNN models should be tailored to the input data data. The motivation for our novel research is based on the by using appropriately sized CNNs based on the SNR and widespread use of SNR and ME values in image ME measures of the input dataset. processing [8], [9], to enhance and restore degraded images. Through our experiments and analyses we show that the use of these measures to tailor CNN models yields Signal-to-Noise (SNR), Index Terms: statistically significant and improved classification Convolutional Neural Network (CNN), Maximum performance. Entropy (ME), Information propagation, Overflow, Underflow 2. BACKGROUND AND RELATED WORK 1. INTRODUCTION A. Convolutional Neural Networks (CNNs) CNNs have been shown to outperform other types of NNs CNNs are the state-of-the-art for image classification tasks on more complex datasets like CIFAR-10,100 and verified on datasets such as MNIST [1] and CIFAR-10 [2]. ImageNet [10], [11]. CNNs are primarily feature The complexity of achieving these state-of-the-art extractors, unlike other types of DNNs which map performance depends on proper tuning of the functions. This key distinction allows CNNs to outperform 1 other types of DNNs for nonlinear data. This is because source scikit-image processing library written in python other types of DNNs are highly susceptible to subtle can be used to calculate the ME measures for color and variations in the input data for non-linear mapping [12]. In grayscale images. SciKit-image processing library uses a other words, the resiliency of CNNs arises from the fact that disk (set to the size of the input training image) to scan they extract the most prominent feature and build across the input data and return the frequency count of color abstraction from the extracted information, increasing in levels. Using this method we obtain the ME measures for complexity over the depth of the network. MNIST and CIFAR-10 as 3.139 and 6.612 bits per pixel respectively. This notion of building abstraction leading to enhanced performance is supported by authors in [13]. Forced C. Signal and Noise In Image Data abstraction in CNNs is based on their limited connectivity Accurate quantifiable estimation of image quality and shared weights architecture. Therefore, increasing the regardless of different viewing conditions plays a pivotal depth of the network also increases the extraction and role in applications of digital image processing. There are generation of more complex specialized feature maps for many measures to mathematically calculate digital image the given input data [10]. quality, like Mean Square Error (MSE), Root Mean Square These specialized feature maps only contain the highest Error (RMSE), Signal-to-Noise (SNR) and Peak Signal-to- variance of features which offer the greatest increases in Noise (PSNR) [25]. According to the authors in [25], accuracy, neglecting any subtle changes. Otherwise known measures that consider the Human Visual System (HVS) as dimensionality reduction of features [2], this is a key that integrate perceptual quality measures offer no distinct implicit advantage of CNNs over other types of DNNs. advantages over existing methods like PSNR. As the This is because a NN that maps a function needs to account images in MNIST and CIFAR-10 datasets are independent for all the features, or use a method like k-means to neglect to one another and are randomly shuffled before training some features. These methods are also not so versatile and CNNs, PSNR, MSE or RMSE values cannot be calculated. fail to accurately account for dealing with outliers in the Therefore, we will adopt SNR calculations to measure data [14]. image quality. According to several authors [10], [13], [15][16][17][18]– Precise measurement of SNR is critical in applications of [19], using a CNN approach is only one of many that can image processing, as the image might be degraded due to be taken for accurate classification. As CNNs are random noise. According to authors in [7], SNR is a computationally expensive [20], for less demanding tasks measure that compares the level of desired signal to the like linear regression or clustering, other types of DNNs are level of background noise in the fields of science and much more efficient [21], [22]. This is especially true for Engineering. Mathematically, SNR in digital images is tasks that require little domain knowledge. In these defined as the ratio of quotient of mean signal intensity to instances using CNNs might actually be detrimental in the standard deviation of the noise [26] and is given terms of accuracies. Furthermore, due to the inherent by equation 2. computationally intense requirements of CNNs, training ��� = �(�)̅ /� (2) very large deep CNNs is impractical and leads to significant $ overfitting [4]. As authors in [5], [23] point out, training Where, SNR is the signal-to-noise ratio (unit-less), μ(S) is deep CNNs is time consuming and difficult. the mean of signal data and �! is the standard deviation of the signal data with respect to the random noise. B. Maximum Entropy in Image Data Entropy measures are widely used in image processing for The equation for calculating the mean of signal data given image enhancements such as de-noising and image in equation 3, restoration/reconstruction using de- �(�)̅ = (Σ# �)/� ∀� ∈ (0 − 255). (3) convolutions [6], [8], [9]. Hartley Entropy (HART) or %&' Maximum Entropy (ME) is the de-facto standard for Where, μ(S) is the mean of signal data, when the pixel measuring the maximum amount of information in values for S is in between 0-255 for MNIST and 0-255 for applications of digital image processing. According to red, green and blue color channels for CIFAR-10. Ralph Hartley [24], the method of calculating maximum entropy is given in equation 1 The equation for calculating standard deviation of signal data with respect to the noise is given by, # �� = log"(� ) bits (1) (4) # ̅ " Where, n is the number of independent choices that can be �$ = @(1/�)Σ%&'(�% − �(�) )∀� ∈ (0 − 255). made with s number of distinct symbols. In grayscale images, n would be 256 for the 0-255 gray levels with a 0 Where, �! is the standard deviation of the data, i.e. the value for black and 255 for white and s would be 784 for signal data with respect to the noise, μ(S) is the mean of an image size of 28×28. ME measures are calculated signal data calculated using equation 3, n is the total th separately for each of the color channels i.e.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    6 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us