A safety-aware deep learning framework for scalable schedulability analysis of variable-length real-time task sets
摘要
The design and verification of safety-critical real-time systems rely on schedulability analysis. Exact tests may provide correctness guarantees, but they are often scheduler specific, computationally intractable at high scale, and pessimistic when used in iterative analysis pipelines. The paper introduces the SAFE-TSFormer algorithm to handle periodic real-time task-sets of variable cardinality under multiple uniprocessor scheduling policies. The SAFE-TSFormer approach employs a two-stage strategy. At the outset, it performs non-linear feature encoding at the task level, generating encoded representations for each task. These representations are then processed using transformer-based sequence modeling with masked attention to capture inter-task interactions. SAFE-TSFormer is designed as a conservative screening mechanism, prioritizing the suppression of false positives through a safety-aware training objective. We present results from experiments conducted on a large set of inflated periodic real-time task sets comprising over 3, 60, 000 instances. The proposed model generalizes to task-set sizes (number of real-time tasks) significantly higher than those observed during training. Specifically, on entirely new sets of tasks containing up to thirty-two tasks, SAFE-TSFormer’s overall accuracy reaches