Specification and Optimal Reactive Synthesis of Run-time Enforcement Shields
A system with sporadic errors (SSE) is a controller which produces high quality output but it may occasionally violate a critical requirement REQ(I,O). A run-time enforcement shield is a controller which takes (I,O) (coming from SSE) as its input, and it produces a corrected output O' which gu...
Main Authors: | , |
---|---|
Format: | Article |
Language: | English |
Published: |
Open Publishing Association
2019-09-01
|
Series: | Electronic Proceedings in Theoretical Computer Science |
Online Access: | http://arxiv.org/pdf/1909.08541v1 |
id |
doaj-1a8b375c22394c31b445d254f7acb0c3 |
---|---|
record_format |
Article |
spelling |
doaj-1a8b375c22394c31b445d254f7acb0c32020-11-25T01:36:21ZengOpen Publishing AssociationElectronic Proceedings in Theoretical Computer Science2075-21802019-09-01305Proc. GandALF 20199110610.4204/EPTCS.305.7:22Specification and Optimal Reactive Synthesis of Run-time Enforcement ShieldsParitosh K. Pandya0Amol Wakankar1 Tata Institute of Fundamental Research, Mumbai Homi Bhabha National Institute, Mumbai and Bhabha Atomic Research Centre, Mumbai A system with sporadic errors (SSE) is a controller which produces high quality output but it may occasionally violate a critical requirement REQ(I,O). A run-time enforcement shield is a controller which takes (I,O) (coming from SSE) as its input, and it produces a corrected output O' which guarantees the invariance of requirement REQ(I,O'). Moreover, the output sequence O' must deviate from O "as little as possible" to maintain the quality. In this paper, we give a method for logical specification of shields using formulas of logic Quantified Discrete Duration Calculus (QDDC). The specification consists of a correctness requirement REQ as well as a hard deviation constraint HDC which must both be mandatorily and invariantly satisfied by the shield. Moreover, we also use quantitative optimization to give a shield which minimizes the expected value of cumulative deviation in an H-optimal fashion. We show how tool DCSynth implementing soft requirement guided synthesis can be used for automatic synthesis of shields from a given specification. Next, we give logical formulas specifying several notions of shields including the k-Stabilizing shield of Bloem "et al." as well as the Burst-error shield of Wu "et al.", and a new e,d-shield. Shields can be automatically synthesized for all these specifications using the tool DCSynth. We give experimental results showing the performance of our shield synthesis tool in relation to previous work. We also compare the performance of the shields synthesized under diverse hard deviation constraints in terms of their expected deviation and the worst case burst-deviation latency.http://arxiv.org/pdf/1909.08541v1 |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Paritosh K. Pandya Amol Wakankar |
spellingShingle |
Paritosh K. Pandya Amol Wakankar Specification and Optimal Reactive Synthesis of Run-time Enforcement Shields Electronic Proceedings in Theoretical Computer Science |
author_facet |
Paritosh K. Pandya Amol Wakankar |
author_sort |
Paritosh K. Pandya |
title |
Specification and Optimal Reactive Synthesis of Run-time Enforcement Shields |
title_short |
Specification and Optimal Reactive Synthesis of Run-time Enforcement Shields |
title_full |
Specification and Optimal Reactive Synthesis of Run-time Enforcement Shields |
title_fullStr |
Specification and Optimal Reactive Synthesis of Run-time Enforcement Shields |
title_full_unstemmed |
Specification and Optimal Reactive Synthesis of Run-time Enforcement Shields |
title_sort |
specification and optimal reactive synthesis of run-time enforcement shields |
publisher |
Open Publishing Association |
series |
Electronic Proceedings in Theoretical Computer Science |
issn |
2075-2180 |
publishDate |
2019-09-01 |
description |
A system with sporadic errors (SSE) is a controller which produces high quality output but it may occasionally violate a critical requirement REQ(I,O). A run-time enforcement shield is a controller which takes (I,O) (coming from SSE) as its input, and it produces a corrected output O' which guarantees the invariance of requirement REQ(I,O'). Moreover, the output sequence O' must deviate from O "as little as possible" to maintain the quality. In this paper, we give a method for logical specification of shields using formulas of logic Quantified Discrete Duration Calculus (QDDC). The specification consists of a correctness requirement REQ as well as a hard deviation constraint HDC which must both be mandatorily and invariantly satisfied by the shield. Moreover, we also use quantitative optimization to give a shield which minimizes the expected value of cumulative deviation in an H-optimal fashion. We show how tool DCSynth implementing soft requirement guided synthesis can be used for automatic synthesis of shields from a given specification. Next, we give logical formulas specifying several notions of shields including the k-Stabilizing shield of Bloem "et al." as well as the Burst-error shield of Wu "et al.", and a new e,d-shield. Shields can be automatically synthesized for all these specifications using the tool DCSynth. We give experimental results showing the performance of our shield synthesis tool in relation to previous work. We also compare the performance of the shields synthesized under diverse hard deviation constraints in terms of their expected deviation and the worst case burst-deviation latency. |
url |
http://arxiv.org/pdf/1909.08541v1 |
work_keys_str_mv |
AT paritoshkpandya specificationandoptimalreactivesynthesisofruntimeenforcementshields AT amolwakankar specificationandoptimalreactivesynthesisofruntimeenforcementshields |
_version_ |
1725063524523180032 |