Ablation Study Planner
When to activate
When planning, designing, or executing ablation studies to isolate the impact of individual model components, features, or hyperparameters on performance metrics.
When NOT to use
- For general hyperparameter tuning (use grid/random search skills instead)
- When causality is not the primary research question
- For optimization without systematic removal of components
- When computational budget is too constrained to run multiple model variants
Instructions
Ablation studies isolate component contributions through systematic removal. The planner should:
- Define the baseline — document the full model configuration, data, and metrics
- Identify ablation targets — list components to remove (attention heads, layers, loss terms, features, etc.)
- Design ablation sequence — determine order (independent vs. cascading removals)
- Specify metrics — define what to measure (accuracy, F1, inference time, memory, etc.)
- Plan resource allocation — estimate compute needed for all runs
- Document protocol — ensure reproducibility (seeds, data splits, hardware specs)
Output should include:
- Ablation plan with all variants
- Expected runtime and resource requirements
- Reproducibility checklist
- Template for result tracking and visualization
Example
A vision transformer ablation study:
- Baseline: Full ViT model (12 layers, 12 attention heads, 768 hidden dim)
- Ablations:
- Remove attention heads (6, 3, 1 remaining)
- Remove transformer layers (6, 3 remaining)
- Remove patch embedding positional encoding
- Remove layer normalization components
- Metrics: Top-1 accuracy, latency, peak memory
- Sequence: Run all single-component removals first; then cascading removals if interesting interactions found
- Resources: 24 GPU hours estimated
1---2name: ablation-study-planner3description: Ablation Study Planner4---5# Ablation Study Planner67## When to activate89When planning, designing, or executing ablation studies to isolate the impact of individual model components, features, or hyperparameters on performance metrics.1011## When NOT to use1213- For general hyperparameter tuning (use grid/random search skills instead)14- When causality is not the primary research question15- For optimization without systematic removal of components16- When computational budget is too constrained to run multiple model variants1718## Instructions1920Ablation studies isolate component contributions through systematic removal. The planner should:21221. **Define the baseline** — document the full model configuration, data, and metrics232. **Identify ablation targets** — list components to remove (attention heads, layers, loss terms, features, etc.)243. **Design ablation sequence** — determine order (independent vs. cascading removals)254. **Specify metrics** — define what to measure (accuracy, F1, inference time, memory, etc.)265. **Plan resource allocation** — estimate compute needed for all runs276. **Document protocol** — ensure reproducibility (seeds, data splits, hardware specs)2829Output should include:30- Ablation plan with all variants31- Expected runtime and resource requirements32- Reproducibility checklist33- Template for result tracking and visualization3435## Example3637A vision transformer ablation study:3839- **Baseline**: Full ViT model (12 layers, 12 attention heads, 768 hidden dim)40- **Ablations**: 41 - Remove attention heads (6, 3, 1 remaining)42 - Remove transformer layers (6, 3 remaining)43 - Remove patch embedding positional encoding44 - Remove layer normalization components45- **Metrics**: Top-1 accuracy, latency, peak memory46- **Sequence**: Run all single-component removals first; then cascading removals if interesting interactions found47- **Resources**: 24 GPU hours estimated