- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 2
- Quality
- 3
- Significance
- 2
Read review
Summary
This work tackles the core inefficiency of standard MHA: the lack of cross-head communication during attention computation. To this end, they propose Interleaved Head Attention (IHA).
Strengths and weaknesses
S1: This paper proposes Interleaved Head Attention (IHA), a drop-in replacement for MHA. The core idea is to enable cross-head information mixing prior to attention computation, thereby breaking the bottleneck of head isolation inherent in standard MHA. The authors provide theoretical justifications spanning expressivity and computational complexity, and the manuscript is well-organized with excellent presentation.
W1: The core operation of IHA involves generating pseudo-heads via learnable linear combinations of the original heads' Q/K/V projections (Lines 136–148). Essentially, this performs a global linear transformation along the head dimension prior to attention computation—analogous to inserting a linear expansion layer without activation functions after the standard Q/K/V projections, upon which the subsequent attention is executed.
W2: Section 4.1, for "IHA Strictly Generalizes MHA". The finding that "IHA strictly generalizes MHA" is relatively straightforward given that MHA is equivalent to an IHA variant with P=1 and α=1. Therefore, I suggest relocating the formal proof from Section 4.1 to the Appendix. Figure 2, which provides a visual explanation, should be retained in the main body to compensate for this change.
W3: Could you elaborate on how the interleaved positioning strategy impacts performance? Since pseudo-heads are assigned distinct virtual positions, I am curious if this interferes with the original positional encoding (e.g., RoPE) or causes unintended inductive biases due to the inflated sequence length PN.
W4: Theoretical analyses assume linear/hard attention and one-hot encodings. As the polynomial filter proofs are built on linear attention rather than the softmax-based attention used in deployed LLMs, the theoretical expressivity guarantees lack a direct generalization pathway to the standard attention mechanism, leaving a gap between theory and practice.
W5: The comparison in Section 5 is not entirely parameter-equivalent, as IHA inherently possesses more parameters. Consequently, it is unclear if the observed improvements justify the architectural change compared to simply investing the same budget into scaling MHA (via depth or width). This omission hinders a definitive judgment on IHA’s practical efficacy.
Questions
See Weaknesses.
Limitations
yes
Paper formatting concerns
no
Final justification
As the authors' replies have resolved my issues, I am inclined to increase my evaluation accordingly.
We thank reviewer ZDsx for their detailed comments and feedback. Below we try to address the weakness and the questions.
W1. The core operation ... is executed.
We are unsure what specific weakness the reviewer intends to identify with this observation. The pseudo-head generation step is indeed linear along the head dimension, but it is unclear whether the reviewer is suggesting that IHA is equivalent to a conventional linear expansion followed by standard MHA, that the mixing can be absorbed into the original Q/K/V projections, or that an existing method performs the same per-head construction. We therefore clarify the operation below.
Consider a single attention layer. Standard MHA first produces H query, key, and value heads:
$ Q _m, K _m, V _m \in \mathbb{R} ^{N \times d}, \qquad m=1,\ldots,H. $
For each output head h, IHA constructs P pseudo-query, pseudo-key, and pseudo-value heads by mixing all H standard heads:
$ \widetilde{Q} _{h,p} = \sum _{m=1} ^{H} \alpha ^{Q} _{m,h,p} Q _m, $
$ \widetilde{K} _{h,p} = \sum _{m=1} ^{H} \alpha ^{K} _{m,h,p} K _m, $
$ \widetilde{V} _{h,p} = \sum _{m=1} ^{H} \alpha ^{V} _{m,h,p} V _m, \qquad p=1,\ldots,P. $
Here, m indexes the original source heads, h indexes the output attention head, and p indexes the pseudo-heads constructed for head h. Thus, each output head receives P different query, key, and value mixtures formed from all heads in the layer. The pseudo-head index is then interleaved with the token index, so each output head h performs scaled dot-product attention over its NP pseudo-head tokens. Finally, the P outputs corresponding to each original token are collapsed to obtain the output of head h. We would appreciate clarification regarding the specific weakness or equivalence the reviewer intends to assert so that we can address the concern directly.
W2. Section 4.1 ... this change.
We thank the reviewer for this helpful suggestion. Due to the current space constraints, we had to remove Figure 2. We agree that the figure would improve the exposition, and we would be happy to move it to the main body n the final version of the paper if additional space is available.
However, we believe that the theorem in Section 4.1 is important to retain in the main paper because it shows that IHA is strictly more expressive than MHA. We believe there may be a misunderstanding here: the theorem establishes a stronger result than the observation that MHA can be recovered by setting P=1. Let M denote the class of functions representable by a single-layer, H-head MHA module, and let PP denote the class of functions representable by a single-layer, H-head IHA module with P pseudo-heads per output head. The theorem establishes that
$ \mathcal{M} \subseteq \mathcal{P} _P \qquad \text{for every fixed } P \geq 1, $
and, moreover, that
$ \mathcal{M} \subsetneq \mathcal{P} _P \qquad \text{for every fixed } P \geq 2. $
The P=1 reduction only shows that one particular IHA configuration reduces to MHA. It does not immediately establish that an IHA architecture with any fixed P≥2 can exactly reproduce every MHA module. When P>1, IHA introduces multiple pseudo-head channels, interleaves them during attention, and subsequently collapses their outputs. An explicit construction is therefore required to show that the additional channels can be configured so that they do not alter the original MHA computation. Our proof provides this construction for every P≥1 by appropriately choosing the mixing and collapse parameters.
Furthermore, the strict-containment result for P≥2 is a separate claim: it shows that IHA can represent functions that cannot be represented by an MHA module with the same number of heads. This does not follow from the P=1 reduction.
We hope this clarifies the distinction between recovering MHA at P=1, containing MHA for every fixed P, and strictly generalizing MHA for P≥2. Since the strict expressivity result is central to our theoretical contribution, we believe that the theorem and its key intuition should remain in the main paper. However, we would be happy to move additional technical details of the proof to the Appendix.
W3. Could you ... length PN.
We would like to clarify that as described in Section 4 and in the experimental setup, we do not modify the RoPE mechanism in IHA. We use the same standard RoPE implementation and the same RoPE base, θ=500,000, for IHA and all baselines. The only difference is that, due to interleaving, IHA treats each token-pseudo-head pair (n,p) as a separate virtual token. Thus, an original sequence of length N is represented as an effective sequence of length PN, and standard RoPE is applied directly to these PN virtual positions.
Assigning distinct positions to the pseudo-heads is intentional: it gives the pseudo-heads associated with the same original token distinct RoPE phases, allowing them to participate differently in the attention computation. The larger RoPE base accommodates this expanded positional range; following the conventional longest-wavelength heuristic, θ is chosen such that θ(d−2)/d>PN/(2π), which is approximately θ>PN/(2π) for sufficiently large d. Since the RoPE implementation and base are held fixed across all methods, the reported comparison does not give IHA a different positional-encoding configuration. Our long-context results indicate that applying standard RoPE to the interleaved positions does not cause a practically harmful interaction at the evaluated lengths.
[Continued below]