Reproduce “TransAnyText: Translating Arbitrary Text in E-commerce Images via Structured Visual Generation” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Xiaoan Liu, Lichen Ma, Zipeng Guo, Yu He, Xiaoyan Su, Shaojie Guo, Hao Yang, Jingling Fu and 8 more
TransAnyText introduces a structured visual generation framework that translates arbitrary text within e-commerce images by generating renderable HTML patches. The system, developed by researchers at JD.com and affiliated universities, achieves superior translation quality, visual fidelity, and image realism compared to existing methods, often matching or exceeding commercial closed-source systems, particularly scoring 0.848 COMET for Any→Zh translations.
Key insights
- Reforming image text translation into structured visual code generation (HTML patches) provides explicit control over visual attributes, ensures deterministic rendering, and yields editable outputs, overcoming limitations of pixel-based approaches.
- A three-stage post-training framework (SFT, PWSD, GRPO) effectively optimizes VLMs for complex multimodal tasks, with PWSD specifically improving the learning of fine-grained visual style attributes through adaptive token-level supervision.
- Combining code-driven generation for structural integrity with optional diffusion refinement for pixel-level enhancement allows the VLM to focus on semantic and structural tasks while improving overall visual fidelity.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.