Key points
This post is a deep dive into FORGE: Self-Evolving Agent Memory With No Weight Updates via Population Broadcast (Bogdanov et al., arXiv:2605.16233), a prompt-only self-improvement protocol for LLM agents tested on the CybORG CAGE-2 cyber-defense environment.
The problem: a brutal environment for LLM agents
- CAGE-2 casts the agent as a blue-team defender protecting a 13-host network against a red-team attacker following a standard kill chain (recon → intrusion → lateral movement → privilege escalation → control).
- It features a long horizon (30 steps), partial observability, scalar rewards only, and stochastic attacker behavior.
- Zero-shot LLMs fail badly: Gemini-2.5-Flash-Lite averages -189.6 (worse than random play at -154), Grok-4-Fast -58.4, Llama-4-Maverick -113.1, Qwen3-235B -103.3. Top RL algorithms reach around -3.47.
- FORGE beats single-thread Reflexion by 29–72% on all 12 model × memory-representation combinations, showing the bottleneck is not reflection quality but a lack of selection pressure to propagate rare good discoveries.
- Examples (few-shot ReAct demonstrations) yield peak performance for most models; Rules are ~40% cheaper in tokens (~106M vs ~177M for Gemini) with strong performance and faster graduation. Mixed offers no clear advantage.
- Counterintuitive finding: the worse the zero-shot model, the larger the gain — FORGE acts as a *variance-reduction* / capability-gap-bridging mechanism rather than making strong models stronger.
- An ablation without graduation sometimes performs better (Grok, Qwen), suggesting graduation's main value is compute savings rather than accuracy.
- Bogdanov, I., Lung, C.-H., Kunz, T., Gao, J., Taylor, A., & Zaman, M. (2026). FORGE: Self-Evolving Agent Memory With No Weight Updates via Population Broadcast. arXiv:2605.16233 [cs.AI].
- Shinn, N., et al. (2023). Reflexion: Language agents with verbal reinforcement learning. NeurIPS 36.
- Yao, S., et al. (2023). ReAct: Synergizing reasoning and acting in language models. ICLR.
- Jaderberg, M., et al. (2017). Population based training of neural networks. arXiv:1711.09846.
- Standen, M., et al. (2021). CybORG: A gym for the development of autonomous cyber agents. arXiv:2108.09118.
The core idea: population-level evolution of natural-language memory
Instead of gradient updates, FORGE adapts agent behavior purely by evolving prompt content, extending Reflexion-style verbal reinforcement learning:
1. Inner loop (failure anatomy): A hierarchical ReAct agent (Planner + Analyst + ActionChooser sub-agents) runs episodes. Any step whose reward falls below a threshold (τ = -1.1) aborts the episode; a reflector/exemplifier agent then writes a new rule or worked example into dynamic memory, and the episode restarts (up to 3 retries per checkpoint). 2. Outer loop (champion broadcast): N = 10 independent instances explore across S = 6 stages. After each stage, the best-scoring champion has its entire memory broadcast destructively to all other instances, fully replacing their memory — merging conflicting rule sets in text space is unreliable, so FORGE clones the best instead (a text-space analogue of Population-Based Training). 3. Graduation: Any instance scoring above θ = -15 in a checkpoint is frozen and protected from future overwrites, preserving rare good solutions while cutting compute as active instances drop out.
Results
| Model | Zero-shot | Best with FORGE | Improvement | |---|---|---|---| | Gemini-2.5-Flash-Lite | -189.6 | -24.5 | 7.7x | | Grok-4-Fast | -58.4 | -33.7 | 1.7x | | Llama-4-Maverick | -113.1 | -28.3 | 4.0x | | Qwen3-235B | -103.3 | -24.3 | 4.3x |
Why it matters
FORGE demonstrates that LLM agents can acquire reliable long-horizon strategies through population selection in a discrete symbolic (natural-language) space — evolution-like learning with zero gradient updates. If a mid-tier model with a good evolution infrastructure approaches top-tier performance, AI capability gaps may increasingly live in *evolution infrastructure* rather than base model parameters.
Limitations
All experiments use only CAGE-2's B-line attacker and 30-step horizon; cross-environment transfer and cross-model memory portability (e.g., Gemini-evolved memory reused by Llama) remain untested.