Datasets:
Languages:
English
Size:
1K<n<10K
ArXiv:
Tags:
temporal-reasoning
knowledge-graph
question-answering
benchmark
retrieval-augmented-generation
DOI:
License:
Add reference-retriever spec and retrieval-determinism sections
Browse files- v1.0.1-addendum.md +36 -2
v1.0.1-addendum.md
CHANGED
|
@@ -88,7 +88,41 @@ functional subset (1,429/1,743 test questions), and the interval × stale cell
|
|
| 88 |
|
| 89 |
---
|
| 90 |
|
| 91 |
-
### 3.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 92 |
|
| 93 |
Neither of these changes any published number, but both are load-bearing if you
|
| 94 |
rebuild the reference retriever and expect to reproduce our figures.
|
|
@@ -134,7 +168,7 @@ iv = [r for r in rows if r["operator_type"] == "interval"]
|
|
| 134 |
print(len(iv), sum(str(r["t_query"]).startswith(str(r["answer"])) for r in iv))
|
| 135 |
```
|
| 136 |
|
| 137 |
-
**The retrieval-side numbers (§2
|
| 138 |
regenerable from this release.** They require the reference retriever and
|
| 139 |
generator, which are not included here. They are instead shipped as *outputs*:
|
| 140 |
every figure behind those claims is in `baselines/`, so each is checkable
|
|
|
|
| 88 |
|
| 89 |
---
|
| 90 |
|
| 91 |
+
### 3. Reference retriever: full specification
|
| 92 |
+
|
| 93 |
+
A reviewer noted that the BFS+BM25 reference retriever is underspecified on
|
| 94 |
+
indexing and ranking. The paper has no room for it, so the complete spec is
|
| 95 |
+
here. This describes the *reference baseline* whose outputs ship in
|
| 96 |
+
`baselines/` — it is not part of the benchmark, and nothing in the benchmark
|
| 97 |
+
depends on it.
|
| 98 |
+
|
| 99 |
+
**Indexing.** One BM25 document per KG quadruple (550,376 documents). Document
|
| 100 |
+
text is `label(s) label(r) label(o)`, lowercased and `\w+`-tokenised;
|
| 101 |
+
unresolvable QIDs fall back to the raw QID string. **The validity window is
|
| 102 |
+
never indexed** — time enters only through the graph filter, which is why a
|
| 103 |
+
stale variant and its gold counterpart are lexically identical (§2).
|
| 104 |
+
|
| 105 |
+
**BM25.** Okapi, `k1 = 1.5`, `b = 0.75`, with Lucene-style smoothed IDF
|
| 106 |
+
`log(1 + (N - df + 0.5) / (df + 0.5))`, `N = 550,376`. Query terms are
|
| 107 |
+
deduplicated (no query-term-frequency / `k3` component). `avgdl` is computed
|
| 108 |
+
over the same corpus.
|
| 109 |
+
|
| 110 |
+
**Candidate generation (BFS).** The anchor is the gold first-hop subject
|
| 111 |
+
(oracle); the non-oracle variant uses a deliberately simple longest-substring
|
| 112 |
+
linker over entity labels, 60.2% anchor recall. Expansion is undirected via the
|
| 113 |
+
entity index, with a per-hop temporal filter `valid_at(t_query)` — exact-year
|
| 114 |
+
equality, since the source KG is point-in-time. Per-hop caps are 60 / 200 / 400
|
| 115 |
+
for hops 1 / 2 / 3, applied in CSV load order **before** BM25 re-ranking. The
|
| 116 |
+
pool is deduplicated on `(s, r, o)`, keeping the first time-version.
|
| 117 |
+
|
| 118 |
+
**Ranking.** BM25 re-ranks the surviving pool. Candidates are grouped by
|
| 119 |
+
`(s, r, o)`, rendered as one evidence line each, sorted by score descending, and
|
| 120 |
+
truncated to `k = 15` (`k = 25` for the 3-hop ablation). The stale-blind
|
| 121 |
+
ablation is the identical architecture with the temporal filter off.
|
| 122 |
+
|
| 123 |
+
---
|
| 124 |
+
|
| 125 |
+
### 4. Retrieval determinism: two rules a reimplementation must match
|
| 126 |
|
| 127 |
Neither of these changes any published number, but both are load-bearing if you
|
| 128 |
rebuild the reference retriever and expect to reproduce our figures.
|
|
|
|
| 168 |
print(len(iv), sum(str(r["t_query"]).startswith(str(r["answer"])) for r in iv))
|
| 169 |
```
|
| 170 |
|
| 171 |
+
**The retrieval-side numbers (§2–§4, and the paper's tables) are *not*
|
| 172 |
regenerable from this release.** They require the reference retriever and
|
| 173 |
generator, which are not included here. They are instead shipped as *outputs*:
|
| 174 |
every figure behind those claims is in `baselines/`, so each is checkable
|