Assuring City Scale Infrastructure Systems


Principal Investigators: Yair Amir, JHU Computer Science and Tamim Sookoor, JHU Applied Physics Lab

Contributors

Overview

We describe RADICS: Runtime Assurance of Distributed Intelligent Control Systems, which combines a Simplexbased, black-box monitor with a white-box monitor to ensure correct behavior and good performance of AI systems. The blackbox monitor allows the system to detect when the AI controller is on a failing trajectory and use a provably safe, but less performant algorithm, to right the system. The white-box monitor predicts when the AI controller will be put on such a trajectory before it happens and helps maximize the performance of the overall system.

Proposed Approach

Designing a monitoring architecture that can take over from the AI with a safe controller when the AI system is at risk of breaching the system invariants. We intend to combine an invariant-based Black-Box Monitor with a White-Box Monitor that evaluates the confidence of the machine learning algorithm

Publications


Presentations


Traffic Simulator Testbed Videos

Switching Mechanism

Each of the following simulations has 25,000 steps (2500 seconds).
Between 1-10,000 steps (Segment 1), the inflow is 500 vehicles per hour on each outside edge.
Between 10,001-13,000 steps (Segment 2), the inflow is 500 vehicles per hour on one edge, and 100 vehicles per hour on other edges.
Between 13,001-25,000 steps (Segment 3), the inflow becomes 500 vehicles per hour on each outside edge again.

Safe Controller

The following simulation uses only a safe controller.

Average speed (m/s) of all vehicles is 5.65

 

AI Controller

The following simulation uses only an AI controller.

Average speed (m/s) of all vehicles is 5.53

 

Black-Box Monitoring

The following simulation uses black-box monitoring approach. The light on the top-left corner becomes green if the AI controller is running, and it becomes blue if the safe controller is running.

Average speed (m/s) of all vehicles is 5.76

 

RADICS

The following simulation uses the RADICS system, as described above. The light on the top-left corner becomes green if the AI controller is running, and it becomes blue if the safe controller is running.

Average speed (m/s) of all vehicles is 5.94

Here's the a version with test simulations. The yellow light on the top-right corner becomes visible if a test simulation is currently running in the background. In reality, test simulations won't cause any delay since it can be run much faster in real time given enough computing resources.

Evaluation

The average speed of all vehicles in the system over time. We evaluate four different controllers: the safe controller, the AI controller, a black-box monitoring approach, and RADICS with both black and white box monitoring. Horizontal lines show the average speed of each controller in each segment, whereas vertical lines mark the start and end of the anomalous scenario. We use the dotted line when a safe controller is in control and the solid line when an AI controller is.
Normalized average speed of AI-based controllers with respect to the safe controller. We divided the average speeds of AI-based controllers in Figure 4 by the average speed of the safe controller.

Distributed Systems and Networks Lab
Computer Science Department, Johns Hopkins University
207 Malone Hall
3400 North Charles Street
Baltimore, MD 21218
TEL: (410) 516-5562