MOSAIC: Masked Optimisation with Selective Attention for Image Reconstruction

Pamuditha Somarathne, Tharindu Wickremasinghe, Amashi Niwarthana, Arulmolivarman Thieshanthan, Chamira U. S. Edussooriya, Dushan N. WadduwagearXiv 2023 · DOI

Introduction

Compressive Sensing (CS) enables the reconstruction of high-dimensional signals from a limited number of linear measurements, effectively bypassing the Nyquist-Shannon sampling limit. While traditional CS relied on iterative optimization, modern deep learning approaches have significantly improved reconstruction speed and quality. However, many existing deep learning models suffer from rigidity—being tied to specific sampling matrices—or excessive complexity due to "deep unrolling" architectures. MOSAIC (Masked Optimisation with Selective Attention for Image Reconstruction) addresses these challenges by framing image reconstruction as a sequence completion problem using a Transformer-based architecture.

Methodology

The MOSAIC framework utilizes an asymmetric encoder-decoder structure inspired by Masked Autoencoders (MAE). The process begins with a structured embedding that leverages the mathematical properties of the sampling basis.

Structured Embedding and Masking

Instead of directly processing raw measurements, MOSAIC projects them into a higher-dimensional space. The model treats the reconstruction task as a sequence completion problem, where only a subset of measurements is available. By calculating a structured projection using the known sampling basis, the model receives a mathematical "head-start" that identifies where specific information belongs in the spectral domain.

The structured embedding process projects measurements back into a spectral domain using the known sampling basis, followed by a masking operation.

Architecture

The core architecture consists of three main stages:

  1. Embedding Layer: Projects the sparse measurements into a latent space, providing an inductive bias based on the sampling basis.
  2. Masked Encoder: A Transformer-based encoder that processes only the available (unmasked) measurement tokens. It uses self-attention to capture global dependencies and identify salient features.
  3. Unmasked Decoder: Reconstructs the full image by combining encoded tokens with learned placeholder tokens for the missing measurements.
The MOSAIC architecture features a structured embedding layer followed by a masked Transformer encoder and an unmasked decoder for single-shot reconstruction.

Experimental Results

MOSAIC was evaluated on standard benchmarks including Set11, BSD100, and Urban100. The model demonstrates superior performance across various compression ratios compared to state-of-the-art (SOTA) models like ISTA-Net++, AMP-Net, and TransCS.

On the Set11 dataset with a 10% sampling rate (0.1 compression ratio), MOSAIC achieved a Peak Signal-to-Noise Ratio (PSNR) of 29.93 dB. Notably, the model excels at preserving high-frequency details and fine textures, which are often blurred by convolutional-based unrolling methods. Furthermore, MOSAIC maintains robustness against Gaussian noise, leveraging its attention mechanism to filter out signal-independent disturbances.

Conclusion

MOSAIC represents a shift in CS reconstruction by moving away from iterative unrolling toward a single-shot Transformer-based approach. By integrating the structural knowledge of the sampling basis into the embedding layer, the model achieves high-fidelity reconstruction with greater flexibility and efficiency than previous methods. Future work includes extending the framework to non-orthogonal sampling matrices and exploring adaptive sampling strategies.

Summary updated

BibTeX
@misc{somarathne2023mosaic,
  author = {Pamuditha Somarathne and Tharindu Wickremasinghe and Amashi Niwarthana and Arulmolivarman Thieshanthan and Chamira U. S. Edussooriya and Dushan N. Wadduwage},
  title = {{MOSAIC: Masked Optimisation with Selective Attention for Image Reconstruction}},
  year = {2023},
  eprint = {2306.00906},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.00906},
}
Figure