Add task category, paper/code links, dataset description, and data generation example
Browse filesThis PR significantly improves the dataset card for `shengyuf/RLD4CO` by:
- Adding the `graph-ml` task category and relevant tags (`combinatorial-optimization`, `graph-generation`) for better discoverability on the Hugging Face Hub.
- Including a direct link to the paper ([https://huggingface.co/papers/2502.00277](https://huggingface.co/papers/2502.00277)) for comprehensive research context.
- Linking to the associated GitHub repository ([https://github.com/Shengyu-Feng/RLD4CO](https://github.com/Shengyu-Feng/RLD4CO)) for access to the code and further implementation details.
- Providing a descriptive introduction to the dataset's contents, clarifying that it provides test data and data generation scripts for combinatorial optimization problems.
- Incorporating a sample usage snippet for data generation, as explicitly found in the GitHub README, to guide users on how to generate similar graph instances.
- Adding the official BibTeX citation for proper academic attribution.
|
@@ -1,3 +1,51 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- graph-ml
|
| 5 |
+
tags:
|
| 6 |
+
- combinatorial-optimization
|
| 7 |
+
- graph-generation
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
This repository contains the test data and data generation scripts for combinatorial optimization problems presented in the paper [Regularized Langevin Dynamics for Combinatorial Optimization](https://huggingface.co/papers/2502.00277).
|
| 11 |
+
|
| 12 |
+
The paper proposes Regularized Langevin Dynamics (RLD) as an effective sampling framework for combinatorial optimization, developing two solvers: RLSA (simulated annealing) and RLNN (neural network based). This dataset provides the graph instances used for evaluating these methods.
|
| 13 |
+
|
| 14 |
+
Code: [https://github.com/Shengyu-Feng/RLD4CO](https://github.com/Shengyu-Feng/RLD4CO)
|
| 15 |
+
|
| 16 |
+
### Data Overview
|
| 17 |
+
|
| 18 |
+
We provide random graph generators in the associated GitHub repository for three classic combinatorial optimization problems, yielding various graph types and sizes:
|
| 19 |
+
|
| 20 |
+
- **Erdős–Rényi (ER):** ER-[700-800] (for training/validation/testing) and ER-[9000-11000] (for out-of-distribution testing). The ER test graphs are sourced from the [DIMES](https://github.com/DIMESTeam/DIMES) repository.
|
| 21 |
+
- **Revised Model B (RB):** RB-[200-300] and RB-[800-1200] (for training/validation/testing).
|
| 22 |
+
- **Barabási–Albert (BA):** BA-[200-300] and BA-[800-1200] (for training/validation/testing).
|
| 23 |
+
|
| 24 |
+
The RB and BA graphs are generated using code from [DIffUCO](https://github.com/ml-jku/DIffUCO). For fair comparison, the test data comprising 1000 instances per problem (split into two groups of 500-size test sets) can be directly downloaded from this repository.
|
| 25 |
+
|
| 26 |
+
### Data Generation Sample Usage
|
| 27 |
+
|
| 28 |
+
You can generate similar graph instances using the provided scripts in the `data` folder of the GitHub repository. For example, to generate Erdős–Rényi graphs:
|
| 29 |
+
|
| 30 |
+
```bash
|
| 31 |
+
cd data
|
| 32 |
+
|
| 33 |
+
python er_generator.py \
|
| 34 |
+
--num-graphs 1000 \
|
| 35 |
+
--min-n 700 --max-n 800 \
|
| 36 |
+
--seed 0 \
|
| 37 |
+
--save-dir ./ER_small_train \
|
| 38 |
+
--processes 10
|
| 39 |
+
```
|
| 40 |
+
|
| 41 |
+
### Citation
|
| 42 |
+
|
| 43 |
+
```bibtex
|
| 44 |
+
@inproceedings{feng2025regularizedlangevindynamicscombinatorial,
|
| 45 |
+
title={Regularized Langevin Dynamics for Combinatorial Optimization},
|
| 46 |
+
author={Shengyu Feng and Yiming Yang},
|
| 47 |
+
booktitle={International conference on machine learning},
|
| 48 |
+
year={2025},
|
| 49 |
+
organization={PMLR}
|
| 50 |
+
}
|
| 51 |
+
```
|