Ablation Planner
Systematically design ablation studies that answer the questions reviewers will ask. The reviewer agent leads the design; the local executor reviews feasibility and implements.
Context: $ARGUMENTS
When to Use
- Main results pass
/result-to-claim with claim_supported = yes or partial
- The user explicitly requests ablation planning
/auto-review-loop identifies missing ablations
Workflow
Step 1: Prepare Context
Read available project files to build the full picture:
- Method description and components (from
idea-stage/docs/research_contract.md, legacy docs/research_contract.md, project notes, or method docs)
- Current experiment results (from
EXPERIMENT_LOG.md, EXPERIMENT_TRACKER.md, or W&B)
- Confirmed and intended claims (from
/result-to-claim output or project notes)
- Available compute resources (from server notes, run configs, or user-provided budget)
Step 2: Codex Designs Ablations
spawn_agent:
model: gpt-6-astra
reasoning_effort: xhigh
message: |
You are a rigorous ML reviewer planning ablation studies.
Given this method and results, design ablations that:
1. Isolate the contribution of each novel component
2. Answer questions reviewers will definitely ask
3. Test sensitivity to key hyperparameters
4. Compare against natural alternative design choices
Method: [description from project files]
Components: [list of removable or replaceable components]
Current results: [key metrics from experiments]
Claims: [what we claim and current evidence]
For each ablation, specify:
- name: what to change (for example, "remove module X", "replace Y with Z")
- what_it_tests: the specific question this answers
- expected_if_component_matters: what we predict if the component is important
- priority: 1 (must-run) to 5 (nice-to-have)
Also provide:
- coverage_assessment: what reviewer questions these ablations answer
- unnecessary_ablations: experiments that seem useful but will not add insight
- suggested_order: run order optimized for maximum early information
- estimated_compute: total GPU-hours estimate
If delegation is unavailable, generate the same plan locally and mark it [pending external review].
Step 3: Parse Ablation Plan
Normalize the response into a structured format:
## Ablation Plan
### Component Ablations (highest priority)
| # | Name | What It Tests | Expected If Matters | Priority |
|---|------|---------------|---------------------|----------|
| 1 | remove module X | contribution of X | performance drops on metric Y | 1 |
| 2 | replace X with simpler Z | value of learned vs fixed | drops, especially on dataset A | 2 |
### Hyperparameter Sensitivity
| # | Parameter | Values to Test | What It Tests | Priority |
|---|-----------|----------------|---------------|----------|
| 3 | lambda | [0.01, 0.1, 1.0] | sensitivity to regularization | 3 |
### Design Choice Comparisons
| # | Name | What It Tests | Priority |
|---|------|---------------|----------|
| 4 | joint vs separate matching | whether joint adds value | 4 |
### Coverage Assessment
[What reviewer questions these ablations answer]
### Unnecessary Ablations
[Experiments that seem useful but will not add insight - skip these]
### Run Order
[Optimized for maximum early information]
### Estimated Compute
[Total GPU-hours]
Step 4: CC Reviews Feasibility
Before running anything, the local executor checks:
- Compute budget - Can you afford all ablations with available GPUs?
- Code changes - Which ablations need code modifications vs config-only changes?
- Dependencies - Which ablations can run in parallel?
- Cuts - If budget is tight, propose removing lower-priority ablations and ask the reviewer agent to re-prioritize when possible
Step 5: Implement and Run
- Create configs or scripts for each ablation (config-only changes first)
- Smoke test each ablation before the full run
- Run in the suggested order, using descriptive names (for example,
ablation-no-module-X)
- Track results in
EXPERIMENT_LOG.md
- After all ablations complete, update
findings.md with insights
Rules
- The reviewer agent leads the design. Do not pre-filter or bias the ablation list before external review sees it. The reviewer thinks like a reviewer; the local executor thinks like an engineer.
- Every ablation must have a clear
what_it_tests and expected_if_component_matters. No "just try it" experiments.
- Config-only ablations take priority over those needing code changes (faster, less error-prone).
- If total compute exceeds budget, propose cuts and ask for re-prioritization - do not silently drop ablations.
- Component ablations (remove or replace) take priority over hyperparameter sweeps.
- Do not generate ablations for components identical to the baseline (no-op ablations).
- Record all ablation results in
EXPERIMENT_LOG.md, including negative results (for example, component removal had no effect).
1---2name: ablation-planner-23description: "Use when main results pass result-to-claim (`claim_supported = yes` or `partial`) and ablation studies are needed for paper submission. A secondary Codex agent designs ablations from a reviewer's perspective; the local executor reviews feasibility and implements."4allowed-tools: Bash(*), Read, Grep, Glob, Write, Edit5metadata:6 source: https://skillmd.com/skills/brycewang-stanford/ablation-planner-27---89# Ablation Planner1011Systematically design ablation studies that answer the questions reviewers will ask. The reviewer agent leads the design; the local executor reviews feasibility and implements.1213## Context: $ARGUMENTS1415## When to Use1617- Main results pass `/result-to-claim` with `claim_supported = yes` or `partial`18- The user explicitly requests ablation planning19- `/auto-review-loop` identifies missing ablations2021## Workflow2223### Step 1: Prepare Context2425Read available project files to build the full picture:2627- Method description and components (from `idea-stage/docs/research_contract.md`, legacy `docs/research_contract.md`, project notes, or method docs)28- Current experiment results (from `EXPERIMENT_LOG.md`, `EXPERIMENT_TRACKER.md`, or W&B)29- Confirmed and intended claims (from `/result-to-claim` output or project notes)30- Available compute resources (from server notes, run configs, or user-provided budget)3132### Step 2: Codex Designs Ablations3334```text35spawn_agent:36 model: gpt-6-astra37 reasoning_effort: xhigh38 message: |39 You are a rigorous ML reviewer planning ablation studies.40 Given this method and results, design ablations that:4142 1. Isolate the contribution of each novel component43 2. Answer questions reviewers will definitely ask44 3. Test sensitivity to key hyperparameters45 4. Compare against natural alternative design choices4647 Method: [description from project files]48 Components: [list of removable or replaceable components]49 Current results: [key metrics from experiments]50 Claims: [what we claim and current evidence]5152 For each ablation, specify:53 - name: what to change (for example, "remove module X", "replace Y with Z")54 - what_it_tests: the specific question this answers55 - expected_if_component_matters: what we predict if the component is important56 - priority: 1 (must-run) to 5 (nice-to-have)5758 Also provide:59 - coverage_assessment: what reviewer questions these ablations answer60 - unnecessary_ablations: experiments that seem useful but will not add insight61 - suggested_order: run order optimized for maximum early information62 - estimated_compute: total GPU-hours estimate63```6465If delegation is unavailable, generate the same plan locally and mark it `[pending external review]`.6667### Step 3: Parse Ablation Plan6869Normalize the response into a structured format:7071```markdown72## Ablation Plan7374### Component Ablations (highest priority)75| # | Name | What It Tests | Expected If Matters | Priority |76|---|------|---------------|---------------------|----------|77| 1 | remove module X | contribution of X | performance drops on metric Y | 1 |78| 2 | replace X with simpler Z | value of learned vs fixed | drops, especially on dataset A | 2 |7980### Hyperparameter Sensitivity81| # | Parameter | Values to Test | What It Tests | Priority |82|---|-----------|----------------|---------------|----------|83| 3 | lambda | [0.01, 0.1, 1.0] | sensitivity to regularization | 3 |8485### Design Choice Comparisons86| # | Name | What It Tests | Priority |87|---|------|---------------|----------|88| 4 | joint vs separate matching | whether joint adds value | 4 |8990### Coverage Assessment91[What reviewer questions these ablations answer]9293### Unnecessary Ablations94[Experiments that seem useful but will not add insight - skip these]9596### Run Order97[Optimized for maximum early information]9899### Estimated Compute100[Total GPU-hours]101```102103### Step 4: CC Reviews Feasibility104105Before running anything, the local executor checks:106107- Compute budget - Can you afford all ablations with available GPUs?108- Code changes - Which ablations need code modifications vs config-only changes?109- Dependencies - Which ablations can run in parallel?110- Cuts - If budget is tight, propose removing lower-priority ablations and ask the reviewer agent to re-prioritize when possible111112### Step 5: Implement and Run1131141. Create configs or scripts for each ablation (config-only changes first)1152. Smoke test each ablation before the full run1163. Run in the suggested order, using descriptive names (for example, `ablation-no-module-X`)1174. Track results in `EXPERIMENT_LOG.md`1185. After all ablations complete, update `findings.md` with insights119120## Rules121122- **The reviewer agent leads the design.** Do not pre-filter or bias the ablation list before external review sees it. The reviewer thinks like a reviewer; the local executor thinks like an engineer.123- Every ablation must have a clear `what_it_tests` and `expected_if_component_matters`. No "just try it" experiments.124- Config-only ablations take priority over those needing code changes (faster, less error-prone).125- If total compute exceeds budget, propose cuts and ask for re-prioritization - do not silently drop ablations.126- Component ablations (remove or replace) take priority over hyperparameter sweeps.127- Do not generate ablations for components identical to the baseline (no-op ablations).128- Record all ablation results in `EXPERIMENT_LOG.md`, including negative results (for example, component removal had no effect).