paperbot · PL 论文追踪

全部论文 待读 收藏

CAS2UML: A Handwritten Sketch-to-PlantUML Dataset for Class and Activity Diagrams

CAS2UML:一个面向类图和活动图的手写草图到 PlantUML 数据集
ASE Proceedings of the 41st IEEE/ACM International Conference on Automated Software Engineering2026引用 1 inbox
Simon Scholz, Mersedeh Sadeghi
crossref: 2026-10-09

AI 速览

一句话:发布包含557个手写UML图与人工验证PlantUML代码的公开数据集,并提供可复现验证工具。

随着大语言模型和多模态AI的兴起,从草图或图像自动生成UML重新受到关注,但缺乏带可执行真值模型的公开数据集,使评估难以复现。本文提出CAS2UML数据集,包含557个手绘图,其中271个类图、286个活动图,每张图配有人工验证的PlantUML代码。作者还提供基于PlantUML的验证工具和可复用脚本,用于检查生成UML产物的语法正确性与可渲染性,从而支持sketch-to-UML方法的可复现基准测试。数据集、验证工具、处理脚本、文档和演示视频均已公开。

问题
从手绘草图或图像自动生成UML时,缺乏带可执行ground-truth模型的公开数据集,导致不同方法的评估难以复现和比较。
方法
构建CAS2UML数据集,收录手绘类图与活动图并配人工验证的PlantUML代码,同时提供基于PlantUML的验证工具与脚本,用于检查生成UML的语法正确性和可渲染性。
评估
通过557个手绘图(271个类图、286个活动图)及配套PlantUML真值支持可复现基准测试,并可用公开验证工具检查生成UML产物的语法正确性与可渲染性。
原文摘要(Abstract)

Automated UML generation from sketches and images is gaining renewed attention with the rise of large language models and multimodal AI. However, reproducible evaluation remains difficult due to the lack of public datasets with executable ground-truth models. We present CAS2UML, a public dataset of 557 hand-drawn UML diagrams, including 271 class diagrams and 286 activity diagrams, each paired with manually validated PlantUML code. We also provide a PlantUML-based validation tool and reusable scripts for checking the syntactic correctness and renderability of generated UML artifacts, enabling reproducible benchmarking of sketch-to-UML approaches. The dataset, validation tool, processing scripts, documentation, and demonstration video are publicly available at: Dataset: https://huggingf ace.co/datasets/Seym0n /cas2uml_hand-drawn_to_plantuml_dataset; Tool and Scripts: https://github.com/Seym0n/handwritten-uml-dataset; Video:https://www.youtube.com/watch?v=KQrYeGgT3hs.

链接与引用

DOI 原文 · arXiv ·

BibTeX
@inproceedings{paperbot12602,
  title = {CAS2UML: A Handwritten Sketch-to-PlantUML Dataset for Class and Activity Diagrams},
  author = {Simon Scholz and Mersedeh Sadeghi},
  booktitle = {ASE},
  year = {2026},
  doi = {10.1145/3832783.3834613}
}