Optimize
Maximize utility against a metric
Mechanism
The iterative process of adjusting parameters or structure to maximize (or minimize) a specific Objective Function defined by a Metric. It generates candidate Solutions, applies the definition to obtain comparable MetricReading values, and retains the best candidate. It can be Local (Gradient Descent) or Global (Evolutionary).
Invariants
- Monotonicity: no step degrades the best-known Solution. A step that finds nothing better retains the incumbent.
- Measurability: the Objective Function must be quantifiable via a Metric.
Preconditions
- Objective Function is defined
- Candidate space is explorable
- Baseline MetricReading is known
Postconditions
- Best Candidate Solution found
- Best observed MetricReading is at least as good as the Baseline reading
Failure modes
- Overfitting: Solution works perfectly on test data but fails in reality.
- Goodhart's Law: Optimizing for a proxy Metric destroys the actual value.
- Local Optima: Getting stuck in a 'good enough' state that prevents finding the best state.
- Premature Optimization: Optimizing before the problem is fully understood.
Where this came from
—
Builds on
- Global references
- Gradient references
- MetricReading references
- Metric references
- Solution accepts
Used by
- EvaluatorOptimizer references
- LateralOptimization composes_with
- ManifestPlanning composes_with
- PUREOptimization composes_with
- ValuePeg references
Related
Identity
- Ref:
Optimize#3877 - Hash: sema:Optimize#mh:SHA-256:38771f5e8f583966cfb8af8ff0d2e6737c8d0bf87329ddc49d8049450e852674
- Library: bootstrap 0.11.0, root a6a3d1ff0f98
- License: Not stated; check the repository