秩空间中的动态规划:带低秩延迟的尺度结构推理和PCFG
Dynamic Programming in Rank Space: Scaling Structured Inference with Low-Rank HMMs and PCFGs
摘要:
隐马尔可夫模型(Hidden Markov Models,HRM)和概率上下文无关文法(ProbabilityContext-Free Grammars,PCFG)是广泛使用的结构化模型,它们都可以表示为因子图文法(FactorGraph Grammars,FGG),这是一种能够描述广泛模型的强大形式主义。最近的研究发现,使用大的状态空间对HALF和PCFG是有益的。然而,具有大状态空间的推断在计算上要求很高,特别是对于PCFG。为了应对这一挑战,我们利用张量秩分解(tensor rank decomposition)。CPD)来降低包含HMF和PCFG的FGG子集的推理计算复杂性。我们应用CPD的FGG的因素,然后构造一个新的定义在秩空间中的FGG。当秩大小小于状态大小时,用新的FGG进行推断产生相同的结果,但是具有较低的时间复杂度。我们进行实验,HMM语言建模和无监督PCFG解析,表现出更好的性能比以前的工作。我们的代码可在\url{https://github.com/VPeterV/RankSpace-Models}上公开获取。
英文摘要:
Hidden Markov Models (HMMs) and Probabilistic Context-Free Grammars (PCFGs) are widely used structured models, both of which can be represented as factor graph grammars (FGGs), a powerful formalism capable of describing a wide range of models. Recent research found it beneficial to use large state spaces for HMMs and PCFGs. However, inference with large state spaces is computationally demanding, especially for PCFGs. To tackle this challenge, we leverage tensor rank decomposition (aka.\ CPD) to decrease inference computational complexities for a subset of FGGs subsuming HMMs and PCFGs. We apply CPD on the factors of an FGG and then construct a new FGG defined in the rank space. Inference with the new FGG produces the same result but has a lower time complexity when the rank size is smaller than the state size. We conduct experiments on HMM language modeling and unsupervised PCFG parsing, showing better performance than previous work. Our code is publicly available at \url{https://github.com/VPeterV/RankSpace-Models}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。