arXiv:2506.13246cs.CRcs.AI2025-06

用区块链和加密技术构建不可篡改的智能体记忆系统。

On Immutable Memory Systems for Artificial Agents: A Blockchain-Indexed Automata-Theoretic Framework Using ECDH-Keyed Merkle Chains

  • 用梅克尔链+自动机理论实现记忆可验证、不可篡改。
  • 通过ECDH密钥与权限层级控制访问,保障隐私安全。
  • 适合法律、金融等需可追溯、防伪造系统的高可信场景。

本文提出一种形式化架构,用于构建具备不可篡改记忆、可验证推理和受限认知增长的合成智能体。传统AI依赖易变且不透明的统计模型,易产生认知漂移与历史重写。本文引入梅克尔自动机,将每个智能体状态转移、记忆片段和推理步骤以梅克尔结构锚定在区块链上,确保不可否认性和可审计的永久性。为实现选择性访问与保密性,基于上下文化的层次权限体系,从ECDH密钥交换派生对称加密密钥,对只追加的有向无环图(DAG)结构知识图谱实施加密访问控制。推理受形式逻辑系统约束,并通过策略编码结构的确定性遍历验证。更新操作非破坏性且保留历史,避免灾难性遗忘。零知识证明支持可验证且隐私保护的包含证明。整体架构将记忆重构为协议强制、密码学绑定、逻辑约束的账本。最终产物并非模拟思维的智能体,而是输出可证明、时间锚定、无法事后修改的认知实体。该设计为法律、经济及高保障计算系统提供基础,满足可证明记忆、不可伪造溯源与结构真相需求。

原文摘要 · Abstract (English)

This paper presents a formalised architecture for synthetic agents designed to retain immutable memory, verifiable reasoning, and constrained epistemic growth. Traditional AI systems rely on mutable, opaque statistical models prone to epistemic drift and historical revisionism. In contrast, we introduce the concept of the Merkle Automaton, a cryptographically anchored, deterministic computational framework that integrates formal automata theory with blockchain-based commitments. Each agent transition, memory fragment, and reasoning step is committed within a Merkle structure rooted on-chain, rendering it non-repudiable and auditably permanent. To ensure selective access and confidentiality, we derive symmetric encryption keys from ECDH exchanges contextualised by hierarchical privilege lattices. This enforces cryptographic access control over append-only DAG-structured knowledge graphs. Reasoning is constrained by formal logic systems and verified through deterministic traversal of policy-encoded structures. Updates are non-destructive and historied, preserving epistemic lineage without catastrophic forgetting. Zero-knowledge proofs facilitate verifiable, privacy-preserving inclusion attestations. Collectively, this architecture reframes memory not as a cache but as a ledger - one whose contents are enforced by protocol, bound by cryptography, and constrained by formal logic. The result is not an intelligent agent that mimics thought, but an epistemic entity whose outputs are provably derived, temporally anchored, and impervious to post hoc revision. This design lays foundational groundwork for legal, economic, and high-assurance computational systems that require provable memory, unforgeable provenance, and structural truth.

不可篡改区块链智能体密码学

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。