KG-FairDiff: 知识图谱引导的提示词精炼用于人口统计公平的文本到图像生成
KG-FairDiff: Knowledge Graph-Guided Prompt Refinement for Demographically Fair Text-to-Image Generation
AI总结:
提出KG-FairDiff框架,通过知识图谱引导的提示词精炼,在推理时优化公平性损失,减少文本到图像生成中的性别、种族、年龄等人口统计偏差,同时保持语义保真度。
摘要:
文本到图像(TTI)系统现已成为新闻、教育、广告和公共传播的日常基础设施,它们从训练数据中继承的人口统计和文化刻板印象(将女性、有色人种、老年人和非西方文化描绘为代表性不足或漫画化)在部署规模上成为人口层面的危害。现有的缓解措施要么需要昂贵的重新训练,这对于主导消费产品的闭源骨干网络不可行,要么依赖于忽略文化背景的固定人口统计模板。我们提出了KG-FairDiff,一个模型无关、推理时框架,将公平感知的提示词精炼形式化为一个约束优化问题,并将其实现为一个闭环流水线:一个包含约1200个文化和偏见相关三元组的知识图谱检索结构化上下文,一个LLM改写器提出精炼,一个验证器仅接受那些减少基于散度的公平性损失同时保持用户原始意图语义保真度的提示词。我们证明了精炼循环的有限终止界限,贡献了一个数学上一致的评估套件,将Bias-P/Bias-W与目标分布的散度以及ENS与KL散度联系起来,并审计了八个广泛部署的骨干生成器。KG-FairDiff显著减少了性别、种族、年龄和交叉差异,同时保持了提示词语义,为更公平的生成式AI提供了一条实用、可部署的路径。
英文摘要:
Text-to-Image (TTI) systems are now everyday infrastructure for journalism, education, advertising, and public communication, and the demographic and cultural stereotypes they inherit from training data (rendering women, people of colour, older adults, and non-Western cultures as under-represented or caricatured) become a population-level harm at deployment scale. Existing mitigations either require costly retraining, infeasible for the closed-source backbones that dominate consumer products, or rely on fixed demographic templates that ignore cultural context. We present KG-FairDiff, a model-agnostic, inference-time framework that formalises fairness-aware prompt refinement as a constrained optimisation problem and operationalises it as a closed-loop pipeline: a knowledge graph of ~1,200 culture- and bias-related triples retrieves structured context, an LLM rewriter proposes refinements, and a validator accepts only prompts that reduce a divergence-based fairness loss while preserving semantic fidelity to the user's original intent. We prove a finite-termination bound for the refinement loop, contribute a mathematically consistent evaluation suite linking Bias-P/Bias-W to divergence from target distributions and ENS to KL divergence, and audit eight widely-deployed backbone generators. KG-FairDiff substantially reduces gender, race, age, and intersectional disparities while preserving prompt semantics, offering a practical, deployment-ready route to more equitable generative AI.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。