Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

LayerBoost: Layer-Aware Attention Reduction for Efficient LLMs

About

Transformers are mostly relying on softmax attention, which introduces quadratic complexity with respect to sequence length and remains a major bottleneck for efficient inference. Prior work on linear or hybrid attention typically replaces softmax attention uniformly across all layers, often leading to significant performance degradation or requiring extensive retraining to recover model quality. This work proposes LayerBoost, a layer-aware attention reduction method that selectively modifies the attention mechanism based on the sensitivity of individual transformer layers. It first performs a systematic sensitivity analysis on a pretrained model to identify layers that are critical for maintaining performance. Guided by this analysis, three distinct strategies can be applied: retaining standard softmax attention in highly sensitive layers, replacing it with linear sliding window attention in moderately sensitive layers, and removing attention entirely in layers that exhibit low sensitivity. To recover performance after these architectural modifications, we introduce a lightweight distillation-based healing phase requiring only 10M additional training tokens. LayerBoost reduces inference latency and improves throughput by up to 68% at high concurrency, while maintaining competitive model quality. It matches base model performance on several benchmarks, exhibits only minor degradations on others, and significantly outperforms state-of-the-art attention linearization methods. These efficiency gains make our method particularly well-suited for high-concurrency serving and hardware-constrained deployment scenarios, where inference cost and memory footprint are critical bottlenecks.

Mohamed Ali Souibgui, Jan Fostier, Rodrigo Abad\'ia-Heredia, Bohdan Denysenko, Christian Marschke, Igor Peric• 2026

Related benchmarks

TaskDatasetResultRank
Commonsense ReasoningWinoGrande
Accuracy66.92
1442
Commonsense ReasoningHellaSwag
HellaSwag Accuracy49.98
711
Physical Commonsense ReasoningPIQA
Accuracy75.73
696
Multi-task Language UnderstandingMMLU
MMLU Accuracy64.4
442
Question AnsweringOpenBookQA
Accuracy29.8
305
Multitask Language UnderstandingMMLU
Accuracy63.9
263
ReasoningARC Easy--
233
Question AnsweringARC-C--
116
Commonsense ReasoningWinoGrande
Accuracy67
103
Common Sense ReasoningPIQA
Accuracy75.7
100
Showing 10 of 13 rows

Other info

Follow for update