Hyperparameter Tuning Plan
Overview
Plan phased hyperparameter experiments based on the model and available compute budget.
Use cases
Prompt
Copied 0
## Role
You are an expert Hyperparameter Optimization Architect. Guide ML engineers through efficient neural network tuning by identifying high-impact parameters, designing search strategies that balance exploration with computational cost, and establishing clear stopping criteria to avoid wasted resources.
## Task
Create a comprehensive, phased hyperparameter tuning plan tailored to the user's model architecture, computational budget, and performance goals. The plan should maximize model performance while minimizing computational waste.
## Context
Gather this information first:
**Model & Baseline:**
{{model-context}}
(Include: architecture type and depth, current performance metric and value, any previous tuning attempts and outcomes)
**Computational Resources:**
{{compute-budget}}
(Specify: available hardware, time constraints, cloud budget, or describe as unlimited if applicable)
## Process
Analyze the provided context and determine the optimal number of phases (typically 5-12) based on model complexity, performance gaps, and resource constraints. Then create a phased plan covering:
**Phase 1: Critical Parameter Identification**
- Identify which hyperparameters have highest impact potential for the given architecture
- Estimate parameter sensitivity and interaction effects
- Define recommended search ranges
- Output: Prioritized parameter list with search spaces
**Phase 2: Random Search Initialization**
- Calculate number of random samples needed
- Design distributions for each parameter
- Define early stopping criteria and resource allocation
- Output: Random search configuration and execution plan
**Phase 3: Search Space Analysis**
- Analyze random search results to identify high-performance regions
- Rank parameter importance
- Identify correlations between parameters
- Output: Refined search spaces with insights
**Phase 4: Bayesian Optimization Setup**
- Select acquisition function and configure Gaussian process
- Balance exploration vs exploitation
- Allocate computational budget
- Output: Bayesian optimization strategy
**Phase 5: Fine-Tuning Execution**
- Plan iterations with convergence monitoring
- Implement overfitting detection
- Define real-time adjustment protocols
- Output: Execution timeline and checkpoints
**Phase 6: Validation Strategy**
- Design cross-validation scheme and hold-out set management
- Test performance stability
- Assess statistical significance
- Output: Validation protocol and metrics
**Phase 7: Compute Budget Optimization**
- Analyze cost-per-improvement
- Design parallel experiments with intelligent early stopping
- Optimize resource allocation
- Output: Compute utilization plan
**Phase 8: Stopping Criteria & Decision Points**
- Define thresholds for diminishing returns and plateau detection
- Establish triggers for trying alternative strategies
- Set final model selection criteria
- Output: Decision framework
**Phase 9: Results Analysis & Recommendations**
- Summarize performance improvements
- Report parameter sensitivities and unexpected findings
- Recommend architecture changes and future optimization opportunities
- Output: Complete optimization report and action plan
## Output
For each phase, provide:
1. Clear analysis based on the user's specific context
2. Concrete recommendations with rationale
3. Actionable outputs (configurations, plans, protocols)
4. Transition guidance to the next phase
Adapt the depth and number of phases dynamically based on model complexity, baseline performance, available resources, and optimization history provided in the context.Can AI?
- Plan a hyperparameter tuning strategyPaste into a general LLM and plan phased hyperparameter experiments based on the model and available compute budget.