<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Przemyslaw Joniak on Medium]]></title>
        <description><![CDATA[Stories by Przemyslaw Joniak on Medium]]></description>
        <link>https://medium.com/@joniak?source=rss-d59fb9bdad66------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*oAC-VccWgbGxCfbB4zJjQA.png</url>
            <title>Stories by Przemyslaw Joniak on Medium</title>
            <link>https://medium.com/@joniak?source=rss-d59fb9bdad66------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 20:52:05 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@joniak/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Keep your finger on the PULSE of the super resolution]]></title>
            <link>https://medium.com/@joniak/keep-your-finger-on-the-pulse-of-the-super-resolution-5201a855e1a0?source=rss-d59fb9bdad66------2</link>
            <guid isPermaLink="false">https://medium.com/p/5201a855e1a0</guid>
            <category><![CDATA[super-resolution]]></category>
            <category><![CDATA[generative-adversarial]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[cvpr-2020]]></category>
            <dc:creator><![CDATA[Przemyslaw Joniak]]></dc:creator>
            <pubDate>Sun, 19 Jul 2020 02:04:52 GMT</pubDate>
            <atom:updated>2020-07-19T08:35:44.973Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Brand new image upsampling paradigm.</em></p><p>Increasing resolution of an image is a hot topic. In years to come one might expect bigger, brighter and higher resolution displays. However, pictures we have today may simply be too small for technology we would have in the near future. We do need algorithms to increase image resolution and PULSE is one of them. What makes it special is the ability to upsample a given image up to 64 times while retaining every single detail.</p><p>This article is a brief overview of <em>PULSE: Self-Supervised Photo Upsampling via Latent Space Exploration of Generative Models </em>by S. Menon, A. Damian, S. Hu, N. Ravi.; published at <em>CVPR 2020</em> conference.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zttPdbobRbTkYii6_WCPfg.png" /><figcaption>2005 Sony Bravia commercial. 15 years later we wouldn’t call that image “<em>super resolution”</em>. Copyrights: Sony.</figcaption></figure><h3>How was it done before</h3><p>Existing approaches are mostly fully-supervised. That is, reconstruct a low-quality image given its high resolution reference. As you can guess, Convolutional Neural Networks are heavily exploited here. Although images upsampled this way are of plausible quality, authors of PULSE argue that it might not be the best solution. They point out that it is the most commonly used loss function, mean square error, that is the problem.</p><h3>PULSE: The new image upsampling paradigm</h3><p>The PULSE is a completely different approach to increase the resolution. To upsample an image,<strong> search for a super resolution image that downscales properly to given low-resolution image</strong>. Sounds simple yet brilliant, isn’t it? This method yields highly-detailed, superb quality pictures. In addition, it is feasible to upsample 16x16 image to 1024x1024, a factor of 64! Take a look:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_a0cMAcY2-SKRGKWqSGDLg.png" /><figcaption>Left: a selfie of mine, resolution: 16x16 pixels. Right: upscaled version of the selfie, resolution: 1024x1024.</figcaption></figure><p>But what does it mean to search for an image? Where should we search? Is it even possible? <em>Here is where generative models come.</em></p><p>A generative model is simply a model that generates something. Although PULSE is meant to work with any generative model, authors decided to exploit properties of the StyleGAN model.</p><p>Technically speaking, let ℐ be the given low-resolution image and 𝐺 — StyleGAN’s generator with corresponding latent space ℒ. Let 𝐷𝑆 denote a downsampling function. PULSE seeks for for a vector 𝑧 ∈ ℒ that minimizes:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oKvdJ9XtgPQLXFDWwlXUNQ.png" /></figure><p>To further narrow the search, z is constrained to lie on a d-dimensional hypersphere of radius √𝑑, where 𝑑=512 is the size of StyleGAN’s latent. See the paper, Section 3.2 for detailed explanation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2LGN28z25y4gLNN9FkW0lw.png" /><figcaption>Intermediate images during the generative process.</figcaption></figure><p>There is no need to train the generative model on your own — you can download one from the Internet. During “training” the only thing that needs to be optimized is the latent vector 𝑧. We feed initially uniformly drawn vector 𝑧 to the generator, downsample the result and compare it with the given low-resolution image. We iterate the procedure until we are satisfied with the outcome. Such an approach is called <em>self-supervised learning</em>.</p><p>Unfortunately, we cannot upsample <em>any</em> image. We can deal only with images that are in the domain of a generative model — in case of StyleGAN, it’s faces.</p><h3>Bias</h3><p>As soon as PULSE was released, a Twitter user noticed that Barack Obama’s face upsamples to a caucasian one:</p><h3></h3><p>This image speaks volumes about the dangers of bias in AI https://t.co/GsoQqSr3XP</p><p>The post caused a long and intense discussion of “bias in AI algorithms”. However it is not the algorithms that are biased, it is the data they use. PULSE exploits StyleGAN which was trained on a dataset containing mostly white faces. Thus, outcomes will be biased towards caucasians. Even though the solution is as easy as crafting unbiased dataset, the problem of bias in AI remains an open issue with many questions arisen. <em>Should researchers be fully or partially responsible for their algorithms? If not, who should be? How to precisely define gender, racial or religious bias without hurting anyone?</em></p><h3>… what’s next?</h3><p>Despite its capabilities, PULSE is just a proof of concept and as pointed out by its authors, it should be seen as an artistic project solely. Nonetheless, I look forward to seeing more powerful upsampling models in the near future that draw inspiration from PULSE.</p><p>If you are interested in the topic, check out an <a href="https://github.com/kainoj/keep-pulse/blob/master/pulse.ipynb">implementation</a> where I put across technical details. Also, the PULSE paper is worth reading, too. Contrary to <a href="https://openaccess.thecvf.com/content_CVPR_2020/papers/Menon_PULSE_Self-Supervised_Photo_Upsampling_via_Latent_Space_Exploration_of_Generative_CVPR_2020_paper.pdf">CVPR 2020</a> publication, <a href="https://arxiv.org/abs/2003.03808">arXiv</a> version includes an exhaustive appending.</p><p>[1] S. Menon, A. Damian, S. Hu, N. Ravi, C. Rudin, <a href="https://openaccess.thecvf.com/content_CVPR_2020/papers/Menon_PULSE_Self-Supervised_Photo_Upsampling_via_Latent_Space_Exploration_of_Generative_CVPR_2020_paper.pdf">PULSE: Self-Supervised Photo Upsampling via Latent Space Exploration of Generative Models</a> (2020), 2020 Conference on Computer Vision and Pattern Recognition (CVPR)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5201a855e1a0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>