ml-research-protocol
Use when running empirical machine-learning experiments — baseline and ablation discipline, multi-seed aggregation, reproducibility logging — or when auditing whether a conclusion you rely on is actually supported by the runs behind it. Wires the experiment island to statistical-rigor and the manuscript.
- License 许可
- MIT
- 最近更新
- 2026-09-05
- Stars
- ★ 4
- Forks
- 0
01 前言 Front Matter
- name
- ml-research-protocol
- license
- MIT
- description
- Use when running empirical machine-learning experiments — baseline and ablation discipline, multi-seed aggregation, reproducibility logging — or when auditing whether a conclusion you rely on is actually supported by the runs behind it. Wires the experiment island to statistical-rigor and the manuscript.
02 资源文件 6
- 参考文档references/baselines-and-ablations.md3.1 KB
- 参考文档references/reproducibility-checklist.md2.6 KB
- 脚本scripts/aggregate_seeds.py3.7 KB
- 参考文档templates/experiment-log.md1.2 KB
- 其他templates/hyperparameters-table.tex1.1 KB
- 其他templates/results-table.tex1.1 KB
03 SKILL.md 正文
ML Research Protocol
Empirical ML is a decision factory: every experiment decides whether a line of work lives, dies, or pivots. Those decisions are only as good as the evidence — single-seed numbers, untuned baselines, and hand-typed tables corrupt them quietly. This skill is the discipline that keeps your own results trustworthy. Being review-ready then costs nothing extra.
When to use
- Designing an experiment matrix (pair with
experiment-design-matrix) - Deciding between methods or variants from your own results
- Aggregating results across seeds; building results tables
- Auditing whether a conclusion you rely on is actually supported
(pair with
critical-review,statistical-rigor) - Preparing the reproducibility statement / appendix
Files in this skill
Read on demand:
references/reproducibility-checklist.md— the reproducibility and compute-reporting checklist (NeurIPS-style), seed policy, code/data availability statements.references/baselines-and-ablations.md— fair-comparison rules, ablation design, and the self-attack list. Read before claiming "SOTA".templates/experiment-log.md— per-run manifest: commit, config, seeds, environment, compute. One per experiment island.templates/results-table.tex— booktabs results table, mean±std, bold best with significance footnote.templates/hyperparameters-table.tex— appendix hyperparameter table.scripts/aggregate_seeds.py— stdlib-only: per-seed CSV → mean / std / t-based 95% CI per method → LaTeX table rows with bold-best marking.
Workflow
- Predefine — the experiment matrix (via
experiment-design-matrixwhen enabled, else a plain design doc) includes the seed list before any run. Seeds are fixed integers written into the log, not "run until nice". Scale the count to run cost: cheap runs → 3 minimum, 5 preferred; expensive runs (long training) → fewer seeds plus a variance stand-in (bootstrap over held-out slices, cross-validation folds), labeled honestly in the text. - Log every run —
templates/experiment-log.mdper island: git commit, config diff, seeds, hardware, wall-clock. The experiment island's provenance already captures env and commands — the log adds intent. - Aggregate mechanically — collect per-seed metrics into one CSV, run
scripts/aggregate_seeds.py(project venv viaexperiment-run), paste the emitted LaTeX rows. Table numbers are never typed by hand. - Discipline the claims — differences between methods get a statistical
treatment (test, effect size, CI — the
statistical-rigorskill when enabled). When the result drives a decision (continue / kill / pivot), say what evidence threshold you used; "significant" is a statistical statement, not an adjective. - Report — tables from
templates/; figures with the figure skills (figure-matplotlib/figure-pipelinewhen enabled); Methods text viaexperiment-to-methodswhen enabled; finish withmanuscript-preflightwhen enabled.
Rules
- A single-seed number is an anecdote. Report mean±std over predefined seeds or say "single run" in the text; when run cost forces few seeds, use the variance stand-in from the workflow and label it.
- Cost before compute: seed sweeps and training runs get a duration/resource
estimate and explicit user confirmation (
question) before launch — never fire a long run silently. - Baselines get the same tuning budget as your method — an untuned baseline does not just look bad in review, it makes your own kill/continue decisions wrong.
- Never tune on the test set; selection happens on validation, the test set is touched once per claim.
- Bold-best in a table requires the overlap check (CI overlap or test) —
see
references/baselines-and-ablations.md. - Every number in a table, note, or decision log traces to a run in a log. If you cannot point at the run, the number does not exist.
04 同仓库更多 Skills
demo-multi-file
Local test skill with an extra notes file
writing-results
Use when drafting a Results / Experiments / Analysis section — narrating verified evidence from run receipts, with complete statistical reporting, derivation analysis, and honest treatment of negative results. Every number traces to a run; every claim survives the audit.
writing-related-work
Use when drafting a Related Work / literature review section or a standalone synthesis note — organizing prior work into a grounded, cited narrative or comparing methods across papers, from the project library plus staged external discovery. Never cites from memory.
writing-preliminaries
Use when drafting a Preliminaries / Background / Notation section — definitions, problem setup, and formal statements the rest of the paper builds on, with notation consistency and machine-checked formal claims. Reference patterns, not molds; include only what later sections actually use.
writing-methods
Use when drafting a Methods / Methodology / Approach / Model section — expounding the ideas and the reasoning behind the method, grounded in the project's brief, notes, and prior discussions, with empirical details from run receipts. Structure follows the idea's shape; reference angles, not fixed templates.
writing-introduction
Use when drafting or rewriting a paper's Introduction — framing the problem, positioning against prior work, and stating contributions as checkable claims, grounded in the brief, notes, and the library. Reference rhetorical patterns, adapted to the paper — never applied as molds.