Block-Bench: A Framework for Controllable and Transparent Discrete Optimization Benchmarking

Furong Ye, Frank Neumann, Thomas Bäck, Niki van Stein

TL;DR

Block-Bench is a novel benchmarking framework that brings much-needed control and transparency to discrete optimization. By constructing complex problem landscapes out of modular "block functions" connected by dependency graphs, it allows researchers to design custom optimization challenges and observe exactly how algorithms manipulate solution representations under the hood.

What Problem Does This Paper Address?

In the world of continuous optimization, benchmarking suites like BBOB offer highly systematic, well-classified problem landscapes (e.g., separating multi-modality, ruggedness, and ill-conditioning). Discrete optimization benchmarking, however, has historically been stuck in two extremes:

  1. Overly simplistic toy problems (like OneMax or LeadingOnes) used primarily for theoretical runtime analysis.
  2. Opaque, domain-specific black boxes (like SAT solving or vehicle routing) where the search space is too complex to understand why an algorithm succeeds or fails.

As a result, researchers often evaluate discrete algorithms purely on final fitness values. This black-box approach masks crucial details, such as how often an algorithm encounters local optima or how its operators interact with specific variable representations. Block-Bench bridges this gap by providing a framework to build scalable, granular, and representation-aware discrete benchmarks.

Methods

The core idea behind Block-Bench is modularity. Instead of defining a massive, monolithic objective function, a problem is broken down into a set of block functions. The framework constructs an objective function using three main components:

  • Block Functions ($v_i$): Functions that map a small subset (substring) of the total variables to a real value. The authors utilize classic building blocks like OneMax (smooth gradient), Jump (discontinuous/local optima), and Epistasis (rugged/irregular).
  • Weight Factors ($W$) and Constants ($A$): Parameters that scale the contribution of each block to the overall fitness.
  • Dependency Graphs ($G$): An adjacency matrix that defines how blocks interact.

Based on the dependency graph structure, the authors define two main problem categories:

  1. Dependency-Based Problems (DBPs): Built on undirected graphs, where all blocks contribute simultaneously to the objective function. This allows for the coexistence of heterogeneous landscape traits (e.g., a landscape that is smooth in one region but highly rugged in another).
  2. Gate-Constrained Problems (GCPs): Built on directed acyclic graphs (DAGs). Here, a block only contributes to the objective function if its predecessor blocks satisfy specific "gate" conditions (e.g., reaching their individual optima). This introduces massive regions of neutrality and sharp fitness cliffs.

Datasets

Rather than providing a static dataset, the authors introduce a generative suite of benchmark instances (coded in Python and available on GitHub):

  • Single-Objective Suite (F1–F10): Problems scaling up in dimensionality (tested at 40D) combining different block types under DBP and GCP structures.
  • Bi-Objective Suite (BF1–BF5): Problems designed to test multi-objective evolutionary algorithms (MOEAs) by creating both continuous and highly irregular, disconnected Pareto fronts.

Key Insights and Ideas

  • The Trap of Coexisting Landscapes: Self-adaptive evolutionary algorithms (EAs) that dynamically adjust mutation rates often excel on isolated problem types (e.g., doing great on OneMax or Jump). However, when these landscape properties coexist within a single Block-Bench problem, standard self-adaptation mechanisms can break down catastrophically.
  • Diversity is Universally Helpful for Modality: While diversity maintenance mechanisms in Genetic Algorithms (GAs) have historically only been proven effective on simple Jump functions, Block-Bench reveals that preserving representationally distant solutions consistently provides massive speedups as structural multimodality scales up.
  • Objective Space vs. Representation Space: In bi-objective optimization, algorithms can behave completely differently on two problems that feature the exact same Pareto front shape. The difficulty often stems from the underlying variable representation (e.g., whether the blocks are structured as OneMax vs. LeadingOnes), a nuance that traditional black-box benchmarking completely misses.

Key Results

The authors evaluated several theory-driven EAs and GAs using their framework.

As shown in the landscape visualizations, Block-Bench successfully generates highly customizable search spaces:

Diverse landscapes constructed by block functions

When evaluating algorithm performance on these spaces, the quantitative results highlighted stark behavioral shifts:

  • On the heterogeneous single-objective DBP (F5), the $(1+\lambda)$ two-rate EA achieved the best performance (averaging 15,505 function evaluations to reach the optimum).
  • On the gate-constrained GCP version (F10), the Fast Genetic Algorithm (fGA)—which typically underperforms on simple landscapes—swapped places to become the top performer (40,883 evaluations), while previously dominant adaptive algorithms deteriorated significantly.
  • For GAs, incorporating a diversity maintenance mechanism (GA-diversity) kept the required function evaluations completely stable as the number of multimodal blocks scaled up, whereas the standard GA's runtime exploded exponentially.

Limitations and Future Work

While the current framework provides a powerful proof-of-concept, the authors note that the block weights are currently restricted to simple binary or uniform configurations ($W \in \{1, -1\}^m$). Future work will look into generalizing these to any real number ($\mathbb{R}^m$) and exploring more intricate, multi-layered hierarchical constraints. The authors also highlight Block-Bench's potential to serve as a foundational testbed for training machine learning models in Dynamic Algorithm Configuration (DAC) and automated algorithm design.

Summary updated

BibTeX
@inproceedings{ye2026block,
  author = {Furong Ye and Frank Neumann and Thomas Bäck and Niki van Stein},
  title = {{Block-Bench: A Framework for Controllable and Transparent Discrete Optimization Benchmarking}},
  booktitle = {GECCO},
  year = {2026},
  doi = {10.1145/3795095.3805071},
}
Figure