Dynamic Positional Attention Modulation for Parameter-Efficient Fine-Tuning of Large Language Models
cs.CL, cs.AI
Submitted: 2026-10-06
Updated: 2026-10-06
Comments: Accepted by KDD 2026
Journal ref: Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD '26), 2026
Code: https://github.com/Beihang-BIGSCity/DyPAM
License: http://creativecommons.org/licenses/by/4.0/
The gist: Parameter-efficient fine-tuning (PEFT) has become a standard approach for adapting large language models to downstream tasks.
Terminology
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.
Sources
- GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints
- Round and Round We Go! What makes Rotary Positional Encodings useful?
- BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questions
- What Does BERT Look At? An Analysis of BERT's Attention
- Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challenge
- Training Verifiers to Solve Math Word Problems
- Parameter-Efficient Fine-Tuning with Discrete Fourier Transform
- The Llama 3 Herd of Models
- Deconstructing Positional Information: From Attention Logits to Training Biases
- Parameter-Efficient Fine-Tuning for Large Models: A Comprehensive Survey
- LoRA: Low-Rank Adaptation of Large Language Models
- LLM-Adapters: An Adapter Family for Parameter-Efficient Fine-Tuning of Large Language Models
- Massive Values in Self-Attention Modules are the Key to Contextual Knowledge Understanding
- MiSS: Revisiting the Trade-off in LoRA with an Efficient Shard-Sharing Structure
- Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problems
- Parameter-Efficient Orthogonal Finetuning via Butterfly Factorization
- Mass-Editing Memory in a Transformer
- Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answering
- Are NLP Models really able to Solve Simple Math Word Problems?
- Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolation
Related papers
- Exploring Solution Divergence and Its Effect on Large Language Model Problem Solving
- Ishigaki-IDS-Bench: A Benchmark for Generating Information Delivery Specification from BIM Information Requirements
- Subliminal Steering: Stronger Encoding of Hidden Signals
- MedStruct-S: A Benchmark for Key Discovery, Key-Conditioned QA and Semi-Structured Extraction from OCR Clinical Reports
- The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- Untangling the Mechanisms of Misleading Context in Medical Question Answering