[論文レビュー] DeepSeek LLM: Scaling Open-Source Language Models with Longtermism
この論文は、規模法則に導かれたオープンソースLMMである DeepSeek LLM を、7B および 67B パラメータのモデルとして提示し、2兆トークンの事前学習コーパス、SFT および DPO アラインメントを用い、評価結果として DeepSeek LLM 67B が LLaMA-2 70B を上回り、DeepSeek Chat が GPT-3.5 をオープンエンドのタスクで上回ることを示します。
The rapid development of open-source large language models (LLMs) has been truly remarkable. However, the scaling law described in previous literature presents varying conclusions, which casts a dark cloud over scaling LLMs. We delve into the study of scaling laws and present our distinctive findings that facilitate scaling of large scale models in two commonly used open-source configurations, 7B and 67B. Guided by the scaling laws, we introduce DeepSeek LLM, a project dedicated to advancing open-source language models with a long-term perspective. To support the pre-training phase, we have developed a dataset that currently consists of 2 trillion tokens and is continuously expanding. We further conduct supervised fine-tuning (SFT) and Direct Preference Optimization (DPO) on DeepSeek LLM Base models, resulting in the creation of DeepSeek Chat models. Our evaluation results demonstrate that DeepSeek LLM 67B surpasses LLaMA-2 70B on various benchmarks, particularly in the domains of code, mathematics, and reasoning. Furthermore, open-ended evaluations reveal that DeepSeek LLM 67B Chat exhibits superior performance compared to GPT-3.5.
研究の動機と目的
- Investigate scaling laws for open-source LLMs under 7B and 67B configurations.
- Build DeepSeek LLM with a long-term scalability focus using a large, diverse pretraining dataset.
- Evaluate base and chat models against public benchmarks and open-ended tasks.
- Explore alignment via SFT and DPO to improve helpfulness and harmlessness while ensuring safety.
- Analyze data quality impact on scaling and model/data allocation strategies.
提案手法
- Pre-train 7B and 67B models following an architecture similar to LLaMA, with a multi-step learning rate scheduler and specific hyperparameters.
- Assemble a 2 trillion-token multilingual dataset with aggressive deduplication, filtering, and remixing.
- Apply SFT with 1.2M instruction/data instances and use DPO to refine conversational alignment.
- Develop DeepSeek Chat models via SFT followed by DPO to improve open-ended generation.
- Employ scaling-law analyses to determine optimal model/data allocation using the IsoFLOP approach and a new M-based model scale metric (non-embedding FLOPs/token).
- Evaluate using public benchmarks (MMLU, C-Eval, CMMLU, GSM8K, HumanEval, MBPP, BBH, etc.) and Chinese/English open-ended tasks; assess safety.
実験結果
リサーチクエスチョン
- RQ1What are the scaling laws for hyperparameters (batch size, learning rate) across compute budgets for open-source LLMs?
- RQ2How should model and data scales be allocated under a compute budget to optimize generalization?
- RQ3How does data quality affect optimal model/data scaling and predictive performance?
- RQ4Can open-source 7B and 67B models surpass established baselines (e.g., LLaMA-2 70B) in code, math, and reasoning tasks?
- RQ5Does alignment via SFT and DPO improve open-ended generation and safety across languages (Chinese/English)?
主な発見
- DeepSeek LLM 67B surpasses LLaMA-2 70B on a range of benchmarks, especially in code, mathematics, and reasoning.
- DeepSeek LLM 67B Chat outperforms GPT-3.5 in Chinese and English open-ended evaluations.
- The dataset consists of 2 trillion tokens and is incrementally expanded.
- SFT and DPO improve conversational performance and reduce repetition in open-ended generation.
- Alignment shows DeepSeek Chat achieves harmless responses in practice.
- Hyperparameter scaling laws for batch size and learning rate were modeled as functions of compute budget.
この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。