A self-adapting super-resolution structures framework for automatic design of GAN

Yibo Guo, Haidi Wang, Yiming Fan, Shunyao Li, Mingliang XuarXiv 2021

Abstract

With the development of deep learning, single super-resolution image reconstruction network models are becoming increasingly complex. Small changes in hyperparameters have a significant impact on model performance. Traditionally, experts have explored optimal model parameters based on empirical values or brute-force search. In this paper, we introduce a new super-resolution image reconstruction generative adversarial network (GAN) framework and a Bayesian optimization method used to optimize the hyperparameters of the generator and discriminator. The generator utilizes self-calibrated convolutions, while the discriminator is composed of standard convolutional layers. We define hyperparameters such as the number of network layers and neurons. Our method adopts Bayesian optimization as an optimization policy, which not only finds the optimal hyperparameter solution automatically but also constructs the super-resolution network, reducing manual workload. Experiments show that Bayesian optimization can search for the optimal solution significantly earlier than other common optimization algorithms.

Introduction

Hyperparameter tuning—determining the optimal number of layers or neurons—is a critical yet labor-intensive aspect of deep learning. In Single Image Super-Resolution (SISR), where models are increasingly complex, minor adjustments to these parameters can drastically alter reconstruction quality. Traditionally, researchers have relied on expert intuition or computationally expensive brute-force searches. This paper addresses this "manual workload" bottleneck by proposing an automated, self-adapting framework that optimizes the structure of a Generative Adversarial Network (GAN) for super-resolution without human intervention.

Methodology

The proposed framework utilizes a GAN architecture specifically designed for SISR, optimized via Bayesian Optimization (BO).

GAN Architecture

The architecture consists of two primary components:

  1. Generator (G): Employs self-calibrated convolutions (SC-Conv) instead of standard convolutions. This allows for more effective feature extraction by considering spatial and channel-wise dependencies.
  2. Discriminator (D): A standard convolutional network designed to distinguish between ground-truth high-resolution images and those generated by the network.

Bayesian Optimization (BO)

The core innovation lies in using BO to automatically tune three key hyperparameters: the number of generator layers ($m$), the number of neurons ($n$), and the number of discriminator layers ($k$). BO uses a Gaussian Process as a surrogate model to approximate the objective function, while an Upper Confidence Bound (UCB) acquisition function balances exploration and exploitation.

The proposed framework integrates Bayesian Optimization with a GAN architecture featuring self-calibrated convolutions.

Experimental Setup

The model was trained on the VOC2012 dataset and evaluated on standard super-resolution benchmarks: Set5, Set14, and BSD100. Mean Squared Error (MSE) served as the primary optimization objective, as it directly correlates with Peak Signal-to-Noise Ratio (PSNR), the standard metric for image quality.

Results and Discussion

The performance of BO was compared against two other optimization strategies: COBYLA (a linear approximation method) and Particle Swarm Optimization (PSO).

Optimization Efficiency

BO demonstrated superior efficiency, identifying optimal hyperparameters within just 2 to 3 iterations. In contrast, COBYLA required 9 iterations, and PSO took 19 iterations to reach comparable solutions. This rapid convergence significantly reduces the total GPU time required for model design.

Comparison of optimization curves (MSE vs. Iterations) for Bayes, COBYLA, and PSO algorithms.

Quantitative and Qualitative Performance

On the Set5 dataset, the BO-designed model achieved a PSNR of 29.89, outperforming COBYLA (29.77) and PSO (29.49). Visual results confirmed that BO-tuned models produced sharper edges and fewer artifacts than those tuned by competing algorithms.

Conclusion

This framework successfully automates the design of GAN architectures for super-resolution, significantly reducing manual effort while maintaining high performance. While automated methods currently approach the quality of expert-tuned models, future work will focus on refining acquisition functions and expanding the search space to include more complex architectural features beyond layer and neuron counts.

Summary updated

Abstract

With the development of deep learning, the single super-resolution image reconstruction network models are becoming more and more complex. Small changes in hyperparameters of the models have a greater impact on model performance. In the existing works, experts have gradually explored a set of optimal model parameters based on empirical values or performing brute-force search. In this paper, we introduce a new super-resolution image reconstruction generative adversarial network framework, and a Bayesian optimization method used to optimizing the hyperparameters of the generator and discriminator. The generator is made by self-calibrated convolution, and discriminator is made by convolution lays. We have defined the hyperparameters such as the number of network layers and the number of neurons. Our method adopts Bayesian optimization as a optimization policy of GAN in our model. Not only can find the optimal hyperparameter solution automatically, but also can construct a super-resolution image reconstruction network, reducing the manual workload. Experiments show that Bayesian optimization can search the optimal solution earlier than the other two optimization algorithms.
BibTeX
@misc{guo2021self,
  author = {Yibo Guo and Haidi Wang and Yiming Fan and Shunyao Li and Mingliang Xu},
  title = {{A self-adapting super-resolution structures framework for automatic design of GAN}},
  year = {2021},
  eprint = {2106.06011},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.06011},
}
Figure