cs.ARMar 31, 2026

AP-DRL: A Synergistic Algorithm-Hardware Framework for Automatic Task Partitioning of Deep Reinforcement Learning on Versal ACAP

Authors: Enlai Li, Zhe Lin, Sharad Sinha, Wei Zhang

Organizations: The Hong Kong University of Science and Technology, Hong Kong SAR, China · Sun Yat-Sen Univeristy, Guangdong, China · Indian Institute of Technology Goa, Goa, India

Abstract

Deep reinforcement learning has demonstrated remarkable success across various domains. However, the tight coupling between training and inference processes makes accelerating DRL training an essential challenge for DRL optimization. Two key issues hinder efficient DRL training: (1) the significant variation in computational intensity across different DRL algorithms and even among operations within the same algorithm complicates hardware platform selection, while (2) DRL's wide dynamic range could lead to substantial reward errors with conventional FP16+FP32 mixed-precision quantization. While existing work has primarily focused on accelerating DRL for specific computing units or optimizing inference-stage quantization, we propose AP-DRL to address the above challenges. AP-DRL is an automatic task partitioning framework that harnesses the heterogeneous architecture of AMD Versal ACAP (integrating CPUs, FPGAs, and AI Engines) to accelerate DRL training through intelligent hardware-aware optimization. Our approach begins with bottleneck analysis of CPU, FPGA, and AIE performance across diverse DRL workloads, informing the design principles for AP-DRL's inter-component task partitioning and quantization optimization. The framework then addresses the challenge of platform selection through design space exploration-based profiling and ILP-based partitioning models that match operations to optimal computing units based on their computational characteristics. For the quantization challenge, AP-DRL employs a hardware-aware algorithm coordinating FP32 (CPU), FP16 (FPGA/DSP), and BF16 (AI Engine) operations by leveraging Versal ACAP's native support for these precision formats. Comprehensive experiments indicate that AP-DRL can achieve speedup of up to 4.17×\times over programmable logic and up to 3.82×\times over AI Engine baselines while maintaining training convergence.

Figures & tables

Explore similar work

CardsList
  1. TCL: Enabling Fast and Efficient Cross-Hardware Tensor Program Optimization via Continual Learning

    Apr 14, 2026Chaoyao Shen, Linfeng Jiang, Yixian Shen +5Data-Efficient Learning

  2. Deep Reinforcement Learning for HPC Job Scheduling: A Statistical Evaluation

    Oct 14, 2026Justin M. Cheney, Clement N. NyirendaReinforcement LearningHigh-Performance Computing

  3. Vehicle-as-Prompt: A Unified Deep Reinforcement Learning Framework for Heterogeneous Fleet Vehicle Routing Problem

    Apr 6, 2026Shihong Huang, Shengjie Wang, Lei Gao +4Vehicle RoutingRL for Combinatorial Optimization