首页|期刊导航|南京信息工程大学学报|基于改进稳定扩散模型与噪声拼接的文本生成图像算法

基于改进稳定扩散模型与噪声拼接的文本生成图像算法OA

Text-to-image generation algorithm based on improved stable diffusion model and noise stitching

中文摘要英文摘要

针对文本生成图像算法存在的部分特征缺失、生成图像质量低及布局属性不匹配等问题,提出一种基于改进稳定扩散模型的文本生成图像算法(ISD-NC).通过引入判别器来最大化潜在表征和浅层特征的互信息,提高潜在表征与浅层特征的相似度,保留原始图像信息;根据主干网络和跳跃连接的作用,引入比例因子,动态调节特征的权重比例,提高生成图像的质量;结合 NoiseCollage网络,增加布局条件,通过掩膜交叉注意力机制实现复杂的多目标文本条件的图像生成.在 MS COCO 数据集上与 Cog-view、DF-GAN、Stable Diffusion、KNN-dif-fusion算法进行定性和定量分析及消融实验,结果表明:ISD-NC 算法生成的图像具有更优的细节保真度和生成质量;与基于扩散模型的Stable Diffusion、KNN-diffusion 算 法 相 比,FID 平 均 降 低28.99%,IS平均提升 10.21%.

To address the problems in text-to-image generation,such as missing features,low quality output,and layout attribute mismatches,this paper proposes ISD-NC,an algorithm based on Improved Stable Diffusion and NoiseCollage.First,a discriminator is introduced to maximize the mutual information between the latent representa-tion and the shallow features,thereby enhancing their similarity and preserving original image information.Second,based on the functions of the backbone network and skip connections,scale factors are incorporated to dynamically adjust the weight ratio of features to improve the generated image quality.Finally,by combining with the NoiseCol-lage network,layout conditions are incorporated,enabling the generation of images from complex multi-objective text conditions through a mask cross-attention mechanism.Qualitative and quantitative analyses,along with ablation studies,were conducted on the MS COCO dataset to compare the proposed ISD-NC against methods such as Cog-view,DF-GAN,Stable Diffusion,and KNN-diffusion.Experimental results demonstrate that ISD-NC generates ima-ges with superior detail fidelity and overall quality.Compared to diffusion-based models like Stable Diffusion and KNN-diffusion,ISD-NC reduces Frechet Inception Distance(FID)by an average of 28.99%and increases Incep-tion Score(IS)by an average of 10.21%.

李文瑶;杜洪波;张琪

沈阳工业大学 理学院,沈阳,110870沈阳工业大学 理学院,沈阳,110870沈阳工业大学 理学院,沈阳,110870

信息技术与安全科学

扩散模型文本生成图像噪声拼接互信息主干网络特征跳跃连接特征

diffusion modeltext-to-image generationnoise stitchingmutual informationbackbone network fea-tureskip connection feature

《南京信息工程大学学报》 2026 (2)

192-201,10

辽宁省科技计划联合计划项目(2025-MSLH-355)

10.13878/j.cnki.jnuist.20250424001

评论