English

ALPS: Attention Localization and Pruning Strategy for Efficient Alignment of Large Language Models

Computation and Language 2025-06-19 v4 Artificial Intelligence

Abstract

Aligning general-purpose large language models (LLMs) to downstream tasks often incurs significant training adjustment costs. Prior research has explored various avenues to enhance alignment efficiency, primarily through minimal-data training or data-driven activations to identify key attention heads. However, these approaches inherently introduce data dependency, which hinders generalization and reusability. To address this issue and enhance model alignment efficiency, we propose the Attention Localization and Pruning Strategy (ALPS), an efficient algorithm that localizes the most task-sensitive attention heads and prunes by restricting attention training updates to these heads, thereby reducing alignment costs. Experimental results demonstrate that our method activates only 10% of attention parameters during fine-tuning while achieving a 2% performance improvement over baselines on three tasks. Moreover, the identified task-specific heads are transferable across datasets and mitigate knowledge forgetting. Our work and findings provide a novel perspective on efficient LLM alignment. The code is available at https://github.com/VoiceBeer/ALPS.

Keywords

Cite

@article{arxiv.2505.18799,
  title  = {ALPS: Attention Localization and Pruning Strategy for Efficient Alignment of Large Language Models},
  author = {Hao Chen and Haoze Li and Zhiqing Xiao and Lirong Gao and Qi Zhang and Xiaomeng Hu and Ningtao Wang and Xing Fu and Junbo Zhao},
  journal= {arXiv preprint arXiv:2505.18799},
  year   = {2025}
}

Comments

Accepted@ACL25-findings, 17 pages, 8 figures, 14 tables

R2 v1 2026-07-01T02:36:14.296Z