抽象隐马尔可夫模型:定量信息流的单子描述
Abstract Hidden Markov Models: a monadic account of quantitative information flow
AI总结:
本文提出抽象隐马尔可夫模型作为概率隐藏状态程序的指称语义,利用Giry单子编码隐藏状态,推广熵度量并建立向后不确定性变换子,揭示Dalenius要求本质是组合性问题。
摘要:
隐马尔可夫模型(HMM)是马尔可夫过程的数学模型,其状态是隐藏的,但信息可能从中泄露。它们通常表示为三元联合概率分布。我们将HMM用作概率性隐藏状态顺序程序的指称:为此,我们将它们重新表述为“抽象”HMM,即Giry单子$\mathbb{D}$中的计算,并为它们配备一个安全性递增的偏序。然而,为了编码在某个状态$\mathcal{X}$上带有隐藏的单子类型,我们使用$\mathbb{D}\mathcal{X}\to \mathbb{D}^2\mathcal{X}$,而不是传统的$\mathcal{X}{\to}\mathbb{D}\mathcal{X}$(后者足以用于状态不隐藏的马尔可夫模型)。我们用一个小的Haskell原型说明了$\mathbb{D}\mathcal{X}\to \mathbb{D}^2\mathcal{X}$构造。然后,我们将不确定性度量呈现为现有概率熵多样性的推广,为它们赋予特征分析性质,并展示新熵如何与安全性递增的序相互作用。此外,我们为HMM给出了一种“向后”的不确定性变换子语义,它与“向前”的抽象HMM对偶——这类似于具有恶魔选择的过程式程序中向前的关系语义与向后的谓词变换子语义之间的对偶性。最后,我们论证,从这个新的指称语义视角来看,可以看到Dalenius对统计数据库的要求实际上是一个组合性问题。我们提出了一种考虑它的方法。
英文摘要:
Hidden Markov Models, HMM's, are mathematical models of Markov processes with state that is hidden, but from which information can leak. They are typically represented as 3-way joint-probability distributions. We use HMM's as denotations of probabilistic hidden-state sequential programs: for that, we recast them as `abstract' HMM's, computations in the Giry monad $\mathbb{D}$, and we equip them with a partial order of increasing security. However to encode the monadic type with hiding over some state $\mathcal{X}$ we use $\mathbb{D}\mathcal{X}\to \mathbb{D}^2\mathcal{X}$ rather than the conventional $\mathcal{X}{\to}\mathbb{D}\mathcal{X}$ that suffices for Markov models whose state is not hidden. We illustrate the $\mathbb{D}\mathcal{X}\to \mathbb{D}^2\mathcal{X}$ construction with a small Haskell prototype. We then present uncertainty measures as a generalisation of the extant diversity of probabilistic entropies, with characteristic analytic properties for them, and show how the new entropies interact with the order of increasing security. Furthermore, we give a `backwards' uncertainty-transformer semantics for HMM's that is dual to the `forwards' abstract HMM's - it is an analogue of the duality between forwards, relational semantics and backwards, predicate-transformer semantics for imperative programs with demonic choice. Finally, we argue that, from this new denotational-semantic viewpoint, one can see that the Dalenius desideratum for statistical databases is actually an issue in compositionality. We propose a means for taking it into account.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。