Black-Box Combinatorial Optimization with Order-Invariant Reinforcement Learning

Olivier Goudet, Quentin Suire, Adrien Goëffon, Frédéric Saubion, Sylvain Lamprier

Introduction

Combinatorial optimization (CO) involves finding the optimal combination of discrete variables, such as bits in a circuit or operations in a neural network architecture. This task becomes exceptionally challenging when the objective function is a "black box"—meaning no analytical formula exists, and evaluations are computationally expensive.

Traditional Estimation-of-Distribution Algorithms (EDAs) attempt to solve this by building probabilistic models of "good" solutions. However, they face a fundamental trade-off: simple univariate models ignore crucial variable interactions, while complex models (like Bayesian networks) require solving NP-hard structure-learning problems. Furthermore, modern autoregressive models typically rely on fixed generation sequences, which can bias the search, leading to premature convergence to local optima or "catastrophic forgetting."

To overcome these limitations, researchers have developed a novel reinforcement learning (RL) framework that discards fixed variable orderings in favor of an "order-invariant" generative model, achieving state-of-the-art performance on complex benchmarks.

Methodology: Order-Invariant RL and GRPO

The proposed framework, termed Multivariate RL-EDA, treats solution generation as a sequential decision-making process. The architecture introduces three core innovations:

  1. Order-Invariant Generative Modeling: Instead of generating variables in a rigid sequence (e.g., $x_1, x_2, \dots, x_n$), the model is trained to generate them in any random order. This is implemented using a set of multilayer perceptrons (MLPs) and causal masks that hide "future" variables in the sequence.
  2. Information-Preserving Dropout: Randomizing the generation order acts as a form of structural dropout. It forces the neural networks to identify the most relevant variable dependencies regardless of context, effectively filtering out noise and improving sample efficiency.
  3. Group Relative Policy Optimization (GRPO): The framework adapts GRPO—a technique recently popularized by large language models like DeepSeek-V3. Unlike standard RL methods that require a separate "critic" network to estimate value, GRPO calculates the "advantage" of a solution by comparing its fitness to the mean performance of a small population of samples. This approach makes the algorithm scale-invariant and highly stable.

Experimental Setup

The researchers evaluated their framework against a massive panel of 503 competing algorithms (primarily from the Nevergrad library) across several challenging domains:

  • QUBO (Quadratic Unconstrained Binary Optimization): A standard NP-hard problem widely used in physics and finance.
  • NK Landscapes & NK3: Synthetic "rugged" landscapes designed to test how well algorithms handle complex, multi-variable interactions (with NK3 extending this to ternary variables).
  • NAS-Bench-101: A real-world Neural Architecture Search dataset where the goal is to find the best-performing neural network architecture within a massive discrete search space.

Key Findings and Insights

  • Superior Scaling and Robustness: On larger problem instances ($n=128$ and $n=256$), the proposed method frequently achieved the best performance among all 500+ competitors. Crucially, while many baseline algorithms suffered catastrophic failures on specific rugged landscapes, the order-invariant approach remained highly consistent across all tested distributions.
  • Real-World Efficacy: On the NAS-Bench-101 benchmark, the method outperformed specialized baselines across both small (1,000 evaluations) and large (10,000 evaluations) computational budgets.
  • The Power of "Double Randomness": The most successful variant of the model, denoted as $(\sigma, \sigma)$-RL-EDA, uses random orders for both generating solutions and training the model. This dual randomness prevents the model from collapsing into a single solution too early, maintaining the search-space diversity necessary to escape local optima.
  • Residual Structuring: Theoretical analysis reveals that training on permutations causes the network to naturally develop a "residual structure." It learns simple marginal probabilities first, then incrementally layers on more complex variable interactions.
  • Efficiency via Parameter Sharing: By using parameter sharing, the authors demonstrated that the method could scale to large problems ($n=1024$) while remaining computationally feasible on a single GPU.

Limitations and Future Directions

While highly effective on complex problems, the framework's prioritization of diversity means it can sometimes converge slower than simpler univariate methods on very easy, smooth landscapes. Additionally, training neural networks at every generation introduces computational overhead compared to the simple counting mechanisms of classical EDAs, though this is generally offset by the high cost of black-box evaluations themselves.

Future work will explore extending this framework to multi-modal optimization, aiming to identify multiple distinct high-performing regions of a search space simultaneously rather than converging on a single global optimum.

Summary updated

BibTeX
@inproceedings{goudet2026black,
  author = {Olivier Goudet and Quentin Suire and Adrien Goëffon and Frédéric Saubion and Sylvain Lamprier},
  title = {{Black-Box Combinatorial Optimization with Order-Invariant Reinforcement Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=bcRBqG8FFN},
}
Figure