Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions evidence/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ here: links in locked READMEs still point to them, and they forward to
| [Independent n-gram rows vs shared hash buckets](ngram_identity_evidence_20261107/README.md) · [design](ngram_identity_experiment.md) | 24 final models, equal row budgets, three seeds. At 20,877 edits, independent rows improve H by 0.41/1.24 pp vs matched-coverage hash and 2.29/4.05 pp vs native open-vocabulary hash (0.6B/4B), with positive pointwise 95% intervals. Small-grid results are mixed; frozen-backbone editing only |
| [Complete trained-memory application study](memory_application_evidence_20261110/README.md) | 108 SGNS and six Qwen checkpoints, all 261 codec candidates each. Full-key memory beats matched adapters by 7.02/5.39 pp; some PQ tables expand and native CPU queries are slower |
| [Controlled deployment grids](controlled_deployment_results_20261112.md) · [protocol](controlled_memory_deployment_protocol_20261111.json) | 864 Qwen GPU reports, full AG News/DBpedia tests, 6,084 CPU reports. Capacity savings and query slowdowns reported together; no universal full-key advantage over hashing |
| [Learning-rate sensitivity, DBpedia uniform init](training_participation_sensitivity_results_20261111/README.md) | At matched learning rate 10, uniform init reaches the same 97.67% test accuracy as zero init; the primary gap came from the every-row-updated gate |
| [MultiCounterFact small grid](counterfact_small_evidence_20261107/README.md) · [interfaces](counterfact_capacity_evidence_20261106/README.md) · [design](counterfact_capacity_experiment.md) | Complete 1,024-edit three-seed grid: no stable large-table gain; BM25 is strongest. Native bundles preserve outputs but expand |
| [Held-out Qwen branch and row identity](qwen_quality_evidence_20261106/README.md) | Memory-off raises test PPL 11.19%; head constants only 0.0416% (interval crosses zero). This checkpoint does not show a need for distinct rows |
| [Eight-GPU Qwen training, codecs, serving](qwen_gpu_grid_evidence_20261106/README.md) | 12 checkpoints, 63 codec comparisons, 69 CUDA workers. 1 MiB row cache speeds warm native paths 1.33–1.39× with exact outputs; large branches fail held-out necessity gates |
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Learning-rate sensitivity for DBpedia uniform initialization

The controlled deployment protocol required every trained row to change its FP32
bytes. The three DBpedia uniform-initialization runs at learning rate 10 left
914–1,207 of 34,050,161 rows bitwise unchanged and failed that gate, so the
primary selection for that family used learning rate 3 (test accuracy
94.83–94.87%). Zero initialization at learning rate 10 passed and reached 97.67%.

This audit, registered before it was run
([protocol](../training_participation_sensitivity_20261111.json)), asks whether
the gate distorted the learning-rate choice. It does not replace the primary
results.

1. Participation: every nonpadding row occurs in the stored training stream at
least once per epoch over all ten epochs ([`participation.json`](participation.json)).
2. All nine uniform runs (learning rates 1, 3, 10 × seeds 3, 7, 11) were rescored
on the 56,000 calibration documents. Learning rate 10 has the lowest mean
calibration NLL and was frozen before any test document was read
([`selection.json`](selection.json)).
3. The three selected runs were scored on the 70,000 official test documents.

| Learning rate | Calibration accuracy | Test accuracy |
| ---: | ---: | ---: |
| 1 | 81.33–81.76% | – |
| 3 | 94.79–94.83% | – |
| 10 | 97.62–97.63% | 97.67–97.68% |

At matched learning rate, uniform and zero initialization reach the same test
accuracy (97.67%). The 2.8-point gap in the primary selection comes from the
every-row gate, not from the initialization.

Run `python evidence/training_participation_sensitivity_results_20261111/verify.py`
(needs NumPy) to recompute accuracy and NLL from the saved logits and check the
selection rule. `quality/` holds the per-run reports, logs and logits.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"selection_sha256": "f136c3b9f8880048ab26e0adca9b64d826844d7828d7f78ab7eb890daf0dcd5c",
"source_sha256": "6bfbad6161ed6c3a0eaacaff2a24e9bacddc4c917e9d0fe7438fa4c4c07a26a6",
"status": "complete",
"test_accuracy_mean": 0.9767,
"test_nll_mean": 0.09025679085011921,
"test_sha256": {
"/llm-align/duyimin/ngram-controlled-deployment-20261111/participation-sensitivity/quality/dbpedia_14-exact-uniform-s11-lr10-test.json": "1fcd0704bf471cf8163e39128fda0f1a19f7088481f17cb3daf38c6ddd61d499",
"/llm-align/duyimin/ngram-controlled-deployment-20261111/participation-sensitivity/quality/dbpedia_14-exact-uniform-s3-lr10-test.json": "2d01b00d414834aad845c275bbc8785c1e396dd76fd1e20bcc1577b5fd61d7bb",
"/llm-align/duyimin/ngram-controlled-deployment-20261111/participation-sensitivity/quality/dbpedia_14-exact-uniform-s7-lr10-test.json": "d8bea0f87372a2accbd7806091549cb15bdb1e27d9d2eba93faaa68382993a4b"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"actual_train_ids_sha256": "1bb91bed2dafd9d71ee3cdd43f84157505a11292aac65a38b4a82a85271680ff",
"boundary": "All registered nonpadding IDs occur in the complete training stream. Participation does not establish a nonzero gradient, an FP32 change, or downstream necessity for every row.",
"counts_sha256": "aec2f7af9e85dae31a5cb0b41467d5633d8ce42d67b64f228d4cf94378594cb7",
"minimum_occurrences_per_epoch": 1,
"nonpadding_rows_observed": 34050160,
"occurrences_per_epoch": 111620096,
"prepared_sha256": "e7bfc1e066dc7ca993bdd1fa4296b5d7b6cd41d5e1b5127b8b22a42242bd6278",
"rows": 34050161,
"source_sha256": "6bfbad6161ed6c3a0eaacaff2a24e9bacddc4c917e9d0fe7438fa4c4c07a26a6",
"status": "verified"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"accuracy": 0.81325,
"documents": 56000,
"environment": {
"command": "/llm-align/duyimin/ngram-counterfact-capacity-20261106/env/bin/python /llm-align/duyimin/ngram-controlled-deployment-20261111/runtime-ed09b5d/tools/large_application_frontier.py evaluate --job /llm-align/duyimin/ngram-controlled-deployment-20261111/participation-sensitivity/jobs/dbpedia_14-exact-uniform-s11-lr1.json --split calibration --output /llm-align/duyimin/ngram-controlled-deployment-20261111/participation-sensitivity/quality/dbpedia_14-exact-uniform-s11-lr1-calibration.json",
"commit": "ed09b5d",
"cpu": "x86_64",
"device": "cpu",
"faiss": "1.15.0",
"faiss_compile_options": "OPTIMIZE DD AVX2 ",
"gpu": "unused",
"loadavg": [
34.84521484375,
32.70166015625,
31.357421875
],
"numpy": "2.2.6",
"os": "Linux-5.4.0-42-generic-x86_64-with-glibc2.35",
"python": "3.11.15 (main, Mar 11 2026, 17:20:07) [GCC 14.3.0]",
"source_sha256": "15959554669f497f43133ed44ece4bd5f1670386cb45da8b2571a9f7a8b67d07",
"threads": 1,
"torch": "2.11.0"
},
"job_sha256": "90f48c76bac5b77c2b9aea050d82f27246e0d26c8fedbb6f37334f1700778775",
"logits_sha256": "541267497b2efaffc4228f348aa0416842e0be20498347ae84ddee8bbe747ff0",
"mean_nll": 0.6481515805744571,
"payload_sha256": "faa669147b9e3b10d6193e6aa79c14ef5df5657d9e064a0025fd82f5312cd5db",
"reduction": "FP64 mean of original addressed rows excluding zero OOV; same schedule for every representation",
"rss_after": {
"anonymous_bytes": 69144576,
"file_backed_bytes": 5821669376,
"peak_bytes": 5940752384,
"rss_bytes": 5890813952
},
"rss_before": {
"anonymous_bytes": 35921920,
"file_backed_bytes": 16330752,
"peak_bytes": 52252672,
"rss_bytes": 52252672
},
"seconds": 18.495682030916214,
"source_sha256": "09f23f38303effefab261310c3c8c530d8ecba054228ef68aa458bd0cf104854",
"split": "calibration",
"status": "complete"
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"accuracy": 0.9761785714285715,
"documents": 56000,
"environment": {
"command": "/llm-align/duyimin/ngram-counterfact-capacity-20261106/env/bin/python /llm-align/duyimin/ngram-controlled-deployment-20261111/runtime-ed09b5d/tools/large_application_frontier.py evaluate --job /llm-align/duyimin/ngram-controlled-deployment-20261111/participation-sensitivity/jobs/dbpedia_14-exact-uniform-s11-lr10.json --split calibration --output /llm-align/duyimin/ngram-controlled-deployment-20261111/participation-sensitivity/quality/dbpedia_14-exact-uniform-s11-lr10-calibration.json",
"commit": "ed09b5d",
"cpu": "x86_64",
"device": "cpu",
"faiss": "1.15.0",
"faiss_compile_options": "OPTIMIZE DD AVX2 ",
"gpu": "unused",
"loadavg": [
34.84521484375,
32.70166015625,
31.357421875
],
"numpy": "2.2.6",
"os": "Linux-5.4.0-42-generic-x86_64-with-glibc2.35",
"python": "3.11.15 (main, Mar 11 2026, 17:20:07) [GCC 14.3.0]",
"source_sha256": "15959554669f497f43133ed44ece4bd5f1670386cb45da8b2571a9f7a8b67d07",
"threads": 1,
"torch": "2.11.0"
},
"job_sha256": "de50038e5d517578bcc03e9b08d08cba4ec30c456ba59ed0988233e53b3c5f0c",
"logits_sha256": "fb81cd2df1456c4a5d8f80e53962d4431176ea0fa810a6baec48e5722c7f8e95",
"mean_nll": 0.09046261972881639,
"payload_sha256": "d27819563903cc4c030bc36929be1535ddee18be95d68a3cfdc5f0313240b737",
"reduction": "FP64 mean of original addressed rows excluding zero OOV; same schedule for every representation",
"rss_after": {
"anonymous_bytes": 69144576,
"file_backed_bytes": 5821657088,
"peak_bytes": 5940736000,
"rss_bytes": 5890801664
},
"rss_before": {
"anonymous_bytes": 35917824,
"file_backed_bytes": 16318464,
"peak_bytes": 52236288,
"rss_bytes": 52236288
},
"seconds": 18.796974919736385,
"source_sha256": "09f23f38303effefab261310c3c8c530d8ecba054228ef68aa458bd0cf104854",
"split": "calibration",
"status": "complete"
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"accuracy": 0.9766714285714285,
"documents": 70000,
"environment": {
"command": "/llm-align/duyimin/ngram-counterfact-capacity-20261106/env/bin/python /llm-align/duyimin/ngram-controlled-deployment-20261111/runtime-ed09b5d/tools/large_application_frontier.py evaluate --job /llm-align/duyimin/ngram-controlled-deployment-20261111/participation-sensitivity/jobs/dbpedia_14-exact-uniform-s11-lr10.json --split test --output /llm-align/duyimin/ngram-controlled-deployment-20261111/participation-sensitivity/quality/dbpedia_14-exact-uniform-s11-lr10-test.json",
"commit": "ed09b5d",
"cpu": "x86_64",
"device": "cpu",
"faiss": "1.15.0",
"faiss_compile_options": "OPTIMIZE DD AVX2 ",
"gpu": "unused",
"loadavg": [
36.48046875,
33.50146484375,
31.7138671875
],
"numpy": "2.2.6",
"os": "Linux-5.4.0-42-generic-x86_64-with-glibc2.35",
"python": "3.11.15 (main, Mar 11 2026, 17:20:07) [GCC 14.3.0]",
"source_sha256": "15959554669f497f43133ed44ece4bd5f1670386cb45da8b2571a9f7a8b67d07",
"threads": 1,
"torch": "2.11.0"
},
"job_sha256": "de50038e5d517578bcc03e9b08d08cba4ec30c456ba59ed0988233e53b3c5f0c",
"logits_sha256": "235762aa0aaa32b74d7a055fea52448c9848cc0d264c9eaa438176f7e5050e65",
"mean_nll": 0.09015484818633598,
"payload_sha256": "73eba17fb6bf447ef95199d9a35bce04477fe181e09e287167dca23a88d356fa",
"reduction": "FP64 mean of original addressed rows excluding zero OOV; same schedule for every representation",
"rss_after": {
"anonymous_bytes": 78102528,
"file_backed_bytes": 6549786624,
"peak_bytes": 6675640320,
"rss_bytes": 6627889152
},
"rss_before": {
"anonymous_bytes": 35913728,
"file_backed_bytes": 16187392,
"peak_bytes": 52101120,
"rss_bytes": 52101120
},
"seconds": 20.104168206453323,
"source_sha256": "09f23f38303effefab261310c3c8c530d8ecba054228ef68aa458bd0cf104854",
"split": "test",
"status": "complete"
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"accuracy": 0.9479107142857143,
"documents": 56000,
"environment": {
"command": "/llm-align/duyimin/ngram-counterfact-capacity-20261106/env/bin/python /llm-align/duyimin/ngram-controlled-deployment-20261111/runtime-ed09b5d/tools/large_application_frontier.py evaluate --job /llm-align/duyimin/ngram-controlled-deployment-20261111/participation-sensitivity/jobs/dbpedia_14-exact-uniform-s11-lr3.json --split calibration --output /llm-align/duyimin/ngram-controlled-deployment-20261111/participation-sensitivity/quality/dbpedia_14-exact-uniform-s11-lr3-calibration.json",
"commit": "ed09b5d",
"cpu": "x86_64",
"device": "cpu",
"faiss": "1.15.0",
"faiss_compile_options": "OPTIMIZE DD AVX2 ",
"gpu": "unused",
"loadavg": [
34.84521484375,
32.70166015625,
31.357421875
],
"numpy": "2.2.6",
"os": "Linux-5.4.0-42-generic-x86_64-with-glibc2.35",
"python": "3.11.15 (main, Mar 11 2026, 17:20:07) [GCC 14.3.0]",
"source_sha256": "15959554669f497f43133ed44ece4bd5f1670386cb45da8b2571a9f7a8b67d07",
"threads": 1,
"torch": "2.11.0"
},
"job_sha256": "648c30d598bc9ca0de26fd1847bf1a261f943ed8ef46367de8bc3513895005b8",
"logits_sha256": "117196bc41fc1ee55fc37fac454d98a3c8d5146ff2005221595f89998017056f",
"mean_nll": 0.184193916914253,
"payload_sha256": "8039cdf8c81057b1f8892f5f00298bea86c85dd0e3e3ceda099efdfbe5a67b60",
"reduction": "FP64 mean of original addressed rows excluding zero OOV; same schedule for every representation",
"rss_after": {
"anonymous_bytes": 69136384,
"file_backed_bytes": 5821566976,
"peak_bytes": 5940695040,
"rss_bytes": 5890703360
},
"rss_before": {
"anonymous_bytes": 35913728,
"file_backed_bytes": 16228352,
"peak_bytes": 52142080,
"rss_bytes": 52142080
},
"seconds": 19.77326261997223,
"source_sha256": "09f23f38303effefab261310c3c8c530d8ecba054228ef68aa458bd0cf104854",
"split": "calibration",
"status": "complete"
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"accuracy": 0.814,
"documents": 56000,
"environment": {
"command": "/llm-align/duyimin/ngram-counterfact-capacity-20261106/env/bin/python /llm-align/duyimin/ngram-controlled-deployment-20261111/runtime-ed09b5d/tools/large_application_frontier.py evaluate --job /llm-align/duyimin/ngram-controlled-deployment-20261111/participation-sensitivity/jobs/dbpedia_14-exact-uniform-s3-lr1.json --split calibration --output /llm-align/duyimin/ngram-controlled-deployment-20261111/participation-sensitivity/quality/dbpedia_14-exact-uniform-s3-lr1-calibration.json",
"commit": "ed09b5d",
"cpu": "x86_64",
"device": "cpu",
"faiss": "1.15.0",
"faiss_compile_options": "OPTIMIZE DD AVX2 ",
"gpu": "unused",
"loadavg": [
35.3896484375,
32.95166015625,
31.46826171875
],
"numpy": "2.2.6",
"os": "Linux-5.4.0-42-generic-x86_64-with-glibc2.35",
"python": "3.11.15 (main, Mar 11 2026, 17:20:07) [GCC 14.3.0]",
"source_sha256": "15959554669f497f43133ed44ece4bd5f1670386cb45da8b2571a9f7a8b67d07",
"threads": 1,
"torch": "2.11.0"
},
"job_sha256": "39116c74bc697f0dd38a35a1c573504076641d51a1f1f1543a7641725a08c9f1",
"logits_sha256": "e882330c6c64716ca92fbaacd716761144ea4795c23d21ce50935ea9d9dfe08f",
"mean_nll": 0.6497552272641521,
"payload_sha256": "ed230f7962531d67a64218488501bdd004ae5cd67eaa63e22b4acb7ce22051d0",
"reduction": "FP64 mean of original addressed rows excluding zero OOV; same schedule for every representation",
"rss_after": {
"anonymous_bytes": 69144576,
"file_backed_bytes": 5821652992,
"peak_bytes": 5940736000,
"rss_bytes": 5890797568
},
"rss_before": {
"anonymous_bytes": 35917824,
"file_backed_bytes": 16314368,
"peak_bytes": 52232192,
"rss_bytes": 52232192
},
"seconds": 18.0052607357502,
"source_sha256": "09f23f38303effefab261310c3c8c530d8ecba054228ef68aa458bd0cf104854",
"split": "calibration",
"status": "complete"
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"accuracy": 0.9763392857142857,
"documents": 56000,
"environment": {
"command": "/llm-align/duyimin/ngram-counterfact-capacity-20261106/env/bin/python /llm-align/duyimin/ngram-controlled-deployment-20261111/runtime-ed09b5d/tools/large_application_frontier.py evaluate --job /llm-align/duyimin/ngram-controlled-deployment-20261111/participation-sensitivity/jobs/dbpedia_14-exact-uniform-s3-lr10.json --split calibration --output /llm-align/duyimin/ngram-controlled-deployment-20261111/participation-sensitivity/quality/dbpedia_14-exact-uniform-s3-lr10-calibration.json",
"commit": "ed09b5d",
"cpu": "x86_64",
"device": "cpu",
"faiss": "1.15.0",
"faiss_compile_options": "OPTIMIZE DD AVX2 ",
"gpu": "unused",
"loadavg": [
35.3896484375,
32.95166015625,
31.46826171875
],
"numpy": "2.2.6",
"os": "Linux-5.4.0-42-generic-x86_64-with-glibc2.35",
"python": "3.11.15 (main, Mar 11 2026, 17:20:07) [GCC 14.3.0]",
"source_sha256": "15959554669f497f43133ed44ece4bd5f1670386cb45da8b2571a9f7a8b67d07",
"threads": 1,
"torch": "2.11.0"
},
"job_sha256": "f330b415180879765497bfc4a7c508c3ee6e892c60d68f3cf9062c9fdb93f6e4",
"logits_sha256": "a44366c29546033e1a0a5d21cdfabb2560a76249d2b3bbf1d8043c07e946366a",
"mean_nll": 0.0904928113255348,
"payload_sha256": "11add080f708fa608b97b73e7c94176d7885a366d6b0e3004989bc1d1f9a0b41",
"reduction": "FP64 mean of original addressed rows excluding zero OOV; same schedule for every representation",
"rss_after": {
"anonymous_bytes": 69148672,
"file_backed_bytes": 5821644800,
"peak_bytes": 5940731904,
"rss_bytes": 5890793472
},
"rss_before": {
"anonymous_bytes": 35921920,
"file_backed_bytes": 16306176,
"peak_bytes": 52228096,
"rss_bytes": 52228096
},
"seconds": 17.309312343597412,
"source_sha256": "09f23f38303effefab261310c3c8c530d8ecba054228ef68aa458bd0cf104854",
"split": "calibration",
"status": "complete"
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"accuracy": 0.9767571428571429,
"documents": 70000,
"environment": {
"command": "/llm-align/duyimin/ngram-counterfact-capacity-20261106/env/bin/python /llm-align/duyimin/ngram-controlled-deployment-20261111/runtime-ed09b5d/tools/large_application_frontier.py evaluate --job /llm-align/duyimin/ngram-controlled-deployment-20261111/participation-sensitivity/jobs/dbpedia_14-exact-uniform-s3-lr10.json --split test --output /llm-align/duyimin/ngram-controlled-deployment-20261111/participation-sensitivity/quality/dbpedia_14-exact-uniform-s3-lr10-test.json",
"commit": "ed09b5d",
"cpu": "x86_64",
"device": "cpu",
"faiss": "1.15.0",
"faiss_compile_options": "OPTIMIZE DD AVX2 ",
"gpu": "unused",
"loadavg": [
36.48046875,
33.50146484375,
31.7138671875
],
"numpy": "2.2.6",
"os": "Linux-5.4.0-42-generic-x86_64-with-glibc2.35",
"python": "3.11.15 (main, Mar 11 2026, 17:20:07) [GCC 14.3.0]",
"source_sha256": "15959554669f497f43133ed44ece4bd5f1670386cb45da8b2571a9f7a8b67d07",
"threads": 1,
"torch": "2.11.0"
},
"job_sha256": "f330b415180879765497bfc4a7c508c3ee6e892c60d68f3cf9062c9fdb93f6e4",
"logits_sha256": "98984b61ff09c5e951f10636c37c83ef9c1a5a2a5aaed3162651b52237156ca1",
"mean_nll": 0.09042993051379021,
"payload_sha256": "509c2c0f079c7395a7caf295e64307e50b85bcb55eb0576c5785c2fba13c850b",
"reduction": "FP64 mean of original addressed rows excluding zero OOV; same schedule for every representation",
"rss_after": {
"anonymous_bytes": 78106624,
"file_backed_bytes": 6549835776,
"peak_bytes": 6675640320,
"rss_bytes": 6627942400
},
"rss_before": {
"anonymous_bytes": 35913728,
"file_backed_bytes": 16236544,
"peak_bytes": 52150272,
"rss_bytes": 52150272
},
"seconds": 20.04130570590496,
"source_sha256": "09f23f38303effefab261310c3c8c530d8ecba054228ef68aa458bd0cf104854",
"split": "test",
"status": "complete"
}
Binary file not shown.
Loading
Loading