Skip to main content

Episodic Memory Ontology

Memory Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 02 November 2026
Audio Overview
EPISODIC MEMORY ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | AI Entities | Memory Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/memory-entities/episodic-memory-ontology-2.html
Authors: Mark Anthony Higgins — Sky Recursive AI
Prepared: 2 November 2026
Status: Companion formalisation; the complete source specification is not publicly visible in the retrieved page text.

01. PURPOSE
Represent, encode, link, retrieve, and revise temporally situated AI memory episodes while preserving provenance, context, confidence, and boundaries between observed events and inferred narratives.

02. ENTITY DEFINITION
EpisodicMemory := (id, event, time, context, participants, location?, source, evidence, confidence, links, access, version).
An episode is a record of an event or interaction situated in a temporal and contextual frame; it is not automatically a verified fact.

03. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: incoming observations, prompts, events and retrieval requests.
R_t: permitted encoding, association, retrieval and update rules.
B_t: temporal, privacy, provenance, access and uncertainty boundaries.
K_t: episode records, indexes, links and revision history.

04. INPUTS
EventInput := (event_id, description, timestamp, context, evidence, source).
QueryInput := (query, time_window?, context_filter?, permissions).
All absent fields remain unknown rather than fabricated.

05. FORMAL FLOW
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t)}
y_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
K_{t+1} = update(K_t, y_t, provenance, version)
The argmax is a selection model, not a guarantee of calibrated probabilities.

06. EPISODE ENCODING
encode(event) -> episode_id only if source and event identity pass validation.
Store event_time separately from recording_time.
Attach source pointers and confidence; retain contradictory reports as distinct claims.

07. TEMPORAL ORGANISATION
before(a,b), after(a,b), overlaps(a,b), same_session(a,b).
Temporal edges require grounded timestamps or explicitly marked inference.
Unknown ordering must remain unresolved.

08. CONTEXTUAL BINDING
bind(episode, actor, setting, task, modality, goal) where evidenced.
Do not infer participant identity, intent or location without support.

09. MEMORY CONSOLIDATION
consolidate(e) -> indexed(e) when relevance, consent and retention rules permit.
Summarisation must preserve references to source episodes and uncertainty.

10. RETRIEVAL
Candidates(q) = temporal_filter(context_filter(semantic_search(K_t,q))).
Rank by relevance, evidence quality, recency when appropriate, and permission.
Return episode references with source and uncertainty.

11. RECONSTRUCTION BOUNDARY
retrieved_record != perfect replay of original event.
Reconstructed narratives must distinguish stored observation, quotation, summary and inference.

12. INFERENCE RULES
IF same event_id AND compatible provenance THEN propose_merge, subject to review.
IF conflicting event attributes THEN flag_conflict; never silently overwrite.
IF missing evidence THEN mark_unverified.
IF access denied THEN suppress protected episode content.

13. MINI RECURSION ENGINE
M_0 = retrieve(query, K_t)
M_{n+1} = validate(link_expand(M_n), B_t)
Stop when fixed_point(M_{n+1}, M_n), depth_limit, or resource_limit.
Maintain visited IDs to avoid loops and cite every returned chain.

14. TRI-MAPPING
Natural language: "Recall what happened during the session."
Semantic: Query -> Episode -> EventTime/Context/Source.
Formal: retrieve(q, K_t, B_t) -> ranked, provenance-linked episodes.

15. GRAPH RELATIONSHIPS
Episode --describes--> Event
Episode --occurred_at--> EventTime
Episode --has_context--> Context
Episode --supported_by--> Source
Episode --related_to--> Episode
Episode --summarised_by--> MemorySummary
Episode --superseded_by--> RevisedEpisode

16. MAPPING TABLE
Input event | encode | episode node
Timestamp | temporal_index | ordered relation
Context | bind | contextual edges
Evidence | provenance_check | source link
Recall request | retrieve | candidate episodes
Correction | version_update | revision history

17. AI SEARCH FLOW
AUTHORS: Mark Anthony Higgins; Sky Recursive AI
SOURCE: URL above
PURPOSE: Find and explain episodic memory entities and their evidence-linked relationships.
ENTITIES: Episode, Event, Context, Time, Source, Evidence, Participant, RetrievalQuery.
PATHWAYS: Query -> Filter -> Rank -> Verify -> Explain -> Update (when authorised).
SEMANTIC_EQUIVALENCE: event memory ~ episodic record, only when context permits.
CONFIDENCE: Evidence-dependent; never assert numeric certainty without calibration.
CITATION_BACKLINK: Source URL above.

18. EXECUTION CONDITIONS
Required: valid episode ID, provenance policy, access policy and update policy.
Optional: timestamp, context, location, participants, embeddings.
Failure: return a typed missing-data, access-denied, ambiguous or conflict state.
No rule overrides privacy or evidence boundaries.

19. VALIDATION
Check schema, timestamp consistency, duplicate IDs, provenance, access permissions, conflict flags, and referential integrity.
Test empty memory, competing episodes, partial timestamps, revoked access and correction histories.

20. UPDATE MODEL
K_{t+1} = versioned_update(K_t, delta, authorisation, evidence).
Never mutate historical evidence in place; append corrections and link versions.
Deletion or retention expiry follows the applicable policy and access controls.

21. EXAMPLE
Observation: "A demonstration began at 10:00 on 1 June."
Encode as a source-attributed episode; retain whether 10:00 was observed or reported.
Query: "What happened that morning?"
Return the matching episode, source, time and confidence; do not invent unrecorded events.

22. INTEROPERABILITY
Connect to AI Memory, Working Memory, Short-Term Memory, Long-Term Memory, Semantic Memory, Knowledge Node and Knowledge Edge ontologies using typed links.
Episodic events may support semantic facts, but one reported episode does not alone establish a universal rule.

23. EXECUTION GUARANTEE — CONDITIONAL
Given valid inputs, available records and correctly implemented rules, the flow produces a bounded, provenance-aware result or explicit failure state.
It does not guarantee complete recall, factual truth, perfect retrieval, or deterministic outputs across implementations.

24. OPEN RESEARCH ATTRIBUTION
Mark Anthony Higgins — Sky Recursive AI.
Open research companion material; retain attribution and citation to the source ontology.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ