Skip to content
aiqbench takeAI Research

aiqbench analysis

This study investigates the friction between Large Language Models and visualization Domain-Specific Languages (DSLs), revealing four specific failure patterns when models attempt to generate chart specifications that humans find intuitive. The findings suggest that current DSL designs, optimized for human cognition, may require architectural adjustments to accommodate the distinct reasoning constraints of AI agents. For researchers in generative UI and data visualization, this work provides a critical roadmap for aligning language model capabilities with domain-specific syntax requirements.
Sources coveringarXiv, Latent Space, The Verge
What this isA model's reading of the article and related coverage, written for aiqbench. Not the publisher's words.

Where LLMs Fail with Visualization DSLs

arXiv2 min read

arXiv:2610.01873v1 Announce Type: cross Abstract: As LLMs take up the role of authoring charts using visualization domain-specific languages (DSLs), the human constraints that shaped those languages may no longer apply, as what is easy for a person is not necessarily easy for a model. To understand how LLMs might work better with DSLs, we explore where and how they fail with current DSL designs. We evaluate 10 JSON-style visualization DSLs with 41 tasks across 3 LLMs, then assess the generated specifications with JSON and rendering checks, and qualitative coding of failed cases. Analyzing how this specification generation process fails, we identify four recurring failure patterns, link each to specific DSL features, and discuss design considerations for future DSL designs.

Abstract:As LLMs take up the role of authoring charts using visualization domain-specific languages (DSLs), the human constraints that shaped those languages may no longer apply, as what is easy for a person is not necessarily easy for a model. To understand how LLMs might work better with DSLs, we explore where and how they fail with current DSL designs. We evaluate 10 JSON-style visualization DSLs with 41 tasks across 3 LLMs, then assess the generated specifications with JSON and rendering checks, and qualitative coding of failed cases. Analyzing how this specification generation process fails, we identify four recurring failure patterns, link each to specific DSL features, and discuss design considerations for future DSL designs.

Human-Computer Interaction (cs.HC); Computation and Language (cs.CL)

arXiv:2610.01873 [cs.HC]

(or arXiv:2610.01873v1 [cs.HC] for this version)

https://doi.org/10.48550/arXiv.2610.01873 Focus to learn more arXiv-issued DOI via DataCite (pending registration)

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Full text under the publisher's open licence · 212 words

Related coverage