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 条
  • [31] RAIL: A Domain-Specific Language for Generating NPC Behaviors in Action/Adventure Game
    Zhu, Meng
    Wang, Alf Inge
    ADVANCES IN COMPUTER ENTERTAINMENT TECHNOLOGY, ACE 2017, 2018, 10714 : 868 - 881
  • [32] Generating Domain-Specific Visual Language Tools from Abstract Visual Specifications
    Grundy, John C.
    Hosking, John
    Li, Karen Na
    Ali, Norhayati Mohd
    Huh, Jun
    Li, Richard Lei
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2013, 39 (04) : 487 - 515
  • [33] Visualization of Domain-Specific Programs' Behavior
    Oliveira, Nuno
    Varanda Pereira, Maria Joao
    Henriques, Pedro Rangel
    da Cruz, Daniela
    2009 5TH IEEE INTERNATIONAL WORKSHOP ON VISUALIZING SOFTWARE FOR UNDERSTANDING AND ANALYSIS, 2009, : 37 - +
  • [34] A Domain-Specific Language for Aviation Domain Interoperability
    Comitz, Paul
    2013 INTEGRATED COMMUNICATIONS, NAVIGATION AND SURVEILLANCE CONFERENCE (ICNS), 2013,
  • [35] JAMOOS: A domain-specific language for language processing
    Gil, Joseph Yossi
    Tsoglin, Yuri
    2001, University of Zagreb, Faculty of Political Sciences (09)
  • [36] Generating Version Convertors for Domain-Specific Languages
    de Geest, Gerardo
    Vermolen, Sander
    van Deursen, Arie
    Visser, Eelco
    FIFTEENTH WORKING CONFERENCE ON REVERSE ENGINEERING, PROCEEDINGS, 2008, : 197 - 201
  • [37] Evaluating and Enhancing Large Language Models'Performancein Domain-Specific Medicine:Development and Usability StudyWith DocOA
    Chen, Xi
    Wang, Li
    You, Mingke
    Liu, Weizhi
    Fu, Yu
    Xu, Jie
    Zhang, Shaoting
    Chen, Gang
    Li, Kang
    Li, Jian
    JOURNAL OF MEDICAL INTERNET RESEARCH, 2024, 26
  • [38] Generating Domain-Specific Interactive Validation Documents
    Vu, Fabian
    Happe, Christopher
    Leuschel, Michael
    FORMAL METHODS FOR INDUSTRIAL CRITICAL SYSTEMS (FMICS 2022), 2022, 13487 : 32 - 49
  • [39] Generating Domain-Specific Interactive Validation Documents
    Vu, Fabian
    Happe, Christopher
    Leuschel, Michael
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2022, 13487 LNCS : 32 - 49
  • [40] Large language model and domain-specific model collaboration for smart education
    Luo, Yawei
    Yang, Yi
    FRONTIERS OF INFORMATION TECHNOLOGY & ELECTRONIC ENGINEERING, 2024, 25 (03) : 333 - 341