从结构化反馈到提示词策略:学习忠实的文生图提示词编辑器
摘要
提出 StruPO,一种结构感知的提示编辑器,利用校准场景图作为共享表示,将结构反馈转化为可复用的编辑策略训练信号,在保持场景忠实性的同时提升文生图的美学质量。
arXiv:2610.36146v1 Announce Type: new
Abstract: Prompt optimization should improve the image a user receives without changing the scene the user requested. Yet stylistic rewriting can weaken object attributes and relations even when global text--image similarity remains high. We propose StruPO, a structure-aware prompt editor that uses a calibrated scene graph as a shared representation for policy conditioning and image-grounded supervision. The graph exposes what should be preserved, while deletion, reordering, and insertion provide a token-aligned way to modify the prompt. This turns structural feedback from an external critique into a training signal for a reusable editing policy. Learning from that signal requires handling both uncertain grounding and stochastic image generation. StruPO retains grounding confidence through smooth reward shaping and averages multiple images for each edit before computing group-relative advantages. Experiments span three disjoint 2K-prompt test sets and four frozen generation backbones, with comparisons to learned prompt optimizers, iterative structural feedback, diffusion-model fine-tuning, and inference-time attention control. StruPO improves the faithfulness--aesthetics trade-off, with consistent gains in relational fidelity. Independent automatic evaluators and a 15-annotator study provide complementary evidence, and human preference margins increase with relation complexity. Controlled ablations connect these gains to graph conditioning, local editing, and image-grounded learning. The resulting policy produces reusable optimized text in one pass after graph calibration, without an iterative critique--rewrite loop.
查看缓存全文
缓存时间: 2026/10/28 07:33
# From Structural Feedback to Prompt Policies: Learning Faithful Text-to-Image Prompt Editors Source: [https://arxiv.org/abs/2610.36146](https://arxiv.org/abs/2610.36146) [View PDF](https://arxiv.org/pdf/2610.36146)[HTML \(experimental\)](https://arxiv.org/html/2610.36146v1) > Abstract:Prompt optimization should improve the image a user receives without changing the scene the user requested\. Yet stylistic rewriting can weaken object attributes and relations even when global text\-\-image similarity remains high\. We propose StruPO, a structure\-aware prompt editor that uses a calibrated scene graph as a shared representation for policy conditioning and image\-grounded supervision\. The graph exposes what should be preserved, while deletion, reordering, and insertion provide a token\-aligned way to modify the prompt\. This turns structural feedback from an external critique into a training signal for a reusable editing policy\. Learning from that signal requires handling both uncertain grounding and stochastic image generation\. StruPO retains grounding confidence through smooth reward shaping and averages multiple images for each edit before computing group\-relative advantages\. Experiments span three disjoint 2K\-prompt test sets and four frozen generation backbones, with comparisons to learned prompt optimizers, iterative structural feedback, diffusion\-model fine\-tuning, and inference\-time attention control\. StruPO improves the faithfulness\-\-aesthetics trade\-off, with consistent gains in relational fidelity\. Independent automatic evaluators and a 15\-annotator study provide complementary evidence, and human preference margins increase with relation complexity\. Controlled ablations connect these gains to graph conditioning, local editing, and image\-grounded learning\. The resulting policy produces reusable optimized text in one pass after graph calibration, without an iterative critique\-\-rewrite loop\. ## Submission history From: Wentao Ye \[[view email](https://arxiv.org/show-email/6414220a/2610.36146)\] **\[v1\]**Mon, 26 Oct 2026 18:50:50 UTC \(9,030 KB\)
相似文章
@RealCodedAlpha: 看完这张疑似 Anthropic 内部优化的 Fable 5 Prompt 结构,我才意识到:大多数人写 Prompt,其实一开始方向就错了! 很多人以为好 Prompt = 更长、更复杂、更多技巧、更多角色设定。 但这张图给出的结构非常…
这篇推文介绍了一种源自Anthropic内部优化的Fable 5 Prompt结构,强调写提示词时应聚焦于目标、边界和验收标准,而不是冗长的指令,尤其对于更强的模型(如Claude、Codex)应避免教模型如何思考。
从提示到组合:面向海报生成的空间画布界面
论文提出 Spatial Canvas 接口与海报生成模型 Compo,让用户通过语义、身份、文本和像素四种绑定方式在空间中直接组合生成意图,取代传统的文本提示方式,并支持直接推理与 agentic 模式。实验显示其组合可控性优于通用图像生成与专用海报生成系统,同时保持高视觉质量。
@berryxia: 兄弟们,想认真学提示词工程,周末花这 25 分钟是非常值得! 这个就是来自于 Anthropic 官方的 Prompting 101 课程,带你从零搭建一个能落地的 prompt 任务: 1. 语气背景 2. XML 结构 3. Few-…
Anthropic 官方推出的 Prompting 101 课程,系统讲解如何从零构建实用 prompt,涵盖语气背景、XML 结构、Few-shot 示例、输出格式化和预填充等核心技巧。
对比反思用于迭代提示优化
提出了一种对比反思(Contrastive Reflection)迭代提示优化框架,用于智能体信息检索工作流。该框架利用结构化轨迹识别错误锚定的行为切片,并通过教师LLM进行对比修复,在HotpotQA上实现了显著改进。
@vikingmute: 可以关注一下这个 https://github.com/Trystan-SA/claude-design-system-prompt… Claude Design System Prompt 有人逆向工程了 Claude Design 的…
有人逆向工程了 Claude Design 的系统提示词并开源,提供了一个包含20章节主提示和14个技能的设计哲学及提示库,可提升 LLM 在 UI 设计中的输出质量。