Lune

ICLR2024顶会

Transformer-VQ: Linear-Time Transformers via Vector Quantization

Lucas D. Lingle

2024年份
30被引次数
10顶会引用

摘要

We introduce Transformer-VQ, a decoder-only transformer computing softmax-based dense self-attention in linear time. Transformer-VQ's efficient attention is enabled by vector-quantized keys and a novel caching mechanism. In our large-scale experiments, Transformer-VQ is shown highly competitive in quality, obtaining 0.99 bpb on Enwik8, 26.6 ppl on PG-19, and 3.16 bpb on ImageNet64. In addition, the optimized implementation of Transformer-VQ is over 3x faster than a comparable quadratic-time transformer at sequence length 8k, is over 12x faster at 32k, and can scale to 131k with similar throughput. Code available: https://github.com/transformer-vq/transformer_vq

问问这篇 Paper

智能体会读完全文。

Lune 把这篇 Paper 索引到了最后一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。

可以从这些问题问起

智能体调用

Luneget_paper_fulltext

在 Lune 里问

免费开始,无需绑卡

lune papers fulltext 3b486c62-bdf3-4ec8-8b96-ecbf70ce3d34

引用它的顶会 Paper10

问问它们各自怎么用它

它引用的顶会 Paper49

相关 Paper

黄昏的海面,两侧是细线勾勒的悬崖