How much do language models memorize?

We propose a new method for estimating how much a model knows about a datapoint and use it to measure the capacity of modern language models. Prior studies of language model memorization have struggled to disentangle memorization from generalization. We formally separate memorization into two components: unintended memorization, the information a model contains about a specific dataset, and generalization, the information a model contains about the true data-generation process. When we completely eliminate generalization, we can compute the total memorization, which provides an estimate of model capacity: our measurements estimate that GPT-style models have a capacity of approximately 3.6 bits per parameter. We train language models on datasets of increasing size and observe that models memorize until their capacity fills, at which point "grokking" begins, and unintended memorization decreases as models begin to generalize. We train hundreds of transformer language models ranging from $500K$ to $1.5B$ parameters and produce a series of scaling laws relating model capacity and data size to membership inference.

Understanding deeplearning requires…Understanding deep learning requires rethinking generalizationA Closer Look atMemorization in Deep…A Closer Look at Memorization in Deep NetworksThe UnintendedConsequences of…The Unintended Consequences of Overfitting: Training Data Inference AttacksThe Secret Sharer:Measuring Unintended…The Secret Sharer: Measuring Unintended Neural Network Memorization & Extracting SecretsScaling Laws for NeuralLanguage ModelsScaling Laws for Neural Language ModelsDeduplicating TrainingData Makes Language…Deduplicating Training Data Makes Language Models BetterQuantifying MemorizationAcross Neural Language…Quantifying Memorization Across Neural Language ModelsCounterfactualMemorization in Neural…Counterfactual Memorization in Neural Language ModelsThe Llama 3 Herd ofModelsThe Llama 3 Herd of ModelsScaling Laws for FactMemorization of Large…Scaling Laws for Fact Memorization of Large Language ModelsRethinking LLMMemorization through th…Rethinking LLM Memorization through the Lens of Adversarial CompressionPhysics of LanguageModels: Part 3.3…Physics of Language Models: Part 3.3, Knowledge Capacity Scaling LawsSPICE: Self-Play InCorpus Environments…SPICE: Self-Play In Corpus Environments Improves ReasoningLearning Facts at Scalewith Active ReadingLearning Facts at Scale with Active ReadingApproximating LanguageModel Training Data fro…Approximating Language Model Training Data from WeightsRote Learning ConsideredUseful: Generalizing…Rote Learning Considered Useful: Generalizing over Memorized Data in LLMsGuided Self-EvolvingLLMs with Minimal Human…Guided Self-Evolving LLMs with Minimal Human SupervisionHubble: a Model Suite toAdvance the Study of LL…Hubble: a Model Suite to Advance the Study of LLM MemorizationMachine Text Detectorsare Membership Inferenc…Machine Text Detectors are Membership Inference AttacksUnderstanding LanguageModel Scaling on Protei…Understanding Language Model Scaling on Protein Fitness PredictionDeep sequence modelstend to memorize…Deep sequence models tend to memorize geometrically; it is unclear whyThe Landscape ofMemorization in LLMs…The Landscape of Memorization in LLMs: Mechanisms, Measurement, and MitigationModel CapacityDetermines Grokking…Model Capacity Determines Grokking through Competing Memorisation and Generalisation SpeedsForgetting in LanguageModels: Capacity…Forgetting in Language Models: Capacity, Optimization, and Self-Generated ReplayHow much do languagemodels memorize?How much do language models memorize?過去の参考文献中心の論文この論文を引用する論文古い新しい

ノードをクリックするとフォーカスを固定、空白をクリックすると本論文に戻ります。ホバーで一時的にプレビューできます。各ノードのページはタイトルから開けます。