Archive verified LiSA full-answer recovery results

This commit is contained in:
2026-11-25 11:11:13 +08:00
parent 4e66b5d5ba
commit 6aa66b29a1
6 changed files with 1991 additions and 1 deletions
+25 -1
View File
@@ -19,4 +19,28 @@
## 训练与独立留出评估
三个接收层各训练 825,344 个参数,总计 2,476,032 个。完成了 24 道冻结拟合题的教师分数采集,复核按题检查输入 token、教师张量形状与有限值,并保存各采集文件的 SHA-256。训练跑两轮,用 8 道验证题选择检查点,随后评估 32 道独立留出题。完整答案恢复率和配对区间待测试结束。
三个接收层各训练 825,344 个参数,总计 2,476,032 个。完成了 24 道冻结拟合题的教师分数采集,复核按题检查输入 token、教师张量形状与有限值,并保存各采集文件的 SHA-256。
两轮各完成 24 次更新。用冻结分词器重新解码两轮各 8 道验证题的生成结果,首轮答对 1 道,第二轮答对 2 道。按预先固定的验证正确数选用第二轮检查点。两轮逐步损失、验证题原始输出及检查点选择见训练记录。 [训练记录](../results/lisa-full-answer-reproduction/trace.json)
### 留出集结果
在 32 道独立查表题上,三组共 96 条回答全部生成了正常的结束 token,并能提取完整整数。原模型全对。三层直接共享让 32 道题都答成了错误整数,LiSA 救回其中 3 道,另外 29 道仍答错。
| 配置 | 正确数 | 准确率 |
| --- | ---: | ---: |
| 原模型 | 32/32 | 100% |
| 三层直接共享 | 0/32 | 0% |
| 三层 LiSA | 3/32 | 9.38% |
| 恢复题 | 原模型及标准答案 | 直接共享 | LiSA |
| --- | ---: | ---: | ---: |
| `test-lookup-014` | 71 | 47 | 71 |
| `test-lookup-020` | 94 | 5 | 94 |
| `test-lookup-021` | 44 | 10 | 44 |
相对直接共享,LiSA 准确率提高 9.38 个百分点,按题配对 bootstrap 95% 区间为 0 至 21.88 个百分点。McNemar 精确双侧检验的 p 值为 0.25。逐题变化方向是 3 道从错变对、0 道从对变错。直接共享全错,因此这个留出集无法估计 LiSA 保留直接共享已有正确答案的能力。
结果确认了三个真实数值错误的恢复案例。样本上的准确率提升仍有较大不确定性。结论限于这一个 Qwen3.5-2B 检查点、查表任务和三个接收层,训练用 24 道合成题。四层和五层共享只做了开发筛选,其 LiSA 恢复效果仍待测。
远程实验和独立复核均以退出码 0 完成。复核从保存的 token 重新解析并重算三组分数,结果与训练进程生成的汇总一致。摘要记录的是远程原件路径,选中的适配器保存在该远程运行目录。 [逐题输出](../results/lisa-full-answer-reproduction/test-items.json) · [配对统计](../results/lisa-full-answer-reproduction/test-audit.json) · [复核回执](../results/lisa-full-answer-reproduction/verified-test.json) · [文件摘要](../results/lisa-full-answer-reproduction/result.sha256)
@@ -0,0 +1,6 @@
df49b966e0f68bcb0f06642e9ec141008aaf8550d63fc467f00c6b9e864af799 /opt/exp-model-parameter-similarity/runs/lisa-full-answer-20261124-run/final/train-spec.json
3366a4f4653837e4698ebabaa1d9656788b920f04f3b4e01f776342347c3604d /opt/exp-model-parameter-similarity/runs/lisa-full-answer-20261124-run/final/trace.json
c82db5af7fa42cf58a349f3e53961da2360b211a7ed606f53a728860c64f6f29 /opt/exp-model-parameter-similarity/runs/lisa-full-answer-20261124-run/final/lisa.pt
5c04ffff27c8b31a0be2d39553ed035d3c677907cabc1d17a9ea5886f97f8e5d /opt/exp-model-parameter-similarity/runs/lisa-full-answer-20261124-run/final/test-items.json
c5f8b769819335d4a0969575f33c783859b4114dbf13405feeb06f3610a593c8 /opt/exp-model-parameter-similarity/runs/lisa-full-answer-20261124-run/final/test-audit.json
74c5b1a4a4a88420d3965e57671d765f22cc3440eb74e9737d0ecbb7b0776ad1 /opt/exp-model-parameter-similarity/runs/lisa-full-answer-20261124-run/final/verified-test.json
@@ -0,0 +1,63 @@
{
"n": 32,
"correct": {
"native": 32,
"direct": 0,
"lisa": 3
},
"substantive_loss_ids": [
"test-lookup-000",
"test-lookup-001",
"test-lookup-002",
"test-lookup-003",
"test-lookup-004",
"test-lookup-005",
"test-lookup-006",
"test-lookup-007",
"test-lookup-008",
"test-lookup-009",
"test-lookup-010",
"test-lookup-011",
"test-lookup-012",
"test-lookup-013",
"test-lookup-014",
"test-lookup-015",
"test-lookup-016",
"test-lookup-017",
"test-lookup-018",
"test-lookup-019",
"test-lookup-020",
"test-lookup-021",
"test-lookup-022",
"test-lookup-023",
"test-lookup-024",
"test-lookup-025",
"test-lookup-026",
"test-lookup-027",
"test-lookup-028",
"test-lookup-029",
"test-lookup-030",
"test-lookup-031"
],
"substantive_rescued_ids": [
"test-lookup-014",
"test-lookup-020",
"test-lookup-021"
],
"unscored": {
"native": 0,
"direct": 0,
"lisa": 0
},
"native_correct_lost_by_direct": 32,
"rescued": 3,
"newly_lost_among_native_and_direct_correct": 0,
"candidate_correct_direct_wrong": 3,
"direct_correct_candidate_wrong": 0,
"accuracy_delta_vs_direct": 0.09375,
"paired_prompt_bootstrap_95": [
0.0,
0.21875
],
"mcnemar_exact_p": 0.25
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,547 @@
{
"selected_epoch": 2,
"epochs": [
{
"epoch": 1,
"steps": [
{
"capture": "000.npz",
"huber": 6.466125965118408,
"completion_ce": 3.640169858932495
},
{
"capture": "001.npz",
"huber": 6.416173458099365,
"completion_ce": 2.7350101470947266
},
{
"capture": "002.npz",
"huber": 6.482085704803467,
"completion_ce": 2.03899884223938
},
{
"capture": "003.npz",
"huber": 6.430853366851807,
"completion_ce": 1.5210151672363281
},
{
"capture": "004.npz",
"huber": 6.329977512359619,
"completion_ce": 1.6759847402572632
},
{
"capture": "005.npz",
"huber": 6.335151195526123,
"completion_ce": 1.0699304342269897
},
{
"capture": "006.npz",
"huber": 6.317526340484619,
"completion_ce": 1.4101346731185913
},
{
"capture": "007.npz",
"huber": 6.251140594482422,
"completion_ce": 1.1468429565429688
},
{
"capture": "008.npz",
"huber": 6.1668524742126465,
"completion_ce": 1.6777559518814087
},
{
"capture": "009.npz",
"huber": 6.1963043212890625,
"completion_ce": 1.2596086263656616
},
{
"capture": "010.npz",
"huber": 6.088558673858643,
"completion_ce": 0.6729698181152344
},
{
"capture": "011.npz",
"huber": 6.079294681549072,
"completion_ce": 1.2998491525650024
},
{
"capture": "012.npz",
"huber": 6.054551601409912,
"completion_ce": 1.4103832244873047
},
{
"capture": "013.npz",
"huber": 5.936060428619385,
"completion_ce": 1.0076059103012085
},
{
"capture": "014.npz",
"huber": 5.830902576446533,
"completion_ce": 0.8567708134651184
},
{
"capture": "015.npz",
"huber": 5.81991720199585,
"completion_ce": 0.9816989898681641
},
{
"capture": "016.npz",
"huber": 5.782172679901123,
"completion_ce": 0.32713380455970764
},
{
"capture": "017.npz",
"huber": 5.763124465942383,
"completion_ce": 2.0601158142089844
},
{
"capture": "018.npz",
"huber": 5.706521511077881,
"completion_ce": 1.5579833984375
},
{
"capture": "019.npz",
"huber": 5.558866500854492,
"completion_ce": 0.44708251953125
},
{
"capture": "020.npz",
"huber": 5.477881908416748,
"completion_ce": 1.1636791229248047
},
{
"capture": "021.npz",
"huber": 5.311099529266357,
"completion_ce": 1.1208223104476929
},
{
"capture": "022.npz",
"huber": 5.279181957244873,
"completion_ce": 1.268227219581604
},
{
"capture": "023.npz",
"huber": 5.142008304595947,
"completion_ce": 0.9710490107536316
}
],
"validation": [
{
"id": "validation-lookup-000",
"task": "lookup",
"gold": 28,
"arms": {
"lisa": {
"tokens": [
24,
22,
248046
],
"response": "97<|im_end|>",
"stop": "eos",
"answer": 97,
"correct": false
}
}
},
{
"id": "validation-lookup-001",
"task": "lookup",
"gold": 92,
"arms": {
"lisa": {
"tokens": [
24,
21,
248046
],
"response": "96<|im_end|>",
"stop": "eos",
"answer": 96,
"correct": false
}
}
},
{
"id": "validation-lookup-002",
"task": "lookup",
"gold": 71,
"arms": {
"lisa": {
"tokens": [
19,
16,
248046
],
"response": "41<|im_end|>",
"stop": "eos",
"answer": 41,
"correct": false
}
}
},
{
"id": "validation-lookup-003",
"task": "lookup",
"gold": 89,
"arms": {
"lisa": {
"tokens": [
23,
19,
248046
],
"response": "84<|im_end|>",
"stop": "eos",
"answer": 84,
"correct": false
}
}
},
{
"id": "validation-lookup-004",
"task": "lookup",
"gold": 98,
"arms": {
"lisa": {
"tokens": [
24,
23,
248046
],
"response": "98<|im_end|>",
"stop": "eos",
"answer": 98,
"correct": true
}
}
},
{
"id": "validation-lookup-005",
"task": "lookup",
"gold": 26,
"arms": {
"lisa": {
"tokens": [
20,
24,
248046
],
"response": "59<|im_end|>",
"stop": "eos",
"answer": 59,
"correct": false
}
}
},
{
"id": "validation-lookup-006",
"task": "lookup",
"gold": 38,
"arms": {
"lisa": {
"tokens": [
24,
16,
248046
],
"response": "91<|im_end|>",
"stop": "eos",
"answer": 91,
"correct": false
}
}
},
{
"id": "validation-lookup-007",
"task": "lookup",
"gold": 32,
"arms": {
"lisa": {
"tokens": [
20,
24,
248046
],
"response": "59<|im_end|>",
"stop": "eos",
"answer": 59,
"correct": false
}
}
}
]
},
{
"epoch": 2,
"steps": [
{
"capture": "000.npz",
"huber": 4.952552318572998,
"completion_ce": 1.4009037017822266
},
{
"capture": "001.npz",
"huber": 4.789427280426025,
"completion_ce": 0.5592880249023438
},
{
"capture": "002.npz",
"huber": 4.726945400238037,
"completion_ce": 1.2972265481948853
},
{
"capture": "003.npz",
"huber": 4.5856170654296875,
"completion_ce": 0.5974127650260925
},
{
"capture": "004.npz",
"huber": 4.457610607147217,
"completion_ce": 0.4448140561580658
},
{
"capture": "005.npz",
"huber": 4.406347274780273,
"completion_ce": 0.6005427241325378
},
{
"capture": "006.npz",
"huber": 4.3611578941345215,
"completion_ce": 1.11090087890625
},
{
"capture": "007.npz",
"huber": 4.287736415863037,
"completion_ce": 0.4663238525390625
},
{
"capture": "008.npz",
"huber": 4.187578201293945,
"completion_ce": 1.04208242893219
},
{
"capture": "009.npz",
"huber": 4.137438774108887,
"completion_ce": 0.754715621471405
},
{
"capture": "010.npz",
"huber": 3.979546308517456,
"completion_ce": 0.5380516052246094
},
{
"capture": "011.npz",
"huber": 3.8709640502929688,
"completion_ce": 0.7800388336181641
},
{
"capture": "012.npz",
"huber": 3.749253273010254,
"completion_ce": 0.5718275904655457
},
{
"capture": "013.npz",
"huber": 3.5951597690582275,
"completion_ce": 0.8369833827018738
},
{
"capture": "014.npz",
"huber": 3.4549624919891357,
"completion_ce": 0.37712350487709045
},
{
"capture": "015.npz",
"huber": 3.3932430744171143,
"completion_ce": 0.47049713134765625
},
{
"capture": "016.npz",
"huber": 3.3298141956329346,
"completion_ce": 0.24415016174316406
},
{
"capture": "017.npz",
"huber": 3.315248727798462,
"completion_ce": 1.5147151947021484
},
{
"capture": "018.npz",
"huber": 3.2439496517181396,
"completion_ce": 0.15868441760540009
},
{
"capture": "019.npz",
"huber": 3.1188666820526123,
"completion_ce": 0.05583127215504646
},
{
"capture": "020.npz",
"huber": 3.04500412940979,
"completion_ce": 0.022246679291129112
},
{
"capture": "021.npz",
"huber": 2.903524160385132,
"completion_ce": 0.07955551147460938
},
{
"capture": "022.npz",
"huber": 2.9015865325927734,
"completion_ce": 1.1182270050048828
},
{
"capture": "023.npz",
"huber": 2.8223178386688232,
"completion_ce": 0.44306373596191406
}
],
"validation": [
{
"id": "validation-lookup-000",
"task": "lookup",
"gold": 28,
"arms": {
"lisa": {
"tokens": [
24,
22,
248046
],
"response": "97<|im_end|>",
"stop": "eos",
"answer": 97,
"correct": false
}
}
},
{
"id": "validation-lookup-001",
"task": "lookup",
"gold": 92,
"arms": {
"lisa": {
"tokens": [
24,
17,
248046
],
"response": "92<|im_end|>",
"stop": "eos",
"answer": 92,
"correct": true
}
}
},
{
"id": "validation-lookup-002",
"task": "lookup",
"gold": 71,
"arms": {
"lisa": {
"tokens": [
19,
16,
248046
],
"response": "41<|im_end|>",
"stop": "eos",
"answer": 41,
"correct": false
}
}
},
{
"id": "validation-lookup-003",
"task": "lookup",
"gold": 89,
"arms": {
"lisa": {
"tokens": [
20,
19,
248046
],
"response": "54<|im_end|>",
"stop": "eos",
"answer": 54,
"correct": false
}
}
},
{
"id": "validation-lookup-004",
"task": "lookup",
"gold": 98,
"arms": {
"lisa": {
"tokens": [
24,
23,
248046
],
"response": "98<|im_end|>",
"stop": "eos",
"answer": 98,
"correct": true
}
}
},
{
"id": "validation-lookup-005",
"task": "lookup",
"gold": 26,
"arms": {
"lisa": {
"tokens": [
21,
20,
248046
],
"response": "65<|im_end|>",
"stop": "eos",
"answer": 65,
"correct": false
}
}
},
{
"id": "validation-lookup-006",
"task": "lookup",
"gold": 38,
"arms": {
"lisa": {
"tokens": [
24,
16,
248046
],
"response": "91<|im_end|>",
"stop": "eos",
"answer": 91,
"correct": false
}
}
},
{
"id": "validation-lookup-007",
"task": "lookup",
"gold": 32,
"arms": {
"lisa": {
"tokens": [
20,
18,
248046
],
"response": "53<|im_end|>",
"stop": "eos",
"answer": 53,
"correct": false
}
}
}
]
}
]
}
@@ -0,0 +1,68 @@
{
"frozen_sha256": "409cadff8b2ef2f0efcfa71bf0a94802391a341ed04cb6e374154b8b8ff1b545",
"rows_sha256": "5c04ffff27c8b31a0be2d39553ed035d3c677907cabc1d17a9ea5886f97f8e5d",
"rows_verified": 32,
"final_answer_audit": {
"n": 32,
"correct": {
"native": 32,
"direct": 0,
"lisa": 3
},
"substantive_loss_ids": [
"test-lookup-000",
"test-lookup-001",
"test-lookup-002",
"test-lookup-003",
"test-lookup-004",
"test-lookup-005",
"test-lookup-006",
"test-lookup-007",
"test-lookup-008",
"test-lookup-009",
"test-lookup-010",
"test-lookup-011",
"test-lookup-012",
"test-lookup-013",
"test-lookup-014",
"test-lookup-015",
"test-lookup-016",
"test-lookup-017",
"test-lookup-018",
"test-lookup-019",
"test-lookup-020",
"test-lookup-021",
"test-lookup-022",
"test-lookup-023",
"test-lookup-024",
"test-lookup-025",
"test-lookup-026",
"test-lookup-027",
"test-lookup-028",
"test-lookup-029",
"test-lookup-030",
"test-lookup-031"
],
"substantive_rescued_ids": [
"test-lookup-014",
"test-lookup-020",
"test-lookup-021"
],
"unscored": {
"native": 0,
"direct": 0,
"lisa": 0
},
"native_correct_lost_by_direct": 32,
"rescued": 3,
"newly_lost_among_native_and_direct_correct": 0,
"candidate_correct_direct_wrong": 3,
"direct_correct_candidate_wrong": 0,
"accuracy_delta_vs_direct": 0.09375,
"paired_prompt_bootstrap_95": [
0.0,
0.21875
],
"mcnemar_exact_p": 0.25
}
}