Skip to main content
QUICK REVIEW

[论文解读] GlyphBanana: Advancing Precise Text Rendering Through Agentic Workflows

Zexuan Yan, Jiarui Jin|arXiv (Cornell University)|Mar 12, 2026
Generative Adversarial Networks and Image SynthesisComputer Science被引用 0
一句话总结

GlyphBanana 引入一个训练无关的智能工作流,将字形模板整合到潜在空间和注意力空间,以在扩散模型生成的图像中实现复杂文本和公式的精准渲染。它还提出 GlyphBanana-Bench,一个基准,用于评估跨语言从简单词汇到多行科学公式的渲染。

ABSTRACT

Despite recent advances in generative models driving significant progress in text rendering, accurately generating complex text and mathematical formulas remains a formidable challenge. This difficulty primarily stems from the limited instruction-following capabilities of current models when encountering out-of-distribution prompts. To address this, we introduce GlyphBanana, alongside a corresponding benchmark specifically designed for rendering complex characters and formulas. GlyphBanana employs an agentic workflow that integrates auxiliary tools to inject glyph templates into both the latent space and attention maps, facilitating the iterative refinement of generated images. Notably, our training-free approach can be seamlessly applied to various Text-to-Image (T2I) models, achieving superior precision compared to existing baselines. Extensive experiments demonstrate the effectiveness of our proposed workflow. Associated code is publicly available at https://github.com/yuriYanZeXuan/GlyphBanana.

研究动机与目标

  • 为文本到图像生成中罕见字符和复杂公式的可靠渲染提出需求。
  • 提出一个无训练的代理式管线,将系统字体字形与扩散模型融合以实现精确渲染。
  • 实现对任意风格的 Autonomous 自主适应,无需人工设计干预。
  • 引入 GlyphBanana-Bench 以评估从简单词汇到复杂多行公式的文本渲染。

提出的方法

  • 四阶段代理式工作流:Extraction(提取)、Draft Preview(草案预览)、Glyph Injection(字形注入)、Style Refinement(风格细化).
  • Glyph Injection 将潜在空间的频率分解与注意力重新加权相结合,将字形模板注入 DiT 块中。
  • Frequency Decomposition 通过掩模对低/高频分量进行混合,以注入高频字形细节。
  • Attention Re-weighting 在 DiT 自注意力中引入偏置矩阵,以将某些标记偏向字形模板。
  • Iterative Refinement 通过 Style Refiner 和 Score Judger,结合扩散式的图像到图像模型来提升质量与和谐度。

实验结果

研究问题

  • RQ1一个无训练的代理工作流能否在扩散模型中提升对复杂文本与公式的OCR准确性和视觉保真度?
  • RQ2潜在空间的频率分解和注意力重新加权如何促进跨语言和风格的字形精准渲染?
  • RQ3GlyphBanana 流水线在不微调的情况下能否在不同的 DiT 骨干上泛化?
  • RQ4新的 GlyphBanana-Benchmark 对评估 T2I 系统中的 OOV 文本和复杂公式有何影响?

主要发现

  • GlyphBanana 在 GlyphBanana-Benchmark 上的渲染文本上,对比基线在 OCR 与基于 VLM 的指标上取得更高分数。
  • 消融研究表明,Frequency Decomposition、Injection 和 Iterative Refinement 各自对文本精度和视觉和谐度的提升有贡献。
  • 该方法实现了与多种扩散骨干的无训练集成,在渲染精度与风格保真度方面超越基线。
  • GlyphBanana 根据报道的指标,在 Z-Image 和 Qwen-Image 骨干上将 OCR 得分显著提升。
  • Iterative refinement 在各实验中稳定提升视觉质量,同时保持文本准确性。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。