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 条
  • [1] Grammar Prompting for Domain-Specific Language Generation with Large Language Models
    Wang, Bailin
    Wang, Zi
    Wang, Xuezhi
    Cao, Yuan
    Saurous, Rif A.
    Kim, Yoon
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 36 (NEURIPS 2023), 2023,
  • [2] A Domain-Specific Language for Generating Dataflow Analyzers
    Zeng, Jia
    Mitchell, Chuck
    Edwards, Stephen A.
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2006, 164 (02) : 103 - 119
  • [3] On the Effectiveness of Large Language Models in Domain-Specific Code Generation
    Gu, Xiaodong
    Chen, Meng
    Lin, Yalan
    Hu, Yuhan
    Zhang, Hongyu
    Wan, Chengcheng
    Wei, Zhao
    Xu, Yong
    Wang, Juhong
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2025, 34 (03)
  • [4] Large language models as oracles for instantiating ontologies with domain-specific knowledge
    Ciatto, Giovanni
    Agiollo, Andrea
    Magnini, Matteo
    Omicini, Andrea
    KNOWLEDGE-BASED SYSTEMS, 2025, 310
  • [5] FAMILIAR: A domain-specific language for large scale management of feature models
    Acher, Mathieu
    Collet, Philippe
    Lahire, Philippe
    France, Robert B.
    SCIENCE OF COMPUTER PROGRAMMING, 2013, 78 (06) : 657 - 681
  • [6] Vizir: A Domain-Specific Graphical Language for Authoring and Operating Airport Automations
    Conversy, Stephane
    Garcia, Jeremie
    Buisan, Guilhem
    Cousy, Mathieu
    Poirier, Mathieu
    Saporito, Nicolas
    Taurino, Damiano
    Frau, Giuseppe
    Debattista, Johan
    UIST 2018: PROCEEDINGS OF THE 31ST ANNUAL ACM SYMPOSIUM ON USER INTERFACE SOFTWARE AND TECHNOLOGY, 2018, : 261 - 273
  • [7] A domain-specific language for models of landscape dynamics
    Fall, A
    Fall, J
    ECOLOGICAL MODELLING, 2001, 141 (1-3) : 1 - 18
  • [8] Conceptual language models for domain-specific retrieval
    Meij, Edgar
    Trieschnigg, Dolf
    de Rijke, Maarten
    Kraaij, Wessel
    INFORMATION PROCESSING & MANAGEMENT, 2010, 46 (04) : 448 - 469
  • [9] Domain-specific language models and lexicons for tagging
    Coden, AR
    Pakhomov, SV
    Ando, RKB
    Duffy, PH
    Chute, CG
    JOURNAL OF BIOMEDICAL INFORMATICS, 2005, 38 (06) : 422 - 430
  • [10] Large Language Models and Rule-Based Approaches in Domain-Specific Communication
    Halvonik, Dominik
    Kapusta, Jozef
    IEEE ACCESS, 2024, 12 : 107046 - 107058