mlsanityData to 7 Oct 2026

MermaidSeqBench: An Evaluation Benchmark for NL-to-Mermaid Sequence Diagram Generation

arXiv 2511.14967 ↗First posted 18 Nov 2025cs.SE cs.AI cs.LGcited by 3

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) have shown great promise in generating structured diagrams from natural language descriptions, particularly Mermaid sequence diagrams for software engineering. However, the lack of existing benchmarks to assess the LLM's correctness on this task hinders rigorous, systematic evaluation and principled comparison of model capabilities on this task. To address this shortcoming, we introduce MermaidSeqBench, a human-verified and synthetically extended benchmark for assessing LLM capabilities in generating Mermaid sequence diagrams from natural language prompts. The benchmark consists of 132 samples developed via a hybrid methodology of human-verified flows, LLM-based augmentation, and rule-based expansion. The evaluation uses an LLM-as-a-judge model to assess generation across various fine-grained metrics such as syntax correctness, activation handling, error handling, and practical usability. To demonstrate the effectiveness and flexibility of our benchmark, we perform initial evaluations on numerous state-of-the-art LLMs with multiple LLM judges which reveal significant capability gaps across models and evaluation modes. MermaidSeqBench provides a foundation for evaluating structured diagram generation and advances the scientific understanding of LLM capabilities and limitations in structured generation tasks.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 11 of its 35 references that are in the map. First posted on arXiv 18 Nov 2025.

Builds on

11 of 35 references.

References · 11

  1. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  3. 2021Program Synthesis with Large Language Modelscited by 3,509
  4. 2024A Survey on Large Language Models for Code Generationcited by 646
  5. 2024Judging the Judges: Evaluating Alignment and Vulnerabilities in LLMs-as-Judgescited by 197
  6. 2023A Comparative Analysis of Large Language Models for Code Documentation Generationcited by 24
  7. 2024Model Generation with LLMs: From Requirements to UML Sequence Diagramscited by 11
  8. 2025Conversational AI as a Coding Assistant: Understanding Programmers' Interactions with and Expectations from Large Language Models for Codingcited by 11
  9. 2024Free and Customizable Code Documentation with LLMs: A Fine-Tuning Approachcited by 10
  10. 2024How LLMs Aid in UML Modeling: An Exploratory Study with Novice Analystscited by 8
  11. 2025Behavioral Augmentation of UML Class Diagrams: An Empirical Study of Large Language Models for Method Generationcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 3.

3 papers.