Feature Selection in Nonlinear Kernel Classification Olvi Mangasarian Edward Wild University of Wisconsin Madison.

Slides:



Advertisements
Similar presentations
Sublinear-time Algorithms for Machine Learning Ken Clarkson Elad Hazan David Woodruff IBM Almaden Technion IBM Almaden.
Advertisements

ECG Signal processing (2)
Principal Component Analysis Based on L1-Norm Maximization Nojun Kwak IEEE Transactions on Pattern Analysis and Machine Intelligence, 2008.
SVM - Support Vector Machines A new classification method for both linear and nonlinear data It uses a nonlinear mapping to transform the original training.
Support Vector Machines Instructor Max Welling ICS273A UCIrvine.
Pattern Recognition and Machine Learning
An Introduction of Support Vector Machine
Support Vector Machines
SVM—Support Vector Machines
CSCI 347 / CS 4206: Data Mining Module 07: Implementations Topic 03: Linear Models.
The Disputed Federalist Papers : SVM Feature Selection via Concave Minimization Glenn Fung and Olvi L. Mangasarian CSNA 2002 June 13-16, 2002 Madison,
Y.-J. Lee, O. L. Mangasarian & W.H. Wolberg
Fuzzy Support Vector Machines (FSVMs) Weijia Wang, Huanren Zhang, Vijendra Purohit, Aditi Gupta.
The value of kernel function represents the inner product of two training points in feature space Kernel functions merge two steps 1. map input data from.
Proximal Support Vector Machine Classifiers KDD 2001 San Francisco August 26-29, 2001 Glenn Fung & Olvi Mangasarian Data Mining Institute University of.
Reduced Support Vector Machine
Binary Classification Problem Learn a Classifier from the Training Set
Support Vector Machines
Active Set Support Vector Regression
Support Vector Regression David R. Musicant and O.L. Mangasarian International Symposium on Mathematical Programming Thursday, August 10, 2000
Support Vector Machines
Difficulties with Nonlinear SVM for Large Problems  The nonlinear kernel is fully dense  Computational complexity depends on  Separating surface depends.
Mathematical Programming in Support Vector Machines
An Introduction to Support Vector Machines Martin Law.
Dimensionality reduction Usman Roshan CS 675. Supervised dim reduction: Linear discriminant analysis Fisher linear discriminant: –Maximize ratio of difference.
Support Vector Machines Piyush Kumar. Perceptrons revisited Class 1 : (+1) Class 2 : (-1) Is this unique?
Incremental Support Vector Machine Classification Second SIAM International Conference on Data Mining Arlington, Virginia, April 11-13, 2002 Glenn Fung.
Outline Separating Hyperplanes – Separable Case
Efficient Model Selection for Support Vector Machines
Feature Selection in Nonlinear Kernel Classification Olvi Mangasarian & Edward Wild University of Wisconsin Madison Workshop on Optimization-Based Data.
GA-Based Feature Selection and Parameter Optimization for Support Vector Machine Cheng-Lung Huang, Chieh-Jen Wang Expert Systems with Applications, Volume.
The Disputed Federalist Papers: Resolution via Support Vector Machine Feature Selection Olvi Mangasarian UW Madison & UCSD La Jolla Glenn Fung Amazon Inc.,
1 SUPPORT VECTOR MACHINES İsmail GÜNEŞ. 2 What is SVM? A new generation learning system. A new generation learning system. Based on recent advances in.
Knowledge-Based Breast Cancer Prognosis Olvi Mangasarian UW Madison & UCSD La Jolla Edward Wild UW Madison Computation and Informatics in Biology and Medicine.
计算机学院 计算感知 Support Vector Machines. 2 University of Texas at Austin Machine Learning Group 计算感知 计算机学院 Perceptron Revisited: Linear Separators Binary classification.
Machine Learning Using Support Vector Machines (Paper Review) Presented to: Prof. Dr. Mohamed Batouche Prepared By: Asma B. Al-Saleh Amani A. Al-Ajlan.
Kernel Methods A B M Shawkat Ali 1 2 Data Mining ¤ DM or KDD (Knowledge Discovery in Databases) Extracting previously unknown, valid, and actionable.
Proximal Support Vector Machine Classifiers KDD 2001 San Francisco August 26-29, 2001 Glenn Fung & Olvi Mangasarian Data Mining Institute University of.
An Introduction to Support Vector Machines (M. Law)
Nonlinear Data Discrimination via Generalized Support Vector Machines David R. Musicant and Olvi L. Mangasarian University of Wisconsin - Madison
Low-Rank Kernel Learning with Bregman Matrix Divergences Brian Kulis, Matyas A. Sustik and Inderjit S. Dhillon Journal of Machine Learning Research 10.
Privacy-Preserving Support Vector Machines via Random Kernels Olvi Mangasarian UW Madison & UCSD La Jolla Edward Wild UW Madison November 14, 2015 TexPoint.
Machine Learning Weak 4 Lecture 2. Hand in Data It is online Only around 6000 images!!! Deadline is one week. Next Thursday lecture will be only one hour.
Multiple Instance Learning via Successive Linear Programming Olvi Mangasarian Edward Wild University of Wisconsin-Madison.
RSVM: Reduced Support Vector Machines Y.-J. Lee & O. L. Mangasarian First SIAM International Conference on Data Mining Chicago, April 6, 2001 University.
Biointelligence Laboratory, Seoul National University
Linear Models for Classification
Classification (slides adapted from Rob Schapire) Eran Segal Weizmann Institute.
CS558 Project Local SVM Classification based on triangulation (on the plane) Glenn Fung.
Exact Differentiable Exterior Penalty for Linear Programming Olvi Mangasarian UW Madison & UCSD La Jolla Edward Wild UW Madison December 20, 2015 TexPoint.
Feature Selection in k-Median Clustering Olvi Mangasarian and Edward Wild University of Wisconsin - Madison.
Data Mining via Support Vector Machines Olvi L. Mangasarian University of Wisconsin - Madison IFIP TC7 Conference on System Modeling and Optimization Trier.
Nonlinear Knowledge in Kernel Approximation Olvi Mangasarian UW Madison & UCSD La Jolla Edward Wild UW Madison.
Support Vector Machines Reading: Ben-Hur and Weston, “A User’s Guide to Support Vector Machines” (linked from class web page)
Proximal Plane Classification KDD 2001 San Francisco August 26-29, 2001 Glenn Fung & Olvi Mangasarian Second Annual Review June 1, 2001 Data Mining Institute.
Privacy-Preserving Support Vector Machines via Random Kernels Olvi Mangasarian UW Madison & UCSD La Jolla Edward Wild UW Madison March 3, 2016 TexPoint.
Survival-Time Classification of Breast Cancer Patients and Chemotherapy Yuh-Jye Lee, Olvi Mangasarian & W. H. Wolberg UW Madison & UCSD La Jolla Computational.
Machine Learning and Data Mining: A Math Programming- Based Approach Glenn Fung CS412 April 10, 2003 Madison, Wisconsin.
Incremental Reduced Support Vector Machines Yuh-Jye Lee, Hung-Yi Lo and Su-Yun Huang National Taiwan University of Science and Technology and Institute.
Massive Support Vector Regression (via Row and Column Chunking) David R. Musicant and O.L. Mangasarian NIPS 99 Workshop on Learning With Support Vectors.
Minimal Kernel Classifiers Glenn Fung Olvi Mangasarian Alexander Smola Data Mining Institute University of Wisconsin - Madison Informs 2002 San Jose, California,
An Automatic Method for Selecting the Parameter of the RBF Kernel Function to Support Vector Machines Cheng-Hsuan Li 1,2 Chin-Teng.
High resolution product by SVM. L’Aquila experience and prospects for the validation site R. Anniballe DIET- Sapienza University of Rome.
Knowledge-Based Nonlinear Support Vector Machine Classifiers Glenn Fung, Olvi Mangasarian & Jude Shavlik COLT 2003, Washington, DC. August 24-27, 2003.
Non-separable SVM's, and non-linear classification using kernels Jakob Verbeek December 16, 2011 Course website:
PREDICT 422: Practical Machine Learning
Glenn Fung, Murat Dundar, Bharat Rao and Jinbo Bi
Concave Minimization for Support Vector Machine Classifiers
University of Wisconsin - Madison
Minimal Kernel Classifiers
Presentation transcript:

Feature Selection in Nonlinear Kernel Classification Olvi Mangasarian Edward Wild University of Wisconsin Madison

Problem  Input space feature selection in nonlinear kernel classification  Mixed-integer programming problem  Inherently difficult (NP-hard)  Most research of recent vintage

Example ___ _ ___ _ x1x1 x2x2 However, data is nonlinearly separable using only the feature x 2 Best linear classifier that uses only 1 feature selects the feature x 1 Hence, feature selection in nonlinear classification is important

Outline  Start with a standard 1-norm nonlinear support vector machine (SVM)  Add 0-1 diagonal matrix to suppress or keep features  Leads to a nonlinear mixed-integer program  Introduce algorithm to obtain a good local solution to the resulting mixed-integer program  Evaluate algorithm on five public datasets from the UCI repository

Notation  Data points represented as rows of an m £ n matrix A  Data labels of +1 or -1 are given as elements of an m £ m diagonal matrix D  XOR Example: 4 points in R 2  Points (0, 1), (1, 0) have label +1  Points (0, 0), (1, 1) have label  1  Kernel K(A, B) : R m £ n £ R n £ k ! R m £ k  For x 2 R n, the commonly used Gaussian kernel with parameter  the i th component of K(x 0, A 0 ) is: K(x 0, A 0 ) i = K(x 0, A 0 i ) = exp(-  ||x  A i || 2 )

K(x 0, A 0 )u =  1  Support Vector Machines K(A +, A 0 )u ¸ e  +e K(A , A 0 )u · e   e + _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ K(x 0, A 0 )u =  K(x 0, A 0 )u =  Slack variable y ¸ 0 allows points to be on the wrong side of the bounding surface  x 2 R n  e is a vector of ones  SVM defined by the parameters (u,  ) of the nonlinear surface  A contains all data points {+…+} ½ A + {  …  } ½ A  SVMs Minimize e 0 s (||u|| 1 ) to reduce overfitting Minimize e 0 y (hinge loss or plus function or max{, 0}) to fit data

Reduced Feature SVM Starting with Full SVM If E ii is 0 the i th feature is removed  To suppress features, add the number of features present (e 0 Ee) to the objective  As parameter  ¸ 0 is increased, more features will be removed from the classifier All features are present in the kernel matrix K(A, A 0 ) Replace A with AE, where E is a diagonal n £ n matrix with E ii 2 {1, 0}, i = 1, …, n

Algorithm  Global solution to nonlinear mixed-integer program cannot be found efficiently  Requires solving 2 n linear programs  For fixed values of the integer diagonal matrix, the problem is reduced to an ordinary SVM linear program  Solution strategy: alternate optimization of continuous and integer variables:  For fixed values of E, solve a linear program for (u, , y, s)  For fixed values of (u, , s), sweep through the components of E and make updates which decrease the objective function

Reduced Feature SVM (RFSVM) Algorithm 1)Initialize E randomly  Cardinality of E inversely proportional to  For large  preponderance of 0 elements in E For small  preponderance of 1 elements in E  Let k be the maximum number of sweeps, tol be the stopping tolerance 2)For fixed integer values E, solve the SVM linear program to obtain (u, , y, s). Sweep through E repeatedly as follows: 3)For each component of E replace 1 by 0 and conversely provided the change decreases the overall objective function by more than tol. Go to (4) if no change was made in the last sweep, or k sweeps have been completed 4)Solve the SVM linear program with the new matrix E. If the objective decrease is less than tol, stop, otherwise go to (3)

RFSVM Convergence (for tol = 0)  Objective function value converges  Each step decreases the objective  Objective is bounded below by 0  Limit of the objective function value attained at any accumulation point of the sequence of iterates  Accumulation point is a “local minimum solution”  Continuous variables are optimal for the fixed integer variables  Changing any single integer variable will not decrease the objective

RFSVM Convergence Objective function value at iteration r. Bounded below and nonincreasing ) convergent Classifier defined by continuous variables is optimal for fixed choice of features, i.e. No single feature, i.e. element of E can be added or dropped to decrease the objective value

Numerical Experience  Test on 5 public datasets from the UCI repository  Plot classification accuracy versus number of features used  Compare to linear classifiers which reduce features automatically (BM 1998)  Compare to nonlinear SVM with no feature reduction  To reduce running time, 1/11 of each dataset was used as a tuning set to select and the kernel parameter  Remaining 10/11 used for 10-fold cross validation  Procedure repeated 5 times for each dataset with different random choice of tuning set each time  Similar behavior on all datasets indicates acceptable method variance

Ionosphere Dataset 351 Points in R 34  Number of features used Cross-validation accuracy Nonlinear SVM with no feature selection Linear 1-norm SVM Feature-selecting linear SVM (BM, 1998) using concave minimization RFSVM Even for  = 0, some features may be removed when removing them decreases the hinge loss If the appropriate value of  is selected, RFSVM can obtain higher accuracy using fewer features than SVM1 and FSV Note that accuracy decreases slightly until about 10 features remain, and then decreases more sharply as they are removed

Running Time on the Ionosphere Dataset  Averages 5.7 sweeps through the integer variables  Averages 3.4 linear programs  75% of the time consumed in objective function evaluations  15% of time consumed in solving linear programs  Complete experiment (1960 runs) took 1 hour  3 GHz Pentium 4  Written in MATLAB  CPLEX 9.0 used to solve the linear programs  Gaussian kernel written in C

WPBC (24 mo.) Dataset 155 Points in R 32  Number of features used Cross-validation accuracy

BUPA Liver Dataset 345 Points in R 6  Number of features used Cross-validation accuracy

Sonar Dataset 208 Points in R 60  Number of features used Cross-validation accuracy

Spambase Dataset 4601 Points in R 57  Number of features used Cross-validation accuracy Nearly identical results are obtained for  = 0 and 1

Related Work  Approaches that use specialized kernels  Weston, Mukherjee, Chapelle, Pontil, Poggio, and Vapnik, 2000: structural risk minimization  Gold, Holub, and Sollich, 2005: Bayesian interpretation  Zhang, 2006: smoothing spline ANOVA kernels  Margin based approach  Frölich and Zell, 2004: remove features if there is little change to the margin if they are removed  Other approaches which combine feature selection with basis reduction  Bi, Bennett, Embrechts, Breneman, and Song, 2003  Avidan, 2004

Conclusion  Implemented new rigorous formulation for feature selection in nonlinear SVM classifiers  Obtained a local solution to the resulting mixed- integer program by alternating between a linear program to compute continuous variables and successive sweeps through the objective function to update the integer variables  Results on 5 publicly available datasets show approach efficiently learns accurate nonlinear classifiers with reduced numbers of features

Future Work  Datasets with more features  Reduce the number of objective function evaluations  Limit the number of integer cycles  Other ways to update the integer variables  Application to regression problems  Automatic choice of 

Questions  Websites with links to papers and talks:  