《规范的领域:刻画执行给定算法规范所需的知识》
A Specification's Realm: Characterizing the Knowledge Required for Executing a Given Algorithm Specification
AI总结:
本文提出算法规范的“领域”概念,刻画执行智能体独立执行算法规范所需的前置知识,说明其生成可部分由大语言模型自动化,该刻画可助力算法的多系统实现与形式化验证,并探讨了执行忠实度评估问题。
摘要:
以自然语言或伪代码编写的算法规范应足够清晰明确,以支持机械化执行。在这篇立场论文中,我们初步刻画了执行智能体(无论人类或机器)作为独立实体、不依赖任何系统实现时,为执行给定算法规范的指令所需具备的知识。我们认为,对于该算法规范,这类前置知识无论为该规范独有还是与其他规范共享,都可整理为一份篇幅实用的文档。我们将这份文档称为该算法规范的“领域(realm)”。\n生成这类领域本身是一个系统化的分析过程,其重要部分可借助大语言模型(LLM)及现有文档复用实现自动化。算法规范的领域将包含:规范语言的语法与语义、限定于所引用实体的领域知识、实体间关系、相关的底层因果规则,以及执行特定操作的详细指令与方法。对领域的这类刻画可助力算法规范在不同系统中的方法学实现,以及其用于机械化验证的形式化工作。\n论文还探讨了执行忠实度评估的问题——这与正确性不同:在缺乏带给定词汇表的自然语言或伪代码规范的参考解释时,我们如何判定观测到的智能体执行确实符合输入规范。
英文摘要:
An algorithm specification in natural language or pseudocode is expected to be clear and explicit enough to enable mechanical execution. In this position paper we contribute an initial characterization of the knowledge that an executing agent, human or machine, should possess in order to be able to carry out the instructions of a given algorithm specification as a stand-alone entity, independent of any system implementation. We argue that, for that algorithm specification, such prerequisite knowledge, whether unique or shared with other specifications, can be summarized in a document of practical size. We term this document the realm of the algorithm specification. The generation of such a realm is itself a systematic analytical process, significant parts of which can be automated with the help of large language models and the reuse of existing documents. The algorithm-specification's realm would consist of specification language syntax and semantics, domain knowledge restricted to the referenced entities, inter-entity relationships, relevant underlying cause-and-effect rules, and detailed instructions and means for carrying out certain operations. Such characterization of the realm can contribute to methodological implementation of the algorithm specification in diverse systems and to its formalization for mechanical verification. The paper also touches upon the question of assessing execution faithfulness, which is distinct from correctness: in the absence of a reference interpretation of natural language or pseudocode specification with a given vocabulary, how can we determine if an observed agent's execution indeed complies with the input specification.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。