Generating Domain-Specific Programs for Diagram Authoring with Large Language Models

被引:4
|
作者
Jain, Rijul [1 ]
Ni, Wode [2 ]
Sunshine, Joshua [2 ]
机构
[1] Williams Coll, Williamstown, MA 01267 USA
[2] Carnegie Mellon Univ, Pittsburgh, PA USA
关键词
domain-specific languages; large language models; visualization;
D O I
10.1145/3618305.3623612
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Large language models (LLMs) can generate programs in general-purpose languages from prose descriptions, but are not trained on many domain-specific languages (DSLs). Diagram authoring with Penrose, a diagramming system using three DSLs, exemplifies the utility of DSL program generation with LLMs, which enables diagram creation from prose. We provide methods to conceptualize and evaluate the structures of one-shot LLM prompts to generate error-free DSL programs and implement Penrose diagram creation from prose using LLMs. We will evaluate our LLM prompt structures by testing prompt variations across different diagramming domains and plan to run a user study to assess the ease of LLM-augmented Penrose diagramming over other tools.
引用
收藏
页码:70 / 71
页数:2
相关论文
共 50 条
  • [21] PreparedLLM: effective pre-pretraining framework for domain-specific large language models
    Chen, Zhou
    Lin, Ming
    Wang, Zimeng
    Zang, Mingrun
    Bai, Yuqi
    BIG EARTH DATA, 2024, 8 (04) : 649 - 672
  • [22] Language Models Learning for Domain-Specific Natural Language User Interaction
    Bai, Shuanhu
    Huang, Chien-Lin
    Tan, Yeow-Kee
    Ma, Bin
    2009 IEEE INTERNATIONAL CONFERENCE ON ROBOTICS AND BIOMIMETICS (ROBIO 2009), VOLS 1-4, 2009, : 2480 - 2485
  • [23] Generating Domain-Specific Process Studios
    Mos, Adrian
    Cortes-Cornax, Mario
    2016 IEEE 20TH INTERNATIONAL ENTERPRISE DISTRIBUTED OBJECT COMPUTING CONFERENCE (EDOC), 2016, : 40 - 49
  • [24] Transformation of UML Class Diagram to Internal Java']Java Domain-Specific Language
    Buzdin, Dmitry
    Nikiforova, Oksana
    APPLIED COMPUTER SYSTEMS, 2012, 13 (01) : 61 - 67
  • [25] Augmenting Large Language Models with Rules for Enhanced Domain-Specific Interactions: The Case of Medical Diagnosis
    Panagoulias, Dimitrios P.
    Virvou, Maria
    Tsihrintzis, George A.
    ELECTRONICS, 2024, 13 (02)
  • [26] A Domain-Specific Language for Microservices
    Donham, Jacob
    PROCEEDINGS OF THE 9TH ACM SIGPLAN INTERNATIONAL SYMPOSIUM ON SCALA (SCALA '18), 2018, : 2 - 12
  • [27] A Domain-specific Language for Automated Fault Injection in SystemC Models
    Lohmann, Douglas
    Huf, Alexis
    Lettnin, Djones
    Siqueira, Frank
    Guntzel, Jose Luis
    2018 25TH IEEE INTERNATIONAL CONFERENCE ON ELECTRONICS, CIRCUITS AND SYSTEMS (ICECS), 2018, : 425 - 428
  • [28] Architecture and Language for Semantic Reduction of Domain-Specific Models in BPMS
    Lace, Lelde
    Liepins, Renars
    Rencis, Edgars
    PERSPECTIVES IN BUSINESS INFORMATICS RESEARCH, BIR 2012, 2012, 128 : 70 - 84
  • [29] Auto-generating question-answering datasets with domain-specific knowledge for language models in scientific tasks
    Li, Zongqian
    Cole, Jacqueline M.
    DIGITAL DISCOVERY, 2025,
  • [30] Generating System Models for a Highly Configurable Train Control System Using A Domain-Specific Language: A Case Study
    Kloos, Johannes
    Eschbach, Robert
    ICSTW 2009: IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION, AND VALIDATION WORKSHOPS, 2009, : 39 - 47