Manuscript revision and pending experiment work, snapshot before restructuring

Clarity pass over the main text (36-item audit), Discussion rewrite and cut,
acknowledgements, Souly et al. as ref 62, lettered SI panels, model section
moved under Results; plus the untracked curriculum/society/compose/smol
configs, runners, figures, stats and tests that the SI already cites.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y64o8FKP7rCuXzC48pxpMm
This commit is contained in:
Giorgio Gilestro 2026-09-13 16:54:09 +01:00
parent e4804adabc
commit 84124de143
450 changed files with 52813 additions and 1202 deletions

View file

@ -0,0 +1,21 @@
# llm_merge_seeds_smol — the FisherMuller replication on a second base lineage (SmolLM2-1.7B-Instruct)
**Claim tested (manuscript revision 2026-09-12).** Every language-model result in the paper used one
model lineage (Qwen2.5). Does "merged specialists exceed every parent" hold on an unrelated base?
Base: `HuggingFaceTB/SmolLM2-1.7B-Instruct` (Apache-2.0, Llama architecture, different lab and
pretraining corpus). Identical protocol to `llm_merge_seeds` (three disjoint families, 600 training
tasks, 3 epochs, rank-16 LoRA, fixed 100-task test sets, soup and TIES merges, 5 training seeds);
`adapters_dir: models/llm_smol` keeps the specialist cache apart from Qwen's. Ran on one L40S in
12 min (`hpc/llm_smol.pbs`). Numbers from `figures/stats_llm_smol.py`; figure `llm_smol.png` (both
lineages side by side).
### Result — replicates, 5/5 seeds, with the same magnitudes
| contrast (SmolLM2) | overall | worst family |
|---|---|---|
| soup best specialist | +0.049 ± 0.022 (5/5 seeds) | +0.190 ± 0.045 (5/5) |
| TIES best specialist | +0.097 ± 0.020 (5/5) | +0.202 ± 0.077 (5/5) |
| *(Qwen2.5-0.5B, for reference)* soup best | +0.040 ± 0.035 (4/5) | +0.200 ± 0.020 (5/5) |
| *(Qwen)* TIES best | +0.055 ± 0.020 (5/5) | +0.204 ± 0.016 (5/5) |
Absolute levels: best specialist 0.610 ± 0.013 overall / 0.128 worst-family; soup 0.659 / 0.318;
TIES 0.707 / 0.330. Falsifier (not triggered): merged ≤ best specialist in a majority of seeds.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

View file

@ -0,0 +1,28 @@
{
"experiment": "llm_merge_seeds_smol",
"master_seed": 1,
"git_commit": null,
"python": "3.11.7",
"libraries": {
"numpy": "2.4.6",
"scipy": "1.17.1",
"pandas": "3.0.3",
"pyarrow": "24.0.0",
"torch": "2.12.1",
"transformers": "5.16.1",
"peft": "0.20.0"
},
"rows": 150,
"results_sha256": "dbcf4a5a9ffd5fa8dec1eb876e9278f274379f01d546b4dd569671253f73998c",
"layer": "2",
"tier": "llm",
"base_model": "HuggingFaceTB/SmolLM2-1.7B-Instruct",
"hard": false,
"seeds": [
1,
2,
3,
4,
5
]
}

View file

@ -0,0 +1,31 @@
experiment: llm_merge_seeds_smol
seed: 1
n_replicates: 1
source_config:
experiment: llm_merge_seeds_smol
kind: llm_merge
seed: 1
seeds:
- 1
- 2
- 3
- 4
- 5
n_replicates: 1
base_model: HuggingFaceTB/SmolLM2-1.7B-Instruct
families:
- lists
- strings
- arith
n_train: 600
n_test: 100
epochs: 3
lora:
r: 16
alpha: 32
merges:
- soup
- ties
output:
dir: results/llm_merge_seeds_smol
adapters_dir: models/llm_smol