Memory Decay
Remind implements usage-based memory decay: concepts that are rarely recalled gradually lose retrieval priority. Like how human memory fades for things you don't think about.
How it works
Decay passes — Every N recalls (
decay_interval, default 20), all concepts have theirdecay_factorreduced bydecay_rate(default 0.1)Retrieval impact —
decay_factormultiplies the retrieval activation score. A concept withdecay_factor: 0.5needs twice the raw activation to rank as high as one withdecay_factor: 1.0.Rejuvenation — When a concept is recalled, it gets a boost proportional to how strongly it matched the query. Useful knowledge stays accessible.
Grace window — Concepts recalled in the last 60 seconds are protected from the current decay pass. Active knowledge is never immediately penalized.
Configuration
{
"decay": {
"enabled": true,
"decay_interval": 20,
"decay_rate": 0.1
}
}| Option | Default | Description |
|---|---|---|
enabled | true | Set false to disable decay entirely |
decay_interval | 20 | Number of recalls between decay passes |
decay_rate | 0.1 | How much decay_factor drops per interval (0.0–1.0) |
Monitoring
remind statsShows: decay enabled/disabled, recall count, next decay pass, average and minimum decay factors across all concepts.
Design rationale
Without decay, the concept graph grows monotonically — old concepts compete equally with fresh ones for retrieval slots. Decay ensures that knowledge which isn't being used gradually recedes, keeping retrieval results focused on currently relevant concepts.
The rejuvenation mechanism prevents useful but infrequently-queried concepts from disappearing entirely. If you recall a faded concept, it bounces back.