Volltext-Downloads (blau) und Frontdoor-Views (grau)

Optimizing tensor train decomposition in DNNs for RISC-V architectures using design space exploration and compiler optimizations

  • Deep neural networks (DNNs) have become indispensable in many real-life applications like natural language processing, and autonomous systems. However, deploying DNNs on resource-constrained devices, e.g., in RISC-V platforms, remains challenging due to the high computational and memory demands of fully connected (FC) layers, which dominate resource consumption. Low-rank factorization (LRF) offers an effective approach to compressing FC layers, but the vast design space of LRF solutions involves complex tradeoffs among FLOPs, memory size, inference time, and accuracy, making the LRF process complex and time-consuming. This article introduces an end-to-end LRF design space exploration methodology and a specialized design tool for optimizing FC layers on RISC-V processors. Using Tensor Train Decomposition (TTD) offered by TensorFlow T3F library, the proposed work prunes the LRF design space by excluding first, inefficient decomposition shapes and second, solutions with poor inference performance on RISC-V architectures. Compiler optimizations are then applied to enhance custom T3F layer performance, minimizing inference time and boosting computational efficiency. On average, our TT-decomposed layers run 3× faster than IREE and 8× faster than Pluto on the same compressed model. This work provides an efficient solution for deploying DNNs on edge and embedded devices powered by RISC-V architectures.

Download full text files

Export metadata

Additional Services

Search Google Scholar

Statistics

frontdoor_oas
Metadaten
Author of HS ReutlingenHimpel, Benjamin
URN:urn:nbn:de:bsz:rt2-opus4-59048
DOI:https://doi.org/10.1145/3768624
ISSN:1539-9087
Published in:ACM Transactions on Embedded Computing Systems
Publisher:ACM Press
Place of publication:New York
Document Type:Journal article
Language:English
Publication year:2025
Volume:24
Issue:6
Page Number:34
Article Number:171
DDC classes:004 Informatik
Open access?:Ja
Licence (German):License Logo  Creative Commons - CC BY - Namensnennung 4.0 International