SlideShare a Scribd company logo
1 of 42
Download to read offline
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

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Recently uploaded (20)

How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 

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