CounterfactualAnchor
Freezing expectation to measure true surprise
Mechanism
Freezes a prediction BEFORE observation. 1. Instantiate immutable Anchor (Expectation). 2. Observe Reality. 3. Learning Signal = Delta(Anchor, Reality). Prevents Hindsight CognitiveBias by forcing updates based on genuine surprise. It creates the static reference point against which SurprisalUpdate measures the magnitude of the learning delta.
Invariants
- Anchor Immutability: The Anchor cannot be modified once the Observation phase begins
- Delta Causality: Learning Signal L = f(Anchor, Observation). No other inputs permitted during update
- Temporal Ordering: Creation(Anchor) < Time(Observation)
Parameters
- granularity: type=Duration, range=unspecified, description=Temporal resolution for counterfactual comparison (e.g., hour, day, week)
- retention_policy: type=Enum, range={Snapshot, Rolling, Permanent}, description=How long to keep counterfactual baselines before expiry
Preconditions
- Agent has a predictive model capable of generating specific expectations
- Incoming observable event stream
Postconditions
- A quantified 'Surprisal' delta is recorded
- Internal model weights/beliefs updated based on delta
Failure modes
- Hindsight Leakage: Agent unconsciously adjusts the Anchor as data comes in.
- Vague Anchor: Prediction is too broad to be falsified (e.g., 'Something will happen').
- Anchor Abandonment: Agent ignores the Anchor when the delta is too large (denial).
Where this came from
—
Builds on
- Agent references
- SurprisalUpdate references
- Observe references
- Signal references
- CognitiveBias references
Used by
- Belongbend references
- Wonderdwell references
Related
Identity
- Ref:
CounterfactualAnchor#435c - Hash: sema:CounterfactualAnchor#mh:SHA-256:435c0c8fc20e0886da772bb89e16e81ed7e2c231eae38025f0aed2d3e0a2eebc
- Library: bootstrap 0.11.0, root a6a3d1ff0f98
- License: Not stated; check the repository