Explicit Multi Head Attention Inter Head

Implement Multi-head Explicit Attention (MEA) with inter-head interaction for Transformer models. Adds Head-level Linear Composition (HLC) modules and head-level Group Normalization to standard multi-head attention, enabling cross-head communication, faster convergence with larger learning rates, and 50% KV-cache compression via virtual heads. Trigger phrases: - "Add inter-head interaction to my attention layer" - "Implement MEA attention with head-level linear composition" - "Compress KV-cache using virtual heads" - "Replace multi-head attention with explicit cross-head mixing" - "Add head-level normalization to my Transformer" - "Reduce KV-cache memory with low-rank head reconstruction"

ndpvt-web 5e72a26 14.9 KB Updated

File contents

ndpvt-web/arxiv-claude-skills/tree/main/skills/explicit-multi-head-attention-inter-head commit 5e72a262f5

Frequently asked questions

npx skillmds@latest add ndpvt-web/explicit-multi-head-attention-inter-head