Saved in:
Bibliographic Details
Main Authors: Stein, Daniel, Huang, Shaoyi, Drechsler, Rolf, Li, Bing, Zhang, Grace Li
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2601.22151
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908798741905408
author Stein, Daniel
Huang, Shaoyi
Drechsler, Rolf
Li, Bing
Zhang, Grace Li
author_facet Stein, Daniel
Huang, Shaoyi
Drechsler, Rolf
Li, Bing
Zhang, Grace Li
contents Neural networks have been successfully applied in various resource-constrained edge devices, where usually central processing units (CPUs) instead of graphics processing units exist due to limited power availability. State-of-the-art research still focuses on efficiently executing enormous numbers of multiply-accumulate (MAC) operations. However, CPUs themselves are not good at executing such mathematical operations on a large scale, since they are more suited to execute control flow logic, i.e., computer algorithms. To enhance the computation efficiency of neural networks on CPUs, in this paper, we propose to convert them into logic flows for execution. Specifically, neural networks are first converted into equivalent decision trees, from which decision paths with constant leaves are then selected and compressed into logic flows. Such logic flows consist of if and else structures and a reduced number of MAC operations. Experimental results demonstrate that the latency can be reduced by up to 14.9 % on a simulated RISC-V CPU without any accuracy degradation. The code is open source at https://github.com/TUDa-HWAI/NN2Logic
format Preprint
id arxiv_https___arxiv_org_abs_2601_22151
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Late Breaking Results: Conversion of Neural Networks into Logic Flows for Edge Computing
Stein, Daniel
Huang, Shaoyi
Drechsler, Rolf
Li, Bing
Zhang, Grace Li
Machine Learning
Systems and Control
Neural networks have been successfully applied in various resource-constrained edge devices, where usually central processing units (CPUs) instead of graphics processing units exist due to limited power availability. State-of-the-art research still focuses on efficiently executing enormous numbers of multiply-accumulate (MAC) operations. However, CPUs themselves are not good at executing such mathematical operations on a large scale, since they are more suited to execute control flow logic, i.e., computer algorithms. To enhance the computation efficiency of neural networks on CPUs, in this paper, we propose to convert them into logic flows for execution. Specifically, neural networks are first converted into equivalent decision trees, from which decision paths with constant leaves are then selected and compressed into logic flows. Such logic flows consist of if and else structures and a reduced number of MAC operations. Experimental results demonstrate that the latency can be reduced by up to 14.9 % on a simulated RISC-V CPU without any accuracy degradation. The code is open source at https://github.com/TUDa-HWAI/NN2Logic
title Late Breaking Results: Conversion of Neural Networks into Logic Flows for Edge Computing
topic Machine Learning
Systems and Control
url https://arxiv.org/abs/2601.22151