Neidio i’r brif dudalen lywio Neidio i chwilio Neidio i’r prif gynnwys

Grouped query attention supported with graph-based query clustering

  • Ling Zheng
  • , Yujia Zhang
  • , Liang Shen*
  • , Chong Miao
  • , Qiang Shen
  • *Awdur cyfatebol y gwaith hwn
  • Fujian Maternity and Child Health Hospital
  • Beijing Institute of Astronautical Systems Engineering
  • Fujian Business University

Allbwn ymchwil: Cyfraniad at gyfnodolyn › Erthygl › adolygiad gan gymheiriaid

3 Dyfyniadau (Scopus)
22 Wedi eu Llwytho i Lawr (Pure)

Crynodeb

Grouped Query Attention (GQA), is a generalized form of multi-query attention, crafted to minimize the size of models by enabling shared key-value pairs for given queries. This approach facilitates faster decoder inference. Nonetheless, disparities between the queries may introduce uncertainty in the key-value pairs, leading to a decline in the message propagation effectiveness of the attention models. A potential solution to this problem is to cluster queries based on their proximity into groups that share a key-value pair. This paper proposes a novel framework to enhance GQA, exploiting a graph method to cluster akin queries. It adaptively guides the fusion of key-value pairs to reduce model parameters while preserving inference performance. Three different clustering methods, namely k-means, Hungarian Algorithm, and Blossom Algorithm, have each been employed to instantiate the clustering-based GQA (CGQA). This approach is validated through applications to two real-world problems, addressing tasks of Natural Language Understanding and Natural Language Generation, respectively. The comparative experimental analysis carried out demonstrates that the proposed approach outperforms the existing GQA methods, reinforcing the effectiveness of the underlying attention models.

Iaith wreiddiolSaesneg
Rhif yr erthygl115311
Nifer y tudalennau13
CyfnodolynKnowledge-Based Systems
Cyfrol336
Dyddiad ar-lein cynnar15 Ion 2026
Dynodwyr Gwrthrych Digidol (DOIs)
StatwsCyhoeddwyd - 15 Maw 2026

Ôl bys

Gweld gwybodaeth am bynciau ymchwil 'Grouped query attention supported with graph-based query clustering'. Gyda’i gilydd, maen nhw’n ffurfio ôl bys unigryw.

Dyfynnu hyn