<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>diffusion models &#8211; About Things | A Hans Scharler Blog</title>
	<atom:link href="https://nothans.com/tag/diffusion-models/feed" rel="self" type="application/rss+xml" />
	<link>https://nothans.com</link>
	<description>Life, Comedy, Games, Tech, Marketing, and Community</description>
	<lastBuildDate>Tue, 30 May 2023 17:05:09 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://i0.wp.com/nothans.com/wp-content/uploads/2023/02/cropped-settings.png?fit=32%2C32&#038;ssl=1</url>
	<title>diffusion models &#8211; About Things | A Hans Scharler Blog</title>
	<link>https://nothans.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">114568856</site>	<item>
		<title>What are Diffusion Models?</title>
		<link>https://nothans.com/what-are-diffusion-models</link>
					<comments>https://nothans.com/what-are-diffusion-models#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Tue, 30 May 2023 17:05:04 +0000</pubDate>
				<category><![CDATA[AI]]></category>
		<category><![CDATA[diffusion models]]></category>
		<category><![CDATA[Stable Diffusion]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=3849</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<p>If you&#8217;ve been following the buzz in the AI community, you&#8217;ve probably heard the term &#8220;diffusion models&#8221; thrown around a lot. But what exactly are these models?</p>



<p>Imagine having a box full of millions of colored particles and you&#8217;re tasked to arrange them to form a stunning, lifelike image. Seems daunting, right? Now, imagine a magical guide that can help you &#8211; slowly, step by step &#8211; organize those particles into a picture-perfect image. This magical guide is what we call a diffusion model in the world of machine learning.</p>



<p>Diffusion models, or to give them their full name, Denoising Diffusion Probabilistic Models (DDPMs), are a type of generative model that can take an initial state of random noise and, through a sequence of transformations, refine it into something meaningful and coherent.</p>



<p>These models are game-changers in AI and have led to some stunning results, creating high-quality samples that compete with other generative models, like the famous GANs and VAEs. </p>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img data-recalc-dims="1" fetchpriority="high" decoding="async" data-attachment-id="3852" data-permalink="https://nothans.com/what-are-diffusion-models/image-19-2" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/05/image-19.png?fit=1072%2C1117&amp;ssl=1" data-orig-size="1072,1117" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-19" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/05/image-19.png?fit=750%2C781&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/05/image-19.png?resize=737%2C768&#038;ssl=1" alt="" class="wp-image-3852" width="737" height="768" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/05/image-19.png?resize=983%2C1024&amp;ssl=1 983w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/05/image-19.png?resize=288%2C300&amp;ssl=1 288w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/05/image-19.png?resize=768%2C800&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/05/image-19.png?resize=750%2C781&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/05/image-19.png?w=1072&amp;ssl=1 1072w" sizes="(max-width: 737px) 100vw, 737px" /><figcaption class="wp-element-caption">Source: Paper: <a rel="noreferrer noopener" href="https://arxiv.org/pdf/2006.11239.pdf" target="_blank">https://arxiv.org/pdf/2006.11239.pdf</a></figcaption></figure>
</div>

<h2 class="wp-block-heading" id="a-realworld-example"><strong>A Real-World Example</strong></h2>


<p>Suppose you&#8217;re working on a project that needs a large number of images of cats, but you don&#8217;t have any at your disposal. A diffusion model can help you here. Start with a random noise image &#8211; think of a TV static screen. The diffusion model then iteratively refines and transforms this noise, and voila! After hundreds or even thousands, of transformations, you&#8217;ll get a lifelike image of a cat.</p>



<p>It&#8217;s like watching a digital artist start with a blank canvas and then gradually paint an image. But instead of an artist, it&#8217;s an AI, and instead of a blank canvas, it&#8217;s random noise.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" decoding="async" width="512" height="512" data-attachment-id="3851" data-permalink="https://nothans.com/what-are-diffusion-models/image-18-2" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/05/image-18.png?fit=512%2C512&amp;ssl=1" data-orig-size="512,512" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Diffusion models of a cat" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/05/image-18.png?fit=512%2C512&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/05/image-18.png?resize=512%2C512&#038;ssl=1" alt="" class="wp-image-3851" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/05/image-18.png?w=512&amp;ssl=1 512w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/05/image-18.png?resize=300%2C300&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/05/image-18.png?resize=150%2C150&amp;ssl=1 150w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/05/image-18.png?resize=500%2C500&amp;ssl=1 500w" sizes="(max-width: 512px) 100vw, 512px" /><figcaption class="wp-element-caption">Stable Diffusion Prompt: an infographic illustrating the process of a diffusion model generating a cat image from random noise</figcaption></figure>
</div>


<p><strong>The Drawbacks</strong></p>



<p>While these models sound exciting, they aren&#8217;t perfect. The main challenge is that they are computationally heavy. The generation process is slow and can take hundreds or thousands of steps, making them less practical in real-time scenarios.</p>



<p>The potential of diffusion models is vast and the research is evolving fast. As we see advances in computational power and more efficient algorithms, these drawbacks may soon become a thing of the past.</p>



<p>Let&#8217;s chat about AI on <a href="/discord" target="_blank" rel="noreferrer noopener">Discord</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/what-are-diffusion-models/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3849</post-id>	</item>
	</channel>
</rss>
