Weight Adaptation for Improving Parallel Performance of Adaptive Stochastic Natural Gradient

Yutaro Yamada, Kento Uchida, Shinichi Shirakawa

TL;DR

The paper introduces Weight Adaptation ASNG (WA-ASNG), an evolutionary optimization algorithm that dynamically tunes its sample weight hyperparameters during runtime. By maximizing the update "signal" via gradient ascent, WA-ASNG significantly boosts performance and robustness in parallelized binary optimization tasks, eliminating the need for manual hyperparameter tuning.

What Problem Does This Paper Address?

Probabilistic model-based evolutionary algorithms (like CMA-ES) are highly effective for black-box optimization. They work by maintaining a probability distribution over the search space, sampling candidate solutions, ranking them, and updating the distribution based on these rankings.

To make these algorithms efficient, researchers use hyperparameters like the learning rate and sample weights (which dictate how much influence a top-ranked vs. a bottom-ranked sample has on the update). While the Adaptive Stochastic Natural Gradient (ASNG) algorithm successfully automates learning rate adaptation, its weight parameters have traditionally remained fixed.

With the rise of parallel computing, researchers can evaluate much larger population sizes simultaneously. However, choosing the ideal static weights for large populations is highly problem-dependent and difficult to guess beforehand. This paper tackles the challenge of automatically adapting these weight parameters on the fly to maximize optimization efficiency.

Methods

WA-ASNG builds on top of ASNG by introducing a dual-adaptation framework:

  1. Learning Rate Adaptation (Inherited from ASNG): This mechanism adjusts the learning rate to satisfy a sufficient condition for the monotonic improvement of the objective function. Think of it as a safety net that ensures the algorithm keeps moving in a good direction.
  2. Weight Adaptation (New): This mechanism dynamically updates the weights assigned to sample rankings. The algorithm estimates the "signal" of the update direction from the accumulation of natural gradients. It then performs a gradient ascent to update the weights, explicitly trying to maximize this signal.

To prevent instability, the weight updates are performed periodically (every $L$ iterations) over a set number of epochs ($E$) using an archive of recent sample records.

Datasets

The authors evaluated WA-ASNG using a multivariate Bernoulli distribution on three classic binary black-box optimization benchmark functions: OneMax, BinVal, and LeadingOnes.

Definitions of the benchmark functions used in the evaluation.

The experiments varied the problem dimensionality ($N$ from 100 to 500) and population sizes ($\lambda_\theta$ from 25 to 100) to simulate different parallel processing capacities.

Key Insights and Ideas

  • Separation of Concerns: By combining learning rate adaptation with weight adaptation, the algorithm splits the optimization workload. The learning rate ensures safe, steady improvement, while the weight adaptation acts as an accelerator to maximize the magnitude of that improvement.
  • Emergent Theoretical Alignment: In experiments on the complex BinVal problem, the dynamically adapted weights automatically evolved over time to closely resemble the mathematically derived "CMA-ES normalized" weights. This provides strong empirical validation for theoretical weight structures used elsewhere in evolutionary computation.
  • Noise Buffer: The adaptation mechanism inherently filters out noise. When evaluations are uncertain, the weight adaptation adjusts the influence of samples to maintain a clean update signal.

Key Results

  • Superior Efficiency: WA-ASNG consistently outperformed Population-Based Incremental Learning (PBIL) and standard ASNG on both BinVal and LeadingOnes when the population size was 50 or greater. It achieved the optimal solution with significantly fewer function evaluations.
  • Higher Sustained Learning Rates: Because the weight adaptation maximized the update signal, the algorithm was able to safely maintain a higher learning rate throughout the optimization process, leading to faster convergence.
  • Robustness to Noise: When tested on OneMax injected with severe Gaussian noise (variance up to $10^4$), WA-ASNG maintained the highest success rate and lowest SP1 (average number of evaluations to success) compared to variants using fixed weight schemes, which deteriorated rapidly as noise increased.

Limitations and Future Work

The authors note two primary limitations:

  1. Benchmark Scope: The evaluation was restricted to three standard binary benchmark functions. Testing on more complex landscapes, such as deceptive functions or categorical variable problems, is required to prove generalized efficacy.
  2. Algorithmic Isolation: The weight adaptation mechanism was only integrated into ASNG for binary spaces. A promising future direction is exploring whether this mechanism can be transferred to continuous optimization domains, such as continuous CMA-ES variants.

Summary updated

BibTeX
@inproceedings{yamada2026weight,
  author = {Yutaro Yamada and Kento Uchida and Shinichi Shirakawa},
  title = {{Weight Adaptation for Improving Parallel Performance of Adaptive Stochastic Natural Gradient}},
  booktitle = {EvoCOP},
  year = {2026},
  doi = {10.1007/978-3-032-20537-7\_10},
}
Figure