Improve dataset card: Add paper link, task categories, tags, abstract, sample usage, and citation

#1
by nielsr HF Staff - opened
Files changed (1) hide show
  1. README.md +101 -3
README.md CHANGED
@@ -1,15 +1,113 @@
1
  ---
2
  license: mit
 
 
3
  task_categories:
4
  - reinforcement-learning
 
5
  tags:
6
  - NCO
7
  - AI4CO
8
  - RL4CO
9
- size_categories:
10
- - 10K<n<100K
11
  ---
12
 
13
  # RouteFinder Data
14
 
15
- You may find instructions here: https://github.com/ai4co/routefinder
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
+ size_categories:
4
+ - 10K<n<100K
5
  task_categories:
6
  - reinforcement-learning
7
+ - graph-ml
8
  tags:
9
  - NCO
10
  - AI4CO
11
  - RL4CO
12
+ - vrp
13
+ - vehicle-routing-problems
14
  ---
15
 
16
  # RouteFinder Data
17
 
18
+ This repository contains datasets used and generated by **RouteFinder**, a comprehensive foundation model framework to tackle various Vehicle Routing Problem (VRP) variants.
19
+
20
+ **Paper**: [RouteFinder: Towards Foundation Models for Vehicle Routing Problems](https://huggingface.co/papers/2406.15007)
21
+ **GitHub Repository**: [https://github.com/ai4co/routefinder](https://github.com/ai4co/routefinder)
22
+
23
+ ## Abstract
24
+ This paper introduces RouteFinder, a comprehensive foundation model framework to tackle different Vehicle Routing Problem (VRP) variants. Our core idea is that a foundation model for VRPs should be able to represent variants by treating each as a subset of a generalized problem equipped with different attributes. We propose a unified VRP environment capable of efficiently handling any combination of these attributes. The RouteFinder model leverages a modern transformer-based encoder and global attribute embeddings to improve task representation. Additionally, we introduce two reinforcement learning techniques to enhance multi-task performance: mixed batch training, which enables training on different variants at once, and multi-variant reward normalization to balance different reward scales. Finally, we propose efficient adapter layers that enable fine-tuning for new variants with unseen attributes. Extensive experiments on 48 VRP variants show RouteFinder outperforms recent state-of-the-art learning methods.
25
+
26
+ ## Sample Usage
27
+
28
+ To get started with RouteFinder, you can download the data and checkpoints, and then run an experiment using the provided scripts.
29
+
30
+ ### Download data and checkpoints
31
+ To download the data and checkpoints from Hugging Face automatically, you can use:
32
+
33
+ ```bash
34
+ python scripts/download_hf.py
35
+ ```
36
+
37
+ ### Running an experiment
38
+ You can run a main experiment, for example, with the RouteFinder Transformer model:
39
+
40
+ ```bash
41
+ python run.py experiment=main/rf/rf-transformer-100
42
+ ```
43
+ For more detailed instructions, configuration options, and other scripts (e.g., for testing or data generation), please refer to the [GitHub repository](https://github.com/ai4co/routefinder).
44
+
45
+ ## Available Environments
46
+
47
+ The dataset provides instances for 48 VRP variants. All variants include the base Capacity (C). The five features Open Route (O), Backhaul (B), Duration Limit (L), Time Windows (TW), and Multi-depot (MD) can be combined into any subset, creating $2^5 = 32$ possible combinations. The Mixed (M) global feature adds 16 more Mixed Backhaul (MB) variants, resulting in a total of 48 variants.
48
+
49
+ | **VRP Variant** | **Capacity (C)** | **Open Route (O)** | **Backhaul (B)** | **Mixed (M)** | **Duration Limit (L)** | **Time Windows (TW)** | **Multi-depot (MD)** |
50
+ |:----------------|:----------------:|:------------------:|:----------------:|:-------------:|:----------------------:|:---------------------:|:-------------------:|
51
+ | CVRP | βœ” | | | | | | |
52
+ | OVRP | βœ” | βœ” | | | | | |
53
+ | VRPB | βœ” | | βœ” | | | | |
54
+ | VRPL | βœ” | | | | βœ” | | |
55
+ | VRPTW | βœ” | | | | | βœ” | |
56
+ | OVRPTW | βœ” | βœ” | | | | βœ” | |
57
+ | OVRPB | βœ” | βœ” | βœ” | | | | |
58
+ | OVRPL | βœ” | βœ” | | | βœ” | | |
59
+ | VRPBL | βœ” | | βœ” | | βœ” | | |
60
+ | VRPBTW | βœ” | | βœ” | | | βœ” | |
61
+ | VRPLTW | βœ” | | | | βœ” | βœ” | |
62
+ | OVRPBL | βœ” | βœ” | βœ” | | βœ” | | |
63
+ | OVRPBTW | βœ” | βœ” | βœ” | | | βœ” | |
64
+ | OVRPLTW | βœ” | βœ” | | | βœ” | βœ” | |
65
+ | VRPBLTW | βœ” | | βœ” | | βœ” | βœ” | |
66
+ | OVRPBLTW | βœ” | βœ” | βœ” | | βœ” | βœ” | |
67
+ | VRPMB | βœ” | | βœ” | βœ” | | | |
68
+ | OVRPMB | βœ” | βœ” | βœ” | βœ” | | | |
69
+ | VRPMBL | βœ” | | βœ” | βœ” | βœ” | | |
70
+ | VRPMBTW | βœ” | | βœ” | βœ” | | βœ” | |
71
+ | OVRPMBL | βœ” | βœ” | βœ” | βœ” | βœ” | | |
72
+ | OVRPMBTW | βœ” | βœ” | βœ” | βœ” | | βœ” | |
73
+ | VRPMBLTW | βœ” | | βœ” | βœ” | βœ” | βœ” | |
74
+ | OVRPMBLTW | βœ” | βœ” | βœ” | βœ” | βœ” | βœ” | |
75
+ | MDCVRP | βœ” | | | | | | βœ” |
76
+ | MDOVRP | βœ” | βœ” | | | | | βœ” |
77
+ | MDVRPB | βœ” | | βœ” | | | | βœ” |
78
+ | MDVRPL | βœ” | | | | βœ” | | βœ” |
79
+ | MDVRPTW | βœ” | | | | | βœ” | βœ” |
80
+ | MDOVRPTW | βœ” | βœ” | | | | βœ” | βœ” |
81
+ | MDOVRPB | βœ” | βœ” | βœ” | | | | βœ” |
82
+ | MDOVRPL | βœ” | βœ” | | | βœ” | | βœ” |
83
+ | MDVRPBL | βœ” | | βœ” | | βœ” | | βœ” |
84
+ | MDVRPBTW | βœ” | | βœ” | | | βœ” | βœ” |
85
+ | MDVRPLTW | βœ” | | | | βœ” | βœ” | βœ” |
86
+ | MDOVRPBL | βœ” | βœ” | βœ” | | βœ” | | βœ” |
87
+ | MDOVRPBTW | βœ” | βœ” | βœ” | | | βœ” | βœ” |
88
+ | MDOVRPLTW | βœ” | βœ” | | | βœ” | βœ” | βœ” |
89
+ | MDVRPBLTW | βœ” | | βœ” | | βœ” | βœ” | βœ” |
90
+ | MDOVRPBLTW | βœ” | βœ” | βœ” | | βœ” | βœ” | βœ” |
91
+ | MDVRPMB | βœ” | | βœ” | βœ” | | | βœ” |
92
+ | MDOVRPMB | βœ” | βœ” | βœ” | βœ” | | | βœ” |
93
+ | MDVRPMBL | βœ” | | βœ” | βœ” | βœ” | | βœ” |
94
+ | MDVRPMBTW | βœ” | | βœ” | βœ” | | βœ” | βœ” |
95
+ | MDOVRPMBL | βœ” | βœ” | βœ” | βœ” | βœ” | | βœ” |
96
+ | MDOVRPMBTW | βœ” | βœ” | βœ” | βœ” | | βœ” | βœ” |
97
+ | MDVRPMBLTW | βœ” | | βœ” | βœ” | βœ” | βœ” | βœ” |
98
+ | MDOVRPMBLTW | βœ” | βœ” | βœ” | βœ” | βœ” | βœ” | βœ” |
99
+
100
+ ## Citation
101
+ If you find RouteFinder valuable for your research or applied projects, please cite using the following BibTeX:
102
+
103
+ ```bibtex
104
+ @article{
105
+ berto2025routefinder,
106
+ title={{RouteFinder: Towards Foundation Models for Vehicle Routing Problems}},
107
+ author={Federico Berto and Chuanbo Hua and Nayeli Gast Zepeda and Andr{\'e} Hottung and Niels Wouda and Leon Lan and Junyoung Park and Kevin Tierney and Jinkyoo Park},
108
+ journal={Transactions on Machine Learning Research},
109
+ issn={2835-8856},
110
+ year={2025},
111
+ url={https://openreview.net/forum?id=QzGLoaOPiY},
112
+ }
113
+ ```