paper-with-me

홈 › Papers

TikZilla: Scaling Text-to-TikZ with High-Quality Data and Reinforcement Learning

2026-03-03 · Christian Greisinger, Steffen Eger arxiv

Large language models (LLMs) are increasingly used to assist scientists across diverse workflows. A key challenge is generating high-quality figures from textual descriptions, often represented as TikZ programs that can be rendered as scientific images. Prior research has proposed a variety of datasets and modeling approaches for this task. However, existing datasets for Text-to-TikZ are too small and noisy to capture the complexity of TikZ, causing mismatches between text and rendered figures. Moreover, prior approaches rely solely on supervised fine-tuning (SFT), which does not expose the model to the rendered semantics of the figure, often resulting in errors such as looping, irrelevant content, and incorrect spatial relations. To address these issues, we construct DaTikZ-V4, a dataset more than four times larger and substantially higher in quality than DaTikZ-V3, enriched with LLM-generated figure descriptions. Using this dataset, we train TikZilla, a family of small open-source Qwen models (3B and 8B) with a two-stage pipeline of SFT followed by reinforcement learning (RL). For RL, we leverage an image encoder trained via inverse graphics to provide semantically faithful reward signals. Extensive human evaluations with over 1,000 judgments show that TikZilla improves by 1.5-2 points over its base models on a 5-point scale, surpasses GPT-4o by 0.5 points, and matches GPT-5 in the image-based evaluation, while operating at much smaller model sizes. Code, data, and models will be made available.

📄 PDF Abstract BibTeX arXiv:2603.03072

Code (0)

등록된 구현이 없습니다.

Tasks

Reinforcement Learning

Similar Papers 제목 키워드 기반

DeTikZify: Synthesizing Graphics Programs for Scientific Figures and Sketches with TikZ

2024-05-24 · Jonas Belouadi, Simone Paolo Ponzetto, Steffen Eger

Creating high-quality scientific figures can be time-consuming and challenging, even though sketching ideas on paper is relatively easy. Furthermore, recreating existing figures that are not stored in formats preserving …

Language ModelingLanguage Modelling

AutomaTikZ: Text-Guided Synthesis of Scientific Vector Graphics with TikZ

2023-09-30 · Jonas Belouadi, Anne Lauscher, Steffen Eger

Generating bitmap graphics from text has gained considerable attention, yet for scientific figures, vector graphics are often preferred. Given that vector graphics are typically encoded using low-level graphics primitive…

Language ModelingLanguage ModellingLarge Language ModelMemorization+1

Edit2TikZ: A Comprehensive and Challenging Benchmark for Scientific Figure Editing with TikZ

2026-08-13 · Zongyun Zhang, Jiacheng Ruan, Xian Gao, Ruizhu Zhou 외 arxiv

Although multimodal large language models (MLLMs) have shown substantial potential in visual understanding and graphic code generation, editing scientific figures through code presents a greater challenge: a model must j…

Instruction FollowingVisual LocalizationCode Generation

Scientific Graphics Program Synthesis via Dual Self-Consistency Reinforcement Learning

2026-04-07 · Juekai Lin, Yun Zhu, Honglin Lin, Sijing Li 외 arxiv

Graphics Program Synthesis is pivotal for interpreting and editing visual data, effectively facilitating the reverse-engineering of static visuals into editable TikZ code. While TikZ is the de facto standard for scientif…

Reinforcement LearningProgram Synthesis

TikZero: Zero-Shot Text-Guided Graphics Program Synthesis

2025-03-14 · Jonas Belouadi, Eddy Ilg, Margret Keuper, Hideki Tanaka 외

With the rise of generative AI, synthesizing figures from text captions becomes a compelling application. However, achieving high geometric precision and editability requires representing figures as graphics programs in …

Program Synthesis