Generalizing Beyond Suboptimality: Offline Reinforcement Learning Learns Effective Scheduling through Random Solutions

Jesse van Remmerden, Zaharah Bukhsh, Yingqian Zhang · Submission to ICLR 2026 · Rejected

TL;DR

Training reinforcement learning (RL) agents for job shop scheduling usually demands millions of costly interactions in simulation. CDQAC (Conservative Discrete Quantile Actor-Critic) introduces an offline RL framework that bypasses simulators entirely by learning directly from logged heuristic data—even completely random solutions—while outperforming both the data-generating heuristics and state-of-the-art online RL baselines.

What Problem Does This Paper Address?

The Job Shop Scheduling Problem (JSP) and Flexible Job Shop Scheduling Problem (FJSP) are classic NP-hard combinatorial optimization challenges found in manufacturing and logistics. While deep RL can learn dispatching policies that solve instances in milliseconds, standard methods rely on online trial-and-error in simulation, suffering from severe sample inefficiency (requiring thousands of training instances and millions of steps).

Offline RL could theoretically learn from historical datasets generated by common dispatching heuristics or genetic algorithms. However, existing offline methods either rely on expensive, near-optimal solver demonstrations (like Constraint Programming) or struggle with distributional shift and out-of-distribution (OOD) action overestimation when fed low-quality, suboptimal data.

Methods

The authors introduce CDQAC, an offline actor-critic architecture tailored for discrete combinatorial action spaces:

  • Quantile Critic with Dueling Architecture: Instead of predicting expected returns, a distributional critic models return quantiles across target cumulative probabilities. The critic employs a modified dueling network: the state-value stream $V_\theta$ processes only a global instance embedding (updating at every transition step), while the advantage stream $A_\theta$ receives operation, machine, and pair-specific embeddings.
  • Conservative Regularization (CQL): To prevent the critic from overestimating untested machine–operation pairs, a Conservative Q-Learning penalty regularizes out-of-distribution actions relative to logged actions.
  • Delayed Policy Updates: Updating the actor only every $\eta = 4$ critic updates prevents the policy from chasing noisy early value estimates, stabilizing joint policy-critic convergence.
  • Dual Attention Network (DAN): Both actor and critic use dual attention blocks to handle instance-dependent, variable action and state spaces without fixed dimension constraints.

Datasets

The authors generated synthetic FJSP instances (sizes $10\times5$, $15\times10$, and $20\times10$) and collected offline training datasets using three heuristic sources:

  1. Priority Dispatching Rules (PDR): Combinations of classic job- and machine-selection heuristics (e.g., MOR, LOR, SPT, EST).
  2. Genetic Algorithm (GA): Trajectories sampled from the final population of a genetic algorithm (high quality, low diversity).
  3. PDR–GA: The union of both datasets.
  4. Random: Uniformly sampled feasible actions at each state.

Evaluation Benchmarks: - FJSP: Synthetic evaluation sets ($10\times5$ up to $40\times10$), the Brandimarte benchmark ($mk$), and the Hurink benchmarks ($edata$, $rdata$, $vdata$). - JSP: Classic Taillard and Demirkol benchmark suites.

Key Insights and Ideas

  • Random Solutions Outperform "Expert" Solutions: Counter to common offline RL intuitions—where near-expert datasets usually deliver the best policies—CDQAC performed best when trained on purely random trajectories.
  • The Role of State-Action Coverage (SACo): In long-horizon scheduling tasks ($H \ge 50$), random exploration covers a much wider variety of state-action pairs (up to $8\times$ higher coverage than PDR). This high diversity reduces intrinsic uncertainty and provides the off-policy critic with enough raw material to "stitch" high-value partial trajectories into a globally strong policy.
  • Extreme Sample Efficiency: Thanks to bootstrapping and off-policy data reuse, CDQAC requires as few as 10–20 problem instances (1%–5% of the original training set) to reach peak performance, compared to 1,000+ simulator instances required by online RL baselines.

Key Results

  • Beating Heuristics & Offline Baselines: CDQAC trained on random FJSP data achieved an average optimality gap of 10.68% (greedy) and 5.86% (sampling), drastically outperforming its behavioral data source (28.16% gap) and beating offline competitors like Offline-LD (16.91% / 7.79%), IQL (21.34% / 10.79%), and Behavioral Cloning (21.85% / 13.15%).
  • Surpassing Online RL on FJSP: On standard FJSP benchmarks ($mk$, $edata$, $rdata$, $vdata$), CDQAC trained on random data outperformed leading online methods (DANIEL, FJSP-DRL, and Residual). For example, on the Brandimarte ($mk$) set under $15\times10$ training, CDQAC achieved a 7.94% sampling gap versus DANIEL’s 8.95% and FJSP-DRL’s 19.00%.
  • Strong Generalization on JSP: On the Taillard benchmark, CDQAC (trained on $10\times5$ random instances) achieved an average sampling gap of 11.7%, outperforming DANIEL (14.4%), Residual (14.6%), and Offline-LD (25.6% greedy). Statistical significance was confirmed via one-sided Wilcoxon signed-rank tests ($p \approx 0.018$ on FJSP, $p \approx 0.0002$ on JSP).

Limitations and Future Work

  • Training Instability on Massive Action Spaces: When trained directly on larger instances ($20\times10$), where the action space can reach 200 discrete choices, CDQAC exhibited training instability and failed to converge smoothly (though models trained on smaller instances generalized well to these larger sizes zero-shot).
  • Future Directions: Incorporating factorized action spaces or stochastic Q-learning to scale directly to very large action spaces during training, and applying CDQAC to real-world industrial settings where simulation is intractable but logged execution logs are abundant.

Summary updated

BibTeX
@misc{remmerden2025generalizing,
  author = {Jesse van Remmerden and Zaharah Bukhsh and Yingqian Zhang},
  title = {{Generalizing Beyond Suboptimality: Offline Reinforcement Learning Learns Effective Scheduling through Random Solutions}},
  year = {2025},
  eprint = {2509.10303},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.10303},
}
Figure