10

MetaDE: Improving Evolutionary Algorithms with Evolutionary Algorithms

AI999第2课:演化计算的源流与多路线交汇
00:00

The previous pages treatedevolutionary algorithmsas tools for solving problems: a population searches the solution space, and fitness measures how good a candidate solution is. MetaDE takes this relationship one level higher—it treatsthe evolutionary algorithm itselfas the object of evolution, using an outer evolutionary layer to search for “how the inner differential evolution should run.” The optimization goal thus expands from “finding a problem solution” to “improving the solution method.”

MetaDE: Dual-Layer (Inner/Outer) Evolutionary ArchitectureOuter Layer · Algorithm Configuration SpaceEach individual encodes one algorithm configurationConfiguration PopulationMutation strategyScaling factor FCrossover rate CRPopulation size NP① Configuration generation & dispatchOuter fitness = task performance returned by the inner layer④ Configuration update② Task solving · Inner solution space (differential evolution)Encode candidate solutionsGenerate population per configurationDifferential evolution iterationsMutation · Crossover · SelectionEvaluate fitnessReturn task performanceThe inner layer searches for “the answer to the problem” and produces the performance evidence needed to evaluate outer-layer configurations③ Performance feedbackFour Steps of the Closed Loop1Configuration generationOuter layer produces candidate configurations2Task solvingInner layer solves the task per configuration3Performance feedbackReturns task performance metrics4Configuration updateSelection · Recombination · Mutation↻ The four steps repeat, letting the algorithm adapt to the taskConfiguration space ≠ Solution spaceOuter layer: searches algorithm configurationsInner layer: searches for problem answersThe two are coupled via “configuration → performance”Making the search itself the object being searched

Two-Layer Structure: Configuration Evolution and Task Solving

  • Inner layer (solution space): Runs differential evolution under a given mutation strategy and key parameters (such as scaling factor, crossover rate, and population size) to solve benchmark functions or engineering optimization tasks, and outputs task performance as fitness.
  • Outer layer (algorithm configuration space): Each individual encodes one algorithm configuration; its fitness is not computed on its own, but determined by the performance returned by the inner layer after solving the task with that configuration. Based on this, the outer layer performs selection, recombination, and mutation to produce algorithmic behavior better suited to the current task.
  • Closed loop: Configuration generation → Task solving → Performance feedback → Configuration update. These four steps repeat in a cycle, allowing the algorithm to adaptively improve with the task rather than relying on manually fixed parameters.

Key Distinction: Configuration Space ≠ Solution Space

The inner layer searches for “the answer to the problem,” while the outer layer searches for “an algorithm that is better at finding answers.” Although the two are coupled—the quality of the outer layer can only be measured by actually running the inner layer—they differ in what they search, how they encode, and how they are evaluated. Recognizing this gets you to the general skeleton of meta-optimization:Making the search itself the object being searched.

Meta-Optimization Perspective
Traditional approaches rely on experience to manually fix differential evolution parameters; MetaDE hands this step over to search as well. The cost follows: each time the outer layer evaluates a configuration, it must run a full inner-layer solve, multiplying the computational budget. Therefore, the granularity of the configuration space and the evaluation budget must be carefully balanced.