Table of Contents
Fetching ...

On the Robustness of Deep Learning-predicted Contention Models for Network Calculus

Fabien Geyer, Steffen Bondorf

TL;DR

This work investigates the robustness of Graph Neural Network-based predictions for contention models in Network Calculus, focusing on DeepTMA's ability to substitute exhaustive tandem matching with fast DL predictions. It introduces DeepTMA$n$, enabling multiple predicted tandem decompositions to boost robustness, and systematically analyzes how training data size, network type, and input features affect accuracy. Results show that DeepTMA trained on small, random networks generalizes well to networks two orders of magnitude larger, achieving average relative errors below 1% and, with multiple predictions, reducing error by about a factor of two. The findings support practical use of DL-assisted NC in design-space exploration, with strong implications for robustness and scalability in safety-critical network design.

Abstract

The network calculus (NC) analysis takes a simple model consisting of a network of schedulers and data flows crossing them. A number of analysis "building blocks" can then be applied to capture the model without imposing pessimistic assumptions like self-contention on tandems of servers. Yet, adding pessimism cannot always be avoided. To compute the best bound on a single flow's end-to-end delay thus boils down to finding the least pessimistic contention models for all tandems of schedulers in the network - and an exhaustive search can easily become a very resource intensive task. The literature proposes a promising solution to this dilemma: a heuristic making use of machine learning (ML) predictions inside the NC analysis. While results of this work were promising in terms of delay bound quality and computational effort, there is little to no insight on when a prediction is made or if the trained algorithm can achieve similarly striking results in networks vastly differing from its training data. In this paper, we address these pending questions. We evaluate the influence of the training data and its features on accuracy, impact and scalability. Additionally, we contribute an extension of the method by predicting the best $n$ contention model alternatives in order to achieve increased robustness for its application outside the training data. Our numerical evaluation shows that good accuracy can still be achieved on large networks although we restrict the training to networks that are two orders of magnitude smaller.

On the Robustness of Deep Learning-predicted Contention Models for Network Calculus

TL;DR

This work investigates the robustness of Graph Neural Network-based predictions for contention models in Network Calculus, focusing on DeepTMA's ability to substitute exhaustive tandem matching with fast DL predictions. It introduces DeepTMA, enabling multiple predicted tandem decompositions to boost robustness, and systematically analyzes how training data size, network type, and input features affect accuracy. Results show that DeepTMA trained on small, random networks generalizes well to networks two orders of magnitude larger, achieving average relative errors below 1% and, with multiple predictions, reducing error by about a factor of two. The findings support practical use of DL-assisted NC in design-space exploration, with strong implications for robustness and scalability in safety-critical network design.

Abstract

The network calculus (NC) analysis takes a simple model consisting of a network of schedulers and data flows crossing them. A number of analysis "building blocks" can then be applied to capture the model without imposing pessimistic assumptions like self-contention on tandems of servers. Yet, adding pessimism cannot always be avoided. To compute the best bound on a single flow's end-to-end delay thus boils down to finding the least pessimistic contention models for all tandems of schedulers in the network - and an exhaustive search can easily become a very resource intensive task. The literature proposes a promising solution to this dilemma: a heuristic making use of machine learning (ML) predictions inside the NC analysis. While results of this work were promising in terms of delay bound quality and computational effort, there is little to no insight on when a prediction is made or if the trained algorithm can achieve similarly striking results in networks vastly differing from its training data. In this paper, we address these pending questions. We evaluate the influence of the training data and its features on accuracy, impact and scalability. Additionally, we contribute an extension of the method by predicting the best contention model alternatives in order to achieve increased robustness for its application outside the training data. Our numerical evaluation shows that good accuracy can still be achieved on large networks although we restrict the training to networks that are two orders of magnitude smaller.

Paper Structure

This paper contains 15 sections, 7 equations, 8 figures, 2 tables, 1 algorithm.

Figures (8)

  • Figure 1: Overview of the proposed approach.
  • Figure 2: Graph representation of a sample tandem network.
  • Figure 3: Impact of training size on relative error of DeepTMA.
  • Figure 4: Impact of training size on the set of networks from Bondorf2017a.
  • Figure 5: Impact of network types used for training on relative error of DeepTMA.
  • ...and 3 more figures

Theorems & Definitions (2)

  • Definition 1: Arrival Curve
  • Definition 2: Strict Service Curve