
Tensor Product Attention Is All You Need
🤗 Upvotes: 38 | cs.CL, cs.AI, cs.LG Authors: Yifan Zhang, Yifeng Liu, Huizhuo Yuan, Zhen Qin, Yang Yuan, Quanquan Gu, Andrew Chi-Chih Yao Title: Tensor Product Attention Is All You Need Arxiv: http://arxiv.org/abs/2501.06425v1 Abstract: Scaling language models to handle longer input sequences typically necessitates large key-value (KV) caches, resulting in substantial memory overhead during inference. In this paper, we propose Tensor Product Attention (TPA), a novel attention mechanism that uses tensor decompositions to represent queries, keys, and values compactly, significantly shrinking KV…
The skinny
The skinny isn't ready yet — notes appear once the transcript is processed.