TL;DR
The LLM360 initiative aims to combat the growing opacity in open-source Large Language Models (LLMs) by providing complete transparency. They release not just models, but all training code, data, intermediate checkpoints, and analyses, enabling unprecedented reproducibility and collaborative research. Their initial contribution includes two 7B parameter LLMs, AMBER and CRYSTAL, along with their full training artifacts.
What Problem Does This Paper Address?
The LLM landscape is rapidly evolving, with powerful open-source models becoming increasingly accessible. However, a concerning trend has emerged: many of these models only release partial artifacts, like final model weights or inference code, while omitting crucial details about their training process. This lack of transparency creates several problems:
- Hindered Research: It makes it difficult for researchers to replicate findings, study model behavior, or build upon existing work, forcing teams to rediscover many details from scratch.
- Limited Understanding: Without access to training data provenance, configurations, and intermediate checkpoints, it's challenging to understand model biases, identify failure modes, or investigate emergent abilities.
- Reproducibility Crisis: The inability to reproduce results undermines the scientific rigor of the field and slows down progress.
LLM360 directly addresses this by advocating for and implementing a fully transparent approach to LLM development and release.
Methods
The core of the LLM360 initiative is its commitment to comprehensive open-sourcing. This means releasing:
- All Training Code: Including frameworks, hyperparameters, and configurations.
- Pre-training Data: The exact datasets used, along with details on filtering, processing, and ordering.
- Intermediate Model Checkpoints: Crucial for studying training dynamics, reproducing issues, and enabling continued training from various stages.
- Optimizer States: (When applicable and available) for more complete reproducibility.
- Evaluation Metrics and Code: To facilitate independent verification and analysis.
As a practical demonstration, they introduce two 7B parameter LLMs, AMBER and CRYSTAL, trained from scratch using this methodology. They also detail their approach to model architecture, training infrastructure, and finetuning strategies.
Datasets
LLM360 prioritizes using publicly available datasets and makes its processed versions available. For their initial models, AMBER and CRYSTAL, they utilized:
- AMBER: A mixture of Refined-Web, StarCoder, RedPajama-v1, and C4, totaling 1.26 trillion tokens.
- CRYSTAL: A blend of SlimPajama and StarCoder data, totaling 1.38 trillion tokens, trained in a multi-stage curriculum.
They also mention using datasets like ShareGPT for finetuning AMBERCHAT and CRYSTALCHAT.
Key Insights and Ideas
- Transparency as a Foundation: The paper strongly argues that transparency is not just a nice-to-have but a fundamental requirement for the long-term health and progress of the LLM field.
- Intermediate Checkpoints are Gold: The availability of intermediate checkpoints is highlighted as a critical resource for research into training dynamics, emergent abilities, and reproducibility, saving immense computational cost.
- Data Quality and Mixing Matters: While AMBER followed LLaMA's data strategy closely, its performance lagged, suggesting that subtle differences in data preparation or mixing can have significant impacts. CRYSTAL, with its multi-stage curriculum, showed competitive results.
- The Value of Openness: By releasing all artifacts, LLM360 aims to democratize LLM research, allowing smaller labs and individuals to contribute and innovate without the prohibitive cost of training from scratch.
- Memorization is Pervasive: Their analysis of AMBER checkpoints reveals that LLMs memorize a significant portion of their training data, and this memorization increases as training progresses, raising privacy and performance concerns.
Key Results
- LLM360 Initiative Launched: The paper introduces the LLM360 framework and releases two 7B parameter LLMs, AMBER and CRYSTAL, along with their complete training artifacts.
- AMBER Performance: AMBER shows competitive performance with models released around the same time, particularly on MMLU, but lags slightly on ARC.
- CRYSTAL Performance: CRYSTAL demonstrates strong performance, especially on MMLU, and strikes a good balance between language and coding tasks, surpassing LLaMA2-7B on MMLU with less data.
- Finetuned Models: AMBERCHAT, AMBERSAFE, and CRYSTALCHAT are released, showing strong performance on instruction following and safety alignment (AMBERSAFE).
- Memorization Analysis: Their initial study on AMBER shows that over 1% of sequences are 32-extractable, and memorization increases with training, with a strong correlation between checkpoints.
Limitations and Future Work
- AMBER Training Issues: The authors acknowledge encountering NaN losses on a few data chunks and missing optimizer states during AMBER's pre-training, which may have impacted stability and performance. They also note potential issues with BF16 precision in early checkpoints.
- Model Performance: While competitive, AMBER's performance slightly lags behind some newer models.
- Future Work: The team plans to conduct more detailed analyses of their models, release larger LLMs, and explore optimal data mixing ratios. They are also committed to continually pushing the boundaries of LLMs through this open-source effort.
Summary updated