Skip to main content
QUICK REVIEW

[Paper Review] Image denoising and restoration with CNN-LSTM Encoder Decoder with Direct Attention

Kazi Nazmul Haque, Mohammad Abu Yousuf|arXiv (Cornell University)|Jan 16, 2018
Image and Signal Denoising MethodsComputer Science19 references14 citations
TL;DR

This paper proposes a CNN-LSTM encoder-decoder model with direct attention for image denoising and restoration, combining CNNs for feature extraction and LSTMs for sequence-based reconstruction of missing image parts. Trained on heavily corrupted MNIST digits, the model outperforms standard CNN autoencoders by effectively recovering lost shapes and reducing noise, achieving smoother, more accurate reconstructions through attention and RMSE loss optimization.

ABSTRACT

Image denoising is always a challenging task in the field of computer vision and image processing. In this paper, we have proposed an encoder-decoder model with direct attention, which is capable of denoising and reconstruct highly corrupted images. Our model consists of an encoder and a decoder, where the encoder is a convolutional neural network and decoder is a multilayer Long Short-Term memory network. In the proposed model, the encoder reads an image and catches the abstraction of that image in a vector, where decoder takes that vector as well as the corrupted image to reconstruct a clean image. We have trained our model on MNIST handwritten digit database after making lower half of every image as black as well as adding noise top of that. After a massive destruction of the images where it is hard for a human to understand the content of those images, our model can retrieve that image with minimal error. Our proposed model has been compared with convolutional encoder-decoder, where our model has performed better at generating missing part of the images than convolutional autoencoder.

Motivation & Objective

  • To address the limitation of convolutional autoencoders in reconstructing large missing regions in images.
  • To leverage the memory and sequence modeling capability of LSTMs for image restoration when significant parts are missing.
  • To combine CNN-based feature extraction with LSTM-based sequential generation for improved image denoising and completion.
  • To evaluate the effectiveness of direct attention in enabling the decoder to access both the encoded representation and the raw corrupted image during reconstruction.
  • To demonstrate superior performance on highly corrupted MNIST digits where human perception struggles to identify the original content.

Proposed method

  • The encoder is a convolutional neural network that compresses the corrupted input image into a fixed-size thought vector.
  • The decoder is a multilayer Long Short-Term Memory (LSTM) network that processes the thought vector and the corrupted image row by row, using both the encoded representation and the raw input for reconstruction.
  • Direct attention is implemented by concatenating the encoded vector with the corrupted image at each time step, allowing the LSTM to attend to both global context and local pixel-level information.
  • The model uses a combination of the thought vector and the corrupted image as input to the decoder, enabling it to recover missing content even when the encoder fails to capture full structural information.
  • Training is performed using RMSProp with a learning rate of 0.001, dropout of 25%, and a mean squared error (RMSE) loss function to minimize pixel-wise reconstruction error.
  • The model is trained on a modified MNIST dataset where the lower half of each digit is blacked out and noise is added, simulating severe image degradation.

Experimental results

Research questions

  • RQ1Can an encoder-decoder architecture combining CNN and LSTM outperform standard convolutional autoencoders in restoring images with large missing regions?
  • RQ2Does the integration of direct attention, allowing the decoder to access both the encoded representation and the raw corrupted image, improve reconstruction quality?
  • RQ3To what extent can an LSTM-based decoder generate plausible missing parts of an image when the input is highly corrupted and ambiguous?
  • RQ4How does the use of RMSE loss influence the smoothness and accuracy of the reconstructed image compared to other loss functions?
  • RQ5Is the proposed model more effective than purely convolutional models in recovering structural details of handwritten digits after severe corruption?

Key findings

  • The CNN-LSTM model achieved superior performance in reconstructing missing parts of highly corrupted MNIST digits, where the CNN-CNN autoencoder failed to recover the correct shape.
  • The model successfully restored images with minimal error, even when the lower half of digits was blacked out and noise was added, outperforming baseline convolutional models in visual quality and structural accuracy.
  • The loss curve for the CNN-LSTM model showed a continuous decreasing trend over 500k iterations, indicating stable and effective learning, while the CNN-CNN model's loss plateaued early.
  • The reconstructed images produced by the CNN-LSTM model were smoother and more accurate than the original, due to the RMSE loss encouraging pixel values close to the ground truth, leading to better generalization across stroke widths.
  • The model required 6 hours 58 minutes for training, compared to 4 hours 19 minutes for the CNN-CNN model, indicating a trade-off between training time and reconstruction quality.
  • Visual comparisons in Figure 7 confirmed that the CNN-LSTM model generated sharper, more coherent digits with better edge preservation and shape consistency than the CNN-CNN model.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.