Memory Capacity Assessment of Large Language Models: A Knowledge-Frequency Perspective

Memory capability is a critical aspect of large language models (LLMs). However, the disparity in memory ability between small and large LLMs remains unclear. In this paper, we present a novel investigation into the memory capabilities of both small and large LLMs, introducing an innovative knowledge-based dataset, enriched with knowledge frequency annotations. Derived from Wikidata, this dataset quantifies knowledge frequency by counting the co-occurrences of head and tail entities of knowledge graph triples in part of the pre-training corpus. Building upon this, we constructed a fact-based question-answering dataset called KDF, and evaluated the memory performance of state-of-the-art pre-trained base model families. Our comprehensive experiments demonstrate that large LLMs exhibit robust memory capabilities, retaining most facts even when they occur infrequently. Conversely, small LLMs are limited to recalling only a subset of high-frequency facts, struggling significantly with low-frequency information. Our study not only illuminates the memory discrepancies between different scales of LLMs but also offers a valuable resource and methodology for future research in LLMs.

Authors

Institutions

Publication Details

Published
2025-04-18
DOI
https://doi.org/10.1109/icccs65393.2025.11069850
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Memory Capacity Assessment of Large Language Models: A Knowledge-Frequency Perspective

Xinwen Hou, Le Zhou, Yu Liu
Topic Modeling
article

Memory Capacity Assessment of Large Language Models: A Knowledge-Frequency Perspective

Xinwen Hou, Le Zhou, Yu Liu
article en

Abstract

Memory capability is a critical aspect of large language models (LLMs). However, the disparity in memory ability between small and large LLMs remains unclear. In this paper, we present a novel investigation into the memory capabilities of both small and large LLMs, introducing an innovative knowledge-based dataset, enriched with knowledge frequency annotations. Derived from Wikidata, this dataset quantifies knowledge frequency by counting the co-occurrences of head and tail entities of knowledge graph triples in part of the pre-training corpus. Building upon this, we constructed a fact-based question-answering dataset called KDF, and evaluated the memory performance of state-of-the-art pre-trained base model families. Our comprehensive experiments demonstrate that large LLMs exhibit robust memory capabilities, retaining most facts even when they occur infrequently. Conversely, small LLMs are limited to recalling only a subset of high-frequency facts, struggling significantly with low-frequency information. Our study not only illuminates the memory discrepancies between different scales of LLMs but also offers a valuable resource and methodology for future research in LLMs.

Chinese Academy of Sciences (CN), Shandong Institute of Automation (CN)
Openalex Percentile: Top 92%
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.