ExplicitLM: Decoupling Knowledge from Parameters via Explicit Memory Banks

Chengzhang Yu, Zening Lu, Chenyang Zheng, Chiyue Wang, Yiming Zhang, Zhanpeng Jin · Submission to ICLR 2026 · Rejected

TL;DR

ExplicitLM fundamentally changes how language models store knowledge by moving facts out of "black-box" weights and into a million-scale, human-readable memory bank. This architecture enables end-to-end training with a differentiable retrieval mechanism, resulting in massive performance gains—up to 3.62× in low-data scenarios—while providing unprecedented transparency into the model's reasoning.

What Problem Does This Paper Address?

Standard Large Language Models (LLMs) suffer from a "knowledge entanglement" problem. Facts are baked into the network's parameters during training, making them nearly impossible to update, verify, or even locate. This leads to two major issues: knowledge staleness (the model can't easily learn that the U.S. President has changed without expensive retraining) and a lack of interpretability (we don't know why a model thinks a certain fact is true).

While Retrieval-Augmented Generation (RAG) tries to fix this by looking up external documents, it often suffers from high latency and a "misalignment" between the retriever and the generator. The authors of ExplicitLM propose a middle ground: an architecture where the memory is an integrated, differentiable, and human-readable part of the model itself.

Methods

The core of ExplicitLM is a million-scale external memory bank. Unlike standard weights, each entry in this bank is stored as a sequence of token indices, meaning a human can literally read what the model "knows."

To make this work at scale, the authors introduced several innovations:

  • Two-Stage Differentiable Retrieval: To avoid the massive computational cost of searching a million entries, they use a coarse-grained filter (using product key decomposition to reduce complexity from $O(N)$ to $O(\sqrt{N})$) followed by a fine-grained similarity match.
  • Gumbel-Softmax Selection: This allows the model to pick discrete pieces of knowledge while still allowing gradients to flow through the selection process, enabling the retriever and the language model to be optimized together.
  • Dual-System Partitioning: Inspired by cognitive science, they split the memory into two parts:
  • Frozen Explicit Facts (20%): Curated, verified facts that stay immutable to ensure accuracy.
  • Learnable Implicit Patterns (80%): Updatable entries that the model refines during training using an Exponential Moving Average (EMA) strategy to capture linguistic nuances.

Datasets

The authors constructed a 10M-entry multi-source corpus for pretraining, combining:

  • Wikipedia: Used for structured encyclopedic knowledge and memory bank initialization.
  • Project Gutenberg: For formal language patterns and narrative structures.
  • OpenWebText: For contemporary web text and informal discourse.

For evaluation, they designed three specific tasks: Object Prediction (predicting the "object" in a subject-predicate-object triplet), Relation Reasoning (inferring relationships between entities), and Fact Verification.

Key Insights and Ideas

  • Knowledge Decoupling: The most striking insight is that factual knowledge doesn't need to be "memorized" by the weights. By offloading facts to the memory bank, the model's parameters can focus on reasoning and linguistic structure.
  • The "Aha" Moment in Low-Data Regimes: ExplicitLM shines brightest when data is scarce. With only 10k training samples, it outperformed standard Transformers by over 3.6×. This suggests that explicit memory acts as a powerful "prior" that helps models learn facts much faster than traditional parametric learning.
  • Layer Specialization: The researchers found that memory access isn't uniform. Layers 1 and 3 in their architecture acted as "knowledge hubs," showing significantly higher hit rates than other layers, suggesting an emergent specialization for integrating external facts.
  • Hit Rate Correlation: There is a direct, measurable link between successful memory retrieval and correct answers. Correctly predicted samples had a 49% higher memory hit rate than incorrect ones, proving the model actually uses the retrieved information to succeed.

Key Results

  • Accuracy Boost: ExplicitLM achieved up to a 43.67% improvement in knowledge-intensive tasks compared to standard Transformer baselines.
  • Efficiency: The two-stage retrieval mechanism successfully handled a million-entry bank with low computational overhead.
  • Interpretability: Because the memory is stored as tokens, the authors could verify that the model was retrieving the correct factual triplets (e.g., "The Eiffel Tower" + "stands" + "324 meters tall") to answer questions.
  • Robustness: The model maintained its performance advantages even as the training volume scaled up to 100k samples, proving that explicit memory remains useful even when the model has more opportunities to memorize facts in its weights.

Limitations and Future Work

The authors acknowledge a few hurdles:

  • Manual Curation: Currently, the "frozen" portion of the memory bank requires manual curation or high-quality structured data (like Wikipedia triplets) to initialize.
  • Automatic Extraction: A major goal for future work is developing ways for the model to automatically extract and "write" new explicit, human-readable facts into its memory bank during training without human intervention.
  • Scaling: While a million entries is impressive, real-world knowledge is vast. Scaling the architecture to handle even larger, more dynamic repositories remains an open challenge.

Summary updated

BibTeX
@misc{yu2025explicitlm,
  author = {Chengzhang Yu and Zening Lu and Chenyang Zheng and Chiyue Wang and Yiming Zhang and Zhanpeng Jin},
  title = {{ExplicitLM: Decoupling Knowledge from Parameters via Explicit Memory Banks}},
  year = {2025},
  eprint = {2511.01581},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.01581},
}
Figure