AbstractPhil commited on
Commit
43d9c8b
Β·
verified Β·
1 Parent(s): c8ccb05

references+attribution section, inline citations

Browse files
Files changed (1) hide show
  1. TECHNICAL.md +42 -10
TECHNICAL.md CHANGED
@@ -1,13 +1,13 @@
1
  # Adopt-0 β€” Technical Companion
2
 
3
- **Repository:** `AbstractPhil/alephlm-adopt-0` Β· **Author:** AbstractPhil
4
  **Companion to the week-in-review article. Runs dated August 4–5, 2026.**
5
 
6
  ---
7
 
8
  ## 1. Overview
9
 
10
- Adopt-0 is the first attachment of the aleph mechanism to a real pretrained LLM. Rather than training an aleph-routed trunk from scratch, the mechanism is *adopted onto* a completely frozen Qwen2.5-0.5B-Instruct as a set of small relay adapters, and asked to earn its place through distillation from the model's 3x-larger sibling, Qwen2.5-1.5B-Instruct.
11
 
12
  The trainable budget is 2.87M parameters against a frozen half-billion-parameter trunk. Three arms ran to verdict β€” 20k steps and ~31M tokens each, ~2.5 GPU-hours per arm β€” and every artifact (all checkpoints, training logs, and evaluation results) ships publicly in this repository.
13
 
@@ -27,10 +27,10 @@ A companion instrument from the same working period, the cross-tokenizer alignme
27
  ### 2.1 Relay adapters
28
 
29
  - **Student:** Qwen2.5-0.5B-Instruct, completely frozen. No base weight is ever updated.
30
- - **Adapters:** one sigma-gated residual relay per transformer block, plus one separately-gated relay on the pre-head stream β€” the stream that feeds the token head directly. That last seat exists because of the program's placement law (Campaign Law 2, Β§6): the address mechanism is predicted to pay only where it parameterizes the output distribution, so the bed deliberately gives it a position there.
31
  - **Aleph arm:** relays route through the aleph's signed codebook read, K=64 per relay.
32
  - **Control arm:** plain-MLP relays at **matched placement and matched capacity** β€” the capacity control. Any difference between arms is mechanism, not parameter count.
33
- - **Teacher:** Qwen2.5-1.5B-Instruct. **Objective:** per-token KL divergence to the teacher at temperature 2, plus a 0.1-weighted cross-entropy term; pure Adam; streaming wikitext corpus.
34
 
35
  ### 2.2 Silent at initialization
36
 
@@ -52,7 +52,7 @@ The first smoke attempt froze the training host: an fp32 student with an uncappe
52
  | + aleph relays | 15.449 | 1.448 |
53
  | + mlp relays | 15.394 | 1.432 |
54
 
55
- Both adapter mechanisms cut KL to the teacher by ~25%, within ~1% relative of each other. This tie class has a prior sighting in the program: the **L-AR8 co-training bed (vision dial)**, and before that the seed-0 E1 trunk campaign's three-way tie, where learned, frozen-random, and dense arms scored .6031 / .6033 / .6026 β€” a spread of .0007. The consistent reading across all three sightings: **on the raw loss gauge alone, mechanism does not separate from capacity.** The verdict lives one level deeper, in how each mechanism spent its budget.
56
 
57
  ### 3.2 The placement election
58
 
@@ -73,7 +73,7 @@ Both trained arms toggle off to recover the stock model to **4 decimal places**
73
 
74
  ### 3.4 Secondary instrument reads
75
 
76
- - **Positional integrity:** a wide-spectrum positional probe (15 depths to 8,000 tokens) placed the adopt-0 hybrid among ten models; integrity holds ~.98, essentially flat to depth 8,000 β€” the RoPE inheritance, recorded as the evidence for making RoPE the default in the next trunk generation.
77
  - **A measured cost:** the token-grid directional rank of the decoder sits 10–20x below the program's encoders, and KL distillation on the frozen trunk *narrowed* it further (.026 to .015) β€” distribution-matching compresses directional diversity. Logged as a caution for any plan that would use an adopted decoder as a conditioning encoder.
78
  - **Signed structure:** the program's first signed instruments read the adopt-0 relays as a **balanced bipolar code** β€” negative-weight fraction ~.50, magnitudes ~1/64, dense across the K=64 codebook, with zero net bias. This is the canonical reconstructive sign-code regime the aleph's reconstruction lineage predicts, and it was invisible to every prior density-based gauge (Β§6).
79
 
@@ -81,7 +81,7 @@ Both trained arms toggle off to recover the stock model to **4 decimal places**
81
 
82
  ## 4. The honest task-transfer null
83
 
84
- The shipped models were benchmarked on lm-eval, 0-shot (arc_easy, hellaswag, piqa, winogrande):
85
 
86
  | model | 4-task mean |
87
  |---|---|
@@ -106,9 +106,9 @@ The next distillation plans want multiple teachers β€” which raises a gating que
106
 
107
  | pair | held-out token cosine | token R@1 |
108
  |---|---|---|
109
- | distilbert β†’ bert (same tokenizer β€” the ceiling) | .648 | .966 |
110
- | t5 β†’ bert (SentencePiece β†’ WordPiece) | .333 | **.840** |
111
- | clip β†’ bert (BPE, causal, 77-token cap) | .183 | .445 |
112
  | shuffled-correspondence nulls | β€” | ~.0005 (dead) |
113
 
114
  The headline is the t5 row: across a fully different tokenization scheme, the correct token is retrieved first-try 84% of the time from a ~15,000-token gallery where chance is ~.0005. **Roughly half the alignment strength survives the vocabulary mismatch β€” a tax, never a wall.** The room between .840 and the .966 same-tokenizer ceiling is the price of the bridge; the room between .840 and .0005 is why the bridge is worth building. A three-member span-aligned token consensus built on these maps retains 93% of the reference member's effective rank (72.7 of 77.9), with bert/t5 cross-teacher agreement ~.76.
@@ -131,3 +131,35 @@ The headline is the t5 row: across a fully different tokenization scheme, the co
131
  ## 7. Provenance
132
 
133
  All numbers in this document are verified against the research record. Three arms (frozen / aleph / mlp) ran to verdict at 20k steps and ~31M tokens each on a streaming wikitext corpus, August 4–5, 2026; all weights, training logs, and evaluation outputs for every arm ship in this repository (`AbstractPhil/alephlm-adopt-0`). The tokenizer-alignment instrument (Β§5) was run in the same working period under the program's certified out-of-sample protocol. Author: AbstractPhil.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  # Adopt-0 β€” Technical Companion
2
 
3
+ **Repository:** [`AbstractPhil/alephlm-adopt-0`](https://huggingface.co/AbstractPhil/alephlm-adopt-0) Β· **Author:** AbstractPhil
4
  **Companion to the week-in-review article. Runs dated August 4–5, 2026.**
5
 
6
  ---
7
 
8
  ## 1. Overview
9
 
10
+ Adopt-0 is the first attachment of the aleph mechanism to a real pretrained LLM. Rather than training an aleph-routed trunk from scratch, the mechanism is *adopted onto* a completely frozen [Qwen2.5-0.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-0.5B-Instruct) as a set of small relay adapters, and asked to earn its place through [distillation](https://arxiv.org/abs/1503.02531) from the model's 3x-larger sibling, [Qwen2.5-1.5B-Instruct](https://huggingface.co/Qwen).
11
 
12
  The trainable budget is 2.87M parameters against a frozen half-billion-parameter trunk. Three arms ran to verdict β€” 20k steps and ~31M tokens each, ~2.5 GPU-hours per arm β€” and every artifact (all checkpoints, training logs, and evaluation results) ships publicly in this repository.
13
 
 
27
  ### 2.1 Relay adapters
28
 
29
  - **Student:** Qwen2.5-0.5B-Instruct, completely frozen. No base weight is ever updated.
30
+ - **Adapters:** one sigma-gated residual relay per [transformer](https://arxiv.org/abs/1706.03762) block, plus one separately-gated relay on the pre-head stream β€” the stream that feeds the token head directly. That last seat exists because of the program's placement law (Campaign Law 2, Β§6): the address mechanism is predicted to pay only where it parameterizes the output distribution, so the bed deliberately gives it a position there.
31
  - **Aleph arm:** relays route through the aleph's signed codebook read, K=64 per relay.
32
  - **Control arm:** plain-MLP relays at **matched placement and matched capacity** β€” the capacity control. Any difference between arms is mechanism, not parameter count.
33
+ - **Teacher:** Qwen2.5-1.5B-Instruct. **Objective:** per-token KL divergence to the teacher at temperature 2, plus a 0.1-weighted cross-entropy term; pure Adam; streaming [wikitext](https://arxiv.org/abs/1609.07843) corpus.
34
 
35
  ### 2.2 Silent at initialization
36
 
 
52
  | + aleph relays | 15.449 | 1.448 |
53
  | + mlp relays | 15.394 | 1.432 |
54
 
55
+ Both adapter mechanisms cut KL to the teacher by ~25%, within ~1% relative of each other. This tie class has a prior sighting in the program: the **L-AR8 co-training bed (vision dial)**, and before that the [seed-0 E1 trunk campaign](https://huggingface.co/AbstractPhil/alephlm-0)'s three-way tie, where learned, frozen-random, and dense arms scored .6031 / .6033 / .6026 β€” a spread of .0007. The consistent reading across all three sightings: **on the raw loss gauge alone, mechanism does not separate from capacity.** The verdict lives one level deeper, in how each mechanism spent its budget.
56
 
57
  ### 3.2 The placement election
58
 
 
73
 
74
  ### 3.4 Secondary instrument reads
75
 
76
+ - **Positional integrity:** a wide-spectrum positional probe (15 depths to 8,000 tokens) placed the adopt-0 hybrid among ten models; integrity holds ~.98, essentially flat to depth 8,000 β€” the [RoPE](https://arxiv.org/abs/2104.09864) inheritance, recorded as the evidence for making RoPE the default in the next trunk generation.
77
  - **A measured cost:** the token-grid directional rank of the decoder sits 10–20x below the program's encoders, and KL distillation on the frozen trunk *narrowed* it further (.026 to .015) β€” distribution-matching compresses directional diversity. Logged as a caution for any plan that would use an adopted decoder as a conditioning encoder.
78
  - **Signed structure:** the program's first signed instruments read the adopt-0 relays as a **balanced bipolar code** β€” negative-weight fraction ~.50, magnitudes ~1/64, dense across the K=64 codebook, with zero net bias. This is the canonical reconstructive sign-code regime the aleph's reconstruction lineage predicts, and it was invisible to every prior density-based gauge (Β§6).
79
 
 
81
 
82
  ## 4. The honest task-transfer null
83
 
84
+ The shipped models were benchmarked on [lm-eval](https://github.com/EleutherAI/lm-evaluation-harness), 0-shot (arc_easy, hellaswag, piqa, winogrande):
85
 
86
  | model | 4-task mean |
87
  |---|---|
 
106
 
107
  | pair | held-out token cosine | token R@1 |
108
  |---|---|---|
109
+ | [distilbert](https://arxiv.org/abs/1910.01108) β†’ [bert](https://arxiv.org/abs/1810.04805) (same tokenizer β€” the ceiling) | .648 | .966 |
110
+ | [t5](https://arxiv.org/abs/1910.10683) β†’ bert ([SentencePiece](https://arxiv.org/abs/1808.06226) β†’ [WordPiece](https://arxiv.org/abs/1810.04805)) | .333 | **.840** |
111
+ | [clip](https://arxiv.org/abs/2103.00020) β†’ bert (BPE, causal, 77-token cap) | .183 | .445 |
112
  | shuffled-correspondence nulls | β€” | ~.0005 (dead) |
113
 
114
  The headline is the t5 row: across a fully different tokenization scheme, the correct token is retrieved first-try 84% of the time from a ~15,000-token gallery where chance is ~.0005. **Roughly half the alignment strength survives the vocabulary mismatch β€” a tax, never a wall.** The room between .840 and the .966 same-tokenizer ceiling is the price of the bridge; the room between .840 and .0005 is why the bridge is worth building. A three-member span-aligned token consensus built on these maps retains 93% of the reference member's effective rank (72.7 of 77.9), with bert/t5 cross-teacher agreement ~.76.
 
131
  ## 7. Provenance
132
 
133
  All numbers in this document are verified against the research record. Three arms (frozen / aleph / mlp) ran to verdict at 20k steps and ~31M tokens each on a streaming wikitext corpus, August 4–5, 2026; all weights, training logs, and evaluation outputs for every arm ship in this repository (`AbstractPhil/alephlm-adopt-0`). The tokenizer-alignment instrument (Β§5) was run in the same working period under the program's certified out-of-sample protocol. Author: AbstractPhil.
134
+
135
+ ---
136
+
137
+ ## References and attribution
138
+
139
+ **Models**
140
+
141
+ - Qwen2.5-0.5B-Instruct (the frozen student trunk) and Qwen2.5-1.5B-Instruct (the distillation teacher) β€” the [Qwen team](https://huggingface.co/Qwen) β€” [Qwen2.5-0.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-0.5B-Instruct)
142
+ - BERT (Devlin et al.) β€” reference member and WordPiece side of the tokenizer-alignment instrument β€” https://arxiv.org/abs/1810.04805
143
+ - DistilBERT (Sanh et al.) β€” the same-tokenizer ceiling pair β€” https://arxiv.org/abs/1910.01108
144
+ - T5 (Raffel et al.) β€” the cross-tokenizer pair β€” https://arxiv.org/abs/1910.10683
145
+ - CLIP (Radford et al.) β€” the causal, 77-token-capped pair β€” https://arxiv.org/abs/2103.00020
146
+
147
+ **Data**
148
+
149
+ - WikiText-2 (Merity et al.) β€” the streaming distillation corpus, ~31M tokens per arm β€” https://arxiv.org/abs/1609.07843
150
+
151
+ **Methods**
152
+
153
+ - Knowledge distillation (Hinton et al.) β€” the per-token KL-to-teacher objective at temperature 2 β€” https://arxiv.org/abs/1503.02531
154
+ - Attention / the transformer (Vaswani et al.) β€” the trunk architecture the relays attach to β€” https://arxiv.org/abs/1706.03762
155
+ - LoRA (Hu et al.) β€” lineage of the zero-init, detachable adapter convention β€” https://arxiv.org/abs/2106.09685
156
+ - Mixture-of-experts routing (Shazeer et al.) β€” lineage and contrast class of the gated relay design β€” https://arxiv.org/abs/1701.06538
157
+ - Rotary position embeddings (Su et al.) β€” the positional scheme whose depth integrity Β§3.4 measures β€” https://arxiv.org/abs/2104.09864
158
+ - SentencePiece (Kudo & Richardson) β€” T5's tokenizer in the alignment instrument β€” https://arxiv.org/abs/1808.06226
159
+
160
+ **Infrastructure**
161
+
162
+ - lm-evaluation-harness (EleutherAI) β€” the 0-shot benchmark verdict (arc_easy, hellaswag, piqa, winogrande) β€” https://github.com/EleutherAI/lm-evaluation-harness
163
+ - PyTorch β€” every trainer and instrument in the bed β€” https://pytorch.org
164
+
165
+ **Related artifacts:** [alephlm-adopt-0](https://huggingface.co/AbstractPhil/alephlm-adopt-0) (this release) Β· [alephlm-0](https://huggingface.co/AbstractPhil/alephlm-0) (the E1 trunk campaign whose three-way tie Β§3.1 references) Β· prior installment: [Geometric Memory FT4](https://huggingface.co/blog/AbstractPhil/geometric-memory-ft4)