Pith. sign in

REVIEW 2 cited by

PAT: Pruning-Aware Tuning for Large Language Models

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 2408.14721 v2 pith:POKKNFZQ submitted 2024-08-27 cs.LG cs.AIcs.CL

classification cs.LGcs.AIcs.CL
keywords modelpruningfine-tuninglanguagemodelsperformancestructuraltraining
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
abstract

Large language models (LLMs) excel in language tasks, especially with supervised fine-tuning after pre-training. However, their substantial memory and computational requirements hinder practical applications. Structural pruning, which reduces less significant weight dimensions, is one solution. Yet, traditional post-hoc pruning often leads to significant performance loss, with limited recovery from further fine-tuning due to reduced capacity. Since the model fine-tuning refines the general and chaotic knowledge in pre-trained models, we aim to incorporate structural pruning with the fine-tuning, and propose the Pruning-Aware Tuning (PAT) paradigm to eliminate model redundancy while preserving the model performance to the maximum extend. Specifically, we insert the innovative Hybrid Sparsification Modules (HSMs) between the Attention and FFN components to accordingly sparsify the upstream and downstream linear modules. The HSM comprises a lightweight operator and a globally shared trainable mask. The lightweight operator maintains a training overhead comparable to that of LoRA, while the trainable mask unifies the channels to be sparsified, ensuring structural pruning. Additionally, we propose the Identity Loss which decouples the transformation and scaling properties of the HSMs to enhance training robustness. Extensive experiments demonstrate that PAT excels in both performance and efficiency. For example, our Llama2-7b model with a 25\% pruning ratio achieves 1.33$\times$ speedup while outperforming the LoRA-finetuned model by up to 1.26\% in accuracy with a similar training cost. Code: https://github.com/kriskrisliu/PAT_Pruning-Aware-Tuning

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

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

  1. P$^2$ Law: Scaling Law for Post-Training After Model Pruning

    cs.AI 2024-11 conditional novelty 6.0 of 10

    Post-training loss of a pruned LLM follows a power-law curve fixed by pre-pruning model size, pruning rate, number of tokens, and the model's original loss.

  2. ResidualDroppath: Enhancing Feature Reuse over Residual Connections

    cs.LG 2024-11 conditional novelty 5.0 of 10

    A two-phase training algorithm alternating droppath steps with frozen-path steps gives modest accuracy improvements on small image datasets, with inconsistent ImageNet results.

Pith tools