Incremental Learning of Support Vector Machines by Classifier Combining

Similar documents
Python Machine Learning

Lecture 1: Machine Learning Basics

Rule Learning With Negation: Issues Regarding Effectiveness

QuickStroke: An Incremental On-line Chinese Handwriting Recognition System

Module 12. Machine Learning. Version 2 CSE IIT, Kharagpur

arxiv: v1 [cs.lg] 15 Jun 2015

Learning From the Past with Experiment Databases

Introduction to Ensemble Learning Featuring Successes in the Netflix Prize Competition

Rule Learning with Negation: Issues Regarding Effectiveness

Switchboard Language Model Improvement with Conversational Data from Gigaword

Handling Concept Drifts Using Dynamic Selection of Classifiers

Assignment 1: Predicting Amazon Review Ratings

The 9 th International Scientific Conference elearning and software for Education Bucharest, April 25-26, / X

Speech Emotion Recognition Using Support Vector Machine

Product Feature-based Ratings foropinionsummarization of E-Commerce Feedback Comments

Australian Journal of Basic and Applied Sciences

CSL465/603 - Machine Learning

Machine Learning and Data Mining. Ensembles of Learners. Prof. Alexander Ihler

CS Machine Learning

Iterative Cross-Training: An Algorithm for Learning from Unlabeled Web Pages

Learning Methods for Fuzzy Systems

Reducing Features to Improve Bug Prediction

Knowledge Transfer in Deep Convolutional Neural Nets

Softprop: Softmax Neural Network Backpropagation Learning

A Case Study: News Classification Based on Term Frequency

Word Segmentation of Off-line Handwritten Documents

On-the-Fly Customization of Automated Essay Scoring

What s in a Step? Toward General, Abstract Representations of Tutoring System Log Data

PREDICTING SPEECH RECOGNITION CONFIDENCE USING DEEP LEARNING WITH WORD IDENTITY AND SCORE FEATURES

Axiom 2013 Team Description Paper

Combining Proactive and Reactive Predictions for Data Streams

INPE São José dos Campos

Human Emotion Recognition From Speech

OPTIMIZATINON OF TRAINING SETS FOR HEBBIAN-LEARNING- BASED CLASSIFIERS

An Effective Framework for Fast Expert Mining in Collaboration Networks: A Group-Oriented and Cost-Based Method

Twitter Sentiment Classification on Sanders Data using Hybrid Approach

Data Integration through Clustering and Finding Statistical Relations - Validation of Approach

Ordered Incremental Training with Genetic Algorithms

Evolutive Neural Net Fuzzy Filtering: Basic Description

Semi-Supervised Face Detection

Machine Learning from Garden Path Sentences: The Application of Computational Linguistics

Calibration of Confidence Measures in Speech Recognition

Dual-Memory Deep Learning Architectures for Lifelong Learning of Everyday Human Behaviors

arxiv: v1 [cs.lg] 3 May 2013

Team Formation for Generalized Tasks in Expertise Social Networks

Fragment Analysis and Test Case Generation using F- Measure for Adaptive Random Testing and Partitioned Block based Adaptive Random Testing

(Sub)Gradient Descent

Truth Inference in Crowdsourcing: Is the Problem Solved?

Matching Similarity for Keyword-Based Clustering

Georgetown University at TREC 2017 Dynamic Domain Track

Mining Student Evolution Using Associative Classification and Clustering

Active Learning. Yingyu Liang Computer Sciences 760 Fall

MULTILINGUAL INFORMATION ACCESS IN DIGITAL LIBRARY

A New Perspective on Combining GMM and DNN Frameworks for Speaker Adaptation

Online Updating of Word Representations for Part-of-Speech Tagging

Reinforcement Learning by Comparing Immediate Reward

A Reinforcement Learning Variant for Control Scheduling

Semi-Supervised GMM and DNN Acoustic Model Training with Multi-system Combination and Confidence Re-calibration

Automating the E-learning Personalization

Model Ensemble for Click Prediction in Bing Search Ads

Chapter 10 APPLYING TOPIC MODELING TO FORENSIC DATA. 1. Introduction. Alta de Waal, Jacobus Venter and Etienne Barnard

A survey of multi-view machine learning

Multi-label Classification via Multi-target Regression on Data Streams

A Comparison of Standard and Interval Association Rules

Linking Task: Identifying authors and book titles in verbose queries

Mining Association Rules in Student s Assessment Data

Generative models and adversarial training

Probabilistic Latent Semantic Analysis

Rule discovery in Web-based educational systems using Grammar-Based Genetic Programming

Class-Discriminative Weighted Distortion Measure for VQ-Based Speaker Identification

WE GAVE A LAWYER BASIC MATH SKILLS, AND YOU WON T BELIEVE WHAT HAPPENED NEXT

Lecture 1: Basic Concepts of Machine Learning

ScienceDirect. A Framework for Clustering Cardiac Patient s Records Using Unsupervised Learning Techniques

Artificial Neural Networks written examination

SARDNET: A Self-Organizing Feature Map for Sequences

arxiv: v1 [cs.cl] 2 Apr 2017

Course Outline. Course Grading. Where to go for help. Academic Integrity. EE-589 Introduction to Neural Networks NN 1 EE

On the Combined Behavior of Autonomous Resource Management Agents

Universidade do Minho Escola de Engenharia

Identification of Opinion Leaders Using Text Mining Technique in Virtual Community

Multi-label classification via multi-target regression on data streams

Beyond the Pipeline: Discrete Optimization in NLP

AUTOMATIC DETECTION OF PROLONGED FRICATIVE PHONEMES WITH THE HIDDEN MARKOV MODELS APPROACH 1. INTRODUCTION

Developing True/False Test Sheet Generating System with Diagnosing Basic Cognitive Ability

Experiments with SMS Translation and Stochastic Gradient Descent in Spanish Text Author Profiling

A Comparison of Two Text Representations for Sentiment Analysis

Learning Optimal Dialogue Strategies: A Case Study of a Spoken Dialogue Agent for

Using Web Searches on Important Words to Create Background Sets for LSI Classification

OCR for Arabic using SIFT Descriptors With Online Failure Prediction

Cooperative evolutive concept learning: an empirical study

have to be modeled) or isolated words. Output of the system is a grapheme-tophoneme conversion system which takes as its input the spelling of words,

Welcome to. ECML/PKDD 2004 Community meeting

Unsupervised Learning of Word Semantic Embedding using the Deep Structured Semantic Model

ISFA2008U_120 A SCHEDULING REINFORCEMENT LEARNING ALGORITHM

Notes on The Sciences of the Artificial Adapted from a shorter document written for course (Deciding What to Design) 1

Modeling function word errors in DNN-HMM based LVCSR systems

Software Maintenance

CLASSIFICATION OF TEXT DOCUMENTS USING INTEGER REPRESENTATION AND REGRESSION: AN INTEGRATED APPROACH

Efficient Online Summarization of Microblogging Streams

Time series prediction

Transcription:

Incremental Learning of Support Vector Machines by Classifier Combining Yi-Min Wen 1,2 and Bao-Liang Lu 1, 1 Department of Computer Science and Engineering, Shanghai Jiao Tong University, 8 Dong Chuan Road, Shanghai 224, China {wenyimin; bllu}@sjtu.edu.cn 2 Hunan Industry Polytechnic, Changsha 417, China Abstract. How to acquire new knowledge from new added training data while retaining the knowledge learned before is an important problem for incremental learning. In order to handle this problem, we propose a novel algorithm that enables support vector machines to accommodate new data, including samples that correspond to previously unseen classes, while it retains previously acquired knowledge. Furthermore, our new algorithm does not require access to previously used data during subsequent incremental learning sessions. The proposed algorithm trains a support vector machine that can output posterior probability information once an incremental batch training data is acquired. The outputs of all the resulting support vector machines are simply combined by averaging. Experiments are carried out on three benchmark datasets as well as a real world text categorization task. The experimental results indicate that the proposed algorithm is superior to the traditional incremental learning algorithm, Learn++. Due to the simplicity of the proposed algorithm, it can be used more effectively in practice. 1 Introduction The brain of human beings has powerful ability of incremental learning. Therefore, how to develop brain-like computing model, how to implement incremental learning is one challenge problem in machine learning research. In real world applications, there are three scenarios need incremental learning: all training data cannot be gathered at one time for the cost of collecting data. As a result the data are acquired batch by batch; some real world applications need instant learning once some training data obtained; all training data cannot be loaded into the memory of computers if the training set is very large. According to Jantke [1], incremental learning is to construct new hypothesis by using only the hypothesis before and the recent information on hand. Zhou and Chen [2] distinguished three kinds of incremental learning tasks: Example-incremental learning To whome correspondence should be addressed. This work was supported in part by the National Natural Science Foundation of China under the grants NSFC 637522 and NSFC 64734, and the Microsoft Laboratory for Intelligent Computing and Intelligent Systems of Shanghai Jiao Tong University. Z.-H. Zhou, H. Li, and Q. Yang (Eds.): PAKDD 27, LNAI 4426, pp. 94 911, 27. c Springer-Verlag Berlin Heidelberg 27

Incremental Learning of Support Vector Machines by Classifier Combining 95 (E-IL); Class-incremental learning (C-IL); and Attribute-incremental learning (A-IL). However, C-IL and A-IL have not been received much attention so far. Syed et al. [3] introduced two types of incremental learning methods: instance learning, which uses one example at a time, and block by block learning, which uses a suitable-size subset of samples at a time. At present, however, the essence of the training algorithms of various kinds of artificial learning systems is an optimization procedure that aims to ensure the generalization ability based on the current learning environment. Therefore, all the current machine learning algorithms don t adapt for incremental learning in nature. The non-adaption lies in that the computation model lacks the ability to get new knowledge or cannot retain the knowledge learned before [4]. The training of artificial neural networks is a gradient descent process, and therefore the modification of connection weights will damage the learned knowledge. The training of SVMs is a global optimization based on all training data. As a result, new added training data will make support vectors change [5]. Classifier combining is a useful method for machine learning [6] [7] [8]. Many scholars have applied classifier combining techniques to incremental learning. Polikar et al. proposed Learn++ based on AdaBoost algorithm [9]. Lu and Ichikawa proposed an incremental learning model based on emergence theory [1]. Macek proposed incremental learning algorithms based on bagging and boosting and successfully applied them to EEG data classification [11]. Wang et al. used weighted ensemble classifiers to mine concept-drifting data stream [12]. Like bagging, a model of incremental learning by classifier combining (ILbyCC) is proposed in this paper. 2 Incremental Learning by Classifier Combining 2.1 Definition of Batch Incremental Learning Definition 1. Given a sequence of training datasets S 1,S 2,..., S m,wheres i = {(x ij,c ij ) x ij R n,c ij L i {1, 2,..., k}, 1 j n i }, 1 i m. L i indicates the set of class label in training dataset S i.letse 1 denotes the classifier trained on S 1, the batch incremental learning procedure IL can be illustrated as: IL(S i,e i 1 )=E i, 2 i m. In this paper, we only consider the case where the number of class labels don t decrease, i.e., L 1 L 2... L m. ILbyCC takes a frame of modular architecture. Modular architecture can make classifier easy adapt to incremental learning. ILbyCC trains a new classifier on an incremental batch and saves it. All the classifiers trained by far are combined into one combined classifier. The training algorithm of ILbyCC can be illustrated as: M(f 1,f 2,..., f i 1,f i )=E i,wherem denotes the strategy for classifier combining, and E i denotes the current combined classifier.

96 Y.-M. Wen and B.-L. Lu Table 1. The problem statistics and the parameters used in SVMs Data set #attributes #training data #test data #class C γ Optical Digits 124 12 442 1 128.2 Vehicle Silhouette 18 63 216 4 15.1 Concentric Circle 2 12 5 5 128.125 Yomiuri News Corpus 5 42431 87268 9 64.125 2.2 Combining Classifiers by Averaged Bayes Given m classifiers that can output posterior probability information, when a test input x comes, the j-th classifier outputs the posterior probability of x belonging to all the classes: P j (y = i x),i {1, 2,..., k},j =1, 2,..., m (1) According to Averaged Bayes, the combined classifier E m computes the posterior probability of x belonging to all classes as follows: P Em (y = i x) = 1 m m P j (y = i x), i {1, 2,..., k} (2) j=1 According to Bayes rule, x canbeclassifiedasthei-th class: i =argmax i=k i=1 P E m (y = i x) (3) 2.3 Incremental Learning Algorithm by Classifier Combining ILbyCC algorithm is described as Fig.1. 3 Experiments 3.1 Datasets In order to evaluate the performance of ILbyCC algorithm, experiments are run on four data sets. The first three data sets, Optical Digits Database, Vehicle Silhouette Database, and Concentric Circle Database, are took from Poliker s paper [9] and used as Poliker s strategy. The fourth data set is a part of Yomiuri News Corpus database. We select all the instances of nine classes, such as crime, sport, Asian-Pacific, North-South-American, health, accident, by-time, society, and finance, which will be called as class 1 through class 9. The training data set is randomly divided into 9 incremental batches, S 1 through S 9,whereS 1 through S 3 have instances from classes 1, 2, and 3; S 4 through S 6 contain instances from classes 1 through 6; and S 7 to S 9 have instances from classes 1 through 9. The statistics of the tasks are illustrated in Table.1. The parameters used in SVMs are selected by cross-validation.

Incremental Learning of Support Vector Machines by Classifier Combining 97 Algorithm: ILbyCC Input: given two example-incremental learning sequences: List 1 = {S 1 1,S 2 1,..., S m 1 } and List 2 = {S 1 2,S 2 2,..., S n 2 }, wherel 1 1 = L 2 1 =... = L m 1 = L1, L 1 2 = L 2 2 =... = L n 2 = L2, L1 L2. Let n =, if there is only one example-incremental learning sequence. Steps: 1. For t =1, 2,..., m (a) Take cross-validation on S t 1 to select the optimal parameters of training algorithm and train a classifier f t 1 on the incremental batch S t 1. (b) Save classifier f t 1 and S t 1 can be discarded. 2. For t =1, 2,..., n (a) Take cross-validation on S t 2 to select the optimal parameters of training algorithm and train a classifier f t 2 on the incremental batch S t 2. (b) Save classifier f t 2 and S t 2 can be discarded. 3. Testing: (a) Import a test input x into each f t 2, 1 t n, and calculate the posterior probability of x belonging to all classes: P j t, 1 t n, j L2. (b) Take the rule of classifier combining M to combine f t 2, 1 t n, and get the combined classifier E n = M(f 1 2,f 2 2,..., f n 2 ), where E n outputs the posterior probability of x belonging to all classes: P j E n,j L2. 4. If argmax j L2P j E n (L2 L1), x can be classified by the value of argmax j (L2 L1) P j E n. The algorithm ends. 5. If argmax j L2P j E n L1, modify the outputs of E n by setting P j E n =,j P j En (L2 L1) and P j E n =,j L1, then take the classifier combining rule j L1 P j En M to combine classifiers {f1 1,f1 2,..., f1 m,e n} and get the combined classifier E. E outputs the posterior probability of x belonging to all classes: P j E,j L1. 6. Classify the test input x by the value of argmax j L1P j E. 7. The algorithm ends. Fig. 1. Incremental learning algorithm by classifier combining In order to test ILbyCC s performance on incremental learning when different incremental step takes different parameters. Optimal parameters in each incremental step were chosen among 25 pairs of (C, γ) by 1-cross-validation. 25 pairs of (C, γ) were generated around the values of (C, γ) intable.1bya product factor of 2. In order to ensure the reliability of the experimental results, the first three experiments were repeated 1 times and averaged results were presented. Only the last experiment was run one time for its large size. In order to evaluate the performance of ILbyCC, several exsiting algorithms were run for a comparison study. We adopted the algorithm of Syed [3] that was denoted as for convenience. In addition, the basic incremental learning algorithm is Batchtraining, i.e. when the i-th incremental batch comes, the classifiers trained before are all discarded and S 1 S2... Si is used to train a new classifier. Obviously, Batch-training should keep all training data gotten by far, and further,

98 Y.-M. Wen and B.-L. Lu catastrophic forgetting takes place when new data comes. In order to compare ILbyCC with Learn++, the paper directly quotes the experimental results of Learn++ [9]. For convenience, when all the training sessions of ILbyCC uses the same parameters, ILbyCC is denoted as ILbyCC1, when different session of ILbyCC use different parameters, ILbyCC is denoted as ILbyCC2. 3.2 Results and Analysis Both Fig. 2 and Fig. 4 show that ILbyCC was able to preserve the knowledge learned before and acquire new information. Fig. 3 and Fig. 5 illustrate that ILbyCC can incrementally learn successfully, ILbyCC1 and ILbyCC2 have nearly the same generalization ability, and ILbyCC is slightly good then Learn++. Because all incremental batches are not always in the same distribution, the incremental learning performance of fluctuates. Fig.6 and Fig.8 show that the generalization performance of ILbyCC first decreases slightly when new classes are introduced and increases when training data with the same class labels are continuously added, indicating that ILbyCC can preserve the learned knowledge. From Fig. 7 and Fig.9, it seems that a large improvement on the performance is obtained after new classes that were not available earlier are introduced, but only minor improvements in the performance can be observed from the test accuracy curves when new classes are not introduced, indicating that ILbyCC can learn from new introduced classes. In Fig. 1, it can be seen that the training time of ILbyCC is far smaller than the training time of Batch-training and. The large speedup of ILbyCC can compensate the slight decrease of its generalization performance compared with Batch-training. Why can ILbyCC work effectively? According to the theory of bias-variance [13], decomposing training data will introduce bias and makes the generalization ability of single classifier decrease, however, decomposing training data will increase the variances between all classifiers and increase the generalization ability.35.3.85.84.83 Learn++ ILbyCC1 ILbyCC2.25.2.15.82.81.8.1.79.5.78 Class1 Class2 Class3 Class4.77 1 2 3 Fig. 2. The generalization performance of ILbyCC1 on each class in Vehicle Silhouette database Fig. 3. Accuracy comparison of various incremental learning algorithms on Vehicle Silhouette database

Incremental Learning of Support Vector Machines by Classifier Combining 99.1.1.9.9.8.8.7.7.6.5.4 Step4 Step5 Step6.6.5.4 Step4 Step5 Step6.3.3.2.2.1.1 Class1 Class2 Class3 Class4 Class5 Class6 Class7 Class8 Class9 Class1 Fig. 4. The generalization performance of ILbyCC1 on each class of Optical digits database 1.98.96.94.92.9.88.86.84.82 Learn++ ILbyCC1 ILbyCC2.8 1 2 3 4 5 6.2.18.16.14.12.1.8.6.4.2 Step4 Step5 Step6 Class1 Class2 Class3 Class4 Class5 Fig. 5. Accuracy comparison of various incremental learning algorithms on Optical digits database Fig. 6. The generalization performance of ILbyCC1 on each class of Concentric Circle database of the combined classifier, which compensates the decrease of the generalization ability caused by decomposition. Therefore, ILbyCC has nearly the same test accuracy with Batch-training. In addition, the combining rule (2) can automatically invalidate the classifiers that is not much confident of its outputs, i.e., given P j (y =1 x)... P j (y = k x), the result of the equation (3) will not be influenced by the outputs of the j-th classifier. Therefore, Averaged Bayes can automatically select the classifiers that is confident of its outputs to combine. Note that the performance of ILbyCC1 and ILbyCC2 in all the simulations are nearly the same, it is very interesting to observe that the time complexity for selecting optimal parameters is decreased by training data decomposition. It is not reasonable for incremental learning algorithm to wait for all training data collected to select optimal parameters. It is also not reasonable to apply the parameters, which is gotten from the first incremental batch, to the following incremental steps. Therefore, ILbyCC not only decreases the time complexity of parameter selection but also makes incremental learning possible.

91 Y.-M. Wen and B.-L. Lu 1.95.9.85.8.75.7 Learn++ ILbyCC1 ILbyCC2.35.3.25.2.15 Step4 Step5 Step6 Step7 Step8 Step9.65.1.6.5.55 1 2 3 4 5 6 Class1 Class2 Class3 Class4 Class5 Class6 Class7 Class8 Class9 Fig. 7. Accuracy comparison of various incremental learning algorithms on Concentric Circle database Fig. 8. The generalization performance of ILbyCC1 on each class in Yomiuri News Corpus database.9 45.85.8 ILbyCC1 ILbyCC2 4 35 ILbyCC.75.7.65 Training time (m) 3 25 2 15.6 1.55 5.5 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 Fig. 9. Accuracy comparison of various incremental learning algorithms on Yomiuri News Corpus database Fig. 1. Comparison of training time on Yomiuri News Corpus database 3.3 Discussions Compared with Learn++, the proposed ILbyCC satisfies the criteria proposed by Polikar [9] and has comparable incremental learning ability, but ILbyCC can be implemented more simply. Learn++ is a kind of AdaBoost in essence, Learn++ should use more parameters and train more classifiers. Note that ILbyCC is a bagging-like algorithm, ILbyCC can be parallized for training speedup, while Learn++ can only be implemented in serial. In addition, ILbyCC needs no communication between classifiers, it can well protect the privacy of data. The work in this paper can prove the availability of the algorithm estimating the posterior probabilistic of SVMs. To our best knowledge, ILbyCC is the first application to apply posterior probabilistic SVMs to real problem.

Incremental Learning of Support Vector Machines by Classifier Combining 911 4 Conclusions In this paper, we have proposed a novel incremental learning algorithm ILbyCC that uses Averaged Bayes rule to combine classifiers. The experimental results indicate that ILbyCC can not only preserve the knowledge learned before but also can learn new knowledge from new added data and further new knowledge from new introduced classes. Three main advantages of ILbyCC over existing algorithms are simply implementing, small time complexity for parameter selection, and training time saving. In addition, the proposed algorithm is a general framework of incremental learning and any machine learning algorithm that can output posterior probabilistic can be integrated into ILbyCC. References 1. Jantke, P.: Types of Incremental Learning. AAAI Symposium on Training Issues in Incremental Learning, March 23-25, Standford CA, 1993 2. Zhou, Z.H. and Chen, Z.Q.: Hybrid Decisions Tree. Knowledge-Based System, 15 (22) 515-528 3. Syed, N.A., Huan, L., and Sung, K.K.: Handling Concept Drifts in Incremental Learning with Support Vector Machines. In: Proceedings of KDD-99, San Diego, CA,USA, 1999 4. Grossberg, S.: Nonlinear Neural Networks: Principles, Mechanisms and Architectures. Neural Networks, 1 (1988) 17-61 5. Rüping, S.: Incremental Learning with Support Vector Machines. In: Proceedings of the IEEE International Conference on Data Mining, San Jose, CA (21) 6. Lu, B.L., and Ito, M.: Task Decomposition and Module Combination Based on Class Relations: a Modular Neural Networks for Pattern Classification. IEEE Transaction on Neural Networks, 1 (1999) 1244-1256 7. Zhou, Z.H. and Chen S.F.: Neural Network Ensemble. Chinese J.Computers (in Chinese), 25 (22) 1-8 8. Xu, L., Krzyżak, A., and Suen, C.Y.: Methods of Combining Multiple Classifiers and Their Application to Handwriting Recognition. IEEE Transaction on Systems, Man, and Cybernetics, 22 (1992) 418-434 9. Polikar, R., Udpa, L., Udpa, S.S., and Honavar, V.: Learn++: An Incremental Learning Algorithm for Supervised Neural Networks, IEEE Transaction on Systems, Man, and Cybernetics, 31 (21) 497-58 1. Lu, B.L. and Ichikawa, M.: Emergent Online Learning in Min-max Modular Neural Networks. In: Proceedings of IJCNN 1 (21) 265-2655 11. Macek, J.: Incremental Learning of Ensemble Classifiers on ECG data. In: Proceedings of CBMS 5 (25) 12. Wang, H.X., Fan, W., Yu, P.S., and Han, J.W.: Mining Concept-drifting Data Streams Using Ensemble Classifiers. In: Proceedings of the ninth ACM SIGKDD international conference on Knowledge discovery and data mining (23) 13. Breiman, L.: Bagging Predictors. Machine Learning, 24 (1996) 123-14