TY - GEN
T1 - Enumeration and Deduction Driven Co-Synthesis of CCSL Specifications Using Reinforcement Learnin
AU - Hu, Ming
AU - Ding, Jiepin
AU - Zhang, Min
AU - Mallet, Frédéric
AU - Chen, Mingsong
N1 - Publisher Copyright:
©2021 IEEE
PY - 2021
Y1 - 2021
N2 - The Clock Constraint Specification Language (CCSL) has become popular for modeling and analyzing timing behaviors of real-time embedded systems. However, it is difficult for requirement engineers to accurately figure out CCSL specifications from natural language-based requirement descriptions. This is mainly because: i) most requirement engineers lack expertise in formal modeling; and ii) few existing tools can be used to facilitate the generation of CCSL specifications. To address these issues, this paper presents a novel approach that combines the merits of both Reinforcement Learning (RL) and deductive techniques in logical reasoning for efficient co-synthesis of CCSL specifications. Specifically, our method leverages RL to enumerate all the feasible solutions to fill the holes of incomplete specifications and deductive techniques to judge the quality of each trial. Our proposed deductive mechanisms are useful for not only pruning enumeration space, but also guiding the enumeration process to reach an optimal solution quickly. Comprehensive experimental results on both well-known benchmarks and complex industrial examples demonstrate the performance and scalability of our method. Compared with the state-of-the-art, our approach can drastically reduce the synthesis time by several orders of magnitude while the accuracy of synthesis can be guaranteed.
AB - The Clock Constraint Specification Language (CCSL) has become popular for modeling and analyzing timing behaviors of real-time embedded systems. However, it is difficult for requirement engineers to accurately figure out CCSL specifications from natural language-based requirement descriptions. This is mainly because: i) most requirement engineers lack expertise in formal modeling; and ii) few existing tools can be used to facilitate the generation of CCSL specifications. To address these issues, this paper presents a novel approach that combines the merits of both Reinforcement Learning (RL) and deductive techniques in logical reasoning for efficient co-synthesis of CCSL specifications. Specifically, our method leverages RL to enumerate all the feasible solutions to fill the holes of incomplete specifications and deductive techniques to judge the quality of each trial. Our proposed deductive mechanisms are useful for not only pruning enumeration space, but also guiding the enumeration process to reach an optimal solution quickly. Comprehensive experimental results on both well-known benchmarks and complex industrial examples demonstrate the performance and scalability of our method. Compared with the state-of-the-art, our approach can drastically reduce the synthesis time by several orders of magnitude while the accuracy of synthesis can be guaranteed.
KW - Deduction
KW - Enumeration
KW - Logical clocks
KW - Reinforcement learning
KW - Specification synthesis
UR - https://www.scopus.com/pages/publications/85124568648
U2 - 10.1109/RTSS52674.2021.00030
DO - 10.1109/RTSS52674.2021.00030
M3 - 会议稿件
AN - SCOPUS:85124568648
T3 - Proceedings - Real-Time Systems Symposium
SP - 227
EP - 239
BT - Proceedings - 2021 IEEE 42nd Real-Time Systems Symposium, RTSS 2021
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 42nd IEEE Real-Time Systems Symposium, RTSS 2021
Y2 - 7 December 2021 through 10 December 2021
ER -