arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2009.09975cs.FL
收藏

寄存器自动机的灰盒学习

Grey-Box Learning of Register Automata

Bharat Garhewal, Frits Vaandrager, Falk Howar, Timo Schrijvers, Toon Lenaerts, Rob Smits

摘要:

模型学习(Model Learning)主动自动机学习)是用于获得软件组件的黑盒有限状态模型的高效技术。到目前为止,推广到具有携带数据参数的输入/输出的无限状态系统一直具有挑战性。现有的无限状态系统的模型学习工具面临可扩展性问题,只能应用于有限类的系统(寄存器自动机与平等/不平等)。在本文中,我们展示了如何通过从运行中提取输入和输出参数的约束,并将这些灰盒信息提供给学习者,来提高模型学习技术的性能。更具体地说,我们提供了新的实现的树Oracle和等价Oracle从RALib,它使用派生的约束。我们使用一个现有的Python污染库从Python程序的运行中提取约束,并在几个基准测试中将我们的RALib灰盒版本与现有的黑盒版本进行比较,包括Python标准库中的一些数据结构。我们的原理验证实现结果在发送到软件系统的输入数量方面几乎有两个数量级的改进。我们的方法可以推广到更丰富的模型类,也使RALib能够学习黑盒技术无法达到的模型,例如组合锁。

英文摘要:

Model learning (a.k.a. active automata learning) is a highly effective technique for obtaining black-box finite state models of software components. Thus far, generalisation to infinite state systems with inputs/outputs that carry data parameters has been challenging. Existing model learning tools for infinite state systems face scalability problems and can only be applied to restricted classes of systems (register automata with equality/inequality). In this article, we show how we can boost the performance of model learning techniques by extracting the constraints on input and output parameters from a run, and making this grey-box information available to the learner. More specifically, we provide new implementations of the tree oracle and equivalence oracle from RALib, which use the derived constraints. We extract the constraints from runs of Python programs using an existing tainting library for Python, and compare our grey-box version of RALib with the existing black-box version on several benchmarks, including some data structures from Python's standard library. Our proof-of-principle implementation results in almost two orders of magnitude improvement in terms of numbers of inputs sent to the software system. Our approach, which can be generalised to richer model classes, also enables RALib to learn models that are out of reach of black-box techniques, such as combination locks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑