---
slug: "Optimize"
name: "Optimize"
type: "Strategy"
layer: "Mind"
ref: "Optimize#3877"
sema_id: "sema:Optimize#mh:SHA-256:38771f5e8f583966cfb8af8ff0d2e6737c8d0bf87329ddc49d8049450e852674"
tags: ["Mind","Strategy"]
updated: 2026-11-11
mindscape: "bootstrap"
index_url: https://mindscape.pages.dev/bootstrap/index.json
url: https://mindscape.pages.dev/bootstrap/Optimize/
related: ["Solution","Global","Gradient","Metric","MetricReading","EvaluatorOptimizer","LateralOptimization","ManifestPlanning","PUREOptimization","ValuePeg","RegretMinimization","ParetoFront"]
---

# Optimize

Maximize utility against a metric

Layer: Mind · Category: Strategy

## Mechanism

The iterative process of adjusting parameters or structure to maximize (or minimize) a specific Objective Function defined by a [Metric](https://mindscape.pages.dev/bootstrap/Metric.md). It generates candidate [Solution](https://mindscape.pages.dev/bootstrap/Solution.md)s, applies the definition to obtain comparable [MetricReading](https://mindscape.pages.dev/bootstrap/MetricReading.md) values, and retains the best candidate. It can be Local ([Gradient](https://mindscape.pages.dev/bootstrap/Gradient.md) Descent) or [Global](https://mindscape.pages.dev/bootstrap/Global.md) (Evolutionary).

## Invariants

- Monotonicity: no step degrades the best-known [Solution](https://mindscape.pages.dev/bootstrap/Solution.md). A step that finds nothing better retains the incumbent.
- Measurability: the Objective Function must be quantifiable via a [Metric](https://mindscape.pages.dev/bootstrap/Metric.md).

## Preconditions

- Objective Function is defined
- Candidate space is explorable
- Baseline [MetricReading](https://mindscape.pages.dev/bootstrap/MetricReading.md) is known

## Postconditions

- Best Candidate [Solution](https://mindscape.pages.dev/bootstrap/Solution.md) found
- Best observed [MetricReading](https://mindscape.pages.dev/bootstrap/MetricReading.md) is at least as good as the Baseline reading

## Failure modes

- Overfitting: [Solution](https://mindscape.pages.dev/bootstrap/Solution.md) works perfectly on test data but fails in reality.
- Goodhart's Law: Optimizing for a proxy [Metric](https://mindscape.pages.dev/bootstrap/Metric.md) 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.

## Builds on

- [Solution](https://mindscape.pages.dev/bootstrap/Solution.md) (Infrastructure; Accepts)
- [Global](https://mindscape.pages.dev/bootstrap/Global.md) (Society; References)
- [Gradient](https://mindscape.pages.dev/bootstrap/Gradient.md) (Physics; References)
- [Metric](https://mindscape.pages.dev/bootstrap/Metric.md) (Infrastructure; References)
- [MetricReading](https://mindscape.pages.dev/bootstrap/MetricReading.md) (Infrastructure; References)

## Used by

- [EvaluatorOptimizer](https://mindscape.pages.dev/bootstrap/EvaluatorOptimizer.md) (Society; References)
- [LateralOptimization](https://mindscape.pages.dev/bootstrap/LateralOptimization.md) (Mind; Composes with)
- [ManifestPlanning](https://mindscape.pages.dev/bootstrap/ManifestPlanning.md) (Mind; Composes with)
- [PUREOptimization](https://mindscape.pages.dev/bootstrap/PUREOptimization.md) (Mind; Composes with)
- [ValuePeg](https://mindscape.pages.dev/bootstrap/ValuePeg.md) (Society; References)

## Identity

- Sema ID: `sema:Optimize#mh:SHA-256:38771f5e8f583966cfb8af8ff0d2e6737c8d0bf87329ddc49d8049450e852674`
- Ref: `Optimize#3877`
- Supersedes:
  - `sema:Optimize#mh:SHA-256:30759374ede0314268d795a5a9878ac68876d0695c4ce0847e615da2b9fedf32`
  - `sema:Optimize#mh:SHA-256:94e09b6b86c58500e9716efa1c955fc115e5179b95e48bd45c980af77d7c4c17`
  - `sema:Optimize#mh:SHA-256:8a1d872b1e5019a0f4ef856d5f6c6809b87271838a50e55ef2ec21835839b7eb`

## Links

- [Pattern page](https://mindscape.pages.dev/bootstrap/Optimize/)
- [View in the interactive graph](https://mindscape.pages.dev/bootstrap/#Optimize)
- [JSON](https://mindscape.pages.dev/bootstrap/Optimize.json)
- [Index of all patterns](https://mindscape.pages.dev/bootstrap/index.json)
