Skip to content

Stress-test latent memory claims against dirty corpus, vague queries, and strong RAG baseline #19

Description

@Flagrare

The current experiments make TardigradeDB look like a serious research prototype, especially after invalidating mean-pool injection and showing full KV / hidden-state paths can work.

The next useful validation should be a harsher benchmark:

  • 1k+ memories, not 10/30/100 clean synthetic cases
  • vague queries, not mostly lexical/specific recall
  • contradictory memories
  • stale memories with decay / recency pressure
  • irrelevant near-neighbor memories
  • strong RAG baseline with reranker, not weak baseline only
  • modern model path with RoPE/GQA, beyond GPT-2/Qwen small
  • report CSV/raw outputs/seeds, not only narrative summaries
  • compare latency, storage, prompt tokens, prefill cost, and recall

Main question to resolve:

Is TardigradeDB beating text RAG as memory, or is it mainly trading disk/storage for context/prefill efficiency through persisted KV/hidden-state payloads?

Both are valuable, but they are different claims.

Suggested benchmark matrix:

  1. Text RAG + reranker
  2. Hidden states + Top5Avg
  3. Full KV injection
  4. Q4 quantized KV injection
  5. Hybrid retrieval index + KV payload
  6. Negative controls with irrelevant and contradictory memories

Success criteria should include:

  • Recall@1 / Recall@5
  • false positive rate
  • “I don’t know” calibration
  • stale-memory suppression
  • cost per retrieved useful memory
  • latency and storage per 1k memories

This would separate “promising research infrastructure” from “nice controlled demo”.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions