Pith. sign in

REVIEW 3 cited by

Outlier-weighed Layerwise Sampling for LLM Fine-tuning

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2405.18380 v3 pith:DXSP5NVE submitted 2024-05-28 cs.LG cs.AIcs.CL

classification cs.LGcs.AIcs.CL
keywords fine-tuninglayersllmssamplinglayerwisememoryapproachapproaches
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

The rapid advancements in Large Language Models (LLMs) have revolutionized various natural language processing tasks. However, the substantial size of LLMs presents significant challenges in training or fine-tuning. While parameter-efficient approaches such as low-rank adaptation (LoRA) have gained popularity, they often compromise performance compared to full-rank fine-tuning. In this paper, we propose Outlier-weighed Layerwise Sampling (OWS), a new memory-efficient fine-tuning approach, inspired by the layerwise outlier distribution of LLMs. Unlike LoRA, which adds extra adapters to all layers, OWS strategically assigns higher sampling probabilities to layers with more outliers, selectively sampling only a few layers and fine-tuning their pre-trained weights. To further increase the number of fine-tuned layers without a proportional rise in memory costs, we incorporate gradient low-rank projection, further boosting the approach's performance. Our extensive experiments across various architectures, including LLaMa2 and Mistral, demonstrate that OWS consistently outperforms baseline approaches, including full fine-tuning. Specifically, it achieves up to a 1.1% average accuracy gain on the Commonsense Reasoning benchmark, a 3.0% improvement on MMLU, and a notable 10% boost on MT-Bench, while being more memory efficient. OWS allows us to fine-tune 7B LLMs with only 21GB of memory. Our code is available at https://github.com/pixeli99/OWS.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. When Does Sparsity Mitigate the Curse of Depth in LLMs

    cs.CL 2026-03 conditional novelty 6.0 of 10

    Implicit and explicit sparsity reduce residual-stream variance and improve layer effectiveness metrics, enabling a depth-scaling recipe with about 4.6 points higher downstream accuracy.

  2. Mix-LN: Unleashing the Power of Deeper Layers by Combining Pre-LN and Post-LN

    cs.LG 2024-12 conditional novelty 6.0 of 10

    Mix-LN, which uses Post-LN in early layers and Pre-LN in later layers, gives more uniform layer gradients and better LLM pretraining and fine-tuning results than Pre-LN or Post-LN alone.

  3. SPAM: Spike-Aware Adam with Momentum Reset for Stable LLM Training

    cs.LG 2025-01 conditional novelty 5.0 of 10

    SPAM, an Adam variant with periodic momentum reset and ratio-based spike clipping, reports better validation perplexity and lower memory use than Adam, Adafactor, GaLore, and Adam-mini in LLM pretraining and fine-tuning.

Pith tools