Pith. sign in

REVIEW 2 cited by

DiJiang: Efficient Large Language Models through Compact Kernelization

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2403.19928 v2 pith:FBVO5AX3 submitted 2024-03-29 cs.CL cs.LG

classification cs.CLcs.LG
keywords trainingdijiangkernelizationachievesapproachattentioncomparablecomplexity
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

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.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Degrees of Freedom for Linear Attention: Distilling Softmax Attention with Optimal Feature Efficiency

    cs.LG 2025-07 conditional novelty 5.0 of 10

    Setting the feature dimension of each linear-attention layer proportional to the estimated degrees of freedom of its input kernel improves distilled model accuracy without increasing total inference cost.

  2. ReGLA: Refining Gated Linear Attention

    cs.CL 2025-02 conditional novelty 5.0 of 10

    ReGLA combines a bounded exponential feature map, a log-normal variance scaling factor, and a refined forget gate to improve gated linear attention perplexity on WikiText-103 and post-linearized Pythia-160M.

Pith tools