基于熵融合的零样本以主体为中心的生成及其创意应用 Zero-Shot Subject-Centric Generation for Creative Application Using Entropy Fusion 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2025-03-12
👁️ 预览文献
💡 AI 中文简介
针对文本生成图像在纺织图案、表情包等场景中常混入多余元素、难以分离的问题,本研究提出一种以主体为中心的图像生成框架。方法上,利用预训练模型FLUX各采样步的交叉注意力特征,通过基于熵的特征加权融合实现精准掩码预测与主体生成;同时构建基于大语言模型的智能体,将用户随意输入转化为详细提示词并提取主要元素引导融合。实验与用户研究表明,该方法能生成高质量、无冗余的主体图像,优于现有方法。
领域计算机视觉 / 图像生成
适合谁读需要一定专业背景(了解扩散模型、注意力机制)
核心贡献1. 提出基于熵的特征加权融合方法,利用FLUX模型跨采样步的交叉注意力特征实现精准掩码预测和以主体为中心的生成;2. 构建基于LLM的智能体框架,将用户随意输入转化为详细提示词并提取主要元素引导融合,确保生成聚焦主体且无冗余。
关键数据实验和用户研究表明,该方法生成的以主体为中心的图像质量高,优于现有方法或其他可能的流程。
推荐理由如果你想让AI画图时只保留主体、去掉乱七八糟的背景元素,这篇论文给出了一个零样本的巧妙方案,值得一读。
关键词["零样本生成", "以主体为中心生成", "熵融合", "交叉注意力", "大语言模型智能体", "文本到图像"]

原文摘要

查看英文原文摘要

Generative models are widely used in visual content creation. However, current text-to-image models often face challenges in practical applications-such as textile pattern design and meme generation-due to the presence of unwanted elements that are difficult to separate with existing methods. Meanwhile, subject-reference generation has emerged as a key research trend, highlighting the need for techniques that can produce clean, high-quality subject images while effectively removing extraneous components. To address this challenge, we introduce a framework for reliable subject-centric image generation. In this work, we propose an entropy-based feature-weighted fusion method to merge the informative cross-attention features obtained from each sampling step of the pretrained text-to-image model FLUX, enabling a precise mask prediction and subject-centric generation. Additionally, we have developed an agent framework based on Large Language Models (LLMs) that translates users' casual inputs into more descriptive prompts, leading to highly detailed image generation. Simultaneously, the agents extract primary elements of prompts to guide the entropy-based feature fusion, ensuring focused primary element generation without extraneous components. Experimental results and user studies demonstrate our methods generates high-quality subject-centric images, outperform existing methods or other possible pipelines, highlighting the effectiveness of our approach.