Abstract

Parameter-efficient fine-tuning (PEFT) has become a standard approach for adapting large language models to downstream tasks. However, most existing PEFT methods rely on uniform and static adaptations, without accounting for the structured heterogeneity of attention across dimensions, heads, layers, and input tokens. In practice, attention representations exhibit non-uniform behavior, and positional encoding mechanisms such as rotary positional embeddings (RoPE) induce dimension-dependent positional structure, making uniform adaptation suboptimal. In this work, we propose DyPAM (Dynamic Positional Attention Modulation), a PEFT method that adapts how positional information contributes to attention by operating directly on the query and key representations. DyPAM combines input-conditioned, dimension-wise modulation with head-wise and layer-wise structural modulation, performing fine-grained adaptation of positional attention aligned with the RoPE-induced structure without modifying the pretrained backbone. Extensive experiments on mathematical and commonsense reasoning benchmarks across multiple backbone models demonstrate that DyPAM consistently outperforms existing strong PEFT baselines.

Keywords

Subject

Publication details

DOI
10.1145/3770855.3817911
Journal
Not available
Open access
Green open access

Cite this article

APA 7

Pan, D., Wang, J., & Yu, X. (2026). Dynamic Positional Attention Modulation for Parameter-Efficient Fine-Tuning of Large Language Models. https://doi.org/10.1145/3770855.3817911

MLA 9

Pan, Dayan, et al. "Dynamic Positional Attention Modulation for Parameter-Efficient Fine-Tuning of Large Language Models." https://doi.org/10.1145/3770855.3817911.

Chicago (author–date)

Pan, Dayan, Jingyuan Wang, and Xie Yu. 2026. "Dynamic Positional Attention Modulation for Parameter-Efficient Fine-Tuning of Large Language Models." https://doi.org/10.1145/3770855.3817911.

Harvard

Pan, D., Wang, J. and Yu, X. (2026) 'Dynamic Positional Attention Modulation for Parameter-Efficient Fine-Tuning of Large Language Models', doi:10.1145/3770855.3817911.

Vancouver

Pan D, Wang J, Yu X. Dynamic Positional Attention Modulation for Parameter-Efficient Fine-Tuning of Large Language Models. doi:10.1145/3770855.3817911

IEEE

D. Pan, J. Wang, and X. Yu, "Dynamic Positional Attention Modulation for Parameter-Efficient Fine-Tuning of Large Language Models," doi: 10.1145/3770855.3817911.