vix.ing · top · new · best · stats

Pre-training Limited Memory Language Models with Internal and External Knowledge

2025/05/21 by Zhao, Linxi, Sofian Zalouk, Christian K. Belardi +14 · 1 voice · 3 citations
Computer Science · #Topic Modeling #Big Data and Digital Economy #Natural Language Processing Techniques

paper · pdf · doi:10.48550/arxiv.2505.15962

Abstract

Neural language models are black-boxes--both linguistic patterns and factual knowledge are distributed across billions of opaque parameters. This entangled encoding makes it difficult to reliably inspect, verify, or update specific facts. We introduce Limited Memory Language Models (LMLM), a new class of language models that externalizes factual knowledge to external database during pre-training rather than memorizing them. Our pre-training approach strategically masks externally retrieved factual values from the training loss, thereby teaching the model to perform targeted lookups rather than relying on memorization in model weights. Our experiments demonstrate that LMLMs achieve competitive performance compared to significantly larger LLMs on standard benchmarks, while offering the advantages of explicit, editable, and verifiable knowledge bases.

Citations

Cited by

Discussions

Related