Skip to content
DraconiticResearch
Search Sources API
203,948 studies31 sourcesUpdated 31 min ago
PreprintCC BY 4.0arXiv

Alkaid: A Compiler Framework for Ultra-Low-Latency Kernels on Hardware

Abstract

Ultra-low-latency machine learning and data processing pipelines operating on the sub-microsecond level often contain static dataflow kernels that require fine-grained bitwidth control, arithmetic optimization, and fast hardware performance estimation. This works introduce Alkaid, a free and open source domain specific compiler that translates sub-microsecond latency dataflow kernels into platform agnostic Register Transfer Level (RTL) or High-Level Synthesis (HLS)-ready code in seconds. Alkaid targets ultra-low-latency ML pipelines, especially those addressed by existing ML-to-hardware flows such as \texttt{hls4ml}, while also supporting the surrounding pre-processing, post-processing, and control logic. At its core, Alkaid uses an arithmetic centric intermediate representation, Alkaid Low-level IR (ALIR), to preserve fixed-point semantics, heterogeneous bitwidths, and operation level structure for optimization and code generation. Alkaid further provides comprehensive hardware-aware optimization passes and an interpretable white-box analytical performance model for rapid design space exploration without synthesis in the loop. Across representative ML workloads, including MLPs, GNNs, and transformers, Alkaid achieves 20-30\% lower LUT usage than the best prior flows for bit-exact equivalent designs, with up to 40\% lower latency in some cases. Beyond typical neural networks, Alkaid achieves comparable performance to the state-of-the-art method for synthesizing boosted decision trees, while also enabling the implementation and integration of non-ML kernels such as sorting networks and histograms.

Related

  1. QTUNER: A Feature-Guided Adaptive Framework for Quantum-Compiler Optimization Pass Tuning
    Ming Zhong, Xiangyu Ren, Jinglei Cheng +2
    arXivPreprintCC BY 4.0Full textQuantum physics & quantum informationarXiv
  2. Quantum-hardware spectral co-design framework for multifrequency Rydberg electrometry
    Song Huang, Guibin Tian, Fernando Quijandría +4
    arXivPreprintarXiv licenceFull textQuantum physics & quantum informationarXiv
  3. Q-RAIL: A Reliability-Aware Framework for Quantum Federated Learning on Heterogeneous Noisy Hardware
    Walid El Maouaki, Muhammad Shafique
    arXivPreprintarXiv licenceFull textQuantum physics & quantum informationarXiv
  4. Fundamental properties of two rapidly rotating stars: Rasalhague and Alkaid
    Axel Lazzarotto, Alain Hui-Bon-Hoa, Torsten Böhm +2
    Astronomy & Astrophysics - A&APeer-reviewedCC BY 4.0Full textSolar & stellar physicsGeneral physicsHAL
  5. QBX: A Compiler for 2-local Qubit Hamiltonian Simulation on Quantum Chiplets
    Zikun Li, Zhuoming Chen, Zhihao Jia
    arXivPreprintCC BY 4.0Full textQuantum physics & quantum informationarXiv
BibTeX
@misc{sun2026alkaid,
  title = {{Alkaid: A Compiler Framework for Ultra-Low-Latency Kernels on Hardware}},
  author = {Chang Sun and Zhiqiang Que and Dimitrios Danopoulos and Maurizio Pierini and Wayne Luk and Maria Spiropulu},
  howpublished = {arXiv},
  year = {2026},
  month = oct,
  doi = {10.48550/arxiv.2610.04808},
  eprint = {2610.04808},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.04808},
  note = {CC BY 4.0},
}
RIS
TY  - UNPB
TI  - Alkaid: A Compiler Framework for Ultra-Low-Latency Kernels on Hardware
AU  - Chang Sun
AU  - Zhiqiang Que
AU  - Dimitrios Danopoulos
AU  - Maurizio Pierini
AU  - Wayne Luk
AU  - Maria Spiropulu
PY  - 2026
DA  - 2026/10/03
PB  - arXiv
DO  - 10.48550/arxiv.2610.04808
UR  - https://arxiv.org/abs/2610.04808
AB  - Ultra-low-latency machine learning and data processing pipelines operating on the sub-microsecond level often contain static dataflow kernels that require fine-grained bitwidth control, arithmetic optimization, and fast hardware performance estimation. This works introduce Alkaid, a free and open source domain specific compiler that translates sub-microsecond latency dataflow kernels into platform agnostic Register Transfer Level (RTL) or High-Level Synthesis (HLS)-ready code in seconds. Alkaid targets ultra-low-latency ML pipelines, especially those addressed by existing ML-to-hardware flows such as \texttt{hls4ml}, while also supporting the surrounding pre-processing, post-processing, and control logic. At its core, Alkaid uses an arithmetic centric intermediate representation, Alkaid Low-level IR (ALIR), to preserve fixed-point semantics, heterogeneous bitwidths, and operation level structure for optimization and code generation. Alkaid further provides comprehensive hardware-aware optimization passes and an interpretable white-box analytical performance model for rapid design space exploration without synthesis in the loop. Across representative ML workloads, including MLPs, GNNs, and transformers, Alkaid achieves 20-30\% lower LUT usage than the best prior flows for bit-exact equivalent designs, with up to 40\% lower latency in some cases. Beyond typical neural networks, Alkaid achieves comparable performance to the state-of-the-art method for synthesizing boosted decision trees, while also enabling the implementation and integration of non-ML kernels such as sorting networks and histograms.
ER  -