인지과학에서 빌린 용어
- Episodic 메모리 — 시간 + context 있는 특정 과거 이벤트. "지난 화요일 아빠가 pgvector 인덱스 물어봤어."
- Semantic 메모리 — context 벗긴 일반화된 지식. "아빠는 incremental ingestion 에 IVFFlat 보다 HNSW 선호."
AI 메모리 시스템은 둘 다 필요 + 다른 storage shape:
- Episodic → append-only 로그 (JSONL, time-series), recency + similarity 로 retrieve
- Semantic → distill 된 지식 베이스, similarity 로 retrieve, 모델 자신이 주기적 rewrite
두 retrieval contract
유저가 질문 던지면 보통 둘 다 필요: episodic 으로 실제 말한 거 복원, semantic 으로 모델의 distill 된 이해 복원. 두 retriever, 두 scoring 함수, prompt assembly stage 에서 fuse.