تولید تصویر و مدلهای چندوجهی
هوش مصنوعی برای همه: هوش مصنوعی چطور باهوش شد؟
- The progression from earlier learned image generators to diffusion-based systems.
- A high-level contrast between adversarial training and learning to remove added noise.
- Diffusion generation as repeated denoising guided by learned patterns.
- Text conditioning and why a requested image is not simply retrieved from a gallery.
- Latent representations as compressed working spaces rather than ordinary picture files.
- Multimodal models that connect text, images, and other input types through learned representations.
- Limitations involving exact counts, spatial relationships, fine detail, and unsupported descriptions of images.
از رقابت تا حذف نویز
```svg
<svg viewBox="0 0 800 450" xmlns="http://www.w3.org/2000/svg"><defs><marker id="arr" markerWidth="10" markerHeight="10" refX="8" refY="3" orient="auto"><path d="M0,0 L0,6 L9,3 z" class="tm-arrow"/></marker></defs><rect x="35" y="55" width="315" height="340" rx="18" class="tm-soft"/><text x="192" y="90" class="tm-text" font-size="22" text-anchor="middle">GAN</text><rect x="75" y="135" width="105" height="58" rx="12" class="tm-surface"/><text x="127" y="170" class="tm-text" font-size="17" text-anchor="middle">generator</text><rect x="205" y="135" width="105" height="58" rx="12" class="tm-accent"/><text x="257" y="170" class="tm-text" font-size="17" text-anchor="middle" direction="rtl">تصویر</text><path d="M180 164 L200 164" class="tm-line-accent" marker-end="url(#arr)"/><rect x="130" y="270" width="145" height="60" rx="12" class="tm-gold"/><text x="202" y="306" class="tm-text" font-size="16" text-anchor="middle">discriminator</text><path d="M257 195 C270 225 250 245 230 266" class="tm-line" marker-end="url(#arr)"/><path d="M130 270 C95 245 95 220 120 198" class="tm-line-accent tm-flow" marker-end="url(#arr)"/><rect x="390" y="55" width="375" height="340" rx="18" class="tm-soft"/><text x="577" y="90" class="tm-text" font-size="22" text-anchor="middle">diffusion</text><rect x="430" y="150" width="105" height="65" rx="12" class="tm-accent"/><text x="482" y="178" class="tm-text" font-size="16" text-anchor="middle" direction="rtl">تصویر</text><text x="482" y="200" class="tm-muted" font-size="14" text-anchor="middle" direction="rtl">نویزدار</text><rect x="610" y="150" width="105" height="65" rx="12" class="tm-green"/><text x="662" y="178" class="tm-text" font-size="16" text-anchor="middle" direction="rtl">تصویر</text><text x="662" y="200" class="tm-muted" font-size="14" text-anchor="middle" direction="rtl">کمنویز</text><path d="M540 182 L603 182" class="tm-line-accent tm-flow" marker-end="url(#arr)"/><text x="577" y="265" class="tm-muted" font-size="16" text-anchor="middle" direction="rtl">حذف تدریجی نویز</text></svg>
```
آموزش و تولید در diffusion
```svg
<svg viewBox="0 0 800 450" xmlns="http://www.w3.org/2000/svg"><defs><marker id="arrow" markerWidth="10" markerHeight="10" refX="8" refY="5" orient="auto"><path d="M0,0 L10,5 L0,10 z" class="tm-arrow"/></marker></defs><text x="205" y="42" class="tm-text-accent" font-size="22" text-anchor="middle" direction="rtl">آموزش</text><text x="595" y="42" class="tm-text-green" font-size="22" text-anchor="middle" direction="rtl">تولید</text><rect x="65" y="85" width="120" height="90" rx="12" class="tm-surface"/><circle cx="125" cy="130" r="25" class="tm-gold"/><text x="125" y="205" class="tm-text" font-size="16" text-anchor="middle" direction="rtl">تصویر واقعی</text><path d="M190 130 H250" class="tm-line" marker-end="url(#arrow)"/><rect x="260" y="85" width="120" height="90" rx="12" class="tm-soft"/><circle cx="320" cy="130" r="25" class="tm-gold"/><circle cx="300" cy="115" r="3" class="tm-text2"/><circle cx="335" cy="140" r="3" class="tm-text2"/><circle cx="320" cy="155" r="3" class="tm-text2"/><text x="320" y="205" class="tm-text" font-size="16" text-anchor="middle" direction="rtl">افزودن نویز</text><path d="M385 130 H445" class="tm-line" marker-end="url(#arrow)"/><rect x="455" y="85" width="120" height="90" rx="12" class="tm-accent"/><text x="515" y="135" class="tm-text" font-size="17" text-anchor="middle" direction="rtl">نویز</text><text x="515" y="205" class="tm-text" font-size="16" text-anchor="middle" direction="rtl">شروع تولید</text><path d="M580 130 H630" class="tm-line" marker-end="url(#arrow)"/><rect x="640" y="85" width="100" height="90" rx="12" class="tm-green"/><text x="690" y="135" class="tm-text" font-size="17" text-anchor="middle" direction="rtl">تصویر</text><text x="690" y="205" class="tm-text" font-size="16" text-anchor="middle" direction="rtl">نهایی</text><text x="205" y="285" class="tm-text2" font-size="18" text-anchor="middle" direction="rtl">نسخهٔ نویزی ← پیشبینی نویز</text><text x="205" y="325" class="tm-muted" font-size="16" text-anchor="middle" direction="rtl">خطا سنجیده میشود؛ مدل اصلاح میشود</text><path d="M690 190 C690 370 515 370 515 190" class="tm-line-accent" marker-end="url(#arrow)"/><text x="600" y="390" class="tm-text-accent" font-size="17" text-anchor="middle" direction="rtl">پیشبینی ← بهروزرسانی ← تکرار</text><text x="515" y="245" class="tm-text" font-size="16" text-anchor="middle" direction="rtl">کمنویزتر</text></svg>
```
متن مسیر تصویر را هدایت میکند
```svg
<svg viewBox="0 0 800 450" xmlns="http://www.w3.org/2000/svg"><defs><marker id="arrow" markerWidth="10" markerHeight="10" refX="8" refY="3" orient="auto"><path d="M0,0 L0,6 L9,3 z" class="tm-arrow"/></marker></defs><rect x="35" y="170" width="145" height="70" rx="12" class="tm-soft"/><text x="107" y="198" class="tm-text" font-size="16" text-anchor="middle" direction="rtl">درخواست متن</text><text x="107" y="222" class="tm-text2" font-size="14" text-anchor="middle" direction="rtl">توپ قرمز سمت چپ مکعب آبی</text><rect x="240" y="170" width="130" height="70" rx="12" class="tm-surface"/><text x="305" y="199" class="tm-text" font-size="16" text-anchor="middle" direction="rtl">نمایش عددی</text><text x="305" y="222" class="tm-muted" font-size="13" text-anchor="middle">embedding</text><path d="M180 205 H235" class="tm-line" marker-end="url(#arrow)"/><rect x="435" y="170" width="145" height="70" rx="12" class="tm-surface"/><text x="507" y="199" class="tm-text" font-size="16" text-anchor="middle" direction="rtl">حذف نویز</text><text x="507" y="222" class="tm-muted" font-size="13" text-anchor="middle">text conditioning</text><path d="M370 205 H430" class="tm-line" marker-end="url(#arrow)"/><rect x="645" y="170" width="120" height="70" rx="12" class="tm-surface"/><text x="705" y="199" class="tm-text" font-size="16" text-anchor="middle" direction="rtl">تصویر</text><text x="705" y="222" class="tm-muted" font-size="13" text-anchor="middle" direction="rtl">خروجی تازه</text><path d="M580 205 H640" class="tm-line" marker-end="url(#arrow)"/><rect x="205" y="315" width="390" height="62" rx="12" class="tm-gold tm-enter"/><text x="400" y="340" class="tm-text" font-size="15" text-anchor="middle">latent diffusion</text><text x="400" y="362" class="tm-text2" font-size="14" text-anchor="middle" direction="rtl">نویز ← فضای فشرده → decoder → تصویر قابلدیدن</text></svg>
```
پیوند دادهها، نه فهم کامل
```svg
<svg viewBox="0 0 800 450" xmlns="http://www.w3.org/2000/svg"><defs><marker id="arrow" markerWidth="10" markerHeight="10" refX="8" refY="3" orient="auto"><path d="M0,0 L0,6 L9,3 z" class="tm-arrow"/></marker></defs><rect x="45" y="55" width="250" height="100" rx="14" class="tm-soft"/><text x="170" y="92" text-anchor="middle" font-size="20" class="tm-text" direction="rtl">توپ قرمز و مکعب آبی</text><text x="170" y="124" text-anchor="middle" font-size="16" class="tm-muted" direction="rtl">تصویر ورودی</text><rect x="350" y="55" width="180" height="100" rx="14" class="tm-accent"/><text x="440" y="94" text-anchor="middle" font-size="20" class="tm-text" direction="rtl">نمایش دیداری</text><text x="440" y="126" text-anchor="middle" font-size="16" class="tm-text" direction="rtl">تصویر</text><rect x="350" y="205" width="180" height="80" rx="14" class="tm-soft"/><text x="440" y="253" text-anchor="middle" font-size="19" class="tm-text" direction="rtl">سؤال: رنگ توپ؟</text><rect x="570" y="125" width="180" height="100" rx="14" class="tm-green"/><text x="660" y="164" text-anchor="middle" font-size="20" class="tm-text" direction="rtl">پاسخ</text><text x="660" y="196" text-anchor="middle" font-size="16" class="tm-text" direction="rtl">قرمز</text><path d="M295 105 L350 105" fill="none" class="tm-line" marker-end="url(#arrow)"/><path d="M530 105 L570 155" fill="none" class="tm-line" marker-end="url(#arrow)"/><path d="M530 245 L570 195" fill="none" class="tm-line" marker-end="url(#arrow)"/><rect x="40" y="325" width="220" height="70" rx="12" class="tm-gold tm-enter"/><text x="150" y="354" text-anchor="middle" font-size="17" class="tm-text" direction="rtl">شیء کوچک جاافتاده</text><text x="150" y="380" text-anchor="middle" font-size="15" class="tm-text" direction="rtl">نوشتهٔ ریز بدخوانده</text><rect x="290" y="325" width="220" height="70" rx="12" class="tm-taupe tm-enter"/><text x="400" y="354" text-anchor="middle" font-size="17" class="tm-text" direction="rtl">جنس نامطمئن</text><text x="400" y="380" text-anchor="middle" font-size="15" class="tm-text" direction="rtl">ظاهر کافی نیست</text><text x="650" y="355" text-anchor="middle" font-size="17" class="tm-text-accent" direction="rtl">هر ادعا را با</text><text x="650" y="380" text-anchor="middle" font-size="17" class="tm-text-accent" direction="rtl">شواهد بسنج</text></svg>
```
سنجش دقیق تصویر
```svg
<svg viewBox="0 0 800 450" xmlns="http://www.w3.org/2000/svg"><rect class="tm-surface" x="185" y="90" width="430" height="270" rx="18"/><path class="tm-soft" d="M448 150 Q470 128 492 150 Q510 170 490 185 Q465 190 448 170 Z"/><rect class="tm-taupe" x="380" y="210" width="125" height="100" rx="8"/><circle class="tm-accent" cx="280" cy="255" r="24"/><circle class="tm-accent" cx="330" cy="255" r="24"/><circle class="tm-gold" cx="555" cy="255" r="24"/><text class="tm-text" x="400" y="400" font-size="18" text-anchor="middle" direction="rtl">ظاهر طبیعی ≠ تطابق با درخواست</text><rect class="tm-accent" x="190" y="25" width="420" height="46" rx="12"/><text class="tm-text" x="400" y="55" font-size="17" text-anchor="middle" direction="rtl">توصیف مدل: «دو توپ کنار مکعب با ستاره»</text><text class="tm-text2" x="400" y="430" font-size="16" text-anchor="middle" direction="rtl">بررسی: شمارش، رابطهٔ مکانی، شکل</text></svg>
```
بازگشت به دوره