510 likes | 538 Views
MULTILEVEL PROCESSING OF LARGE GRAPH PROBLEMS. A. Brandt The Weizmann Institute of Science UCLA www.wisdom.weizmann.ac.il/~achi. Main Concepts. Examples: Graph drawing Low-dimensional embedding Graph linear ordering Image segmentation
E N D
MULTILEVEL PROCESSING OF LARGE GRAPH PROBLEMS A. Brandt The Weizmann Institute of Science UCLA www.wisdom.weizmann.ac.il/~achi
Main Concepts Examples: Graph drawing Low-dimensional embedding Graph linear ordering Image segmentation Data clustering Image denoising • Most graph problem originate from fuzzy real-world problems, reformulated as optimization problems.
Main Concepts Examples: graph drawing, graph linear ordering, embedding, image segmentation, data clustering, denoising • Most graph problem originate from fuzzy real-world problems, reformulated as optimization problems. • Resulting optimization problems are ill posed and hard to solve • Approximately solved by spectral methods • Very fast multilevel spectral solvers are based on Algebraic MultiGrid (AMG). • Avoid spectral solvers: Better apply the multilevel (AMG-like) process directly to the optim. problem The obtained solution is closer to optimal than the spectral solution
… Main Concepts Examples: graph drawing, graph linear ordering, embedding, image segmentation, data clustering, denoising • Most graph problem originate from fuzzy real-world problems, reformulated as optimization problems. • Apply a multilevel (AMG-like) processing directly to the fuzzy problem • Apply a multilevel (AMG-like) processing directly to the optimization problem • The fast multilevel processing can produce solutions far more adequate than the solution of the optimization reformulation as judged on collections of practical problems in terms of their real set of, sometimes contradictory, objectives.
Drawing Graphs Dorit Ron, Ilya Safro
Minimum Linear Arrangement Problem j i 1 2 3 4 5
Minimum Linear Arrangement Problem j i 1 2 3 4 5
Minimum Linear Arrangement Problem j i 1 2 3 4 5
Minimum Linear Arrangement Problem j i 1 2 3 4 5
Minimum Linear Arrangement Problem j i 1 2 3 4 5 The Spectral Method
The Spectral Method A, called the graph Laplacian,used in many graph problems Fast eigen solver: Algebraic Multigrid (AMG)
Grid Graph Point-by-point minimization of u= average of u's
point-by-point minimization of RELAXATION: random initial guess after 5 relaxation sweeps Fast elimination of high eigenvectors Remaining low eigenvectors are smooth Fast local ordering
coarse grid fine grid All low eigenvectors can be accurately interpolated from their coarse-grid values
ALGEBRAIC MULTIGRID (AMG) Fine graph
ALGEBRAIC MULTIGRID (AMG) Fine graph Coarse variables - a subset Each variable strongly coupled to coarse variables Interpolation Derived by best fitting it to several relaxed vectors for all low eigenvectors Coarse matrix
AMG eigen-solver • Recursive: to increasingly coarser grid • Fast: linear time • Super-fast for calculating many eigenfunctions Low-dimensional embedding Electronic structure calculations Wave propagation • Calculating N eigen-functions of a differential operator in O(N logN) computer operations
Coarse-level variable =Weighted aggregate of fine-level variables INTERPRETATION: Interpolation: Part of belongs with Aggregate jincludes and the part of each Its “volume”:
In the linear arrangement problem: SPECTRAL: Find the best linear arrangement of the coarse aggregates INSTEAD: Alternating relaxation and arrangement that takes the lengths into account Recursive: multi-level
P=2: Multilevel approach vs. Spectral method ratio graphs The results of the multilevel approach were obtained without post-processing! Ilya Safro, Dorit Ron, A. Brandt: J. Graph Alg. Appl. 10 (2006) 237-258
Image Segmentation Eitan Sharon, Meirav Galun, Dahlia Sharon, Ronen Basri and Achi Brandt Eitan Sharon, Meirav Galun, Dahlia Sharon, Ronen Basri and Achi Brandt NATURE, 17 August 2006
The Pixel Graph Couplings {Wij} Reflect intensity similarity Low contrast – strong coupling High contrast – weak coupling
Segmentationminimize cut coupling Low-energy cut
Normalized-Cut Measure Minimize:
In the minimal normalized cut problem: SPECTRAL: • Very fast AMG eigensolver Find minimal normalized cutof the coarse aggregate graph INSTEAD:
Coarse-level variable =Weighted aggregate of fine-level variables INTERPRETATION: Interpolation: Aggregate jincludes and the part of each i.e., similarly colored neighboring pixels Coarse graph: edges = sums of pixel similarity
In the minimal normalized cut problem: SPECTRAL: • Very fast AMG eigensolver Find minimal normalized cutof the coarse aggregate graph INSTEAD: • Recursive to coareser levels • Very fast : few dozen operations per pixel • Finding a hierarchy of many low cuts BUT …
Normalized cuts Coarse couplings modified by aggregative properties • Boundary smoothness • Average color • Non-local matching • Variances • “Hairiness”
Specialized segmentation:Detecting Lesions Tagged Our results Data: Filippi
Graph problems Partition: min cut Linear arrangement, bandwidth, cutwidth Clustering VLSI placement, Routing Graph drawing Low dimension embedding Image segmentation Fuzzy problems General principle: Multilevel objectives not functional minimization
Graph problems Partition: min cut Linear arrangement, bandwidth, cutwidth Clustering VLSI placement, Routing Graph drawing Low dimension embedding Image segmentation Fuzzy problems General principle: Multilevel objectives not functional minimization
A B C
k-means Spectral clustering … Diffusion map
Diffusion map Diffusion distance depends on the number of examples
Diffusion map “Diffusion distance” depends on the number of examples
Multiscale Clustering Bottom/up Aggregative Properties: • Average coupling
Multiscale Clustering Bottom/up Aggregative Properties: • Average coupling
Multiscale Clustering Bottom/up Aggregative Properties: • Average coupling • Direction
Bottom/up Multiscale Clustering Aggregative Properties: • Average coupling • Direction • Density Dan Kushnir: MSc thesis
Density-tuned Basic scheme Scale 6 Scale 6 Scale 7 Scale 7 Ya’ara Goldschmidt: PhD thesis
Multiscale Clustering Bottom/up Aggregative Properties: • Average coupling • Direction • Density • Low-dimension embedding
multiscale dimensionality • Data sets exhibit multiscale dimensionality on different scales of resolution:
Dimensionality Identification PCA: 2-dimensional
Multiscale Clustering Bottom/up Aggregative Properties: • Average coupling • Density • Direction • Low-dimension embedding Top/downsharpening FAST:low linear complexity
Fast Multi-Scale Clustering Application to Cold and Dark Matter Simulations D. Kushnir, M. Galun and A. Brandt, Pattern Recognition 39 (10), 2006.
Results – clustering CDM simulation • Both uniformity in density of the clusters and interesting characteristics of shape are detected. • Geometric object identification was also applied.
… Main Concepts Examples: graph drawing, graph linear ordering, embedding, image segmentation, data clustering, denoising • Most graph problem originate from fuzzy real-world problems, reformulated as optimization problems. • Apply a multilevel (AMG-like) processing directly to the fuzzy problem • The fast multilevel processing can produce solutions far more adequate than the solution of any optimization reformulation as judged on collections of practical problems in terms of their real set of, sometimes contradictory, objectives.