[Paper Review] Spatial Frequency Loss for Learning Convolutional Autoencoders
This paper proposes a spatial frequency loss (SFL) for training convolutional autoencoders (CAEs) to reduce blurring in reconstructed images. By applying a Laplacian filter bank to extract high-frequency features and minimizing the mean squared error of these subband features, the method preserves edges and textures more effectively than standard pixel loss, resulting in sharper reconstructions with quantitatively reduced high-frequency loss components.
This paper presents a learning method for convolutional autoencoders (CAEs) for extracting features from images. CAEs can be obtained by utilizing convolutional neural networks to learn an approximation to the identity function in an unsupervised manner. The loss function based on the pixel loss (PL) that is the mean squared error between the pixel values of original and reconstructed images is the common choice for learning. However, using the loss function leads to blurred reconstructed images. A method for learning CAEs using a loss function computed from features reflecting spatial frequencies is proposed to mitigate the problem. The blurs in reconstructed images show lack of high spatial frequency components mainly constituting edges and detailed textures that are important features for tasks such as object detection and spatial matching. In order to evaluate the lack of components, a convolutional layer with a Laplacian filter bank as weights is added to CAEs and the mean squared error of features in a subband, called the spatial frequency loss (SFL), is computed from the outputs of each filter. The learning is performed using a loss function based on the SFL. Empirical evaluation demonstrates that using the SFL reduces the blurs in reconstructed images.
Motivation & Objective
- To address the blurring problem in reconstructed images from convolutional autoencoders (CAEs) trained with standard pixel loss (PL).
- To improve feature extraction for tasks like object detection and spatial matching by preserving high spatial frequency components such as edges and textures.
- To develop a lightweight, efficient loss function that explicitly targets high-frequency content without requiring adversarial training.
- To enable CAEs to reconstruct fine details by leveraging frequency-specific supervision via a learned Laplacian filter bank.
- To demonstrate that explicit modeling of spatial frequency components leads to superior image reconstruction quality compared to PL-based training.
Proposed method
- A Laplacian filter bank with multiple scales (σc = 0.8, 1.6, 3.2) is applied as a convolutional layer in the CAE to extract subband features reflecting spatial frequencies.
- The spatial frequency loss (SFL) is computed as the mean squared error between the feature maps of the original and reconstructed images in each subband.
- The total loss combines SFL and pixel loss (PL) using weighted sum: E_total = w_PL × E_PL + w_SFL × E_SFL, with higher weights for higher-frequency subbands.
- The network is trained using backpropagation with momentum (learning rate 0.02, momentum 0.5), with filter weights initialized from N(0, 0.02) and biases set to zero.
- The SFL is computed per subband and backpropagated to guide learning toward preserving high-frequency components.
- The method is implemented in C++ with CUDA for GPU acceleration, achieving similar training time (~214s/epoch) to standard PL training.
Experimental results
Research questions
- RQ1Can explicit supervision of high spatial frequency components reduce blurring in CAE reconstructions compared to standard pixel loss?
- RQ2Does using a Laplacian filter bank to extract subband features enable better preservation of edges and textures in reconstructed images?
- RQ3How does the proposed SFL-based training compare quantitatively to pixel loss in terms of high-frequency component reconstruction?
- RQ4Can the SFL loss be efficiently integrated into CAEs with minimal computational overhead?
- RQ5Does the combination of SFL and PL lead to a trade-off in reconstruction quality, and if so, how is it balanced?
Key findings
- The SFL of the highest subband (σc = 0.8) was reduced from 18.9 × 10⁻³ to 7.08 × 10⁻³ after 2000 epochs, indicating significant improvement in high-frequency component reconstruction.
- The SFL of the middle subband (σc = 1.6) decreased from 5.69 × 10⁻³ to 2.65 × 10⁻³, showing improved preservation of mid-frequency details.
- The SFL of the lowest subband (σc = 3.2) was reduced from 1.37 × 10⁻³ to 1.34 × 10⁻³, indicating minimal degradation in low-frequency content.
- Qualitative results in Figure 6 and Figure 7 show that the proposed method produces sharper images with better edge and texture recovery compared to PL-based training.
- The learning curves (Figure 5) confirm that while PL loss decreases rapidly, SFL remains high under PL training, explaining the observed blurring; in contrast, SFL decreases steadily under the proposed method.
- The method achieves improved reconstruction quality with only a small increase in training time, demonstrating its efficiency and practicality.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.