{
 "library": "bootstrap",
 "version": "0.11.0",
 "root": "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5",
 "license": null,
 "slug": "NoiseInjection",
 "ref": "NoiseInjection#9958",
 "hash": "sema:NoiseInjection#mh:SHA-256:99582fc78556fdadc8df343c9a670df7abb87c0030f668f30d6252a182cef083",
 "stub": "9958",
 "layer": "Mind",
 "type": "Strategy",
 "summary": "Breaking local optima",
 "mechanism": "If the Agent#e127 detects it is looping or repeating text, it deliberately injects high-temperature Noise#fd12 or a random oblique Strategy#3dc5 Card#e4b2 into its Context#c1b7 to force a trajectory change.",
 "invariants": [
  "Fires on a detected loop or repetition, not as a standing perturbation.",
  "Injects at most `temperature` worth of Noise#fd12, leaving the Signal#6eaf recoverable.",
  "Returns to a coherent trajectory after the injection.",
  "Waits `cooldown` before injecting again."
 ],
 "parameters": [
  {
   "name": "temperature",
   "type": "Ratio",
   "range": "(0.0, 1.0]",
   "description": "Magnitude of the injected noise, as a share of full randomness."
  },
  {
   "name": "detection_threshold",
   "type": "Ratio",
   "range": "(0.0, 1.0)",
   "description": "Similarity between successive outputs that counts as looping."
  },
  {
   "name": "cooldown",
   "type": "Duration",
   "range": "unspecified",
   "description": "Minimum interval between injections, so noise does not become the trajectory."
  }
 ],
 "signature": [],
 "preconditions": [
  "Clean signal/process",
  "Need for exploration/robustness"
 ],
 "postconditions": [
  "Perturbed output"
 ],
 "failure_modes": [
  "Derailment into nonsense: the injection is large enough that the Signal#6eaf does not return.",
  "False positive: legitimate repetition is read as a loop, and a working trajectory is perturbed."
 ],
 "domain": "",
 "caution": "",
 "sources": [],
 "name": "NoiseInjection",
 "builds_on": [
  {
   "alias": "card",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Card",
   "ref": "Card#e4b2",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Card"
  },
  {
   "alias": "agent",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Agent",
   "ref": "Agent#e127",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Agent"
  },
  {
   "alias": "noise",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Noise",
   "ref": "Noise#fd12",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Noise"
  },
  {
   "alias": "strategy",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Strategy",
   "ref": "Strategy#3dc5",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Strategy"
  },
  {
   "alias": "signal",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Signal",
   "ref": "Signal#6eaf",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Signal"
  },
  {
   "alias": "context",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Context",
   "ref": "Context#c1b7",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Context"
  }
 ],
 "related": [],
 "used_by": [],
 "url": "https://semahash.org/vocabularies/bootstrap/patterns/NoiseInjection",
 "md_url": "https://semahash.org/vocabularies/bootstrap/patterns/NoiseInjection.md",
 "library_url": "https://semahash.org/vocabularies/bootstrap"
}
