SafeGen: 在文本到图像生成中嵌入伦理保障
SafeGen: Embedding Ethical Safeguards in Text-to-Image Generation
AI总结:
SafeGen通过整合BGE-M3和Hyper-SD,实现文本到图像生成中的伦理保障,有效过滤有害提示并生成高质量图像。
摘要:
生成式人工智能(AI)已经为创意表达、教育和研究创造了前所未有的机遇。像DALL.E、Stable Diffusion和Midjourney这样的文本到图像系统现在可以在几秒钟内将想法转化为视觉内容,但它们也提出了双重用途的困境,引发关键的伦理问题:放大社会偏见、产生高保真度的虚假信息以及侵犯知识产权。本文介绍了SafeGen,这是一个将伦理保障直接嵌入文本到图像生成流程中的框架,其设计基于已建立的可信AI原则。SafeGen集成了两个互补的组件:BGE-M3,一个经过微调的文本分类器,用于过滤有害或误导性的提示,以及Hyper-SD,一个优化的扩散模型,能够生成高保真度、语义对齐的图像。基于一个经过精心挑选的多语言(英语-越南语)数据集和一个公平性意识的训练过程,SafeGen证明了在单一工作流程中可以调和创造自由和伦理责任。定量评估证实了其有效性,Hyper-SD在IS=3.52、FID=22.08和SSIM=0.79方面表现优异,而BGE-M3达到了F1-Score为0.81。消融研究进一步验证了两个模块领域特定微调的重要性。案例研究展示了SafeGen在阻止不安全提示、生成包容性教学材料和加强学术诚信方面的实际影响。
英文摘要:
Generative Artificial Intelligence (AI) has created unprecedented opportunities for creative expression, education, and research. Text-to-image systems such as DALL.E, Stable Diffusion, and Midjourney can now convert ideas into visuals within seconds, but they also present a dual-use dilemma, raising critical ethical concerns: amplifying societal biases, producing high-fidelity disinformation, and violating intellectual property. This paper introduces SafeGen, a framework that embeds ethical safeguards directly into the text-to-image generation pipeline, grounding its design in established principles for Trustworthy AI. SafeGen integrates two complementary components: BGE-M3, a fine-tuned text classifier that filters harmful or misleading prompts, and Hyper-SD, an optimized diffusion model that produces high fidelity, semantically aligned images. Built on a curated multilingual (English- Vietnamese) dataset and a fairness-aware training process, SafeGen demonstrates that creative freedom and ethical responsibility can be reconciled within a single workflow. Quantitative evaluations confirm its effectiveness, with Hyper-SD achieving IS = 3.52, FID = 22.08, and SSIM = 0.79, while BGE-M3 reaches an F1-Score of 0.81. An ablation study further validates the importance of domain-specific fine-tuning for both modules. Case studies illustrate SafeGen's practical impact in blocking unsafe prompts, generating inclusive teaching materials, and reinforcing academic integrity.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。