arXiv:2309.16354
공식 코드 · Papers with Code
Transformer-VQ: Linear-Time Transformers via Vector Quantization
원문 초록
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: \url{https://github.com/transformer-vq/transformer_vq}
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
DETRPose: Real-time end-to-end transformer model for multi-person pose estimation
RecGPT: A Foundation Model for Sequential Recommendation
BEAST: Efficient Tokenization of B-Splines Encoded Action Sequences for Imitation Learning
MuLoCo: Muon is a practical inner optimizer for DiLoCo
On the Interplay of Privacy, Persuasion and Quantization
Sentinel: Decoding Context Utilization via Attention Probing for Efficient LLM Context Compression
토론
이 논문과 연결된 포럼 글이 아직 없습니다.