Ultra-Fast Machine Learning Inference through C Code Generation for Tangled Program Graphs - Archive ouverte HAL
Communication Dans Un Congrès Année : 2022

Ultra-Fast Machine Learning Inference through C Code Generation for Tangled Program Graphs

Résumé

Tangled Program Graph (TPG) is a Reinforcement Learning (RL) technique based on genetic programming concepts. On state-of-the-art learning environments, TPGs have been shown to offer comparable competence with Deep Neural Networks (DNNs), for a fraction of their computational and storage cost. The contribution of this paper focuses on accelerating the inference of pre-trained TPGs, through the generation of standalone C code. While the training process of TPGs, based on genetic evolution principles, requires the use of flexible data structures supporting random mutations, this flexibility is no longer needed when focusing on the inference process. Evaluation of the proposed approach on four computing platforms, including embedded CPUs, produces an acceleration of the TPG inference by a factor 50 compared to state-ofthe-art implementations. The inference performance obtained within a complex RL environment range between hundreds of nano-seconds to micro-seconds, making this approach highly competitive for edge Artificial Intelligence (AI).
Fichier principal
Vignette du fichier
sips22.pdf (283.57 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-03845227 , version 1 (09-11-2022)

Identifiants

Citer

Karol Desnos, Thomas Bourgoin, Mickael Dardaillon, Nicolas Sourbier, Olivier Gesny, et al.. Ultra-Fast Machine Learning Inference through C Code Generation for Tangled Program Graphs. 2022 IEEE Workshop on Signal Processing Systems (SiPS), Nov 2022, Rennes, France. pp.1-6, ⟨10.1109/SiPS55645.2022.9919237⟩. ⟨hal-03845227⟩
93 Consultations
265 Téléchargements

Altmetric

Partager

More