arXiv:2610.29503cs.AROct 2026

Manuscript Offprint

arXiv:2610.29503

Hard and Soft Real-Time DNN Inference Scheduling on Heterogeneous Multi-Accelerator Systems via Reinforcement Learning

Francesco Giulio Blanco, Enrico Russo, Giuseppe Ascia, Davide Patti, Maurizio Palesi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Francesco Giulio Blanco ID∗^{ID*},

Enrico Russo ID^{ID}, Giuseppe Ascia ID^{ID}, Davide Patti ID^{ID}, and Maurizio Palesi ID^{ID}

University of Catania, Catania, Italy

francesco.blanco@phd.unict.it, {name.surname}@unict.it

Abstract. We present a scheduling framework for heterogeneous multi-accelerator systems executing both hard real-time and soft real-time QoS-aware DNN inference workloads. The framework combines an online reinforcement learning (RL) scheduler with a deterministic runtime safety layer. The RL scheduler dynamically generates candidate schedules by jointly selecting sub-job priorities and accelerator assignments, while runtime certification guarantees that all HRT deadlines remain satisfied independently of the learned policy.

To enable runtime certification in heterogeneous precedence-constrained systems, we introduce a schedulability-preserving prefix replacement criterion based on machine-wise cuts. The proposed criterion guarantees that runtime-generated schedule prefixes preserve the existence of a feasible continuation without requiring complete finish-time dominance with respect to a feasible reference schedule.

Experimental results on heterogeneous DNN accelerator platforms show that the proposed framework preserves HRT schedulability while improving QoS-aware deadline satisfaction, client-level service quality, and accelerator utilization compared to state-of-the-art scheduling approaches.

Keywords: Real-time · Scheduling · DNN · Reinforcement learning · QoS · Heterogeneous · Multi-tenant · Multi-accelerator · Multi-processor

1 Introduction

Deep Neural Network (DNN) inference is increasingly used in safety-critical cyber-physical systems such as autonomous vehicles, robotics, industrial automation, and edge AI infrastructures [2,29]. These systems often execute mixed workloads on heterogeneous multi-accelerator platforms, where hard real-time (HRT) inference tasks coexist with soft real-time (SRT) requests generated by multiple clients [36,40,25].

∗^{*} Corresponding author.

This paper has been accepted for presentation at the 34th International Conference on Real-Time Networks and Systems (RTNS 2026).

F. G. Blanco et al.

Scheduling such workloads is challenging because DNN inference induces precedence-constrained execution graphs, accelerator heterogeneity couples allocation and priority decisions, and SRT requests arrive dynamically at runtime [30,22]. At the same time, HRT tasks must always satisfy their deadlines under worst-case execution assumptions.

Existing real-time scheduling approaches can provide timing guarantees, but are often based on static schedules that poorly adapt to runtime variability [20,12]. Conversely, adaptive online schedulers and multi-tenant inference systems improve utilization and responsiveness, but generally lack strict HRT guarantees [10,6]. Reinforcement Learning (RL) is attractive for online scheduling because it can learn workload-dependent policies without handcrafted heuristics [31], and this is the reason why it is employed in this work, but learned policies alone cannot be trusted for safety-critical scheduling.

This paper presents a scheduling framework for heterogeneous multi-accelerator systems that combines adaptive online scheduling with strict HRT guarantees. The framework separates optimization from safety. An RL-based online scheduler dynamically generates candidate schedule prefixes 1^{1} by jointly selecting accelerator assignments and execution priorities, while a deterministic runtime safety layer validates each candidate before execution.

To enable runtime certification in heterogeneous precedence-constrained systems, we introduce a schedulability-preserving prefix replacement criterion based on machine-wise cuts, inspired by transfer schedulability [38]. The proposed criterion guarantees that runtime-generated schedule prefixes preserve the existence of a feasible continuation without requiring complete finish-time dominance with respect to a feasible reference schedule.

Experimental results on heterogeneous DNN accelerator platforms show that the proposed framework preserves HRT schedulability while improving SRT deadline satisfaction, client-level QoS, and accelerator utilization compared to state-of-the-art scheduling approaches.

The main contributions of this paper are:

– A formulation of mixed hard/soft real-time DNN inference scheduling on heterogeneous multi-accelerator systems using a DAG-based task model.

– A schedulability-preserving runtime certification mechanism for heterogeneous precedence-constrained schedules.

– An RL-based online scheduler for joint accelerator allocation and execution priority assignment within a deterministic HRT safety envelope.

Our open-source implementation is available at:

https://github.com/BlancoFrancescoGiulio/retnas.

– Formal proofs showing that runtime certification preserves HRT schedulability independently of the employed policy (e.g., RL).

1^{1} Before providing the formal definition of a schedule prefix in Definition 2, we informally clarify the terminology. Given a vector of local times, one for each machine in the multi-accelerator system, the corresponding schedule prefix is the portion of the schedule preceding such time on each machine.

Table 1. Summary of notation

SymbolDescription
M,M\mathcal{M}, MSet and number of processors/sub-accelerators
Mv\mathcal{M}_vProcessors eligible for sub-job vv
Cv,mC_{v,m}WCET of sub-job vv on processor mm
sv,fvs_{v}, f_{v}Start and finish time of sub-job vv
fJf_{J}Completion time of DAG job JJ
GJ=(VJ,EJ)G_{J}=(V_{J}, E_{J})DAG representation of job JJ
VJ,EJV_{J}, E_{J}Sub-jobs and precedence constraints of JJ
TH\mathcal{T}^{\mathrm{H}}Set of HRT tasks
τi=(Gi,Di,Ti)\tau_i=(G_i,D_i,T_i)HRT task ii
Ji,kHJ_{i,k}^{\mathrm{H}}kk-th HRT DAG job of τi\tau_i
ai,k,di,kHa_{i,k}, d_{i,k}^{\mathrm{H}}Release time and deadline of Ji,kHJ_{i,k}^{\mathrm{H}}
Symbol Description
JjSJ_{j}^{\mathrm{S}}SRT DAG job jj
aj,djSa_{j}, d_{j}^{\mathrm{S}}Arrival time and soft deadline of JjSJ_{j}^{\mathrm{S}}
κj\kappa_{j}Client generating JjSJ_{j}^{\mathrm{S}}
K\mathcal{K}Set of clients
HSH^{\mathrm{S}}System-level SRT deadline-hit ratio
HkSH_{k}^{\mathrm{S}}Client-level SLO achievement rate
H^kS\hat{H}_{k}^{\mathrm{S}}Target SLO achievement rate of client kk
RJjSSR_{J_{j}^{\mathrm{S}}}^{\mathrm{S}}Response time of SRT job JjSJ_{j}^{\mathrm{S}}
SrefS^{\mathrm{ref}}Offline feasible WCET reference schedule
ScandS^{\mathrm{cand}}Online candidate schedule
TST_{S}Runtime scheduler activation period
τsch\tau_{\mathrm{sch}}Upper bound on runtime scheduling overhead

– An experimental evaluation demonstrating improved SRT QoS and accelerator utilization while preserving HRT correctness.

References (40)