Salvato in:
Dettagli Bibliografici
Autori principali: Li, Weixian Waylon, Niu, Yuchen, Yang, Yongxin, Li, Keshuang, Ma, Tiejun, Cohen, Shay B.
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:https://arxiv.org/abs/2603.01281
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866918364217081856
author Li, Weixian Waylon
Niu, Yuchen
Yang, Yongxin
Li, Keshuang
Ma, Tiejun
Cohen, Shay B.
author_facet Li, Weixian Waylon
Niu, Yuchen
Yang, Yongxin
Li, Keshuang
Ma, Tiejun
Cohen, Shay B.
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2603_01281
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Spectral Attention Steering for Prompt Highlighting
Li, Weixian Waylon
Niu, Yuchen
Yang, Yongxin
Li, Keshuang
Ma, Tiejun
Cohen, Shay B.
Computation and Language
Artificial Intelligence
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.
title Spectral Attention Steering for Prompt Highlighting
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2603.01281