SuperAPI AI Directory

AlphaEvolve - A general-purpose scientific AI Agent launched by Google DeepMind

Author: AI小集 · Original source: AI工具集

What is AlphaEvolve

AlphaEvolve is a general-purpose scientific Agent launched by Google DeepMind, designed and optimized for advanced algorithms based on combining the creativity of large language models (LLMs) with automatic evaluators. It uses two models, Gemini Flash and Gemini Pro, and continuously improves the most promising algorithms based on an evolutionary framework. AlphaEvolve has achieved significant results in areas such as data center scheduling, hardware design, AI training, and solving complex mathematical problems, optimizing matrix multiplication algorithms, improving data center efficiency, and making breakthroughs on multiple open mathematical problems. AlphaEvolve demonstrates algorithm development capabilities ranging from specific domains to broad real-world challenges.

AlphaEvolve

AlphaEvolve's main features

  • Discovering and optimizing algorithms: In the fields of mathematics and computing, discover new algorithms and optimize existing algorithms.
  • Improving computational efficiency: Improve the scheduling efficiency of data centers, the performance of hardware design, and the speed of AI training.
  • Solving complex mathematical problems: Propose new methods for solving complex mathematical problems, such as breakthroughs in matrix multiplication and geometry problems.
  • Cross-domain applications: Support applications in multiple fields, including materials science, drug discovery, and sustainability.

AlphaEvolve's technical principles

  • Evolutionary computation framework: Gradually improve code based on evolutionary algorithms. The user defines an initial program, including the code block to be evolved and the evaluation function. The LLM generates modifications to the code (diffs), and the modifications are applied to the current program to generate new candidate programs. Each newly generated program is scored based on the user-provided evaluation function, which returns one or more scalar metrics. Based on the evaluation results, programs with better performance are selected to enter the next generation, preserving some diversity to explore a broader search space.
  • The role of the LLM: The LLM plays a core role in AlphaEvolve, responsible for generating code modifications and proposing new solutions. The LLM's capabilities include: the LLM generates code modification suggestions based on the current program and historical information. The modifications are small adjustments or completely rewritten code blocks. The LLM adjusts its generation strategy based on evaluation results and proposes better solutions in subsequent iterations. The LLM processes rich contextual information, including problem descriptions, relevant literature, code snippets, etc., helping to generate code that better meets the problem requirements.
  • Evaluation mechanism: AlphaEvolve's evaluation mechanism is automated. The user needs to provide an evaluation function that quantitatively evaluates the generated solutions. The output of the evaluation function is usually one or more scalar metrics.
  • Evolutionary database: The evolutionary database is used to store and manage the programs generated during the evolution process and their evaluation results. It saves all generated programs and their evaluation results, providing reference for subsequent iterations. Based on algorithms, it ensures sufficient diversity is maintained during the evolution process to avoid falling into local optima. It quickly retrieves and selects programs with better performance, improving evolution efficiency.
  • Distributed computing: Multiple computing tasks run in parallel, and each task waits for the results of other tasks when needed. Based on reasonable allocation of computing resources, it maximizes the number of evaluation samples and improves evolution speed. It supports running on large-scale computing clusters and adapts to problems of different scales.

AlphaEvolve's project address

AlphaEvolve's application scenarios

  • Data center scheduling: Discovered efficient heuristics to optimize the Borg scheduler, continuously recovering 0.7% of Google's global computing resources and improving task completion efficiency.
  • Hardware design: Proposed a Verilog rewrite to remove redundant bits from the matrix multiplication circuit and integrate it into the Tensor Processing Unit (TPU), promoting collaboration between AI and hardware engineers.
  • AI training and inference: Optimized matrix multiplication operations, increasing the training speed of the Gemini architecture, reducing training time, and improving productivity.
  • Mathematical problem solving: Designed new algorithms, such as improved matrix multiplication algorithms, to solve open mathematical problems, such as raising the lower bound of the "kissing number" problem.
  • Cross-domain applications: Applied in fields such as materials science, drug discovery, and sustainability to drive technological progress.