Abstract
Tiny machine learning (TinyML) enables low-power microcontrollers to leverage the power of artificial intelligence without relying on remote computing resources. Typically, developing a TinyML application relies primarily on existing TinyML frameworks, which provide runtime APIs for loading and executing machine learning models. However, such framework-based TinyML development has limitations in terms of portability, programmability, and resource efficiency, motivating the need for a new approach to the TinyML development and deployment process. To address these challenges, this work introduces TinyGen, a new code generation framework for TinyML. TinyGen generates portable high-level code directly from a target model without depending on external runtime APIs. It statically analyzes the tensor and operator usage of the target model to enable compact code generation. This work demonstrates that TinyGen reduces binary code size by 31.2% on average compared to an existing TinyML framework while requiring fewer lines of code to write TinyML applications.
| Original language | English |
|---|---|
| Title of host publication | CC 2026 - Proceedings of the 35th ACM SIGPLAN International Conference on Compiler Construction |
| Editors | Martin Kong, Uday Bondhugula, Tobias Grosser |
| Publisher | Association for Computing Machinery, Inc |
| Pages | 131-142 |
| Number of pages | 12 |
| ISBN (Electronic) | 9798400722745 |
| DOIs | |
| Publication status | Published - 28 Jan 2026 |
| Event | 35th ACM SIGPLAN International Conference on Compiler Construction, CC 2026 - Sydney, Australia Duration: 31 Jan 2026 → 1 Feb 2026 |
Publication series
| Name | CC 2026 - Proceedings of the 35th ACM SIGPLAN International Conference on Compiler Construction |
|---|
Conference
| Conference | 35th ACM SIGPLAN International Conference on Compiler Construction, CC 2026 |
|---|---|
| Country/Territory | Australia |
| City | Sydney |
| Period | 31/01/26 → 1/02/26 |
Bibliographical note
Publisher Copyright:© 2026 Owner/Author.
UN SDGs
This output contributes to the following UN Sustainable Development Goals (SDGs)
-
SDG 8 Decent Work and Economic Growth
-
SDG 12 Responsible Consumption and Production
Keywords
- automatic code generation
- multi-level intermediate representation
- systems for machine learning
- Tiny machine learning
Fingerprint
Dive into the research topics of 'TinyGen: Portable and Compact Code Generation for Tiny Machine Learning'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver