LISA: Layerwise Importance Sampling for Memory-Efficient Large Language Model Fine-Tuning

Rui Pan, Xiang Liu, Shizhe Diao, Renjie Pi, Jipeng Zhang +2 more
2/3/2026

No official code found. Best implementation: OptimalScale/LMFlow (8,487 stars, Apache-2.0, PyTorch, last commit 2026-04-25). 1 more below.

Abstract

The machine learning community has witnessed impressive advancements since large language models (LLMs) first appeared. Yet, their massive memory consumption has become a significant roadblock to large-scale training. For instance, a 7B model typically requires at least 60 GB of GPU memory with full parameter training, which presents challenges for researchers without access to high-resource environments. Parameter Efficient Fine-Tuning techniques such as Low-Rank Adaptation (LoRA) have been proposed to alleviate this problem. However, in most large-scale fine-tuning settings, their performance does not reach the level of full parameter training because they confine the parameter search to a low-rank subspace. Attempting to complement this deficiency, we investigate the layerwise properties of LoRA on fine-tuning tasks and observe an unexpected but consistent skewness of weight norms across different layers. Utilizing this key observation, a surprisingly simple training strategy is discovered, which outperforms both LoRA and full parameter training in a wide range of settings with memory costs as low as LoRA. We name it Layerwise Importance Sampled AdamW (LISA), a promising alternative for LoRA, which applies the idea of importance sampling to different layers in LLMs and randomly freezes most middle layers during optimization. Experimental results show that with similar or less GPU memory consumption, LISA surpasses LoRA or even full parameter tuning in downstream fine-tuning tasks, where LISA consistently outperforms LoRA by over 10%-35% in terms of MT-Bench score while achieving on-par or better performance in MMLU, AGIEval and WinoGrande. On large models, specifically LLaMA-2-70B, LISA surpasses LoRA on MT-Bench, GSM8K, and PubMedQA, demonstrating its effectiveness across different domains.

View on arXivView PDF

Code Implementations(2)

OptimalScale/LMFlowCommunity100%
PyTorchApache-2.0

An Extensible Toolkit for Finetuning and Inference of Large Foundation Models. Large Models for All.

8,487826Shell, PythonMar 27, 20235 months agoApache-2.0
chatgptdeep-learninginstruction-followinglanguage-modelpretrained-models+2 more
osehmathias/lisaCommunity76%

LISA: Layerwise Importance Sampling for Memory-Efficient Large Language Model Fine-Tuning

387Shell, PythonApr 4, 20242 years ago

Similar Papers

Cite this paper

@article{pan2026lisa,
  title  = {LISA: Layerwise Importance Sampling for Memory-Efficient Large Language Model Fine-Tuning},
  author = {Rui Pan and Xiang Liu and Shizhe Diao and Renjie Pi and Jipeng Zhang and Chi Han and Tong Zhang},
  year   = {2026},
  eprint = {2403.17919},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2403.17919},
  url    = {https://arxiv.org/abs/2403.17919},
  journal = {NEURIPS 2024 2024}
}

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/2403.17919.svg)](https://codeofpaper.com/paper/2403.17919)

Discussion