arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2606.13850stat.MEstat.ML
收藏

控制器增强隐马尔可夫模型:一种用于约束序列推理的计算框架

Exact Constrained Decoding for Sequence Models: Controller-Augmented Hidden Markov Models and Beyond

Sandia National Laboratories(桑迪亚国家实验室)

Lekha Patel, Luis Damiano

AI总结:

提出控制器增强隐马尔可夫模型(CHMMs),通过将约束编译为有限状态控制器,在增广链上执行精确的前向后向和维特比递归,实现离散和连续时间下的约束推理,并保证推理精确性、EM单调上升、线性复杂度和误指定下的总变差界。

摘要:

隐马尔可夫模型是序列推理的基础,但其马尔可夫假设在路径约束(如优先级要求、访问基数或单调状态进展)下失效,这些约束引入长程依赖,使标准动态规划算法无效。为此,我们提出控制器增强隐马尔可夫模型(CHMMs),该框架将每个约束编译为一个跟踪最小充分历史的有限状态控制器,之后在增广链上执行标准的前向后向和维特比递归,在离散和连续时间(通过均匀化)下计算精确的约束后验和最大后验路径。我们建立了四个理论保证:约束推理的精确性、约束EM的单调上升、推理复杂度与控制器基数线性相关,以及约束误指定下的总变差界。一个涵盖排序、访问、路径和时间四类共11个约束族的控制器编码目录使该框架可操作。实验上,我们在三个不同性质的真实序列标注任务上评估CHMMs与6种替代解码器:果蝇基因结构解码、CASAS智能家居环境中的自由生活活动识别,以及可穿戴传感器的协议定义人类活动识别。结果揭示了清晰的局部与累积二分法:在累积约束体制下,控制器增强能唯一恢复全局可行轨迹,而在局部主导体制下,简单解码器在有效性上与之匹配。理论和实验共同刻画了何时需要精确控制器增强以及何时简单方法足够。

英文摘要:

Hidden Markov models are foundational for sequential inference, yet conditioning on pathwise constraints such as precedence requirements, visitation cardinalities, or monotonic state progression can introduce long-range dependencies that require additional memory for dynamic programming. To deal with this, we present Controller-Augmented Hidden Markov Models (CHMMs), a framework that compiles each constraint into a finite-state controller tracking a sufficient finite history, after which standard forward--backward and Viterbi recursions on the augmented chain compute exact constrained posteriors and maximum a posteriori paths in discrete time and, through uniformization, maximum a posteriori augmented-state sequences at observation times in continuous time. While we establish several theoretical guarantees, a catalog of controller encodings for 11 constraint families operationalizes our framework. Empirically, we evaluate classical and neural decoders with and without controller augmentation on 3 real-world sequence-labeling tasks: gene-structure decoding in \emph{Drosophila melanogaster}, free-living activity recognition in CASAS smart homes, and protocol-defined activity recognition from wearable sensors. Together, theory and experiment characterize when exact controller augmentation is useful and when simpler approaches suffice.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑