MaRVIn: A Cross-Layer Mixed-Precision RISC-V Framework for DNN Inference, from ISA Extension to Hardware Acceleration
Not on the map. Why?
Abstract (arXiv)
The evolution of quantization and mixed-precision techniques has unlocked new possibilities for enhancing the speed and energy efficiency of NNs. Several recent studies indicate that adapting precision levels across different parameters can maintain accuracy comparable to full-precision models while significantly reducing computational demands. However, existing embedded microprocessors lack sufficient architectural support for efficiently executing mixed-precision NNs, both in terms of ISA extensions and hardware design, resulting in inefficiencies such as excessive data packing/unpacking and underutilized arithmetic units. In this work, we propose novel ISA extensions and a micro-architecture implementation specifically designed to optimize mixed-precision execution, enabling energy-efficient deep learning inference on RISC-V architectures. We introduce MaRVIn, a cross-layer hardware-software co-design framework that enhances power efficiency and performance through a combination of hardware improvements, mixed-precision quantization, ISA-level optimizations, and cycle-accurate emulation. At the hardware level, we enhance the ALU with configurable mixed-precision arithmetic (2, 4, 8 bits) for weights/activations and employ multi-pumping to reduce execution latency while implementing soft SIMD for efficient 2-bit ops. At the software level, we integrate a pruning-aware fine-tuning method to optimize model compression and a greedy-based DSE approach to efficiently search for Pareto-optimal mixed-quantized models. Additionally, we incorporate voltage scaling to boost the power efficiency of our system. Our experimental evaluation over widely used DNNs and datasets, such as CIFAR10 and ImageNet, demonstrates that our framework can achieve, on average, 17.6x speedup for less than 1% accuracy loss and outperforms the ISA-agnostic state-of-the-art RISC-V cores, delivering up to 1.8 TOPs/W.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 19 of its 48 references that are in the map. First posted on arXiv 18 Sep 2025.
Builds on
19 of 48 references.
References · 19
- 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,845
- 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 618
- 2020MCUNet: Tiny Deep Learning on IoT Devicescited by 273
- 2018CMSIS-NN: Efficient Neural Network Kernels for Arm Cortex-M CPUscited by 121
- 2016Resnet in Resnet: Generalizing Residual Architecturescited by 110
- 2020DORY: Automatic End-to-End Deployment of Real-World DNNs on Low-Cost IoT MCUscited by 58
- 2019Visual Wake Words Datasetcited by 46
- 2022Hardware Approximate Techniques for Deep Neural Network Accelerators: A Surveycited by 39
- 2020Hardware and Software Optimizations for Accelerating Deep Neural Networks: Survey of Current Trends, Challenges, and the Road Aheadcited by 34
- 2020A Mixed-Precision RISC-V Processor for Extreme-Edge DNN Inferencecited by 13
- 2022Cross-Layer Approximation For Printed Machine Learning Circuitscited by 12
- 2023Co-Design of Approximate Multilayer Perceptron for Ultra-Resource Constrained Printed Circuitscited by 11
7 more
- 2020Enabling Mixed-Precision Quantized Neural Networks in Extreme-Edge Devicescited by 10
- 2023Hardware-Aware DNN Compression via Diverse Pruning and Mixed-Precision Quantizationcited by 10
- 2022BARVINN: Arbitrary Precision DNN Accelerator Controlled by a RISC-V CPUcited by 6
- 2024Mixed-precision Neural Networks on RISC-V Cores: ISA extensions for Multi-Pumped Soft SIMD Operationscited by 5
- 2023Approximate Computing Survey, Part I: Terminology and Software & Hardware Approximation Techniquescited by 4
- 2022An Ultra-low Power TinyML System for Real-time Visual Processing at Edgecited by 2
- 2024SPEED: A Scalable RISC-V Vector Processor Enabling Efficient Multi-Precision DNN Inferencecited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024A Scalable RISC-V Vector Processor Enabling Efficient Multi-Precision DNN Inference
- 2023A 3 TOPS/W RISC-V Parallel Cluster for Inference of Fine-Grain Mixed-Precision Quantized Neural Networks
- 2023A Precision-Scalable RISC-V DNN Processor with On-Device Learning Capability at the Extreme Edge
- 2022Channel-wise Mixed-precision Assignment for DNN Inference on Constrained Edge Nodes
- 2023Quark: An Integer RISC-V Vector Processor for Sub-Byte Quantized DNN Inference
- 2021VS-Quant: Per-vector Scaled Quantization for Accurate Low-Precision Neural Network Inference
- 2023Free Bits: Latency Optimization of Mixed-Precision Quantized Neural Networks on the Edge
- 2025The Cambrian Explosion of Mixed-Precision Matrix Multiplication for Quantized Deep Learning Inference