Decouple Learning for Parameterized Image Operators

Qingnan Fan, Dongdong Chen, Lu Yuan, Gang Hua, Nenghai Yu, Baoquan Chen

Abstract

Deep learning has significantly advanced image processing tasks such as denoising, super-resolution, and smoothing. However, standard convolutional neural networks (CNNs) are often "brittle" with respect to operator parameters; a model trained for a specific smoothing strength or upscaling factor cannot easily generalize to others. This paper presents a "Decouple Learning" framework that addresses this limitation by dynamically predicting the weights of a base image-processing network using a secondary weight-learning network. This approach enables a single model to support a continuous range of parameter settings and even multiple distinct image operators, achieving performance nearly identical to specialized, single-purpose models while significantly reducing storage requirements.

Introduction

Many fundamental image operators are inherently parameterized. For instance, $L_0$ smoothing depends on a smoothness parameter $\lambda$, and denoising depends on the noise variance $\sigma$. In traditional deep learning workflows, a separate network must be trained and stored for every specific parameter configuration. This is not only storage-intensive but also prevents users from interactively adjusting parameters to achieve desired visual effects. The core challenge is to create a flexible architecture that can adapt its internal logic based on external control signals without retraining.

Methods

The proposed framework decouples the network structure from its weights. It consists of two primary components:

  1. The Base Network ($N_{base}$): A 20-layer CNN that performs the actual image processing. Unlike standard CNNs, its convolution weights are not fixed during inference but are provided as inputs.
  2. The Weight Learning Network ($N_{weight}$): A manager network composed of fully connected (FC) layers. It takes the desired operator parameters $\vec{\gamma}$ (e.g., $\lambda$ or $\sigma$) as input and outputs the specific convolution kernels $W_i$ for every layer in $N_{base}$.
The Decouple Learning architecture, showing the weight learning network ($N_{weight}$) generating weights for the base network ($N_{base}$).

The mapping from parameters to weights is modeled as a linear transformation for each layer $i$: $$W_i = A_i \vec{\gamma} + B_i$$ where $A_i$ and $B_i$ are the learned parameters of $N_{weight}$. To enhance performance on low-level vision tasks, an edge map is fed alongside the input image to $N_{base}$. The entire system is trained end-to-end using a pixel-wise $L_2$ loss.

Experiments and Results

The model was trained on 17,000 natural images from the PASCAL VOC dataset and evaluated on standard benchmarks like BSD100, BSD68, and LIVE1.

Quantitative Performance

In tests across various operators such as $L_0$ smoothing, Weighted Least Squares (WLS), and Relative Total Variation (RTV), the decoupled model achieved performance very close to "expert" models trained on single, fixed parameters. For example, in $L_0$ smoothing, the average PSNR difference was only 0.86 dB compared to specialized models.

Continuous Parameter Control

A key advantage of this framework is the ability to smoothly transition between parameter settings. As shown in Figure 2, the model can generate high-quality results across a wide range of $\lambda$ values, effectively acting as a continuous "slider" for deep learning effects.

Visual comparison between ground truth (GT) and the proposed method (Ours) across different parameter settings ($\lambda$) for various image operators.

Key Insights

  • Weight Space Continuity: The research reveals that optimal weights for different parameter settings lie in a highly structured, common space navigable by simple linear mapping.
  • Dynamic Receptive Fields: Analysis of the "effective receptive field" showed that the network naturally adapts its focus. For image smoothing, as $\lambda$ increases, $N_{base}$ automatically expands its effective receptive field to incorporate more global context.
  • Efficiency: By including an "operator ID" in the input vector $\vec{\gamma}$, a single model can be trained to perform up to 10 different tasks (e.g., filtering and restoration), drastically reducing the storage footprint compared to maintaining multiple separate models.

Conclusion

Decouple Learning offers a powerful paradigm for creating flexible, multi-purpose image processing networks. By learning to navigate the weight space of a base network, the framework provides continuous parameter control and high efficiency. Future work may explore more complex, non-linear weight mapping functions to further close the performance gap with specialized models and extend the approach to even more diverse computer vision tasks.

Summary updated

BibTeX
@inproceedings{fan2018decouple,
  author = {Qingnan Fan and Dongdong Chen and Lu Yuan and Gang Hua and Nenghai Yu and Baoquan Chen},
  title = {{Decouple Learning for Parameterized Image Operators}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  doi = {10.1007/978-3-030-01261-8\_27},
}
Figure