graphical model 𝒢 is a tuple 𝒢 = ⟨𝐗𝐃, 𝐒, 𝐅𝐂⟩ where:

  • 𝐗 = {𝑋1, …, 𝑋𝑛} set of ordered variables
  • 𝐃 = {𝐷1, …, 𝐷𝑛} set of corresponding domains of each variable 𝑋𝑖 (e.g. if 𝑋1is a boolean variable then 𝐷1= {true, false}). The size of each 𝐷𝑖corresponds to the cardinality of variable 𝑋𝑖
  • 𝐒 = {𝑆1, …, 𝑆𝑚} set of variable scopes, where each variable scope 𝑆𝑖is a subset of 𝐗 (i.e. 𝑆𝑖 ⊆ 𝐗)
  • 𝐅 = {𝐹1, …, 𝐹𝑚} set of factors/functions, where each factor/function 𝐹𝑖 is defined over its corresponding variable scope 𝑆𝑖and maps any assignment over its scope to a real value
  • 𝐂 is a set of combination operators which defines how functions are combined. common combination operators are:
    • summation operator (𝛴)
    • multiplication operator (𝛱)
    • AND operator (∧) - for Boolean functions
    • relational join operator (⨝) - when the functions are relation
    • marginalization operator - for reasoning queries
    • max operator - e.g. = argmax𝑦[ 𝐹𝑖(𝑥,𝑦) ] = 𝐹𝑗(𝑥) where 𝐹𝑗is a new function with scope over variable 𝑥

the set of local functions can be combined in a variety of ways (e.g. combination operators) to generate a new local function or even a global function

Link to original

and let:

  • 𝐐 = 𝑄1, …, 𝑄𝑟be the set of query variables
  • 𝐄 = 𝐸1, …, 𝐸𝑠be the set of evidence variables
  • 𝐇 = 𝐻1, …, 𝐻𝑡be the remainder of the variables(called the hidden variables (non-evidence, non-query variables))
  • 𝐪 = 𝑞1, …, 𝑞𝑟be a grounded instantiation of 𝐐
  • 𝐞 = 𝑒1, …, 𝑒𝑠be a grounded instantiation of 𝐄
  • 𝐡 = 𝘩1, …, 𝘩𝑡be a grounded instantiation of 𝐇

𝑋, 𝐸, and 𝑌 are disjoint exhaustive sets of all variables 𝐗

therefore:

  • the complete set of variables is 𝐗 = 𝐐 ∪ 𝐄 ∪ 𝐇 = {𝑋1, …, 𝑋𝑛} = {𝑄1, …, 𝑄𝑟, 𝐸1, …, 𝐸𝑠, 𝐻1, …, 𝐻𝑡}
  • the complete set of instantiations is 𝒙 = 𝐪 ∪ 𝐞 ∪ 𝐡 = {𝑥1, …, 𝑥𝑛} = {𝑞1, …, 𝑞𝑟, 𝑒1, …, 𝑒𝑠, ℎ1, …, ℎ𝑡}