Manuscript Offprint

arXiv:2610.33451

A Comprehensive Framework for All Stages of Large-Model Training: From Data and Tokenization, through Pretraining, to Post-Training Alignment

Xiangjing An, Zhibin Jiao, Aiting Chen

Abstract

The capabilities of large language models (LLMs) and multimodal large language models (MLLMs) arise from the synergy of the entire pipeline—"data and tokenization → pretraining → post-training (SFT → preference alignment / reinforcement learning → continual optimization)"—rather than from the contribution of any single stage. However, existing surveys mostly adopt a single-stage or single-technique-family perspective: data selection [392], pretraining data construction [393], discrete tokenization [394], post-training [395], RL post-training [396][399], preference optimization [397][398], and multimodality [402][403][404][405] each form their own systems, lacking a unified stage division and a horizontally comparable basis. This paper proposes a unified stage division and a six-dimensional analytical framework (data, objective function, optimization strategy, system constraints, evaluation, and risk and governance), and on this basis systematically reviews 395 core references, covering 2017–2026 (with a few foundational earlier works), and presents a conceptual map of cross-stage effects—the forward constraint that pretraining imposes on post-training and the reverse empowerment that post-training exerts on data / pretraining. We find the following: first, the comparability of scaling laws (Kaplan [119] and Chinchilla [16]) depends on data quality and data mixture, a long-neglected variable; second, preference alignment (RLHF [15], DPO [32]) and reasoning RL (verifiable reward) are redefining the boundaries of "post-training," but the debate between Pass@1 and Pass@K has yet to yield a systematic conclusion; third, multimodal training poses structural challenges to the pure-text paradigm in terms of tokenizer, objective, and evaluation. The full text provides a cross-stage effects diagram, a method-family map, a practical decision tree, and ≥10 verifiable open problems, and reserves for each stage an extensible skeleton for focused surveys (sub-surveys). As of the retrieval date, peer-reviewed evidence (A+B) accounts for about 79% of the 395 references.

Keywords: large language model; pretraining; post-training; supervised fine-tuning; preference alignment; reinforcement learning; tokenization; multimodality; scaling law; evidence grading

Contents

1 Introduction 6
1.1 Motivation: Why a "General Framework for All Stages" Is Needed 6
1.2 Differences from Existing Surveys 6

*Emails: Zhibin Jiao (jzb1631@163.com), Aiting Chen (ChengAiTiny@163.com).

1.3 List of Contributions ..... 7
1.4 Scope, Audience, and Structure ..... 7
1.5 Methodology and Evidence Conventions ..... 8
1.6 Reading Guide ..... 8

2 Glossary and Overview of Training Stages ..... 9
2.1 Glossary ..... 9
2.2 Overall Map of the Training Pipeline ..... 10
2.3 The Semantic Ambiguity of "Post-Training" and the Convention Adopted Here ..... 11
2.4 Overview of Training Stages (Six-Dimension × Stage Matrix) ..... 11
2.5 Checklist of Common Terminological Ambiguities ..... 11
2.6 Quick-Reference Table for Terms and Evidence Grading ..... 12

3 Background and Formalization ..... 13
3.1 Formalization of Language Modeling and Multimodal Modeling ..... 13
3.2 Formal Segmentation of Training Stages and Notation System ..... 13
3.3 Families of Evaluation Metrics and Dataset Classification ..... 14
3.4 Notation for Compute and Cost ..... 15
3.5 Formalization Assumptions and Limitations ..... 16

4 Taxonomy ..... 17
4.1 Overview: Stage × Six Dimensions × Modality/Architecture ..... 17
4.2 Definition of Taxonomy Dimensions and Notes on Orthogonality ..... 17
4.3 Usage Notes: How to Compare Across Works ..... 18
4.4 Relationship to Existing Taxonomy Frameworks ..... 18
4.5 Usage Boundaries and Common Misuses ..... 18
4.6 From Taxonomy to Method-Family Map (Figure 3) ..... 19

5 Data and Tokenization ..... 19
5.1 Definition and Boundaries ..... 19
5.2 Inputs and Outputs, Core Problems ..... 21
5.3 Classification of Method Families ..... 22
5.4 Subword Tokenization Details ..... 24
5.5 Vocabulary Design, Multilingual Fairness, and Dialogue/Tool Tokens ..... 25
5.6 Multimodal Tokenizer ..... 26
5.7 Representative-Work Table ..... 27
5.8 Key Controversies: Tokenizer Neutrality, Data-Quality Transferability, and Synthetic Bootstrapping ..... 28
5.9 Practical Recommendations ..... 29
5.10 Cross-Stage Connections and Open Problems ..... 30

6 Pretraining ..... 30
6.1 Definition and Boundaries ..... 31
6.2 Objective-Function Families ..... 31
6.3 Architecture: decoder-only, encoder-decoder, and MoE ..... 32
6.4 Scaling Laws: The Kaplan vs. Chinchilla Controversy and Reconciliation ..... 33
6.5 Optimization and Stability ..... 34
6.6 Distribution and Systems ..... 35
6.7 Long-Context Training and Length Extrapolation ..... 36
6.8 Multimodal Pretraining ..... 38
6.9 Representative Works Table ..... 38
6.10 Key Controversies ..... 39

6.11 Practical Recommendations ..... 40
6.12 Cross-Stage Connections and Open Problems ..... 40
7 Post-Training: SFT ..... 41
7.1 Definition and Boundaries ..... 41
7.2 Instruction Data Construction ..... 42
7.3 Data Quality, Scale, and Mixture ..... 43
7.4 Training Details: Loss Masking, Packing, and Hyperparameters ..... 44
7.5 Full-Parameter Fine-Tuning vs Parameter-Efficient Fine-Tuning ..... 45
7.6 Multimodal Instruction Fine-Tuning ..... 46
7.7 Catastrophic Forgetting and Knowledge Retention ..... 47
7.8 Representative Works Table ..... 48
7.9 Key Controversies ..... 48
7.10 Practical Recommendations and Cross-Stage Connections ..... 49
8 Preference Alignment / RL ..... 50
8.1 Definition and Boundaries ..... 51
8.2 Reward Modeling ..... 51
8.3 Human and AI Feedback ..... 53
8.4 RL Algorithms and Verifiable Rewards ..... 54
8.5 RL-Free Preference Optimization ..... 55
8.6 Tool Use and Multimodal RL ..... 56
8.7 Safety Alignment and Red-Teaming ..... 57
8.8 Key Controversy: Does RL Extend the Reasoning Boundary ..... 58
8.9 Representative Work Table ..... 59
8.10 Practical Recommendations and Cross-Stage Connections ..... 59
9 Continual Optimization ..... 60
9.1 Definition and Scope ..... 61
9.2 Continued Pretraining and Domain Adaptation ..... 61
9.3 Long-Context Extension ..... 63
9.4 Model Merging ..... 63
9.5 Pruning ..... 64
9.6 Distillation ..... 65
9.7 Quantization and Quantization-Aware Training ..... 66
9.8 Model Editing and Machine Unlearning ..... 67
9.9 Continual Learning and Pre-Deployment Optimization for Multimodal Models ..... 68
9.10 Representative Work Table, Controversies, and Practice ..... 68
10 Multimodal Training: A Cross-Cutting View ..... 70
10.1 Architectural Paradigms ..... 71
10.2 Essential Differences from Pure Text ..... 72
10.3 Data: Image-Text Pairs, Interleaved Documents, and Video ..... 72
10.4 Tokenizer and Visual Representation ..... 73
10.5 Pretraining and the Current State of the "Scaling Law" ..... 74
10.6 Instruction Tuning and Alignment ..... 75
10.7 Hallucination: Definition, Measurement, and Mitigation ..... 76
10.8 Grounding, OCR, and Dense Perception ..... 77
10.9 Video, Embodiment, and Any-to-Any ..... 77
10.10 Efficient Multimodality ..... 78
10.11 Representative Works Table ..... 78
10.12 Key Controversies, Recommendations, and Open Problems ..... 79

11 Cross-Stage Comparison 80
11.1 Pretraining vs Post-Training 81
11.2 Text vs Multimodal 82
11.3 LLM vs MLLM 82
11.4 SFT vs Preference Optimization vs RL Depth 83
11.5 Data vs Compute vs Objective 84
11.6 Comparison of "Marginal Returns" Across Stages 84
11.7 Cross-Stage Failure Modes 85
11.8 Continual Optimization vs Retraining 85
11.9 Representative Comparison Table 86
11.10 Cross-Stage Joint Decision-Making 87
11.11 Data Quality vs Data Scale 87
11.12 Perception vs Cognition vs Reasoning 88
11.13 Offline vs Online 88
11.14 General vs Specialized 89
11.15 Reproducibility vs Non-Reproducibility 89
11.16 Open Source vs Closed Source 89
11.17 Evidence Map and Open Problems 90

12 Datasets and Evaluation 91
12.1 Definitions and Scope 91
12.2 Lineage of Training Datasets 92
12.3 Data Governance and Documentation Standards 93
12.4 Layering of Evaluation Benchmarks 94
12.5 Metrics and Protocols 95
12.6 Contamination, Leakage, and Reproducibility 96
12.7 Fairness, Bias, and Safety Evaluation 97
12.8 Reproducibility and Reporting Standards 98
12.9 Representative Works Table 99
12.10 Key Controversies 99
12.11 Practical Checklist and Open Problems 100

13 Practical Guide 101
13.1 The Decision Tree (Verbalized Form of Figure 4) 101
13.2 Budget Estimation Framework 103
13.3 Failure-Mode Checklist 104
13.4 Configuration Recommendations 105
13.5 Stage 0: Requirements and Constraints Checklist 105
13.6 Data Pipeline Checklist 106
13.7 Pretraining and Scale-Decision Checklist 106
13.8 Post-Training Checklist (SFT/Preference/RL) 107
13.9 Pre-Deployment Checks and Continual Optimization 108
13.10 Evaluation and Release Checklist 109
13.11 Timeline and Milestones 109
13.12 Example Configurations (Three Tiers for Inspiration Only) 110
13.13 Tool and Open-Source Stack Pointers 110
13.14 Team and Collaboration 111
13.15 Closing with the Whole Survey 111

14 Challenges and Open Problems 112
14.1 Technical Challenges 112
14.2 Data Challenges 113
14.3 Compute and Engineering Challenges 113
14.4 Ethics, Safety, and Governance Challenges 113
14.5 The Common Root of the Four-Line Challenges 114
14.6 List of Open Problems 114

15 Future Directions 115

16 Conclusion 116

Appendix A: Literature Matrix (Full) 117

Appendix B: Hyperparameter Comparison Table (Template + Verified Examples) 117

Appendix C: Compute Comparison Table (Template + Verified Examples) 118

Appendix D: Reproducibility Checklist 118
D.8 Evaluation Stack and the "Baseline Gate-Rollback Switch" (Chapter 13) 119
D.9 Five-Section Template for Release Reports (Sections 12.11, 13.10) 119

Appendix E: Retrieval Log and Evidence Statistics 119
E.1 Chapter-Level Evidence Map (Pilot Chapters; a Summary of the "Evidence-Distribution Notes" in Each Main-Text Chapter) 119

Appendix F: Sub-Survey Expansion Outline 120
F.8 Updatable Data Coordinates (Sections 11.17, 12.11) 121

References (100)

Couldn't load all references. Reload the page to try again.