於網路靶場中基於 RL-LLM 的多世代共演化紅隊與藍隊 AI 代理
RL-LLM Based Co-evolving Multi-generational Red-team and Blue-team AI Agents in a Cyber Range
摘要
有效的網路防禦需要藍隊智慧代理能夠持續適應不斷演化的紅隊對手。然而,固定
對手訓練容易造成策略過度擬合,而同步共同演化則可能因雙方策略同時變動而導致
訓練不穩定。為了解決此問題,本論文提出一個基於 RL-LLM 的多世代共同演化框架,
並使用交替式共同演化方法在網路靶場中訓練紅隊與藍隊代理。在每一代中,一方代
理保持固定,另一方進行訓練;只有當訓練中的代理達到晉升門檻時,才會被提升為
下一代。
實驗結果顯示,交替式共同演化能有效提升藍隊防禦能力。面對最強的紅隊第 3 代
攻擊者時,固定對手訓練僅達到 16% 的抑制率,同步共同演化達到 66%,而交替式共
同演化在第 3 代達到 98%。此外,紅隊代理也持續演化,發現了 533 條獨特的成功攻擊
鏈。整體而言,本論文證明多世代共同演化能在保持訓練穩定性的同時,促進紅隊與
藍隊代理的持續改進
對手訓練容易造成策略過度擬合,而同步共同演化則可能因雙方策略同時變動而導致
訓練不穩定。為了解決此問題,本論文提出一個基於 RL-LLM 的多世代共同演化框架,
並使用交替式共同演化方法在網路靶場中訓練紅隊與藍隊代理。在每一代中,一方代
理保持固定,另一方進行訓練;只有當訓練中的代理達到晉升門檻時,才會被提升為
下一代。
實驗結果顯示,交替式共同演化能有效提升藍隊防禦能力。面對最強的紅隊第 3 代
攻擊者時,固定對手訓練僅達到 16% 的抑制率,同步共同演化達到 66%,而交替式共
同演化在第 3 代達到 98%。此外,紅隊代理也持續演化,發現了 533 條獨特的成功攻擊
鏈。整體而言,本論文證明多世代共同演化能在保持訓練穩定性的同時,促進紅隊與
藍隊代理的持續改進
Effective cyber defense requires Blue-team agents that can adapt to evolving Red-team adversaries. However, Fixed Opponent Training (FOT) can cause overfitting to a static attacker,
while Simultaneous Co-Evolution (SCE) can introduce unstable training because both agents
update at the same time. To address this problem, this thesis proposes an RL-LLM-based Multigenerational Co-Evolution (MG-CoE) framework using Alternating Co-Evolution (ACE) in a
Cyber Range. In each generation, one agent is fixed while the other trains against it, and the
trained agent is promoted only after satisfying a quantitative improvement threshold.
The results show that ACE improves Blue-team defense more effectively than FOT and
SCE. Against the strongest Red-team Gen 3 attacker, FOT achieves only 16% suppression, SCE
achieves 66%, while ACE reaches 98% suppression by Gen 3. The Red-team agent also continues to evolve, discovering 533 unique successful kill chains across generations. Overall,
the results show that MG-CoE provides a stable and measurable training process that improves
Blue-team defense while still forcing Red-team adaptation.
while Simultaneous Co-Evolution (SCE) can introduce unstable training because both agents
update at the same time. To address this problem, this thesis proposes an RL-LLM-based Multigenerational Co-Evolution (MG-CoE) framework using Alternating Co-Evolution (ACE) in a
Cyber Range. In each generation, one agent is fixed while the other trains against it, and the
trained agent is promoted only after satisfying a quantitative improvement threshold.
The results show that ACE improves Blue-team defense more effectively than FOT and
SCE. Against the strongest Red-team Gen 3 attacker, FOT achieves only 16% suppression, SCE
achieves 66%, while ACE reaches 98% suppression by Gen 3. The Red-team agent also continues to evolve, discovering 533 unique successful kill chains across generations. Overall,
the results show that MG-CoE provides a stable and measurable training process that improves
Blue-team defense while still forcing Red-team adaptation.