Radical-Level Rewards: IDSpect Pushes Qwen-Image Chinese Text Rendering to 0.979 Structural Quality

Decompose Radicals, Then Reward: Fine-Grained Inspection for Accurate Chinese Text Rendering

Yazhen Xie, Xingsong Ye, Zhineng Chen

cs.CV

2026-09-29

IDSpect decomposes Chinese characters into radical tokens and scores token-level F1 against target IDS as GRPO reward, lifting Qwen-Image to 0.979 structure score on GenTextEval.

What problem this solves

Text-to-image models spell English well enough now; Chinese is still where they break. An ideograph is a two-dimensional composition of reusable components under explicit spatial relations, like left-right, top-bottom, and enclosing. Typical failures are local: one corrupted radical, or the right components in the wrong arrangement. The standard fix is RL post-training with an OCR reward, which transcribes the generated image back to text and scores it against the target string. That reward treats each character as an atomic symbol, so repairing half of a broken glyph moves the score not at all and the optimizer has no direction for partial fixes. It fails the other way too: an MLLM-grade OCR can recover the intended character from surrounding context and hand a malformed glyph a perfect score. In the paper's Figure 1, the same malformed character gets 0.00 from a specialist OCR, 1.00 from an MLLM OCR (a false positive), and 0.00 from TextPecker, which collapses anomalous glyphs into "#". None of these rewards can say how wrong a glyph is. IDSpect gives it 0.22.

Method

The generator stays untouched; the reward is rebuilt.

Results

Qua. (structural quality) and Sem. (semantic alignment) are scored under the TextPecker protocol.

RewardLongText AvgLongText QuaLongText SemGenTextEval QuaGenTextEval Sem
Frozen base0.9200.9240.8340.9330.810
OCR0.9670.9560.8860.9530.874
TextPecker0.9740.9690.9080.9730.897
IDSpect0.9720.9750.9280.9790.911

IDSpect posts the best score on all four Qua/Sem columns. On GenTextEval it clears the OCR reward by +0.026 Qua and +0.037 Sem, and TextPecker by +0.006 and +0.014. Its LongText Avg of 0.972 sits just under TextPecker's 0.974.

The most informative ablation row: using the OCR prediction's own IDS as the reference (structural self-consistency, no target anchoring) reaches 0.980 Qua but only 0.901 Sem, while target-anchored crop-wise alignment lands at 0.979 Qua and 0.911 Sem. A structural reward must be tied to the requested text, or the model learns to paint self-consistent glyphs that are still wrong.

Why it matters

This is a reward-design paper, not a new architecture. For teams already running RL post-training on text-to-image models, the finding is directly actionable: move the Chinese-rendering reward from character level to component level, change nothing else, pay nothing at inference, and gain on every structural and semantic metric. The IDSynth-1M recipe of uniform sampling to kill linguistic shortcuts transfers to any recognizer that must read pixels instead of reciting priors. Japanese and Korean share component structure and are the obvious extension; the authors list this as future work.

Honest framing: over TextPecker the margins are incremental (+0.006 to +0.014), and on GenTextEval most of the semantic gain (0.810 to 0.874) comes from doing GRPO at all. The net contribution is turning partial correctness into an optimizable signal.

Limitations

Terms

Source

Related papers

All paper explainers