Expand description
Pattern-Triggered Replay Detection (PIPE-2)
Implements biologically-inspired pattern detection for memory consolidation. Instead of fixed-interval replay, this module detects meaningful patterns that should trigger immediate consolidation.
§Neuroscience Basis
Based on hippocampal sharp-wave ripple research (Rasch & Born 2013):
- Consolidation is triggered by coherent neural activity patterns
- High-value memories and semantically related clusters get priority
- Emotional significance (salience spikes) triggers immediate replay
§Pattern Types
- Entity Co-occurrence: Memories sharing multiple named entities
- Semantic Clustering: Dense groups of semantically similar memories
- Temporal Clustering: Memories from the same session/timeframe
- Salience Spikes: High importance/arousal memories
- Behavioral Changes: Topic switches, user corrections
Structs§
- Behavioral
Context - Behavioral context tracking
- Entity
Pattern Stats - Statistics for an entity group pattern
- Pattern
Detection Result - Result of pattern detection cycle
- Pattern
Detector - Pattern detector for triggering memory replay
- Pattern
Detector Stats - Statistics about pattern detection
- Pattern
Memory - Memory data for pattern analysis
- Salience
Event - A salience spike event
- Semantic
Cluster - A detected semantic cluster
- Temporal
Cluster - A detected temporal cluster (session)
Enums§
- Behavior
Change Type - Type of behavioral change detected
- Replay
Trigger - Trigger types for pattern-based replay