Search papers, labs, and topics across Lattice.
This paper introduces ZifaMem, a structured memory system designed to enhance the emotional continuity of AI companions by organizing dialogue into session summaries, episodic memories, and a consolidated user model. The results show that ZifaMem significantly improves emotional intelligence scores by 11.4% compared to a raw dialogue history comparator, with notable enhancements in persona grounding and multi-turn affect context. Additionally, ZifaMem demonstrates comparable performance to other memory systems while outperforming single-turn snapshots, indicating its effectiveness in maintaining user engagement and emotional connection over extended interactions.
Structured memory can boost emotional intelligence in AI companions by over 11%, reshaping user experience in multi-turn dialogues.
AI companions are judged not only by single-turn fluency but by whether they sustain emotional continuity: remembering who the companion is, what the user prefers, and how the relationship has felt. We present ZifaMem, a structured memory system that organizes dialogue into session summaries, episodic memories, and a consolidated user model. Against a deployment-honest comparator that supplies the full raw dialogue history, and under a fixed LLM-as-a-judge protocol with route audits, structured memory raises pooled four-backbone emotional-intelligence scores by 11.4% (95% CI 6.3% to 17.1%), and persona grounding improves on all four backbones (Claude +42% relative). Multi-turn affect context wins a +39% net preference over a single-turn snapshot (exploratory), whereas an additional emotion state machine yields no measurable gain on any of five endpoints. Under an identical preregistered protocol, three memory systems (ZifaMem, Mem0, and filtered verbatim retrieval) each improve significantly over raw-history deployment, and ZifaMem and Mem0 are statistically equivalent within +/-5 points on the preregistered primary preference endpoint. The ZifaMem SDK, CLI, and portable Agent Skills are open-sourced at https://github.com/zifacorp/zifamem.