Saved in:
Bibliographic Details
Main Authors: Adrai, Theo, Ohayon, Guy, Michaeli, Tomer, Elad, Michael
Format: Preprint
Published: 2023
Subjects:
Online Access:https://arxiv.org/abs/2306.02342
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909283121102848
author Adrai, Theo
Ohayon, Guy
Michaeli, Tomer
Elad, Michael
author_facet Adrai, Theo
Ohayon, Guy
Michaeli, Tomer
Elad, Michael
contents We propose an image restoration algorithm that can control the perceptual quality and/or the mean square error (MSE) of any pre-trained model, trading one over the other at test time. Our algorithm is few-shot: Given about a dozen images restored by the model, it can significantly improve the perceptual quality and/or the MSE of the model for newly restored images without further training. Our approach is motivated by a recent theoretical result that links between the minimum MSE (MMSE) predictor and the predictor that minimizes the MSE under a perfect perceptual quality constraint. Specifically, it has been shown that the latter can be obtained by optimally transporting the output of the former, such that its distribution matches the source data. Thus, to improve the perceptual quality of a predictor that was originally trained to minimize MSE, we approximate the optimal transport by a linear transformation in the latent space of a variational auto-encoder, which we compute in closed-form using empirical means and covariances. Going beyond the theory, we find that applying the same procedure on models that were initially trained to achieve high perceptual quality, typically improves their perceptual quality even further. And by interpolating the results with the original output of the model, we can improve their MSE on the expense of perceptual quality. We illustrate our method on a variety of degradations applied to general content images of arbitrary dimensions.
format Preprint
id arxiv_https___arxiv_org_abs_2306_02342
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Deep Optimal Transport: A Practical Algorithm for Photo-realistic Image Restoration
Adrai, Theo
Ohayon, Guy
Michaeli, Tomer
Elad, Michael
Artificial Intelligence
We propose an image restoration algorithm that can control the perceptual quality and/or the mean square error (MSE) of any pre-trained model, trading one over the other at test time. Our algorithm is few-shot: Given about a dozen images restored by the model, it can significantly improve the perceptual quality and/or the MSE of the model for newly restored images without further training. Our approach is motivated by a recent theoretical result that links between the minimum MSE (MMSE) predictor and the predictor that minimizes the MSE under a perfect perceptual quality constraint. Specifically, it has been shown that the latter can be obtained by optimally transporting the output of the former, such that its distribution matches the source data. Thus, to improve the perceptual quality of a predictor that was originally trained to minimize MSE, we approximate the optimal transport by a linear transformation in the latent space of a variational auto-encoder, which we compute in closed-form using empirical means and covariances. Going beyond the theory, we find that applying the same procedure on models that were initially trained to achieve high perceptual quality, typically improves their perceptual quality even further. And by interpolating the results with the original output of the model, we can improve their MSE on the expense of perceptual quality. We illustrate our method on a variety of degradations applied to general content images of arbitrary dimensions.
title Deep Optimal Transport: A Practical Algorithm for Photo-realistic Image Restoration
topic Artificial Intelligence
url https://arxiv.org/abs/2306.02342