Papers › Masked Structural Growth for 2x Faster Language Model Pre-training

Masked Structural Growth for 2x Faster Language Model Pre-training

4 May 2023arXiv:2305.02869archive 2025-07-28

Yiqun Yao, Zheng Zhang, Jing Li, Yequan Wang

Accelerating large language model pre-training is a critical issue in present research. In this paper, we focus on speeding up pre-training by progressively growing from a small Transformer structure to a large one. There are two main research problems associated with progressive growth: determining the optimal growth schedule, and designing efficient growth operators. In terms of growth schedule, the impact of each single dimension on a schedule's efficiency is under-explored by existing work. Regarding the growth operators, existing methods rely on the initialization of new weights to inherit knowledge, and achieve only non-strict function preservation, limiting further improvements on training dynamics. To address these issues, we propose Masked Structural Growth (MSG), including (i) growth schedules involving all possible dimensions and (ii) strictly function-preserving growth operators that is independent of the initialization of new weights. Experiments show that MSG is significantly faster than related work: we achieve up to 2.2x speedup in pre-training different types of language models while maintaining comparable or better downstream performances. Code is publicly available at https://github.com/cofe-ai/MSG.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2305.02869")

Code

Syntology Ran 16 of 34 code samples harvested from 1 repository linked to this paper; 18 have no recorded run. Of those that ran: 5 ran · our draft was wrong; 1 ran · fixture could not drive it; 10 ran with no contract checked.

By repository: official repository: 34 samples from 1 repository, 16 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

cofe-ai/msg officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

34 samples harvested; 16 ran; 0 honoured the contract we drafted; 18 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

5ran · our draft was wrong
1ran · fixture could not drive it
10ran
18unverified

Licence: 0 of the 34 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from cofe-ai/msg. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

BertEmbeddingsEx cofe-ai/msg/model_ex/grow_ops_v2.py official repository ran Apache-2.0 (permissive) · 12c02fdc7a3ef516 · report
BertIntermediateEx cofe-ai/msg/model_ex/grow_ops_v2.py official repository ran fingerprinted Apache-2.0 (permissive) · abc2a5159b60c88e · report
BertLMPredictionHeadEx cofe-ai/msg/model_ex/grow_ops_v2.py official repository ran fingerprinted Apache-2.0 (permissive) · 8f34abe0617b5f97 · report
BertOutputEx cofe-ai/msg/model_ex/grow_ops_v2.py official repository ran Apache-2.0 (permissive) · ba319340870887ba · report
BertPoolerEx cofe-ai/msg/model_ex/grow_ops_v2.py official repository ran Apache-2.0 (permissive) · f76bc6941b23b53c · report
BertPreTrainingHeadsEx cofe-ai/msg/model_ex/grow_ops_v2.py official repository ran fingerprinted Apache-2.0 (permissive) · b3a39bfd6444ea7c · report
BertPredictionHeadTransformEx cofe-ai/msg/model_ex/grow_ops_v2.py official repository ran fingerprinted Apache-2.0 (permissive) · dcb1a915dcc1578a · report
BertSelfAttentionEx cofe-ai/msg/model_ex/grow_ops_v2.py official repository ran Apache-2.0 (permissive) · dc33918b0246bfa2 · report
BertSelfOutputEx cofe-ai/msg/model_ex/grow_ops_v2.py official repository ran Apache-2.0 (permissive) · f3837d1329cfa0a9 · report
LayerNormEx cofe-ai/msg/model_ex/grow_ops_v2.py official repository ran fingerprinted Apache-2.0 (permissive) · a2517173045b652b · report
count_parameters cofe-ai/msg/model_ex/grow_ops_v2.py official repository ran · fixture could not drive it Apache-2.0 (permissive) · c03c6d119d2ac973 · report
expand_embedding cofe-ai/msg/model_ex/grow_ops_v2.py official repository ran · our draft was wrong Apache-2.0 (permissive) · a0b27279fea1a125 · report
expand_linear cofe-ai/msg/model_ex/grow_ops_v2.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 8162611121d247e7 · report
expand_norm cofe-ai/msg/model_ex/grow_ops_v2.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 519d9bcfb16dcf6c · report
prepare_eval_per_device cofe-ai/msg/run_grow_bert.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · ee96c6045e2257e2 · report
static_mask_single cofe-ai/msg/preprocess_bert_data.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 681bc51b62ed3855 · report
BertAttentionEx cofe-ai/msg/model_ex/grow_ops_v2.py official repository unverified Apache-2.0 (permissive) · ae85ec1873dd1703 · report
BertEncoderEx cofe-ai/msg/model_ex/grow_ops_v2.py official repository unverified Apache-2.0 (permissive) · 1ccc2565fa59af1d · report
BertLayerEx cofe-ai/msg/model_ex/grow_ops_v2.py official repository unverified Apache-2.0 (permissive) · 86592733e07a8723 · report
grow_block cofe-ai/msg/model_ex/grow_ops_v2.py official repository unverified Apache-2.0 (permissive) · c969b61fcdd66216 · report
grow_dim_intermediate cofe-ai/msg/model_ex/grow_ops_v2.py official repository unverified Apache-2.0 (permissive) · 2c3575cfa3435b09 · report
grow_dim_nsp cofe-ai/msg/model_ex/grow_ops_v2.py official repository unverified Apache-2.0 (permissive) · 596cf53dd41ddb02 · report
grow_dim_output cofe-ai/msg/model_ex/grow_ops_v2.py official repository unverified Apache-2.0 (permissive) · fb20ae8f1b2151e9 · report
grow_dim_pooler cofe-ai/msg/model_ex/grow_ops_v2.py official repository unverified Apache-2.0 (permissive) · ac46a64ea2608233 · report
grow_dim_self_att cofe-ai/msg/model_ex/grow_ops_v2.py official repository unverified Apache-2.0 (permissive) · baaac4ac9de4e27a · report
grow_dim_self_output cofe-ai/msg/model_ex/grow_ops_v2.py official repository unverified Apache-2.0 (permissive) · 88e9fafdee923a80 · report
grow_dim_transform cofe-ai/msg/model_ex/grow_ops_v2.py official repository unverified Apache-2.0 (permissive) · 06fa339e87bd096d · report
grow_embedding cofe-ai/msg/model_ex/grow_ops_v2.py official repository unverified Apache-2.0 (permissive) · d1ada439198d07ca · report
grow_head_num cofe-ai/msg/model_ex/grow_ops_v2.py official repository unverified Apache-2.0 (permissive) · 42d5058f41beae5b · report
grow_ops cofe-ai/msg/model_ex/grow_ops_v2.py official repository unverified Apache-2.0 (permissive) · 109797f27864fd02 · report
init_weight_ex cofe-ai/msg/model_ex/grow_ops_v2.py official repository unverified Apache-2.0 (permissive) · ea16063f081619fc · report
stack_block cofe-ai/msg/model_ex/grow_ops_v2.py official repository unverified Apache-2.0 (permissive) · 18d7d645c49b39b9 · report
transfer_states cofe-ai/msg/model_ex/grow_ops_v2.py official repository unverified Apache-2.0 (permissive) · ef5ff778ebe66fa5 · report
vanilla_copy cofe-ai/msg/model_ex/grow_ops_v2.py official repository unverified Apache-2.0 (permissive) · 8179d1035ab4a2dd · report

Tasks

Language ModelingLanguage ModellingLarge Language ModelOpen-Ended Question Answering

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Absolute Position EncodingsAdamAttentionBPEDense ConnectionsDropoutLabel SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformer

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections