Accelerating Block Coordinate Descent for LLM Finetuning via Landscape Expansion

Qijun Luo, Yi-Fei Shen, Liang-Zu Peng, Dongsheng Li, Xiao Li
1/1/2025

No confident code implementation found for this paper.

Abstract

Finetuning large language models (LLMs) is a resource-intensive task for researchers in academia, with memory constraints posing a key bottleneck. A classic optimization method, block coordinate descent (BCD), significantly reduces memory cost by segmenting the trainable parameters into multiple blocks and optimizing one active block at a time while freezing the others.

Show full abstract

However, we identify that blindly applying BCD to train LLMs can be inefficient for two reasons. First, optimizing only the active block requires backpropagating through multiple deeper yet inactive blocks, resulting in wasteful computations. Second, the frozen blocks, when they are not quite close to optimality, can narrow the optimization landscape, potentially misguiding the training of the active block. To address these issues simultaneously, we propose integrating BCD with landscape expansion , which unfreezes the inactive blocks and updates them in a cost-efficient manner during the same backpropagation as the update to the active block. Experiments on 8B and 70B models demonstrate that our proposed method surpasses memory-efficient baselines and matches Adam’s downstream performance while requiring only 24 GB of memory for the 8B model and 300 GB for the 70B model.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{luo2025accelerating,
  title  = {Accelerating Block Coordinate Descent for LLM Finetuning via Landscape Expansion},
  author = {Qijun Luo and Yi-Fei Shen and Liang-Zu Peng and Dongsheng Li and Xiao Li},
  year   = {2025},
  doi    = {10.52202/085713-1894},
  url    = {https://doi.org/10.52202/085713-1894},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/e0aae319dbca69a8b9cb5625f7659095ae761923.svg)](https://codeofpaper.com/paper/e0aae319dbca69a8b9cb5625f7659095ae761923)

Discussion