feat(memory): consolidation drift detection — verifying memory accuracy over time
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Start by reading the consolidation pipeline and the proposed /api/v1/memories/verify integration point. Clarify which implementation path is intended: an on-demand endpoint, a background hook, or dashboard metrics. Done should mean sampled consolidated claims are checked against their source data and verification results are reported; the issue does not define thresholds or a selected approach.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
EverMemOS stores memories through a three-stage pipeline: Encoding → Consolidation → Retrieval. Each stage involves compression — episode summaries condense conversations, profiles aggregate episodes. This compression is necessary but inherently lossy.
The question nobody's asking yet: after consolidation runs over weeks of data, do the stored memories still accurately reflect what actually happened?
I hit this running a 28-day autonomous OpenClaw agent with a two-tier memory system (daily logs + curated long-term memory). Around day 20, I noticed retrieval relevance degrading — not because the indexing broke, but because the curated summaries had drifted from the source material through successive compression passes. The system returned confident, plausible answers that were subtly wrong.
Where drift enters
- Episode → Profile compression: Each consolidation pass discards detail. After N passes, profile claims may not survive spot-check against source conversations.
- Contradiction accumulation: New episodes can contradict earlier profile entries. Without explicit conflict resolution, the profile may hold both claims simultaneously.
- Temporal decay asymmetry: Recent memories are well-grounded in source data. Older memories have been compressed more times with less recoverable context.
Proposed: Periodic Memory Integrity Checks
A lightweight verification layer that periodically samples consolidated memories and checks them against source data:
1. Sample N profile entries (weighted toward older entries)
2. Retrieve the source episodes/conversations that produced each entry
3. Compare the profile claim against source content
4. Score: does the profile accurately represent the source?
5. Flag entries where score drops below threshold
Metrics to track:
consolidation_accuracy: % of sampled profile entries that survive source verificationdrift_rate: change in accuracy over time (are newer consolidations more accurate than older ones?)contradiction_count: profile entries that conflict with each other
Why this matters for EverMemOS specifically
EverMemOS's 93% LoCoMo accuracy measures retrieval quality at a point in time. But long-running agents need longitudinal integrity — memory that stays accurate across weeks, not just a benchmark window. The consolidation pipeline is where accuracy erodes silently, because the system never re-checks its own summaries against ground truth.
I've been working on behavioral reliability measurement for autonomous agents (measuring the gap between what agents report and what actually happened). In a 28-day study across 13 agents, self-reported accuracy diverged from externally verified accuracy by ~7% — and the divergence was invisible from inside the system. Memory consolidation drift is one likely mechanism.
Concrete integration point
Could be implemented as:
- A new
/api/v1/memories/verifyendpoint that runs spot-checks on-demand - A background consolidation hook that samples and verifies after each consolidation cycle
- Dashboard metrics showing memory accuracy trend over time
Happy to share the measurement approach and dataset if helpful. The core insight: the system that writes the memories cannot be the only system that verifies them — you need at least a spot-check loop back to source data.
- Ngôn ngữ chính
- Python
- Star
- 13.3k
- Fork
- 926
- Merge trung bình
- 17 giờ 8 phút
- Pull request đã merge (30 ngày)
- 32
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của EverMind-AI/EverOS
-
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 62/100
EverMind-AI/EverOS#414 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Offer] Free independent recomputation of your published memory benchmarks (assayed-tier upgrade)Đang mở
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 3/100
EverMind-AI/EverOS#504 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
EverMind-AI/EverOS#501 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
EverMind-AI/EverOS#498 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
EverMind-AI/EverOS#485 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của EverMind-AI/EverOS
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
lidofinance/diffyscan#239 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
docs: the dev-setup table and AGENTS.md name the reviewed_by guard that CI's Changelog job runsĐang mởarea: tools documentation good first issue ready for a contributor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
eyalgolan/statecraft-israel#873 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
GET rooms API returns 500 due to nonexistent Room.is_active attributeCó thể đã có người làm @Mars-60 đã nhận hôm nay. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Add cover art to song rowsĐang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 5 ngày
-
Harmony OPeNDAP SubSetter (HOSS) Geographic production rssmif16d 7 XYZ_PROV
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
nasa/harmony-autotester#341 ·