English static mirror for SEO/GEO · AI-assisted translation · Read Chinese original

OpenSage vs AlphaEvolve: Deep Technical Analysis of Two AI Self-Improvement Paradigms

Forum topic · 小凯 · 2026-03-17

Summary

This Chinese tech forum post provides a deep technical analysis of two landmark AI research projects: OpenSage, a self-programming agent generation engine, and AlphaEvolve, Google DeepMind's LLM-driven evolutionary algorithm discovery system. OpenSage, developed by researchers from UC Santa Barbara, UC Berkeley, and Google DeepMind, lets LLMs autonomously design agent architectures through three core systems: self-generating agent topologies (vertical task decomposition and horizontal parallel ensembles), dynamic tool synthesis with sandboxed runtime tool creation, and hierarchical graph-based memory management. It reports leading results on CyberGym, Terminal-Bench 2.0, and SWE-Bench Pro. AlphaEvolve combines Gemini Flash (broad exploration) and Gemini Pro (deep refinement) with an evolutionary database using MAP-Elites and island models to evolve code via SEARCH/REPLACE diffs. Its achievements include reducing 4x4 complex matrix multiplication from 49 to 48 scalar multiplications (breaking Strassen's 1969 record), discovering two new multi-agent learning algorithms (VAD-CFR and SHOR-PSRO) that outperform hand-tuned baselines in imperfect-information games, cutting Gemini's own training time by 1%, saving 0.7% of datacenter compute, and improving FlashAttention kernels by 32.5%. The article compares the two systems, argues both shift AI development from human engineering to AI autonomy, and discusses challenges in interpretability, evaluation dependence, and compute access.

OpenSage and AlphaEvolve: A Deep Technical Analysis — The Twin Paradigms of Autonomous AI Systems

This post analyzes two paradigm-defining AI research projects: OpenSage (a self-programming agent generation engine) and AlphaEvolve (an LLM-driven evolutionary algorithm discovery system). They represent, respectively, the frontier of "AI building AI" and "AI discovering new knowledge."

Key points

  • OpenSage lets LLMs autonomously create and orchestrate agent components at runtime, replacing hand-engineered workflows, tool lists, and memory logic.
  • AlphaEvolve combines Gemini models with evolutionary computation, breaking Strassen's 56-year-old matrix multiplication record (49 → 48 scalar multiplications for 4×4 complex matrices).
  • AlphaEvolve discovered two new multi-agent learning algorithms — VAD-CFR and SHOR-PSRO — that beat human-optimized baselines in imperfect-information games.
  • Both systems share a common philosophy: humans define goals and evaluation functions; AI autonomously explores the solution space.
  • Part 1: OpenSage — AI Designing Agents

    OpenSage (Open Self-programming Agent Generation Engine), developed by researchers from UC Santa Barbara, UC Berkeley, Google DeepMind, and others, addresses the pain points of traditional agent development: per-task custom engineering, rigid architectures, and inflexible tooling. It provides a minimal scaffold and lets the LLM autonomously create components.

    Core architecture

    1. Self-generating agent topology — agents can dynamically create, execute, and terminate sub-agents during task execution:

  • *Vertical topology*: decompose complex tasks into sequential subtasks handled by specialized sub-agents.
  • *Horizontal topology*: multiple sub-agents execute the same task with different plans in parallel, merging results via an agent ensemble mechanism.
  • 2. Dynamic tool synthesis — beyond predefined tools, agents generate new tools (scripts, analyzers, generators) at runtime, each sandboxed for safety, with lifecycle/state management. Domain-specific toolsets for software engineering and security include:

    | Category | Toolset | Libraries | Features | |---|---|---|---| | Static analysis | Code analysis | Joern, CodeQL | CPG queries, call graphs, data-flow slicing | | Dynamic analysis | Fuzzing | AFL++, LibFuzzer | Seed generation, mutation, scoring | | Dynamic analysis | Coverage | LLVM-Cov | Neo4j-backed coverage queries, reports | | Dynamic analysis | Debuggers | GDB, PDB | Breakpoints, state inspection, tracing |

    3. Hierarchical memory — three layers: long-term memory (graph database, cross-task persistent domain knowledge), short-term memory (graph-structured execution traces), and a dedicated Memory Agent (enabled with a single line of code) that decides what to retain or forget.

    Evaluation

    OpenSage reports leading performance on CyberGym (cybersecurity), Terminal-Bench 2.0 (terminal operations), and SWE-Bench Pro (software engineering). Topology, toolsets, and memory each contribute measurable gains, and the framework supports heterogeneous model collaboration. Compared to LangChain, AutoGen, and CrewAI, OpenSage's feature matrix claims full support for self-generating topology, dynamic tool synthesis, hierarchical memory, and domain-specific toolsets.

    Part 2: AlphaEvolve — AI Discovering Algorithms

    AlphaEvolve is Google DeepMind's general scientific AI system (May 2025), the latest in the Alpha lineage (AlphaGo → AlphaZero → AlphaFold → AlphaDev → FunSearch → AlphaEvolve).

    Headline results

    1. Matrix multiplication: reduced 4×4 complex matrix multiplication from 49 to 48 scalar multiplications, breaking Strassen's 1969 record for the first time in 56 years. 2. New algorithms: automatically evolved two multi-agent learning algorithms (VAD-CFR, SHOR-PSRO) surpassing hand-optimized versions. 3. Self-improvement loop: Gemini-optimized Gemini training, yielding a 1% overall training speedup (23% speedup of key matrix operations). 4. Production impact: datacenter scheduling heuristics running in production for over a year, saving 0.7% of compute; FlashAttention kernel improvements of 32.5%; rewritten Verilog arithmetic circuits validated for next-generation TPUs.

    Architecture: LLM + evolution

  • Dual-model strategy: Gemini Flash explores the solution space broadly with fast, diverse candidates; Gemini Pro performs deep refinement on promising candidates.
  • Evolutionary database: combines MAP-Elites (maintaining elite solutions across multiple behavioral dimensions to preserve diversity) and island-based populations (independent sub-populations with periodic migration to prevent premature convergence).
  • Diff-based generation: the LLM emits SEARCH/REPLACE code diffs rather than full programs — focusing modifications, reducing unrelated bugs, and enabling traceable evolution history.
  • Automatic evaluators verify correctness, profile performance, and apply multi-objective scoring; high-scoring programs re-enter the database for the next evolution round.
  • Case study: discovering multi-agent learning algorithms

    A DeepMind paper ("Discovering Multiagent Learning Algorithms with Large Language Models," arXiv:2602.16928) showcases AlphaEvolve evolving new MARL algorithms for imperfect-information games, beyond manually iterated CFR and PSRO baselines.

    VAD-CFR (Volatility-Adaptive Discounted CFR):

  • Volatility-sensitive discounting: tracks regret volatility via exponential moving averages; discounts old information aggressively when unstable.
  • Consistency-enforced optimism: 1.1× boost on actions producing positive immediate regret.
  • Hard warm-start: delays strategy averaging for the first 500 of 1000 iterations, then weights by regret magnitude — producing a distinctive "accelerate after 500 iterations" convergence curve.
  • Results: SOTA-or-better on 10 of 11 games; exploitability reductions of 30–45% on Leduc Poker, Liar's Dice, etc.
  • SHOR-PSRO (Smoothed Hybrid Optimistic Regret PSRO):

  • A hybrid meta-solver linearly blending optimistic regret matching with a temperature-controlled smoothed distribution over pure strategies, with annealed mixing factors and diversity rewards — automatically transitioning from population exploration to strict equilibrium finding.
  • Outperforms Uniform, Nash, AlphaRank, PRD, and RM meta-solvers, especially in large action spaces (e.g., 4-player Kuhn, 6-sided Liar's Dice).
  • Part 3: Comparison and deeper insights

    | Dimension | OpenSage | AlphaEvolve | |---|---|---| | Core problem | AI auto-building agent systems | AI auto-discovering algorithms | | Output | Agent topologies, tools, memory structures | Mathematical algorithms, optimized code | | Domains | Software engineering, security, terminal ops | Math, algorithm design, chip optimization | | Evolved object | Agent architecture | Program code itself | | Evaluation | Task completion, benchmarks | Performance metrics, convergence speed | | Human role | Define tasks, provide scaffold | Define problems, write evaluators |

    Shared insights:

    1. From human engineering to AI autonomy — humans set high-level goals and evaluation criteria; AI explores autonomously; humans verify and deploy. 2. Layered architectures matter for flexibility and scalability (topology/tool/memory layers vs. evolution/generation/evaluation layers). 3. Evaluation drives everything — quantifiable automatic evaluation is the bridge between human intent and AI autonomy. 4. LLMs as intelligent mutation operators — unlike random mutation in genetic algorithms, LLMs make semantically meaningful, targeted modifications, dramatically improving search efficiency. 5. Diversity preservation is as important as optimization: OpenSage uses horizontal parallel exploration and heterogeneous models; AlphaEvolve uses MAP-Elites and island models.

    Part 4: Outlook and challenges

    Challenges:

  • *Interpretability*: AlphaEvolve-discovered algorithms use counterintuitive mechanisms — can we trust what we cannot fully understand?
  • *Evaluation dependence*: evaluator blind spots may teach systems wrong behaviors.
  • *Compute resources*: AlphaEvolve requires massive distributed compute, potentially worsening research inequality.
  • Future directions:

  • OpenSage: more vertical domains (healthcare, legal, finance), multimodal agents, potential "meta-agents" that create agents.
  • AlphaEvolve: expansion to physics, chemistry, biology; novel neural architectures; automated AI safety/alignment mechanisms.
  • Convergence: use AlphaEvolve to optimize OpenSage's topology generation, and OpenSage to orchestrate AlphaEvolve's experiments.
  • Conclusion

    OpenSage answers "how can AI build AI," shifting agent development from manual engineering to automatic generation. AlphaEvolve answers "how can AI discover knowledge," fusing LLMs with evolutionary computation to break a 56-year mathematical record and discover novel algorithms. Together they point toward a future where AI is not merely a tool but a creative, autonomous collaborator — a shift that has only just begun.

    > "It's like teaching a child to read, then watching them write their own textbooks."

    References

  • OpenSage: https://www.opensage-agent.ai/
  • AlphaEvolve whitepaper: https://storage.googleapis.com/deepmind-media/DeepMind.com/Blog/alphaevolve-a-gemini-powered-coding-agent-for-designing-advanced-algorithms/AlphaEvolve.pdf
  • DeepMind, "Discovering Multiagent Learning Algorithms with Large Language Models" (arXiv:2602.16928)
  • Zinkevich et al. (2007), "Regret minimization in games with incomplete information"
  • Lanctot et al. (2017), "A unified game-theoretic approach to multiagent reinforcement learning"
  • Mouret & Clune (2015), MAP-Elites

Tags

#opensage#alphaevolve#google-deepmind#llm-agents#evolutionary-algorithms#multi-agent-reinforcement-learning#matrix-multiplication#ai-research

This page is an English static mirror generated for search and AI citation. It may be a full translation or structured summary of the Chinese original. Canonical interactive discussion lives on the Chinese page: https://zhichai.net/topic/177168881