mlsanityData to 24 Nov 2026

FOSCAR: Accelerating Decode Attention over 2- and 4-Bit KV Caches through Affine Folding

arXiv 2611.09722 ↗Submitted 6 Nov 2026cs.AIcited by 1

On the map: Efficient LLM inference and serving → KV cache optimization also fits: KV cache quantization

Abstract (arXiv)

Large-language-model decode attention streams the key-value (KV) cache for every generated token. Packing that cache into 2-bit or 4-bit quantized integers reduces memory traffic but does not automatically translate into latency saving. Existing 2-bit fused kernels reach under 31%/15% of peak HBM throughput on H100/B200. Converting each value and applying its scale and offset before feeding Tensor Cores is a major bottleneck because instruction-issue throughput is scarce on modern GPUs. Instead of applying scale and offset to each KV value, FOSCAR uses affine folding to apply them to the other operand or the output of decode-attention matrix products, depending on the quantization scheme (token-wise or channel-wise). This reduces scale-and-offset operations by up to two orders of magnitude while preserving the dequantized attention output in exact arithmetic. FOSCAR also uses bit manipulation to feed KV operands to Tensor Cores efficiently, requiring only 1 and 0.19 ALU instructions per INT2 element on H100 and B200, respectively. Finally, FOSCAR builds warp-specialized GPU pipelines for Hopper (H100) and Blackwell (B200) using wgmma and tcgen05. On H100, FOSCAR INT2 and INT4 kernels achieve geo-mean speedups of 3.36× and 2.83× over FlashInfer BF16, and 2.03× and 1.71× over TensorRT-LLM FP8. On B200, the corresponding INT2 and INT4 speedups are 2.67× and 2.30× over FlashInfer BF16, 1.48× and 1.28× over TensorRT-LLM FP8, and 1.16× and 1.00× over TensorRT-LLM NVFP4. We integrate FOSCAR into SGLang to benchmark serving efficiency. On long-context serving workloads, FOSCAR increases peak aggregate throughput by up to 170% and 341% over 2-bit and 16-bit baselines, respectively. We open-source FOSCAR as a kernel library at https://github.com/FutureMLS-Lab/FOSCAR.

Key facts. Cited by 1 paper in the map (data through 24 Nov 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 24 of its 35 references that are in the map. Submitted 6 Nov 2026.

Builds on

24 of 35 references.

Closest ancestors · 3

Same direction, newest first

  1. 2025BitDecoding: Unlocking Tensor Cores for Long-Context LLMs with Low-Bit KV Cache24 Mar
  2. 2024SageAttention: Accurate 8-Bit Attention for Plug-and-play Inference Acceleration3 Oct
  3. 2024GEAR: An Efficient KV Cache Compression Recipe for Near-Lossless Generative Inference of LLM8 Mar

Other references · 21

  1. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,893
  2. 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 3,191
  3. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,787
  4. 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,372
  5. 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 747
  6. 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 670
  7. 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 611
  8. 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformerscited by 544
  9. 2021RepVGG: Making VGG-style ConvNets Great Againcited by 541
  10. 2023Atom: Low-bit Quantization for Efficient and Accurate LLM Servingcited by 290
  11. 2024QServe: W4A8KV4 Quantization and System Co-design for Efficient LLM Servingcited by 240
  12. 2024SageAttention2: Efficient Attention with Thorough Outlier Smoothing and Per-thread INT4 Quantizationcited by 134
9 more
  1. 2026FlashAttention-4: Algorithm and Kernel Pipelining Co-Design for Asymmetric Hardware Scalingcited by 99
  2. 2025SageAttention3: Microscaling FP4 Attention for Inference and An Exploration of 8-Bit Trainingcited by 81
  3. 2024Fast Matrix Multiplications for Lookup Table-Quantized LLMscited by 36
  4. 2022Who Says Elephants Can't Run: Bringing Large Scale MoE Models into Cloud Scale Productioncited by 31
  5. 2026OSCAR: Offline Spectral Covariance-Aware Rotation for 2-bit KV Cache Quantizationcited by 17
  6. 2025Oaken: Fast and Efficient LLM Serving with Online-Offline Hybrid KV Cache Quantizationcited by 16
  7. 2025Kitty: Accurate and Efficient 2-bit KV Cache Quantization with Dynamic Channel-wise Precision Boostcited by 12
  8. 2026SAW-INT4: System-Aware 4-Bit KV-Cache Quantization for Real-World LLM Servingcited by 9
  9. 2026CODA: Rewriting Transformer Blocks as GEMM-Epilogue Programscited by 6

Built on by

Cited by year (2026 to 24 Nov)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025Time and Memory Trade-off of KV-Cache Compression in Tensor Transformer Decoding
  2. 2026Learning how to Forget: Fine-tuning for Long-Context Sparse Attention
  3. 2026FoldAttention: Declared-Reference Softmax for Fast Decode and Deterministic Backward
  4. 2026Stochastic Sparse Attention for Memory-Bound Inference
  5. 2026MoA-Structured Decode Attention DNF Derivation, KV-Cache Accumulation, GQA/MQA, and OpenACC Kernel
  6. 2025HCAttention: Extreme KV Cache Compression via Heterogeneous Attention Computing for LLMs
  7. 2025NOSA: Native and Offloadable Sparse Attention
  8. 2026DeCo-Attention: Decompose to Compensate for Low-Precision Attention