Skip to content

What is GESA?

Generative Episodic Simulated Annealing

GESA is the optimization layer of the Cormorant Foraging Framework. It is Layer ∞ — the feedback loop that turns a sequence of decisions into a learning system.


The One-Line Answer

GESA determines how to act differently over time — generating improved strategies from accumulated episode history using a simulated annealing schedule.


Where GESA Sits

Layer 0:  Cormorant 3D (Chirp / Perch / Wake)   →  Sense
Layer 1:  DRIFT                                  →  Measure the gap
Layer 2:  Fetch                                  →  Decide to act
Layer ∞:  GESA                                   →  Optimise across episodes

Each layer depends on the one above it. GESA depends on all of them — and feeds back into all of them.

Without GESA: The stack senses, measures, and acts. But each run is independent. No learning accumulates.

With GESA: Every act becomes an episode. Every episode informs the next act. The stack improves over time.


Three Core Concepts

GESA is built on three concepts that combine into the loop:

1. Episodic Memory

Not semantic memory (general facts) but situated experience with temporal context:

Memory TypeExampleWhat It Encodes
Semantic"Burnout is caused by overload"General knowledge
Episodic"On March 3rd, reducing context switches for Team A resolved a pain streak within 2 sprints"Context + action + outcome + time

Every Fetch decision, every DRIFT measurement, every intervention outcome becomes an immutable episode stored with full context.

→ Episodic Memory in depth

2. Simulated Annealing

Derived from metallurgy: heat metal to make it malleable, cool it slowly.

  • High temperature (early) → Accept suboptimal moves. Explore widely. Escape local traps.
  • Low temperature (late) → Narrow toward proven solutions. Exploit what works.

The critical insight: deliberate acceptance of worse outcomes early prevents getting stuck in local optima.

In GESA, temperature governs exploration vs exploitation across the episode timeline.

→ Simulated Annealing in depth

3. Generative Output

GESA does not retrieve cached answers. It generates new strategies by synthesising:

  1. Relevant past episodes (retrieved by similarity)
  2. Current context (DRIFT, Fetch, 3D scores)
  3. Annealing temperature (how bold vs conservative to be)

The output is always a novel hypothesis — a candidate action that didn't necessarily exist before.

→ Generative Output in depth


The Name, Unpacked

WordMeaning in GESA
GenerativeProduces novel strategies, not cached lookups
EpisodicOperates on situated, temporal memory — not facts
SimulatedBorrows the annealing metaphor — not real metallurgy
AnnealingThe cooling schedule that governs exploration vs exploitation

What Makes GESA Different

ApproachHow It Learns
Reinforcement LearningReward signal updates a value function (implicit, neural)
Case-Based ReasoningRetrieve → Adapt → Reuse (deterministic, no temperature)
GESARetrieve → Generate → Anneal → Select (explicit temperature, observable)

GESA's novel contribution: the integration of episodic case-based reasoning with an explicit annealing schedule inside a biomimetic sensing framework — making the exploration/exploitation tradeoff explicit, observable, and tunable rather than implicit in a neural architecture.


The Completeness it Provides

QuestionFramework
What do I perceive?3D Foundation
Where is the gap?DRIFT
Should I act now?Fetch
How should I act differently next time?GESA

The first three questions make the system capable. The fourth makes it intelligent.


"Without GESA, the stack is reactive. With GESA, it becomes adaptive." 🦅