Skip to content

Add SP8192 CaseOps + legal per-document TTT record (1.0650 BPB) - #1915

Closed
AidenGeunGeun wants to merge 1 commit into
openai:mainfrom
AidenGeunGeun:add-aiden-sp8192-perdoc-ttt
Closed

AidenGeunGeun wants to merge 1 commit into
openai:mainfrom
AidenGeunGeun:add-aiden-sp8192-perdoc-ttt

Conversation

@AidenGeunGeun

Copy link
Copy Markdown

This adds a new track_10min_16mb record submission with a 3-seed mean of 1.06504520 BPB.

Summary:

  • 3-seed mean BPB: 1.06504520
  • Std: 0.00073036
  • One-sided one-sample t-test vs 1.0810: p=0.000348888147222
  • Max submitted artifact size: 15,922,155 bytes including the submitted train_gpt.py wrapper and compressed model bytes
  • Method: SP8192 CaseOps, stock top-k LQER, per-group compressed GPTQ, and legal per-document score-first LoRA TTT
  • Eval-time adaptation: TTT_WARM_START_A=0, no global SGD, LoRA reset per document, score-before-update within each document

Notes:

  • AWQ-Lite was tested but rejected because its artifact exceeded the 16,000,000-byte cap.
  • The submitted train_gpt.py is a self-extracting wrapper and is the counted code artifact.
  • Physical length bucketing is used only across independent documents under the same fixed base-model state; there is no cross-document adaptive state.

Included files:

  • README.md
  • submission.json
  • train_gpt.py
  • train_seed42.log
  • train_seed0.log
  • train_seed1234.log

@AidenGeunGeun
AidenGeunGeun marked this pull request as ready for review April 29, 2026 03:20
@AidenGeunGeun

Copy link
Copy Markdown
Author

For reviewer convenience, here is a more detailed technical map of what this submission is doing and what evidence to check.

Summary

This is a 16 MB / 10 min track submission built on the SP8192 CaseOps legal frontier stack. The main score path is:

  • train a compact GPT-style model with SP8192 CaseOps tokenization and byte-sidecar accounting;
  • quantize/compress with the existing GPTQ + top-k LQER + per-group compression path;
  • evaluate with legal per-document score-first LoRA TTT;
  • submit a real self-extracting train_gpt.py wrapper so the counted code bytes are the actual file bytes in this PR.

Reported 3-seed validation BPB is 1.06504520 with seed scores 1.06438547, 1.06492009, and 1.06583003.

Legality / ordering model

The validation-time adaptation is intentionally per-document isolated:

  • each document is scored left-to-right under score-before-update semantics;
  • temporary LoRA state resets between documents;
  • TTT_WARM_START_A=0 is used;
  • there is no global validation SGD and no cross-document adaptive state;
  • the model emits a full normalized distribution over the official SP8192 CaseOps alphabet;
  • all official validation shards are included with the CaseOps byte denominator.

The implementation does use physical length bucketing for batching efficiency, but only across independent documents under a fixed base model and reset-per-doc temporary state. Length bucketing changes batch assembly; it does not change token order within a document, does not share adaptation state between documents, and does not let future documents affect earlier document probabilities.

Accounting evidence

All three final runs report the same full validation accounting:

  • scored tokens: 47,851,520
  • scored bytes: 151,074,499
  • CaseOps shard accounting: all validation shards included

The final package is under the public 16,000,000 byte code+weights cap using the actual submitted wrapper:

Seed Model bytes train_gpt.py bytes Total bytes
42 15,872,234 47,640 15,919,874
0 15,871,302 47,640 15,918,942
1234 15,874,515 47,640 15,922,155

Max total is 15,922,155 bytes, leaving 77,845 bytes of margin.

One packaging note: some logs mention an earlier internal compressed-code estimate of 46,482 bytes. The PR package does not rely on that estimate. The actual submitted train_gpt.py is a 47,640-byte self-extracting wrapper, and the JSON/README size table counts 47,640 bytes conservatively.

What changed versus the rejected/risky variants

Several ideas were tested and deliberately not included:

  • AWQ-lite was rejected because its projected artifact size exceeded the hard cap.
  • Phase-interval/global bucketing gave a slightly better BPB in one probe but exceeded the runtime cap, so it was rejected.
  • Weighted LQER produced only noise-level gain and was rejected.
  • The final stack uses stock top-k LQER plus per-document score-first TTT.

Reviewer checklist

The quickest audit path is to check:

  1. submission.json and README agree on BPB, seed scores, artifact totals, and wrapper size.
  2. train_gpt.py is the counted wrapper file in this PR, not the larger source file.
  3. The logs contain the per-document TTT audit lines showing warm-start disabled / no global SGD / CaseOps counts.
  4. The physical length bucketing is only batching over independent documents and is not a validation-order adaptive state mechanism.

Happy to clarify any of these details if useful.

leon2k2k2k added a commit to leon2k2k2k/parameter-golf that referenced this pull request Apr 29, 2026
- spec 060N: compound AWQ-lite (PR openai#1908) + 4 TTT phases + 3000 prefix
  + 2 global-SGD epochs, eval-only on 060A's final_model.pt. Single-shot
  compound to use openai#1918's ~205s eval-time slack; safe fallback drops
  GLOBAL_TTT_EPOCHS if wallclock blows.
- new idea 1925-matrix-lr-ttt-prefix-tune (PR openai#1925, hyperparam-only
  on openai#1855: MATRIX_LR=0.028 + PHASED_TTT_PREFIX_DOCS=3500 → 1.06109).
- new idea 1915-per-doc-lora-ttt (PR openai#1915, per-doc-only LoRA TTT
  discipline; parked as fallback if global-SGD class is ruled out).
- frontier scan: 21 new PRs (openai#1906-openai#1931). Headline: PRs openai#1908+openai#1918
  independently confirm AWQ-lite mixed-bit GPTQ pattern at ~1.0608 on
  openai#1855 base; openai#1925 hyperparam-only at 1.06109; openai#1923 Asymmetric Logit
  Rescale = empirical negative; openai#1929 banned SLOT+prequant-TTT.
- frontier-state.json: 21 PRs added; total 200.
- diary/2026-04-29-frontier-scan.md: full scan report.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
leon2k2k2k added a commit to leon2k2k2k/parameter-golf that referenced this pull request May 1, 2026
Audits every CaseOps-lineage record-track PR (merged + unmerged) since
2026-04-18 for whether val docs are also in the training set.

Working set: 34 PRs (31 from chronological seed list + 3 discovered ancestors:
openai#1908, openai#1923, openai#2007). Boundary nodes openai#1493 / openai#1626 (pre-CaseOps).

Verdicts:
  - CLEAN (8): openai#1729, openai#1851, openai#1868, openai#1908, openai#2019, openai#2027, openai#2031, openai#2068
  - LEAK (25): openai#1736 (our research baseline) → openai#1769 → openai#1787 → openai#1797 →
    openai#1855 → V21 family (openai#1945, openai#1923, openai#1953, openai#1967) → openai#2018 → openai#2118
    (current claimed frontier 1.04350), plus siblings.
  - INHERIT (1): openai#2050 (eval-only on frozen openai#1915)

Code-level evidence (not README claims):
  - Every shipped prepare_caseops_data.py is byte-identical:
    SHARD_TOKENS=10_000_000, default=10_000 for --val-docs
  - NO PR overrides --val-docs (searched all .sh files in all 34 PRs)
  - cached_challenge_fineweb.py downloads from romeerp/parameter-golf-caseops-v1
    HF dataset whose manifest pins docs_val=50000, docs_train=8181945,
    sums match → CLEAN by construction
  - PR openai#2018's DATASET_AUDIT.md is gold-standard explicit leak description
  - PR openai#2118's submission.json admits "--val-docs=10000 train shards + 50k val eval"

Three signposts:
  - Leak introduced: PR openai#1736 by @dexhunter (Apr 19) — first prepare_caseops_data.py
    default invocation
  - Leak fixed: PR openai#1851 by @aquariouseworkman (Apr 27) — switched to HF dataset
  - Leak re-introduced: PR openai#1855 by @codemath3000 (same day) — rebuilt locally

The merged-leaderboard SOTA (openai#1851/openai#1868 at 1.06128/1.06141) is CLEAN.
The unmerged frontier (openai#2118 at 1.04350) is LEAK. The 0.018 bpb gap is
inflated by val memorization; spec 301 was designed to measure how much
remains under clean data.

Files:
  caseops-memory-leakage/README.md       — overview, methodology, takeaways
  caseops-memory-leakage/verdicts.md     — 34-row master table with evidence
  caseops-memory-leakage/family-tree.md  — ASCII trees with [C]/[L] annotations
@AidenGeunGeun AidenGeunGeun closed this by deleting the head repository Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant