leehenry commited on
Commit
2d9fc00
·
verified ·
1 Parent(s): 51f1e10

Publish compact MemoryATHENA metadata and aggregate results

Browse files
ARTIFACTS.md DELETED
@@ -1,101 +0,0 @@
1
- # MemoryAthena artifact ledger
2
-
3
- This ledger maps result-bearing objects referenced by `paper/ICLR_submit.tex`
4
- and `paper/appendix.tex` to their source artifacts. It is intentionally safe to
5
- publish: private workstation names, project numbers, scratch usernames, and
6
- credentials are represented by placeholders.
7
-
8
- Use these placeholders when resolving a raw path on the experiment machine:
9
-
10
- ```text
11
- <RUN_ROOT> = <private scratch>/ATHENA/run
12
- <SOURCE_ROOT> = <private source-memory bundle>
13
- <LOCAL_ROOT> = this repository checkout
14
- ```
15
-
16
- ## Verification legend
17
-
18
- | Status | Meaning |
19
- | --- | --- |
20
- | `tracked` | The artifact is versioned in this repository. |
21
- | `local-audit` | A local aggregate/audit file exists, but raw outputs are intentionally not versioned. |
22
- | `remote-recorded` | The run family and expected artifact path are recorded by the audit; raw output is on the cluster. |
23
- | `partial` | Some points/tasks are complete, but the paper-level claim is not closed. |
24
- | `pending` | Submitted and not yet complete; do not quote measurements. |
25
- | `disclosure` | Numerically available, but the protocol or baseline caveat must travel with the number. |
26
-
27
- ## Main-paper tables and figures
28
-
29
- | Paper object | Result or figure | Artifact chain | Status / usage note |
30
- | --- | --- | --- | --- |
31
- | `tab:qa_combined` | Five-task QA comparison | `paper_aggregates/qa_five_task.aggregate.json`; `<RUN_ROOT>/tri_advantage_formal_20260908T133625Z/{nq,webqa,triviaqa,truthfulqa,hotpotqa}_reader_eval/results.json`; reader checkpoint `reader_20m_train/adaptor_best.pt` | `local-audit` + `remote-recorded`; `disclosure`: training histories are not all compute-matched |
32
- | `tab:nlp` | Six-task general NLP | `paper_aggregates/dcpmi_nlp_six_task.aggregate.json`; `<RUN_ROOT>/general_paper_aligned_tri_e_router_20260918/results/results.json`; `<RUN_ROOT>/general_paper_aligned_cr_agn_yahoo_20260918/results/results.json` | `local-audit` + `remote-recorded`; historical Vanilla scorer differs from E/router scorer |
33
- | `tab:controls` | QA interface, initialization, and random-router ablations | `<RUN_ROOT>/tri_ablations_20260909/{no_gate,permuted_keys,random_memory,train_from_scratch}/downstream/results.json`; `<RUN_ROOT>/tri_ffn_matched_20260912/ffn_only/downstream/results.json`; `<RUN_ROOT>/tri_affine_stitch_20260912/affine_stitch/downstream/results.json`; random-router QA manifests under `run/random_router_*` | `remote-recorded`; preserve condition names and seed metadata |
34
- | `fig:transfer-overview` | Mistral-to-Llama transfer | `<RUN_ROOT>/mistral_to_llama_tri_20260909/llama_downstream_repair5/results.json`; `<RUN_ROOT>/general_paper_aligned_mistral_to_llama_20260918/results/results.json` | `remote-recorded`; target-side transfer only, no matched bare-Llama baseline |
35
- | `fig:routing-and-oracle` | Downstream routing and gold-label oracle | `paper_aggregates/routing_and_support_audit_20260919.json`; QA result predictions and oracle fields in the five task `results.json` files | `local-audit`; oracle is post-hoc and is not deployed routing frequency |
36
-
37
- The paper source also references the following main figures. Their TeX paths
38
- are part of the paper source, but the rendered figure directory is not part of
39
- the public source checkout; keep the rendered files with the paper artifact
40
- bundle rather than claiming they are reproducible from this clone alone:
41
-
42
- ```text
43
- paper/figures/overview.pdf
44
- paper/figures/memoryathena_downstream_routing.pdf
45
- paper/figures/memoryathena_oracle_headroom.pdf
46
- ```
47
-
48
- ## Appendix tables and figures
49
-
50
- | Paper object | Artifact chain | Status / caveat |
51
- | --- | --- | --- |
52
- | `tab:tokenbudget`, `tab:routerconfig`, `tab:architecture` | Configuration in `paper/appendix.tex`; implementation in `engram/`, `scripts/train_source_memory.py`, `scripts/train_adaptor.py`, and `scripts/train_counterfactual_router.py` | `tracked` for code; paper source is local-only |
53
- | `fig:qa-summary`, `fig:qa-emf1`, `fig:qa-paired` | QA five-task result JSONs and local audit aggregate | `local-audit` + `remote-recorded` |
54
- | `tab:truthfulqa-mc` | `truthfulqa_reader_eval/results.json` in the QA run family | `remote-recorded`; report MC1/MC2/MC3/mean, not F1 |
55
- | `fig:ablation-delta` | The six ablation result JSONs listed for `tab:controls` | `remote-recorded` |
56
- | `tab:yahoo-threshold` | `<RUN_ROOT>/yahoo_router_threshold_sweep_20260919_opt1/results/results.json`; `<RUN_ROOT>/yahoo_router_threshold_sweep_20260919_opt2/results/threshold-0p9/results.json`; `<RUN_ROOT>/yahoo_router_threshold_sweep_20260919_opt2/results/threshold-1p0/results.json` | `remote-recorded` + `disclosure`: post-hoc test-set threshold sweep |
57
- | `tab:routing-stats` | `paper_aggregates/routing_and_support_audit_20260919.json`; training-validation result JSONs for QA, NLP, and coding | `local-audit`; interpolation mass is not discrete route frequency |
58
- | `tab:halueval` | `<RUN_ROOT>/tri_general_nlp_halueval_20260915/results/general_nlp_halueval_results.json` | `remote-recorded`; separate choice-log-probability protocol |
59
- | `tab:scaling-config`, `tab:model-scaling-values`, `tab:token-scaling` | `scripts/scaling_law_config.py`, `scripts/eval_scaling_backbone.py`, `<RUN_ROOT>/scaling_law_20260918/manifest.json` | `tracked` config + `partial` run family |
60
- | `fig:model-scaling`, `fig:scaling-wikitext`, `fig:scaling-general`, `fig:scaling-tokens`, `fig:scaling-params` | `<RUN_ROOT>/scaling_law_20260918/points/`; `submitted_jobs_nomemory_eval_20260919.json`; router-corpus repair manifests | `partial`: no-memory points are more complete than the final memory/router curve; verify every point before quoting |
61
- | `fig:case-study` | `run/case_study_20260920/repair8_results/{candidates.json,results.json,status.json,case_study.md}`; source inference family `<RUN_ROOT>/case_study_20260920_repair3/` | `local-audit` for the finalized post-processor; exactly three router-correct rows, all realised argmax `GH` in the current slice (`E=0, GE=0, GH=3`) |
62
-
63
- ## Other result-bearing experiments
64
-
65
- | Experiment | Artifact | Status / caveat |
66
- | --- | --- | --- |
67
- | HYP/CB/RTE extension | `<RUN_ROOT>/general_paper_aligned_hyp_cb_rte_20260919/results/results.json`; `repair2/results/results.json` | `remote-recorded`; not a complete three-row main-table aggregate |
68
- | Mistral-to-Llama NLP | `<RUN_ROOT>/general_paper_aligned_mistral_to_llama_20260918/results/results.json` | `remote-recorded`; missing bare target-Llama baseline |
69
- | Nemotron-CC-Code training | `<RUN_ROOT>/tri_nemotron-cc-code_four_stage_20260917_project493_r2/{experts,advantage_router}/results.json` | `remote-recorded`; downstream functional comparison is incomplete |
70
- | BigCodeBench baseline | `<RUN_ROOT>/tri_code_compare_20260915/04_eval_repair2/code/bigcodebench/baseline/results.json` | lexical diagnostic only; `acc=null` is not functional pass@1 |
71
- | Inference-only random memory | `<RUN_ROOT>/tri_inference_random_memory_20260912/`; `<RUN_ROOT>/tri_inference_random_memory_20260912_repair2/` | `remote-recorded`; memory replacement only, no retraining |
72
- | Downstream route proportions | `run/route_proportion_downstream_20260920/submitted_jobs_route_proportions_repair1_20260920.json` and the TriviaQA retry manifest | `remote-recorded`; require status/results/routing fields before reporting proportions |
73
- | CR control comparison | `run/cr_router_controls_20260920/submitted_jobs_repair1.json` | `remote-recorded`; distinguish random-router from random-memory inference |
74
- | Table 3 router multi-seed | `run/table3_router_seed_multiseed_20260921/submitted_jobs.json` and repair1 manifest | `remote-recorded`/possibly pending; do not replace single-seed values until all seeds are complete |
75
-
76
- ## Compute-cost benchmark
77
-
78
- The new inference-only benchmark is recorded in
79
- `run/compute_cost_benchmark_eonly_20260921/submitted_jobs.json`. It compares
80
- E-only and MemoryAthena at Small/Medium/Large/XL and records:
81
-
82
- - synchronized elapsed seconds and seconds per sequence;
83
- - input, output, and total tokens/s;
84
- - peak CUDA allocated/reserved memory;
85
- - Slurm elapsed time and actual GCD-hours from `sacct`.
86
-
87
- The job is intentionally represented as `pending` until its dependency and
88
- completion marker succeed. No latency, memory, or cost number is estimated in
89
- this ledger. After completion, add the immutable `results.json`, `status.json`,
90
- and `sacct` summary here or regenerate the dashboard data.
91
-
92
- ## Reproducibility and privacy checks
93
-
94
- - Do not commit Hugging Face tokens, SSH material, raw user directories, or
95
- cluster account identifiers.
96
- - Treat `submitted_jobs*.json` as provenance, not proof that a result file is
97
- complete.
98
- - Require a completion marker, finite metrics, expected protocol metadata, and
99
- a nonzero result file before promoting a run to `complete`.
100
- - Keep post-hoc label selection, oracle analysis, and test-set threshold
101
- tuning visibly separate from training and deployment routing.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
README.md DELETED
@@ -1,32 +0,0 @@
1
- ---
2
- tags:
3
- - memoryathena
4
- - reproducibility
5
- - model-evaluation
6
- pretty_name: MemoryATHENA results and artifact ledger
7
- ---
8
-
9
- # MemoryATHENA results and artifact ledger
10
-
11
- This dataset repository contains compact provenance, paper-reference aggregates,
12
- and disclosure notes for the MemoryATHENA model releases. It intentionally does
13
- not redistribute the underlying training/evaluation datasets, user directories,
14
- credentials, or raw prediction logs.
15
-
16
- ## Contents
17
-
18
- - `ARTIFACTS.md`: artifact ledger and publication-use caveats.
19
- - `control_protocol.md`: six-control training/evaluation protocol.
20
- - `paper_reference_data/`: compact audit aggregates and reference-paper tables.
21
- - `release_manifest.json`: release policy and provenance.
22
-
23
- The control suite uses seed 42 unless a file says otherwise. Historical Vanilla
24
- Mistral and E/router rows have scorer/protocol differences; do not combine them
25
- into one headline gain. Yahoo tau=1.0 is a post-hoc test-set threshold sweep.
26
- Gold-label oracle counts are post-hoc diagnostics, not deployed routing rates.
27
-
28
- The MemoryATHENA model collection is available at:
29
- https://huggingface.co/collections/OLAResearchX/memoryathena
30
-
31
- Related result dataset:
32
- https://huggingface.co/datasets/OLAResearchX/XMemTransfer-Results
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
control_protocol.md DELETED
@@ -1,59 +0,0 @@
1
- # Three-source ablations, 2026-09-09
2
-
3
- Six controls: random_memory, permuted_keys, no_gate, affine_stitch,
4
- train_from_scratch, ffn_only. This suite ablates the final three-source
5
- advantage-reader method, not the legacy Engram interface.
6
-
7
- For five memory conditions, train experts from fresh initialization for 20M
8
- Wikipedia tokens using the reference eight-path joint objective. Then freeze
9
- experts and memory and train the advantage reader for a further 20M token
10
- exposures on the same corpus, exactly as in the full method. Use the full
11
- five official downstream splits and only the final advantage deployment mode.
12
- All configurations use seed 42, sequence length 2048, batch size 1, injection
13
- layers 2 and 10, and 2M-token calibration/validation. Loop rounds remain 1.
14
-
15
- Random memory is initialized and frozen; permuted keys uses a fixed per-head
16
- permutation of source-memory rows. Both E and GE share the altered memory.
17
- GH retains its clean context input. Scratch memory is initialized randomly and
18
- trained during expert fitting, then frozen during router fitting. The best
19
- memory and adaptor are saved/restored together. Actual memory tensors are
20
- persisted through both stages and loaded for evaluation.
21
-
22
- No gate removes all three expert injection gates, while retaining routers and
23
- advantage interpolation. Affine stitch additionally replaces E with affine
24
- memory reading and GE/GH query-dependent attention with affine reading of mean
25
- latent vectors. Generators and routing stay present. Inactive gate parameters
26
- are frozen; removed attention modules are absent. This is a defined interface
27
- simplification, not an assertion that all three paths become linear models.
28
-
29
- FFN replaces the entire memory interface with one residual SiLU MLP per
30
- injection layer. Its active parameter count matches the full tri adaptor plus
31
- advantage head to within one hidden-unit rounding quantum. It receives no
32
- memory. It trains for two 20M-token phases over the same corpus, including a
33
- validation-selected warm start into the second phase. Report this difference
34
- in objective/optimizer allocation rather than claiming compute-equivalence.
35
-
36
- No QA training or test-label tuning is performed. Downstream samples are saved
37
- for paired CPU bootstrap. Wikipedia validation and test currently map to the
38
- same published split in the loader; this suite reports validation PPL, NOT an
39
- independent held-out test PPL.
40
-
41
- Resources: one small-g GCD, 7 CPU cores, 60 GB per job. Five expert jobs reserve
42
- 48h each; FFN expert job reserves 18h; six second-stage jobs reserve 18h each;
43
- six evaluation jobs reserve 18h each. Total reservation upper bound: 474 GCD-h.
44
- Observed reference expert and router runtimes: 33h25m and 11h16m. Expected total
45
- is approximately 300-350 GCD-h, uncertain for changed conditions. Storage:
46
- roughly <30GB for checkpoints/memories/results, excluding existing model cache.
47
- Two dependency chains cap this suite at two concurrent GPU jobs. Upstream
48
- failure prevents dependent stages from consuming GPUs. No existing checkpoints
49
- or results are overwritten. Local tests: 81 passed before deployment.
50
-
51
- Official policy checked 2026-09-09:
52
- https://docs.lumi-supercomputer.eu/runjobs/scheduled-jobs/partitions/
53
- https://docs.lumi-supercomputer.eu/runjobs/scheduled-jobs/lumig-job/
54
- Live small-g MaxTime=3 days; one-GCD allocation fits documented subnode usage.
55
- The user's lumi-minimize-gpu-hours skill audit passed for the 48h expert script
56
- with a 2005-minute reference runtime. Shorter stages use explicit time overrides.
57
-
58
- The mistakenly submitted legacy-only array 21852960 was cancelled while
59
- pending (elapsed zero); it is NOT an experiment in this suite.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
metadata.json ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "release": "MemoryATHENA-20260922",
3
+ "description": "Compact release metadata and aggregate results for MemoryATHENA QA and general-NLP experiments.",
4
+ "base_model": "mistralai/Mistral-7B-v0.3",
5
+ "seed": 42,
6
+ "collection": "OLAResearchX/memoryathena-6ab21a89e66b6ff2ded749ca",
7
+ "model_repositories": [
8
+ "OLAResearchX/memoryathena-qa-20260922",
9
+ "OLAResearchX/memoryathena-general-nlp-20260922"
10
+ ],
11
+ "training_data": {
12
+ "qa": {
13
+ "reader_and_router": "English Wikipedia-2021 causal next-token-only stream",
14
+ "source_memory_dependency": "OLAResearchX/xmemtransfer-llama2-source-20m",
15
+ "token_budget": 20000000,
16
+ "seed": 42
17
+ },
18
+ "general_nlp": {
19
+ "mixture": [
20
+ "WikiText-103",
21
+ "Amazon Polarity review text",
22
+ "CC-News",
23
+ "IMDB text"
24
+ ],
25
+ "mixing": "equal-token mixture",
26
+ "tokens_per_phase": 20000000,
27
+ "sequence_length": 2048,
28
+ "batch_size": 1,
29
+ "seed": 42
30
+ }
31
+ },
32
+ "test_data": {
33
+ "qa": {
34
+ "NQ": "Natural Questions Open paper-aligned evaluation split",
35
+ "WebQA": "WebQuestions/WebQA paper-aligned evaluation split",
36
+ "TriviaQA": "rc.nocontext validation split",
37
+ "TruthfulQA": "multiple_choice split",
38
+ "HotpotQA": "distractor split"
39
+ },
40
+ "general_nlp": {
41
+ "SST2": {
42
+ "split": "paper-aligned evaluation",
43
+ "examples": 872
44
+ },
45
+ "MR": {
46
+ "split": "paper-aligned evaluation",
47
+ "examples": 2000
48
+ },
49
+ "CR": {
50
+ "split": "paper-aligned evaluation",
51
+ "examples": 2000
52
+ },
53
+ "RT": {
54
+ "split": "paper-aligned evaluation",
55
+ "examples": 1066
56
+ },
57
+ "AGN": {
58
+ "split": "paper-aligned evaluation",
59
+ "examples": 7600
60
+ },
61
+ "Yahoo": {
62
+ "split": "Yahoo Answers Topics paper-aligned evaluation",
63
+ "examples": 60000
64
+ }
65
+ }
66
+ },
67
+ "disclosures": [
68
+ "single training seed",
69
+ "no raw examples or labels redistributed",
70
+ "historical Vanilla NLP scorer differs from the E/router scorer",
71
+ "Yahoo tau=1.0 is a post-hoc test-set sweep"
72
+ ],
73
+ "excluded": [
74
+ "ARTIFACTS.md",
75
+ "raw datasets",
76
+ "raw test examples",
77
+ "labels",
78
+ "raw predictions",
79
+ "credentials",
80
+ "internal filesystem paths"
81
+ ]
82
+ }
paper_reference_data/dcpmi_nlp_six_task.aggregate.json DELETED
@@ -1,150 +0,0 @@
1
- {
2
- "schema": "exp.aggregate/1",
3
- "paper_use_status": "requires_disclosure",
4
- "generated_at": "2026-09-19T00:00:00Z",
5
- "protocol": {
6
- "name": "mixed_scoring_historical_vanilla_reference",
7
- "seed": 42,
8
- "replicates": 1,
9
- "same_protocol_comparison": [
10
- "Engram-only",
11
- "Three-model router"
12
- ],
13
- "historical_vanilla": {
14
- "artifact_protocol": "domain_conditional_pmi",
15
- "scorer": "evaluate_task: full-choice sequence likelihood, domain corrected; not verified equivalent to next-token synonym sum",
16
- "paper_use": "reference only; exclude from headline method-vs-vanilla gains"
17
- },
18
- "engram_and_router": {
19
- "artifact_protocol": "dcpmi_next_token_synonym_sum",
20
- "scorer": "sum over synonym token IDs of next-token conditional minus domain log probability",
21
- "labels_used_only_for_accuracy": true
22
- },
23
- "engram_only_scope": "forced E path of the same general-mixed trained router checkpoint; not an independently trained Engram baseline"
24
- },
25
- "tasks": [
26
- "SST2",
27
- "MR",
28
- "CR",
29
- "RT",
30
- "AGN",
31
- "Yahoo"
32
- ],
33
- "results_percent": {
34
- "Vanilla Mistral": {
35
- "SST2": 81.07798165137615,
36
- "MR": 75.6,
37
- "CR": 74,
38
- "RT": 74.671669793621,
39
- "AGN": 73.23684210526316,
40
- "Yahoo": 55.025
41
- },
42
- "Engram-only": {
43
- "SST2": 84.17431192660551,
44
- "MR": 81,
45
- "CR": 82.4,
46
- "RT": 82.36397748592871,
47
- "AGN": 72.9342105263158,
48
- "Yahoo": 57.50666666666666
49
- },
50
- "Three-model router": {
51
- "SST2": 88.07339449541286,
52
- "MR": 84.7,
53
- "CR": 84.1,
54
- "RT": 83.86491557223265,
55
- "AGN": 76.64473684210527,
56
- "Yahoo": 45.91
57
- },
58
- "Three-model router (Yahoo tau=1.0; post-hoc test sweep)": {
59
- "SST2": 88.07339449541286,
60
- "MR": 84.7,
61
- "CR": 84.1,
62
- "RT": 83.86491557223265,
63
- "AGN": 76.64473684210527,
64
- "Yahoo": 57.43166666666667
65
- }
66
- },
67
- "inputs": [
68
- {
69
- "role": "vanilla",
70
- "artifact": "/scratch/project_462001493/mingyl/ATHENA/run/general_paper_aligned_20260918/results/status.json",
71
- "validity": "NUMBERS_VERIFIED_SCORER_MISMATCH",
72
- "sha256": "2f5c37cffe869b0c210655aeb4026443457f22a046fe7f56ddc92f44600adb63"
73
- },
74
- {
75
- "role": "engram_only",
76
- "artifact": "/scratch/project_462001493/mingyl/ATHENA/run/general_paper_aligned_tri_e_router_20260918/results/results.json",
77
- "validity": "NUMBERS_VERIFIED_SAME_PROTOCOL_E_ROUTER",
78
- "conditions": [
79
- "tri_e"
80
- ],
81
- "sha256": "4f77454f01465efa79e41514040d6aa1bada6e4453bc89a256053691b4d765b9"
82
- },
83
- {
84
- "role": "three_model_router",
85
- "artifact": "/scratch/project_462001493/mingyl/ATHENA/run/general_paper_aligned_tri_e_router_20260918/results/results.json",
86
- "validity": "NUMBERS_VERIFIED_SAME_PROTOCOL_E_ROUTER",
87
- "conditions": [
88
- "tri_reader_advantage"
89
- ],
90
- "sha256": "4f77454f01465efa79e41514040d6aa1bada6e4453bc89a256053691b4d765b9"
91
- },
92
- {
93
- "role": "engram_only_cr_agn_yahoo",
94
- "artifact": "/scratch/project_462001493/mingyl/ATHENA/run/general_paper_aligned_cr_agn_yahoo_20260918/results/results.json",
95
- "validity": "NUMBERS_VERIFIED_SAME_PROTOCOL_E_ROUTER",
96
- "conditions": [
97
- "tri_e"
98
- ],
99
- "sha256": "9a993dab98c17da50ac5b7f1149078a8f202c990263f32255996c6497c765d0d"
100
- },
101
- {
102
- "role": "three_model_router_cr_agn_yahoo",
103
- "artifact": "/scratch/project_462001493/mingyl/ATHENA/run/general_paper_aligned_cr_agn_yahoo_20260918/results/results.json",
104
- "validity": "NUMBERS_VERIFIED_SAME_PROTOCOL_E_ROUTER",
105
- "conditions": [
106
- "tri_reader_advantage"
107
- ],
108
- "sha256": "9a993dab98c17da50ac5b7f1149078a8f202c990263f32255996c6497c765d0d"
109
- },
110
- {
111
- "role": "yahoo_threshold_1_display",
112
- "artifact": "/scratch/project_462001493/mingyl/ATHENA/run/yahoo_router_threshold_sweep_20260919_opt2/results/threshold-1p0/results.json",
113
- "sha256": "eab8643f93d2429ed1cc056e6d35f410f41eb518da02aa38fac1889429924f0a",
114
- "validity": "NUMBERS_VERIFIED_REQUIRES_TEST_SELECTION_DISCLOSURE",
115
- "threshold": 1,
116
- "correct": 34459,
117
- "total": 60000
118
- }
119
- ],
120
- "must_match": {
121
- "verdict": "INCONSISTENT",
122
- "fields": [
123
- "protocol",
124
- "scoring_function"
125
- ],
126
- "notes": "Vanilla artifact reports domain_conditional_pmi and r1 script calls evaluate_task; E/router artifacts report dcpmi_next_token_synonym_sum and r2 calls evaluate_paper_task. E/router comparison is same protocol; the three-row unified claim is withdrawn. Current snapshot files are not a cryptographically immutable record of launch-time code."
127
- },
128
- "audited_at": "2026-09-19",
129
- "audit_artifact": "/Users/mingyl/ATHENA/paper_aggregates/evidence_audit_20260919.json",
130
- "display": {
131
- "preferred_router_row": "Three-model router (Yahoo tau=1.0; post-hoc test sweep)",
132
- "default_reference_row": "Three-model router",
133
- "macro_accuracy_percent": 79.13578559606957,
134
- "thresholds": {
135
- "SST2": 0,
136
- "MR": 0,
137
- "CR": 0,
138
- "RT": 0,
139
- "AGN": 0,
140
- "Yahoo": 1
141
- },
142
- "confidence_threshold": 0.5,
143
- "max_scale": 1,
144
- "checkpoint_retrained": false,
145
- "selection_protocol": "Yahoo-specific threshold selected after inspecting test-set sweep accuracy; not independent-validation selected",
146
- "must_disclose": "Task-specific mixed thresholds and post-hoc test-set selection; retain default tau=0 row.",
147
- "source_artifact": "/scratch/project_462001493/mingyl/ATHENA/run/yahoo_router_threshold_sweep_20260919_opt2/results/threshold-1p0/results.json",
148
- "sha256": "eab8643f93d2429ed1cc056e6d35f410f41eb518da02aa38fac1889429924f0a"
149
- }
150
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
paper_reference_data/evidence_audit_20260919.json DELETED
The diff for this file is too large to render. See raw diff
 
paper_reference_data/evidence_audit_supplement_20260919.json DELETED
@@ -1,253 +0,0 @@
1
- {
2
- "audited_at": "2026-09-19",
3
- "scope": "Read-only evidence audit; no training, evaluation reruns or scheduler modifications.",
4
- "records": [
5
- {
6
- "path": "/scratch/project_462001493/mingyl/ATHENA/run/yahoo_router_threshold_sweep_20260919_opt2/results/threshold-0p9/results.json",
7
- "sha256": "3944feb879c2ee1424321bc4f506d01ec034b7c4aa9e8bc3acc3ac457df56c80",
8
- "data": {
9
- "target_model": "mistralai/Mistral-7B-v0.3",
10
- "task": "yahoo",
11
- "protocol": "domain_conditional_pmi",
12
- "scoring": "next_token_log_probability_sum_over_label_synonyms",
13
- "dataset": "yahoo_answers_topics/test",
14
- "dataset_size": 60000,
15
- "conditions": {
16
- "reader_mode": "tri_advantage_routed",
17
- "max_scale": 1
18
- },
19
- "thresholds": [
20
- 0.9
21
- ],
22
- "labels_used_only_for_accuracy": true,
23
- "checkpoint": {
24
- "adaptor_dir": "/scratch/project_462001493/mingyl/ATHENA/run/tri_general-mixed_four_stage_20260916r3/advantage_router",
25
- "adaptor_checkpoint": "/scratch/project_462001493/mingyl/ATHENA/run/tri_general-mixed_four_stage_20260916r3/advantage_router/adaptor_best.pt",
26
- "source_memory": "/scratch/project_462001493/mingyl/ATHENA/run/tri_general-mixed_four_stage_20260916r3/01_source_memory/memory.pt",
27
- "memory_config": "/scratch/project_462001493/mingyl/ATHENA/run/tri_general-mixed_four_stage_20260916r3/01_source_memory/memory_config.json"
28
- },
29
- "reference_engram_only": {
30
- "accuracy": 0.5750666666666666,
31
- "artifact": "/scratch/project_462001493/mingyl/ATHENA/run/general_paper_aligned_cr_agn_yahoo_20260918/results/results.json"
32
- },
33
- "evaluation": {
34
- "0.9": {
35
- "accuracy": 0.5736,
36
- "correct": 34416,
37
- "total": 60000,
38
- "protocol": "dcpmi_next_token_synonym_sum",
39
- "elapsed_s": 7829.804491281509
40
- }
41
- },
42
- "summary": {
43
- "0.9": 0.5736
44
- }
45
- }
46
- },
47
- {
48
- "path": "/scratch/project_462001493/mingyl/ATHENA/run/yahoo_router_threshold_sweep_20260919_opt2/results/threshold-1p0/results.json",
49
- "sha256": "eab8643f93d2429ed1cc056e6d35f410f41eb518da02aa38fac1889429924f0a",
50
- "data": {
51
- "target_model": "mistralai/Mistral-7B-v0.3",
52
- "task": "yahoo",
53
- "protocol": "domain_conditional_pmi",
54
- "scoring": "next_token_log_probability_sum_over_label_synonyms",
55
- "dataset": "yahoo_answers_topics/test",
56
- "dataset_size": 60000,
57
- "conditions": {
58
- "reader_mode": "tri_advantage_routed",
59
- "max_scale": 1
60
- },
61
- "thresholds": [
62
- 1
63
- ],
64
- "labels_used_only_for_accuracy": true,
65
- "checkpoint": {
66
- "adaptor_dir": "/scratch/project_462001493/mingyl/ATHENA/run/tri_general-mixed_four_stage_20260916r3/advantage_router",
67
- "adaptor_checkpoint": "/scratch/project_462001493/mingyl/ATHENA/run/tri_general-mixed_four_stage_20260916r3/advantage_router/adaptor_best.pt",
68
- "source_memory": "/scratch/project_462001493/mingyl/ATHENA/run/tri_general-mixed_four_stage_20260916r3/01_source_memory/memory.pt",
69
- "memory_config": "/scratch/project_462001493/mingyl/ATHENA/run/tri_general-mixed_four_stage_20260916r3/01_source_memory/memory_config.json"
70
- },
71
- "reference_engram_only": {
72
- "accuracy": 0.5750666666666666,
73
- "artifact": "/scratch/project_462001493/mingyl/ATHENA/run/general_paper_aligned_cr_agn_yahoo_20260918/results/results.json"
74
- },
75
- "evaluation": {
76
- "1": {
77
- "accuracy": 0.5743166666666667,
78
- "correct": 34459,
79
- "total": 60000,
80
- "protocol": "dcpmi_next_token_synonym_sum",
81
- "elapsed_s": 7565.190735578537
82
- }
83
- },
84
- "summary": {
85
- "1": 0.5743166666666667
86
- }
87
- }
88
- },
89
- {
90
- "path": "/scratch/project_462001493/mingyl/ATHENA/run/tri_memory_joint_softsubset_20260903T053716Z/tri_20m_train/config.json",
91
- "sha256": "25aac204addbbe5007f5be41b373d5d70d1706059b257d0c277572fdf079d8bd",
92
- "data": {
93
- "config": null,
94
- "condition": "transferred",
95
- "target_model": "mistralai/Mistral-7B-v0.3",
96
- "source_memory": "/scratch/project_462001050/mingyl/llm-memory-transfer/publish_bundle/models/hf_repos/olaresearchx-xmemtransfer-llama2-source-20m/memory.pt",
97
- "memory_config": "/scratch/project_462001050/mingyl/llm-memory-transfer/publish_bundle/models/hf_repos/olaresearchx-xmemtransfer-llama2-source-20m/memory_config.json",
98
- "init_adaptor": null,
99
- "train_generated_branch_only": false,
100
- "dual_reader_mode": "both",
101
- "max_tokens": 20000000,
102
- "seq_len": 2048,
103
- "batch_size": 1,
104
- "lr": 0.00003,
105
- "warmup_steps": 500,
106
- "seed": 42,
107
- "output_dir": "/scratch/project_462001493/mingyl/ATHENA/run/tri_memory_joint_softsubset_20260903T053716Z/tri_20m_train",
108
- "log_every": 50,
109
- "eval_every": 500,
110
- "validation_max_tokens": 2000000,
111
- "injection_layers": "2:10",
112
- "adaptor_branches": 4,
113
- "architecture": "generative",
114
- "reader_type": "cross_attention",
115
- "generator_cue_source": "hybrid",
116
- "generator_num_latents": 4,
117
- "generator_hidden_size": 256,
118
- "generator_layers": 2,
119
- "generator_heads": 4,
120
- "generator_cue_window": 3,
121
- "generator_adaptive_router": true,
122
- "generator_router_hidden_size": 64,
123
- "generator_router_semantic_size": 64,
124
- "generator_source_adapter_rank": 16,
125
- "generator_router_expert_mode": "residual",
126
- "generator_fusion_type": "tri_reader",
127
- "memory_dim": 512,
128
- "canon_mode": "word_boundary",
129
- "corpus": "wikipedia-2021",
130
- "corpus_subset": "hq-dqa",
131
- "wikipedia2021_dataset": null,
132
- "wikipedia2021_source_tokenizer": "mistralai/Mistral-7B-v0.3",
133
- "wikipedia2021_require_tokenizer_match": true,
134
- "early_stopping_patience": 0,
135
- "grad_accum_steps": 1,
136
- "gradient_checkpointing": true,
137
- "joint_engram_generated_router": false,
138
- "joint_source_reader": false,
139
- "joint_tri_reader": false,
140
- "joint_tri_subset_reader": true,
141
- "engram_source_loss_weight": 1,
142
- "generated_source_loss_weight": 1,
143
- "ge_source_loss_weight": 1,
144
- "gh_source_loss_weight": 1,
145
- "routed_source_loss_weight": 1,
146
- "subset_routed_source_loss_weight": 1,
147
- "tri_router_distillation_weight": 0.5,
148
- "deterministic_engram_init_seed": 42,
149
- "router_lr": 0.001,
150
- "router_start_tokens": 2000000,
151
- "router_init_alpha": 0.95,
152
- "generated_residual_penalty": 0,
153
- "skip_final_test_eval": true
154
- }
155
- },
156
- {
157
- "path": "/scratch/project_462001493/mingyl/ATHENA/run/tri_memory_joint_softsubset_20260903T053716Z/tri_20m_train/results.json",
158
- "sha256": "a58ee4f75a1d031ed432187aead3f05c74ccbae77b422a30375977cd39f7caa5",
159
- "data": {
160
- "completed": true,
161
- "condition": "transferred",
162
- "seed": 42,
163
- "target_model": "mistralai/Mistral-7B-v0.3",
164
- "source_memory": "/scratch/project_462001050/mingyl/llm-memory-transfer/publish_bundle/models/hf_repos/olaresearchx-xmemtransfer-llama2-source-20m/memory.pt",
165
- "memory_config": "/scratch/project_462001050/mingyl/llm-memory-transfer/publish_bundle/models/hf_repos/olaresearchx-xmemtransfer-llama2-source-20m/memory_config.json",
166
- "actual_steps": 9765,
167
- "best_step": 9500,
168
- "best_val_ppl": 7.106864372756262,
169
- "test_ppl_mean": null,
170
- "test_ppl_ci_lower": null,
171
- "test_ppl_ci_upper": null,
172
- "test_ppl_std": null,
173
- "n_test_batches": 0,
174
- "gate_stats": {
175
- "mean": 0.19435307383537292,
176
- "std": 0.27434995770454407,
177
- "median": 0.02147611789405346,
178
- "q25": 0.007544420193880796,
179
- "q75": 0.3552594482898712,
180
- "min": 0.000028459853638196364,
181
- "max": 0.9999998807907104,
182
- "frac_below_01": 0.6277618147369124,
183
- "frac_above_09": 0.020648141192574788
184
- },
185
- "elapsed_hours": 31.696360985504256,
186
- "skipped_final_test_eval": true,
187
- "training_design": "token_zero_joint_E_GE_GH_unified_seven_way_subset_reader",
188
- "training_data": "wikipedia-2021-causal-next-token-only",
189
- "max_tokens": 20000000,
190
- "validation": {
191
- "engram_only": {
192
- "ppl": 8.57136115504241
193
- },
194
- "generated_from_engram_only": {
195
- "ppl": 7.151684636249061
196
- },
197
- "generated_from_context_only": {
198
- "ppl": 7.0892322446412
199
- },
200
- "e_ge": {
201
- "ppl": 7.150237877157979
202
- },
203
- "e_gh": {
204
- "ppl": 7.079659271089071
205
- },
206
- "ge_gh": {
207
- "ppl": 7.0750096949333665
208
- },
209
- "tri_soft_fused": {
210
- "ppl": 7.0731739158680185
211
- },
212
- "tri_subset_routed": {
213
- "ppl": 8.085945578598778
214
- },
215
- "tri_subset_soft_fused": {
216
- "ppl": 7.106864372756262
217
- }
218
- },
219
- "trainable_params": 167385644
220
- }
221
- }
222
- ],
223
- "scoring_audit": {
224
- "baseline_artifact_protocol": "domain_conditional_pmi",
225
- "e_router_artifact_protocol": "dcpmi_next_token_synonym_sum",
226
- "remote_snapshots": [
227
- {
228
- "path": "/scratch/project_462001493/mingyl/ATHENA/snapshots/general_paper_aligned_20260918r1/scripts/eval_general_paper_aligned.py",
229
- "sha256": "c42b0d924e4a6410b6cff1480edee820e6e041d1d80440968917d86fe88eab35",
230
- "calls": "evaluate_task at 517/551"
231
- },
232
- {
233
- "path": "/scratch/project_462001493/mingyl/ATHENA/snapshots/general_paper_aligned_20260918r1/scripts/eval_general_nlp_halueval.py",
234
- "sha256": "63ca88f75509fa9cc3720c4d5f5142d0615ad60cd691da5f300dd6fcc70332f8",
235
- "scorer": "evaluate_task uses full-choice conditional minus domain log likelihood; default mean token reduction"
236
- },
237
- {
238
- "path": "/scratch/project_462001493/mingyl/ATHENA/snapshots/general_paper_aligned_20260918r2/scripts/eval_general_paper_aligned.py",
239
- "sha256": "5e8d9104622f51b6aa672ba02c269316692f67d3f57818976c68a3fff12adf2e",
240
- "calls": "evaluate_paper_task at 555/588; next-token synonym log-score sum"
241
- }
242
- ],
243
- "limitation": "Hashes captured at audit time, not launch time. Current snapshot r1 has evidence of edits; do not claim launch-code immutability. Results metadata itself differs.",
244
- "verdict": "Do not describe historical Vanilla + E + router as a verified unified three-row table."
245
- },
246
- "scaling_file_counts": {
247
- "no_memory_completed_result_files": 12,
248
- "advantage_router_completed_result_files": 5,
249
- "tri_experts_completed_result_files": 6,
250
- "live_scheduler_checked": false
251
- },
252
- "statistical_scope": "Single trained seed; paired predictions aligned by question and original order for four open QA tasks. No bootstrap or cross-seed significance claims."
253
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
paper_reference_data/experiment_results_summary.md DELETED
@@ -1,784 +0,0 @@
1
- # MemoryAthena 实验结果、评测流程与 Artifact 汇总
2
-
3
- > **状态**:2026-09-19 二次证据审计版。数值逐项对照 LUMI 原始 JSON,保留 SHA256、训练配置和代码依据。本次只读审计,未重训、重评测或修改队列。
4
- >
5
- > **重要更正**:旧版将 Vanilla / E / router 六任务表称为“统一协议”,证据不足。历史 Vanilla 使用的评分元数据与 E/router 不同,现降级为历史参考;E 与 router 的同协议对比仍保留。下游路由频率未被保存,不能用 corpus validation 权重或 oracle 选择率代替。详见第 14–17 节。
6
- >
7
- > **写作组织**:参考 [Cross-Model Memory Transfer via Target-Side Reader Adaptation](https://arxiv.org/pdf/2608.17050) 的证据链写法,将结果组织为研究问题、统一协议、主结果、迁移、消融、诊断和附录 artifact。
8
-
9
- ## 1. 结论摘要
10
-
11
- ### 1.1 主结论
12
-
13
- - 展示设置采用 **Yahoo τ=1.0,其余五任务 τ=0**:三模型 router 的 Yahoo 为 **57.43%**、六任务平均 **79.14%**,同 checkpoint 强制 E 平均 **76.73%**。Yahoo 门槛来自 **post-hoc test-set sweep**,须随表披露。全部任务默认 τ=0 时平均为 **77.22%**。历史 Vanilla 平均 **72.27%**,但评分函数未对齐,不能据此报告 router 相对 Vanilla 的净增益。
14
- - task-specific 展示设置相对 E 在 **SST2、MR、CR、RT、AGN 五项提升**,Yahoo 仅低 **0.0750 pp**,宏平均高 **2.41 pp**。默认 τ=0 的对应变化仍为 Yahoo **−11.60 pp**、平均 **+0.49 pp**,完整保留用于阈值敏感性分析。
15
- - 五个 QA 上,router 的 **F1/TruthfulQA MC mean** 均高于同 checkpoint 的强制 E:依次 **+4.74、+1.25、+1.34、+0.49、+0.30 pp**。但它并非所有路线中的最优,例如 WebQA 的 GE 单源和 E/GE 双源融合更高。独立 Engram baseline 具有不同训练历史,不能与同 checkpoint 的 `tri_E` 混称。
16
- - Mistral→Llama 的 QA 和六任务 NLP 结果均已找到原始 artifact。QA 多数指标低于 Mistral,但 WebQA 更高;NLP 的 router 相对目标侧 E 为四升、一降、一平。缺少匹配的 Vanilla Llama 行,不能证明迁移相对裸目标模型有净收益。
17
- - 三模型 general-NLP 和 coding 的训练 artifact 已完成;coding 目前只有 Vanilla BigCodeBench 下游结果,router 的 coding 下游结果尚未形成完整可比较表。
18
- - Scaling 已找到 12 个 no-memory、5 个 advantage-router 和 6 个 experts 完成结果文件;这只是 artifact 完成情况,本次未检查实时队列。三个 panel 尚未形成完整、逐点同口径的最终 router 对照。
19
-
20
- ### 1.2 证据状态
21
-
22
- | 实验线 | 状态 | 可否进入主文 | 备注 |
23
- |---|---|---:|---|
24
- | 六任务 E / 三模型 router | 同协议结果已完成 | 可以,需披露 | 同 checkpoint;单训练 seed;Yahoo 保留负结果 |
25
- | 六任务历史 Vanilla | 数值核实,scorer 不匹配 | 不能作为统一主表 baseline | 需补匹配 scorer 的 Vanilla 结果 |
26
- | 五任务 QA 主实验 | 已完成 | 可以,需披露 | EM/F1 与 TruthfulQA MC 指标;训练历史不完全相同 |
27
- | Mistral→Llama QA transfer | 已完成 | 可以作为 transfer | 目标侧结果已落盘 |
28
- | HaluEval | 已完成 | 可以作为 secondary stress test | 与 dCPMI 协议不同,不并入 NLP 平均 |
29
- | 三模型 general-NLP training | 已完成 | 可作为训练诊断 | 与主六任务下游结果分开表述 |
30
- | Nemotron-CC-Code training | 已完成 | 可作为 coding 训练诊断 | router coding 下游结果缺失 |
31
- | inference-only random-memory | 已完成(五项 QA;2026-09-20 核对原始结果) | 可放附录 | 只替换 inference memory,不重新训练 |
32
- | FFN-matched / affine-stitch / no-gate / permuted-key / train-from-scratch | 已完成 | 可放附录 | 主要是 QA 消融 |
33
- | scaling law | 部分结果完成 | 暂不宜作完整主结论 | 实时队列未复查;expert mean PPL 不等于 router PPL |
34
- | Yahoo threshold 0.9 / 1.0 sweep | 已完成 | 仅事后诊断附录 | 57.36% / 57.43%;可带 ‡ 展示,必须保留默认设置与事后选阈值说明 |
35
- | coding downstream router | 尚缺结果 | 暂不宜作方法结论 | 当前只有 baseline BigCodeBench |
36
-
37
- ## 2. 研究问题与证据链
38
-
39
- 本文可以按下面的 RQ 组织,避免把不同协议的结果混在一起:
40
-
41
- 1. **RQ1:多源 memory 是否比单一路径更有用?**
42
- - 证据:六任务 dCPMI 主表、五任务 QA 主表。
43
- 2. **RQ2:E-anchored advantage routing 是否优于已有融合规则?**
44
- - 证据:同 checkpoint 的 E、GE、GH、普通 hard/soft router 和两路限制融合;再辅以 no-gate / affine-stitch。旧两路实验的 α 是输入相关的 learned fusion,并不是常数或无条件相加。
45
- 3. **RQ3:router 是否依赖特定 memory key 或初始化?**
46
- - 证据:permuted-key、训练时 random-memory、inference-only random-memory。
47
- 4. **RQ4:接口是否可以跨 backbone transfer?**
48
- - 证据:Mistral→Llama 的 target-side reader/router 以及 QA 下游结果。
49
- 5. **RQ5:方法随 backbone、训练计算量和数据规模如何变化?**
50
- - 证据:scaling law;no-memory 结果已齐,memory 各阶段需逐点核对评测语料、预算与 checkpoint。
51
-
52
- ## 3. 训练与评测流程(注明协议差异)
53
-
54
- ### 3.1 四阶段训练流程
55
-
56
- 1. **Source-memory learning**:冻结 source backbone,通过 causal next-token LM loss 训练 Engram/hash memory 与 source adaptor,保存 `memory.pt`、`memory_config.json`、`source_adaptor.pt`。QA 历史主线导入已预训练的 Llama-2 source memory;NLP/coding 四阶段流水线各自在指定语料训练 memory。不能把这一步写成全程随机/冻结 memory。
57
- 2. **Source-reader adaptation**:训练三种 source path:
58
- - `E`:直接读取 Engram 的 reader;
59
- - `GE`:由 Engram cues 生成的 reader(generated-from-Engram);
60
- - `GH`:只由 causal backbone hidden/context 生成的 reader(generated-from-hidden)。
61
- 本阶段冻结 backbone 和 source memory,优化 generator/readers 及配置中的路由组件。**QA 历史 expert checkpoint 使用 joint source + pair + seven-subset 训练;后来的 general-mixed/coding 使用 E/GE/GH experts-only 训练。两者不能事后描述成完全相同的 training recipe。**
62
- 3. **E-anchored advantage router**:冻结 memory、backbone 和 source readers,仅训练约 535K 参数的 causal routing head。训练目标来自 counterfactual future-token loss advantage,而不是下游任务标签。
63
- 4. **Inference-only downstream evaluation**:冻结全部训练产物后评测。所谓“四阶段”包含最后的评测阶段,严格而言是三阶段参数优化加 inference。Random-memory 的 inference-only 消融只替换 memory,不重新训练 adaptor/router。
64
-
65
- ### 3.2 主 router 配置
66
-
67
- | 配置 | 值 |
68
- |---|---|
69
- | Target backbone | Mistral-7B-v0.3(主实验) |
70
- | Seed | 42 |
71
- | Router training tokens | 19,998,720(配置预算 20M) |
72
- | Validation tokens | 2M |
73
- | Sequence length | 2,048 |
74
- | Router run steps | 9,765;不是所有下游均使用 final-step checkpoint |
75
- | QA / general-NLP best checkpoint | step 4,000 / 8,000,对应 8,192,000 / 16,384,000 token positions |
76
- | Router hidden size | 64 |
77
- | Selected threshold | 0.0 |
78
- | Confidence threshold | 0.5 |
79
- | Router objective | `counterfactual_tri_advantage_distillation` |
80
- | Downstream labels used for training | 否 |
81
-
82
- ### 3.3 General NLP:E/router 的 next-token dCPMI 协议
83
-
84
- 对每个 label synonym token `v`,计算:
85
-
86
- ```text
87
- dCPMI(v) = log p(v | example context) - log p(v | task-domain context)
88
- ```
89
-
90
- 对标签 y 的 token-ID 集合 V_y 求 **log-score 之和**:`score(y) = Σ[v∈V_y] (log p(v|x) − log p(v|domain))`,不是概率求和或 log-sum-exp。synonym 按 tokenizer 映射到首个有效 token,再按实现去重。标签只用于 accuracy,不参与 memory、reader 或 router 训练;但在测试集上选择 sweep 最优阈值仍属于 test-set tuning。
91
-
92
- 历史 Vanilla artifact 为 `domain_conditional_pmi`,对应旧 `evaluate_task` 的 full-choice sequence scoring;E/router 为 `dcpmi_next_token_synonym_sum`,对应 `evaluate_paper_task`。两者不能仅因都称 dCPMI 就认定等价。
93
-
94
- | Task | 评测样本数 |
95
- |---|---:|
96
- | SST2 | 872 |
97
- | MR | 2,000 |
98
- | CR | 2,000 |
99
- | RT | 1,066 |
100
- | AGN | 7,600 |
101
- | Yahoo | 60,000 |
102
-
103
- ### 3.4 QA、HaluEval 与 coding
104
-
105
- - **Open-domain QA**:NQ、WebQA、TriviaQA、HotpotQA 报告 EM/F1(%)。
106
- - **TruthfulQA**:报告 MC1、MC2、MC3 以及这三个指标的算术平均(%)。
107
- - **HaluEval**:dialogue、QA、summarization 使用 choice-log-probability 评测;不与 dCPMI 六任务做宏平均。
108
- - **Coding**:Nemotron-CC-Code causal training 已有完成记录。BigCodeBench baseline 当前只保存 lexical EM/F1;`acc=null`,functional execution 未完成。`pass_k=[1]` 是评测配置,不是 pass@1 结果,不能将 F1 当作代码执行正确率。
109
-
110
- ### 3.5 结果有效性规则
111
-
112
- 每个结果至少检查:完成标记、有限数值、任务名、condition 名、seed、协议元数据和预期输出文件。当前主结果是 **单训练 seed=42**,未计算跨 seed 标准差,也未完成 bootstrap。单 seed 不妨碍基于成对测试样本估计不确定性,但这不能替代训练随机性的评估;本文不编造显著性、置信区间或 error bars。
113
-
114
- ## 4. 主实验一:六个 general-NLP 任务
115
-
116
- ### 4.1 E/router 同协议结果与历史 Vanilla 参考
117
-
118
- 准确率(%)。E/router 两行可直接比较;带 † 的历史 Vanilla 行仅便于追溯,**不能作为已统一评分协议的 baseline**。E-only 在这里是同一个训练产物的 `tri_e` 模式,不是独立训练的 Engram 模型。
119
-
120
- | Method | SST2 ↑ | MR ↑ | CR ↑ | RT ↑ | AGN ↑ | Yahoo ↑ | Average ↑ |
121
- |---|---:|---:|---:|---:|---:|---:|---:|
122
- | Vanilla Mistral †(历史 scorer) | 81.08 | 75.60 | 74.00 | 74.67 | 73.24 | 55.03 | 72.27 |
123
- | Engram-only | 84.17 | 81.00 | 82.40 | 82.36 | 72.93 | 57.51 | 76.73 |
124
- | Three-model E-anchored router ‡(Yahoo τ=1.0) | 88.07 | 84.70 | 84.10 | 83.86 | 76.64 | 57.43‡ | 79.14‡ |
125
- | Router reference(全部 τ=0) | 88.07 | 84.70 | 84.10 | 83.86 | 76.64 | 45.91 | 77.22 |
126
-
127
- ‡ **条件说明**:仅 Yahoo 使用 inference-time advantage threshold τ=1.0,其余五个任务保持 τ=0;复用同一个已训练 checkpoint,confidence threshold=0.5、max_scale=1.0,不重新训练。Yahoo 57.4317%(34,459/60,000)来自第 10 节的 **post-hoc test-set threshold sweep**,不是独立 validation 预先选定的门槛。79.14% 是该 task-specific 设置的六任务宏平均,不代表统一阈值或无测试集调参的结果。默认 τ=0 行保留用于对照。
128
-
129
- 相对 Engram-only 的变化(由未舍入数据计算):
130
-
131
- | Task | Router ‡ − Engram-only | 默认 τ=0 − Engram-only |
132
- |---|---:|---:|
133
- | SST2 | +3.90 | +3.90 |
134
- | MR | +3.70 | +3.70 |
135
- | CR | +1.70 | +1.70 |
136
- | RT | +1.50 | +1.50 |
137
- | AGN | +3.71 | +3.71 |
138
- | Yahoo | −0.0750 | −11.60 |
139
- | Average | +2.41 | +0.49 |
140
-
141
- ### 4.2 对结果的正确解释
142
-
143
- - 展示行使用 Yahoo-specific τ=1.0 后,Yahoo 恢复至 57.43%,六任务均值为 79.14%;该均值包含事后测试集阈值选择,必须带 ‡ 条件说明。默认统一 τ=0 的同 scorer 对比仍为 E 76.73%、router 77.22%。
144
- - 默认 τ=0 的 Yahoo 为 45.91%;τ=1.0 恢复到 57.43%,仍略低于 E 的 57.51%。两种设置均不能宣称所有任务超过 E。
145
- - Yahoo 更适合作为 calibration boundary:router 的 teacher 优化的是 causal future-token loss,而 Yahoo 是十分类 topic decision;二者的局部 token-level advantage 不必然对应最终分类正确率。
146
- - 旧版 aggregate 的 `clean` / `CONSISTENT` 已撤回。历史 Vanilla 行真实存在,但 full-choice scorer 与 E/router 的 next-token synonym scorer 不匹配。也不能以“更接近 MLP Memory 论文数字”为理由挑选不同 prompt/split 的版本。
147
-
148
- ### 4.3 NLP artifact
149
-
150
- - Aggregated table:`/Users/mingyl/ATHENA/paper_aggregates/dcpmi_nlp_six_task.aggregate.json`
151
- - Vanilla baseline:`/scratch/project_462001493/mingyl/ATHENA/run/general_paper_aligned_20260918/results/status.json`
152
- - Tri-E / router 主输出:`/scratch/project_462001493/mingyl/ATHENA/run/general_paper_aligned_tri_e_router_20260918/results/results.json`
153
- - CR/AGN/Yahoo repair output:`/scratch/project_462001493/mingyl/ATHENA/run/general_paper_aligned_cr_agn_yahoo_20260918/results/results.json`
154
- - 本地论文源文件:`/Users/mingyl/ATHENA/paper/three_router_draft.tex`
155
-
156
- ### 4.4 扩展 NLP 任务:HYP / CB / RTE
157
-
158
- 这三个任务来自扩展的九任务方向,但目前没有与六任务主表完全相同的完整三行 aggregate,因此建议作为附录诊断而不是主文 headline:
159
-
160
- | Condition | HYP | CB | RTE |
161
- |---|---:|---:|---:|
162
- | Tri-E / E-only repair | 55.38 | 67.86 | 71.48 |
163
- | Three-model router repair | 尚未形成完整 HYP 结果 | 60.71 | 72.56 |
164
-
165
- 这些输出的评测量分别为 HYP 65、CB 56、RTE 277 个样本;小样本波动较大,尤其不能将 HYP 数字当作未经说明的完整大规模 test benchmark。
166
-
167
- Artifact:
168
-
169
- - `/scratch/project_462001493/mingyl/ATHENA/run/general_paper_aligned_hyp_cb_rte_20260919/results/results.json`
170
- - `/scratch/project_462001493/mingyl/ATHENA/run/general_paper_aligned_hyp_cb_rte_20260919/repair2/results/results.json`
171
-
172
- 如果要把 HYP/CB/RTE 放进正文,必须先补齐 Vanilla、Engram-only、router 三行并重新生成一个带协议元数据的 aggregate。
173
-
174
- ## 5. 主实验二:五个 QA 任务
175
-
176
- ### 5.1 完整结果
177
-
178
- 开放域 QA 的单元格为 `EM/F1`(%);TruthfulQA 的单元格为 `MC1/MC2/MC3/mean`(%)。
179
-
180
- | Setting | NQ ↑ | WebQA ↑ | TriviaQA ↑ | TruthfulQA ↑ | HotpotQA ↑ |
181
- |---|---:|---:|---:|---:|---:|
182
- | Engram-only | 20.28/28.18 | 14.86/33.28 | 63.92/69.18 | 27.42/44.32/22.69/31.47 | 17.95/25.92 |
183
- | E-only path | 20.20/28.28 | 14.96/33.35 | 64.05/69.34 | 26.93/44.18/22.64/31.25 | 18.19/26.04 |
184
- | E/GE pair-restricted learned fusion | 12.86/28.70 | 16.44/34.79 | 33.70/58.72 | 27.54/43.40/22.72/31.22 | 8.70/23.20 |
185
- | E/GH pair-restricted learned fusion | 10.56/27.37 | 13.04/33.75 | 43.75/64.48 | 27.78/42.90/22.67/31.12 | 12.40/25.03 |
186
- | Three-source router | 22.72/33.02 | 17.86/34.60 | 62.78/70.68 | 28.15/44.04/23.02/31.74 | 15.62/26.34 |
187
- | Mistral→Llama transfer | 20.37/29.98 | 18.06/36.40 | 60.35/67.39 | 27.78/41.57/21.87/30.41 | 16.00/25.17 |
188
-
189
- ### 5.2 QA 结果解释
190
-
191
- - Router 相对独立 Engram 的 F1/MC mean:NQ **+4.84**、WebQA **+1.31**、TriviaQA **+1.50**、TruthfulQA **+0.26**、HotpotQA **+0.41**。差值由原始未舍入数值计算,不相减展示后的两位小数。
192
- - 更直接的 same-checkpoint 对比是 router−`tri_E`:**+4.74 / +1.25 / +1.34 / +0.49 / +0.30 pp**。这隔离了 inference rule 的改变,但没有匹配各规则不同的历史训练目标。
193
- - 两路 `tri_E_GE` / `tri_E_GH` 在实现中调用 masked learned softmax(按配置可 harden),可代数写成 `E + α(G−E)`,但 α 不是固定常数;它们也不等同于把最终 advantage head 限制为两候选后重训的严格 two-source advantage baseline。结果支持当前 E-anchored admission/interpolation 比若干既有融合规则更稳健,不构成独立证明“无条件 residual 必然有害”。
194
- - Router 在 TriviaQA/HotpotQA 上有时提升 F1 但不提升 EM,说明 token-overlap 改善不等于 exact answer recovery。
195
- - QA aggregate 标记为 `requires_disclosure`:standalone Engram-only 与 joint-checkpoint rows 的训练历史不完全相同,所以表格是 interface comparison,不是严格 compute-matched causal estimate。
196
-
197
- ### 5.3 QA artifact
198
-
199
- - Aggregated table:`/Users/mingyl/ATHENA/paper_aggregates/qa_five_task.aggregate.json`
200
- - 主 Mistral source/reader/router 根目录:`/scratch/project_462001493/mingyl/ATHENA/run/tri_advantage_formal_20260908T133625Z/`
201
- - 四阶段 general-mixed 训练诊断根目录:`/scratch/project_462001493/mingyl/ATHENA/run/tri_general-mixed_four_stage_20260916r3/`
202
- - general-mixed router validation:`/scratch/project_462001493/mingyl/ATHENA/run/tri_general-mixed_four_stage_20260916r3/advantage_router/results.json`
203
- - general-mixed expert validation:`/scratch/project_462001493/mingyl/ATHENA/run/tri_general-mixed_four_stage_20260916r3/experts/results.json`
204
-
205
- ## 6. Mistral→Llama transfer 与 HaluEval
206
-
207
- ### 6.1 Transfer QA
208
-
209
- 上表最后一行是已完成的 target-side Llama QA transfer。对应精确结果:
210
-
211
- - NQ:EM 20.37,F1 29.98
212
- - WebQA:EM 18.06,F1 36.40
213
- - TriviaQA:EM 60.35,F1 67.39
214
- - TruthfulQA:MC1 27.78,MC2 41.57,MC3 21.87,mean 30.41
215
- - HotpotQA:EM 16.00,F1 25.17
216
-
217
- Artifact:
218
-
219
- `/scratch/project_462001493/mingyl/ATHENA/run/mistral_to_llama_tri_20260909/llama_downstream_repair5/results.json`
220
-
221
- 相关训练输出:
222
-
223
- - Llama experts:`.../mistral_to_llama_tri_20260909/llama_experts/results.json`
224
- - Llama reader/router:`.../mistral_to_llama_tri_20260909/llama_reader/results.json`
225
- - source memory:`.../mistral_to_llama_tri_20260909/mistral_source/results.json`
226
-
227
- ### 6.2 Transfer general-NLP 表的审计说明
228
-
229
- 已核实独立结果文件,并纳入 evidence manifest:
230
-
231
- | Target-Llama condition | SST2 | MR | CR | RT | AGN | Yahoo | Mean |
232
- |---|---:|---:|---:|---:|---:|---:|---:|
233
- | E-only | 50.92 | 44.85 | 50.00 | 50.00 | 23.62 | 10.00 | 38.23 |
234
- | E-anchored router | 49.08 | 47.95 | 58.35 | 52.44 | 25.05 | 10.00 | 40.48 |
235
-
236
- Artifact:`/scratch/project_462001493/mingyl/ATHENA/run/general_paper_aligned_mistral_to_llama_20260918/results/results.json`。
237
-
238
- Router 相对 target E 在 MR/CR/RT/AGN 提升,SST2 下降,Yahoo 持平且停在 10%。缺少同协议 Vanilla Llama 对照,当前只能报告目标侧 E/router 对比,不能宣称正迁移或避免了负迁移。
239
-
240
- ### 6.3 HaluEval
241
-
242
- | Condition | Dialogue | QA | Summarization |
243
- |---|---:|---:|---:|
244
- | E-only | 49.59 | 50.12 | 54.82 |
245
- | Three-model router | 50.14 | 49.54 | 74.83 |
246
-
247
- Artifact:`/scratch/project_462001493/mingyl/ATHENA/run/tri_general_nlp_halueval_20260915/results/general_nlp_halueval_results.json`
248
-
249
- HaluEval 使用不同的 choice-log-probability protocol,不能与 dCPMI 六任务的平均值合并。Summarization +20.01 pp 是可展示的额外结果,但 Dialogue +0.55 pp、QA −0.58 pp;还需类别分布和 confusion matrix 排除偏置,不能外推为普遍降低 hallucination。
250
-
251
- ## 7. 消融实验
252
-
253
- ### 7.1 QA F1 / TruthfulQA mean 摘要
254
-
255
- | Method / ablation | NQ F1 | WebQA F1 | TriviaQA F1 | TruthfulQA mean | HotpotQA F1 |
256
- |---|---:|---:|---:|---:|---:|
257
- | Engram-only main | 28.18 | 33.28 | 69.18 | 31.47 | 25.92 |
258
- | Three-model router main | 33.02 | 34.60 | 70.68 | 31.74 | 26.34 |
259
- | No gate | 27.49 | 30.88 | 55.15 | 32.15 | 21.10 |
260
- | Permuted keys | 32.72 | 31.24 | 70.06 | 32.62 | 26.24 |
261
- | Random memory, trained | 33.00 | 33.35 | 73.01 | 31.59 | 28.04 |
262
- | Train from scratch | 33.79 | 34.26 | 72.97 | 32.09 | 27.71 |
263
- | FFN-matched | 14.10 | 23.81 | 41.61 | 30.56 | 14.50 |
264
- | Affine stitch | 32.06 | 30.95 | 67.49 | 32.58 | 25.98 |
265
-
266
- 这张表中 `Random memory, trained` 是旧的训练型 random-memory ablation,不能用于支持“inference-only random memory”结论。正确的 inference-only 结果单独列在下一节。
267
-
268
- ### 7.2 各消融完整结果与 artifact
269
-
270
- | Ablation | Exact QA result | Artifact |
271
- |---|---|---|
272
- | No gate | NQ 13.08/27.49;WebQA 11.61/30.88;TriviaQA 27.13/55.15;TruthfulQA 28.40/44.79/23.26/32.15;HotpotQA 6.32/21.10 | `/scratch/project_462001493/mingyl/ATHENA/run/tri_ablations_20260909/no_gate/downstream/results.json` |
273
- | Permuted keys | NQ 21.31/32.72;WebQA 16.44/31.24;TriviaQA 58.53/70.06;TruthfulQA 29.13/44.92/23.80/32.62;HotpotQA 13.91/26.24 | `/scratch/project_462001493/mingyl/ATHENA/run/tri_ablations_20260909/permuted_keys/downstream/results.json` |
274
- | Random memory, trained | NQ 23.91/33.00;WebQA 16.19/33.35;TriviaQA 67.34/73.01;TruthfulQA 27.66/44.16/22.94/31.59;HotpotQA 18.96/28.04 | `/scratch/project_462001493/mingyl/ATHENA/run/tri_ablations_20260909/random_memory/downstream/results.json` |
275
- | Train from scratch | NQ 24.38/33.79;WebQA 16.34/34.26;TriviaQA 66.87/72.97;TruthfulQA 28.76/44.15/23.35/32.09;HotpotQA 18.23/27.71 | `/scratch/project_462001493/mingyl/ATHENA/run/tri_ablations_20260909/train_from_scratch/downstream/results.json` |
276
- | FFN-matched | NQ 3.74/14.10;WebQA 6.15/23.81;TriviaQA 23.76/41.61;TruthfulQA 25.83/43.51/22.35/30.56;HotpotQA 3.05/14.50 | `/scratch/project_462001493/mingyl/ATHENA/run/tri_ffn_matched_20260912/ffn_only/downstream/results.json` |
277
- | Affine stitch | NQ 21.64/32.06;WebQA 13.34/30.95;TriviaQA 57.62/67.49;TruthfulQA 29.01/45.08/23.65/32.58;HotpotQA 14.87/25.98 | `/scratch/project_462001493/mingyl/ATHENA/run/tri_affine_stitch_20260912/affine_stitch/downstream/results.json` |
278
-
279
- ### 7.3 正确的 inference-only random-memory
280
-
281
- 2026-09-20 核对 LUMI 原始 results.json:五项 QA 均已完成。此前 Markdown 仅收录 TriviaQA,遗漏了 repair2 目录下的其余四项结果。
282
-
283
- 五份文件均为 `completed: true`、`ablation: inference_only_random_memory`、`runtime_mode: tri_advantage_routed`。均复用同一个已训练 adaptor checkpoint,仅在 inference 时替换 memory,不重新训练。
284
-
285
- | Task | EM (%) | F1 (%) | MC1 (%) | MC2 (%) | MC3 (%) | MC mean (%) | N |
286
- |---|---:|---:|---:|---:|---:|---:|---:|
287
- | nq | 22.5824 | 32.8819 | -- | -- | -- | -- | 3609 |
288
- | webqa | 17.9134 | 34.5588 | -- | -- | -- | -- | 2032 |
289
- | triviaqa | 62.4108 | 70.4646 | -- | -- | -- | -- | 17944 |
290
- | truthfulqa | -- | -- | 28.1518 | 44.1050 | 23.0367 | 31.7645 | 817 |
291
- | hotpotqa | 15.4625 | 26.1988 | -- | -- | -- | -- | 7405 |
292
-
293
- 五任务展示分数为 32.88 / 34.56 / 70.46 / 31.76 / 26.20,等权 Average = 39.17(混合四项 F1 与 TruthfulQA MC mean)。相对主 router 的展示分数差为 −0.14 / −0.04 / −0.22 / +0.02 / −0.14,Average 差为 −0.10(均值相减后再四舍五入)。
294
-
295
- - Random memory:seed 42,参数数 33,554,432,均值 −2.448764e−6,标准差 0.0200016145。
296
- - Adaptor checkpoint:`/scratch/project_462001493/mingyl/ATHENA/run/tri_advantage_formal_20260908T133625Z/reader_20m_train/adaptor_best.pt`
297
- - TriviaQA artifact:`/scratch/project_462001493/mingyl/ATHENA/run/tri_inference_random_memory_20260912/triviaqa_inference_random_memory_eval/results.json`
298
- - 其余四项 artifact:`/scratch/project_462001493/mingyl/ATHENA/run/tri_inference_random_memory_20260912_repair2/{task}_inference_random_memory_eval/results.json`,task 为 nq、webqa、truthfulqa、hotpotqa。
299
- - 本地原始文件副本:`paper/reference_recheck_20260920/random_inference_raw/`。
300
-
301
- 替换后四项 open-QA F1 小幅下降,TruthfulQA MC mean 小幅上升。该实验支持模型对随机替换较鲁棒,不能证明预训练 memory 内容不可替代。GH 或其他组件补偿是待检验解释。训练型 random-memory 的 73.01 TriviaQA F1 仍属另一实验,不能混用。
302
-
303
- ## 8. Training / PPL / 参数诊断
304
-
305
- ### 8.1 General-mixed 三模型训练
306
-
307
- | Stage | 关键结果 |
308
- |---|---|
309
- | Experts | tri-experts mean validation PPL 8.88136;Engram-only 9.07260;generated-from-context 8.78354;generated-from-Engram 8.79098;trainable params 167,364,632;约 16.01h |
310
- | Advantage router | routed validation PPL 8.83063;Engram 9.07260;GE 8.79091;GH 8.78358;trainable params 534,924;19,998,720 tokens;约 10.58h |
311
-
312
- Artifact root:`/scratch/project_462001493/mingyl/ATHENA/run/tri_general-mixed_four_stage_20260916r3/`
313
-
314
- ### 8.2 Nemotron-CC-Code training
315
-
316
- | Stage | 关键结果 |
317
- |---|---|
318
- | Experts | Engram PPL 3.10842;GE 2.99503;GH 2.98369;tri-experts mean 3.02853;167,364,632 trainable params;约 16.41h |
319
- | Advantage router | routed PPL 2.99563;19,998,720 tokens;534,924 trainable params;threshold 0.0;约 10.94h |
320
- | Downstream | Vanilla BigCodeBench:1,140/1,140,lexical F1 34.0928%,EM 0;`acc=null`,无已完成 functional pass@1;router downstream result 未找到 |
321
-
322
- Artifact root:`/scratch/project_462001493/mingyl/ATHENA/run/tri_nemotron-cc-code_four_stage_20260917_project493_r2/`
323
-
324
- BigCodeBench baseline:`.../04_eval_repair2/code/bigcodebench/baseline/results.json`
325
-
326
- ## 9. Scaling law
327
-
328
- ### 9.1 当前状态
329
-
330
- - Corrected no-memory protocol 是 **evaluation-only**:直接使用 backbone 做 baseline evaluation,不继续训练 no-memory baseline。
331
- - no-memory 12 个 scaling points 已完成,manifest:
332
- - `/scratch/project_462001493/mingyl/ATHENA/run/scaling_law_20260918/submitted_jobs_nomemory_eval_20260919.json`
333
- - no-memory result root:
334
- - `/scratch/project_462001493/mingyl/ATHENA/run/scaling_law_20260918/no_memory_eval/points/`
335
- - 本次只读检查发现 `advantage_router/results.json` 5 个完成点、`tri_experts/results.json` 6 个完成点。**未重查 squeue/sacct,不能把缺文件等同于当前仍在运行。**
336
- - `tri_experts_mean` 是三个独立 source 的 PPL 算术平均,不是混合输出分布的 PPL,更不是最终 router PPL。历史 panel-a 的 24.03/17.80/14.95 就属于这种 expert summary,不应直接冠以“最终 memory router”。
337
- - panel-a-small/medium 的 router-stage E PPL(41.65/31.47)与 expert-stage E PPL(25.60/19.02)明显不一致;在核对验证语料、loader、checkpoint 与 token window 前,不将这些 stage 数值拼为一条同口径曲线。
338
-
339
- ### 9.2 论文表述建议
340
-
341
- 当前可以写“12 个 frozen-backbone no-memory 点已有结果,memory 各阶段仅部分完成”。在最终 router、固定验证 token 集、参数数及计算预算逐点核实前,不拟合 scaling law,也不声称扩大 memory 参数一定优于 no-memory。
342
-
343
- Artifact root:`/scratch/project_462001493/mingyl/ATHENA/run/scaling_law_20260918/`
344
-
345
- ## 10. Yahoo threshold sweep(已完成,事后诊断)
346
-
347
- | Advantage threshold τ | Accuracy % | Total |
348
- |---|---:|---:|
349
- | 0.00(opt1) | 45.8967 | 60,000 |
350
- | 0.05 | 46.1150 | 60,000 |
351
- | 0.10 | 46.2483 | 60,000 |
352
- | 0.20 | 47.0283 | 60,000 |
353
- | 0.30 | 48.3583 | 60,000 |
354
- | 0.90(opt2) | 57.3600 | 60,000 |
355
- | 1.00(opt2) | 57.4317 | 60,000 |
356
- | E-only reference | 57.5067 | 60,000 |
357
-
358
- - τ 是预测 future-token advantage 的接纳门槛,不是“选 GE/GH 的概率”。τ=1 也不等价于强制 E;预测 gain 没有限制为 ≤1。强制 E 或 max_scale=0 才是结构上的 E-only。
359
- - 0.9/1.0 相比 E 仍低 0.1467/0.0750 pp,只支持“提高门槛能大幅缓解本次 Yahoo 退化”,不支持新的显著增益。
360
- - opt1 的 τ=0 为 45.8967%,与主表 45.9100% 相差 8/60,000 个预测;这是不同 batching/run,不抹平或默认为完全一致。
361
- - sweep 没有更新参数,但观察测试标签准确率后选阈值仍属于 test-set tuning。按作者要求,第 4 节展示 Yahoo τ=1.0 的条件性结果,并同列默认 τ=0 参考行;不能将 ‡ 行描述为无测试集调参的统一阈值结果。最终若报告独立泛化性能,应在独立 validation 上选择门槛。
362
-
363
- Artifacts:
364
-
365
- - `/scratch/project_462001493/mingyl/ATHENA/run/yahoo_router_threshold_sweep_20260919_opt1/results/results.json`
366
- - `/scratch/project_462001493/mingyl/ATHENA/run/yahoo_router_threshold_sweep_20260919_opt2/results/threshold-0p9/results.json`
367
- - `/scratch/project_462001493/mingyl/ATHENA/run/yahoo_router_threshold_sweep_20260919_opt2/results/threshold-1p0/results.json`
368
-
369
- ## 11. 推荐纳入论文附录的内容
370
-
371
- 以下结构与参考论文的“主文结论 + 细节/控制/复现附录”组织方式一致。
372
-
373
- ### Appendix A:Memory 与 reader 定义
374
-
375
- - Engram canonical address space;memory initialization;source/target backbone 的接口。
376
- - `E`、`GE`、`GH` 的输入、输出维度和冻结边界。
377
- - 说明 `GE/GH` 是 generated readers,不是额外下游分类器。
378
-
379
- ### Appendix B:完整四阶段训练配置
380
-
381
- - 20M train tokens、2M validation tokens、sequence length、steps、early stopping。
382
- - trainable parameter count、GPU hours、seed、checkpoint 命名。
383
- - router 的 counterfactual future-loss advantage target、threshold 和 confidence threshold。
384
-
385
- ### Appendix C:评测协议与数据统计
386
-
387
- - 六个 dCPMI 任务的 sample counts、domain context、label synonyms、prompt 模板。
388
- - QA 的 EM/F1 与 TruthfulQA MC1/MC2/MC3 定义。
389
- - HaluEval 的独立 scoring protocol。
390
- - downstream labels 只用于 evaluation 的数据流说明。
391
-
392
- ### Appendix D:完整 QA 消融
393
-
394
- - 本文第 7 节的完整 EM/F1/MC 表。
395
- - no-gate、permuted-key、FFN-matched、affine-stitch、train-from-scratch。
396
- - 把“训练型 random memory”和“inference-only random memory”分成两个小节,避免读者误解。
397
-
398
- ### Appendix E:Calibration 与失败分析
399
-
400
- - 每个任务的 router−Engram delta。
401
- - 已完成 Yahoo threshold 0.0–1.0 的事后诊断曲线,不用于测试集调参后的主结果。
402
- - 待补的实际下游 admission、exact-E fallback、GE/GH selection 与 confidence;现存 corpus 平均权重不能冒充上述统计。
403
- - 解释为什么 local future-token advantage 与十分类 topic accuracy 可能不一致。
404
-
405
- ### Appendix F:Transfer
406
-
407
- - Mistral→Llama 的 source memory、target-side reader、router 配置。
408
- - 五个 QA 的完整结果。
409
- - 第 6.2 节已找到 target-Llama 独立 `results.json`;尚缺匹配 Vanilla Llama baseline。
410
-
411
- ### Appendix G:Scaling 与计算成本
412
-
413
- - 12 个 no-memory evaluation points 与所有 memory points 的逐点结果。
414
- - 两条曲线的 backbone size、data/token budget、memory 参数量、router 参数量。
415
- - 训练时长、GPU 小时、是否 early stop、是否直接 inference-only。
416
-
417
- ### Appendix H:Coding 与 HaluEval
418
-
419
- - Nemotron-CC-Code 数据处理和 token budget。
420
- - BigCodeBench baseline 的评测配置。
421
- - router coding downstream 完成后再加入 paired comparison。
422
- - HaluEval 的三任务结果和协议说明。
423
-
424
- ### Appendix I:可复现 artifact manifest
425
-
426
- - 每个表格的 `source` JSON。
427
- - `submitted_jobs*.json`、Slurm job ID、stdout/stderr 位置。
428
- - 结果 schema、完成标记和验证脚本。
429
- - 明确记录单 seed,不生成不存在的 error bars。
430
-
431
- ## 12. 目前不应过度声称的内容
432
-
433
- 1. **不能声称 universal improvement**:Yahoo 是 −11.60 个百分点。
434
- 2. **不能声称严格的 compute-matched QA causal effect**:Engram-only 与 joint checkpoint 的训练历史不同。
435
- 3. **不能声称 scaling law 已完成或同口径成立**:memory 结果不完整,且阶段 PPL 分布需进一步核对。
436
- 4. **不能声称 coding router 已优于 baseline**:目前只找到 Vanilla BigCodeBench 结果,router downstream artifact 缺失。
437
- 5. **不能编造多 seed 显著性或未计算的置信区间**:当前单训练 seed;可另外做 paired-example bootstrap,但本报告未完成该检验。
438
- 6. **不能把 HaluEval、dCPMI、QA 指标混成一个总平均**:三者任务格式和 metric 不同。
439
-
440
- ## 13. 最终建议的主文结果组合
441
-
442
- 主文建议保留:
443
-
444
- 1. 六任务同 scorer 的 E/router 主表,保留 Yahoo 负结果;Vanilla 待匹配 scorer 重评后才能升格为统一三行主表。
445
- 2. 五任务 QA 主表:同 checkpoint E、GE、GH、hard/soft fusion、advantage router;独立 Engram 与 transfer 分块披露。
446
- 3. 一张方法图:四阶段训练与 inference-time E fallback / GE-GH conditional admission。
447
- 4. 一张小型消融表:pair-restricted learned fusion、no-gate、permuted key、inference-only random memory,避免把不同训练路径视为严格单变量因果对照。
448
- 5. HaluEval 作为 secondary stress test,而不是主平均。
449
-
450
- 其余完整数值、所有 ablation、scaling 逐点表、threshold sweep、compute accounting 和 artifact manifest 放入附录。
451
-
452
- ## 14. Method: E-Anchored Routing over Direct and Generated Memories
453
-
454
- > 以下英文段落按代码与实际 checkpoint lineage 撰写,可作为 ICLR Methods 的基础。名称统一为 **MemoryAthena**。“三模型”指三条 memory-reading 路径,不是三个独立 backbone。设计原则与历史运行差异分开披露。
455
-
456
- ### 14.1 Overview and notation
457
-
458
- MemoryAthena augments a frozen autoregressive backbone with three complementary memory-reading pathways: direct Engram retrieval (E), generation from retrieved Engram cues (GE), and generation from causal backbone states (GH). The central decision is not which pathway should replace the others globally, but when a generated contribution is useful relative to the direct-memory anchor. We separate representation learning from routing: first learn a source memory and its readers, then freeze these components and distill an E-relative advantage estimator using unlabeled text.
459
-
460
- Let \(x_{1:T}\) denote a token sequence, \(h_t^\ell\) the target-backbone state at injection layer \(\ell\), and \(M_\phi\) a learned Engram table indexed through a canonical address mapping of the causal input. Backbone parameters \(\theta\) remain frozen during memory-side adaptation. At each injection site, the readers construct residual contributions \(e_t^\ell\), \(g_{E,t}^\ell\), and \(g_{H,t}^\ell\), all in the target hidden-state space. Subscripts E and H on the generated paths identify their conditioning source, not separate language models.
461
-
462
- ### 14.2 Direct and generated memory readers
463
-
464
- The E path reads the retrieved memory representation directly. Generated paths transform a causal window of cues into a small latent memory that is read through the target-side interface. Abstracting branch averaging, projections, and gates into the reader functions gives
465
-
466
- \[
467
- \begin{aligned}
468
- m_t &= M_\phi[\operatorname{canon}(x_{\le t})],\\
469
- e_t^\ell &= R_E^\ell(h_t^\ell,m_t),\\
470
- z_{E,t}^\ell &= G^\ell(M_{t-w+1:t};\,\mathrm{E}),\\
471
- z_{H,t}^\ell &= G^\ell(H^{0,\ell}_{t-w+1:t};\,\mathrm{H}),\\
472
- g_{E,t}^\ell &= R_{GE}^\ell(h_t^\ell,z_{E,t}^\ell),\qquad
473
- g_{H,t}^\ell = R_{GH}^\ell(h_t^\ell,z_{H,t}^\ell).
474
- \end{aligned}
475
- \]
476
-
477
- Here \(H^{0,\ell}\) denotes causal hidden states from a memory-disabled backbone pass. Each reader includes its learned output gating; these equations describe residual contributions rather than complete decoder states. Generated paths share components and use source-conditioned parameters, including source embeddings and low-rank adaptations. They are not three independently parameterized full readers or separately fine-tuned backbones.
478
-
479
- The audited Mistral configuration uses injection layers 2 and 10, memory dimension 512, four reader branches, four generated latents, a causal cue window of three positions, and a generator with width 256, two layers, and four attention heads. The source-adaptation rank is 16. These are run-specific settings, not defining constraints of the formulation. GH requires an additional clean backbone computation in the current implementation; freezing the backbone does not make this computation free.
480
-
481
- ### 14.3 Learning memory and source readers
482
-
483
- **Stage 1: source-memory learning.** We optimize the Engram table and source-side adaptor under causal language modeling while freezing the source backbone:
484
-
485
- \[
486
- \mathcal L_{\mathrm{mem}}(\phi,\psi_{\mathrm{src}})
487
- =-\sum_t\log p_{\theta_{\mathrm{src}},\phi,\psi_{\mathrm{src}}}
488
- (x_{t+1}\mid x_{\le t}).
489
- \]
490
-
491
- This stage produces the reusable memory and canonicalization configuration. Transferring the memory does not imply that the source adaptor can be used unchanged in a different backbone.
492
-
493
- **Stage 2: source-reader adaptation.** We freeze the memory and target backbone and learn the generator and target-side readers. In the later general-NLP/coding pipeline, the three endpoints receive equal-weight causal LM supervision:
494
-
495
- \[
496
- \mathcal L_{\mathrm{experts}}
497
- =\tfrac13\sum_{s\in\{E,GE,GH\}}
498
- \left[-\sum_t\log p_s(x_{t+1}\mid x_{\le t})\right].
499
- \]
500
-
501
- The historical QA expert checkpoint differs: its joint objective additionally trains pair-restricted, three-way, and subset-fusion paths with routing distillation. Its configuration is <code>joint_tri_subset_reader=true</code>; the later pipeline uses <code>joint_tri_experts_only=true</code>. We retain this distinction rather than retroactively attributing every result to the later simplified recipe. The final advantage head in stage 3 uses three source candidates in both cases; legacy subset training does not mean that the deployed advantage head chooses among seven candidates.
502
-
503
- ### 14.4 Counterfactual advantage distillation
504
-
505
- **Stage 3: routing-head learning.** With the backbone, memory, and source readers frozen, we evaluate each endpoint under teacher forcing. Its token-level advantage over E is
506
-
507
- \[
508
- a_{s,t}=
509
- \log p_s(x_{t+1}\mid x_{\le t})
510
- -\log p_E(x_{t+1}\mid x_{\le t}),\qquad a_{E,t}=0.
511
- \]
512
-
513
- Each counterfactual pass forces the same endpoint at all configured injection layers. Targets therefore measure a full-path difference, not an isolated intervention at a single layer. We average future-token advantages over horizons \(\mathcal H=\{1,4,8,16,32\}\):
514
-
515
- \[
516
- A_{s,t}=\frac1{|\mathcal H_t|}
517
- \sum_{k\in\mathcal H_t}
518
- \frac{\sum_{j=0}^{k-1}v_{t+j}\,a_{s,t+j}}
519
- {\sum_{j=0}^{k-1}v_{t+j}},
520
- \]
521
-
522
- where invalid/out-of-range targets are excluded and \(\mathcal H_t\) contains nonempty horizons. Future tokens construct offline supervision only. At deployment the router sees causal features, not future text or downstream labels.
523
-
524
- At each injection layer, a small head predicts an advantage \(\widehat A_{s,t}^\ell\) and confidence logit \(c_{s,t}^\ell\). Detached features combine the current hidden state with source gate strength, residual magnitude, pairwise similarity, active-source indicators, and projected semantic features. E has fixed predicted advantage zero. The supervised probe preserves the E forward stream while exposing detached generated alternatives.
525
-
526
- For \(s\in\{GE,GH\}\), let \(u_{s,t}=\operatorname{clip}(|A_{s,t}|,0.01,2)\). The objective is the valid-position weighted average of
527
-
528
- \[
529
- \operatorname{SmoothL1}\!\left(\widehat A_{s,t}^\ell,
530
- \operatorname{clip}(A_{s,t},-2,2)\right)
531
- +0.25\,\operatorname{BCEWithLogits}
532
- \!\left(c_{s,t}^\ell,\sigma(A_{s,t}/0.15)\right),
533
- \]
534
-
535
- weighted by \(u_{s,t}\), then averaged across injection-layer heads. Only the advantage heads are updated: 534,924 trainable parameters in the audited Mistral runs. Confidence is trained against a soft advantage-derived target; it is not established to be a calibrated probability of downstream correctness.
536
-
537
- ### 14.5 Causal E-anchored inference
538
-
539
- A generated endpoint is eligible if its predicted advantage exceeds \(\tau\), its sigmoid confidence is at least \(\rho\), and the endpoint and predictions are finite and valid. The router chooses the largest predicted advantage among eligible generated endpoints. If none is eligible, it returns E exactly. For the selected endpoint \(s^\star\),
540
-
541
- \[
542
- \alpha_t^\ell =
543
- a_{\max}\,
544
- \operatorname{clip}
545
- \left(\frac{\widehat A_{s^\star,t}^\ell-\tau}{T_\alpha},0,1\right)
546
- \sigma(c_{s^\star,t}^\ell),\qquad
547
- r_t^\ell=e_t^\ell+\alpha_t^\ell
548
- \left(g_{s^\star,t}^\ell-e_t^\ell\right).
549
- \]
550
-
551
- On rejection, \(\alpha_t^\ell=0\). The backbone receives \(h_t^\ell\leftarrow h_t^\ell+r_t^\ell\). Main checkpoints use \(\tau=0\), \(\rho=0.5\), \(T_\alpha=0.15\), and \(a_{\max}=1\), with threshold selection based on corpus-validation advantage estimates rather than downstream accuracy.
552
-
553
- This rule provides an exact architectural fallback to the **E path of the same frozen checkpoint**. It does not guarantee downstream non-degradation or fall back to the bare backbone. False-positive admission can still reduce accuracy, as the Yahoo results illustrate.
554
-
555
- The effective contribution weights are
556
- \((w_E,w_{GE},w_{GH})=(1-\alpha,\alpha\,\mathbf1[s^\star=GE],
557
- \alpha\,\mathbf1[s^\star=GH])\).
558
- Average weights and discrete selection frequencies answer different questions: E can carry most of the interpolation mass even when generated endpoints are frequently admitted.
559
-
560
- ### 14.6 Training lineage and evaluation boundaries
561
-
562
- The QA router uses Wikipedia-2021 causal text and imports a previously learned Llama-2 source memory. The later NLP pipeline trains on an equal-token mixture of WikiText-103, Amazon Polarity review text, CC-News, and IMDB text. Coding uses Nemotron-CC-Code. Downstream classification/QA labels are not training targets.
563
-
564
- QA and general-NLP routing runs each process 9,765 packed sequences of length 2,048, or 19,998,720 token positions. Their selected checkpoints are step 4,000 and 8,000 respectively. These are routing-stage input budgets, not end-to-end budgets, unique-document counts, or backbone-forward-equivalent compute. Counterfactual teaching requires multiple frozen-model passes per update.
565
-
566
- All components are frozen for downstream evaluation (stage 4). We report QA EM/F1, the mean of three TruthfulQA MC metrics, and classification accuracy separately. The auditable same-scorer NLP comparison is currently E versus router; historical Vanilla scores require scorer alignment. The general-mixed loader also uses different shuffled streams of the same CC-News split for training and validation, which does **not** ensure document disjointness. A document-ID/hash audit is needed before claiming disjoint validation or corpus/benchmark decontamination.
567
-
568
- ### 14.7 代码与 checkpoint 依据
569
-
570
- - Memory learning:[train_source_memory.py](/Users/mingyl/ATHENA/scripts/train_source_memory.py)。
571
- - Expert objectives:[train_adaptor.py](/Users/mingyl/ATHENA/scripts/train_adaptor.py)。
572
- - Teacher、loss、selection、validation weights:[train_counterfactual_router.py](/Users/mingyl/ATHENA/scripts/train_counterfactual_router.py)。
573
- - 三路构造、pair fusion、admission/interpolation:[tri_memory.py](/Users/mingyl/ATHENA/engram/tri_memory.py)。
574
- - Clean hidden-state pass:[backbone_wrapper.py](/Users/mingyl/ATHENA/engram/backbone_wrapper.py)。
575
- - 语料与 split:[data.py](/Users/mingyl/ATHENA/engram/data.py)。
576
- - 实际 config、best-step、checkpoint 路径与原始文件 hash 见第 17 节 manifests。当前源码解释机制,历史配置界定运行;不能将二者视为逐 job 不可变的完整代码 provenance。
577
-
578
- ## 15. Router 更常使用 E、GE 还是 GH?
579
-
580
- ### 15.1 目前能回答什么
581
-
582
- **不能从现有 artifacts 得出“每个 QA 或每个 NLP 任务实际选哪条路最多”。** 五个 QA 和六个 NLP 的结果文件保存了性能/预测,但没有部署 advantage router 的逐任务、逐层、逐 token selection counts。现有可用的是 corpus-validation 平均融合权重,以及 QA 的 gold-label oracle 选择计数。二者必须分别报告。
583
-
584
- | 对应 checkpoint 的验证语料 | E 平均权重 % | GE 平均权重 % | GH 平均权重 % | 最大平均贡献 |
585
- |---|---:|---:|---:|---|
586
- | QA:Wikipedia-2021 | 23.59 | 7.56 | 68.85 | GH |
587
- | NLP:general-mixed | 62.85 | 4.49 | 32.67 | E |
588
- | Coding:Nemotron-CC-Code | 64.80 | 5.11 | 30.09 | E |
589
-
590
- 因此仅在**对应 corpus validation**上,可说 QA 的平均贡献以 GH 为主,NLP 以 E 为主;两者 generated 部分都是 GH 多于 GE。不能外推为 SST2、Yahoo、NQ 等各自的实际选择比例。
591
-
592
- 统计定义:训练脚本先对每层的 batch/token 位置取平均,再平均 injection layers 和 batches;不是按任务统计的 one-hot source frequency,也不是已明确排除 padding 的 mask-aware token 计数。E 的权重包含 admitted generated path 中保留的 `1−α` 部分,不等于 exact-E fallback 频率。
593
-
594
- 对应 corpus 的 calibration teacher stream 记录 generated admission 为 QA **99.9739%**、general-NLP **98.0711%**。这是另一个统计口径,不是逐任务 deployed route count。尤其“结构上可以回退 E”不等于“实际很少使用 generated path”;NLP 的 E 权重很大也可与高 generated admission 并存。
595
-
596
- Artifacts:
597
-
598
- - QA:`/scratch/project_462001493/mingyl/ATHENA/run/tri_advantage_formal_20260908T133625Z/reader_20m_train/results.json` → `validation.tri_advantage_routed.router_weights`。
599
- - NLP:`/scratch/project_462001493/mingyl/ATHENA/run/tri_general-mixed_four_stage_20260916r3/advantage_router/results.json` → 同字段。
600
- - Coding:`/scratch/project_462001493/mingyl/ATHENA/run/tri_nemotron-cc-code_four_stage_20260917_project493_r2/advantage_router/results.json` → 同字段。
601
-
602
- ### 15.2 QA source oracle 分布:不是 router 实际选择
603
-
604
- Oracle 在每道题看过 gold answer 后,从 E/GE/GH 的独立结果里选择最大 F1(TruthfulQA 为 MC mean)的来源。它用于诊断候选互补性,不能用来汇报实际 router 行为,也不能作为可部署的方法结果。
605
-
606
- | Task | N | Oracle E:count(%) | Oracle GE:count(%) | Oracle GH:count(%) |
607
- |---|---:|---:|---:|---:|
608
- | NQ | 3609 | 2854 (79.08) | 475 (13.16) | 280 (7.76) |
609
- | WebQA | 2032 | 1428 (70.28) | 336 (16.54) | 268 (13.19) |
610
- | TriviaQA | 17944 | 15764 (87.85) | 1345 (7.50) | 835 (4.65) |
611
- | TruthfulQA | 817 | 361 (44.19) | 254 (31.09) | 202 (24.72) |
612
- | HotpotQA | 7405 | 6150 (83.05) | 762 (10.29) | 493 (6.66) |
613
-
614
- 所有 QA 的 oracle 计数中 E 都最多,但**不能据此说实际 router 最爱选 E**。候选同分按 E→GE→GH 的顺序保留,所有路径同为失败/零分时也可能记为 E,因此 E 占比包含 tie-breaking 偏置。该表与上节 QA validation 中 GH 平均权重最高��不矛盾。
615
-
616
- ### 15.3 真正的下游 routing census 应如何补
617
-
618
- 这是尚未执行的诊断设计,不是新增结果:
619
-
620
- 1. 保持主 checkpoint、prompt、split、阈值不变,记录每任务每 injection layer 的 eligible/admitted source、α、confidence,以及最终平均 E/GE/GH 权重。
621
- 2. 分开统计 input prompt 与 answer/generated tokens;NLP 还需分开 example context 与 dCPMI domain-context forward。
622
- 3. 排除 padding、重复 teacher/counterfactual forward;避免在 autoregressive cache-disabled 重算前缀时重复累计同一个 token。报告有效计数和分母。
623
- 4. 同时报告 exact E fallback rate、GE/GH admission frequency、conditional mean α 和总体 mixture weight;不要只给一个“usage”百分比。
624
- 5. 下游标签只用于事后分析正确/错误子组,不进入路由决策或阈值选择。若先用固定子样本诊断,标注样本量,不能伪装为全测试集统计。
625
-
626
- ## 16. 哪些现有实验最能支撑三路 routing?
627
-
628
- ### 16.1 优先证据:同 checkpoint 的不同 inference rule
629
-
630
- F1(%),TruthfulQA 为 MC mean。所有行取自主 QA artifact 的 `scalar_summary`;这里不混入重新训练的 FFN 等条件。
631
-
632
- | Inference rule | NQ | WebQA | TriviaQA | TruthfulQA | HotpotQA |
633
- |---|---:|---:|---:|---:|---:|
634
- | E only | 28.28 | 33.35 | 69.34 | 31.25 | 26.04 |
635
- | GE only | 28.75 | 35.24 | 58.62 | 31.14 | 23.18 |
636
- | GH only | 24.55 | 30.80 | 56.70 | 31.04 | 22.95 |
637
- | Ordinary three-source hard routing | 26.69 | 35.13 | 61.80 | 31.18 | 24.36 |
638
- | Ordinary three-source soft fusion | 19.66 | 26.05 | 46.36 | 31.13 | 19.91 |
639
- | Legacy subset hard routing | 28.42 | 33.30 | 69.38 | 31.55 | 26.06 |
640
- | Legacy subset soft fusion | 23.17 | 28.71 | 44.37 | 31.89 | 19.27 |
641
- | E-anchored advantage router (ours) | 33.02 | 34.60 | 70.68 | 31.74 | 26.34 |
642
-
643
- - **最直接支持**:ours 比同 checkpoint E 在五个 QA 全部提高;比 ordinary soft fusion 五个全部提高;比 ordinary hard routing 四个提高,WebQA 低 **0.53 pp**。
644
- - **不能声称全线最优**:GE-only 的 WebQA 为 35.24,高于 ours 34.60;legacy subset-soft 的 TruthfulQA 为 31.89,高于 ours 31.74。
645
- - 这支持“E-relative admission/interpolation 在当前设置比若干普通融合规则更稳健”,但各 head 的训练目标不同,不是预算完全匹配的 routing-objective 随机对照。
646
- - NLP 的同协议 E/router 表提供跨任务补充证据:五升一降、宏平均 +0.49 pp。Yahoo 的大幅下降是方法边界,不应删除。
647
-
648
- ### 16.2 三源互补性:gold oracle 上界
649
-
650
- | Task | E+GE source oracle | E+GH source oracle | E+GE+GH source oracle | 三源 − 最好 E-pair(pp) | 实际 ours |
651
- |---|---:|---:|---:|---:|---:|
652
- | NQ | 36.01 | 34.82 | 38.33 | 2.32 | 33.02 |
653
- | WebQA | 40.30 | 39.87 | 43.67 | 3.37 | 34.60 |
654
- | TriviaQA | 74.82 | 74.48 | 76.62 | 1.79 | 70.68 |
655
- | TruthfulQA | 33.97 | 34.05 | 34.78 | 0.73 | 31.74 |
656
- | HotpotQA | 31.73 | 31.43 | 34.08 | 2.35 | 26.34 |
657
-
658
- 三源 oracle 高于两个 E-pair oracle,说明在这些测试样本中额外来源提供了不同的成功案例。候选更多使 oracle 上界不减本来就是数学必然,因此不能仅凭上界提升就证明学习到的 router 更好;真正部署收益仍以上节 ours 为准。尤其 router 与 oracle 的距离显示候选互补性尚未充分转化为可预测的收益。以上 oracle 使用测试标签,只用于 post-hoc analysis,不用于训练或主结果选择。
659
-
660
- ### 16.3 成对样本诊断:ours 相对同 checkpoint E
661
-
662
- 从原始 per-example predictions 按相同问题顺序核对,统计 F1 的提升、下降及不变;不只比较任务均值。
663
-
664
- | Task | N | F1 improved | F1 degraded | F1 unchanged | Mean ΔF1(pp) |
665
- |---|---:|---:|---:|---:|---:|
666
- | NQ | 3609 | 553 | 324 | 2732 | 4.74 |
667
- | WebQA | 2032 | 353 | 306 | 1373 | 1.25 |
668
- | TriviaQA | 17944 | 1698 | 1672 | 14574 | 1.34 |
669
- | HotpotQA | 7405 | 855 | 819 | 5731 | 0.30 |
670
-
671
- 这些是描述性统计,不是显著性检验:例如 TriviaQA 的 improve/degrade 计数接近,但改变幅度不同,仍可产生正均值。后续可从已保存预测做 paired bootstrap,不需要重新跑模型;当前尚未计算 CI。TruthfulQA 未在本次脚本中做对应逐题重算,不能借用开放 QA 的统计口径补齐。
672
-
673
- ### 16.4 消融证据的力度与边界
674
-
675
- | 实验 | 现有证据支持什么 | 不支持什么 | 建议位置 |
676
- |---|---|---|---|
677
- | Same-checkpoint E vs ours | conditional fusion 的实际收益,QA 5/5、NLP 5/6 | 所有数据集必然提升 | 主文 |
678
- | Hard/soft routing controls | 相对普通 learned fusion 的稳健性 | 每个 head 同预算同目标的纯因果结论 | 主文小表+附录 |
679
- | Three-source oracle | 三来源有互补的成功样本 | 实际 router 会按 oracle 选择 | 诊断附录 |
680
- | No gate | 当前 gated 实现比该重训变体在 QA 4/5 更好 | gating 对所有任务都有正效应 | 消融附录 |
681
- | Affine stitch | 当前 full 方法在该对照的 QA 4/5 更好 | affine 方法在相���预算下普遍劣于生成 reader | 消融附录 |
682
- | FFN-matched | 此实现的性能明显低于主方法 | 参数匹配就等于 FLOP/训练充分性/初始化匹配 | 附录,披露预算 |
683
- | Permuted keys | 当前置换条件有任务相关变化 | 所有性能依赖精确 memory addressing | 附录 |
684
- | Random memory at inference | TriviaQA 对该替换较鲁棒,只降 0.21 F1 | 预训练 memory 内容不可替代 | 必须保留的边界证据 |
685
- | Random-memory trained / scratch | 不同训练历史可有竞争性或更高表现 | 原始 memory 训练一定优于随机初始化 | 完整消融附录 |
686
- | Yahoo threshold sweep | 提高 τ 能缓解此次失配 | 测试集最优阈值是无偏的新 headline | Calibration 附录 |
687
- | HaluEval summarization | 单一 stress test 有 +20.01 pp | 普遍抑制 hallucination | Secondary results |
688
- | Transfer | 同一框架能适配目标侧并产生结果 | 相对 Vanilla Llama 正迁移/无损迁移 | 独立 transfer 表 |
689
-
690
- FFN、affine、no-gate、scratch 等是不同训练产物,而非全部只改 inference 的单变量实验。FFN 参数匹配也未证明相同优化预算或充分收敛。Random-trained / scratch 在部分任务优于主方法,必须呈现,不能挑选有利行制造“所有消融均下降”。
691
-
692
- ### 16.5 若继续补实验,优先级如何安排
693
-
694
- 以下均为建议,**本次没有提交新作业**:
695
-
696
- 1. **先补严格匹配的 Vanilla 六任务**:锁定 r2 scorer、dataset IDs、prompt/verbalizer、tokenizer、max length 和 batch 设置。解决现有主表最关键的比较风险。
697
- 2. **做下游 routing census**:回答每个任务的 E/GE/GH 用量,尤其对比 Yahoo 与成功任务;固定 checkpoint 与阈值,不用测试标签校准。
698
- 3. **相同 advantage-head 协议下的二源/三源对照**:在相同 corpus token budget、head 目标与冻结 experts 下比较 E+GE、E+GH、E+GE+GH,补足“第三来源必要性”的直接证据。现有 learned pair-fusion 不能完全替代。
699
- 4. **Paired bootstrap 与训练多 seed**:先利用已存 QA predictions 做低成本 paired CI,再按资源预算决定是否训练额外 seed;两者分别描述测试样本和训练随机性。
700
- 5. **Memory-content control 补全**:固定同 checkpoint,在更多 QA 和 NLP 上做 inference-only randomized/zero/permuted memory,并同步记录 routing;将性能维持与 route compensation 区分。
701
- 6. **Corpus split/decontamination 审计**:先修订 CC-News 文档级划分验证方案,检查 general-mixed 与 downstream 的文本重叠;不得把无监督训练等同于不存在测试语料污染。
702
- 7. **最后再扩展 compute/scale 或 code claims**:先统一 scaling 的验证集和最终模型定义;coding 必须完成隔离执行的 pass@1,而不是用 lexical F1 宣称代码能力提升。
703
-
704
- ### 16.6 可用于论文 Results 的克制表述
705
-
706
- > With the default threshold τ=0 on every task, E-anchored advantage routing improves all five QA summary metrics and five of six general-NLP tasks. The QA gains range from 0.30 to 4.74 percentage points, while the six-task classification macro-average increases from 76.73% to 77.22%. These gains are not uniform across routing alternatives or domains: Yahoo accuracy decreases by 11.60 points, and individual source or subset-fusion baselines remain stronger on selected tasks. Source-oracle analysis reveals complementary successes across E, GE, and GH, but a substantial gap remains between this label-informed upper bound and learned routing. Together, the results support conditional, task-dependent gains from E-anchored fusion rather than universal dominance or the indispensability of pretrained memory content.
707
-
708
- > In a post-hoc Yahoo test-set threshold sweep, setting τ=1.0 restores accuracy to 57.43%, compared with 57.51% for E-only. Combining this setting with unchanged τ=0 results on the other five tasks yields a macro-average of 79.14%. This task-specific result includes test-set hyperparameter selection and is reported separately from the default-threshold evaluation.
709
-
710
-
711
- ## 17. 证据审计、Artifact 索引与复现边界
712
-
713
- ### 17.1 本次更正记录
714
-
715
- | 旧表述或缺口 | 审核后处理 | 依据 |
716
- |---|---|---|
717
- | 六任务 Vanilla/E/router 已完全统一 | 撤回三行统一声明;保留 E/router 同协议比较 | Vanilla 元数据为 full-choice `domain_conditional_pmi`;E/router 为 `dcpmi_next_token_synonym_sum`;r1/r2 调用函数不同 |
718
- | Memory 一开始就冻结 | 改为 source-memory causal LM 训练,之后冻结 | `train_source_memory.py` 与 general-mixed source config |
719
- | 所有任务相同四阶段训练历史 | 区分 QA imported memory + joint subset experts 与后续 domain experts-only | QA/NLP 实际 config 与 results |
720
- | 两路 α 是固定 residual | 改为 pair-restricted learned fusion | mode mapping 与 `TriMemoryAdaptor._route` |
721
- | TruthfulQA 四者平均 | 更正为 MC1/MC2/MC3 三者平均 | `mc_avg` / scalar summaries |
722
- | QA 小差值从显示数值相减 | 改为由原始精度重算 | 五个 QA scalar summaries |
723
- | Transfer NLP 缺 artifact | 补上已核实原始结果 | `general_paper_aligned_mistral_to_llama_20260918` |
724
- | Yahoo 0.9/1.0 仍运行中 | 更新为两个 60,000 样本完成结果 | opt2 各 threshold JSON |
725
- | Validation weights 等于下游 route frequency | 分开报告,并注明下游 counters 缺失 | result schema 与 `evaluate_tri_ppl` 实现 |
726
- | Oracle counts 等于实际路由 | 明确 gold-label post-hoc oracle + E 优先 tie-break | QA oracle 字段与 oracle 脚本 |
727
- | BigCodeBench F1 可以代表 coding accuracy | 明确 lexical only,functional `acc=null` | 原始 `metric_note` |
728
- | 单 seed 不能做任何置信区间 | 更正为尚未计算 paired CI、没有跨 seed 方差 | 已保存逐题预测;`bootstrap_completed=false` |
729
- | Scaling expert mean 即最终 router PPL | 区分独立 expert 均值与 router 输出,并标记阶段验证差异 | experts/router 各自 validation 字段 |
730
-
731
- Baseline 审计还有一个 provenance 限制:当前 r1 snapshot 中函数定义/调用存在历史修改痕迹,不能把审计时的文件 hash 当作作业启动时的不可变代码 hash。**原始结果中的 scorer 标签确实不一致**,因此无论是否能完整重建 launch code,都不足以维持“已验证统一”的声明。当前只在相关 run/snapshot 范围查找,未发现可直接替换的完整六任务、同 r2 scorer 的 Vanilla 结果;这不是对全部磁盘的绝对不存在证明。
732
-
733
- ### 17.2 本地审计产物
734
-
735
- - 更新后的本文:[experiment_results_summary.md](/Users/mingyl/ATHENA/paper/experiment_results_summary.md)。
736
- - 主 evidence manifest:[evidence_audit_20260919.json](/Users/mingyl/ATHENA/paper_aggregates/evidence_audit_20260919.json):原始路径、SHA256、字节数、config/metrics 摘要及 QA paired counts。prediction 长列表为节省空间省略,远端原始结果保留。
737
- - 补充证据:[evidence_audit_supplement_20260919.json](/Users/mingyl/ATHENA/paper_aggregates/evidence_audit_supplement_20260919.json):Yahoo 新完成结果、QA expert lineage、r1/r2 scorer hashes 与审计限制。
738
- - Router/支持性分析:[routing_and_support_audit_20260919.json](/Users/mingyl/ATHENA/paper_aggregates/routing_and_support_audit_20260919.json):同 checkpoint 标量、source oracle、paired counts、验证集权重及源 hash。
739
- - NLP aggregate:[dcpmi_nlp_six_task.aggregate.json](/Users/mingyl/ATHENA/paper_aggregates/dcpmi_nlp_six_task.aggregate.json):已将 `paper_use_status` 改为 `requires_disclosure`、三行对齐 verdict 改为 `INCONSISTENT`,保留真实数值与角色说明。
740
- - QA aggregate:[qa_five_task.aggregate.json](/Users/mingyl/ATHENA/paper_aggregates/qa_five_task.aggregate.json):补原始路径/hash,区分 standalone E、same-checkpoint E 和 learned pair fusion。
741
- - 只读采集脚本:[audit_evidence_readonly.py](/Users/mingyl/ATHENA/paper_aggregates/audit_evidence_readonly.py)。可从本地把脚本通过 stdin 传给 LUMI Python 复查;本次审计没有修改远端训练/评测产物。
742
-
743
- Manifest 是审计时刻的摘要,不是完整 prediction archive,也不是模型权重副本。SHA256 用来发现源文件变化,不自动证明数据划分、训练去污染或 launch-time 代码完整性。
744
-
745
- ### 17.3 五个 QA 精确源文件
746
-
747
- | Task | 样本数 | 原始 result artifact |
748
- |---|---:|---|
749
- | nq | 3609 | `/scratch/project_462001493/mingyl/ATHENA/run/tri_advantage_formal_20260908T133625Z/nq_reader_eval/results.json` |
750
- | webqa | 2032 | `/scratch/project_462001493/mingyl/ATHENA/run/tri_advantage_formal_20260908T133625Z/webqa_reader_eval/results.json` |
751
- | triviaqa | 17944 | `/scratch/project_462001493/mingyl/ATHENA/run/tri_advantage_formal_20260908T133625Z/triviaqa_reader_eval/results.json` |
752
- | truthfulqa | 817 | `/scratch/project_462001493/mingyl/ATHENA/run/tri_advantage_formal_20260908T133625Z/truthfulqa_reader_eval/results.json` |
753
- | hotpotqa | 7405 | `/scratch/project_462001493/mingyl/ATHENA/run/tri_advantage_formal_20260908T133625Z/hotpotqa_reader_eval/results.json` |
754
-
755
- 各文件的 `evaluation` 提供细分 EM/F1/MC;`scalar_summary` 提供本报告主标量;`oracles.<task>.oracle_source_E_GE_GH` 提供三源 oracle。第 16.3 节的成对统计由同问题顺序的 predictions 重新计算,保存在主 evidence manifest,而不是误读 oracle 为模型预测。
756
-
757
- QA experts:
758
- `/scratch/project_462001493/mingyl/ATHENA/run/tri_memory_joint_softsubset_20260903T053716Z/tri_20m_train/adaptor_best.pt`。
759
-
760
- QA advantage checkpoint:
761
- `/scratch/project_462001493/mingyl/ATHENA/run/tri_advantage_formal_20260908T133625Z/reader_20m_train/adaptor_best.pt`。
762
-
763
- QA imported memory:
764
- `/scratch/project_462001050/mingyl/llm-memory-transfer/publish_bundle/models/hf_repos/olaresearchx-xmemtransfer-llama2-source-20m/memory.pt`。
765
-
766
- NLP same-checkpoint E/router:
767
- `/scratch/project_462001493/mingyl/ATHENA/run/tri_general-mixed_four_stage_20260916r3/advantage_router/adaptor_best.pt`;
768
- memory 为同 root 下 `01_source_memory/memory.pt`。
769
-
770
- 六任务 NLP 源结果��见第 4.3 节;transfer 见第 6 节;全部 retraining 消融见第 7.2 节;inference-only random memory 见第 7.3 节;coding/scaling/Yahoo 见第 8–10 节。Job 提交记录通常位于各 run root 下 `submitted_jobs*.json`,本地日志归档约定为 `/Users/mingyl/ATHENA/logs/csc/lumi/<job-id>/`。本次未重新下载全部历史日志或逐项证明其归档齐全,不能把该约定当作已验证的文件存在清单。
771
-
772
- ### 17.4 尚未完成的证据闭环
773
-
774
- - **NLP Vanilla scorer 对齐**:必须解决后才能写三行统一主表。
775
- - **下游 E/GE/GH 实际用量**:需要 inference tracing;本报告给出的是 corpus 权重与 oracle,缺失明确标注。
776
- - **不确定性**:未完成 paired bootstrap;单 seed 不支持训练稳定性的结论。
777
- - **数据泄漏审计**:CC-News split 不保证文档互斥;训练语料与下游文本重叠未验证。“不用下游标签”不等于“无任何 contamination”。
778
- - **Ablation 公平性**:重训变体需完整对齐优化预算、初始化、checkpoint-selection 与收敛;不能只按参数量认定公平。
779
- - **Transfer**:缺同 scorer 的 Vanilla Llama 下游基线。
780
- - **Coding**:缺完整 memory/no-memory functional execution 对比。
781
- - **Scaling**:缺完整最终 router 点及统一验证语料/窗口/预算证明。
782
- - **论文同步**:此次仅更新 Markdown 和审计 aggregates;未修改 Overleaf 或 LaTeX。旧稿中相反的“统一协议”“固定 residual”“无损迁移”等表述需同步修正。
783
-
784
- 参考论文 [Cross-Model Memory Transfer via Target-Side Reader Adaptation](https://arxiv.org/pdf/2608.17050) 在这里仅提供“主结果—机制诊断—控制实验—复现边界”的组织参考;其结论不能替代 MemoryAthena 自身的证据。
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
paper_reference_data/memoryathena_references.bib DELETED
@@ -1,340 +0,0 @@
1
- @misc{wei2025mlp,
2
- title={{MLP} Memory: A Retriever-Pretrained Memory for Large Language Models},
3
- author={Rubin Wei and Jiaqi Cao and Jiarui Wang and Jushi Kai and Qipeng Guo and Bowen Zhou and Zhouhan Lin},
4
- year={2025},
5
- eprint={2508.01832},
6
- archivePrefix={arXiv},
7
- primaryClass={cs.CL},
8
- url={https://arxiv.org/abs/2508.01832},
9
- }
10
-
11
- @misc{li2026transfer,
12
- title={Cross-Model Memory Transfer via Target-Side Reader Adaptation},
13
- author={Mingyuan Li and Guangsheng Yu and Xu Wang and Shaoxiong Ji},
14
- year={2026},
15
- eprint={2608.17050},
16
- archivePrefix={arXiv},
17
- primaryClass={cs.CL},
18
- url={https://arxiv.org/abs/2608.17050},
19
- }
20
-
21
- @misc{cheng2026engram,
22
- title={Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Models},
23
- author={Xin Cheng and Rui Tian and Wangding Zeng and Damai Dai and Qinyu Chen and Bingxuan Wang and Zhenda Xie and Kezhao Huang and Xingkai Yu and Chengqi Deng and Shangyan Zhou and Chenggang Zhao and Zhewen Hao and Yukun Li and Han Zhang and Zhengyan Zhang and Yixu Wei and M. Y Xu and Huishuai Zhang and Dongyan Zhao and Wenfeng Liang},
24
- year={2026},
25
- eprint={2601.07372},
26
- archivePrefix={arXiv},
27
- primaryClass={cs.CL},
28
- url={https://arxiv.org/abs/2601.07372},
29
- }
30
-
31
- @inproceedings{lewis2020rag,
32
- author = {Lewis, Patrick and Perez, Ethan and Piktus, Aleksandra and Petroni, Fabio and Karpukhin, Vladimir and Goyal, Naman and K\"{u}ttler, Heinrich and Lewis, Mike and Yih, Wen-tau and Rockt\"{a}schel, Tim and Riedel, Sebastian and Kiela, Douwe},
33
- booktitle = {Advances in Neural Information Processing Systems},
34
- editor = {H. Larochelle and M. Ranzato and R. Hadsell and M.F. Balcan and H. Lin},
35
- pages = {9459--9474},
36
- publisher = {Curran Associates, Inc.},
37
- title = {Retrieval-Augmented Generation for Knowledge-Intensive {NLP} Tasks},
38
- url = {https://proceedings.neurips.cc/paper_files/paper/2020/file/6b493230205f780e1bc26945df7481e5-Paper.pdf},
39
- volume = {33},
40
- year = {2020}
41
- }
42
-
43
- @inproceedings{khandelwal2020knn,
44
- title={Generalization through Memorization: Nearest Neighbor Language Models},
45
- author={Urvashi Khandelwal and Omer Levy and Dan Jurafsky and Luke Zettlemoyer and Mike Lewis},
46
- booktitle={International Conference on Learning Representations},
47
- year={2020},
48
- url={https://openreview.net/forum?id=HklBjCEKvH},
49
- }
50
-
51
- @inproceedings{shazeer2017moe,
52
- title={Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer},
53
- author={Noam Shazeer and Azalia Mirhoseini and Krzysztof Maziarz and Andy Davis and Quoc Le and Geoffrey Hinton and Jeff Dean},
54
- booktitle={International Conference on Learning Representations},
55
- year={2017},
56
- url={https://openreview.net/forum?id=B1ckMDqlg},
57
- }
58
-
59
- @inproceedings{holtzman2021surface,
60
- title = "Surface Form Competition: Why the Highest Probability Answer Isn{'}t Always Right",
61
- author = "Holtzman, Ari and
62
- West, Peter and
63
- Shwartz, Vered and
64
- Choi, Yejin and
65
- Zettlemoyer, Luke",
66
- editor = "Moens, Marie-Francine and
67
- Huang, Xuanjing and
68
- Specia, Lucia and
69
- Yih, Scott Wen-tau",
70
- booktitle = "Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing",
71
- month = nov,
72
- year = "2021",
73
- address = "Online and Punta Cana, Dominican Republic",
74
- publisher = "Association for Computational Linguistics",
75
- url = "https://aclanthology.org/2021.emnlp-main.564/",
76
- doi = "10.18653/v1/2021.emnlp-main.564",
77
- pages = "7038--7051"
78
- }
79
-
80
- @misc{jiang2023mistral,
81
- title={Mistral {7B}},
82
- author={Albert Q. Jiang and Alexandre Sablayrolles and Arthur Mensch and Chris Bamford and Devendra Singh Chaplot and Diego de las Casas and Florian Bressand and Gianna Lengyel and Guillaume Lample and Lucile Saulnier and Lélio Renard Lavaud and Marie-Anne Lachaux and Pierre Stock and Teven Le Scao and Thibaut Lavril and Thomas Wang and Timothée Lacroix and William El Sayed},
83
- year={2023},
84
- eprint={2310.06825},
85
- archivePrefix={arXiv},
86
- primaryClass={cs.CL},
87
- url={https://arxiv.org/abs/2310.06825},
88
- }
89
-
90
- @inproceedings{li2023halueval,
91
- title = "{H}alu{E}val: A Large-Scale Hallucination Evaluation Benchmark for Large Language Models",
92
- author = "Li, Junyi and
93
- Cheng, Xiaoxue and
94
- Zhao, Xin and
95
- Nie, Jian-Yun and
96
- Wen, Ji-Rong",
97
- editor = "Bouamor, Houda and
98
- Pino, Juan and
99
- Bali, Kalika",
100
- booktitle = "Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing",
101
- month = dec,
102
- year = "2023",
103
- address = "Singapore",
104
- publisher = "Association for Computational Linguistics",
105
- url = "https://aclanthology.org/2023.emnlp-main.397/",
106
- doi = "10.18653/v1/2023.emnlp-main.397",
107
- pages = "6449--6464"
108
- }
109
- @inproceedings{yang2018hotpot,
110
- title = "{H}otpot{QA}: A Dataset for Diverse, Explainable Multi-hop Question Answering",
111
- author = "Yang, Zhilin and
112
- Qi, Peng and
113
- Zhang, Saizheng and
114
- Bengio, Yoshua and
115
- Cohen, William and
116
- Salakhutdinov, Ruslan and
117
- Manning, Christopher D.",
118
- editor = "Riloff, Ellen and
119
- Chiang, David and
120
- Hockenmaier, Julia and
121
- Tsujii, Jun{'}ichi",
122
- booktitle = "Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing",
123
- month = oct # "-" # nov,
124
- year = "2018",
125
- address = "Brussels, Belgium",
126
- publisher = "Association for Computational Linguistics",
127
- url = "https://aclanthology.org/D18-1259/",
128
- doi = "10.18653/v1/D18-1259",
129
- pages = "2369--2380"
130
- }
131
-
132
- @inproceedings{lin2022truthful,
133
- title = "{T}ruthful{QA}: Measuring How Models Mimic Human Falsehoods",
134
- author = "Lin, Stephanie and
135
- Hilton, Jacob and
136
- Evans, Owain",
137
- editor = "Muresan, Smaranda and
138
- Nakov, Preslav and
139
- Villavicencio, Aline",
140
- booktitle = "Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
141
- month = may,
142
- year = "2022",
143
- address = "Dublin, Ireland",
144
- publisher = "Association for Computational Linguistics",
145
- url = "https://aclanthology.org/2022.acl-long.229/",
146
- doi = "10.18653/v1/2022.acl-long.229",
147
- pages = "3214--3252"
148
- }
149
-
150
- @inproceedings{joshi2017trivia,
151
- title = "{T}rivia{QA}: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehension",
152
- author = "Joshi, Mandar and
153
- Choi, Eunsol and
154
- Weld, Daniel and
155
- Zettlemoyer, Luke",
156
- editor = "Barzilay, Regina and
157
- Kan, Min-Yen",
158
- booktitle = "Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
159
- month = jul,
160
- year = "2017",
161
- address = "Vancouver, Canada",
162
- publisher = "Association for Computational Linguistics",
163
- url = "https://aclanthology.org/P17-1147/",
164
- doi = "10.18653/v1/P17-1147",
165
- pages = "1601--1611"
166
- }
167
-
168
- @article{kwiatkowski2019natural,
169
- title = "Natural Questions: A Benchmark for Question Answering Research",
170
- author = "Kwiatkowski, Tom and
171
- Palomaki, Jennimaria and
172
- Redfield, Olivia and
173
- Collins, Michael and
174
- Parikh, Ankur and
175
- Alberti, Chris and
176
- Epstein, Danielle and
177
- Polosukhin, Illia and
178
- Devlin, Jacob and
179
- Lee, Kenton and
180
- Toutanova, Kristina and
181
- Jones, Llion and
182
- Kelcey, Matthew and
183
- Chang, Ming-Wei and
184
- Dai, Andrew M. and
185
- Uszkoreit, Jakob and
186
- Le, Quoc and
187
- Petrov, Slav",
188
- editor = "Lee, Lillian and
189
- Johnson, Mark and
190
- Roark, Brian and
191
- Nenkova, Ani",
192
- journal = "Transactions of the Association for Computational Linguistics",
193
- volume = "7",
194
- year = "2019",
195
- address = "Cambridge, MA",
196
- publisher = "MIT Press",
197
- url = "https://aclanthology.org/Q19-1026/",
198
- doi = "10.1162/tacl_a_00276",
199
- pages = "452--466"
200
- }
201
-
202
- @inproceedings{berant2013semantic,
203
- title = "Semantic Parsing on {F}reebase from Question-Answer Pairs",
204
- author = "Berant, Jonathan and
205
- Chou, Andrew and
206
- Frostig, Roy and
207
- Liang, Percy",
208
- editor = "Yarowsky, David and
209
- Baldwin, Timothy and
210
- Korhonen, Anna and
211
- Livescu, Karen and
212
- Bethard, Steven",
213
- booktitle = "Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing",
214
- month = oct,
215
- year = "2013",
216
- address = "Seattle, Washington, USA",
217
- publisher = "Association for Computational Linguistics",
218
- url = "https://aclanthology.org/D13-1160/",
219
- pages = "1533--1544"
220
- }
221
-
222
- @inproceedings{socher2013recursive,
223
- title = "Recursive Deep Models for Semantic Compositionality Over a Sentiment Treebank",
224
- author = "Socher, Richard and
225
- Perelygin, Alex and
226
- Wu, Jean and
227
- Chuang, Jason and
228
- Manning, Christopher D. and
229
- Ng, Andrew and
230
- Potts, Christopher",
231
- editor = "Yarowsky, David and
232
- Baldwin, Timothy and
233
- Korhonen, Anna and
234
- Livescu, Karen and
235
- Bethard, Steven",
236
- booktitle = "Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing",
237
- month = oct,
238
- year = "2013",
239
- address = "Seattle, Washington, USA",
240
- publisher = "Association for Computational Linguistics",
241
- url = "https://aclanthology.org/D13-1170/",
242
- pages = "1631--1642"
243
- }
244
-
245
- @inproceedings{pang2005seeing,
246
- title = "Seeing Stars: Exploiting Class Relationships for Sentiment Categorization with Respect to Rating Scales",
247
- author = "Pang, Bo and
248
- Lee, Lillian",
249
- editor = "Knight, Kevin and
250
- Ng, Hwee Tou and
251
- Oflazer, Kemal",
252
- booktitle = "Proceedings of the 43rd Annual Meeting of the Association for Computational Linguistics ({ACL}{'}05)",
253
- month = jun,
254
- year = "2005",
255
- address = "Ann Arbor, Michigan",
256
- publisher = "Association for Computational Linguistics",
257
- url = "https://aclanthology.org/P05-1015/",
258
- doi = "10.3115/1219840.1219855",
259
- pages = "115--124"
260
- }
261
-
262
- @inproceedings{hu2004mining, series={KDD04}, title={Mining and summarizing customer reviews}, url={https://doi.org/10.1145/1014052.1014073}, DOI={10.1145/1014052.1014073}, booktitle={Proceedings of the tenth ACM SIGKDD international conference on Knowledge discovery and data mining}, publisher={ACM}, author={Hu, Minqing and Liu, Bing}, year={2004}, month=Aug, pages={168--177}, collection={KDD04} }
263
-
264
- @inproceedings{maas2011learning,
265
- title = "Learning Word Vectors for Sentiment Analysis",
266
- author = "Maas, Andrew L. and
267
- Daly, Raymond E. and
268
- Pham, Peter T. and
269
- Huang, Dan and
270
- Ng, Andrew Y. and
271
- Potts, Christopher",
272
- editor = "Lin, Dekang and
273
- Matsumoto, Yuji and
274
- Mihalcea, Rada",
275
- booktitle = "Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies",
276
- month = jun,
277
- year = "2011",
278
- address = "Portland, Oregon, USA",
279
- publisher = "Association for Computational Linguistics",
280
- url = "https://aclanthology.org/P11-1015/",
281
- pages = "142--150"
282
- }
283
-
284
- @inproceedings{zhang2015character,
285
- author = {Zhang, Xiang and Zhao, Junbo and LeCun, Yann},
286
- booktitle = {Advances in Neural Information Processing Systems},
287
- editor = {C. Cortes and N. Lawrence and D. Lee and M. Sugiyama and R. Garnett},
288
- publisher = {Curran Associates, Inc.},
289
- title = {Character-level Convolutional Networks for Text Classification},
290
- url = {https://proceedings.neurips.cc/paper_files/paper/2015/file/250cf8b51c773f3f8dc8b4be867a9a02-Paper.pdf},
291
- volume = {28},
292
- year = {2015}
293
- }
294
-
295
- @inproceedings{merity2017pointer,
296
- title={Pointer Sentinel Mixture Models},
297
- author={Stephen Merity and Caiming Xiong and James Bradbury and Richard Socher},
298
- booktitle={International Conference on Learning Representations},
299
- year={2017},
300
- url={https://openreview.net/forum?id=Byj72udxe},
301
- }
302
-
303
- @misc{touvron2023llama,
304
- title={Llama 2: Open Foundation and Fine-Tuned Chat Models},
305
- author={Hugo Touvron and Louis Martin and Kevin Stone and Peter Albert and Amjad Almahairi and Yasmine Babaei and Nikolay Bashlykov and Soumya Batra and Prajjwal Bhargava and Shruti Bhosale and Dan Bikel and Lukas Blecher and Cristian Canton Ferrer and Moya Chen and Guillem Cucurull and David Esiobu and Jude Fernandes and Jeremy Fu and Wenyin Fu and Brian Fuller and Cynthia Gao and Vedanuj Goswami and Naman Goyal and Anthony Hartshorn and Saghar Hosseini and Rui Hou and Hakan Inan and Marcin Kardas and Viktor Kerkez and Madian Khabsa and Isabel Kloumann and Artem Korenev and Punit Singh Koura and Marie-Anne Lachaux and Thibaut Lavril and Jenya Lee and Diana Liskovich and Yinghai Lu and Yuning Mao and Xavier Martinet and Todor Mihaylov and Pushkar Mishra and Igor Molybog and Yixin Nie and Andrew Poulton and Jeremy Reizenstein and Rashi Rungta and Kalyan Saladi and Alan Schelten and Ruan Silva and Eric Michael Smith and Ranjan Subramanian and Xiaoqing Ellen Tan and Binh Tang and Ross Taylor and Adina Williams and Jian Xiang Kuan and Puxin Xu and Zheng Yan and Iliyan Zarov and Yuchen Zhang and Angela Fan and Melanie Kambadur and Sharan Narang and Aurelien Rodriguez and Robert Stojnic and Sergey Edunov and Thomas Scialom},
306
- year={2023},
307
- eprint={2307.09288},
308
- archivePrefix={arXiv},
309
- primaryClass={cs.CL},
310
- url={https://arxiv.org/abs/2307.09288},
311
- }
312
-
313
- @article{fedus2022switch,
314
- author = {William Fedus and Barret Zoph and Noam Shazeer},
315
- title = {Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity},
316
- journal = {Journal of Machine Learning Research},
317
- year = {2022},
318
- volume = {23},
319
- number = {120},
320
- pages = {1--39},
321
- url = {http://jmlr.org/papers/v23/21-0998.html}
322
- }
323
- @misc{blagojevic2021ccnews,
324
- title={{CC-News}},
325
- author={Vladimir Blagojevic},
326
- year={2021},
327
- howpublished={Hugging Face dataset card},
328
- note={English-language subset of the Common Crawl {CC-NEWS} archive, extracted with news-please; 708,241 articles published between January 2017 and December 2019},
329
- url={https://huggingface.co/datasets/vblagoje/cc_news},
330
- }
331
-
332
- @misc{zhang2025memgen,
333
- title={{MemGen}: Weaving Generative Latent Memory for Self-Evolving Agents},
334
- author={Guibin Zhang and Muxin Fu and Shuicheng Yan},
335
- year={2025},
336
- eprint={2509.24704},
337
- archivePrefix={arXiv},
338
- primaryClass={cs.CL},
339
- url={https://arxiv.org/abs/2509.24704},
340
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
paper_reference_data/qa_five_task.aggregate.json DELETED
@@ -1,97 +0,0 @@
1
- {
2
- "schema": "exp.aggregate/1",
3
- "paper_use_status": "requires_disclosure",
4
- "generated_at": "2026-09-19T00:00:00Z",
5
- "metric": "EM/F1 for open-domain QA; MC1/MC2/MC3/mean for TruthfulQA",
6
- "seed": 42,
7
- "replicates": 1,
8
- "results_percent": {
9
- "Engram-only": [
10
- "20.28/28.18",
11
- "14.86/33.28",
12
- "63.92/69.18",
13
- "27.42/44.32/22.69/31.47",
14
- "17.95/25.92"
15
- ],
16
- "E-only path": [
17
- "20.20/28.28",
18
- "14.96/33.35",
19
- "64.05/69.34",
20
- "26.93/44.18/22.64/31.25",
21
- "18.19/26.04"
22
- ],
23
- "Three-source router": [
24
- "22.72/33.02",
25
- "17.86/34.60",
26
- "62.78/70.68",
27
- "28.15/44.04/23.02/31.74",
28
- "15.62/26.34"
29
- ],
30
- "Mistral to Llama transfer": [
31
- "20.37/29.98",
32
- "18.06/36.40",
33
- "60.35/67.39",
34
- "27.78/41.57/21.87/30.41",
35
- "16.00/25.17"
36
- ],
37
- "E+GE pair-restricted learned fusion": [
38
- "12.86/28.70",
39
- "16.44/34.79",
40
- "33.70/58.72",
41
- "27.54/43.40/22.72/31.22",
42
- "8.70/23.20"
43
- ],
44
- "E+GH pair-restricted learned fusion": [
45
- "10.56/27.37",
46
- "13.04/33.75",
47
- "43.75/64.48",
48
- "27.78/42.90/22.67/31.12",
49
- "12.40/25.03"
50
- ]
51
- },
52
- "must_match": {
53
- "verdict": "REQUIRES_DISCLOSURE",
54
- "notes": "The main comparison is within Mistral. Transfer is shown separately. The standalone Engram row and joint-checkpoint rows have different training histories, and all values are single-seed."
55
- },
56
- "tasks": [
57
- "NQ",
58
- "WebQA",
59
- "TriviaQA",
60
- "TruthfulQA",
61
- "HotpotQA"
62
- ],
63
- "inputs": [
64
- {
65
- "artifact": "/scratch/project_462001493/mingyl/ATHENA/run/mistral_to_llama_tri_20260909/llama_downstream_repair5/results.json",
66
- "sha256": "cbfccf551d4c352f724041e88fcaf3b5d5c11f7707b13a87a9023db8c1f0eab2"
67
- },
68
- {
69
- "artifact": "/scratch/project_462001493/mingyl/ATHENA/run/tri_advantage_formal_20260908T133625Z/hotpotqa_reader_eval/results.json",
70
- "sha256": "87c6d0074a7190d7779f0a9033cec0c9a3b032b303165377925fb74500443ada"
71
- },
72
- {
73
- "artifact": "/scratch/project_462001493/mingyl/ATHENA/run/tri_advantage_formal_20260908T133625Z/nq_reader_eval/results.json",
74
- "sha256": "3f4532f9227c7a934954932831bb9d7b1329a7e4fb12e3ae4045e3a2ac1e19df"
75
- },
76
- {
77
- "artifact": "/scratch/project_462001493/mingyl/ATHENA/run/tri_advantage_formal_20260908T133625Z/triviaqa_reader_eval/results.json",
78
- "sha256": "effe8de1698a400a4b808f202f5e8a8847eacd6870c61bcf6d15b2b00a370732"
79
- },
80
- {
81
- "artifact": "/scratch/project_462001493/mingyl/ATHENA/run/tri_advantage_formal_20260908T133625Z/truthfulqa_reader_eval/results.json",
82
- "sha256": "f30e546e5ef1387758f1f6d42612d9a41c0af74151f4871d040eec1c7b82e489"
83
- },
84
- {
85
- "artifact": "/scratch/project_462001493/mingyl/ATHENA/run/tri_advantage_formal_20260908T133625Z/webqa_reader_eval/results.json",
86
- "sha256": "26a3e1f343b7b4708a2edfd351d731505119975f0e5176ee646bef0dc5fb6465"
87
- }
88
- ],
89
- "comparison_notes": {
90
- "preferred_anchor": "E-only path is tri_E from same frozen checkpoint as tri_reader_advantage",
91
- "standalone_engram": "different training history; not compute-matched",
92
- "pair_rows": "tri_E_GE and tri_E_GH are pair-restricted learned fusion; alpha is not a fixed constant",
93
- "truthfulqa_mean": "arithmetic mean of MC1, MC2, MC3",
94
- "routing_counts": "source oracle selection_counts use gold labels and are not deployed-router selection rates",
95
- "confidence_intervals": "not computed; one training seed does not preclude paired-example uncertainty estimation"
96
- }
97
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
paper_reference_data/routing_and_support_audit_20260919.json DELETED
@@ -1,457 +0,0 @@
1
- {
2
- "tasks": [
3
- "nq",
4
- "webqa",
5
- "triviaqa",
6
- "truthfulqa",
7
- "hotpotqa"
8
- ],
9
- "qa_same_checkpoint": [
10
- {
11
- "task": "nq",
12
- "scalar_summary": {
13
- "engram_baseline": {
14
- "nq": 28.18146408887693,
15
- "macro_average": 28.18146408887693
16
- },
17
- "tri_E": {
18
- "nq": 28.27723190284923,
19
- "macro_average": 28.27723190284923
20
- },
21
- "tri_GE": {
22
- "nq": 28.748634726948747,
23
- "macro_average": 28.748634726948747
24
- },
25
- "tri_GH": {
26
- "nq": 24.55429350801215,
27
- "macro_average": 24.55429350801215
28
- },
29
- "tri_E_GE": {
30
- "nq": 28.702957981355127,
31
- "macro_average": 28.702957981355127
32
- },
33
- "tri_E_GH": {
34
- "nq": 27.374500509677276,
35
- "macro_average": 27.374500509677276
36
- },
37
- "tri_GE_GH": {
38
- "nq": 18.941635222379443,
39
- "macro_average": 18.941635222379443
40
- },
41
- "tri_reader_hard": {
42
- "nq": 26.688816822673356,
43
- "macro_average": 26.688816822673356
44
- },
45
- "tri_reader_soft": {
46
- "nq": 19.65835077492209,
47
- "macro_average": 19.65835077492209
48
- },
49
- "tri_reader_advantage": {
50
- "nq": 33.018463077262155,
51
- "macro_average": 33.018463077262155
52
- },
53
- "tri_safe_routed": {
54
- "nq": 20.121551263793698,
55
- "macro_average": 20.121551263793698
56
- },
57
- "tri_subset_reader_hard": {
58
- "nq": 28.41858134802245,
59
- "macro_average": 28.41858134802245
60
- },
61
- "tri_subset_reader_soft": {
62
- "nq": 23.1673351260413,
63
- "macro_average": 23.1673351260413
64
- }
65
- },
66
- "oracle_source": {
67
- "acc": 0.24411194236630646,
68
- "em": 0.24411194236630646,
69
- "f1": 0.38326670549544734,
70
- "correct": 881,
71
- "total": 3609,
72
- "selection_metric": "f1",
73
- "selection_counts": {
74
- "tri_E": 2854,
75
- "tri_GE": 475,
76
- "tri_GH": 280
77
- },
78
- "metricwise_upper": {
79
- "em": 0.24411194236630646,
80
- "f1": 0.38326670549544734
81
- }
82
- },
83
- "paired": {
84
- "aligned": true,
85
- "n": 3609,
86
- "f1_improved": 553,
87
- "f1_degraded": 324,
88
- "f1_unchanged": 2732,
89
- "mean_f1_delta_pp": 4.741231174412928
90
- },
91
- "artifact": "/scratch/project_462001493/mingyl/ATHENA/run/tri_advantage_formal_20260908T133625Z/nq_reader_eval/results.json",
92
- "sha256": "3f4532f9227c7a934954932831bb9d7b1329a7e4fb12e3ae4045e3a2ac1e19df"
93
- },
94
- {
95
- "task": "webqa",
96
- "scalar_summary": {
97
- "engram_baseline": {
98
- "webqa": 33.281858832310554,
99
- "macro_average": 33.281858832310554
100
- },
101
- "tri_E": {
102
- "webqa": 33.3490361676097,
103
- "macro_average": 33.3490361676097
104
- },
105
- "tri_GE": {
106
- "webqa": 35.23795617965372,
107
- "macro_average": 35.23795617965372
108
- },
109
- "tri_GH": {
110
- "webqa": 30.799911045846095,
111
- "macro_average": 30.799911045846095
112
- },
113
- "tri_E_GE": {
114
- "webqa": 34.788652449092936,
115
- "macro_average": 34.788652449092936
116
- },
117
- "tri_E_GH": {
118
- "webqa": 33.746589659934386,
119
- "macro_average": 33.746589659934386
120
- },
121
- "tri_GE_GH": {
122
- "webqa": 24.72492687301746,
123
- "macro_average": 24.72492687301746
124
- },
125
- "tri_reader_hard": {
126
- "webqa": 35.12872306719132,
127
- "macro_average": 35.12872306719132
128
- },
129
- "tri_reader_soft": {
130
- "webqa": 26.048035728760127,
131
- "macro_average": 26.048035728760127
132
- },
133
- "tri_reader_advantage": {
134
- "webqa": 34.59581718932015,
135
- "macro_average": 34.59581718932015
136
- },
137
- "tri_safe_routed": {
138
- "webqa": 27.84162360477831,
139
- "macro_average": 27.84162360477831
140
- },
141
- "tri_subset_reader_hard": {
142
- "webqa": 33.30291806198777,
143
- "macro_average": 33.30291806198777
144
- },
145
- "tri_subset_reader_soft": {
146
- "webqa": 28.705124376867904,
147
- "macro_average": 28.705124376867904
148
- }
149
- },
150
- "oracle_source": {
151
- "acc": 0.21899606299212598,
152
- "em": 0.21899606299212598,
153
- "f1": 0.4367051240736746,
154
- "correct": 445,
155
- "total": 2032,
156
- "selection_metric": "f1",
157
- "selection_counts": {
158
- "tri_E": 1428,
159
- "tri_GE": 336,
160
- "tri_GH": 268
161
- },
162
- "metricwise_upper": {
163
- "em": 0.21899606299212598,
164
- "f1": 0.4367051240736746
165
- }
166
- },
167
- "paired": {
168
- "aligned": true,
169
- "n": 2032,
170
- "f1_improved": 353,
171
- "f1_degraded": 306,
172
- "f1_unchanged": 1373,
173
- "mean_f1_delta_pp": 1.2467810217104545
174
- },
175
- "artifact": "/scratch/project_462001493/mingyl/ATHENA/run/tri_advantage_formal_20260908T133625Z/webqa_reader_eval/results.json",
176
- "sha256": "26a3e1f343b7b4708a2edfd351d731505119975f0e5176ee646bef0dc5fb6465"
177
- },
178
- {
179
- "task": "triviaqa",
180
- "scalar_summary": {
181
- "engram_baseline": {
182
- "triviaqa": 69.17751669531894,
183
- "macro_average": 69.17751669531894
184
- },
185
- "tri_E": {
186
- "triviaqa": 69.3358461473362,
187
- "macro_average": 69.3358461473362
188
- },
189
- "tri_GE": {
190
- "triviaqa": 58.61551002670509,
191
- "macro_average": 58.61551002670509
192
- },
193
- "tri_GH": {
194
- "triviaqa": 56.697697122149584,
195
- "macro_average": 56.697697122149584
196
- },
197
- "tri_E_GE": {
198
- "triviaqa": 58.71739395047935,
199
- "macro_average": 58.71739395047935
200
- },
201
- "tri_E_GH": {
202
- "triviaqa": 64.47574259719387,
203
- "macro_average": 64.47574259719387
204
- },
205
- "tri_GE_GH": {
206
- "triviaqa": 45.55875920521975,
207
- "macro_average": 45.55875920521975
208
- },
209
- "tri_reader_hard": {
210
- "triviaqa": 61.802910639884765,
211
- "macro_average": 61.802910639884765
212
- },
213
- "tri_reader_soft": {
214
- "triviaqa": 46.359216231102124,
215
- "macro_average": 46.359216231102124
216
- },
217
- "tri_reader_advantage": {
218
- "triviaqa": 70.67727321709368,
219
- "macro_average": 70.67727321709368
220
- },
221
- "tri_safe_routed": {
222
- "triviaqa": 42.6487800136217,
223
- "macro_average": 42.6487800136217
224
- },
225
- "tri_subset_reader_hard": {
226
- "triviaqa": 69.3752042356243,
227
- "macro_average": 69.3752042356243
228
- },
229
- "tri_subset_reader_soft": {
230
- "triviaqa": 44.36625205202723,
231
- "macro_average": 44.36625205202723
232
- }
233
- },
234
- "oracle_source": {
235
- "acc": 0.6931564868479715,
236
- "em": 0.6931564868479715,
237
- "f1": 0.7661843756711604,
238
- "correct": 12438,
239
- "total": 17944,
240
- "selection_metric": "f1",
241
- "selection_counts": {
242
- "tri_E": 15764,
243
- "tri_GE": 1345,
244
- "tri_GH": 835
245
- },
246
- "metricwise_upper": {
247
- "em": 0.693267944716897,
248
- "f1": 0.7661843756711604
249
- }
250
- },
251
- "paired": {
252
- "aligned": true,
253
- "n": 17944,
254
- "f1_improved": 1698,
255
- "f1_degraded": 1672,
256
- "f1_unchanged": 14574,
257
- "mean_f1_delta_pp": 1.3414270697574828
258
- },
259
- "artifact": "/scratch/project_462001493/mingyl/ATHENA/run/tri_advantage_formal_20260908T133625Z/triviaqa_reader_eval/results.json",
260
- "sha256": "effe8de1698a400a4b808f202f5e8a8847eacd6870c61bcf6d15b2b00a370732"
261
- },
262
- {
263
- "task": "truthfulqa",
264
- "scalar_summary": {
265
- "engram_baseline": {
266
- "truthfulqa": 31.473212260261512,
267
- "macro_average": 31.473212260261512
268
- },
269
- "tri_E": {
270
- "truthfulqa": 31.2469685860759,
271
- "macro_average": 31.2469685860759
272
- },
273
- "tri_GE": {
274
- "truthfulqa": 31.142691125007442,
275
- "macro_average": 31.142691125007442
276
- },
277
- "tri_GH": {
278
- "truthfulqa": 31.040119690987062,
279
- "macro_average": 31.040119690987062
280
- },
281
- "tri_E_GE": {
282
- "truthfulqa": 31.22037501724502,
283
- "macro_average": 31.22037501724502
284
- },
285
- "tri_E_GH": {
286
- "truthfulqa": 31.11835920818575,
287
- "macro_average": 31.11835920818575
288
- },
289
- "tri_GE_GH": {
290
- "truthfulqa": 30.96477113493456,
291
- "macro_average": 30.96477113493456
292
- },
293
- "tri_reader_hard": {
294
- "truthfulqa": 31.175742467061557,
295
- "macro_average": 31.175742467061557
296
- },
297
- "tri_reader_soft": {
298
- "truthfulqa": 31.13273574861007,
299
- "macro_average": 31.13273574861007
300
- },
301
- "tri_reader_advantage": {
302
- "truthfulqa": 31.737013832056565,
303
- "macro_average": 31.737013832056565
304
- },
305
- "tri_safe_routed": {
306
- "truthfulqa": 29.188192072277257,
307
- "macro_average": 29.188192072277257
308
- },
309
- "tri_subset_reader_hard": {
310
- "truthfulqa": 31.54977100788696,
311
- "macro_average": 31.54977100788696
312
- },
313
- "tri_subset_reader_soft": {
314
- "truthfulqa": 31.893401304864117,
315
- "macro_average": 31.893401304864117
316
- }
317
- },
318
- "oracle_source": {
319
- "acc": 0.30599755201958384,
320
- "mc1": 0.30599755201958384,
321
- "mc2": 0.48099536184226227,
322
- "mc3": 0.2564084630180102,
323
- "mc_avg": 0.3478004589599521,
324
- "total": 817,
325
- "selection_metric": "mc_avg",
326
- "selection_counts": {
327
- "tri_E": 361,
328
- "tri_GE": 254,
329
- "tri_GH": 202
330
- },
331
- "metricwise_upper": {
332
- "mc1": 0.30599755201958384,
333
- "mc2": 0.4813240950386008,
334
- "mc3": 0.2564084630180102,
335
- "mc_avg": 0.3478004589599521
336
- }
337
- },
338
- "paired": null,
339
- "artifact": "/scratch/project_462001493/mingyl/ATHENA/run/tri_advantage_formal_20260908T133625Z/truthfulqa_reader_eval/results.json",
340
- "sha256": "f30e546e5ef1387758f1f6d42612d9a41c0af74151f4871d040eec1c7b82e489"
341
- },
342
- {
343
- "task": "hotpotqa",
344
- "scalar_summary": {
345
- "engram_baseline": {
346
- "hotpotqa": 25.92104794321464,
347
- "macro_average": 25.92104794321464
348
- },
349
- "tri_E": {
350
- "hotpotqa": 26.038214937690285,
351
- "macro_average": 26.038214937690285
352
- },
353
- "tri_GE": {
354
- "hotpotqa": 23.178377020515427,
355
- "macro_average": 23.178377020515427
356
- },
357
- "tri_GH": {
358
- "hotpotqa": 22.952431037464166,
359
- "macro_average": 22.952431037464166
360
- },
361
- "tri_E_GE": {
362
- "hotpotqa": 23.196748218277804,
363
- "macro_average": 23.196748218277804
364
- },
365
- "tri_E_GH": {
366
- "hotpotqa": 25.03497868724364,
367
- "macro_average": 25.03497868724364
368
- },
369
- "tri_GE_GH": {
370
- "hotpotqa": 19.857281068706207,
371
- "macro_average": 19.857281068706207
372
- },
373
- "tri_reader_hard": {
374
- "hotpotqa": 24.3603807965143,
375
- "macro_average": 24.3603807965143
376
- },
377
- "tri_reader_soft": {
378
- "hotpotqa": 19.91402065159248,
379
- "macro_average": 19.91402065159248
380
- },
381
- "tri_reader_advantage": {
382
- "hotpotqa": 26.335548254024115,
383
- "macro_average": 26.335548254024115
384
- },
385
- "tri_safe_routed": {
386
- "hotpotqa": 18.441751938472546,
387
- "macro_average": 18.441751938472546
388
- },
389
- "tri_subset_reader_hard": {
390
- "hotpotqa": 26.06470901396303,
391
- "macro_average": 26.06470901396303
392
- },
393
- "tri_subset_reader_soft": {
394
- "hotpotqa": 19.270383393703945,
395
- "macro_average": 19.270383393703945
396
- }
397
- },
398
- "oracle_source": {
399
- "acc": 0.21607022282241728,
400
- "em": 0.21607022282241728,
401
- "f1": 0.3407623154044047,
402
- "correct": 1600,
403
- "total": 7405,
404
- "selection_metric": "f1",
405
- "selection_counts": {
406
- "tri_E": 6150,
407
- "tri_GE": 762,
408
- "tri_GH": 493
409
- },
410
- "metricwise_upper": {
411
- "em": 0.21607022282241728,
412
- "f1": 0.3407623154044047
413
- }
414
- },
415
- "paired": {
416
- "aligned": true,
417
- "n": 7405,
418
- "f1_improved": 855,
419
- "f1_degraded": 819,
420
- "f1_unchanged": 5731,
421
- "mean_f1_delta_pp": 0.2973333163338357
422
- },
423
- "artifact": "/scratch/project_462001493/mingyl/ATHENA/run/tri_advantage_formal_20260908T133625Z/hotpotqa_reader_eval/results.json",
424
- "sha256": "87c6d0074a7190d7779f0a9033cec0c9a3b032b303165377925fb74500443ada"
425
- }
426
- ],
427
- "validation_usage": [
428
- {
429
- "artifact": "/scratch/project_462001493/mingyl/ATHENA/run/tri_advantage_formal_20260908T133625Z/reader_20m_train/results.json",
430
- "sha256": "4bb97f4400de6723ecef240884c7d2be7e443e7573e4b33d23be7f5939d4e581",
431
- "weights": [
432
- 0.235932181787784,
433
- 0.07560728698373452,
434
- 0.6884605311101577
435
- ]
436
- },
437
- {
438
- "artifact": "/scratch/project_462001493/mingyl/ATHENA/run/tri_general-mixed_four_stage_20260916r3/advantage_router/results.json",
439
- "sha256": "ced43a513dd756a6d7dab758ba2c939a155a01dc13186e78e52c37986d2a4cfc",
440
- "weights": [
441
- 0.6284601884786079,
442
- 0.044866486926200606,
443
- 0.3266733264813604
444
- ]
445
- },
446
- {
447
- "artifact": "/scratch/project_462001493/mingyl/ATHENA/run/tri_nemotron-cc-code_four_stage_20260917_project493_r2/advantage_router/results.json",
448
- "sha256": "93053a8e4d3b08bfaacb85676bcb46dffb496fd09a500d50b51980cdea34ee9c",
449
- "weights": [
450
- 0.6479510463713134,
451
- 0.05111142311120677,
452
- 0.3009375292563536
453
- ]
454
- }
455
- ],
456
- "downstream_deployed_route_counts_available": false
457
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
paper_reference_data/source_comparison.json DELETED
@@ -1,380 +0,0 @@
1
- [
2
- {
3
- "key": "wei2026mlp",
4
- "source_url": "https://arxiv.org/bibtex/2508.01832",
5
- "status": "unresolved",
6
- "error": "HTTP Error 406: Not Acceptable"
7
- },
8
- {
9
- "key": "li2026transfer",
10
- "source_url": "https://arxiv.org/bibtex/2608.17050",
11
- "status": "unresolved",
12
- "error": "HTTP Error 406: Not Acceptable"
13
- },
14
- {
15
- "key": "cheng2026engram",
16
- "source_url": "https://arxiv.org/bibtex/2601.07372",
17
- "fields": {
18
- "title": {
19
- "local": "Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Models",
20
- "source": "Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Models",
21
- "match": true
22
- },
23
- "author": {
24
- "local": "Xin Cheng and Rui Tian and Wangding Zeng and Damai Dai and Qinyu Chen and Bingxuan Wang and Zhenda Xie and Kezhao Huang and Xingkai Yu and Chengqi Deng and Shangyan Zhou and Chenggang Zhao and Zhewen Hao and Yukun Li and Han Zhang and Zhengyan Zhang and Yixu Wei and M. Y Xu and Huishuai Zhang and Dongyan Zhao and Wenfeng Liang",
25
- "source": "Xin Cheng and Rui Tian and Wangding Zeng and Damai Dai and Qinyu Chen and Bingxuan Wang and Zhenda Xie and Kezhao Huang and Xingkai Yu and Chengqi Deng and Shangyan Zhou and Chenggang Zhao and Zhewen Hao and Yukun Li and Han Zhang and Zhengyan Zhang and Yixu Wei and M. Y Xu and Huishuai Zhang and Dongyan Zhao and Wenfeng Liang",
26
- "match": true
27
- },
28
- "year": {
29
- "local": "2026",
30
- "source": "2026",
31
- "match": true
32
- }
33
- },
34
- "status": "match"
35
- },
36
- {
37
- "key": "lewis2020rag",
38
- "source_url": "https://proceedings.neurips.cc/paper_files/paper/2020/hash/6b493230205f780e1bc26945df7481e5-Abstract.bib",
39
- "status": "unresolved",
40
- "error": "HTTP Error 404: Not Found"
41
- },
42
- {
43
- "key": "khandelwal2020knn",
44
- "source_url": "https://arxiv.org/bibtex/1911.00172",
45
- "status": "unresolved",
46
- "error": "HTTP Error 406: Not Acceptable"
47
- },
48
- {
49
- "key": "shazeer2017moe",
50
- "source_url": "https://arxiv.org/bibtex/1701.06538",
51
- "fields": {
52
- "title": {
53
- "local": "Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer",
54
- "source": "Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer",
55
- "match": true
56
- },
57
- "author": {
58
- "local": "Noam Shazeer and Azalia Mirhoseini and Krzysztof Maziarz and Andy Davis and Quoc Le and Geoffrey Hinton and Jeff Dean",
59
- "source": "Noam Shazeer and Azalia Mirhoseini and Krzysztof Maziarz and Andy Davis and Quoc Le and Geoffrey Hinton and Jeff Dean",
60
- "match": true
61
- },
62
- "year": {
63
- "local": "2017",
64
- "source": "2017",
65
- "match": true
66
- }
67
- },
68
- "status": "match"
69
- },
70
- {
71
- "key": "holtzman2021surface",
72
- "source_url": "https://aclanthology.org/2021.emnlp-main.564.bib",
73
- "fields": {
74
- "title": {
75
- "local": "Surface Form Competition: Why the Highest Probability Answer Isn{'}t Always Right",
76
- "source": "Surface Form Competition: Why the Highest Probability Answer Isn{'}t Always Right",
77
- "match": true
78
- },
79
- "author": {
80
- "local": "Holtzman, Ari and\nWest, Peter and\nShwartz, Vered and\nChoi, Yejin and\nZettlemoyer, Luke",
81
- "source": "Holtzman, Ari and\nWest, Peter and\nShwartz, Vered and\nChoi, Yejin and\nZettlemoyer, Luke",
82
- "match": true
83
- },
84
- "year": {
85
- "local": "2021",
86
- "source": "2021",
87
- "match": true
88
- }
89
- },
90
- "status": "match"
91
- },
92
- {
93
- "key": "jiang2023mistral",
94
- "source_url": "https://arxiv.org/bibtex/2310.06825",
95
- "fields": {
96
- "title": {
97
- "local": "Mistral 7B",
98
- "source": "Mistral 7B",
99
- "match": true
100
- },
101
- "author": {
102
- "local": "Albert Q. Jiang and Alexandre Sablayrolles and Arthur Mensch and Chris Bamford and Devendra Singh Chaplot and Diego de las Casas and Florian Bressand and Gianna Lengyel and Guillaume Lample and Lucile Saulnier and Lélio Renard Lavaud and Marie-Anne Lachaux and Pierre Stock and Teven Le Scao and Thibaut Lavril and Thomas Wang and Timothée Lacroix and William El Sayed",
103
- "source": "Albert Q. Jiang and Alexandre Sablayrolles and Arthur Mensch and Chris Bamford and Devendra Singh Chaplot and Diego de las Casas and Florian Bressand and Gianna Lengyel and Guillaume Lample and Lucile Saulnier and Lélio Renard Lavaud and Marie-Anne Lachaux and Pierre Stock and Teven Le Scao and Thibaut Lavril and Thomas Wang and Timothée Lacroix and William El Sayed",
104
- "match": true
105
- },
106
- "year": {
107
- "local": "2023",
108
- "source": "2023",
109
- "match": true
110
- }
111
- },
112
- "status": "match"
113
- },
114
- {
115
- "key": "li2023halueval",
116
- "source_url": "https://aclanthology.org/2023.emnlp-main.397.bib",
117
- "fields": {
118
- "title": {
119
- "local": "{H}alu{E}val: A Large-Scale Hallucination Evaluation Benchmark for Large Language Models",
120
- "source": "{H}alu{E}val: A Large-Scale Hallucination Evaluation Benchmark for Large Language Models",
121
- "match": true
122
- },
123
- "author": {
124
- "local": "Li, Junyi and\nCheng, Xiaoxue and\nZhao, Xin and\nNie, Jian-Yun and\nWen, Ji-Rong",
125
- "source": "Li, Junyi and\nCheng, Xiaoxue and\nZhao, Xin and\nNie, Jian-Yun and\nWen, Ji-Rong",
126
- "match": true
127
- },
128
- "year": {
129
- "local": "2023",
130
- "source": "2023",
131
- "match": true
132
- }
133
- },
134
- "status": "match"
135
- },
136
- {
137
- "key": "yang2018hotpot",
138
- "source_url": "https://arxiv.org/bibtex/1809.09600",
139
- "status": "unresolved",
140
- "error": "HTTP Error 406: Not Acceptable"
141
- },
142
- {
143
- "key": "lin2022truthful",
144
- "source_url": "https://aclanthology.org/2022.acl-long.229.bib",
145
- "fields": {
146
- "title": {
147
- "local": "{T}ruthful{QA}: Measuring How Models Mimic Human Falsehoods",
148
- "source": "{T}ruthful{QA}: Measuring How Models Mimic Human Falsehoods",
149
- "match": true
150
- },
151
- "author": {
152
- "local": "Lin, Stephanie and\nHilton, Jacob and\nEvans, Owain",
153
- "source": "Lin, Stephanie and\nHilton, Jacob and\nEvans, Owain",
154
- "match": true
155
- },
156
- "year": {
157
- "local": "2022",
158
- "source": "2022",
159
- "match": true
160
- }
161
- },
162
- "status": "match"
163
- },
164
- {
165
- "key": "joshi2017trivia",
166
- "source_url": "https://arxiv.org/bibtex/1705.03551",
167
- "status": "unresolved",
168
- "error": "HTTP Error 406: Not Acceptable"
169
- },
170
- {
171
- "key": "kwiatkowski2019natural",
172
- "source_url": "https://aclanthology.org/Q19-1026.bib",
173
- "fields": {
174
- "title": {
175
- "local": "Natural Questions: A Benchmark for Question Answering Research",
176
- "source": "Natural Questions: A Benchmark for Question Answering Research",
177
- "match": true
178
- },
179
- "author": {
180
- "local": "Kwiatkowski, Tom and\nPalomaki, Jennimaria and\nRedfield, Olivia and\nCollins, Michael and\nParikh, Ankur and\nAlberti, Chris and\nEpstein, Danielle and\nPolosukhin, Illia and\nDevlin, Jacob and\nLee, Kenton and\nToutanova, Kristina and\nJones, Llion and\nKelcey, Matthew and\nChang, Ming-Wei and\nDai, Andrew M. and\nUszkoreit, Jakob and\nLe, Quoc and\nPetrov, Slav",
181
- "source": "Kwiatkowski, Tom and\nPalomaki, Jennimaria and\nRedfield, Olivia and\nCollins, Michael and\nParikh, Ankur and\nAlberti, Chris and\nEpstein, Danielle and\nPolosukhin, Illia and\nDevlin, Jacob and\nLee, Kenton and\nToutanova, Kristina and\nJones, Llion and\nKelcey, Matthew and\nChang, Ming-Wei and\nDai, Andrew M. and\nUszkoreit, Jakob and\nLe, Quoc and\nPetrov, Slav",
182
- "match": true
183
- },
184
- "year": {
185
- "local": "2019",
186
- "source": "2019",
187
- "match": true
188
- }
189
- },
190
- "status": "match"
191
- },
192
- {
193
- "key": "berant2013semantic",
194
- "source_url": "https://aclanthology.org/D13-1160.bib",
195
- "fields": {
196
- "title": {
197
- "local": "Semantic Parsing on {F}reebase from Question-Answer Pairs",
198
- "source": "Semantic Parsing on {F}reebase from Question-Answer Pairs",
199
- "match": true
200
- },
201
- "author": {
202
- "local": "Berant, Jonathan and\nChou, Andrew and\nFrostig, Roy and\nLiang, Percy",
203
- "source": "Berant, Jonathan and\nChou, Andrew and\nFrostig, Roy and\nLiang, Percy",
204
- "match": true
205
- },
206
- "year": {
207
- "local": "2013",
208
- "source": "2013",
209
- "match": true
210
- }
211
- },
212
- "status": "match"
213
- },
214
- {
215
- "key": "socher2013recursive",
216
- "source_url": "https://aclanthology.org/D13-1170.bib",
217
- "fields": {
218
- "title": {
219
- "local": "Recursive Deep Models for Semantic Compositionality Over a Sentiment Treebank",
220
- "source": "Recursive Deep Models for Semantic Compositionality Over a Sentiment Treebank",
221
- "match": true
222
- },
223
- "author": {
224
- "local": "Socher, Richard and\nPerelygin, Alex and\nWu, Jean and\nChuang, Jason and\nManning, Christopher D. and\nNg, Andrew and\nPotts, Christopher",
225
- "source": "Socher, Richard and\nPerelygin, Alex and\nWu, Jean and\nChuang, Jason and\nManning, Christopher D. and\nNg, Andrew and\nPotts, Christopher",
226
- "match": true
227
- },
228
- "year": {
229
- "local": "2013",
230
- "source": "2013",
231
- "match": true
232
- }
233
- },
234
- "status": "match"
235
- },
236
- {
237
- "key": "pang2005seeing",
238
- "source_url": "https://aclanthology.org/P05-1015.bib",
239
- "fields": {
240
- "title": {
241
- "local": "Seeing Stars: Exploiting Class Relationships for Sentiment Categorization with Respect to Rating Scales",
242
- "source": "Seeing Stars: Exploiting Class Relationships for Sentiment Categorization with Respect to Rating Scales",
243
- "match": true
244
- },
245
- "author": {
246
- "local": "Pang, Bo and\nLee, Lillian",
247
- "source": "Pang, Bo and\nLee, Lillian",
248
- "match": true
249
- },
250
- "year": {
251
- "local": "2005",
252
- "source": "2005",
253
- "match": true
254
- }
255
- },
256
- "status": "match"
257
- },
258
- {
259
- "key": "hu2004mining",
260
- "source_url": "https://doi.org/10.1145/1014052.1014073",
261
- "fields": {
262
- "title": {
263
- "local": "Mining and summarizing customer reviews",
264
- "source": "Mining and summarizing customer reviews",
265
- "match": true
266
- },
267
- "author": {
268
- "local": "Hu, Minqing and Liu, Bing",
269
- "source": "Hu, Minqing and Liu, Bing",
270
- "match": true
271
- },
272
- "year": {
273
- "local": "2004",
274
- "source": "2004",
275
- "match": true
276
- }
277
- },
278
- "status": "match"
279
- },
280
- {
281
- "key": "maas2011learning",
282
- "source_url": "https://aclanthology.org/P11-1015.bib",
283
- "fields": {
284
- "title": {
285
- "local": "Learning Word Vectors for Sentiment Analysis",
286
- "source": "Learning Word Vectors for Sentiment Analysis",
287
- "match": true
288
- },
289
- "author": {
290
- "local": "Maas, Andrew L. and\nDaly, Raymond E. and\nPham, Peter T. and\nHuang, Dan and\nNg, Andrew Y. and\nPotts, Christopher",
291
- "source": "Maas, Andrew L. and\nDaly, Raymond E. and\nPham, Peter T. and\nHuang, Dan and\nNg, Andrew Y. and\nPotts, Christopher",
292
- "match": true
293
- },
294
- "year": {
295
- "local": "2011",
296
- "source": "2011",
297
- "match": true
298
- }
299
- },
300
- "status": "match"
301
- },
302
- {
303
- "key": "zhang2016character",
304
- "source_url": "https://arxiv.org/bibtex/1509.01626",
305
- "status": "unresolved",
306
- "error": "HTTP Error 406: Not Acceptable"
307
- },
308
- {
309
- "key": "merity2016pointer",
310
- "source_url": "https://arxiv.org/bibtex/1609.07843",
311
- "status": "unresolved",
312
- "error": "HTTP Error 406: Not Acceptable"
313
- },
314
- {
315
- "key": "touvron2023llama",
316
- "source_url": "https://arxiv.org/bibtex/2307.09288",
317
- "fields": {
318
- "title": {
319
- "local": "Llama 2: Open Foundation and Fine-Tuned Chat Models",
320
- "source": "Llama 2: Open Foundation and Fine-Tuned Chat Models",
321
- "match": true
322
- },
323
- "author": {
324
- "local": "Hugo Touvron and Louis Martin and Kevin Stone and Peter Albert and Amjad Almahairi and Yasmine Babaei and Nikolay Bashlykov and Soumya Batra and Prajjwal Bhargava and Shruti Bhosale and Dan Bikel and Lukas Blecher and Cristian Canton Ferrer and Moya Chen and Guillem Cucurull and David Esiobu and Jude Fernandes and Jeremy Fu and Wenyin Fu and Brian Fuller and Cynthia Gao and Vedanuj Goswami and Naman Goyal and Anthony Hartshorn and Saghar Hosseini and Rui Hou and Hakan Inan and Marcin Kardas and Viktor Kerkez and Madian Khabsa and Isabel Kloumann and Artem Korenev and Punit Singh Koura and Marie-Anne Lachaux and Thibaut Lavril and Jenya Lee and Diana Liskovich and Yinghai Lu and Yuning Mao and Xavier Martinet and Todor Mihaylov and Pushkar Mishra and Igor Molybog and Yixin Nie and Andrew Poulton and Jeremy Reizenstein and Rashi Rungta and Kalyan Saladi and Alan Schelten and Ruan Silva and Eric Michael Smith and Ranjan Subramanian and Xiaoqing Ellen Tan and Binh Tang and Ross Taylor and Adina Williams and Jian Xiang Kuan and Puxin Xu and Zheng Yan and Iliyan Zarov and Yuchen Zhang and Angela Fan and Melanie Kambadur and Sharan Narang and Aurelien Rodriguez and Robert Stojnic and Sergey Edunov and Thomas Scialom",
325
- "source": "Hugo Touvron and Louis Martin and Kevin Stone and Peter Albert and Amjad Almahairi and Yasmine Babaei and Nikolay Bashlykov and Soumya Batra and Prajjwal Bhargava and Shruti Bhosale and Dan Bikel and Lukas Blecher and Cristian Canton Ferrer and Moya Chen and Guillem Cucurull and David Esiobu and Jude Fernandes and Jeremy Fu and Wenyin Fu and Brian Fuller and Cynthia Gao and Vedanuj Goswami and Naman Goyal and Anthony Hartshorn and Saghar Hosseini and Rui Hou and Hakan Inan and Marcin Kardas and Viktor Kerkez and Madian Khabsa and Isabel Kloumann and Artem Korenev and Punit Singh Koura and Marie-Anne Lachaux and Thibaut Lavril and Jenya Lee and Diana Liskovich and Yinghai Lu and Yuning Mao and Xavier Martinet and Todor Mihaylov and Pushkar Mishra and Igor Molybog and Yixin Nie and Andrew Poulton and Jeremy Reizenstein and Rashi Rungta and Kalyan Saladi and Alan Schelten and Ruan Silva and Eric Michael Smith and Ranjan Subramanian and Xiaoqing Ellen Tan and Binh Tang and Ross Taylor and Adina Williams and Jian Xiang Kuan and Puxin Xu and Zheng Yan and Iliyan Zarov and Yuchen Zhang and Angela Fan and Melanie Kambadur and Sharan Narang and Aurelien Rodriguez and Robert Stojnic and Sergey Edunov and Thomas Scialom",
326
- "match": true
327
- },
328
- "year": {
329
- "local": "2023",
330
- "source": "2023",
331
- "match": true
332
- }
333
- },
334
- "status": "match"
335
- },
336
- {
337
- "key": "fedus2022switch",
338
- "source_url": "https://www.jmlr.org/papers/v23/21-0998.bib",
339
- "fields": {
340
- "title": {
341
- "local": "Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity",
342
- "source": "Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity",
343
- "match": true
344
- },
345
- "author": {
346
- "local": "William Fedus and Barret Zoph and Noam Shazeer",
347
- "source": "William Fedus and Barret Zoph and Noam Shazeer",
348
- "match": true
349
- },
350
- "year": {
351
- "local": "2022",
352
- "source": "2022",
353
- "match": true
354
- }
355
- },
356
- "status": "match"
357
- },
358
- {
359
- "key": "zhang2025memgen",
360
- "source_url": "https://arxiv.org/bibtex/2509.24704",
361
- "fields": {
362
- "title": {
363
- "local": "MemGen: Weaving Generative Latent Memory for Self-Evolving Agents",
364
- "source": "MemGen: Weaving Generative Latent Memory for Self-Evolving Agents",
365
- "match": true
366
- },
367
- "author": {
368
- "local": "Guibin Zhang and Muxin Fu and Shuicheng Yan",
369
- "source": "Guibin Zhang and Muxin Fu and Shuicheng Yan",
370
- "match": true
371
- },
372
- "year": {
373
- "local": "2025",
374
- "source": "2025",
375
- "match": true
376
- }
377
- },
378
- "status": "match"
379
- }
380
- ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
paper_reference_data/table2_averages.json DELETED
@@ -1,42 +0,0 @@
1
- [
2
- {
3
- "method": "E only",
4
- "average": "37.65",
5
- "delta": "0.00"
6
- },
7
- {
8
- "method": "GE only",
9
- "average": "35.39",
10
- "delta": "-2.27"
11
- },
12
- {
13
- "method": "GH only",
14
- "average": "33.21",
15
- "delta": "-4.44"
16
- },
17
- {
18
- "method": "Ordinary hard routing",
19
- "average": "35.83",
20
- "delta": "-1.82"
21
- },
22
- {
23
- "method": "Ordinary soft fusion",
24
- "average": "28.62",
25
- "delta": "-9.03"
26
- },
27
- {
28
- "method": "Subset hard routing",
29
- "average": "37.74",
30
- "delta": "0.09"
31
- },
32
- {
33
- "method": "Subset soft fusion",
34
- "average": "29.48",
35
- "delta": "-8.17"
36
- },
37
- {
38
- "method": "E-anchored router",
39
- "average": "39.28",
40
- "delta": "1.62"
41
- }
42
- ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
paper_reference_data/table5_averages.json DELETED
@@ -1,37 +0,0 @@
1
- [
2
- {
3
- "method": "Main router",
4
- "mean": "39.276",
5
- "change": "0.000"
6
- },
7
- {
8
- "method": "No gate",
9
- "mean": "33.354",
10
- "change": "-5.922"
11
- },
12
- {
13
- "method": "Permuted keys",
14
- "mean": "38.576",
15
- "change": "-0.700"
16
- },
17
- {
18
- "method": "Random memory, trained",
19
- "mean": "39.798",
20
- "change": "0.522"
21
- },
22
- {
23
- "method": "Train from scratch",
24
- "mean": "40.164",
25
- "change": "0.888"
26
- },
27
- {
28
- "method": "Parameter-matched FFN",
29
- "mean": "24.916",
30
- "change": "-14.360"
31
- },
32
- {
33
- "method": "Affine stitch",
34
- "mean": "37.812",
35
- "change": "-1.464"
36
- }
37
- ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
parameter_match.json DELETED
@@ -1,6 +0,0 @@
1
- {
2
- "per_layer_ffn_params": 83957767,
3
- "per_layer_full_tri_params": 83960284,
4
- "relative_error": 2.997845981559567e-05,
5
- "injection_layers": 2
6
- }
 
 
 
 
 
 
 
reference_config.json DELETED
@@ -1,63 +0,0 @@
1
- {
2
- "config": null,
3
- "condition": "transferred",
4
- "target_model": "mistralai/Mistral-7B-v0.3",
5
- "source_memory": "/scratch/project_462001050/mingyl/llm-memory-transfer/publish_bundle/models/hf_repos/olaresearchx-xmemtransfer-llama2-source-20m/memory.pt",
6
- "memory_config": "/scratch/project_462001050/mingyl/llm-memory-transfer/publish_bundle/models/hf_repos/olaresearchx-xmemtransfer-llama2-source-20m/memory_config.json",
7
- "init_adaptor": null,
8
- "train_generated_branch_only": false,
9
- "dual_reader_mode": "both",
10
- "max_tokens": 20000000,
11
- "seq_len": 2048,
12
- "batch_size": 1,
13
- "lr": 3e-05,
14
- "warmup_steps": 500,
15
- "seed": 42,
16
- "output_dir": "/scratch/project_462001493/mingyl/ATHENA/run/tri_memory_joint_softsubset_20260903T053716Z/tri_20m_train",
17
- "log_every": 50,
18
- "eval_every": 500,
19
- "validation_max_tokens": 2000000,
20
- "injection_layers": "2:10",
21
- "adaptor_branches": 4,
22
- "architecture": "generative",
23
- "reader_type": "cross_attention",
24
- "generator_cue_source": "hybrid",
25
- "generator_num_latents": 4,
26
- "generator_hidden_size": 256,
27
- "generator_layers": 2,
28
- "generator_heads": 4,
29
- "generator_cue_window": 3,
30
- "generator_adaptive_router": true,
31
- "generator_router_hidden_size": 64,
32
- "generator_router_semantic_size": 64,
33
- "generator_source_adapter_rank": 16,
34
- "generator_router_expert_mode": "residual",
35
- "generator_fusion_type": "tri_reader",
36
- "memory_dim": 512,
37
- "canon_mode": "word_boundary",
38
- "corpus": "wikipedia-2021",
39
- "corpus_subset": "hq-dqa",
40
- "wikipedia2021_dataset": null,
41
- "wikipedia2021_source_tokenizer": "mistralai/Mistral-7B-v0.3",
42
- "wikipedia2021_require_tokenizer_match": true,
43
- "early_stopping_patience": 0,
44
- "grad_accum_steps": 1,
45
- "gradient_checkpointing": true,
46
- "joint_engram_generated_router": false,
47
- "joint_source_reader": false,
48
- "joint_tri_reader": false,
49
- "joint_tri_subset_reader": true,
50
- "engram_source_loss_weight": 1.0,
51
- "generated_source_loss_weight": 1.0,
52
- "ge_source_loss_weight": 1.0,
53
- "gh_source_loss_weight": 1.0,
54
- "routed_source_loss_weight": 1.0,
55
- "subset_routed_source_loss_weight": 1.0,
56
- "tri_router_distillation_weight": 0.5,
57
- "deterministic_engram_init_seed": 42,
58
- "router_lr": 0.001,
59
- "router_start_tokens": 2000000,
60
- "router_init_alpha": 0.95,
61
- "generated_residual_penalty": 0.0,
62
- "skip_final_test_eval": true
63
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
release_manifest.json DELETED
@@ -1,25 +0,0 @@
1
- {
2
- "release": "memoryathena-control-suite",
3
- "created": "2026-09-22",
4
- "target_model": "mistralai/Mistral-7B-v0.3",
5
- "seed": 42,
6
- "main_condition": "three_source_advantage_reader",
7
- "control_conditions": [
8
- "no_gate",
9
- "permuted_keys",
10
- "random_memory",
11
- "train_from_scratch",
12
- "ffn_only",
13
- "affine_stitch"
14
- ],
15
- "artifact_policy": {
16
- "include": ["adaptor_best.pt", "memory.pt", "memory_best.pt", "config.json", "results.json", "COMPLETED"],
17
- "exclude": ["optimizer states", "intermediate checkpoints", "raw datasets", "prediction logs", "credentials"]
18
- },
19
- "provenance": {
20
- "ledger": "ARTIFACTS.md",
21
- "control_protocol": "run/tri_ablations_20260909/README.md",
22
- "paper_reference_table2": "paper/reference_recheck_20260920/table2_averages.json",
23
- "paper_reference_table5": "paper/reference_recheck_20260920/table5_averages.json"
24
- }
25
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
results.jsonl ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"task_family": "QA", "task": "NQ", "condition": "engram_only", "split": "Natural Questions Open paper-aligned evaluation split", "metric_schema": "EM/F1", "metrics_percent": {"EM": 20.28, "F1": 28.18}, "model_repo": "OLAResearchX/memoryathena-qa-20260922", "notes": "single seed; labels used only for final scoring"}
2
+ {"task_family": "QA", "task": "WebQA", "condition": "engram_only", "split": "WebQuestions/WebQA paper-aligned evaluation split", "metric_schema": "EM/F1", "metrics_percent": {"EM": 14.86, "F1": 33.28}, "model_repo": "OLAResearchX/memoryathena-qa-20260922", "notes": "single seed; labels used only for final scoring"}
3
+ {"task_family": "QA", "task": "TriviaQA", "condition": "engram_only", "split": "rc.nocontext validation split", "metric_schema": "EM/F1", "metrics_percent": {"EM": 63.92, "F1": 69.18}, "model_repo": "OLAResearchX/memoryathena-qa-20260922", "notes": "single seed; labels used only for final scoring"}
4
+ {"task_family": "QA", "task": "TruthfulQA", "condition": "engram_only", "split": "multiple_choice split", "metric_schema": "MC1/MC2/MC3/mean", "metrics_percent": {"MC1": 27.42, "MC2": 44.32, "MC3": 22.69, "mean": 31.47}, "model_repo": "OLAResearchX/memoryathena-qa-20260922", "notes": "single seed; labels used only for final scoring"}
5
+ {"task_family": "QA", "task": "HotpotQA", "condition": "engram_only", "split": "distractor split", "metric_schema": "EM/F1", "metrics_percent": {"EM": 17.95, "F1": 25.92}, "model_repo": "OLAResearchX/memoryathena-qa-20260922", "notes": "single seed; labels used only for final scoring"}
6
+ {"task_family": "QA", "task": "NQ", "condition": "tri_E", "split": "Natural Questions Open paper-aligned evaluation split", "metric_schema": "EM/F1", "metrics_percent": {"EM": 20.2, "F1": 28.28}, "model_repo": "OLAResearchX/memoryathena-qa-20260922", "notes": "single seed; labels used only for final scoring"}
7
+ {"task_family": "QA", "task": "WebQA", "condition": "tri_E", "split": "WebQuestions/WebQA paper-aligned evaluation split", "metric_schema": "EM/F1", "metrics_percent": {"EM": 14.96, "F1": 33.35}, "model_repo": "OLAResearchX/memoryathena-qa-20260922", "notes": "single seed; labels used only for final scoring"}
8
+ {"task_family": "QA", "task": "TriviaQA", "condition": "tri_E", "split": "rc.nocontext validation split", "metric_schema": "EM/F1", "metrics_percent": {"EM": 64.05, "F1": 69.34}, "model_repo": "OLAResearchX/memoryathena-qa-20260922", "notes": "single seed; labels used only for final scoring"}
9
+ {"task_family": "QA", "task": "TruthfulQA", "condition": "tri_E", "split": "multiple_choice split", "metric_schema": "MC1/MC2/MC3/mean", "metrics_percent": {"MC1": 26.93, "MC2": 44.18, "MC3": 22.64, "mean": 31.25}, "model_repo": "OLAResearchX/memoryathena-qa-20260922", "notes": "single seed; labels used only for final scoring"}
10
+ {"task_family": "QA", "task": "HotpotQA", "condition": "tri_E", "split": "distractor split", "metric_schema": "EM/F1", "metrics_percent": {"EM": 18.19, "F1": 26.04}, "model_repo": "OLAResearchX/memoryathena-qa-20260922", "notes": "single seed; labels used only for final scoring"}
11
+ {"task_family": "QA", "task": "NQ", "condition": "tri_reader_advantage", "split": "Natural Questions Open paper-aligned evaluation split", "metric_schema": "EM/F1", "metrics_percent": {"EM": 22.72, "F1": 33.02}, "model_repo": "OLAResearchX/memoryathena-qa-20260922", "notes": "single seed; labels used only for final scoring"}
12
+ {"task_family": "QA", "task": "WebQA", "condition": "tri_reader_advantage", "split": "WebQuestions/WebQA paper-aligned evaluation split", "metric_schema": "EM/F1", "metrics_percent": {"EM": 17.86, "F1": 34.6}, "model_repo": "OLAResearchX/memoryathena-qa-20260922", "notes": "single seed; labels used only for final scoring"}
13
+ {"task_family": "QA", "task": "TriviaQA", "condition": "tri_reader_advantage", "split": "rc.nocontext validation split", "metric_schema": "EM/F1", "metrics_percent": {"EM": 62.78, "F1": 70.68}, "model_repo": "OLAResearchX/memoryathena-qa-20260922", "notes": "single seed; labels used only for final scoring"}
14
+ {"task_family": "QA", "task": "TruthfulQA", "condition": "tri_reader_advantage", "split": "multiple_choice split", "metric_schema": "MC1/MC2/MC3/mean", "metrics_percent": {"MC1": 28.15, "MC2": 44.04, "MC3": 23.02, "mean": 31.74}, "model_repo": "OLAResearchX/memoryathena-qa-20260922", "notes": "single seed; labels used only for final scoring"}
15
+ {"task_family": "QA", "task": "HotpotQA", "condition": "tri_reader_advantage", "split": "distractor split", "metric_schema": "EM/F1", "metrics_percent": {"EM": 15.62, "F1": 26.34}, "model_repo": "OLAResearchX/memoryathena-qa-20260922", "notes": "single seed; labels used only for final scoring"}
16
+ {"task_family": "QA", "task": "NQ", "condition": "mistral_to_llama_transfer", "split": "Natural Questions Open paper-aligned evaluation split", "metric_schema": "EM/F1", "metrics_percent": {"EM": 20.37, "F1": 29.98}, "model_repo": "OLAResearchX/memoryathena-qa-20260922", "notes": "single seed; labels used only for final scoring"}
17
+ {"task_family": "QA", "task": "WebQA", "condition": "mistral_to_llama_transfer", "split": "WebQuestions/WebQA paper-aligned evaluation split", "metric_schema": "EM/F1", "metrics_percent": {"EM": 18.06, "F1": 36.4}, "model_repo": "OLAResearchX/memoryathena-qa-20260922", "notes": "single seed; labels used only for final scoring"}
18
+ {"task_family": "QA", "task": "TriviaQA", "condition": "mistral_to_llama_transfer", "split": "rc.nocontext validation split", "metric_schema": "EM/F1", "metrics_percent": {"EM": 60.35, "F1": 67.39}, "model_repo": "OLAResearchX/memoryathena-qa-20260922", "notes": "single seed; labels used only for final scoring"}
19
+ {"task_family": "QA", "task": "TruthfulQA", "condition": "mistral_to_llama_transfer", "split": "multiple_choice split", "metric_schema": "MC1/MC2/MC3/mean", "metrics_percent": {"MC1": 27.78, "MC2": 41.57, "MC3": 21.87, "mean": 30.41}, "model_repo": "OLAResearchX/memoryathena-qa-20260922", "notes": "single seed; labels used only for final scoring"}
20
+ {"task_family": "QA", "task": "HotpotQA", "condition": "mistral_to_llama_transfer", "split": "distractor split", "metric_schema": "EM/F1", "metrics_percent": {"EM": 16.0, "F1": 25.17}, "model_repo": "OLAResearchX/memoryathena-qa-20260922", "notes": "single seed; labels used only for final scoring"}
21
+ {"task_family": "QA", "task": "NQ", "condition": "tri_E_GE_pair", "split": "Natural Questions Open paper-aligned evaluation split", "metric_schema": "EM/F1", "metrics_percent": {"EM": 12.86, "F1": 28.7}, "model_repo": "OLAResearchX/memoryathena-qa-20260922", "notes": "single seed; labels used only for final scoring"}
22
+ {"task_family": "QA", "task": "WebQA", "condition": "tri_E_GE_pair", "split": "WebQuestions/WebQA paper-aligned evaluation split", "metric_schema": "EM/F1", "metrics_percent": {"EM": 16.44, "F1": 34.79}, "model_repo": "OLAResearchX/memoryathena-qa-20260922", "notes": "single seed; labels used only for final scoring"}
23
+ {"task_family": "QA", "task": "TriviaQA", "condition": "tri_E_GE_pair", "split": "rc.nocontext validation split", "metric_schema": "EM/F1", "metrics_percent": {"EM": 33.7, "F1": 58.72}, "model_repo": "OLAResearchX/memoryathena-qa-20260922", "notes": "single seed; labels used only for final scoring"}
24
+ {"task_family": "QA", "task": "TruthfulQA", "condition": "tri_E_GE_pair", "split": "multiple_choice split", "metric_schema": "MC1/MC2/MC3/mean", "metrics_percent": {"MC1": 27.54, "MC2": 43.4, "MC3": 22.72, "mean": 31.22}, "model_repo": "OLAResearchX/memoryathena-qa-20260922", "notes": "single seed; labels used only for final scoring"}
25
+ {"task_family": "QA", "task": "HotpotQA", "condition": "tri_E_GE_pair", "split": "distractor split", "metric_schema": "EM/F1", "metrics_percent": {"EM": 8.7, "F1": 23.2}, "model_repo": "OLAResearchX/memoryathena-qa-20260922", "notes": "single seed; labels used only for final scoring"}
26
+ {"task_family": "QA", "task": "NQ", "condition": "tri_E_GH_pair", "split": "Natural Questions Open paper-aligned evaluation split", "metric_schema": "EM/F1", "metrics_percent": {"EM": 10.56, "F1": 27.37}, "model_repo": "OLAResearchX/memoryathena-qa-20260922", "notes": "single seed; labels used only for final scoring"}
27
+ {"task_family": "QA", "task": "WebQA", "condition": "tri_E_GH_pair", "split": "WebQuestions/WebQA paper-aligned evaluation split", "metric_schema": "EM/F1", "metrics_percent": {"EM": 13.04, "F1": 33.75}, "model_repo": "OLAResearchX/memoryathena-qa-20260922", "notes": "single seed; labels used only for final scoring"}
28
+ {"task_family": "QA", "task": "TriviaQA", "condition": "tri_E_GH_pair", "split": "rc.nocontext validation split", "metric_schema": "EM/F1", "metrics_percent": {"EM": 43.75, "F1": 64.48}, "model_repo": "OLAResearchX/memoryathena-qa-20260922", "notes": "single seed; labels used only for final scoring"}
29
+ {"task_family": "QA", "task": "TruthfulQA", "condition": "tri_E_GH_pair", "split": "multiple_choice split", "metric_schema": "MC1/MC2/MC3/mean", "metrics_percent": {"MC1": 27.78, "MC2": 42.9, "MC3": 22.67, "mean": 31.12}, "model_repo": "OLAResearchX/memoryathena-qa-20260922", "notes": "single seed; labels used only for final scoring"}
30
+ {"task_family": "QA", "task": "HotpotQA", "condition": "tri_E_GH_pair", "split": "distractor split", "metric_schema": "EM/F1", "metrics_percent": {"EM": 12.4, "F1": 25.03}, "model_repo": "OLAResearchX/memoryathena-qa-20260922", "notes": "single seed; labels used only for final scoring"}
31
+ {"task_family": "general-NLP", "task": "SST2", "condition": "vanilla_historical", "split": "paper-aligned evaluation", "metric_schema": "accuracy_percent", "metrics_percent": {"accuracy": 81.07798165137615}, "model_repo": "OLAResearchX/memoryathena-general-nlp-20260922", "notes": "domain-conditional PMI; labels used only for final accuracy"}
32
+ {"task_family": "general-NLP", "task": "MR", "condition": "vanilla_historical", "split": "paper-aligned evaluation", "metric_schema": "accuracy_percent", "metrics_percent": {"accuracy": 75.6}, "model_repo": "OLAResearchX/memoryathena-general-nlp-20260922", "notes": "domain-conditional PMI; labels used only for final accuracy"}
33
+ {"task_family": "general-NLP", "task": "CR", "condition": "vanilla_historical", "split": "paper-aligned evaluation", "metric_schema": "accuracy_percent", "metrics_percent": {"accuracy": 74.0}, "model_repo": "OLAResearchX/memoryathena-general-nlp-20260922", "notes": "domain-conditional PMI; labels used only for final accuracy"}
34
+ {"task_family": "general-NLP", "task": "RT", "condition": "vanilla_historical", "split": "paper-aligned evaluation", "metric_schema": "accuracy_percent", "metrics_percent": {"accuracy": 74.671669793621}, "model_repo": "OLAResearchX/memoryathena-general-nlp-20260922", "notes": "domain-conditional PMI; labels used only for final accuracy"}
35
+ {"task_family": "general-NLP", "task": "AGN", "condition": "vanilla_historical", "split": "paper-aligned evaluation", "metric_schema": "accuracy_percent", "metrics_percent": {"accuracy": 73.23684210526316}, "model_repo": "OLAResearchX/memoryathena-general-nlp-20260922", "notes": "domain-conditional PMI; labels used only for final accuracy"}
36
+ {"task_family": "general-NLP", "task": "Yahoo", "condition": "vanilla_historical", "split": "Yahoo Answers Topics paper-aligned evaluation", "metric_schema": "accuracy_percent", "metrics_percent": {"accuracy": 55.025}, "model_repo": "OLAResearchX/memoryathena-general-nlp-20260922", "notes": "domain-conditional PMI; labels used only for final accuracy"}
37
+ {"task_family": "general-NLP", "task": "SST2", "condition": "tri_E", "split": "paper-aligned evaluation", "metric_schema": "accuracy_percent", "metrics_percent": {"accuracy": 84.17431192660551}, "model_repo": "OLAResearchX/memoryathena-general-nlp-20260922", "notes": "domain-conditional PMI; labels used only for final accuracy"}
38
+ {"task_family": "general-NLP", "task": "MR", "condition": "tri_E", "split": "paper-aligned evaluation", "metric_schema": "accuracy_percent", "metrics_percent": {"accuracy": 81.0}, "model_repo": "OLAResearchX/memoryathena-general-nlp-20260922", "notes": "domain-conditional PMI; labels used only for final accuracy"}
39
+ {"task_family": "general-NLP", "task": "CR", "condition": "tri_E", "split": "paper-aligned evaluation", "metric_schema": "accuracy_percent", "metrics_percent": {"accuracy": 82.4}, "model_repo": "OLAResearchX/memoryathena-general-nlp-20260922", "notes": "domain-conditional PMI; labels used only for final accuracy"}
40
+ {"task_family": "general-NLP", "task": "RT", "condition": "tri_E", "split": "paper-aligned evaluation", "metric_schema": "accuracy_percent", "metrics_percent": {"accuracy": 82.36397748592871}, "model_repo": "OLAResearchX/memoryathena-general-nlp-20260922", "notes": "domain-conditional PMI; labels used only for final accuracy"}
41
+ {"task_family": "general-NLP", "task": "AGN", "condition": "tri_E", "split": "paper-aligned evaluation", "metric_schema": "accuracy_percent", "metrics_percent": {"accuracy": 72.9342105263158}, "model_repo": "OLAResearchX/memoryathena-general-nlp-20260922", "notes": "domain-conditional PMI; labels used only for final accuracy"}
42
+ {"task_family": "general-NLP", "task": "Yahoo", "condition": "tri_E", "split": "Yahoo Answers Topics paper-aligned evaluation", "metric_schema": "accuracy_percent", "metrics_percent": {"accuracy": 57.50666666666666}, "model_repo": "OLAResearchX/memoryathena-general-nlp-20260922", "notes": "domain-conditional PMI; labels used only for final accuracy"}
43
+ {"task_family": "general-NLP", "task": "SST2", "condition": "tri_reader_advantage_tau0", "split": "paper-aligned evaluation", "metric_schema": "accuracy_percent", "metrics_percent": {"accuracy": 88.07339449541286}, "model_repo": "OLAResearchX/memoryathena-general-nlp-20260922", "notes": "domain-conditional PMI; labels used only for final accuracy"}
44
+ {"task_family": "general-NLP", "task": "MR", "condition": "tri_reader_advantage_tau0", "split": "paper-aligned evaluation", "metric_schema": "accuracy_percent", "metrics_percent": {"accuracy": 84.7}, "model_repo": "OLAResearchX/memoryathena-general-nlp-20260922", "notes": "domain-conditional PMI; labels used only for final accuracy"}
45
+ {"task_family": "general-NLP", "task": "CR", "condition": "tri_reader_advantage_tau0", "split": "paper-aligned evaluation", "metric_schema": "accuracy_percent", "metrics_percent": {"accuracy": 84.1}, "model_repo": "OLAResearchX/memoryathena-general-nlp-20260922", "notes": "domain-conditional PMI; labels used only for final accuracy"}
46
+ {"task_family": "general-NLP", "task": "RT", "condition": "tri_reader_advantage_tau0", "split": "paper-aligned evaluation", "metric_schema": "accuracy_percent", "metrics_percent": {"accuracy": 83.86491557223265}, "model_repo": "OLAResearchX/memoryathena-general-nlp-20260922", "notes": "domain-conditional PMI; labels used only for final accuracy"}
47
+ {"task_family": "general-NLP", "task": "AGN", "condition": "tri_reader_advantage_tau0", "split": "paper-aligned evaluation", "metric_schema": "accuracy_percent", "metrics_percent": {"accuracy": 76.64473684210527}, "model_repo": "OLAResearchX/memoryathena-general-nlp-20260922", "notes": "domain-conditional PMI; labels used only for final accuracy"}
48
+ {"task_family": "general-NLP", "task": "Yahoo", "condition": "tri_reader_advantage_tau0", "split": "Yahoo Answers Topics paper-aligned evaluation", "metric_schema": "accuracy_percent", "metrics_percent": {"accuracy": 45.91}, "model_repo": "OLAResearchX/memoryathena-general-nlp-20260922", "notes": "domain-conditional PMI; labels used only for final accuracy"}
49
+ {"task_family": "general-NLP", "task": "SST2", "condition": "tri_reader_advantage_yahoo_tau1_posthoc", "split": "paper-aligned evaluation", "metric_schema": "accuracy_percent", "metrics_percent": {"accuracy": 88.07339449541286}, "model_repo": "OLAResearchX/memoryathena-general-nlp-20260922", "notes": "domain-conditional PMI; labels used only for final accuracy; Yahoo tau=1 is post-hoc test sweep"}
50
+ {"task_family": "general-NLP", "task": "MR", "condition": "tri_reader_advantage_yahoo_tau1_posthoc", "split": "paper-aligned evaluation", "metric_schema": "accuracy_percent", "metrics_percent": {"accuracy": 84.7}, "model_repo": "OLAResearchX/memoryathena-general-nlp-20260922", "notes": "domain-conditional PMI; labels used only for final accuracy; Yahoo tau=1 is post-hoc test sweep"}
51
+ {"task_family": "general-NLP", "task": "CR", "condition": "tri_reader_advantage_yahoo_tau1_posthoc", "split": "paper-aligned evaluation", "metric_schema": "accuracy_percent", "metrics_percent": {"accuracy": 84.1}, "model_repo": "OLAResearchX/memoryathena-general-nlp-20260922", "notes": "domain-conditional PMI; labels used only for final accuracy; Yahoo tau=1 is post-hoc test sweep"}
52
+ {"task_family": "general-NLP", "task": "RT", "condition": "tri_reader_advantage_yahoo_tau1_posthoc", "split": "paper-aligned evaluation", "metric_schema": "accuracy_percent", "metrics_percent": {"accuracy": 83.86491557223265}, "model_repo": "OLAResearchX/memoryathena-general-nlp-20260922", "notes": "domain-conditional PMI; labels used only for final accuracy; Yahoo tau=1 is post-hoc test sweep"}
53
+ {"task_family": "general-NLP", "task": "AGN", "condition": "tri_reader_advantage_yahoo_tau1_posthoc", "split": "paper-aligned evaluation", "metric_schema": "accuracy_percent", "metrics_percent": {"accuracy": 76.64473684210527}, "model_repo": "OLAResearchX/memoryathena-general-nlp-20260922", "notes": "domain-conditional PMI; labels used only for final accuracy; Yahoo tau=1 is post-hoc test sweep"}
54
+ {"task_family": "general-NLP", "task": "Yahoo", "condition": "tri_reader_advantage_yahoo_tau1_posthoc", "split": "Yahoo Answers Topics paper-aligned evaluation", "metric_schema": "accuracy_percent", "metrics_percent": {"accuracy": 57.43166666666667}, "model_repo": "OLAResearchX/memoryathena-general-nlp-20260922", "notes": "domain-conditional PMI; labels used only for final accuracy; Yahoo tau=1 is post-hoc test sweep"}
schema.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fields": {
3
+ "task_family": "QA or general-NLP",
4
+ "task": "benchmark task name",
5
+ "condition": "stable release condition identifier",
6
+ "split": "evaluation split/protocol description",
7
+ "metric_schema": "metric names",
8
+ "metrics_percent": "aggregate metrics in percent",
9
+ "model_repo": "Hugging Face model repository",
10
+ "notes": "protocol and disclosure notes"
11
+ },
12
+ "row_count": 54,
13
+ "raw_data_included": false
14
+ }