CORectifier: Hierarchically Rectifying Policy Rollouts for Reinforcement Learning in Combinatorial Solvers
Abstract
In Neural Combinatorial Optimization (NCO), autoregressive Reinforcement Learning (RL) naturally preserves sequential feasibility but often suffers from terminal-only feedback and weak action-level credit assignment. We propose CORectifier, an online, feasibility-preserving, successor-following rollout-rectification mechanism for RL-based constructive solvers. During training, hierarchical batch-, trajectory-, and segment-level gates selectively replace policy actions with feasible successors from a limited set of reference trajectories, after which the policy continues from the rectified state. This Rectified RL (RRL) paradigm helps develop optimality-aware and sample-efficient RL learners while maintaining their sequential-decision manner for constraint satisfaction, delivering a new perspective to hybridize RL and supervised or imitation learning for NCO. Sufficiently extensive experiments on TSP, ATSP, PCTSP, CVRP, KP, JSSP and SMTWTP, across synthetic and real-world benchmarks, sparse and perturbed references, controlled mechanism ablations, independent training seeds, and zero-shot CVRP generalization up to 5,000 nodes show consistent improvements over the corresponding vanilla RL training baselines and competitive performance relative to broader neural solvers. Code is available at https://github.com/Thinklab-SJTU/CORectifier.