Doctoral thesis
Cite …

Dynamic Multi-Mode Scheduling and Deployment with Early Exit Neural Network Integration

Jakob Matthias Stammler ORCID iD icon 1
1 Institute for Information Processing Technologies (ITIV), Karlsruhe Institute of Technology (KIT)
DOI: 10.5445/IR/1000197794
PDF published on Oct 14, 2026
Abstract

Four trends can be observed in the architecture of modern automotive vehicles. These trends are the centralization of system architectures, the increasing software-centricity of the automotive domain, the growing use of hardware-abstraction layers to facilitate this shift, and the increasing deployment of machine learning-based methods. The evolution of hardware centralization is projected to progress from a distributed architecture through a domain-centralized architecture toward a vehicle-centralized architecture. In such architectures, domain controllers are used to manage automotive subsystems such as the drivetrain, the infotainment system, and body-control functions with increasing complexity. This architectural trend is the primary focus of this thesis. It is accompanied by increasingly powerful and complex hardware platforms, which require sophisticated software stacks to fully utilize their capabilities. These powerful hardware platforms also enable the deployment of machine learning-based methods. To exploit the multicore nature of the employed hardware platforms while simultaneously fulfilling the real-time requirements of the automotive domain, a safe scheduling method is required, which also satisfies functional requirements and provides Safety of the Intended Functionality guarantees to the system designer. Such a scheduling algorithm must be capable of scheduling task sets that include both machine learning-based methods and periodic tasks for the control functionality of domain-centric architectures. The underlying task model must support the modeling of complex execution platforms with peripherals, multiple cores, and hardware accelerators. Domain-centric architectures also require dynamic task execution when subsystems experience faults or anomalies or when functional components are activated or deactivated.

Existing work addresses subsets of these requirements, such as supporting machine learning-based tasks, providing a descriptive task model, or enabling dynamic execution. This thesis aims to combine these features in a holistic scheduling approach. To argue for safe execution, a correct-by-construction argument is employed within a time-triggered scheduling approach. This considers periodic tasks and models execution times as estimates which remain valid, provided that no delays, caused by contention for shared resources, such as memory or peripherals, occur. Given a contention-free schedule, tasks complete within their estimated execution times. The integration of machine learning-based tasks into this scheduling framework is achieved through an approach that introduces a dedicated model, adds early exits to the used networks, and provides a scheduling algorithm capable of scheduling those early exits should constraint violations be predicted. The resulting networks are referred to as Anytime neural networks. Although this approach is designed for use within the time-triggered scheduling framework, a stand-alone version is also provided. The dynamic aspect of the otherwise static scheduling is introduced through a mode-change mechanism which enables mode changes during runtime with corresponding task sets and automatically generated transitions. Since the complexity of the resulting schedule graph grows exponentially with the number of required transitions, a method for reducing the number of schedules through the use of schedule variants is presented. In addition to user-defined mode changes, the mode-change mechanism can also be triggered by an automated anomaly-detection mechanism, which this approach automatically adds to the system.

The evaluation is conducted using two case studies that demonstrate the applicability of the proposed approaches to real-world scenarios. The first case study deploys two neural networks on a dedicated hardware accelerator. The second case study is based on the RoboRacer platform and deploys an autonomous-driving task set on both a Jetson Nano and an AMD KR260 platform. Generalizability is assessed through a component-wise evaluation of the scheduling approaches using synthetic task sets with varying parameters. These task sets are evaluated with respect to scheduling success rate and algorithm runtime. The highest runtime was observed for a task set of 100 tasks, a utilization of 100 %, a deadline slack of 0.0, and eight execution units, resulting in a runtime of approximately \SI{100}{\minute}. As expected, runtime increases with the number of tasks. An increase in utilization, in the proportion of multi-version tasks, and the proportion of tasks with precedence constraints had limited effect. Because the most complex task set can be scheduled within a reasonable amount of time, the proposed scheduling approach is applicable to real-world scenarios. In addition, the Anytime neural network approach is evaluated with respect to its stand-alone applicability. This demonstrates that the proposed scheduler handles a temporary utilization increase of up to 250 % with a moderate reduction in accuracy.

This thesis introduces a novel and holistic scheduling concept, which supports scheduling machine learning-based tasks within periodic systems and establishes a correct-by-construction argument through a time-triggered scheduling framework with mode-change capabilities.