DOC PREVIEW
CMU CS 10701 - Recitation

This preview shows page 1-2-17-18-19-35-36 out of 36 pages.

Save
View full document
Premium Document
Do you want full access? Go Premium and unlock all 36 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

SVM Multiclass and Structured Prediction Bin Zhao Part I Multi Class SVM 2 Class SVM Primal form Dual form Real world classification problems Automated protein classification Object recognition 10 Phoneme recognition 100 300 600 http www glue umd edu zhelin recog html Digit recognition The number of classes is sometimes big 50 The multi class algorithm can be heavy Waibel Hanzawa Hinton Shikano Lang 1989 How can we solve multi class problem One against one One against rest Crammer Singer s formulation Error correcting output coding Empirical comparisons One against one One against rest Problems One against one One against rest Crammer Singer s formulation A Na ve approach Crammer Singer s formulation A Na ve approach C S s formulation Error Correcting Output Code ECOC 0 1 0 0 0 0 0 0 0 0 Codeword Meta classifier Source Dietterich and Bakiri 1995 Discussions Special cases of ECOC One against one One against rest Empirical Study In Defense of One Vs All Classification JMLR 2004 The most important step in good multiclass classification is to use the best binary classifier available Once this is done it seems to make little difference what multiclass scheme is applied and therefore a simple scheme such as OVA or AVA is preferable to a more complex errorcorrecting coding scheme or single machine scheme Part II Structured SVM Slides Courtesy Ioannis Tsochantaridis Thomas Hofmann Thorsten Joachims Yasemin Altun Local Classification brar e Classify using local information Ignores correlations thanks to Ben Taskar for slide Structured Classification brac e Use local information Exploit correlations thanks to Ben Taskar for slide Case Study Max Margin Learning on DomainIndependent Web Information Extraction Motivation Understand web page Assign semantics to each component of a page Understand functionality of each section Distinguish main content from side contents Page layout reveals important cues Motivation Cont Human can understand a page written in foreign language Position Size Font Color Boldness Relative position to other sections Can a computer fulfill similar task Domain independent web information extraction The Proposed Approach Page Segmentation vision tree Built based on DOM tree With visual information Correspond to how each node is displayed Structured Segmentation Assign label for each node in the vision tree Information extraction based on node classification Structured Classification Label space for leaf nodes attribute name attribute value non attribute image nav bar main title page tail image caption non atribute anything else Label space for non leaf nodes structure block data record nav bar block non attribute block value block page tail block name block image block image caption block main title block Max Margin Learning Structured output space tree If treated as conventional classification exponential number of classes unable to train Augmented loss misclassify a tree by one node should receive much less penalty than misclassifying the entire tree Input output feature mapping Linear discriminant function Response to input x Max Margin Learning Cont Augmented loss of disagreements between y and y Learning use SVM to find optimal w Inference dynamical programming Input Output Feature Mapping Two types of cliques in the hierarchical model Cliques Cliques covering observation state node pairs covering state state node pairs Correspondingly two types of features Features describing cliques Features describing cliques Input Output Feature Mapping Type I Spatial features Position of block center block height block weight block area Features for all nodes Link number number of various HTML tags number of child nodes Features for leaf nodes only Text length font bold italic word count number of images image size link text length Input Output Feature Mapping Type II Parent child relationship Label co occurrence pattern Connect spatially adjacent blocks Link a node with its k nearest neighbors Define label co occurrence pattern for connected node pair i j Learning and Inference Learning Quadratic programming with exponential number of constraints cutting plane algorithm a k a constraint generation bundle method Inference Without edges between spatially adjacent blocks dynamical programming a k a Viterbi decoding With edges between spatially adjacent blocks loopy belief propagation Empirical Study Block level prediction results Attribute name value pair extraction 1000 web pages Precision 56 91 Recall 59 37 Thank you


View Full Document

CMU CS 10701 - Recitation

Documents in this Course
lecture

lecture

12 pages

lecture

lecture

17 pages

HMMs

HMMs

40 pages

lecture

lecture

15 pages

lecture

lecture

20 pages

Notes

Notes

10 pages

Notes

Notes

15 pages

Lecture

Lecture

22 pages

Lecture

Lecture

13 pages

Lecture

Lecture

24 pages

Lecture9

Lecture9

38 pages

lecture

lecture

26 pages

lecture

lecture

13 pages

Lecture

Lecture

5 pages

lecture

lecture

18 pages

lecture

lecture

22 pages

Boosting

Boosting

11 pages

lecture

lecture

16 pages

lecture

lecture

20 pages

Lecture

Lecture

20 pages

Lecture

Lecture

39 pages

Lecture

Lecture

14 pages

Lecture

Lecture

18 pages

Lecture

Lecture

13 pages

Exam

Exam

10 pages

Lecture

Lecture

27 pages

Lecture

Lecture

15 pages

Lecture

Lecture

24 pages

Lecture

Lecture

16 pages

Lecture

Lecture

23 pages

Lecture6

Lecture6

28 pages

Notes

Notes

34 pages

lecture

lecture

15 pages

Midterm

Midterm

11 pages

lecture

lecture

11 pages

lecture

lecture

23 pages

Boosting

Boosting

35 pages

Lecture

Lecture

49 pages

Lecture

Lecture

22 pages

Lecture

Lecture

16 pages

Lecture

Lecture

18 pages

Lecture

Lecture

35 pages

lecture

lecture

22 pages

lecture

lecture

24 pages

Midterm

Midterm

17 pages

exam

exam

15 pages

Lecture12

Lecture12

32 pages

lecture

lecture

19 pages

Lecture

Lecture

32 pages

boosting

boosting

11 pages

pca-mdps

pca-mdps

56 pages

bns

bns

45 pages

mdps

mdps

42 pages

svms

svms

10 pages

Notes

Notes

12 pages

lecture

lecture

42 pages

lecture

lecture

29 pages

lecture

lecture

15 pages

Lecture

Lecture

12 pages

Lecture

Lecture

24 pages

Lecture

Lecture

22 pages

Midterm

Midterm

5 pages

mdps-rl

mdps-rl

26 pages

Load more
Download Recitation
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Recitation and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Recitation and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?