Datasets:
Update dataset card with hold-out experiment results
Browse files
README.md
CHANGED
|
@@ -190,6 +190,43 @@ All columns from `nodes.csv` plus:
|
|
| 190 |
- **DAG layers**: Kahn's algorithm; cycle nodes get layer=-1; namespace graph condensed via SCC
|
| 191 |
- **Namespace cycles**: 6,055 of 10,097 namespaces in 38 SCCs (largest: 5,899 nodes)
|
| 192 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 193 |
## License
|
| 194 |
|
| 195 |
Apache 2.0
|
|
|
|
| 190 |
- **DAG layers**: Kahn's algorithm; cycle nodes get layer=-1; namespace graph condensed via SCC
|
| 191 |
- **Namespace cycles**: 6,055 of 10,097 namespaces in 38 SCCs (largest: 5,899 nodes)
|
| 192 |
|
| 193 |
+
## Hold-Out Experiments
|
| 194 |
+
|
| 195 |
+
We validate the premise retrieval results with two levels of hold-out experiments to assess information leakage. In the original experiment, all network features (degree, PageRank, betweenness, community, DAG layer) are precomputed on the full graph. Hold-out experiments recompute features on a reduced graph to test whether full-graph computation inflates AUC.
|
| 196 |
+
|
| 197 |
+
### Edge-level hold-out
|
| 198 |
+
- Randomly remove 20% of edges, recompute all features on remaining 80% graph
|
| 199 |
+
- Tests whether full-graph feature computation inflates AUC
|
| 200 |
+
|
| 201 |
+
### Declaration-level hold-out
|
| 202 |
+
- Split theorems 80/20, remove ALL edges (incoming and outgoing) of test theorems from training graph
|
| 203 |
+
- Test theorems have zero degree in training graph
|
| 204 |
+
- Simulates the real scenario: predicting premises for a brand new theorem
|
| 205 |
+
|
| 206 |
+
### Results (Split 1, seed=42)
|
| 207 |
+
|
| 208 |
+
| Method | AUC (original) | AUC (edge hold-out) | AUC (decl hold-out) |
|
| 209 |
+
|--------|---------------|---------------------|---------------------|
|
| 210 |
+
| Random | 0.499 | 0.497 | 0.500 |
|
| 211 |
+
| Same module | 0.563 | 0.562 | 0.563 |
|
| 212 |
+
| Same namespace | 0.590 | 0.590 | 0.592 |
|
| 213 |
+
| Same community | 0.768 | 0.755 | 0.500 |
|
| 214 |
+
| Network features | 0.991 | 0.988 | 0.978 |
|
| 215 |
+
| All features | 0.994 | 0.992 | 0.984 |
|
| 216 |
+
|
| 217 |
+
The community feature drops to random (0.500) in declaration-level hold-out because test declarations become isolated nodes with unique community IDs. Despite this, the combined network feature model retains AUC=0.978, confirming that degree, PageRank, and DAG position carry genuine predictive signal independent of information leakage.
|
| 218 |
+
|
| 219 |
+
Full 5-split results with mean and std are in `experiments/holdout_decl_level.json` (updated incrementally).
|
| 220 |
+
|
| 221 |
+
### Experiment Files
|
| 222 |
+
|
| 223 |
+
| File | Description |
|
| 224 |
+
|------|-------------|
|
| 225 |
+
| `experiments/premise_retrieval_results.json` | Original experiment: 6 methods, 4 metrics, 95% CI |
|
| 226 |
+
| `experiments/premise_retrieval_hard_negatives.json` | Hard negatives (same-community) variant |
|
| 227 |
+
| `experiments/holdout_edge_level.json` | Edge-level hold-out (1 split) |
|
| 228 |
+
| `experiments/holdout_decl_level.json` | Declaration-level hold-out (5 splits, incremental) |
|
| 229 |
+
|
| 230 |
## License
|
| 231 |
|
| 232 |
Apache 2.0
|