TY - GEN
T1 - Formal Methods with a Touch of Magic
AU - Alamdari, Par Alizadeh
AU - Avni, Guy
AU - Henzinger, Thomas A.
AU - Lukina, Anna
N1 - Publisher Copyright: © 2020 FMCAD Association.
PY - 2020/9/21
Y1 - 2020/9/21
N2 - Machine learning and formal methods have complimentary benefits and drawbacks. In this work, we address the controller-design problem with a combination of techniques from both fields. The use of black-box neural networks in deep reinforcement learning (deep RL) poses a challenge for such a combination. Instead of reasoning formally about the output of deep RL, which we call the wizard, we extract from it a decision-tree based model, which we refer to as the magic book. Using the extracted model as an intermediary, we are able to handle problems that are infeasible for either deep RL or formal methods by themselves. First, we suggest, for the first time, a synthesis procedure that is based on a magic book. We synthesize a stand-alone correct-by-design controller that enjoys the favorable performance of RL. Second, we incorporate a magic book in a bounded model checking (BMC) procedure. BMC allows us to find numerous traces of the plant under the control of the wizard, which a user can use to increase the trustworthiness of the wizard and direct further training.
AB - Machine learning and formal methods have complimentary benefits and drawbacks. In this work, we address the controller-design problem with a combination of techniques from both fields. The use of black-box neural networks in deep reinforcement learning (deep RL) poses a challenge for such a combination. Instead of reasoning formally about the output of deep RL, which we call the wizard, we extract from it a decision-tree based model, which we refer to as the magic book. Using the extracted model as an intermediary, we are able to handle problems that are infeasible for either deep RL or formal methods by themselves. First, we suggest, for the first time, a synthesis procedure that is based on a magic book. We synthesize a stand-alone correct-by-design controller that enjoys the favorable performance of RL. Second, we incorporate a magic book in a bounded model checking (BMC) procedure. BMC allows us to find numerous traces of the plant under the control of the wizard, which a user can use to increase the trustworthiness of the wizard and direct further training.
UR - https://www.scopus.com/pages/publications/85099209702
U2 - 10.34727/2020/isbn.978-3-85448-042-6_21
DO - 10.34727/2020/isbn.978-3-85448-042-6_21
M3 - Conference contribution
T3 - Proceedings of the 20th Conference on Formal Methods in Computer-Aided Design, FMCAD 2020
SP - 138
EP - 147
BT - Proceedings of the 20th Conference on Formal Methods in Computer-Aided Design, FMCAD 2020
A2 - Ivrii, Alexander
A2 - Strichman, Ofer
A2 - Hunt, Warren A.
A2 - Weissenbacher, Georg
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 20th International Conference on Formal Methods in Computer-Aided Design, FMCAD 2020
Y2 - 21 September 2020 through 24 September 2020
ER -