Improving Railway Safety: Human-in-the-loop Invariant Finding
Abstract
Formal methods is a field that has a long standing history within Computer Science. At its core, it involves the use of mathematical formalisms to model and reason about computer systems and programs. The application of formal methods to verify that railway signalling systems operate safely and correctly is particularly well established within academia and is now beginning to see real applications in the railway sector. However, many contemporary approaches frequently detect false positive safety violations necessitating lengthy manual analysis by expert engineers. It has been shown that such errors can be mitigated with strengthening invariants, non-trivially generated properties which hold for all reachable states, or configurations, of a program under verification. In this work, we report on the use of machine learning to explore such state spaces autonomously and provide various visual aids to assist engineers in understanding and inducing invariant properties to support verification. We conducted a focus group with an engineering team specialising in railway signalling systems, soliciting feedback on these visualisations while co-designing suggested improvements for the application domain. The results were two-fold; our visualisations allowed participants to explore candidate invariants, but also highlighted improvements to our machine learning approach by leveraging their domain knowledge.
- Venue
- CHI 2023
- Volume
- Extended Abstracts of the 2023 CHI Conference on Human Factors in Computing Systems
- DOI
- 10.1145/3544549.3573853
- https://dl.acm.org/doi/pdf/10.1145/3544549.3573853
- Anthology ID
2023.chi-ea.57
Cite
@inproceedings{lloydroberts-etal-2023-improving,
title = {{Improving Railway Safety: Human-in-the-loop Invariant Finding}},
author = {Ben Lloyd-Roberts and Phillip James and Michael Edwards and Simon Robinson and Thomas Werner},
booktitle = {Extended Abstracts of the 2023 CHI Conference on Human Factors in Computing Systems},
isbn = {9781450394222},
year = {2023},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
doi = {10.1145/3544549.3573853},
url = {https://doi.org/10.1145/3544549.3573853},
abstract = {Formal methods is a field that has a long standing history within Computer Science. At its core, it involves the use of mathematical formalisms to model and reason about computer systems and programs. The application of formal methods to verify that railway signalling systems operate safely and correctly is particularly well established within academia and is now beginning to see real applications in the railway sector. However, many contemporary approaches frequently detect false positive safety violations necessitating lengthy manual analysis by expert engineers. It has been shown that such errors can be mitigated with strengthening invariants, non-trivially generated properties which hold for all reachable states, or configurations, of a program under verification. In this work, we report on the use of machine learning to explore such state spaces autonomously and provide various visual aids to assist engineers in understanding and inducing invariant properties to support verification. We conducted a focus group with an engineering team specialising in railway signalling systems, soliciting feedback on these visualisations while co-designing suggested improvements for the application domain. The results were two-fold; our visualisations allowed participants to explore candidate invariants, but also highlighted improvements to our machine learning approach by leveraging their domain knowledge.}
}