Imported from leeminjae007/EEG-foundation-model-refactoring (
AGENTS.md). Install upstream withnpx skills add leeminjae007/EEG-foundation-model-refactoring. Copyright stays with the author.
Experiment execution and result reporting
When the user asks to run an experiment, treat monitoring and result publication as part of the requested workflow.
- Monitor without reserving a GPU. Use a local CPU/background monitor or a CPU-only dependent job.
- Every downstream run starts immediately at its configured base learning rate. Do not add warmup logic, warmup configuration keys, or warmup-labelled downstream filenames. Pretraining schedules are outside this rule.
- Do not publish a final aggregate until every requested dataset has exactly five completed seeds and every seed has a readable
result.json. - Write results below
outputs/results/. - Use one folder per dataset named
MMDDHHmm-dataset-pretrain_alias, for example09151628-tuab-knn37-warmup0. - Each dataset folder must contain
results.csvandresults.md. Update the globaloutputs/results/RESULTS.mdin the same operation. - The comparison table starts with
Metric,우리 (<pretrain alias>), followed by prior-study model columns such asCBraMod,CSBrain, andREVE. - In every results file, comparison table, and aggregate index, list datasets in this exact order: CHB-MIT, SIENA, PHYSIONET-MI, TUEV, TUAB, FACED, SEED-V, Mental Arithmetic, ISRUC, HMC. Omit datasets absent from a campaign without changing the relative order; place any other datasets after these. Apply this to CSV rows as well as Markdown sections. Corresponding slugs are
chb,siena,physionet_mi(orphysio),tuev,tuab,faced,seedv(orseed-v),mentalarithmetic(orstress),isruc,hmc. - Rank methods independently for every metric. In Markdown, render the highest mean in bold and the second-highest mean with
<u>underline</u>. CSV stores plain numeric means, population SDs, sample counts, and explicit rank columns; formatting must never be the only rank encoding. - Select checkpoints using the campaign's validation selector. Never select a checkpoint, hyperparameter, or method from test performance.
- Preserve the five individual seed values in
seed_results.csvfor auditability. - If a job finishes without all expected artifacts, record the missing dataset/seeds and do not label the experiment complete.
- The four GR2 campaigns
gr2-mjde-d4-geometry,gr2-d2-static,gr2-d2-patch-scalar, andgr2-d2-patch-dimensionare main-result candidates. Their downstream five-seed campaigns use A100. - The
gr2-d4-patch-dimension-mask55andgr2-d4-patch-dimension-mask60candidates use A100 for both production pretraining and downstream, per the user's explicit request. Their diagnostic smoke defaults to A100 but may use L40S when explicitly selected. - For later ablation or comparison campaigns, pretraining uses
a100_short,a100_long; downstream uses L40S. Routetuab,chb, andtuevtogl40s_long. Routetusl,tusz,seedv,faced,mentalarithmetic,physionet_mi,isruc,hmc, andsienatogl40s_dev,gl40s_short. - Keep per-dataset L40S downstream runtime measurements. Until five-seed observations exist, label any duration used for scheduling as an estimate rather than an empirical average.
- For new Mental Arithmetic downstream runs, use the user-fixed default LR
1e-4for tokenizer/encoder/head, weight decay0.02, and head dropout0.1. Do not rewrite frozen configs or results of already prepared/submitted campaigns. This default was selected after inspecting five-seed test results, so those same test scores are exploratory and must not be presented as an independent unbiased evaluation.