
NLL-Guided Full-Attention Layer Selection for Training-Free Sliding-Window Adaptation
Researchers have cracked a persistent efficiency problem in long-context LLM inference: which attention layers actually need full context visibility versus sliding-window approximations. Rather than relying on fixed patterns or learned heuristics, the team measures each layer's true importance by computing accuracy loss when switching to windowed attention, then selectively keeps full attention only where it matters most. On Qwen3-4B, this training-free approach cuts full-attention overhead by 50 percent while maintaining baseline accuracy, suggesting that hybrid attention architectures can be far more aggressive about compression than current deployments assume. The finding matters because long-context inference remains a major cost bottleneck for production systems.62




























