Pretraining Next-Generation Multimodal LLMs: Data, Scaling Laws, and Training Design
This article examines how pretraining for next-generation multimodal large models has moved from brute-force compute and data scaling to coordinated optimization of data quality, model architecture, and training strategy. It covers text and vision corpus engineering, including filtering, sampling, rephrasing, coordinate supervision, and programmatic multimodal data; explains why scaling laws must be recalibrated for new model families; and discusses native multimodal joint training, optimizer and hyperparameter choices, and practical lessons for long-cycle large-scale training.
Pretraining Next-Generation Multimodal LLMs: Data, Scaling Laws, and Training Design
As the capability frontier of large models continues to expand, pretraining design has evolved from a coarse “more compute, more data” approach into a fine-grained engineering discipline that jointly optimizes data quality, model architecture, and training strategy. Based on current frontier practices in multimodal large-model training, this article breaks down three key areas: pretraining data construction, scaling-law research, and training scheme design. The goal is to help developers understand the methodology behind an efficient pretraining system.
1. Pretraining Data: Corpus Engineering Balancing Quality and Diversity
Data is the foundation of pretraining. The corpora for next-generation multimodal models typically span four major text domains—web text, code, math, and knowledge—and are paired with large-scale visual corpora, forming a text-plus-vision, dual-driven data landscape.
1.1 Text Data Filtering and Sampling
Text data quality control generally uses a three-layer combined strategy:
- Rule-based heuristic filtering: Character-level and sentence-level rules remove garbled text, templated content, advertising text, and low-information-density pages. Thresholds such as punctuation ratio, repeated n-gram ratio, and average sentence length can be set for initial screening.
- Classifier-based quality scoring: A dedicated quality discriminator is trained to score documents at a fine-grained level and retain high-scoring samples. Compared with purely rule-based methods, classifiers can capture semantic “quality signals,” such as logical coherence and information value.
- Deduplication: Near-duplicate deduplication is performed at both document and paragraph levels, for example with MinHash or SimHash, to avoid overfitting to repeated content and improve training efficiency.
The sampling ratios across domains are not decided by experience alone. They are determined through ablation experiments on smaller models: under a fixed compute budget, different domain mixing ratios are adjusted and downstream validation performance is observed to find the optimal mix. This “small models scout, large models reuse” approach can significantly reduce trial-and-error cost.
1.2 Data Rephrasing: Increasing the Value of Knowledge and Math Corpora
For high-value knowledge and math corpora, a mature industry practice is controlled rephrasing. The core workflow includes:
- Using prompts with diverse styles and perspectives to guide a model to re-express original documents.
- Using chunk-by-chunk autoregressive generation to maintain context consistency when rewriting long documents.
- Performing faithfulness verification against the source documents and filtering out factual errors introduced during rewriting.
The value of rephrasing is twofold: it breaks the single expressive style of original text and strengthens the model’s generalized understanding of the same knowledge; it also effectively expands the supply of high-quality tokens and alleviates the scarcity of high-quality data. It is important to emphasize that faithfulness verification cannot be omitted—unverified rewritten data may introduce noise or even hallucination, which would outweigh the benefits.
1.3 Organizing Visual Corpora and Coordinate Supervision
Visual corpora typically cover image captions, interleaved image-text documents, OCR, visual perception, video, and visual programming. They are integrated through a unified taxonomy with open-source datasets and internal filtering, synthesis, and deduplication pipelines.
Two engineering details are worth highlighting:
- Dual-format coordinate supervision: During training, supervision signals are provided in both absolute coordinates and normalized coordinates in the [0,1] range. Absolute coordinates ensure localization precision, while normalized coordinates make the model robust to input resolution. Together, they enable precise and resolution-stable visual grounding.
- Programmatic multimodal data expansion: Beyond traditional image-text pairs, “code—rendered result” paired data is introduced at scale, coupling code snippets with their visual renderings in specific formats and covering areas such as vector graphics, 3D assets, web interfaces, game scenes, and engineering drawings. These data have natural advantages: precise supervision signals, unlimited programmatic generation, and the ability to significantly improve visual generation and spatial understanding.
2. Scaling Laws: Recalibrating for a New Model Family
Every improvement in architecture, data, and training methods changes the optimal training configuration. Therefore, when a model family is upgraded as a whole, scaling-law research must be conducted again rather than reusing hyperparameter experience from the previous generation.
2.1 Key Hyperparameters That Need Retuning
Scaling-law research usually focuses on four core variables:
| Hyperparameter | Impact |
|---|---|
| Batch size | Determines gradient estimation quality and training throughput |
| Learning rate | Affects convergence speed and the final loss floor |
| Token-to-parameter ratio (TPP) | Determines how compute is allocated between model size and data volume |
| Model shape (width/depth/expert configuration) | Affects representation efficiency and training stability |
2.2 Research Method
The approach is to run systematic grid or interpolation experiments on a series of small proxy models, fit power-law curves of loss as functions of compute, parameter count, and data volume, and then extrapolate the conclusions to the target scale. Evaluation must use held-out out-of-distribution (OOD) validation data to avoid underestimating true generalization based on in-training loss.
Related practice shows that when architecture improvements, data quality gains, and training scheme optimization work together, overall scaling efficiency—the capability gain per unit of compute—can be several times higher than that of the previous generation. This confirms an important point: scaling laws are not static rules but curves that move with the technology stack—they should be recalibrated with every technology iteration.
3. Training Scheme: Native Multimodal Joint Optimization
3.1 From “Post-hoc Attachment” to “Native Joint Training”
Traditional multimodal models often use a two-stage route: first train a text-only language model, then attach a vision encoder through a post-hoc alignment stage. This approach has a representation fragmentation problem—vision and language learn in separate spaces, limiting cross-modal understanding.
The new generation of schemes adopts a native multimodal training strategy: from the first pretraining step, vision and text tokens are jointly optimized under a unified next-token prediction (NTP) objective. A shared backbone learns unified multimodal representations from scratch, making cross-modal alignment an intrinsic training result rather than a post-hoc patch. This paradigm imposes higher engineering requirements—data mixing, tokenization pipelines, and memory scheduling all need to support both modalities simultaneously—but the capability gains are substantial.
3.2 Optimizer and Training Hyperparameter Configuration
At the optimization level, a frontier industry combination includes:
- Per-head second-order optimizer: Compared with traditional first-order optimizers, matrix-orthogonalization-based second-order methods provide finer update directions for different attention heads and show better convergence efficiency in large-scale training.
- Weight clipping: Suppresses uncontrolled growth of weight magnitudes late in training and ensures numerical stability over long training cycles.
- Load balancing strategy: For Mixture-of-Experts (MoE) architectures, auxiliary-loss-free bias adjustment is used to balance expert load, avoiding interference with the main task from traditional auxiliary losses.
- Learning-rate schedule: Cosine decay is used, with about 1% linear warmup in the early stage, and weight decay is fixed at 0.1 throughout.
For training length, the process typically starts with an 8k-token context window and gradually extends long-context capability in later stages. This “short first, long later” curriculum arrangement ensures training efficiency while progressively endowing the model with long-sequence processing capability, avoiding high compute waste early in long-context training.
4. Practical Lessons for Engineering Deployment
From the above schemes, several general recommendations can be distilled for large-model training teams:
- Let ablation experiments determine data mix, rather than relying on intuition; small-model scouting is an effective way to control trial-and-error cost.
- High-quality rephrased data is an important supplement to premium corpora, but it must be backed by faithfulness verification.
- Every technology-stack upgrade requires redoing scaling laws—optimal hyperparameters shift as architecture and data change.
- Native multimodal training is the trend; unifying modality representations early is better than aligning them afterward.
- Training-stability mechanisms (weight clipping, load balancing, warmup scheduling) are lifelines for long-cycle training, and their importance is no less than that of architecture innovation.
At the infrastructure layer, such large-scale training tasks impose high requirements on compute scheduling, distributed storage, and monitoring/alerting systems. General cloud capabilities such as elastic compute, object storage, and container platforms can help teams build a complete pipeline from data management to distributed training, allowing engineering efforts to focus on algorithms and data.
Conclusion
Pretraining is a systems engineering problem: data quality determines the upper bound of model capability, scaling laws determine the efficiency of resource allocation, and the training scheme determines whether capability can be reliably elicited. The three are interlocked, and weakness in any one link amplifies into capability defects in the final model. This breakdown aims to provide teams working on large-model R&D with a reference methodology map and help them avoid detours when building or reproducing advanced models.
