Design of Extended RISC-V for Q-Learning Hardware Accelerator using HW/SW Co-Design

In this paper, we propose a novel RISC-V ISA extension for a reinforcement learning-based hardware accelerator called RISC-Q. We introduce new instructions i.e., q.store_constant, q.store, q.load, q.max, and q.update. Each instruction corresponds to a hardware module. The q.store_constant sets necessary constants for the Q-learning by storing it in dedicated registers. The q.store and q.load instructions write and read the data to the main memory. The q.max instruction controls the max seeker hardware module to find $\mathbf{Q}$-max values. The q.update instruction accesses the $\mathbf{Q}$-updater hardware module to update the $\mathbf{Q}$-value with the corresponding state, action, and reward. Experimental result shows that the RISC-V extended reinforcement learning hardware accelerator (RISC-Q), which is implemented in the Nexys FPGA board, outperforms the software implementation up to $1.5 \times$ speed up. The work is useful for edge-computing applications such as smart navigation, smart communications, and robotics.

Authors

Institutions

Publication Details

Published
2024-11-07
DOI
https://doi.org/10.1109/apccas62602.2024.10808529
Primary Topic
CCD and CMOS Imaging Sensors
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Design of Extended RISC-V for Q-Learning Hardware Accelerator using HW/SW Co-Design

Rahmat Mulyawan, Trio Adiono, Infall Syafalni, Nana Sutisna et al.
CCD and CMOS Imaging Sensors
article

Design of Extended RISC-V for Q-Learning Hardware Accelerator using HW/SW Co-Design

Rahmat Mulyawan, Trio Adiono, Infall Syafalni, Nana Sutisna, Muhammad Raihan Elfazri, Muhammad Sulthan Mazaya, Makoto Ikeda, Eko Mursito Budi
article en

Abstract

In this paper, we propose a novel RISC-V ISA extension for a reinforcement learning-based hardware accelerator called RISC-Q. We introduce new instructions i.e., q.store_constant, q.store, q.load, q.max, and q.update. Each instruction corresponds to a hardware module. The q.store_constant sets necessary constants for the Q-learning by storing it in dedicated registers. The q.store and q.load instructions write and read the data to the main memory. The q.max instruction controls the max seeker hardware module to find $\mathbf{Q}$-max values. The q.update instruction accesses the $\mathbf{Q}$-updater hardware module to update the $\mathbf{Q}$-value with the corresponding state, action, and reward. Experimental result shows that the RISC-V extended reinforcement learning hardware accelerator (RISC-Q), which is implemented in the Nexys FPGA board, outperforms the software implementation up to $1.5 \times$ speed up. The work is useful for edge-computing applications such as smart navigation, smart communications, and robotics.

Bandung Institute of Technology (ID), The University of Tokyo (JP)
Affordable and clean energy
Openalex Percentile: Top 78%
CCD and CMOS Imaging Sensors
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.