首页 > 最新文献

Automated Technology for Verification and Analysis最新文献

英文 中文
Fast Equivalence Checking of Quantum Circuits of Clifford Gates 克利福德门量子电路的快速等价检验
Pub Date : 2023-08-02 DOI: 10.1007/978-3-031-45332-8_10
D. Thanos, T. Coopmans, A. Laarman
{"title":"Fast Equivalence Checking of Quantum Circuits of Clifford Gates","authors":"D. Thanos, T. Coopmans, A. Laarman","doi":"10.1007/978-3-031-45332-8_10","DOIUrl":"https://doi.org/10.1007/978-3-031-45332-8_10","url":null,"abstract":"","PeriodicalId":335085,"journal":{"name":"Automated Technology for Verification and Analysis","volume":"63 1","pages":"199-216"},"PeriodicalIF":0.0,"publicationDate":"2023-08-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"139352069","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
An Automata-Theoretic Approach to Synthesizing Binarized Neural Networks 综合二值化神经网络的自动机理论方法
Pub Date : 2023-07-29 DOI: 10.48550/arXiv.2307.15907
Ye Tao, Wanwei Liu, Fu Song, Zhen Liang, J. Wang, Hongxu Zhu
Deep neural networks, (DNNs, a.k.a. NNs), have been widely used in various tasks and have been proven to be successful. However, the accompanied expensive computing and storage costs make the deployments in resource-constrained devices a significant concern. To solve this issue, quantization has emerged as an effective way to reduce the costs of DNNs with little accuracy degradation by quantizing floating-point numbers to low-width fixed-point representations. Quantized neural networks (QNNs) have been developed, with binarized neural networks (BNNs) restricted to binary values as a special case. Another concern about neural networks is their vulnerability and lack of interpretability. Despite the active research on trustworthy of DNNs, few approaches have been proposed to QNNs. To this end, this paper presents an automata-theoretic approach to synthesizing BNNs that meet designated properties. More specifically, we define a temporal logic, called BLTL, as the specification language. We show that each BLTL formula can be transformed into an automaton on finite words. To deal with the state-explosion problem, we provide a tableau-based approach in real implementation. For the synthesis procedure, we utilize SMT solvers to detect the existence of a model (i.e., a BNN) in the construction process. Notably, synthesis provides a way to determine the hyper-parameters of the network before training.Moreover, we experimentally evaluate our approach and demonstrate its effectiveness in improving the individual fairness and local robustness of BNNs while maintaining accuracy to a great extent.
深度神经网络(dnn,又称nn)已广泛应用于各种任务中,并已被证明是成功的。然而,随之而来的昂贵的计算和存储成本使得在资源受限设备中的部署成为一个重要的问题。为了解决这个问题,量化已经成为一种有效的方法,通过将浮点数量化为低宽度的定点表示来降低dnn的成本,同时精度降低很小。量化神经网络(QNNs)已经得到了发展,而二值化神经网络(BNNs)作为一种特殊情况仅限于二值化。对神经网络的另一个担忧是它们的脆弱性和缺乏可解释性。尽管对深度神经网络可信度的研究非常活跃,但针对深度神经网络提出的方法却很少。为此,本文提出了一种自动机理论方法来合成满足指定性质的神经网络。更具体地说,我们定义了一种称为BLTL的时间逻辑作为规范语言。我们证明了每个BLTL公式都可以转化为有限词的自动机。为了解决状态爆炸问题,我们在实际实现中提供了一种基于表的方法。对于合成过程,我们利用SMT求解器在构建过程中检测模型(即BNN)的存在性。值得注意的是,综合提供了一种在训练前确定网络超参数的方法。此外,我们通过实验评估了我们的方法,并证明了其在很大程度上保持准确性的同时提高了bnn的个体公平性和局部鲁棒性的有效性。
{"title":"An Automata-Theoretic Approach to Synthesizing Binarized Neural Networks","authors":"Ye Tao, Wanwei Liu, Fu Song, Zhen Liang, J. Wang, Hongxu Zhu","doi":"10.48550/arXiv.2307.15907","DOIUrl":"https://doi.org/10.48550/arXiv.2307.15907","url":null,"abstract":"Deep neural networks, (DNNs, a.k.a. NNs), have been widely used in various tasks and have been proven to be successful. However, the accompanied expensive computing and storage costs make the deployments in resource-constrained devices a significant concern. To solve this issue, quantization has emerged as an effective way to reduce the costs of DNNs with little accuracy degradation by quantizing floating-point numbers to low-width fixed-point representations. Quantized neural networks (QNNs) have been developed, with binarized neural networks (BNNs) restricted to binary values as a special case. Another concern about neural networks is their vulnerability and lack of interpretability. Despite the active research on trustworthy of DNNs, few approaches have been proposed to QNNs. To this end, this paper presents an automata-theoretic approach to synthesizing BNNs that meet designated properties. More specifically, we define a temporal logic, called BLTL, as the specification language. We show that each BLTL formula can be transformed into an automaton on finite words. To deal with the state-explosion problem, we provide a tableau-based approach in real implementation. For the synthesis procedure, we utilize SMT solvers to detect the existence of a model (i.e., a BNN) in the construction process. Notably, synthesis provides a way to determine the hyper-parameters of the network before training.Moreover, we experimentally evaluate our approach and demonstrate its effectiveness in improving the individual fairness and local robustness of BNNs while maintaining accuracy to a great extent.","PeriodicalId":335085,"journal":{"name":"Automated Technology for Verification and Analysis","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-07-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125254685","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
Syntactic vs Semantic Linear Abstraction and Refinement of Neural Networks 神经网络的句法与语义线性抽象与细化
Pub Date : 2023-07-20 DOI: 10.48550/arXiv.2307.10891
Calvin Chau, Jan Křetínský, S. Mohr
Abstraction is a key verification technique to improve scalability. However, its use for neural networks is so far extremely limited. Previous approaches for abstracting classification networks replace several neurons with one of them that is similar enough. We can classify the similarity as defined either syntactically (using quantities on the connections between neurons) or semantically (on the activation values of neurons for various inputs). Unfortunately, the previous approaches only achieve moderate reductions, when implemented at all. In this work, we provide a more flexible framework where a neuron can be replaced with a linear combination of other neurons, improving the reduction. We apply this approach both on syntactic and semantic abstractions, and implement and evaluate them experimentally. Further, we introduce a refinement method for our abstractions, allowing for finding a better balance between reduction and precision.
抽象是提高可伸缩性的关键验证技术。然而,到目前为止,它在神经网络中的应用非常有限。以前的分类网络抽象方法是用一个足够相似的神经元替换多个神经元。我们可以根据语法定义(使用神经元之间连接的数量)或语义定义(根据不同输入的神经元的激活值)对相似性进行分类。不幸的是,以前的方法在实施时只能实现适度的减少。在这项工作中,我们提供了一个更灵活的框架,其中一个神经元可以被其他神经元的线性组合取代,从而提高了减少。我们将这种方法应用于语法和语义抽象,并对它们进行了实验实现和评价。此外,我们为我们的抽象引入了一种细化方法,允许在简化和精确之间找到更好的平衡。
{"title":"Syntactic vs Semantic Linear Abstraction and Refinement of Neural Networks","authors":"Calvin Chau, Jan Křetínský, S. Mohr","doi":"10.48550/arXiv.2307.10891","DOIUrl":"https://doi.org/10.48550/arXiv.2307.10891","url":null,"abstract":"Abstraction is a key verification technique to improve scalability. However, its use for neural networks is so far extremely limited. Previous approaches for abstracting classification networks replace several neurons with one of them that is similar enough. We can classify the similarity as defined either syntactically (using quantities on the connections between neurons) or semantically (on the activation values of neurons for various inputs). Unfortunately, the previous approaches only achieve moderate reductions, when implemented at all. In this work, we provide a more flexible framework where a neuron can be replaced with a linear combination of other neurons, improving the reduction. We apply this approach both on syntactic and semantic abstractions, and implement and evaluate them experimentally. Further, we introduce a refinement method for our abstractions, allowing for finding a better balance between reduction and precision.","PeriodicalId":335085,"journal":{"name":"Automated Technology for Verification and Analysis","volume":"11 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-07-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127583263","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
Synthesis of Distributed Protocols by Enumeration Modulo Isomorphisms 基于枚举模同构的分布式协议综合
Pub Date : 2023-06-05 DOI: 10.48550/arXiv.2306.02967
D. Egolf, S. Tripakis
Synthesis of distributed protocols is a hard, often undecidable, problem. Completion techniques provide partial remedy by turning the problem into a search problem. However, the space of candidate completions is still massive. In this paper, we propose optimization techniques to reduce the size of the search space by a factorial factor by exploiting symmetries (isomorphisms) in functionally equivalent solutions. We present both a theoretical analysis of this optimization as well as empirical results that demonstrate its effectiveness in synthesizing both the Alternating Bit Protocol and Two Phase Commit. Our experiments show that the optimized tool achieves a speedup of approximately 2 to 10 times compared to its unoptimized counterpart.
分布式协议的综合是一个困难的,通常是无法确定的问题。补全技术通过将问题转化为搜索问题提供了部分补救。然而,候选完成的空间仍然很大。在本文中,我们提出了优化技术,通过利用功能等效解中的对称性(同构)来减少搜索空间的大小。我们提出了这种优化的理论分析以及实证结果,证明了它在合成交替比特协议和两阶段提交方面的有效性。我们的实验表明,与未优化的工具相比,优化后的工具实现了大约2到10倍的加速。
{"title":"Synthesis of Distributed Protocols by Enumeration Modulo Isomorphisms","authors":"D. Egolf, S. Tripakis","doi":"10.48550/arXiv.2306.02967","DOIUrl":"https://doi.org/10.48550/arXiv.2306.02967","url":null,"abstract":"Synthesis of distributed protocols is a hard, often undecidable, problem. Completion techniques provide partial remedy by turning the problem into a search problem. However, the space of candidate completions is still massive. In this paper, we propose optimization techniques to reduce the size of the search space by a factorial factor by exploiting symmetries (isomorphisms) in functionally equivalent solutions. We present both a theoretical analysis of this optimization as well as empirical results that demonstrate its effectiveness in synthesizing both the Alternating Bit Protocol and Two Phase Commit. Our experiments show that the optimized tool achieves a speedup of approximately 2 to 10 times compared to its unoptimized counterpart.","PeriodicalId":335085,"journal":{"name":"Automated Technology for Verification and Analysis","volume":"127 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-06-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"123909876","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
Minimally Comparing Relational Abstract Domains 最小比较关系抽象域
Pub Date : 2023-05-25 DOI: 10.48550/arXiv.2305.16212
Kenny Ballou, Elena Sherman
Value-based static analysis techniques express computed program invariants as logical formula over program variables. Researchers and practitioners use these invariants to aid in software engineering and verification tasks. When selecting abstract domains, practitioners weigh the cost of a domain against its expressiveness. However, an abstract domain's expressiveness tends to be stated in absolute terms; either mathematically via the sub-polyhedra the domain is capable of describing, empirically using a set of known properties to verify, or empirically via logical entailment using the entire invariant of the domain at each program point. Due to carry-over effects, however, the last technique can be problematic because it tends to provide a simplistic and imprecise comparisons. We address limitations of comparing, in general, abstract domains via logical entailment in this work. We provide a fixed-point algorithm for including the minimally necessary variables from each domain into the compared formula. Furthermore, we empirically evaluate our algorithm, comparing different techniques of widening over the Zones domain and comparing Zones to an incomparable Relational Predicates domain. Our empirical evaluation of our technique shows an improved granularity of comparison. It lowered the number of more precise invariants when comparing analysis techniques, thus, limiting the prevalent carry-over effects. Moreover, it removed undecidable invariants and lowered the number of incomparable invariants when comparing two incomparable relational abstract domains.
基于值的静态分析技术将计算的程序不变量表示为程序变量上的逻辑公式。研究人员和实践者使用这些不变量来帮助软件工程和验证任务。在选择抽象领域时,从业者会权衡一个领域的成本和它的表达能力。然而,抽象领域的表达性倾向于用绝对术语来陈述;要么通过子多面体在数学上描述域,经验地使用一组已知属性来验证,要么经验地通过逻辑蕴涵使用域在每个程序点的整个不变量。然而,由于遗留效应,最后一种技术可能存在问题,因为它倾向于提供简单和不精确的比较。在这项工作中,我们通常通过逻辑蕴涵来解决比较抽象领域的局限性。我们提供了一个不动点算法,用于将每个域的最小必要变量包含到比较公式中。此外,我们对我们的算法进行了经验评估,比较了在Zones域上扩展的不同技术,并将Zones与不可比拟的关系谓词域进行了比较。我们对我们的技术的经验评估显示了改进的比较粒度。在比较分析技术时,它降低了更精确的不变量的数量,从而限制了普遍的结转效应。此外,当比较两个不可比较的关系抽象域时,它去除了不可确定的不变量并降低了不可比较不变量的数量。
{"title":"Minimally Comparing Relational Abstract Domains","authors":"Kenny Ballou, Elena Sherman","doi":"10.48550/arXiv.2305.16212","DOIUrl":"https://doi.org/10.48550/arXiv.2305.16212","url":null,"abstract":"Value-based static analysis techniques express computed program invariants as logical formula over program variables. Researchers and practitioners use these invariants to aid in software engineering and verification tasks. When selecting abstract domains, practitioners weigh the cost of a domain against its expressiveness. However, an abstract domain's expressiveness tends to be stated in absolute terms; either mathematically via the sub-polyhedra the domain is capable of describing, empirically using a set of known properties to verify, or empirically via logical entailment using the entire invariant of the domain at each program point. Due to carry-over effects, however, the last technique can be problematic because it tends to provide a simplistic and imprecise comparisons. We address limitations of comparing, in general, abstract domains via logical entailment in this work. We provide a fixed-point algorithm for including the minimally necessary variables from each domain into the compared formula. Furthermore, we empirically evaluate our algorithm, comparing different techniques of widening over the Zones domain and comparing Zones to an incomparable Relational Predicates domain. Our empirical evaluation of our technique shows an improved granularity of comparison. It lowered the number of more precise invariants when comparing analysis techniques, thus, limiting the prevalent carry-over effects. Moreover, it removed undecidable invariants and lowered the number of incomparable invariants when comparing two incomparable relational abstract domains.","PeriodicalId":335085,"journal":{"name":"Automated Technology for Verification and Analysis","volume":"19 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-05-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126647075","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
On the Difficulty of Intersection Checking with Polynomial Zonotopes 关于多项式分区交点检验的困难问题
Pub Date : 2023-05-17 DOI: 10.48550/arXiv.2305.09901
Yushen Huang, Ertai Luo, Stanley Bak, Yifan Sun
Polynomial zonotopes, a non-convex set representation, have a wide range of applications from real-time motion planning and control in robotics, to reachability analysis of nonlinear systems and safety shielding in reinforcement learning. Despite this widespread use, a frequently overlooked difficulty associated with polynomial zonotopes is intersection checking. Determining whether the reachable set, represented as a polynomial zonotope, intersects an unsafe set is not straightforward. In fact, we show that this fundamental operation is NP-hard, even for a simple class of polynomial zonotopes. The standard method for intersection checking with polynomial zonotopes is a two-part algorithm that overapproximates a polynomial zonotope with a regular zonotope and then, if the overapproximation error is deemed too large, splits the set and recursively tries again. Beyond the possible need for a large number of splits, we identify two sources of concern related to this algorithm: (1) overapproximating a polynomial zonotope with a zonotope has unbounded error, and (2) after splitting a polynomial zonotope, the overapproximation error can actually increase. Taken together, this implies there may be a possibility that the algorithm does not always terminate.We perform a rigorous analysis of the method and detail necessary conditions for the union of overapproximations to provably converge to the original polynomial zonotope.
多项式区域拓扑是一种非凸集表示,从机器人的实时运动规划和控制,到非线性系统的可达性分析和强化学习中的安全屏蔽,都有广泛的应用。尽管这一广泛的应用,一个经常被忽视的困难与多项式分区是相交检查。确定可达集(表示为多项式分区)是否与不安全集相交并不简单。事实上,我们证明了这个基本运算是np困难的,即使是对一个简单的多项式分区也是如此。用多项式分区检查交集的标准方法是一个两部分算法,该算法用正则分区过度逼近多项式分区,然后,如果过度逼近误差太大,则拆分集合并递归地再次尝试。除了可能需要大量分裂之外,我们确定了与该算法相关的两个问题来源:(1)用分区拓扑过度逼近多项式分区拓扑具有无界误差,(2)在分割多项式分区后,过度逼近误差实际上会增加。综上所述,这意味着可能存在算法并不总是终止的可能性。我们对该方法进行了严格的分析,并详细说明了过逼近联合收敛于原始多项式带体的必要条件。
{"title":"On the Difficulty of Intersection Checking with Polynomial Zonotopes","authors":"Yushen Huang, Ertai Luo, Stanley Bak, Yifan Sun","doi":"10.48550/arXiv.2305.09901","DOIUrl":"https://doi.org/10.48550/arXiv.2305.09901","url":null,"abstract":"Polynomial zonotopes, a non-convex set representation, have a wide range of applications from real-time motion planning and control in robotics, to reachability analysis of nonlinear systems and safety shielding in reinforcement learning. Despite this widespread use, a frequently overlooked difficulty associated with polynomial zonotopes is intersection checking. Determining whether the reachable set, represented as a polynomial zonotope, intersects an unsafe set is not straightforward. In fact, we show that this fundamental operation is NP-hard, even for a simple class of polynomial zonotopes. The standard method for intersection checking with polynomial zonotopes is a two-part algorithm that overapproximates a polynomial zonotope with a regular zonotope and then, if the overapproximation error is deemed too large, splits the set and recursively tries again. Beyond the possible need for a large number of splits, we identify two sources of concern related to this algorithm: (1) overapproximating a polynomial zonotope with a zonotope has unbounded error, and (2) after splitting a polynomial zonotope, the overapproximation error can actually increase. Taken together, this implies there may be a possibility that the algorithm does not always terminate.We perform a rigorous analysis of the method and detail necessary conditions for the union of overapproximations to provably converge to the original polynomial zonotope.","PeriodicalId":335085,"journal":{"name":"Automated Technology for Verification and Analysis","volume":"46 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-05-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121161970","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
Graph-Based Reductions for Parametric and Weighted MDPs 基于图的参数化和加权mdp约简
Pub Date : 2023-05-09 DOI: 10.48550/arXiv.2305.05739
Kasper Engelen, Guillermo A. P'erez, Shrisha Rao
We study the complexity of reductions for weighted reachability in parametric Markov decision processes. That is, we say a state p is never worse than q if for all valuations of the polynomial indeterminates it is the case that the maximal expected weight that can be reached from p is greater than the same value from q. In terms of computational complexity, we establish that determining whether p is never worse than q is coETR-complete. On the positive side, we give a polynomial-time algorithm to compute the equivalence classes of the order we study for Markov chains. Additionally, we describe and implement two inference rules to under-approximate the never-worse relation and empirically show that it can be used as an efficient preprocessing step for the analysis of large Markov decision processes.
研究了参数马尔可夫决策过程中加权可达性约简的复杂性。也就是说,如果对于多项式的所有不确定值,我们说状态p永远不会比q差,那么从p可以达到的最大期望权重大于从q得到的相同值。在计算复杂性方面,我们确定确定p是否永远不会比q差是coet完全的。在积极方面,我们给出了一个多项式时间算法来计算我们所研究的马尔可夫链的阶等价类。此外,我们还描述并实现了两个推理规则来对不差关系进行欠逼近,并经验表明它可以作为大型马尔可夫决策过程分析的有效预处理步骤。
{"title":"Graph-Based Reductions for Parametric and Weighted MDPs","authors":"Kasper Engelen, Guillermo A. P'erez, Shrisha Rao","doi":"10.48550/arXiv.2305.05739","DOIUrl":"https://doi.org/10.48550/arXiv.2305.05739","url":null,"abstract":"We study the complexity of reductions for weighted reachability in parametric Markov decision processes. That is, we say a state p is never worse than q if for all valuations of the polynomial indeterminates it is the case that the maximal expected weight that can be reached from p is greater than the same value from q. In terms of computational complexity, we establish that determining whether p is never worse than q is coETR-complete. On the positive side, we give a polynomial-time algorithm to compute the equivalence classes of the order we study for Markov chains. Additionally, we describe and implement two inference rules to under-approximate the never-worse relation and empirically show that it can be used as an efficient preprocessing step for the analysis of large Markov decision processes.","PeriodicalId":335085,"journal":{"name":"Automated Technology for Verification and Analysis","volume":"70 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-05-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"129318642","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
Scenario Approach for Parametric Markov Models 参数马尔可夫模型的场景方法
Pub Date : 2023-04-17 DOI: 10.48550/arXiv.2304.08330
Ying Liu, Andrea Turrini, E. M. Hahn, Bai Xue, Lijun Zhang
In this paper, we propose an approximating framework for analyzing parametric Markov models. Instead of computing complex rational functions encoding the reachability probability and the reward values of the parametric model, we exploit the scenario approach to synthesize a relatively simple polynomial approximation. The approximation is probably approximately correct (PAC), meaning that with high confidence, the approximating function is close to the actual function with an allowable error. With the PAC approximations, one can check properties of the parametric Markov models. We show that the scenario approach can also be used to check PRCTL properties directly, without synthesizing the polynomial at first hand. We have implemented our algorithm in a prototype tool and conducted thorough experiments. The experimental results demonstrate that our tool is able to compute polynomials for more benchmarks than state of the art tools such as PRISM and Storm, confirming the efficacy of our PAC-based synthesis.
本文提出了一种分析参数马尔可夫模型的近似框架。我们不再计算复杂的有理函数来编码参数模型的可达概率和奖励值,而是利用场景方法来合成一个相对简单的多项式近似。近似可能近似正确(PAC),这意味着在高置信度下,近似函数与允许误差的实际函数接近。使用PAC近似,可以检查参数马尔可夫模型的性质。我们表明,场景方法也可以直接用于检查PRCTL属性,而无需第一手合成多项式。我们已经在一个原型工具中实现了我们的算法,并进行了彻底的实验。实验结果表明,与PRISM和Storm等最先进的工具相比,我们的工具能够为更多的基准计算多项式,证实了我们基于pac的合成的有效性。
{"title":"Scenario Approach for Parametric Markov Models","authors":"Ying Liu, Andrea Turrini, E. M. Hahn, Bai Xue, Lijun Zhang","doi":"10.48550/arXiv.2304.08330","DOIUrl":"https://doi.org/10.48550/arXiv.2304.08330","url":null,"abstract":"In this paper, we propose an approximating framework for analyzing parametric Markov models. Instead of computing complex rational functions encoding the reachability probability and the reward values of the parametric model, we exploit the scenario approach to synthesize a relatively simple polynomial approximation. The approximation is probably approximately correct (PAC), meaning that with high confidence, the approximating function is close to the actual function with an allowable error. With the PAC approximations, one can check properties of the parametric Markov models. We show that the scenario approach can also be used to check PRCTL properties directly, without synthesizing the polynomial at first hand. We have implemented our algorithm in a prototype tool and conducted thorough experiments. The experimental results demonstrate that our tool is able to compute polynomials for more benchmarks than state of the art tools such as PRISM and Storm, confirming the efficacy of our PAC-based synthesis.","PeriodicalId":335085,"journal":{"name":"Automated Technology for Verification and Analysis","volume":"11 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-04-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127924633","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
Learning nonlinear hybrid automata from input-output time-series data 从输入输出时间序列数据中学习非线性混合自动机
Pub Date : 2023-01-10 DOI: 10.48550/arXiv.2301.03915
Amit Gurung, Masaki Waga, Kohei Suenaga
Learning an automaton that approximates the behavior of a black-box system is a long-studied problem. Besides its theoretical significance, its application to search-based testing and model understanding is recently recognized. We present an algorithm to learn a nonlinear hybrid automaton (HA) that approximates a black-box hybrid system (HS) from a set of input--output traces generated by the HS. Our method is novel in handling (1) both exogenous and endogenous HS and (2) HA with reset associated with each transition. To our knowledge, ours is the first method that achieves both features. We applied our algorithm to various benchmarks and confirmed its effectiveness.
学习一个近似黑盒系统行为的自动机是一个长期研究的问题。除了理论意义之外,它在基于搜索的测试和模型理解方面的应用最近得到了认可。我们提出了一种学习非线性混合自动机(HA)的算法,该算法从由HS生成的一组输入-输出轨迹中近似于黑盒混合系统(HS)。我们的方法在处理(1)外源性和内源性HS和(2)HA与每个转换相关的重置方面是新颖的。据我们所知,我们的方法是第一个实现这两个特征的方法。我们将算法应用于各种基准测试,并验证了其有效性。
{"title":"Learning nonlinear hybrid automata from input-output time-series data","authors":"Amit Gurung, Masaki Waga, Kohei Suenaga","doi":"10.48550/arXiv.2301.03915","DOIUrl":"https://doi.org/10.48550/arXiv.2301.03915","url":null,"abstract":"Learning an automaton that approximates the behavior of a black-box system is a long-studied problem. Besides its theoretical significance, its application to search-based testing and model understanding is recently recognized. We present an algorithm to learn a nonlinear hybrid automaton (HA) that approximates a black-box hybrid system (HS) from a set of input--output traces generated by the HS. Our method is novel in handling (1) both exogenous and endogenous HS and (2) HA with reset associated with each transition. To our knowledge, ours is the first method that achieves both features. We applied our algorithm to various benchmarks and confirmed its effectiveness.","PeriodicalId":335085,"journal":{"name":"Automated Technology for Verification and Analysis","volume":"44 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-01-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"128363284","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
Fence Synthesis under the C11 Memory Model C11内存模型下的篱笆合成
Pub Date : 2022-07-30 DOI: 10.48550/arXiv.2208.00285
Sanjana Singh, Divyanjali Sharma, Ishita Jaju, Subodh Sharma
The C/C++11 (C11) standard offers a spectrum of ordering guarantees on memory access operations. The combinations of such orderings pose a challenge in developing correct and efficient weak memory programs. A common solution to preclude those program outcomes that violate the correctness specification is using C11 synchronization-fences, which establish ordering on program events. The challenge is in choosing a combination of fences that (i) restores the correctness of the input program, with (ii) as little impact on efficiency as possible (i.e., the smallest set of weakest fences). This problem is the optimal fence synthesis problem and is NP-hard for straight-line programs. In this work, we propose the first fence synthesis technique for C11 programs called FenSying and show its optimality. We additionally propose a near-optimal efficient alternative called fFenSying. We prove the optimality of FenSying and the soundness of fFenSying and present an implementation of both techniques. Finally, we contrast the performance of the two techniques and empirically demonstrate fFenSyings effectiveness.
C/ c++ 11 (C11)标准为内存访问操作提供了一系列排序保证。这些顺序的组合对开发正确有效的弱记忆程序提出了挑战。防止这些违反正确性规范的程序结果的常见解决方案是使用C11同步栅栏,它在程序事件上建立顺序。挑战在于选择一个栅栏的组合(i)恢复输入程序的正确性,(ii)对效率的影响尽可能小(即,最小的最弱栅栏集合)。该问题是最优围栏综合问题,是线性规划的np困难问题。本文提出了第一种用于C11程序的围栏合成技术——围栏合成,并证明了其最优性。我们还提出了一种近乎最优的高效替代方案,称为fFenSying。我们证明了分联的最优性和分联的合理性,并给出了两种技术的实现。最后,我们对比了两种技术的性能,并实证证明了fFenSyings的有效性。
{"title":"Fence Synthesis under the C11 Memory Model","authors":"Sanjana Singh, Divyanjali Sharma, Ishita Jaju, Subodh Sharma","doi":"10.48550/arXiv.2208.00285","DOIUrl":"https://doi.org/10.48550/arXiv.2208.00285","url":null,"abstract":"The C/C++11 (C11) standard offers a spectrum of ordering guarantees on memory access operations. The combinations of such orderings pose a challenge in developing correct and efficient weak memory programs. A common solution to preclude those program outcomes that violate the correctness specification is using C11 synchronization-fences, which establish ordering on program events. The challenge is in choosing a combination of fences that (i) restores the correctness of the input program, with (ii) as little impact on efficiency as possible (i.e., the smallest set of weakest fences). This problem is the optimal fence synthesis problem and is NP-hard for straight-line programs. In this work, we propose the first fence synthesis technique for C11 programs called FenSying and show its optimality. We additionally propose a near-optimal efficient alternative called fFenSying. We prove the optimality of FenSying and the soundness of fFenSying and present an implementation of both techniques. Finally, we contrast the performance of the two techniques and empirically demonstrate fFenSyings effectiveness.","PeriodicalId":335085,"journal":{"name":"Automated Technology for Verification and Analysis","volume":"398 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-07-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126756902","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
期刊
Automated Technology for Verification and Analysis
全部 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