Response to Reviewer fY4p (denoted as R2)
`Q2-1:` Some details in the paper are not clear. For example, the representative map size "h" is set as 4 for training but 16 for testing. Why not use the same settings?
`A2-1:`
Thank you for your question. We use different settings as a trade-off between complexity and performance.
1. For **training**, we set h=4 to speed up the training process (compared to h=16). Since the training input patch size is 64×64, this setting does not result in significant information loss.
2. For **testing**, we need to process the whole image, where the input image resolution may be large. For instance, the img001 in Urban100 (×2) is 512×322, much larger than 4×4. The h=4 may lose too much information, leading to a substantial decrease in performance. Therefore, we apply h=16.
3. We conduct tests with h=4, 16, and 64 in RGT-S on Urban100 (×2). The input size is 3×256×256 for calculating FLOPs.
| Method | Params(M) | FLOPs(G) | PSNR(dB) | SSIM |
| ------ | :-------: | :-------: | :------: | :----: |
| h=4 | 10.05 | 716.82G | 32.78 | 0.9336 |
| h=16 | 10.05 | 793.45G | 34.32 | 0.9457 |
| h=64 | 10.05 | 2,019.55G | N/A | N/A |
**Note:** When h=64, the complexity is too high that it cannot be tested on the full image.
4. Compared to h=4, h=16 achieves a slight increase in complexity but a significant performance improvement. However, further increasing h would result in excessively high complexity, rendering the model inoperable.
5. In summary, we set h=4 during training and h=16 for testing to balance performance and complexity.
`Q2-2:` The RGT-S and RGT all adopt a larger window size than SwinIR. To establish a fairer comparison, it is recommended to use the same window size.
`A2-2:`
Thank you for your valuable suggestions. We have provided a model with the same window size as SwinIR, named RGT-sw, in the supplementary material. Details in Sec. 1.1. Here, we present the corresponding table (only PSNR).
| Method | Params | FLOPs | Set5 | Set14 | B100 | Urban100 | Manga109 |
| ------ | :----: | :-----: | :---: | :---: | :---: | :------: | :------: |
| SwinIR | 11.75M | 205.31G | 38.42 | 34.46 | 32.53 | 33.81 | 39.92 |
| RGT-sw | 11.60M | 187.73G | 38.46 | 34.54 | 32.54 | 33.90 | 40.12 |
Our RGT-sw, with similar computational complexity and parameters, outperforms SwinIR in performance. In particular, our RGT-sw achieves an improvement of 0.2dB on Manga109. This demonstrates the effectiveness of our proposed method.
`Q2-3:` It would be beneficial to include comparisons with more recent methods, to evaluate the effectiveness of the proposed method.
`A2-3:`
Thank you for your suggestions. We have conducted comparisons with more recent SR methods, including EDT [ref1], ART [ref2], and DAT [ref3]. Models are tested on Urban100 (×2). The input size for calculating FLOPs is 3×256×256.
| Method | Params | FLOPs | PSNR(dB) | SSIM |
| ---------------- | :----: | :-------: | :------: | :----: |
| EDT-B (arXiv'22) | 11.48M | 1,105.16G | 33.81 | 0.9427 |
| ART-S (ICLR'23) | 11.72M | 1,228.98G | 34.02 | 0.9437 |
| DAT-S (ICCV'23) | 11.06M | 773.35G | 34.12 | 0.9444 |
| RGT-S (ours) | 10.05M | 793.45G | 34.32 | 0.9457 |
1. Compared with **EDR-B** and **ART-S**, our RGT-S performs better with lower computational complexity and fewer parameters.
2. Compared with **DAT-S**, our method shows an improvement of 0.2dB on PSNR with comparable complexity and parameters.
3. These comparisons underscore the effectiveness of our proposed method, which utilizes a global attention mechanism with linear complexity.
[ref1] Wenbo Li, Xin Lu, Jiangbo Lu, Xiangyu Zhang, and Jiaya Jia. On efficient transformer and image pre-training for low-level vision. arXiv preprint arXiv:2112.10175, 2021.
[ref2] Jiale Zhang, Yulun Zhang, Jinjin Gu, Yongbing Zhang, Linghe Kong, XinYuan. Accurate Image Restoration with Attention Retractable Transformer, In ICLR, 2023.
[ref3] Zheng Chen, Yulun Zhang, Jinjin Gu, et al. Dual Aggregation Transformer for Image Super-Resolution, In ICCV, 2023.
`Q2-4:` A comparison of running times should be given, which is important for practical applications of the model.
`A2-4:`
Thank you for your suggestions. We calculate the running times on one A100 GPU at ×4 scale. The input size is set to 3×128×128. We compare SwinIR, CAT-A, RGT-S, and RGT. For accuracy, we calculate the average time with 100 inputs.
| Method | SwinIR | CAT-A | RGT-S | RGT |
| ----------------- | :----: | :----: | :----: | :----: |
| Running Time (ms) | 121.67 | 240.10 | 116.19 | 157.77 |
1. Our RGT-S and RGT achieve lower running times than CAT-A.
2. Our RGT-S also exhibited a lower running time compared to SwinIR.