Specific Single- and Multi-Objective Evolutionary Algorithms for the Chance-Constrained Knapsack Problem

Yue Xie, Aneta Neumann, Frank Neumann

Introduction

The classic knapsack problem is a fundamental challenge in combinatorial optimization: how to select a subset of items to maximize total profit without exceeding a fixed weight capacity. However, in practical applications—such as logistics, finance, or resource allocation—item weights are rarely deterministic. The Chance-Constrained Knapsack Problem (CCKP) addresses this by modeling weights as random variables. The objective is to maximize profit while ensuring that the probability of the total weight exceeding the capacity remains below a small, user-defined threshold ($\alpha$).

While Evolutionary Algorithms (EAs) are well-suited for complex optimization, the CCKP presents a difficult fitness landscape where standard operators often struggle with local optima and strict constraints. This paper introduces specialized mutation, crossover, and multi-objective models designed to navigate the stochastic nature of the CCKP effectively.

Methodology

Surrogate Functions for Constraints

Evaluating the exact probability of a constraint violation can be computationally prohibitive, often requiring expensive Monte Carlo simulations. To maintain efficiency, the authors utilize surrogate functions based on Chebyshev’s inequality and Chernoff bounds. These statistical tools provide upper bounds on the probability of overfilling the knapsack, allowing the algorithms to estimate feasibility rapidly during the search process.

Algorithmic Innovations

The core contribution of the paper lies in three specific enhancements to the evolutionary process:

  1. Heavy-Tail Mutation Operator: Standard EAs typically use a fixed mutation rate (often $1/n$), which can lead to stagnation. The authors implement a heavy-tail mutation operator based on a power-law distribution. This approach allows the algorithm to perform small, local searches most of the time while occasionally making large "jumps" in the search space, which is critical for escaping local optima in highly constrained environments.
  2. Problem-Specific (PS) Crossover Operator: Traditional crossover operators, such as uniform crossover, swap genes randomly. The PS crossover is more strategic: it preserves the items that both parent solutions agree on. For items where the parents disagree, it applies a greedy heuristic based on the profit-to-weight ratio, prioritizing the inclusion of high-value, low-weight items to improve offspring quality.
  3. A Novel Multi-Objective Model: In multi-objective optimization, balancing profit against constraint violation is key. Previous models often utilized harsh penalties that discarded any solution violating the chance constraint. The authors propose a more nuanced model that is more permissive toward solutions whose expected weight is within the limit, even if they exceed the strict probability threshold. This approach maintains genetic diversity and prevents the population from converging prematurely.

Experimental Setup

The proposed methods were evaluated using the eil101 benchmark (500 items), adapted for chance constraints. The experiments covered several dimensions of difficulty:

  • Weight Distributions: Item weights followed uniform additive distributions.
  • Correlation Types: The study compared Uncorrelated instances (independent profits and weights) against Bounded Strongly Correlated instances (where profit is closely tied to weight), the latter being significantly more challenging.
  • Constraint Strictness: The threshold $\alpha$ was varied between $0.001, 0.01,$ and $0.1$ to test the algorithms under different levels of risk tolerance.

Key Insights and Results

The Power of Dynamic Mutation

The (1+1) EA equipped with the heavy-tail mutation operator consistently outperformed the standard version across all test instances. This confirms that the ability to vary the mutation step size is a universal advantage for the CCKP.

Heuristic-Driven Crossover

Integrating the PS crossover into population-based algorithms like the ($\mu$+1) EA yielded substantial improvements over mutation-only approaches. By leveraging domain-specific knowledge (the profit/weight ratio) directly within the genetic operators, the search becomes significantly more efficient.

Multi-Objective Performance

The new multi-objective fitness model proved superior to traditional penalty-based models, particularly on the difficult bounded-strongly-correlated instances. Interestingly, the relatively simple GSEMO (Global Simple Evolutionary Multi-objective Optimizer) algorithm, when combined with the PS crossover and the new model, outperformed the more complex, state-of-the-art NSGA-II across the board.

Conclusion

This research demonstrates that general-purpose EAs can be significantly improved for stochastic problems by incorporating problem-specific heuristics and flexible constraint handling. The success of the heavy-tail mutation and the PS crossover suggests that "blind" search operators are insufficient for complex, chance-constrained landscapes.

Future work may involve exploring why NSGA-II underperformed in this context and testing other multi-objective frameworks like SPEA2. Additionally, investigating scenarios where item weights are not independent—reflecting real-world conditions like environmental factors affecting all items—remains an important open challenge.

Summary updated

BibTeX
@inproceedings{xie2020specific,
  author = {Yue Xie and Aneta Neumann and Frank Neumann},
  title = {{Specific Single- and Multi-Objective Evolutionary Algorithms for the Chance-Constrained Knapsack Problem}},
  booktitle = {GECCO},
  year = {2020},
  doi = {10.1145/3377930.3390162},
}
Figure