首页 > 最新文献

2020 18th ACM-IEEE International Conference on Formal Methods and Models for System Design (MEMOCODE)最新文献

英文 中文
Verifying Absence of Hardware-Software Data Races using Counting Abstraction 用计数抽象验证硬件软件数据竞争的不存在
Tuba Yavuz
Device drivers are critical components of operating systems. However, due to their interactions with the hardware and being embedded in complex programming models implemented by the operating system, ensuring reliability of device drivers remains to be a challenge. In this paper, we focus on the interaction of the driver with the device and present an approach for modeling this interaction and verifying absence of hardware-software data races. Specifically, we use the counting abstraction technique to abstract dynamic process creation in response to I/O acknowledgements sent by the device. We present the results of our approach on the modeling and verification of several Linux device driver models.
设备驱动程序是操作系统的关键组件。然而,由于它们与硬件相互作用,并且被嵌入到由操作系统实现的复杂编程模型中,因此确保设备驱动程序的可靠性仍然是一个挑战。在本文中,我们专注于驱动程序与设备的交互,并提出了一种建模这种交互和验证硬件-软件数据竞争缺失的方法。具体来说,我们使用计数抽象技术来抽象响应设备发送的I/O确认的动态进程创建。我们介绍了几种Linux设备驱动程序模型的建模和验证方法的结果。
{"title":"Verifying Absence of Hardware-Software Data Races using Counting Abstraction","authors":"Tuba Yavuz","doi":"10.1109/MEMOCODE51338.2020.9315046","DOIUrl":"https://doi.org/10.1109/MEMOCODE51338.2020.9315046","url":null,"abstract":"Device drivers are critical components of operating systems. However, due to their interactions with the hardware and being embedded in complex programming models implemented by the operating system, ensuring reliability of device drivers remains to be a challenge. In this paper, we focus on the interaction of the driver with the device and present an approach for modeling this interaction and verifying absence of hardware-software data races. Specifically, we use the counting abstraction technique to abstract dynamic process creation in response to I/O acknowledgements sent by the device. We present the results of our approach on the modeling and verification of several Linux device driver models.","PeriodicalId":212741,"journal":{"name":"2020 18th ACM-IEEE International Conference on Formal Methods and Models for System Design (MEMOCODE)","volume":"8 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-12-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"115546792","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
[MEMOCODE 2020 Front cover] [MEMOCODE 2020封面]
{"title":"[MEMOCODE 2020 Front cover]","authors":"","doi":"10.1109/memocode51338.2020.9315050","DOIUrl":"https://doi.org/10.1109/memocode51338.2020.9315050","url":null,"abstract":"","PeriodicalId":212741,"journal":{"name":"2020 18th ACM-IEEE International Conference on Formal Methods and Models for System Design (MEMOCODE)","volume":"46 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-12-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127457787","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Real-time Scheduling of I/O Transfers for Massively Parallel Processor Arrays 大规模并行处理器阵列I/O传输的实时调度
Dominik Walter, Michael Witterauf, J. Teich
A fundamental problem of massively parallel accelerator architectures is the management of typically small peripheral I/O buffers that decouple the accelerator from an external memory. Very often, these buffers cannot store the entire input and output data of one execution and must be updated, i.e., filled or drained, frequently. Moreover, if a processor array performs either a read on an empty bank or a write on a full bank, it must interrupt its execution immediately until the corresponding data transfer between the accelerator and an external memory has been carried out. As a consequence, the timing predictability of the array execution might be impaired. Therefore, a precise analysis of a schedule for all data transfers is inevitable. Moreover, as it is prohibitive to store all data transfers entirely within the accelerator itself, we must determine and schedule all necessary data transfers dynamically at runtime. In this paper, we present an approach to characterize all necessary data transfers and to issue them in time so that the peripheral I/O buffers never run full or empty. Here, it is shown first that a deadline for each data transfer can be derived from a given loop schedule resulting in a traditional task scheduling problem. Unfortunately, however, standard real-time scheduling techniques such as earliest deadline first (EDF) cannot be applied here, as each data transfer must not be interrupted and even existing non-preemptive variants of EDF are known to be prone to timing anomalies. As a solution, we present a strictly non-work-conserving variant of EDF together with an efficient schedulability test for periodic loop executions. In an experimental section, the scheduling approach is applied to a randomly generated set of loop programs observing that our algorithm is able to feasibly schedule 95% of the theoretically schedulable problem instances. Altogether, we provide a fully timing-predictable buffer management for massively parallel processor arrays that avoids any I/O related stalls of a processor array by construction.
大规模并行加速器架构的一个基本问题是管理通常较小的外设I/O缓冲区,使加速器与外部存储器分离。通常,这些缓冲区不能存储一次执行的全部输入和输出数据,必须经常更新,即填充或耗尽。此外,如果处理器阵列在空存储库上执行读操作或在满存储库上执行写操作,则必须立即中断其执行,直到在加速器和外部存储器之间执行相应的数据传输。因此,数组执行的时间可预测性可能会受到损害。因此,对所有数据传输的时间表进行精确分析是不可避免的。此外,由于禁止将所有数据传输完全存储在加速器本身中,因此我们必须在运行时动态地确定和调度所有必要的数据传输。在本文中,我们提出了一种方法来描述所有必要的数据传输,并及时发出它们,以便外设I/O缓冲区永远不会满或空。在这里,首先显示了每个数据传输的截止日期可以从给定的循环调度中导出,从而导致传统的任务调度问题。然而,不幸的是,标准的实时调度技术,如最早截止日期优先(EDF)不能在这里应用,因为每个数据传输都不能被中断,即使是现有的非抢占式EDF变体,也容易出现时间异常。作为解决方案,我们提出了一个严格的非节省工作的EDF变体以及一个有效的周期性循环执行的可调度性测试。在实验部分,将调度方法应用于随机生成的一组循环程序,观察到我们的算法能够可行地调度95%的理论上可调度的问题实例。总之,我们为大规模并行处理器阵列提供了完全可预测的缓冲区管理,从而避免了处理器阵列在构建过程中出现任何与I/O相关的停顿。
{"title":"Real-time Scheduling of I/O Transfers for Massively Parallel Processor Arrays","authors":"Dominik Walter, Michael Witterauf, J. Teich","doi":"10.1109/MEMOCODE51338.2020.9315179","DOIUrl":"https://doi.org/10.1109/MEMOCODE51338.2020.9315179","url":null,"abstract":"A fundamental problem of massively parallel accelerator architectures is the management of typically small peripheral I/O buffers that decouple the accelerator from an external memory. Very often, these buffers cannot store the entire input and output data of one execution and must be updated, i.e., filled or drained, frequently. Moreover, if a processor array performs either a read on an empty bank or a write on a full bank, it must interrupt its execution immediately until the corresponding data transfer between the accelerator and an external memory has been carried out. As a consequence, the timing predictability of the array execution might be impaired. Therefore, a precise analysis of a schedule for all data transfers is inevitable. Moreover, as it is prohibitive to store all data transfers entirely within the accelerator itself, we must determine and schedule all necessary data transfers dynamically at runtime. In this paper, we present an approach to characterize all necessary data transfers and to issue them in time so that the peripheral I/O buffers never run full or empty. Here, it is shown first that a deadline for each data transfer can be derived from a given loop schedule resulting in a traditional task scheduling problem. Unfortunately, however, standard real-time scheduling techniques such as earliest deadline first (EDF) cannot be applied here, as each data transfer must not be interrupted and even existing non-preemptive variants of EDF are known to be prone to timing anomalies. As a solution, we present a strictly non-work-conserving variant of EDF together with an efficient schedulability test for periodic loop executions. In an experimental section, the scheduling approach is applied to a randomly generated set of loop programs observing that our algorithm is able to feasibly schedule 95% of the theoretically schedulable problem instances. Altogether, we provide a fully timing-predictable buffer management for massively parallel processor arrays that avoids any I/O related stalls of a processor array by construction.","PeriodicalId":212741,"journal":{"name":"2020 18th ACM-IEEE International Conference on Formal Methods and Models for System Design (MEMOCODE)","volume":"7 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-12-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"129041436","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 1
CROME: Contract-Based Robotic Mission Specification 基于合同的机器人任务规范
Piergiuseppe Mallozzi, P. Nuzzo, Patrizio Pelliccione, G. Schneider
We address the problem of automatically constructing a formal robotic mission specification in a logic language with precise semantics starting from an informal description of the mission requirements. We present CROME (Contract-based RObotic Mission spEcification), a framework that allows capturing mission requirements in terms of goals by using specification patterns, and automatically building linear temporal logic mission specifications conforming with the requirements. CROME leverages a new formal model, termed Contract-based Goal Graph (CGG), which enables organizing the requirements in a modular way with a rigorous compositional semantics. By relying on the CGG, it is then possible to automatically: i) check the feasibility of the overall mission, ii) further refine it from a library of pre-defined goals, and iii) synthesize multiple controllers that implement different parts of the mission at different abstraction levels, when the specification is realizable. If the overall mission is not realizable, CROME identifies mission scenarios, i.e., sub-missions that can be realizable. We illustrate the effectiveness of our methodology and supporting tool on a case study.
我们从任务需求的非正式描述开始,用具有精确语义的逻辑语言自动构建正式的机器人任务规范。我们提出了CROME(基于合同的机器人任务规范),这是一个框架,允许使用规范模式根据目标捕获任务需求,并自动构建符合需求的线性时间逻辑任务规范。CROME利用了一种新的形式化模型,称为基于契约的目标图(Contract-based Goal Graph, CGG),它支持用严格的组合语义以模块化的方式组织需求。通过依赖CGG,它可以自动地:i)检查整个任务的可行性,ii)从预定义目标库中进一步完善它,以及iii)在规范可实现时,在不同的抽象级别合成实现任务不同部分的多个控制器。如果整个任务无法实现,CROME确定任务方案,即可以实现的次级任务。我们通过案例研究说明了我们的方法和支持工具的有效性。
{"title":"CROME: Contract-Based Robotic Mission Specification","authors":"Piergiuseppe Mallozzi, P. Nuzzo, Patrizio Pelliccione, G. Schneider","doi":"10.1109/MEMOCODE51338.2020.9315065","DOIUrl":"https://doi.org/10.1109/MEMOCODE51338.2020.9315065","url":null,"abstract":"We address the problem of automatically constructing a formal robotic mission specification in a logic language with precise semantics starting from an informal description of the mission requirements. We present CROME (Contract-based RObotic Mission spEcification), a framework that allows capturing mission requirements in terms of goals by using specification patterns, and automatically building linear temporal logic mission specifications conforming with the requirements. CROME leverages a new formal model, termed Contract-based Goal Graph (CGG), which enables organizing the requirements in a modular way with a rigorous compositional semantics. By relying on the CGG, it is then possible to automatically: i) check the feasibility of the overall mission, ii) further refine it from a library of pre-defined goals, and iii) synthesize multiple controllers that implement different parts of the mission at different abstraction levels, when the specification is realizable. If the overall mission is not realizable, CROME identifies mission scenarios, i.e., sub-missions that can be realizable. We illustrate the effectiveness of our methodology and supporting tool on a case study.","PeriodicalId":212741,"journal":{"name":"2020 18th ACM-IEEE International Conference on Formal Methods and Models for System Design (MEMOCODE)","volume":"32 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-12-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121412815","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 5
Robustness Contracts for Scalable Verification of Neural Network-Enabled Cyber-Physical Systems 神经网络支持的网络物理系统可扩展验证的鲁棒性契约
N. Naik, P. Nuzzo
The proliferation of artificial intelligence based systems in all walks of life raises concerns about their safety and robustness, especially for cyber-physical systems including multiple machine learning components. In this paper, we introduce robustness contracts as a framework for compositional specification and reasoning about the robustness of cyber-physical systems based on neural network (NN) components. Robustness contracts can encompass and generalize a variety of notions of robustness which were previously proposed in the literature. They can seamlessly apply to NN-based perception as well as deep reinforcement learning (RL)-enabled control applications. We present a sound and complete algorithm that can efficiently verify the satisfaction of a class of robustness contracts on NNs by leveraging notions from Lagrangian duality to identify system configurations that violate the contracts. We illustrate the effectiveness of our approach on the verification of NN-based perception systems and deep RL-based control systems.
基于人工智能的系统在各行各业的扩散引起了人们对其安全性和鲁棒性的担忧,特别是对于包含多个机器学习组件的网络物理系统。在本文中,我们引入了鲁棒性契约作为基于神经网络组件的网络物理系统鲁棒性组合规范和推理的框架。鲁棒性契约可以包含和概括以前在文献中提出的各种鲁棒性概念。它们可以无缝应用于基于神经网络的感知以及支持深度强化学习(RL)的控制应用。我们提出了一种完善的算法,通过利用拉格朗日对偶的概念来识别违反契约的系统配置,该算法可以有效地验证nn上一类鲁棒性契约的满足性。我们说明了我们的方法在基于神经网络的感知系统和基于深度强化学习的控制系统验证上的有效性。
{"title":"Robustness Contracts for Scalable Verification of Neural Network-Enabled Cyber-Physical Systems","authors":"N. Naik, P. Nuzzo","doi":"10.1109/MEMOCODE51338.2020.9315118","DOIUrl":"https://doi.org/10.1109/MEMOCODE51338.2020.9315118","url":null,"abstract":"The proliferation of artificial intelligence based systems in all walks of life raises concerns about their safety and robustness, especially for cyber-physical systems including multiple machine learning components. In this paper, we introduce robustness contracts as a framework for compositional specification and reasoning about the robustness of cyber-physical systems based on neural network (NN) components. Robustness contracts can encompass and generalize a variety of notions of robustness which were previously proposed in the literature. They can seamlessly apply to NN-based perception as well as deep reinforcement learning (RL)-enabled control applications. We present a sound and complete algorithm that can efficiently verify the satisfaction of a class of robustness contracts on NNs by leveraging notions from Lagrangian duality to identify system configurations that violate the contracts. We illustrate the effectiveness of our approach on the verification of NN-based perception systems and deep RL-based control systems.","PeriodicalId":212741,"journal":{"name":"2020 18th ACM-IEEE International Conference on Formal Methods and Models for System Design (MEMOCODE)","volume":"20 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-12-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"117049287","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 3
Formal Modeling and Verification of Rate Adaptive Pacemakers for Heart Failure 心率自适应心脏起搏器的形式化建模与验证
M. Kim, Weiwei Ai, P. Roop, Nathan Allen, R. Ramchandra, J. Paton
Cardiovascular Implantable Electronic Devices (CIEDs) are routinely implanted to treat various types of arrhythmia. However, conventional pacing algorithms may not be able to provide optimal treatment for the patients with Heart Failure (HF) and evidence suggests negative outcomes. In this paper, we introduce a formal pacemaker model that can restore heart-lung synchronization, which may bring therapeutic benefits to the patient with chronic HF. We use valued Synchronous Discrete Timed Automata (SDTA) to describe the timing requirements of the device, which is then translated into Promela for formal verification through a set of rules which are defined to maintain the synchronous semantics. The safety-critical properties are then verified using the model checker SPIN. We show that the SDTA model can be verified more efficiently than conventional approaches with pure Timed Automata (TA). Animal test results show that the pacing rates are synchronized with the respiratory cycles. In particular, the functional safety is ensured under various respiratory conditions. This work yields, for the first time, a formal model of pacing device to reinstate heart rate variability for HF patients.
心血管植入式电子装置(CIEDs)被常规植入治疗各种类型的心律失常。然而,传统的起搏算法可能无法为心力衰竭(HF)患者提供最佳治疗,并且有证据表明负面结果。在本文中,我们介绍了一种可以恢复心肺同步的正式起搏器模型,这可能会给慢性HF患者带来治疗效益。我们使用有值的同步离散时间自动机(SDTA)来描述设备的时序要求,然后将其转换为Promela,通过一组定义为维护同步语义的规则进行形式化验证。然后使用模型检查器SPIN验证安全关键属性。我们证明了SDTA模型可以比使用纯时间自动机(TA)的传统方法更有效地进行验证。动物实验结果表明,起搏速率与呼吸周期同步。特别是在各种呼吸条件下,保证了功能安全。这项工作首次产生了一个正式的起搏装置模型,以恢复心衰患者的心率变异性。
{"title":"Formal Modeling and Verification of Rate Adaptive Pacemakers for Heart Failure","authors":"M. Kim, Weiwei Ai, P. Roop, Nathan Allen, R. Ramchandra, J. Paton","doi":"10.1109/MEMOCODE51338.2020.9315160","DOIUrl":"https://doi.org/10.1109/MEMOCODE51338.2020.9315160","url":null,"abstract":"Cardiovascular Implantable Electronic Devices (CIEDs) are routinely implanted to treat various types of arrhythmia. However, conventional pacing algorithms may not be able to provide optimal treatment for the patients with Heart Failure (HF) and evidence suggests negative outcomes. In this paper, we introduce a formal pacemaker model that can restore heart-lung synchronization, which may bring therapeutic benefits to the patient with chronic HF. We use valued Synchronous Discrete Timed Automata (SDTA) to describe the timing requirements of the device, which is then translated into Promela for formal verification through a set of rules which are defined to maintain the synchronous semantics. The safety-critical properties are then verified using the model checker SPIN. We show that the SDTA model can be verified more efficiently than conventional approaches with pure Timed Automata (TA). Animal test results show that the pacing rates are synchronized with the respiratory cycles. In particular, the functional safety is ensured under various respiratory conditions. This work yields, for the first time, a formal model of pacing device to reinstate heart rate variability for HF patients.","PeriodicalId":212741,"journal":{"name":"2020 18th ACM-IEEE International Conference on Formal Methods and Models for System Design (MEMOCODE)","volume":"21 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-12-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121780993","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 1
A Contrastive Plan Explanation Framework for Hybrid System Models 混合系统模型的对比方案解释框架
Mir Md Sajid Sarwar, Rajarshi Ray, A. Banerjee
In artificial intelligence planning, having an explanation of a plan given by a planner is often desirable. The ability to explain various aspects of a synthesized plan to an end-user not only brings in trust on the planner but also reveals insights of the planning domain and the planning process. Contrastive questions such as "Why action A instead of action B?" can be answered with a contrastive explanation that compares properties of the original plan containing A against the contrastive plan containing B. In this paper, we explore a set of contrastive questions that a user of a planning tool may raise and we propose a re-model and re-plan framework to provide explanations to such questions. Earlier work has reported this framework on planning instances for discrete problem domains described in the Planning Domain Definition Language (PDDL) and its variants. In this paper, we propose an extension for planning instances described by PDDL+ for hybrid systems which portray a mix of discrete-continuous dynamics. Specifically, given a mixed discrete continuous system model in PDDL+ and a plan describing the set of desirable actions on the same to achieve a destined goal, we present a framework that can integrate contrastive questions in PDDL+ and synthesize alternate plans. We present a detailed case study on our approach and propose a comparison metric to compare the original plan with the alternate ones.
在人工智能规划中,对计划者给出的计划进行解释通常是可取的。向最终用户解释综合计划的各个方面的能力不仅带来了对规划者的信任,还揭示了对规划领域和规划过程的见解。像“为什么行动A而不是行动B”这样的对比问题可以用对比解释来回答,这种对比解释将包含A的原始计划与包含B的对比计划的属性进行比较。在本文中,我们探索了一组规划工具的用户可能会提出的对比问题,我们提出了一个重新建模和重新规划的框架来解释这些问题。早期的工作已经报道了在规划领域定义语言(PDDL)及其变体中描述的离散问题领域的规划实例的框架。本文提出了用PDDL+描述的混合系统规划实例的一种推广方法。具体来说,给定PDDL+中的混合离散连续系统模型和描述在该模型上实现预定目标的期望行动集的计划,我们提出了一个可以整合PDDL+中的对比问题并综合备选计划的框架。我们对我们的方法进行了详细的案例研究,并提出了一个比较指标来比较原始计划和备选计划。
{"title":"A Contrastive Plan Explanation Framework for Hybrid System Models","authors":"Mir Md Sajid Sarwar, Rajarshi Ray, A. Banerjee","doi":"10.1109/MEMOCODE51338.2020.9315040","DOIUrl":"https://doi.org/10.1109/MEMOCODE51338.2020.9315040","url":null,"abstract":"In artificial intelligence planning, having an explanation of a plan given by a planner is often desirable. The ability to explain various aspects of a synthesized plan to an end-user not only brings in trust on the planner but also reveals insights of the planning domain and the planning process. Contrastive questions such as \"Why action A instead of action B?\" can be answered with a contrastive explanation that compares properties of the original plan containing A against the contrastive plan containing B. In this paper, we explore a set of contrastive questions that a user of a planning tool may raise and we propose a re-model and re-plan framework to provide explanations to such questions. Earlier work has reported this framework on planning instances for discrete problem domains described in the Planning Domain Definition Language (PDDL) and its variants. In this paper, we propose an extension for planning instances described by PDDL+ for hybrid systems which portray a mix of discrete-continuous dynamics. Specifically, given a mixed discrete continuous system model in PDDL+ and a plan describing the set of desirable actions on the same to achieve a destined goal, we present a framework that can integrate contrastive questions in PDDL+ and synthesize alternate plans. We present a detailed case study on our approach and propose a comparison metric to compare the original plan with the alternate ones.","PeriodicalId":212741,"journal":{"name":"2020 18th ACM-IEEE International Conference on Formal Methods and Models for System Design (MEMOCODE)","volume":"47 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-12-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121813264","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 1
Runtime Verification of Timed Properties in Autonomous Robots 自主机器人时间特性的运行验证
M. Foughali, S. Bensalem, Jacques Combaz, F. Ingrand
Throughout the last few decades, researchers and practitioners are showing more and more interest in using formal methods in order to predict and prevent software failures in robotic and autonomous systems. However, the applicability of formal methods to such systems is limited due to several factors. For instance, robotic specifications are often non-formal which makes their formalization hard and error prone, and their translation into formal models ad-hoc and non automatic. Furthermore, the complexity and size of robotic applications lead most often to scalability issues with exhaustive techniques such as model checking. In this paper, we investigate the use of runtime verification as an alternative to model checking for the rigorous verification of large robotic systems. To do so, we first develop a sound and automatic translation from the robotic framework GenoM3 to the real-time version of the BIP formal language. Then, we apply the translation to a real-world case study the formal models of which do not scale with model checking, and use the BIP Engine to execute the generated BIP model, verify properties online, and adequately react to their possible violation. The experiments are carried out on a real Robotnik robot and show the efficiency of our approach in verifying timed properties, that is when the amount of time separating events is important.
在过去的几十年里,研究人员和实践者对使用形式化方法来预测和防止机器人和自主系统中的软件故障越来越感兴趣。然而,由于几个因素,形式化方法对这种系统的适用性受到限制。例如,机器人规范通常是非正式的,这使得它们的形式化变得困难和容易出错,并且它们转换为正式模型是临时的和非自动的。此外,机器人应用程序的复杂性和规模通常会导致模型检查等详尽技术的可伸缩性问题。在本文中,我们研究了使用运行时验证作为模型检查的替代方案,用于大型机器人系统的严格验证。为此,我们首先开发了一种从机器人框架GenoM3到实时版本的BIP形式语言的声音和自动翻译。然后,我们将转换应用到一个现实世界的案例研究中,该案例研究的正式模型不能通过模型检查进行扩展,并使用BIP引擎执行生成的BIP模型,在线验证属性,并对可能的违规行为做出充分的反应。在一个真实的Robotnik机器人上进行了实验,并证明了我们的方法在验证时间属性方面的有效性,即当时间分离事件的数量很重要时。
{"title":"Runtime Verification of Timed Properties in Autonomous Robots","authors":"M. Foughali, S. Bensalem, Jacques Combaz, F. Ingrand","doi":"10.1109/MEMOCODE51338.2020.9315156","DOIUrl":"https://doi.org/10.1109/MEMOCODE51338.2020.9315156","url":null,"abstract":"Throughout the last few decades, researchers and practitioners are showing more and more interest in using formal methods in order to predict and prevent software failures in robotic and autonomous systems. However, the applicability of formal methods to such systems is limited due to several factors. For instance, robotic specifications are often non-formal which makes their formalization hard and error prone, and their translation into formal models ad-hoc and non automatic. Furthermore, the complexity and size of robotic applications lead most often to scalability issues with exhaustive techniques such as model checking. In this paper, we investigate the use of runtime verification as an alternative to model checking for the rigorous verification of large robotic systems. To do so, we first develop a sound and automatic translation from the robotic framework GenoM3 to the real-time version of the BIP formal language. Then, we apply the translation to a real-world case study the formal models of which do not scale with model checking, and use the BIP Engine to execute the generated BIP model, verify properties online, and adequately react to their possible violation. The experiments are carried out on a real Robotnik robot and show the efficiency of our approach in verifying timed properties, that is when the amount of time separating events is important.","PeriodicalId":212741,"journal":{"name":"2020 18th ACM-IEEE International Conference on Formal Methods and Models for System Design (MEMOCODE)","volume":"37 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-12-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126895937","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 9
Stately: An FSM Design Tool. FSM设计工具。
J. Pope, Jules Saget, C. Seger
Finite state machines (FSMs) are at the heart of many digital circuits, in particular microprocessors such as the IoT-oriented Cephalopode processor we are implementing as part of the Octopi project.We frequently encounter two practical difficulties with FSM design: first, in the case of Mealy machines state transitions and output logic can have complex and overlapping conditions, which are difficult to maintain and comprehend if separated; and second, there is a tension between clarity and clock cycles with respect to the insertion of intermediate states.To address these in the context of the Cephalopode processor we developed the open-source tool Stately, a visual environment for designing finite state machines. States are organized spatially, individually programmed in a simple domain-specific language, and the resulting machine can be compiled to HFL code for the VossII hardware design and simulation platform.In addition to allowing the intermingling of transitions and output declarations, Stately introduces a mechanism by which chosen states can be merged during compilation. While only a modest semantic extension, it resolves several clarity-efficiency tradeoffs while retaining a clear visual interpretation. Other features include lightweight simulation for rudimentary testing, and extensive error-checking.
有限状态机(FSMs)是许多数字电路的核心,特别是微处理器,例如我们作为Octopi项目的一部分实现的面向物联网的Cephalopode处理器。我们经常在FSM设计中遇到两个实际困难:首先,在粉机的情况下,状态转换和输出逻辑可能具有复杂和重叠的条件,如果分离,则难以维护和理解;其次,在插入中间状态方面,清晰度和时钟周期之间存在紧张关系。为了在Cephalopode处理器的环境中解决这些问题,我们开发了开源工具庄严,这是一个用于设计有限状态机的可视化环境。状态在空间上进行组织,用简单的领域特定语言单独编程,生成的机器可以编译成用于VossII硬件设计和仿真平台的HFL代码。除了允许混合转换和输出声明之外,庄严还引入了一种机制,通过该机制可以在编译期间合并所选的状态。虽然只是适度的语义扩展,但它在保留清晰的视觉解释的同时解决了几个清晰度效率的权衡。其他特性包括用于基本测试的轻量级模拟和广泛的错误检查。
{"title":"Stately: An FSM Design Tool.","authors":"J. Pope, Jules Saget, C. Seger","doi":"10.1109/MEMOCODE51338.2020.9315130","DOIUrl":"https://doi.org/10.1109/MEMOCODE51338.2020.9315130","url":null,"abstract":"Finite state machines (FSMs) are at the heart of many digital circuits, in particular microprocessors such as the IoT-oriented Cephalopode processor we are implementing as part of the Octopi project.We frequently encounter two practical difficulties with FSM design: first, in the case of Mealy machines state transitions and output logic can have complex and overlapping conditions, which are difficult to maintain and comprehend if separated; and second, there is a tension between clarity and clock cycles with respect to the insertion of intermediate states.To address these in the context of the Cephalopode processor we developed the open-source tool Stately, a visual environment for designing finite state machines. States are organized spatially, individually programmed in a simple domain-specific language, and the resulting machine can be compiled to HFL code for the VossII hardware design and simulation platform.In addition to allowing the intermingling of transitions and output declarations, Stately introduces a mechanism by which chosen states can be merged during compilation. While only a modest semantic extension, it resolves several clarity-efficiency tradeoffs while retaining a clear visual interpretation. Other features include lightweight simulation for rudimentary testing, and extensive error-checking.","PeriodicalId":212741,"journal":{"name":"2020 18th ACM-IEEE International Conference on Formal Methods and Models for System Design (MEMOCODE)","volume":"13 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-12-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"128125870","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 1
Specification-guided Software Fault Localization for Autonomous Mobile Systems 基于规范的自主移动系统软件故障定位
Tomoya Yamaguchi, Bardh Hoxha, D. Prokhorov, Jyotirmoy V. Deshmukh
Verification and validation are vital steps in the development process of autonomous systems such as mobile robots and self-driving vehicles, as they allow reasoning about system safety. In the domain of cyber-physical systems, techniques using formal requirements have been show to enable rigorous mathematical reasoning about system safety through techniques for automatic test generation and performance analysis. In this paper, we show that system-level and subsystem-level requirements can also enable fault localization in autonomous systems that use heterogeneous functional components. However, writing correct formal requirements is challenging and requires a significant investment of time, effort and most importantly, expertise. To address this issue, we propose a specification library for autonomous mobile systems called TLAM (Temporal Logic for Autonomous Mobility). Our contributions are twofold: We provide a library of parametric formal specifications at both the system-level and subsystem-level for typical subsystems in autonomous systems such as those for perception, planning and decision-making. The specification parameters encode the design trade-offs for such components. Second, we introduce a new fault localization technique based on these parametric specifications that identifies the likeliest subsystem that has a fault.
验证和验证是移动机器人和自动驾驶汽车等自主系统开发过程中的关键步骤,因为可以对系统的安全性进行推理。在网络物理系统领域,使用形式化需求的技术已被证明能够通过自动测试生成和性能分析技术对系统安全性进行严格的数学推理。在本文中,我们展示了系统级和子系统级需求也可以在使用异构功能组件的自治系统中实现故障定位。然而,编写正确的正式需求是具有挑战性的,并且需要大量的时间、精力和最重要的专业知识的投入。为了解决这个问题,我们提出了一个名为TLAM(自治移动的时间逻辑)的自主移动系统规范库。我们的贡献是双重的:我们在系统级和子系统级为自治系统中的典型子系统(例如用于感知、规划和决策的子系统)提供了参数化形式化规范库。规范参数对这些组件的设计权衡进行编码。其次,我们引入了一种新的基于这些参数规范的故障定位技术,该技术可以识别出最有可能出现故障的子系统。
{"title":"Specification-guided Software Fault Localization for Autonomous Mobile Systems","authors":"Tomoya Yamaguchi, Bardh Hoxha, D. Prokhorov, Jyotirmoy V. Deshmukh","doi":"10.1109/MEMOCODE51338.2020.9315067","DOIUrl":"https://doi.org/10.1109/MEMOCODE51338.2020.9315067","url":null,"abstract":"Verification and validation are vital steps in the development process of autonomous systems such as mobile robots and self-driving vehicles, as they allow reasoning about system safety. In the domain of cyber-physical systems, techniques using formal requirements have been show to enable rigorous mathematical reasoning about system safety through techniques for automatic test generation and performance analysis. In this paper, we show that system-level and subsystem-level requirements can also enable fault localization in autonomous systems that use heterogeneous functional components. However, writing correct formal requirements is challenging and requires a significant investment of time, effort and most importantly, expertise. To address this issue, we propose a specification library for autonomous mobile systems called TLAM (Temporal Logic for Autonomous Mobility). Our contributions are twofold: We provide a library of parametric formal specifications at both the system-level and subsystem-level for typical subsystems in autonomous systems such as those for perception, planning and decision-making. The specification parameters encode the design trade-offs for such components. Second, we introduce a new fault localization technique based on these parametric specifications that identifies the likeliest subsystem that has a fault.","PeriodicalId":212741,"journal":{"name":"2020 18th ACM-IEEE International Conference on Formal Methods and Models for System Design (MEMOCODE)","volume":"83 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-12-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126169688","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 2
期刊
2020 18th ACM-IEEE International Conference on Formal Methods and Models for System Design (MEMOCODE)
全部 Acc. Chem. Res. ACS Applied Bio Materials ACS Appl. Electron. Mater. ACS Appl. Energy Mater. ACS Appl. Mater. Interfaces ACS Appl. Nano Mater. ACS Appl. Polym. Mater. ACS BIOMATER-SCI ENG ACS Catal. ACS Cent. Sci. ACS Chem. Biol. ACS Chemical Health & Safety ACS Chem. Neurosci. ACS Comb. Sci. ACS Earth Space Chem. ACS Energy Lett. ACS Infect. Dis. ACS Macro Lett. ACS Mater. Lett. ACS Med. Chem. Lett. ACS Nano ACS Omega ACS Photonics ACS Sens. ACS Sustainable Chem. Eng. ACS Synth. Biol. Anal. Chem. BIOCHEMISTRY-US Bioconjugate Chem. BIOMACROMOLECULES Chem. Res. Toxicol. Chem. Rev. Chem. Mater. CRYST GROWTH DES ENERG FUEL Environ. Sci. Technol. Environ. Sci. Technol. Lett. Eur. J. Inorg. Chem. IND ENG CHEM RES Inorg. Chem. J. Agric. Food. Chem. J. Chem. Eng. Data J. Chem. Educ. J. Chem. Inf. Model. J. Chem. Theory Comput. J. Med. Chem. J. Nat. Prod. J PROTEOME RES J. Am. Chem. Soc. LANGMUIR MACROMOLECULES Mol. Pharmaceutics Nano Lett. Org. Lett. ORG PROCESS RES DEV ORGANOMETALLICS J. Org. Chem. J. Phys. Chem. J. Phys. Chem. A J. Phys. Chem. B J. Phys. Chem. C J. Phys. Chem. Lett. Analyst Anal. Methods Biomater. Sci. Catal. Sci. Technol. Chem. Commun. Chem. Soc. Rev. CHEM EDUC RES PRACT CRYSTENGCOMM Dalton Trans. Energy Environ. Sci. ENVIRON SCI-NANO ENVIRON SCI-PROC IMP ENVIRON SCI-WAT RES Faraday Discuss. Food Funct. Green Chem. Inorg. Chem. Front. Integr. Biol. J. Anal. At. Spectrom. J. Mater. Chem. A J. Mater. Chem. B J. Mater. Chem. C Lab Chip Mater. Chem. Front. Mater. Horiz. MEDCHEMCOMM Metallomics Mol. Biosyst. Mol. Syst. Des. Eng. Nanoscale Nanoscale Horiz. Nat. Prod. Rep. New J. Chem. Org. Biomol. Chem. Org. Chem. Front. PHOTOCH PHOTOBIO SCI PCCP Polym. Chem.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1