- Rating
- 5
- Clarity
- 2
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper proposed dynamic short convolutions as an input-dependent local mixing primitive for Transformer-like language models. The main idea is to, unlike the fixed depthwise short-convolution filters, use filters generated from the current token representation, and to insert these modules primarily on the Q/K/V projections. The authors evaluate the method on synthetic recall tasks, language modeling at multiple scales, MoE models, and linear attention variants, and also provide custom Triton kernels to reduce the training overhead. Overall, the paper presents a simple and promising architectural modification with encouraging empirical results, although some of the stronger efficiency and comparison claims require more careful support.
Strengths and weaknesses
Strengths
- The paper identifies a clear gap between static short convolutions and attention. Dynamic short convolutions occupy a natural middle ground and allows each token to select a local filter conditioned on the current representation.
- The paper covers large-scale proof of concept, inlcuding dense transformers in different sizes, MoEs, linear attention variants like Mamba-2 and Gated Deltanet. It provides ablations on width, rank, head size, placement, and QK-norm. From table 2, the results can support the proposed dynamic conv.
- The custom Triton kernels are meaningful. The kernel benchmarks and end-to-end throughput measurements make the proposed primitive more credible as a practical component for large-scale training.
Weaknesses
- The first point I'm concerned about is missing an analysis why dynamic conv could work? What does the dynamic learn?
- In table 2, the RULER results of 2B dense Transformers didn't support the argument "dynamic convolutions generally outperform static convolutions across different configurations".For 4k RULER, static conv outperforms the two dynamic variants. Also for 2k RULER, static conv got 58.08, which is higher than dynamic head-wise 52.41 and dynamic low-rank 56.42.
- There is no parameter-matched static/gated/local-mixing baseline. In table 2, the number of parameters of static conv is obviously less than the dynamic conv. This weakens the main arguments of the proposed dynamic conv.
- 2B dense: static conv 1.83B,dynamic low-rank/head-wise 1.88B;
- 300M dense: static conv 305.4M,dynamic variants 311.7M/311.8M;
- Gated DeltaNet/Mamba-2: static 305–306M,dynamic 309M.
Minor point: The notation H appears to be used inconsistently. In the head-wise variant, H seems to denote the head size, since the dynamic-weight tensor is reduced from to . This implies that H represents the number of channels shared within each group. However, in Listing 1 of the appendix, H appears to denote the number of heads. This ambiguity makes the formulation difficult to follow and should be clarified.
Questions
-
As discussed in W1, it remains unclear whether the dynamic filters play different roles across different layers. Where do the observed benefits mainly come from? Are they primarily associated with the dynamic filtering of (Q), (K), or (V)? More detailed visualizations or layer-wise analyses would help clarify the mechanism.
-
Is the proposed dynamic filter better understood as a form of regularization, gating, or adaptive feature modulation? Clarifying this interpretation would make the method easier to understand.
-
In Figure 3, the scaling trend is shown using only five scale points, without confidence intervals, bootstrap estimates, seed variance, or fit uncertainty. In addition, the x-axis reports theoretical compute rather than wall-clock latency. Since dynamic convolution can be memory-bound, the practical efficiency should also account for element-wise local mixing, kernel-launch overhead, and HBM traffic. Could the authors update the plots with uncertainty estimates and extend the scaling analysis beyond five points, for example by including more seeds or additional model scales?
Limitations
The limitations section is useful, but it should more explicitly mention the lack of strict parameter-matched baselines, scaling-law uncertainty.
Paper formatting concerns
No formatting concern
Final justification
According to the additional empirical evidence, I would raise the score.
We thank the reviewer for their constructive feedback and proposals.
Ruler results and long context performance
We believe that the two cells in question (2B, 2k/4k RULER) are evaluation noise. When decomposing the scores we found that the static convolution advantage comes entirely from two of the eleven RULER subtasks (multi-query/multi-value NIAH).
Overall, considering our main results in Table 2, models augmented with dynamic short convolutions win on RULER in 12/15 comparisons, which provides some evidence that they improve long context retrieval. Still, even though we find this evidence encouraging, superiority on RULER is not a central claim of the paper.
To show that the questioned 2B models are indeed strong at long context, we evaluated them on BABILong [1], another long context benchmark similar to RULER. Specifically, we tested on the core QA1-5 subset with 2-shot prompting at input lengths 0k-4k:
The transformer augmented with dynamic convolutions (low rank) is the best model at every length >=1k, and the margin over the transformer with static convolution even grows with context length.
Parameter-matched static convolution results
We trained parameter-matched static convolution baselines for our main results of Table 2 (Transformer 300M/2B, Gated DeltaNet 300M, Mamba-2 300M), where we matched the parameter count of the dynamic convolution variant by increasing the MLP inner dimension. The additional parameters change the results very little, with improvements of 0.01-0.06ppl. We will add these baselines to Table 2.
Transformer 300M:
Transformer 2B:
Gated DeltaNet 300M:
Mamba-2 300M:
Analysis and role of dynamic convolutions
We believe that dynamic convolutions improve transformers for two (connected) reasons: They aggregate local information and can perform context-dependent “tokenization”. As motivated by our synthetic multi-key task in the paper, they can merge multi-token units into single representations. Since attention no longer has to perform local aggregation, it has capacity for other tasks, such as long-range retrieval. We performed preliminary experiments to test both hypotheses on the trained 2B transformers with dynamic convolutions (low-rank).
First, we tested how the dynamic convolutions filters behave for multi-token words. We found that the filter magnitude on a preceding-token tap is around 1.7x higher when that token belongs to the same word than when it belongs to a previous word.
Additionally, we tested whether the attention behaves less locally with dynamic short convolutions. In the base transformer, 6 (out of 1024) heads place on average more than 50% of their attention mass on the previous token, meaning they have learned to almost exclusively retrieve the previous token. In the transformer model augmented with dynamic short convolutions, there are 0 such heads. Similarly, 16 heads in the base transformer aggregate most of the attention mass over the last 4 tokens, compared to only 3 such heads in the transformer augmented with dynamic short convolutions. We will add this analysis and further visualizations to the paper.
Stability of Scaling Law
As suggested we have extended the analysis in various aspects.
More scale points: We have added three data points at the 400M/800M/1.5B scale, making it 8 data points (150M, 300M, 400M, 600M, 800M, 1B, 1.5B, 2B) for the scaling law fit. Refitting gives L=2.819⋅C−0.530 for the base transformer and L=2.771⋅C−0.523 for the transformer augmented with dynamic convolution. The refit slightly improved the compute advantage in our favor from previously 1.33x to now 1.35x.
Fit uncertainty: When refitting with leave-one-out, the resulting fits yield consistent compute advantages between 1.33-1.38. We also tested seed robustness and found that rerunning with a different seed changes the final validation loss only marginally (~0.002 nats for 2B models, more than 20x smaller than base vs. dynamic conv. gap).
FLOPs vs. wall-clock compute: We follow standard practice in using FLOPs on the x-axis, but we agree that practical timings matter. Using our optimized Triton kernels we keep the end-to-end slowdown below 8%. Therefore, accounting for the measured overhead, the 1.35x theoretical compute advantage corresponds to a 1.25x wall-clock advantage.
Notation: Head Dimension vs. Head Count
Thanks for noticing the inconsistency, we will smoothen this in the camera-ready.
[1] Kuratov et al. (2024), “BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystack,” NeurIPS 2024