ExplicitLM:通过显式记忆库将知识与参数解耦
ExplicitLM: Decoupling Knowledge from Parameters via Explicit Memory Banks
AI总结:
针对大模型知识陈旧与不可解释问题,提出ExplicitLM架构,利用百万规模外部记忆库存储人类可读知识,设计可微两阶段检索机制,并基于双系统理论划分显式事实与隐式模式,在保持性能的同时实现了知识的透明与可更新。
摘要:
大型语言模型由于在相互纠缠的网络参数中隐式存储知识,导致知识陈旧且缺乏可解释性,阻碍了定向更新和推理透明度。我们提出了ExplicitLM,这是一种新颖的架构,具有一个百万规模的外部记忆库,将人类可读的知识存储为token序列,从而实现直接检查和修改。我们设计了一种可微的两阶段检索机制,通过乘积键分解进行高效的粗粒度过滤(将复杂度从$\mathcal{O}(N \cdot |I|)$降低至$\mathcal{O}(\sqrt{N} \cdot |I|)$),并采用细粒度的Gumbel-Softmax匹配进行端到端训练。受双系统认知理论启发,我们将知识划分为冻结的显式事实(20%)和可学习的隐式模式(80%),并通过指数移动平均更新来维持稳定性。ExplicitLM在知识密集型任务上较标准Transformer实现了高达43.67%的提升,在低数据场景(10k样本)下获得了3.62倍的增益。分析表明记忆检索与性能之间存在强相关性,正确预测的命中率高出49%。与检索冻结的RAG系统不同,我们联合优化的架构证明了可解释、可更新的模型能够在提供前所未有的知识透明度的同时保持有竞争力的性能。
英文摘要:
Large language models suffer from knowledge staleness and lack of interpretability due to implicit knowledge storage across entangled network parameters, preventing targeted updates and reasoning transparency. We propose ExplicitLM, a novel architecture featuring a million-scale external memory bank storing human-readable knowledge as token sequences, enabling direct inspection and modification. We design a differentiable two-stage retrieval mechanism with efficient coarse-grained filtering via product key decomposition (reducing complexity from $\mathcal{O}(N \cdot |I|)$ to $\mathcal{O}(\sqrt{N} \cdot |I|)$) and fine-grained Gumbel-Softmax matching for end-to-end training. Inspired by dual-system cognitive theory, we partition knowledge into frozen explicit facts (20%) and learnable implicit patterns (80%), maintained through Exponential Moving Average updates for stability. ExplicitLM achieves up to 43.67% improvement on knowledge-intensive tasks versus standard Transformers, with 3.62$\times$ gains in low-data regimes (10k samples). Analysis shows strong correlations between memory retrieval and performance, with correct predictions achieving 49% higher hit rates. Unlike RAG systems with frozen retrieval, our jointly optimized architecture demonstrates that interpretable, updatable models can maintain competitive performance while providing unprecedented knowledge transparency.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。