Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: PrimeKG-CL
|
| 3 |
+
license: cc-by-4.0
|
| 4 |
+
task_categories:
|
| 5 |
+
- other
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
tags:
|
| 9 |
+
- biomedical
|
| 10 |
+
- knowledge-graph
|
| 11 |
+
- continual-learning
|
| 12 |
+
- link-prediction
|
| 13 |
+
size_categories:
|
| 14 |
+
- 10M<n<100M
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# PrimeKG-CL
|
| 18 |
+
|
| 19 |
+
PrimeKG-CL is a continual graph learning benchmark built on an evolving biomedical knowledge graph. It contains two temporal snapshots (`t0`, `t1`), temporal diffs, 10 continual-learning tasks, and multimodal node features for evaluating retention/forgetting under distribution shift.
|
| 20 |
+
|
| 21 |
+
This dataset repository stores the benchmark under the `benchmark/` directory.
|
| 22 |
+
|
| 23 |
+
## Dataset Summary
|
| 24 |
+
|
| 25 |
+
- **Domain:** Biomedical knowledge graphs
|
| 26 |
+
- **Primary use:** Continual knowledge graph completion / link prediction
|
| 27 |
+
- **Snapshots:**
|
| 28 |
+
- `benchmark/snapshots/kg_t0.csv` (June 2021 PrimeKG release): 8,100,498 triples, 129,375 nodes, 30 relations
|
| 29 |
+
- `benchmark/snapshots/kg_t1.csv` (July 2023 reconstruction): 13,001,666 triples, 134,211 nodes, 25 relations
|
| 30 |
+
- **Temporal change (`t0 -> t1`):**
|
| 31 |
+
- Added: 5,760,234 triples
|
| 32 |
+
- Removed: 888,848 triples
|
| 33 |
+
- Persistent: 7,208,624 triples
|
| 34 |
+
|
| 35 |
+
## Repository Structure
|
| 36 |
+
|
| 37 |
+
- `benchmark/README.md`: benchmark documentation
|
| 38 |
+
- `benchmark/LICENSE`: benchmark licensing terms
|
| 39 |
+
- `benchmark/snapshots/`: temporal KG snapshots and build provenance
|
| 40 |
+
- `benchmark/diffs/diff_t0_t1.json`: full temporal diff and relation-level breakdown
|
| 41 |
+
- `benchmark/tasks/task_*/`: 10 continual tasks with `train.txt`, `valid.txt`, `test.txt`
|
| 42 |
+
- `benchmark/test_stratification.json`: persistent/added/removed test strata per task
|
| 43 |
+
- `benchmark/features/`: multimodal features and graph tensors
|
| 44 |
+
- `benchmark/statistics.json`: benchmark-level summary statistics
|
| 45 |
+
- `benchmark/croissant.json`: MLCommons Croissant metadata
|
| 46 |
+
|
| 47 |
+
## Data Format
|
| 48 |
+
|
| 49 |
+
- Triple files are tab-separated text with one triple per line:
|
| 50 |
+
- `head_id<TAB>relation<TAB>tail_id`
|
| 51 |
+
- Task splits use 70/10/20 train/valid/test.
|
| 52 |
+
- Feature tensors are stored as `.pt` files.
|
| 53 |
+
|
| 54 |
+
## Suggested Usage
|
| 55 |
+
|
| 56 |
+
1. Use `task_0_base` as the base pretraining stage on `t0`.
|
| 57 |
+
2. Train/evaluate sequentially on tasks `task_1_*` through `task_5_*`.
|
| 58 |
+
3. Report both aggregate and stratified metrics (persistent vs added vs removed), using `benchmark/test_stratification.json`.
|
| 59 |
+
|
| 60 |
+
## Limitations and Considerations
|
| 61 |
+
|
| 62 |
+
- This benchmark reflects biomedical database curation quality and biases from source resources.
|
| 63 |
+
- `t1` reconstruction intentionally excludes re-querying some restrictively licensed sources; corresponding `t0` edges are carried forward unchanged.
|
| 64 |
+
- Performance on this benchmark does not imply clinical validity.
|
| 65 |
+
|
| 66 |
+
## Licensing
|
| 67 |
+
|
| 68 |
+
- **Data files:** CC BY 4.0 (inherits PrimeKG license)
|
| 69 |
+
- **Code/config components:** MIT
|
| 70 |
+
|
| 71 |
+
Users must comply with applicable upstream database licenses where required.
|
| 72 |
+
|
| 73 |
+
## Citation
|
| 74 |
+
|
| 75 |
+
If you use this dataset, please cite:
|
| 76 |
+
|
| 77 |
+
```bibtex
|
| 78 |
+
@inproceedings{primekgcl2026,
|
| 79 |
+
title={PrimeKG-CL: A Continual Graph Learning Benchmark on Evolving Biomedical Knowledge Graphs},
|
| 80 |
+
author={Anonymous},
|
| 81 |
+
booktitle={NeurIPS Datasets and Benchmarks Track},
|
| 82 |
+
year={2026}
|
| 83 |
+
}
|
| 84 |
+
```
|