fast memory-efficient generalized belief propagation

1
Fast Memory-Efficient Generalized Belief Fast Memory-Efficient Generalized Belief Propagation Propagation M.Pawan Kumar P.H.S. M.Pawan Kumar P.H.S. Torr Torr Oxford Brookes University, Oxford Brookes University, UK UK obust Truncated Model (RTM) Results Aim: To reduce time and memory requirements of Generalized Belief Propagation. elief Propagation Reduction in Time and Memory Requirements Model Time Memory RTM O(n L /n C ) Truncation = 0 O(n L /n C ) O((n L /n C ) S-1 ) Bipartite Graphs Half Pairwise Potentials (x i ,x j ) Loopy Belief Propagation (LBP) • Regions of size 2 • Inaccurate Bethe approximation • Computationally inexpensive eralized Belief Propagation (GBP) Regions of arbitrary size S • Accurate Kikuchi approximation • Computationally expensive n L n C 100 random MRFs for varying n C /n L Time Memory • 1000 synthetic pairs of graphs • 7% noise added Subgraph Matching Method Time Memory Accurac y LBP 2 sec 4 MB 78.61% GBP - > 350 MB - Efficient LBP 0.2 sec 0.4 MB 78.61% Efficient GBP 4.3 sec 3.5 MB 95.79% Outline Texture Object Recognition MRF Regions+ Messages MRF Regions+ Messages ROC Curves - 450 +ve and 2400 -ve image Part likelihood Spatial Prior Time = 16 sec. Memory = 0.5 MB es of MRF are clustered into regions. ions pass messages to subregions until convergence. G 1 = (V 1 ,E 1 ) G 2 = (V 2 ,E 2 ) MRF Bipartite Graphs • Message within A depends only on messages from B (and vice versa). MRF Regions Memory-Efficient GBP Truncation Factor = 0 P Q n C Do not contribute to message P Q n C • Divide MRF into smaller MRFs which can be solved one at a time. Fast LBP The same label x i of site i is used to computed the terms T 2 and T 3 . Proof in paper. Term T 1 takes O(n L /n C ) less time than message M. A A B B ij Number of stored messages reduced by O((n L /n C ) S-1 ). • Number of stored messages can be halved. n C Highest LB Label j ij j n C ij j OR Message M = max xi (x i ,x j ) * Local Belief (x i ) Fast GBP Message M = max xi (x i ,x j )* (x i ,x j ) * LB(x i ,x j ) * LB(x i ,x k ) ijk n C jk ijk n C jk OR ij j ik k * T 1 T 2 T 3 Highest LB(x i ,x j ) Label Highest LB(x i ,x k ) Label

Upload: lawrence-garcia

Post on 30-Dec-2015

33 views

Category:

Documents


1 download

DESCRIPTION

Fast Memory-Efficient Generalized Belief Propagation. Aim: To reduce time and memory requirements of Generalized Belief Propagation. Results. Fast LBP. Message M = max xi (x i ,x j ) * Local Belief (x i ). 100 random MRFs for varying n C /n L. Highest LB Label. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Fast Memory-Efficient Generalized Belief Propagation

Fast Memory-Efficient Generalized Belief PropagationFast Memory-Efficient Generalized Belief PropagationM.Pawan Kumar P.H.S. Torr M.Pawan Kumar P.H.S. Torr

Oxford Brookes University, UK Oxford Brookes University, UK

Robust Truncated Model (RTM)

ResultsAim: To reduce time and memory requirements of Generalized Belief Propagation.

Belief Propagation

Reduction in Time and Memory Requirements

Model Time Memory

RTM O(nL/nC)

Truncation = 0 O(nL/nC) O((nL/nC) S-1)

Bipartite Graphs Half

Pairwise Potentials (xi,xj)

Loopy Belief Propagation (LBP)• Regions of size 2

• Inaccurate Bethe approximation

• Computationally inexpensive

Generalized Belief Propagation (GBP)

• Regions of arbitrary size S

• Accurate Kikuchi approximation

• Computationally expensive

nL

nC

• 100 random MRFs for varying nC/nL

Time Memory

• 1000 synthetic pairs of graphs• 7% noise added

Subgraph Matching

Method Time Memory Accuracy

LBP 2 sec 4 MB 78.61%

GBP - > 350 MB -

Efficient LBP 0.2 sec 0.4 MB 78.61%

Efficient GBP 4.3 sec 3.5 MB 95.79%

Outline

Texture

Object Recognition

MRF Regions+ Messages

MRF Regions+ Messages

ROC Curves - 450 +ve and 2400 -ve images

Part likelihood Spatial Prior

• Time = 16 sec. Memory = 0.5 MB

• Sites of MRF are clustered into regions.

• Regions pass messages to subregions until convergence.

G1 = (V1,E1) G2 = (V2,E2) MRF

Bipartite Graphs

• Message within A depends only on messages from B (and vice versa).

MRF Regions

Memory-Efficient GBP Truncation Factor = 0

P Q

nC

Do not contributeto message

P Q

nC

• Divide MRF into smaller MRFs which can be solved one at a time.

Fast LBP

• The same label xi of site i is used to computed the terms T2 and T3.Proof in paper.

• Term T1 takes O(nL/nC) less time than message M.

A

A

B

B

ij

• Number of stored messages reduced by O((nL/nC)S-1).

• Number of stored messages can be halved.

nC

Highest LB Label

j ij j

nC

ij jOR

Message M = max xi (xi,xj) * Local Belief (xi)

Fast GBP Message M = max xi (xi,xj)* (xi,xj) * LB(xi,xj) * LB(xi,xk)

ijk

nC

jk

ijk

nC

jk

OR

ij j ik k*

T1

T2 T3

Highest LB(xi,xj) Label

Highest LB(xi,xk) Label