Automatic Optimizations for Stream-based Monitoring Languages
Jan Baumeister, Bernd Finkbeiner, Matthis Kruse, Maximilian Schwenger

TL;DR
This paper introduces a set of automatic code optimization techniques for the stream-based monitoring language RTLola, improving performance and efficiency in safety-critical applications like unmanned aircraft systems.
Contribution
It presents the first collection of code transformations for RTLola, including adapting classic compiler optimizations and developing new transformations specific to stream-based monitoring languages.
Findings
Significant performance improvements on UAS monitoring benchmarks
Effective adaptation of classic compiler optimizations to RTLola
Introduction of novel transformations exploiting RTLola's modular structure
Abstract
Runtime monitors that are specified in a stream-based monitoring language tend to be easier to understand, maintain, and reuse than those written in a standard programming language. Because of their formal semantics, such specification languages are also a natural choice for safety-critical applications. Unlike for standard programming languages, there is, however, so far very little support for automatic code optimization. In this paper, we present the first collection of code transformations for the stream-based monitoring language RTLola. We show that classic compiler optimizations, such as Sparse Conditional Constant Propagation and Common Subexpression Elimination, can be adapted to monitoring specifications. We also develop new transformations -- Pacing Type Refinement and Filter Refinement -- which exploit the specific modular structure of RTLola as well as the implementation…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
