NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Changing or keeping solutions in dynamic optimization problems with switching costs

Danial Yazdani, Jürgen Branke, Mohammad Nabi Omidvar, Trung Thanh Nguyen, Xin YaoGECCO 2018

TL;DR

This paper introduces an Adaptive Solution Chooser (ASC) algorithm for dynamic optimization problems (DOPs) that intelligently balances the trade-off between changing solutions frequently (like TMO) and keeping them for extended periods (like ROOT), based on the switching cost. ASC aims to provide a more realistic and effective approach for real-world dynamic scenarios where switching costs are neither zero nor prohibitively high.

What Problem Does This Paper Address?

Dynamic optimization problems (DOPs) are challenges where the environment changes over time, requiring optimization algorithms to adapt. Existing approaches fall into two extremes: Tracking Moving Optima (TMO) assumes zero switching cost, leading to frequent solution changes, which is unrealistic in many practical scenarios. Robust Optimization Over Time (ROOT) assumes very high switching costs, leading to solutions being kept for as long as possible, even if they become suboptimal. This paper addresses the gap between these extremes by proposing a method that can dynamically adjust its strategy based on the actual switching cost, offering a more nuanced and practical solution for real-world DOPs.

Methods

The core of the proposed method is the Adaptive Solution Chooser (ASC) algorithm. ASC utilizes a multi-swarm optimization method (specifically, a simplified version of FTmPSO) to track peaks and estimate their fitness variance. The key innovation lies in ASC's decision-making process for changing or keeping a solution:

  • Switching Cost Definition: A novel switching cost (SC) is defined as the Euclidean distance between the current and previous best solutions, scaled by a weight w and normalized by the square root of the dimension (VD). This allows for simulating different switching cost scenarios by adjusting w.
  • Reliable Peaks: ASC identifies "reliable peaks" – those expected to remain acceptable after environmental changes. This is determined using a formula that considers the peak's fitness variance and a user-defined acceptance threshold (δ).
  • Adaptive Decision Making:
    • If the current solution is unacceptable, ASC chooses the most reliable peak with the minimum switching cost.
  • If the current solution is acceptable, but a better peak is found where the benefit of switching outweighs the cost (defined by a condition involving fitness and switching cost), ASC switches.
  • Otherwise, ASC keeps the current solution.

This adaptive strategy allows ASC to behave like TMO when switching costs are low and like ROOT when they are high, while also considering situations where a beneficial switch is possible even with moderate costs.

Datasets

The paper evaluates its proposed ASC algorithm on a modified Moving Peaks Benchmark (mMPB). This benchmark is a standard in DOP research, but the authors use a modified version where each peak has its own height, width, and shift severities. This modification aims to create more diverse and challenging scenarios compared to the standard MPB where all peaks behave identically. The experiments were conducted on both 2-dimensional and 5-dimensional versions of the mMPB, with varying numbers of peaks (5 and 20).

Key Insights and Ideas

  • Bridging the TMO-ROOT Gap: The most significant insight is the successful development of an algorithm that doesn't force a choice between the extreme TMO and ROOT paradigms. ASC's adaptive nature makes it more applicable to a wider range of real-world problems.
  • The Importance of "Beneficial Switching": ASC's ability to switch solutions not only when they become unacceptable but also when a significantly better solution is found despite a switching cost is a crucial differentiator. This acknowledges that even with costs, there are times when a change is economically beneficial.
  • Robustness and Switching Cost Interplay: The experiments highlight how the effectiveness of different strategies (TMO, ROOT, ASC) is highly dependent on the level of switching cost. ASC consistently performs well across various cost levels, demonstrating its adaptability.
  • Impact of Problem Complexity: The results show that increasing the number of peaks and dimensions generally makes the problem harder, but ASC's adaptive approach helps it maintain a competitive edge.

Key Results

The paper presents experimental results comparing ASC with two state-of-the-art methods: TFTmPSO (a TMO approach) and RFTmPSO (a ROOT approach).

  • Low Switching Cost (w=0.1): TFTmPSO performed best, as expected, because the problem was more suited to frequent changes. ASC's performance was similar to TFTmPSO in this scenario.
  • High Switching Cost (w ≥ 0.5): ASC consistently outperformed both TFTmPSO and RFTmPSO. This is where ASC's adaptive strategy truly shone, demonstrating its ability to balance robustness and the cost of change.
  • ASC's Superiority: Even at the highest switching cost (w=3), ASC maintained its advantage over RFTmPSO. This was attributed to ASC's ability to leverage beneficial switches (condition in Eq. 8) and its strategy of choosing the reliable peak with the lowest switching cost when a change is necessary.
  • Dimensionality Impact: All algorithms performed better in 2-dimensional problems than in 5-dimensional ones, indicating the increased difficulty of higher-dimensional dynamic optimization.
  • Number of Peaks Impact: Results were generally better with 20 peaks compared to 5 peaks, especially for ASC and TFTmPSO when switching costs were lower. This suggests that a higher density of peaks can improve solution quality and robustness.

Limitations and Future Work

  • Parameter Sensitivity: While ASC's w parameter allows for simulating different switching costs, the paper notes that different values of δ (acceptance threshold) can affect ASC's performance (except at very low w). Further research could explore more automated ways to set these parameters.
  • Computational Budget: The paper assumes a predefined computational budget for each environment. The impact of varying this budget or having dynamic computational resources could be explored.
  • Change Detection: The authors mention that change detection is a separate issue that can be dealt with independently. Future work could integrate advanced change detection mechanisms into ASC.
  • Real-World Validation: While the mMPB is designed to be more realistic, further validation on diverse, real-world dynamic optimization problems would be valuable to fully assess ASC's practical applicability.

Summary updated

BibTeX
@inproceedings{yazdani2018changing,
  author = {Danial Yazdani and Jürgen Branke and Mohammad Nabi Omidvar and Trung Thanh Nguyen and Xin Yao},
  title = {{Changing or keeping solutions in dynamic optimization problems with switching costs}},
  booktitle = {GECCO},
  year = {2018},
  doi = {10.1145/3205455.3205484},
}
Figure