A Novel GAPG Approach to Automatic Property Generation for Formal Verification: The GAN Perspective

Author:

Gao Honghao1,Dai Baobin1,Miao Huaikou1,Yang Xiaoxian2,Barroso Ramon J. Duran3,Walayat Hussain4

Affiliation:

1. The School of Computer Engineering and Science, Shanghai University, Shanghai, China

2. The School of Computer and Information Engineering, Shanghai Polytechnic University, Shanghai, China

3. Faculty of Telecommunication Engineering, University of Valladolid, Valladolid, Spain

4. Faculty of Engineering and IT, University of Technology Sydney, Sydney, Australia

Abstract

Formal methods have been widely used to support software testing to guarantee correctness and reliability. For example, model checking technology attempts to ensure that the verification property of a specific formal model is satisfactory for discovering bugs or abnormal behavior from the perspective of temporal logic. However, because automatic approaches are lacking, a software developer/tester must manually specify verification properties. A generative adversarial network (GAN) learns features from input training data and outputs new data with similar or coincident features. GANs have been successfully used in the image processing and text processing fields and achieved interesting and automatic results. Inspired by the power of GANs, in this article, we propose a GAN-based automatic property generation (GAPG) approach to generate verification properties supporting model checking. First, the verification properties in the form of computational tree logic (CTL) are encoded and used as input to the GAN. Second, we introduce regular expressions as grammar rules to check the correctness of the generated properties. These rules work to detect and filter meaningless properties that occur because the GAN learning process is uncontrollable and may generate unsuitable properties in real applications. Third, the learning network is further trained by using labeled information associated with the input properties. These are intended to guide the training process to generate additional new properties, particularly those that map to corresponding formal models. Finally, a series of comprehensive experiments demonstrate that the proposed GAPG method can obtain new verification properties from two aspects: (1) using only CTL formulas and (2) using CTL formulas combined with Kripke structures.

Funder

National Natural Science Foundation of China

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Networks and Communications,Hardware and Architecture

Reference42 articles.

1. Christian Bird, Venkatesh-Prasad Ranganath, Thomas Zimmermann, Nachiappan Nagappan, and Andreas Zeller. 2014. Extrinsic influence factors in software reliability: A study of 200,000 windows machines. In Proceedings of the 36th International Conference on Software Engineering. 205–214.

2. S. Reid. 2013. Software and Systems Engineering Software Testing Part 1: Concepts and Definitions. Technical Report. ISO/IEC/IEEE 29119-1.

3. Smruti Priyambada Nanda and Emanuel S. Grant. 2019. A survey of formal specification application to safety critical systems. In Proceedings of the IEEE 2nd International Conference on Information and Computer Technologies (ICICT). IEEE, 296–302.

4. Kazi Sakib, Zahir Tari, and Péter Bertók. 2013. Verification of Communication Protocols in Web Services: Model-checking Service Compositions. John Wiley & Sons.

5. Design of real-time control in poloidal field power supply based on finite-state machine;He Shiying;IEEE Trans. Plasma Sci.,2019

Cited by 21 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3