Inspiration
Safe handling of AI/ Agents, especially in Cyber-Physical systems, feels like a relevant challenge in current times.
What it does
Intervenes when the agent controlling the plant would make mistakes that would cause significant harm to machines and especially human life.
How we built it
All commands the agent sends go through a component, that ensures the safety of the commands that are actually sent to the controller. The "No-Kill protocol" blocks unsafe operations through a rule-based system. In certain safety-critical states the "fail-safe" module intervenes and executes pre-defined routines that return the system to a safe state. A hierarchical ordering of commands given by said module over those given by the agent, or potential human supervisors ensures the prevention of running into unsafe states. The system state that is intended to be reached by executing a command is saved in a Claim store, in case that a command that is initially blocked, but later becomes safe gets executed at a later point. Sensor data is collected in a Model and fused to get a better understanding of what is happening in the system and correct for inaccuracies of sensors. Another component handles the communication with the controller an checks whether the commands are actually executed, by checking and retrying if necessary.
Challenges we ran into
Setting up the provided environment took some tinkering, due to memory restrictions. Finding the right architecture/sequence of modules proved to be more complicated than initially estimated. Testing in real time takes a lot of time and forced us to find a solution for "mocking" the agent and therefore receiving feedback on the effectiveness of our implementation.
Accomplishments that we're proud of
If the life of a person is saveable, the safety layer is successful in doing so, while at the same time keeping the damage to hardware to a minimum.
What we learned
Good planning takes quite some time, but enables a smoother workflow during the actual implementation, resulting in an overall payoff.
What's next for Project: Wavebreaker
Adding a format for simpler rule/ safe-state editing would enable the system to be easily adapted to work on other autonomous systems.