From c2aa23f32fb3d1b750ee2d65bf82ea237a924ca2 Mon Sep 17 00:00:00 2001 From: Codex Bot Date: Tue, 24 Nov 2026 01:16:08 +0800 Subject: [PATCH] Record LiSA task and CPU performance results --- docs/LISA_EFFECT_PROTOCOL.md | 19 +- docs/LISA_EFFECT_RESULTS.md | 31 + results/lisa-effect-reproduction/decode.json | 141 ++ .../lisa-effect-reproduction/performance.json | 28 + results/lisa-effect-reproduction/runtime.json | 29 + .../lisa-effect-reproduction/test-items.json | 1932 +++++++++++++++++ results/lisa-effect-reproduction/trace.json | 38 + .../train-protocol.json | 21 + 8 files changed, 2235 insertions(+), 4 deletions(-) create mode 100644 docs/LISA_EFFECT_RESULTS.md create mode 100644 results/lisa-effect-reproduction/decode.json create mode 100644 results/lisa-effect-reproduction/performance.json create mode 100644 results/lisa-effect-reproduction/test-items.json create mode 100644 results/lisa-effect-reproduction/trace.json create mode 100644 results/lisa-effect-reproduction/train-protocol.json diff --git a/docs/LISA_EFFECT_PROTOCOL.md b/docs/LISA_EFFECT_PROTOCOL.md index 70f4d30..8ad065c 100644 --- a/docs/LISA_EFFECT_PROTOCOL.md +++ b/docs/LISA_EFFECT_PROTOCOL.md @@ -12,10 +12,17 @@ At the same 22 layers, direct score sharing retained 46.76% and the direct sharing plus LoRA baseline retained 65.95%. The published main uptraining used 4.2 billion sampled RedPajama tokens on eight A800 GPUs. This experiment uses a frozen Qwen3.5-2B backbone, two recipient layers, 12 synthetic fit -prompts and a single CPU runner. The comparable effect is an improvement -over direct sharing under a fixed layer schedule. The magnitude on a -32-item lookup test and the timing of CPU attention should be interpreted -within those settings. [Mu et al., Table 2 and Appendix C.1](https://aclanthology.org/2026.tacl-1.30.pdf) +prompts and a single CPU runner. Each epoch of the trainable variants sees +1,874 next-token targets drawn from those same 12 prompts. The comparable +effect is an improvement over direct sharing under a fixed layer schedule. +The magnitude on a 32-item lookup test and the timing of CPU attention should +be interpreted within those settings. [Mu et al., Table 2 and Appendix C.1](https://aclanthology.org/2026.tacl-1.30.pdf) + +Qwen's text decoder has six full-attention layers and 18 linear-attention +layers. The chained configuration modifies two of the six full-attention +layers and two of the 24 decoder layers overall. Layer numbers are zero-based. +The source record in `results/lisa-effect-reproduction/runtime.json` pins +the original model revision, the checkpoint shard and its download-manifest hash. ## Task and layer screening @@ -140,6 +147,10 @@ four-choice correctness in the primary test and the full-vocabulary pass. Training scores *all* valid shifted tokens with exact full-vocabulary CE and uses the validation four-option answer loss to freeze checkpoints. The answer audit scores only the answer position over the whole vocabulary. +The answer is one token per prompt. In the fit set, it accounts for about +0.64% of the unweighted CE target mass and about 9.35% with the 16-fold answer +weight. The objective applies the same 0.75 coefficient to the resulting +mean CE in both trainable variants. It does not report whole-prompt CE for the held-out items or free-form multi-token answer accuracy. That distinction is important for interpreting the previous experiment, in which those two losses moved in opposite diff --git a/docs/LISA_EFFECT_RESULTS.md b/docs/LISA_EFFECT_RESULTS.md new file mode 100644 index 0000000..c2e2aad --- /dev/null +++ b/docs/LISA_EFFECT_RESULTS.md @@ -0,0 +1,31 @@ +# Qwen3.5-2B 双层 LiSA 复现实验 + +在固定的 32 道查找题上,原模型、直接共享、线性修正和两版 LiSA 都答对 32 道。原版 LiSA 降低了接收层 K/V 缓存,并在投影权重常驻内存时缩短了两个接收层的单步解码时间。按本次 CPU 权重流式读取方式测量,第 19 层单步解码更快,第 23 层略慢,双层共享的预填充更慢。全词表答案复核正在运行。 + +## 四选一任务表现 + +开发筛选中,原模型和单层直接共享各答对 8/8,双层直接共享答对 7/8。以此冻结 16 条目查找任务,测试使用独立题目。共享链为 15→19→23,层号从 0 起算。第 19、23 层占 6 个全注意力层的三分之一,占 24 个解码层的十二分之一。 + +| 方法 | 留出正确数 | 四选一答案 NLL ↓ | +| --- | ---: | ---: | +| 原模型 | 32/32 | 0.1341 | +| 双层直接共享 | 32/32 | 0.0728 | +| 双层线性修正 | 32/32 | 0.0720 | +| 双层 LiSA | 32/32 | 0.1846 | +| 双层 LiSA,答案损失加权 | 32/32 | 0.1260 | + +直接共享在留出集上丢失 0 道原模型答对的题,因此无法估计 LiSA 对这类错题的恢复率。答案加权把 LiSA 的四选一 NLL 降低了 0.0586,仍高于直接共享。三种训练方法各用 12 道拟合题跑两轮,并由另外 12 道验证题选择检查点。所选检查点都是第 2 轮。逐题 logits、训练轨迹及检查点哈希随结果归档。 + +## CPU 计时和缓存 + +| 测量范围 | 原模型 | LiSA | +| --- | ---: | ---: | +| 缓存前缀后的尾部预填充,157 tokens | 12.37 s | 16.31 s | +| 第 19 层单步,流式读取权重 | 136.15 ms | 96.32 ms | +| 第 23 层单步,流式读取权重 | 136.39 ms | 138.80 ms | +| 第 19 层单步,投影权重常驻 | 42.57 ms | 32.09 ms | +| 第 23 层单步,投影权重常驻 | 44.80 ms | 22.79 ms | + +每个接收层的 FP32 K/V 实际分配从 643,072 降到 371,776 字节,下降 42.2%。计入该层所用的 5,024 字节上游分数行后,单层合计下降 41.4%。V 缓存为 321,536 字节。解码计时的单位是单个接收层的一步,计时范围从接收现成分数行开始,至该层注意力输出结束。预填充用 3 次计时的中位数,单层解码每个配置用 9 步计时的中位数。 + +论文表 2 的 96.44% 衡量 LLaMA2-13B 在共享 22 层时多个基准上的平均性能保留率。这里每轮只有 1,874 个训练目标 token,测到的是单一查找任务的表现和 CPU 组件耗时。 [论文表 2、表 3 和附录 C.1](https://aclanthology.org/2026.tacl-1.30.pdf) diff --git a/results/lisa-effect-reproduction/decode.json b/results/lisa-effect-reproduction/decode.json new file mode 100644 index 0000000..5a5a8cf --- /dev/null +++ b/results/lisa-effect-reproduction/decode.json @@ -0,0 +1,141 @@ +{ + "scope": "isolated full-attention recipient, FP32, frozen true activations; excludes donor generation and full-model decode", + "sites": { + "19": { + "seconds_per_token": { + "native": [ + 0.13286287058144808, + 0.1361464262008667, + 0.12924433965235949, + 0.1288278056308627, + 0.13502545654773712, + 0.14447933342307806, + 0.21267611254006624, + 0.19696053490042686, + 0.17250606417655945 + ], + "lisa": [ + 0.0882081063464284, + 0.0963163236156106, + 0.0912644388154149, + 0.09147092420607805, + 0.09272865019738674, + 0.11763023491948843, + 0.09996491950005293, + 0.11747161205857992, + 0.11429349146783352 + ] + }, + "resident_seconds_per_token": { + "native": [ + 0.03415969293564558, + 0.030925235711038113, + 0.03575391788035631, + 0.04256666451692581, + 0.04327994678169489, + 0.0476421257480979, + 0.04229569900780916, + 0.04316695313900709, + 0.04567800182849169 + ], + "lisa": [ + 0.041921489872038364, + 0.04422656074166298, + 0.03127973526716232, + 0.03182042483240366, + 0.03665950056165457, + 0.03138743154704571, + 0.028396621346473694, + 0.037525477819144726, + 0.03209121432155371 + ] + }, + "resident_median_s_per_token": { + "native": 0.04256666451692581, + "lisa": 0.03209121432155371 + }, + "resident_matches_streamed": true, + "allocated_bytes": { + "native": { + "k": 321536, + "v": 321536 + }, + "lisa": { + "k": 50240, + "v": 321536 + } + }, + "lisa_input_score_row_bytes": 5024, + "sequence_length": 157 + }, + "23": { + "seconds_per_token": { + "native": [ + 0.1291032126173377, + 0.12674292363226414, + 0.1282597053796053, + 0.13638535235077143, + 0.1298640752211213, + 0.1457589939236641, + 0.20920543558895588, + 0.20562185905873775, + 0.19381640758365393 + ], + "lisa": [ + 0.14143545273691416, + 0.08705597650259733, + 0.08696427289396524, + 0.1120216203853488, + 0.1387955490499735, + 0.13695972133427858, + 0.14612034149467945, + 0.1524249343201518, + 0.1556852562353015 + ] + }, + "resident_seconds_per_token": { + "native": [ + 0.04479535948485136, + 0.04507693089544773, + 0.04067131970077753, + 0.04552943166345358, + 0.05950945522636175, + 0.05104204546660185, + 0.03087245672941208, + 0.03152573574334383, + 0.03583979792892933 + ], + "lisa": [ + 0.022208196111023426, + 0.021793252788484097, + 0.03165019955486059, + 0.025800297036767006, + 0.022528269328176975, + 0.022276684641838074, + 0.02320440299808979, + 0.0227946899831295, + 0.024175109341740608 + ] + }, + "resident_median_s_per_token": { + "native": 0.04479535948485136, + "lisa": 0.0227946899831295 + }, + "resident_matches_streamed": true, + "allocated_bytes": { + "native": { + "k": 321536, + "v": 321536 + }, + "lisa": { + "k": 50240, + "v": 321536 + } + }, + "lisa_input_score_row_bytes": 5024, + "sequence_length": 157 + } + }, + "streamed_timings_include_weight_reads": true, + "resident_timings_exclude_projection_load": true +} diff --git a/results/lisa-effect-reproduction/performance.json b/results/lisa-effect-reproduction/performance.json new file mode 100644 index 0000000..8463a54 --- /dev/null +++ b/results/lisa-effect-reproduction/performance.json @@ -0,0 +1,28 @@ +{ + "scope": "cached-prefix last layers, prefill", + "seconds": { + "native": [ + 11.3411781527102, + 12.700857263058424, + 12.369724708609283 + ], + "direct": [ + 11.017615622840822, + 10.737364768981934, + 11.625513913109899 + ], + "lisa": [ + 15.469715679064393, + 16.857490073889494, + 16.311319678090513 + ] + }, + "real_tokens": 157, + "cache_estimate": { + "scope": "formula for one sequence, BF16 keys and score buffers", + "native_recipient_key_bytes": 321536, + "lisa_recipient_key_bytes": 50240, + "one_shared_decode_score_row_bytes": 2512, + "one_full_prefill_score_matrix_bytes": 394384 + } +} diff --git a/results/lisa-effect-reproduction/runtime.json b/results/lisa-effect-reproduction/runtime.json index e459142..b07d71d 100644 --- a/results/lisa-effect-reproduction/runtime.json +++ b/results/lisa-effect-reproduction/runtime.json @@ -7,6 +7,35 @@ "numpy": "2.5.4", "torch": "2.15.0+cpu", "tokenizers": "0.23.3", + "model_source": { + "repository": "Qwen/Qwen3.5-2B", + "revision": "15852e8c16360a2fea060d615a32b45270f8a8fc", + "manifest_sha256": "28efbaf94a5034333339a35f08ead151459a7d20c6c2d2f07a451e7f3bf154de", + "weight_shard": { + "name": "model.safetensors-00001-of-00001.safetensors", + "bytes": 4548221488, + "sha256_in_download_manifest": "aa33250c4fc64891ddfaba3a314fd9542ea371843c387178b425fbcc5ed680b1" + }, + "decoder_layers": 24, + "linear_attention_layers": 18, + "full_attention_layers_zero_based": [3, 7, 11, 15, 19, 23], + "query_heads": 8, + "key_value_heads": 2, + "native_head_dimension": 256, + "hidden_size": 2048, + "vocabulary_size": 248320 + }, + "capture_sizes": { + "fit": {"prompts": 12, "input_tokens": 1886, "shifted_target_tokens": 1874, "min_input_tokens": 155, "median_input_tokens": 157.5, "max_input_tokens": 158}, + "validation": {"prompts": 12, "input_tokens": 1882, "shifted_target_tokens": 1870, "min_input_tokens": 154, "median_input_tokens": 157.0, "max_input_tokens": 160}, + "test": {"prompts": 32, "input_tokens": 5017, "shifted_target_tokens": 4985, "min_input_tokens": 153, "median_input_tokens": 157.0, "max_input_tokens": 159} + }, + "validation_selected_checkpoints": { + "trace_sha256": "b432fba669d45c09634e96498a15f9d93f971d1ee2b67a826d6f8bc979525866", + "linear.pt": {"epoch": 2, "sha256": "cf204dc784a925de69faa8bed0789ef42877204edb9537d914486d39518fe8ce"}, + "lisa.pt": {"epoch": 2, "sha256": "358272c5eb90cea9e3ed006b2c75a4bcd7f5db4f857982e078dd7f71c6c46c5b"}, + "lisa_answer_weighted.pt": {"epoch": 2, "sha256": "2b384d5618c190b29bdbb1bc0151c1eb64e1699e209a50ed8171a2d"} + }, "main_code_sha256": { "lisa_effect.py": "8a3ecad71f23e3e8b8faf4a7c21c0c93f00fd0bffe14bdee6117921b548dce8a", "lisa_tail.py": "4bd2c3c8690a8ae30cc1a9573ec17b7bbe25edf43a33507482719dc03cfeb9af", diff --git a/results/lisa-effect-reproduction/test-items.json b/results/lisa-effect-reproduction/test-items.json new file mode 100644 index 0000000..43e864e --- /dev/null +++ b/results/lisa-effect-reproduction/test-items.json @@ -0,0 +1,1932 @@ +{ + "native": [ + { + "id": "test-lookup16-000", + "gold": 0, + "logits": [ + 20.85590362548828, + 17.182701110839844, + 15.405997276306152, + 16.56983184814453 + ], + "pred": 0, + "answer_nll": 0.04253387451171875 + }, + { + "id": "test-lookup16-001", + "gold": 3, + "logits": [ + 16.71235466003418, + 16.39767074584961, + 16.63048553466797, + 19.901031494140625 + ], + "pred": 3, + "answer_nll": 0.10373687744140625 + }, + { + "id": "test-lookup16-002", + "gold": 0, + "logits": [ + 20.092655181884766, + 17.498620986938477, + 15.969141960144043, + 17.709365844726562 + ], + "pred": 0, + "answer_nll": 0.168182373046875 + }, + { + "id": "test-lookup16-003", + "gold": 1, + "logits": [ + 18.19259262084961, + 20.460416793823242, + 15.979042053222656, + 16.065513610839844 + ], + "pred": 1, + "answer_nll": 0.11973190307617188 + }, + { + "id": "test-lookup16-004", + "gold": 1, + "logits": [ + 18.19254493713379, + 20.924468994140625, + 16.695392608642578, + 18.369831085205078 + ], + "pred": 1, + "answer_nll": 0.14615821838378906 + }, + { + "id": "test-lookup16-005", + "gold": 1, + "logits": [ + 17.819522857666016, + 20.409072875976562, + 17.45224380493164, + 16.268949508666992 + ], + "pred": 1, + "answer_nll": 0.1336193084716797 + }, + { + "id": "test-lookup16-006", + "gold": 0, + "logits": [ + 20.719379425048828, + 16.701087951660156, + 15.611319541931152, + 17.011600494384766 + ], + "pred": 0, + "answer_nll": 0.047420501708984375 + }, + { + "id": "test-lookup16-007", + "gold": 2, + "logits": [ + 17.0794677734375, + 16.867019653320312, + 20.172761917114258, + 16.6821231842041 + ], + "pred": 2, + "answer_nll": 0.10661506652832031 + }, + { + "id": "test-lookup16-008", + "gold": 3, + "logits": [ + 17.34001922607422, + 16.78146743774414, + 17.975500106811523, + 20.643951416015625 + ], + "pred": 3, + "answer_nll": 0.119659423828125 + }, + { + "id": "test-lookup16-009", + "gold": 0, + "logits": [ + 21.178791046142578, + 18.079408645629883, + 16.946470260620117, + 18.40373992919922 + ], + "pred": 0, + "answer_nll": 0.11506080627441406 + }, + { + "id": "test-lookup16-010", + "gold": 1, + "logits": [ + 17.847366333007812, + 20.291475296020508, + 17.038164138793945, + 16.603261947631836 + ], + "pred": 1, + "answer_nll": 0.140167236328125 + }, + { + "id": "test-lookup16-011", + "gold": 0, + "logits": [ + 21.102188110351562, + 18.751220703125, + 16.86586570739746, + 16.875581741333008 + ], + "pred": 0, + "answer_nll": 0.11719512939453125 + }, + { + "id": "test-lookup16-012", + "gold": 3, + "logits": [ + 17.15856170654297, + 16.803720474243164, + 16.676246643066406, + 20.17314338684082 + ], + "pred": 3, + "answer_nll": 0.10774803161621094 + }, + { + "id": "test-lookup16-013", + "gold": 0, + "logits": [ + 20.968936920166016, + 17.956104278564453, + 16.823535919189453, + 18.676280975341797 + ], + "pred": 0, + "answer_nll": 0.15356826782226562 + }, + { + "id": "test-lookup16-014", + "gold": 0, + "logits": [ + 21.061098098754883, + 17.67755126953125, + 17.25188446044922, + 17.832218170166016 + ], + "pred": 0, + "answer_nll": 0.09138870239257812 + }, + { + "id": "test-lookup16-015", + "gold": 1, + "logits": [ + 18.43671417236328, + 21.12980079650879, + 16.933246612548828, + 16.55162811279297 + ], + "pred": 1, + "answer_nll": 0.08891868591308594 + }, + { + "id": "test-lookup16-016", + "gold": 3, + "logits": [ + 17.535999298095703, + 17.16307258605957, + 17.97173500061035, + 20.522735595703125 + ], + "pred": 3, + "answer_nll": 0.15117645263671875 + }, + { + "id": "test-lookup16-017", + "gold": 3, + "logits": [ + 17.704940795898438, + 17.205245971679688, + 16.638643264770508, + 19.97443962097168 + ], + "pred": 3, + "answer_nll": 0.18370628356933594 + }, + { + "id": "test-lookup16-018", + "gold": 1, + "logits": [ + 18.743724822998047, + 21.02330780029297, + 17.126293182373047, + 17.16258430480957 + ], + "pred": 1, + "answer_nll": 0.13425254821777344 + }, + { + "id": "test-lookup16-019", + "gold": 2, + "logits": [ + 17.654508590698242, + 17.452632904052734, + 20.551685333251953, + 16.962116241455078 + ], + "pred": 2, + "answer_nll": 0.12034034729003906 + }, + { + "id": "test-lookup16-020", + "gold": 1, + "logits": [ + 18.674922943115234, + 20.26547622680664, + 17.111343383789062, + 16.82799530029297 + ], + "pred": 1, + "answer_nll": 0.24579238891601562 + }, + { + "id": "test-lookup16-021", + "gold": 2, + "logits": [ + 17.741802215576172, + 17.225322723388672, + 20.360462188720703, + 17.311702728271484 + ], + "pred": 2, + "answer_nll": 0.1517009735107422 + }, + { + "id": "test-lookup16-022", + "gold": 3, + "logits": [ + 17.583019256591797, + 16.546951293945312, + 17.961929321289062, + 20.2408504486084 + ], + "pred": 3, + "answer_nll": 0.18012619018554688 + }, + { + "id": "test-lookup16-023", + "gold": 2, + "logits": [ + 17.424779891967773, + 17.140159606933594, + 20.513261795043945, + 16.285972595214844 + ], + "pred": 2, + "answer_nll": 0.09024810791015625 + }, + { + "id": "test-lookup16-024", + "gold": 3, + "logits": [ + 17.562179565429688, + 16.624563217163086, + 16.99336814880371, + 20.001056671142578 + ], + "pred": 3, + "answer_nll": 0.15771484375 + }, + { + "id": "test-lookup16-025", + "gold": 1, + "logits": [ + 19.013219833374023, + 20.628419876098633, + 16.340301513671875, + 15.84334945678711 + ], + "pred": 1, + "answer_nll": 0.1996173858642578 + }, + { + "id": "test-lookup16-026", + "gold": 2, + "logits": [ + 17.605148315429688, + 17.381399154663086, + 19.99165153503418, + 17.225971221923828 + ], + "pred": 2, + "answer_nll": 0.20571327209472656 + }, + { + "id": "test-lookup16-027", + "gold": 2, + "logits": [ + 17.09252166748047, + 16.869815826416016, + 19.97600555419922, + 16.07839584350586 + ], + "pred": 2, + "answer_nll": 0.11422157287597656 + }, + { + "id": "test-lookup16-028", + "gold": 2, + "logits": [ + 17.679317474365234, + 16.862308502197266, + 20.042417526245117, + 16.65038299560547 + ], + "pred": 2, + "answer_nll": 0.1564464569091797 + }, + { + "id": "test-lookup16-029", + "gold": 3, + "logits": [ + 17.080469131469727, + 16.263690948486328, + 17.81536102294922, + 20.025781631469727 + ], + "pred": 3, + "answer_nll": 0.17014312744140625 + }, + { + "id": "test-lookup16-030", + "gold": 0, + "logits": [ + 20.95917510986328, + 17.862529754638672, + 16.560611724853516, + 17.46575164794922 + ], + "pred": 0, + "answer_nll": 0.08424186706542969 + }, + { + "id": "test-lookup16-031", + "gold": 2, + "logits": [ + 18.012731552124023, + 16.561927795410156, + 20.195032119750977, + 16.112499237060547 + ], + "pred": 2, + "answer_nll": 0.1450347900390625 + } + ], + "direct": [ + { + "id": "test-lookup16-000", + "gold": 0, + "logits": [ + 20.705219268798828, + 17.267292022705078, + 15.242891311645508, + 15.892521858215332 + ], + "pred": 0, + "answer_nll": 0.04353904724121094 + }, + { + "id": "test-lookup16-001", + "gold": 3, + "logits": [ + 15.36229419708252, + 15.271305084228516, + 15.334710121154785, + 19.6867618560791 + ], + "pred": 3, + "answer_nll": 0.03749847412109375 + }, + { + "id": "test-lookup16-002", + "gold": 0, + "logits": [ + 19.671100616455078, + 17.571245193481445, + 15.751747131347656, + 17.015933990478516 + ], + "pred": 0, + "answer_nll": 0.192779541015625 + }, + { + "id": "test-lookup16-003", + "gold": 1, + "logits": [ + 17.178115844726562, + 20.500694274902344, + 15.529312133789062, + 14.840266227722168 + ], + "pred": 1, + "answer_nll": 0.04542732238769531 + }, + { + "id": "test-lookup16-004", + "gold": 1, + "logits": [ + 17.16912841796875, + 20.932100296020508, + 15.759957313537598, + 16.415515899658203 + ], + "pred": 1, + "answer_nll": 0.03904151916503906 + }, + { + "id": "test-lookup16-005", + "gold": 1, + "logits": [ + 16.946626663208008, + 20.062686920166016, + 16.527233123779297, + 15.397865295410156 + ], + "pred": 1, + "answer_nll": 0.07964134216308594 + }, + { + "id": "test-lookup16-006", + "gold": 0, + "logits": [ + 20.07964324951172, + 16.427297592163086, + 15.712325096130371, + 16.411008834838867 + ], + "pred": 0, + "answer_nll": 0.06215476989746094 + }, + { + "id": "test-lookup16-007", + "gold": 2, + "logits": [ + 15.306232452392578, + 15.356870651245117, + 19.725595474243164, + 15.29250717163086 + ], + "pred": 2, + "answer_nll": 0.0359344482421875 + }, + { + "id": "test-lookup16-008", + "gold": 3, + "logits": [ + 15.837872505187988, + 15.134496688842773, + 16.550796508789062, + 20.279632568359375 + ], + "pred": 3, + "answer_nll": 0.04078102111816406 + }, + { + "id": "test-lookup16-009", + "gold": 0, + "logits": [ + 21.142356872558594, + 18.036365509033203, + 17.400279998779297, + 17.60244369506836 + ], + "pred": 0, + "answer_nll": 0.09303474426269531 + }, + { + "id": "test-lookup16-010", + "gold": 1, + "logits": [ + 16.95785903930664, + 20.111740112304688, + 16.392375946044922, + 15.836536407470703 + ], + "pred": 1, + "answer_nll": 0.0777435302734375 + }, + { + "id": "test-lookup16-011", + "gold": 0, + "logits": [ + 20.403419494628906, + 18.50678253173828, + 17.424747467041016, + 16.214834213256836 + ], + "pred": 0, + "answer_nll": 0.1956501007080078 + }, + { + "id": "test-lookup16-012", + "gold": 3, + "logits": [ + 16.080984115600586, + 15.748584747314453, + 15.034163475036621, + 19.727663040161133 + ], + "pred": 3, + "answer_nll": 0.05253028869628906 + }, + { + "id": "test-lookup16-013", + "gold": 0, + "logits": [ + 20.43213653564453, + 17.821496963500977, + 16.465965270996094, + 18.407695770263672 + ], + "pred": 0, + "answer_nll": 0.20253372192382812 + }, + { + "id": "test-lookup16-014", + "gold": 0, + "logits": [ + 20.72513198852539, + 17.450183868408203, + 16.73740005493164, + 17.69377899169922 + ], + "pred": 0, + "answer_nll": 0.09949302673339844 + }, + { + "id": "test-lookup16-015", + "gold": 1, + "logits": [ + 17.535215377807617, + 21.245311737060547, + 15.612133026123047, + 15.40495777130127 + ], + "pred": 1, + "answer_nll": 0.030490875244140625 + }, + { + "id": "test-lookup16-016", + "gold": 3, + "logits": [ + 15.992125511169434, + 15.782687187194824, + 17.17706298828125, + 20.359180450439453 + ], + "pred": 3, + "answer_nll": 0.0624847412109375 + }, + { + "id": "test-lookup16-017", + "gold": 3, + "logits": [ + 16.19760513305664, + 16.358436584472656, + 15.497957229614258, + 19.31939697265625 + ], + "pred": 3, + "answer_nll": 0.1113128662109375 + }, + { + "id": "test-lookup16-018", + "gold": 1, + "logits": [ + 17.293609619140625, + 20.595457077026367, + 14.670961380004883, + 14.199273109436035 + ], + "pred": 1, + "answer_nll": 0.04033088684082031 + }, + { + "id": "test-lookup16-019", + "gold": 2, + "logits": [ + 15.734247207641602, + 15.453847885131836, + 20.570484161376953, + 15.290510177612305 + ], + "pred": 2, + "answer_nll": 0.018846511840820312 + }, + { + "id": "test-lookup16-020", + "gold": 1, + "logits": [ + 17.764366149902344, + 19.95705795288086, + 15.956869125366211, + 15.494156837463379 + ], + "pred": 1, + "answer_nll": 0.13230514526367188 + }, + { + "id": "test-lookup16-021", + "gold": 2, + "logits": [ + 16.38452911376953, + 16.361656188964844, + 20.186168670654297, + 15.638021469116211 + ], + "pred": 2, + "answer_nll": 0.05330467224121094 + }, + { + "id": "test-lookup16-022", + "gold": 3, + "logits": [ + 15.813419342041016, + 15.580093383789062, + 16.336551666259766, + 19.467567443847656 + ], + "pred": 3, + "answer_nll": 0.0862274169921875 + }, + { + "id": "test-lookup16-023", + "gold": 2, + "logits": [ + 15.529457092285156, + 15.852638244628906, + 20.357547760009766, + 15.526824951171875 + ], + "pred": 2, + "answer_nll": 0.026678085327148438 + }, + { + "id": "test-lookup16-024", + "gold": 3, + "logits": [ + 15.914365768432617, + 15.774055480957031, + 15.853182792663574, + 19.586181640625 + ], + "pred": 3, + "answer_nll": 0.0690155029296875 + }, + { + "id": "test-lookup16-025", + "gold": 1, + "logits": [ + 17.838912963867188, + 20.985240936279297, + 15.659231185913086, + 15.130619049072266 + ], + "pred": 1, + "answer_nll": 0.04949378967285156 + }, + { + "id": "test-lookup16-026", + "gold": 2, + "logits": [ + 15.137718200683594, + 16.399246215820312, + 19.62148666381836, + 15.176868438720703 + ], + "pred": 2, + "answer_nll": 0.06099891662597656 + }, + { + "id": "test-lookup16-027", + "gold": 2, + "logits": [ + 15.731764793395996, + 15.832451820373535, + 19.631465911865234, + 15.122723579406738 + ], + "pred": 2, + "answer_nll": 0.05226325988769531 + }, + { + "id": "test-lookup16-028", + "gold": 2, + "logits": [ + 16.041873931884766, + 15.58057975769043, + 19.849225997924805, + 15.321564674377441 + ], + "pred": 2, + "answer_nll": 0.04594230651855469 + }, + { + "id": "test-lookup16-029", + "gold": 3, + "logits": [ + 15.244507789611816, + 15.027724266052246, + 15.831774711608887, + 19.21141815185547 + ], + "pred": 3, + "answer_nll": 0.06600570678710938 + }, + { + "id": "test-lookup16-030", + "gold": 0, + "logits": [ + 20.533977508544922, + 17.629533767700195, + 16.055776596069336, + 17.228370666503906 + ], + "pred": 0, + "answer_nll": 0.09786224365234375 + }, + { + "id": "test-lookup16-031", + "gold": 2, + "logits": [ + 15.729635238647461, + 15.51233959197998, + 20.183422088623047, + 15.370007514953613 + ], + "pred": 2, + "answer_nll": 0.028699874877929688 + } + ], + "linear": [ + { + "id": "test-lookup16-000", + "gold": 0, + "logits": [ + 20.734222412109375, + 17.27823257446289, + 15.281730651855469, + 15.934748649597168 + ], + "pred": 0, + "answer_nll": 0.043132781982421875 + }, + { + "id": "test-lookup16-001", + "gold": 3, + "logits": [ + 15.38165283203125, + 15.27231216430664, + 15.335987091064453, + 19.728811264038086 + ], + "pred": 3, + "answer_nll": 0.03624725341796875 + }, + { + "id": "test-lookup16-002", + "gold": 0, + "logits": [ + 19.671512603759766, + 17.568674087524414, + 15.78011417388916, + 17.036643981933594 + ], + "pred": 0, + "answer_nll": 0.19412994384765625 + }, + { + "id": "test-lookup16-003", + "gold": 1, + "logits": [ + 17.171268463134766, + 20.511455535888672, + 15.531414031982422, + 14.887357711791992 + ], + "pred": 1, + "answer_nll": 0.044891357421875 + }, + { + "id": "test-lookup16-004", + "gold": 1, + "logits": [ + 17.16248321533203, + 20.922515869140625, + 15.751140594482422, + 16.41477394104004 + ], + "pred": 1, + "answer_nll": 0.039203643798828125 + }, + { + "id": "test-lookup16-005", + "gold": 1, + "logits": [ + 16.97015380859375, + 20.078655242919922, + 16.533241271972656, + 15.431614875793457 + ], + "pred": 1, + "answer_nll": 0.07983970642089844 + }, + { + "id": "test-lookup16-006", + "gold": 0, + "logits": [ + 20.053985595703125, + 16.35597801208496, + 15.726594924926758, + 16.41789436340332 + ], + "pred": 0, + "answer_nll": 0.06234550476074219 + }, + { + "id": "test-lookup16-007", + "gold": 2, + "logits": [ + 15.308743476867676, + 15.324698448181152, + 19.736860275268555, + 15.257304191589355 + ], + "pred": 2, + "answer_nll": 0.03479194641113281 + }, + { + "id": "test-lookup16-008", + "gold": 3, + "logits": [ + 15.862666130065918, + 15.133445739746094, + 16.547945022583008, + 20.332399368286133 + ], + "pred": 3, + "answer_nll": 0.03892707824707031 + }, + { + "id": "test-lookup16-009", + "gold": 0, + "logits": [ + 21.145885467529297, + 18.00601577758789, + 17.418115615844727, + 17.628250122070312 + ], + "pred": 0, + "answer_nll": 0.09258270263671875 + }, + { + "id": "test-lookup16-010", + "gold": 1, + "logits": [ + 16.977426528930664, + 20.115814208984375, + 16.399511337280273, + 15.87421703338623 + ], + "pred": 1, + "answer_nll": 0.07886695861816406 + }, + { + "id": "test-lookup16-011", + "gold": 0, + "logits": [ + 20.42746925354004, + 18.514266967773438, + 17.465499877929688, + 16.284099578857422 + ], + "pred": 0, + "answer_nll": 0.1949024200439453 + }, + { + "id": "test-lookup16-012", + "gold": 3, + "logits": [ + 16.090831756591797, + 15.739912986755371, + 15.023618698120117, + 19.759035110473633 + ], + "pred": 3, + "answer_nll": 0.0509490966796875 + }, + { + "id": "test-lookup16-013", + "gold": 0, + "logits": [ + 20.454010009765625, + 17.82088279724121, + 16.49856948852539, + 18.459627151489258 + ], + "pred": 0, + "answer_nll": 0.20465469360351562 + }, + { + "id": "test-lookup16-014", + "gold": 0, + "logits": [ + 20.744304656982422, + 17.4469051361084, + 16.78378677368164, + 17.721250534057617 + ], + "pred": 0, + "answer_nll": 0.09955978393554688 + }, + { + "id": "test-lookup16-015", + "gold": 1, + "logits": [ + 17.539121627807617, + 21.236812591552734, + 15.622926712036133, + 15.462634086608887 + ], + "pred": 1, + "answer_nll": 0.031047821044921875 + }, + { + "id": "test-lookup16-016", + "gold": 3, + "logits": [ + 15.998991012573242, + 15.767592430114746, + 17.174209594726562, + 20.384096145629883 + ], + "pred": 3, + "answer_nll": 0.060821533203125 + }, + { + "id": "test-lookup16-017", + "gold": 3, + "logits": [ + 16.21446990966797, + 16.374713897705078, + 15.511122703552246, + 19.350505828857422 + ], + "pred": 3, + "answer_nll": 0.10972213745117188 + }, + { + "id": "test-lookup16-018", + "gold": 1, + "logits": [ + 17.280061721801758, + 20.596542358398438, + 14.671009063720703, + 14.20742416381836 + ], + "pred": 1, + "answer_nll": 0.03982734680175781 + }, + { + "id": "test-lookup16-019", + "gold": 2, + "logits": [ + 15.722611427307129, + 15.396200180053711, + 20.588932037353516, + 15.271456718444824 + ], + "pred": 2, + "answer_nll": 0.017999649047851562 + }, + { + "id": "test-lookup16-020", + "gold": 1, + "logits": [ + 17.80206871032715, + 20.00745391845703, + 15.990407943725586, + 15.54370403289795 + ], + "pred": 1, + "answer_nll": 0.13079452514648438 + }, + { + "id": "test-lookup16-021", + "gold": 2, + "logits": [ + 16.387752532958984, + 16.350372314453125, + 20.213966369628906, + 15.649048805236816 + ], + "pred": 2, + "answer_nll": 0.05182838439941406 + }, + { + "id": "test-lookup16-022", + "gold": 3, + "logits": [ + 15.796292304992676, + 15.564138412475586, + 16.34097671508789, + 19.49036407470703 + ], + "pred": 3, + "answer_nll": 0.08385086059570312 + }, + { + "id": "test-lookup16-023", + "gold": 2, + "logits": [ + 15.54217529296875, + 15.822200775146484, + 20.371597290039062, + 15.498486518859863 + ], + "pred": 2, + "answer_nll": 0.025876998901367188 + }, + { + "id": "test-lookup16-024", + "gold": 3, + "logits": [ + 15.924036026000977, + 15.779983520507812, + 15.868743896484375, + 19.63011360168457 + ], + "pred": 3, + "answer_nll": 0.06682014465332031 + }, + { + "id": "test-lookup16-025", + "gold": 1, + "logits": [ + 17.824155807495117, + 20.985830307006836, + 15.644603729248047, + 15.13800048828125 + ], + "pred": 1, + "answer_nll": 0.04881858825683594 + }, + { + "id": "test-lookup16-026", + "gold": 2, + "logits": [ + 15.134109497070312, + 16.354352951049805, + 19.626972198486328, + 15.14501667022705 + ], + "pred": 2, + "answer_nll": 0.05865287780761719 + }, + { + "id": "test-lookup16-027", + "gold": 2, + "logits": [ + 15.753355979919434, + 15.833460807800293, + 19.679513931274414, + 15.186768531799316 + ], + "pred": 2, + "answer_nll": 0.050952911376953125 + }, + { + "id": "test-lookup16-028", + "gold": 2, + "logits": [ + 16.064292907714844, + 15.575334548950195, + 19.879398345947266, + 15.318888664245605 + ], + "pred": 2, + "answer_nll": 0.044979095458984375 + }, + { + "id": "test-lookup16-029", + "gold": 3, + "logits": [ + 15.274552345275879, + 15.023715019226074, + 15.81680679321289, + 19.2641544342041 + ], + "pred": 3, + "answer_nll": 0.0627288818359375 + }, + { + "id": "test-lookup16-030", + "gold": 0, + "logits": [ + 20.53911590576172, + 17.615474700927734, + 16.09842872619629, + 17.269329071044922 + ], + "pred": 0, + "answer_nll": 0.09852409362792969 + }, + { + "id": "test-lookup16-031", + "gold": 2, + "logits": [ + 15.725439071655273, + 15.48648452758789, + 20.21923065185547, + 15.35004997253418 + ], + "pred": 2, + "answer_nll": 0.027284622192382812 + } + ], + "lisa": [ + { + "id": "test-lookup16-000", + "gold": 0, + "logits": [ + 20.490337371826172, + 17.654937744140625, + 16.538249969482422, + 16.651599884033203 + ], + "pred": 0, + "answer_nll": 0.09479141235351562 + }, + { + "id": "test-lookup16-001", + "gold": 3, + "logits": [ + 16.522504806518555, + 16.650516510009766, + 17.174114227294922, + 19.548336029052734 + ], + "pred": 3, + "answer_nll": 0.17960739135742188 + }, + { + "id": "test-lookup16-002", + "gold": 0, + "logits": [ + 19.685928344726562, + 17.94719696044922, + 17.28326416015625, + 17.743146896362305 + ], + "pred": 0, + "answer_nll": 0.34325218200683594 + }, + { + "id": "test-lookup16-003", + "gold": 1, + "logits": [ + 17.90443992614746, + 20.28855323791504, + 16.62894058227539, + 16.31715202331543 + ], + "pred": 1, + "answer_nll": 0.12818145751953125 + }, + { + "id": "test-lookup16-004", + "gold": 1, + "logits": [ + 18.154644012451172, + 20.796424865722656, + 17.42681121826172, + 17.98230743408203 + ], + "pred": 1, + "answer_nll": 0.15323257446289062 + }, + { + "id": "test-lookup16-005", + "gold": 1, + "logits": [ + 17.829914093017578, + 19.918691635131836, + 17.973928451538086, + 16.938316345214844 + ], + "pred": 1, + "answer_nll": 0.2758369445800781 + }, + { + "id": "test-lookup16-006", + "gold": 0, + "logits": [ + 20.206844329833984, + 17.443689346313477, + 17.444454193115234, + 17.800764083862305 + ], + "pred": 0, + "answer_nll": 0.19589614868164062 + }, + { + "id": "test-lookup16-007", + "gold": 2, + "logits": [ + 16.541717529296875, + 16.656465530395508, + 20.024507522583008, + 16.894441604614258 + ], + "pred": 2, + "answer_nll": 0.103363037109375 + }, + { + "id": "test-lookup16-008", + "gold": 3, + "logits": [ + 17.047019958496094, + 16.653728485107422, + 17.4296875, + 20.174789428710938 + ], + "pred": 3, + "answer_nll": 0.12894248962402344 + }, + { + "id": "test-lookup16-009", + "gold": 0, + "logits": [ + 20.979900360107422, + 18.398611068725586, + 17.975994110107422, + 17.96030044555664 + ], + "pred": 0, + "answer_nll": 0.1604938507080078 + }, + { + "id": "test-lookup16-010", + "gold": 1, + "logits": [ + 17.825695037841797, + 19.60110855102539, + 17.446510314941406, + 16.778614044189453 + ], + "pred": 1, + "answer_nll": 0.2962608337402344 + }, + { + "id": "test-lookup16-011", + "gold": 0, + "logits": [ + 20.514293670654297, + 18.81818389892578, + 18.097806930541992, + 17.28689956665039 + ], + "pred": 0, + "answer_nll": 0.2717742919921875 + }, + { + "id": "test-lookup16-012", + "gold": 3, + "logits": [ + 16.780887603759766, + 16.640655517578125, + 16.773744583129883, + 19.776287078857422 + ], + "pred": 3, + "answer_nll": 0.1337871551513672 + }, + { + "id": "test-lookup16-013", + "gold": 0, + "logits": [ + 20.464096069335938, + 18.334558486938477, + 17.793392181396484, + 18.577505111694336 + ], + "pred": 0, + "answer_nll": 0.2924327850341797 + }, + { + "id": "test-lookup16-014", + "gold": 0, + "logits": [ + 20.577285766601562, + 17.71739387512207, + 17.893171310424805, + 18.02859115600586 + ], + "pred": 0, + "answer_nll": 0.18543434143066406 + }, + { + "id": "test-lookup16-015", + "gold": 1, + "logits": [ + 18.47882843017578, + 21.03084945678711, + 17.141637802124023, + 16.882877349853516 + ], + "pred": 1, + "answer_nll": 0.10811996459960938 + }, + { + "id": "test-lookup16-016", + "gold": 3, + "logits": [ + 16.89795684814453, + 16.774860382080078, + 18.19284439086914, + 19.79840850830078 + ], + "pred": 3, + "answer_nll": 0.2657451629638672 + }, + { + "id": "test-lookup16-017", + "gold": 3, + "logits": [ + 17.200220108032227, + 17.03335952758789, + 17.39498519897461, + 19.772201538085938 + ], + "pred": 3, + "answer_nll": 0.2101287841796875 + }, + { + "id": "test-lookup16-018", + "gold": 1, + "logits": [ + 18.3189697265625, + 20.713918685913086, + 17.27461051940918, + 16.837020874023438 + ], + "pred": 1, + "answer_nll": 0.13451194763183594 + }, + { + "id": "test-lookup16-019", + "gold": 2, + "logits": [ + 17.165782928466797, + 17.35761070251465, + 20.6196346282959, + 17.078256607055664 + ], + "pred": 2, + "answer_nll": 0.09431648254394531 + }, + { + "id": "test-lookup16-020", + "gold": 1, + "logits": [ + 18.227575302124023, + 19.70290184020996, + 17.27104949951172, + 16.77157974243164 + ], + "pred": 1, + "answer_nll": 0.3147411346435547 + }, + { + "id": "test-lookup16-021", + "gold": 2, + "logits": [ + 17.27737808227539, + 17.190292358398438, + 20.204147338867188, + 17.25939178466797 + ], + "pred": 2, + "answer_nll": 0.14434814453125 + }, + { + "id": "test-lookup16-022", + "gold": 3, + "logits": [ + 17.37074089050293, + 16.571868896484375, + 18.036226272583008, + 19.97149658203125 + ], + "pred": 3, + "answer_nll": 0.2247333526611328 + }, + { + "id": "test-lookup16-023", + "gold": 2, + "logits": [ + 16.849794387817383, + 16.987442016601562, + 20.686952590942383, + 16.925445556640625 + ], + "pred": 2, + "answer_nll": 0.06722831726074219 + }, + { + "id": "test-lookup16-024", + "gold": 3, + "logits": [ + 17.134410858154297, + 16.855791091918945, + 17.403955459594727, + 19.708759307861328 + ], + "pred": 3, + "answer_nll": 0.20998191833496094 + }, + { + "id": "test-lookup16-025", + "gold": 1, + "logits": [ + 18.855209350585938, + 20.464717864990234, + 16.991188049316406, + 16.484619140625 + ], + "pred": 1, + "answer_nll": 0.2228851318359375 + }, + { + "id": "test-lookup16-026", + "gold": 2, + "logits": [ + 17.251935958862305, + 17.34075355529785, + 19.861461639404297, + 16.851882934570312 + ], + "pred": 2, + "answer_nll": 0.18505477905273438 + }, + { + "id": "test-lookup16-027", + "gold": 2, + "logits": [ + 16.87265968322754, + 16.96160125732422, + 20.11630630493164, + 16.644906997680664 + ], + "pred": 2, + "answer_nll": 0.10683059692382812 + }, + { + "id": "test-lookup16-028", + "gold": 2, + "logits": [ + 17.305179595947266, + 17.150022506713867, + 20.152006149291992, + 17.112558364868164 + ], + "pred": 2, + "answer_nll": 0.14459991455078125 + }, + { + "id": "test-lookup16-029", + "gold": 3, + "logits": [ + 16.536590576171875, + 16.207822799682617, + 17.313720703125, + 19.418651580810547 + ], + "pred": 3, + "answer_nll": 0.1973724365234375 + }, + { + "id": "test-lookup16-030", + "gold": 0, + "logits": [ + 20.428970336914062, + 18.188112258911133, + 17.756412506103516, + 17.95325469970703 + ], + "pred": 0, + "answer_nll": 0.23075103759765625 + }, + { + "id": "test-lookup16-031", + "gold": 2, + "logits": [ + 17.199758529663086, + 16.905183792114258, + 20.355880737304688, + 16.986587524414062 + ], + "pred": 2, + "answer_nll": 0.10321426391601562 + } + ], + "lisa_answer_weighted": [ + { + "id": "test-lookup16-000", + "gold": 0, + "logits": [ + 22.57941246032715, + 19.45975112915039, + 17.538860321044922, + 17.91460609436035 + ], + "pred": 0, + "answer_nll": 0.05832862854003906 + }, + { + "id": "test-lookup16-001", + "gold": 3, + "logits": [ + 18.762800216674805, + 18.690874099731445, + 18.37322425842285, + 21.59368324279785 + ], + "pred": 3, + "answer_nll": 0.14303207397460938 + }, + { + "id": "test-lookup16-002", + "gold": 0, + "logits": [ + 21.95724868774414, + 19.788686752319336, + 17.899444580078125, + 18.999929428100586 + ], + "pred": 0, + "answer_nll": 0.168548583984375 + }, + { + "id": "test-lookup16-003", + "gold": 1, + "logits": [ + 19.723478317260742, + 22.322696685791016, + 17.424434661865234, + 16.90584945678711 + ], + "pred": 1, + "answer_nll": 0.08271598815917969 + }, + { + "id": "test-lookup16-004", + "gold": 1, + "logits": [ + 19.81602668762207, + 22.845874786376953, + 18.12343406677246, + 18.654464721679688 + ], + "pred": 1, + "answer_nll": 0.06984519958496094 + }, + { + "id": "test-lookup16-005", + "gold": 1, + "logits": [ + 19.68820571899414, + 22.387584686279297, + 19.071063995361328, + 17.41537857055664 + ], + "pred": 1, + "answer_nll": 0.10476875305175781 + }, + { + "id": "test-lookup16-006", + "gold": 0, + "logits": [ + 22.55522918701172, + 19.28392791748047, + 17.920703887939453, + 18.927051544189453 + ], + "pred": 0, + "answer_nll": 0.07160568237304688 + }, + { + "id": "test-lookup16-007", + "gold": 2, + "logits": [ + 18.43319320678711, + 18.58353042602539, + 22.273773193359375, + 17.731338500976562 + ], + "pred": 2, + "answer_nll": 0.05552482604980469 + }, + { + "id": "test-lookup16-008", + "gold": 3, + "logits": [ + 19.334627151489258, + 18.89589500427246, + 18.96323013305664, + 22.12887191772461 + ], + "pred": 3, + "answer_nll": 0.1334705352783203 + }, + { + "id": "test-lookup16-009", + "gold": 0, + "logits": [ + 22.693693161010742, + 19.684255599975586, + 18.74317741394043, + 18.62442970275879 + ], + "pred": 0, + "answer_nll": 0.08218193054199219 + }, + { + "id": "test-lookup16-010", + "gold": 1, + "logits": [ + 19.611141204833984, + 22.27094841003418, + 18.29421615600586, + 17.541038513183594 + ], + "pred": 1, + "answer_nll": 0.09306716918945312 + }, + { + "id": "test-lookup16-011", + "gold": 0, + "logits": [ + 22.52837562561035, + 20.651630401611328, + 18.503936767578125, + 17.947612762451172 + ], + "pred": 0, + "answer_nll": 0.16653823852539062 + }, + { + "id": "test-lookup16-012", + "gold": 3, + "logits": [ + 19.092853546142578, + 19.007957458496094, + 18.225162506103516, + 21.918743133544922 + ], + "pred": 3, + "answer_nll": 0.1297740936279297 + }, + { + "id": "test-lookup16-013", + "gold": 0, + "logits": [ + 22.434616088867188, + 19.77047348022461, + 18.417800903320312, + 19.482641220092773 + ], + "pred": 0, + "answer_nll": 0.13094520568847656 + }, + { + "id": "test-lookup16-014", + "gold": 0, + "logits": [ + 22.530967712402344, + 19.402698516845703, + 18.867340087890625, + 19.061908721923828 + ], + "pred": 0, + "answer_nll": 0.09583663940429688 + }, + { + "id": "test-lookup16-015", + "gold": 1, + "logits": [ + 20.003738403320312, + 22.868587493896484, + 17.58453941345215, + 17.39547348022461 + ], + "pred": 1, + "answer_nll": 0.06415939331054688 + }, + { + "id": "test-lookup16-016", + "gold": 3, + "logits": [ + 19.308162689208984, + 19.08233070373535, + 19.386898040771484, + 21.79644012451172 + ], + "pred": 3, + "answer_nll": 0.2144451141357422 + }, + { + "id": "test-lookup16-017", + "gold": 3, + "logits": [ + 20.279794692993164, + 19.779443740844727, + 18.525131225585938, + 21.782852172851562 + ], + "pred": 3, + "answer_nll": 0.3334674835205078 + }, + { + "id": "test-lookup16-018", + "gold": 1, + "logits": [ + 20.275941848754883, + 22.887203216552734, + 18.032726287841797, + 17.627124786376953 + ], + "pred": 1, + "answer_nll": 0.08289718627929688 + }, + { + "id": "test-lookup16-019", + "gold": 2, + "logits": [ + 19.167579650878906, + 19.06737518310547, + 22.443363189697266, + 17.818435668945312 + ], + "pred": 2, + "answer_nll": 0.07860374450683594 + }, + { + "id": "test-lookup16-020", + "gold": 1, + "logits": [ + 20.483108520507812, + 22.062461853027344, + 18.30929946899414, + 17.787281036376953 + ], + "pred": 1, + "answer_nll": 0.21789932250976562 + }, + { + "id": "test-lookup16-021", + "gold": 2, + "logits": [ + 19.33902359008789, + 18.947465896606445, + 22.09600257873535, + 17.865291595458984 + ], + "pred": 2, + "answer_nll": 0.11416816711425781 + }, + { + "id": "test-lookup16-022", + "gold": 3, + "logits": [ + 19.480201721191406, + 18.828689575195312, + 19.617446899414062, + 21.960355758666992 + ], + "pred": 3, + "answer_nll": 0.20165252685546875 + }, + { + "id": "test-lookup16-023", + "gold": 2, + "logits": [ + 19.01500129699707, + 18.909576416015625, + 22.426218032836914, + 17.542627334594727 + ], + "pred": 2, + "answer_nll": 0.06791114807128906 + }, + { + "id": "test-lookup16-024", + "gold": 3, + "logits": [ + 19.611690521240234, + 19.304908752441406, + 18.592029571533203, + 21.793827056884766 + ], + "pred": 3, + "answer_nll": 0.21227645874023438 + }, + { + "id": "test-lookup16-025", + "gold": 1, + "logits": [ + 20.47852897644043, + 22.489200592041016, + 17.568195343017578, + 16.940229415893555 + ], + "pred": 1, + "answer_nll": 0.13547706604003906 + }, + { + "id": "test-lookup16-026", + "gold": 2, + "logits": [ + 19.137346267700195, + 19.278215408325195, + 21.883272171020508, + 17.456897735595703 + ], + "pred": 2, + "answer_nll": 0.139801025390625 + }, + { + "id": "test-lookup16-027", + "gold": 2, + "logits": [ + 19.165250778198242, + 18.819297790527344, + 22.282611846923828, + 17.436832427978516 + ], + "pred": 2, + "answer_nll": 0.08016014099121094 + }, + { + "id": "test-lookup16-028", + "gold": 2, + "logits": [ + 19.52033805847168, + 18.817392349243164, + 22.188508987426758, + 17.81803321838379 + ], + "pred": 2, + "answer_nll": 0.11008644104003906 + }, + { + "id": "test-lookup16-029", + "gold": 3, + "logits": [ + 18.95032501220703, + 18.286874771118164, + 19.390106201171875, + 21.473861694335938 + ], + "pred": 3, + "answer_nll": 0.21988487243652344 + }, + { + "id": "test-lookup16-030", + "gold": 0, + "logits": [ + 22.682191848754883, + 19.893630981445312, + 18.4726505279541, + 18.731189727783203 + ], + "pred": 0, + "answer_nll": 0.09130096435546875 + }, + { + "id": "test-lookup16-031", + "gold": 2, + "logits": [ + 19.434579849243164, + 18.631267547607422, + 22.36871337890625, + 17.62336540222168 + ], + "pred": 2, + "answer_nll": 0.08221054077148438 + } + ] +} diff --git a/results/lisa-effect-reproduction/trace.json b/results/lisa-effect-reproduction/trace.json new file mode 100644 index 0000000..f3d84d1 --- /dev/null +++ b/results/lisa-effect-reproduction/trace.json @@ -0,0 +1,38 @@ +{ + "linear": [ + { + "epoch": 1, + "fit_loss": 1.528187096118927, + "validation_answer_nll": 0.08188676834106445 + }, + { + "epoch": 2, + "fit_loss": 1.4630066951115925, + "validation_answer_nll": 0.08137226104736328 + } + ], + "lisa": [ + { + "epoch": 1, + "fit_loss": 2.8282371163368225, + "validation_answer_nll": 0.21536986033121744 + }, + { + "epoch": 2, + "fit_loss": 2.06735689441363, + "validation_answer_nll": 0.18566656112670898 + } + ], + "lisa_answer_weighted": [ + { + "epoch": 1, + "fit_loss": 2.752801299095154, + "validation_answer_nll": 0.23118178049723306 + }, + { + "epoch": 2, + "fit_loss": 1.9780630469322205, + "validation_answer_nll": 0.1396172841389974 + } + ] +} diff --git a/results/lisa-effect-reproduction/train-protocol.json b/results/lisa-effect-reproduction/train-protocol.json new file mode 100644 index 0000000..6058685 --- /dev/null +++ b/results/lisa-effect-reproduction/train-protocol.json @@ -0,0 +1,21 @@ +{ + "epochs": 2, + "selection": { + "task": "lookup16", + "sites": [ + 19, + 23 + ], + "fixed_problems_sha256": "34252a9e02e79c0e0d786ee8b90bb0c5a4fe22e97852929fedf73db7b6dc7826", + "source_sha256": { + "manifest.json": "28efbaf94a5034333339a35f08ead151459a7d20c6c2d2f07a451e7f3bf154de", + "model_config.json": "ed1c1723241f23f7f4e23430759cbd7dcfb4103cbdfe052bfe7626b57c2615b4", + "tokenizer.json": "5f9e4d4901a92b997e463c1f46055088b6cca5ca61a6522d1b9f64c4bb81cb42" + } + }, + "optimizer": "AdamW", + "lr": 0.0003, + "weight_decay": 0.1, + "answer_weight": 16.0, + "seed": 415005 +}