dsh-assoc-mem: Associative Long-Term Memory with Hebbian Co-occurrence Graphs in DSH
dsh-assoc-mem is a memory plugin (v0.1.0, MIT) developed by antimatter2020 for DeepSeek Harness. In the background, it maintains a co-occurrence graph using jieba noun tokenization, employing full-graph decay, edge-level hit reinforcement, and new-edge creation; retrieval is limited to 1-hop neighbors, and the current turn's concepts and relations are silently injected via the system prompt. Unlike vector retrieval, it emphasizes remembering that "two words co-occurred" rather than semantic similarity; unlike HeLa-Mem, it applies write-time reinforcement and persists entries without requiring a retrieval pass, though at the cost of higher co-occurrence noise. It supports context truncation or plugin-initiated LLM explanation generation; the README documents default parameter values along with measured token usage for injection and explanation. Installation requires DSH >=0.2.2-rc.3; the install command is: dsh plugin --profile desktop add "link:<absolute_path>". It is designed for Chinese multi-turn conversations. Please review the source code and process permissions before installing.
Read More