Freeze head-group selection and archive second group answers
This commit is contained in:
@@ -57,3 +57,9 @@
|
||||
只对第 0 个 GQA 组的 4 个查询头恢复原生读取,向第 23 层传递的分数继续使用 LiSA,换值与换键各答对 16/16,均为 8/8 对双正确。换值表 004 第二问的正确答案是 68。恢复全部 8 个头回答 76,只恢复这 4 个头回答 68,给正确首位数字的概率分别为 46.26% 和 48.59%。不过在其余 15 道换值题以及全部 16 道换键题上,只恢复这 4 个头时该概率都更低,平均差分别为 −8.86 和 −12.62 个百分点。这是 8 张诊断表的逐题对照,头组的泛化效果要由冻结选择后的独立评估确定。实验先计算整层原生分数再按头混合,运行成本仍包含整层额外计算。[第 0 组换值答卷](../results/lisa-score-paths/diagnostic-19-read-group-0-swap.json) · [第 0 组换键答卷](../results/lisa-score-paths/diagnostic-19-read-group-0-query.json)
|
||||
|
||||
预注册种子 120203 的随机对照抽到第 0 组。由于两组都会在相同留出表上评估,另补充报告“选中组相对均匀随机选组的期望差”。在这两个可选组中各以一半概率选一组,该期望差恰好是选中组与另一组配对差的一半。此项描述性分析在查看留出答卷前补充,保留原定随机抽样对照;区间按表重采样,仅反映测试表的不确定性。
|
||||
|
||||
同样恢复 4 个查询头时,第 1 组在换值诊断答对 14/16(6/8 对双正确),基线为 3/16(0/8 对)。两个错答都出现在换值后的第二题,均给出了其他键的值。第 0 组比第 1 组多答对 2 题,正确率差为 +12.5 个百分点,按 8 张诊断表配对重采样的 95% 区间为 0 至 +31.25 个百分点。第 1 组相对基线也多答对 11 题,说明在这些换值题上,两个头组各自恢复原生读取都有作用。[第 1 组换值答卷](../results/lisa-score-paths/diagnostic-19-read-group-1-swap.json)
|
||||
|
||||
两次换值失败对应不同的答案变化。表 000 中 birch 从 91 变为 88,第 1 组仍答 91,此时该值属于交换对象 willow。表 004 中 willow 从 72 变为 68,第 1 组先正确回答 72,交换后回答了未参与交换的 nettle 的值 76。按题对直接计数,原 LiSA 在 8 对中有 6 对交换前后输出同一个数,第 1 组降至 1 对,第 0 组为 0 对。模型答出某个键的值只定位了输出错误,单凭生成无法确定注意力落在哪个位置。
|
||||
|
||||
固定原表、只换查询键时,第 1 组答对 16/16,8/8 对双正确,正确首位数字的平均概率为 77.24%。两组在这个条件下的完整答案正确率持平。汇总两种题型,第 0 组的“双正确题对数、正确答案数”为 (16, 32),第 1 组为 (14, 30),依预定规则选中第 0 组。两种题型共用 8 道原题,以上分数仅用于执行选组规则。已从逐题答卷独立重算基线、两条路径、联合恢复和两个头组的全部选组分数,并核对随机种子与六个留出条件。[第 1 组换键答卷](../results/lisa-score-paths/diagnostic-19-read-group-1-query.json) · [冻结选组记录](../results/lisa-score-paths/selection.json)
|
||||
|
||||
@@ -0,0 +1,306 @@
|
||||
[
|
||||
{
|
||||
"id": "paths-dev-000-0-query",
|
||||
"task": "lookup",
|
||||
"gold": 91,
|
||||
"first_digit_probability": 0.9917978644371033,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
24,
|
||||
16,
|
||||
248046
|
||||
],
|
||||
"response": "91<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 91,
|
||||
"correct": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "paths-dev-000-1-query",
|
||||
"task": "lookup",
|
||||
"gold": 88,
|
||||
"first_digit_probability": 0.7538439631462097,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
23,
|
||||
23,
|
||||
248046
|
||||
],
|
||||
"response": "88<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 88,
|
||||
"correct": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "paths-dev-001-0-query",
|
||||
"task": "lookup",
|
||||
"gold": 34,
|
||||
"first_digit_probability": 0.5939354300498962,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
18,
|
||||
19,
|
||||
248046
|
||||
],
|
||||
"response": "34<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 34,
|
||||
"correct": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "paths-dev-001-1-query",
|
||||
"task": "lookup",
|
||||
"gold": 56,
|
||||
"first_digit_probability": 0.981105387210846,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
20,
|
||||
21,
|
||||
248046
|
||||
],
|
||||
"response": "56<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 56,
|
||||
"correct": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "paths-dev-002-0-query",
|
||||
"task": "lookup",
|
||||
"gold": 26,
|
||||
"first_digit_probability": 0.5785083770751953,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
17,
|
||||
21,
|
||||
248046
|
||||
],
|
||||
"response": "26<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 26,
|
||||
"correct": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "paths-dev-002-1-query",
|
||||
"task": "lookup",
|
||||
"gold": 98,
|
||||
"first_digit_probability": 0.9732735753059387,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
24,
|
||||
23,
|
||||
248046
|
||||
],
|
||||
"response": "98<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 98,
|
||||
"correct": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "paths-dev-003-0-query",
|
||||
"task": "lookup",
|
||||
"gold": 36,
|
||||
"first_digit_probability": 0.7527161240577698,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
18,
|
||||
21,
|
||||
248046
|
||||
],
|
||||
"response": "36<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 36,
|
||||
"correct": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "paths-dev-003-1-query",
|
||||
"task": "lookup",
|
||||
"gold": 32,
|
||||
"first_digit_probability": 0.6741360425949097,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
18,
|
||||
17,
|
||||
248046
|
||||
],
|
||||
"response": "32<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 32,
|
||||
"correct": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "paths-dev-004-0-query",
|
||||
"task": "lookup",
|
||||
"gold": 72,
|
||||
"first_digit_probability": 0.9656663537025452,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
22,
|
||||
17,
|
||||
248046
|
||||
],
|
||||
"response": "72<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 72,
|
||||
"correct": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "paths-dev-004-1-query",
|
||||
"task": "lookup",
|
||||
"gold": 68,
|
||||
"first_digit_probability": 0.7725234627723694,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
21,
|
||||
23,
|
||||
248046
|
||||
],
|
||||
"response": "68<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 68,
|
||||
"correct": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "paths-dev-005-0-query",
|
||||
"task": "lookup",
|
||||
"gold": 69,
|
||||
"first_digit_probability": 0.7495370507240295,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
21,
|
||||
24,
|
||||
248046
|
||||
],
|
||||
"response": "69<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 69,
|
||||
"correct": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "paths-dev-005-1-query",
|
||||
"task": "lookup",
|
||||
"gold": 50,
|
||||
"first_digit_probability": 0.6628369092941284,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
20,
|
||||
15,
|
||||
248046
|
||||
],
|
||||
"response": "50<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 50,
|
||||
"correct": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "paths-dev-006-0-query",
|
||||
"task": "lookup",
|
||||
"gold": 31,
|
||||
"first_digit_probability": 0.47390520572662354,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
18,
|
||||
16,
|
||||
248046
|
||||
],
|
||||
"response": "31<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 31,
|
||||
"correct": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "paths-dev-006-1-query",
|
||||
"task": "lookup",
|
||||
"gold": 52,
|
||||
"first_digit_probability": 0.8306166529655457,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
20,
|
||||
17,
|
||||
248046
|
||||
],
|
||||
"response": "52<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 52,
|
||||
"correct": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "paths-dev-007-0-query",
|
||||
"task": "lookup",
|
||||
"gold": 51,
|
||||
"first_digit_probability": 0.7263695001602173,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
20,
|
||||
16,
|
||||
248046
|
||||
],
|
||||
"response": "51<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 51,
|
||||
"correct": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "paths-dev-007-1-query",
|
||||
"task": "lookup",
|
||||
"gold": 40,
|
||||
"first_digit_probability": 0.8783457279205322,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
19,
|
||||
15,
|
||||
248046
|
||||
],
|
||||
"response": "40<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 40,
|
||||
"correct": true
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,306 @@
|
||||
[
|
||||
{
|
||||
"id": "paths-dev-000-0",
|
||||
"task": "lookup",
|
||||
"gold": 91,
|
||||
"first_digit_probability": 0.9917978644371033,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
24,
|
||||
16,
|
||||
248046
|
||||
],
|
||||
"response": "91<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 91,
|
||||
"correct": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "paths-dev-000-1",
|
||||
"task": "lookup",
|
||||
"gold": 88,
|
||||
"first_digit_probability": 0.38058584928512573,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
24,
|
||||
16,
|
||||
248046
|
||||
],
|
||||
"response": "91<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 91,
|
||||
"correct": false
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "paths-dev-001-0",
|
||||
"task": "lookup",
|
||||
"gold": 34,
|
||||
"first_digit_probability": 0.5939354300498962,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
18,
|
||||
19,
|
||||
248046
|
||||
],
|
||||
"response": "34<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 34,
|
||||
"correct": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "paths-dev-001-1",
|
||||
"task": "lookup",
|
||||
"gold": 56,
|
||||
"first_digit_probability": 0.8533833026885986,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
20,
|
||||
21,
|
||||
248046
|
||||
],
|
||||
"response": "56<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 56,
|
||||
"correct": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "paths-dev-002-0",
|
||||
"task": "lookup",
|
||||
"gold": 26,
|
||||
"first_digit_probability": 0.5785083770751953,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
17,
|
||||
21,
|
||||
248046
|
||||
],
|
||||
"response": "26<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 26,
|
||||
"correct": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "paths-dev-002-1",
|
||||
"task": "lookup",
|
||||
"gold": 98,
|
||||
"first_digit_probability": 0.9728763699531555,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
24,
|
||||
23,
|
||||
248046
|
||||
],
|
||||
"response": "98<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 98,
|
||||
"correct": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "paths-dev-003-0",
|
||||
"task": "lookup",
|
||||
"gold": 36,
|
||||
"first_digit_probability": 0.7527161240577698,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
18,
|
||||
21,
|
||||
248046
|
||||
],
|
||||
"response": "36<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 36,
|
||||
"correct": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "paths-dev-003-1",
|
||||
"task": "lookup",
|
||||
"gold": 32,
|
||||
"first_digit_probability": 0.818489670753479,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
18,
|
||||
17,
|
||||
248046
|
||||
],
|
||||
"response": "32<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 32,
|
||||
"correct": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "paths-dev-004-0",
|
||||
"task": "lookup",
|
||||
"gold": 72,
|
||||
"first_digit_probability": 0.9656663537025452,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
22,
|
||||
17,
|
||||
248046
|
||||
],
|
||||
"response": "72<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 72,
|
||||
"correct": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "paths-dev-004-1",
|
||||
"task": "lookup",
|
||||
"gold": 68,
|
||||
"first_digit_probability": 0.21177905797958374,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
22,
|
||||
21,
|
||||
248046
|
||||
],
|
||||
"response": "76<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 76,
|
||||
"correct": false
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "paths-dev-005-0",
|
||||
"task": "lookup",
|
||||
"gold": 69,
|
||||
"first_digit_probability": 0.7495370507240295,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
21,
|
||||
24,
|
||||
248046
|
||||
],
|
||||
"response": "69<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 69,
|
||||
"correct": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "paths-dev-005-1",
|
||||
"task": "lookup",
|
||||
"gold": 50,
|
||||
"first_digit_probability": 0.7983042597770691,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
20,
|
||||
15,
|
||||
248046
|
||||
],
|
||||
"response": "50<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 50,
|
||||
"correct": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "paths-dev-006-0",
|
||||
"task": "lookup",
|
||||
"gold": 31,
|
||||
"first_digit_probability": 0.47390520572662354,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
18,
|
||||
16,
|
||||
248046
|
||||
],
|
||||
"response": "31<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 31,
|
||||
"correct": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "paths-dev-006-1",
|
||||
"task": "lookup",
|
||||
"gold": 52,
|
||||
"first_digit_probability": 0.8228725790977478,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
20,
|
||||
17,
|
||||
248046
|
||||
],
|
||||
"response": "52<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 52,
|
||||
"correct": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "paths-dev-007-0",
|
||||
"task": "lookup",
|
||||
"gold": 51,
|
||||
"first_digit_probability": 0.7263695001602173,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
20,
|
||||
16,
|
||||
248046
|
||||
],
|
||||
"response": "51<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 51,
|
||||
"correct": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "paths-dev-007-1",
|
||||
"task": "lookup",
|
||||
"gold": 40,
|
||||
"first_digit_probability": 0.8573837876319885,
|
||||
"arms": {
|
||||
"read-group-1": {
|
||||
"tokens": [
|
||||
19,
|
||||
15,
|
||||
248046
|
||||
],
|
||||
"response": "40<|im_end|>",
|
||||
"stop": "eos",
|
||||
"answer": 40,
|
||||
"correct": true
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"ranking": {
|
||||
"baseline": [
|
||||
0,
|
||||
6
|
||||
],
|
||||
"read": [
|
||||
15,
|
||||
31
|
||||
],
|
||||
"send": [
|
||||
0,
|
||||
6
|
||||
],
|
||||
"both": [
|
||||
15,
|
||||
31
|
||||
]
|
||||
},
|
||||
"site": 19,
|
||||
"group_scores": {
|
||||
"read-group-0": [
|
||||
16,
|
||||
32
|
||||
],
|
||||
"read-group-1": [
|
||||
14,
|
||||
30
|
||||
]
|
||||
},
|
||||
"selected": "read-group-0",
|
||||
"random_group": "read-group-0",
|
||||
"holdout_modes": [
|
||||
"baseline",
|
||||
"read",
|
||||
"send",
|
||||
"both",
|
||||
"read-group-0",
|
||||
"read-group-1"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user