mlsanityData to 14 Oct 2026

Getting Your Indices in a Row: Full-Text Search for LLM Training Data for Real World

arXiv 2510.09471 ↗First posted 10 Oct 2025cs.CLcited by 0

On the map: LLM safety and security → Machine unlearning

Abstract (arXiv)

The performance of Large Language Models (LLMs) is determined by their training data. Despite the proliferation of open-weight LLMs, access to LLM training data has remained limited. Even for fully open LLMs, the scale of the data makes it all but inscrutable to the general scientific community, despite potentially containing critical data scraped from the internet. In this paper, we present the full-text indexing pipeline for the Apertus LLM training data. Leveraging Elasticsearch parallel indices and the Alps infrastructure, a state-of-the-art, highly energy-efficient arm64 supercluster, we were able to index 8.6T tokens out of 15.2T used to train the Apertus LLM family, creating both a critical LLM safety tool and effectively an offline, curated, open web search engine. Our contribution is threefold. First, we demonstrate that Elasticsearch can be successfully ported onto next-generation arm64-based infrastructure. Second, we demonstrate that full-text indexing at the scale of modern LLM training datasets and the entire open web is feasible and accessible. Finally, we demonstrate that such indices can be used to ensure previously inaccessible jailbreak-agnostic LLM safety. We hope that our findings will be useful to other teams attempting large-scale data indexing and facilitate the general transition towards greener computation.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Machine unlearning, one of 12 directions in LLM safety and security. Builds on 20 of its 52 references that are in the map. First posted on arXiv 10 Oct 2025.

Builds on

20 of 52 references.

References · 20

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
  4. 2018Deep contextualized word representationscited by 2,290
  5. 2020Extracting Training Data from Large Language Modelscited by 2,189
  6. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
  7. 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,429
  8. 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,255
  9. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
  10. 2021Documenting Large Webtext Corpora: A Case Study on the Colossal Clean Crawled Corpuscited by 492
  11. 2025SmolLM2: When Smol Goes Big -- Data-Centric Training of a Small Language Modelcited by 335
  12. 2023What's In My Big Data?cited by 129
8 more
  1. 2021What's in the Box? A Preliminary Analysis of Undesirable Content in the Common Crawl Corpuscited by 80
  2. 2020The Radicalization Risks of GPT-3 and Advanced Neural Language Modelscited by 76
  3. 2025Deep Ignorance: Filtering Pretraining Data Builds Tamper-Resistant Safeguards into Open-Weight LLMscited by 42
  4. 2025Enhancing Multilingual LLM Pretraining with Model-Based Data Selectioncited by 35
  5. 2023The ROOTS Search Tool: Data Transparency for LLMscited by 31
  6. 2020Covidex: Neural Ranking Models and Keyword Search Infrastructure for the COVID-19 Open Research Datasetcited by 15
  7. 2022Quote Erat Demonstrandum: A Web Interface for Exploring the Quotebank Corpuscited by 5
  8. 2025AI Generated Child Sexual Abuse Material -- What's the Harm?cited by 5

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Going over Fine Web with a Fine-Tooth Comb: Technical Report of Indexing Fine Web for Problematic Content Search and Retrieval
  2. 2024Enhancing Cloud-Based Large Language Model Processing with Elasticsearch and Transformer Models
  3. 2025EnrichIndex: Using LLMs to Enrich Retrieval Indices Offline
  4. 2024Language Ranker: A Metric for Quantifying LLM Performance Across High and Low-Resource Languages
  5. 2023The Web Can Be Your Oyster for Improving Large Language Models
  6. 2026Beyond a Single Extractor: Re-thinking HTML-to-Text Extraction for LLM Pretraining
  7. 2024DeepSeek LLM: Scaling Open-Source Language Models with Longtermism
  8. 2024Long Context RAG Performance of Large Language Models