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 wreiddiol | Saesneg |
|---|---|
| Rhif yr erthygl | 115311 |
| Nifer y tudalennau | 13 |
| Cyfnodolyn | Knowledge-Based Systems |
| Cyfrol | 336 |
| Dyddiad ar-lein cynnar | 15 Ion 2026 |
| Dynodwyr Gwrthrych Digidol (DOIs) | |
| Statws | Cyhoeddwyd - 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
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver