arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.24036cs.PL
收藏

意图驱动计算:一种受治理的自主系统的计算模型

Intent-Driven Computing: A Computational Model for Governed Autonomous Systems

Mashin, Inc.(Mashin公司)

Alan L. McCann

AI总结:

提出意图驱动计算模型,程序生成意图而非直接执行效果,通过可判定策略治理运行时,实现事件溯源、治理模拟和审计完整性。

摘要:

编程语言假设程序直接执行效果。当自主系统动态生成行为时,这一假设变得有问题:在决定行动和行动之间没有结构化的中介点。我们定义了意图驱动计算:一种编程模型,其中程序产生意图(描述提议动作的有限数据值)而不是直接执行效果。受治理的运行时根据可判定的策略语言检查每个意图,将每个决策记录在防篡改的分类账中,然后才实现效果。该语言没有提供其他途径来实现效果。该模型不决定程序的任意行为属性(莱斯定理表明这是不可能的)。相反,它约束语言,使得所有有影响的交互都被具体化为有限的意图值,将治理从程序语义的不可判定领域转移到意图数据的可判定领域。这产生了涌现特性:通过构造实现事件溯源,通过意图重放进行治理模拟,结构审计完整性,以及提高人类可理解性。我们正式指定了该模型,在一种编译到BEAM虚拟机的具体语言中实现它,并在Rocq中验证了关键属性(454个定理,36个模块,零个待证引理)。基于属性的测试(70,000+个随机输入,零分歧)验证了实现与规范匹配。

英文摘要:

Programming languages assume programs directly execute effects. When autonomous systems generate behavior dynamically, this assumption becomes problematic: there is no structural mediation point between deciding to act and acting. We define intent-driven computing: a programming model where programs produce intents (finite data values describing proposed actions) rather than directly executing effects. A governed runtime examines each intent against a decidable policy language, records every decision in a tamper-evident ledger, and only then realizes the effect. The language provides no alternative path to effects. The model does not decide arbitrary behavioral properties of programs (which Rice's theorem shows is impossible). Instead, it constrains the language so that all effectful interaction is reified as finite intent values, shifting governance from the undecidable domain of program semantics to the decidable domain of intent data. This yields emergent properties: event sourcing by construction, governance simulation via intent replay, structural audit completeness, and improved human comprehensibility. We specify the model formally, implement it in a concrete language compiling to the BEAM virtual machine, and verify key properties in Rocq (454 theorems, 36 modules, zero admitted lemmas). Property-based testing (70,000+ random inputs, zero disagreements) validates that the implementation matches the specification.

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

↑