Extensions of submodularity and their application in computer vision

Slides:



Advertisements
Similar presentations
POSE–CUT Simultaneous Segmentation and 3D Pose Estimation of Humans using Dynamic Graph Cuts Mathieu Bray Pushmeet Kohli Philip H.S. Torr Department of.
Advertisements

Mean-Field Theory and Its Applications In Computer Vision1 1.
Primal-dual Algorithm for Convex Markov Random Fields Vladimir Kolmogorov University College London GDR (Optimisation Discrète, Graph Cuts et Analyse d'Images)
Algorithms for MAP estimation in Markov Random Fields Vladimir Kolmogorov University College London Tutorial at GDR (Optimisation Discrète, Graph Cuts.
1 Constraint Satisfaction Problems A Quick Overview (based on AIMA book slides)
Tutorial at ICCV (Barcelona, Spain, November 2011)
Introduction to Markov Random Fields and Graph Cuts Simon Prince
Computing Kemeny and Slater Rankings Vincent Conitzer (Joint work with Andrew Davenport and Jayant Kalagnanam at IBM Research.)
ICCV 2007 tutorial Part III Message-passing algorithms for energy minimization Vladimir Kolmogorov University College London.
I Images as graphs Fully-connected graph – node for every pixel – link between every pair of pixels, p,q – similarity w ij for each link j w ij c Source:
The University of Ontario CS 4487/9687 Algorithms for Image Analysis Multi-Label Image Analysis Problems.
ICCV 2007 tutorial on Discrete Optimization Methods in Computer Vision part I Basic overview of graph cuts.
Graph-Based Image Segmentation
1 s-t Graph Cuts for Binary Energy Minimization  Now that we have an energy function, the big question is how do we minimize it? n Exhaustive search is.
Learning with Inference for Discrete Graphical Models Nikos Komodakis Pawan Kumar Nikos Paragios Ramin Zabih (presenter)
Pseudo-Bound Optimization for Binary Energies Presenter: Meng Tang Joint work with Ismail Ben AyedYuri Boykov 1 / 27.
Approximation Algoirthms: Semidefinite Programming Lecture 19: Mar 22.
1 Can this be generalized?  NP-hard for Potts model [K/BVZ 01]  Two main approaches 1. Exact solution [Ishikawa 03] Large graph, convex V (arbitrary.
P 3 & Beyond Solving Energies with Higher Order Cliques Pushmeet Kohli Pawan Kumar Philip H. S. Torr Oxford Brookes University CVPR 2007.
Improved Moves for Truncated Convex Models M. Pawan Kumar Philip Torr.
2010/5/171 Overview of graph cuts. 2010/5/172 Outline Introduction S-t Graph cuts Extension to multi-label problems Compare simulated annealing and alpha-
Stereo & Iterative Graph-Cuts Alex Rav-Acha Vision Course Hebrew University.
Efficiently Solving Convex Relaxations M. Pawan Kumar University of Oxford for MAP Estimation Philip Torr Oxford Brookes University.
MRF Labeling With Graph Cut CMPUT 615 Nilanjan Ray.
Stereo Computation using Iterative Graph-Cuts
Comp 775: Graph Cuts and Continuous Maximal Flows Marc Niethammer, Stephen Pizer Department of Computer Science University of North Carolina, Chapel Hill.
What Energy Functions Can be Minimized Using Graph Cuts? Shai Bagon Advanced Topics in Computer Vision June 2010.
Relaxations and Moves for MAP Estimation in MRFs M. Pawan Kumar STANFORDSTANFORD Vladimir KolmogorovPhilip TorrDaphne Koller.
Measuring Uncertainty in Graph Cut Solutions Pushmeet Kohli Philip H.S. Torr Department of Computing Oxford Brookes University.
Graph-Cut Algorithm with Application to Computer Vision Presented by Yongsub Lim Applied Algorithm Laboratory.
Computer vision: models, learning and inference
An Investigation of the Multimorphisms of Tractable and Intractable Classes of Valued Constraints Mathematics of Constraint Satisfaction: Algebra, Logic.
Data reduction lower bounds: Problems without polynomial kernels Hans L. Bodlaender Joint work with Downey, Fellows, Hermelin, Thomasse, Yeo.
Probabilistic Inference Lecture 4 – Part 2 M. Pawan Kumar Slides available online
Simple and Improved Parameterized Algorithms for Multiterminal Cuts Mingyu Xiao The Chinese University of Hong Kong Hong Kong SAR, CHINA CSR 2008 Presentation,
Graph Cut & Energy Minimization
Approximation algorithms for sequential testing of Boolean functions Lisa Hellerstein Polytechnic Institute of NYU Joint work with Devorah Kletenik (Polytechnic.
Graph Cut Algorithms for Binocular Stereo with Occlusions
City University of Hong Kong 18 th Intl. Conf. Pattern Recognition Self-Validated and Spatially Coherent Clustering with NS-MRF and Graph Cuts Wei Feng.
CS774. Markov Random Field : Theory and Application Lecture 13 Kyomin Jung KAIST Oct
Planar Cycle Covering Graphs for inference in MRFS The Typhon Algorithm A New Variational Approach to Ground State Computation in Binary Planar Markov.
Minimizing general submodular functions
Object Stereo- Joint Stereo Matching and Object Segmentation Computer Vision and Pattern Recognition (CVPR), 2011 IEEE Conference on Michael Bleyer Vienna.
Rounding-based Moves for Metric Labeling M. Pawan Kumar Center for Visual Computing Ecole Centrale Paris.
Lena Gorelick joint work with O. Veksler I. Ben Ayed A. Delong Y. Boykov.
Algorithms for MAP estimation in Markov Random Fields Vladimir Kolmogorov University College London.
Associative Hierarchical CRFs for Object Class Image Segmentation Ľubor Ladický 1 1 Oxford Brookes University 2 Microsoft Research Cambridge Based on the.
Discrete Optimization Lecture 3 – Part 1 M. Pawan Kumar Slides available online
1 Markov Random Fields with Efficient Approximations Yuri Boykov, Olga Veksler, Ramin Zabih Computer Science Department CORNELL UNIVERSITY.
Fast and accurate energy minimization for static or time-varying Markov Random Fields (MRFs) Nikos Komodakis (Ecole Centrale Paris) Nikos Paragios (Ecole.
Lecture 19: Solving the Correspondence Problem with Graph Cuts CAP 5415 Fall 2006.
Valued Constraints Islands of Tractability. Agenda The soft constraint formalism (5 minutes) Valued Constraint Languages (5 minutes) Hard and Easy Languages.
Presenter : Kuang-Jui Hsu Date : 2011/3/24(Thur.).
Tractable Higher Order Models in Computer Vision (Part II) Slides from Carsten Rother, Sebastian Nowozin, Pusohmeet Khli Microsoft Research Cambridge Presented.
Discrete Optimization Lecture 2 – Part 2 M. Pawan Kumar Slides available online
Implicit Hitting Set Problems Richard M. Karp Erick Moreno Centeno DIMACS 20 th Anniversary.
Inference for Learning Belief Propagation. So far... Exact methods for submodular energies Approximations for non-submodular energies Move-making ( N_Variables.
A global approach Finding correspondence between a pair of epipolar lines for all pixels simultaneously Local method: no guarantee we will have one to.
Graph Algorithms for Vision Amy Gale November 5, 2002.
MAP Estimation in Binary MRFs using Bipartite Multi-Cuts Sashank J. Reddi Sunita Sarawagi Sundar Vishwanathan Indian Institute of Technology, Bombay TexPoint.
Markov Random Fields in Vision
Energy functions f(p)  {0,1} : Ising model Can solve fast with graph cuts V( ,  ) = T[  ] : Potts model NP-hard Closely related to Multiway Cut Problem.
Energy minimization Another global approach to improve quality of correspondences Assumption: disparities vary (mostly) smoothly Minimize energy function:
Half-Integrality, LP-Branching, and FPT Algorithms “ FPT Algorithms via Discrete Relaxation” Yuichi Yoshida NII Joint work with Yoichi Iwata and Magnus.
Alexander Shekhovtsov and Václav Hlaváč
Markov Random Fields with Efficient Approximations
Efficient Graph Cut Optimization for Full CRFs with Quantized Edges
Tractable MAP Problems
A Faster Algorithm for Computing the Principal Sequence of Partitions
Discrete Optimization Methods Basic overview of graph cuts
Presentation transcript:

Extensions of submodularity and their application in computer vision Vladimir Kolmogorov IST Austria Heidelberg, 14 November 2014

Discrete Optimization in Computer Vision Minimize Known as MAP inference in a graphical model maximim a posteriori estimation Energy minimization

Ising model Submodular function Minimizing f : maxflow algorithm (“graph cuts”) In Microsoft Powerpoint 2010 Two more examples Interactive image segmentation

Potts model NP-hard problem (for k>2) Efficient approximation algorithms “alpha-expansion” [Boykov et al.’01]: 2-approximation Two more examples Object recognition

Partial optimality Partial labeling: 1 5 6 2 4 7 3 Two more examples Optimal if can be extended to a minimizer of f

Partial optimality Strategy: construct function g over partial labelings - k-submodular relaxation of f minimize g Two more examples 7 1 2 3 4 5 6

Classes of problems submodular functions k-submodular functions ... Potts functions Part I: Complete classification of tractable classes For finite-valued VCSP languages Part II: Application of k-submodular functions Obtaining partial optimality Efficient algorithm for the Potts model tractable NP-hard Two more examples

Valued Constraint Satisfaction Problem (VCSP) D: fixed set of labels, e.g. D = {a,b,c} Language G: a set of cost functions VCSP(G): class of functions that can be expressed as a sum of functions from G with overlapping sets of vars Goal: minimize this sum Complexity of G? G-instance: example:

Classifications for finite-valued CSPs Theorem If G admits a binary symmetric fractional polymorphism then it can be solved in polynomial time by Basic LP relaxation (BLP) [Thapper,Živný FOCS’12], [K ICALP’13] Otherwise G is NP-hard [Thapper,Živný STOC’13] For CSPs classification still open [Feder-Vardi conjecture] Every G is either tractable or NP-hard CSP: contains functions

Submodular functions 4 3 2 1

New classes of functions

Useful classes Submodular functions k-submodular functions Pairwise functions: can be solved via maxflow (“graph cuts”) Lots of applications in computer vision k-submodular functions Partial optimality for functions of k-valued variables This talk: efficient algorithm for Potts energy [Gridchyn, K ICCV’13]

Partial optimality Input: function Partial labeling is optimal if it can be extended to a full optimal labeling

Partial optimality Input: function Partial labeling is optimal if it can be extended to a full optimal labeling Can be viewed as a labeling

k-submodular relaxations Input: function

k-submodular relaxations Input: function Construct extension which is k-submodular Minimize Theorem: Minimum of partially optimal

k-submodularity Function is k-submodular if

k-submodular relaxations Case k = 2 ([K’10,12]) Bisubmodular relaxation Characterizes extensions of QPBO Case k > 2 [Gridchyn,K ICCV’13] : - efficient method for Potts energies [Wahlström SODA’14] : - used for FPT algorithms

k-submodular relaxations for Potts energy

k-submodular relaxations for Potts energy d(a,b) : tree metric

k-submodular relaxations for Potts energy 3 4 10 gi (·) : k-submodular relaxation of fi (·) 1.5

k-submodular relaxations for Potts energy Minimizing g : O(log k) maxflows Alternative approach: [Kovtun ’03,’04] Stronger than k-submodular relaxations (labels more) Can be solved by the same approach! complexity: k => O(log k) maxflows Part of “Reduce, Reuse, Recycle’’ [Alahari et al.’08,’10] Our tests for stereo: 50-93% labeled with 9x9 windows Speeds up alpha-expansion for unlabeled part

Tree Metrics [Felzenszwalb et al.’10]: O(log k) maxflows for

Tree Metrics [Felzenszwalb et al.’10]: O(log k) maxflows for [This work]: extension to more general unary terms new proof of correctness

Special case: Total Variation Convex unary terms Reduction to parametric maxflow [Hochbaum’01], [Chambolle’05], [Darbon,Sigelle’05]

New condition: T-convexity Convexity for any pair of adjacent edges:

Algorithm: divide-and-conquer Pick edge (a,b) Compute

Algorithm: divide-and-conquer Pick edge (a,b) Compute Claim: g has a minimizer as shown below Solve two subproblems recursively

Achieving balanced splits For star graphs, all splits are unbalanced Solution [Felzenszwalb et al.’10]: insert a new short edge modify unary terms gi (·) accordingly

Algorithm illustration k = 7 labels: 1 2 3 4 5 6 7 1,2,3,4,5,6,7 5 6 7 1 2 3 4

Algorithm illustration k = 7 labels: 2 3 1 4 5 7 6 5,6,7 2 3 1,2,3,4 1 4 5 7 6

Algorithm illustration k = 7 labels: 1,2 5,6,7 3,4

Algorithm illustration k = 7 labels: 5,6 1,2 3,4 7

Algorithm illustration k = 7 labels: 1 5 6 2 4 7 3 “Kovtun labeling” unlabeled part, run alpha-expansion maxflows

Stereo results

Proof of correctness (sketch)

Proof of correctness (sketch) For labeling x and edge (a,b) define

Proof of correctness (sketch) For labeling x and edge (a,b) define

Proof of correctness (sketch) Coarea formula:

Proof of correctness (sketch) Coarea formula:

Proof of correctness (sketch) Coarea formula:

Proof of correctness (sketch) Coarea formula:

Proof of correctness (sketch) Coarea formula:

Proof of correctness (sketch) Coarea formula: Equivalent problem: minimize with subject to consistency constraints Equivalent to independent minimizations of - consistency holds automatically due to convexity of

Extension to trees Coarea formula:

Summary Part I: Complete characterization of tractable finite-valued CSPs Part II: k-submodular relaxations for partial optimality For Potts model: cast Kovtun’s approach as k-submodular function minimization O(log k) algorithm generalized alg. of [Felzenswalb et al’10] for tree metrics Future work: k-submodular relaxations for other functions?

positions are available postdoc & PhD student positions are available