07.01.2013 Views

Lecture Notes in Computer Science 3472

Lecture Notes in Computer Science 3472

Lecture Notes in Computer Science 3472

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

586 Therese Berg and Harald Raffelt<br />

The algorithm returns (l<strong>in</strong>e 8) to check aga<strong>in</strong> that the observation table is<br />

closed and consistent. This time it will discover an <strong>in</strong>consistency <strong>in</strong> A 1 due to<br />

row(εa) �= row(aa), the lefthand side be<strong>in</strong>g + and the right hand side be<strong>in</strong>g −.<br />

Anewsuffixa, which dist<strong>in</strong>guishes the two <strong>in</strong>consistent rows a and ε, are added<br />

to EA (l<strong>in</strong>e 12). The empty entries <strong>in</strong> the new columns are filled and the result<br />

is A 2 <strong>in</strong> Table 19.2.<br />

Table A 2 is next checked that it is closed (l<strong>in</strong>e 15). S<strong>in</strong>ce no row label <strong>in</strong> the<br />

lower part of the table does not already exist <strong>in</strong> the upper part it is closed. It is<br />

now possible to form the automaton A 2 , showed <strong>in</strong> Figure 19.10.<br />

Next the algorithm performs an equivalence query to the Oracle with the<br />

hypothesis A 2 (l<strong>in</strong>e 22). The response given is aga<strong>in</strong> a counterexample, this time<br />

t = bb, s<strong>in</strong>cebb �∈ L(Mex ) but bb ∈L(A 2 ). The str<strong>in</strong>g bb and its prefixes are<br />

added to SA. The lower part of the table is extended by add<strong>in</strong>g the new row<br />

labels ba, bba and bbb. The algorithm fills all the empty entries by execut<strong>in</strong>g<br />

membership queries. This yields table A 3 <strong>in</strong> Table 19.2.<br />

In the last step the algorithm f<strong>in</strong>ds one more <strong>in</strong>consistency, due to row(εb) �=<br />

row(bb). Solv<strong>in</strong>g the <strong>in</strong>consistency yields the new column label b, which is added<br />

to EA. The result<strong>in</strong>g table A 4 , see Table 19.2, is closed and consistent and<br />

the correspond<strong>in</strong>g hypothesis, A 4 <strong>in</strong> Figure 19.10, returns a ’yes’ <strong>in</strong> the f<strong>in</strong>al<br />

equivalence check. The algorithm returns A 4 and halts.<br />

19.4.3 Reduced Observation Tables<br />

We have so far seen two proposals of learn<strong>in</strong>g algorithms, the observation pack<br />

and the observation table (or Anglu<strong>in</strong>’s) algorithms. The next algorithm we will<br />

present is a Learner closely related to Anglu<strong>in</strong>’s algorithm.<br />

In the sett<strong>in</strong>g of the observation table algorithm, see Section 19.4.2, the<br />

observation table is likely to conta<strong>in</strong> several rows represent<strong>in</strong>g one state. The<br />

algorithm presented here is based on the observation table algorithm but conta<strong>in</strong>s<br />

a smaller version of the table. We will refer to this algorithm by the name Reduced<br />

Observation Table Algorithm, <strong>in</strong>troduced by Rivest and Schapire [RS93].<br />

Many notions of Anglu<strong>in</strong>’s algorithm can directly be transfered to the reduced<br />

observation table algorithm. In view of how a table is constructed the sets SA,<br />

EA, and the table function TA correspond directly to SR, ER, andTR, respectively.<br />

The entries, row labels, column labels and rows are also to be <strong>in</strong>terpreted<br />

as <strong>in</strong> Anglu<strong>in</strong>’s algorithm. As <strong>in</strong> the case of the observation table algorithm, the<br />

<strong>in</strong>formation the Learner accumulates is a f<strong>in</strong>ite collection of observations, which<br />

is organized <strong>in</strong>to a reduced observation table, denoted ROT . The table is def<strong>in</strong>ed<br />

as follows:<br />

Def<strong>in</strong>ition 19.19. A tuple ROT =(SR, ER, TR) over a given alphabet Σ is a<br />

Reduced Observation Table, where<br />

• SR, ER ⊆ Σ ∗ are nonempty f<strong>in</strong>ite sets,<br />

• TR :((SR ∪ SR · Σ) × ER) →{+, −} is a (f<strong>in</strong>ite) function,

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!