217
v1v2 (latest)

LLMSteer: Improving Long-Context LLM Inference by Steering Attention on Reused Contexts

Main:4 Pages
3 Figures
Bibliography:2 Pages
Appendix:1 Pages
Abstract

As large language models (LLMs) show impressive performance on complex tasks, they still struggle with longer contextual understanding and high computational costs. To balance efficiency and quality, we introduce LLMSteer, a fine-tuning-free framework that enhances LLMs through query-independent attention steering. Tested on popular LLMs and datasets, LLMSteer narrows the performance gap with baselines by 65.9% and reduces the runtime delay by up to 4.8x compared to recent attention steering methods.

View on arXiv
Comments on this paper