Convolution neural networks (CNNs) have succeeded in compressive image sensing. However, due to the inductive bias of locality and weight sharing, the convolution operations demonstrate the intrinsic limitations in modeling the long-range dependency. Transformer, designed initially as a sequence-to-sequence model, excels at capturing global contexts due to the self-attention-based architectures even though it may be equipped with limited localization abilities. This paper proposes CSformer, a hybrid framework that integrates the advantages of leveraging both detailed spatial information from CNN and the global context provided by transformer for enhanced representation learning. The proposed approach is an end-to-end compressive image sensing method, composed of adaptive sampling and recovery. In the sampling module, images are measured block-by-block by the learned sampling matrix. In the reconstruction stage, the measurement is projected into dual stems. One is the CNN stem for modeling the neighborhood relationships by convolution, and the other is the transformer stem for adopting global self-attention mechanism. The dual branches structure is concurrent, and the local features and global representations are fused under different resolutions to maximize the complementary of features. Furthermore, we explore a progressive strategy and window-based transformer block to reduce the parameter and computational complexity. The experimental results demonstrate the effectiveness of the dedicated transformer-based architecture for compressive sensing, which achieves superior performance compared to state-of-the-art methods on different datasets.
翻译:电动神经网络(CNNs)在压缩图像感测方面取得了成功。然而,由于地点和重量共享的诱导偏差,变动操作显示了长距离依赖性模型模型的内在局限性。变异器最初设计为顺序到顺序模型,由于基于自我注意的架构,在捕捉全球背景方面优异,尽管它可能具备有限的本地化能力。本文提出了CSexer,这是一个混合框架,其中结合了利用CNN的详细空间信息和变压器提供的全球背景的详细空间信息的优势,以加强代表性学习。拟议的方法是一种端到端的压缩图像感测方法,由适应性取样和恢复组成。在取样模块中,图像被作为逐个测量,由学习的抽样矩阵进行。在重建阶段,测量结果被投射为双向。一个CNN是利用变压器模型来模拟周边关系,另一个是采用全球自留机制的变电源。我们同时存在双重分支结构,而本地特征和全球形象是结合不同分辨率的组合,根据不同分辨率进行压缩的压缩压缩压缩的压缩式图像模型,以最大限度地进行实验性变压。此外,通过不同的试测测测测测测算。