Learning a generalized prior for natural image restoration is an important yet challenging task. Early methods mostly involved handcrafted priors including normalized sparsity, $$\ell _0$$ gradients, dark channel priors, etc. Recently, deep neural networks have been used to learn various but do not guarantee generalize. In this paper, we propose novel approach that embeds task-agnostic into tra...