Unifying Dimensions: A Linear Adaptive Approach to Lightweight Image Super-Resolution
Zhenyu Hu, Wanjie Sun
TL;DR
Unifying Dimensions develops LAMNet, a convolution-based Transformer for lightweight SISR that replaces local self-attention with a Linear Adaptive Mixer built from LSAM and CSM. A parameter-free Information Exchange Module and a Dual-Gated FFN preserve cross-branch interactions and high-dimensional channel information, yielding linear-complexity adaptive modeling. Empirically, LAMNet achieves Transformer-like performance with 2–3× faster inference than SA-based transformers and outperforms prior lightweight SR methods on multiple benchmarks. The work offers practical implications for real-time SR on devices with restricted compute and memory resources by balancing modeling power with throughput.
Abstract
Window-based transformers have demonstrated outstanding performance in super-resolution tasks due to their adaptive modeling capabilities through local self-attention (SA). However, they exhibit higher computational complexity and inference latency than convolutional neural networks. In this paper, we first identify that the adaptability of the Transformers is derived from their adaptive spatial aggregation and advanced structural design, while their high latency results from the computational costs and memory layout transformations associated with the local SA. To simulate this aggregation approach, we propose an effective convolution-based linear focal separable attention (FSA), allowing for long-range dynamic modeling with linear complexity. Additionally, we introduce an effective dual-branch structure combined with an ultra-lightweight information exchange module (IEM) to enhance the aggregation of information by the Token Mixer. Finally, with respect to the structure, we modify the existing spatial-gate-based feedforward neural networks by incorporating a self-gate mechanism to preserve high-dimensional channel information, enabling the modeling of more complex relationships. With these advancements, we construct a convolution-based Transformer framework named the linear adaptive mixer network (LAMNet). Extensive experiments demonstrate that LAMNet achieves better performance than existing SA-based Transformer methods while maintaining the computational efficiency of convolutional neural networks, which can achieve a \(3\times\) speedup of inference time. The code will be publicly available at: https://github.com/zononhzy/LAMNet.
