arXiv:2512.11835cs.AIcs.LG2025-12

用哲学框架设计可执行的智能体记忆约束系统

A Monad-Based Clause Architecture for Artificial Age Score (AAS) in Large Language Models

  • 基于莱布尼茨哲学术语构建六组可执行规则
  • 实验证明记忆老化指标轨迹连续且受控
  • 适合关注模型可解释性与可控性的研究者

大型语言模型常作为强大但不透明的系统运行,其内部记忆与“类自我”行为如何被原则化、可审计地管理仍待解决。此前提出的人工年龄评分(AAS)通过三个定理被数学证明为人工智能记忆老化度量。本文在此基础上开发了一种面向工程实现的条款化架构,对大模型记忆与控制施加类法律约束。从莱布尼茨《单子论》中选取20个单子概念,归为六组:本体、动态、表征与意识、和谐与理性、身体与组织、目的论,每组均在AAS内核上实现为可执行规范。在六个最小化的Python实现中,这些条款家族作用于通道级量值(如回忆得分、冗余度、权重),遵循输入与设置、条款实现、数值结果、设计启示四步模式。实验表明,该系统表现出有界且可解释的行为:AAS轨迹保持连续且速率受限,矛盾与无支持主张触发显式惩罚,层级精炼揭示出受控的有机结构;双重视角与目标-行动对通过和谐项对齐,窗口漂移的完美度分数区分持续改进与持续退化。整体而言,该单子条款框架以AAS为基石,提供了约束与分析人工代理内部动态的透明代码蓝图。

原文摘要 · Abstract (English)

Large language models (LLMs) are often deployed as powerful yet opaque systems, leaving open how their internal memory and "self-like" behavior should be governed in a principled and auditable way. The Artificial Age Score (AAS) was previously introduced and mathematically justified through three theorems that characterise it as a metric of artificial memory aging. Building on this foundation, the present work develops an engineering-oriented, clause-based architecture that imposes law-like constraints on LLM memory and control. Twenty selected monads from Leibniz's Monadology are grouped into six bundles: ontology, dynamics, representation and consciousness, harmony and reason, body and organisation, and teleology, and each bundle is realised as an executable specification on top of the AAS kernel. Across six minimal Python implementations, these clause families are instantiated in numerical experiments acting on channel-level quantities such as recall scores, redundancy, and weights. Each implementation follows a four-step pattern: inputs and setup, clause implementation, numerical results, and implications for LLM design, emphasising that the framework is not only philosophically motivated but also directly implementable. The experiments show that the clause system exhibits bounded and interpretable behavior: AAS trajectories remain continuous and rate-limited, contradictions and unsupported claims trigger explicit penalties, and hierarchical refinement reveals an organic structure in a controlled manner. Dual views and goal-action pairs are aligned by harmony terms, and windowed drift in perfection scores separates sustained improvement from sustained degradation. Overall, the monad-based clause framework uses AAS as a backbone and provides a transparent, code-level blueprint for constraining and analyzing internal dynamics in artificial agents.

大模型可解释性记忆建模哲学计算

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