File size: 3,561 Bytes
24f4100
 
 
 
 
 
 
 
 
dd0c2ea
 
 
24f4100
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96a607b
b658338
24f4100
 
 
 
 
 
 
 
 
 
 
 
 
96a607b
b658338
24f4100
 
 
 
 
96a607b
b658338
24f4100
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
---
pretty_name: "IsoNet++ Benchmark"
tags:
  - graphs
  - graph-retrieval
  - subgraph-isomorphism
  - graph-mining
  - graph-datasets
task_categories:
  - graph-ml
  - other
license: "cc-by-4.0"
---

# IsoNet++ Benchmark Dataset

The **IsoNet++ Benchmark** is a  *subgraph retrieval* benchmark derived from TUDataset graph datasets including:

- **AIDS**
- **MUTAG**
- **PTC** (FM, FR, MM, MR)

The benchmark is used to evaluate models that learn **graph representations** for:
- Graph similarity search
- Subgraph matching
- Retrieval at scale

This benchmark was introduced to evaluate the **IsoNet++** model.

---

## Dataset Structure

```
isonetpp-benchmark/
├─ corpus/                      # Searchable  graph collections
│   ├─ aids240k_corpus_subgraphs.pkl
│   ├─ mutag240k_corpus_subgraphs.pkl
│   ├─ ptc_fm240k_corpus_subgraphs.pkl
│   ├─ ptc_fr240k_corpus_subgraphs.pkl
│   ├─ ptc_mm240k_corpus_subgraphs.pkl
│   └─ ptc_mr240k_corpus_subgraphs.pkl
└─ splits/                      # Query → relevance evaluation sets
    ├─ train/
    │   ├─ train_<dataset>_query_subgraphs.pkl
    │   └─ train_<dataset>_rel_nx_is_subgraph_iso.pkl
    ├─ val/
    │   ├─ val_<dataset>_query_subgraphs.pkl
    │   └─ val_<dataset>_rel_nx_is_subgraph_iso.pkl
    └─ test/
        ├─ test_<dataset>_query_subgraphs.pkl
        └─ test_<dataset>_rel_nx_is_subgraph_iso.pkl
```

Where `<dataset>``{aids240k, mutag240k, ptc_fm240k, ptc_fr240k, ptc_mm240k, ptc_mr240k}`.

---

## Data Format

All `.pkl` files use Python `pickle` serialization:

| File Pattern | Description |
|-------------|-------------|
| `*_corpus_subgraphs.pkl` | List of NetworkX graphs representing the retrieval corpus |
| `*_query_subgraphs.pkl` | List of NetworkX graphs serving as query graphs |
| `*_rel_nx_is_subgraph_iso.pkl` | Binary labels from exact subgraph isomorphism (NetworkX VF2) |

---

## Load Examples

### Load Corpus

```python
from huggingface_hub import hf_hub_download
import pickle

path = hf_hub_download(
    "structlearning/isonetpp-benchmark",
    filename="large_dataset/corpus/aids240k_corpus_subgraphs.pkl",
    repo_type="dataset"
)
with open(path, "rb") as f:
    corpus_graphs = pickle.load(f)
```

### Load Query Split

```python
from huggingface_hub import hf_hub_download
import pickle

queries = pickle.load(open(
    hf_hub_download("structlearning/isonetpp-benchmark",
                    filename="large_dataset/splits/train/train_aids240k_query_subgraphs.pkl",
                    repo_type="dataset"),
    "rb"
))

labels = pickle.load(open(
    hf_hub_download("structlearning/isonetpp-benchmark",
                    filename="large_dataset/splits/train/train_aids240k_rel_nx_is_subgraph_iso.pkl",
                    repo_type="dataset"),
    "rb"
))
```

---

## Intended Use

This dataset is suitable for:

- Graph retrieval model evaluation
- Learning subgraph-aware representations
- Benchmarking hashing, GNN-based retrieval systems
- Reproducing IsoNet++ results

---

## Citation

If you use this dataset in research, please cite:

```
@inproceedings{ramachandraniteratively,
  title={Iteratively Refined Early Interaction Alignment for Subgraph Matching based Graph Retrieval},
  author={Ramachandran, Ashwin and Raj, Vaibhav and Roy, Indradyumna and Chakrabarti, Soumen and De, Abir},
  booktitle={The Thirty-eighth Annual Conference on Neural Information Processing Systems}
}
```

---

## License

This dataset is released under **CC-BY-4.0**.