Hubble: a Model Suite to Advance the Study of LLM Memorization

Johnny Wei, Ameya Godbole, Mohammad Aflah Khan, Ryan Wang, Xiaoyuan Zhu, James Flemings, Nitya Kashyap, Krishna Gummadi, Willie Neiswanger, Robin Jia

International Conference on Learning Representations 2026 · Oral

Overview

Large Language Models (LLMs) are increasingly deployed across a myriad of applications, yet their tendency to memorize aspects of their training data poses significant risks, including copyright infringement, privacy breaches, and test set contamination. The "Hubble: a Model Suite to Advance the Study of LLM Memorization" talk introduces a novel, fully open-source suite of Llama-based models specifically designed to enable controlled, empirical study of LLM memorization. Developed by a collaborative team from USC and MPI, the Hubble project provides researchers with intentionally perturbed models and their corresponding training data, allowing for precise investigation into how and why LLMs memorize.

Watch on SlidesLive

Visual summary for Hubble: a Model Suite to Advance the Study of LLM Memorization by Johnny Wei, Ameya Godbole, Mohammad Aflah Khan, Ryan Wang, Xiaoyuan Zhu, James Flemings, Nitya Kashyap, Krishna Gummadi, Willie Neiswanger, Robin Jia
Visual summary for Hubble: a Model Suite to Advance the Study of LLM Memorization by Johnny Wei, Ameya Godbole, Mohammad Aflah Khan, Ryan Wang, Xiaoyuan Zhu, James Flemings, Nitya Kashyap, Krishna Gummadi, Willie Neiswanger, Robin Jia

Key moments

  1. 0:00 Introducing Hubble: A model suite for LLM memorization
  2. 2:00 Designing perturbation data to study deployment risks
  3. 4:00 Hubble models and data are publicly available
  4. 4:40 Establishing dilution as a best practice for memorization
  5. 6:50 Hubble as a benchmark for evaluating unlearning methods
  6. 8:00 Hubble's community adoption and impact in research
  7. 9:20 Q&A: Clarifying dilution effect vs. model size
  8. 14:00 Q&A: Discussing desirable vs. undesirable memorization

Hubble: a Model Suite to Advance the Study of LLM Memorization

Speakers: Johnny Wei, Ameya Godbole, Mohammad Aflah Khan, Ryan Wang, Xiaoyuan Zhu, James Flemings, Nitya Kashyap, Krishna Gummadi, Willie Neiswanger, Robin Jia

Conference: ICLR 2026

YouTube: https://slideslive.com/39062059

Overview

Large Language Models (LLMs) are increasingly deployed across a myriad of applications, yet their tendency to memorize aspects of their training data poses significant risks, including copyright infringement, privacy breaches, and test set contamination. The "Hubble: a Model Suite to Advance the Study of LLM Memorization" talk introduces a novel, fully open-source suite of Llama-based models specifically designed to enable controlled, empirical study of LLM memorization. Developed by a collaborative team from USC and MPI, the Hubble project provides researchers with intentionally perturbed models and their corresponding training data, allowing for precise investigation into how and why LLMs memorize.

Traditional memorization research relies on conventionally trained open-source models like Pythia and Olmo, which only expose naturally occurring memorization. Hubble transcends this limitation by systematically inserting and duplicating specific data types into the training corpora of 1B and 8B Llama models. This deliberate perturbation allows researchers to manipulate memorization characteristics, creating a controlled environment to test hypotheses about memorization mechanisms, mitigation strategies like data dilution, and the efficacy of unlearning techniques. The project's commitment to open science, making models, training data, and perturbation tools publicly available on Hugging Face, positions Hubble as a crucial piece of scientific infrastructure for the LLM research community.

The significance of Hubble extends beyond academic inquiry; it offers a critical tool for practitioners, infrastructure teams, and model builders grappling with the real-world implications of LLM memorization. By providing a benchmark for unlearning and a platform to study dilution, Hubble directly addresses the need for robust, empirically-backed solutions to mitigate risks. The insights gained from Hubble can inform best practices for data curation, model training, and deployment, ultimately fostering the development of safer, more reliable, and ethically sound AI systems.

Background

▶ Watch: Introducing Hubble: A model suite for LLM memorization (0:00)

The phenomenon of memorization in Large Language Models (LLMs) has emerged as a critical area of concern within the machine learning and systems space. As LLMs scale in size and are trained on vast, often undifferentiated, internet-scale datasets, they inevitably internalize and sometimes regurgitate specific sequences from their training corpus. This "memorization" can manifest in several undesirable ways, creating significant deployment risks.

One primary concern is copyright infringement. LLMs trained on extensive textual data, including copyrighted books, articles, and code, may reproduce substantial portions of this content verbatim or near-verbatim. This raises complex legal and ethical questions regarding ownership and fair use, potentially exposing developers and users to litigation. For instance, the talk references examples like legal document headers or well-known cryptographic hashes found in Pythia's memorized outputs, indicating the broad spectrum of data types susceptible to such issues.

Privacy is another major implication. Web-scraped datasets often contain personally identifiable information (PII), such as names, addresses, phone numbers, or biographical details. If an LLM memorizes and subsequently reproduces this sensitive information, it could lead to privacy breaches, making private data more readily available and potentially facilitating identity theft or targeted attacks. The challenge lies in the sheer volume and diversity of personal content present in public web data.

Finally, test set contamination poses a significant threat to the integrity of LLM benchmarks and evaluations. If pre-training data inadvertently contains examples from standard test sets (e.g., MMLU, PopQA), models might "memorize" the answers rather than truly generalize. This artificially inflates benchmark performance, providing a misleading indication of a model's true capabilities and hindering accurate progress tracking in the field.

Prior work attempting to study LLM memorization, primarily utilizing models like Pythia and Olmo, has been constrained by the nature of their training. These models, while fully open-source with accessible weights and training data, were trained conventionally. This means researchers are limited to studying memorization that "naturally occurs" during standard training processes, making it challenging to isolate causal factors or systematically test mitigation strategies. The lack of control over the memorization process itself has been a significant barrier to precise scientific inquiry. The "Hubble" project was conceived to overcome these limitations by intentionally inducing and controlling memorization, thereby providing a more robust and flexible platform for research.

Key Findings

▶ Watch: Hubble models and data are publicly available (4:00)

The Hubble project has yielded several crucial findings that significantly advance our understanding of LLM memorization and its mitigation:

Firstly, dilution is established as a critical best practice for mitigating memorization risk. The research empirically verifies that memorization risk increases with the number of times a data point is duplicated in the training corpus. However, this risk increases slower when the same number of duplicates is diluted over a substantially larger training corpus. For instance, a data point duplicated N times in a 100 billion-token corpus poses a higher memorization risk than the same N duplications in a 500 billion-token corpus. This "dilution effect" was clearly demonstrated across various risk areas, including test set contamination, copyright, and privacy, suggesting its generalizability. This finding provides a strong empirical basis for companies to formally study and implement data dilution strategies, advocating for larger, more diverse pre-training datasets to naturally reduce the likelihood of specific data point regurgitation.

Secondly, the study highlights the limitations of current unlearning methods, particularly their lack of precision. While Hubble serves as an excellent benchmark for evaluating unlearning algorithms due to its diverse, controlled perturbations, experiments revealed that many unlearning techniques primarily erase "distributional information" rather than precisely targeting and removing specific data points. For certain types of data, such as Gutenberg passages, unlearning methods like SARTEMP showed promise, bringing the perturbed model's performance on the "unlearned" content closer to that of a standard model without affecting other desired capabilities. However, for more complex and sensitive data, such as synthetic biographies containing unique PII (e.g., "Dora Sloan from the US, born somewhere, a unique identifier"), unlearning proved significantly more challenging. None of the unlearned checkpoints were able to precisely match the target model's performance, indicating that these methods are not yet sufficiently refined to reliably remove specific sensitive examples without broader collateral damage.

Thirdly, Hubble provides a strong argument for the utility of controlled, open-source infrastructure in LLM research. By intentionally perturbing training data and making all models, perturbation data, and tokenized pre-training data publicly available on Hugging Face, the project enables reproducible and precise studies of memorization. This controlled environment allows researchers to isolate variables, test hypotheses, and settle disputes regarding memorization mechanisms and mitigation strategies that would otherwise remain "hand-wavy" arguments due to the opacity of proprietary models or the uncontrolled nature of naturally occurring memorization. The rapid adoption of Hubble by the community, with thousands of downloads and features in publications like Science and MIT Tech Review's DeepTech, underscores its value as a foundational research tool.

Technical Deep Dive

▶ Watch: Hubble as a benchmark for evaluating unlearning methods (6:50)

The Hubble project is built upon a robust technical foundation designed to systematically explore LLM memorization. At its core, it leverages Llama-based model architectures, specifically training models at two scales: 1 billion (1B) parameters and 8 billion (8B) parameters. These models were trained from scratch, ensuring that all memorization characteristics observed are a direct result of the controlled training process.

The training data employed a factorial design, utilizing two distinct scales: 100 billion tokens and 500 billion tokens. For each combination of model size and data scale, two versions of the model were trained: a standard model (trained on the regular pre-training corpus) and a perturbed model (where specific data was intentionally inserted and duplicated). This extensive training regime, totaling approximately 100 terabytes of data, was made possible through a grant from the NAIR pilot, which provided 200,000 A100 GPU hours from NVIDIA.

A critical aspect of Hubble is the perturbation data selection and insertion methodology. The team conducted a broad survey of deployment risks to identify relevant data types for intentional insertion. These fell into three main categories:

  1. Copyright Risk: Examples included Gutenberg old book passages (realistic text that could appear in pre-training data) and Wikipedia articles written after 2023 (unlikely to have appeared in the pre-training data due to cutoff dates).
  2. Privacy Risk: This involved biographical content and Personally Identifiable Information (PII). The transcript mentions synthetic biographies, such as "Dora Sloan is from the US born somewhere, a unique identifier," which were explicitly created to test PII memorization.
  3. Test Set Contamination: This involved examples from common benchmarks.

For each risk area, at least two data types were chosen: one consisting of "realistic text" that might plausibly appear in general web crawls, and another consisting of "unlikely text" to minimize the chances of accidental contamination in the standard corpus. These perturbation documents were inserted with varying frequencies, ranging from 1 to 256 times, and some were also randomly held out to serve as controls.

The perturbation insertion procedure was meticulously designed to ensure comparability between standard and perturbed models. Following the training procedure of models like Pythia, which shuffles and concatenates documents, the standard model was trained on a random sequence of 2048 tokens. For the perturbed model, each perturbation document was inserted next to an end-of-sequence tag. After insertion, the sequence would be slightly longer, so it was then truncated on both sides to maintain the consistent 2048-token length. This method treats the perturbation documents "as if they were regular documents in training," ensuring that both standard and perturbed models experience training data that is as similar as possible, with the only controlled variable being the presence and frequency of the inserted perturbations.

To facilitate this process, the team developed and utilized TokenSmith, a specialized code library. TokenSmith enabled the insertion of perturbations and the efficient handling of tokenized binary files without requiring the entire terabyte-scale dataset to be loaded into memory. This tool, along with all trained model checkpoints, the perturbation datasets, and the tokenized pre-training data, has been made publicly available on Hugging Face. This commitment to full open-source availability ensures that researchers can download, inspect, and reproduce the Hubble experiments, fostering transparency and accelerating research in LLM memorization.

Experimental Setup & Results

▶ Watch: Hubble's community adoption and impact in research (8:00)

The experimental design for Hubble adopted a factorial approach to systematically investigate the impact of model size, training data scale, and perturbation frequency on memorization.

  • Model Sizes: Experiments were conducted with 1 billion (1B) and 8 billion (8B) parameter Llama models.
  • Training Data Scales: Models were trained on two distinct pre-training corpora sizes: 100 billion tokens and 500 billion tokens.
  • Model Types: For each combination, both a standard model (trained on the original corpus) and a perturbed model (with intentional data insertions) were trained.

This comprehensive setup, along with additional runs, involved processing approximately 100 terabytes of data and utilized 200,000 A100 GPU hours from NVIDIA. All models, perturbation data, and the tokenized pre-training data are publicly available on Hugging Face, ensuring reproducibility.

The primary experimental focus was to quantify the memorization risk as a function of duplication count and data dilution. Memorization risk was typically plotted on the Y-axis against the amount of duplication on the X-axis for a particular data point.

Key results regarding the dilution effect:

  • Test Set Contamination (MMLU): Using the MMLU (Massive Multitask Language Understanding) benchmark, a 4-way classification accuracy task, the researchers observed significant effects. Standard models achieved approximately 25% accuracy for the 100 billion token model and around 50% accuracy for the 500 billion token model, indicating the baseline performance.
  • For perturbed models, as the duplication count of MMLU examples increased in the training data, the model's accuracy on the test set also rose, eventually saturating at 100%.
  • Crucially, a clear "dilution gap" was observed: the 500 billion token model (light green line) showed a slower increase in accuracy (i.e., memorization risk) compared to the 100 billion token model (dark green line) for the same number of duplicate insertions. This demonstrated that memorization risk increases slower when diluted over a larger training corpus.
  • Copyright Memorization: The study also examined copyright risk using Wikipedia articles based on laws. While specific quantitative results were not detailed in the presentation, it was stated that dilution effects were also observed here, indicating a generalizability of the phenomenon.
  • Privacy Memorization: For privacy, the research focused on the extractability of personal attributes using datasets like PopQA, MMLU, and custom synthetic biographies (e.g., "Dora Sloan is from the US born somewhere a unique identifier"). The results indicated that while dilution generally reduces the extractability risk, the challenge of precisely unlearning such sensitive information remains significant.

Results on Unlearning Methods:

Hubble was utilized as a benchmark for unlearning. The visualization presented depicted a "red cross" representing the perturbed model's performance, a "blue cross" for the standard model's performance, and a "yellow star" as the "oracle point" (the ideal performance where the model has unlearned specific items without affecting other capabilities).

  • For certain data types, such as Gutenberg passages, unlearning methods like SARTEMP performed "quite well," with unlearned checkpoints appearing close to the yellow star. This suggests that for some content, targeted unlearning is feasible.
  • However, for synthetic biographies with PII (e.g., from the Yago dataset), the results were starkly different. None of the unlearned checkpoints were close to the target model (yellow star). This indicated that current unlearning methods primarily "end up erasing distributional information" rather than precisely targeting specific data points, highlighting a critical limitation in their practical application for sensitive data.

Overall, the experimental results from Hubble provide strong empirical evidence for the dilution effect as a general principle in reducing memorization risk and underscore the current imprecision of unlearning techniques, particularly for complex and sensitive personal data.

Practical Implications

▶ Watch: Q&A: Discussing desirable vs. undesirable memorization (14:00)

The Hubble project offers several profound practical implications for various stakeholders involved in the development and deployment of Large Language Models.

For practitioners and model builders, the most significant takeaway is the empirical validation of dilution as a best practice. The findings strongly suggest that increasing the size and diversity of pre-training corpora is a robust strategy to mitigate memorization risks. When designing training datasets, actively working to dilute potentially sensitive or copyrighted content across a larger pool of data can significantly reduce the likelihood of verbatim regurgitation. This implies that simply adding more data, even if it contains some duplicates, can be beneficial, provided the overall corpus scale is large enough to spread out the impact of individual repetitions. Companies should therefore formally investigate and integrate dilution strategies into their data curation and pre-training pipelines.

For infrastructure teams and those responsible for LLM deployment, Hubble provides a clear understanding of the trade-offs and limitations associated with current mitigation techniques. The detailed experiments on unlearning highlight that while such methods exist, they are often not precise enough for real-world scenarios involving sensitive PII. This means that relying solely on post-training unlearning to address privacy breaches or copyright issues might be insufficient. Instead, a multi-pronged approach is necessary, emphasizing preventative measures like robust data filtering and aggressive dilution during pre-training. Furthermore, the open-source nature of Hubble's models and data offers a controlled environment for infra teams to test and benchmark their internal unlearning or data sanitization tools against known memorization patterns, allowing for more informed decisions about their efficacy.

For model deployers, the project underscores the persistent risk of memorization despite mitigation efforts. Even with dilution, if specific data points are sufficiently duplicated, memorization can still occur. The imprecision of unlearning means that once a model has memorized sensitive information, its complete and precise removal remains a formidable challenge. This necessitates robust post-deployment monitoring for memorized outputs and the implementation of guardrails to prevent the exposure of sensitive content. It also highlights the importance of transparency about the limitations of LLMs regarding memorization, managing user expectations, and potentially incorporating user-facing tools for reporting or flagging memorized content.

The work also serves as a crucial scientific benchmark for the broader research community. By providing models with controlled, known memorization patterns, Hubble enables precise measurement and comparison of novel algorithms for memorization detection, mitigation, and unlearning. This moves the field beyond "hand-wavy arguments" to empirically verifiable claims, accelerating progress in developing safer LLMs. The ability to control the frequency and type of inserted data allows researchers to isolate variables and conduct more rigorous studies than previously possible with conventionally trained models.

In terms of tradeoffs, the talk implicitly touches upon the tension between desirable and undesirable memorization. While the focus is on mitigating negative consequences (copyright, privacy), LLMs also need to "memorize" factual knowledge to be useful. The Hubble suite, by allowing researchers to control and study different types of memorization, can help in understanding this nuanced balance. Future work leveraging Hubble could investigate how to encourage beneficial memorization while suppressing harmful instances, pushing towards more aligned and controllable AI systems.

Key Takeaways

  • Hubble is a critical open-source infrastructure for LLM memorization research, offering 1B and 8B Llama models intentionally perturbed with diverse data types to enable controlled, empirical study.
  • Data dilution is a proven best practice to mitigate memorization risk, with larger pre-training corpora significantly slowing the increase of memorization risk for the same number of data point duplications.
  • Current unlearning methods lack precision, often erasing general distributional information rather than selectively removing specific memorized data points, especially for sensitive personal information.
  • Memorization risks are multifaceted, encompassing copyright infringement, privacy breaches (e.g., PII exposure), and test set contamination, all of which Hubble allows researchers to investigate directly.
  • The project emphasizes open science, making all models, perturbation data, tokenized pre-training data, and the TokenSmith code publicly available on Hugging Face for reproducibility and community-driven research.
  • Hubble provides a robust benchmark for evaluating mitigation strategies, allowing for precise measurement and comparison of memorization detection, prevention, and unlearning techniques, moving the field towards empirically-backed solutions.

About the Speaker(s)

The work on Hubble was a collaborative effort involving a large team of researchers primarily from USC (University of Southern California) and MPI (Max Planck Institute). Johnny Wei was the presenter for this talk and is one of the co-first authors, alongside Ameya Godbole and Mohammad Aflah Khan. The broader team also includes Ryan Wang, Xiaoyuan Zhu, James Flemings, Nitya Kashyap, Krishna Gummadi, Willie Neiswanger, and Robin Jia. While specific titles and affiliations beyond USC and MPI were not detailed in the transcript, their collective expertise spans the domain of Large Language Models, machine learning, and computational systems, contributing to the comprehensive study of LLM memorization and the development of this significant open-source resource.

Reviews

  • Chen Zhao (Applied ML Researcher & Empiricist) — MUST SEE ★★★★★

→ Top-rated talks at International Conference on Learning Representations 2026

All talks from International Conference on Learning Representations 2026