Research Article | Open Access
Dan Meng, Guitao Cao, Ye Duan, Minghua Zhu, Liping Tu, Dong Xu, Jiatuo Xu, "Tongue Images Classification Based on Constrained High Dispersal Network", Evidence-Based Complementary and Alternative Medicine, vol. 2017, Article ID 7452427, 12 pages, 2017. https://doi.org/10.1155/2017/7452427
Tongue Images Classification Based on Constrained High Dispersal Network
Computer aided tongue diagnosis has a great potential to play important roles in traditional Chinese medicine (TCM). However, the majority of the existing tongue image analyses and classification methods are based on the low-level features, which may not provide a holistic view of the tongue. Inspired by deep convolutional neural network (CNN), we propose a novel feature extraction framework called constrained high dispersal neural networks (CHDNet) to extract unbiased features and reduce human labor for tongue diagnosis in TCM. Previous CNN models have mostly focused on learning convolutional filters and adapting weights between them, but these models have two major issues: redundancy and insufficient capability in handling unbalanced sample distribution. We introduce high dispersal and local response normalization operation to address the issue of redundancy. We also add multiscale feature analysis to avoid the problem of sensitivity to deformation. Our proposed CHDNet learns high-level features and provides more classification information during training time, which may result in higher accuracy when predicting testing samples. We tested the proposed method on a set of 267 gastritis patients and a control group of 48 healthy volunteers. Test results show that CHDNet is a promising method in tongue image classification for the TCM study.
Tongue image classification is a key component in traditional Chinese medicine (TCM). For thousands of years, Chinese medical physicians have judged the patient’s health status by examining the tongue’s color, shape, and texture [1, 2]. With the improvement in digital medical imaging equipment and pattern recognition methods, computer aided tongue diagnoses have a great potential to play an important role in TCM by providing more accurate, consistent, and objective clinical diagnoses .
In the past decades, tongue image feature extraction methods have been intensively studied. According to these studies, computer aided tongue diagnosis methods can be divided into two categories: single feature and multifeatures. Many single feature extraction methods have been proposed and applied to tongue images analysis. Such methods can exploit useful information based on a simple descriptor such as color, texture, shape, and orientation. As presented in [4–9], a single feature was used to analyze the tongue images. Li and Yuen  investigated and reported the color matching of tongue images with different metrics in different color space. In , Wang et al. presented a color recognition scheme of tongue images by obtaining a number of homogenous regions before classification. Spectral Angle Mapper (SAM)  can recognize and classify tongue colors using their spectral signatures rather than their color values in RGB color space. In  the authors aimed to build a mathematically described tongue color space for diagnostic feature extraction based on the statistical distribution of tongue color. In , partition patients’ state (either healthy or diseased) was quantitatively analyzed using geometry tongue shape features with the computerized methods. In , Cao et al. presented a feature extraction method based on statistical features.
Although many models based on the strategy of a single feature have been proposed and achieved successful results, this type of method only utilizes low-level features. So multifeatures [10, 11] are helpful to detect normal and abnormal tongue images. The works [12–15] used multifeatures (such as the combination of color and texture or shape) to identify and match tongue images. In , Kanawong et al. proposed a coating separation step before extracting features. In , Guo proposed a color-textured operator called primary difference signal local binary pattern (PDSLBP) to handle the tongue image matching problem. In , a tongue computing model (TCoM) based on quantitative measurements that include chromatic and textural features was proposed to diagnose appendicitis. In , multilabeled learning was applied to tongue image classification after extracting color and texture features.
In fact, the aforementioned methods only used low-level features either single feature or multifeatures, which cannot completely describe the characteristics of the tongue. It was necessary for us to integrate a framework that can generate complete features from tongue images. Thus, high-level features were necessary for computer aided tongue analysis. Most existing publications have described and applied deep learning models to extract high-level feature representations for a wide range of vision analysis tasks  (such as hand-written digit recognition , face recognition , and object recognition ). However, there exists little or no literature on computer aided tongue image analysis using deep learning models, whereas computer aided expert system with unambiguity and objectivity tongue analysis results can be used to facilitate both traditional Chinese and Western medical practices’ diagnostic results.
PCANet  is the least simple deep neural network in the visual classification task developed by Chan et al. . In , PCANet was compared with the well-known convolutional neural networks (CNN)  with respect to performance on various tasks. Instead of initializing the weights of the network in CNN randomly or via pretraining and then updating them in a backpropagation way, PCANet  treated only the most basic PCA filters for use in the convolution filter bank in each stage without further training. Since PCANet  was developed, high-level extraction methods based on PCANet  have been studied in the field of face recognition , human fall detection , speech emotion detection , and so forth. Although PCANet has not been applied to the field of computer aided tongue diagnoses, it has several characteristics that make it applicable for tongue image classification. As presented in PCANet , it is easy to train and to adapt to different data and tasks without changing the architecture of network. Besides, there is little need to fine-tune parameters. Additionally, PCANet  combined with machine-learning classification algorithms, such as -nearest neighbor (KNN), SVM, and Random Forest (RF), can achieve excellent performance in classification tasks.
However, we observed that the original PCANet  has two major issues: redundancy and insufficient capability to handle unbalanced samples. The PCA method, by its nature, will respond to the large eigenvalues. Therefore, in the PCANet, there is often a significant amount of redundancy in the convoluted feature maps. Another issue is that classification tasks mentioned in PCANet  are based on the assumption that the distribution of samples is balanced and the number of samples in dataset is large. Since PCANet  only consists of a convolutional layer and histogram, we had no way of knowing if it could gain sufficient information in distinguishing normal from abnormal status for our specific tongue classification task.
Inspired by the works of deep learning models and their variants, this paper proposes a framework referred to as constrained high dispersal neural networks (CHDNet) based on PCA convolutional kernels to aid in tongue diagnosis. The proposed CHDNet learns useful features from the clinical data in an unsupervised way, and, with these obtained features, a supervised machine-learning technique is used to learn how to partition a patient’s health status into normal or abnormal states.
The main contributions of this paper are as follows:(i)A new feature extraction method (CHDNet) is presented which explores the feature representations of normal and abnormal tongue images, which mainly benefit from using four important components: nonlinear transformation, multiscale feature analysis, high dispersal, and local normalization.(ii)CHDNet can provide robust feature representations to predict patient’s health status based on obtained samples with unbalanced distribution, given the fact that most people come to the hospital for their physician’s advice or prescription when they feel sick.(iii)CHDNet has been evaluated by using diagnosed samples by clinicians. Experimental results confirmed that gastritis patients classified by our proposed model were in good agreement with the clinician’s diagnosis.
The rest of this paper is organized as follows. Section 2 introduces the framework of the proposed CHDNet. Experimental results are shown in Section 3. Finally, the conclusion and future work are presented in Section 4.
2. Algorithm Overview
For each image, we first extracted the tongue body from its background. Then, we applied CHDNet to learn features of normal and abnormal tongue bodies. Figure 1 shows the flowchart of normal and abnormal detection framework based on CHDNet. For each tongue image, after extracting the tongue body from its background, it was normalized to fixed height and weight. After these two steps of preprocessing, we partitioned the tongue images into training and testing sets to learn convolutional kernels and generate feature representations. We then sent feature representations of the whole tongue images dataset into classifier using folds cross validation strategy for the classification task. The samples were labeled into two classes, namely, normal and abnormal. The whole feature representations were separated into training and testing sets in different ways. The classifier was first trained with subsets, and then its performance was evaluated on the th subset. Each subset was used as the test set once through repeating the process times. The final result was obtained by averaging the outcome produced in corresponding rounds.
Algorithm 1 elaborates the details of the proposed CHDNet.
2.1. Features Extraction with the Proposed CHDNet
The original tongue image sizes are pixels. After tongue body extraction, we notice that our interest area (tongue body) is around pixels, so we zoomed all the tongue body images into pixels.
For image classification tasks, the hand-crafted low-level features can generally work well when dealing with some specific tasks or data processes, like HOG , LBP , and SIFT  for object recognition. Yet they are not universal for all conditions, especially when the application scenario is medicine. Therefore, the concept of learning features from data of interest is proposed to overcome the limitation of hand-crafted features, and deep learning is treated as a better method to extract high-level features, which provide more invariance into intraclass variability. As mentioned in Section 2, PCANet  is a deep network, which has the capability to extract high-level features.
Compared to PCANet , CHDNet has four important components:(i)High Dispersal. With the high dispersal operation, features in each feature map achieve the property of dispersal without redundancy.(ii)Local Response Normalization. After the processing of high dispersal, features in the same position of different feature maps still have redundancy. The proposed local response normalization aims to solve this problem.(iii)Nonlinear Transformation Layer. Since we use in feature convolutional layer, negative value exists, which conflicts with the principle of visual systems. In order to prepare suitable inputs for convolutional layer and local response normalization, we add a nonlinear transformation layer after each convolution layer.(iv)Multiscale Feature Analysis. To improve the ability to handle deformation, we introduce multiscale feature analysis before high dispersal and local response normalization.
It should be pointed out that these new ideas and methods are uniquely designed to address the major limitations of the original PCANet  approach and aim to significantly improve its performance. Experimental results in Section 3 will validate how these new ideas impact the performance of tongue images classification. Since we add several constraints on the networks and features distributed in a high dispersal manner, our proposed feature extraction method is called the constrained high dispersal neural network (CHDNet).
Compared with convolutional neural network (CNN), which is a complex neural network architecture, requiring tricky parameter tuning and time-consuming calculations, CHDNet is extremely simple and efficient.
Figure 2 shows the basic architecture of CHDNet. It is composed of three components: PCA filters convolution layer, nonlinear transformation layer, and a feature pooling layer.
2.1.1. Nonlinear Transformation
Suppose we have training samples of size . As illustrated in Figure 3, we collect patches of size , with . We also do patch mean removal on all overlapping patches and, then, vectorize and combine them into a matrix.
For th image at input stage, after patch mean removal operation we get . Similar to th image, for the entire training samples we have . In order to learn PCA filters at the first stage, we need to obtain the eigenvectors of covariance matrix and select the largest eigenvalues as the PCA filters:where the matrix contains the eigenvectors of covariance matrix and the diagonal entries of the matrix holds the corresponding eigenvalues. In (1), is a function that maps to . Then, with the boundary zero-padded we move on to obtain the PCA convoluted feature maps:Before entering into the second stage, a nonlinear transformation layer is applied using the following equation:
At the second stage, we share a similar process with stage one, and the input images of the second stage are . For th image convoluted with th filter and applied nonlinear transformation procedure at the previous stage, after patch mean removal we have
For each input image , we get feature maps. So we combine them and obtain
Similar to stage 1, we save the largest eigenvalues of to get the PCA filters at the second stage, followed by convolutional layer and nonlinear transformation layer.The convoluted and nonlinear transformation layers are
2.1.2. Feature Pooling
The last component of CHDNet is the feature pooling layer, containing histogram, multiscale feature analysis, high dispersal, and local response normalization. We illustrate this layer more clearly by taking a specific input image as an example.
(a) Histogram. For each set of feature maps, we convert feature maps belonging to the corresponding filter at the last stage into one histogram image whose every pixel is an integer in the range and treated as a distinct “word”; can be expressed as
(b) Multiscale Feature Analysis. For each histogram image , we constructed a sequence of grids at resolutions . Let denote the histogram of at resolution , so that is the vector containing numbers of points from that fall into the cell of the grid according to different words. We cascade to build a multiscale feature map as
(c) High Dispersal. For each multiscale feature map, we use high dispersal to prevent degenerate situations and enforce competition between features by
(d) Local Normalization. For each feature at the same position in different multiscale feature maps, we use local normalization to prevent redundancy by
Finally, feature vector of the input images is then defined as
The parameters , and in (3), (7), (10), and (11) are determined by experimental experiences. We are using a grid search method to determine these parameters based on the randomly selected 84 training samples. To be more specific, with the step of 10, or 1, with the step of 2, with the step of 10, with the step of 0.25, and , where with the step of , and with the step of 1. The number of filters and and the size of the PCA filter are decided as suggested in .
It should be noticed that when compared with PCANet , our CHDNet only shares some similarity in learning PCA kernels, but the structure of our CHDNet and especially the techniques in the feature pooling layer are new and uniquely designed to address the tongue image classification problem and significantly improve its performance.
We used the same dataset as in our previous work . Raw tongue image samples were acquired from Dongzhimen Hospital, Beijing University of Chinese Medicine. We have only collected 315 cases, and the proposed CHDNet for tongue image classification will be transformed into mobile application. More cases will be obtained by practical application. The 315 cases include 48 normal cases and 267 abnormal cases diagnosed by clinicians. Our tongue image classification consists of two steps: feature extraction and classification. Feature extraction step can be further divided into training and testing stage. During training stage of feature extraction step, in order to learn unbiased convolutional kernels, we randomly choose 40 normal and 44 abnormal samples (about of total number of the whole tongue images in dataset) as training set, which is used to learn convolutional kernels and determine parameters , and . With the learned kernels and determined parameters, we extract features of the left 231 samples. As a result, feature representations for 315 samples are obtained. Then these feature representations are sent into the classifier. All of the reported results in this section are the averaged outcomes after rounds of -fold cross validation.
Besides accuracy, sensitivity, and specificity, we also use precision, recall, and -score to evaluate the performance of our proposed method and other methods. These indices are commonly used in detection literature . Accuracy (ACC) = , sensitivity (SEN) = , specificity (SPE) = , positive predictive value (PPV) = , negative predictive value (NPV) = , and -score = , where(i)TP (True Positive) is the number of positive samples correctly predicted by the system;(ii)TN (True Negative) is the number of negative samples correctly predicted by the system;(iii)FP (False Positive) is the number of false detection instances of positive samples by the system;(iv)FN (False Negative) is the number of actual positive missed by the system.
3.1. Impact of the Proposed Components of CHDNet
As illustrated in Section 2, our proposed CHDNet proposed modifications are based on PCANet from four aspects. The example in Table 1 shows how these new ideas improve upon the PCANet method and contribute to our final performance gain. For a fair comparison, we use LIBLINEAR SVM  as the classifier for all methods listed in Table 1. Here, we use the tongue images dataset and demonstrate that the combination of the proposed high dispersal (HD) method, local response normalization (LRN), multiscale feature analysis (MFA), and nonlinear transform (NT) is able to significantly improve tongue image recognition rate from achieved by the original PCANet algorithm to . It is well known that the misdiagnosis rate decreases with higher sensitivity, and the misdiagnosis rate decreases with higher specificity. This means that although PCANet  combined with LIBLINEAR SVM  can correctly classify the abnormal samples, it can hardly recognize the normal status. With the help of our four components, specificity improves greatly at the cost of sensitivity decreasing slightly.
3.2. Unbalanced Dataset Processing
In our classification task, the majority of examples are from one of the classes. The number of abnormal data is much larger than that of normal data, since most patients come to visit the hospital only when they feel ill. Unbalance in the class distribution often causes machine-learning algorithms to perform poorly on the minority class. Therefore we need to improve the performance of classifier with unbalanced dataset. In this paper, in order to achieve better performance, we adjusted the class weight of normal and abnormal samples. Since the SVM tends to be biased towards the majority class, we should place a heavier penalty on misclassified minority class.
For weighted LIBLINEAR SVM , we tuned the class weight for validation and training set. As we used 5-fold cross validation strategy, we partitioned the whole 315 feature representations obtained by our proposed CHDNet into 5 training and testing sets in 5 different ways. The weighted LIBLINEAR SVM  was first trained with 4 subsets, and then its performance was evaluated on the 5th subset. Each subset was used as the test set once through repeating the process 5 times. The final result was obtained by averaging the outcome produced in the 5 corresponding rounds. For each round, we assign weight to each class, with the majority class always set to 1 and the minority class given larger weight, namely, integers ranging from 1 to 9. Since we raised weight of the minority class, the cost of misclassifying the minority class goes up. As a result, True Positive rate becomes higher while True Negative rate turns out to be lower. To this end, in order to measure the balance of accuracy in our problem, we used the geometric mean (-mean)  of sensitivity and specificity: This measure has the distinctive property of being independent of the distribution of examples between classes. The result in Table 2 shows that when the weight of two classes is 8 : 1 the model outperforms other weight configurations on normal and abnormal samples.
3.3. Comparison of Classification Accuracy Using Different Feature Extraction Methods
During training stage, CHDNet learns convolutional kernels, and feature representations for training set can also be obtained. During testing stage, testing samples are convoluted with the PCA filters learned at training stage and applied as a nonlinear transformation. After feature pooling layer, the features that resulted from CHDNet combined with features of training set are fed into LIBLINEAR SVM .
According to the experimental experience , the number of filters is fixed to , and the filter size is . We experienced set parameters , , , , , , and for our CHDNet.
Table 3 shows some tongue images (with the patient numbers shown as N017, N018, D100, and X084) in our dataset and the prediction labels are based on the training LIBLINEAR SVM  classifier. Besides, tongue images labeled with 0 represent that patients are in normal status, while 1 reflects an abnormal gastritis condition. Table 4 lists pathological information by TCM, which indicates that the prediction label based on our CHDNet and LIBLINEAR SVM  is in line with the diagnosis of the Chinese medical physician.
|The first column is the original image of pixels; the second column is the background mask; the third column is the extraction of tongue body; the fourth column is the color space transformed tongue body image; the fifth column is the normalized pixels image; the last column is the predicted label.|
|The first column is the patient’s number, the second column is pathological feature, the third column is clinical practitioners subjective diagnosis, and the last column is the clinical practitioners diagnosis result.|
Sensitivity refers to the test’s ability to correctly detect patients who do have the condition, and specificity relates to the test’s ability to correctly detect patients without a condition. As a result, in the context of computer aided tongue image classification, we pay more attention to sensitivity and specificity than other indices (e.g., accuracy, positive predictive value, negative predictive value, and -measure) in order to find a trade-off between sensitivity and specificity.
The proposed CHDNet framework was compared with both low-level and high-level feature extracting approaches quantitatively on the same dataset under the seven different classifiers. The compared methods are single feature obtained by HOG, LBP, and SIFT, multifeatures that resulted from the combination of three mentioned single features, state-of-the-art hand-crafted features calculated by Doublets  and Doublets + HOG , and high-level features generated by PCANet. Experimental results show that the proposed feature extraction method outperformed both low-level and high-level feature extracting approaches. From Table 5, although some feature extraction methods like HOG or LBP can achieve the high sensitivity, their specificities under the same classifier which yields high sensitivity is relatively low. For example, HOG features combined with GBDT achieves sensitivity, and the specificity is only . If HOG features combined with a CART classifier, it can achieve specificity, which is the best performance among the seven classifiers. However, its sensitivity is only . That is to say, when the distribution of samples is unbalanced, the tongue images classification model based on HOG or LBP features is unbalanced. This property also holds true for other single feature extracting approaches. We can also see that multifeatures have the power of containing richer information for building a more accurate classification model when compared with single features. However, specificity is still not acceptable. While high-level feature learned through training samples can achieve the best sensitivity, they can hardly construct a balanced classification model.
|Note. The sum rule of feature combination is a cascade operation. Given two types of features and obtained by feature extraction methods and , respectively, then + is equal to . For example, HOG + LBP means, for each sample, we append LBP features just after HOG features. Besides, “our method” is short for the proposed CHDNet feature extraction method.|
As shown in Table 5, by adding nonlinear transformation, multiscale feature analysis, high dispersal, and local response normalization, our CHDNet achieved a recognition accuracy rate, which is more than six percentage points off PCANet . We noticed that the sensitivity of our proposed CHDNet is about inferior to the best performance; however, the specificity of our CHDNet is at least superior when compared to other feature extraction methods. These results indicate that the classification model based on these comparisons seems partial to the majority of the tongue image data. In addition, the receiver operating characteristic (ROC) curve is usually used to evaluate the performance of classification models. Since we repeated cross validations times, Figure 4 gives the mean ROC curve of each mentioned method. The bigger the area under curve (AUC), the better the performance of the model. From Figure 4, we can see the AUC of our CHDNet is equal to , which is the closest one among the compared methods. This indicates that our proposed CHDNet has the best performance when compared with the other four mentioned feature extraction methods. Even positive and negative samples are unevenly distributed.
3.4. Comparison of Classification Accuracy Using Different Classifiers
Another important issue for automatic classification of tongue images is to develop a high accuracy classifier. To apply deep learning models to the tongue image classification task, the problem can be considered as a feature extraction problem of digital signals or images, cascading with a classifier .
After obtaining feature representations, different machine-learning algorithms have been used for classification tasks. Among them, distance-based models, support vector machines (SVM), and tree based models are three widely used algorithms.
The performance of our proposed CHDNet incorporating LIBLINEAR SVM  was also compared with other classifiers, including LDA, KNN, CART, GBDT, RF, and LIBSVM using identical data and features. Generally, the performances of CART, RF, and GBDT are comparatively poor because the dimension of features obtained by our CHDNet is very high and these tree models are inferior to simple classifiers. Besides, since we handle classification problems well with the unbalanced distribution tongue images dataset, the performance of LDA and KNN performance is not as good as weighted LIBLINEAR SVM .
In bioinformatics, SVM is a commonly used tool for classification or regression purposes with high-dimensional features . Instead of using LIBSVM  as the classifier, we use LIBLINEAR SVM . The reason is that LIBLINEAR SVM  performs better than LIBSVM  when the number of samples is far smaller than the number of features. As in our CHDNet, the number of samples is , and the number of features of each sample is . So, compared with LIBSVM , LIBLINEAR SVM  is a better choice.
As shown in Table 6, the overall performance of LIBLINEAR SVM  is the best of the six classifiers in terms of accuracy, specificity, precision, recall, and -score (specified in bold). After optimizing the weights of the LIBLINEAR SVM , the accuracy of LIBLINEAR SVM can reach , which is higher than LDA. Besides, the specificity of LIBLINEAR SVM  improves from to when compared with distance-based models and tree structure models. Through the comparison, we can see that SVM classifier [30, 33] with the optimal parameters is superior to the other five methods. The LIBLINEAR SVM  method increases the performance accuracy to and improves other performance measurements in different levels, which are the best of all the other classifiers.