<p>This paper presents a novel approach to enhance both the diversity and quality of images generated by Generative Adversarial Networks (GANs). Instead of employing random selection, we optimize the length of the latent space (<InlineEquation ID="IEq1"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="11760_2025_4109_Article_IEq1.gif" Format="GIF" Height="16" Rendition="HTML" Resolution="72" Type="Linedraw" Width="114" /> </InlineMediaObject> <EquationSource Format="TEX">\(\vec {{\textbf {z}}}-dimension\)</EquationSource> <EquationSource Format="MATHML"><math> <mrow> <mover accent="true"> <mi mathvariant="bold">z</mi> <mo stretchy="false">→</mo> </mover> <mo>-</mo> <mi>d</mi> <mi>i</mi> <mi>m</mi> <mi>e</mi> <mi>n</mi> <mi>s</mi> <mi>i</mi> <mi>o</mi> <mi>n</mi> </mrow> </math></EquationSource> </InlineEquation>) using swarm intelligence. To achieve this, we use the Dispersive Fly Optimization (DFO) algorithm, which is inspired by the natural foraging behavior of flies searching for food within their environment. In our implementation, the DFO algorithm iteratively adjusts the <InlineEquation ID="IEq2"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="11760_2025_4109_Article_IEq2.gif" Format="GIF" Height="16" Rendition="HTML" Resolution="72" Type="Linedraw" Width="122" /> </InlineMediaObject> <EquationSource Format="TEX">\(\vec {{\textbf {z}}}-dimensions\)</EquationSource> <EquationSource Format="MATHML"><math> <mrow> <mover accent="true"> <mi mathvariant="bold">z</mi> <mo stretchy="false">→</mo> </mover> <mo>-</mo> <mi>d</mi> <mi>i</mi> <mi>m</mi> <mi>e</mi> <mi>n</mi> <mi>s</mi> <mi>i</mi> <mi>o</mi> <mi>n</mi> <mi>s</mi> </mrow> </math></EquationSource> </InlineEquation> based on the best performing solutions, determined by the fitness function of the Inception Score (IS). During each iteration, the "flies" (representing <InlineEquation ID="IEq3"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="11760_2025_4109_Article_IEq2.gif" Format="GIF" Height="16" Rendition="HTML" Resolution="72" Type="Linedraw" Width="122" /> </InlineMediaObject> <EquationSource Format="TEX">\(\vec {{\textbf {z}}}-dimensions\)</EquationSource> <EquationSource Format="MATHML"><math> <mrow> <mover accent="true"> <mi mathvariant="bold">z</mi> <mo stretchy="false">→</mo> </mover> <mo>-</mo> <mi>d</mi> <mi>i</mi> <mi>m</mi> <mi>e</mi> <mi>n</mi> <mi>s</mi> <mi>i</mi> <mi>o</mi> <mi>n</mi> <mi>s</mi> </mrow> </math></EquationSource> </InlineEquation>) modify their positions according to the optimal configuration <InlineEquation ID="IEq4"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="11760_2025_4109_Article_IEq1.gif" Format="GIF" Height="16" Rendition="HTML" Resolution="72" Type="Linedraw" Width="114" /> </InlineMediaObject> <EquationSource Format="TEX">\(\vec {{\textbf {z}}}-dimension\)</EquationSource> <EquationSource Format="MATHML"><math> <mrow> <mover accent="true"> <mi mathvariant="bold">z</mi> <mo stretchy="false">→</mo> </mover> <mo>-</mo> <mi>d</mi> <mi>i</mi> <mi>m</mi> <mi>e</mi> <mi>n</mi> <mi>s</mi> <mi>i</mi> <mi>o</mi> <mi>n</mi> </mrow> </math></EquationSource> </InlineEquation> discovered in the previous iteration. The Inception Score serves as our primary metric for evaluating the quality and diversity of the generated images. We conducted experiments using the MNIST dataset to validate our approach. The results demonstrate that employing swarm intelligence methods to optimize <InlineEquation ID="IEq5"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="11760_2025_4109_Article_IEq1.gif" Format="GIF" Height="16" Rendition="HTML" Resolution="72" Type="Linedraw" Width="114" /> </InlineMediaObject> <EquationSource Format="TEX">\(\vec {{\textbf {z}}}-dimension\)</EquationSource> <EquationSource Format="MATHML"><math> <mrow> <mover accent="true"> <mi mathvariant="bold">z</mi> <mo stretchy="false">→</mo> </mover> <mo>-</mo> <mi>d</mi> <mi>i</mi> <mi>m</mi> <mi>e</mi> <mi>n</mi> <mi>s</mi> <mi>i</mi> <mi>o</mi> <mi>n</mi> </mrow> </math></EquationSource> </InlineEquation> improves both image quality and diversity compared to traditional random selection methods. In this repository (<a href="https://github.com/AREEG94FAHAD/DFO-GAN">https://github.com/AREEG94FAHAD/DFO-GAN</a>), you can find the fully implemented code.</p>

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Swarmgan: enhancing GAN image generation through latent space optimization using dispersive flies optimization

  • Areeg Fahad Rasheed,
  • M. Zarkoosh

摘要

This paper presents a novel approach to enhance both the diversity and quality of images generated by Generative Adversarial Networks (GANs). Instead of employing random selection, we optimize the length of the latent space ( \(\vec {{\textbf {z}}}-dimension\) z - d i m e n s i o n ) using swarm intelligence. To achieve this, we use the Dispersive Fly Optimization (DFO) algorithm, which is inspired by the natural foraging behavior of flies searching for food within their environment. In our implementation, the DFO algorithm iteratively adjusts the \(\vec {{\textbf {z}}}-dimensions\) z - d i m e n s i o n s based on the best performing solutions, determined by the fitness function of the Inception Score (IS). During each iteration, the "flies" (representing \(\vec {{\textbf {z}}}-dimensions\) z - d i m e n s i o n s ) modify their positions according to the optimal configuration \(\vec {{\textbf {z}}}-dimension\) z - d i m e n s i o n discovered in the previous iteration. The Inception Score serves as our primary metric for evaluating the quality and diversity of the generated images. We conducted experiments using the MNIST dataset to validate our approach. The results demonstrate that employing swarm intelligence methods to optimize \(\vec {{\textbf {z}}}-dimension\) z - d i m e n s i o n improves both image quality and diversity compared to traditional random selection methods. In this repository (https://github.com/AREEG94FAHAD/DFO-GAN), you can find the fully implemented code.