Skip to main content
QUICK REVIEW

[Paper Review] ORL: Reinforcement Learning Benchmarks for Online Stochastic Optimization Problems

Bharathan Balaji, Jordan Bell-Masterson|arXiv (Cornell University)|Nov 24, 2019
Optimization and Search ProblemsComputer Science32 references22 citations
TL;DR

This paper introduces ORL, a benchmark suite for reinforcement learning in online stochastic optimization problems, including Bin Packing, Newsvendor, and Vehicle Routing. Using standard RL algorithms with minimal hyperparameter tuning and simple neural networks, the authors demonstrate that trained policies achieve performance competitive with or superior to established baselines across all three problems, highlighting RL's strong potential for real-world dynamic resource allocation.

ABSTRACT

Reinforcement Learning (RL) has achieved state-of-the-art results in domains such as robotics and games. We build on this previous work by applying RL algorithms to a selection of canonical online stochastic optimization problems with a range of practical applications: Bin Packing, Newsvendor, and Vehicle Routing. While there is a nascent literature that applies RL to these problems, there are no commonly accepted benchmarks which can be used to compare proposed approaches rigorously in terms of performance, scale, or generalizability. This paper aims to fill that gap. For each problem we apply both standard approaches as well as newer RL algorithms and analyze results. In each case, the performance of the trained RL policy is competitive with or superior to the corresponding baselines, while not requiring much in the way of domain knowledge. This highlights the potential of RL in real-world dynamic resource allocation problems.

Motivation & Objective

  • To address the lack of standardized benchmarks for evaluating RL approaches in online stochastic optimization problems.
  • To establish a fair, reproducible evaluation framework for comparing RL algorithms across different problem instances and scales.
  • To demonstrate that off-the-shelf RL algorithms can achieve competitive or superior performance on canonical dynamic resource allocation problems without extensive domain-specific engineering.
  • To enable future research by open-sourcing environments via OpenAI Gym and RLlib, with configurable problem complexity.
  • To evaluate generalization across unseen distributions and problem sizes, particularly in complex settings like large-scale vehicle routing.

Proposed method

  • Formalize each problem—Bin Packing, Newsvendor, and Vehicle Routing—as a Markov Decision Process (MDP) with state, action, and reward components.
  • Define the state space to include item sizes, bin levels, and vehicle states (e.g., location, load, time), and the action space to include packing decisions or routing choices.
  • Use negative incremental waste as the reward signal in Bin Packing and Vehicle Routing, and a cost-based reward in Newsvendor to reflect over/under-stocking penalties.
  • Implement all environments using the OpenAI Gym interface and integrate with RLlib for scalable training and hyperparameter tuning.
  • Train standard deep RL algorithms (e.g., PPO, SAC) with two-layer feedforward neural networks, using no problem-specific reward shaping or architectural modifications.
  • Parameterize problem complexity (e.g., bin size, number of item types, map size, order count) to enable fair comparisons across different scales and distributions.

Experimental results

Research questions

  • RQ1Can off-the-shelf deep reinforcement learning algorithms achieve competitive or superior performance on canonical online stochastic optimization problems without domain-specific reward engineering?
  • RQ2How does the performance of RL policies generalize across different problem sizes and input distributions, particularly in unseen scenarios?
  • RQ3To what extent do RL policies outperform traditional heuristic baselines in terms of resource utilization and cost minimization in dynamic settings?
  • RQ4How does training time and convergence behavior scale with increasing problem complexity in environments like large-scale vehicle routing?
  • RQ5What role does action masking and constraint enforcement play in improving policy feasibility and performance in constrained optimization tasks?

Key findings

  • In Bin Packing, the RL policy achieved competitive or better performance than baselines across all three distribution types (Linear Waste, Perfectly Packable, Bounded Waste), with minimal hyperparameter tuning.
  • For the Newsvendor problem, the RL policy matched or outperformed classical optimal policies in terms of expected cost, particularly under stochastic demand with unknown distributions.
  • In Vehicle Routing, the RL policy outperformed the baseline MIP solver in 5x5 and 8x8 map scenarios with 5–10 orders, achieving higher average rewards (e.g., 854.45 vs. 640.01 for 5 orders, 2 pick-up locations) and showing consistent generalization to shifted demand distributions.
  • The RL agent learned to avoid accepting high-risk orders that lead to penalties, especially as the number of pick-up locations increased, reducing order miss rates over time.
  • Even after three days of training, the policy for larger instances (e.g., 8x8 map, 5 orders) continued to improve, indicating that longer training can further enhance performance and that overfitting was not yet observed.
  • The inclusion of order miss penalties in the reward function significantly influenced policy behavior, with larger gaps in performance observed in complex instances, suggesting the agent learned to prioritize delivery reliability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.