Deep Neural Network Approach to Estimate Early Worst-Case Execution Time
- URL: http://arxiv.org/abs/2108.02001v1
- Date: Wed, 28 Jul 2021 06:32:02 GMT
- Title: Deep Neural Network Approach to Estimate Early Worst-Case Execution Time
- Authors: Vikash Kumar
- Abstract summary: Worst-Case Execution Time (WCET) is of utmost importance for developing Cyber-Physical and Safety-Critical Systems.
This paper estimates early WCET using Deep Neural Networks as an approximate predictor model for hardware architecture and compiler.
- Score: 10.272133976201763
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: Estimating Worst-Case Execution Time (WCET) is of utmost importance for
developing Cyber-Physical and Safety-Critical Systems. The system's scheduler
uses the estimated WCET to schedule each task of these systems, and failure may
lead to catastrophic events. It is thus imperative to build provably reliable
systems. WCET is available to us in the last stage of systems development when
the hardware is available and the application code is compiled on it. Different
methodologies measure the WCET, but none of them give early insights on WCET,
which is crucial for system development. If the system designers overestimate
WCET in the early stage, then it would lead to the overqualified system, which
will increase the cost of the final product, and if they underestimate WCET in
the early stage, then it would lead to financial loss as the system would not
perform as expected. This paper estimates early WCET using Deep Neural Networks
as an approximate predictor model for hardware architecture and compiler. This
model predicts the WCET based on the source code without compiling and running
on the hardware architecture. Our WCET prediction model is created using the
Pytorch framework. The resulting WCET is too erroneous to be used as an upper
bound on the WCET. However, getting these results in the early stages of system
development is an essential prerequisite for the system's dimensioning and
configuration of the hardware setup.
Related papers
- Embedded Software Development with Digital Twins: Specific Requirements
for Small and Medium-Sized Enterprises [55.57032418885258]
Digital twins have the potential for cost-effective software development and maintenance strategies.
We interviewed SMEs about their current development processes.
First results show that real-time requirements prevent, to date, a Software-in-the-Loop development approach.
arXiv Detail & Related papers (2023-09-17T08:56:36Z) - Probabilistic Safe WCET Estimation for Weakly Hard Real-Time Systems at
Design Stages [2.2627733482506676]
Estimating worst-case execution times (WCET) is a key input to schedulability analysis.
Our approach aims at finding restricted, safe WCET sub-ranges given a set of ranges initially estimated by experts.
We evaluate our approach by applying it to an industrial system in the satellite domain and several realistic synthetic systems.
arXiv Detail & Related papers (2023-02-20T20:25:25Z) - Interpretable Self-Aware Neural Networks for Robust Trajectory
Prediction [50.79827516897913]
We introduce an interpretable paradigm for trajectory prediction that distributes the uncertainty among semantic concepts.
We validate our approach on real-world autonomous driving data, demonstrating superior performance over state-of-the-art baselines.
arXiv Detail & Related papers (2022-11-16T06:28:20Z) - Fluid Batching: Exit-Aware Preemptive Serving of Early-Exit Neural
Networks on Edge NPUs [74.83613252825754]
"smart ecosystems" are being formed where sensing happens concurrently rather than standalone.
This is shifting the on-device inference paradigm towards deploying neural processing units (NPUs) at the edge.
We propose a novel early-exit scheduling that allows preemption at run time to account for the dynamicity introduced by the arrival and exiting processes.
arXiv Detail & Related papers (2022-09-27T15:04:01Z) - Leveraging the structure of dynamical systems for data-driven modeling [111.45324708884813]
We consider the impact of the training set and its structure on the quality of the long-term prediction.
We show how an informed design of the training set, based on invariants of the system and the structure of the underlying attractor, significantly improves the resulting models.
arXiv Detail & Related papers (2021-12-15T20:09:20Z) - Multi Agent System for Machine Learning Under Uncertainty in Cyber
Physical Manufacturing System [78.60415450507706]
Recent advancements in predictive machine learning has led to its application in various use cases in manufacturing.
Most research focused on maximising predictive accuracy without addressing the uncertainty associated with it.
In this paper, we determine the sources of uncertainty in machine learning and establish the success criteria of a machine learning system to function well under uncertainty.
arXiv Detail & Related papers (2021-07-28T10:28:05Z) - Designing Neural Networks for Real-Time Systems [9.28438818579034]
Most approaches in the literature consider guaranteeing only the functionality of ANN based controllers.
We propose a design pipeline whereby neural networks trained using the popular deep learning framework Keras are compiled to functionally equivalent C code.
arXiv Detail & Related papers (2020-08-26T21:41:37Z) - HAPI: Hardware-Aware Progressive Inference [18.214367595727037]
Convolutional neural networks (CNNs) have recently become the state-of-the-art in a diversity of AI tasks.
Despite their popularity, CNN inference still comes at a high computational cost.
This work presents HAPI, a novel methodology for generating high-performance early-exit networks.
arXiv Detail & Related papers (2020-08-10T09:55:18Z) - Superiority of Simplicity: A Lightweight Model for Network Device
Workload Prediction [58.98112070128482]
We propose a lightweight solution for series prediction based on historic observations.
It consists of a heterogeneous ensemble method composed of two models - a neural network and a mean predictor.
It achieves an overall $R2$ score of 0.10 on the available FedCSIS 2020 challenge dataset.
arXiv Detail & Related papers (2020-07-07T15:44:16Z) - HCM: Hardware-Aware Complexity Metric for Neural Network Architectures [6.556553154231475]
This paper introduces a hardware-aware complexity metric that aims to assist the system designer of the neural network architectures.
We demonstrate how the proposed metric can help evaluate different design alternatives of neural network models on resource-restricted devices.
arXiv Detail & Related papers (2020-04-19T16:42:51Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.