Learning to Segment for Vehicle Routing Problems

Wenbin Ouyang, Sirui Li, Yining Ma, Cathy Wu (Professor · MIT)

International Conference on Learning Representations 2026 · Oral

Overview

This article delves into an innovative approach to tackling large-scale Vehicle Routing Problems (VRPs), a class of combinatorial optimization challenges critical to logistics, transportation, and supply chain management. Presented by Wenbin Ouyang and co-authored with Sirui Li, Yining Ma, and Professor Cathy Wu from MIT, the talk introduces FSTA (Segment-Then-Aggregate), a novel pipeline designed to accelerate iterative VRP solvers, and L2Seg (Learning to Segment), a machine learning component that intelligently identifies "unstable" regions within a routing solution. The core idea is to leverage machine learning to optimize the computational efficiency of classical solvers, pushing the boundaries of what's achievable in terms of both solution quality and speed for massive-scale problems.

Watch on SlidesLive

Visual summary for Learning to Segment for Vehicle Routing Problems by Wenbin Ouyang, Sirui Li, Yining Ma, Cathy Wu
Visual summary for Learning to Segment for Vehicle Routing Problems by Wenbin Ouyang, Sirui Li, Yining Ma, Cathy Wu

Key moments

  1. 0:00 Introduction to VRP and Learning-Guided Optimization (LGO)
  2. 2:20 Identifying redundant computation in iterative solvers
  3. 4:00 FSTA: Segment-then-Aggregate pipeline for acceleration
  4. 6:00 L2Seg-Syn: Learning unstable edges with NAR/AR synergy
  5. 8:20 Experimental results: L2Seg accelerates SOTA solvers
  6. 10:00 Summary and key takeaways of the research
  7. 10:30 Q&A: Scalability for very large VRP instances
  8. 11:20 Q&A: Applicability to complex real-world VRP variants

Learning to Segment for Vehicle Routing Problems

Speakers: Wenbin Ouyang, Sirui Li, Yining Ma, Cathy Wu (Professor, MIT)

Conference: ICLR 2026

YouTube: https://slideslive.com/39062233

Overview

This article delves into an innovative approach to tackling large-scale Vehicle Routing Problems (VRPs), a class of combinatorial optimization challenges critical to logistics, transportation, and supply chain management. Presented by Wenbin Ouyang and co-authored with Sirui Li, Yining Ma, and Professor Cathy Wu from MIT, the talk introduces FSTA (Segment-Then-Aggregate), a novel pipeline designed to accelerate iterative VRP solvers, and L2Seg (Learning to Segment), a machine learning component that intelligently identifies "unstable" regions within a routing solution. The core idea is to leverage machine learning to optimize the computational efficiency of classical solvers, pushing the boundaries of what's achievable in terms of both solution quality and speed for massive-scale problems.

The work addresses a fundamental bottleneck in existing VRP solvers: the redundant computation spent re-optimizing stable parts of a solution during iterative search. By proactively learning to segment the problem into stable and unstable components, FSTA and L2Seg drastically reduce the search space for the underlying solver, leading to significant performance gains. This research falls squarely within the burgeoning field of Learning-Guided Optimization (LGO), where machine learning is used to augment or replace human-designed heuristics and components within traditional optimization frameworks.

The significance of this work is profound, particularly given the ever-increasing scale of real-world logistical operations. Companies like Amazon, delivering tens of millions of packages daily, face VRPs of unprecedented complexity. Solutions like FSTA and L2Seg promise to enable more efficient and higher-quality route planning, translating directly into reduced operational costs, faster delivery times, and lower environmental impact. By demonstrating up to a 7x acceleration for state-of-the-art iterative solvers, this research marks a substantial leap forward in the practical application of AI for complex combinatorial optimization.

Background

▶ Watch: Introduction to VRP and Learning-Guided Optimization (LGO) (0:00)

Combinatorial optimization (CO) problems are ubiquitous in modern society, underpinning critical infrastructure and services ranging from last-mile package delivery and ride-sharing to airline scheduling, power grid management, and intricate supply chains. At the heart of many of these applications lies the Vehicle Routing Problem (VRP), a canonical CO challenge. The most common variant, the Capacitated Vehicle Routing Problem (CVRP), involves vehicles starting from a central depot, visiting customers with specific demands, and returning to the depot, all while minimizing total route length and respecting vehicle capacity constraints. More complex variants exist, such as the VRP with Time Windows (VRPTW), where customers must be served within specified time intervals, and problems incorporating pickup and delivery or backhaul constraints.

Historically, CO problems have been tackled by two main families of solvers. Exact solvers (e.g., those based on mixed-integer linear programming) guarantee optimal solutions but are computationally intensive, quickly becoming impractical as problem scale increases. Their exponential complexity makes them unsuitable for the massive instances encountered in real-world scenarios. In contrast, heuristic solvers employ iterative search strategies to efficiently find good, though not necessarily optimal, solutions. While faster, their solution quality tends to degrade on larger, more complex problem instances. This trade-off between optimality and scalability has long been a central tension in CO.

The rise of machine learning has introduced a third paradigm: Learning-Guided Optimization (LGO). LGO aims to bridge the gap between exact and heuristic methods by using learned models to enhance or replace human-designed components within classical solvers. The goal is to achieve both high-quality solutions and efficient runtimes, pushing towards the "upper-left corner" of the quality-efficiency Pareto front. This talk's work is a prime example of LGO in action.

The motivation for FSTA and L2Seg stems from a critical observation regarding the behavior of state-of-the-art iterative VRP solvers. These solvers typically start with an initial solution and progressively refine it through iterative search. However, detailed analysis reveals that a significant portion of the computational effort in these iterative processes is redundant. For example, in a CVRP 1000-node instance, fewer than 8% of edges are re-optimized after 20 steps, averaged over 100 instances. This means that most of the solution structure, specifically the "stable" edges and connected components, remains unchanged, yet the solver expends considerable resources re-evaluating these stable parts. This redundancy highlights two key challenges: first, how to reliably identify these stable and unstable edges; and second, how to leverage this identification to accelerate the iterative solving process. Addressing these challenges forms the core contribution of the FSTA and L2Seg framework.

Key Findings

▶ Watch: FSTA: Segment-then-Aggregate pipeline for acceleration (4:00)

The research introduces two tightly integrated contributions designed to address the scalability and efficiency challenges in large-scale VRPs: FSTA (Segment-Then-Aggregate) and L2Seg (Learning to Segment).

The primary finding is that by dynamically segmenting a VRP instance and aggregating its stable components, the effective problem size can be significantly reduced, leading to substantial acceleration of underlying iterative solvers. FSTA provides the overarching pipeline for this process, while L2Seg is the intelligent component responsible for identifying the critical "unstable edges" that dictate the segmentation.

Key findings include:

  • A Novel Pipeline for Iterative Solvers: FSTA is formalized as the first segment-then-aggregate pipeline specifically designed to accelerate iterative solvers for VRPs. It dynamically adapts to the evolving solution, iteratively identifying stable regions and reducing the problem's complexity for re-optimization.
  • Learning to Identify Unstable Regions: L2Seg is introduced as a machine learning model capable of accurately predicting which edges in a sub-optimal VRP solution are "unstable" and likely to change during subsequent optimization steps. This learning-based approach moves beyond static or rule-based decomposition methods.
  • Synergy of NAR and AR Models (L2Seg-Syn): A crucial innovation within L2Seg is the L2Seg-Syn architecture, which leverages the complementary strengths of Non-Auto-Regressive (NAR) and Auto-Regressive (AR) neural networks. The NAR component provides a fast, global view to detect potential unstable regions, while the AR component performs fine-grained, local refinement to precisely identify unstable edges within those regions. This "best of both worlds" approach is shown to be highly effective.
  • Significant Acceleration: L2Seg-enhanced FSTA achieves up to 7x acceleration for various state-of-the-art iterative solvers (including classical, decomposition frameworks, and learning-guided hybrid solvers) across different VRP variants like CVRP and VRPTW.
  • Superior Performance at Scale: The framework consistently outperforms both classical and neural baselines on CVRP and VRPTW instances of various sizes. Crucially, the performance gap between FSTA/L2Seg and the baselines widens as the problem scale increases, demonstrating its particular efficacy for large-scale applications (e.g., problems with over 100 nodes).
  • Generalizability and Feasibility Guarantees: The FSTA framework is proven to extend to a wide range of VRP variants beyond basic CVRP, including those with time windows, pickup and delivery constraints, and backhauls. Non-trivial feasibility theorems are provided in the accompanying paper, ensuring that the aggregation process maintains valid problem constraints.

These findings collectively demonstrate a powerful paradigm shift in solving large-scale combinatorial optimization problems, where intelligent machine learning components dynamically guide and accelerate traditional search algorithms, leading to unprecedented efficiency gains.

Technical Deep Dive

▶ Watch: Experimental results: L2Seg accelerates SOTA solvers (8:20)

The core of this work lies in the synergistic design of the FSTA (Segment-Then-Aggregate) pipeline and the L2Seg (Learning to Segment) machine learning model.

FSTA: The Segment-Then-Aggregate Pipeline

FSTA is an iterative and dynamic framework that accelerates iterative VRP solvers by strategically reducing the problem's complexity. It comprises five distinct steps:

  1. Detect Unstable Edges: This is the crucial first step, where the L2Seg model comes into play. Given a current sub-optimal solution, L2Seg predicts which edges are likely to change in future optimization steps (i.e., are "unstable"). These unstable edges are effectively marked for potential modification.
  2. Group Nodes into Segments: Once unstable edges are identified, they are conceptually removed from the graph representing the current solution. Any consecutive, connected nodes that remain after this removal are grouped together to form a "segment." A segment can consist of a single node or multiple nodes, representing a stable portion of a route that is unlikely to be broken or reordered internally.
  3. Aggregate Segments into Hyper-nodes: To reduce the problem size, each identified segment is aggregated into one or two hyper-nodes. Since the internal edges within a segment are considered stable and won't be re-optimized, computation is saved. This aggregation requires careful adjustment of hyper-node attributes to preserve feasibility. For instance, in CVRP, a hyper-node might take half of the total demand of all nodes within its segment. The paper explicitly states that FSTA extends to complex VRP variants by proving non-trivial feasibility theorems for constraints like time windows and pickup/delivery, ensuring that the aggregated problem accurately reflects the original constraints.
  4. Re-optimize Reduced Problem: With the original problem transformed into a much smaller, "reduced problem" consisting of hyper-nodes and the previously identified unstable edges, this simplified problem is then fed into a backbone solver. This solver, which can be any state-of-the-art iterative VRP solver (classical, decomposition-based, or learning-guided), operates on the reduced graph, making the re-optimization process significantly more efficient due to the smaller search space.
  5. Recover Non-Aggregated Solution: After the backbone solver provides an optimized solution for the reduced problem, the final step is to "unpack" the hyper-nodes. The internal nodes within each segment are simply reinserted in their original, stable configuration, yielding a complete, non-aggregated solution for the original VRP instance.

FSTA is iterative because these five steps are repeated across multiple iterations as the solution evolves. It is dynamic because the segmentation (and thus the hyper-nodes) adapts at each iteration based on the current solution state and L2Seg's predictions.

L2Seg: Learning to Segment with NAR and AR Synergy

L2Seg is the intelligent component responsible for identifying unstable edges. The talk introduces L2Seg-Syn, a novel architecture that combines the strengths of Non-Auto-Regressive (NAR) and Auto-Regressive (AR) models for this segmentation task:

  • Encoder Architecture: The shared encoder component utilizes a Transformer combined with a Graph Attention Network (GAT). This architecture is well-suited for processing graph-structured data like VRP instances, allowing it to capture both global and local relationships between nodes and edges. The Transformer handles long-range dependencies, while GAT focuses on neighborhood aggregation.
  • NAR Network for Global Detection: The NAR component provides a fast, global view of the problem. It scans the entire VRP instance in a single forward pass and predicts which nodes are associated with unstable edges. The NAR decoder is a simple Multi-Layer Perceptron (MLP). This component is efficient for quickly flagging broad regions of instability but may lack the precision for exact edge identification.
  • AR Network for Local Refinement: Following the NAR's global detection, predicted unstable nodes are clustered into sub-optimal regions. One representative node from each cluster is selected as an initial target for the AR network. The AR network then sequentially refines the predictions within each of these localized regions. Its sequential nature allows it to capture fine-grained local dependencies, leading to more precise identification of the exact unstable edges. The AR decoder employs a Gated Recurrent Unit (GRU) coupled with Multi-Head Attention, capable of handling sequential data and focusing on relevant parts of the local graph.

The synergy is crucial: NAR provides the initial, fast, global "hunch" about where instability lies, effectively narrowing down the search space for the more precise, but potentially slower, AR model, which then performs the "surgical strike" to identify the exact unstable edges.

Training Methodology

L2Seg-Syn is trained using supervised learning, requiring ground truth labels for unstable edges. These labels are generated through a clever look-ahead oracle approach:

  • The backbone solver is run on a given VRP instance.
  • The solver's output, representing a more optimized solution, is then compared to the current sub-optimal solution.
  • Any edges that change between the current and the oracle's improved solution are marked as "unstable" and serve as ground truth.

Labels are generated separately for the NAR and AR models:

  • NAR Model Labels: All nodes connected to the unstable edges identified by the oracle are marked, creating a node-level heatmap label. This provides a coarse-grained signal for global instability.
  • AR Model Labels: The connected components formed by the unstable edges are extracted. Each component is then converted into a sequence of nodes, which serves as a sequential label for the AR decoder, guiding it to predict the precise sequence of unstable edges within a local region.

This detailed technical design allows FSTA and L2Seg-Syn to effectively decompose complex VRPs, focusing computational resources only where they are most needed, thereby achieving significant acceleration without compromising solution quality.

Experimental Setup & Results

▶ Watch: Summary and key takeaways of the research (10:00)

The research rigorously evaluated the performance of the proposed FSTA framework, empowered by the L2Seg-Syn model, across a range of Vehicle Routing Problem (VRP) variants and scales.

Problem Variants and Scales:

Experiments were conducted on two canonical VRP variants:

  • Capacitated Vehicle Routing Problem (CVRP)
  • Vehicle Routing Problem with Time Windows (VRPTW)

The models were evaluated on instances of various sizes, with particular emphasis on large-scale problems, which are the primary target of this work. While specific node counts for all experiments weren't detailed in the transcript, the discussion indicated effectiveness for problems "larger than 100" and a "sweet spot" for significantly larger scales.

Baselines:

To demonstrate the efficacy of L2Seg-enhanced FSTA, its performance was compared against a comprehensive set of baselines representing the state-of-the-art in VRP solving:

  • State-of-the-Art Classical Solvers: These represent traditional heuristic and metaheuristic approaches, often highly engineered and refined over decades. (Specific solver names were not mentioned in the transcript).
  • Decomposition Frameworks: These are methods that break down large problems into smaller subproblems, often using problem-specific heuristics.
  • Neural Solvers (Learning-Guided Hybrid Solvers): This category includes recent machine learning-based approaches that directly learn routing policies or enhance existing heuristics.

Metrics:

The primary metrics used for evaluation were:

  • Objective Value Over Time: This measures the quality of the solution found by the solver as a function of its runtime, illustrating the speed-quality trade-off.
  • Acceleration Factor: Quantified as the speedup achieved by L2Seg-enhanced solvers compared to their vanilla counterparts.

Headline Results:

  • Significant Acceleration: L2Seg was shown to accelerate all types of backbone iterative solvers (classical, decomposition frameworks, and learning-guided hybrid solvers) across different problem variants. The most striking result was an acceleration factor of up to 7x. This indicates that the method is not only effective but also broadly applicable to diverse underlying optimization engines.
  • Superior Performance Across Scales: The framework consistently outperformed both classical and neural baselines on CVRP and VRPTW instances of various sizes. Crucially, the performance gap between L2Seg-enhanced solvers and the baselines widened at scale. This confirms the hypothesis that the benefits of intelligent segmentation become more pronounced as problem complexity increases, making it particularly valuable for real-world, large-scale applications.
  • Robustness Across VRP Variants: The FSTA framework, with its proven feasibility theorems, demonstrated its ability to handle complex VRP variants beyond basic CVRP, including those with time windows, pickup and delivery constraints, and backhauls. This suggests a high degree of generalizability.

Insights into NAR and AR Synergy:

The experimental results also provided key insights into why the synergy of NAR and AR models within L2Seg-Syn brings superior performance:

  • The NAR model excels at capturing the global unstable structure of the problem quickly. However, it tends to lack local dependency understanding and can "over-classify" within identified regions, meaning it might flag too many nodes as unstable.
  • The AR model, conversely, is highly effective at capturing local dependencies and making precise predictions within a given region. However, it struggles with the initial detection of these unstable regions from a global perspective.
  • L2Seg-Syn combines these strengths: NAR provides the efficient global detection to identify candidate regions, and AR then performs the precise local refinement within those regions, leading to the "best of both worlds" in terms of both speed and accuracy for unstable edge identification.

In summary, the experimental results unequivocally demonstrate that FSTA, powered by L2Seg-Syn, provides a highly effective and scalable solution for accelerating state-of-the-art iterative VRP solvers, pushing the boundaries of what is achievable in large-scale combinatorial optimization.

Practical Implications

▶ Watch: Q&A: Applicability to complex real-world VRP variants (11:20)

The FSTA and L2Seg framework offers significant practical implications for a wide range of stakeholders involved in logistics, operations research, and machine learning deployment:

For Practitioners (e.g., Logistics Managers, Transportation Planners):

  • Enhanced Efficiency for Large-Scale Operations: The most direct benefit is the ability to solve larger and more complex VRP instances (like those in last-mile delivery, ride-sharing, or supply chain optimization) significantly faster. An up to 7x acceleration means that companies can either optimize many more routes in the same amount of time or achieve higher-quality solutions for existing problems, leading to substantial cost savings, reduced fuel consumption, and improved customer satisfaction.
  • Real-time Adaptability: For dynamic routing scenarios (e.g., sudden order changes, traffic disruptions), the accelerated re-optimization capability means that routes can be adjusted much more quickly, improving responsiveness and operational flexibility.
  • Broader Applicability: The proven feasibility theorems for various VRP constraints (time windows, pickup/delivery, backhauls) ensure that the method is applicable to the majority of real-world routing problems, which often involve complex combinations of such constraints.

For Infrastructure Teams and ML Engineers:

  • Leveraging Existing Solvers: FSTA acts as an intelligent wrapper around existing backbone solvers. This means infra teams don't necessarily need to replace their highly tuned, production-grade VRP solvers but can enhance them with an ML-driven accelerator. This reduces integration complexity and risk.
  • Deployment of LGO: The work provides a concrete example of how to successfully deploy Learning-Guided Optimization (LGO) in a performance-critical domain. It demonstrates that integrating ML for guiding optimization, rather than replacing it entirely, can yield impressive results.
  • Scalability of ML Models: The L2Seg-Syn architecture, combining NAR for global detection and AR for local refinement, offers a blueprint for designing scalable ML models for other graph-based or combinatorial problems where both broad patterns and fine-grained details are important.

For Model Builders and Researchers:

  • New Paradigm for Solver Enhancement: This research opens up new avenues for integrating machine learning into traditional optimization. The "segment-then-aggregate" strategy, guided by learned instability, could be adapted to other iterative combinatorial optimization problems beyond VRPs.
  • Hybrid ML Architectures: The success of the NAR-AR synergy highlights the potential of designing hybrid neural architectures that combine different model types to leverage their complementary strengths for complex tasks. This could inspire similar designs in other ML applications.

Tradeoffs and Limitations:

  • Training Data Requirement: L2Seg requires supervised training data, which means generating labels using a "look-ahead oracle" (running the backbone solver to produce ground truth). This can be computationally intensive during the training phase, especially for very large problems.
  • Integration Complexity: While FSTA enhances existing solvers, integrating the ML component and managing the dynamic segmentation and aggregation process adds a layer of complexity to the overall system design.
  • Generalization to Novel Problem Structures: While robust across VRP variants, the model's performance might vary on entirely novel problem structures or constraints not seen during training, necessitating retraining or fine-tuning.
  • Accuracy of Unstable Edge Prediction: The overall performance hinges on the accuracy of L2Seg's predictions. Misidentifying stable edges as unstable (or vice-versa) could either lead to unnecessary re-optimization or, worse, prevent the solver from exploring optimal routes, potentially impacting solution quality. However, the results suggest L2Seg-Syn is highly effective in this task.

In essence, this work presents a powerful, practical tool for making large-scale combinatorial optimization problems more tractable, with far-reaching implications for operational efficiency and the broader adoption of AI in complex decision-making systems.

Key Takeaways

  • Redundancy in Solvers: Traditional iterative combinatorial optimization solvers often waste significant computational effort re-optimizing stable parts of a solution.
  • Learning-Guided Optimization (LGO) Power: Machine learning, specifically LGO, offers a promising paradigm to overcome human decision bottlenecks and accelerate complex optimization problems by intelligently guiding the search process.
  • FSTA for Acceleration: The Segment-Then-Aggregate (FSTA) pipeline effectively reduces the size of VRP instances by dynamically identifying and aggregating stable solution components, leading to substantial speedups for backbone solvers.
  • L2Seg for Intelligent Segmentation: L2Seg-Syn, a novel model combining Non-Auto-Regressive (NAR) for global detection and Auto-Regressive (AR) for local refinement, accurately learns to identify unstable edges critical for FSTA's segmentation.
  • Significant Performance Gains: The FSTA + L2Seg framework achieves up to 7x acceleration for state-of-the-art iterative VRP solvers and consistently outperforms baselines, with the performance gap widening at larger problem scales (e.g., >100 nodes).
  • Broad Applicability: The method is robust and extends to various complex VRP variants, including those with time windows, pickup/delivery, and backhauls, making it highly relevant for diverse real-world logistics challenges.

About the Speaker(s)

The research presented was a collaborative effort by Wenbin Ouyang, Sirui Li, Yining Ma, and Professor Cathy Wu. Wenbin Ouyang delivered the presentation, outlining the intricacies of the FSTA framework and L2Seg model. Professor Cathy Wu is affiliated with MIT, indicating the academic rigor and depth of the research originating from a leading institution in artificial intelligence and engineering. Their collective expertise spans machine learning and combinatorial optimization, which is evident in the innovative hybrid approach presented.

Reviews

→ Top-rated talks at International Conference on Learning Representations 2026

All talks from International Conference on Learning Representations 2026