18
Second order cone programming approaches for handing missing and uncertain data P. K. Shivaswamy, C. Bhattach aryya and A. J. Smola Discussion led by Qi An Mar 30 th , 2007

Second order cone programming approaches for handing missing and uncertain data P. K. Shivaswamy, C. Bhattacharyya and A. J. Smola Discussion led by Qi

Embed Size (px)

Citation preview

Page 1: Second order cone programming approaches for handing missing and uncertain data P. K. Shivaswamy, C. Bhattacharyya and A. J. Smola Discussion led by Qi

Second order cone programming approaches for handing missing

and uncertain dataP. K. Shivaswamy, C. Bhattacharyya a

nd A. J. Smola

Discussion led by

Qi An

Mar 30th, 2007

Page 2: Second order cone programming approaches for handing missing and uncertain data P. K. Shivaswamy, C. Bhattacharyya and A. J. Smola Discussion led by Qi

Outline

• Missing and uncertain Data problem

• Problem formulation

• Classification with uncertainty

• Extensions

• Experimental results

• Conclusions

Page 3: Second order cone programming approaches for handing missing and uncertain data P. K. Shivaswamy, C. Bhattacharyya and A. J. Smola Discussion led by Qi

Missing data problem

• Consider a problem of classification or regression with missing data (only in feature).– Traditional method: simple imputation– Proposed method: robust estimation

• Formulate the classification or regression problem into an optimization problem as long as we have information on the first and second moments of data

Page 4: Second order cone programming approaches for handing missing and uncertain data P. K. Shivaswamy, C. Bhattacharyya and A. J. Smola Discussion led by Qi

Classification problem with missing data

• Compute the sample mean and covariance for each classes (binary here) from the available observations

• Impute the missing data with their conditional mean.

• The classification problem can be alternatively formulated into an optimization problem, as shown in the next slide.

Page 5: Second order cone programming approaches for handing missing and uncertain data P. K. Shivaswamy, C. Bhattacharyya and A. J. Smola Discussion led by Qi

Suppose we are given n data points. First c points have complete feature vectors and last (n-c) points have feature vectors with missing values.

First, Compute the sample mean and covariance for each classes (binary here) from the available observations

Then, for any data vector with missing values, we can find the imputed means and covariances

Classification problem with missing data

Given decomposed sample mean and sample covariance

Page 6: Second order cone programming approaches for handing missing and uncertain data P. K. Shivaswamy, C. Bhattacharyya and A. J. Smola Discussion led by Qi

Then the classification problem is equivalent to

Page 7: Second order cone programming approaches for handing missing and uncertain data P. K. Shivaswamy, C. Bhattacharyya and A. J. Smola Discussion led by Qi

Once we finish estimating the weights, w and b, from the dataset, we can make the prediction for any new data vector

1, If x has no missing values, go to 4

2, if x has missing values, fill the missing values xm using the parameters of each class to get two imputed data x+ and x-

3, Find the distance of imputed data from hyper-plane, d+ and d-, and choose the imputed sample with higher distance

4, classify the data using sgn(w’x+b)

Page 8: Second order cone programming approaches for handing missing and uncertain data P. K. Shivaswamy, C. Bhattacharyya and A. J. Smola Discussion led by Qi

Classification with certainty (SVM)Linear separable

0, bxw

1, bxw

1, bxw

+1

-1

Classification problem can be solved by solving this optimization problem

Page 9: Second order cone programming approaches for handing missing and uncertain data P. K. Shivaswamy, C. Bhattacharyya and A. J. Smola Discussion led by Qi

Classification with certainty (SVM)Linear non-separable

0, bxw

1, bxw

1, bxw

+1

-1

Two equivalent formulations:

These two formulations are equivalent by choosing suitable C and W

second order cone constraint

Page 10: Second order cone programming approaches for handing missing and uncertain data P. K. Shivaswamy, C. Bhattacharyya and A. J. Smola Discussion led by Qi

Classification with uncertainty

• Here, uncertainty means that for each pair (x i,yi) we only have a distribution over xi instead of a value for xi. As a result, xi is a random variable.

• In this case, we rewrite the constraint in a probabilistic form

In other words, we require that the random variable xi lies on the correct side of the decision hyper-plane with some probability greater than a pre-set threshold κi

Page 11: Second order cone programming approaches for handing missing and uncertain data P. K. Shivaswamy, C. Bhattacharyya and A. J. Smola Discussion led by Qi

If we assume each xi has mean and variance Σi. We want to be able to classify correctly even for the worst distribution in this class.

The previous constraint becomes

Robust formulation

ix

If we assume each xi has mean and variance Σi and follows a normal distribution. This should allow us to provide tighter bounds, as we have perfect knowledge on how xi is distributed

The previous constraint becomes

Normal formulation

ix

It can be proven that both of these two formulations lead to the same optimization problem by using multivariate Chebyshev inequality, which is summarized in Theory 1.

Page 12: Second order cone programming approaches for handing missing and uncertain data P. K. Shivaswamy, C. Bhattacharyya and A. J. Smola Discussion led by Qi

This optimization problem can be solved efficiently using various optimization methods

Page 13: Second order cone programming approaches for handing missing and uncertain data P. K. Shivaswamy, C. Bhattacharyya and A. J. Smola Discussion led by Qi

Geometric interpretation of constraint

• Constraint 10(b) can be interpreted in a geometric way– If we assume x takes value in an ellipsoid

– The robustness constraint 10(b) is equivalent to the geometric constraint below

Page 14: Second order cone programming approaches for handing missing and uncertain data P. K. Shivaswamy, C. Bhattacharyya and A. J. Smola Discussion led by Qi

Error measure

• When classifying a point– Worst case error– Expected error

Page 15: Second order cone programming approaches for handing missing and uncertain data P. K. Shivaswamy, C. Bhattacharyya and A. J. Smola Discussion led by Qi

Extensions

• The optimization problem can be extended– Regression problem– Multi-class classification/regression– Some different constraints– Kernelized formulation

Go back to the missing feature problem

Page 16: Second order cone programming approaches for handing missing and uncertain data P. K. Shivaswamy, C. Bhattacharyya and A. J. Smola Discussion led by Qi

Experiments

• In a OCR data reorganization problem, compare SVM with simple imputation and proposed approach

Some samples were misclassified by SVM but were correctly classified by the robust classifier

Page 17: Second order cone programming approaches for handing missing and uncertain data P. K. Shivaswamy, C. Bhattacharyya and A. J. Smola Discussion led by Qi

Ionospere regression problem

Page 18: Second order cone programming approaches for handing missing and uncertain data P. K. Shivaswamy, C. Bhattacharyya and A. J. Smola Discussion led by Qi

Conclusions

• This paper propose a second order cone programming formulation for designing robust linear prediction function.

• This approach is capable of tackling uncertainty in the data vectors both in classification and regression setting

• It is applicable to any uncertainty distribution provided the first two moments are computable