Entropy-Based Support Matrix Machine

. Support Vector Machine (SVM) cannot process imbalanced problem and matrix patterns. Thus, Fuzzy SVM (FSVM) is proposed to process imbalanced problem while Support Matrix Machine (SMM) is proposed to process matrix patterns. FSVM applies a fuzzy membership to each training pattern such that diﬀerent patterns can make diﬀerent contributions to the learning machine. However, how to evaluate fuzzy membership becomes the key point to FSVM. Although SMM can process matrix patterns, it still has no ability to process imbalanced problem. This paper adopts SMM as the basic and proposes an entropy-based support matrix machine for imbalanced data sets, i.e., ESMM. The contributions of ESMM are: (1) proposing an entropy-based fuzzy membership evaluation approach which enhances importance of certainty patterns, (2) guaranteeing importance of positive patterns and getting a more ﬂexible decision surface. Experiments on real-world imbalanced data sets and matrix patterns validate the eﬀectiveness of ESMM.


Introduction
Support Vector Machine (SVM) constructs a hyperplane or set of hyperplanes in a high-or infinite-dimensional space, which can be used for classification, regression, or other tasks. Intuitively, a good separation is achieved by the hyperplane that has the largest distance to the nearest training-data point of any class (so-called functional margin), since in general the larger the margin the lower the generalization error of the classifier [1]. Conventional SVM can be used in many tasks including text and hypertext categorization, classification of images, classifying proteins in medical science, and recognizing hand-written characters. Although SVM has been validated effect on these applications, it still has two disadvantages. One is that SVM cannot process matrix patterns and another is that it cannot process imbalanced problem.
• Matrix patterns which dimensions are m × n (where m and n are both larger than 1) are the basic of matrix learning. For example, video and images are both matrix patterns. In order to process matrix patterns, matrix-patternoriented learning machine (MatC), i.e., matrix learning machine, has been developed. Classical learning machines include matrix-pattern-oriented Ho-Kashyap learning machine with regularization learning (MatMHKS) [2], new least squares support vector classification based on matrix patterns (MatLSSVC) [3], and oneclass support vector machines based on matrix patterns (OCSVM) [4]. Besides those matrix learning machines, Xie et. al have proposed a Support Matrix Machine (SMM) [5] so as to replace SVM. SMM can leverage the structure of the data matrices and has the grouping effect property. But all of these matrix learning machines cannot process imbalanced problem.
• As is known to all, in many real-world classification problems, such as e-mail foldering [6], fault diagnosis [7], detection of oil spills [8], and medical diagnosis [9], we can always divide a data set into two classes, one is positive class and the other is negative class. When the size of positive class is much smaller than that of negative class, imbalanced problem occurs. Since most standard classification learning machines including Support Vector Machine (SVM) and Neural Network (NN) are proposed with the assumption on the balanced class distributions or equal misclassification costs [10], so they fail to properly represent the distributive characteristics of patterns and result in the unfavorable performance when they are adopted to process imbalanced problem. In order to overcome such a disadvantage, Fuzzy SVM (FSVM) [11] and Bilateral-weighted FSVM (B-FSVM) [12] are proposed. FSVM applies a fuzzy membership to each input pattern and reformulates SVM such that different input patterns can make different contributions to the learning of decision surface. B-FSVM treats every pattern as both positive and negative classes, but with different memberships due to we can not say one pattern belongs to one class absolutely. But for both of them, how to determine the fuzzy membership function is the key point. Furthermore, both of them cannot process matrix patterns.
In this paper, we try to propose a learning machine which can process matrix patterns and imbalanced problem. First, in order to process matrix patterns, we adopt SMM as a basic. Then in order to process imbalanced problem, we adopt the notion of FSVM, namely, applies a fuzzy membership to each input pattern. Furthermore, for the fuzzy membership, we propose a new fuzzy membership evaluation approach which assigns the fuzzy membership of each pattern based on its class certainty. In this paper, class certainty demonstrates the certainty of pattern labeled to a certain class. Due to the entropy is an effective measure of certainty, we adopt the entropy to evaluate the class certainty of each pattern. In doing so, the entropy-based fuzzy membership evaluation approach is proposed. This approach determines the fuzzy membership of training patterns based on their corresponding entropies. By adopting the entropy-based fuzzy membership evaluation and SMM, the Entropy-based Support Matrix Machine (ESMM) is proposed to process the imbalanced data sets. In practice, as the importance of positive class is higher than that of negative class in imbalanced data sets, i.e., the learning machine should pay more attention to positive patterns than negative ones. Thus, positive patterns are assigned to relatively large fuzzy memberships to guarantee the importance of positive class here. While, the fuzzy memberships of negative patterns are determined by the entropy-based fuzzy membership evaluation approach, i.e., patterns with lower class certainty are assigned to small fuzzy memberships based on the criterion that patterns with lower class certainty are more insensitive to noise, and easily mislead the decision surface, thus their importance should be weakened on imbalanced data sets. After evaluating the fuzzy membership of all training patterns, ESMM is adopted to classify imbalanced data sets.
The contributions of this paper can be highlighted as follows: (1) A new entropy-based fuzzy membership evaluation approach is proposed. This approach adopts entropy to evaluate class certainty of a pattern and determines the corresponding fuzzy membership based on class certainty. In doing so, the learning machine can pay more attention to the patterns with higher class certainty to result in more robust decision surface.
(2) To guarantee the importance of positive class, the positive patterns are assigned to the relatively large fuzzy memberships, which results in the decision surface paying more attention to the positive class so as to increase generalization of learning machine.
The rest of this paper is given below. Section II introduces the proposed entropy-based fuzzy membership evaluation approach, then give the details of ESMM. In Section III, several experiments on real-world imbalanced data sets and matrix patterns including images are conducted to validate the effectiveness of ESMM. Following that, conclusions are given in Section IV.

Entropy-based fuzzy membership
When we process imbalanced data sets, positive class is always more important than negative class. Thus, in the proposed entropy-based fuzzy membership evaluation approach, we assign positive patterns to a relatively high fuzzy membership, e.g., 1.0, to guarantee the importance of positive class. As to the negative class, we fuzzify negative patterns based on their class certainties.
In information theory, entropy is always used to characterize the certainty of source of information. If entropy is smaller, then information is more certain [13]. By employing this character of entropy, we can evaluate the class certainty of a pattern in the training class. After getting the class certainty of each pattern, we assign fuzzy membership of each training pattern based on class certainty. In practice, the patterns with higher class certainty, i.e., lower entropy, are assigned to higher fuzzy memberships to enhance their contributions to the decision surface, and vice versa.
Suppose that there are N training patterns, {x i , y i } where i = 1, 2, ..., N and y i ∈ {+1, −1} is the class label. When y i = 1, pattern x i belongs to the positive class, otherwise, it belongs to the negative class. The probabilities of x i belonging to positive and negative class are p +i and p −i respectively. The entropy of where ln represents the natural logarithm operator. Due to neighbors of a pattern can determine local information of it, thus the probability evaluation is based on its k nearest neighbors. For a pattern x i , we select its k nearest neighbors {x i1 , x i2 , ..., x ik } at first. Then we count the number of both positive and negative class in these k selected patterns and denote the numbers of patterns belonging to positive and negative class are num +i and num −i respectively. Finally, the probabilities of x i belonging to positive and negative class are calculated with p +i = num+i k and After evaluating the class probabilities of x i , we can calculate its entropy.
By adopting the above entropy evaluation approach, the entropy of the negative patterns are H = {H −1 , H −2 , ..., H −n− }, where n − is the number of the negative patterns. H min and H max are the minimum and maximum entropy of H. The entropy-based fuzzy memberships for negative patterns are evaluated as follows.
Firstly, separate the negative patterns into m subsets based on their entropy as described in Table 1, i.e., {Sub k } where k = 1, 2, ..., m.
Then, fuzzy memberships of patterns in each subset are set as: where F M k is the fuzzy membership for patterns distributed in subset Sub k , the fuzzy membership parameter α ∈ (0, 1 m−1 ) since F M k is positive and not larger than 1.0. It should be declared that patterns in the same subset are set to same fuzzy membership so that these patterns selected in the same subsets have same importance to the decision surface. Finally, the fuzzy membership s i for a training pattern x i is assigned as: if y i = +1, then s i = 1.0, else if y i = −1 and x i ∈ Sub k , then s i = F M k . So far, the entropy-based fuzzy membership for the training patterns are evaluated.

Entropy-based support matrix machine
By adopting the evaluated entropy-based fuzzy membership which is given before, we propose the entropy-based support matrix machine (ESMM). The detailed description on ESMM is given below.
Suppose that there is a binary-class classification problem with N matrix patterns (A i , y i , s i ), i = 1, 2, ..., N . Here A i ∈ R m×n is the matrix representation of x i and its class label is y i ∈ {+1, −1}. If y i = +1, x i or A i belongs to class +1 or positive class, and then if y i = −1, the pattern belongs to class −1 or negative class. s i is the entropy-based fuzzy membership.
The corresponding criterion function of ESMM is defined below.
where W ∈ R m×n is the matrix of regression coefficients and its nuclear norm is ||W || ⋆ . θ is the coefficient. tr is the trace of matrix. b i is a loose variable for pattern A i . C (C ∈ R, C ≥ 0) is the regularization parameter that adjusts the tradeoff between model complexity and training error.
where the error vector e at k -th iteration of A i , i.e., e i (k) should be W (k) T A i − 1 − b i (k) and W (k) and b i (k) are k-th component of W and b i . Then we adopt the similar method of SMM to get the optimal W and b here. After that, we can get the discriminant function of ESMM as below.
If g(A i ) > 0, then we label A i as a positive pattern, then if g(A i ) < 0, we label A i as a negative pattern.

Experiments
In this section, we adopt 25 real-world imbalanced data sets and 5 image data sets for examples and the compared learning machines are SVM, FSVM, MatMHKS, B-FSVM, SMM. The used 25 real-world imbalanced data sets are selected from the KEEL imbalanced benchmark ones [14,15]. Information of these data sets are given in Tables 2 and 3.

Experimental settings
In terms of the compared learning machines and ESMM, the experimental settings are given here. For the SVM-based learning machines, the used kernel is Radial Basis Function (RBF) kernel ker( where σ is selected from the set {10 −3 , 10 −2 , ..., 100, 1000}. For MatMHKS, the experimental setting can be found in [2]. For SMM, the experimental setting can be found in [5]. For ESMM, its setting is similar with SMM. Moreover, for ESMM, the number of the separated subsets m = 10 and the fuzzy membership parameter α = 0.05 which results in the fuzzy membership 0.5 ≤ s i ≤ 1.0. The reason of restricting s i ∈ [0.5, 1.0] is that the class label of x i should not be neglected when determining the fuzzy membership, i.e., x i is more likely to be classified to the  class which is indicated by its class label. As to negative class patterns, we set s i > 0.5 to indicate that a negative pattern x i is more likely to belong to the negative class. Moreover, the number of nearest neighbors k for calculating the class probability is selected from {1, 2, 3, ..., 18, 19, 20}. In order to measure the performance of compared learning machines on imbalanced data sets, the values of Area Under the ROC Curve (AUC) [25] is given. Besides those, maxIter = 500 represents the maximal size of the iteration. One-against-one classification strategy is used for multi-class problems here [21][22][23][24]. The 10-fold cross validation approach [26] is adopted for the parameter selection. The computations are performed on Intel Core 2 processors with 2.66GHz, 8G RAM, Microsoft Windows 7, and Matlab environment.

Experiments on real-world imbalanced data sets
For experiments, the AUC values are presented in Table 4. The average AUC on all used data sets are presented. Moreover, the average ranks of the learning machines on the used data sets are listed. From the experimental results, it is found that: (1) ESMM results in the best classification performance on 12 of 30 imbalanced data sets which indicates that the our proposal outperforms the compared learning machines; (2) ESMM outperforms the traditional MatMHKS on 26 of 30 imbalanced data sets; (3) The average AUC of ESMM is respectively greater than B-FSVM, FSVM, and SVM Table 4. AUC values (%) of the compared learning machines on real-world imbalanced data sets and image data sets. The best k for each data sets of ESMM is presented. (Note that the average AUC values and the average ranks of the compared learning machines are listed in the last two rows. Best result for each data set is in bold.) Data  on about 5%, 9%, and 10%, which demonstrates that ESMM is of significate advantage in processing imbalanced data sets compared to SVM, FSVM, and B-FSVM; (4) It is found that for some data sets, for example, COIL-20, the three matrix-pattern-oriented approaches perform worse than SVM. We think it is the coincidence due to the training part is gotten in random. But according to the average result, we still find that our proposed ESMM outperforms others in average; (5) For the used 25 vector data sets, ESMM performs best on the 9 data sets of them. For others, ESMM performs better in average and it does not perform worst on any vector data set. This phenomenon can explain the superiority of the ESMM on the vector data sets; (6) As we said before, ESMM and FSVM both adopt fuzzy membership to each input pattern. Now from the experiments, it is found that compared with FSVM, the better performance of ESMM validates that the proposed entropy-based fuzzy membership evaluation approach boosts the performance of a learning machine.

Influence of parameter k on the performance of ESMM
In ESMM, the entropy-based fuzzy membership is evaluated based on the class probability of each training pattern. Thus, the number of nearest neighbors k might have some influence on the class probability. To further investigate the effectiveness of ESMM, here, we study the influence of k on the classification performance. All data sets given in Table 2 are used and related experimental results are given in Fig. 1. The figure shows AUC on the testing sets of the adopted real-world imbalanced data sets and image data sets with respect to k. It is found that: (1) the number of the selected nearest neighbors for calculating the class probability, i.e., k, has some influence on the classification performance since AUC curves fluctuate with respect to k on most data sets; (2) on some data sets, the classification performances are sensitive to the variation of k, since AUC curves on these data sets fluctuate greatly while on some data sets, are not; (3) in generally, with k from 8 to 12, ESMM always gets best performance. Such a result can give us a guidance that how to determine an appropriate k in practical use.

Comparison between ESMM and entropy-based MatMHKS (EMatMHKS)
Here, we give the comparison between ESMM and our previous proposed learning machine, entropy-based MatMHKS (EMatMHKS) [28] which is also an entropybased matrix learning machine. Table 5 shows the comparison between ESMM and EMatMHKS. ↑ (↓) represents that ESMM performance better (worse) than EMatMHKS and (⋆) represents that the AUC value of ESMM is ⋆ larger or smaller than the one of EMatMHKS. From this table, we find that ESMM performs better than EMatMHKS in average.

Conclusion
There are two hot spots of present research, one is imbalanced problem and the other is matrix learning. Imbalanced problem occurs when the size of positive class is more smaller than that of negative class. However, most standard classification learning machines result in unfavorable performance on imbalanced data sets since they are originally designed for processing balanced problems. Although SVM can process imbalanced data sets in some extent, it assigns the same importance to each training pattern. This results in the decision surfaces biasing toward the negative class. In order to overcome the disadvantage of SVM, some researchers propose FSVM and B-FSVM by applying fuzzy memberships to the training patterns to reflect different importance of them. Since the key point in FSVM and B-FSVM is how to determine the fuzzy membership, so this paper presents an entropy-based fuzzy membership evaluation approach for imbalanced data sets. Moreover, matrix patterns cannot be solved by those traditional learning machines including SVM well, so some scholars have developed  Fig. 1. Variation of AUC values of ESMM with respect to k on the adopted imbalanced data sets and image data sets. Here, in the legend, each number denotes one data set which is given in Table 2 or Table 3.
MatMHKS and SMM. This paper adopts the entropy-based fuzzy membership and SMM, and then proposes ESMM. ESMM can not only guarantee importance of the positive class, but also pay more attentions to the patterns with higher class certainties. Thus, ESMM can results in more flexible decision surfaces than both conventional SVM, FSVM, B-FSVM, and MatMHKS on the imbalanced data sets. To validate the effectiveness of ESMM, we adopt 25 real-world imbalanced data sets and 5 image data sets for experiments. Experimental results demonstrates that ESMM outperforms the compared learning machines on realworld imbalanced data sets and the images. Moreover, in the process of ESMM, k has some influence on the classification performance.