面向RISC-V架构的目标检测算法优化
CSTR:
作者:
作者单位:

国防科技创新研究院

作者简介:

通讯作者:

中图分类号:

基金项目:


Optimizing the Objective Detection for RISC-V Architecture
Author:
Affiliation:

National Innovation Institute of Defense Technology, Academy of Military Sciences

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    目标检测是计算机视觉领域最为重要的研究方向之一,被广泛应用于智能监控、自动驾驶、医学影像分析等领域。面对层出不穷的应用场景,往往需要依托特定的硬件平台部署目标检测算法,根据硬件平台的特点对目标检测算法进行优化可大大提高算法的推理效率。近年来,RISC-V因其精简、开源、可定制等特点受到学术界和工业界的广泛关注,已成为继X86、ARM之后的第三大CPU架构。面向RISC-V架构,通过程序性能分析、向量化、访存优化、循环展开等技术对目标检测算法进行优化,并在模拟器和RISC-V开发板上进行部署测试。实验表明,相比初始版本的算法,优化版本的单线程推理效率提高了3倍以上。对RISC-V向量扩展在优化目标检测算法中的有效性进行了验证,为后续面向RISC-V平台的应用移植和算法优化提供了经验和参考。

    Abstract:

    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 objective detection algorithm according to the characteristics of the hardware platform can greatly improve the algorithm′s inference efficiency.In recent years, RISC-V 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 architecture following X86 and ARM.This study focused on the vector extension of RISC-V, and optimized the objective detection algorithm through program performance analysis, vectorization, memory access optimization, loop unrolling, and other technologies.It was deployed and tested on simulators and RISC-V development boards.The experiments show that, compared with the initial version of the algorithm, the optimized version has improved single-threaded inference efficiency by more than 300%.This study verifies the effectiveness of RISC-V vector extensions in optimizing object detection algorithms, providing valuable experience and references for future application porting and algorithm optimization on the RISC-V platform.

    参考文献
    相似文献
    引证文献
引用本文
分享
相关视频

文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2024-05-29
  • 最后修改日期:2024-06-18
  • 录用日期:
  • 在线发布日期: 2024-10-10
  • 出版日期:
文章二维码