Repository navigation
{M} Papers
How the running memory stack relates to Paper I (cited in config/memory.yaml) and what to update.
Related: {M}-Architecture · {M}-Deferred
If Paper I lives outside the public repo (private draft / OSF), treat this page as a revision checklist, not a claim of a public arXiv URL.
From config/memory.yaml:
# Paper I §5.2 weights (salience/novelty/spacing/connectivity), with W_VALENCE blended in.
MONTHLY_CONSOLIDATION_W_SALIENCE: "0.30"
MONTHLY_CONSOLIDATION_W_NOVELTY: "0.25"
MONTHLY_CONSOLIDATION_W_SPACING: "0.20"
MONTHLY_CONSOLIDATION_W_CONNECTIVITY: "0.25"
MONTHLY_CONSOLIDATION_W_VALENCE: "0.10"
Also implemented in the spirit of that note:
-
Dynamic anchors (P6) — novelty vs static
[YYYY-MM]archives + dynamic mean of recent active vectors. - Emotion-modified decay (P5) — effective half-life stretched by valence intensity.
- Soft monthly threshold — retention gate (~0.44).
flowchart LR
Paper[Paper I §5.2] --> Salience[Salience]
Paper --> Novelty[Novelty]
Paper --> Spacing[Spacing]
Paper --> Connectivity[Connectivity]
Paper --> Valence[Valence intensity]
Salience --> Code1[`salience_hit`]
Novelty --> Code2[Static + dynamic anchors]
Spacing --> Code3[`access_day_count`]
Connectivity --> Code4[`entity_relations`]
Valence --> Code5[`valence_score` + decay]
Code1 --> Gate[Monthly consolidation]
Code2 --> Gate
Code3 --> Gate
Code4 --> Gate
Code5 --> Gate
| Paper I concept (as used in config) | Code | Phase |
|---|---|---|
| Salience |
salience_hit; monthly W_S
|
P4+ |
| Novelty (static + dynamic) | Monthly novelty | P6 |
| Spacing | access_day_count |
P2, P6 |
| Connectivity | Entity graph / importance | P3, P9 |
| Valence intensity |
valence_score / tag; forget + W_V
|
P4–P15 |
| Consolidation / archive | Monthly facts; day-pin policy | P7, P11 |
| Explicit external store | sqlite-vec | P1 |
| Concept | Phase | Paper impact |
|---|---|---|
| Arousal axis + rank bonus | P19 | Add dual-axis affect model and clarify abs(arousal) ranking |
| Hard neg filter (unsolicited suppress) | P19 | Describe as recall policy, not retention/deletion |
| Soft neg avoid | P16 | Explain score lowering before hard filtering |
| Session query-mean anchor | P17 | Separate online chat-topic anchoring from monthly novelty |
| Supersession lineage API | P19 | Add belief-revision audit trail |
| Cross-store knowledge / experience | P13+ | Explain multi-store context without over-claiming one unified brain |
| Spreading activation | P9 | Connect entity graph to candidate expansion |
Yes, if Paper I is the system-of-record description. The live system is ahead on dual-axis affect and recall safety policy.
flowchart TD
A[Live implementation] --> B{Paper describes behavior?}
B -->|Yes| C[Keep citations stable]
B -->|No| D[Add revision note]
D --> E{Changes retention math?}
E -->|Yes| F[Update §5.2 weights / equations]
E -->|No| G[Add implementation subsection]
F --> H[Update wiki + config comments]
G --> H
-
Affect — Valence vs arousal; rank uses
|a|; monthly still valence-primary untilW_AROUSALis proposed. -
§5.2 — Document five-term blend; optional future
W_AROUSALdefaulting to 0; hard filter is recall policy, not a gate input. -
Belief revision —
supersedes_idchains; lineage for audit/Studio. - Human-feel recall — Soft avoid vs hard filter; session anchor ≠ monthly dynamic novelty anchor.
- Edge constraints — Explicit SQLite vs parametric long-term memory research.
- Version table — Point at Memory-Phases (P1–P19).
quadrantChart
title Dual-axis affect for memory
x-axis Unpleasant valence --> Pleasant valence
y-axis Low activation --> High activation
quadrant-1 Joy / excitement
quadrant-2 Fear / anger / urgency
quadrant-3 Sadness / low mood
quadrant-4 Calm / comfort
"rank bonus uses |arousal|": [0.50, 0.82]
"negative policy uses valence": [0.18, 0.60]
"emotion decay uses intensity": [0.32, 0.35]
"gratitude memory": [0.82, 0.30]
Suggested concise paragraph:
The memory store represents affect with two orthogonal axes. Valence estimates pleasantness or unpleasantness and participates in emotion-modified decay and negative-recall policy. Arousal estimates activation or urgency and may provide a bounded ranking bonus by magnitude. Retention remains governed by the Paper I salience/novelty/spacing/connectivity blend plus valence until an explicit arousal retention weight is introduced.
mindmap
root((Paper II: companion memory))
Dual-axis affect
Valence
Arousal
Recall safety
Multi-store context
Personal memory
Knowledge
Experience traces
Auditability
Supersession
Lineage API
Studio visualization
Edge constraints
SQLite
Quantized embeddings
No always-on vector service
- Dual-axis affect at encode and rank.
- Companion inject safety filters.
- Multi-store memory / knowledge / experience without over-claiming one brain model.
- Auditable belief revision through supersession lineage.
| Question | Answer |
|---|---|
| Is code ahead of Paper I? | Yes |
| Block engineering merge on paper rewrite? | No |
| Minimal paper fix | Dual-axis affect + recall policy ≠ retention gate + P19 footnote |
| Best next doc task | Add a P19 subsection and a small version table |
Back: Home · {M}-Architecture
Aiko-chan · local-first companion · memory stack
Repo · {M}-Architecture · {M}-Phases · {M}-Deferred · {M}-Papers
Author OppaAI · precursor to AGi / AuRoRA · Apache-2.0
Aiko-chan
Memory
External