coredipper commited on
Commit
d0dd2cf
·
verified ·
1 Parent(s): a1228e9

docs: improve README with usage instructions

Browse files
Files changed (2) hide show
  1. README.md +9 -7
  2. requirements.txt +1 -1
README.md CHANGED
@@ -13,16 +13,18 @@ short_description: Epistemic stagnation detection via Bayesian surprise
13
 
14
  # 🧠 Epistemic Stagnation Monitor
15
 
16
- Feed a sequence of messages to the **EpiplexityMonitor** and watch how embedding novelty and perplexity combine to detect when an agent gets stuck repeating itself.
17
 
18
- ## Features
19
 
20
- - **5 presets**: Healthy exploration, gradual stagnation, sudden loop, convergence, recovery
21
- - **Tunable parameters**: Alpha mixing, window size, threshold
22
- - **Real-time status**: HEALTHY EXPLORING CONVERGING STAGNANT CRITICAL
23
 
24
  ## How It Works
25
 
26
- Each message is embedded and compared to the running window. **Epiplexity** = α × embedding_novelty + (1-α) × normalized_perplexity. When the integral of epiplexity drops below the threshold for `critical_duration` steps, the monitor flags stagnation.
27
 
28
- [GitHub](https://github.com/coredipper/operon) | [PyPI](https://pypi.org/project/operon-ai/)
 
 
 
13
 
14
  # 🧠 Epistemic Stagnation Monitor
15
 
16
+ Detect when an agent gets stuck repeating itself by combining embedding novelty and perplexity into a single "epiplexity" score -- like neural habituation signaling that a brain region has stopped learning.
17
 
18
+ ## What to Try
19
 
20
+ 1. Select a preset from the **Preset** dropdown (e.g. "Gradual stagnation" or "Sudden loop") and click **Run Monitor** to see how the epiplexity score evolves and health status transitions from HEALTHY through STAGNANT to CRITICAL.
21
+ 2. Adjust the **Alpha** slider to change the mix between embedding novelty and perplexity, then re-run to see how it affects detection sensitivity.
22
+ 3. Try the "Recovery" preset to see how the monitor detects stagnation and then recovers when novel messages resume.
23
 
24
  ## How It Works
25
 
26
+ The EpiplexityMonitor embeds each message and compares it to a sliding window. Epiplexity combines embedding novelty with normalized perplexity -- when this score stays below the threshold for too long, the monitor flags stagnation, triggering healing interventions.
27
 
28
+ ## Learn More
29
+
30
+ [GitHub](https://github.com/coredipper/operon) | [PyPI](https://pypi.org/project/operon-ai/) | [Paper](https://github.com/coredipper/operon/tree/main/article)
requirements.txt CHANGED
@@ -1,2 +1,2 @@
1
  gradio>=4.0
2
- operon-ai>=0.14.0
 
1
  gradio>=4.0
2
+ operon-ai>=0.15.0