arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2512.14237cs.CLcs.LG
收藏

向上爬,记忆下降:低成本微调与侧边网络

Ladder Up, Memory Down: Low-Cost Fine-Tuning With Side Nets

Université de Lorraine(洛林大学);CNRS(法国国家科学研究中心);LORIA(洛林计算机科学及其应用研究所);Alcatel-Lucent Enterprise(阿尔卡特朗讯企业)

Estelle Zheng, Nathan Cerisara, Sébastien Warichet, Emmanuel Helbert, Christophe Cerisara

AI总结:

LST通过轻量级侧边网络实现高效微调,比QLoRA更节省内存,同时在多个任务中保持竞争力。

摘要:

对大型语言模型(LLMs)进行微调通常受到商用GPU上可用内存的限制。参数高效微调(PEFT)方法如QLoRA减少了可训练参数的数量,但仍然由于完整模型中的反向传递过程导致高内存使用。我们重新审视Ladder Side Tuning(LST),一种鲜为人知的PEFT技术,它添加了一个轻量级的侧边网络,并证明其计算扩展斜率与QLoRA相当,同时将峰值内存减少了50%。在涵盖自然语言理解、数学和LLM批评任务的不同下游基准上,LST在平均精度上与QLoRA相当,但内存效率更高。这种效率使在单个12GB消费级GPU上微调7B参数模型成为可能,支持2000个token的上下文,无需梯度检查点——这是QLoRA所无法做到的。除了内存效率外,我们还建立了扩展定律,证明LST的扩展与QLoRA相似。我们通过引入xLadder,一种深度扩展的变体,利用Ladder的架构灵活性,通过交叉连接和短链思考(CoT)来增加有效深度,并在固定参数数量下缩短CoT。Ladder在内存成为瓶颈时表现强劲;xLadder在此基础上通过无需额外内存开销实现更深入的推理。

英文摘要:

Fine-tuning large language models (LLMs) is often limited by the memory available on commodity GPUs. Parameter-efficient fine-tuning (PEFT) methods such as QLoRA reduce the number of trainable parameters, yet still incur high memory usage induced by the backward pass in the full model. We revisit Ladder Side Tuning (LST), a rarely explored PEFT technique that adds a lightweight side network, and show that it matches QLoRA's compute scaling slope while cutting peak memory by 50\%. Across different downstream benchmarks spanning natural language understanding, mathematical and LLM-critic tasks, LST has competitive performance with QLoRA's accuracy on average while being much more memory-efficient. This efficiency enables fine-tuning of 7B-parameter models on a single 12 GB consumer GPU with 2k-token contexts, requiring no gradient checkpointing\textemdash conditions under which QLoRA exhausts memory. Beyond memory efficiency, we also establish scaling laws showing that LST scales similarly to QLoRA. We exploit Ladder's architectural flexibility by introducing xLadder, a depth-extended variant that increases effective depth via cross-connections and shortens chain-of-thought (CoT) at fixed parameter count. Ladder is strong when memory is the bottleneck; xLadder builds on this by enabling deeper reasoning without additional memory overhead.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑