paper-with-me

Papers

Spectral Attention Steering for Prompt Highlighting

2026-03-01 · Weixian Waylon Li, Yuchen Niu, Yongxin Yang, Keshuang Li, Tiejun Ma, Shay B. Cohen arxiv

Attention steering is an important technique for controlling model focus, enabling capabilities such as prompt highlighting, where the model prioritises user-specified text. However, existing attention steering methods require explicit storage of the full attention matrix, making them incompatible with memory-efficient implementations like FlashAttention. We introduce Spectral Editing Key Amplification (SEKA), a training-free steering method that tackles this by directly editing key embeddings before attention computation. SEKA uses spectral decomposition to steer key embeddings towards latent directions that amplify attention scores for certain tokens. We extend this to Adaptive SEKA (AdaSEKA), a query-adaptive variant that uses a training-free routing mechanism to dynamically combine multiple expert subspaces based on the prompt's semantic intent. Our experiments show both methods significantly outperform strong baselines on standard steering benchmarks while adding much lower latency and memory overhead, in compatibility with optimised attention.

📄 PDF Abstract BibTeX arXiv:2603.01281

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Prism-$Δ$: Differential Subspace Steering for Prompt Highlighting in Large Language Models

2026-03-11 · Yuyao Ge, Shenghua Liu, Yiwei Wang, Tianyu Liu 외 arxiv

Prompt highlighting steers a large language model to prioritize user-specified text spans during generation. A key challenge is extracting steering directions that capture the difference between relevant and irrelevant c…

Steering Where to Listen: Instruction-Based Activation Steering Redirects Temporal Attention in Large Audio-Language Models

2026-06-09 · Tsung-En Lin, Hung-Yi Lee arxiv

Large Audio-Language Models (LALMs) excel at audio understanding but expose little about where in an audio signal they attend. We introduce instruction-based vector steering, which constructs a steering vector by contras…

Prompt-Activation Duality: Improving Activation Steering via Attention-Level Interventions

2026-05-11 · Diancheng Kang, Zheyuan Liu, Ningshan Ma, Yue Huang 외 arxiv

Activation steering controls language model behavior by adding directions to internal representations at inference time, but standard residual-stream steering can fail in stateful dialogue. We identify KV-cache contamina…

Model Tells Itself Where to Attend: Faithfulness Meets Automatic Attention Steering

2024-09-16 · Qingru Zhang, Xiaodong Yu, Chandan Singh, Xiaodong Liu 외

Large language models (LLMs) have demonstrated remarkable performance across various real-world tasks. However, they often struggle to fully comprehend and effectively utilize their input contexts, resulting in responses…

Instruction Following by Boosting Attention of Large Language Models

2025-06-16 · Vitoria Guardieiro, Adam Stein, Avishree Khare, Eric Wong

Controlling the generation of large language models (LLMs) remains a central challenge to ensure their safe and reliable deployment. While prompt engineering and finetuning are common approaches, recent work has explored…

Instruction FollowingPrompt Engineering