Apertus: Democratizing Open and Compliant LLMs for Global Language Environments

Alejandro Hernández-Cano, Alexander Hägele, Allen Hao Huang, Angelika Romanou, Antoni-Joan Solergibert i Llaquet, Barna Pásztor, Bettina Messmer, Dhia Garbaya, Eduard Frank Durech, Ido Hakimi, Juan García Giraldo, Mete Ismayilzada, Negar Foroutan, Skander Moalla, Tiancheng Chen, Vinko Sabolcec, Yixuan Xu, Michael Aerni, Badr AlKhamissi, Ines Altemir Marinas, Mohammad Hossein Amani, Matin Ansaripour, Ilia Badanin, Harold Benoit, Emanuela Boros, Nicholas Browning, Fabian Bösch, Maximilian Böther, Niklas Canova, Camille Challier, Clement Charmillot, Jonathan Coles, Jan Deriu, Arnout Devos, Lukas Drescher, Daniil Dzenhaliou, Maud Ehrmann, Dongyang Fan, Simin Fan, Silin Gao, Miguel Gila, María Grandury, Diba Hashemi, Alexander Hoyle, Jiaming Jiang, Mark Klein, Andrei Kucharavy, Anastasiia Kucherenko, Frederike Lübeck, Roman Machacek, Theofilos Manitaras, Andreas Marfurt, Kyle Matoba, Simon Matrenok, Henrique Mendonça, Fawzi Mohamed, Syrielle Montariol, Luca Mouchel, Sven Najem-Meyer, Jingwei Ni, Gennaro Oliva, Matteo Pagliardini, Elia Palme, Andrei Panferov, Léo Paoletti, Marco Passerini, Ivan Pavlov, Auguste Poiroux, Kaustubh Ponkshe, Nathan Ranchin, Javi Rando, Mathieu Sauser, Jakhongir Saydaliev, Muhammad Ali Sayfiddinov, Marian Schneider, Stefano Schuppli, Marco Scialanga, Andrei Semenov, Kumar Shridhar, Raghav Singhal, Anna Sotnikova, Alexander Sternfeld, Ayush Kumar Tarun, Paul Teiletche, Jannis Vamvas, Xiaozhe Yao, Hao Zhao Alexander Ilic, Ana Klimovic, Andreas Krause, Caglar Gulcehre, David Rosenthal, Elliott Ash, Florian Tramèr, Joost VandeVondele, Livio Veraldi, Martin Rajman, Thomas C. Schulthess, Torsten Hoefler, Antoine Bosselut, Martin Jaggi, Imanol Schlag · DOI

TL;DR

Apertus is a new suite of fully open-source Large Language Models (LLMs) that tackles critical issues in the current LLM landscape: data compliance and multilingualism. By training exclusively on openly available data with rigorous filtering and employing novel techniques like the Goldfish Loss, Apertus aims to provide transparent, ethical, and globally accessible LLMs.

What Problem Does This Paper Address?

The proliferation of powerful LLMs has been hampered by two key shortcomings in the open-source ecosystem:

  1. Data Compliance: Many "open-weight" models lack transparency regarding their training data, often failing to respect content owner rights (e.g., robots.txt exclusions) and potentially including copyrighted or personally identifiable information. This raises significant legal and ethical concerns, hindering broader adoption and development.
  2. Multilingual Representation: Existing open models often focus on a limited set of high-resource languages, leaving a significant gap in their applicability for global language environments. This limits their utility for a vast portion of the world's population.

Apertus aims to democratize LLMs by addressing these limitations, setting new standards for data compliance and massively expanding multilingual coverage.

Methods

Apertus employs several innovative techniques and architectural choices:

  • Data Compliance:
    • Retroactive robots.txt Filtering: The models are trained exclusively on openly available data, with a strict policy of retroactively respecting robots.txt exclusions from January 2025. This means data from websites that have opted out of AI crawling is removed, even if collected previously.
  • PII and Toxicity Filtering: Rigorous filtering is applied to remove personally identifiable information (PII) and toxic content.
  • Permissive Licensing: All released artifacts, including code, data preparation scripts, and checkpoints, are under permissive licenses to ensure transparency and facilitate extension.
  • Memorization Prevention:
    • Goldfish Loss: Instead of standard cross-entropy loss, Apertus uses the Goldfish Loss, a technique that selectively masks tokens during pretraining. This method is designed to suppress verbatim recall of training data while preserving downstream task performance.
  • Multilingualism:
    • Massive Language Coverage: The models are trained on 15 trillion tokens from over 1800 languages, with approximately 40% of the pretraining data dedicated to non-English content.
  • Extended Post-Training Data: Post-training data also includes a significant multilingual component, covering 149 languages.
  • Architecture:
    • Dense Decoder-Only Transformer: Apertus models are based on a dense decoder-only Transformer architecture, similar to Llama.
  • xIELU Activation Function: A novel xIELU activation function is used to improve efficiency.
  • QK-Norms and RMSNorm: These techniques are employed for improved training stability and efficiency.
  • Group-Query Attention (GQA): Used for inference efficiency.
  • Long Context Extension: Models are trained with an extended context length of up to 65,536 tokens.

Datasets

  • Pretraining Datasets:
    • FineWeb-2: A large multilingual web-crawl dataset covering 1811 languages.
  • FineWeb-2-HQ: A quality-filtered subset of FineWeb-2 for 20 high-resource languages.
  • FineWeb-Edu: A dataset filtered for educational content.
  • DCLM-Edu: Educational classifier applied to DCLM dataset.
  • StarCoderData & StarCoder Edu: Code datasets for mathematical, coding, and task-solving abilities.
  • FineMath: Mathematical data filtered for educational content.
  • MegaMath: Open math pretraining dataset.
  • EuroParl & Paradocs: Sentence-level parallel data for translation.
  • Clean Wikipedia: Multilingual Wikipedia corpus.
  • Project Gutenberg: Permissively licensed texts for memorization analysis.
  • FM-Probes: Synthetic Gutenberg sequences for memorization studies.
  • Synthetic Data Poisoning: Synthetically generated examples for data poisoning research.
  • Romansh Data: A Romansh corpus covering various dialects and sources.
  • Post-training Datasets: A curated mixture of instruction-following datasets, including:
  • OLMO2, Tulu3, WildChat, SciRiff, TableGPT, CoCoNot, OASST1: Foundation instruction data.
  • Llama-Nemotron Math, OpenMath GSM8K, Llama-Nemotron Chat/Safety: Mathematical and reasoning data.
  • Llama-Nemotron Code, Glaive Function Calling, XLam Function Calling, APIGen: Code and technical data.
  • SmolTalk2, EuroBlocks, s1k_42_langs: Multilingual and cultural data.
  • Tome dataset: Structured knowledge data.
  • Swiss AI Charter: Constitutional alignment examples.
  • Romansh Wikipedia Q&A: Low-resource language data.
  • New Benchmarks: The paper introduces SwitzerlandQA, a novel benchmark specifically tailored to Switzerland's context, covering geography, history, social life, political life, and insurance. It aims to evaluate LLMs on their understanding of Swiss naturalization exams and civic education materials.

Key Insights and Ideas

  • Data Compliance is Achievable and Necessary: Apertus demonstrates that it's possible to build powerful LLMs while rigorously adhering to data compliance principles, including retroactive robots.txt filtering. This sets a crucial precedent for ethical LLM development.
  • Goldfish Loss Effectively Mitigates Memorization: The Goldfish Loss, applied during pretraining, significantly reduces verbatim recall of training data without substantially impacting downstream performance. This is a key step towards building safer and more trustworthy LLMs.
  • Massive Multilingualism is Within Reach: By training on 15T tokens from over 1800 languages, Apertus pushes the boundaries of multilingual LLM capabilities, making them more accessible and useful globally.
  • Transparency is Paramount: The commitment to releasing all artifacts under permissive licenses fosters trust and enables community-driven auditing, extension, and improvement.
  • Trade-offs Between Safety and Utility Exist: The paper acknowledges the inherent tension between ensuring model harmlessness and maintaining its utility. Apertus aims for a balance, recognizing that overly strict safety measures can render models less useful.

Key Results

  • State-of-the-Art Performance: Apertus models (8B and 70B scales) achieve state-of-the-art results among fully open models on multilingual benchmarks, rivaling or surpassing open-weight counterparts.
  • Improved Training Efficiency: The AdEMAMix optimizer and WSD learning rate schedule contribute to more efficient training.
  • Robustness to Memorization: Goldfish Loss effectively suppresses verbatim recall, with Rouge-L scores remaining at baseline levels across various exposure frequencies and prefix lengths.
  • Strong Multilingual Capabilities: Apertus shows consistently strong multilingual capabilities across Global, EU, and Swiss evaluation macros.
  • Data Compliance Impact: While license filtering and decontamination can lead to a slight drop in performance on some benchmarks, they are deemed necessary for responsible model development.

Limitations and Future Work

  • Limitations:
    • Language Coverage: While Apertus supports over 1800 languages, performance may still vary, particularly for low-resource languages.
  • Safety Trade-offs: The paper acknowledges the inherent trade-off between safety and utility, and that overly strict safety measures can impede model usefulness.
  • Jailbreak Resilience: Jailbreak resilience is considered out-of-scope for the initial deployment, relying on production-level guardrails.
  • Deterministic Hashing Fragility: Goldfish Loss's deterministic hashing can be fragile to near-duplicates in training data.
  • Potential for Improvement: The authors note that further work is needed to improve performance in math, coding, and reasoning tasks, and to enhance the robustness of safety measures.
  • Future Work:
    • Scaling: Train larger models and longer-context variants while maintaining compliance and transparency.
  • Distillation: Distill the 70B model into smaller students for constrained settings without compromising multilingual and safety properties.
  • Data-to-Performance Mapping: Systematically study how specific data slices and governance choices affect capabilities, fairness, and memorization.
  • Reasoning with Adaptive Compute: Explore test-time variable computation for more efficient reasoning.
  • RL with Verifiers: Develop RLVR pipelines that combine preference optimization with explicit verifiers.
  • Multimodality: Extend the stack to visual, sonic, and other data modalities.
  • Societal Alignment: Incorporate diverse Swiss and multilingual preferences to inform alignment objectives.
  • Field Evaluation: Conduct structured studies with domain professionals and the public to assess real-world impact.

Summary updated

BibTeX
@misc{hernandezcano2025apertus,
  author = {Alejandro Hernández-Cano and Alexander Hägele and Allen Hao Huang and Angelika Romanou and Antoni-Joan Solergibert i Llaquet and Barna Pásztor and Bettina Messmer and Dhia Garbaya and Eduard Frank Durech and Ido Hakimi and Juan García Giraldo and Mete Ismayilzada and Negar Foroutan and Skander Moalla and Tiancheng Chen and Vinko Sabolcec and Yixuan Xu and Michael Aerni and Badr AlKhamissi and Ines Altemir Marinas and Mohammad Hossein Amani and Matin Ansaripour and Ilia Badanin and Harold Benoit and Emanuela Boros and Nicholas Browning and Fabian Bösch and Maximilian Böther and Niklas Canova and Camille Challier and Clement Charmillot and Jonathan Coles and Jan Deriu and Arnout Devos and Lukas Drescher and Daniil Dzenhaliou and Maud Ehrmann and Dongyang Fan and Simin Fan and Silin Gao and Miguel Gila and María Grandury and Diba Hashemi and Alexander Hoyle and Jiaming Jiang and Mark Klein and Andrei Kucharavy and Anastasiia Kucherenko and Frederike Lübeck and Roman Machacek and Theofilos Manitaras and Andreas Marfurt and Kyle Matoba and Simon Matrenok and Henrique Mendonça and Fawzi Mohamed and Syrielle Montariol and Luca Mouchel and Sven Najem-Meyer and Jingwei Ni and Gennaro Oliva and Matteo Pagliardini and Elia Palme and Andrei Panferov and Léo Paoletti and Marco Passerini and Ivan Pavlov and Auguste Poiroux and Kaustubh Ponkshe and Nathan Ranchin and Javi Rando and Mathieu Sauser and Jakhongir Saydaliev and Muhammad Ali Sayfiddinov and Marian Schneider and Stefano Schuppli and Marco Scialanga and Andrei Semenov and Kumar Shridhar and Raghav Singhal and Anna Sotnikova and Alexander Sternfeld and Ayush Kumar Tarun and Paul Teiletche and Jannis Vamvas and Xiaozhe Yao and Hao Zhao Alexander Ilic and Ana Klimovic and Andreas Krause and Caglar Gulcehre and David Rosenthal and Elliott Ash and Florian Tramèr and Joost VandeVondele and Livio Veraldi and Martin Rajman and Thomas C. Schulthess and Torsten Hoefler and Antoine Bosselut and Martin Jaggi and Imanol Schlag},
  title = {{Apertus: Democratizing Open and Compliant LLMs for Global Language Environments}},
  year = {2025},
  eprint = {2509.14233},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.14233},
}
Figure