通过像素空间分组图像生成实现高效场景文本细化
研究论文 · 2026/10/15
生成图像通常具有连贯的布局和视觉内容,但小文本和复杂字符中的局部错误仍然限制其可读性和实际使用。场景文本细化需要准确性、保持性和效率。现有基于变分自编码器(VAE)的方法在重建过程中可能会丢失精细笔画,而全图像编辑可能会改变背景颜色。在这项工作中,我们引入了PixText,一种将局部文本细化表述为像素空间中的分组图像生成的模型。以原始图像为条件,PixText仅生成目标区域,保留未编辑的内容,并使用MeanFlow进行四步生成。我们进一步引入了Text Refinement Bench来评估生成图像中的文本校正和图像保持。在该基准上,PixText实现了83.06%的字形通过率和94.66%的精确目标字符OCR准确率,而最强基线分别为36.77%和52.31%。其四步MeanFlow变体保持了81.84%的通过率,每张图像的分摊生成成本不到一个GPU秒。
该工作针对生成图像中文本细化的准确性、保持性和效率问题,提出了有效的像素空间分组生成方法,并在新基准上显著超越基线,同时保持低计算成本,具有实际应用价值。
Generated images often have coherent layouts and visual content, yet local errors in small text and complex characters still limit their readability and practical use. Scene-text refinement requires accuracy, preservation, and efficiency. Existing methods based on variational autoencoders (VAEs) can lose fine strokes during reconstruction, while full-image editing can shift background colors. In this work, we introduce PixText, a model that formulates local text refinement as grouped image generation in pixel space. Conditioned on the original image, PixText generates only the target regions, preserves unedited content, and uses MeanFlow for four-step generation. We further introduce Text Refinement Bench to evaluate text correction and image preservation in generated images. On this benchmark, PixText achieves 83.06% glyph pass and 94.66% exact target-character OCR accuracy, versus 36.77% and 52.31% for the strongest baseline. Its four-step MeanFlow variant retains an 81.84% pass rate with less than one GPU-second of amortized generation cost per image.