跳到主内容
@wquguru
精选70Rohan Paul论文研究

分组查询专家:让长上下文注意力更廉价更快

This paper makes long-context attention cheaper and faster by letting each token…

原文
发到 X

This paper makes long-context attention cheaper and faster by letting each token use only the query heads it needs.

Reached about 1.7 to 1.8 times faster prefill when context length became large.

Standard attention makes every token run through every attention head, even when some heads are not useful for that token.

The paper’s idea, called Grouped Query Experts, keeps the normal key and value cache from grouped-query attention but routes each token to only a few query-head experts.

Grouped Query Experts sits on top of grouped-query attention, the trick many long-context models already use to reduce key-value cache cost.

This is like giving the model many possible attention patterns, while making each token pay for only the small set that seems useful.

The authors trained 250M-parameter models on 30B tokens and compared the method with a normal grouped-query attention baseline.

The best version matched the baseline’s average accuracy, 56.04 versus 55.86, while using 9 of 16 query-attention computations.

shows that attention can be made sparse inside grouped-query attention without hurting quality, but only when the router gets a strong learning signal and one shared head stays always on.

Link – arxiv. org/abs/2606.20945

Title: "Grouped Query Experts: Mixture-of-Experts on GQA Self-Attention"

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

另一事件,读法相近