- Rating
- 5
- Clarity
- 3
- Confidence
- 2
- Originality
- 4
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper presents a framework for position encoding and residuals in vision transformers networks called Dual-Domain Residual(DDR). DDR includes a Spectral-Conditioned QK Bias (SCQB) and a learned gated attention for residuals. DDR includes two branches, the spectral branch and the attention branch with SCQB. These branches are gated so that the model can learn to schedule these branches across layers. The spectral branch uses learned filters in the 2D fourier domain. The attention branch with SCQB is then computing attention with a relative position bias that is parameterized in the frequency domain. This framework allows the model to 1. dynamically utilize the spectral mixing at different layers 2. use fewer parameters for the relative bias compared to prior methods such as Swin 3) Structurally exact transformation of position encoding to larger patch sizes. These advantages allow the DDR models to outperform prior spectral methods like SpectFormer on ImageNet-1K with fewer parameters. The method scales well with model size and its FLOP % decreases with larger models meaning the framework adds little overhead. The DDR model achieve up to 82.5 top 1 accuracy on ImageNet-1K at the base scale.
Strengths and weaknesses
Strengths:
- Thorough derivation/implementation of the method
- Strong performance against relevant prior methods
- Memory/FLOP savings compared to Swin method
- Extensive ablations for contributions
Weaknesses:
- Lower performance than more recent methods such as DeiT-III (which is mentioned however, not reported)
- Benchmark is not convincing of the necessity of spectral methods
Questions
-
In general what is the advantage of these "spectral methods"? Is there a particular modality/task? This would help me understand the motivation behind the method. It seems like ImageNet isn't necessarily the primary target since, we have very strong methods for ImageNet. Or simpler, is there a particular failure case of current methods that can be shown explicitly on ImageNet, like training/inference on different patch sizes?
-
The paper frequently mentions the DeiT-III (and even uses the recipe) however does not report the performance of the model. Why is that? The authors allude to its performance with: "A 1–2 pp recipe gap between DeiT and DeiT-III on the same backbone is well documented". This would better contextualize the performance of DDR with more standard vision transformers.
-
In Table 2. it would be helpful to include the performance of other methods that were mentioned like: DeiT-III, RoPE and ALiBi. Also, can the authors clarify what they mean by: "Best Top-1 per group in bold." in the caption? By group does this mean the # of parameters?
-
Based on Table 3, ablation A3, the learned gating does not affect performance. Am I interpreting that correctly? It would be useful to show that the learned gating is necessary perhaps by adding a different benchmark on a separate task/modality where the learned gating does not converge to just the hand coded schedule?
-
In Figure 6, the authors show that zero-padding preserves the bandlimited kernel; however, interpolation smooths it. What does this mean? Why is smoothing not preferable? It would be helpful to explain this or to show via experiments by evaluating the models at different resolutions. Semi-related; is it possible to decrease the patch size using the same closed-form?
Limitations
Yes
Paper formatting concerns
N/A
Final justification
The paper presents a method for spectral bias and residual in attention. The method had strong performance against relevant prior methods, memory savings and had ablations for its contributions. The main weaknesses I identified are the lack of performance against prior methods like DeiT-III as well as the motivation for the method. Through the rebuttal, the authors addressed my concerns by providing additional experiments such as altering training/inference patch size. With the results from the rebuttal, I believe the authors had addressed my questions and concerns so my final score is 5: accept.
Thank you for questions that pushed us to demonstrate the motivation rather than assert it. Your Q1 suggestion of a concrete failure case became one of our new experiments. All five questions are answered below; Q2 also addresses your first weakness and Q1 your second.
Q1 (what are spectral methods for?). Two answers. In general, the structural properties matter wherever training and test grids differ or parameters are tight: variable-resolution deployment (detection/segmentation backbones, train-small/test-large pipelines), and modalities with native multi-resolution or spectral structure (audio spectrograms, medical and remote-sensing imagery). Concretely, on ImageNet as you suggested: cross-resolution deployment. A model trained at 224 and evaluated elsewhere must interpolate its spatial table (the standard Swin recipe), producing an approximation to a different function than the one trained; SCQB's coefficients define a bandlimited function on the patch torus, and zero-padding evaluates that same function on a finer grid. Accuracy-vs-resolution results (128 to 448, three transfer rules) post 1-2 August. Since patch size and resolution act through the same token grid (a P=16 model at 448 sees the same grid as P=8 at 224), this also covers the patch-size version of your suggestion.
Q2 (DeiT-III). DeiT-III's smallest ImageNet-1K model is ViT-S: the paper reports no ImageNet-1K result, and releases no checkpoint, for anything smaller, which is why our strongest group (Tiny) had no DeiT-III comparator. Its headline numbers also come from a longer, heavier protocol than ours. DeiT-III ViT-S and ViT-B will appear in Table 2 with recipe annotations:
The 1-2 pp sentence you quote refers to the documented DeiT vs DeiT-III recipe gap on the same backbone; it is why Table 2 marks cross-paper numbers as context and why every arm in our controlled series is retrained under one recipe. At matched budget DDR-S leads by 1.3 pp while DeiT-III ViT-B leads DDR-B-Deep by 0.3 pp using 37% more parameters; we report both without adjustment and do not claim state of the art.
Q3. The RoPE/ALiBi/CPE/Swin numbers were in Appendix C Fig 5; we agree they belong in Table 2 and will move them there with "quoted, recipe differs" markers, plus a controlled 2D-RoPE row trained in our own backbone under the identical recipe (result posts 30 July). "Group": your reading is right; the Tiny/Small/Base sub-headers partition rows by parameter scale, and bold marks the best top-1 within each group. The caption will say so explicitly.
Q4. Your reading is right (+0.12 pp is below our 0.2 pp threshold). But A3 tests something narrower than our text implied, thank you for catching it: it compares two learned gate forms (asymmetric vs symmetric); no row compares learned vs a frozen hand-coded schedule. The gate's value is removing SpectFormer's per-model spectral-depth hyperparameter, plus the learned schedule reproducing the hand-coded prior (|rho|=0.869) without supervision. We are running your proposed test directly: the same Tiny backbone with gates frozen to SpectFormer's binary schedule vs learned gates, on ImageNet-100 (the largest run that completes inside the window); result posts by 2 August. We intend to include the transfer-dataset version in the revision.
Q5. Interpolation is a smoothing (low-pass) operation: its error concentrates precisely in the high-frequency components, where the learned structure lives, so at test time the network sees a different kernel than the one it trained with. Zero-padding evaluates the trained bandlimited function on a denser grid: the same kernel, sampled more finely. The cross-resolution study measures the consequence. Patch size: yes, and the direction is favorable; a smaller patch gives a finer grid, which is the exact zero-padding direction. A larger patch (or lower resolution) gives a coarser grid; there the closed form is coefficient truncation, the adjoint of zero-padding, exact for every retained frequency and anti-aliased by construction. We will add this to the Fig 6 caption and Sec 3.3.
We hope these answers make both the motivation and the mechanics clear, and we are happy to expand on any of them during the discussion period.