Regular inference for state machines with parameters

被引:0
|
作者
Berg, T [1 ]
Jonsson, B
Raffelt, H
机构
[1] Uppsala Univ, Dept Comp Syst, Uppsala, Sweden
[2] Univ Dortmund, Chair Programming Syst & Compiler Construct, Dortmund, Germany
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Techniques for inferring a regular language, in the form of a finite automaton, from a sufficiently large sample of accepted and nonaccepted input words, have been employed to construct models of software and hardware systems, for use, e.g., in test case generation. We intend to adapt these techniques to construct state machine models of entities of communication protocols. The alphabet of such state machines can be very large, since a symbol typically consists of a protocol data unit type with a number of parameters, each of which can assume many values. In typical algorithms for regular inference, the number of needed input words grows with the size of the alphabet and the size of the minimal DFA accepting the language. We therefore modify such an algorithm (Angluin's algorithm) so that its complexity grows not with the size of the alphabet, but only with the size of a certain symbolic representation of the DFA. The main new idea is to infer, for each state, a partitioning of input symbols into equivalence classes, tinder the hypothesis that all input symbols in an equivalence class have the same effect on the state machine. Whenever such a hypothesis is disproved, equivalence classes are refined. We show that our modification retains the good properties of Angluin's original algorithm, but that its complexity grows with the size of our symbolic DFA representation rather than with the size of the alphabet. We have implemented the algorithm; experiments on synthesized examples are consistent with these complexity results.
引用
收藏
页码:107 / 121
页数:15
相关论文
共 50 条
  • [1] Regular inference for state machines using domains with equality tests
    Berg, Therese
    Jonsson, Bengt
    Raffelt, Harald
    FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING, PROCEEDINGS, 2008, 4961 : 317 - +
  • [2] REGULAR ATTRIBUTE GRAMMARS AND FINITE STATE MACHINES
    CHAPMAN, NP
    SIGPLAN NOTICES, 1989, 24 (06): : 97 - 105
  • [3] Learning to Filter with Predictive State Inference Machines
    Sun, Wen
    Venkatraman, Arun
    Boots, Byron
    Bagnell, J. Andrew
    INTERNATIONAL CONFERENCE ON MACHINE LEARNING, VOL 48, 2016, 48
  • [4] Reverse engineering state machines by interactive grammar inference
    Walkinshaw, Neil
    Bogdanov, Kirill
    Holcombe, Mike
    Salahuddin, Sarah
    14TH WORKING CONFERENCE ON REVERSE ENGINEERING, PROCEEDINGS, 2007, : 209 - +
  • [5] Inference of finite-state transducers from regular languages
    Casacuberta, F
    Vidal, E
    Picó, D
    PATTERN RECOGNITION, 2005, 38 (09) : 1431 - 1443
  • [6] Inference of regular languages using state merging algorithms with search
    Bugalho, M
    Oliveira, AL
    PATTERN RECOGNITION, 2005, 38 (09) : 1457 - 1467
  • [7] LISAS - SIMULATION TOOL FOR REGULAR NETWORKS OF FINITE STATE MACHINES
    MULLERWIPPERFURTH, T
    HELLWAGNER, H
    PICHLER, F
    MICROPROCESSING AND MICROPROGRAMMING, 1991, 32 (1-5): : 651 - 656
  • [8] Inference for non-regular parameters in optimal dynamic treatment regimes
    Chakraborty, Bibhas
    Murphy, Susan
    Strecher, Victor
    STATISTICAL METHODS IN MEDICAL RESEARCH, 2010, 19 (03) : 317 - 343
  • [9] Inference of finite-state transducers by using regular grammars and morphisms
    Casacuberta, F
    GRAMMATICAL INFERENCE: ALGORITHMS AND APPLICATIONS, 2000, 1891 : 1 - 14
  • [10] INFERENCE FOR REGULAR BILANGUAGES
    BERGER, J
    PAIR, C
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1978, 16 (01) : 100 - 122