docs: add release figures and embed in model card
#1
by 7ViksSai - opened
- .gitattributes +2 -0
- README.md +42 -3
- assets/architecture.png +3 -0
- assets/confident_wrong.png +0 -0
- assets/gap_vs_ccpfn.png +0 -0
- assets/graph_settings.png +0 -0
- assets/hero.png +3 -0
- assets/leaderboard_table.png +0 -0
- assets/pipeline.png +0 -0
- assets/refuse_concept.png +0 -0
- assets/t1_no_graph.png +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,5 @@ 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/architecture.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
assets/hero.png filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -14,6 +14,10 @@ pipeline_tag: tabular-regression
|
|
| 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)?
|
|
@@ -22,6 +26,21 @@ It returns the effect with a 90% range, the probability that the data can answer
|
|
| 22 |
|
| 23 |
- 3-seed ensemble of a ~4M-parameter axial transformer (12M parameters in total), trained only on synthetic worlds.
|
| 24 |
- A research release by [OLynk](https://huggingface.co/OlynkAI). Apache-2.0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
## Results
|
| 27 |
|
|
@@ -31,6 +50,22 @@ Frozen benchmark (included): 4,592 questions in 998 synthetic worlds from 23 wor
|
|
| 31 |
|
| 32 |
### No causal graph given
|
| 33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
| Method | T1 ↓ | T1 95% | Confident-wrong ↓ | Answers | 90% range covers |
|
| 35 |
|---|---|---|---|---|---|
|
| 36 |
| OLS on all history (widened ×1.37) | 0.412 | 0.387–0.439 | 42.4% | 100% | 88% |
|
|
@@ -46,6 +81,10 @@ T1 27.6% lower than the strongest baseline (95% interval of the gap: 22.6–32.2
|
|
| 46 |
|
| 47 |
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.
|
| 48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
| Method | T1 ↓ | T1 95% | Confident-wrong ↓ | Answers |
|
| 50 |
|---|---|---|---|---|
|
| 51 |
| Exact identification + OLS (widened) | 0.195 | 0.177–0.212 | 14.6% | 67% |
|
|
@@ -64,7 +103,7 @@ With a partial graph (each pair of variables revealed with probability 0.2–0.8
|
|
| 64 |
|
| 65 |
```bash
|
| 66 |
pip install torch numpy huggingface_hub
|
| 67 |
-
huggingface-cli download
|
| 68 |
```
|
| 69 |
|
| 70 |
```python
|
|
@@ -88,6 +127,7 @@ Reproduce the tables: `python evaluate_benchmark.py --weights weights --bench be
|
|
| 88 |
|
| 89 |
| Path | Contents |
|
| 90 |
|---|---|
|
|
|
|
| 91 |
| `weights/seed0.pt`, `seed1.pt`, `seed2.pt` | The three ensemble members |
|
| 92 |
| `piston/` | Model, inference API, benchmark loader, metrics |
|
| 93 |
| `benchmark/split_C.npz` | The frozen benchmark: panels, questions, true effects, answerability labels, true graphs |
|
|
@@ -120,7 +160,6 @@ The training environment and training data are not part of v0.1.
|
|
| 120 |
title = {Piston v0.1: a causal model for time series that knows when a question cannot be answered},
|
| 121 |
author = {Chenna, Sai Sathvik and OLynk},
|
| 122 |
year = {2026},
|
| 123 |
-
url = {https://huggingface.co/
|
| 124 |
}
|
| 125 |
```
|
| 126 |
-
|
|
|
|
| 14 |
|
| 15 |
**A small causal model for time series that knows when a question cannot be answered.**
|
| 16 |
|
| 17 |
+
<p align="center">
|
| 18 |
+
<img src="assets/hero.png" alt="Piston v0.1 — knows when a question cannot be answered" width="100%"/>
|
| 19 |
+
</p>
|
| 20 |
+
|
| 21 |
Give it a table of measurements over time (up to 9 variables, 128+ steps) and a what-if question:
|
| 22 |
|
| 23 |
> At some step *t*, set `treatment` to *x1* instead of *x0*. How much does `target` change *k* steps later (k = 1, 2, 3)?
|
|
|
|
| 26 |
|
| 27 |
- 3-seed ensemble of a ~4M-parameter axial transformer (12M parameters in total), trained only on synthetic worlds.
|
| 28 |
- A research release by [OLynk](https://huggingface.co/OlynkAI). Apache-2.0.
|
| 29 |
+
- Reproduce package: [github.com/OlynkAI/piston](https://github.com/OlynkAI/piston)
|
| 30 |
+
|
| 31 |
+
<p align="center">
|
| 32 |
+
<img src="assets/refuse_concept.png" alt="Always-answer baselines vs Piston selective prediction" width="100%"/>
|
| 33 |
+
</p>
|
| 34 |
+
|
| 35 |
+
## How it works
|
| 36 |
+
|
| 37 |
+
<p align="center">
|
| 38 |
+
<img src="assets/pipeline.png" alt="Piston inference path" width="100%"/>
|
| 39 |
+
</p>
|
| 40 |
+
|
| 41 |
+
<p align="center">
|
| 42 |
+
<img src="assets/architecture.png" alt="Piston architecture: axial attention, 3-seed mixture, effect + answerability heads" width="100%"/>
|
| 43 |
+
</p>
|
| 44 |
|
| 45 |
## Results
|
| 46 |
|
|
|
|
| 50 |
|
| 51 |
### No causal graph given
|
| 52 |
|
| 53 |
+
<p align="center">
|
| 54 |
+
<img src="assets/leaderboard_table.png" alt="Leaderboard table — no causal graph" width="100%"/>
|
| 55 |
+
</p>
|
| 56 |
+
|
| 57 |
+
<p align="center">
|
| 58 |
+
<img src="assets/t1_no_graph.png" alt="T1 AURC bar chart — Piston vs baselines" width="100%"/>
|
| 59 |
+
</p>
|
| 60 |
+
|
| 61 |
+
<p align="center">
|
| 62 |
+
<img src="assets/confident_wrong.png" alt="Confident-wrong rate comparison" width="100%"/>
|
| 63 |
+
</p>
|
| 64 |
+
|
| 65 |
+
<p align="center">
|
| 66 |
+
<img src="assets/gap_vs_ccpfn.png" alt="T1 gap versus CCPFN with bootstrap CI" width="100%"/>
|
| 67 |
+
</p>
|
| 68 |
+
|
| 69 |
| Method | T1 ↓ | T1 95% | Confident-wrong ↓ | Answers | 90% range covers |
|
| 70 |
|---|---|---|---|---|---|
|
| 71 |
| OLS on all history (widened ×1.37) | 0.412 | 0.387–0.439 | 42.4% | 100% | 88% |
|
|
|
|
| 81 |
|
| 82 |
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.
|
| 83 |
|
| 84 |
+
<p align="center">
|
| 85 |
+
<img src="assets/graph_settings.png" alt="Piston under none / partial / full graph and exact-ID hybrid" width="100%"/>
|
| 86 |
+
</p>
|
| 87 |
+
|
| 88 |
| Method | T1 ↓ | T1 95% | Confident-wrong ↓ | Answers |
|
| 89 |
|---|---|---|---|---|
|
| 90 |
| Exact identification + OLS (widened) | 0.195 | 0.177–0.212 | 14.6% | 67% |
|
|
|
|
| 103 |
|
| 104 |
```bash
|
| 105 |
pip install torch numpy huggingface_hub
|
| 106 |
+
huggingface-cli download OlynkAI/piston-v0.1 --local-dir piston-v0.1 && cd piston-v0.1
|
| 107 |
```
|
| 108 |
|
| 109 |
```python
|
|
|
|
| 127 |
|
| 128 |
| Path | Contents |
|
| 129 |
|---|---|
|
| 130 |
+
| `assets/` | Figures: hero, architecture, leaderboard charts and tables |
|
| 131 |
| `weights/seed0.pt`, `seed1.pt`, `seed2.pt` | The three ensemble members |
|
| 132 |
| `piston/` | Model, inference API, benchmark loader, metrics |
|
| 133 |
| `benchmark/split_C.npz` | The frozen benchmark: panels, questions, true effects, answerability labels, true graphs |
|
|
|
|
| 160 |
title = {Piston v0.1: a causal model for time series that knows when a question cannot be answered},
|
| 161 |
author = {Chenna, Sai Sathvik and OLynk},
|
| 162 |
year = {2026},
|
| 163 |
+
url = {https://huggingface.co/OlynkAI/piston-v0.1}
|
| 164 |
}
|
| 165 |
```
|
|
|
assets/architecture.png
ADDED
|
Git LFS Details
|
assets/confident_wrong.png
ADDED
|
assets/gap_vs_ccpfn.png
ADDED
|
assets/graph_settings.png
ADDED
|
assets/hero.png
ADDED
|
Git LFS Details
|
assets/leaderboard_table.png
ADDED
|
assets/pipeline.png
ADDED
|
assets/refuse_concept.png
ADDED
|
assets/t1_no_graph.png
ADDED
|