mlsanityData to 7 Oct 2026

On-the-Fly Adaptive Distillation of Transformer to Dual-State Linear Attention

arXiv 2506.09316 ↗First posted 11 Jun 2025cs.LGcited by 3

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) excel at capturing global token dependencies via self-attention but face prohibitive compute and memory costs on lengthy inputs. While sub-quadratic methods (e.g., linear attention) can reduce these costs, they often degrade accuracy due to overemphasizing recent tokens. In this work, we first propose dual-state linear attention (DSLA), a novel design that maintains two specialized hidden states-one for preserving historical context and one for tracking recency-thereby mitigating the short-range bias typical of linear-attention architectures. To further balance efficiency and accuracy under dynamic workload conditions, we introduce DSLA-Serve, an online adaptive distillation framework that progressively replaces Transformer layers with DSLA layers at inference time, guided by a sensitivity-based layer ordering. DSLA-Serve uses a chained fine-tuning strategy to ensure that each newly converted DSLA layer remains consistent with previously replaced layers, preserving the overall quality. Extensive evaluations on commonsense reasoning, long-context QA, and text summarization demonstrate that DSLA-Serve yields 2.3x faster inference than Llama2-7B and 3.0x faster than the hybrid Zamba-7B, while retaining comparable performance across downstream tasks. Our ablation studies show that DSLA's dual states capture both global and local dependencies, addressing the historical-token underrepresentation seen in prior linear attentions. Codes are available at https://github.com/utnslab/DSLA-Serve.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 58 of its 68 references that are in the map. First posted on arXiv 11 Jun 2025.

Builds on

58 of 68 references.

References · 58

  1. 2017Attention Is All You Needcited by 59,932
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  4. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  5. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  6. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  7. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  8. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  9. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  10. 2020Longformer: The Long-Document Transformercited by 3,362
  11. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  12. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
38 more
  1. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  2. 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,838
  3. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  4. 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
  5. 2020Rethinking Attention with Performerscited by 1,584
  6. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  7. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
  8. 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,338
  9. 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,308
  10. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
  11. 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,281
  12. 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,234
  13. 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,090
  14. 2015Teaching Machines to Read and Comprehendcited by 1,039
  15. 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 848
  16. 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Headscited by 821
  17. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
  18. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 805
  19. 2023A Simple and Effective Pruning Approach for Large Language Modelscited by 776
  20. 2023LLM-Pruner: On the Structural Pruning of Large Language Modelscited by 643
  21. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
  22. 2023Textbooks Are All You Need II: phi-1.5 technical reportcited by 559
  23. 2023Splitwise: Efficient generative LLM inference using phase splittingcited by 536
  24. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
  25. 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inferencecited by 487
  26. 2022DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scalecited by 403
  27. 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 390
  28. 2025FlashInfer: Efficient and Customizable Attention Engine for LLM Inference Servingcited by 248
  29. 2024MobileLLM: Optimizing Sub-billion Parameter Language Models for On-Device Use Casescited by 216
  30. 2024An Empirical Study of Mamba-based Language Modelscited by 177
  31. 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modelingcited by 167
  32. 2024The Mamba in the Llama: Distilling and Accelerating Hybrid Modelscited by 120
  33. 2024The Hedgehog & the Porcupine: Expressive Linear Attentions with Softmax Mimicrycited by 119
  34. 2024Zamba: A Compact 7B SSM Hybrid Modelcited by 118
  35. 2019On the Use of ArXiv as a Datasetcited by 101
  36. 2024TriForce: Lossless Acceleration of Long Sequence Generation with Hierarchical Speculative Decodingcited by 98
  37. 2021Finetuning Pretrained Transformers into RNNscited by 94
  38. 2023Fast Inference of Mixture-of-Experts Language Models with Offloadingcited by 88

50 most cited of 58 All 58 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 2.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025RAD: Redundancy-Aware Distillation for Hybrid Models via Self-Speculative Decoding
  2. 2026LEAP: Layer-wise Exit-Aware Pretraining for Efficient Transformer Inference
  3. 2025Efficient Adaptive Transformer: An Empirical Study and Reproducible Framework
  4. 2026Long-Context Aware Upcycling: A New Frontier for Hybrid LLM Scaling
  5. 2025Pimba: A Processing-in-Memory Acceleration for Post-Transformer Large Language Model Serving
  6. 2026Attention to Mamba: A Recipe for Cross-Architecture Distillation
  7. 2026Adaptive Computation Depth via Learned Token Routing in Transformers
  8. 2026Adaptive Loops and Memory in Transformers: Think Harder or Know More?