AI generated
Hey everyone,
I've been experimenting with sparse attention for long-context LLMs. My original question was pretty simple: how much attention can we skip before the model starts getting things wrong?
After a lot of failed experiments, I ended up with something I call SculptAttention.
Some of my results on a single H200:
- Inkling-2-Mini (660K): 155s → 37s, up to 4.27x faster prefill.
- Qwen3.8-27B (524K): 144s → 76s.
- Llama-3.1-8B (128K): 1.40x median speedup, reaching 2.74x on individual cases.
No retraining, no weight modifications, no custom attention kernel. All three models use the same configuration.
At 524K, the sparse rows read only 9.1% of the causal keys.
Another result I found interesting was multi-value retrieval on Qwen at 524K:
- Dense attention: 9/10
- BFLA: 3.75/10
- SculptAttention: 9.5/10
This is just one task with 10 fresh cases, not a claim that my method is generally better.
The method isn't lossless. Counting, some multi-hop tasks and exact ID retrieval remain challenging. The full KV cache is retained, and decode remains dense.
I'm doing this independently, and my GPU budget is limited. I'd really like to see what happens on consumer GPUs, large codebases, long agent histories, and models I haven't tested.
If you were trying to break this method, what would you test first?
I'd also love to hear from anyone working on vLLM, SGLang or llama.cpp.
Everything is open source:
Code: https://github.com/fsn007fsn007/sculptattention
Paper: https://doi.org/10.5281/zenodo.24794082 - https://www.alphaxiv.org/abs/2612.sculptattention
English isn't my first language, so I used AI assistance with the wording.