CS 391L: Machine Learning: Ensembles

Slides:



Advertisements
Similar presentations
Ensemble Learning Reading: R. Schapire, A brief introduction to boosting.
Advertisements

My name is Dustin Boswell and I will be presenting: Ensemble Methods in Machine Learning by Thomas G. Dietterich Oregon State University, Corvallis, Oregon.
Ensemble Methods An ensemble method constructs a set of base classifiers from the training data Ensemble or Classifier Combination Predict class label.
FilterBoost: Regression and Classification on Large Datasets Joseph K. Bradley 1 and Robert E. Schapire 2 1 Carnegie Mellon University 2 Princeton University.
Longin Jan Latecki Temple University
Ensemble Learning what is an ensemble? why use an ensemble?
A Brief Introduction to Adaboost
Ensemble Learning: An Introduction
Three kinds of learning
Introduction to Boosting Aristotelis Tsirigos SCLT seminar - NYU Computer Science.
Machine Learning: Ensemble Methods
CS 4700: Foundations of Artificial Intelligence
For Better Accuracy Eick: Ensemble Learning
Ensembles of Classifiers Evgueni Smirnov
Machine Learning CS 165B Spring 2012
Issues with Data Mining
Zhangxi Lin ISQS Texas Tech University Note: Most slides are from Decision Tree Modeling by SAS Lecture Notes 6 Ensembles of Trees.
Modified from the slides by Dr. Raymond J. Mooney
CS 391L: Machine Learning: Ensembles
Ensemble Classification Methods Rayid Ghani IR Seminar – 9/26/00.
ECE 8443 – Pattern Recognition Objectives: Bagging and Boosting Cross-Validation ML and Bayesian Model Comparison Combining Classifiers Resources: MN:
Benk Erika Kelemen Zsolt
CS Fall 2015 (© Jude Shavlik), Lecture 7, Week 3
CS Machine Learning 21 Jan CS 391L: Machine Learning: Decision Tree Learning Raymond J. Mooney University of Texas at Austin.
1 CS 391L: Machine Learning: Experimental Evaluation Raymond J. Mooney University of Texas at Austin.
Computational Intelligence: Methods and Applications Lecture 36 Meta-learning: committees, sampling and bootstrap. Włodzisław Duch Dept. of Informatics,
Ensemble Methods: Bagging and Boosting
Ensembles. Ensemble Methods l Construct a set of classifiers from training data l Predict class label of previously unseen records by aggregating predictions.
Ensemble Learning Spring 2009 Ben-Gurion University of the Negev.
CS Ensembles1 Ensembles. 2 A “Holy Grail” of Machine Learning Automated Learner Just a Data Set or just an explanation of the problem Hypothesis.
CLASSIFICATION: Ensemble Methods
Tony Jebara, Columbia University Advanced Machine Learning & Perception Instructor: Tony Jebara.
E NSEMBLE L EARNING : A DA B OOST Jianping Fan Dept of Computer Science UNC-Charlotte.
Ensemble Methods in Machine Learning
Classification Ensemble Methods 1
1 January 24, 2016Data Mining: Concepts and Techniques 1 Data Mining: Concepts and Techniques — Chapter 7 — Classification Ensemble Learning.
Classification and Prediction: Ensemble Methods Bamshad Mobasher DePaul University Bamshad Mobasher DePaul University.
Decision Trees IDHairHeightWeightLotionResult SarahBlondeAverageLightNoSunburn DanaBlondeTallAverageYesnone AlexBrownTallAverageYesNone AnnieBlondeShortAverageNoSunburn.
Machine Learning in Practice Lecture 24 Carolyn Penstein Rosé Language Technologies Institute/ Human-Computer Interaction Institute.
… Algo 1 Algo 2 Algo 3 Algo N Meta-Learning Algo.
ECE 8443 – Pattern Recognition ECE 8527 – Introduction to Machine Learning and Pattern Recognition Objectives: Bagging and Boosting Cross-Validation ML.
CS 2750: Machine Learning Ensembles; bagging and boosting; decision trees Prof. Adriana Kovashka University of Pittsburgh April 11, 2016.
1 Machine Learning: Ensemble Methods. 2 Learning Ensembles Learn multiple alternative definitions of a concept using different training data or different.
1 Machine Learning Lecture 8: Ensemble Methods Moshe Koppel Slides adapted from Raymond J. Mooney and others.
Ensemble Classifiers.
Combining Models Foundations of Algorithms and Machine Learning (CS60020), IIT KGP, 2017: Indrajit Bhattacharya.
Machine Learning: Ensemble Methods
Data Mining Practical Machine Learning Tools and Techniques
HW 2.
Diverse Ensembles for Active Learning
Data Mining Practical Machine Learning Tools and Techniques
Reading: R. Schapire, A brief introduction to boosting
Bagging and Random Forests
CS 2750: Machine Learning Ensemble Methods Decision Trees
Ensembles (Bagging, Boosting, and all that)
Machine Learning: Ensembles
Ensemble Learning Introduction to Machine Learning and Data Mining, Carla Brodley.
ECE 5424: Introduction to Machine Learning
A “Holy Grail” of Machine Learing
Combining Base Learners
Adaboost Team G Youngmin Jun
Data Mining Practical Machine Learning Tools and Techniques
CS 1675: Intro to Machine Learning Ensemble Methods, Decision Trees
Lecture 18: Bagging and Boosting
Ensemble learning.
Model Combination.
Ensemble learning Reminder - Bagging of Trees Random Forest
Ensembles An ensemble is a set of classifiers whose combined results give the final decision. test feature vector classifier 1 classifier 2 classifier.
Ensemble Methods: Bagging.
Ensembles (Bagging, Boosting, and all that)
Presentation transcript:

CS 391L: Machine Learning: Ensembles Raymond J. Mooney University of Texas at Austin

Background of Mixed or Ensemble Learning No Free Lunch (NFL) Theorem (Wolpert, 1995) There does not exist a learning method that is uniformly better than another for all problems. Law of Conservation of Generalization Performance (Schaffer, 1994) See Chapter 12 of Prof. Oh’s Book (to be published) Bias and Variance Conflict (Overfitting problem) Active Learning In active learning, the system is responsible for selecting good training examples and asking a teacher (oracle) to provide a class label. In sample selection, the system picks good examples to query by picking them from a provided pool of unlabeled examples. In query generation, the system must generate the description of an example for which to request a label. Goal is to minimize the number of queries required to learn an accurate concept description

Learning Ensembles                         Learn multiple alternative definitions of a concept using different training data or different learning algorithms. Combine decisions of multiple definitions, e.g. using weighted voting. Training Data Data1 Data m Data2         Learner1 Learner2 Learner m         Model1 Model2 Model m         Model Combiner Final Model

Value of Ensembles When combing multiple independent and diverse decisions each of which is at least more accurate than random guessing, random errors cancel each other out, correct decisions are reinforced. Human ensembles are demonstrably better How many jelly beans in the jar?: Individual estimates vs. group average. Who Wants to be a Millionaire: Expert friend vs. audience vote.

Homogenous Ensembles Use a single, arbitrary learning algorithm but manipulate training data to make it learn multiple models. Data1  Data2  …  Data m Learner1 = Learner2 = … = Learner m Different methods for changing training data: Bagging: Resample training data (bootstrap aggregating) Boosting: Reweight training data DECORATE: Add additional artificial training data In WEKA, these are called meta-learners, they take a learning algorithm as an argument (base learner) and create a new learning algorithm.

Bagging Create ensembles by repeatedly randomly resampling the training data (Brieman, 1996). Given a training set of size n, create m samples of size n by drawing n examples from the original data, with replacement. Each bootstrap sample will on average contain 63.2% of the unique training examples, the rest are replicates. Combine the m resulting models using simple majority vote. Decreases error by decreasing the variance in the results due to unstable learners, algorithms (like decision trees) whose output can change dramatically when the training data is slightly changed.

Boosting Originally developed by computational learning theorists to guarantee performance improvements on fitting training data for a weak learner that only needs to generate a hypothesis with a training accuracy greater than 0.5 (Schapire, 1990). Revised to be a practical algorithm, AdaBoost(Adaptive Boosting), for building ensembles that empirically improves generalization performance (Freund & Shapire, 1996). Examples are given weights. At each iteration, a new hypothesis is learned and the examples are reweighted to focus the system on examples that the most recently learned classifier got wrong.

Boosting: Basic Algorithm General Loop: Set all examples to have equal uniform weights. For t from 1 to T do: Learn a hypothesis, ht, from the weighted examples Decrease the weights of examples ht classifies correctly Base (weak) learner must focus on correctly classifying the most highly weighted examples while strongly avoiding over-fitting. During testing, each of the T hypotheses get a weighted vote proportional to their accuracy on the training data.

AdaBoost Pseudocode TrainAdaBoost(D, BaseLearn) For each example di in D let its weight wi=1/|D| Let H be an empty set of hypotheses For t from 1 to T do: Learn a hypothesis, ht, from the weighted examples: ht=BaseLearn(D) Add ht to H Calculate the error, εt, of the hypothesis ht as the total sum weight of the examples that it classifies incorrectly. If εt > 0.5 then exit loop, else continue. Let βt = εt / (1 – εt ) Multiply the weights of the examples that ht classifies correctly by βt Rescale the weights of all of the examples so the total sum weight remains 1. Return H TestAdaBoost(ex, H) Let each hypothesis, ht, in H vote for ex’s classification with weight log(1/ βt ) Return the class with the highest weighted vote total.

Learning with Weighted Examples Generic approach is to replicate examples in the training set proportional to their weights (e.g. 10 replicates of an example with a weight of 0.01 and 100 for one with weight 0.1). Most algorithms can be enhanced to efficiently incorporate weights directly in the learning algorithm so that the effect is the same (e.g. implement the WeightedInstancesHandler interface in WEKA). For decision trees, for calculating information gain, when counting example i, simply increment the corresponding count by wi rather than by 1.

Experimental Results on Ensembles (Freund & Schapire, 1996; Quinlan, 1996) Ensembles have been used to improve generalization accuracy on a wide variety of problems. On average, Boosting provides a larger increase in accuracy than Bagging. Boosting on rare occasions can degrade accuracy. Bagging more consistently provides a modest improvement. Boosting is particularly subject to over-fitting when there is significant noise in the training data.

DECORATE (Melville & Mooney, 2003) Diverse Ensemble Creation by Oppositional Re-labeling of Artificial Training Examples (Diversity Data or Example) Change training data by adding new artificial training examples that encourage diversity in the resulting ensemble. Increasing diversity can decrease the generalization error in general. (Note: Bias and variance conflict) Improves accuracy when the training set is small, and therefore resampling and reweighting the training set has limited ability to generate diverse alternative hypotheses.

Overview of DECORATE Current Ensemble Training Examples + - C1 - + + Base Learner + - Artificial Examples

Overview of DECORATE Current Ensemble Training Examples + C1 - - + + Base Learner C2 + - - + Artificial Examples

Overview of DECORATE Current Ensemble Training Examples + C1 - - + + Base Learner C2 C3 - + + + - Artificial Examples

Ensembles and Active Learning Ensembles can be used to actively select good new training examples. Select the unlabeled example that causes the most disagreement amongst the members of the ensemble. Applicable to any ensemble method: QueryByBagging QueryByBoosting ActiveDECORATE

Active-DECORATE Unlabeled Examples Current Ensemble Training Examples Utility = 0.1 Current Ensemble Training Examples + C1 - + C2 DECORATE C3 C4

Active-DECORATE Unlabeled Examples Current Ensemble Training Examples Utility = 0.1 0.9 Acquire Label 0.3 0.2 0.5 Current Ensemble Training Examples + - C1 - + C2 DECORATE C3 + C4

Issues in Ensembles Parallelism in Ensembles: Bagging is easily parallelized, Boosting is not. Variants of Boosting to handle noisy data. How “weak” should a base-learner for Boosting be? What is the theoretical explanation of boosting’s ability to improve generalization? Exactly how does the diversity of ensembles affect their generalization performance. Combining Boosting and Bagging.