Enumeration and Deduction Driven Co-Synthesis of CCSL Specifications Using Reinforcement Learnin

Ming Hu, Jiepin Ding, Min Zhang, Frédéric Mallet, Mingsong Chen

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

9 Scopus citations

Abstract

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.

Original languageEnglish
Title of host publicationProceedings - 2021 IEEE 42nd Real-Time Systems Symposium, RTSS 2021
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages227-239
Number of pages13
ISBN (Electronic)9781665428026
DOIs
StatePublished - 2021
Event42nd IEEE Real-Time Systems Symposium, RTSS 2021 - Virtual, Online, Germany
Duration: 7 Dec 202110 Dec 2021

Publication series

NameProceedings - Real-Time Systems Symposium
Volume2021-December
ISSN (Print)1052-8725

Conference

Conference42nd IEEE Real-Time Systems Symposium, RTSS 2021
Country/TerritoryGermany
CityVirtual, Online
Period7/12/2110/12/21

Keywords

  • Deduction
  • Enumeration
  • Logical clocks
  • Reinforcement learning
  • Specification synthesis

Fingerprint

Dive into the research topics of 'Enumeration and Deduction Driven Co-Synthesis of CCSL Specifications Using Reinforcement Learnin'. Together they form a unique fingerprint.

Cite this