Source
ES-Mem: Event Segmentation-Based Memory for Long-Term Dialogue Agents — arXiv 2601.07582, January 2026
Core Idea
Applies cognitive Event Segmentation Theory to partition long conversation histories at natural semantic boundaries ("events") rather than fixed token counts. Builds a hierarchical memory structure anchored to event boundaries. Event-aware retrieval outperforms surface similarity lookup on long-term dialogue benchmarks.
Applicability to Zeph: MEDIUM-HIGH
Zeph's chunked compaction divides history by token count (configurable compaction_preserve_tail). This produces summary chunks that may split mid-task, degrading summarization coherence. Event-based segmentation would produce semantically coherent units, improving both summarization quality and episodic retrieval precision.
This is directly complementary to #1608 (episodic-to-semantic promotion) — better boundaries mean better promotion candidates.
Implementation Sketch
- Add
EventBoundaryDetector: a lightweight LLM call (or heuristic using turn transitions: tool_use→user, topic shift signals) that emits boundary markers before chunked compaction.
- Align compaction chunk boundaries to detected event boundaries instead of hard token counts.
- Store event metadata (boundary type, event summary) in a new
episodic_events SQLite table.
- Use event boundaries as retrieval anchors in
SemanticMemory::recall().
- Gate behind
[memory.compression] event_segmentation = true.
Implementation Complexity
MEDIUM — boundary detection can start as heuristic (no extra LLM call), upgrade to LLM-based later. SQLite schema addition is straightforward.
See Also
Source
ES-Mem: Event Segmentation-Based Memory for Long-Term Dialogue Agents — arXiv 2601.07582, January 2026
Core Idea
Applies cognitive Event Segmentation Theory to partition long conversation histories at natural semantic boundaries ("events") rather than fixed token counts. Builds a hierarchical memory structure anchored to event boundaries. Event-aware retrieval outperforms surface similarity lookup on long-term dialogue benchmarks.
Applicability to Zeph: MEDIUM-HIGH
Zeph's chunked compaction divides history by token count (configurable
compaction_preserve_tail). This produces summary chunks that may split mid-task, degrading summarization coherence. Event-based segmentation would produce semantically coherent units, improving both summarization quality and episodic retrieval precision.This is directly complementary to #1608 (episodic-to-semantic promotion) — better boundaries mean better promotion candidates.
Implementation Sketch
EventBoundaryDetector: a lightweight LLM call (or heuristic using turn transitions: tool_use→user, topic shift signals) that emits boundary markers before chunked compaction.episodic_eventsSQLite table.SemanticMemory::recall().[memory.compression] event_segmentation = true.Implementation Complexity
MEDIUM — boundary detection can start as heuristic (no extra LLM call), upgrade to LLM-based later. SQLite schema addition is straightforward.
See Also
ChunkedCompactorinzeph-memory