nur-dev commited on
Commit
de7d913
·
verified ·
1 Parent(s): 29fb6e1

Upload folder using huggingface_hub

Browse files
CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
  # Changelog
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ## 1.0.1 - 2026-07-21
4
 
5
  - Flattened the 6903 interaction records to CSV for correct Hugging Face Dataset Viewer inference.
 
1
  # Changelog
2
 
3
+ ## 1.2.0 - 2026-07-21
4
+
5
+ - Added two fresh Q25 graph-adapter, interaction-audit, mixed-integer selection, and physical-export campaigns over the frozen 118-head candidate pool.
6
+ - Added the cached prefill/decode benchmark and fixed-size global/local KV-cache implementation.
7
+ - Corrected the dense H0 comparator to use exactly the graph-head/program capacity of each Q25 export.
8
+ - Recorded that all three corrected marginal graph-effect intervals include zero; localization/PPL preservation and typed graph computation are therefore reported as separate findings.
9
+ - Updated the manuscript title and generated tables to avoid attributing all 25% localization to the 14--15 graph-enabled heads.
10
+
11
+ ## 1.1.0 - 2026-07-21
12
+
13
+ - Added a post-review confirmation over 470 document-disjoint 8192-token windows with paired document-bootstrap confidence intervals.
14
+ - Added an untouched 2000-case semantic confirmation split beyond all adapter-training, interaction-audit, and frontier-selection indices.
15
+ - Corrected the architecture description from grouped-query attention to standard 16-head multi-head attention.
16
+ - Separated the 81 local-only heads from the 15 final-layer graph-enabled heads and documented that ordinary PPL runs with graph reads disabled.
17
+ - Added exact token-KV accounting: 25% fewer full-history heads and 21.875% fewer token-KV bytes before graph state.
18
+ - Narrowed the article title and claims to functional localization with typed semantic handoff.
19
+
20
  ## 1.0.1 - 2026-07-21
21
 
22
  - Flattened the 6903 interaction records to CSV for correct Hugging Face Dataset Viewer inference.
CITATION.cff CHANGED
@@ -2,7 +2,7 @@ cff-version: 1.2.0
2
  message: "If you use these artifacts, cite the accompanying article and this repository release."
3
  title: "STRATA HEADQUOTIENT Q25 Reproducibility Artifacts"
4
  type: dataset
5
- version: 1.0.1
6
  date-released: 2026-07-21
7
  license: CC-BY-4.0
8
  authors:
@@ -16,14 +16,14 @@ repository-code: "https://huggingface.co/datasets/nur-dev/strata-headquotient-q2
16
  url: "https://huggingface.co/datasets/nur-dev/strata-headquotient-q25"
17
  keywords:
18
  - attention substitution
19
- - grouped-query attention
20
  - knowledge graphs
21
  - long-context language models
22
  - neuro-symbolic learning
23
  - reproducibility
24
  preferred-citation:
25
  type: article
26
- title: "STRATA: Typed Predicate-Graph Programs Enable Physical Replacement of One Quarter of Global KV Groups at 8k Context"
27
  authors:
28
  - family-names: Kadyrbek
29
  given-names: Nurgali
 
2
  message: "If you use these artifacts, cite the accompanying article and this repository release."
3
  title: "STRATA HEADQUOTIENT Q25 Reproducibility Artifacts"
4
  type: dataset
5
+ version: 1.2.0
6
  date-released: 2026-07-21
7
  license: CC-BY-4.0
8
  authors:
 
16
  url: "https://huggingface.co/datasets/nur-dev/strata-headquotient-q25"
17
  keywords:
18
  - attention substitution
19
+ - multi-head attention
20
  - knowledge graphs
21
  - long-context language models
22
  - neuro-symbolic learning
23
  - reproducibility
24
  preferred-citation:
25
  type: article
26
+ title: "STRATA-HeadQuotient: Functional Localization of One Quarter of Global KV Heads with Typed Predicate-Graph Computation at 8k Context"
27
  authors:
28
  - family-names: Kadyrbek
29
  given-names: Nurgali
MANIFEST.sha256 CHANGED
@@ -1,16 +1,16 @@
1
  ce29a99003918cb7996582b22985d768809d5591a741cadf9baefb573b1b67d8 .gitattributes
2
- 971020c1a10315e4a8e3fb675aa99f992b2436a378d99e3f3d60f4177557aa4e CHANGELOG.md
3
- 50fa2cb096caa9eb2146af5518ced52107d268a8e87d3ff81664598a6613ef59 CITATION.cff
4
  506798da85f78c2abe11c01492633ca1b3e880f0e83211c1b70be885c1c23825 LICENSE
5
- c6a84864ce5d0446a81012b2db4bf9cd6db7246ee87d5ed750cc452262c5b098 README.md
6
- 44e161e4495cac2cf7858043e9e6418e9579f0ddcfae826f9a372622968ce066 VERSION
7
  54bbf7c867415f51366bc8e7aeb29c417ebcb9cd3e38257483ed8663944efeca config/headquotient_v1.json
8
  243d5f4e286e2a9ca874dac900f76f1c147d7a79794fe341dfc57a9d1ff965a5 config/headquotient_v1_1.json
9
- b778715034ee1f6edc77c738422c9f0e83eedc0c6a2017f044b13dee86d81e50 data/computational_taxonomy.csv
10
  0ced2d36c371d4e3b1b459d6e785cff610c18cbe3071900767accfd33e423378 data/group_classifications.csv
11
  9172e2383da63ba1a927d3988fb963a74d17002f43465eec6edc09ee706ef137 data/pair_interactions.csv
12
- d323a0fd84bc8e4dbf41ce9482e5ac12becd084b6d59d0a4196c7b7ed8f2b4dc data/reported_metrics.csv
13
- cb269bca3db9f419f43aef109a6b7db316fa833a399ccf78b84ef1d5127edd05 data/use_case_classifications.csv
14
  e4b8c136dcfe4e7b503b2bc3fac02a0af5eef2f5a24f976db5cd4b29434e30bb raw/completion_manifest.json
15
  211b2d42f1b5b6d337e04b7b6065ab9133379d900685df6e6e2e246ee7b2eb1c raw/external/evidence_decisions.json
16
  91b23e3453e8b4e138dec5bce424c8c1fc52c4e4f7b86997ce35d1780963d7ca raw/external/heldout_meta.json
@@ -28,8 +28,17 @@ e6f1b776e6701e6614329472e8fb760680151fccf0df2374e51e7821ab174f8b raw/negative/d
28
  183da134902e50fb0c1188fc64ab687dca8301cb46ec6f67cf9f9e3c013547de raw/negative/sparse_residual.json
29
  fbf59fa680576de8d988e26db4fdc826a5ec89e9638ef69e33fc510682b5d14b raw/negative/whole_layer_and_serving.json
30
  c22a7cec3a5445a7abbc6d777dab7c8a7cb2325b81e592b3abfc15e1cb04d12e raw/negative/whole_layer_true8k.json
 
 
 
 
 
31
  b54e87ccd3d7cb2c3eb1659e545fef4a6952995d41b82bbb93545d6e0c8f4a49 raw/selection/q25_plan.json
32
- dd7a2f4bd592191a4ae05147ef42ef1e8fcf4444daa354f233fbca68b3e5a284 reproduced/summary.json
33
- 4329adcdaa8928e37e96706949be20c17c306d70c3d8ddf508f03e78565466ac reproduced/tables.md
34
- 89a63edaac7c92e397fe0b2217ed180f58de4c9253415a582acc187a05d2ed10 scripts/reproduce.py
35
- 543f6fae1a6d7f7516079bd84fa934f44dd9cb8cb2d21912b2ab450dcc5d0a45 scripts/verify.py
 
 
 
 
 
1
  ce29a99003918cb7996582b22985d768809d5591a741cadf9baefb573b1b67d8 .gitattributes
2
+ bc01afac4955df90ee25802da4f353c9b8909497b95206648ac8cd9dc25c8ef5 CHANGELOG.md
3
+ cf0e7509796a78f7bee2bbee9314ae498212356786d71c9c9e8c21817493dee0 CITATION.cff
4
  506798da85f78c2abe11c01492633ca1b3e880f0e83211c1b70be885c1c23825 LICENSE
5
+ 4177f391b8c1d64fc129a16d0b09d50fe6842104e3331b651e0905eda7212a1a README.md
6
+ 1e5b51cde515396a9fa762909cf8ca6584ccc564b325d2eebeea76175fe95c4d VERSION
7
  54bbf7c867415f51366bc8e7aeb29c417ebcb9cd3e38257483ed8663944efeca config/headquotient_v1.json
8
  243d5f4e286e2a9ca874dac900f76f1c147d7a79794fe341dfc57a9d1ff965a5 config/headquotient_v1_1.json
9
+ 88879d8e9c5cf5904a5d85a16b002c4613afe0c5ef1bb8dc4f84e775ae99e59f data/computational_taxonomy.csv
10
  0ced2d36c371d4e3b1b459d6e785cff610c18cbe3071900767accfd33e423378 data/group_classifications.csv
11
  9172e2383da63ba1a927d3988fb963a74d17002f43465eec6edc09ee706ef137 data/pair_interactions.csv
12
+ 2b92bed185c6386851e670599a1ca6581689546e86d340b7c617bdcc85f9e9b0 data/reported_metrics.csv
13
+ 7deb4ebea81552f9a3c0c4419dfb55e917cbfc625a6d0df323f00e84a201dbb3 data/use_case_classifications.csv
14
  e4b8c136dcfe4e7b503b2bc3fac02a0af5eef2f5a24f976db5cd4b29434e30bb raw/completion_manifest.json
15
  211b2d42f1b5b6d337e04b7b6065ab9133379d900685df6e6e2e246ee7b2eb1c raw/external/evidence_decisions.json
16
  91b23e3453e8b4e138dec5bce424c8c1fc52c4e4f7b86997ce35d1780963d7ca raw/external/heldout_meta.json
 
28
  183da134902e50fb0c1188fc64ab687dca8301cb46ec6f67cf9f9e3c013547de raw/negative/sparse_residual.json
29
  fbf59fa680576de8d988e26db4fdc826a5ec89e9638ef69e33fc510682b5d14b raw/negative/whole_layer_and_serving.json
30
  c22a7cec3a5445a7abbc6d777dab7c8a7cb2325b81e592b3abfc15e1cb04d12e raw/negative/whole_layer_true8k.json
31
+ 1ec75c5e2c1873e90379433175ebcd1fef87202effa2b639a995407f3322dedc raw/postreview/q25_confirmation.json
32
+ 00aa763a46ce1572821239bec2721fcd5e4946d09992b36079adb87b1b511c73 raw/replication/q25_replications.json
33
+ 78671af18510c466b8a9b8128c0ad348f1eebbb5cfbc8b0c5cf610d4c544a768 raw/reproducibility/model_release.json
34
+ fec2e25194ef49faa5a5d99fabc9c836f9407075c321a16bfc6ef807f1460654 raw/reproducibility/q25_cached_decode_profile.json
35
+ 255d14f9399f27c1f7e4a8f8dec93917714162732a3a46e9fef9873d227d1253 raw/reproducibility/q25_matched_h0_reanalysis.json
36
  b54e87ccd3d7cb2c3eb1659e545fef4a6952995d41b82bbb93545d6e0c8f4a49 raw/selection/q25_plan.json
37
+ 426022fb3a7727a8f5a684810b79960b0422fac8848eefedeaae91feafa770d3 reproduced/summary.json
38
+ 6b509b38d9bb06caae2648c95cb9954a78745ab27c839861e0531f2d3ae08d2e reproduced/tables.md
39
+ f8e973e7cfff050c68b2b413efde2388abaf2e260fc03dc6583803d1b24ed807 scripts/__pycache__/reproduce.cpython-311.pyc
40
+ 4afbf0fe71e85ef448c09dc01d13be5d426afc8a76b233e12e4593c9c3306e55 scripts/__pycache__/reproduce.cpython-312.pyc
41
+ 10e1d93ed057cc9f0777ad6e6379d5776ea24a199913bf96181806185423eea1 scripts/__pycache__/verify.cpython-311.pyc
42
+ e28bdecdcf4492056211c8395bf5feda44016a0070e0ac9fe84be5bf487799cc scripts/__pycache__/verify.cpython-312.pyc
43
+ 9d9a01289136d0f1fe58f889a3e3828f7d8648a2787fcd9231027099c3b5214e scripts/reproduce.py
44
+ 70771e123de64b72dff9a39df740f13416b8ec625000f3449dbb0313f271988f scripts/verify.py
README.md CHANGED
@@ -17,7 +17,7 @@ source_datasets:
17
  tags:
18
  - tabular
19
  - long-context-language-modeling
20
- - grouped-query-attention
21
  - knowledge-graphs
22
  - neuro-symbolic-learning
23
  - causal-intervention
@@ -50,9 +50,9 @@ configs:
50
 
51
  This is the compact evidence repository for:
52
 
53
- > N. Kadyrbek and M. Mansurova, "STRATA: Typed Predicate-Graph Programs Enable Physical Replacement of One Quarter of Global KV Groups at 8k Context," submitted to *Machine Learning and Knowledge Extraction*, 2026.
54
 
55
- It contains the functional taxonomy, all 384 audited global key--value (KV) group classifications, all 6903 candidate-pair interactions, the static Q25 assignment, frozen aggregate evaluations, and standard-library scripts that regenerate the article's numerical tables.
56
 
57
  ## Scope
58
 
@@ -60,11 +60,11 @@ This repository supports five reproducibility tasks:
60
 
61
  1. inspect the `GLOBAL`, `LOCAL`, and `LOCAL_GRAPH` taxonomy;
62
  2. inspect every analysed KV-group classification and the typed program use cases;
63
- 3. verify the registered candidate and Q25 assignment rules;
64
  4. reproduce the reported summary statistics and tables;
65
  5. verify release integrity and cite the artifacts.
66
 
67
- It is an **analytical reproducibility package**. It does not contain raw Wikipedia text, third-party corpora, or the approximately 1.1 GB exported checkpoint. Those objects are unnecessary for regenerating the published tables and cannot all be redistributed under this repository's license. Their immutable SHA-256 identifiers remain in `raw/completion_manifest.json` and the frontier files.
68
 
69
  ## Principal Result Encoded by the Artifacts
70
 
@@ -74,25 +74,29 @@ It is an **analytical reproducibility package**. It does not contain raw Wikiped
74
  | Q25 groups physically localized | 96 (25%) |
75
  | `LOCAL` groups | 81 |
76
  | `LOCAL_GRAPH` groups | 15 |
77
- | True-8k aggregate perplexity ratio | 0.999939 |
78
- | Positions 4096--8191 perplexity ratio | 0.999389 |
79
- | Typed execution | 0.9995 |
80
- | Untyped execution | 0.1790 |
81
  | Model-core throughput relative to dense | 0.9844 |
82
- | Global KV state retained | 75% |
 
 
 
 
83
  | Q30 aggregate perplexity ratio | 1.231682 (failed frontier) |
84
 
85
- The ratios are relative to the frozen dense reference. Ratios below one are treated as parity, not as evidence of general improvement.
86
 
87
  ## Computational Taxonomy
88
 
89
- The unit of classification is one grouped-query KV group, not a complete transformer layer.
90
 
91
  | Mode | Historical state | Exported operation |
92
  | --- | --- | --- |
93
  | `GLOBAL` | Full causal token KV history | Retained compact global attention |
94
- | `LOCAL` | 1024-token local-window KV | Local causal attention; no historical global KV |
95
- | `LOCAL_GRAPH` | Local-window KV plus a typed result | Local attention plus an event-scoped exact graph program; no historical global KV |
96
 
97
  The machine-readable definitions and admission rules are in [`data/computational_taxonomy.csv`](data/computational_taxonomy.csv). [`data/use_case_classifications.csv`](data/use_case_classifications.csv) maps lexical continuation, event-role retrieval, natural carrier compilation, and deterministic evidence decisions to their actual computational components. Preprocessing and evidence control are marked `NOT_APPLICABLE` for KV mode because they occur outside the attention-group taxonomy.
98
 
@@ -110,7 +114,7 @@ typed_advantage >= 0.20
110
 
111
  ### Joint Q25 rule
112
 
113
- The selector chooses exactly 96 candidates under the signed pair-interaction objective and these registered constraints:
114
 
115
  ```text
116
  maximum localized layers: 10
@@ -134,14 +138,17 @@ The mixed-integer result is feasible and has a reported 11.16% optimality gap; i
134
  |-- LICENSE
135
  |-- MANIFEST.sha256
136
  |-- VERSION
137
- |-- config/ # registered experiment contracts
138
  |-- data/
139
  | |-- computational_taxonomy.csv
140
  | |-- group_classifications.csv
141
  | |-- pair_interactions.csv
142
  | |-- reported_metrics.csv
143
  | `-- use_case_classifications.csv
144
- |-- raw/ # compact frozen aggregate outputs
 
 
 
145
  |-- reproduced/
146
  | |-- summary.json
147
  | `-- tables.md
@@ -173,7 +180,7 @@ This writes:
173
  - [`reproduced/summary.json`](reproduced/summary.json), containing the principal machine-readable summary;
174
  - [`data/reported_metrics.csv`](data/reported_metrics.csv), a long-form table suitable for the Hugging Face Dataset Viewer or pandas.
175
 
176
- The verifier checks all 384 identities, the 118-group candidate rule, the 96-group Q25 assignment, the 81/15 mode split, active graph-program coverage, all 6903 unique candidate pairs, the registered compact-layer constraints, reproduced-file equality, absence of internal absolute paths, and every checksum in `MANIFEST.sha256`.
177
 
178
  ## Dataset Viewer
179
 
@@ -211,24 +218,29 @@ hf repo create nur-dev/strata-headquotient-q25 --repo-type dataset
211
  hf upload nur-dev/strata-headquotient-q25 . . --repo-type dataset
212
  ```
213
 
214
- No GitHub mirror is required for this compact release. Use the immutable Hugging Face tag `v1.0.1` for the article version, and make later corrections in a new tagged release rather than rewriting the cited tag.
215
 
216
  ## Evidence Boundaries
217
 
218
- - The Q25 adaptation and final selection were run once; this package does not convert evaluation resampling into independent training replication.
219
- - The confirmation language-model set contains eight complete 8192-token windows. Per-language partitions are reported, but wider replication is required.
 
 
 
 
220
  - The result applies to one approximately 554-million-parameter backbone and 8k context.
221
  - Q30 failed. The demonstrated replacement frontier is 25%, not 30% or 50%.
222
  - Model-core throughput excludes synchronous natural carrier compilation. Compiler-inclusive throughput remained approximately 0.19 times dense.
 
223
  - Peak allocation was effectively unchanged.
224
  - The external carrier result is selective, not universal parsing.
225
  - The evidence controller is deterministic given structured proof facts; it does not establish universal truth awareness.
226
 
227
  ## Related Previous Release
228
 
229
- The prior PAT-ER model artifacts are available at [`nur-dev/primitive-augmented-transformer`](https://huggingface.co/nur-dev/primitive-augmented-transformer). PAT-ER retained dense attention and studied typed side-state. This STRATA repository supports physical KV-group substitution and should remain a separate dataset repository. There is no prior PAT-ER Hugging Face collection identifier in the published paper to reuse.
230
 
231
- Hugging Face is sufficient for maintaining this compact release; a separate GitHub repository is not required. If the full Q25 checkpoint is later made public, it can be placed in a linked Hugging Face model repository and grouped with this dataset in a STRATA collection without changing the evidence package.
232
 
233
  ## Citation
234
 
@@ -237,7 +249,7 @@ Until the article DOI is assigned, cite the manuscript and repository as:
237
  ```bibtex
238
  @article{kadyrbek2026strata,
239
  author = {Kadyrbek, Nurgali and Mansurova, Madina},
240
- title = {STRATA: Typed Predicate-Graph Programs Enable Physical Replacement of One Quarter of Global KV Groups at 8k Context},
241
  journal = {Machine Learning and Knowledge Extraction},
242
  year = {2026},
243
  note = {Manuscript submitted for publication}
@@ -247,7 +259,7 @@ Until the article DOI is assigned, cite the manuscript and repository as:
247
  author = {Kadyrbek, Nurgali and Mansurova, Madina},
248
  title = {STRATA HEADQUOTIENT Q25 Reproducibility Artifacts},
249
  year = {2026},
250
- version = {1.0.1},
251
  publisher = {Hugging Face},
252
  url = {https://huggingface.co/datasets/nur-dev/strata-headquotient-q25}
253
  }
 
17
  tags:
18
  - tabular
19
  - long-context-language-modeling
20
+ - multi-head-attention
21
  - knowledge-graphs
22
  - neuro-symbolic-learning
23
  - causal-intervention
 
50
 
51
  This is the compact evidence repository for:
52
 
53
+ > N. Kadyrbek and M. Mansurova, "STRATA-HeadQuotient: Functional Localization of One Quarter of Global KV Heads with Typed Predicate-Graph Computation at 8k Context," submitted to *Machine Learning and Knowledge Extraction*, 2026.
54
 
55
+ It contains the functional taxonomy, all 384 audited key--value (KV) head classifications, all 6903 candidate-pair interactions, the static Q25 assignment, the expanded 470-document PPL confirmation, the untouched 2000-case semantic confirmation, frozen aggregate evaluations, and standard-library scripts that regenerate the article's numerical tables.
56
 
57
  ## Scope
58
 
 
60
 
61
  1. inspect the `GLOBAL`, `LOCAL`, and `LOCAL_GRAPH` taxonomy;
62
  2. inspect every analysed KV-group classification and the typed program use cases;
63
+ 3. verify the pre-specified candidate and Q25 assignment rules;
64
  4. reproduce the reported summary statistics and tables;
65
  5. verify release integrity and cite the artifacts.
66
 
67
+ It is an **analytical reproducibility package**. It does not duplicate raw Wikipedia text, third-party corpora, or model weights. The dense reference, three physical Q25 checkpoints, exact tokenized confirmation material, and minimal transitive source snapshot are public in the linked immutable [`nur-dev/strata-headquotient-q25` v1.2.0 model release](https://huggingface.co/nur-dev/strata-headquotient-q25/tree/v1.2.0), Hub commit `60b2ea8dc02c1b847faf3770105fecb2e9a74d7d`. Their immutable SHA-256 identifiers also remain in `raw/completion_manifest.json`, `raw/replication/q25_replications.json`, `raw/reproducibility/model_release.json`, and the frontier files.
68
 
69
  ## Principal Result Encoded by the Artifacts
70
 
 
74
  | Q25 groups physically localized | 96 (25%) |
75
  | `LOCAL` groups | 81 |
76
  | `LOCAL_GRAPH` groups | 15 |
77
+ | Expanded true-8k aggregate PPL ratio | 1.001463 (95% CI 1.001315--1.001611) |
78
+ | Expanded positions 4096--8191 PPL ratio | 1.002006 (95% CI 1.001772--1.002237) |
79
+ | Untouched typed execution | 1998/2000 (0.9990) |
80
+ | Untouched untyped execution | 374/2000 (0.1870) |
81
  | Model-core throughput relative to dense | 0.9844 |
82
+ | Cached decode ratio after 8160-token prefix | 1.003x (batch 1) to 1.237x (batch 16) |
83
+ | Fresh Q25 adaptation/audit/selection campaigns | 2; both reproduce PPL and typed-path criteria |
84
+ | Corrected matched-capacity attribution | Not passed in all three campaigns; every 95% interval includes zero |
85
+ | Full-history KV heads retained | 75% |
86
+ | Token-KV bytes retained before graph state | 78.125% |
87
  | Q30 aggregate perplexity ratio | 1.231682 (failed frontier) |
88
 
89
+ The expanded ratios are relative to the frozen dense reference and use a paired document bootstrap over 470 unique held-out documents. Ordinary-text PPL was evaluated with graph reads disabled, so it tests global-to-local localization rather than graph necessity for PPL.
90
 
91
  ## Computational Taxonomy
92
 
93
+ The unit of classification is one KV head in a standard MHA backbone, not a complete transformer layer. The tested model has 16 query heads and 16 KV heads per layer (one-to-one), so it is not GQA.
94
 
95
  | Mode | Historical state | Exported operation |
96
  | --- | --- | --- |
97
  | `GLOBAL` | Full causal token KV history | Retained compact global attention |
98
+ | `LOCAL` | 1024-token local-window KV | Local causal attention; no full-history token KV |
99
+ | `LOCAL_GRAPH` | Local-window KV plus a typed result | Local attention plus an event-scoped exact graph program; no full-history token KV |
100
 
101
  The machine-readable definitions and admission rules are in [`data/computational_taxonomy.csv`](data/computational_taxonomy.csv). [`data/use_case_classifications.csv`](data/use_case_classifications.csv) maps lexical continuation, event-role retrieval, natural carrier compilation, and deterministic evidence decisions to their actual computational components. Preprocessing and evidence control are marked `NOT_APPLICABLE` for KV mode because they occur outside the attention-group taxonomy.
102
 
 
114
 
115
  ### Joint Q25 rule
116
 
117
+ The selector chooses exactly 96 candidates under the signed pair-interaction objective and these pre-specified, hash-locked constraints:
118
 
119
  ```text
120
  maximum localized layers: 10
 
138
  |-- LICENSE
139
  |-- MANIFEST.sha256
140
  |-- VERSION
141
+ |-- config/ # pre-specified experiment contracts
142
  |-- data/
143
  | |-- computational_taxonomy.csv
144
  | |-- group_classifications.csv
145
  | |-- pair_interactions.csv
146
  | |-- reported_metrics.csv
147
  | `-- use_case_classifications.csv
148
+ |-- raw/ # compact frozen aggregate and post-review outputs
149
+ | `-- postreview/q25_confirmation.json
150
+ | `-- reproducibility/q25_cached_decode_profile.json
151
+ | `-- replication/q25_replications.json
152
  |-- reproduced/
153
  | |-- summary.json
154
  | `-- tables.md
 
180
  - [`reproduced/summary.json`](reproduced/summary.json), containing the principal machine-readable summary;
181
  - [`data/reported_metrics.csv`](data/reported_metrics.csv), a long-form table suitable for the Hugging Face Dataset Viewer or pandas.
182
 
183
+ The verifier checks all 384 identities, the 118-group candidate rule, the 96-group Q25 assignment, the 81/15 mode split, active graph-program coverage, all 6903 unique candidate pairs, the hash-locked compact-layer constraints, both fresh Q25 campaigns, the corrected matched-capacity intervals, reproduced-file equality, absence of internal absolute paths, and every checksum in `MANIFEST.sha256`.
184
 
185
  ## Dataset Viewer
186
 
 
218
  hf upload nur-dev/strata-headquotient-q25 . . --repo-type dataset
219
  ```
220
 
221
+ No GitHub mirror is required for this compact release. Use the immutable Hugging Face tag `v1.2.0` for the corrected article version, and make later corrections in a new tagged release rather than rewriting the cited tag.
222
 
223
  ## Evidence Boundaries
224
 
225
+ - Two fresh Q25 campaigns reinitialized the graph adapter, used disjoint diagnostic/interaction material, recomputed all 6903 candidate-pair and 128 triple interactions, solved new selections, and exported new checkpoints. The original 118-head candidate pre-screen remained fixed, so these are not independent rediscoveries from all 384 heads.
226
+ - The original matched-H0 comparison was capacity mismatched. Under the corrected comparator, all three marginal graph-effect confidence intervals include zero. The typed path is causally operative against zero/untyped/wrong-role controls, but graph takeover from localized attention is not established.
227
+ - The expanded confirmation contains 470 document-disjoint complete 8192-token windows and reports document-bootstrap intervals; language support is unequal.
228
+ - Ordinary PPL runs with graph reads disabled. PPL preservation and controlled typed handoff are separate findings.
229
+ - The 25% figure is the reduction in full-history KV heads. Including 1024-token local windows, token-KV bytes fall by 21.875% before graph state.
230
+ - All 15 graph-enabled heads are in final layer 23 by design; adapter depth was not searched.
231
  - The result applies to one approximately 554-million-parameter backbone and 8k context.
232
  - Q30 failed. The demonstrated replacement frontier is 25%, not 30% or 50%.
233
  - Model-core throughput excludes synchronous natural carrier compilation. Compiler-inclusive throughput remained approximately 0.19 times dense.
234
+ - The cached profile uses one NVIDIA L40, identical prompts within each batch, and a fixed 32-token continuation; it is an implementation-specific model-core measurement rather than a production-serving claim.
235
  - Peak allocation was effectively unchanged.
236
  - The external carrier result is selective, not universal parsing.
237
  - The evidence controller is deterministic given structured proof facts; it does not establish universal truth awareness.
238
 
239
  ## Related Previous Release
240
 
241
+ The prior PAT-ER model artifacts are available at [`nur-dev/primitive-augmented-transformer`](https://huggingface.co/nur-dev/primitive-augmented-transformer). PAT-ER retained dense attention and studied typed side-state. This STRATA repository supports physical KV-head substitution and remains a separate dataset repository linked to the STRATA model release.
242
 
243
+ Hugging Face is the sole public maintenance location; a separate GitHub repository is not required. The analytical dataset, physical model release, and PAT-ER precursor are grouped in the authors' typed-semantic-state collection.
244
 
245
  ## Citation
246
 
 
249
  ```bibtex
250
  @article{kadyrbek2026strata,
251
  author = {Kadyrbek, Nurgali and Mansurova, Madina},
252
+ title = {STRATA-HeadQuotient: Functional Localization of One Quarter of Global KV Heads with Typed Predicate-Graph Computation at 8k Context},
253
  journal = {Machine Learning and Knowledge Extraction},
254
  year = {2026},
255
  note = {Manuscript submitted for publication}
 
259
  author = {Kadyrbek, Nurgali and Mansurova, Madina},
260
  title = {STRATA HEADQUOTIENT Q25 Reproducibility Artifacts},
261
  year = {2026},
262
+ version = {1.2.0},
263
  publisher = {Hugging Face},
264
  url = {https://huggingface.co/datasets/nur-dev/strata-headquotient-q25}
265
  }
VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
 
1
+ 1.2.0
data/computational_taxonomy.csv CHANGED
@@ -1,4 +1,4 @@
1
  mode,unit_of_assignment,historical_state,admission_rule,exported_computation,stores_global_token_kv,requires_typed_graph_program
2
- GLOBAL,Global KV group,Full causal token KV history,"Retain when late-context lexical or discourse utility is material, graph substitution is inadequate, or cluster-retention constraints require the group.",Compact global grouped-query projection with historical KV,true,false
3
- LOCAL,Global KV group before export; local group after export,1024-token local-window KV,"The group passes the registered candidate rule, is selected jointly under the interaction and cluster constraints, and has no event-scoped graph program.",Local causal attention with no historical global KV,false,false
4
- LOCAL_GRAPH,Global KV group before export; local graph group after export,1024-token local-window KV plus an event-scoped typed result,"The group passes the registered candidate rule, is selected jointly, has a valid typed program assignment, and shows relation-specific causal handoff without wrong-event or random benefit.",Local causal attention plus exact event-scoped typed graph read with no historical global KV,false,true
 
1
  mode,unit_of_assignment,historical_state,admission_rule,exported_computation,stores_global_token_kv,requires_typed_graph_program
2
+ GLOBAL,Global KV head,Full causal token KV history,"Retain when late-context lexical or discourse utility is material, graph substitution is inadequate, or cluster-retention constraints require the head.",Compact global multi-head-attention projection with historical KV,true,false
3
+ LOCAL,Global KV head before export; local head after export,1024-token local-window KV,"The head passes the pre-specified candidate rule, is selected jointly under the interaction and cluster constraints, and has no event-scoped graph program.",Local causal attention with no full-history token KV,false,false
4
+ LOCAL_GRAPH,Global KV head before export; local graph head after export,1024-token local-window KV plus an event-scoped typed result,"The head passes the pre-specified candidate rule, is selected jointly, has a valid typed program assignment, and shows relation-specific causal handoff without wrong-event or random benefit.",Local causal attention plus exact event-scoped typed graph read with no full-history token KV,false,true
data/reported_metrics.csv CHANGED
@@ -23,30 +23,67 @@ frontier,Q30,aggregate_ppl_ratio,1.231681966831007,ratio,<=1.03,raw/frontier/q30
23
  frontier,Q30,late_ppl_ratio,1.3780701501669157,ratio,<=1.05,raw/frontier/q30.json
24
  frontier,Q30,typed_execution,1.0,accuracy,>=0.95,raw/frontier/q30.json
25
  frontier,Q30,core_throughput_ratio,0.9392739975057925,ratio,>=0.95,raw/frontier/q30.json
26
- q25_ppl,0-2048,ppl_ratio,1.00007699819542,ratio,<=1.03 aggregate; <=1.05 late,raw/frontier/q25.json
27
- q25_ppl,2048-4096,ppl_ratio,1.0009002031766665,ratio,<=1.03 aggregate; <=1.05 late,raw/frontier/q25.json
28
- q25_ppl,4096-8192,ppl_ratio,0.9993893766212806,ratio,<=1.03 aggregate; <=1.05 late,raw/frontier/q25.json
29
- q25_ppl,aggregate,ppl_ratio,0.9999388623918676,ratio,<=1.03 aggregate; <=1.05 late,raw/frontier/q25.json
30
- q25_language,ar,ppl_ratio,1.0014931180241606,ratio,<=1.05,raw/frontier/q25.json
31
- q25_language,de,ppl_ratio,1.0014569436456722,ratio,<=1.05,raw/frontier/q25.json
32
- q25_language,en,ppl_ratio,1.0005086972746728,ratio,<=1.05,raw/frontier/q25.json
33
- q25_language,es,ppl_ratio,0.9979950617397495,ratio,<=1.05,raw/frontier/q25.json
34
- q25_language,zh,ppl_ratio,0.9974994495185546,ratio,<=1.05,raw/frontier/q25.json
 
 
35
  causal,correct,accuracy,0.9995,accuracy,,raw/frontier/q25.json
36
  causal,correct,mean_margin_vs_zero,0.2550610899925232,margin,,raw/frontier/q25.json
 
37
  causal,untyped,accuracy,0.179,accuracy,,raw/frontier/q25.json
38
  causal,untyped,mean_margin_vs_zero,-0.0006964647327549756,margin,,raw/frontier/q25.json
 
39
  causal,wrong_role,accuracy,0.0,accuracy,,raw/frontier/q25.json
40
  causal,wrong_role,mean_margin_vs_zero,-0.2559249997138977,margin,,raw/frontier/q25.json
 
41
  causal,wrong_event,accuracy,0.1145,accuracy,,raw/frontier/q25.json
42
  causal,wrong_event,mean_margin_vs_zero,0.0,margin,,raw/frontier/q25.json
 
43
  causal,random,accuracy,0.1145,accuracy,,raw/frontier/q25.json
44
  causal,random,mean_margin_vs_zero,0.0,margin,,raw/frontier/q25.json
 
45
  causal,zero,accuracy,0.1145,accuracy,,raw/frontier/q25.json
46
  causal,zero,mean_margin_vs_zero,0.0,margin,,raw/frontier/q25.json
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  runtime,Q25,throughput_ratio,0.9843666476918135,ratio,>=0.95,raw/frontier/q25.json
48
  runtime,Q25,peak_allocation_ratio,0.9997919067191773,ratio,<=1.00,raw/frontier/q25.json
49
  runtime,Q25,global_kv_retained,0.75,fraction,<=0.80,raw/frontier/q25.json
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
  external_natural,external_v3,raw_execution,0.9105,rate,,raw/external/natural_carrier.json
51
  external_natural,external_v3,authoritative_execution,0.9826689774696707,rate,,raw/external/natural_carrier.json
52
  external_natural,external_v3,authoritative_coverage,0.7972814623857511,rate,,raw/external/natural_carrier.json
@@ -58,9 +95,9 @@ external_natural,external_v3,r12_untyped_retrieval,0.49609375,rate,,raw/external
58
  external_natural,external_v3,r12_wrong_role,0.0078125,rate,,raw/external/natural_carrier.json
59
  external_natural,external_v3,r12_wrong_event,0.046875,rate,,raw/external/natural_carrier.json
60
  external_natural,external_v3,r12_random_carrier,0.0,rate,,raw/external/natural_carrier.json
61
- evidence,registered_800,macro_decision_accuracy,1.0,accuracy,>=0.95,raw/external/evidence_decisions.json
62
- evidence,registered_800,proof_correctness,1.0,accuracy,=1.00,raw/external/evidence_decisions.json
63
- evidence,registered_800,paired_identical_agreement,1.0,agreement,=1.00,raw/external/evidence_decisions.json
64
  negative_result,Whole-layer graph-only R12,reported_result,aggregate 1.342165; late 1.747375,text,Failed true-8k preservation,raw/negative or raw/frontier/q30.json
65
  negative_result,Sparse residual oracle,reported_result,aggregate 1.314621; late 1.679730,text,Failed oracle gate,raw/negative or raw/frontier/q30.json
66
  negative_result,Fixed-basis kernel audit,reported_result,window overlap 0.705307; language overlap 0.697986,text,Rejected before training,raw/negative or raw/frontier/q30.json
 
23
  frontier,Q30,late_ppl_ratio,1.3780701501669157,ratio,<=1.05,raw/frontier/q30.json
24
  frontier,Q30,typed_execution,1.0,accuracy,>=0.95,raw/frontier/q30.json
25
  frontier,Q30,core_throughput_ratio,0.9392739975057925,ratio,>=0.95,raw/frontier/q30.json
26
+ q25_ppl_postreview,aggregate,ppl_ratio,1.0014634161587161,ratio,upper 95% CI <1.03,raw/postreview/q25_confirmation.json
27
+ q25_ppl_postreview,aggregate,ppl_ratio_lower_95,1.0013146459959361,ratio,,raw/postreview/q25_confirmation.json
28
+ q25_ppl_postreview,aggregate,ppl_ratio_upper_95,1.0016112211164634,ratio,<1.03,raw/postreview/q25_confirmation.json
29
+ q25_ppl_postreview,0-2048,ppl_ratio,1.000426001591288,ratio,<=1.05 late,raw/postreview/q25_confirmation.json
30
+ q25_ppl_postreview,2048-4096,ppl_ratio,1.0014170876799071,ratio,<=1.05 late,raw/postreview/q25_confirmation.json
31
+ q25_ppl_postreview,4096-8192,ppl_ratio,1.0020058363001705,ratio,<=1.05 late,raw/postreview/q25_confirmation.json
32
+ q25_language_postreview,ar,ppl_ratio,1.0007953605165114,ratio,<=1.05,raw/postreview/q25_confirmation.json
33
+ q25_language_postreview,de,ppl_ratio,1.001623872638894,ratio,<=1.05,raw/postreview/q25_confirmation.json
34
+ q25_language_postreview,en,ppl_ratio,1.0012897886831786,ratio,<=1.05,raw/postreview/q25_confirmation.json
35
+ q25_language_postreview,es,ppl_ratio,1.0012459933881799,ratio,<=1.05,raw/postreview/q25_confirmation.json
36
+ q25_language_postreview,zh,ppl_ratio,1.0015464123814795,ratio,<=1.05,raw/postreview/q25_confirmation.json
37
  causal,correct,accuracy,0.9995,accuracy,,raw/frontier/q25.json
38
  causal,correct,mean_margin_vs_zero,0.2550610899925232,margin,,raw/frontier/q25.json
39
+ causal_confirmation,correct,accuracy,0.999,accuracy,,raw/postreview/q25_confirmation.json
40
  causal,untyped,accuracy,0.179,accuracy,,raw/frontier/q25.json
41
  causal,untyped,mean_margin_vs_zero,-0.0006964647327549756,margin,,raw/frontier/q25.json
42
+ causal_confirmation,untyped,accuracy,0.187,accuracy,,raw/postreview/q25_confirmation.json
43
  causal,wrong_role,accuracy,0.0,accuracy,,raw/frontier/q25.json
44
  causal,wrong_role,mean_margin_vs_zero,-0.2559249997138977,margin,,raw/frontier/q25.json
45
+ causal_confirmation,wrong_role,accuracy,0.0,accuracy,,raw/postreview/q25_confirmation.json
46
  causal,wrong_event,accuracy,0.1145,accuracy,,raw/frontier/q25.json
47
  causal,wrong_event,mean_margin_vs_zero,0.0,margin,,raw/frontier/q25.json
48
+ causal_confirmation,wrong_event,accuracy,0.1335,accuracy,,raw/postreview/q25_confirmation.json
49
  causal,random,accuracy,0.1145,accuracy,,raw/frontier/q25.json
50
  causal,random,mean_margin_vs_zero,0.0,margin,,raw/frontier/q25.json
51
+ causal_confirmation,random,accuracy,0.1335,accuracy,,raw/postreview/q25_confirmation.json
52
  causal,zero,accuracy,0.1145,accuracy,,raw/frontier/q25.json
53
  causal,zero,mean_margin_vs_zero,0.0,margin,,raw/frontier/q25.json
54
+ causal_confirmation,zero,accuracy,0.1335,accuracy,,raw/postreview/q25_confirmation.json
55
+ causal_attribution,correct,matched_capacity_marginal_mean,-8.118145342450589e-05,margin,95% CI must exclude zero,raw/replication/q25_replications.json
56
+ causal_attribution,correct,matched_capacity_marginal_lower_95,-0.00023968867026269436,margin,,raw/replication/q25_replications.json
57
+ causal_attribution,correct,matched_capacity_marginal_upper_95,7.799099694238976e-05,margin,,raw/replication/q25_replications.json
58
+ replication,original,expanded_ppl_ratio,1.0014634161587161,ratio,upper 95% CI <1.03,raw/replication/q25_replications.json
59
+ replication,original,expanded_typed,0.999,accuracy,>=0.95,raw/replication/q25_replications.json
60
+ replication,original,expanded_untyped,0.187,accuracy,,raw/replication/q25_replications.json
61
+ replication,original,matched_capacity_marginal_mean,-8.118145342450589e-05,margin,95% CI must exclude zero,raw/replication/q25_replications.json
62
+ replication,fresh_seed_20260777,expanded_ppl_ratio,1.0013051380076936,ratio,upper 95% CI <1.03,raw/replication/q25_replications.json
63
+ replication,fresh_seed_20260777,expanded_typed,0.9935,accuracy,>=0.95,raw/replication/q25_replications.json
64
+ replication,fresh_seed_20260777,expanded_untyped,0.191,accuracy,,raw/replication/q25_replications.json
65
+ replication,fresh_seed_20260777,matched_capacity_marginal_mean,0.00013299021520651877,margin,95% CI must exclude zero,raw/replication/q25_replications.json
66
+ replication,fresh_seed_20260791,expanded_ppl_ratio,1.0014123009914193,ratio,upper 95% CI <1.03,raw/replication/q25_replications.json
67
+ replication,fresh_seed_20260791,expanded_typed,0.994,accuracy,>=0.95,raw/replication/q25_replications.json
68
+ replication,fresh_seed_20260791,expanded_untyped,0.192,accuracy,,raw/replication/q25_replications.json
69
+ replication,fresh_seed_20260791,matched_capacity_marginal_mean,-3.4817545383702964e-05,margin,95% CI must exclude zero,raw/replication/q25_replications.json
70
  runtime,Q25,throughput_ratio,0.9843666476918135,ratio,>=0.95,raw/frontier/q25.json
71
  runtime,Q25,peak_allocation_ratio,0.9997919067191773,ratio,<=1.00,raw/frontier/q25.json
72
  runtime,Q25,global_kv_retained,0.75,fraction,<=0.80,raw/frontier/q25.json
73
+ runtime,Q25,token_kv_bytes,629145600,bytes,,raw/postreview/q25_confirmation.json
74
+ runtime,Q25,token_kv_reduction,0.21875,fraction,,raw/postreview/q25_confirmation.json
75
+ cached_runtime,batch_1,decode_throughput_ratio,1.0025517041888306,ratio,,raw/reproducibility/q25_cached_decode_profile.json
76
+ cached_runtime,batch_1,prefill_throughput_ratio,0.9263008429955861,ratio,,raw/reproducibility/q25_cached_decode_profile.json
77
+ cached_runtime,batch_1,persistent_kv_ratio,0.78125,ratio,,raw/reproducibility/q25_cached_decode_profile.json
78
+ cached_runtime,batch_4,decode_throughput_ratio,1.1784115948125533,ratio,,raw/reproducibility/q25_cached_decode_profile.json
79
+ cached_runtime,batch_4,prefill_throughput_ratio,1.0179303066424417,ratio,,raw/reproducibility/q25_cached_decode_profile.json
80
+ cached_runtime,batch_4,persistent_kv_ratio,0.78125,ratio,,raw/reproducibility/q25_cached_decode_profile.json
81
+ cached_runtime,batch_8,decode_throughput_ratio,1.2187408554168933,ratio,,raw/reproducibility/q25_cached_decode_profile.json
82
+ cached_runtime,batch_8,prefill_throughput_ratio,1.0150799420381769,ratio,,raw/reproducibility/q25_cached_decode_profile.json
83
+ cached_runtime,batch_8,persistent_kv_ratio,0.78125,ratio,,raw/reproducibility/q25_cached_decode_profile.json
84
+ cached_runtime,batch_16,decode_throughput_ratio,1.2367898816648804,ratio,,raw/reproducibility/q25_cached_decode_profile.json
85
+ cached_runtime,batch_16,prefill_throughput_ratio,0.9938475982700953,ratio,,raw/reproducibility/q25_cached_decode_profile.json
86
+ cached_runtime,batch_16,persistent_kv_ratio,0.78125,ratio,,raw/reproducibility/q25_cached_decode_profile.json
87
  external_natural,external_v3,raw_execution,0.9105,rate,,raw/external/natural_carrier.json
88
  external_natural,external_v3,authoritative_execution,0.9826689774696707,rate,,raw/external/natural_carrier.json
89
  external_natural,external_v3,authoritative_coverage,0.7972814623857511,rate,,raw/external/natural_carrier.json
 
95
  external_natural,external_v3,r12_wrong_role,0.0078125,rate,,raw/external/natural_carrier.json
96
  external_natural,external_v3,r12_wrong_event,0.046875,rate,,raw/external/natural_carrier.json
97
  external_natural,external_v3,r12_random_carrier,0.0,rate,,raw/external/natural_carrier.json
98
+ evidence,hash_locked_800,macro_decision_accuracy,1.0,accuracy,>=0.95,raw/external/evidence_decisions.json
99
+ evidence,hash_locked_800,proof_correctness,1.0,accuracy,=1.00,raw/external/evidence_decisions.json
100
+ evidence,hash_locked_800,paired_identical_agreement,1.0,agreement,=1.00,raw/external/evidence_decisions.json
101
  negative_result,Whole-layer graph-only R12,reported_result,aggregate 1.342165; late 1.747375,text,Failed true-8k preservation,raw/negative or raw/frontier/q30.json
102
  negative_result,Sparse residual oracle,reported_result,aggregate 1.314621; late 1.679730,text,Failed oracle gate,raw/negative or raw/frontier/q30.json
103
  negative_result,Fixed-basis kernel audit,reported_result,window overlap 0.705307; language overlap 0.697986,text,Rejected before training,raw/negative or raw/frontier/q30.json
data/use_case_classifications.csv CHANGED
@@ -1,5 +1,5 @@
1
  use_case_id,scope,use_case,assigned_component,computational_method,kv_mode,typed_program,decision_rule,evaluation_scope
2
- UC01,Model core,Late-context lexical and discourse continuation,Retained global KV groups,Dense grouped-query causal attention,GLOBAL,NO_GRAPH_READ,"Retain when late-position perplexity utility is material or typed graph recovery is inadequate.",True-8k language-model evaluation
3
  UC02,Model core,Recent token and phrase continuation,Localized non-graph KV groups,Local causal attention,LOCAL,NO_GRAPH_READ,"Localize only as part of a jointly passing subset; no semantic graph claim is attached to this mode.",True-8k language-model evaluation
4
  UC03,Model core,Agent or ARG0 retrieval,Event-scoped graph group,Exact typed graph execution,LOCAL_GRAPH,READ_EVENT_ARG0,"Use only for the current resolved event and a valid ARG0 address.",Controlled graph-program cases
5
  UC04,Model core,Patient or ARG1 retrieval,Event-scoped graph group,Exact typed graph execution,LOCAL_GRAPH,READ_EVENT_ARG1,"Use only for the current resolved event and a valid ARG1 address.",Controlled graph-program cases
@@ -7,4 +7,4 @@ UC05,Model core,Recipient or ARG2 retrieval,Event-scoped graph group,Exact typed
7
  UC06,Model core,Event time retrieval,Event-scoped graph group,Exact typed graph execution,LOCAL_GRAPH,READ_EVENT_TIME,"Use only for the current resolved event and a typed time relation.",Controlled graph-program cases
8
  UC07,Model core,Event location retrieval,Event-scoped graph group,Exact typed graph execution,LOCAL_GRAPH,READ_EVENT_LOCATION,"Use only for the current resolved event and a typed location relation.",Controlled graph-program cases
9
  UC08,Preprocessing,Natural text to authoritative carrier facts,Selective carrier compiler,Learned event-relation-argument resolution followed by deterministic typed closure,NOT_APPLICABLE,NOT_APPLICABLE,"Emit a fact only when event, relation, and argument prediction sets are singleton and the frame/valency proof is valid.",External-v3 natural carrier evaluation
10
- UC09,Postprocessing,Four-way evidence-state decision,Evidence controller,Deterministic proof-state execution,NOT_APPLICABLE,READ_SUPPORT_OR_CONTRADICTION,"ANSWER for support only; REJECT for contradiction only; NOT_SURE for conflict or structural disagreement; IDK for absent required evidence or unresolved structure.",Registered 800-case structured-evidence evaluation
 
1
  use_case_id,scope,use_case,assigned_component,computational_method,kv_mode,typed_program,decision_rule,evaluation_scope
2
+ UC01,Model core,Late-context lexical and discourse continuation,Retained global KV heads,Dense multi-head causal attention,GLOBAL,NO_GRAPH_READ,"Retain when late-position perplexity utility is material or typed graph recovery is inadequate.",True-8k language-model evaluation
3
  UC02,Model core,Recent token and phrase continuation,Localized non-graph KV groups,Local causal attention,LOCAL,NO_GRAPH_READ,"Localize only as part of a jointly passing subset; no semantic graph claim is attached to this mode.",True-8k language-model evaluation
4
  UC03,Model core,Agent or ARG0 retrieval,Event-scoped graph group,Exact typed graph execution,LOCAL_GRAPH,READ_EVENT_ARG0,"Use only for the current resolved event and a valid ARG0 address.",Controlled graph-program cases
5
  UC04,Model core,Patient or ARG1 retrieval,Event-scoped graph group,Exact typed graph execution,LOCAL_GRAPH,READ_EVENT_ARG1,"Use only for the current resolved event and a valid ARG1 address.",Controlled graph-program cases
 
7
  UC06,Model core,Event time retrieval,Event-scoped graph group,Exact typed graph execution,LOCAL_GRAPH,READ_EVENT_TIME,"Use only for the current resolved event and a typed time relation.",Controlled graph-program cases
8
  UC07,Model core,Event location retrieval,Event-scoped graph group,Exact typed graph execution,LOCAL_GRAPH,READ_EVENT_LOCATION,"Use only for the current resolved event and a typed location relation.",Controlled graph-program cases
9
  UC08,Preprocessing,Natural text to authoritative carrier facts,Selective carrier compiler,Learned event-relation-argument resolution followed by deterministic typed closure,NOT_APPLICABLE,NOT_APPLICABLE,"Emit a fact only when event, relation, and argument prediction sets are singleton and the frame/valency proof is valid.",External-v3 natural carrier evaluation
10
+ UC09,Postprocessing,Four-way evidence-state decision,Evidence controller,Deterministic proof-state execution,NOT_APPLICABLE,READ_SUPPORT_OR_CONTRADICTION,"ANSWER for support only; REJECT for contradiction only; NOT_SURE for conflict or structural disagreement; IDK for absent required evidence or unresolved structure.",Hash-locked 800-case structured-evidence evaluation
raw/postreview/q25_confirmation.json ADDED
The diff for this file is too large to render. See raw diff
 
raw/replication/q25_replications.json ADDED
@@ -0,0 +1,229 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "all_corrected_matched_h0_passed": false,
3
+ "all_expanded_typed_at_least_0_95": true,
4
+ "all_expanded_upper_below_1_03": true,
5
+ "all_invalid_programs_zero": true,
6
+ "all_localization_and_typed_path_passed": true,
7
+ "fresh_replications": 2,
8
+ "program": "STRATA-HEADQUOTIENT-Q25-INDEPENDENT-REPLICATION",
9
+ "runs": [
10
+ {
11
+ "causal_start": 2048,
12
+ "checkpoint_sha256": "51120c7ecca5234a4e7cee424c199582e444eb04e434a2d7f08263e3ccc74a90",
13
+ "config_sha256": "c4a3742f240a67380913554dbfc6efd4862a41fd1ce38bc08fd1e6952730a9c9",
14
+ "confirmation_stage_opened": true,
15
+ "confirmation_windows": {
16
+ "count": 8,
17
+ "start": 112
18
+ },
19
+ "corrected_marginal_correct": {
20
+ "confidence": 0.95,
21
+ "lower": -0.00023968867026269436,
22
+ "mean": -8.118145342450589e-05,
23
+ "samples": 1000,
24
+ "upper": 7.799099694238976e-05
25
+ },
26
+ "corrected_matched_h0_passed": false,
27
+ "diagnostic_windows": {
28
+ "count": 8,
29
+ "start": 96
30
+ },
31
+ "expanded_documents": 470,
32
+ "expanded_ppl_ratio": 1.0014634161587161,
33
+ "expanded_ppl_ratio_lower": 1.0013146459959361,
34
+ "expanded_ppl_ratio_upper": 1.0016112211164634,
35
+ "expanded_random": 0.1335,
36
+ "expanded_typed": 0.999,
37
+ "expanded_untyped": 0.187,
38
+ "expanded_wrong_event": 0.1335,
39
+ "expanded_wrong_role": 0.0,
40
+ "expanded_zero": 0.1335,
41
+ "frontier_late_ppl_ratio": 0.9993893766212806,
42
+ "frontier_ppl_ratio": 0.9999388623918676,
43
+ "frontier_throughput_ratio": 0.9843666476918135,
44
+ "frontier_typed": 0.9995,
45
+ "frontier_untyped": 0.179,
46
+ "initialization": "registered_legacy_adapter",
47
+ "interaction_audit_sha256": "7a844ea72203f0511b99ab52b71d8b2c62dc305cbbb599f144fba84ebd7ecc5c",
48
+ "interaction_pairs": 6903,
49
+ "interaction_triples": 128,
50
+ "interaction_window": 110,
51
+ "invalid_programs": 0,
52
+ "local_graph_groups": 15,
53
+ "local_groups": 81,
54
+ "localization_and_typed_path_passed": true,
55
+ "program": "STRATA-HEADQUOTIENT-v1.1",
56
+ "registered_result_passed": true,
57
+ "scoped_correct": 0.97,
58
+ "scoped_untyped": 0.208,
59
+ "seed": 20260742,
60
+ "selected_groups": 96,
61
+ "selected_layers": {
62
+ "2": 6,
63
+ "4": 10,
64
+ "5": 12,
65
+ "17": 2,
66
+ "18": 12,
67
+ "19": 7,
68
+ "20": 7,
69
+ "21": 10,
70
+ "22": 15,
71
+ "23": 15
72
+ },
73
+ "selection_plan_sha256": "cdb8f17ae11322d276b68b96873398257a8936ebb20a007749d4811bce6039e1"
74
+ },
75
+ {
76
+ "causal_start": 20480,
77
+ "checkpoint_sha256": "bc5ccd9f57643ebb48bab156a671a348b237e2cb1fe0cb3017d0438e869aadee",
78
+ "config_sha256": "7bdfa6eae5e5ffbbef0e595acec3b58a9091a665460ed3cf778ecba0ce6d4200",
79
+ "confirmation_stage_opened": false,
80
+ "confirmation_windows": {
81
+ "count": 8,
82
+ "start": 409
83
+ },
84
+ "corrected_marginal_correct": {
85
+ "confidence": 0.95,
86
+ "lower": -2.0666471755248494e-05,
87
+ "mean": 0.00013299021520651877,
88
+ "samples": 1000,
89
+ "upper": 0.00028320043929852545
90
+ },
91
+ "corrected_matched_h0_passed": false,
92
+ "diagnostic_windows": {
93
+ "count": 8,
94
+ "start": 400
95
+ },
96
+ "expanded_documents": 470,
97
+ "expanded_ppl_ratio": 1.0013051380076936,
98
+ "expanded_ppl_ratio_lower": 1.0011546308526744,
99
+ "expanded_ppl_ratio_upper": 1.0014523960525095,
100
+ "expanded_random": 0.1285,
101
+ "expanded_typed": 0.9935,
102
+ "expanded_untyped": 0.191,
103
+ "expanded_wrong_event": 0.1285,
104
+ "expanded_wrong_role": 0.0015,
105
+ "expanded_zero": 0.1285,
106
+ "frontier_late_ppl_ratio": 1.000198165907381,
107
+ "frontier_ppl_ratio": 0.9998095370934663,
108
+ "frontier_throughput_ratio": 0.952829708330366,
109
+ "frontier_typed": 0.998,
110
+ "frontier_untyped": 0.186,
111
+ "initialization": "fresh_seeded_grouped_adapter",
112
+ "interaction_audit_sha256": "498cd1e0af04a7d1d08d4f750a9e689d8131dc6daa3f45ee68d6386a94abb0f1",
113
+ "interaction_pairs": 6903,
114
+ "interaction_triples": 128,
115
+ "interaction_window": 408,
116
+ "invalid_programs": 0,
117
+ "local_graph_groups": 14,
118
+ "local_groups": 82,
119
+ "localization_and_typed_path_passed": true,
120
+ "program": "STRATA-HEADQUOTIENT-v1.1-REP3-FRESH",
121
+ "registered_result_passed": false,
122
+ "scoped_correct": 0.9975,
123
+ "scoped_untyped": 0.1935,
124
+ "seed": 20260777,
125
+ "selected_groups": 96,
126
+ "selected_layers": {
127
+ "2": 6,
128
+ "4": 9,
129
+ "5": 12,
130
+ "6": 4,
131
+ "18": 12,
132
+ "19": 7,
133
+ "20": 7,
134
+ "21": 11,
135
+ "22": 14,
136
+ "23": 14
137
+ },
138
+ "selection_plan_sha256": "dd872d27f63c8b9a277afb309ff22be08f37bd0f04a73ed92431b62b8981b190"
139
+ },
140
+ {
141
+ "causal_start": 24576,
142
+ "checkpoint_sha256": "17cb536d9e74fcae58e28d58eca9aff55484c0490770205670983b935b12dced",
143
+ "config_sha256": "5f09189d69fbffe1545bc1cd0180e12fbc17c9727509ef5c9381456549de15f2",
144
+ "confirmation_stage_opened": false,
145
+ "confirmation_windows": {
146
+ "count": 8,
147
+ "start": 509
148
+ },
149
+ "corrected_marginal_correct": {
150
+ "confidence": 0.95,
151
+ "lower": -0.00018559966702014208,
152
+ "mean": -3.4817545383702964e-05,
153
+ "samples": 1000,
154
+ "upper": 0.00010850727267097682
155
+ },
156
+ "corrected_matched_h0_passed": false,
157
+ "diagnostic_windows": {
158
+ "count": 8,
159
+ "start": 500
160
+ },
161
+ "expanded_documents": 470,
162
+ "expanded_ppl_ratio": 1.0014123009914193,
163
+ "expanded_ppl_ratio_lower": 1.0012669492990858,
164
+ "expanded_ppl_ratio_upper": 1.0015544143634656,
165
+ "expanded_random": 0.1205,
166
+ "expanded_typed": 0.994,
167
+ "expanded_untyped": 0.192,
168
+ "expanded_wrong_event": 0.1205,
169
+ "expanded_wrong_role": 0.0025,
170
+ "expanded_zero": 0.1205,
171
+ "frontier_late_ppl_ratio": 1.0010175258666096,
172
+ "frontier_ppl_ratio": 1.0003239584965344,
173
+ "frontier_throughput_ratio": 0.9780706254021283,
174
+ "frontier_typed": 0.9945,
175
+ "frontier_untyped": 0.186,
176
+ "initialization": "fresh_seeded_grouped_adapter",
177
+ "interaction_audit_sha256": "746093b123e1839c38d78e3ce7bbe157a34b9b206fc095e423885a74eaae9822",
178
+ "interaction_pairs": 6903,
179
+ "interaction_triples": 128,
180
+ "interaction_window": 508,
181
+ "invalid_programs": 0,
182
+ "local_graph_groups": 14,
183
+ "local_groups": 82,
184
+ "localization_and_typed_path_passed": true,
185
+ "program": "STRATA-HEADQUOTIENT-v1.1-REP4-FRESH",
186
+ "registered_result_passed": false,
187
+ "scoped_correct": 0.995,
188
+ "scoped_untyped": 0.197,
189
+ "seed": 20260791,
190
+ "selected_groups": 96,
191
+ "selected_layers": {
192
+ "2": 5,
193
+ "4": 10,
194
+ "5": 12,
195
+ "17": 4,
196
+ "18": 12,
197
+ "19": 7,
198
+ "20": 7,
199
+ "21": 11,
200
+ "22": 14,
201
+ "23": 14
202
+ },
203
+ "selection_plan_sha256": "73b103008ff57ee18f2c5ff353c5266c9829b12a592f02c7b779dde3a749bdac"
204
+ }
205
+ ],
206
+ "selected_set_similarity": [
207
+ {
208
+ "intersection": 91,
209
+ "jaccard": 0.900990099009901,
210
+ "left": "STRATA-HEADQUOTIENT-v1.1",
211
+ "right": "STRATA-HEADQUOTIENT-v1.1-REP3-FRESH",
212
+ "union": 101
213
+ },
214
+ {
215
+ "intersection": 93,
216
+ "jaccard": 0.9393939393939394,
217
+ "left": "STRATA-HEADQUOTIENT-v1.1",
218
+ "right": "STRATA-HEADQUOTIENT-v1.1-REP4-FRESH",
219
+ "union": 99
220
+ },
221
+ {
222
+ "intersection": 89,
223
+ "jaccard": 0.8640776699029126,
224
+ "left": "STRATA-HEADQUOTIENT-v1.1-REP3-FRESH",
225
+ "right": "STRATA-HEADQUOTIENT-v1.1-REP4-FRESH",
226
+ "union": 103
227
+ }
228
+ ]
229
+ }
raw/reproducibility/model_release.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repository": "https://huggingface.co/nur-dev/strata-headquotient-q25",
3
+ "immutable_revision": "v1.2.0",
4
+ "hub_commit": "60b2ea8dc02c1b847faf3770105fecb2e9a74d7d",
5
+ "dense_checkpoint_sha256": "10e8559713ef1d951c604605f8f3666a027a25a341363d0c17006f628cc38c1f",
6
+ "q25_checkpoint_sha256": "51120c7ecca5234a4e7cee424c199582e444eb04e434a2d7f08263e3ccc74a90",
7
+ "tokenizer_sha256": "ac3a38d3522a0f1499f506bb8232704005efa4bbcbb6455f59366fa6181f8301",
8
+ "physical_modes": {
9
+ "GLOBAL": 288,
10
+ "LOCAL": 81,
11
+ "LOCAL_GRAPH": 15
12
+ },
13
+ "included": [
14
+ "dense reference checkpoint",
15
+ "physical Q25 checkpoint",
16
+ "event-scoped adapter",
17
+ "static selection plan",
18
+ "470-document tokenized confirmation bundle",
19
+ "packed semantic-confirmation source",
20
+ "tokenizer",
21
+ "pinned environment",
22
+ "minimal transitive source snapshot",
23
+ "structural verifier",
24
+ "one-command evaluation",
25
+ "two fresh Q25 checkpoints and complete audits",
26
+ "corrected matched-capacity H0 reanalysis",
27
+ "cached prefill/decode profile and implementation"
28
+ ]
29
+ }
raw/reproducibility/q25_cached_decode_profile.json ADDED
@@ -0,0 +1,422 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "created_at": "2026-07-21T02:07:16.839792+00:00",
3
+ "device": "cuda:6",
4
+ "graph_enabled": false,
5
+ "measurement": "inference-only KV cache; BF16 numerical equivalence is checked against full-sequence logits; prefill and autoregressive decode are reported separately",
6
+ "program": "STRATA-HEADQUOTIENT-Q25-CACHED-DECODE-PROFILE",
7
+ "rows": [
8
+ {
9
+ "batch_size": 1,
10
+ "dense": {
11
+ "batch_size": 1,
12
+ "decode_seconds": 0.23088740557432175,
13
+ "decode_steps": 32,
14
+ "decode_tokens_per_second": 138.59569308426106,
15
+ "first_cached_token_ms": 7.441435630122821,
16
+ "peak_allocated_bytes": 2767192064,
17
+ "persistent_kv_bytes": 204472320,
18
+ "prefill_seconds": 0.02532536784807841,
19
+ "prefill_tokens_per_second": 80867.53220271169,
20
+ "prefix_length": 2048
21
+ },
22
+ "prefix_length": 2048,
23
+ "q25": {
24
+ "batch_size": 1,
25
+ "decode_seconds": 0.21997203739980856,
26
+ "decode_steps": 32,
27
+ "decode_tokens_per_second": 145.47303547422547,
28
+ "first_cached_token_ms": 7.406104976932208,
29
+ "peak_allocated_bytes": 2728734208,
30
+ "persistent_kv_bytes": 178520064,
31
+ "prefill_seconds": 0.02850375821193059,
32
+ "prefill_tokens_per_second": 71850.1744497252,
33
+ "prefix_length": 2048
34
+ },
35
+ "ratios": {
36
+ "decode_throughput": 1.0496216169270371,
37
+ "persistent_kv": 0.8730769230769231,
38
+ "prefill_throughput": 0.8884922352968238
39
+ }
40
+ },
41
+ {
42
+ "batch_size": 4,
43
+ "dense": {
44
+ "batch_size": 4,
45
+ "decode_seconds": 0.23466505793233713,
46
+ "decode_steps": 32,
47
+ "decode_tokens_per_second": 545.458284790347,
48
+ "first_cached_token_ms": 7.920100043217341,
49
+ "peak_allocated_bytes": 4261779456,
50
+ "persistent_kv_bytes": 817889280,
51
+ "prefill_seconds": 0.09082256692151229,
52
+ "prefill_tokens_per_second": 90197.84705137681,
53
+ "prefix_length": 2048
54
+ },
55
+ "prefix_length": 2048,
56
+ "q25": {
57
+ "batch_size": 4,
58
+ "decode_seconds": 0.2278061956167221,
59
+ "decode_steps": 32,
60
+ "decode_tokens_per_second": 561.881118524786,
61
+ "first_cached_token_ms": 7.969736432035764,
62
+ "peak_allocated_bytes": 4070479872,
63
+ "persistent_kv_bytes": 714080256,
64
+ "prefill_seconds": 0.0923770306011041,
65
+ "prefill_tokens_per_second": 88680.05332812775,
66
+ "prefix_length": 2048
67
+ },
68
+ "ratios": {
69
+ "decode_throughput": 1.0301083221070724,
70
+ "persistent_kv": 0.8730769230769231,
71
+ "prefill_throughput": 0.9831726169430127
72
+ }
73
+ },
74
+ {
75
+ "batch_size": 8,
76
+ "dense": {
77
+ "batch_size": 8,
78
+ "decode_seconds": 0.25229039539893466,
79
+ "decode_steps": 32,
80
+ "decode_tokens_per_second": 1014.7037091729136,
81
+ "first_cached_token_ms": 8.601184313495954,
82
+ "peak_allocated_bytes": 6273153024,
83
+ "persistent_kv_bytes": 1635778560,
84
+ "prefill_seconds": 0.19029431355496249,
85
+ "prefill_tokens_per_second": 86098.2112072825,
86
+ "prefix_length": 2048
87
+ },
88
+ "prefix_length": 2048,
89
+ "q25": {
90
+ "batch_size": 8,
91
+ "decode_seconds": 0.23515919471780458,
92
+ "decode_steps": 32,
93
+ "decode_tokens_per_second": 1088.6242415790068,
94
+ "first_cached_token_ms": 7.94680913289388,
95
+ "peak_allocated_bytes": 5870467072,
96
+ "persistent_kv_bytes": 1428160512,
97
+ "prefill_seconds": 0.19251583764950433,
98
+ "prefill_tokens_per_second": 85104.6864509341,
99
+ "prefix_length": 2048
100
+ },
101
+ "ratios": {
102
+ "decode_throughput": 1.072849376362629,
103
+ "persistent_kv": 0.8730769230769231,
104
+ "prefill_throughput": 0.9884605644830823
105
+ }
106
+ },
107
+ {
108
+ "batch_size": 16,
109
+ "dense": {
110
+ "batch_size": 16,
111
+ "decode_seconds": 0.3312743529677391,
112
+ "decode_steps": 32,
113
+ "decode_tokens_per_second": 1545.5467512447628,
114
+ "first_cached_token_ms": 11.202741414308548,
115
+ "peak_allocated_bytes": 10296591872,
116
+ "persistent_kv_bytes": 3271557120,
117
+ "prefill_seconds": 0.40776471979916096,
118
+ "prefill_tokens_per_second": 80360.06650143603,
119
+ "prefix_length": 2048
120
+ },
121
+ "prefix_length": 2048,
122
+ "q25": {
123
+ "batch_size": 16,
124
+ "decode_seconds": 0.29237379630406696,
125
+ "decode_steps": 32,
126
+ "decode_tokens_per_second": 1751.1829256665776,
127
+ "first_cached_token_ms": 9.928669159611067,
128
+ "peak_allocated_bytes": 9478374912,
129
+ "persistent_kv_bytes": 2856321024,
130
+ "prefill_seconds": 0.41604801764090854,
131
+ "prefill_tokens_per_second": 78760.13972089658,
132
+ "prefix_length": 2048
133
+ },
134
+ "ratios": {
135
+ "decode_throughput": 1.1330507629459918,
136
+ "persistent_kv": 0.8730769230769231,
137
+ "prefill_throughput": 0.9800905244334155
138
+ }
139
+ },
140
+ {
141
+ "batch_size": 1,
142
+ "dense": {
143
+ "batch_size": 1,
144
+ "decode_seconds": 0.23166167673965296,
145
+ "decode_steps": 32,
146
+ "decode_tokens_per_second": 138.13247167317354,
147
+ "first_cached_token_ms": 7.798002411921819,
148
+ "peak_allocated_bytes": 3247719936,
149
+ "persistent_kv_bytes": 405798912,
150
+ "prefill_seconds": 0.04814621185262998,
151
+ "prefill_tokens_per_second": 85074.19052068697,
152
+ "prefix_length": 4096
153
+ },
154
+ "prefix_length": 4096,
155
+ "q25": {
156
+ "batch_size": 1,
157
+ "decode_seconds": 0.22054913143316904,
158
+ "decode_steps": 32,
159
+ "decode_tokens_per_second": 145.0923873155069,
160
+ "first_cached_token_ms": 7.15858240922292,
161
+ "peak_allocated_bytes": 3113641472,
162
+ "persistent_kv_bytes": 329515008,
163
+ "prefill_seconds": 0.05360218447943529,
164
+ "prefill_tokens_per_second": 76414.79614644154,
165
+ "prefix_length": 4096
166
+ },
167
+ "ratios": {
168
+ "decode_throughput": 1.0503858039896714,
169
+ "persistent_kv": 0.812015503875969,
170
+ "prefill_throughput": 0.8982136142436785
171
+ }
172
+ },
173
+ {
174
+ "batch_size": 4,
175
+ "dense": {
176
+ "batch_size": 4,
177
+ "decode_seconds": 0.25190934414664906,
178
+ "decode_steps": 32,
179
+ "decode_tokens_per_second": 508.1193015431964,
180
+ "first_cached_token_ms": 8.424771949648857,
181
+ "peak_allocated_bytes": 6247872512,
182
+ "persistent_kv_bytes": 1623195648,
183
+ "prefill_seconds": 0.20185994543135166,
184
+ "prefill_tokens_per_second": 81165.18591635038,
185
+ "prefix_length": 4096
186
+ },
187
+ "prefix_length": 4096,
188
+ "q25": {
189
+ "batch_size": 4,
190
+ "decode_seconds": 0.231443390250206,
191
+ "decode_steps": 32,
192
+ "decode_tokens_per_second": 553.0510068212504,
193
+ "first_cached_token_ms": 7.94626772403717,
194
+ "peak_allocated_bytes": 5648562176,
195
+ "persistent_kv_bytes": 1318060032,
196
+ "prefill_seconds": 0.20270894095301628,
197
+ "prefill_tokens_per_second": 80825.2459066296,
198
+ "prefix_length": 4096
199
+ },
200
+ "ratios": {
201
+ "decode_throughput": 1.0884274719373839,
202
+ "persistent_kv": 0.812015503875969,
203
+ "prefill_throughput": 0.9958117509880267
204
+ }
205
+ },
206
+ {
207
+ "batch_size": 8,
208
+ "dense": {
209
+ "batch_size": 8,
210
+ "decode_seconds": 0.321361793205142,
211
+ "decode_steps": 32,
212
+ "decode_tokens_per_second": 796.6099437234028,
213
+ "first_cached_token_ms": 10.821449880798658,
214
+ "peak_allocated_bytes": 10243749888,
215
+ "persistent_kv_bytes": 3246391296,
216
+ "prefill_seconds": 0.4328818339854479,
217
+ "prefill_tokens_per_second": 75697.33222184962,
218
+ "prefix_length": 4096
219
+ },
220
+ "prefix_length": 4096,
221
+ "q25": {
222
+ "batch_size": 8,
223
+ "decode_seconds": 0.27276255128284294,
224
+ "decode_steps": 32,
225
+ "decode_tokens_per_second": 938.5452614224124,
226
+ "first_cached_token_ms": 9.249638145168623,
227
+ "peak_allocated_bytes": 9035757568,
228
+ "persistent_kv_bytes": 2636120064,
229
+ "prefill_seconds": 0.43729556041459244,
230
+ "prefill_tokens_per_second": 74933.30133270327,
231
+ "prefix_length": 4096
232
+ },
233
+ "ratios": {
234
+ "decode_throughput": 1.1781741727144346,
235
+ "persistent_kv": 0.812015503875969,
236
+ "prefill_throughput": 0.9899067659754881
237
+ }
238
+ },
239
+ {
240
+ "batch_size": 16,
241
+ "dense": {
242
+ "batch_size": 16,
243
+ "decode_seconds": 0.4728281206140916,
244
+ "decode_steps": 32,
245
+ "decode_tokens_per_second": 1082.8459173177632,
246
+ "first_cached_token_ms": 15.76905200878779,
247
+ "peak_allocated_bytes": 18239866368,
248
+ "persistent_kv_bytes": 6492782592,
249
+ "prefill_seconds": 0.8857398132483164,
250
+ "prefill_tokens_per_second": 73990.12556481644,
251
+ "prefix_length": 4096
252
+ },
253
+ "prefix_length": 4096,
254
+ "q25": {
255
+ "batch_size": 16,
256
+ "decode_seconds": 0.3972581879546245,
257
+ "decode_steps": 32,
258
+ "decode_tokens_per_second": 1288.8343538899733,
259
+ "first_cached_token_ms": 13.64798347155253,
260
+ "peak_allocated_bytes": 15803827712,
261
+ "persistent_kv_bytes": 5272240128,
262
+ "prefill_seconds": 0.8932362391302983,
263
+ "prefill_tokens_per_second": 73369.1683443221,
264
+ "prefix_length": 4096
265
+ },
266
+ "ratios": {
267
+ "decode_throughput": 1.1902287604153772,
268
+ "persistent_kv": 0.812015503875969,
269
+ "prefill_throughput": 0.9916075663373436
270
+ }
271
+ },
272
+ {
273
+ "batch_size": 1,
274
+ "dense": {
275
+ "batch_size": 1,
276
+ "decode_seconds": 0.22510927046338716,
277
+ "decode_steps": 32,
278
+ "decode_tokens_per_second": 142.1531860244051,
279
+ "first_cached_token_ms": 7.497106368343036,
280
+ "peak_allocated_bytes": 4234716672,
281
+ "persistent_kv_bytes": 805306368,
282
+ "prefill_seconds": 0.10965904593467712,
283
+ "prefill_tokens_per_second": 74412.46575189826,
284
+ "prefix_length": 8160
285
+ },
286
+ "prefix_length": 8160,
287
+ "q25": {
288
+ "batch_size": 1,
289
+ "decode_seconds": 0.224536320194602,
290
+ "decode_steps": 32,
291
+ "decode_tokens_per_second": 142.5159189046392,
292
+ "first_cached_token_ms": 7.5872062395016355,
293
+ "peak_allocated_bytes": 3902450176,
294
+ "persistent_kv_bytes": 629145600,
295
+ "prefill_seconds": 0.11838383475939433,
296
+ "prefill_tokens_per_second": 68928.32975536353,
297
+ "prefix_length": 8160
298
+ },
299
+ "ratios": {
300
+ "decode_throughput": 1.0025517041888306,
301
+ "persistent_kv": 0.78125,
302
+ "prefill_throughput": 0.9263008429955861
303
+ }
304
+ },
305
+ {
306
+ "batch_size": 4,
307
+ "dense": {
308
+ "batch_size": 4,
309
+ "decode_seconds": 0.31844382857282955,
310
+ "decode_steps": 32,
311
+ "decode_tokens_per_second": 401.95472015789375,
312
+ "first_cached_token_ms": 10.655300070842108,
313
+ "peak_allocated_bytes": 10188224512,
314
+ "persistent_kv_bytes": 3221225472,
315
+ "prefill_seconds": 0.47874748582641286,
316
+ "prefill_tokens_per_second": 68177.9037307254,
317
+ "prefix_length": 8160
318
+ },
319
+ "prefix_length": 8160,
320
+ "q25": {
321
+ "batch_size": 4,
322
+ "decode_seconds": 0.27023141148189705,
323
+ "decode_steps": 32,
324
+ "decode_tokens_per_second": 473.6681028236971,
325
+ "first_cached_token_ms": 8.966594313581785,
326
+ "peak_allocated_bytes": 8791914496,
327
+ "persistent_kv_bytes": 2516582400,
328
+ "prefill_seconds": 0.4703146008153756,
329
+ "prefill_tokens_per_second": 69400.35445085618,
330
+ "prefix_length": 8160
331
+ },
332
+ "ratios": {
333
+ "decode_throughput": 1.1784115948125533,
334
+ "persistent_kv": 0.78125,
335
+ "prefill_throughput": 1.0179303066424417
336
+ }
337
+ },
338
+ {
339
+ "batch_size": 8,
340
+ "dense": {
341
+ "batch_size": 8,
342
+ "decode_seconds": 0.45806841490169364,
343
+ "decode_steps": 32,
344
+ "decode_tokens_per_second": 558.8684826805627,
345
+ "first_cached_token_ms": 15.288629879554113,
346
+ "peak_allocated_bytes": 18128516096,
347
+ "persistent_kv_bytes": 6442450944,
348
+ "prefill_seconds": 0.9819728036721548,
349
+ "prefill_tokens_per_second": 66478.41952025653,
350
+ "prefix_length": 8160
351
+ },
352
+ "prefix_length": 8160,
353
+ "q25": {
354
+ "batch_size": 8,
355
+ "decode_seconds": 0.3758538272231817,
356
+ "decode_steps": 32,
357
+ "decode_tokens_per_second": 681.1158526476502,
358
+ "first_cached_token_ms": 12.771941100557646,
359
+ "peak_allocated_bytes": 15313089536,
360
+ "persistent_kv_bytes": 5033164800,
361
+ "prefill_seconds": 0.9673846984903017,
362
+ "prefill_tokens_per_second": 67480.9102334116,
363
+ "prefix_length": 8160
364
+ },
365
+ "ratios": {
366
+ "decode_throughput": 1.2187408554168933,
367
+ "persistent_kv": 0.78125,
368
+ "prefill_throughput": 1.0150799420381769
369
+ }
370
+ },
371
+ {
372
+ "batch_size": 16,
373
+ "dense": {
374
+ "batch_size": 16,
375
+ "decode_seconds": 0.7506915175666412,
376
+ "decode_steps": 32,
377
+ "decode_tokens_per_second": 682.037811829342,
378
+ "first_cached_token_ms": 25.01120666662852,
379
+ "peak_allocated_bytes": 34005301248,
380
+ "persistent_kv_bytes": 12884901888,
381
+ "prefill_seconds": 2.1065259805570045,
382
+ "prefill_tokens_per_second": 61978.82257567861,
383
+ "prefix_length": 8160
384
+ },
385
+ "prefix_length": 8160,
386
+ "q25": {
387
+ "batch_size": 16,
388
+ "decode_seconds": 0.606967706233263,
389
+ "decode_steps": 32,
390
+ "decode_tokens_per_second": 843.5374645833858,
391
+ "first_cached_token_ms": 20.8244522412618,
392
+ "peak_allocated_bytes": 28370909184,
393
+ "persistent_kv_bytes": 10066329600,
394
+ "prefill_seconds": 2.119566404571136,
395
+ "prefill_tokens_per_second": 61597.50396044655,
396
+ "prefix_length": 8160
397
+ },
398
+ "ratios": {
399
+ "decode_throughput": 1.2367898816648804,
400
+ "persistent_kv": 0.78125,
401
+ "prefill_throughput": 0.9938475982700953
402
+ }
403
+ }
404
+ ],
405
+ "torch_version": "2.5.1+cu124",
406
+ "verification": {
407
+ "dense": {
408
+ "maximum_absolute_logit_difference": 0.0625,
409
+ "maximum_absolute_probability_difference": 0.0015385262668132782,
410
+ "mean_absolute_logit_difference": 0.009482888504862785,
411
+ "numerically_equivalent": true,
412
+ "top_token_exact": true
413
+ },
414
+ "q25": {
415
+ "maximum_absolute_logit_difference": 0.078125,
416
+ "maximum_absolute_probability_difference": 0.002120431512594223,
417
+ "mean_absolute_logit_difference": 0.011962523683905602,
418
+ "numerically_equivalent": true,
419
+ "top_token_exact": true
420
+ }
421
+ }
422
+ }
raw/reproducibility/q25_matched_h0_reanalysis.json ADDED
@@ -0,0 +1,416 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "checkpoint": {
3
+ "path": "source-data://strata/outputs/strata-headquotient-v1-1/frontier/Q25/exported_model.pt",
4
+ "sha256": "42f16ff73107bb218c9cb3d5cd8038f56c03e5f876261af790c5e0362b886841"
5
+ },
6
+ "controlled_causal": {
7
+ "effects_vs_graph_zero": {
8
+ "correct": {
9
+ "confidence": 0.95,
10
+ "lower": 0.2476348578929901,
11
+ "mean": 0.25487813353538513,
12
+ "samples": 1000,
13
+ "upper": 0.26197588443756104
14
+ },
15
+ "random": {
16
+ "confidence": 0.95,
17
+ "lower": 0.0,
18
+ "mean": 0.0,
19
+ "samples": 1000,
20
+ "upper": 0.0
21
+ },
22
+ "untyped": {
23
+ "confidence": 0.95,
24
+ "lower": -0.0043089319951832294,
25
+ "mean": -0.0007616211660206318,
26
+ "samples": 1000,
27
+ "upper": 0.002813332946971059
28
+ },
29
+ "wrong_event": {
30
+ "confidence": 0.95,
31
+ "lower": 0.0,
32
+ "mean": 0.0,
33
+ "samples": 1000,
34
+ "upper": 0.0
35
+ },
36
+ "wrong_role": {
37
+ "confidence": 0.95,
38
+ "lower": -0.26323336362838745,
39
+ "mean": -0.2560182511806488,
40
+ "samples": 1000,
41
+ "upper": -0.24900954961776733
42
+ }
43
+ },
44
+ "examples": 2000,
45
+ "marginal_handoff_vs_hq0": {
46
+ "correct": {
47
+ "confidence": 0.95,
48
+ "lower": -0.00023968867026269436,
49
+ "mean": -8.118145342450589e-05,
50
+ "samples": 1000,
51
+ "upper": 7.799099694238976e-05
52
+ },
53
+ "random": {
54
+ "confidence": 0.95,
55
+ "lower": 0.0,
56
+ "mean": 0.0,
57
+ "samples": 1000,
58
+ "upper": 0.0
59
+ },
60
+ "untyped": {
61
+ "confidence": 0.95,
62
+ "lower": -9.874618262983859e-05,
63
+ "mean": 7.627225568285212e-05,
64
+ "samples": 1000,
65
+ "upper": 0.00023413376766256988
66
+ },
67
+ "wrong_event": {
68
+ "confidence": 0.95,
69
+ "lower": 0.0,
70
+ "mean": 0.0,
71
+ "samples": 1000,
72
+ "upper": 0.0
73
+ },
74
+ "wrong_role": {
75
+ "confidence": 0.95,
76
+ "lower": -0.00010881897469516844,
77
+ "mean": 6.049078729120083e-05,
78
+ "samples": 1000,
79
+ "upper": 0.0002462287957314402
80
+ }
81
+ },
82
+ "matched_h0_graph_capacity": {
83
+ "attention_modes": "all global",
84
+ "graph_groups": 15,
85
+ "program_coverage": {
86
+ "READ_EVENT_ARG0": 15,
87
+ "READ_EVENT_ARG1": 7,
88
+ "READ_EVENT_ARG2": 3,
89
+ "READ_EVENT_LOCATION": 2,
90
+ "READ_EVENT_TIME": 3
91
+ }
92
+ },
93
+ "matched_h0_metrics": {
94
+ "correct": {
95
+ "accuracy": 0.9995,
96
+ "mean_margin": 0.254790335893631,
97
+ "wrong_target_accuracy": 0.0
98
+ },
99
+ "random": {
100
+ "accuracy": 0.125,
101
+ "mean_margin": -0.000168985512573272,
102
+ "wrong_target_accuracy": 0.135
103
+ },
104
+ "untyped": {
105
+ "accuracy": 0.1835,
106
+ "mean_margin": -0.001006878330372274,
107
+ "wrong_target_accuracy": 0.1885
108
+ },
109
+ "wrong_event": {
110
+ "accuracy": 0.125,
111
+ "mean_margin": -0.000168985512573272,
112
+ "wrong_target_accuracy": 0.135
113
+ },
114
+ "wrong_role": {
115
+ "accuracy": 0.0,
116
+ "mean_margin": -0.2562476694583893,
117
+ "wrong_target_accuracy": 1.0
118
+ },
119
+ "zero": {
120
+ "accuracy": 0.125,
121
+ "mean_margin": -0.000168985512573272,
122
+ "wrong_target_accuracy": 0.135
123
+ }
124
+ },
125
+ "metrics": {
126
+ "correct": {
127
+ "accuracy": 1.0,
128
+ "mean_margin": 0.25481492280960083,
129
+ "wrong_target_accuracy": 0.0
130
+ },
131
+ "random": {
132
+ "accuracy": 0.1315,
133
+ "mean_margin": -6.322524131974205e-05,
134
+ "wrong_target_accuracy": 0.134
135
+ },
136
+ "untyped": {
137
+ "accuracy": 0.184,
138
+ "mean_margin": -0.0008248474914580584,
139
+ "wrong_target_accuracy": 0.189
140
+ },
141
+ "wrong_event": {
142
+ "accuracy": 0.1315,
143
+ "mean_margin": -6.322524131974205e-05,
144
+ "wrong_target_accuracy": 0.134
145
+ },
146
+ "wrong_role": {
147
+ "accuracy": 0.0,
148
+ "mean_margin": -0.2560814619064331,
149
+ "wrong_target_accuracy": 1.0
150
+ },
151
+ "zero": {
152
+ "accuracy": 0.1315,
153
+ "mean_margin": -6.322524131974205e-05,
154
+ "wrong_target_accuracy": 0.134
155
+ }
156
+ },
157
+ "null_controls_exact": true
158
+ },
159
+ "created_at": "2026-07-21T02:25:27.096612+00:00",
160
+ "gates": {
161
+ "causal": false,
162
+ "ppl": true,
163
+ "runtime": true
164
+ },
165
+ "invalid_programs": 0,
166
+ "natural_carrier_causal": {
167
+ "carrier": {
168
+ "accuracy": 0.9711791212917762,
169
+ "authoritative_coverage": 0.7972814623857511,
170
+ "authoritative_execution": 0.9826689774696707,
171
+ "authoritative_fact_count": 3462,
172
+ "edge_macro_f1": 0.9209658892559601,
173
+ "error_categories": {
174
+ "correct": 1821,
175
+ "multi-event ambiguity": 47,
176
+ "valency-signature miss": 7,
177
+ "wrong carrier relation": 93,
178
+ "wrong event identity": 32
179
+ },
180
+ "examples": 2000,
181
+ "gold_fact_count": 4267,
182
+ "invalid_programs": 0,
183
+ "per_label": {
184
+ "CCOMP": {
185
+ "f1": 0.8947368421052632,
186
+ "precision": 0.952,
187
+ "recall": 0.8439716312056738,
188
+ "support": 141
189
+ },
190
+ "CLAUSAL_SUBJECT": {
191
+ "f1": 0.823529411764706,
192
+ "precision": 0.7777777777777778,
193
+ "recall": 0.875,
194
+ "support": 8
195
+ },
196
+ "COORDINATED_WITH": {
197
+ "f1": 0.9640522875816994,
198
+ "precision": 0.9800664451827242,
199
+ "recall": 0.9485530546623794,
200
+ "support": 311
201
+ },
202
+ "CORE_OBLIQUE": {
203
+ "f1": 0.942608695652174,
204
+ "precision": 0.9492119089316988,
205
+ "recall": 0.9360967184801382,
206
+ "support": 579
207
+ },
208
+ "DIRECT_OBJECT": {
209
+ "f1": 0.9611267605633804,
210
+ "precision": 0.9595050618672666,
211
+ "recall": 0.9627539503386005,
212
+ "support": 886
213
+ },
214
+ "INDIRECT_OBJECT": {
215
+ "f1": 0.9483568075117371,
216
+ "precision": 0.926605504587156,
217
+ "recall": 0.9711538461538461,
218
+ "support": 104
219
+ },
220
+ "PASSIVE_SUBJECT": {
221
+ "f1": 0.8480565371024734,
222
+ "precision": 0.8571428571428571,
223
+ "recall": 0.8391608391608392,
224
+ "support": 143
225
+ },
226
+ "RECIPIENT_OBLIQUE": {
227
+ "f1": 0.9651741293532337,
228
+ "precision": 0.9797979797979798,
229
+ "recall": 0.9509803921568627,
230
+ "support": 204
231
+ },
232
+ "RELATIVE_CLAUSE": {
233
+ "f1": 0.8801652892561984,
234
+ "precision": 0.9301310043668122,
235
+ "recall": 0.8352941176470589,
236
+ "support": 255
237
+ },
238
+ "SURFACE_SUBJECT": {
239
+ "f1": 0.9748641304347826,
240
+ "precision": 0.9755268524813052,
241
+ "recall": 0.9742023082145281,
242
+ "support": 1473
243
+ },
244
+ "XCOMP": {
245
+ "f1": 0.9279538904899135,
246
+ "precision": 0.875,
247
+ "recall": 0.9877300613496932,
248
+ "support": 163
249
+ }
250
+ },
251
+ "raw_execution": 0.9105,
252
+ "split": "external_v3",
253
+ "wrong_authoritative_rate": 0.01733102253032929
254
+ },
255
+ "examples": 2000,
256
+ "note": "frozen natural carrier/R12 evaluation; not reused for frontier selection",
257
+ "r12": {
258
+ "examples": 256,
259
+ "graph_off_fallback_exact": true,
260
+ "graph_zero": {
261
+ "accuracy": 0.046875,
262
+ "candidate_nll": 3.4653353095054626,
263
+ "candidate_ppl": 31.987183581840533,
264
+ "examples": 256
265
+ },
266
+ "ordinary_ppl_ratio_to_dense": 1.0019550335910028,
267
+ "physical_removal": true,
268
+ "random_carrier": {
269
+ "accuracy": 0.0,
270
+ "candidate_nll": 3.4696131348609924,
271
+ "candidate_ppl": 32.12431226397685,
272
+ "examples": 256
273
+ },
274
+ "typed": {
275
+ "accuracy": 1.0,
276
+ "candidate_nll": 3.303746908903122,
277
+ "candidate_ppl": 27.21441806833827,
278
+ "examples": 256
279
+ },
280
+ "typed_minus_untyped": 0.50390625,
281
+ "untyped": {
282
+ "accuracy": 0.49609375,
283
+ "candidate_nll": 3.3569958806037903,
284
+ "candidate_ppl": 28.702834489918512,
285
+ "examples": 256
286
+ },
287
+ "wrong_event": {
288
+ "accuracy": 0.046875,
289
+ "candidate_nll": 3.4653353095054626,
290
+ "candidate_ppl": 31.987183581840533,
291
+ "examples": 256
292
+ },
293
+ "wrong_role": {
294
+ "accuracy": 0.0078125,
295
+ "candidate_nll": 3.4682549834251404,
296
+ "candidate_ppl": 32.08071219759812,
297
+ "examples": 256
298
+ }
299
+ },
300
+ "sha256": "9ef0f47765ee3dd32aee8b34b92b77e1846f685ccd5a2a95722b4c8f04a0c499",
301
+ "source": "source-data://strata/outputs/strata-carrier-resolve-v1/external_v3/evaluation.json"
302
+ },
303
+ "next_stage": "CLOSED",
304
+ "passed": false,
305
+ "phase": "diagnostic",
306
+ "physical_export": {
307
+ "affected_layers": [
308
+ 2,
309
+ 4,
310
+ 5,
311
+ 17,
312
+ 18,
313
+ 19,
314
+ 20,
315
+ 21,
316
+ 22,
317
+ 23
318
+ ],
319
+ "dense_qkv_in_exported_layers": 0,
320
+ "global_kv_reduction": 1.3333333333333333,
321
+ "graph_adapter_compaction": {
322
+ "active_groups_per_program": {
323
+ "READ_EVENT_ARG0": 15,
324
+ "READ_EVENT_ARG1": 7,
325
+ "READ_EVENT_ARG2": 3,
326
+ "READ_EVENT_LOCATION": 2,
327
+ "READ_EVENT_TIME": 3
328
+ },
329
+ "buffer_bytes": 80,
330
+ "form": "parameter_free_program_routing",
331
+ "parameter_bytes": 2
332
+ },
333
+ "graph_groups": 15,
334
+ "graph_program_coverage": {
335
+ "READ_EVENT_ARG0": 15,
336
+ "READ_EVENT_ARG1": 7,
337
+ "READ_EVENT_ARG2": 3,
338
+ "READ_EVENT_LOCATION": 2,
339
+ "READ_EVENT_TIME": 3
340
+ },
341
+ "groups_removed": 96,
342
+ "replacement_fraction": 0.25
343
+ },
344
+ "plan": {
345
+ "path": "source-data://strata/outputs/strata-headquotient-v1-1/selection/Q25/plan.json",
346
+ "sha256": "cdb8f17ae11322d276b68b96873398257a8936ebb20a007749d4811bce6039e1"
347
+ },
348
+ "program": "STRATA-HEADQUOTIENT-v1.1",
349
+ "quality_pass": false,
350
+ "runtime": {
351
+ "candidate": {
352
+ "peak_allocated_bytes": 1488253440,
353
+ "seconds": 0.11170258559286594,
354
+ "tokens_per_second": 73337.60410755608
355
+ },
356
+ "dense": {
357
+ "peak_allocated_bytes": 1488563200,
358
+ "seconds": 0.10870877715448539,
359
+ "tokens_per_second": 75357.30061941915
360
+ },
361
+ "peak_allocation_ratio": 0.9997919067191773,
362
+ "throughput_ratio": 0.973198396236839
363
+ },
364
+ "smoke": false,
365
+ "stabilization": {
366
+ "steps": 32,
367
+ "trajectory": [
368
+ {
369
+ "loss": 5.2098612785339355,
370
+ "step": 1
371
+ },
372
+ {
373
+ "loss": 4.9329328536987305,
374
+ "step": 32
375
+ }
376
+ ]
377
+ },
378
+ "stage": "Q25_diagnostic",
379
+ "true_8k": {
380
+ "candidate_loss": {
381
+ "0-2048": 5.627997607458383,
382
+ "2048-4096": 5.985978780314326,
383
+ "4096-8192": 5.343196413834307,
384
+ "aggregate": 5.575120614920034
385
+ },
386
+ "dense_loss": {
387
+ "0-2048": 5.62827554019168,
388
+ "2048-4096": 5.985017543658614,
389
+ "4096-8192": 5.345074839236826,
390
+ "aggregate": 5.575888866121378
391
+ },
392
+ "language_ppl_ratio": {
393
+ "ar": 1.001996138817111,
394
+ "de": 1.001525510033417,
395
+ "en": 1.0002027979636123,
396
+ "es": 0.9981573776510331,
397
+ "zh": 0.9976745123862902
398
+ },
399
+ "ppl_ratio": {
400
+ "0-2048": 0.9997221058864268,
401
+ "2048-4096": 1.0009616987917285,
402
+ "4096-8192": 0.9981233377343309,
403
+ "aggregate": 0.9992320438280531
404
+ },
405
+ "windows": [
406
+ 96,
407
+ 97,
408
+ 98,
409
+ 99,
410
+ 100,
411
+ 101,
412
+ 102,
413
+ 103
414
+ ]
415
+ }
416
+ }
reproduced/summary.json CHANGED
@@ -1,5 +1,61 @@
1
  {
2
  "article": "STRATA HEADQUOTIENT Q25",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  "evidence": {
4
  "accuracy": 1.0,
5
  "decision_coverage": 1.0,
@@ -69,22 +125,115 @@
69
  "q25": {
70
  "groups_replaced": 96,
71
  "language_ppl_ratio": {
72
- "ar": 1.0014931180241606,
73
- "de": 1.0014569436456722,
74
- "en": 1.0005086972746728,
75
- "es": 0.9979950617397495,
76
- "zh": 0.9974994495185546
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
77
  },
 
 
78
  "peak_allocation_ratio": 0.9997919067191773,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79
  "ppl_ratio": {
80
- "0-2048": 1.00007699819542,
81
- "2048-4096": 1.0009002031766665,
82
- "4096-8192": 0.9993893766212806,
83
- "aggregate": 0.9999388623918676
 
 
 
 
 
84
  },
85
  "throughput_ratio": 0.9843666476918135,
86
- "typed_execution": 0.9995,
87
- "untyped_execution": 0.179
 
88
  },
89
  "q30": {
90
  "passed": false,
@@ -95,5 +244,234 @@
95
  "aggregate": 1.231681966831007
96
  }
97
  },
98
- "version": "1.0.1"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
99
  }
 
1
  {
2
  "article": "STRATA HEADQUOTIENT Q25",
3
+ "cached_runtime": {
4
+ "prefix_8160": [
5
+ [
6
+ 1,
7
+ "142.153186",
8
+ "142.515919",
9
+ "1.002552",
10
+ "0.926301",
11
+ "0.781250",
12
+ "0.921537"
13
+ ],
14
+ [
15
+ 4,
16
+ "401.954720",
17
+ "473.668103",
18
+ "1.178412",
19
+ "1.017930",
20
+ "0.781250",
21
+ "0.862949"
22
+ ],
23
+ [
24
+ 8,
25
+ "558.868483",
26
+ "681.115853",
27
+ "1.218741",
28
+ "1.015080",
29
+ "0.781250",
30
+ "0.844696"
31
+ ],
32
+ [
33
+ 16,
34
+ "682.037812",
35
+ "843.537465",
36
+ "1.236790",
37
+ "0.993848",
38
+ "0.781250",
39
+ "0.834308"
40
+ ]
41
+ ],
42
+ "verification": {
43
+ "dense": {
44
+ "maximum_absolute_logit_difference": 0.0625,
45
+ "maximum_absolute_probability_difference": 0.0015385262668132782,
46
+ "mean_absolute_logit_difference": 0.009482888504862785,
47
+ "numerically_equivalent": true,
48
+ "top_token_exact": true
49
+ },
50
+ "q25": {
51
+ "maximum_absolute_logit_difference": 0.078125,
52
+ "maximum_absolute_probability_difference": 0.002120431512594223,
53
+ "mean_absolute_logit_difference": 0.011962523683905602,
54
+ "numerically_equivalent": true,
55
+ "top_token_exact": true
56
+ }
57
+ }
58
+ },
59
  "evidence": {
60
  "accuracy": 1.0,
61
  "decision_coverage": 1.0,
 
125
  "q25": {
126
  "groups_replaced": 96,
127
  "language_ppl_ratio": {
128
+ "ar": {
129
+ "confidence": 0.95,
130
+ "documents": 20,
131
+ "nll_difference": 0.0007950443849503941,
132
+ "nll_difference_lower": -0.0002508042924294322,
133
+ "nll_difference_upper": 0.0017058238347448552,
134
+ "ppl_ratio": 1.0007953605165114,
135
+ "ppl_ratio_lower": 0.9997492271563378,
136
+ "ppl_ratio_upper": 1.001707279579853,
137
+ "samples": 10000
138
+ },
139
+ "de": {
140
+ "confidence": 0.95,
141
+ "documents": 50,
142
+ "nll_difference": 0.0016225555833478823,
143
+ "nll_difference_lower": 0.0012127477743440838,
144
+ "nll_difference_upper": 0.0020814374370199235,
145
+ "ppl_ratio": 1.001623872638894,
146
+ "ppl_ratio_lower": 1.0012134834502926,
147
+ "ppl_ratio_upper": 1.0020836051316346,
148
+ "samples": 10000
149
+ },
150
+ "en": {
151
+ "confidence": 0.95,
152
+ "documents": 50,
153
+ "nll_difference": 0.0012889576202753262,
154
+ "nll_difference_lower": 0.000771741110040498,
155
+ "nll_difference_upper": 0.0018380203796616401,
156
+ "ppl_ratio": 1.0012897886831786,
157
+ "ppl_ratio_lower": 1.000772038978832,
158
+ "ppl_ratio_upper": 1.0018397105744985,
159
+ "samples": 10000
160
+ },
161
+ "es": {
162
+ "confidence": 0.95,
163
+ "documents": 50,
164
+ "nll_difference": 0.0012452177826177114,
165
+ "nll_difference_lower": 0.0009779897500504543,
166
+ "nll_difference_upper": 0.0015135438062378857,
167
+ "ppl_ratio": 1.0012459933881799,
168
+ "ppl_ratio_lower": 1.000978468137966,
169
+ "ppl_ratio_upper": 1.0015146897917582,
170
+ "samples": 10000
171
+ },
172
+ "zh": {
173
+ "confidence": 0.95,
174
+ "documents": 300,
175
+ "nll_difference": 0.001545217917117152,
176
+ "nll_difference_lower": 0.00137042381407093,
177
+ "nll_difference_upper": 0.0017341674375761192,
178
+ "ppl_ratio": 1.0015464123814795,
179
+ "ppl_ratio_lower": 1.0013713632738896,
180
+ "ppl_ratio_upper": 1.0017356719755082,
181
+ "samples": 10000
182
+ }
183
  },
184
+ "local_graph_groups": 15,
185
+ "local_only_groups": 81,
186
  "peak_allocation_ratio": 0.9997919067191773,
187
+ "position_ppl_ratio": {
188
+ "0-2048": {
189
+ "confidence": 0.95,
190
+ "documents": 470,
191
+ "nll_difference": 0.0004259108783716851,
192
+ "nll_difference_lower": 0.00029588773093642076,
193
+ "nll_difference_upper": 0.0005560303618140677,
194
+ "ppl_ratio": 1.000426001591288,
195
+ "ppl_ratio_lower": 1.0002959315100288,
196
+ "ppl_ratio_upper": 1.000556184975351,
197
+ "samples": 10000
198
+ },
199
+ "2048-4096": {
200
+ "confidence": 0.95,
201
+ "documents": 470,
202
+ "nll_difference": 0.0014160845587228208,
203
+ "nll_difference_lower": 0.0012086108188204309,
204
+ "nll_difference_upper": 0.0016230750466360055,
205
+ "ppl_ratio": 1.0014170876799071,
206
+ "ppl_ratio_lower": 1.0012093414832095,
207
+ "ppl_ratio_upper": 1.0016243929458595,
208
+ "samples": 10000
209
+ },
210
+ "4096-8192": {
211
+ "confidence": 0.95,
212
+ "documents": 470,
213
+ "nll_difference": 0.0020038272965785444,
214
+ "nll_difference_lower": 0.001770213721668351,
215
+ "nll_difference_upper": 0.0022347243062779704,
216
+ "ppl_ratio": 1.0020058363001705,
217
+ "ppl_ratio_lower": 1.001771781474928,
218
+ "ppl_ratio_upper": 1.0022372231637129,
219
+ "samples": 10000
220
+ }
221
+ },
222
  "ppl_ratio": {
223
+ "confidence": 0.95,
224
+ "documents": 470,
225
+ "nll_difference": 0.001462346408821701,
226
+ "nll_difference_lower": 0.0013137826055078657,
227
+ "nll_difference_upper": 0.0016099244922990635,
228
+ "ppl_ratio": 1.0014634161587161,
229
+ "ppl_ratio_lower": 1.0013146459959361,
230
+ "ppl_ratio_upper": 1.0016112211164634,
231
+ "samples": 10000
232
  },
233
  "throughput_ratio": 0.9843666476918135,
234
+ "token_kv_reduction": 0.21875,
235
+ "typed_execution": 0.999,
236
+ "untyped_execution": 0.187
237
  },
238
  "q30": {
239
  "passed": false,
 
244
  "aggregate": 1.231681966831007
245
  }
246
  },
247
+ "replication": {
248
+ "all_corrected_matched_h0_passed": false,
249
+ "all_expanded_typed_at_least_0_95": true,
250
+ "all_expanded_upper_below_1_03": true,
251
+ "all_invalid_programs_zero": true,
252
+ "all_localization_and_typed_path_passed": true,
253
+ "fresh_replications": 2,
254
+ "program": "STRATA-HEADQUOTIENT-Q25-INDEPENDENT-REPLICATION",
255
+ "runs": [
256
+ {
257
+ "causal_start": 2048,
258
+ "checkpoint_sha256": "51120c7ecca5234a4e7cee424c199582e444eb04e434a2d7f08263e3ccc74a90",
259
+ "config_sha256": "c4a3742f240a67380913554dbfc6efd4862a41fd1ce38bc08fd1e6952730a9c9",
260
+ "confirmation_stage_opened": true,
261
+ "confirmation_windows": {
262
+ "count": 8,
263
+ "start": 112
264
+ },
265
+ "corrected_marginal_correct": {
266
+ "confidence": 0.95,
267
+ "lower": -0.00023968867026269436,
268
+ "mean": -8.118145342450589e-05,
269
+ "samples": 1000,
270
+ "upper": 7.799099694238976e-05
271
+ },
272
+ "corrected_matched_h0_passed": false,
273
+ "diagnostic_windows": {
274
+ "count": 8,
275
+ "start": 96
276
+ },
277
+ "expanded_documents": 470,
278
+ "expanded_ppl_ratio": 1.0014634161587161,
279
+ "expanded_ppl_ratio_lower": 1.0013146459959361,
280
+ "expanded_ppl_ratio_upper": 1.0016112211164634,
281
+ "expanded_random": 0.1335,
282
+ "expanded_typed": 0.999,
283
+ "expanded_untyped": 0.187,
284
+ "expanded_wrong_event": 0.1335,
285
+ "expanded_wrong_role": 0.0,
286
+ "expanded_zero": 0.1335,
287
+ "frontier_late_ppl_ratio": 0.9993893766212806,
288
+ "frontier_ppl_ratio": 0.9999388623918676,
289
+ "frontier_throughput_ratio": 0.9843666476918135,
290
+ "frontier_typed": 0.9995,
291
+ "frontier_untyped": 0.179,
292
+ "initialization": "registered_legacy_adapter",
293
+ "interaction_audit_sha256": "7a844ea72203f0511b99ab52b71d8b2c62dc305cbbb599f144fba84ebd7ecc5c",
294
+ "interaction_pairs": 6903,
295
+ "interaction_triples": 128,
296
+ "interaction_window": 110,
297
+ "invalid_programs": 0,
298
+ "local_graph_groups": 15,
299
+ "local_groups": 81,
300
+ "localization_and_typed_path_passed": true,
301
+ "program": "STRATA-HEADQUOTIENT-v1.1",
302
+ "registered_result_passed": true,
303
+ "scoped_correct": 0.97,
304
+ "scoped_untyped": 0.208,
305
+ "seed": 20260742,
306
+ "selected_groups": 96,
307
+ "selected_layers": {
308
+ "17": 2,
309
+ "18": 12,
310
+ "19": 7,
311
+ "2": 6,
312
+ "20": 7,
313
+ "21": 10,
314
+ "22": 15,
315
+ "23": 15,
316
+ "4": 10,
317
+ "5": 12
318
+ },
319
+ "selection_plan_sha256": "cdb8f17ae11322d276b68b96873398257a8936ebb20a007749d4811bce6039e1"
320
+ },
321
+ {
322
+ "causal_start": 20480,
323
+ "checkpoint_sha256": "bc5ccd9f57643ebb48bab156a671a348b237e2cb1fe0cb3017d0438e869aadee",
324
+ "config_sha256": "7bdfa6eae5e5ffbbef0e595acec3b58a9091a665460ed3cf778ecba0ce6d4200",
325
+ "confirmation_stage_opened": false,
326
+ "confirmation_windows": {
327
+ "count": 8,
328
+ "start": 409
329
+ },
330
+ "corrected_marginal_correct": {
331
+ "confidence": 0.95,
332
+ "lower": -2.0666471755248494e-05,
333
+ "mean": 0.00013299021520651877,
334
+ "samples": 1000,
335
+ "upper": 0.00028320043929852545
336
+ },
337
+ "corrected_matched_h0_passed": false,
338
+ "diagnostic_windows": {
339
+ "count": 8,
340
+ "start": 400
341
+ },
342
+ "expanded_documents": 470,
343
+ "expanded_ppl_ratio": 1.0013051380076936,
344
+ "expanded_ppl_ratio_lower": 1.0011546308526744,
345
+ "expanded_ppl_ratio_upper": 1.0014523960525095,
346
+ "expanded_random": 0.1285,
347
+ "expanded_typed": 0.9935,
348
+ "expanded_untyped": 0.191,
349
+ "expanded_wrong_event": 0.1285,
350
+ "expanded_wrong_role": 0.0015,
351
+ "expanded_zero": 0.1285,
352
+ "frontier_late_ppl_ratio": 1.000198165907381,
353
+ "frontier_ppl_ratio": 0.9998095370934663,
354
+ "frontier_throughput_ratio": 0.952829708330366,
355
+ "frontier_typed": 0.998,
356
+ "frontier_untyped": 0.186,
357
+ "initialization": "fresh_seeded_grouped_adapter",
358
+ "interaction_audit_sha256": "498cd1e0af04a7d1d08d4f750a9e689d8131dc6daa3f45ee68d6386a94abb0f1",
359
+ "interaction_pairs": 6903,
360
+ "interaction_triples": 128,
361
+ "interaction_window": 408,
362
+ "invalid_programs": 0,
363
+ "local_graph_groups": 14,
364
+ "local_groups": 82,
365
+ "localization_and_typed_path_passed": true,
366
+ "program": "STRATA-HEADQUOTIENT-v1.1-REP3-FRESH",
367
+ "registered_result_passed": false,
368
+ "scoped_correct": 0.9975,
369
+ "scoped_untyped": 0.1935,
370
+ "seed": 20260777,
371
+ "selected_groups": 96,
372
+ "selected_layers": {
373
+ "18": 12,
374
+ "19": 7,
375
+ "2": 6,
376
+ "20": 7,
377
+ "21": 11,
378
+ "22": 14,
379
+ "23": 14,
380
+ "4": 9,
381
+ "5": 12,
382
+ "6": 4
383
+ },
384
+ "selection_plan_sha256": "dd872d27f63c8b9a277afb309ff22be08f37bd0f04a73ed92431b62b8981b190"
385
+ },
386
+ {
387
+ "causal_start": 24576,
388
+ "checkpoint_sha256": "17cb536d9e74fcae58e28d58eca9aff55484c0490770205670983b935b12dced",
389
+ "config_sha256": "5f09189d69fbffe1545bc1cd0180e12fbc17c9727509ef5c9381456549de15f2",
390
+ "confirmation_stage_opened": false,
391
+ "confirmation_windows": {
392
+ "count": 8,
393
+ "start": 509
394
+ },
395
+ "corrected_marginal_correct": {
396
+ "confidence": 0.95,
397
+ "lower": -0.00018559966702014208,
398
+ "mean": -3.4817545383702964e-05,
399
+ "samples": 1000,
400
+ "upper": 0.00010850727267097682
401
+ },
402
+ "corrected_matched_h0_passed": false,
403
+ "diagnostic_windows": {
404
+ "count": 8,
405
+ "start": 500
406
+ },
407
+ "expanded_documents": 470,
408
+ "expanded_ppl_ratio": 1.0014123009914193,
409
+ "expanded_ppl_ratio_lower": 1.0012669492990858,
410
+ "expanded_ppl_ratio_upper": 1.0015544143634656,
411
+ "expanded_random": 0.1205,
412
+ "expanded_typed": 0.994,
413
+ "expanded_untyped": 0.192,
414
+ "expanded_wrong_event": 0.1205,
415
+ "expanded_wrong_role": 0.0025,
416
+ "expanded_zero": 0.1205,
417
+ "frontier_late_ppl_ratio": 1.0010175258666096,
418
+ "frontier_ppl_ratio": 1.0003239584965344,
419
+ "frontier_throughput_ratio": 0.9780706254021283,
420
+ "frontier_typed": 0.9945,
421
+ "frontier_untyped": 0.186,
422
+ "initialization": "fresh_seeded_grouped_adapter",
423
+ "interaction_audit_sha256": "746093b123e1839c38d78e3ce7bbe157a34b9b206fc095e423885a74eaae9822",
424
+ "interaction_pairs": 6903,
425
+ "interaction_triples": 128,
426
+ "interaction_window": 508,
427
+ "invalid_programs": 0,
428
+ "local_graph_groups": 14,
429
+ "local_groups": 82,
430
+ "localization_and_typed_path_passed": true,
431
+ "program": "STRATA-HEADQUOTIENT-v1.1-REP4-FRESH",
432
+ "registered_result_passed": false,
433
+ "scoped_correct": 0.995,
434
+ "scoped_untyped": 0.197,
435
+ "seed": 20260791,
436
+ "selected_groups": 96,
437
+ "selected_layers": {
438
+ "17": 4,
439
+ "18": 12,
440
+ "19": 7,
441
+ "2": 5,
442
+ "20": 7,
443
+ "21": 11,
444
+ "22": 14,
445
+ "23": 14,
446
+ "4": 10,
447
+ "5": 12
448
+ },
449
+ "selection_plan_sha256": "73b103008ff57ee18f2c5ff353c5266c9829b12a592f02c7b779dde3a749bdac"
450
+ }
451
+ ],
452
+ "selected_set_similarity": [
453
+ {
454
+ "intersection": 91,
455
+ "jaccard": 0.900990099009901,
456
+ "left": "STRATA-HEADQUOTIENT-v1.1",
457
+ "right": "STRATA-HEADQUOTIENT-v1.1-REP3-FRESH",
458
+ "union": 101
459
+ },
460
+ {
461
+ "intersection": 93,
462
+ "jaccard": 0.9393939393939394,
463
+ "left": "STRATA-HEADQUOTIENT-v1.1",
464
+ "right": "STRATA-HEADQUOTIENT-v1.1-REP4-FRESH",
465
+ "union": 99
466
+ },
467
+ {
468
+ "intersection": 89,
469
+ "jaccard": 0.8640776699029126,
470
+ "left": "STRATA-HEADQUOTIENT-v1.1-REP3-FRESH",
471
+ "right": "STRATA-HEADQUOTIENT-v1.1-REP4-FRESH",
472
+ "union": 103
473
+ }
474
+ ]
475
+ },
476
+ "version": "1.2.0"
477
  }
reproduced/tables.md CHANGED
@@ -6,15 +6,15 @@ Generated by `python scripts/reproduce.py` from the frozen files in `raw/` and `
6
 
7
  | Mode | Historical state | Admission rule | Stores global KV | Typed program |
8
  | --- | --- | --- | --- | --- |
9
- | GLOBAL | Full causal token KV history | Retain when late-context lexical or discourse utility is material, graph substitution is inadequate, or cluster-retention constraints require the group. | true | false |
10
- | LOCAL | 1024-token local-window KV | The group passes the registered candidate rule, is selected jointly under the interaction and cluster constraints, and has no event-scoped graph program. | false | false |
11
- | LOCAL_GRAPH | 1024-token local-window KV plus an event-scoped typed result | The group passes the registered candidate rule, is selected jointly, has a valid typed program assignment, and shows relation-specific causal handoff without wrong-event or random benefit. | false | true |
12
 
13
  ## Analysed Use Cases
14
 
15
  | ID | Scope | Use case | Component | Method | KV mode/program |
16
  | --- | --- | --- | --- | --- | --- |
17
- | UC01 | Model core | Late-context lexical and discourse continuation | Retained global KV groups | Dense grouped-query causal attention | GLOBAL / NO_GRAPH_READ |
18
  | UC02 | Model core | Recent token and phrase continuation | Localized non-graph KV groups | Local causal attention | LOCAL / NO_GRAPH_READ |
19
  | UC03 | Model core | Agent or ARG0 retrieval | Event-scoped graph group | Exact typed graph execution | LOCAL_GRAPH / READ_EVENT_ARG0 |
20
  | UC04 | Model core | Patient or ARG1 retrieval | Event-scoped graph group | Exact typed graph execution | LOCAL_GRAPH / READ_EVENT_ARG1 |
@@ -29,7 +29,7 @@ Generated by `python scripts/reproduce.py` from the frozen files in `raw/` and `
29
  | Quantity | Count |
30
  | --- | --- |
31
  | Audited groups | 384 |
32
- | Registered candidates | 118 |
33
  | GLOBAL | 288 |
34
  | LOCAL | 81 |
35
  | LOCAL_GRAPH | 15 |
@@ -43,30 +43,38 @@ Generated by `python scripts/reproduce.py` from the frozen files in `raw/` and `
43
  | Q25 | 96 | 25.000000 | 15 | 0.999939 | 0.999389 | 0.999500 | 0.984367 | pass |
44
  | Q30 | 115 | 29.947917 | 15 | 1.231682 | 1.378070 | 1.000000 | 0.939274 | fail |
45
 
46
- ## Q25 Position and Language Ratios
47
 
48
- | Partition | PPL ratio |
49
- | --- | --- |
50
- | 0-2048 | 1.000077 |
51
- | 2048-4096 | 1.000900 |
52
- | 4096-8192 | 0.999389 |
53
- | aggregate | 0.999939 |
54
- | ar | 1.001493 |
55
- | de | 1.001457 |
56
- | en | 1.000509 |
57
- | es | 0.997995 |
58
- | zh | 0.997499 |
59
-
60
- ## Q25 Causal Controls
61
-
62
- | Condition | Accuracy | Mean margin | Marginal handoff vs. H0 (95% CI) |
63
  | --- | --- | --- | --- |
64
- | correct | 0.999500 | 0.255090 | 0.096378 [0.088277, 0.104493] |
65
- | untyped | 0.179000 | -0.000668 | 0.002323 [-0.003675, 0.008805] |
66
- | wrong_role | 0.000000 | -0.255897 | -0.102981 [-0.111355, -0.094596] |
67
- | wrong_event | 0.114500 | 0.000028 | 0.002597 [-0.000531, 0.005697] |
68
- | random | 0.114500 | 0.000028 | 0.000086 [-0.002257, 0.002709] |
69
- | zero | 0.114500 | 0.000028 | reference |
 
 
 
 
 
 
 
 
70
 
71
  ## Q25 Physical and Runtime Summary
72
 
@@ -76,10 +84,21 @@ Generated by `python scripts/reproduce.py` from the frozen files in `raw/` and `
76
  | Graph groups | 15 |
77
  | Global KV retained | 0.750000 |
78
  | Dense/Q25 global-KV ratio | 1.333333 |
 
 
79
  | Core throughput ratio | 0.984367 |
80
  | Peak allocation ratio | 0.999792 |
81
  | Dense QKV modules in localized layers | 0 |
82
 
 
 
 
 
 
 
 
 
 
83
  ## External Natural Carrier and Evidence Decisions
84
 
85
  | Metric | Value |
 
6
 
7
  | Mode | Historical state | Admission rule | Stores global KV | Typed program |
8
  | --- | --- | --- | --- | --- |
9
+ | GLOBAL | Full causal token KV history | Retain when late-context lexical or discourse utility is material, graph substitution is inadequate, or cluster-retention constraints require the head. | true | false |
10
+ | LOCAL | 1024-token local-window KV | The head passes the pre-specified candidate rule, is selected jointly under the interaction and cluster constraints, and has no event-scoped graph program. | false | false |
11
+ | LOCAL_GRAPH | 1024-token local-window KV plus an event-scoped typed result | The head passes the pre-specified candidate rule, is selected jointly, has a valid typed program assignment, and shows relation-specific causal handoff without wrong-event or random benefit. | false | true |
12
 
13
  ## Analysed Use Cases
14
 
15
  | ID | Scope | Use case | Component | Method | KV mode/program |
16
  | --- | --- | --- | --- | --- | --- |
17
+ | UC01 | Model core | Late-context lexical and discourse continuation | Retained global KV heads | Dense multi-head causal attention | GLOBAL / NO_GRAPH_READ |
18
  | UC02 | Model core | Recent token and phrase continuation | Localized non-graph KV groups | Local causal attention | LOCAL / NO_GRAPH_READ |
19
  | UC03 | Model core | Agent or ARG0 retrieval | Event-scoped graph group | Exact typed graph execution | LOCAL_GRAPH / READ_EVENT_ARG0 |
20
  | UC04 | Model core | Patient or ARG1 retrieval | Event-scoped graph group | Exact typed graph execution | LOCAL_GRAPH / READ_EVENT_ARG1 |
 
29
  | Quantity | Count |
30
  | --- | --- |
31
  | Audited groups | 384 |
32
+ | Pre-specified candidates | 118 |
33
  | GLOBAL | 288 |
34
  | LOCAL | 81 |
35
  | LOCAL_GRAPH | 15 |
 
43
  | Q25 | 96 | 25.000000 | 15 | 0.999939 | 0.999389 | 0.999500 | 0.984367 | pass |
44
  | Q30 | 115 | 29.947917 | 15 | 1.231682 | 1.378070 | 1.000000 | 0.939274 | fail |
45
 
46
+ ## Expanded Q25 Position and Language Ratios
47
 
48
+ | Partition | Documents | PPL ratio | 95% CI |
49
+ | --- | --- | --- | --- |
50
+ | aggregate | 470 | 1.001463 | [1.001315, 1.001611] |
51
+ | 0-2048 | 470 | 1.000426 | [1.000296, 1.000556] |
52
+ | 2048-4096 | 470 | 1.001417 | [1.001209, 1.001624] |
53
+ | 4096-8192 | 470 | 1.002006 | [1.001772, 1.002237] |
54
+ | ar | 20 | 1.000795 | [0.999749, 1.001707] |
55
+ | de | 50 | 1.001624 | [1.001213, 1.002084] |
56
+ | en | 50 | 1.001290 | [1.000772, 1.001840] |
57
+ | es | 50 | 1.001246 | [1.000978, 1.001515] |
58
+ | zh | 300 | 1.001546 | [1.001371, 1.001736] |
59
+
60
+ ## Q25 Typed-Graph Controls and Corrected Attribution
61
+
62
+ | Condition | Untouched accuracy | Development margin | Corrected matched-capacity effect (95% CI) |
63
  | --- | --- | --- | --- |
64
+ | correct | 0.999000 | 0.255090 | -0.000081 [-0.000240, 0.000078] |
65
+ | untyped | 0.187000 | -0.000668 | not re-estimated in matched-capacity audit |
66
+ | wrong_role | 0.000000 | -0.255897 | not re-estimated in matched-capacity audit |
67
+ | wrong_event | 0.133500 | 0.000028 | not re-estimated in matched-capacity audit |
68
+ | random | 0.133500 | 0.000028 | not re-estimated in matched-capacity audit |
69
+ | zero | 0.133500 | 0.000028 | not re-estimated in matched-capacity audit |
70
+
71
+ ## Q25 Fresh Adaptation, Interaction-Audit, and Selection Runs
72
+
73
+ | Run | Localized | Graph heads | PPL ratio | PPL upper 95% | Typed | Untyped | Matched-capacity marginal effect | Strict attribution |
74
+ | --- | --- | --- | --- | --- | --- | --- | --- | --- |
75
+ | original | 96 | 15 | 1.001463 | 1.001611 | 0.999000 | 0.187000 | -0.000081 [-0.000240, 0.000078] | not passed |
76
+ | fresh_seed_20260777 | 96 | 14 | 1.001305 | 1.001452 | 0.993500 | 0.191000 | 0.000133 [-0.000021, 0.000283] | not passed |
77
+ | fresh_seed_20260791 | 96 | 14 | 1.001412 | 1.001554 | 0.994000 | 0.192000 | -0.000035 [-0.000186, 0.000109] | not passed |
78
 
79
  ## Q25 Physical and Runtime Summary
80
 
 
84
  | Graph groups | 15 |
85
  | Global KV retained | 0.750000 |
86
  | Dense/Q25 global-KV ratio | 1.333333 |
87
+ | Token-KV bytes before graph state | 629145600 |
88
+ | Token-KV reduction | 0.218750 |
89
  | Core throughput ratio | 0.984367 |
90
  | Peak allocation ratio | 0.999792 |
91
  | Dense QKV modules in localized layers | 0 |
92
 
93
+ ## Cached Model-Core Profile at an 8160-Token Prefix
94
+
95
+ | Batch | Dense decode tok/s | Q25 decode tok/s | Decode ratio | Prefill ratio | Persistent KV ratio | Peak ratio |
96
+ | --- | --- | --- | --- | --- | --- | --- |
97
+ | 1 | 142.153186 | 142.515919 | 1.002552 | 0.926301 | 0.781250 | 0.921537 |
98
+ | 4 | 401.954720 | 473.668103 | 1.178412 | 1.017930 | 0.781250 | 0.862949 |
99
+ | 8 | 558.868483 | 681.115853 | 1.218741 | 1.015080 | 0.781250 | 0.844696 |
100
+ | 16 | 682.037812 | 843.537465 | 1.236790 | 0.993848 | 0.781250 | 0.834308 |
101
+
102
  ## External Natural Carrier and Evidence Decisions
103
 
104
  | Metric | Value |
scripts/__pycache__/reproduce.cpython-311.pyc ADDED
Binary file (32.1 kB). View file
 
scripts/__pycache__/reproduce.cpython-312.pyc ADDED
Binary file (27.6 kB). View file
 
scripts/__pycache__/verify.cpython-311.pyc ADDED
Binary file (19.6 kB). View file
 
scripts/__pycache__/verify.cpython-312.pyc ADDED
Binary file (17.8 kB). View file
 
scripts/reproduce.py CHANGED
@@ -42,6 +42,9 @@ def derive() -> tuple[dict, str, str]:
42
  use_cases = load_csv("data/use_case_classifications.csv")
43
  frontier = {name: load_json(f"raw/frontier/{name}.json") for name in ("q10", "q20", "q25", "q30")}
44
  q25 = frontier["q25"]
 
 
 
45
  natural = load_json("raw/external/natural_carrier.json")
46
  evidence = load_json("raw/external/evidence_decisions.json")
47
  whole = load_json("raw/negative/whole_layer_true8k.json")
@@ -61,11 +64,11 @@ def derive() -> tuple[dict, str, str]:
61
  modes = Counter(row["q25_mode"] for row in groups)
62
  selected_modes = Counter(row["q25_mode"] for row in selected)
63
  if len(candidates) != 118:
64
- raise AssertionError(f"expected 118 registered candidates, found {len(candidates)}")
65
  if len(selected) != 96 or selected_modes != Counter({"LOCAL": 81, "LOCAL_GRAPH": 15}):
66
  raise AssertionError(f"unexpected Q25 assignment: {len(selected)} groups, {selected_modes}")
67
  if any(row["candidate_by_registered_rule"] != "true" for row in selected):
68
- raise AssertionError("Q25 includes a group outside the registered candidate set")
69
 
70
  active_coverage: Counter[str] = Counter()
71
  for row in selected:
@@ -124,29 +127,82 @@ def derive() -> tuple[dict, str, str]:
124
  metric("frontier", label, "typed_execution", typed, "accuracy", ">=0.95", source)
125
  metric("frontier", label, "core_throughput_ratio", runtime, "ratio", ">=0.95", source)
126
 
127
- ppl = q25["true_8k"]["ppl_ratio"]
128
- for bucket, value in ppl.items():
129
- metric("q25_ppl", bucket, "ppl_ratio", value, "ratio", "<=1.03 aggregate; <=1.05 late", "raw/frontier/q25.json")
130
- for language, value in sorted(q25["true_8k"]["language_ppl_ratio"].items()):
131
- metric("q25_language", language, "ppl_ratio", value, "ratio", "<=1.05", "raw/frontier/q25.json")
 
 
 
 
132
 
133
  causal = q25["controlled_causal"]
 
 
134
  causal_rows = []
135
  for name in ("correct", "untyped", "wrong_role", "wrong_event", "random", "zero"):
136
  values = causal["metrics"][name]
137
- marginal = causal["marginal_handoff_vs_hq0"].get(name)
138
- interval = "reference" if marginal is None else (
139
- f"{f6(marginal['mean'])} [{f6(marginal['lower'])}, {f6(marginal['upper'])}]"
 
140
  )
141
  causal_rows.append([name, f6(values["accuracy"]), f6(values["mean_margin"]), interval])
142
  metric("causal", name, "accuracy", values["accuracy"], "accuracy", "", "raw/frontier/q25.json")
143
  metric("causal", name, "mean_margin_vs_zero", causal["effects_vs_graph_zero"].get(name, {}).get("mean", 0.0), "margin", "", "raw/frontier/q25.json")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
144
 
145
  runtime = q25["runtime"]
146
  physical = q25["physical_export"]
147
  metric("runtime", "Q25", "throughput_ratio", runtime["throughput_ratio"], "ratio", ">=0.95", "raw/frontier/q25.json")
148
  metric("runtime", "Q25", "peak_allocation_ratio", runtime["peak_allocation_ratio"], "ratio", "<=1.00", "raw/frontier/q25.json")
149
  metric("runtime", "Q25", "global_kv_retained", 1.0 - physical["replacement_fraction"], "fraction", "<=0.80", "raw/frontier/q25.json")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
150
 
151
  carrier = natural["carrier"]
152
  natural_metrics = [
@@ -165,9 +221,9 @@ def derive() -> tuple[dict, str, str]:
165
  for name, value in natural_metrics:
166
  metric("external_natural", "external_v3", name, value, "count" if name == "invalid_programs" else "rate", "", "raw/external/natural_carrier.json")
167
  ev = evidence["metrics"]
168
- metric("evidence", "registered_800", "macro_decision_accuracy", ev["macro_decision_accuracy"], "accuracy", ">=0.95", "raw/external/evidence_decisions.json")
169
- metric("evidence", "registered_800", "proof_correctness", ev["proof_correctness"], "accuracy", "=1.00", "raw/external/evidence_decisions.json")
170
- metric("evidence", "registered_800", "paired_identical_agreement", ev["paired_identical_agreement"], "agreement", "=1.00", "raw/external/evidence_decisions.json")
171
 
172
  negative_rows = [
173
  ["Whole-layer graph-only R12", f"aggregate {f6(whole['ppl_ratio']['aggregate'])}; late {f6(whole['ppl_ratio']['4096-8192'])}", "Failed true-8k preservation"],
@@ -212,20 +268,29 @@ def derive() -> tuple[dict, str, str]:
212
  "",
213
  markdown_table(
214
  ["Quantity", "Count"],
215
- [["Audited groups", len(groups)], ["Registered candidates", len(candidates)], ["GLOBAL", modes["GLOBAL"]], ["LOCAL", modes["LOCAL"]], ["LOCAL_GRAPH", modes["LOCAL_GRAPH"]]],
216
  ),
217
  "",
218
  "## Replacement Frontier",
219
  "",
220
  markdown_table(["Frontier", "Groups", "Replaced (%)", "Graph groups", "Aggregate PPL", "4-8k PPL", "Typed", "Throughput", "Status"], frontier_rows),
221
  "",
222
- "## Q25 Position and Language Ratios",
 
 
 
 
 
 
 
 
 
223
  "",
224
- markdown_table(["Partition", "PPL ratio"], [[name, f6(value)] for name, value in ppl.items()] + [[language, f6(value)] for language, value in sorted(q25["true_8k"]["language_ppl_ratio"].items())]),
225
  "",
226
- "## Q25 Causal Controls",
227
  "",
228
- markdown_table(["Condition", "Accuracy", "Mean margin", "Marginal handoff vs. H0 (95% CI)"], causal_rows),
229
  "",
230
  "## Q25 Physical and Runtime Summary",
231
  "",
@@ -234,11 +299,20 @@ def derive() -> tuple[dict, str, str]:
234
  ["Graph groups", physical["graph_groups"]],
235
  ["Global KV retained", f6(1.0 - physical["replacement_fraction"])],
236
  ["Dense/Q25 global-KV ratio", f6(physical["global_kv_reduction"])],
 
 
237
  ["Core throughput ratio", f6(runtime["throughput_ratio"])],
238
  ["Peak allocation ratio", f6(runtime["peak_allocation_ratio"])],
239
  ["Dense QKV modules in localized layers", physical["dense_qkv_in_exported_layers"]],
240
  ]),
241
  "",
 
 
 
 
 
 
 
242
  "## External Natural Carrier and Evidence Decisions",
243
  "",
244
  markdown_table(["Metric", "Value"], [[name, f6(value) if isinstance(value, float) else value] for name, value in natural_metrics] + [["evidence macro accuracy", f6(ev["macro_decision_accuracy"])], ["evidence proof correctness", f6(ev["proof_correctness"])] ]),
@@ -256,7 +330,7 @@ def derive() -> tuple[dict, str, str]:
256
 
257
  summary = {
258
  "article": "STRATA HEADQUOTIENT Q25",
259
- "version": "1.0.1",
260
  "group_audit": {
261
  "audited": len(groups),
262
  "candidates": len(candidates),
@@ -265,15 +339,24 @@ def derive() -> tuple[dict, str, str]:
265
  "active_program_coverage": dict(sorted(active_coverage.items())),
266
  },
267
  "q25": {
268
- "ppl_ratio": ppl,
269
- "language_ppl_ratio": q25["true_8k"]["language_ppl_ratio"],
270
- "typed_execution": causal["metrics"]["correct"]["accuracy"],
271
- "untyped_execution": causal["metrics"]["untyped"]["accuracy"],
 
272
  "throughput_ratio": runtime["throughput_ratio"],
273
  "peak_allocation_ratio": runtime["peak_allocation_ratio"],
274
  "groups_replaced": physical["groups_removed"],
 
 
 
275
  },
276
  "q30": {"passed": frontier["q30"]["passed"], "ppl_ratio": frontier["q30"]["true_8k"]["ppl_ratio"]},
 
 
 
 
 
277
  "external_natural": {name: value for name, value in natural_metrics},
278
  "evidence": evidence["metrics"],
279
  }
 
42
  use_cases = load_csv("data/use_case_classifications.csv")
43
  frontier = {name: load_json(f"raw/frontier/{name}.json") for name in ("q10", "q20", "q25", "q30")}
44
  q25 = frontier["q25"]
45
+ postreview = load_json("raw/postreview/q25_confirmation.json")
46
+ cached = load_json("raw/reproducibility/q25_cached_decode_profile.json")
47
+ replications = load_json("raw/replication/q25_replications.json")
48
  natural = load_json("raw/external/natural_carrier.json")
49
  evidence = load_json("raw/external/evidence_decisions.json")
50
  whole = load_json("raw/negative/whole_layer_true8k.json")
 
64
  modes = Counter(row["q25_mode"] for row in groups)
65
  selected_modes = Counter(row["q25_mode"] for row in selected)
66
  if len(candidates) != 118:
67
+ raise AssertionError(f"expected 118 pre-specified candidates, found {len(candidates)}")
68
  if len(selected) != 96 or selected_modes != Counter({"LOCAL": 81, "LOCAL_GRAPH": 15}):
69
  raise AssertionError(f"unexpected Q25 assignment: {len(selected)} groups, {selected_modes}")
70
  if any(row["candidate_by_registered_rule"] != "true" for row in selected):
71
+ raise AssertionError("Q25 includes a group outside the pre-specified candidate set")
72
 
73
  active_coverage: Counter[str] = Counter()
74
  for row in selected:
 
127
  metric("frontier", label, "typed_execution", typed, "accuracy", ">=0.95", source)
128
  metric("frontier", label, "core_throughput_ratio", runtime, "ratio", ">=0.95", source)
129
 
130
+ ppl = postreview["language_model"]
131
+ aggregate_ppl = ppl["paired_document_bootstrap"]
132
+ metric("q25_ppl_postreview", "aggregate", "ppl_ratio", aggregate_ppl["ppl_ratio"], "ratio", "upper 95% CI <1.03", "raw/postreview/q25_confirmation.json")
133
+ metric("q25_ppl_postreview", "aggregate", "ppl_ratio_lower_95", aggregate_ppl["ppl_ratio_lower"], "ratio", "", "raw/postreview/q25_confirmation.json")
134
+ metric("q25_ppl_postreview", "aggregate", "ppl_ratio_upper_95", aggregate_ppl["ppl_ratio_upper"], "ratio", "<1.03", "raw/postreview/q25_confirmation.json")
135
+ for bucket, values in ppl["position_buckets"].items():
136
+ metric("q25_ppl_postreview", bucket, "ppl_ratio", values["ppl_ratio"], "ratio", "<=1.05 late", "raw/postreview/q25_confirmation.json")
137
+ for language, values in sorted(ppl["languages"].items()):
138
+ metric("q25_language_postreview", language, "ppl_ratio", values["ppl_ratio"], "ratio", "<=1.05", "raw/postreview/q25_confirmation.json")
139
 
140
  causal = q25["controlled_causal"]
141
+ semantic_confirmation = postreview["semantic_confirmation"]["metrics"]
142
+ corrected_original = replications["runs"][0]["corrected_marginal_correct"]
143
  causal_rows = []
144
  for name in ("correct", "untyped", "wrong_role", "wrong_event", "random", "zero"):
145
  values = causal["metrics"][name]
146
+ interval = (
147
+ f"{f6(corrected_original['mean'])} "
148
+ f"[{f6(corrected_original['lower'])}, {f6(corrected_original['upper'])}]"
149
+ if name == "correct" else "not re-estimated in matched-capacity audit"
150
  )
151
  causal_rows.append([name, f6(values["accuracy"]), f6(values["mean_margin"]), interval])
152
  metric("causal", name, "accuracy", values["accuracy"], "accuracy", "", "raw/frontier/q25.json")
153
  metric("causal", name, "mean_margin_vs_zero", causal["effects_vs_graph_zero"].get(name, {}).get("mean", 0.0), "margin", "", "raw/frontier/q25.json")
154
+ metric("causal_confirmation", name, "accuracy", semantic_confirmation[name]["accuracy"], "accuracy", "", "raw/postreview/q25_confirmation.json")
155
+ metric("causal_attribution", "correct", "matched_capacity_marginal_mean", corrected_original["mean"], "margin", "95% CI must exclude zero", "raw/replication/q25_replications.json")
156
+ metric("causal_attribution", "correct", "matched_capacity_marginal_lower_95", corrected_original["lower"], "margin", "", "raw/replication/q25_replications.json")
157
+ metric("causal_attribution", "correct", "matched_capacity_marginal_upper_95", corrected_original["upper"], "margin", "", "raw/replication/q25_replications.json")
158
+
159
+ replication_rows = []
160
+ for index, run in enumerate(replications["runs"]):
161
+ label = "original" if index == 0 else f"fresh_seed_{run['seed']}"
162
+ interval = run["corrected_marginal_correct"]
163
+ replication_rows.append([
164
+ label,
165
+ run["selected_groups"],
166
+ run["local_graph_groups"],
167
+ f6(run["expanded_ppl_ratio"]),
168
+ f6(run["expanded_ppl_ratio_upper"]),
169
+ f6(run["expanded_typed"]),
170
+ f6(run["expanded_untyped"]),
171
+ f"{f6(interval['mean'])} [{f6(interval['lower'])}, {f6(interval['upper'])}]",
172
+ "pass" if run["corrected_matched_h0_passed"] else "not passed",
173
+ ])
174
+ source = "raw/replication/q25_replications.json"
175
+ metric("replication", label, "expanded_ppl_ratio", run["expanded_ppl_ratio"], "ratio", "upper 95% CI <1.03", source)
176
+ metric("replication", label, "expanded_typed", run["expanded_typed"], "accuracy", ">=0.95", source)
177
+ metric("replication", label, "expanded_untyped", run["expanded_untyped"], "accuracy", "", source)
178
+ metric("replication", label, "matched_capacity_marginal_mean", interval["mean"], "margin", "95% CI must exclude zero", source)
179
 
180
  runtime = q25["runtime"]
181
  physical = q25["physical_export"]
182
  metric("runtime", "Q25", "throughput_ratio", runtime["throughput_ratio"], "ratio", ">=0.95", "raw/frontier/q25.json")
183
  metric("runtime", "Q25", "peak_allocation_ratio", runtime["peak_allocation_ratio"], "ratio", "<=1.00", "raw/frontier/q25.json")
184
  metric("runtime", "Q25", "global_kv_retained", 1.0 - physical["replacement_fraction"], "fraction", "<=0.80", "raw/frontier/q25.json")
185
+ persistent = postreview["persistent_state"]
186
+ metric("runtime", "Q25", "token_kv_bytes", persistent["q25_token_kv_bytes_before_graph_state"], "bytes", "", "raw/postreview/q25_confirmation.json")
187
+ metric("runtime", "Q25", "token_kv_reduction", persistent["token_kv_reduction"], "fraction", "", "raw/postreview/q25_confirmation.json")
188
+ cached_rows = []
189
+ for row in cached["rows"]:
190
+ if int(row["prefix_length"]) != 8160:
191
+ continue
192
+ batch = int(row["batch_size"])
193
+ cached_rows.append([
194
+ batch,
195
+ f6(row["dense"]["decode_tokens_per_second"]),
196
+ f6(row["q25"]["decode_tokens_per_second"]),
197
+ f6(row["ratios"]["decode_throughput"]),
198
+ f6(row["ratios"]["prefill_throughput"]),
199
+ f6(row["ratios"]["persistent_kv"]),
200
+ f6(row["q25"]["peak_allocated_bytes"] / row["dense"]["peak_allocated_bytes"]),
201
+ ])
202
+ source = "raw/reproducibility/q25_cached_decode_profile.json"
203
+ metric("cached_runtime", f"batch_{batch}", "decode_throughput_ratio", row["ratios"]["decode_throughput"], "ratio", "", source)
204
+ metric("cached_runtime", f"batch_{batch}", "prefill_throughput_ratio", row["ratios"]["prefill_throughput"], "ratio", "", source)
205
+ metric("cached_runtime", f"batch_{batch}", "persistent_kv_ratio", row["ratios"]["persistent_kv"], "ratio", "", source)
206
 
207
  carrier = natural["carrier"]
208
  natural_metrics = [
 
221
  for name, value in natural_metrics:
222
  metric("external_natural", "external_v3", name, value, "count" if name == "invalid_programs" else "rate", "", "raw/external/natural_carrier.json")
223
  ev = evidence["metrics"]
224
+ metric("evidence", "hash_locked_800", "macro_decision_accuracy", ev["macro_decision_accuracy"], "accuracy", ">=0.95", "raw/external/evidence_decisions.json")
225
+ metric("evidence", "hash_locked_800", "proof_correctness", ev["proof_correctness"], "accuracy", "=1.00", "raw/external/evidence_decisions.json")
226
+ metric("evidence", "hash_locked_800", "paired_identical_agreement", ev["paired_identical_agreement"], "agreement", "=1.00", "raw/external/evidence_decisions.json")
227
 
228
  negative_rows = [
229
  ["Whole-layer graph-only R12", f"aggregate {f6(whole['ppl_ratio']['aggregate'])}; late {f6(whole['ppl_ratio']['4096-8192'])}", "Failed true-8k preservation"],
 
268
  "",
269
  markdown_table(
270
  ["Quantity", "Count"],
271
+ [["Audited groups", len(groups)], ["Pre-specified candidates", len(candidates)], ["GLOBAL", modes["GLOBAL"]], ["LOCAL", modes["LOCAL"]], ["LOCAL_GRAPH", modes["LOCAL_GRAPH"]]],
272
  ),
273
  "",
274
  "## Replacement Frontier",
275
  "",
276
  markdown_table(["Frontier", "Groups", "Replaced (%)", "Graph groups", "Aggregate PPL", "4-8k PPL", "Typed", "Throughput", "Status"], frontier_rows),
277
  "",
278
+ "## Expanded Q25 Position and Language Ratios",
279
+ "",
280
+ markdown_table(
281
+ ["Partition", "Documents", "PPL ratio", "95% CI"],
282
+ [["aggregate", aggregate_ppl["documents"], f6(aggregate_ppl["ppl_ratio"]), f"[{f6(aggregate_ppl['ppl_ratio_lower'])}, {f6(aggregate_ppl['ppl_ratio_upper'])}]"]]
283
+ + [[bucket, values["documents"], f6(values["ppl_ratio"]), f"[{f6(values['ppl_ratio_lower'])}, {f6(values['ppl_ratio_upper'])}]"] for bucket, values in ppl["position_buckets"].items()]
284
+ + [[language, values["documents"], f6(values["ppl_ratio"]), f"[{f6(values['ppl_ratio_lower'])}, {f6(values['ppl_ratio_upper'])}]"] for language, values in sorted(ppl["languages"].items())],
285
+ ),
286
+ "",
287
+ "## Q25 Typed-Graph Controls and Corrected Attribution",
288
  "",
289
+ markdown_table(["Condition", "Untouched accuracy", "Development margin", "Corrected matched-capacity effect (95% CI)"], [[row[0], f6(semantic_confirmation[row[0]]["accuracy"]), row[2], row[3]] for row in causal_rows]),
290
  "",
291
+ "## Q25 Fresh Adaptation, Interaction-Audit, and Selection Runs",
292
  "",
293
+ markdown_table(["Run", "Localized", "Graph heads", "PPL ratio", "PPL upper 95%", "Typed", "Untyped", "Matched-capacity marginal effect", "Strict attribution"], replication_rows),
294
  "",
295
  "## Q25 Physical and Runtime Summary",
296
  "",
 
299
  ["Graph groups", physical["graph_groups"]],
300
  ["Global KV retained", f6(1.0 - physical["replacement_fraction"])],
301
  ["Dense/Q25 global-KV ratio", f6(physical["global_kv_reduction"])],
302
+ ["Token-KV bytes before graph state", persistent["q25_token_kv_bytes_before_graph_state"]],
303
+ ["Token-KV reduction", f6(persistent["token_kv_reduction"])],
304
  ["Core throughput ratio", f6(runtime["throughput_ratio"])],
305
  ["Peak allocation ratio", f6(runtime["peak_allocation_ratio"])],
306
  ["Dense QKV modules in localized layers", physical["dense_qkv_in_exported_layers"]],
307
  ]),
308
  "",
309
+ "## Cached Model-Core Profile at an 8160-Token Prefix",
310
+ "",
311
+ markdown_table(
312
+ ["Batch", "Dense decode tok/s", "Q25 decode tok/s", "Decode ratio", "Prefill ratio", "Persistent KV ratio", "Peak ratio"],
313
+ cached_rows,
314
+ ),
315
+ "",
316
  "## External Natural Carrier and Evidence Decisions",
317
  "",
318
  markdown_table(["Metric", "Value"], [[name, f6(value) if isinstance(value, float) else value] for name, value in natural_metrics] + [["evidence macro accuracy", f6(ev["macro_decision_accuracy"])], ["evidence proof correctness", f6(ev["proof_correctness"])] ]),
 
330
 
331
  summary = {
332
  "article": "STRATA HEADQUOTIENT Q25",
333
+ "version": "1.2.0",
334
  "group_audit": {
335
  "audited": len(groups),
336
  "candidates": len(candidates),
 
339
  "active_program_coverage": dict(sorted(active_coverage.items())),
340
  },
341
  "q25": {
342
+ "ppl_ratio": aggregate_ppl,
343
+ "position_ppl_ratio": ppl["position_buckets"],
344
+ "language_ppl_ratio": ppl["languages"],
345
+ "typed_execution": semantic_confirmation["correct"]["accuracy"],
346
+ "untyped_execution": semantic_confirmation["untyped"]["accuracy"],
347
  "throughput_ratio": runtime["throughput_ratio"],
348
  "peak_allocation_ratio": runtime["peak_allocation_ratio"],
349
  "groups_replaced": physical["groups_removed"],
350
+ "local_only_groups": postreview["architecture"]["local_only_groups"],
351
+ "local_graph_groups": postreview["architecture"]["local_graph_groups"],
352
+ "token_kv_reduction": persistent["token_kv_reduction"],
353
  },
354
  "q30": {"passed": frontier["q30"]["passed"], "ppl_ratio": frontier["q30"]["true_8k"]["ppl_ratio"]},
355
+ "cached_runtime": {
356
+ "verification": cached["verification"],
357
+ "prefix_8160": cached_rows,
358
+ },
359
+ "replication": replications,
360
  "external_natural": {name: value for name, value in natural_metrics},
361
  "evidence": evidence["metrics"],
362
  }
scripts/verify.py CHANGED
@@ -1,5 +1,5 @@
1
  #!/usr/bin/env python3
2
- """Verify integrity and registered classification rules for the public release."""
3
 
4
  from __future__ import annotations
5
 
@@ -63,7 +63,7 @@ def check_groups() -> tuple[int, int, Counter[str]]:
63
  if row["q25_selected"] == "true":
64
  selected.append(row)
65
  if not expected_candidate:
66
- raise AssertionError("selected group is not a registered candidate")
67
 
68
  modes = Counter(row["q25_mode"] for row in rows)
69
  if len(candidates) != 118 or len(selected) != 96:
@@ -113,6 +113,85 @@ def check_interactions() -> int:
113
  return len(pairs)
114
 
115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
116
  def check_public_paths() -> None:
117
  offenders = []
118
  for path in ROOT.rglob("*"):
@@ -151,19 +230,29 @@ def check_metadata() -> None:
151
  ):
152
  if required not in citation:
153
  raise AssertionError(f"citation metadata lacks {required}")
 
 
 
 
 
 
 
154
 
155
 
156
  def main() -> None:
157
  subprocess.run([sys.executable, str(ROOT / "scripts/reproduce.py"), "--check"], check=True)
158
  candidates, selected, modes = check_groups()
159
  pairs = check_interactions()
 
 
160
  check_public_paths()
161
  check_metadata()
162
  files = check_manifest()
163
  print(
164
  f"verified {files} files; 384 groups, {candidates} candidates, "
165
  f"{selected} Q25 selections ({modes['LOCAL']} LOCAL, "
166
- f"{modes['LOCAL_GRAPH']} LOCAL_GRAPH), and {pairs} interactions"
 
167
  )
168
 
169
 
 
1
  #!/usr/bin/env python3
2
+ """Verify integrity and pre-specified classification rules for the public release."""
3
 
4
  from __future__ import annotations
5
 
 
63
  if row["q25_selected"] == "true":
64
  selected.append(row)
65
  if not expected_candidate:
66
+ raise AssertionError("selected group is not a pre-specified candidate")
67
 
68
  modes = Counter(row["q25_mode"] for row in rows)
69
  if len(candidates) != 118 or len(selected) != 96:
 
113
  return len(pairs)
114
 
115
 
116
+ def check_postreview() -> None:
117
+ payload = json.loads(
118
+ (ROOT / "raw/postreview/q25_confirmation.json").read_text(encoding="utf-8")
119
+ )
120
+ lm = payload["language_model"]
121
+ if lm["documents"] != 470 or lm["tokens"] != 3_850_240:
122
+ raise AssertionError("post-review LM support differs")
123
+ if lm["graph_state"] != "disabled/zero for both selection and evaluation":
124
+ raise AssertionError("post-review graph/PPL boundary differs")
125
+ if not lm["noninferiority_pass"]:
126
+ raise AssertionError("post-review PPL non-inferiority failed")
127
+ if lm["paired_document_bootstrap"]["ppl_ratio_upper"] >= 1.03:
128
+ raise AssertionError("post-review PPL interval exceeds the margin")
129
+ semantic = payload["semantic_confirmation"]
130
+ if not semantic["untouched_by_training_selection_or_thresholding"]:
131
+ raise AssertionError("semantic confirmation is not untouched")
132
+ metrics = semantic["metrics"]
133
+ expected = {
134
+ "correct": 0.999,
135
+ "untyped": 0.187,
136
+ "wrong_role": 0.0,
137
+ "wrong_event": 0.1335,
138
+ "random": 0.1335,
139
+ "zero": 0.1335,
140
+ }
141
+ for name, value in expected.items():
142
+ if float(metrics[name]["accuracy"]) != value:
143
+ raise AssertionError(f"semantic confirmation differs for {name}")
144
+ state = payload["persistent_state"]
145
+ if state["token_kv_reduction"] != 0.21875:
146
+ raise AssertionError("token-KV accounting differs")
147
+ architecture = payload["architecture"]
148
+ if architecture["query_heads_per_kv_head"] != 1:
149
+ raise AssertionError("the released backbone is not the verified 1:1 MHA geometry")
150
+ cached = json.loads(
151
+ (ROOT / "raw/reproducibility/q25_cached_decode_profile.json").read_text(
152
+ encoding="utf-8"
153
+ )
154
+ )
155
+ if not all(
156
+ row["numerically_equivalent"]
157
+ for row in cached["verification"].values()
158
+ ):
159
+ raise AssertionError("cached decode did not match the full-sequence path")
160
+ prefix_8k = {
161
+ int(row["batch_size"]): row
162
+ for row in cached["rows"]
163
+ if int(row["prefix_length"]) == 8160
164
+ }
165
+ if set(prefix_8k) != {1, 4, 8, 16}:
166
+ raise AssertionError("cached 8k batch matrix is incomplete")
167
+ if any(row["ratios"]["persistent_kv"] != 0.78125 for row in prefix_8k.values()):
168
+ raise AssertionError("cached persistent-KV ratio differs")
169
+
170
+
171
+ def check_replications() -> None:
172
+ payload = json.loads(
173
+ (ROOT / "raw/replication/q25_replications.json").read_text(encoding="utf-8")
174
+ )
175
+ if payload["fresh_replications"] != 2:
176
+ raise AssertionError("expected two fresh Q25 campaigns")
177
+ if not payload["all_localization_and_typed_path_passed"]:
178
+ raise AssertionError("localization/typed-path replication failed")
179
+ if payload["all_corrected_matched_h0_passed"]:
180
+ raise AssertionError("corrected matched-capacity attribution must remain failed")
181
+ if len(payload["runs"]) != 3:
182
+ raise AssertionError("replication summary must contain three campaigns")
183
+ for run in payload["runs"]:
184
+ if run["selected_groups"] != 96:
185
+ raise AssertionError("a replication did not select 96 heads")
186
+ if run["interaction_pairs"] != 6903 or run["interaction_triples"] != 128:
187
+ raise AssertionError("a fresh interaction audit is incomplete")
188
+ if run["expanded_ppl_ratio_upper"] >= 1.03 or run["expanded_typed"] < 0.95:
189
+ raise AssertionError("a localization/typed-path replication metric failed")
190
+ interval = run["corrected_marginal_correct"]
191
+ if not interval["lower"] <= 0 <= interval["upper"]:
192
+ raise AssertionError("corrected matched-capacity interval unexpectedly excludes zero")
193
+
194
+
195
  def check_public_paths() -> None:
196
  offenders = []
197
  for path in ROOT.rglob("*"):
 
230
  ):
231
  if required not in citation:
232
  raise AssertionError(f"citation metadata lacks {required}")
233
+ model = json.loads(
234
+ (ROOT / "raw/reproducibility/model_release.json").read_text(encoding="utf-8")
235
+ )
236
+ if model["hub_commit"] != "60b2ea8dc02c1b847faf3770105fecb2e9a74d7d":
237
+ raise AssertionError("linked model release commit differs")
238
+ if model["physical_modes"] != {"GLOBAL": 288, "LOCAL": 81, "LOCAL_GRAPH": 15}:
239
+ raise AssertionError("linked model release mode counts differ")
240
 
241
 
242
  def main() -> None:
243
  subprocess.run([sys.executable, str(ROOT / "scripts/reproduce.py"), "--check"], check=True)
244
  candidates, selected, modes = check_groups()
245
  pairs = check_interactions()
246
+ check_postreview()
247
+ check_replications()
248
  check_public_paths()
249
  check_metadata()
250
  files = check_manifest()
251
  print(
252
  f"verified {files} files; 384 groups, {candidates} candidates, "
253
  f"{selected} Q25 selections ({modes['LOCAL']} LOCAL, "
254
+ f"{modes['LOCAL_GRAPH']} LOCAL_GRAPH), {pairs} interactions, post-review confirmation, "
255
+ "and two fresh Q25 campaigns"
256
  )
257
 
258