[Paper Review] Automatic Local Rewriting for Combinatorial Optimization
NeuRewriter proposes a reinforcement learning-based method that automatically rewrites local components of solutions in combinatorial optimization problems by learning to select regions and rewriting rules via neural policies. It outperforms state-of-the-art methods in expression simplification, online job scheduling, and vehicle routing by leveraging actor-critic training on problem-agnostic structures.
Search-based methods for hard combinatorial optimization are often guided by heuristics. Tuning heuristics in various conditions and situations is often time-consuming. In this paper, we propose NeuRewriter that learns a policy to pick heuristics and rewrite the local components of the current solution to iteratively improve it until convergence. The policy factorizes into a region-picking and a rule-picking component, each parameterized by a neural network trained with actor-critic methods in reinforcement learning. NeuRewriter captures the general structure of combinatorial problems and shows strong performance in three versatile tasks: expression simplification, online job scheduling and vehicle routing problems. NeuRewriter outperforms the expression simplification component in Z3; outperforms DeepRM and Google OR-tools in online job scheduling; and outperforms recent neural baselines and Google OR-tools in vehicle routing problems.
Motivation & Objective
- To reduce the time and effort required to manually tune heuristics in search-based combinatorial optimization.
- To develop a general-purpose method that can adaptively improve solutions by rewriting local components.
- To learn a policy that selects both which part of the solution to modify and which rule to apply for rewriting.
- To achieve strong performance across diverse combinatorial problems without task-specific heuristic engineering.
- To outperform existing heuristic-based and neural baselines in expression simplification, job scheduling, and vehicle routing.
Proposed method
- NeuRewriter uses a two-part neural policy: one for selecting regions of the solution to rewrite and another for choosing rewriting rules.
- The policy is trained using actor-critic reinforcement learning to maximize long-term solution improvement.
- The method factorizes the rewriting decision into region-picking and rule-picking components, each modeled by a separate neural network.
- It operates iteratively, modifying local solution components to improve the overall solution quality.
- The approach captures general structural patterns in combinatorial problems, enabling transferability across tasks.
- Training is end-to-end, with rewards shaped by solution quality improvements after each rewrite step.
Experimental results
Research questions
- RQ1Can a learned policy effectively select which parts of a solution to rewrite in combinatorial optimization?
- RQ2Can a neural policy jointly learn region selection and rule application to improve solution quality?
- RQ3Does the method generalize across diverse combinatorial problems without task-specific tuning?
- RQ4How does the performance of the learned rewriting policy compare to handcrafted heuristics and existing neural baselines?
- RQ5Can the method achieve better results than state-of-the-art tools like Z3, Google OR-tools, and DeepRM?
Key findings
- NeuRewriter outperforms the expression simplification module in Z3 on expression simplification tasks.
- It achieves better performance than DeepRM and Google OR-tools in online job scheduling scenarios.
- NeuRewriter surpasses recent neural baselines and Google OR-tools in vehicle routing problems.
- The method demonstrates strong generalization across three distinct combinatorial optimization tasks.
- The actor-critic training scheme effectively learns a policy that improves solution quality through iterative local rewriting.
- The factorized policy structure enables effective exploration and exploitation in complex solution spaces.
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.