Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,35 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
---
|
| 4 |
+
# Systematic, Multipath, disjunctive Spatio-Temporal Reasoning (STaR) benchmark
|
| 5 |
+
|
| 6 |
+
## Main idea
|
| 7 |
+
This is part the [paper](https://huggingface.co/papers/2407.17396) published in ICLR 2025 where further details can be found.
|
| 8 |
+
|
| 9 |
+
The main idea is to expand the concept of binary relational composition to not just be atomic and require that a model reason over multiple paths instead of a single one.
|
| 10 |
+
|
| 11 |
+
This can be seen from the example below contrasted with previous benchmarks.
|
| 12 |
+
|
| 13 |
+

|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
## Details
|
| 17 |
+
The layout is the same for each dataset in the benchmark. There are two axes of complexity
|
| 18 |
+
|
| 19 |
+
1. **$k$**: the path length between the source and target node and
|
| 20 |
+
2. **$b$**: the number of paths between the source and target nodes
|
| 21 |
+
|
| 22 |
+
Each dataset has the following rows:
|
| 23 |
+
|
| 24 |
+
| Edge Index | Edge Labels | Query Edge | Query Label |
|
| 25 |
+
|------------|-------------|------------|-------------|
|
| 26 |
+
| [(0,1), ...] | EQ | (0,5) | TPP |
|
| 27 |
+
|
| 28 |
+
- **Edge Index**: `List[Tuple[int, int]]`. A list of edges characterizing the graph.
|
| 29 |
+
- **Edge Labels**: `List[str]`. A list of edge labels corresponding to the edge index.
|
| 30 |
+
- **Query Edge**: `Tuple[int, int]`. The target edge that a model needs to predict.
|
| 31 |
+
- **Query Label**: `str`. The label corresponding to the query edge.
|
| 32 |
+
|
| 33 |
+
The training sets marked by `train_*.csv` for RCC-8 and Interval algebra (the semigroups that constitute the datasets) contain small graphs of $k=2,3,4$ and $b=1,2,3$.
|
| 34 |
+
|
| 35 |
+
The rest of the datasets are for testing systematic generalization. The target classes are balanced.
|