PaliGemma 3B text tower MQA: 1 KV head of 8, 18,432 B/token, 8x under full MHA
Fields
kv-efficiency/paligemma-3b-mqa-8x-kvNotes
Closes the MQA gap. Every other attention row in the collection is GQA, MLA, sliding window, or a hybrid; none is single-KV-head MQA, and PaliGemma is the catalog model that actually uses it. REDUCTION VERSUS FULL MHA ON THE SAME SKELETON: 147,456 / 18,432 = 8.0x. ABSOLUTE CACHE AT THE 8,192 CONTEXT THE HEADER DECLARES: 18,432 x 8,192 = 150,994,944 bytes = 144 MiB. Full MHA on the same decoder would be 1,152 MiB, eight times more, for a 3B model whose weights already fit in a few GB. That is the whole point of MQA on a small vision-language model: the cache stops mattering. The reduction is free in the sense that it is the trained architecture; there is no perplexity delta to report because there is no compressed-versus-uncompressed pair. CAVEATS: the header is a third-party conversion of a gated checkpoint, text tower only, so the vision tower's own attention cache is not included. The model record already stores 18,432 B/token from the same header; this row adds the MHA comparison and the absolute cache at 8K, which the model record does not state. Confidence is 0.74 because the official config could not be opened.