mlsanityData to 7 Oct 2026

DiJiang: Efficient Large Language Models through Compact Kernelization

arXiv 2403.19928 ↗First posted 29 Mar 2024cs.CL cs.LGcited by 15

Not on the map. Why?

Abstract (arXiv)

In an effort to reduce the computational load of Transformers, research on linear attention has gained significant momentum. However, the improvement strategies for attention mechanisms typically necessitate extensive retraining, which is impractical for large language models with a vast array of parameters. In this paper, we present DiJiang, a novel Frequency Domain Kernelization approach that enables the transformation of a pre-trained vanilla Transformer into a linear complexity model with little training costs. By employing a weighted Quasi-Monte Carlo method for sampling, the proposed approach theoretically offers superior approximation efficiency. To further reduce the training computational complexity, our kernelization is based on Discrete Cosine Transform (DCT) operations. Extensive experiments demonstrate that the proposed method achieves comparable performance to the original Transformer, but with significantly reduced training costs and much faster inference speeds. Our DiJiang-7B achieves comparable performance with LLaMA2-7B on various benchmark while requires only about 1/50 training cost. Code is available at https://github.com/YuchuanTian/DiJiang.

Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Builds on 32 of its 42 references that are in the map. First posted on arXiv 29 Mar 2024.

Builds on

32 of 42 references.

References · 32

  1. 2017Attention Is All You Needcited by 59,932
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  3. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  4. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  5. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  6. 2020Longformer: The Long-Document Transformercited by 3,362
  7. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
  8. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  9. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  10. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  11. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
  12. 2020Reformer: The Efficient Transformercited by 1,658
20 more
  1. 2020Rethinking Attention with Performerscited by 1,584
  2. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  3. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
  4. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
  5. 2021OCR-free Document Understanding Transformercited by 400
  6. 2021Random Feature Attentioncited by 350
  7. 2021FNet: Mixing Tokens with Fourier Transformscited by 343
  8. 2019Learning Deep Transformer Models for Machine Translationcited by 309
  9. 2020Retrieve, Program, Repeat: Complex Knowledge Base Question Answering via Alternate Meta-learningcited by 216
  10. 2022cosFormer: Rethinking Softmax in Attentioncited by 212
  11. 2019Transformer Dissection: A Unified Understanding of Transformer's Attention via the Lens of Kernelcited by 211
  12. 2021SOFT: Softmax-free Transformer with Linear Complexitycited by 128
  13. 2021An Attention Free Transformercited by 111
  14. 2021LambdaNetworks: Modeling Long-Range Interactions Without Attentioncited by 107
  15. 2014Fastfood: Approximate Kernel Expansions in Loglinear Timecited by 72
  16. 2014Quasi-Monte Carlo Feature Maps for Shift-Invariant Kernelscited by 41
  17. 2023Efficient Attention via Control Variatescited by 23
  18. 2024DenseMamba: State Space Models with Dense Hidden Connection for Efficient Large Language Modelscited by 22
  19. 2021Fourier Image Transformercited by 12
  20. 2021Local Frequency Domain Transformer Networks for Video Predictioncited by 9

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 8; 2026: 5.

15 papers.

Sort:

By area: