Pith. sign in

REVIEW 4 cited by

Scaling Laws for Fact Memorization of Large Language Models

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2406.15720 v1 pith:DDVDT3KW submitted 2024-06-22 cs.CL

classification cs.CL
keywords factsfactllmsmemorizationknowledgememorizingscalingfind
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Fact knowledge memorization is crucial for Large Language Models (LLM) to generate factual and reliable responses. However, the behaviors of LLM fact memorization remain under-explored. In this paper, we analyze the scaling laws for LLM's fact knowledge and LLMs' behaviors of memorizing different types of facts. We find that LLMs' fact knowledge capacity has a linear and negative exponential law relationship with model size and training epochs, respectively. Estimated by the built scaling law, memorizing the whole Wikidata's facts requires training an LLM with 1000B non-embed parameters for 100 epochs, suggesting that using LLMs to memorize all public facts is almost implausible for a general pre-training setting. Meanwhile, we find that LLMs can generalize on unseen fact knowledge and its scaling law is similar to general pre-training. Additionally, we analyze the compatibility and preference of LLMs' fact memorization. For compatibility, we find LLMs struggle with memorizing redundant facts in a unified way. Only when correlated facts have the same direction and structure, the LLM can compatibly memorize them. This shows the inefficiency of LLM memorization for redundant facts. For preference, the LLM pays more attention to memorizing more frequent and difficult facts, and the subsequent facts can overwrite prior facts' memorization, which significantly hinders low-frequency facts memorization. Our findings reveal the capacity and characteristics of LLMs' fact knowledge learning, which provide directions for LLMs' fact knowledge augmentation.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 4 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Paying Attention to Facts: Quantifying the Knowledge Capacity of Attention Layers

    cs.LG 2025-02 conditional novelty 7.0 of 10

    A single-layer attention-only transformer's fact-storage capacity can be estimated by the rank of a 3-tensor built from its weights, with the value-output dimension dominating the query-key dimension in capacity.

  2. Learning Facts at Scale with Active Reading

    cs.CL 2025-08 conditional novelty 6.0 of 10

    Training LLMs on self-generated, diverse 'active reading' materials improves factual recall by 160-312% and scales to a 1T-token Wikipedia expert model.

  3. ABench-Physics: Benchmarking Physical Reasoning in LLMs via High-Difficulty and Dynamic Physics Problems

    cs.LG 2025-07 conditional novelty 6.0 of 10

    A new physics benchmark with static and dynamically varied numeric problems shows top LLMs solve at most 43 percent of the static set and drop sharply when problem constants change.

  4. How much do language models memorize?

    cs.CL 2025-05 conditional novelty 6.0 of 10

    A compression-based measurement puts GPT-style model memorization capacity at roughly 3.6 bits per parameter, with membership inference success following a sigmoid in the dataset-to-capacity ratio.

Pith tools