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 条
  • [41] Federated Learning-Based Tokenizer for Domain-Specific Language Models in Finance
    Damoun, Farouk
    Seba, Hamida
    State, Radu
    SOCIAL NETWORKS ANALYSIS AND MINING, ASONAM 2024, PT II, 2025, 15212 : 3 - 20
  • [42] Domain-Specific Software Component Models
    Lau, Kung-Kiu
    Taweel, Faris M.
    COMPONENT-BASED SOFTWARE ENGINEERING, PROCEEDINGS, 2009, 5582 : 19 - 35
  • [43] Concept Models for Domain-Specific Search
    Meij, Edgar
    de Rijke, Maarten
    EVALUATING SYSTEMS FOR MULTILINGUAL AND MULTIMODAL INFORMATION ACCESS, 2009, 5706 : 207 - 214
  • [44] Natural-language Scenario Descriptions for Testing Core Language Models of Domain-Specific Languages
    Hoisl, Bernhard
    Sobernig, Stefan
    Strembeck, Mark
    PROCEEDINGS OF THE 2014 2ND INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING AND SOFTWARE DEVELOPMENT (MODELSWARD 2014), 2014, : 356 - 367
  • [45] Hidden Markov models in speech and language processing
    Knill, K
    Young, S
    CORPUS-BASED METHODS IN LANGUAGE AND SPEECH PROCESSING, 1997, 2 : 27 - 68
  • [46] LegalLanguage: A Domain-Specific Language for Legal Contexts
    Soares, Ambrosio Alves
    Martins, Paula Ventura
    da Silva, Alberto Rodrigues
    ADVANCES IN ENTERPRISE ENGINEERING XIII, EEWC 2019, 2020, 374 : 33 - 51
  • [47] A Domain-Specific Language for Exploratory Data Visualization
    Smeltzer, Karl
    Erwig, Martin
    PROCEEDINGS OF THE 17TH ACM SIGPLAN INTERNATIONAL CONFERENCE ON GENERATIVE PROGRAMMING: CONCEPTS AND EXPERIENCES (GPCE'18), 2018, : 1 - 13
  • [48] EXTENSIBLE HOST LANGUAGE FOR DOMAIN-SPECIFIC LANGUAGES
    Chodarev, Sergej
    Kollar, Jan
    COMPUTING AND INFORMATICS, 2016, 35 (01) : 84 - 110
  • [49] A Test Model For Domain-Specific Language Development
    kihlman, Ludvig
    2017 9TH COMPUTER SCIENCE AND ELECTRONIC ENGINEERING (CEEC), 2017,
  • [50] A domain-specific language for the specification of UCON policies
    Reina Quintero, Antonia M.
    Martinez Perez, Salvador
    Jesus Varela-Vaca, Angel
    Gomez Lopez, Maria Teresa
    Cabot, Jordi
    JOURNAL OF INFORMATION SECURITY AND APPLICATIONS, 2022, 64