Moralisation and Triangulation are transformations allowing to switch between different ways of factoring a probability distribution into a graphical model. Moralisation allows to view a Bayesian network (a directed model) as a Markov network (an undirected model), whereas triangulation addresses the opposite direction. We present a categorical framework where these transformations are modelled as functors between a category of Bayesian networks and one of Markov networks. The two kinds of network (the objects of these categories) are themselves represented as functors from a `syntax' domain to a `semantics' codomain. Notably, moralisation and triangulation can be defined inductively on such syntax via functor pre-composition. Moreover, while moralisation is fully syntactic, triangulation relies on semantics. This leads to a discussion of the variable elimination algorithm, reinterpreted here as a functor in its own right, that splits the triangulation procedure in two: one purely syntactic, the other purely semantic. This approach introduces a functorial perspective into the theory of probabilistic graphical models, which highlights the distinctions between syntactic and semantic modifications.
翻译:道德化与三角剖分是允许在概率分布分解为图模型的不同方式之间转换的变换。道德化使得贝叶斯网络(一种有向模型)可被视为马尔可夫网络(一种无向模型),而三角剖分则处理相反方向的转换。我们提出了一个范畴框架,其中这些变换被建模为贝叶斯网络范畴与马尔可夫网络范畴之间的函子。这两类网络(这些范畴的对象)本身被表示为从“语法”域到“语义”余域的函子。值得注意的是,道德化与三角剖分可以通过函子预复合在语法上归纳地定义。此外,虽然道德化是完全语法的,但三角剖分依赖于语义。这引出了对变量消除算法的讨论,该算法在此被重新解释为自身作为一个函子,将三角剖分过程分为两部分:一部分纯粹是语法的,另一部分纯粹是语义的。这种方法为概率图模型理论引入了函子视角,突显了语法修改与语义修改之间的区别。