analiza aiqbench
This research introduces CONA, a dynamic training method that chains parallelism strategies online to optimize time-to-perplexity rather than relying on static offline configurations. By adapting strategy selection based on real-time compute throughput and gradient statistics, the approach significantly accelerates convergence for large language models without sacrificing accuracy. This work addresses a critical bottleneck in scaling LLM training by ensuring the most efficient parallelization tactics are applied at each stage of the learning process.
Parallelism Strategy Chaining for Fast Training Convergence
De la arXiv
Text integralSelecting a parallelism strategy - the configuration of data, tensor, and pipeline parallelism degrees together with micro- and global-batch sizes - largely determines the training efficiency of large language models. State-of-the-art methods search for a parallelism strategy offline and select the single strategy that minimizes per-iteration time. But we find that they neglect the target validation perplexity and time-to-perplexity (TTP). In particular, our analysis reveals that the best strategy yielding the fastest perplexity improvement changes multiple times during training.
As a result, state-of-the-art methods are 1.8-11.4x slower in TTP than the strategy sequence that selects the best strategy at each iteration. This paper proposes CONA, a new training method that introduces online strategy chaining. Instead of a single strategy selected offline, CONA ranks candidate strategies during training using a surrogate metric built from compute throughput and gradient statistics, and switches the current strategy to a new strategy with a higher metric.
In our evaluation with GPT-3 1.3B, BERT-Large, and Llama-3.2-1B, CONA reaches the target validation perplexity 1.4-9.6x faster than state-of-the-art methods. Moreover, CONA closely tracks the perplexity achieved by the sequence that selects the best strategy at each iteration, within 2.6%.
Text integral sub licența deschisă a publicației · 191 cuvinte