Learning Regular Sets
Author: Dana Angluin Presented by: M. Andre´ ına Francisco
Department of Computer Science Uppsala University
Learning Regular Sets Author: Dana Angluin Presented by: M. Andre - - PowerPoint PPT Presentation
Learning Regular Sets Author: Dana Angluin Presented by: M. Andre na Francisco Department of Computer Science Uppsala University February 3, 2014 Minimally Adequate Teachers A Minimally Adequate Teacher (MAT) is an Oracle that must
Department of Computer Science Uppsala University
Membership queries
the answer must be yes or no
Strong equivalence queries
the answer is yes or any counterexample
2 of 28
3 of 28
STA = RED ∪ BLUE
RED ⊂ Σ∗ is a finite set of states BLUE = RED · Σ \ RED is the set of successor states of RED that
EXP ⊂ Σ∗ is the experiment set. OT : STA × EXP → {0, 1, ∗} is a function such that:
4 of 28
5 of 28
Q ← {qr : r ∈ RED} FA ← {qwe : we ∈ RED ∧ OT[w][e] = 1} FR ← {qwe : we ∈ RED ∧ OT[w][e] = 0 ∀qw ∈ Q ∧ ∀σ ∈ Σ | δ(qw, σ) ← qu : u ∈ RED ∧ OT[u] = OT[wσ] 6 of 28
FA ← {qwe : we ∈ RED ∧ OT[w][e] = 1} ∀qw ∈ Q ∧ ∀σ ∈ Σ | δ(qw, σ) ← qu : u ∈ RED ∧ OT[u] = OT[wσ]
7 of 28
8 of 28
Move s to RED ∀a ∈ Σ, add sa to BLUE
9 of 28
10 of 28
10 of 28
10 of 28
Let x ∈ Σ be the differentiating string such that OT[s1] = OT[s2]
Let e be the experiment for which OT[s1x][e] = OT[s2x][e]. Adding the experiment ’xe’ will differentiate OT[s1] and OT[s2].
11 of 28
12 of 28
13 of 28
13 of 28
14 of 28
15 of 28
15 of 28
16 of 28
17 of 28
18 of 28
18 of 28
19 of 28
20 of 28
21 of 28
22 of 28
23 of 28
24 of 28
25 of 28
26 of 28
27 of 28
28 of 28