OCR-VQGAN: Taming Text-within-Image Generation
Not on the map. Why?
Abstract (arXiv)
Synthetic image generation has recently experienced significant improvements in domains such as natural image or art generation. However, the problem of figure and diagram generation remains unexplored. A challenging aspect of generating figures and diagrams is effectively rendering readable texts within the images. To alleviate this problem, we present OCR-VQGAN, an image encoder, and decoder that leverages OCR pre-trained features to optimize a text perceptual loss, encouraging the architecture to preserve high-fidelity text and diagram structure. To explore our approach, we introduce the Paper2Fig100k dataset, with over 100k images of figures and texts from research papers. The figures show architecture diagrams and methodologies of articles available at arXiv.org from fields like artificial intelligence and computer vision. Figures usually include text and discrete objects, e.g., boxes in a diagram, with lines and arrows that connect them. We demonstrate the effectiveness of OCR-VQGAN by conducting several experiments on the task of figure reconstruction. Additionally, we explore the qualitative and quantitative impact of weighting different perceptual metrics in the overall loss function. We release code, models, and dataset at https://github.com/joanrod/ocr-vqgan.
Key facts. Cited by 31 papers in the map (data through 7 Oct 2026). Builds on 29 of its 37 references that are in the map. First posted on arXiv 19 Oct 2022.
Builds on
29 of 37 references.
References · 29
- 2017Attention Is All You Needcited by 59,932
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,322
- 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 5,986
17 more
- 2017Neural Discrete Representation Learningcited by 4,650
- 2021Zero-Shot Text-to-Image Generationcited by 4,276
- 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,580
- 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,229
- 2016Perceptual Losses for Real-Time Style Transfer and Super-Resolutioncited by 2,678
- 2019Generating Diverse High-Fidelity Images with VQ-VAE-2cited by 1,376
- 2022Scaling Autoregressive Models for Content-Rich Text-to-Image Generationcited by 1,287
- 2021CogView: Mastering Text-to-Image Generation via Transformerscited by 691
- 2015An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognitioncited by 519
- 2022Make-A-Scene: Scene-Based Text-to-Image Generation with Human Priorscited by 487
- 2015Autoencoding beyond pixels using a learned similarity metriccited by 407
- 2017FigureQA: An Annotated Figure Dataset for Visual Reasoningcited by 314
- 2019Character Region Awareness for Text Detectioncited by 273
- 2017GANs Trained by a Two Time-Scale Update Rule Converge to a Local Nash Equilibriumcited by 208
- 2019On the Use of ArXiv as a Datasetcited by 101
- 2021SciCap: Generating Captions for Scientific Figurescited by 76
- 2019Figure Captioning with Reasoning and Sequence-Level Trainingcited by 21
Built on by
Citing papers per year: 2023: 7; 2024: 7; 2025: 10; 2026: 7.
31 papers.
Sort:
By area:
- 2024DeepSeek-VL: Towards Real-World Vision-Language Understandingcited by 718
- 2023TextDiffuser: Diffusion Models as Text Painterscited by 223
- 2023AnyText: Multilingual Visual Text Generation And Editingcited by 165
- 2023StarVector: Generating Scalable Vector Graphics Code from Images and Textcited by 96
- 2023AutomaTikZ: Text-Guided Synthesis of Scientific Vector Graphics with TikZcited by 74
- 2025TikZero: Zero-Shot Text-Guided Graphics Program Synthesiscited by 21
- 2026AutoFigure: Generating and Refining Publication-Ready Scientific Illustrationscited by 20
- 2023FigGen: Text to Scientific Figure Generationcited by 16
- 2024Whiteboard-of-Thought: Thinking Step-by-Step Across Modalitiescited by 15
- 2024When Worse is Better: Navigating the compression-generation tradeoff in visual tokenizationcited by 14
- 2024CharGen: High Accurate Character-Level Visual Text Generation Model with MultiModal Encodercited by 14
- 2024ScImage: How Good Are Multimodal Large Language Models at Scientific Text-to-Image Generation?cited by 13
19 more
- 2025GeoUni: A Unified Model for Generating Geometry Diagrams, Problems and Problem Solutionscited by 11
- 2024ODM: A Text-Image Further Alignment Pre-training Approach for Scene Text Detection and Spottingcited by 10
- 2025Charts Are Not Images: On the Challenges of Scientific Chart Editingcited by 9
- 2025PatentLMM: Large Multimodal Model for Generating Descriptions for Patent Figurescited by 7
- 2025Exploring In-Image Machine Translation with Real-World Backgroundcited by 7
- 2025DiagramEval: Evaluating LLM-Generated Diagrams via Graphscited by 7
- 2023FASTER: A Font-Agnostic Scene Text Editing and Rendering Frameworkcited by 6
- 2026Automatic Method Illustration Generation for AI Scientific Papers via Drawing Middleware Creation, Evolution, and Orchestrationcited by 5
- 2026VectorGym: A Multi-Task Benchmark for SVG Code Generation, Sketching and Editingcited by 5
- 2023Enhancing OCR Performance through Post-OCR Models: Adopting Glyph Embedding for Improved Correctioncited by 2
- 2025SciGA: A Comprehensive Dataset for Designing Graphical Abstracts in Academic Paperscited by 2
- 2025TextPixs: Glyph-Conditioned Diffusion with Character-Aware Attention and OCR-Guided Supervisioncited by 2
- 2025TechImage-Bench: Rubric-Based Evaluation for Technical Image Generationcited by 2
- 2026GENFIG1: Visual Summaries of Scholarly Work as a Challenge for Vision-Language Modelscited by 2
- 2026Text2Arch: A Dataset for Generating Scientific Architecture Diagrams from Natural Language Descriptionscited by 1
- 2024Braille-to-Speech Generator: Audio Generation Based on Joint Fine-Tuning of CLIP and Fastspeech2cited by 0
- 2025Generative deep learning for foundational video translation in ultrasoundcited by 0
- 2026InsightTok: Improving Text and Face Fidelity in Discrete Tokenization for Autoregressive Image Generationcited by 0
- 2026Enhanced Video Text Editing with Trajectory-Aligned Glyph Renderingcited by 0
- 2026Enhanced Video Text Editing with Trajectory-Aligned Glyph Rendering28 Sep 2026
- 2026InsightTok: Improving Text and Face Fidelity in Discrete Tokenization for Autoregressive Image Generation14 May 2026
- 2026Text2Arch: A Dataset for Generating Scientific Architecture Diagrams from Natural Language Descriptions16 Apr 2026
- 2026GENFIG1: Visual Summaries of Scholarly Work as a Challenge for Vision-Language Models5 Apr 2026
- 2026VectorGym: A Multi-Task Benchmark for SVG Code Generation, Sketching and Editing22 Feb 2026
- 2026Automatic Method Illustration Generation for AI Scientific Papers via Drawing Middleware Creation, Evolution, and Orchestration6 Feb 2026
- 2026AutoFigure: Generating and Refining Publication-Ready Scientific Illustrations3 Feb 2026
- 2025TechImage-Bench: Rubric-Based Evaluation for Technical Image Generation13 Dec 2025
- 2025Charts Are Not Images: On the Challenges of Scientific Chart Editing30 Nov 2025
- 2025Generative deep learning for foundational video translation in ultrasound5 Nov 2025
- 2025DiagramEval: Evaluating LLM-Generated Diagrams via Graphs29 Oct 2025
- 2025TextPixs: Glyph-Conditioned Diffusion with Character-Aware Attention and OCR-Guided Supervision8 Jul 2025
19 more
- 2025SciGA: A Comprehensive Dataset for Designing Graphical Abstracts in Academic Papers3 Jul 2025
- 2025Exploring In-Image Machine Translation with Real-World Background21 May 2025
- 2025GeoUni: A Unified Model for Generating Geometry Diagrams, Problems and Problem Solutions14 Apr 2025
- 2025TikZero: Zero-Shot Text-Guided Graphics Program Synthesis14 Mar 2025
- 2025PatentLMM: Large Multimodal Model for Generating Descriptions for Patent Figures25 Jan 2025
- 2024CharGen: High Accurate Character-Level Visual Text Generation Model with MultiModal Encoder23 Dec 2024
- 2024When Worse is Better: Navigating the compression-generation tradeoff in visual tokenization20 Dec 2024
- 2024ScImage: How Good Are Multimodal Large Language Models at Scientific Text-to-Image Generation?3 Dec 2024
- 2024Braille-to-Speech Generator: Audio Generation Based on Joint Fine-Tuning of CLIP and Fastspeech219 Jul 2024
- 2024Whiteboard-of-Thought: Thinking Step-by-Step Across Modalities20 Jun 2024
- 2024DeepSeek-VL: Towards Real-World Vision-Language Understanding8 Mar 2024
- 2024ODM: A Text-Image Further Alignment Pre-training Approach for Scene Text Detection and Spotting1 Mar 2024
- 2023StarVector: Generating Scalable Vector Graphics Code from Images and Text17 Dec 2023
- 2023AnyText: Multilingual Visual Text Generation And Editing6 Nov 2023
- 2023AutomaTikZ: Text-Guided Synthesis of Scientific Vector Graphics with TikZ30 Sep 2023
- 2023Enhancing OCR Performance through Post-OCR Models: Adopting Glyph Embedding for Improved Correction29 Aug 2023
- 2023FASTER: A Font-Agnostic Scene Text Editing and Rendering Framework5 Aug 2023
- 2023FigGen: Text to Scientific Figure Generation1 Jun 2023
- 2023TextDiffuser: Diffusion Models as Text Painters18 May 2023
- 2024ScImage: How Good Are Multimodal Large Language Models at Scientific Text-to-Image Generation?cited by 13
- 2025PatentLMM: Large Multimodal Model for Generating Descriptions for Patent Figurescited by 7
- 2026GENFIG1: Visual Summaries of Scholarly Work as a Challenge for Vision-Language Modelscited by 2
- 2026GENFIG1: Visual Summaries of Scholarly Work as a Challenge for Vision-Language Models5 Apr 2026
- 2025PatentLMM: Large Multimodal Model for Generating Descriptions for Patent Figures25 Jan 2025
- 2024ScImage: How Good Are Multimodal Large Language Models at Scientific Text-to-Image Generation?3 Dec 2024
- 2024DeepSeek-VL: Towards Real-World Vision-Language Understandingcited by 718
- 2023StarVector: Generating Scalable Vector Graphics Code from Images and Textcited by 96
- 2023AutomaTikZ: Text-Guided Synthesis of Scientific Vector Graphics with TikZcited by 74
- 2025TikZero: Zero-Shot Text-Guided Graphics Program Synthesiscited by 21
- 2026AutoFigure: Generating and Refining Publication-Ready Scientific Illustrationscited by 20
- 2023FigGen: Text to Scientific Figure Generationcited by 16
- 2024When Worse is Better: Navigating the compression-generation tradeoff in visual tokenizationcited by 14
- 2024CharGen: High Accurate Character-Level Visual Text Generation Model with MultiModal Encodercited by 14
- 2025GeoUni: A Unified Model for Generating Geometry Diagrams, Problems and Problem Solutionscited by 11
- 2024ODM: A Text-Image Further Alignment Pre-training Approach for Scene Text Detection and Spottingcited by 10
- 2025Charts Are Not Images: On the Challenges of Scientific Chart Editingcited by 9
- 2025Exploring In-Image Machine Translation with Real-World Backgroundcited by 7
12 most cited of 24 All 24 (JSON)
- 2026Enhanced Video Text Editing with Trajectory-Aligned Glyph Rendering28 Sep 2026
- 2026InsightTok: Improving Text and Face Fidelity in Discrete Tokenization for Autoregressive Image Generation14 May 2026
- 2026Text2Arch: A Dataset for Generating Scientific Architecture Diagrams from Natural Language Descriptions16 Apr 2026
- 2026VectorGym: A Multi-Task Benchmark for SVG Code Generation, Sketching and Editing22 Feb 2026
- 2026Automatic Method Illustration Generation for AI Scientific Papers via Drawing Middleware Creation, Evolution, and Orchestration6 Feb 2026
- 2026AutoFigure: Generating and Refining Publication-Ready Scientific Illustrations3 Feb 2026
- 2025TechImage-Bench: Rubric-Based Evaluation for Technical Image Generation13 Dec 2025
- 2025Charts Are Not Images: On the Challenges of Scientific Chart Editing30 Nov 2025
- 2025Generative deep learning for foundational video translation in ultrasound5 Nov 2025
- 2025DiagramEval: Evaluating LLM-Generated Diagrams via Graphs29 Oct 2025
- 2025SciGA: A Comprehensive Dataset for Designing Graphical Abstracts in Academic Papers3 Jul 2025
- 2025Exploring In-Image Machine Translation with Real-World Background21 May 2025
12 newest of 24 All 24 (JSON)