docs: OlynkAI branding; load figures from GitHub raw
#4
by 7ViksSai - opened
README.md
CHANGED
|
@@ -12,8 +12,13 @@ pipeline_tag: tabular-regression
|
|
| 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)?
|
|
@@ -21,7 +26,18 @@ Give it a table of measurements over time (up to 9 variables, 128+ steps) and a
|
|
| 21 |
It returns the effect with a 90% range, the probability that the data can answer the question at all (`p_answerable`), and the probability that the treatment reaches the target at that lag. It reads the data in context: no fitting per dataset.
|
| 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 [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
## Results
|
| 27 |
|
|
@@ -31,6 +47,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 +78,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 +100,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 +124,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 |
|
|
@@ -118,9 +155,8 @@ The training environment and training data are not part of v0.1.
|
|
| 118 |
```bibtex
|
| 119 |
@misc{piston2026,
|
| 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
|
| 122 |
year = {2026},
|
| 123 |
-
url = {https://huggingface.co/
|
| 124 |
}
|
| 125 |
```
|
| 126 |
-
|
|
|
|
| 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 |
+
<p align="center">
|
| 19 |
+
<img src="https://raw.githubusercontent.com/OlynkAI/piston/main/assets/hero.png" alt="Piston v0.1 — links" width="100%"/>
|
| 20 |
+
</p>
|
| 21 |
+
|
| 22 |
Give it a table of measurements over time (up to 9 variables, 128+ steps) and a what-if question:
|
| 23 |
|
| 24 |
> At some step *t*, set `treatment` to *x1* instead of *x0*. How much does `target` change *k* steps later (k = 1, 2, 3)?
|
|
|
|
| 26 |
It returns the effect with a 90% range, the probability that the data can answer the question at all (`p_answerable`), and the probability that the treatment reaches the target at that lag. It reads the data in context: no fitting per dataset.
|
| 27 |
|
| 28 |
- 3-seed ensemble of a ~4M-parameter axial transformer (12M parameters in total), trained only on synthetic worlds.
|
| 29 |
+
- A research release by [OlynkAI](https://huggingface.co/OlynkAI) (Olynk.AI LLP). Apache-2.0.
|
| 30 |
+
- Reproduce package: [github.com/OlynkAI/piston](https://github.com/OlynkAI/piston)
|
| 31 |
+
|
| 32 |
+
<p align="center">
|
| 33 |
+
<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%"/>
|
| 34 |
+
</p>
|
| 35 |
+
|
| 36 |
+
## How it works
|
| 37 |
+
|
| 38 |
+
<p align="center">
|
| 39 |
+
<img src="https://raw.githubusercontent.com/OlynkAI/piston/main/assets/pipeline.png" alt="Piston inference path" width="100%"/>
|
| 40 |
+
</p>
|
| 41 |
|
| 42 |
## Results
|
| 43 |
|
|
|
|
| 47 |
|
| 48 |
### No causal graph given
|
| 49 |
|
| 50 |
+
<p align="center">
|
| 51 |
+
<img src="https://raw.githubusercontent.com/OlynkAI/piston/main/assets/leaderboard_table.png" alt="Leaderboard table — no causal graph" width="100%"/>
|
| 52 |
+
</p>
|
| 53 |
+
|
| 54 |
+
<p align="center">
|
| 55 |
+
<img src="https://raw.githubusercontent.com/OlynkAI/piston/main/assets/t1_no_graph.png" alt="T1 AURC bar chart — Piston vs baselines" width="100%"/>
|
| 56 |
+
</p>
|
| 57 |
+
|
| 58 |
+
<p align="center">
|
| 59 |
+
<img src="https://raw.githubusercontent.com/OlynkAI/piston/main/assets/confident_wrong.png" alt="Confident-wrong rate comparison" width="100%"/>
|
| 60 |
+
</p>
|
| 61 |
+
|
| 62 |
+
<p align="center">
|
| 63 |
+
<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%"/>
|
| 64 |
+
</p>
|
| 65 |
+
|
| 66 |
| Method | T1 ↓ | T1 95% | Confident-wrong ↓ | Answers | 90% range covers |
|
| 67 |
|---|---|---|---|---|---|
|
| 68 |
| OLS on all history (widened ×1.37) | 0.412 | 0.387–0.439 | 42.4% | 100% | 88% |
|
|
|
|
| 78 |
|
| 79 |
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.
|
| 80 |
|
| 81 |
+
<p align="center">
|
| 82 |
+
<img src="https://raw.githubusercontent.com/OlynkAI/piston/main/assets/graph_settings.png" alt="Piston under none / partial / full graph and exact-ID hybrid" width="100%"/>
|
| 83 |
+
</p>
|
| 84 |
+
|
| 85 |
| Method | T1 ↓ | T1 95% | Confident-wrong ↓ | Answers |
|
| 86 |
|---|---|---|---|---|
|
| 87 |
| Exact identification + OLS (widened) | 0.195 | 0.177–0.212 | 14.6% | 67% |
|
|
|
|
| 100 |
|
| 101 |
```bash
|
| 102 |
pip install torch numpy huggingface_hub
|
| 103 |
+
huggingface-cli download OlynkAI/piston-v0.1 --local-dir piston-v0.1 && cd piston-v0.1
|
| 104 |
```
|
| 105 |
|
| 106 |
```python
|
|
|
|
| 124 |
|
| 125 |
| Path | Contents |
|
| 126 |
|---|---|
|
| 127 |
+
| `assets/` | Figures: hero, architecture, leaderboard charts and tables |
|
| 128 |
| `weights/seed0.pt`, `seed1.pt`, `seed2.pt` | The three ensemble members |
|
| 129 |
| `piston/` | Model, inference API, benchmark loader, metrics |
|
| 130 |
| `benchmark/split_C.npz` | The frozen benchmark: panels, questions, true effects, answerability labels, true graphs |
|
|
|
|
| 155 |
```bibtex
|
| 156 |
@misc{piston2026,
|
| 157 |
title = {Piston v0.1: a causal model for time series that knows when a question cannot be answered},
|
| 158 |
+
author = {Chenna, Sai Sathvik and OlynkAI},
|
| 159 |
year = {2026},
|
| 160 |
+
url = {https://huggingface.co/OlynkAI/piston-v0.1}
|
| 161 |
}
|
| 162 |
```
|
|
|