Abstract
The computational and financial costs of training large language models (LLMs) are prohibitive for most research groups. While Parameter-Efficient Fine-Tuning (PEFT) methods like LoRA have democratized model adaptation, they are generally insufficient for pre-training from scratch due to the limited expressivity of single low-rank updates. We introduce ReLoRA, a novel training method that utilizes a sequence of low-rank updates to aggregate into a high-rank result. ReLoRA achieves performance comparable to standard full-rank training while saving up to 5.5GB of VRAM per GPU and increasing training throughput by up to 40%.
Introduction
Deep learning scaling laws have driven the development of models with hundreds of billions of parameters. However, the memory requirements for full-rank training—driven by optimizer states and gradients—often exceed the capacity of consumer-grade and even mid-range data center hardware. Low-rank adaptation (LoRA) reduces these requirements by training only a small subset of parameters. However, for pre-training, a single low-rank update lacks the rank necessary to learn complex features. ReLoRA addresses this by performing high-rank training through a trajectory of low-rank updates.
ReLoRA Methodology
ReLoRA builds upon the LoRA framework but introduces several critical components to enable effective pre-training:
- Restarts and Weight Merging: Periodically, the trained low-rank weights are merged back into the main "frozen" weight matrix. The low-rank matrices are then re-initialized. This exploits the mathematical property that the sum of multiple low-rank matrices can result in a high-rank matrix.
- Warm Start: Models undergo a brief initial period of standard full-rank training to reach a stable region of the loss landscape before transitioning to ReLoRA updates.
- Jagged Learning Rate Schedule: To maintain stability after restarts, ReLoRA employs a "jagged" schedule that performs a mini-warmup of the learning rate after every merge and re-initialization.
- Partial Optimizer Reset: To prevent the optimizer (e.g., Adam) from trapping the model in a low-rank subspace via its momentum, ReLoRA performs a partial reset of optimizer states, pruning them by magnitude.
Experimental Results
We evaluated ReLoRA on the C4 (Colossal Clean Crawled Corpus) dataset, following Chinchilla scaling laws and evaluating on benchmarks like GLUE.
Performance Parity
On a 1.3B parameter model, ReLoRA achieved a perplexity of 17.27, closely matching the 16.83 of full-rank training. In contrast, standard LoRA often fails to converge or performs significantly worse in pre-training scenarios.
Efficiency and Throughput
ReLoRA demonstrates significant memory savings, reducing VRAM usage by up to 5.5GB per GPU. This allows for larger batch sizes or the training of larger models on existing hardware. Furthermore, training throughput increased by 9% on NVIDIA A100s and up to 40% on consumer-grade RTX 3090s, highlighting the method's utility for decentralized research.
High-Rank Evidence
Singular value decomposition (SVD) analysis confirms that the sequence of ReLoRA updates results in a higher-rank change to the model's weights compared to standard LoRA, effectively mimicking the behavior of full-rank training trajectories.
Discussion and Limitations
While ReLoRA offers a path toward more accessible LLM pre-training, it currently requires an initial full-rank "warm start" period. Future work will explore eliminating this requirement and investigating the potential for keeping "frozen" weights in 4-bit or 8-bit precision to further reduce memory overhead. Additionally, the sensitivity of the method to restart frequency and learning rate parameters suggests a need for further hyperparameter optimization across diverse architectures.
Summary updated