TY - GEN
T1 - A Reinforcement-Learning Style Algorithm for Black Box Automata
AU - Cohen, Itay
AU - Fogler, Roi
AU - Peled, Doron
N1 - Publisher Copyright: © 2022 IEEE.
PY - 2022
Y1 - 2022
N2 - The analysis of hardware and software systems is often applied to a model of a system rather than to the system itself. Obtaining a faithful model for a system may sometimes be a complex task. For learning the regular (finite automata) structure of a black box system, Angluin's $L^{*}$ algorithm and its successors employ membership and equivalence queries. The regular positive-negative inference (RPNI) family of algorithms use a less powerful capability of collecting observations for learning, with no control on selecting the inputs. We suggest and study here an alternative approach for learning, which is based on calculating utility values, obtained as a discounted sum of rewards, in the style of reinforcement learning. The utility values are used to classify the observed input prefixes into different states, and then to construct the learned automaton structure. We show cases where this classification is not enough to separate the prefixes, and subsequently remedy the situation by exploring deeper than the current prefix: checking the consistency between descendants of the current prefix that are reached with the same sequence of inputs. We show the connection of this algorithm with the RPNI algorithm and compare between these two approaches experimentally.
AB - The analysis of hardware and software systems is often applied to a model of a system rather than to the system itself. Obtaining a faithful model for a system may sometimes be a complex task. For learning the regular (finite automata) structure of a black box system, Angluin's $L^{*}$ algorithm and its successors employ membership and equivalence queries. The regular positive-negative inference (RPNI) family of algorithms use a less powerful capability of collecting observations for learning, with no control on selecting the inputs. We suggest and study here an alternative approach for learning, which is based on calculating utility values, obtained as a discounted sum of rewards, in the style of reinforcement learning. The utility values are used to classify the observed input prefixes into different states, and then to construct the learned automaton structure. We show cases where this classification is not enough to separate the prefixes, and subsequently remedy the situation by exploring deeper than the current prefix: checking the consistency between descendants of the current prefix that are reached with the same sequence of inputs. We show the connection of this algorithm with the RPNI algorithm and compare between these two approaches experimentally.
UR - https://www.scopus.com/pages/publications/85143885236
U2 - 10.1109/memocode57689.2022.9954382
DO - 10.1109/memocode57689.2022.9954382
M3 - Conference contribution
T3 - 2022 20th ACM-IEEE International Conference on Formal Methods and Models for System Design, MEMOCODE 2022
BT - 2022 20th ACM-IEEE International Conference on Formal Methods and Models for System Design, MEMOCODE 2022
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 20th ACM-IEEE International Conference on Formal Methods and Models for System Design, MEMOCODE 2022
Y2 - 13 October 2022 through 14 October 2022
ER -