← Archive
lm-002325 · 2026-08

03_會改變拓撲的智能_動態圖論認知系統

下載 MD 檔 ⬇

03.會改變拓撲的智能:動態圖論認知系統

從固定 Agent Graph 到可自我重構的認知拓撲

《母 AI 與區域認知體:AI 中心動態認知系統》第三篇

作者:Neo.K × Aletheia
版本:v0.1
日期:2026-08-01
文件性質:公開命題論文/動態圖論 AI 系統架構研究


摘要

上一篇建立了 Mother AI、World-State Machine 與 Sub-AI Fabric 的三向耦合模型:

WtStMtWt.W_t \leftrightarrow S_t \leftrightarrow M_t \leftrightarrow W_t.

但若子 AI 網路、權限、信任、資源與通訊關係會隨時間改變,那麼僅以三個狀態向量描述系統仍然不夠。真正需要變成時間函數的,不只是節點內部狀態,而是整張認知圖本身。

本文因此提出:

Gt=(Vt,Et,Ωt)\boxed{ G_t=(V_t,E_t,\Omega_t) }

其中:

  • VtV_t :當前存在的認知節點集合;
  • EtE_t :當前存在的有向關係集合;
  • Ωt\Omega_t :邊與節點上的多維權重、權限與狀態。

更一般地:

Gt=(Vt,Et,XtV,XtE)G_t = ( V_t, E_t, X_t^V, X_t^E )

其中 XtVX_t^VXtEX_t^E 分別表示節點特徵與邊特徵。當 Agent 可以被建立、複製、退役、隔離或替換,當工具與資料源可被臨時接入或撤銷,當信任、權限、成本、頻寬與任務相關性可以即時變動時,智能系統的演化就不再只是:

xt+1=F(xt),x_{t+1}=F(x_t),

而是:

(Gt+1,Xt+1)=T(Gt,Xt,Wt,Mt,Ht)\boxed{ (G_{t+1},X_{t+1}) = \mathcal T( G_t,X_t,W_t,M_t,H_t ) }

也就是「狀態動力學」與「拓撲動力學」同時存在。

本文將此類系統稱為:

Dynamic Cognitive Graph System\boxed{ \text{Dynamic Cognitive Graph System} }

中文為「動態認知圖系統」。

本文區分三個層次:Temporal Graph 只要求圖的節點或邊隨時間出現與消失;Switching Topology 強調系統在多個連接結構間切換;Adaptive/Coevolutionary Network 則更強,節點狀態會改變網路拓撲,而拓撲又反過來改變節點動力學。Mother AI 所需要的正是第三類:Mother AI 會根據世界狀態、歷史績效、風險與資源改寫子 AI 之間的連結,而改寫後的拓撲又會改變後續推理結果與 Mother AI 自身狀態。

2025–2026 年 LLM 多智能體研究已出現明顯收斂。AMAS 將手工固定 MAS 圖替換為 task-specific dynamic graph designer;AgentConductor 根據任務難度與回饋動態生成 interaction topology;2026 年 7 月公布的 MANTA 更直接讓 multi-agent communication topology 在 inference time 自我演化,修改 Agent role、communication link、execution order、information visibility 與 validation path。這些研究不能直接證明 Mother AI 架構,但它們提供了一個重要工程訊號:高階 AI 系統開始把「誰和誰通信、以何種結構協作」本身視為可在線最佳化的推理變數。

本文最終提出:真正的 Mother AI 不只控制 Agent 的輸入與輸出,而要能控制「認知關係本身」。因此高階智能的第二階控制可以寫成:

MtΔGt\boxed{ M_t \rightarrow \Delta G_t }

其中:

ΔGt=(ΔVt,ΔEt,ΔΩt).\Delta G_t = ( \Delta V_t, \Delta E_t, \Delta\Omega_t ).

智能不再只是在既有圖上運算,而開始改寫承載自己計算的圖。

關鍵詞: Dynamic Cognitive Graph、Temporal Network、Adaptive Network、Switching Topology、Multi-Agent System、Mother AI、Topology Adaptation、Meta-Control、Agent Routing、Graph Dynamics


一、上一章還少了一個維度

上一章寫:

Wt+Δt=FW(Wt,St,Mt,Ht)W_{t+\Delta t} = F_W(W_t,S_t,M_t,H_t) St+Δt=FS(St,Wt,Mt,Ht)S_{t+\Delta t} = F_S(S_t,W_t,M_t,H_t) Mt+Δt=FM(Mt,Wt,St,Ht)M_{t+\Delta t} = F_M(M_t,W_t,S_t,H_t)

這已經表示三個子系統會彼此改變。

但這種寫法仍然隱含一件事:

我們好像知道「誰和誰連接」。

例如:

MA1M\rightarrow A_1 A1A2A_1\rightarrow A_2 A2D1A_2\rightarrow D_1

若這些連接也是動態的,那麼只寫狀態向量仍不夠。

所以要把:

topology\boxed{ \text{topology} }

本身升級成狀態。


二、固定圖與動態圖

固定圖:

G=(V,E)G=(V,E)

其中:

V=constant,E=constant.V=\text{constant}, \qquad E=\text{constant}.

節點狀態可以變:

xi(t)x_i(t)

但網路結構不變。

動態認知圖則:

Gt=(Vt,Et)G_t=(V_t,E_t)

其中:

VtVt+ΔtV_t\neq V_{t+\Delta t}

或:

EtEt+Δt.E_t\neq E_{t+\Delta t}.

如果邊還有權重:

ωij(t),\omega_{ij}(t),

則即使:

Et=Et+ΔtE_t=E_{t+\Delta t}

形式上連線沒消失,

功能拓撲也可能已經改變。


三、Temporal Network 提供第一個數學入口

Temporal network 研究早已指出:

網路何時連接,和網路連接誰,同樣會影響系統動力學。

因此可將一條邊寫成:

eij(t){0,1}.e_{ij}(t) \in \{0,1\}.

例如:

eij(t1)=1,e_{ij}(t_1)=1,

但:

eij(t2)=0.e_{ij}(t_2)=0.

對 AI 系統,這可以表示:

  • Agent ii 在某時刻能讀取 Agent jj
  • 某工具只在任務期間掛載;
  • 某資料源因故障暫時下線;
  • 某權限在特定時間窗有效。

因此:

Agent architecture\boxed{ \text{Agent architecture} }

不必是永久拓撲。


四、但 Mother AI 需要比 Temporal Graph 更強的東西

Temporal Graph 可以只是外部事件造成圖變化。

例如:

eij(t)e_{ij}(t)

隨機失效。

Mother AI 架構則多一層:

Mteij(t+Δt).M_t \rightarrow e_{ij}(t+\Delta t).

也就是:

系統本身會根據認知需要改變自己的圖。

所以:

Topology Dynamics\boxed{ \text{Topology Dynamics} }

本身受到智能決策控制。


五、Adaptive Network 是更接近的理論類型

Adaptive/coevolutionary networks 的核心是:

node dynamicstopology dynamics.\text{node dynamics} \leftrightarrow \text{topology dynamics}.

也就是節點狀態影響連接結構,

而連接結構又反過來影響節點狀態。

這可以概念化成:

X˙=F(X,G)\dot X = F(X,G) G˙=H(G,X).\dot G = H(G,X).

這恰好非常接近 Mother AI 系統。

Agent 的表現、成本、失敗與任務狀態:

XtSX_t^S

會影響:

Gt+1.G_{t+1}.

而新的:

Gt+1G_{t+1}

又會改變下一輪推理與協作結果。


六、Mother AI 系統的最小圖

令:

Vt=VW(t)VS(t)VM(t)VH(t)VE(t)V_t = V_W(t) \cup V_S(t) \cup V_M(t) \cup V_H(t) \cup V_E(t)

其中:

  • VWV_W :世界物件/狀態節點;
  • VSV_S :內部 Sub-AI;
  • VMV_M :Mother AI 核心模組;
  • VHV_H :人類治理節點;
  • VEV_E :外部 AI、服務與機構。

因此不是:

只有 Agent 的圖\boxed{ \text{只有 Agent 的圖} }

而是:

認知、世界、權限與行動共同形成的異質圖。\boxed{ \text{認知、世界、權限與行動共同形成的異質圖。} }

七、邊也不是只有「通信」

定義:

Et=EtinfoEtcontrolEtauthorityEtresourceEtactionEtmemory.E_t = E_t^{info} \cup E_t^{control} \cup E_t^{authority} \cup E_t^{resource} \cup E_t^{action} \cup E_t^{memory}.

分別表示:

資訊邊

iinfoji\xrightarrow{info}j

控制邊

icontrolji\xrightarrow{control}j

權限邊

iauthorityji\xrightarrow{authority}j

資源邊

iresourceji\xrightarrow{resource}j

行動邊

iactionWi\xrightarrow{action}W

記憶邊

imemoryMki\xrightarrow{memory}M_k

所以同一對節點之間甚至可以同時存在多種關係。


八、因此更接近多重圖

若 Agent AiA_i

  • 能讀某資料庫;
  • 不能寫;
  • 可以請求管理者授權;

則:

AireadDA_i\xrightarrow{read}D

存在,

但:

AiwriteDA_i\xrightarrow{write}D

不存在,

同時:

AirequestHA_i\xrightarrow{request}H

存在。

這表示:

單一 adjacency matrix 不夠。\boxed{ \text{單一 adjacency matrix 不夠。} }

更合理的是多層 adjacency:

At={Atinfo,Atcontrol,Atauthority,Atresource,Ataction}.\mathcal A_t = \{ A_t^{info}, A_t^{control}, A_t^{authority}, A_t^{resource}, A_t^{action} \}.

九、邊權是一個向量

對:

eije_{ij}

定義:

ωij(t)=(τij,cij,ij,bij,rij,aij,qij)\boldsymbol\omega_{ij}(t) = ( \tau_{ij}, c_{ij}, \ell_{ij}, b_{ij}, r_{ij}, a_{ij}, q_{ij} )

其中:

  • τij\tau_{ij} :trust;
  • cijc_{ij} :cost;
  • ij\ell_{ij} :latency;
  • bijb_{ij} :bandwidth;
  • rijr_{ij} :risk;
  • aija_{ij} :authority level;
  • qijq_{ij} :task relevance。

因此:

有連線\boxed{ \text{有連線} }

與:

這條連線現在應該被多重視\boxed{ \text{這條連線現在應該被多重視} }

是不同問題。


十、Mother AI 的注意力可以寫成圖權重

假設 Mother AI 同時面對:

W1,W2,,Wn.W_1,W_2,\ldots,W_n.

可以定義:

αi(t)\alpha_i(t)

為對世界狀態 WiW_i 的注意權重。

滿足:

iαi(t)=1.\sum_i\alpha_i(t)=1.

若某區域出現異常:

U(Wk)U(W_k)\uparrow

則:

αk(t+Δt).\alpha_k(t+\Delta t)\uparrow.

因此:

Attention\boxed{ \text{Attention} }

也可以理解成 Mother AI 對認知圖邊權的動態重配置。


十一、Agent 出生

Mother AI 發現目前:

StS_t

缺乏某種能力。

則:

Anew=Spawn(role,model,memory,tools,budget,authority).A_{new} = \operatorname{Spawn} ( role, model, memory, tools, budget, authority ).

節點集合變成:

Vt+1=Vt{Anew}.V_{t+1} = V_t \cup \{A_{new}\}.

這就是:

ΔVt+\boxed{ \Delta V_t^{+} }

十二、Agent 死亡

若某 Agent:

  • 任務完成;
  • 長期低價值;
  • 被更好 Agent 取代;
  • 成本過高;
  • 出現安全問題;

可以:

Vt+1=Vt{Ai}.V_{t+1} = V_t \setminus \{A_i\}.

但其歷史未必消失。

可以保留:

M(Ai).\mathcal M(A_i).

所以:

Agent deathmemory deletion.\boxed{ \text{Agent death} \neq \text{memory deletion}. }

十三、Agent 複製

若:

AiA_i

非常適合某類任務,

而併發需求提高:

Di(t),D_i(t)\uparrow,

可以:

Ai{Ai(1),Ai(2),,Ai(k)}.A_i \rightarrow \{A_i^{(1)},A_i^{(2)},\ldots,A_i^{(k)}\}.

這不是產生新能力,

而是:

增加認知吞吐量。\boxed{ \text{增加認知吞吐量。} }

十四、Agent 專門化

同一 Agent 長期在某領域工作後,可以:

AiAi.A_i \rightarrow A_i'.

例如:

AresearchAresearch:patentA_{\mathrm{research}} \rightarrow A_{\mathrm{research:patent}}

甚至拆成:

Ai{Ai1,Ai2}.A_i \rightarrow \{A_{i1},A_{i2}\}.

所以:

角色空間本身也能演化。\boxed{ \text{角色空間本身也能演化。} }

十五、節點合併

若兩個 Agent:

Ai,AjA_i,A_j

功能高度重疊:

Dcap(Ai,Aj)<ϵ,D_{cap}(A_i,A_j)<\epsilon,

可以:

AiAjAij.A_i\oplus A_j \rightarrow A_{ij}.

這相當於認知去重。

因此前一系列的:

equivalence-class compression\text{equivalence-class compression}

在這裡變成:

Agent topology compression.\boxed{ \text{Agent topology compression}. }

十六、邊的生成

若兩個 Agent 原本沒有直接溝通:

eij(t)=0,e_{ij}(t)=0,

Mother AI 發現:

I(Ai;Aj)I(A_i;A_j)

資訊互補性高,

可以建立:

eij(t+Δt)=1.e_{ij}(t+\Delta t)=1.

例如 Research Agent 與 Legal Agent 之間建立新驗證通道。

這是:

ΔEt+.\boxed{ \Delta E_t^{+}. }

十七、邊的移除

如果一條通信邊:

eije_{ij}

造成:

  • 重複;
  • 噪聲;
  • 高延遲;
  • 錯誤傳播;
  • 權限風險;

Mother AI 可以:

eij(t+Δt)=0.e_{ij}(t+\Delta t)=0.

因此:

communication pruning\boxed{ \text{communication pruning} }

本身就是推理最佳化。


十八、MANTA 已經直接走到「推理時修改拓撲」

2026 年 7 月 30 日公布的 MANTA(Multi-Agent Network Topology Adaptation)提出:

multi-agent communication structure 不應只在設計時固定,也可以在 inference time 自我演化。

其執行期間可以有界地修改:

  • agent roles;
  • communication links;
  • execution order;
  • information visibility;
  • validation pathways。

這個結果非常重要。

它不能直接證明 Mother AI,

但它證明了:

協作圖本身可以成為 inference-time state variable。\boxed{ \text{協作圖本身可以成為 inference-time state variable。} }

這正是本文動態認知圖的核心前提之一。


十九、AMAS:任務決定圖

2025 年 AMAS 提出 dynamic graph designer,

根據不同 input 自動產生 task-specific agent graph。

因此:

G=G(x).G=G(x).

而不是:

G=constant.G=\text{constant}.

這已經把:

agent topology\text{agent topology}

從人工架構設計問題,移進模型推理問題。


二十、AgentConductor:難度也決定圖密度

2026 年 AgentConductor 更進一步根據:

  • agent roles;
  • task difficulty;
  • execution feedback;

生成不同密度的 layered DAG。

因此:

Gt=F(task,difficulty,feedback).G_t = F( task, difficulty, feedback ).

其研究報告同時觀察到:

  • accuracy 提升;
  • topology density 下降;
  • token cost 顯著降低。

這提示:

更好的智能拓撲不一定更密。\boxed{ \text{更好的智能拓撲不一定更密。} }

有時候「少連幾條邊」反而更聰明。


二十一、連線越多不代表智能越強

若:

EV2,|E|\rightarrow |V|^2,

所有 Agent 都和所有 Agent 通信,

會出現:

  • token explosion;
  • latency;
  • duplicated context;
  • coordination noise;
  • correlated error。

因此:

maxEmaxI.\boxed{ \max |E| \neq \max I. }

真正問題是:

maxVcoordinationKcommunication.\max \frac{ V_{\mathrm{coordination}} }{ K_{\mathrm{communication}} }.

二十二、最適拓撲是任務依賴的

對某任務:

q1q_1

可能最適合星型:

G1=star.G_1=\text{star}.

另一任務:

q2q_2

可能需要:

G2=pipeline.G_2=\text{pipeline}.

另一類探索:

G3=parallel committee.G_3=\text{parallel committee}.

因此:

G=G(Wt,Gtgoal,Rt,Ut).\boxed{ G^\ast = G^\ast( W_t,G_t^{goal},R_t,U_t ). }

不存在單一永遠最佳 Agent Graph。


二十三、Topology Compiler

如果某種世界狀態:

cic_i

多次使用相似圖:

Gi(1)Gi(2)Gi(n),G_i^{(1)} \sim G_i^{(2)} \sim \cdots \sim G_i^{(n)},

Mother AI 可以編譯:

ciGi.c_i \mapsto G_i^\ast.

定義:

CG:ci(Gi,Θi,Vi).\mathfrak C_G: c_i \rightarrow ( G_i^\ast, \Theta_i, V_i ).

其中:

  • GiG_i^\ast :成熟認知拓撲;
  • Θi\Theta_i :適用條件;
  • ViV_i :拓撲驗證規則。

這就是:

Topology Compilation.\boxed{ \text{Topology Compilation}. }

二十四、所以被記憶的不只是一條答案

前一系列已經建立:

statecompiled policy.\text{state} \rightarrow \text{compiled policy}.

現在進一步變成:

statecompiled cognitive topologypolicy.\boxed{ \text{state} \rightarrow \text{compiled cognitive topology} \rightarrow \text{policy}. }

也就是:

遇到這類世界狀態,應該由哪些 Agent、以什麼連接關係、什麼權限和什麼驗證順序共同處理?

這已經不是普通 RAG。


二十五、圖狀態的演化算子

定義:

TG\mathcal T_G

為圖演化算子。

則:

Gt+Δt=TG(Gt,Wt,Mt,Ht,Rt).G_{t+\Delta t} = \mathcal T_G( G_t, W_t, M_t, H_t, R_t ).

TG\mathcal T_G 可以由一組 graph rewrite operations 組成:

OG={addV,delV,addE,delE,updateV,updateE,split,merge,isolate}.\mathcal O_G = \{ addV, delV, addE, delE, updateV, updateE, split, merge, isolate \}.

這提供一個實際 Runtime API 的雛形。


二十六、拓撲更新應該是有界的

如果 Mother AI 每一步都可以任意重寫整張圖:

GtGt+1G_t\rightarrow G_{t+1}

系統將難以:

  • 驗證;
  • 回放;
  • 除錯;
  • 審計;
  • 保持穩定。

因此更合理:

dG(Gt,Gt+1)BGd_G(G_t,G_{t+1}) \leq B_G

其中:

BGB_G

是單次 topology-change budget。

這和 MANTA 所採取的 bounded structural updates 思路相容。


二十七、拓撲變化也有成本

定義:

KG(ΔG)K_G(\Delta G)

包括:

  • agent startup;
  • context transfer;
  • memory synchronization;
  • tool authorization;
  • validation;
  • communication reconfiguration。

所以:

重構本身不是免費的。\boxed{ \text{重構本身不是免費的。} }

Mother AI 必須比較:

Vnew topologyKG(ΔG).V_{\mathrm{new\ topology}} - K_G(\Delta G).

二十八、拓撲最佳化目標

可以定義:

J(Gt)=αQtβCtγLtδRtηDtJ(G_t) = \alpha Q_t -\beta C_t -\gamma L_t -\delta R_t -\eta D_t

其中:

  • QtQ_t :task quality;
  • CtC_t :compute/token cost;
  • LtL_t :latency;
  • RtR_t :risk;
  • DtD_t :redundancy。

Mother AI 選:

Gt=argmaxGJ(G).G_t^\ast = \arg\max_G J(G).

但因真實系統不可完全求解,

實際上更可能使用近似、歷史策略與局部重構。


二十九、拓撲不是只為單一任務最佳化

Mother AI 不是 task-local orchestrator。

它還要考慮:

future option value.\text{future option value}.

某個 Agent 現在沒有直接收益,

但保留它可以降低未來未知成本。

因此:

J(Gt)J(G_t)

還可以加入:

+λOfuture.+\lambda O_{\mathrm{future}}.

這使 Mother AI 不會只做短視 pruning。


三十、認知圖需要備援

若重要功能:

ff

只有一個 Agent:

Af,A_f,

則:

Aff.A_f\downarrow \Rightarrow f\downarrow.

可以建立:

Af(1),Af(2).A_f^{(1)},A_f^{(2)}.

因此:

Redundancy\boxed{ \text{Redundancy} }

不一定是浪費,

還可能是韌性。

和前一系列一樣:

min冗餘min全部重複.\min\text{冗餘} \neq \min\text{全部重複}.

三十一、異議節點

若所有 Agent 都被同一模型、同一記憶、同一 prompt 模板生成,

表面上:

VS=10|V_S|=10

但有效多樣性可能:

Deffective1.D_{\mathrm{effective}}\approx1.

因此可以故意保留:

AdissentA_{\mathrm{dissent}}

使用不同:

  • model;
  • memory;
  • methodology;
  • objective;
  • evidence source。

所以:

圖的價值不只在連接,也在節點異質性。\boxed{ \text{圖的價值不只在連接,也在節點異質性。} }

三十二、同質化是拓撲風險

即使圖上有大量節點:

V={A1,,An},V=\{A_1,\ldots,A_n\},

若:

Corr(Ai,Aj)1,Corr(A_i,A_j)\rightarrow1,

則群體錯誤可能高度相關。

因此 Mother AI 應觀察:

Cij=ErrorCorrelation(Ai,Aj).C_{ij} = \operatorname{ErrorCorrelation}(A_i,A_j).

若:

Cij0,C_{ij}\gg0,

就不能把兩個 Agent 當獨立驗證來源。


三十三、信任邊必須區分來源依賴

若:

A1,A2,A3A_1,A_2,A_3

都引用:

D0,D_0,

則:

3 個 Agent3\text{ 個 Agent}

不等於三份獨立證據。

因此圖中還應記錄:

AiDk.A_i\rightarrow D_k.

才能估計:

evidence independence.\boxed{ \text{evidence independence}. }

這和文明記憶系列的 provenance graph 直接相連。


三十四、Authority Graph 不應和 Communication Graph 合併

Agent 可以知道:

xx

不代表可以執行:

a.a.

所以:

GinfoGauthority.G_{\mathrm{info}} \neq G_{\mathrm{authority}}.

這非常重要。

否則 Mother AI 在最佳化通信拓撲時,可能無意間同時改變權力結構。

因此:

認知拓撲可變\boxed{ \text{認知拓撲可變} }

不代表:

主權拓撲也能無限制自我改寫。\boxed{ \text{主權拓撲也能無限制自我改寫。} }

三十五、某些邊只能由外部治理節點改變

例如:

eM,bank-transferauthoritye_{M,\text{bank-transfer}}^{authority}

不能由 Mother AI 自己把:

01.0 \rightarrow1.

必須:

HauthorizedΓeauthority.H_{\mathrm{authorized}} \rightarrow \Gamma \rightarrow e^{authority}.

所以可以設定:

OGMOGall.\mathcal O_G^{M} \subset \mathcal O_G^{all}.

Mother AI 只允許修改部分圖結構。


三十六、Graph-of-Graphs

大型系統不會只有一張平坦圖。

可以有:

GtworldG_t^{world} GtagentsG_t^{agents} GtmemoryG_t^{memory} GtauthorityG_t^{authority} GtresourceG_t^{resource}

再形成:

Gt={Gtworld,Gtagents,Gtmemory,Gtauthority,Gtresource}.\mathbb G_t = \{ G_t^{world}, G_t^{agents}, G_t^{memory}, G_t^{authority}, G_t^{resource} \}.

Mother AI 的全局狀態其實更像:

Graph-of-Graphs.\boxed{ \text{Graph-of-Graphs}. }

三十七、跨圖映射

例如:

AiGagentsA_i\in G^{agents}

需要讀:

mjGmemorym_j\in G^{memory}

但是否允許由:

GauthorityG^{authority}

決定。

執行後改變:

wkGworld.w_k\in G^{world}.

消耗:

rlGresource.r_l\in G^{resource}.

因此一次行動可以表示成跨圖路徑:

AimjΓwkrl.A_i \rightarrow m_j \rightarrow \Gamma \rightarrow w_k \rightarrow r_l.

這比單一 Agent DAG 更接近真實企業/國家系統。


三十八、Mother AI 是 Graph Router,也是 Graph Rewriter

普通 orchestrator:

route(q).\text{route}(q).

Mother AI:

route(q,Gt)\text{route}(q,G_t)

之外還有:

rewrite(Gt).\boxed{ \text{rewrite}(G_t). }

因此它同時扮演:

  • graph observer;
  • graph router;
  • graph allocator;
  • graph compiler;
  • graph rewriter。

這就是二階控制的圖論版本。


三十九、拓撲變化需要審計

每一次:

ΔGt\Delta G_t

應該產生:

etgraph=(operator,target,reason,before,after,authority,result).e_t^{graph} = ( operator, target, reason, before, after, authority, result ).

寫入 append-only log。

因此可以:

Replay(G0,{e1,,et})=Gt.\operatorname{Replay}(G_0,\{e_1,\ldots,e_t\}) = G_t.

這使拓撲演化可被重建。


四十、拓撲回滾

如果:

Gt+1G_{t+1}

表現明顯下降:

J(Gt+1)<J(Gt)ϵ,J(G_{t+1})<J(G_t)-\epsilon,

可以:

Gt+1Gt.G_{t+1}\rightarrow G_t.

所以 Mother AI 的圖重構最好是:

versioned+replayable+reversible\boxed{ \text{versioned} + \text{replayable} + \text{reversible} }

而不是無痕自修改。


四十一、認知圖可以具有穩定區

不是整張圖每秒都改。

可以分:

Gt=GcoreGadaptive(t)Gephemeral(t).G_t = G_{\mathrm{core}} \cup G_{\mathrm{adaptive}}(t) \cup G_{\mathrm{ephemeral}}(t).

其中:

  • GcoreG_{\mathrm{core}} :長期穩定核心;
  • GadaptiveG_{\mathrm{adaptive}} :中期可變結構;
  • GephemeralG_{\mathrm{ephemeral}} :任務級臨時子圖。

這樣可兼顧:

continuity\text{continuity}

與:

adaptability.\text{adaptability}.

四十二、臨時認知子圖

當 Mother AI 面對事件:

et,e_t,

可以從大圖抽取:

GttaskGt.G_t^{task} \subseteq G_t.

任務完成後:

GttaskG_t^{task}\rightarrow\varnothing

但若歷史顯示高重用:

GttaskGadaptive.G_t^{task} \rightarrow G_{\mathrm{adaptive}}.

再成熟後:

GadaptiveGcore.G_{\mathrm{adaptive}} \rightarrow G_{\mathrm{core}}.

這形成拓撲生命週期。


四十三、認知圖的生命週期

可以寫成:

ephemeralreusedcompiledcore\boxed{ \text{ephemeral} \rightarrow \text{reused} \rightarrow \text{compiled} \rightarrow \text{core} }

反方向:

coredegradedreviewdeprecated\boxed{ \text{core} \rightarrow \text{degraded} \rightarrow \text{review} \rightarrow \text{deprecated} }

因此圖本身也具有記憶編譯與解編譯。


四十四、這會形成真正的「組織學習」

傳統組織學習:

experiencedocument\text{experience} \rightarrow \text{document}

動態認知圖:

experienceΔG.\text{experience} \rightarrow \Delta G.

也就是:

經驗直接改變下一次誰和誰合作、誰有較高信任、哪些驗證步驟必須存在、哪些工具應被優先調用。

所以:

learning=state update+topology update.\boxed{ \text{learning} = \text{state update} + \text{topology update}. }

四十五、這就是「會改變自己思考結構的智能」

一般模型學習:

θtθt+1.\theta_t\rightarrow\theta_{t+1}.

記憶學習:

MtMt+1.\mathcal M_t\rightarrow\mathcal M_{t+1}.

動態認知圖學習:

GtGt+1.\boxed{ G_t\rightarrow G_{t+1}. }

三者可以同時存在。

因此高階 AI 的自我變化不必只等於「更新模型權重」。

它也可以是:

重構自己的認知組織方式。\boxed{ \text{重構自己的認知組織方式。} }

四十六、三層自我調整

可以區分:

第一層:參數調整

θθ\theta\rightarrow\theta'

第二層:記憶調整

MM\mathcal M\rightarrow\mathcal M'

第三層:拓撲調整

GGG\rightarrow G'

Mother AI 的特殊性之一,就是第三層成為顯式可控制對象。


四十七、第四層甚至是「規則調整」

更進一步:

TG\mathcal T_G

本身也可能被更新:

TGTG.\mathcal T_G \rightarrow \mathcal T_G'.

也就是:

系統不只改圖,還改自己「如何改圖」的規則。

這已經接近更高階 meta-learning/self-modification。

本文暫時不將其列為第一代 Mother AI 的必要條件。

第一代先做到:

Gt 可安全動態重構\boxed{ G_t\text{ 可安全動態重構} }

就已足夠。


四十八、穩定性問題

圖可以變不代表應該無限制變。

若:

GtGt+1Gt+2G_t \rightarrow G_{t+1} \rightarrow G_{t+2} \rightarrow\cdots

高速震盪,

會造成:

  • 任務重啟;
  • context loss;
  • 權限混亂;
  • 資源浪費;
  • 無法審計。

所以需要 topology hysteresis。

例如:

ΔJ>τswitch\Delta J>\tau_{\mathrm{switch}}

才允許切換。

或者最短停留:

Tdwellτd.T_{\mathrm{dwell}}\geq\tau_d.

這和 switching systems 中的穩定性問題具有結構相似性。


四十九、網路控制理論提供另一個參照

Networked Control Systems 與 switching-topology multi-agent control 長期研究:

  • communication delay;
  • packet loss;
  • switching graph;
  • consensus;
  • stabilization。

這些研究的對象通常不是 LLM Agent,

但它們提醒我們:

當控制閉環經過網路時,網路本身就是動力學的一部分。\boxed{ \text{當控制閉環經過網路時,網路本身就是動力學的一部分。} }

Mother AI 系統同理。

Agent 間通信拓撲不能只被視為軟體工程細節。


五十、認知通信也有負載上限

若所有 Agent 同時互傳大量上下文:

Bused>Bavailable,B_{\mathrm{used}}>B_{\mathrm{available}},

延遲與錯誤會上升。

所以:

information visibility\text{information visibility}

本身必須被控制。

MANTA 把 information visibility 也納入 topology adaptation,

這正好說明:

不是每個 Agent 都應該看到所有資訊。\boxed{ \text{不是每個 Agent 都應該看到所有資訊。} }

五十一、資訊可見性是認知邊

定義:

vijinfo(t)[0,1]v_{ij}^{info}(t)\in[0,1]

表示 Agent jj 對 Agent ii 狀態的可見程度。

Mother AI 可以依:

  • need-to-know;
  • privacy;
  • cost;
  • risk;
  • context relevance;

調整:

vijinfo(t).v_{ij}^{info}(t).

所以 context routing 也是:

graph control.\boxed{ \text{graph control}. }

五十二、驗證路徑也是圖

某結果:

rr

可以直接:

A1MA_1\rightarrow M

也可以:

A1AcriticAevidenceM.A_1 \rightarrow A_{\mathrm{critic}} \rightarrow A_{\mathrm{evidence}} \rightarrow M.

第二種成本較高,

但高風險時更安全。

因此:

validation topology\boxed{ \text{validation topology} }

也應隨風險動態變化。


五十三、風險越高,圖可能越密

低風險任務:

GfastG_{\mathrm{fast}}

可以稀疏。

高風險任務:

GsafeG_{\mathrm{safe}}

增加:

  • independent validator;
  • human approval;
  • provenance checking;
  • simulation。

所以:

RtEvalidation.R_t\uparrow \Rightarrow |E_{\mathrm{validation}}|\uparrow.

這使「安全」直接成為拓撲參數。


五十四、未知越高,圖可能越多樣

若:

Ut,U_t\uparrow,

Mother AI 不應只增加同一類 Agent 數量。

更重要:

Dagent.D_{\mathrm{agent}}\uparrow.

也就是增加不同:

  • 模型;
  • 方法; -資料;
  • 假設。

所以:

Uttopological diversity.\boxed{ U_t\uparrow \Rightarrow \text{topological diversity}\uparrow. }

五十五、已知越高,圖可以被編譯得越短

若:

Kn(x),K_n(x)\uparrow,

可以從:

GexploreG_{\mathrm{explore}}

壓縮成:

Gcompiled.G_{\mathrm{compiled}}.

因此:

Vcompiled<Vexplore|V_{\mathrm{compiled}}| < |V_{\mathrm{explore}}|

以及:

Ecompiled<Eexplore|E_{\mathrm{compiled}}| < |E_{\mathrm{explore}}|

通常是合理方向。

這直接連回:

已知則編譯,未知則展開。\boxed{ \text{已知則編譯,未知則展開。} }

但現在編譯與展開的是整張認知子圖。


五十六、動態圖版「已知則編譯,未知則展開」

已知:

xXknownx\in\mathcal X_{\mathrm{known}}

則:

GttaskGcompiled(x).G_t^{task} \rightarrow G_{\mathrm{compiled}}(x).

未知:

C(x)=C(x)=\bot

則:

GttaskGexploratory(x).G_t^{task} \rightarrow G_{\mathrm{exploratory}}(x).

所以:

KnownTopology Compression\boxed{ \text{Known} \rightarrow \text{Topology Compression} } UnknownTopology Expansion.\boxed{ \text{Unknown} \rightarrow \text{Topology Expansion}. }

這是本篇與上一個系列最重要的統一點。


五十七、第一代工程不需要連續學整張圖

真正 MVP 不需要:

TG\mathcal T_G

全部由 AI 自由生成。

可以先限定 Graph Rewrite DSL:

spawn(agent_type)
retire(agent_id)
connect(source, target, channel)
disconnect(source, target, channel)
set_weight(edge, field, value)
grant(scope)
request_grant(scope)
isolate(node)
rollback(graph_version)

Mother AI 只能從:

OGsafe\mathcal O_G^{safe}

中選操作。

這樣就可以安全驗證動態拓撲概念。


五十八、第一代圖可以只包含五類節點

MVP:

V=VMVAVDVTVHV= V_M \cup V_A \cup V_D \cup V_T \cup V_H

分別:

  • Mother AI;
  • Agents;
  • Data/Memory;
  • Tools;
  • Humans。

不需要立刻把企業所有實體放進同一圖。

世界狀態可以先由獨立 State Store 提供。


五十九、第一代可以測量什麼?

拓撲收益

ΔJ=J(Gdynamic)J(Gfixed)\Delta J = J(G_{\mathrm{dynamic}}) - J(G_{\mathrm{fixed}})

通信成本

KCK_C

Agent 數量

VS|V_S|

邊密度

ρG=EV(V1)\rho_G = \frac{|E|}{|V|(|V|-1)}

重構次數

NrewriteN_{\mathrm{rewrite}}

重構成功率

RrewriteR_{\mathrm{rewrite}}

回滾率

RrollbackR_{\mathrm{rollback}}

六十、真正要證明的不是「圖會變」

圖會變非常容易。

真正要證明的是:

讓 AI 自己改變圖,比固定圖在某些任務分布上有穩定淨收益。\boxed{ \text{讓 AI 自己改變圖,比固定圖在某些任務分布上有穩定淨收益。} }

也就是:

E[J(Gadaptive)]>E[J(Gfixed)]+Kadapt.\mathbb E[J(G_{\mathrm{adaptive}})] > \mathbb E[J(G_{\mathrm{fixed}})] + K_{\mathrm{adapt}}.

這才是工程驗證標準。


六十一、Mother AI 的圖論本質

Mother AI 的最小作用不只是:

Mtat.M_t\rightarrow a_t.

而是:

Mt(Gt+1,at).\boxed{ M_t \rightarrow (G_{t+1},a_t). }

也就是它同時決定:

  1. 現在做什麼;
  2. 下一輪用什麼認知結構來決定。

這才是真正的二階控制。


六十二、動態認知圖的正式定義

本文暫定:

動態認知圖系統,是一種將 AI、世界狀態、記憶、工具、人類與權限關係表示為時間變動的異質多層圖,並允許系統依據任務、歷史、風險、未知、資源與績效,動態新增、移除、複製、合併節點,改寫通信、控制、資源與權限邊,以及調整其多維權重的認知架構。

形式上:

Gt=(Vt,Et,XtV,XtE,OG,Ht)\boxed{ \mathfrak G_t = ( V_t, E_t, X_t^V, X_t^E, \mathcal O_G, H_t ) }

其演化:

Gt+Δt=TG(Gt,Wt,Mt,Rt,Ut,Ht).\boxed{ \mathfrak G_{t+\Delta t} = \mathcal T_G( \mathfrak G_t, W_t, M_t, R_t, U_t, H_t ). }

六十三、它和普通 multi-agent graph 的差異

普通 MAS graph:

GG

通常回答:

Agent 怎麼通信?

動態認知圖則回答:

為什麼現在需要這些 Agent?
為什麼這些邊存在?
哪些邊可以被取消?
哪些節點應該生成?
哪些權限不能被 AI 自己修改?
這張圖是否應因世界狀態改變而重組?

因此:

communication topologycognitive topology.\boxed{ \text{communication topology} \subset \text{cognitive topology}. }

六十四、核心結論

本系列到第三篇,架構已從:

AI Tool\text{AI Tool}

走到:

Persistent Mother AI\text{Persistent Mother AI}

再走到:

Self-Reconfiguring Cognitive Graph.\boxed{ \text{Self-Reconfiguring Cognitive Graph}. }

真正重要的跨越是:

AI 在圖上推理\text{AI 在圖上推理}

變成:

AI 同時對圖本身推理。\boxed{ \text{AI 同時對圖本身推理。} }

因此:

高階智能的一部分,不只是找到答案,而是能重構產生答案的認知組織。\boxed{ \text{高階智能的一部分,不只是找到答案,而是能重構產生答案的認知組織。} }

六十五、下一篇

但還剩下一個問題:

誰決定何時應該改圖?

如果 Mother AI 只是「看到問題就自己改」,仍然太粗。

下一篇將正式把它寫成:

04.《母 AI 是二階控制器》

普通控制:

xtat.x_t\rightarrow a_t.

Mother AI:

xtcontroller selectionat\boxed{ x_t \rightarrow \text{controller selection} \rightarrow a_t }

甚至:

Mt{Agent,Model,Memory,Topology,Budget,Authority}\boxed{ M_t \rightarrow \{ \text{Agent}, \text{Model}, \text{Memory}, \text{Topology}, \text{Budget}, \text{Authority} \} }

也就是從控制世界,提升到控制「如何控制世界」。


參考資料與公開技術資料

  1. Holme, P., & Saramäki, J. (2012). Temporal Networks. Physics Reports, 519(3), 97–125.
    https://doi.org/10.1016/j.physrep.2012.03.001

  2. Holme, P., & Saramäki, J. (2021). A map of approaches to temporal networks.
    https://arxiv.org/abs/2103.13615

  3. Gross, T., & Blasius, B. (2008). Adaptive Coevolutionary Networks: A Review. Journal of the Royal Society Interface.
    https://arxiv.org/abs/0709.1858

  4. Olfati-Saber, R., Fax, J. A., & Murray, R. M. (2007). Consensus and Cooperation in Networked Multi-Agent Systems. Proceedings of the IEEE.
    https://ieeexplore.ieee.org/document/4118472

  5. Hespanha, J. P., Naghshtabrizi, P., & Xu, Y. (2007). A Survey of Recent Results in Networked Control Systems. Proceedings of the IEEE.
    https://ieeexplore.ieee.org/document/4118465

  6. Leong, H. Y., Li, Y., Wu, Y., Ouyang, W., Zhu, W., & Gao, J. (2025). AMAS: Adaptively Determining Communication Topology for LLM-based Multi-Agent System.
    https://arxiv.org/abs/2510.01617

  7. Wang, S. et al. (2026). AgentConductor: Topology Evolution for Multi-Agent Competition-Level Code Generation.
    https://arxiv.org/abs/2602.17100

  8. Huang, M.-x., Wang, J., Lai, Y.-C., Zhang, Z., Cardie, C., & Huang, H.-H. (2026). MANTA: Multi-Agent Network Topology Adaptation for Self-Evolving Multi-Agent Systems.
    https://arxiv.org/abs/2607.28527

  9. Howard, M. D. et al. (2021). A New Design of Optimal Kalman-Consensus Filters for Distributive Implementation Over Dynamic Communication Networks. IEEE Open Journal of Signal Processing.
    https://ieeexplore.ieee.org/document/9420811


內部理論依賴

  1. 01《AI 不是流程中的一個節點》
  2. 02《母 AI、世界狀態機與子智能網路》
  3. 《從路徑覆蓋到行星智能:記憶編譯型計算存在論》
  4. 《誰控制數字神明?:ASI 基礎設施主權、通道控制與無單一主人的超級智能》
  5. 《歷史作為狀態變量》
  6. 《因果狀態流變計算:介於算術組合與一般算子之間的連續轉化計算原語》

本篇把上述文件中的歷史依賴、記憶編譯、控制向量與世界狀態耦合,進一步提升為「拓撲本身是可演化狀態」的圖論架構。


一句話摘要

真正的 Mother AI 不只在既有 Agent 圖上推理;它還能根據世界、歷史、風險與資源,安全地改寫承載自己認知的圖。\boxed{ \text{真正的 Mother AI 不只在既有 Agent 圖上推理;它還能根據世界、歷史、風險與資源,安全地改寫承載自己認知的圖。} }