Ablation planner

From FOURTEEN1416/academic-agent-toolkit · View interactive version

Ablation planner is an AI agent skill from the GitHub repository FOURTEEN1416/academic-agent-toolkit. Use when main results pass result-to-claim (claim_supported=yes or partial) and ablation studies are needed to answer reviewer questions.

How to use this skill

Skill file

Ablation Planner

Systematically design ablation studies that answer the questions reviewers will ask. 独立评审模型主导设计(审稿人视角,经评审桥调用),当前 Agent 复核可行性并实施。

执行衔接:本技能只负责设计消融实验;消融的实际执行与结果回收交给 experiment-bridge(计划→实现→部署→收集)或 run-experiment(单步部署执行)。

Context: $ARGUMENTS

When to Use

Workflow

Step 1: Prepare Context

CC reads available project files to build the full picture:

Step 2: 独立评审模型设计消融

review_bridge.invoke:  # 经评审桥调用独立评审模型(工具名由当前执行环境提供;缺席时降级为当前 Agent 自审)
  config: {"model_reasoning_effort": "xhigh"}
  prompt: |
    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/replaceable components]
    Current results: [key metrics from experiments]
    Claims: [what we claim and current evidence]

    For each ablation, specify:
    - name: what to change (e.g., "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 won't add insight
    - suggested_order: run order optimized for maximum early information
    - estimated_compute: total GPU-hours estimate

Step 3: Parse Ablation Plan

规范化评审桥返回 into 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 won't add insight — skip these]

### Run Order
[Optimized for maximum early information]

### Estimated Compute
[Total GPU-hours]

Step 4: CC Reviews Feasibility

Before running anything, CC checks:

Step 5: Implement and Run

  1. Create configs/scripts for each ablation (config-only changes first)
  2. Smoke test each ablation before full run
  3. Run in suggested order, using descriptive names (e.g., ablation-no-module-X)
  4. Track results in EXPERIMENT_LOG.md
  5. After all ablations complete → update findings.md with insights

Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.