Datasets:
jiedong.yjd commited on
Commit ·
8d9a841
1
Parent(s): 783b958
Update README release and evaluation protocol
Browse files
README.md
CHANGED
|
@@ -14,23 +14,22 @@ tags:
|
|
| 14 |
pretty_name: TransitLM
|
| 15 |
---
|
| 16 |
|
| 17 |
-
# TransitLM
|
| 18 |
|
| 19 |
## Dataset Description
|
| 20 |
|
| 21 |
-
TransitLM is a dataset for public transit route planning in Chinese urban environments
|
| 22 |
|
| 23 |
-
|
| 24 |
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
## Dataset Release & Evaluation Protocol
|
| 32 |
|
| 33 |
-
All released data follows the anonymization principles described in our paper.
|
| 34 |
|
| 35 |
**Overview.** We release two parallel test sets that correspond one-to-one, serving different model categories:
|
| 36 |
|
|
@@ -39,6 +38,8 @@ All released data follows the anonymization principles described in our paper.
|
|
| 39 |
|
| 40 |
This parallel design ensures fair evaluation for both model types while keeping results directly comparable.
|
| 41 |
|
|
|
|
|
|
|
| 42 |
## 1. Benchmark Test Samples
|
| 43 |
|
| 44 |
30,000 test examples across three tasks: optimal route generation, preference-aware planning, and multi-route generation.
|
|
@@ -52,6 +53,8 @@ This parallel design ensures fair evaluation for both model types while keeping
|
|
| 52 |
|
| 53 |
**Privacy.** These samples contain no user identifiers, no timestamps, and no cross-record linkage. Each is an isolated OD request. All station coordinates and names are already publicly accessible through mapping APIs, so releasing them in benchmark format introduces no additional privacy risk.
|
| 54 |
|
|
|
|
|
|
|
| 55 |
## 2. CPT + SFT Corpus (Anonymized)
|
| 56 |
|
| 57 |
13.9M CPT records, 90K SFT training examples, and 30K SFT test examples.
|
|
@@ -60,7 +63,7 @@ This parallel design ensures fair evaluation for both model types while keeping
|
|
| 60 |
|
| 61 |
| Transformation | Method | Training Impact |
|
| 62 |
|---|---|---|
|
| 63 |
-
| Coordinate perturbation | Deterministic hash-based offset,
|
| 64 |
| Station name removal | Names removed from station sequences, retaining only numeric IDs | None. Topological learning relies on IDs and connectivity |
|
| 65 |
|
| 66 |
**Rationale.** Bulk harvesting coordinate-ID mappings from a 13.9M-record corpus could enable unauthorized commercial use. OD coordinates reflect real user trip intentions. Perturbation combined with structural safeguards prevents re-identification.
|
|
@@ -73,6 +76,8 @@ The 30K SFT test samples undergo identical anonymization. See the Overview above
|
|
| 73 |
|
| 74 |
Despite anonymization, this corpus fully supports continual pre-training for transit topology and spatial reasoning, supervised fine-tuning for all three benchmark tasks, and reproducibility of all paper results.
|
| 75 |
|
|
|
|
|
|
|
| 76 |
## 3. Privacy Architecture
|
| 77 |
|
| 78 |
Unlike GPS trajectory datasets such as T-Drive or GeoLife that record continuous multi-day traces enabling re-identification, each record here is an isolated OD planning request with no temporal continuity.
|
|
@@ -84,17 +89,15 @@ Structural safeguards enforced at the data construction stage:
|
|
| 84 |
|
| 85 |
These properties make it infeasible to associate records with the same individual or reconstruct mobility patterns, regardless of coordinate perturbation.
|
| 86 |
|
|
|
|
|
|
|
| 87 |
## 4. Why Both Perturbed and Real Data?
|
| 88 |
|
| 89 |
| Concern | Anonymized corpus | Benchmark samples |
|
| 90 |
|---|---|---|
|
| 91 |
-
| Coordinate privacy |
|
| 92 |
-
| Fair evaluation |
|
| 93 |
-
| Reproducibility |
|
| 94 |
-
| Training utility |
|
| 95 |
|
| 96 |
This dual-release design maximizes research utility through reproducible training and fair evaluation, while minimizing privacy exposure by applying perturbation only where data scale creates risk.
|
| 97 |
-
|
| 98 |
-
## Dataset Status
|
| 99 |
-
|
| 100 |
-
This repository is currently being uploaded incrementally. The files currently visible on Hugging Face may represent only part of the full dataset.
|
|
|
|
| 14 |
pretty_name: TransitLM
|
| 15 |
---
|
| 16 |
|
| 17 |
+
# TransitLM: Dataset Release & Evaluation Protocol
|
| 18 |
|
| 19 |
## Dataset Description
|
| 20 |
|
| 21 |
+
TransitLM is a dataset for public transit route planning in Chinese urban environments, designed to support training and evaluation of language models that generate structured transit routes from origin-destination information. The full dataset covers four cities: Beijing, Shanghai, Shenzhen, and Chengdu, and includes coordinates, station sequences, transfer structure, line information, and route annotations.
|
| 22 |
|
| 23 |
+
### Released Files
|
| 24 |
|
| 25 |
+
| File Pattern | Content | Section |
|
| 26 |
+
|---|---|---|
|
| 27 |
+
| `transit-lm-benchmark*-train.csv` | Anonymized SFT training splits (benchmark-aligned) | §2 |
|
| 28 |
+
| `transit-lm-benchmark*-test.csv` | Anonymized SFT test splits for task evaluation | §2 |
|
| 29 |
+
| `transit-lm-general-benchmark*-test.csv` | Real-world benchmark test sets (real station names + coordinates) | §1 |
|
| 30 |
+
| `transit-lm-station-info.csv` | Static station-level reference information | — |
|
|
|
|
| 31 |
|
| 32 |
+
All released data follows the anonymization principles described in our paper. The sections below explain the data treatment and evaluation protocol for each component.
|
| 33 |
|
| 34 |
**Overview.** We release two parallel test sets that correspond one-to-one, serving different model categories:
|
| 35 |
|
|
|
|
| 38 |
|
| 39 |
This parallel design ensures fair evaluation for both model types while keeping results directly comparable.
|
| 40 |
|
| 41 |
+
---
|
| 42 |
+
|
| 43 |
## 1. Benchmark Test Samples
|
| 44 |
|
| 45 |
30,000 test examples across three tasks: optimal route generation, preference-aware planning, and multi-route generation.
|
|
|
|
| 53 |
|
| 54 |
**Privacy.** These samples contain no user identifiers, no timestamps, and no cross-record linkage. Each is an isolated OD request. All station coordinates and names are already publicly accessible through mapping APIs, so releasing them in benchmark format introduces no additional privacy risk.
|
| 55 |
|
| 56 |
+
---
|
| 57 |
+
|
| 58 |
## 2. CPT + SFT Corpus (Anonymized)
|
| 59 |
|
| 60 |
13.9M CPT records, 90K SFT training examples, and 30K SFT test examples.
|
|
|
|
| 63 |
|
| 64 |
| Transformation | Method | Training Impact |
|
| 65 |
|---|---|---|
|
| 66 |
+
| Coordinate perturbation | Deterministic hash-based offset, ±100m on a ~500m grid | Negligible. Grid-coherent offset preserves spatial structure. Error < 0.1% of mean route length |
|
| 67 |
| Station name removal | Names removed from station sequences, retaining only numeric IDs | None. Topological learning relies on IDs and connectivity |
|
| 68 |
|
| 69 |
**Rationale.** Bulk harvesting coordinate-ID mappings from a 13.9M-record corpus could enable unauthorized commercial use. OD coordinates reflect real user trip intentions. Perturbation combined with structural safeguards prevents re-identification.
|
|
|
|
| 76 |
|
| 77 |
Despite anonymization, this corpus fully supports continual pre-training for transit topology and spatial reasoning, supervised fine-tuning for all three benchmark tasks, and reproducibility of all paper results.
|
| 78 |
|
| 79 |
+
---
|
| 80 |
+
|
| 81 |
## 3. Privacy Architecture
|
| 82 |
|
| 83 |
Unlike GPS trajectory datasets such as T-Drive or GeoLife that record continuous multi-day traces enabling re-identification, each record here is an isolated OD planning request with no temporal continuity.
|
|
|
|
| 89 |
|
| 90 |
These properties make it infeasible to associate records with the same individual or reconstruct mobility patterns, regardless of coordinate perturbation.
|
| 91 |
|
| 92 |
+
---
|
| 93 |
+
|
| 94 |
## 4. Why Both Perturbed and Real Data?
|
| 95 |
|
| 96 |
| Concern | Anonymized corpus | Benchmark samples |
|
| 97 |
|---|---|---|
|
| 98 |
+
| Coordinate privacy | ✅ ±100m perturbation prevents bulk harvesting | Public data, no new risk |
|
| 99 |
+
| Fair evaluation | ❌ Perturbed coordinates disadvantage general LLMs | ✅ Real coordinates enable direct comparison |
|
| 100 |
+
| Reproducibility | ✅ Full training pipeline reproducible | ✅ Standardized community test set |
|
| 101 |
+
| Training utility | ✅ < 0.1% spatial error, topology preserved | Not used for training |
|
| 102 |
|
| 103 |
This dual-release design maximizes research utility through reproducible training and fair evaluation, while minimizing privacy exposure by applying perturbation only where data scale creates risk.
|
|
|
|
|
|
|
|
|
|
|
|