atlas

Research map / Vision-language and multimodal / Human and embodied modeling

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

ICLR 2024 · Vision-language and multimodal › Human and embodied modeling · approach: Scientific domain vision datasets · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes using TikZ as an intermediate representation for generating scientific vector figures from captions, releasing a 120k TikZ-caption dataset (AutomaTikZ) and CLiMA, a LLaMA variant augmented with CLIP embeddings.

Problem

Generating scientific vector graphics from text is hard because low-level SVG primitives are difficult for models to produce directly and prior methods handle only simple icons or fonts; no large TikZ dataset existed.

Approach

Use the high-level TikZ graphics language as an intermediate representation for text-conditioned figure generation, and inject CLIP multimodal embeddings as soft prompts into LLaMA (CLiMA) so the model gets a visual interpretation of captions; add iterative resampling guided by compiler logs to fix errors.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Integrate CLIP multimodal embeddings into LLaMALLaMA[7b] · Human-created test setCrystalBLEU: by up to 0.4ppHelped
Integrate CLIP multimodal embeddings into LLaMALLaMA[13b] · Human-created test setCLIPScore[img]: 0.1pp higher CLIPScore[img] for LLaMA[13b]Hurt
Add reference images as inputs at inferenceCLiMA[13b] · Human-created test setCLIPScore[img]: 1.2ppHelped
Add reference images as inputs at inferenceCLiMA[13b] · Human-created test setKIDNo clear effect
Remove caption augmentation (ablation)CLiMA[7b] · Human-created test setCLIPScore: 26.776 -> 25.703Hurt
Remove caption augmentation (ablation)CLiMA[7b] · Human-created test setCSR: 1.202 -> 1.169Helped
Remove image inputs during training (ablation)CLiMA[7b] · Human-created test setCLIPScore: 26.776 -> 26.604Hurt
Remove Arxiv papers (86k) from training (ablation)CLiMA[7b] · Human-created test setCrystalBLEU: 2.82 -> 0.886Hurt
Remove Stack Exchange (29k) from training (ablation)CLiMA[7b] · Human-created test setCrystalBLEU: 2.82 -> 2.936Helped
Remove artificial examples (4k) from training (ablation)CLiMA[7b] · Human-created test setCrystalBLEU: 2.82 -> 2.537Hurt
Remove curated examples (1k) from training (ablation)CLiMA[7b] · Human-created test setCrystalBLEU: 2.82 -> 2.711Hurt
Use GPT instead of CLiMA[13b]TikZ generation · Human-created test setCLIPScore[img]: 81.017 vs 78.63Hurt

Surprising findings

Limitations

Experimental setup

Datasets: AutomaTikZ MSCOCO LVIS VisOr OpenMoji LAION-style 595K text-image pairs

Benchmarks: AutomaTikZ test set (1k human-created items)

Metrics: CLIPScore CLIPScore-img KID CrystalBLEU EED compilation sampling rate best-worst scaling

Baselines: GPT-4 Claude LLaMA-7b LLaMA-13b

Builds on: LLaMA CLIP LoRA CapFilt CLIPScore

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy