scieee AI-readable full text Open interactive document viewer

A BIC Based Initial Training Set Selection Algorithm for Active Learning and Its Application in Audio Detection

Leng, Yan; Qi, Guang-hui; Xu, Xin-yan

Abstract

To construct a classification system or a detection system, large amounts of labeled samples are needed. However, manual labeling is dull and time consuming, so researchers have proposed the active learning technology. The initial training set selection is the first step of an active learning process, but currently there have been few studies on it. Most active learning algorithms adopt random sampling or algorithms like sampling by clustering (SBC) to select the initial training samples. But these two kinds of method would lose their effectiveness in detecting events of small probability. Because sometimes they could not select or select too few samples of the small probability events. To solve this problem, this paper proposes a BIC based initial training set selection algorithm. The BIC based algorithm performs clustering on the whole training set first. Then uses BIC to judge the status of clusters. Finally, it adopts different selection strategies for clusters of different status. Experimental results on two real data sets show that, compared to random sampling and SBC, the proposed BIC based initial training set selection algorithm can efficiently solve the detection problem of small probability events. In the mean time, it has obvious advantages in detecting events of non-small probability.

Full text

638 Y. LENG, G. H. QI, X.Y. XU, A BIC BASED INITIAL TRAINING SET SELECTION ALGORITHM FOR AL AND ITS APPLICATION … A BIC Based Initial Training Set Selection Algorithm for Active Learning and Its Application in Audio Detection Yan LENG 1, Guang-hui QI 2, Xin-yan XU 3 1 Dept. of Physics and Electronics, Shandong Normal University, East Wenhua Road 88, 250014, Ji’nan, China 2 Dept. of Mechanical Engineering, Shandong Jiaotong University, Jiaoxiao Road 5, 250023, Ji’nan, China 3 Dept. of Computer Science and Technology, Shandong College of Electronic Technology, Wenhua Road 678, 250200, Zhangqiu, Ji’nan, China [email protected], [email protected], [email protected] Abstract. To construct a classification system or a detection system, large amounts of labeled samples are needed. However, manual labeling is dull and time consuming, so researchers have proposed the active learning technology. The initial training set selection is the first step of an active learning process, but currently there have been few studies on it. Most active learning algorithms adopt random sampling or algorithms like sampling by clustering (SBC) to select the initial training samples. But these two kinds of method would lose their effectiveness in detecting events of small probability because sometimes they could not select or select too few samples of the small probability events. To solve this problem, this paper proposes a BIC based initial training set selection algorithm. The BIC based algorithm performs clustering on the whole training set first, then uses BIC to judge the status of clusters. Finally, it adopts different selection strategies for clusters of different status. Experimental results on two real data sets show that, compared to random sampling and SBC, the proposed BIC based initial training set selection algorithm can efficiently solve the detection problem of small probability events. In the mean time, it has obvious advantages in detecting events of non-small probability. Keywords Initial training set selection, active learning, BIC, subspace sample selection, audio detection. 1. Introduction In many fields, constructing a classification system or a detection system needs large amounts of labeled training samples. While manual labeling would cost people lots of time and energy, which makes it very expensive to obtain labeled samples. For example, in the audio detection field, in order to detect different audio events in the continuous audio stream, we need to label the audio events contained in the audio stream one by one. As another example, in the web search field, it is unrealistic to let the user hand-label a thousand training pages as interesting or not in order to find the web pages that the user is interested in. When detecting events of small probability, the expensive labeling problem would be more serious. For example, in the audio detection field, in an audio stream, the proportion of a small probability event is too small. Also the small probability events would be scattered in time domain. Then we would have obtained very few samples of small probability events after labeling a very long audio stream. To solve the above problem, researchers have proposed the active learning (AL) technology, and have done significant research on it [1-8]. AL is to query the samples that are most informative for training. So compared to passive learning, it can reduce manual labeling workload. There are mainly three issues in AL. First, a small initial training set should be selected to start the AL process. Second, a sampling strategy is required to choose the informative samples for manual labeling. Third, a stopping criterion should be established to determine when to stop the AL process. Lots of researches have been done on the second issue, while the first issue has received little consideration. In this paper, we focus on the first issue, that is, the initial training set selection, and propose a BIC based initial training set selection algorithm for AL. BIC is the abbreviation of Bayesian Information Criterion which will be introduced in Section 4.1. The rest of the paper is organized as follows. Section 2 discusses the related work. Section 3 states the problems existing in current initial training set selection algorithms. Section 4 presents our BIC based initial training set selection algorithm. Section 5 shows experimental results and analysis. Section 6 gives conclusions. 2. Related Work AL can be mainly divided into two categories: uncertainty sampling [9] and committee-based sampling [10], of which uncertainty sampling is the mostly used method. For uncertainty sampling, an active learner can be modeled as (C, Q, E, L, U). C is a classifier that is trained by the labeled training set L. Q is the query function that is used RADIOENGINEERING, VOL. 22, NO. 2, JUNE 2013 639 to select the informative samples from the unlabeled set U. E is the expert that can assign true labels to the selected samples. The procedure of uncertainty sampling AL is: ① A few initial training samples are selected and are hand-labeled by the expert to generate the initial training set L. ② L is used to train an initial classifier C to seed the AL process. ③ The query function Q is used to select informative samples from U. ④ The informative samples are hand-labeled by the expert E and are put into L. ⑤ The updated training set L is then used to retrain the classifier C. ⑥ Go to ③. The iteration continues until achieving a predefined stopping criterion. Currently, most researchers focus on designing the query function Q, while ignore the study of the initial training set selection. Actually, initial training set selection is an important part of AL. Experiments in literature [11] show that the initial training set would have a great impact on the convergence rate of AL. Most current AL algorithms adopt random sampling to generate the initial training set. Hu et al. [12] reviewed 206 papers about AL from conferences including NIPS, ICCV, ICML etc. and from journals including Machine Learning, Pattern Recognition etc., and finally concluded that over 94% researchers had adopted a randomly selected initial training set or had failed to specify their initial training set selection methods. The initial training set is generally generated by random sampling based on the assumption that random sampling will be likely to build the initial training set with the same prior distribution as that of the whole training set. However, Zhu et al. [13] point out that the above assumption seldom holds in reality since the size of the initial training set is much smaller than that of the whole training set. In this case, they emphasize the representativeness of the initial training set, and propose a sampling by clustering (SBC) method. SBC first uses k-means to cluster all unlabeled samples into a predefined number of clusters, and then for each cluster, the sample closest to the cluster centroid is taken as the representative one, and is selected to augment the initial training set. Other initial training set selection algorithms have a similar idea as SBC. For example, Kang et al. [14] take the method just like SBC to select the initial training samples in each cluster. Moreover, they also put the centroids themselves into the initial training set. Nguyen et al. [5], Yuan et al. [15], Cebron et al. [16], and Hu et al. [12] also take the methods similar to SBC to generate the initial training set, but use different clustering algorithms. Nguyen et al. use k-medoid. Yuan et al. and Cebron et al. use fuzzy c-means, and Hu et al. use FFT, AHC and APC. In summary, the current initial training set selection methods can be mainly divided into two categories: random sampling and algorithms like SBC. In this paper, we propose a new BIC based initial training set selection algorithm which can be classified into the latter category. But compared to SBC, it has the following innovations: (1) it uses BIC to judge the status of clusters, (2) it takes different selection strategies for clusters of different status, and the whole selection strategy has taken both representativeness and coverage into consideration. 3. Problem Statements For a detection system, sometimes events of small probability should be detected. For example, in the audio detection field, for the sake of security, certain audio types belonging to events of small probability are detected to check if there has an incident. Another example is that audiences may be interested in different contents of a film, and so they hope to quickly locate different parts of the film. This requires detecting different audio events in the audio stream. Among these audio events, there inevitably have events of small probability. The labeling workload of small probability events is especially large, because after labeling a very long audio stream, we may have obtained only a small amount of samples of small probability events. So the detection of small probability events demands AL more urgently. During experiments, we find that when detecting events of small probability, random sampling or SBC would sometimes make AL fail to work or perform poorly since they could not select or select too few samples of small probability events. When taking random sampling to generate the initial training set, due to the small probabilities of small probability events and the random character of random sampling, it is probably that the samples of small probability events would not be selected or only a small amount are selected, and this would cause AL failing to work or performing poorly. The SBC algorithm also has the same problem. Because sometimes the clustering result would not be so desirable, and samples of small probability events would scatter into the clusters that are mainly composed of samples of large probability events, that is to say, there are no clusters that are mainly composed of samples of small probability events. In this case, it is difficult for SBC to select samples of small probability events. In summary, when detecting events of small probability, random sampling and SBC would make AL fail to work or perform poorly. In order to solve the detection problem of small probability events, we hope that the initial training set would be representative, and in the meantime, would have a good coverage character (the coverage character means that the initial training set should contain enough samples for all classes). Based on the above two criterions, this paper proposes a BIC based initial training set selection algorithm for AL. Experimental results on the “Friends” database and the “daily life” database show that, compared to random sampling and SBC, the proposed BIC based initial training set selection algorithm not only can 640 Y. LENG, G. H. QI, X.Y. XU, A BIC BASED INITIAL TRAINING SET SELECTION ALGORITHM FOR AL AND ITS APPLICATION … efficiently solve the detection problem of small probability events, but also has obvious advantages in detecting events of non-small probability. 4. BIC Based Initial Training Set Selection Algorithm for Active Learning 4.1 Bayesian Information Criterion Bayesian Information Criterion (BIC) [17] is a model selection criterion. Model selection is to select the model that can best represent a given data set X = {x1, x2, …, xN} from some candidate models Mi (the model parameters are θi , I = 1,2, …,m). The BIC of model Mi is defined as:     12 log , , , 1 2 log ii N B IC M P x x x M N i   . (1) P(x1, x2, …, xN|Mi) denotes the maximum likelihood of data set X under model Mi. βi is the number of independent parameters in parameter set θi. Assume that the dimension of the feature vector is d, then βi is equal to (d+1/2d(d+1)). λ is a data-dependent penalty factor (ideally 1.0) to compensate for small sample size cases. The second term 1/2λβilogN is to punish for model complexity. So BIC tends to choose the model that is simple and in the meantime can maximize the value of BIC(Mi). BIC is mostly used in audio segmentation field [18], [19]. In this paper, we expand its application, and use it to judge the status of clusters. 4.2 Judging the Status of Clusters by BIC Let X = {xi∈Rd, i = 1,2, …, N} denote the sample set of cluster C. Assume that samples of the same class are independent and identically distributed, and can be modeled as one multivariate Gaussian. So if the samples of one cluster belong to the same class, then the cluster can be well modeled by a multivariate Gaussian, that is X~N(μ,Σ). In this paper, when performing clustering on the audio database, we find that when the number of clusters is large enough, some clusters are very pure, which means that they are mainly composed of samples belonging to the same class; while the other clusters are mixed clusters, and each mixed cluster is mainly composed of samples coming from two different classes. Such mixed clusters cannot be well modeled by one multivariate Gaussian, but can be better modeled by two Gaussians, one Gaussian for one class. In each mixed cluster, the two samples that are farthest away from each other can be taken as the two least similar samples within the cluster. These two samples are more likely to come from two different classes. To estimate the status (pure or mixed) of clusters, for each cluster, first, choose the two samples that are farthest away from each other, and then assign the rest samples to these two samples according to nearest-neighbor criterion, thus forming two data sets. If the cluster is a mixed cluster, then these two data sets can be approximately taken as the data sets coming from two different classes. We model each data set by a single Gaussian, then the whole cluster is modeled by two different Gaussians: N(μ1,Σ1) and N(μ2,Σ2). The judgment of the cluster status can be cast as the following model selection problem:    ., ~...,,, ;, ~,...,,: , ~,...,,: 2221 11212 211         Nxxx NxxxM NxxxXM Nnn n N Model M1 assumes that all samples within the cluster come from the same class, and can be well modeled by a single Gaussian N(μ,Σ). Model M2 assumes that n samples (corresponding to one of the two data sets mentioned above) belong to the same class, and can be modeled by a single Gaussian N(μ1,Σ1); while the other (N-n) samples (corresponding to the other data set) belong to another class, and can be modeled by another single Gaussian N(μ2,Σ2). According to (1), the BIC values of model M1 and model M2 can be calculated as follows:     11211 11 1 212 1 1 1 log , , , log 2 log log 12 11 log exp 12 2|| log 2 1 log 2 log | | 1 222 log 2 log 2 2 N i T ii d T ii BIC M P x x x M N NPxM N i Nxx i N N dN Nxx i N dN N                                        1 log | | 1 log 2222 Nddd N          (2) Similarly, the BIC value of model M2 is:   21 2 log 2 log | | 22 log | | 22 11log 2 dn BIC M N Nn N ddd N            (3) The parameters (μ,Σ), (μ1,Σ1), (μ2,Σ2) are estimated by corresponding samples, and are denoted as    ,   ,     1 ,    ,     2 2,   . d is the dimension of the feature vector space. The BIC difference between model M1 and M2 can be calculated as a function of the cluster: RADIOENGINEERING, VOL. 22, NO. 2, JUNE 2013 641             21 12 1 2 log | | log | | log | | 12 12 1 log BIC C BIC M BIC M Nn Nn ddd N        (4) According to BIC rule, if ΔBIC(C) > 0, that is, BIC(M2) > BIC(M1), which means that modeling cluster C by model M2 is much better than that by model M1, then such cluster is more likely to be a mixed cluster. Otherwise, if ΔBIC(C) ≤ 0, which means that modeling cluster C by model M1 is much better than that by model M2, then cluster C is more likely to be a pure cluster. 4.3 Subspace Sample Selection In order to decrease computational cost, Jiang proposed a subspace sample selection algorithm to reduce the redundancy that exists in samples of the same class [20]. Subspace sample selection selects samples based on the assumption that the sample farther away from the subspace is more difficult to be described by the current subspace. The samples selected by subspace sample selection can generate a subspace which can maximally approach the whole sample space. The procedure of subspace sample selection is: ① Select one sample according to a certain criterion, and put it into the selected sample set. ② Use the selected sample set to generate a subspace. ③ Select the sample farthest away from the subspace, and put it into the selected sample set. ④ Go to ②. The iteration continues until achieving the stopping criterion. In this paper, we borrow the idea of subspace sample selection, and expand its application. Here we adopt subspace sample selection to select samples in the mixed clusters. Specifically speaking, for a mixed cluster, the selection procedure is: ① Select the sample closest to the cluster centroid as well as the two samples that are farthest away from each other, and put them into the selected sample set. ② Use the selected sample set to generate a subspace. ③ Select the sample that is farthest away from the subspace, and put it into the selected sample set. ④ Go to ②. The iteration continues until a predefined number of samples are selected. The distance between a sample and the subspace is calculated as follows. Suppose the selected sample set is Xsele= {x1, x2, …, xs}, and the subspace generated by Xsele is Ssele, then the squared distance between sample x and the subspace Ssele is defined as the Minimum Mean-Square Error of using Ssele to approach x:   2 2 2 ,min 1 min 11 min 2 1,1 ii sele ii ii ii iji j s dist x S x x i ss xxxx ii ss xx x x x x iij                   (5) A real symmetric matrix K can be calculated by the samples in Xsele, where  ,ij K ij x x , (6) Set  12 ,,, T s xx x x xx  LKx, (7)  12 ,,, T s   L  , (8) then formula (5) can be rewritten as :      2,min 2 min T sele dist x S x x f       x KK (9) where   2T fxx       x KK . (10) It can be seen that dist2(x, Ssele) is the minimum value of function f (α). In order to compute the minimum value of f (α), set 22 0 f=      x KK , (11) then we can obtain: 1   x KK . (12) Substitute α = K-1Kx for α in (9), and then we can get:   21 ,T sele dist x S x x   xx KK K . (13) 4.4 Specific Strategies of the BIC Based Initial Training Set Selection Algorithm The specific strategies of the BIC based initial training set selection algorithm are: ① Perform clustering on the whole unlabeled training set, and obtain clusters Ci , i = 1,2, …, N. Here, the k-means clustering algorithm which is adopted by SBC is used. ② For each cluster Ci, select samples according to its status as follows. 1) Xsele = Xselecentroid(Ci), if | Ci | < Th centroid(·) denotes the sample closest to the cluster centroid. |·| denotes the number of samples contained in the cluster. For a cluster, if its size is less than the threshold 642 Y. LENG, G. H. QI, X.Y. XU, A BIC BASED INITIAL TRAINING SET SELECTION ALGORITHM FOR AL AND ITS APPLICATION … Th, then take it as a small cluster, otherwise a large cluster. When a cluster is small, the calculated BIC value would not be accurate enough, and then the ΔBIC value cannot well describe its status. So for a small cluster, we do not calculate its ΔBIC, but just select the sample closest to the cluster centroid as the representative sample. 2) Xsele = Xselecentroid(Ci), if |Ci | ≥ Th and ΔBIC(Ci) ≤ 0 For a large cluster, calculate its ΔBIC value according to Section 4.2. If ΔBIC ≤ 0, it illustrates that this cluster is more likely to be a pure cluster. For a pure cluster, we mainly consider the representativeness. So the sample closest to the cluster centroid is selected. 3) Xsele = Xselesub(Ci), if | Ci | ≥ Th and ΔBIC(Ci) > 0 sub(·) denotes the samples selected by subspace sample selection which is described in Section 4.3. For a large cluster, if ΔBIC > 0, it illustrates that this cluster is more likely to be a mixed cluster. For a mixed cluster, only the cluster centroid is not enough. The coverage character should be given more consideration, otherwise, samples of certain classes could not be selected at all, especially for those classes of small probability events. So just as that described in Section 4.3, for the mixed cluster, besides the sample closest to the cluster centroid and the two samples that are farthest away from each other, another several samples are selected by subspace sample selection. The selected number is proportional to the size of the cluster. During clustering experiments, we find that sometimes the samples of small probability events would scatter into the clusters that are mainly composed of samples of non-small probability events, thus forming some mixed clusters. In this case, the centroid of the mixed cluster is generally a sample of non-small probability events. So only selecting cluster centroids is not enough, for the samples of small probability events would not be selected. When selecting samples in such a mixed cluster, if the current selected sample set doesn’t contain samples of small probability events, then samples of small probability events would be far away from the subspace generated by the current selected sample set. Since subspace sample selection selects the sample that is farthest away from the subspace in each iteration, it can well select samples of small probability events. Also since the cluster centroid is first selected to augment the selected sample set, and the cluster centroid is less likely to be a class boundary sample, then the class boundary samples would be far away from the subspace generated by the selected sample set, which means that the subspace sample selection algorithm can select class boundary samples. This is very beneficial to model training, especially for those discriminant models. The class boundary samples can provide the model a higher initial performance, and a good initial performance can offer AL a good starting point. It can be seen that our BIC based initial training set selection algorithm has taken both representativeness and coverage into consideration. The framework of the BIC based initial training set selection algorithm is shown in Fig. 1. Fig.1. The framework of the BIC based initial training set selection algorithm. 5. Experimental Results and Analysis 5.1 Experiments on Toy Data Set To visually verify the feasibility of judging the status of clusters by BIC, we first do experiments on a toy data set in two-dimensional space. There are two classes in the toy data set, and the two classes obey the normal distribution of N(μ1,Σ) and N(μ2,Σ) respectively, where μ1=[2,2]T, μ2=[4,4]T and Σ=[1,1]T. Each class contains 200 samples. Set the number of clusters to 3, and take k-means to cluster all the samples in the toy data set. The clustering result is shown in Fig.2. Symbols “o” and “*” are used to distinguish the two classes. The three clusters C1, C2 and C3 are marked black, blue and red respectively. From Fig. 2 we can see that C1 and C2 are two much pure clusters, while C3 is obviously a mixed cluster. Tab. 1. shows the ΔBIC values of the three clusters with λ = 6. It can be seen that the ΔBIC values of C1 and C2 are less than zero, while the ΔBIC value of the mixed cluster C3 is larger than zero, so it is feasible to judge the status of clusters by BIC. Clusters C1 (black) C2 (blue) C3 (red) ΔBIC -7.6816 -6.9676 19.866 Tab. 1. The ΔBIC values of the three clusters. RADIOENGINEERING, VOL. 22, NO. 2, JUNE 2013 643 Fig. 2. The clustering result of the toy data set. The resulting three clusters C1, C2 and C3 are marked black, blue and red respectively. 5.2 Experiments on Real Data Set (1) Experimental Setting In this section, experiments are done on two real data sets to verify the effectiveness of the proposed BIC based initial training set selection algorithm. The first dataset is constructed by 10 episodes of melodrama “Friends”. The extracted audio tracks are totally about 3.68 h in length, and the contained audio events are usually distinct enough to be perceived. 6 major semantic classes that occur in every of the 10 episodes have been labeled, including speech, laugh, music, silence, applause and door-close. For segments in which several audio events are mixed, we only label the dominant one. The severely mixed segments for which it is difficult to recognize the exact semantic, and the segments with the semantic classes that only occasionally occur in one or two of the 10 episodes are all labeled as others. The second data set which we call “daily life” data set is constructed by a 2.75-hour-long audio document recorded by a mobile phone. This audio document has recorded the sounds of a student’s daily life. The audio segments are labeled as one of the 6 semantic classes that describe the audio scenes: classroom, music, lab, playground, station and water-room. The segments labeled as classroom mainly contain speaking of a teacher and several students. Segments labeled as music contain musical sound of different styles. Segments labeled as lab mainly contain sounds of typing on the keyboard, clicking of the mouse and footsteps. Segments labeled as playground mainly contain sounds of the basketball hitting the ground and the shouting of students. Segments labeled as station mainly contain sounds of the bus driving, braking and launching. Segments labeled as water-room mainly contain the sound of water flowing. The audio documents are in mono channel format, and are down-sampled to 16 kHZ. The frame length\ shift is 30\10 ms. For each frame, a set of features are extracted, including short-time energy, zero crossing rate, 8 dimensional Mel Frequency Cepstral Coefficients, sub-band spectral flux, brightness and bandwidth. Then the audio documents are redivided into adjacent clips of one second long with 50% overlap. The means and standard deviations of the above features are computed over all frames contained in one clip. For each clip, the following long time features: high zero crossing rate, low energy rate and spectrum flux are also extracted, thus forming a 43 dimensional feature vector for each clip. The clips are taken as the basic detecting units. For the “Friends” data set, 7 episodes are randomly chosen to construct the training set, and the remaining 3 the test set. The training set is about 2.55 h in length, of which speech, laugh, music, silence, applause and door-close occupy 53.74%, 21.57%, 14.73%, 1.6%, 0.4% and 1.18%, respectively. The test set is about 1.13 h in length, of which the above 6 semantic classes occupy 41.48%, 18.29%, 8.52%, 2.76%, 0.74% and 1.11%, respectively. Whether in the training set or in the test set, the proportions of silence, applause and door-close are all lower than 3%, so these three audio events are obviously the events of small probability. For the “daily life” data set, 70% of the total samples are randomly selected to construct the training set, and the remainder the test set. The training set is about 1.91 h in length, of which classroom, music, lab, playground, station and water-room occupy 24%, 18.18%, 30.55%, 18.18%, 5.82% and 3.27%, respectively. The test set is about 0.84 h in length, of which the above 6 semantic classes occupy 24.79%, 18.18%, 29.75%, 18.18%, 6.61% and 2.48%, respectively. The water-room class accounts for a small proportion in the audio document. It can be taken as an event of small probability. The size of the initial training set can be determined according to the acceptability of the labeling workload. In this paper, we set it to be 3% of the size of the whole training set. The rest 97% serves as the unlabeled training set. Since the initial training samples are few, SVM [21] is adopted as the classifier, as it is one of the most competitive classifier for small samples problem. A more theoretical consideration is given in [22]. For SVM, the most popular AL algorithm is the one proposed by Tong&Koller [3], denoted as SVMAL. SVMAL selects the sample closest to the hyperplane in each iteration for manual labeling. Readers can refer to [3] for its detailed principles. The kernel function used is the radial basis function, and the two SVM parameters, C and γ, are selected based on 5-fold cross-validation. Since SVM is a binary classifier, the onevs-all binary classification technology is adopted to detect a certain audio event in the continuous audio stream. So the samples of the audio event that we want to detect should be relabeled as positive, and all the other samples negative. The detecting procedure is actually a binary classification procedure which is to label the clips of the audio stream as being the audio event of people’s interest or not. To verify the effectiveness of the proposed BIC based initial training set selection algorithm, here we do experiments to compare it with random sampling and SBC [13]. To be fair, the size of the initial training set should be idenC2 C3 C1 644 Y. LENG, G. H. QI, X.Y. XU, A BIC BASED INITIAL TRAINING SET SELECTION ALGORITHM FOR AL AND ITS APPLICATION … tical for the three algorithms. For random sampling, it is easy to control the selected number; while for SBC, since it selects only one sample in each cluster, the selected number would be less than that of the BIC based algorithm under the same clustering result. Thus, for SBC, we take the following two strategies to ensure that its selected number is identical with that of the BIC based algorithm: 1) In order to compare SBC with the BIC based algorithm under the same clustering result, for each small cluster (the cluster whose size is less than the threshold Th), select the sample closest to the cluster centroid; while for each large cluster, select p-nearest neighbors of the centroid. p is proportional to the size of the cluster. Denote this strategy as SBC-A. 2) Enlarge the number of clusters to the predefined size of the initial training set, just as the literature [13] did, and then re-cluster. For each cluster, select the sample closest to the cluster centroid. Denote this strategy as SBC-B. All experiments are run 10 times, and the average is taken as the final result. To comprehensively evaluate the detecting precision rate and recall rate, take F1 measure as the evaluation criterion:  2 1100% recall precision F recall precision    (14) where the detecting precision rate is defined as: = 100% p recision the number of correctly detected samples of a certain event the number of all samples that are recognized as a certain event  (15) and the detecting recall rate is defined as: = 100% recall the number of correctly detected samples of a certain event the total number of samples of a certain event in the database  (16) (2) Experimental Results on Detecting Events of Small Probability To verify the effectiveness of the proposed BIC based initial training set selection algorithm in detecting events of small probability, here we adopt SVMAL to detect silence, applause and door-close in the “Friends” data set respectively, and to detect water-room in the “daily life” data set. Compare the performances of SVMAL under the four different initial training sets obtained by random sampling, SBC-A, SBC-B and the proposed BIC based algorithm. Fig. 3, 4, 5 show under the four different initial training sets, the F1-scores over the number of queries when detecting silence, applause and door-close in the “Friends” data set respectively, and Fig. 6 shows the result of detecting water-room in the “daily life” data set. In order to show the result clearly and comprehensively, in each figure, we provide two subfigures. The subfigure (a) shows the average of the 10 independent experiments. Besides the average, the subfigure (b) also shows the standard error indicated by the error bar. It should be noticed that in the subfigure (b) of Fig. 3 and Fig. 4, including the result of SBC-A would cause the figure to be unclear and difficult to read, so we have removed it. The number of clusters is set to 30 for SBC-A and the BIC based algorithm since after clustering the training samples into 30 clusters, the pure clusters are pure enough, and the mixed clusters are mainly composed of samples coming from two different classes. In practice, since the class label of each sample is unknown in advance, in order to determine the number of clusters, we can repeatedly set the cluster number to a much larger value, and then after clustering, randomly select a small number of samples in each cluster to see whether the clustering result is satisfying. As the literature [13] did, the number of clusters is set to the predefined size of the initial training set (3% of the size of the whole training set in this paper) for SBC-B. Set λ = 0.14 for the “Friends” data set, and λ = 0.2 for the “daily life” data set (the setting of λ is discussed in subsequent (4)). Set Th = 60. The Th value can be determined as follows: As described in Section 4.2, to estimate the status of clusters, the samples in the cluster would be grouped into two data sets. If the sizes of the data sets are too small, the BIC is not applicable, because the BIC value is calculated based on the assumption that the data set can be modeled by a Gaussian, while when the data set is too small, it cannot be modeled by a Gaussian. So after grouping the samples in the cluster into two data sets, collect all the clusters in which the size of the smaller data set is less than the threshold th (th is set according to the empirical value of BIC), and then the smallest size of these clusters can be taken as a reference of setting Th. For both the “Friends” data set (Fig. 3, 4, 5) and the “daily life” data set (Fig. 6), when selecting the initial training samples, the proposed BIC based algorithm has selected all the semantic classes in each running. Random sampling, SBC-A and SBC-B have selected all the semantic classes in each running in the “daily life” data set, but sometimes fail to select samples of small probability events in the “Friends” data set. When the samples of a certain event are failed to be selected, then SVMAL cannot be carried out in detecting this event. In this case, record the F1 values as zeros. So compared to random sampling, SBC-A and SBC-B, the BIC based algorithm can solve the detection problem of small probability events, for it can effectively select the samples of small probability events. For random sampling, because of its randomness character, sometimes it would fail to select the samples of small probability events. For SBC-B, if the clustering result is not optimal, that is, if there are no clusters of small probability events, then the samples of small probability events are RADIOENGINEERING, VOL. 22, NO. 2, JUNE 2013 645 (a) (b) Fig. 3. Under the four different initial training sets, the F1scores over the number of queries when detecting silence in the “Friends” data set. Subfigure (a) shows the average of the 10 independent experiments. Subfigure 2(b) adopts error bar to show the standard error. (a) (b) Fig. 4. Under the four different initial training sets, the F1scores over the number of queries when detecting applause in the “Friends” data set. Subfigure (a) shows the average of the 10 independent experiments. Subfigure (b) adopts error bar to show the standard error. (a) (b) Fig. 5. Under the four different initial training sets, the F1scores over the number of queries when detecting door-close in the “Friends” data set. Subfigure (a) shows the average of the 10 independent experiments. Subfigure (b) adopts error bar to show the standard error. (a) (b) Fig. 6. Under the four different initial training sets, the F1scores over the number of queries when detecting water-room in the “daily life” data set. Subfigure (a) shows the average of the 10 independent experiments. Subfigure (b) adopts error bar to show the standard error. probably not to be selected, because the sample closest to the cluster centroid is less likely to be a sample of small probability events. For SBC-A, the reason is much the same as that of SBC-B. 646 Y. LENG, G. H. QI, X.Y. XU, A BIC BASED INITIAL TRAINING SET SELECTION ALGORITHM FOR AL AND ITS APPLICATION … It can be seen from Fig. 3 to Fig. 6 that SVMAL performs best under the initial training set obtained by the BIC based algorithm, while performs worst under the initial training set obtained by SBC-A. Just as discussed in Section 4.4, the BIC based algorithm can select certain class boundary samples since it adopts subspace sample selection to select samples in the mixed cluster. Such boundary samples are very informative to the discriminant model SVM. Thus the BIC based algorithm can offer the active learning algorithm SVMAL a good starting point. Also when selecting the initial training samples, the BIC based algorithm has taken both representativeness and coverage into consideration. Due to the above reasons, the BIC based algorithm can perform better than the other two algorithms, random sampling and SBC. For random sampling, due to its randomness character and the small size of the initial training set, its selected sample set cannot well describe the whole training set, so it performs much worse. For SBC-A, since it selects several samples close to the cluster centroid in the large clusters, its selected sample set would be redundant and less representative. Also its selected samples are less likely to be on the class boundary. Maybe because of the above reasons, SBC-A performs worst. For SBC-B, its selected sample set is representative, so it performs better than SBC-A. But it has not considered the coverage character, so sometimes it would fail to select samples of small probability events. In this case, when detecting such a small probability event, its F1-measure is set to zero. Also since it selects the sample closest to the cluster centroid in each cluster, its selected samples are less likely to be on the class boundary. Due to the above reasons, SBC-B performs worse than the BIC based algorithm. (3) Experimental Results on Detecting Events of Non-small Probability Besides verifying the effectiveness of the BIC based algorithm in detecting events of small probability, we also do experiments to investigate its superiority in detecting events of non-small probability. Here we use SVMAL to detect speech in the “Friends” data set, and to detect lab in the “daily life” data set. These two audio classes appear most frequently in the two data sets respectively. Fig. 7 and Fig. 8 show under the four different initial training sets, the F1-scores over the number of queries when detecting speech in the “Friends” data set and detecting lab in the “daily life” data set respectively. It is easy for the BIC based algorithm, random sampling, SBC-A and SBC-B to select samples of non-small probability events, so in both data sets, they have all selected the classes of non-small probability events in each running. From Fig. 7 and Fig. 8 it can be seen that when detecting events of non-small probability, it is still under the initial training set obtained by the BIC based algorithm that SVMAL performs best. It is because that the BIC based algorithm has taken both representativeness and coverage into consideration, then its selected samples of non-small (a) (b) Fig. 7. Under the four different initial training sets, the F1scores over the number of queries when detecting speech in the “Friends” data set. Subfigure (a) shows the average of the 10 independent experiments. Subfigure (b) adopts error bar to show the standard error. (a) (b) Fig. 8. Under the four different initial training sets, the F1scores over the number of queries when detecting lab in the “daily life” data set. Subfigure (a) shows the average of the 10 independent experiments. Subfigure (b) adopts error bar to show the standard error. probability events are representative, and its selected samples can better describe the whole training set compared to