SEAIMay 7, 2025

LLM Code Customization with Visual Results: A Benchmark on TikZ

arXiv:2505.04670v23 citationsh-index: 31EASE
Originality Synthesis-oriented
AI Analysis

This addresses the challenge for developers and users in AI-assisted code editing, though it is incremental as it focuses on benchmarking rather than a new method.

The paper tackles the problem of customizing code for visual outcomes using natural language instructions by introducing vTikZ, a benchmark to evaluate LLMs, and finds that existing solutions struggle to align code modifications with visual intent reliably.

With the rise of AI-based code generation, customizing existing code out of natural language instructions to modify visual results -such as figures or images -has become possible, promising to reduce the need for deep programming expertise. However, even experienced developers can struggle with this task, as it requires identifying relevant code regions (feature location), generating valid code variants, and ensuring the modifications reliably align with user intent. In this paper, we introduce vTikZ, the first benchmark designed to evaluate the ability of Large Language Models (LLMs) to customize code while preserving coherent visual outcomes. Our benchmark consists of carefully curated vTikZ editing scenarios, parameterized ground truths, and a reviewing tool that leverages visual feedback to assess correctness. Empirical evaluation with stateof-the-art LLMs shows that existing solutions struggle to reliably modify code in alignment with visual intent, highlighting a gap in current AI-assisted code editing approaches. We argue that vTikZ opens new research directions for integrating LLMs with visual feedback mechanisms to improve code customization tasks in various domains beyond TikZ, including image processing, art creation, Web design, and 3D modeling.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes