[Paper Review] Ranked Reward: Enabling Self-Play Reinforcement Learning for Combinatorial Optimization
This paper introduces Ranked Reward (R2), a novel reinforcement learning algorithm that enables self-play-like training in single-player combinatorial optimization problems by ranking agent performance across episodes to create a relative reward signal. R2 outperforms heuristic methods, MCTS, and integer programming solvers on 2D and 3D bin packing problems, achieving up to 15% improvement over Gurobi on large instances with a 75th percentile ranking threshold.
Adversarial self-play in two-player games has delivered impressive results when used with reinforcement learning algorithms that combine deep neural networks and tree search. Algorithms like AlphaZero and Expert Iteration learn tabula-rasa, producing highly informative training data on the fly. However, the self-play training strategy is not directly applicable to single-player games. Recently, several practically important combinatorial optimisation problems, such as the travelling salesman problem and the bin packing problem, have been reformulated as reinforcement learning problems, increasing the importance of enabling the benefits of self-play beyond two-player games. We present the Ranked Reward (R2) algorithm which accomplishes this by ranking the rewards obtained by a single agent over multiple games to create a relative performance metric. Results from applying the R2 algorithm to instances of a two-dimensional and three-dimensional bin packing problems show that it outperforms generic Monte Carlo tree search, heuristic algorithms and integer programming solvers. We also present an analysis of the ranked reward mechanism, in particular, the effects of problem instances with varying difficulty and different ranking thresholds.
Motivation & Objective
- To extend the benefits of self-play reinforcement learning—previously limited to two-player games—to single-player combinatorial optimization problems.
- To address the lack of scalable, general-purpose methods for NP-hard optimization problems that avoid reliance on expert data or expensive solvers.
- To design a training curriculum that provides informative, adaptive supervision through relative performance ranking, mimicking competitive self-play.
- To evaluate the impact of different ranking thresholds on learning stability and solution quality in bin packing tasks.
Proposed method
- R2 formulates the bin packing problem as a single-player Markov Decision Process (MDP), enabling deep reinforcement learning with Monte Carlo Tree Search (MCTS) for policy improvement.
- It uses a deep neural network to estimate both policy and value functions, enabling sample-efficient learning in large action spaces.
- The core innovation is the Ranked Reward (R2) mechanism, which ranks recent episode returns and assigns a binary reward (1.0 for top α% of episodes, 0.0 otherwise) to create a relative performance signal.
- The algorithm maintains a replay buffer of past episodes and re-ranks rewards periodically based on the current performance distribution, creating a curriculum that adapts over time.
- The method is applied to 2D and 3D bin packing problems with varying numbers of items (10–50), using a fixed network architecture and MCTS with exploration bonuses.
- The ranking threshold α (e.g., 50%, 75%, 90%) controls the difficulty of the relative opponent, with higher α values making it harder to achieve a positive reward and thus increasing learning pressure.
Experimental results
Research questions
- RQ1Can a self-play-like training signal be effectively synthesized in single-player combinatorial optimization problems without external opponents or expert data?
- RQ2How does the choice of ranking threshold α affect the stability and convergence speed of the learning process in bin packing tasks?
- RQ3Does the R2 algorithm outperform established baselines such as MCTS, heuristic methods, and integer programming solvers in terms of solution quality and scalability?
- RQ4How does the R2 mechanism perform across problems of varying difficulty and instance size, particularly in high-dimensional packing scenarios?
- RQ5What is the trade-off between learning speed and final performance when using different percentile thresholds (e.g., 50% vs. 75% vs. 90%) in the reward ranking mechanism?
Key findings
- R2 outperforms the rank-free baseline, MCTS, the Lego heuristic, and linear programming with barrier functions on both 2D and 3D bin packing problems.
- With a 75th percentile ranking threshold, R2 improves upon the Gurobi solver by over 6% on average and up to 15% on larger instances with 50 items.
- The ranked 75% case achieves the best balance of learning speed and stability, with optimal solutions being consistently identified and sub-optimal solutions largely excluded from the positive feedback loop.
- The 50% threshold leads to slow convergence due to excessive positive feedback on sub-optimal solutions, as half the buffer receives a reward of 1.0 regardless of quality.
- The 90% threshold causes slower convergence and weaker final performance due to sparse positive feedback, making it difficult for the agent to learn when it performs significantly better than average.
- The reward distribution analysis shows that higher thresholds (75% and 90%) lead to faster initial improvement, but 90% introduces instability and residual low-reward games that hinder final performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.