Trellis: A Domain-Specific Language for Hidden Markov Models with Sparse Transitions

被引:0
|
作者
Hummelgren, Lars [1 ]
Palmkvist, Viktor [1 ]
Stjerna, Linnea [1 ]
Xu, Xuechun [1 ]
Jalden, Joakim [1 ]
Broman, David [1 ]
机构
[1] KTH Royal Inst Technol, Stockholm, Sweden
关键词
HiddenMarkovmodels; DSL; parallelization; GPU acceleration;
D O I
10.1145/3687997.3695641
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Hidden Markov models (HMMs) are frequently used in areas such as speech recognition and bioinformatics. However, implementing HMM algorithms correctly and efficiently is time-consuming and error-prone. Specifically, using model-specific knowledge to improve performance, such as sparsity in the transition probability matrix, ties the implementation to a particular model, making it harder to modify. Previous work has introduced high-level frameworks for defining HMMs, thus lifting the burden of efficiently implementing HMM algorithms from the user. However, existing tools are ill-suited for sparse HMMs with many states. This paper introduces Trellis, a domain-specific language for succinctly defining sparse HMMs that use GPU acceleration to achieve high performance. We show that Trellis outperforms previous work and is on par with a hand-written CUDA kernel implementation for a particular sparse HMM.
引用
收藏
页码:196 / 209
页数:14
相关论文
共 50 条
  • [1] A domain-specific language for models of landscape dynamics
    Fall, A
    Fall, J
    ECOLOGICAL MODELLING, 2001, 141 (1-3) : 1 - 18
  • [2] Conceptual language models for domain-specific retrieval
    Meij, Edgar
    Trieschnigg, Dolf
    de Rijke, Maarten
    Kraaij, Wessel
    INFORMATION PROCESSING & MANAGEMENT, 2010, 46 (04) : 448 - 469
  • [3] 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
  • [4] Domain-specific language for automatic generation of UML models
    Miranda, Marcio Assis
    Ribeiro, Marcos Guilherme
    Marques-Neto, Humberto Torres
    Junho Song, Mark Alan
    IET SOFTWARE, 2018, 12 (02) : 129 - 135
  • [5] A Model Query Language for Domain-Specific Models 2020
    Guo, Jiangmin
    Lu, Jinzhi
    Ding, Jie
    Wang, Guoxin
    2020 5TH INTERNATIONAL CONFERENCE ON MECHANICAL, CONTROL AND COMPUTER ENGINEERING (ICMCCE 2020), 2020, : 1203 - 1209
  • [6] 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,
  • [7] 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
  • [8] Learning Hidden Markov Sparse Models
    Li, Lin
    Scaglione, Anna
    2013 INFORMATION THEORY AND APPLICATIONS WORKSHOP (ITA), 2013,
  • [9] 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)
  • [10] A Domain-Specific Language for Microservices
    Donham, Jacob
    PROCEEDINGS OF THE 9TH ACM SIGPLAN INTERNATIONAL SYMPOSIUM ON SCALA (SCALA '18), 2018, : 2 - 12