SlideShare a Scribd company logo
MAP Inference in Discrete Models

  Recent Advances in Convex
         Relaxations

    M. Pawan Kumar, Stanford University
Outline
• Revisiting the LP relaxation



• Rounding Schemes and Move Making



• Beyond the LP relaxation
Linear Programming Relaxation

                                    min Ty

                                ya;i  [0,1]
                                  ∑i ya;i = 1
                               ∑k yab;ik = ya;i

No reason why we can’t solve this*
*memory requirements, time complexity
Linear Programming Relaxation
Primal formulation is useful

Easier to analyze

LP better than a large class of relaxations
 - QP (Ravikumar, Lafferty 2006)
 - SOCP (Muramatsu, Suzuki 2003)

  Kumar, Kolmogorov and Torr, NIPS 2007
Linear Programming Relaxation
Primal fractional solution is useful
                        Multiplicative Bounds
   Type of Problem             Bound

         Potts                    2

   Truncated Linear            2 + √2
  Truncated Quadratic          O(√M)
    General Metric            O(log |L|)
Outline
• Revisiting the LP relaxation



• Rounding Schemes and Move Making



• Beyond the LP relaxation
Randomized Rounding




0   y’a;0        y’a;i                 y’a;k   y’a;h = 1



              y’a;i = ya;0 + ya;1 + … + ya;i

            Choose an interval of length L’
Randomized Rounding



                                 r
0   y’a;0      y’a;i                 y’a;k   y’a;h = 1



            y’a;i = ya;0 + ya;1 + … + ya;i

    Generate a random number r  (0,1]
Randomized Rounding



                                 r
0   y’a;0      y’a;i                 y’a;k   y’a;h = 1



            y’a;i = ya;0 + ya;1 + … + ya;i

Assign label next to r (if within the interval)
Move Making
               • Initialize the labeling



               • Choose interval I of L’ labels
               • Each variable can
                  • Retain old label
                  • Choose a label from I
               • Choose best labeling
Va     Vb          Iterate over intervals

     Truncated Convex Models
Two Problems

          • Choose interval I of L’ labels
          • Each variable can
              • Retain old label
              • Choose a label from I
           • Choose best labeling

          Large L’ => Non-submodular

Va   Vb          Non-submodular
First Problem




Va   Vb          Submodular problem
                 Ishikawa, 2003; Veksler, 2007
First Problem




Va   Vb          Non-submodular
                    Problem
First Problem




Va   Vb          Submodular problem
                     Veksler, 2007
First Problem
                   am+1       bm+1



                   am+2       bm+2



                   am+2       bm+2


                    an         bn


Va   Vb                   t
First Problem
                   am+1       bm+1



                   am+2       bm+2



                   am+2       bm+2


                    an         bn


Va   Vb                   t
First Problem
                   am+1       bm+1



                   am+2       bm+2



                   am+2       bm+2


                    an         bn


Va   Vb                   t
First Problem
                   am+1       bm+1



                   am+2       bm+2



                   am+2       bm+2


                    an         bn


Va   Vb                   t
First Problem
                       am+1       bm+1



                       am+2       bm+2



                       am+2       bm+2


                        an         bn


Va       Vb                   t

     Model unary potentials exactly
First Problem
                    am+1         bm+1



                    am+2         bm+2



                    am+2         bm+2


                     an           bn


Va   Vb                      t

          Similarly for Vb
First Problem
                       am+1       bm+1



                       am+2       bm+2



                       am+2       bm+2


                        an         bn


Va       Vb                   t

     Model convex pairwise costs
First Problem
                Wanted to model

                ab;ik = wab min{ d(i-k), M }

                For all li, lk  I

                     Have modelled

                     ab;ik = wab d(i-k)

                     For all li, lk  I
Va     Vb
Overestimated pairwise potentials
Second Problem

          • Choose interval I of L’ labels
          • Each variable can
             • Retain old label
             • Choose a label from I
          • Choose best labeling




Va   Vb   Non-submodular problem !!
Second Problem



                            am+1           bm+1



                            am+2           bm+2



                             an                bn


Va         Vb                        t

     Previous labels may not lie in interval
Second Problem
                                    s
                              ua          ub

                            am+1          bm+1



                            am+2          bm+2



                             an            bn


Va         Vb                       t

 ua and ub : unary potentials for previous labels
Second Problem
                                     s
                              ua           ub
                                      Pab
                                   M     Mb
                            am+1     ab       m+1




                            am+2           bm+2



                             an             bn


Va         Vb                        t

     Pab : pairwise potential for previous labels
Second Problem
                          s
                   ua             ub
                           Pab
                        M     M
                 am+1     ab      bm+1



                 am+2             bm+2



                  an               bn


Va   Vb                   t
          wab d(i-k)
Second Problem
                            s
                     ua             ub
                             Pab
                          M     M
                   am+1     ab      bm+1



                   am+2             bm+2



                    an               bn


Va    Vb                    t
     wab ( d(i-m-1) + M )
Second Problem
                         s
                  ua             ub
                          Pab
                       M     M
                am+1     ab      bm+1



                am+2             bm+2



                 an               bn


Va   Vb                  t
          Pab
Graph Construction
                 Find st-MINCUT.
                Retain old labeling
               if energy increases.
                am+1             bm+1



                am+2             bm+2



                 an               bn


Va    Vb                  t

                       ITERATE
Move Making
LP Bounds                        In General?
Kumar and Torr, NIPS 08   Kumar and Koller, UAI 09

    Type of Problem               Bound

         Potts                       2

    Truncated Linear              2 + √2
  Truncated Quadratic             O(√M)
     General Metric              O(log |L|)
Outline
• Revisiting the LP relaxation



• Rounding Schemes and Move Making



• Beyond the LP relaxation
LP over a Frustrated Cycle


     0        1   0     0        1   0     0        1   0
l1
          0       0          0       0          0       0
l0
     0        1   0     0        1   0     0        1   0
     Va            Vb   Vb            Vc   Vc            Va

 Optimal labeling has energy = 1
 One takes label l0, two take label l1
 One takes label l1, two take label l0
LP optimal solution


     0.5         0 0.5     0.5         0 0.5     0.5         0 0.5
l1
           0.5     0.5           0.5     0.5           0.5     0.5
l0
     0.5         0 0.5     0.5         0 0.5     0.5         0 0.5
       Va             Vb     Vb             Vc     Vc             Va

 Optimal fractional labeling has energy = 0
                  Need tighter relaxations
Cycle Inequalities



                Vb




    Va                        Vc

At least two variables take same label
Cycle Inequalities



              Vb




 Va                        Vc

Va and Vc take label 0, yac;00 = 1
Cycle Inequalities



                Vb




   Va                        Vc

Or Va and Vc take label 1, yac;11 = 1
Cycle Inequalities



             Vb




Va                           Vc

     ∑ yab;00 + yab;11 ≥ 1
LP optimal solution


     0.5         0 0.5     0.5         0 0.5     0.5         0 0.5
l1
           0.5     0.5           0.5     0.5           0.5     0.5
l0
     0.5         0 0.5     0.5         0 0.5     0.5         0 0.5
       Va             Vb     Vb             Vc     Vc             Va




            Does not satisfy cycle inequality
Cycle Inequalities
Generalizes to cycles of arbitrary length
Barahona and Mahjoub, 1986

Generalizes to arbitrary label sets
Chopra and Rao, 1991
Sontag and Jaakkola, 2007

 Modifies the primal
    But weren’t we solving the dual?
Modifying the Dual
Do operations on trees and cycles
Which algorithm?        Which cycles?
Kumar and Torr, 2008
TRW-S         All cycles of length 3 and 4
Komodakis and Paragios, 2008
Dual Decomposition       All frustrated cycles
Sontag et al, 2008
MPLP       Iteratively add cycles
           Maximum increase in the dual
Questions?

More Related Content

More from zukun

Modern features-part-4-evaluation
Modern features-part-4-evaluationModern features-part-4-evaluation
Modern features-part-4-evaluation
zukun
 
Modern features-part-3-software
Modern features-part-3-softwareModern features-part-3-software
Modern features-part-3-software
zukun
 
Modern features-part-2-descriptors
Modern features-part-2-descriptorsModern features-part-2-descriptors
Modern features-part-2-descriptors
zukun
 
Modern features-part-1-detectors
Modern features-part-1-detectorsModern features-part-1-detectors
Modern features-part-1-detectors
zukun
 
Modern features-part-0-intro
Modern features-part-0-introModern features-part-0-intro
Modern features-part-0-intro
zukun
 
Lecture 02 internet video search
Lecture 02 internet video searchLecture 02 internet video search
Lecture 02 internet video search
zukun
 
Lecture 01 internet video search
Lecture 01 internet video searchLecture 01 internet video search
Lecture 01 internet video search
zukun
 
Lecture 03 internet video search
Lecture 03 internet video searchLecture 03 internet video search
Lecture 03 internet video search
zukun
 
Icml2012 tutorial representation_learning
Icml2012 tutorial representation_learningIcml2012 tutorial representation_learning
Icml2012 tutorial representation_learning
zukun
 
Advances in discrete energy minimisation for computer vision
Advances in discrete energy minimisation for computer visionAdvances in discrete energy minimisation for computer vision
Advances in discrete energy minimisation for computer vision
zukun
 
Gephi tutorial: quick start
Gephi tutorial: quick startGephi tutorial: quick start
Gephi tutorial: quick start
zukun
 
EM algorithm and its application in probabilistic latent semantic analysis
EM algorithm and its application in probabilistic latent semantic analysisEM algorithm and its application in probabilistic latent semantic analysis
EM algorithm and its application in probabilistic latent semantic analysis
zukun
 
Object recognition with pictorial structures
Object recognition with pictorial structuresObject recognition with pictorial structures
Object recognition with pictorial structures
zukun
 
Iccv2011 learning spatiotemporal graphs of human activities
Iccv2011 learning spatiotemporal graphs of human activities Iccv2011 learning spatiotemporal graphs of human activities
Iccv2011 learning spatiotemporal graphs of human activities
zukun
 
Icml2012 learning hierarchies of invariant features
Icml2012 learning hierarchies of invariant featuresIcml2012 learning hierarchies of invariant features
Icml2012 learning hierarchies of invariant features
zukun
 
ECCV2010: Modeling Temporal Structure of Decomposable Motion Segments for Act...
ECCV2010: Modeling Temporal Structure of Decomposable Motion Segments for Act...ECCV2010: Modeling Temporal Structure of Decomposable Motion Segments for Act...
ECCV2010: Modeling Temporal Structure of Decomposable Motion Segments for Act...
zukun
 
Quoc le tera-scale deep learning
Quoc le   tera-scale deep learningQuoc le   tera-scale deep learning
Quoc le tera-scale deep learning
zukun
 
Deep Learning workshop 2010: Deep Learning of Invariant Spatiotemporal Featur...
Deep Learning workshop 2010: Deep Learning of Invariant Spatiotemporal Featur...Deep Learning workshop 2010: Deep Learning of Invariant Spatiotemporal Featur...
Deep Learning workshop 2010: Deep Learning of Invariant Spatiotemporal Featur...
zukun
 
Lecun 20060816-ciar-01-energy based learning
Lecun 20060816-ciar-01-energy based learningLecun 20060816-ciar-01-energy based learning
Lecun 20060816-ciar-01-energy based learning
zukun
 
Lecun 20060816-ciar-02-deep learning for generic object recognition
Lecun 20060816-ciar-02-deep learning for generic object recognitionLecun 20060816-ciar-02-deep learning for generic object recognition
Lecun 20060816-ciar-02-deep learning for generic object recognition
zukun
 

More from zukun (20)

Modern features-part-4-evaluation
Modern features-part-4-evaluationModern features-part-4-evaluation
Modern features-part-4-evaluation
 
Modern features-part-3-software
Modern features-part-3-softwareModern features-part-3-software
Modern features-part-3-software
 
Modern features-part-2-descriptors
Modern features-part-2-descriptorsModern features-part-2-descriptors
Modern features-part-2-descriptors
 
Modern features-part-1-detectors
Modern features-part-1-detectorsModern features-part-1-detectors
Modern features-part-1-detectors
 
Modern features-part-0-intro
Modern features-part-0-introModern features-part-0-intro
Modern features-part-0-intro
 
Lecture 02 internet video search
Lecture 02 internet video searchLecture 02 internet video search
Lecture 02 internet video search
 
Lecture 01 internet video search
Lecture 01 internet video searchLecture 01 internet video search
Lecture 01 internet video search
 
Lecture 03 internet video search
Lecture 03 internet video searchLecture 03 internet video search
Lecture 03 internet video search
 
Icml2012 tutorial representation_learning
Icml2012 tutorial representation_learningIcml2012 tutorial representation_learning
Icml2012 tutorial representation_learning
 
Advances in discrete energy minimisation for computer vision
Advances in discrete energy minimisation for computer visionAdvances in discrete energy minimisation for computer vision
Advances in discrete energy minimisation for computer vision
 
Gephi tutorial: quick start
Gephi tutorial: quick startGephi tutorial: quick start
Gephi tutorial: quick start
 
EM algorithm and its application in probabilistic latent semantic analysis
EM algorithm and its application in probabilistic latent semantic analysisEM algorithm and its application in probabilistic latent semantic analysis
EM algorithm and its application in probabilistic latent semantic analysis
 
Object recognition with pictorial structures
Object recognition with pictorial structuresObject recognition with pictorial structures
Object recognition with pictorial structures
 
Iccv2011 learning spatiotemporal graphs of human activities
Iccv2011 learning spatiotemporal graphs of human activities Iccv2011 learning spatiotemporal graphs of human activities
Iccv2011 learning spatiotemporal graphs of human activities
 
Icml2012 learning hierarchies of invariant features
Icml2012 learning hierarchies of invariant featuresIcml2012 learning hierarchies of invariant features
Icml2012 learning hierarchies of invariant features
 
ECCV2010: Modeling Temporal Structure of Decomposable Motion Segments for Act...
ECCV2010: Modeling Temporal Structure of Decomposable Motion Segments for Act...ECCV2010: Modeling Temporal Structure of Decomposable Motion Segments for Act...
ECCV2010: Modeling Temporal Structure of Decomposable Motion Segments for Act...
 
Quoc le tera-scale deep learning
Quoc le   tera-scale deep learningQuoc le   tera-scale deep learning
Quoc le tera-scale deep learning
 
Deep Learning workshop 2010: Deep Learning of Invariant Spatiotemporal Featur...
Deep Learning workshop 2010: Deep Learning of Invariant Spatiotemporal Featur...Deep Learning workshop 2010: Deep Learning of Invariant Spatiotemporal Featur...
Deep Learning workshop 2010: Deep Learning of Invariant Spatiotemporal Featur...
 
Lecun 20060816-ciar-01-energy based learning
Lecun 20060816-ciar-01-energy based learningLecun 20060816-ciar-01-energy based learning
Lecun 20060816-ciar-01-energy based learning
 
Lecun 20060816-ciar-02-deep learning for generic object recognition
Lecun 20060816-ciar-02-deep learning for generic object recognitionLecun 20060816-ciar-02-deep learning for generic object recognition
Lecun 20060816-ciar-02-deep learning for generic object recognition
 

Recently uploaded

RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
Himanshu Rai
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
Iris Thiele Isip-Tan
 
Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47
MysoreMuleSoftMeetup
 
Juneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School DistrictJuneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School District
David Douglas School District
 
Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.
IsmaelVazquez38
 
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
indexPub
 
A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
Steve Thomason
 
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.pptLevel 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Henry Hollis
 
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptxBIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
RidwanHassanYusuf
 
Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"
National Information Standards Organization (NISO)
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
Nguyen Thanh Tu Collection
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
haiqairshad
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
MJDuyan
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
 
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptxRESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
zuzanka
 
CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
blueshagoo1
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Denish Jangid
 
How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17
Celine George
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
Jyoti Chand
 

Recently uploaded (20)

RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
 
Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47
 
Juneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School DistrictJuneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School District
 
Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.
 
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
 
A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
 
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.pptLevel 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
 
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptxBIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
 
Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
 
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptxRESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
 
CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
 
How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
 

ICCV2009: MAP Inference in Discrete Models: Part 6: Recent Advances in Convex Relaxations

  • 1. MAP Inference in Discrete Models Recent Advances in Convex Relaxations M. Pawan Kumar, Stanford University
  • 2. Outline • Revisiting the LP relaxation • Rounding Schemes and Move Making • Beyond the LP relaxation
  • 3. Linear Programming Relaxation min Ty ya;i  [0,1] ∑i ya;i = 1 ∑k yab;ik = ya;i No reason why we can’t solve this* *memory requirements, time complexity
  • 4. Linear Programming Relaxation Primal formulation is useful Easier to analyze LP better than a large class of relaxations - QP (Ravikumar, Lafferty 2006) - SOCP (Muramatsu, Suzuki 2003) Kumar, Kolmogorov and Torr, NIPS 2007
  • 5. Linear Programming Relaxation Primal fractional solution is useful Multiplicative Bounds Type of Problem Bound Potts 2 Truncated Linear 2 + √2 Truncated Quadratic O(√M) General Metric O(log |L|)
  • 6. Outline • Revisiting the LP relaxation • Rounding Schemes and Move Making • Beyond the LP relaxation
  • 7. Randomized Rounding 0 y’a;0 y’a;i y’a;k y’a;h = 1 y’a;i = ya;0 + ya;1 + … + ya;i Choose an interval of length L’
  • 8. Randomized Rounding r 0 y’a;0 y’a;i y’a;k y’a;h = 1 y’a;i = ya;0 + ya;1 + … + ya;i Generate a random number r  (0,1]
  • 9. Randomized Rounding r 0 y’a;0 y’a;i y’a;k y’a;h = 1 y’a;i = ya;0 + ya;1 + … + ya;i Assign label next to r (if within the interval)
  • 10. Move Making • Initialize the labeling • Choose interval I of L’ labels • Each variable can • Retain old label • Choose a label from I • Choose best labeling Va Vb Iterate over intervals Truncated Convex Models
  • 11. Two Problems • Choose interval I of L’ labels • Each variable can • Retain old label • Choose a label from I • Choose best labeling Large L’ => Non-submodular Va Vb Non-submodular
  • 12. First Problem Va Vb Submodular problem Ishikawa, 2003; Veksler, 2007
  • 13. First Problem Va Vb Non-submodular Problem
  • 14. First Problem Va Vb Submodular problem Veksler, 2007
  • 15. First Problem am+1 bm+1 am+2 bm+2 am+2 bm+2 an bn Va Vb t
  • 16. First Problem am+1 bm+1 am+2 bm+2 am+2 bm+2 an bn Va Vb t
  • 17. First Problem am+1 bm+1 am+2 bm+2 am+2 bm+2 an bn Va Vb t
  • 18. First Problem am+1 bm+1 am+2 bm+2 am+2 bm+2 an bn Va Vb t
  • 19. First Problem am+1 bm+1 am+2 bm+2 am+2 bm+2 an bn Va Vb t Model unary potentials exactly
  • 20. First Problem am+1 bm+1 am+2 bm+2 am+2 bm+2 an bn Va Vb t Similarly for Vb
  • 21. First Problem am+1 bm+1 am+2 bm+2 am+2 bm+2 an bn Va Vb t Model convex pairwise costs
  • 22. First Problem Wanted to model ab;ik = wab min{ d(i-k), M } For all li, lk  I Have modelled ab;ik = wab d(i-k) For all li, lk  I Va Vb Overestimated pairwise potentials
  • 23. Second Problem • Choose interval I of L’ labels • Each variable can • Retain old label • Choose a label from I • Choose best labeling Va Vb Non-submodular problem !!
  • 24. Second Problem am+1 bm+1 am+2 bm+2 an bn Va Vb t Previous labels may not lie in interval
  • 25. Second Problem s ua ub am+1 bm+1 am+2 bm+2 an bn Va Vb t ua and ub : unary potentials for previous labels
  • 26. Second Problem s ua ub Pab M Mb am+1 ab m+1 am+2 bm+2 an bn Va Vb t Pab : pairwise potential for previous labels
  • 27. Second Problem s ua ub Pab M M am+1 ab bm+1 am+2 bm+2 an bn Va Vb t wab d(i-k)
  • 28. Second Problem s ua ub Pab M M am+1 ab bm+1 am+2 bm+2 an bn Va Vb t wab ( d(i-m-1) + M )
  • 29. Second Problem s ua ub Pab M M am+1 ab bm+1 am+2 bm+2 an bn Va Vb t Pab
  • 30. Graph Construction Find st-MINCUT. Retain old labeling if energy increases. am+1 bm+1 am+2 bm+2 an bn Va Vb t ITERATE
  • 31. Move Making LP Bounds In General? Kumar and Torr, NIPS 08 Kumar and Koller, UAI 09 Type of Problem Bound Potts 2 Truncated Linear 2 + √2 Truncated Quadratic O(√M) General Metric O(log |L|)
  • 32. Outline • Revisiting the LP relaxation • Rounding Schemes and Move Making • Beyond the LP relaxation
  • 33. LP over a Frustrated Cycle 0 1 0 0 1 0 0 1 0 l1 0 0 0 0 0 0 l0 0 1 0 0 1 0 0 1 0 Va Vb Vb Vc Vc Va Optimal labeling has energy = 1 One takes label l0, two take label l1 One takes label l1, two take label l0
  • 34. LP optimal solution 0.5 0 0.5 0.5 0 0.5 0.5 0 0.5 l1 0.5 0.5 0.5 0.5 0.5 0.5 l0 0.5 0 0.5 0.5 0 0.5 0.5 0 0.5 Va Vb Vb Vc Vc Va Optimal fractional labeling has energy = 0 Need tighter relaxations
  • 35. Cycle Inequalities Vb Va Vc At least two variables take same label
  • 36. Cycle Inequalities Vb Va Vc Va and Vc take label 0, yac;00 = 1
  • 37. Cycle Inequalities Vb Va Vc Or Va and Vc take label 1, yac;11 = 1
  • 38. Cycle Inequalities Vb Va Vc ∑ yab;00 + yab;11 ≥ 1
  • 39. LP optimal solution 0.5 0 0.5 0.5 0 0.5 0.5 0 0.5 l1 0.5 0.5 0.5 0.5 0.5 0.5 l0 0.5 0 0.5 0.5 0 0.5 0.5 0 0.5 Va Vb Vb Vc Vc Va Does not satisfy cycle inequality
  • 40. Cycle Inequalities Generalizes to cycles of arbitrary length Barahona and Mahjoub, 1986 Generalizes to arbitrary label sets Chopra and Rao, 1991 Sontag and Jaakkola, 2007 Modifies the primal But weren’t we solving the dual?
  • 41. Modifying the Dual Do operations on trees and cycles Which algorithm? Which cycles? Kumar and Torr, 2008 TRW-S All cycles of length 3 and 4 Komodakis and Paragios, 2008 Dual Decomposition All frustrated cycles Sontag et al, 2008 MPLP Iteratively add cycles Maximum increase in the dual