ECCV2014 best paper

  • 格式:pdf
  • 大小:1.31 MB
  • 文档页数:48

Puppy
Overlap
Goal: A new classification model
Respects real world label relations
Dog
Cat
Dog Corgi Puppy Cat
0.9 0.8 0.9 0.1
Corgi
Puppy
Visual Model + Knowledge Graph
Dog Corgi Puppy Cat
0.2 0.8 0.6 0.4
No assumptions about relations.
• Multiclass classifier: Softmax
/ / / / +
Dog
0.2 0.4 0.3 0.1
Corgi Puppy Cat
Assumes mutual exclusive labels.
Object labels have rich relations
Exclusion
Hierarchical Dog
Dog
Puppy Cat
Cat
Corg i
Corgi Softmax: all labels are mutually exclusive Logistic Regression: all labels overlap
HEX Classification Model
• Pairwise Conditional Random Field (CRF)
x Î Rn
Input scores
y Î {0,1}n
Binary Label vector
1 Pr( y | x ) = fi ( xi , yi ) Õyi, j ( yi , y j ) Õ Z (x) i i, j
Hierarchy and Exclusion (HEX) Graph
Exclusion Hierarchical
Dog
Cat
Corgi
Puppy
• Hierarchical edges (directed) • Exclusion edges (undirected)
Examples of HEX graphs
Markov Random Fields and Gibbs distributions
• Let {������������ : t ∈ ������ } be a finite collection of random variables—a stochastic process—with ������������ taking values in a finite set ������������ . For simplicity of notation, suppose the index set ������ is {1, 2,..., n} and ������������ = {0, 1,..., ������������ }. The joint distribution of the variables is ������{������} = ������ ������������ = ������������ ������������������ ������ ∈ ������ with 0 ≤ ������������ ≤ ������������ • The process is said to be a Markov random field if 1. ������ ������ > 0 2. for each t and x.
sigmoid ( xi )
yi, j ( yi , y j ) =
0 If violates constraints
1
Otherwise
Unary: same as logistic regression
State Space: Legal label configurations
Each edge defines a constraint.
Dog Cat
Dog 0 0 0 Cat 0 0 0 0 0 … 1 1 1 1 … 0 0 0 1 Corgi 0 0 1 1 0 Puppy 0 1 0 1 0
Each edge defines a constraint.
Dog Cat
Dog 0 0 0 Cat 0 0 0 0 0 … 1 1 1 1 … 0 0 0 1 Corgi 0 0 1 1 0 Puppy 0 1 0 1 0
Corgi
Puppy
0 1
State Space: Legal label configurations
Each edge defines a constraint.
Dog Cat
Dog 0 0 0 Cat 0 0 0 0 0 … 1 1 1 1 … 0 0 0 1 Corgi 0 0 1 1 0 Puppy 0 1 0 1 0
Corgi
Puppy
0 1
Hierarchy: (dog, corgi) can’t be (0,1)
fi ( xi , yi ) =
if yi = 1 1 - sigmoid ( xi ) if yi = 0
sigmoid ( xi )
Unary: same as logistic regression
HEX Classification Model
• Pairwise Conditional Random Field (CRF)
• The probability distribution Q is called a Gibbs distribution for the graph if it can be written in the form ������ ������ =
������∈������
������������ (������)
Object Classification
• Assign semantic labels to objects
Dog Corgi Puppy Cat
✔ ✔ ✔ ✖
• Assign semantic labels to objects
Probabilities
Dog Corgi Puppy Cat
Person Dog Cat Red Shiny Male Car Bird Round Thick Boy Girl Female Child
Mutually exclusive
All overlapping
Combination
State Space: Legal label configurations
Variable Elimination
Directed Graphs
Junction Tree
Outline
• • • • • • • Preliminaries of Graph Model Object Classification Encoding prior knowledge (HEX graph) Classification model Efficient Exact Inference Experiments Conclusion and Future Work
HEX Classification Model
• Pairwise Conditional Random Field (CRF)
x Î Rn
Input scores
y Î {0,1}n
Binary Label vector
1 Pr( y | x ) = fi ( xi , yi ) Õyi, j ( yi , y j ) Õ Z (x) i i, j
where each ������������ is a positive function that depends on x only through the coordinates {������������ : ������������������}. • The Hammersley-Clifford Theorem asserts that the process {������������ : ������ ∈ ������} is a Markov random field if and only if the corresponding Q is a Gibbs distribution.
Large-Scale Object Recognition using Label Relation Graphs
He Lei
Outline
• • • • • • • Preliminaries of Graph Model Object Classification Encoding prior knowledge (HEX graph) Classification model Efficient Exact Inference Experiments Conclusion and Future Work
Dog Visual Model
Joint Inference
0.9 0.8 0.9 0.1
KnowledgeБайду номын сангаасGraph
Corgi Puppy Cat
Assumption in this work: Knowledge graph is given and fixed.
Outline
• • • • • • • Preliminaries of Graph Model Object Classification Encoding prior knowledge (HEX graph) Classification model Efficient Exact Inference Experiments Conclusion and Future Work