6

MetaDE and AutoPSO: A Two-Level Architecture for Method Evolution

AI999第6课:系统级持续演化:Genesis 与软件世界的沉淀
00:00

Method evolution(Meta-Evolution) elevates the method that generates candidates into the object being optimized: algorithms no longer just find solutions—they must also improve how they find solutions.MetaDE and AutoPSO are two representative implementations of this idea, and both share the same skeleton—an inner–outer two-level architecture: the outer level searches thealgorithm space, while the inner level uses the candidate algorithm to solve thetarget taskThe inner-level performance is fed back as a fitness signal to the outer level, driving the algorithm's continuous self-improvement and forming a closed loop.

MetaDE and AutoPSO: A Two-Level Architecture for Method EvolutionThe outer level searches the algorithm space; the inner level solves the target task; inner-level performance is fed back as fitnessTwo implementation pathsOuter level: search the algorithm spaceCombinations of configurations / components / strategiesInner level: solving and evaluating the target taskSolve the same task with candidate algorithm configurationsInner run ①Inner run ②Inner run ③Repeated evaluations → statistical average performancePerformance aggregated into a fitness signal↑ fed back to outer levelCandidate algorithms dispatchedPerformance feedbackMetaDEConfiguration-level evolution• Outer level evolves the configuration of differential evolution• Mutation strategy / crossover rate / scaling factor• Adapts to the problem and optimization stageInner level still solves the target task with differential evolutionAutoPSOStructure / component-level evolution• Parameters and learning mechanisms are treated as composable components• Outer level automatically composes tailored PSO variants• Turns "choosing an algorithm" into "searching for algorithm structure"From parameter adaptation → mechanism self-generationCost: each outer-level evaluation ≈ multiple inner runs, amplifying the budgetTrade-offs: budget allocation · approximate evaluation · early stopping · parallelization

General Abstraction of the Two-Level Architecture

  • Outer level (algorithm space search): Searches hyperparameters, strategies, and component combinations that define the algorithm itself. Its search space is not the solution space but the space of algorithm configurations and structures.
  • Inner level (target task solving): Uses the candidate algorithms dispatched by the outer level to actually solve the task, producing measurable performance that serves as the evaluation basis for that candidate.
  • Signal loop: Inner-level performance is aggregated into fitness and fed back to the outer level, which uses it to eliminate poor configurations and retain and mutate high-quality ones. Once this loop is established, solving and improving how to solve happen simultaneously.

MetaDE: Handing DE's Configuration to the Outer-Level Evolution

MetaDE keeps differential evolution as the inner-level solver and hands DE's own configuration to the outer-level search: the choice of mutation strategy, the crossover rate, and the scaling factor are no longer fixed constants but objects of evolution, adaptively adjusted to the problem and optimization stage. It answers the question "how should this configuration be set at the current task stage?"—this is method evolution at the configuration level.

AutoPSO: From Tuning Parameters to Modifying Algorithm Structure

AutoPSO treats PSO's core parameters and learning mechanisms ascomposable components—different combinations of inertia weight, learning factors, and individual/global learning mechanisms are automatically searched and composed by the outer level to produce PSO variants tailored to different problems. Compared with merely tuning parameters, it transforms "choosing an algorithm" into "searching for algorithm structure," achieving a leap from parameter adaptation to mechanism self-generation. The two complement each other: MetaDE focuses on automatic tuning at the configuration and hyperparameter level, while AutoPSO focuses on automatic composition at the structure and component level, together covering the evolution range from parameter adaptation to mechanism self-generation.

Cost Structure and Engineering Dependencies

The key cost of two-level optimization is the multiplicative effect: each outer-level evaluation of a candidate algorithm typically requires multiple inner runs (repeated evaluation due to randomness, joint multi-task validation, etc.), significantly amplifying the computational budget. Therefore, trade-offs such asbudget allocation,approximate evaluation,early stoppingorparallelizationare necessary. In engineering terms, efficient execution relies on tensorized parallelism, runtime scheduling, and algorithm composability; otherwise the scale of the outer-level search will be dragged down by repeated inner-level evaluations.

Mindset Shift
This architecture shifts the researcher's role from "manually designing a single algorithm" to "designing a space in which algorithms can evolve, along with an evaluation mechanism": what is delivered is no longer a fixed algorithm but a search space and a set of feedback rules that let algorithms continuously improve themselves.