docs: tables + result plots only (drop marketing images)
#7
by 7ViksSai - opened
- .gitattributes +3 -0
- README.md +16 -30
- assets/confident_wrong.png +3 -0
- assets/graph_settings.png +3 -0
- assets/t1_no_graph.png +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
assets/confident_wrong.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
assets/graph_settings.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
assets/t1_no_graph.png filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -12,10 +12,8 @@ pipeline_tag: tabular-regression
|
|
| 12 |
|
| 13 |
# Piston v0.1
|
| 14 |
|
| 15 |
-
|
| 16 |
**A small causal model for time series that knows when a question cannot be answered.**
|
| 17 |
|
| 18 |
-
|
| 19 |
Give it a table of measurements over time (up to 9 variables, 128+ steps) and a what-if question:
|
| 20 |
|
| 21 |
> At some step *t*, set `treatment` to *x1* instead of *x0*. How much does `target` change *k* steps later (k = 1, 2, 3)?
|
|
@@ -26,15 +24,11 @@ It returns the effect with a 90% range, the probability that the data can answer
|
|
| 26 |
- A research release by [OlynkAI](https://huggingface.co/OlynkAI) (Olynk.AI LLP). Apache-2.0.
|
| 27 |
- Reproduce package: [github.com/OlynkAI/piston](https://github.com/OlynkAI/piston)
|
| 28 |
|
| 29 |
-
<p align="center">
|
| 30 |
-
<img src="https://raw.githubusercontent.com/OlynkAI/piston/main/assets/refuse_concept.png" alt="Baselines answer 100 percent; Piston answers 90 percent and refuses the rest" width="100%"/>
|
| 31 |
-
</p>
|
| 32 |
-
|
| 33 |
## How it works
|
| 34 |
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
<
|
| 38 |
|
| 39 |
## Results
|
| 40 |
|
|
@@ -44,22 +38,6 @@ Frozen benchmark (included): 4,592 questions in 998 synthetic worlds from 23 wor
|
|
| 44 |
|
| 45 |
### No causal graph given
|
| 46 |
|
| 47 |
-
<p align="center">
|
| 48 |
-
<img src="https://raw.githubusercontent.com/OlynkAI/piston/main/assets/leaderboard_table.png" alt="Leaderboard table — no causal graph" width="100%"/>
|
| 49 |
-
</p>
|
| 50 |
-
|
| 51 |
-
<p align="center">
|
| 52 |
-
<img src="https://raw.githubusercontent.com/OlynkAI/piston/main/assets/t1_no_graph.png" alt="T1 AURC bar chart — Piston vs baselines" width="100%"/>
|
| 53 |
-
</p>
|
| 54 |
-
|
| 55 |
-
<p align="center">
|
| 56 |
-
<img src="https://raw.githubusercontent.com/OlynkAI/piston/main/assets/confident_wrong.png" alt="Confident-wrong rate comparison" width="100%"/>
|
| 57 |
-
</p>
|
| 58 |
-
|
| 59 |
-
<p align="center">
|
| 60 |
-
<img src="https://raw.githubusercontent.com/OlynkAI/piston/main/assets/gap_vs_ccpfn.png" alt="Interval widening factors: Piston x1 vs Chronos x21 and TimesFM x56" width="100%"/>
|
| 61 |
-
</p>
|
| 62 |
-
|
| 63 |
| Method | T1 ↓ | T1 95% | Confident-wrong ↓ | Answers | 90% range covers |
|
| 64 |
|---|---|---|---|---|---|
|
| 65 |
| OLS on all history (widened ×1.37) | 0.412 | 0.387–0.439 | 42.4% | 100% | 88% |
|
|
@@ -71,14 +49,18 @@ Frozen benchmark (included): 4,592 questions in 998 synthetic worlds from 23 wor
|
|
| 71 |
|
| 72 |
T1 27.6% lower than the strongest baseline (95% interval of the gap: 22.6–32.2%).
|
| 73 |
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
|
| 78 |
<p align="center">
|
| 79 |
-
<img src="
|
| 80 |
</p>
|
| 81 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 82 |
| Method | T1 ↓ | T1 95% | Confident-wrong ↓ | Answers |
|
| 83 |
|---|---|---|---|---|
|
| 84 |
| Exact identification + OLS (widened) | 0.195 | 0.177–0.212 | 14.6% | 67% |
|
|
@@ -93,6 +75,10 @@ T1 37.0% lower than the strongest baseline (gap 29.4–44.1%). Which Piston rang
|
|
| 93 |
|
| 94 |
With a partial graph (each pair of variables revealed with probability 0.2–0.8) as input: T1 0.213 (0.194–0.234), confident-wrong 25.8% at 70% answered. No classical baseline for this setting yet.
|
| 95 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 96 |
## Quick start
|
| 97 |
|
| 98 |
```bash
|
|
@@ -121,7 +107,7 @@ Reproduce the tables: `python evaluate_benchmark.py --weights weights --bench be
|
|
| 121 |
|
| 122 |
| Path | Contents |
|
| 123 |
|---|---|
|
| 124 |
-
| `assets/` |
|
| 125 |
| `weights/seed0.pt`, `seed1.pt`, `seed2.pt` | The three ensemble members |
|
| 126 |
| `piston/` | Model, inference API, benchmark loader, metrics |
|
| 127 |
| `benchmark/split_C.npz` | The frozen benchmark: panels, questions, true effects, answerability labels, true graphs |
|
|
|
|
| 12 |
|
| 13 |
# Piston v0.1
|
| 14 |
|
|
|
|
| 15 |
**A small causal model for time series that knows when a question cannot be answered.**
|
| 16 |
|
|
|
|
| 17 |
Give it a table of measurements over time (up to 9 variables, 128+ steps) and a what-if question:
|
| 18 |
|
| 19 |
> At some step *t*, set `treatment` to *x1* instead of *x0*. How much does `target` change *k* steps later (k = 1, 2, 3)?
|
|
|
|
| 24 |
- A research release by [OlynkAI](https://huggingface.co/OlynkAI) (Olynk.AI LLP). Apache-2.0.
|
| 25 |
- Reproduce package: [github.com/OlynkAI/piston](https://github.com/OlynkAI/piston)
|
| 26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
## How it works
|
| 28 |
|
| 29 |
+
1. Encode the panel (last 256 steps, up to 9 variables) with an axial transformer.
|
| 30 |
+
2. Predict effect quantiles (5 / 50 / 95) for lag 1–3, plus `p_answerable` and reachability.
|
| 31 |
+
3. Refuse when `p_answerable < 0.5`. Baselines answer every question, including the ~32% that are not identifiable from the panel.
|
| 32 |
|
| 33 |
## Results
|
| 34 |
|
|
|
|
| 38 |
|
| 39 |
### No causal graph given
|
| 40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
| Method | T1 ↓ | T1 95% | Confident-wrong ↓ | Answers | 90% range covers |
|
| 42 |
|---|---|---|---|---|---|
|
| 43 |
| OLS on all history (widened ×1.37) | 0.412 | 0.387–0.439 | 42.4% | 100% | 88% |
|
|
|
|
| 49 |
|
| 50 |
T1 27.6% lower than the strongest baseline (95% interval of the gap: 22.6–32.2%).
|
| 51 |
|
| 52 |
+
<p align="center">
|
| 53 |
+
<img src="assets/t1_no_graph.png" alt="T1 AURC — Piston vs baselines" width="90%"/>
|
| 54 |
+
</p>
|
| 55 |
|
| 56 |
<p align="center">
|
| 57 |
+
<img src="assets/confident_wrong.png" alt="Confident-wrong rate" width="90%"/>
|
| 58 |
</p>
|
| 59 |
|
| 60 |
+
### Causal graph known
|
| 61 |
+
|
| 62 |
+
When the full graph is known, an exact identification algorithm can decide which questions are answerable. The best use of Piston then is as the estimator behind that algorithm.
|
| 63 |
+
|
| 64 |
| Method | T1 ↓ | T1 95% | Confident-wrong ↓ | Answers |
|
| 65 |
|---|---|---|---|---|
|
| 66 |
| Exact identification + OLS (widened) | 0.195 | 0.177–0.212 | 14.6% | 67% |
|
|
|
|
| 75 |
|
| 76 |
With a partial graph (each pair of variables revealed with probability 0.2–0.8) as input: T1 0.213 (0.194–0.234), confident-wrong 25.8% at 70% answered. No classical baseline for this setting yet.
|
| 77 |
|
| 78 |
+
<p align="center">
|
| 79 |
+
<img src="assets/graph_settings.png" alt="Piston under none / partial / full graph and exact-ID hybrid" width="90%"/>
|
| 80 |
+
</p>
|
| 81 |
+
|
| 82 |
## Quick start
|
| 83 |
|
| 84 |
```bash
|
|
|
|
| 107 |
|
| 108 |
| Path | Contents |
|
| 109 |
|---|---|
|
| 110 |
+
| `assets/` | Result plots (T1, confident-wrong, graph settings) |
|
| 111 |
| `weights/seed0.pt`, `seed1.pt`, `seed2.pt` | The three ensemble members |
|
| 112 |
| `piston/` | Model, inference API, benchmark loader, metrics |
|
| 113 |
| `benchmark/split_C.npz` | The frozen benchmark: panels, questions, true effects, answerability labels, true graphs |
|
assets/confident_wrong.png
ADDED
|
Git LFS Details
|
assets/graph_settings.png
ADDED
|
Git LFS Details
|
assets/t1_no_graph.png
ADDED
|
Git LFS Details
|