首页|面向RISC-Ⅴ架构的目标检测算法优化

面向RISC-Ⅴ架构的目标检测算法优化

扫码查看
目标检测是计算机视觉领域最为重要的研究方向之一,被广泛应用于智能监控、自动驾驶、医学影像分析等领域.面对层出不穷的应用场景,往往需要依托特定的硬件平台部署目标检测算法,根据硬件平台的特点对目标检测算法进行优化可大大提高算法的推理效率.近年来,RISC-Ⅴ因其精简、开源、可定制等特点受到学术界和工业界的广泛关注,已成为继X86、ARM之后的第三大CPU架构.面向RISC-Ⅴ架构,通过程序性能分析、向量化、访存优化、循环展开等技术对目标检测算法进行优化,并在模拟器和RISC-Ⅴ开发板上进行部署测试.实验表明,相比初始版本的算法,优化版本的单线程推理效率提高了 3倍以上.对RISC-Ⅴ向量扩展在优化目标检测算法中的有效性进行了验证,为后续面向RISC-Ⅴ平台的应用移植和算法优化提供了经验和参考.
Optimizing the Objective Detection for RISC-Ⅴ Architecture
Objective detection is one of the most important research directions in the field of computer vision and is widely used in fields such as intelligent surveillance,autonomous driving,and medical image analysis.Faced with a continuous stream of application scenarios,objective detection algorithms often need to be deployed on specific hardware platforms.Optimizing the ob-jective detection algorithm according to the characteristics of the hardware platform can greatly improve the algorithm's inference efficiency.In recent years,RISC-Ⅴ has attracted widespread attention from the academic and industrial communities due to its features of being streamlined,open-source,and customizable.It has developed rapidly and has become the third major CPU ar-chitecture following X86 and ARM.This study focused on the vector extension of RISC-Ⅴ,and optimized the objective detection algorithm through program performance analysis,vectorization,memory access optimization,loop unrolling,and other technolo-gies.It was deployed and tested on simulators and RISC-Ⅴ development boards.The experiments show that,compared with the in-itial version of the algorithm,the optimized version has improved single-threaded inference efficiency by more than 300%.This study verifies the effectiveness of RISC-Ⅴ vector extensions in optimizing object detection algorithms,providing valuable experi-ence and references for future application porting and algorithm optimization on the RISC-Ⅴ platform.

RISC-Ⅴobject detectionvectorsingle instruction multiple data

任凭、徐学政、黄安文、李琼

展开 >

军事科学院国防科技创新研究院,北京 100071

RISC-Ⅴ 目标检测 向量 单指令多数据

2024

智能安全
军事科学院国防科技创新研究院

智能安全

ISSN:2097-2075
年,卷(期):2024.3(3)